@spottoai/types-package 1.0.2-beta.33 → 1.0.2-beta.331
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +18 -40
- package/README.md +40 -18
- package/dist/accounts/accounts.d.ts +518 -3
- package/dist/accounts/accounts.d.ts.map +1 -1
- package/dist/accounts/accounts.js +122 -0
- package/dist/accounts/accounts.js.map +1 -1
- package/dist/accounts/azureSpSetup.d.ts +297 -0
- package/dist/accounts/azureSpSetup.d.ts.map +1 -0
- package/dist/accounts/azureSpSetup.js +3 -0
- package/dist/accounts/azureSpSetup.js.map +1 -0
- package/dist/accounts/index.d.ts +3 -0
- package/dist/accounts/index.d.ts.map +1 -1
- package/dist/accounts/index.js +3 -0
- package/dist/accounts/index.js.map +1 -1
- package/dist/accounts/readPermissions.d.ts +76 -0
- package/dist/accounts/readPermissions.d.ts.map +1 -0
- package/dist/accounts/readPermissions.js +202 -0
- package/dist/accounts/readPermissions.js.map +1 -0
- package/dist/accounts/validation.d.ts +91 -0
- package/dist/accounts/validation.d.ts.map +1 -0
- package/dist/accounts/validation.js +3 -0
- package/dist/accounts/validation.js.map +1 -0
- package/dist/accounts/writePermissions.d.ts +36 -0
- package/dist/accounts/writePermissions.d.ts.map +1 -0
- package/dist/accounts/writePermissions.js +47 -0
- package/dist/accounts/writePermissions.js.map +1 -0
- package/dist/ai/index.d.ts +1019 -9
- package/dist/ai/index.d.ts.map +1 -1
- package/dist/ai/index.js +1 -1
- package/dist/ai/index.js.map +1 -1
- package/dist/assessments/artifact.d.ts +84 -0
- package/dist/assessments/artifact.d.ts.map +1 -0
- package/dist/assessments/artifact.js +3 -0
- package/dist/assessments/artifact.js.map +1 -0
- package/dist/assessments/catalogue.d.ts +53 -0
- package/dist/assessments/catalogue.d.ts.map +1 -0
- package/dist/assessments/catalogue.js +16 -0
- package/dist/assessments/catalogue.js.map +1 -0
- package/dist/assessments/common.d.ts +27 -0
- package/dist/assessments/common.d.ts.map +1 -0
- package/dist/assessments/common.js +3 -0
- package/dist/assessments/common.js.map +1 -0
- package/dist/assessments/evidence.d.ts +78 -0
- package/dist/assessments/evidence.d.ts.map +1 -0
- package/dist/assessments/evidence.js +3 -0
- package/dist/assessments/evidence.js.map +1 -0
- package/dist/assessments/export.d.ts +27 -0
- package/dist/assessments/export.d.ts.map +1 -0
- package/dist/assessments/export.js +3 -0
- package/dist/assessments/export.js.map +1 -0
- package/dist/assessments/index.d.ts +11 -0
- package/dist/assessments/index.d.ts.map +1 -0
- package/dist/assessments/index.js +27 -0
- package/dist/assessments/index.js.map +1 -0
- package/dist/assessments/queue.d.ts +20 -0
- package/dist/assessments/queue.d.ts.map +1 -0
- package/dist/assessments/queue.js +6 -0
- package/dist/assessments/queue.js.map +1 -0
- package/dist/assessments/review.d.ts +36 -0
- package/dist/assessments/review.d.ts.map +1 -0
- package/dist/assessments/review.js +3 -0
- package/dist/assessments/review.js.map +1 -0
- package/dist/assessments/run.d.ts +62 -0
- package/dist/assessments/run.d.ts.map +1 -0
- package/dist/assessments/run.js +3 -0
- package/dist/assessments/run.js.map +1 -0
- package/dist/assessments/sow.d.ts +30 -0
- package/dist/assessments/sow.d.ts.map +1 -0
- package/dist/assessments/sow.js +3 -0
- package/dist/assessments/sow.js.map +1 -0
- package/dist/assessments/status.d.ts +27 -0
- package/dist/assessments/status.d.ts.map +1 -0
- package/dist/assessments/status.js +27 -0
- package/dist/assessments/status.js.map +1 -0
- package/dist/aws/estates.d.ts +153 -0
- package/dist/aws/estates.d.ts.map +1 -0
- package/dist/aws/estates.js +25 -0
- package/dist/aws/estates.js.map +1 -0
- package/dist/aws/index.d.ts +13 -0
- package/dist/aws/index.d.ts.map +1 -0
- package/dist/aws/index.js +29 -0
- package/dist/aws/index.js.map +1 -0
- package/dist/aws/onboarding.d.ts +54 -0
- package/dist/aws/onboarding.d.ts.map +1 -0
- package/dist/aws/onboarding.js +3 -0
- package/dist/aws/onboarding.js.map +1 -0
- package/dist/aws/pluginPublicArtifactBodyValidation.d.ts +10 -0
- package/dist/aws/pluginPublicArtifactBodyValidation.d.ts.map +1 -0
- package/dist/aws/pluginPublicArtifactBodyValidation.js +225 -0
- package/dist/aws/pluginPublicArtifactBodyValidation.js.map +1 -0
- package/dist/aws/pluginPublicArtifactEvidence.d.ts +161 -0
- package/dist/aws/pluginPublicArtifactEvidence.d.ts.map +1 -0
- package/dist/aws/pluginPublicArtifactEvidence.js +3 -0
- package/dist/aws/pluginPublicArtifactEvidence.js.map +1 -0
- package/dist/aws/pluginPublicArtifactManifestValidation.d.ts +4 -0
- package/dist/aws/pluginPublicArtifactManifestValidation.d.ts.map +1 -0
- package/dist/aws/pluginPublicArtifactManifestValidation.js +259 -0
- package/dist/aws/pluginPublicArtifactManifestValidation.js.map +1 -0
- package/dist/aws/pluginPublicArtifactSectionValidation.d.ts +6 -0
- package/dist/aws/pluginPublicArtifactSectionValidation.d.ts.map +1 -0
- package/dist/aws/pluginPublicArtifactSectionValidation.js +471 -0
- package/dist/aws/pluginPublicArtifactSectionValidation.js.map +1 -0
- package/dist/aws/pluginPublicArtifactValidation.d.ts +3 -0
- package/dist/aws/pluginPublicArtifactValidation.d.ts.map +1 -0
- package/dist/aws/pluginPublicArtifactValidation.js +9 -0
- package/dist/aws/pluginPublicArtifactValidation.js.map +1 -0
- package/dist/aws/pluginPublicArtifactValidationHelpers.d.ts +23 -0
- package/dist/aws/pluginPublicArtifactValidationHelpers.d.ts.map +1 -0
- package/dist/aws/pluginPublicArtifactValidationHelpers.js +240 -0
- package/dist/aws/pluginPublicArtifactValidationHelpers.js.map +1 -0
- package/dist/aws/pluginPublicArtifacts.d.ts +253 -0
- package/dist/aws/pluginPublicArtifacts.d.ts.map +1 -0
- package/dist/aws/pluginPublicArtifacts.js +116 -0
- package/dist/aws/pluginPublicArtifacts.js.map +1 -0
- package/dist/aws/portalPublicArtifactCurrentValidation.d.ts +4 -0
- package/dist/aws/portalPublicArtifactCurrentValidation.d.ts.map +1 -0
- package/dist/aws/portalPublicArtifactCurrentValidation.js +333 -0
- package/dist/aws/portalPublicArtifactCurrentValidation.js.map +1 -0
- package/dist/aws/portalPublicArtifactEvidenceValidation.d.ts +6 -0
- package/dist/aws/portalPublicArtifactEvidenceValidation.d.ts.map +1 -0
- package/dist/aws/portalPublicArtifactEvidenceValidation.js +227 -0
- package/dist/aws/portalPublicArtifactEvidenceValidation.js.map +1 -0
- package/dist/aws/portalPublicArtifactHistoryAiValidation.d.ts +8 -0
- package/dist/aws/portalPublicArtifactHistoryAiValidation.d.ts.map +1 -0
- package/dist/aws/portalPublicArtifactHistoryAiValidation.js +377 -0
- package/dist/aws/portalPublicArtifactHistoryAiValidation.js.map +1 -0
- package/dist/aws/portalPublicArtifactHistoryTypes.d.ts +168 -0
- package/dist/aws/portalPublicArtifactHistoryTypes.d.ts.map +1 -0
- package/dist/aws/portalPublicArtifactHistoryTypes.js +32 -0
- package/dist/aws/portalPublicArtifactHistoryTypes.js.map +1 -0
- package/dist/aws/portalPublicArtifactNestedEvidence.d.ts +127 -0
- package/dist/aws/portalPublicArtifactNestedEvidence.d.ts.map +1 -0
- package/dist/aws/portalPublicArtifactNestedEvidence.js +3 -0
- package/dist/aws/portalPublicArtifactNestedEvidence.js.map +1 -0
- package/dist/aws/portalPublicArtifactNestedEvidenceValidation.d.ts +6 -0
- package/dist/aws/portalPublicArtifactNestedEvidenceValidation.d.ts.map +1 -0
- package/dist/aws/portalPublicArtifactNestedEvidenceValidation.js +405 -0
- package/dist/aws/portalPublicArtifactNestedEvidenceValidation.js.map +1 -0
- package/dist/aws/portalPublicArtifactValidation.d.ts +3 -0
- package/dist/aws/portalPublicArtifactValidation.d.ts.map +1 -0
- package/dist/aws/portalPublicArtifactValidation.js +14 -0
- package/dist/aws/portalPublicArtifactValidation.js.map +1 -0
- package/dist/aws/portalPublicArtifactValidationCommon.d.ts +30 -0
- package/dist/aws/portalPublicArtifactValidationCommon.d.ts.map +1 -0
- package/dist/aws/portalPublicArtifactValidationCommon.js +167 -0
- package/dist/aws/portalPublicArtifactValidationCommon.js.map +1 -0
- package/dist/aws/portalPublicArtifacts.d.ts +371 -0
- package/dist/aws/portalPublicArtifacts.d.ts.map +1 -0
- package/dist/aws/portalPublicArtifacts.js +85 -0
- package/dist/aws/portalPublicArtifacts.js.map +1 -0
- package/dist/aws/publicArtifacts.d.ts +106 -0
- package/dist/aws/publicArtifacts.d.ts.map +1 -0
- package/dist/aws/publicArtifacts.js +16 -0
- package/dist/aws/publicArtifacts.js.map +1 -0
- package/dist/aws/requests.d.ts +84 -0
- package/dist/aws/requests.d.ts.map +1 -0
- package/dist/aws/requests.js +23 -0
- package/dist/aws/requests.js.map +1 -0
- package/dist/azure/activityLogs.d.ts +71 -0
- package/dist/azure/activityLogs.d.ts.map +1 -0
- package/dist/azure/activityLogs.js +6 -0
- package/dist/azure/activityLogs.js.map +1 -0
- package/dist/azure/advisorScore.d.ts +39 -0
- package/dist/azure/advisorScore.d.ts.map +1 -0
- package/dist/azure/advisorScore.js +3 -0
- package/dist/azure/advisorScore.js.map +1 -0
- package/dist/azure/benefits.d.ts +161 -0
- package/dist/azure/benefits.d.ts.map +1 -0
- package/dist/azure/benefits.js +3 -0
- package/dist/azure/benefits.js.map +1 -0
- package/dist/azure/billingPlots.d.ts +249 -0
- package/dist/azure/billingPlots.d.ts.map +1 -0
- package/dist/azure/billingPlots.js +6 -0
- package/dist/azure/billingPlots.js.map +1 -0
- package/dist/azure/budgets.d.ts +4 -0
- package/dist/azure/budgets.d.ts.map +1 -1
- package/dist/azure/commitmentsPlanning.d.ts +643 -0
- package/dist/azure/commitmentsPlanning.d.ts.map +1 -0
- package/dist/azure/commitmentsPlanning.js +3 -0
- package/dist/azure/commitmentsPlanning.js.map +1 -0
- package/dist/azure/common.d.ts +44 -0
- package/dist/azure/common.d.ts.map +1 -1
- package/dist/azure/configs.d.ts +75 -2
- package/dist/azure/configs.d.ts.map +1 -1
- package/dist/azure/dataProtection.d.ts +229 -0
- package/dist/azure/dataProtection.d.ts.map +1 -0
- package/dist/azure/dataProtection.js +9 -0
- package/dist/azure/dataProtection.js.map +1 -0
- package/dist/azure/governance.d.ts +942 -0
- package/dist/azure/governance.d.ts.map +1 -0
- package/dist/azure/governance.js +18 -0
- package/dist/azure/governance.js.map +1 -0
- package/dist/azure/licensing.d.ts +370 -0
- package/dist/azure/licensing.d.ts.map +1 -0
- package/dist/azure/licensing.js +3 -0
- package/dist/azure/licensing.js.map +1 -0
- package/dist/azure/metrics.d.ts +99 -4
- package/dist/azure/metrics.d.ts.map +1 -1
- package/dist/azure/payloads.d.ts +311 -1
- package/dist/azure/payloads.d.ts.map +1 -1
- package/dist/azure/portalArtifacts.d.ts +14 -0
- package/dist/azure/portalArtifacts.d.ts.map +1 -0
- package/dist/azure/portalArtifacts.js +5 -0
- package/dist/azure/portalArtifacts.js.map +1 -0
- package/dist/azure/prices.d.ts +247 -0
- package/dist/azure/prices.d.ts.map +1 -1
- package/dist/azure/publicIpAddresses.d.ts +171 -0
- package/dist/azure/publicIpAddresses.d.ts.map +1 -0
- package/dist/azure/publicIpAddresses.js +6 -0
- package/dist/azure/publicIpAddresses.js.map +1 -0
- package/dist/azure/recommendationAudit.d.ts +167 -0
- package/dist/azure/recommendationAudit.d.ts.map +1 -0
- package/dist/azure/recommendationAudit.js +20 -0
- package/dist/azure/recommendationAudit.js.map +1 -0
- package/dist/azure/recommendationState.d.ts +93 -4
- package/dist/azure/recommendationState.d.ts.map +1 -1
- package/dist/azure/recommendationTracks.d.ts +214 -0
- package/dist/azure/recommendationTracks.d.ts.map +1 -0
- package/dist/azure/recommendationTracks.js +44 -0
- package/dist/azure/recommendationTracks.js.map +1 -0
- package/dist/azure/recommendationWorkflow.d.ts +338 -0
- package/dist/azure/recommendationWorkflow.d.ts.map +1 -0
- package/dist/azure/recommendationWorkflow.js +18 -0
- package/dist/azure/recommendationWorkflow.js.map +1 -0
- package/dist/azure/recommendations.d.ts +578 -7
- package/dist/azure/recommendations.d.ts.map +1 -1
- package/dist/azure/recommendations.js.map +1 -1
- package/dist/azure/regulatoryCompliance.d.ts +301 -0
- package/dist/azure/regulatoryCompliance.d.ts.map +1 -0
- package/dist/azure/regulatoryCompliance.js +10 -0
- package/dist/azure/regulatoryCompliance.js.map +1 -0
- package/dist/azure/relationships.d.ts +193 -0
- package/dist/azure/relationships.d.ts.map +1 -0
- package/dist/azure/relationships.js +6 -0
- package/dist/azure/relationships.js.map +1 -0
- package/dist/azure/reportingTemplates.d.ts +70 -0
- package/dist/azure/reportingTemplates.d.ts.map +1 -0
- package/dist/azure/reportingTemplates.js +5 -0
- package/dist/azure/reportingTemplates.js.map +1 -0
- package/dist/azure/reports.d.ts +267 -2
- package/dist/azure/reports.d.ts.map +1 -1
- package/dist/azure/reports.js +1 -1
- package/dist/azure/reports.js.map +1 -1
- package/dist/azure/resourceHealth.d.ts +264 -0
- package/dist/azure/resourceHealth.d.ts.map +1 -0
- package/dist/azure/resourceHealth.js +16 -0
- package/dist/azure/resourceHealth.js.map +1 -0
- package/dist/azure/resourceOptimization.d.ts +79 -0
- package/dist/azure/resourceOptimization.d.ts.map +1 -0
- package/dist/azure/resourceOptimization.js +3 -0
- package/dist/azure/resourceOptimization.js.map +1 -0
- package/dist/azure/resources.d.ts +80 -0
- package/dist/azure/resources.d.ts.map +1 -1
- package/dist/azure/reviewChecklist.d.ts +147 -0
- package/dist/azure/reviewChecklist.d.ts.map +1 -0
- package/dist/azure/reviewChecklist.js +3 -0
- package/dist/azure/reviewChecklist.js.map +1 -0
- package/dist/azure/security.d.ts +10 -0
- package/dist/azure/security.d.ts.map +1 -1
- package/dist/azure/serviceRetirement.d.ts +59 -0
- package/dist/azure/serviceRetirement.d.ts.map +1 -0
- package/dist/azure/serviceRetirement.js +3 -0
- package/dist/azure/serviceRetirement.js.map +1 -0
- package/dist/azure/serviceRetirementState.d.ts +22 -0
- package/dist/azure/serviceRetirementState.d.ts.map +1 -0
- package/dist/azure/serviceRetirementState.js +3 -0
- package/dist/azure/serviceRetirementState.js.map +1 -0
- package/dist/azure/serviceRetirementWorkManagement.d.ts +7 -0
- package/dist/azure/serviceRetirementWorkManagement.d.ts.map +1 -0
- package/dist/azure/serviceRetirementWorkManagement.js +3 -0
- package/dist/azure/serviceRetirementWorkManagement.js.map +1 -0
- package/dist/azure/storage-inventory.d.ts +241 -0
- package/dist/azure/storage-inventory.d.ts.map +1 -0
- package/dist/azure/storage-inventory.js +3 -0
- package/dist/azure/storage-inventory.js.map +1 -0
- package/dist/azure/subscriptions.d.ts +107 -8
- package/dist/azure/subscriptions.d.ts.map +1 -1
- package/dist/azure/views.d.ts +689 -6
- package/dist/azure/views.d.ts.map +1 -1
- package/dist/azure/workManagement.d.ts +154 -0
- package/dist/azure/workManagement.d.ts.map +1 -0
- package/dist/azure/workManagement.js +8 -0
- package/dist/azure/workManagement.js.map +1 -0
- package/dist/common/artifactGeneration.d.ts +91 -0
- package/dist/common/artifactGeneration.d.ts.map +1 -0
- package/dist/common/artifactGeneration.js +5 -0
- package/dist/common/artifactGeneration.js.map +1 -0
- package/dist/common/index.d.ts +4 -0
- package/dist/common/index.d.ts.map +1 -1
- package/dist/common/index.js +4 -0
- package/dist/common/index.js.map +1 -1
- package/dist/common/pagination.d.ts +3 -0
- package/dist/common/pagination.d.ts.map +1 -1
- package/dist/common/provider.d.ts +33 -0
- package/dist/common/provider.d.ts.map +1 -0
- package/dist/common/provider.js +15 -0
- package/dist/common/provider.js.map +1 -0
- package/dist/common/providerSyncProgress.d.ts +91 -0
- package/dist/common/providerSyncProgress.d.ts.map +1 -0
- package/dist/common/providerSyncProgress.js +3 -0
- package/dist/common/providerSyncProgress.js.map +1 -0
- package/dist/common/syncProgress.d.ts +27 -0
- package/dist/common/syncProgress.d.ts.map +1 -0
- package/dist/common/syncProgress.js +3 -0
- package/dist/common/syncProgress.js.map +1 -0
- package/dist/company/billingAccount.d.ts +30 -0
- package/dist/company/billingAccount.d.ts.map +1 -0
- package/dist/company/billingAccount.js +3 -0
- package/dist/company/billingAccount.js.map +1 -0
- package/dist/company/company.d.ts +71 -1
- package/dist/company/company.d.ts.map +1 -1
- package/dist/company/companyHierarchy.d.ts +53 -0
- package/dist/company/companyHierarchy.d.ts.map +1 -0
- package/dist/company/companyHierarchy.js +3 -0
- package/dist/company/companyHierarchy.js.map +1 -0
- package/dist/company/companyNotes.d.ts +288 -0
- package/dist/company/companyNotes.d.ts.map +1 -0
- package/dist/company/companyNotes.js +42 -0
- package/dist/company/companyNotes.js.map +1 -0
- package/dist/company/index.d.ts +3 -0
- package/dist/company/index.d.ts.map +1 -1
- package/dist/company/index.js +3 -0
- package/dist/company/index.js.map +1 -1
- package/dist/company/notification.d.ts +35 -1
- package/dist/company/notification.d.ts.map +1 -1
- package/dist/company/notification.js +27 -12
- package/dist/company/notification.js.map +1 -1
- package/dist/company/survey.d.ts +3 -0
- package/dist/company/survey.d.ts.map +1 -1
- package/dist/events/actionGroups.d.ts +85 -0
- package/dist/events/actionGroups.d.ts.map +1 -0
- package/dist/events/actionGroups.js +3 -0
- package/dist/events/actionGroups.js.map +1 -0
- package/dist/events/alertDefinitionRun.d.ts +23 -0
- package/dist/events/alertDefinitionRun.d.ts.map +1 -0
- package/dist/events/alertDefinitionRun.js +3 -0
- package/dist/events/alertDefinitionRun.js.map +1 -0
- package/dist/events/baseAlert.d.ts +140 -0
- package/dist/events/baseAlert.d.ts.map +1 -0
- package/dist/events/baseAlert.js +3 -0
- package/dist/events/baseAlert.js.map +1 -0
- package/dist/events/cost.d.ts +371 -0
- package/dist/events/cost.d.ts.map +1 -0
- package/dist/events/cost.js +3 -0
- package/dist/events/cost.js.map +1 -0
- package/dist/events/costAnomalies.d.ts +47 -0
- package/dist/events/costAnomalies.d.ts.map +1 -0
- package/dist/events/costAnomalies.js +3 -0
- package/dist/events/costAnomalies.js.map +1 -0
- package/dist/events/costViews.d.ts +25 -0
- package/dist/events/costViews.d.ts.map +1 -0
- package/dist/events/costViews.js +3 -0
- package/dist/events/costViews.js.map +1 -0
- package/dist/events/eventStatus.d.ts +67 -0
- package/dist/events/eventStatus.d.ts.map +1 -0
- package/dist/events/eventStatus.js +3 -0
- package/dist/events/eventStatus.js.map +1 -0
- package/dist/events/index.d.ts +9 -0
- package/dist/events/index.d.ts.map +1 -0
- package/dist/events/index.js +25 -0
- package/dist/events/index.js.map +1 -0
- package/dist/events/quickAlerts.d.ts +67 -0
- package/dist/events/quickAlerts.d.ts.map +1 -0
- package/dist/events/quickAlerts.js +7 -0
- package/dist/events/quickAlerts.js.map +1 -0
- package/dist/features-and-permissions/access.d.ts +137 -0
- package/dist/features-and-permissions/access.d.ts.map +1 -0
- package/dist/features-and-permissions/access.js +3 -0
- package/dist/features-and-permissions/access.js.map +1 -0
- package/dist/features-and-permissions/index.d.ts +2 -0
- package/dist/features-and-permissions/index.d.ts.map +1 -0
- package/dist/features-and-permissions/index.js +18 -0
- package/dist/features-and-permissions/index.js.map +1 -0
- package/dist/feedbacks/feedback.d.ts +9 -0
- package/dist/feedbacks/feedback.d.ts.map +1 -1
- package/dist/identity/apikey.d.ts +84 -0
- package/dist/identity/apikey.d.ts.map +1 -0
- package/dist/identity/apikey.js +3 -0
- package/dist/identity/apikey.js.map +1 -0
- package/dist/identity/index.d.ts +2 -0
- package/dist/identity/index.d.ts.map +1 -0
- package/dist/identity/index.js +18 -0
- package/dist/identity/index.js.map +1 -0
- package/dist/index.d.ts +33 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +33 -1
- package/dist/index.js.map +1 -1
- package/dist/index.vite.d.ts +49 -0
- package/dist/index.vite.d.ts.map +1 -0
- package/dist/index.vite.js +65 -0
- package/dist/index.vite.js.map +1 -0
- package/dist/integrations/autotask.d.ts +108 -0
- package/dist/integrations/autotask.d.ts.map +1 -0
- package/dist/integrations/autotask.js +3 -0
- package/dist/integrations/autotask.js.map +1 -0
- package/dist/integrations/azureDevOps.d.ts +130 -0
- package/dist/integrations/azureDevOps.d.ts.map +1 -0
- package/dist/integrations/azureDevOps.js +3 -0
- package/dist/integrations/azureDevOps.js.map +1 -0
- package/dist/integrations/github.d.ts +96 -0
- package/dist/integrations/github.d.ts.map +1 -0
- package/dist/integrations/github.js +3 -0
- package/dist/integrations/github.js.map +1 -0
- package/dist/integrations/halo.d.ts +76 -0
- package/dist/integrations/halo.d.ts.map +1 -0
- package/dist/integrations/halo.js +3 -0
- package/dist/integrations/halo.js.map +1 -0
- package/dist/integrations/index.d.ts +6 -0
- package/dist/integrations/index.d.ts.map +1 -0
- package/dist/integrations/index.js +22 -0
- package/dist/integrations/index.js.map +1 -0
- package/dist/integrations/integrationTickets.d.ts +77 -0
- package/dist/integrations/integrationTickets.d.ts.map +1 -0
- package/dist/integrations/integrationTickets.js +3 -0
- package/dist/integrations/integrationTickets.js.map +1 -0
- package/dist/scheduler/index.d.ts +2 -0
- package/dist/scheduler/index.d.ts.map +1 -0
- package/dist/scheduler/index.js +18 -0
- package/dist/scheduler/index.js.map +1 -0
- package/dist/scheduler/scheduler.d.ts +263 -0
- package/dist/scheduler/scheduler.d.ts.map +1 -0
- package/dist/scheduler/scheduler.js +3 -0
- package/dist/scheduler/scheduler.js.map +1 -0
- package/dist/tags/index.d.ts +2 -0
- package/dist/tags/index.d.ts.map +1 -0
- package/dist/tags/index.js +18 -0
- package/dist/tags/index.js.map +1 -0
- package/dist/tags/tags.d.ts +37 -0
- package/dist/tags/tags.d.ts.map +1 -0
- package/dist/tags/tags.js +10 -0
- package/dist/tags/tags.js.map +1 -0
- package/dist/unknown/services.d.ts +12 -0
- package/dist/unknown/services.d.ts.map +1 -0
- package/dist/unknown/services.js +3 -0
- package/dist/unknown/services.js.map +1 -0
- package/dist/users/companyUser.d.ts +12 -0
- package/dist/users/companyUser.d.ts.map +1 -1
- package/dist/users/companyUser.js.map +1 -1
- package/dist/users/user.d.ts +18 -1
- package/dist/users/user.d.ts.map +1 -1
- package/package.json +30 -5
|
@@ -1,5 +1,17 @@
|
|
|
1
|
-
import { Comment, RecommendationHistory } from './recommendationState';
|
|
2
|
-
import {
|
|
1
|
+
import type { Comment, CommentScope, RecommendationHistory } from './recommendationState';
|
|
2
|
+
import type { ProviderScope } from '../common/provider';
|
|
3
|
+
import { SecurityAssessmentStatus, SecurityImpact, SubscriptionSecurityStatus } from './security';
|
|
4
|
+
import { SubscriptionSummaryLite } from './subscriptions';
|
|
5
|
+
import type { CostSavingsAggregationPolicy, CostSavingsSummary, CurrencySavingsGroup, SavingsPotential, VmPricePerformanceInsights } from './views';
|
|
6
|
+
import type { HaloRoutingOverrides } from '../integrations/halo';
|
|
7
|
+
import type { AutotaskShareOverrides } from '../integrations/autotask';
|
|
8
|
+
import type { AzureDevOpsShareOverrides } from '../integrations/azureDevOps';
|
|
9
|
+
import type { GitHubShareOverrides } from '../integrations/github';
|
|
10
|
+
import type { Tags } from '../tags';
|
|
11
|
+
import type { AzurePortalVersionedArtifact } from './portalArtifacts';
|
|
12
|
+
import type { RecommendationSystemTrackClassification } from './recommendationTracks';
|
|
13
|
+
import type { LicensingRecommendationRenderData } from './licensing';
|
|
14
|
+
import type { ResourceSimpleOptimizationProfile } from './resourceOptimization';
|
|
3
15
|
export declare enum RecommendationCategory {
|
|
4
16
|
Cost = "Cost",
|
|
5
17
|
Performance = "Performance",
|
|
@@ -9,14 +21,212 @@ export declare enum RecommendationCategory {
|
|
|
9
21
|
OperationalExcellence = "OperationalExcellence",
|
|
10
22
|
OperationalExcellenceAlternative = "Operational Excellence"
|
|
11
23
|
}
|
|
24
|
+
export type RecommendationPriorityTier = 'must_do' | 'normal';
|
|
25
|
+
export type RecommendationCostImpactUnit = 'percent';
|
|
26
|
+
export type EffortEstimateProfileName = 'clickops' | 'devops' | 'enterprise';
|
|
27
|
+
export interface RecommendationBaseScores {
|
|
28
|
+
cost_optimization: number;
|
|
29
|
+
security: number;
|
|
30
|
+
performance: number;
|
|
31
|
+
reliability: number;
|
|
32
|
+
compliance: number;
|
|
33
|
+
operational_excellence: number;
|
|
34
|
+
}
|
|
35
|
+
export interface RecommendationEffortEstimateBreakdown {
|
|
36
|
+
discovery: number;
|
|
37
|
+
implementation: number;
|
|
38
|
+
validation: number;
|
|
39
|
+
rollbackPlanning: number;
|
|
40
|
+
coordination: number;
|
|
41
|
+
}
|
|
42
|
+
export interface RecommendationEffortEstimateProfile {
|
|
43
|
+
effortHours: number;
|
|
44
|
+
breakdown: RecommendationEffortEstimateBreakdown;
|
|
45
|
+
reason: string;
|
|
46
|
+
}
|
|
47
|
+
export interface RecommendationEffortEstimateProfiles {
|
|
48
|
+
clickops: RecommendationEffortEstimateProfile;
|
|
49
|
+
devops: RecommendationEffortEstimateProfile;
|
|
50
|
+
enterprise: RecommendationEffortEstimateProfile;
|
|
51
|
+
}
|
|
52
|
+
export interface RecommendationBulkEffortEstimateProfile {
|
|
53
|
+
setupHours: number;
|
|
54
|
+
perResourceHours: number;
|
|
55
|
+
validationHours: number;
|
|
56
|
+
}
|
|
57
|
+
export interface RecommendationBulkEffortEstimateProfiles {
|
|
58
|
+
clickops: RecommendationBulkEffortEstimateProfile;
|
|
59
|
+
devops: RecommendationBulkEffortEstimateProfile;
|
|
60
|
+
enterprise: RecommendationBulkEffortEstimateProfile;
|
|
61
|
+
}
|
|
62
|
+
export interface RecommendationBulkEffortEstimates {
|
|
63
|
+
supported: boolean;
|
|
64
|
+
threshold: number;
|
|
65
|
+
profiles: RecommendationBulkEffortEstimateProfiles;
|
|
66
|
+
}
|
|
67
|
+
export interface RecommendationEffortEstimates {
|
|
68
|
+
profiles: RecommendationEffortEstimateProfiles;
|
|
69
|
+
bulk: RecommendationBulkEffortEstimates;
|
|
70
|
+
overridden?: boolean;
|
|
71
|
+
lastUpdatedAt?: string;
|
|
72
|
+
notes?: string;
|
|
73
|
+
}
|
|
74
|
+
export interface RecommendationActionImpactAssessment {
|
|
75
|
+
downtime: string;
|
|
76
|
+
dataLoss: string;
|
|
77
|
+
accessImpact: string;
|
|
78
|
+
dependencies: string;
|
|
79
|
+
}
|
|
80
|
+
export type RecommendationActionRiskLevel = 'low' | 'medium' | 'high';
|
|
81
|
+
export interface RecommendationActionRollback {
|
|
82
|
+
supported: boolean;
|
|
83
|
+
description: string;
|
|
84
|
+
limitations: string[];
|
|
85
|
+
}
|
|
86
|
+
export interface RecommendationActionCheck {
|
|
87
|
+
label: string;
|
|
88
|
+
description: string;
|
|
89
|
+
}
|
|
90
|
+
export interface RecommendationActionLink {
|
|
91
|
+
label: string;
|
|
92
|
+
url: string;
|
|
93
|
+
}
|
|
94
|
+
export interface RecommendationActionPostValidation {
|
|
95
|
+
label: string;
|
|
96
|
+
description: string;
|
|
97
|
+
expectedResult: string;
|
|
98
|
+
links?: RecommendationActionLink[];
|
|
99
|
+
}
|
|
100
|
+
export type RecommendationActionPermissionProvider = 'azure-rbac';
|
|
101
|
+
export type RecommendationActionPermissionScope = 'targetResource' | 'resourceGroup' | 'subscription' | 'tenant';
|
|
102
|
+
export interface RecommendationActionPermissionRequirement {
|
|
103
|
+
label: string;
|
|
104
|
+
name: string;
|
|
105
|
+
reason: string;
|
|
106
|
+
links?: RecommendationActionLink[];
|
|
107
|
+
}
|
|
108
|
+
export interface RecommendationActionLeastPrivilegeRole {
|
|
109
|
+
label: string;
|
|
110
|
+
description: string;
|
|
111
|
+
}
|
|
112
|
+
export interface RecommendationActionSuggestedRole {
|
|
113
|
+
label: string;
|
|
114
|
+
roleName: string;
|
|
115
|
+
roleDefinitionId?: string;
|
|
116
|
+
reason: string;
|
|
117
|
+
}
|
|
118
|
+
export interface RecommendationActionRequiredPermissions {
|
|
119
|
+
provider: RecommendationActionPermissionProvider;
|
|
120
|
+
scope: RecommendationActionPermissionScope;
|
|
121
|
+
actions: RecommendationActionPermissionRequirement[];
|
|
122
|
+
dataActions: RecommendationActionPermissionRequirement[];
|
|
123
|
+
leastPrivilegeRole?: RecommendationActionLeastPrivilegeRole;
|
|
124
|
+
suggestedRoles?: RecommendationActionSuggestedRole[];
|
|
125
|
+
}
|
|
126
|
+
export interface RecommendationActionDefinition {
|
|
127
|
+
verified: boolean;
|
|
128
|
+
actionDefinitionId?: string;
|
|
129
|
+
title: string;
|
|
130
|
+
description: string;
|
|
131
|
+
estimatedDuration: string;
|
|
132
|
+
riskLevel: RecommendationActionRiskLevel;
|
|
133
|
+
requiredPermissions?: RecommendationActionRequiredPermissions;
|
|
134
|
+
impactAssessment: RecommendationActionImpactAssessment;
|
|
135
|
+
rollback: RecommendationActionRollback;
|
|
136
|
+
humanPreChecks: RecommendationActionCheck[];
|
|
137
|
+
postValidation: RecommendationActionPostValidation[];
|
|
138
|
+
}
|
|
139
|
+
export type RecommendationActionMetadata = RecommendationActionDefinition;
|
|
140
|
+
export type RecommendationImplementActionImpactAssessment = RecommendationActionImpactAssessment;
|
|
141
|
+
export type RecommendationImplementAction = RecommendationActionMetadata;
|
|
12
142
|
export interface RecommendationResources {
|
|
13
143
|
recommendation: CustomAzureRecommendation;
|
|
14
144
|
resourceIds: string[];
|
|
15
145
|
}
|
|
146
|
+
export type HddSsdMigrationTargetTier = 'standardSsd' | 'premiumSsd';
|
|
147
|
+
export type HddDiskPricingRedundancy = 'LRS' | 'ZRS';
|
|
148
|
+
export interface HddOsRetirementCurrentDiskPricing {
|
|
149
|
+
storageTier: 'standardHdd';
|
|
150
|
+
skuName: string;
|
|
151
|
+
pricingRedundancy?: HddDiskPricingRedundancy;
|
|
152
|
+
sizeGiB: number;
|
|
153
|
+
monthlyActual: number;
|
|
154
|
+
monthlyRetail: number;
|
|
155
|
+
}
|
|
156
|
+
export interface HddOsRetirementTargetDiskPricing {
|
|
157
|
+
storageTier: HddSsdMigrationTargetTier;
|
|
158
|
+
skuName: string;
|
|
159
|
+
pricingRedundancy?: HddDiskPricingRedundancy;
|
|
160
|
+
sizeGiB: number;
|
|
161
|
+
monthlyRetail: number;
|
|
162
|
+
}
|
|
163
|
+
export interface HddOsRetirementDiskRenderItem {
|
|
164
|
+
resourceId: string;
|
|
165
|
+
resourceName: string;
|
|
166
|
+
resourceType: string;
|
|
167
|
+
/** Canonical location key used for pricing lookup, e.g. "westus". */
|
|
168
|
+
pricingLocation?: string;
|
|
169
|
+
current: HddOsRetirementCurrentDiskPricing;
|
|
170
|
+
standardSsd: HddOsRetirementTargetDiskPricing & {
|
|
171
|
+
storageTier: 'standardSsd';
|
|
172
|
+
};
|
|
173
|
+
premiumSsd: HddOsRetirementTargetDiskPricing & {
|
|
174
|
+
storageTier: 'premiumSsd';
|
|
175
|
+
};
|
|
176
|
+
defaultSelection?: HddSsdMigrationTargetTier;
|
|
177
|
+
}
|
|
178
|
+
export interface HddOsRetirementRenderStrategyPayload {
|
|
179
|
+
retirementDate: string;
|
|
180
|
+
retirementLink: string;
|
|
181
|
+
currencyCode?: string;
|
|
182
|
+
currencySymbol?: string;
|
|
183
|
+
defaultTargetTier?: HddSsdMigrationTargetTier;
|
|
184
|
+
impactedDiskCount: number;
|
|
185
|
+
currentMonthlyActual: number;
|
|
186
|
+
currentMonthlyRetail: number;
|
|
187
|
+
standardSsdMonthlyRetail: number;
|
|
188
|
+
premiumSsdMonthlyRetail: number;
|
|
189
|
+
standardSsdMonthlyDelta: number;
|
|
190
|
+
premiumSsdMonthlyDelta: number;
|
|
191
|
+
disks: HddOsRetirementDiskRenderItem[];
|
|
192
|
+
}
|
|
193
|
+
export type RecommendationKnownRenderData = HddOsRetirementRenderStrategyPayload | VmPricePerformanceInsights | LicensingRecommendationRenderData;
|
|
194
|
+
export type AnyRecommendationRenderData = Record<string, unknown>;
|
|
195
|
+
export type RecommendationDecisionRelationshipKind = 'review_first' | 'alternative' | 'trade_off' | 'follow_up' | 'unlocks' | 'conflicts_with';
|
|
196
|
+
export type RecommendationDecisionContextRole = 'primary' | 'alternative' | 'trade_off' | 'follow_up' | 'supporting';
|
|
197
|
+
export type RecommendationDecisionReviewPriority = 'review_first' | 'normal';
|
|
198
|
+
/**
|
|
199
|
+
* Resource-specific relationship from one recommendation to another.
|
|
200
|
+
* Used by UIs to explain alternatives and follow-ups without changing recommendation state.
|
|
201
|
+
*/
|
|
202
|
+
export interface RecommendationDecisionLink {
|
|
203
|
+
recommendationId: string;
|
|
204
|
+
kind: RecommendationDecisionRelationshipKind;
|
|
205
|
+
label?: string;
|
|
206
|
+
reason?: string;
|
|
207
|
+
condition?: string;
|
|
208
|
+
}
|
|
209
|
+
/**
|
|
210
|
+
* Resource-specific decision context for an existing recommendation.
|
|
211
|
+
* The recommendation remains independently visible and actionable by recommendationId.
|
|
212
|
+
*/
|
|
213
|
+
export interface RecommendationDecisionContext {
|
|
214
|
+
recommendationId: string;
|
|
215
|
+
role?: RecommendationDecisionContextRole;
|
|
216
|
+
reviewPriority?: RecommendationDecisionReviewPriority;
|
|
217
|
+
groupId?: string;
|
|
218
|
+
title?: string;
|
|
219
|
+
explanation?: string;
|
|
220
|
+
links: RecommendationDecisionLink[];
|
|
221
|
+
}
|
|
16
222
|
export interface Recommendation {
|
|
223
|
+
/** Business identity of a recommendation record (routing/state/sharing/dedupe). */
|
|
17
224
|
id: string;
|
|
18
225
|
name: string;
|
|
19
226
|
category: RecommendationCategory;
|
|
227
|
+
subCategory?: string;
|
|
228
|
+
aggregateDescription?: string;
|
|
229
|
+
/** custom */
|
|
20
230
|
type?: string;
|
|
21
231
|
description?: string;
|
|
22
232
|
remediation?: string;
|
|
@@ -27,33 +237,92 @@ export interface Recommendation {
|
|
|
27
237
|
url: string;
|
|
28
238
|
}[];
|
|
29
239
|
considerations?: string;
|
|
240
|
+
currency?: string;
|
|
30
241
|
potentialBenefits?: string;
|
|
242
|
+
potentialMonthlySavings?: number;
|
|
31
243
|
effort?: string;
|
|
32
244
|
effortReason?: string;
|
|
245
|
+
/** e.g. 10 hours */
|
|
246
|
+
effortHours?: number;
|
|
247
|
+
/** Detailed implementation estimates by delivery profile and bulk rollout mode. */
|
|
248
|
+
effortEstimates?: RecommendationEffortEstimates;
|
|
33
249
|
risk?: string;
|
|
34
250
|
riskReason?: string;
|
|
251
|
+
severity?: string;
|
|
252
|
+
/** Relative cost percentage, e.g. -40 means a 40% reduction. Never a currency amount. */
|
|
35
253
|
costImpact?: number;
|
|
254
|
+
/** Explicit discriminator for new payloads while legacy percentage-only payloads remain readable. */
|
|
255
|
+
costImpactUnit?: RecommendationCostImpactUnit;
|
|
36
256
|
costImpactReason?: string;
|
|
37
|
-
costImpactDetails
|
|
257
|
+
/*** costImpactDetails is deprecated **/
|
|
38
258
|
performanceImpact?: number;
|
|
39
259
|
performanceImpactReason?: string;
|
|
40
260
|
confidencePercentage?: number;
|
|
41
261
|
confidenceReason?: string;
|
|
262
|
+
/** array of resources that have this recommendation */
|
|
42
263
|
resources?: ResourceReference[];
|
|
264
|
+
/** Compact resource references for resource-specific detail payloads. */
|
|
265
|
+
resourceIds?: string[];
|
|
266
|
+
/** Total affected resources when resourceIds is trimmed or sampled. */
|
|
267
|
+
resourcesCount?: number;
|
|
268
|
+
/** only for security recommendations */
|
|
43
269
|
securityImpactDetails?: SecurityImpact;
|
|
270
|
+
/** whether the recommendation has been resolved or not, eg, Security Assessment is "Healthy" should be true */
|
|
44
271
|
resolved?: boolean;
|
|
45
272
|
securityAssessmentStatuses?: SecurityAssessmentStatus[];
|
|
46
|
-
|
|
273
|
+
/** Deprecated fields, kept for compatibility */
|
|
47
274
|
solution?: string;
|
|
48
275
|
source?: string;
|
|
49
276
|
service?: string;
|
|
277
|
+
/**
|
|
278
|
+
* Stored as string to allow JSON persistence.
|
|
279
|
+
* Uses a different name to avoid conflict with RecommendationWithState.createdAt.
|
|
280
|
+
*/
|
|
50
281
|
createdTime?: string;
|
|
282
|
+
/** Avoids conflict with RecommendationWithState.updatedAt */
|
|
51
283
|
lastUpdatedTime?: string;
|
|
284
|
+
/** Business story properties */
|
|
285
|
+
title?: string;
|
|
286
|
+
headline?: string;
|
|
287
|
+
bottomLine?: string;
|
|
288
|
+
plainSummary?: string;
|
|
289
|
+
quickSteps?: string[];
|
|
290
|
+
businessOwner?: string;
|
|
291
|
+
keyConstraint?: string;
|
|
292
|
+
validationEvidence?: string;
|
|
293
|
+
read?: boolean;
|
|
294
|
+
/** Technical playbook (only for multi-step implementations) */
|
|
295
|
+
technicalPlaybook?: string;
|
|
296
|
+
/** Static recommendation scoring metadata (library-level). */
|
|
297
|
+
baseScores?: RecommendationBaseScores;
|
|
298
|
+
overallBaseScore?: number;
|
|
299
|
+
overallBaseReason?: string;
|
|
300
|
+
priorityTier?: RecommendationPriorityTier;
|
|
301
|
+
/** Runtime scoring metadata (per company/tenant). */
|
|
302
|
+
adjustedScore?: number;
|
|
303
|
+
objectiveMultiplier?: number;
|
|
304
|
+
finalScore?: number;
|
|
305
|
+
/** UI display-only normalized score (0-100). */
|
|
306
|
+
normalizedScore?: number;
|
|
307
|
+
/** Optional system-track classification emitted from the checked-in recommendation registry. */
|
|
308
|
+
systemTrackClassification?: RecommendationSystemTrackClassification;
|
|
309
|
+
/** Cross-feature linkage IDs used for deep links and related views. */
|
|
310
|
+
linkingIds?: RecommendationLinkingIds;
|
|
311
|
+
/** Optional UI render payload consumed by recommendation-specific components. */
|
|
312
|
+
renderData?: RecommendationKnownRenderData | AnyRecommendationRenderData;
|
|
313
|
+
/** Optional action definition for implement-capable recommendations. */
|
|
314
|
+
action?: RecommendationActionMetadata;
|
|
52
315
|
}
|
|
316
|
+
export interface RecommendationLinkingIds {
|
|
317
|
+
serviceRetirementIds?: string[];
|
|
318
|
+
}
|
|
319
|
+
/** Deprecated **/
|
|
53
320
|
export interface CostImpactDetails {
|
|
321
|
+
/** e.g. "Saving Plan", "Reserved Instance", "Windows migration to Linux" */
|
|
54
322
|
name: string;
|
|
55
323
|
monthlySavings?: number;
|
|
56
324
|
currentSpend?: number;
|
|
325
|
+
/** e.g. 20 for 20% */
|
|
57
326
|
savingPercentage?: number;
|
|
58
327
|
minMonthlySavings?: number;
|
|
59
328
|
maxMonthlySavings?: number;
|
|
@@ -67,18 +336,104 @@ export interface RecommendationSummary {
|
|
|
67
336
|
}
|
|
68
337
|
export interface RecommendationWithResources {
|
|
69
338
|
recommendation: Recommendation;
|
|
339
|
+
/** Total affected resources when the resources array is trimmed or sampled. */
|
|
340
|
+
resourcesCount?: number;
|
|
70
341
|
resources: RecommendationResource[];
|
|
342
|
+
/** Homogeneous-currency savings only. Omit for mixed-currency projections. */
|
|
343
|
+
savings?: SavingsPotential;
|
|
344
|
+
/** Canonical monetary values when present; `savings` must not contain mixed-currency amounts. */
|
|
345
|
+
savingsByCurrency?: CurrencySavingsGroup[];
|
|
346
|
+
/** Canonical resource ID that owns this recommendation savings amount for aggregation */
|
|
347
|
+
savingsOwnerResourceId?: string;
|
|
348
|
+
/** Resource IDs that may display this recommendation savings amount as context */
|
|
349
|
+
savingsDisplayResourceIds?: string[];
|
|
350
|
+
/** Billable component key used with the owner ID to prevent double counting */
|
|
351
|
+
billableComponentKey?: string;
|
|
352
|
+
/** Aggregation rule for this recommendation savings amount */
|
|
353
|
+
savingsAggregationPolicy?: CostSavingsAggregationPolicy;
|
|
354
|
+
}
|
|
355
|
+
/**
|
|
356
|
+
* Contextual links from one recommendation row to other resources.
|
|
357
|
+
* Used to model "this disk belongs to that VM" style associations
|
|
358
|
+
* without changing which resource owns savings totals.
|
|
359
|
+
*/
|
|
360
|
+
export interface RecommendationResourceAssociation {
|
|
361
|
+
id: string;
|
|
362
|
+
name?: string;
|
|
363
|
+
type?: string;
|
|
364
|
+
relationship?: ResourceRelationship;
|
|
365
|
+
}
|
|
366
|
+
export type RecommendationSavingsCalculationBasis = 'actual-billing' | 'projected-runtime' | 'target-pricing' | 'commitment-pricing';
|
|
367
|
+
export interface ResourceRecommendationSavingsDetails {
|
|
368
|
+
headlineScenario: {
|
|
369
|
+
id: string;
|
|
370
|
+
label: string;
|
|
371
|
+
action: string;
|
|
372
|
+
monthlySavings: number;
|
|
373
|
+
targetMonthlyCost: number;
|
|
374
|
+
};
|
|
375
|
+
affectedCost: {
|
|
376
|
+
label: string;
|
|
377
|
+
currentMonthlyCost: number;
|
|
378
|
+
savingsPercentage: number;
|
|
379
|
+
};
|
|
380
|
+
resourceSpend?: {
|
|
381
|
+
last30Days: number;
|
|
382
|
+
savingsPercentage: number;
|
|
383
|
+
};
|
|
384
|
+
calculationBasis: {
|
|
385
|
+
type: RecommendationSavingsCalculationBasis;
|
|
386
|
+
windowStart?: string;
|
|
387
|
+
windowEnd?: string;
|
|
388
|
+
};
|
|
71
389
|
}
|
|
72
390
|
export interface RecommendationResource {
|
|
73
391
|
id: string;
|
|
74
392
|
name: string;
|
|
75
393
|
type: string;
|
|
394
|
+
resourceGroup?: string;
|
|
395
|
+
location?: string;
|
|
396
|
+
subscriptionId?: string;
|
|
397
|
+
subscriptionName?: string;
|
|
398
|
+
tags?: Record<string, string>;
|
|
399
|
+
spottoTags?: Tags;
|
|
400
|
+
createdTime?: string;
|
|
401
|
+
typeInfo?: {
|
|
402
|
+
name: string;
|
|
403
|
+
icon: string;
|
|
404
|
+
description: string;
|
|
405
|
+
product: string;
|
|
406
|
+
aliases?: string[];
|
|
407
|
+
};
|
|
76
408
|
spend: number;
|
|
77
409
|
spendAmortized: number;
|
|
410
|
+
optimizationProfile?: ResourceSimpleOptimizationProfile;
|
|
411
|
+
savings?: SavingsPotential;
|
|
412
|
+
/** Standalone saving for this recommendation on this resource. */
|
|
413
|
+
savingsDetails?: ResourceRecommendationSavingsDetails;
|
|
414
|
+
/** Canonical resource ID that owns this resource savings amount for aggregation */
|
|
415
|
+
savingsOwnerResourceId?: string;
|
|
416
|
+
/** Resource IDs that may display this resource savings amount as context */
|
|
417
|
+
savingsDisplayResourceIds?: string[];
|
|
418
|
+
/** Billable component key used with the owner ID to prevent double counting */
|
|
419
|
+
billableComponentKey?: string;
|
|
420
|
+
/** Aggregation rule for this resource savings amount */
|
|
421
|
+
savingsAggregationPolicy?: CostSavingsAggregationPolicy;
|
|
422
|
+
currency?: string;
|
|
423
|
+
currencySymbol?: string;
|
|
424
|
+
relationship?: ResourceRelationship;
|
|
425
|
+
associations?: RecommendationResourceAssociation[];
|
|
78
426
|
}
|
|
79
|
-
export interface RecommendationsView {
|
|
427
|
+
export interface RecommendationsView extends AzurePortalVersionedArtifact {
|
|
80
428
|
recommendations: RecommendationWithResources[];
|
|
81
429
|
securityImpactDetails?: SecurityImpact[];
|
|
430
|
+
subscriptionSecurityStatus?: SubscriptionSecurityStatus;
|
|
431
|
+
/** Homogeneous-currency savings only. Omit for mixed-currency projections. */
|
|
432
|
+
savings?: SavingsPotential;
|
|
433
|
+
/** Canonical monetary values when present; `savings` must not contain mixed-currency amounts. */
|
|
434
|
+
savingsByCurrency?: CurrencySavingsGroup[];
|
|
435
|
+
subscription: SubscriptionSummaryLite;
|
|
436
|
+
costSavingsSummary?: CostSavingsSummary;
|
|
82
437
|
}
|
|
83
438
|
export interface ResourceId {
|
|
84
439
|
id: string;
|
|
@@ -86,7 +441,20 @@ export interface ResourceId {
|
|
|
86
441
|
export interface ResourceReference {
|
|
87
442
|
id: string;
|
|
88
443
|
name: string;
|
|
444
|
+
type?: string;
|
|
445
|
+
subscriptionName?: string;
|
|
446
|
+
savings?: SavingsPotential;
|
|
447
|
+
currency?: string;
|
|
448
|
+
currencySymbol?: string;
|
|
449
|
+
relationship?: ResourceRelationship;
|
|
450
|
+
associations?: RecommendationResourceAssociation[];
|
|
89
451
|
}
|
|
452
|
+
export type ResourceRelationship = {
|
|
453
|
+
role?: 'primary' | 'related';
|
|
454
|
+
type?: string;
|
|
455
|
+
allocationId?: string;
|
|
456
|
+
metadata?: Record<string, string>;
|
|
457
|
+
};
|
|
90
458
|
export interface ReliabilityRecommendation extends Recommendation {
|
|
91
459
|
referenceID: string;
|
|
92
460
|
resourceType: string;
|
|
@@ -94,7 +462,6 @@ export interface ReliabilityRecommendation extends Recommendation {
|
|
|
94
462
|
service: string;
|
|
95
463
|
}
|
|
96
464
|
export interface CustomAzureRecommendation extends Recommendation {
|
|
97
|
-
subcategory: string;
|
|
98
465
|
service: string;
|
|
99
466
|
source: string;
|
|
100
467
|
fileName: string;
|
|
@@ -104,6 +471,7 @@ export interface RecommendationCollection {
|
|
|
104
471
|
results: ResourceId[];
|
|
105
472
|
}
|
|
106
473
|
export interface AzureRecommendationLite {
|
|
474
|
+
/** e.g. Cost, Performance, Reliability, Security, Compliance, OperationalExcellence, Operational Excellence, HighAvailability */
|
|
107
475
|
category: string;
|
|
108
476
|
total: number;
|
|
109
477
|
high: number;
|
|
@@ -111,13 +479,18 @@ export interface AzureRecommendationLite {
|
|
|
111
479
|
low: number;
|
|
112
480
|
}
|
|
113
481
|
export interface RecommendationStats {
|
|
482
|
+
/** total number of recommendations in the subscription */
|
|
114
483
|
total: number;
|
|
484
|
+
/** total number of high recommendations in the subscription */
|
|
115
485
|
high: number;
|
|
486
|
+
/** total number of medium recommendations in the subscription */
|
|
116
487
|
medium: number;
|
|
488
|
+
/** total number of low recommendations in the subscription */
|
|
117
489
|
low: number;
|
|
118
490
|
}
|
|
491
|
+
/** Recommendation with state information, name "ExtendedRecommendation" in the portal at the moment */
|
|
119
492
|
export interface RecommendationWithState extends Recommendation {
|
|
120
|
-
status?: 'Active' | 'Prioritized' | 'Postponed' | 'Dismissed' | 'Completed' | 'Archived';
|
|
493
|
+
status?: 'Active' | 'Prioritized' | 'Postponed' | 'Dismissed' | 'Completed' | 'Archived' | 'Implementing' | 'Implemented' | 'Failed';
|
|
121
494
|
read?: boolean;
|
|
122
495
|
scheduledAt?: Date;
|
|
123
496
|
createdAt?: Date;
|
|
@@ -126,4 +499,202 @@ export interface RecommendationWithState extends Recommendation {
|
|
|
126
499
|
comments?: Comment[];
|
|
127
500
|
history?: RecommendationHistory[];
|
|
128
501
|
}
|
|
502
|
+
export interface DismissRecommendationRequest extends RecommendationActionRequest {
|
|
503
|
+
dismissReason: string;
|
|
504
|
+
}
|
|
505
|
+
export interface ShareRecommendationRequest extends RecommendationActionRequest {
|
|
506
|
+
shareType: 'email' | 'slack' | 'teams' | 'jira' | 'halo' | 'connectwise' | 'autotask' | 'azuredevops' | 'github';
|
|
507
|
+
email?: string;
|
|
508
|
+
halo?: HaloRoutingOverrides;
|
|
509
|
+
connectwise?: ConnectWiseRoutingFields;
|
|
510
|
+
autotask?: AutotaskShareOverrides;
|
|
511
|
+
azuredevops?: AzureDevOpsShareOverrides;
|
|
512
|
+
github?: GitHubShareOverrides;
|
|
513
|
+
}
|
|
514
|
+
export type RecommendationActionTargetSelection = 'selectedResources' | 'allAffectedResources';
|
|
515
|
+
export interface RecommendationActionRequest extends ProviderScope {
|
|
516
|
+
/** `providerScope` maps to subscription identity for Azure providers. */
|
|
517
|
+
scope?: CommentScope;
|
|
518
|
+
/** Optional cloud-account identity enriched by trusted server-side callers before queue publish. */
|
|
519
|
+
cloudAccountId?: string;
|
|
520
|
+
/** Optional user-provided reason for queue-backed actions such as implement. */
|
|
521
|
+
reason?: string;
|
|
522
|
+
/** Optional action permission metadata passed into API preflight before queue publish. */
|
|
523
|
+
requiredPermissions?: RecommendationActionRequiredPermissions;
|
|
524
|
+
recommendationId: string;
|
|
525
|
+
recommendationTitle?: string;
|
|
526
|
+
resourceIds: string[];
|
|
527
|
+
/** Whether resourceIds are the exact selected targets or a sampled display subset for an all-affected action. */
|
|
528
|
+
targetSelection?: RecommendationActionTargetSelection;
|
|
529
|
+
resourceGroupName?: string;
|
|
530
|
+
companyId: string;
|
|
531
|
+
byUserId?: string;
|
|
532
|
+
byUserDisplayName?: string;
|
|
533
|
+
}
|
|
534
|
+
export interface RecommendationActionResponse {
|
|
535
|
+
success: boolean;
|
|
536
|
+
message?: string;
|
|
537
|
+
affectedResources?: string[];
|
|
538
|
+
eventId?: string;
|
|
539
|
+
}
|
|
540
|
+
export type RecommendationActionPermissionFailureStatus = 'missing' | 'unknown' | 'unsupported';
|
|
541
|
+
export interface RecommendationActionPermissionFailure {
|
|
542
|
+
resourceId: string;
|
|
543
|
+
azureScope: string;
|
|
544
|
+
status: RecommendationActionPermissionFailureStatus;
|
|
545
|
+
message: string;
|
|
546
|
+
missingActions: string[];
|
|
547
|
+
missingDataActions: string[];
|
|
548
|
+
}
|
|
549
|
+
export interface RecommendationActionPermissionErrorResponse {
|
|
550
|
+
error: 'AzurePermissionMissing';
|
|
551
|
+
message: string;
|
|
552
|
+
action: 'implement';
|
|
553
|
+
providerName: string;
|
|
554
|
+
providerScopeId: string;
|
|
555
|
+
failures: RecommendationActionPermissionFailure[];
|
|
556
|
+
}
|
|
557
|
+
export interface ServiceRetirementRecommendation {
|
|
558
|
+
Id: string;
|
|
559
|
+
ServiceName: string;
|
|
560
|
+
RetiringFeature: string;
|
|
561
|
+
RetirementDate: string;
|
|
562
|
+
Link: string;
|
|
563
|
+
effort: string;
|
|
564
|
+
effortHours: number;
|
|
565
|
+
effortReason: string;
|
|
566
|
+
risk: string;
|
|
567
|
+
riskReason: string;
|
|
568
|
+
considerations: string;
|
|
569
|
+
confidencePercentage: number;
|
|
570
|
+
confidenceReason: string;
|
|
571
|
+
lastProcessedAt: string;
|
|
572
|
+
/** Related recommendation IDs for cross-navigation from retirement tracker. */
|
|
573
|
+
linkedRecommendationIds?: string[];
|
|
574
|
+
}
|
|
575
|
+
export interface JiraShareDetails {
|
|
576
|
+
projectKey?: string;
|
|
577
|
+
epicKey?: string;
|
|
578
|
+
label?: string;
|
|
579
|
+
}
|
|
580
|
+
export interface JiraIntegrationRequestBase {
|
|
581
|
+
siteUrl: string;
|
|
582
|
+
email: string;
|
|
583
|
+
secret?: string;
|
|
584
|
+
useStoredSecret?: boolean;
|
|
585
|
+
}
|
|
586
|
+
export interface JiraIntegrationTestPayload extends JiraIntegrationRequestBase {
|
|
587
|
+
projectKey?: string;
|
|
588
|
+
}
|
|
589
|
+
export interface JiraIntegrationEpicsPayload extends JiraIntegrationRequestBase {
|
|
590
|
+
projectKey: string;
|
|
591
|
+
maxResults?: number;
|
|
592
|
+
}
|
|
593
|
+
export interface JiraIntegrationProjectsPayload extends JiraIntegrationRequestBase {
|
|
594
|
+
maxResults?: number;
|
|
595
|
+
}
|
|
596
|
+
export interface JiraIntegrationLabelsPayload extends JiraIntegrationRequestBase {
|
|
597
|
+
projectKey: string;
|
|
598
|
+
maxResults?: number;
|
|
599
|
+
searchQuery?: string;
|
|
600
|
+
}
|
|
601
|
+
export interface JiraEntity {
|
|
602
|
+
id: string;
|
|
603
|
+
key: string;
|
|
604
|
+
name: string;
|
|
605
|
+
}
|
|
606
|
+
export interface JiraLabel {
|
|
607
|
+
name: string;
|
|
608
|
+
}
|
|
609
|
+
export interface ConnectWiseIntegrationRequestBase {
|
|
610
|
+
siteUrl: string;
|
|
611
|
+
companyId: string;
|
|
612
|
+
publicKey: string;
|
|
613
|
+
secret?: string;
|
|
614
|
+
useStoredSecret?: boolean;
|
|
615
|
+
credentialOwnerCompanyId?: string;
|
|
616
|
+
}
|
|
617
|
+
export type ConnectWiseId = string | number;
|
|
618
|
+
export interface ConnectWiseRoutingFields {
|
|
619
|
+
boardId?: ConnectWiseId;
|
|
620
|
+
boardName?: string;
|
|
621
|
+
statusId?: ConnectWiseId;
|
|
622
|
+
statusName?: string;
|
|
623
|
+
customerId?: ConnectWiseId;
|
|
624
|
+
customerName?: string;
|
|
625
|
+
projectId?: ConnectWiseId;
|
|
626
|
+
projectName?: string;
|
|
627
|
+
typeId?: ConnectWiseId;
|
|
628
|
+
typeName?: string;
|
|
629
|
+
subTypeId?: ConnectWiseId;
|
|
630
|
+
subTypeName?: string;
|
|
631
|
+
itemId?: ConnectWiseId;
|
|
632
|
+
itemName?: string;
|
|
633
|
+
priorityId?: ConnectWiseId;
|
|
634
|
+
priorityName?: string;
|
|
635
|
+
contactId?: ConnectWiseId;
|
|
636
|
+
contactName?: string;
|
|
637
|
+
agreementId?: ConnectWiseId;
|
|
638
|
+
agreementName?: string;
|
|
639
|
+
slaId?: ConnectWiseId;
|
|
640
|
+
slaName?: string;
|
|
641
|
+
source?: string;
|
|
642
|
+
}
|
|
643
|
+
export interface ConnectWiseIntegrationTestPayload extends ConnectWiseIntegrationRequestBase, ConnectWiseRoutingFields {
|
|
644
|
+
}
|
|
645
|
+
export type ConnectWiseBoardsPayload = ConnectWiseIntegrationRequestBase;
|
|
646
|
+
export type ConnectWiseCompaniesPayload = ConnectWiseIntegrationRequestBase;
|
|
647
|
+
export type ConnectWiseProjectsPayload = ConnectWiseIntegrationRequestBase;
|
|
648
|
+
export interface ConnectWiseStatusesPayload extends ConnectWiseIntegrationRequestBase {
|
|
649
|
+
boardId?: string;
|
|
650
|
+
boardName?: string;
|
|
651
|
+
}
|
|
652
|
+
export interface ConnectWiseTypesPayload extends ConnectWiseIntegrationRequestBase {
|
|
653
|
+
boardId?: string;
|
|
654
|
+
boardName?: string;
|
|
655
|
+
}
|
|
656
|
+
export interface ConnectWiseSubTypesPayload extends ConnectWiseIntegrationRequestBase {
|
|
657
|
+
boardId?: string;
|
|
658
|
+
boardName?: string;
|
|
659
|
+
typeId?: string;
|
|
660
|
+
typeName?: string;
|
|
661
|
+
}
|
|
662
|
+
export interface ConnectWiseItemsPayload extends ConnectWiseIntegrationRequestBase {
|
|
663
|
+
boardId?: string;
|
|
664
|
+
boardName?: string;
|
|
665
|
+
typeId?: string;
|
|
666
|
+
typeName?: string;
|
|
667
|
+
subTypeId?: string;
|
|
668
|
+
subTypeName?: string;
|
|
669
|
+
}
|
|
670
|
+
export interface ConnectWiseTypeSubTypeItemAssociationsPayload extends ConnectWiseIntegrationRequestBase {
|
|
671
|
+
boardId?: string;
|
|
672
|
+
boardName?: string;
|
|
673
|
+
}
|
|
674
|
+
export interface ConnectWisePrioritiesPayload extends ConnectWiseIntegrationRequestBase {
|
|
675
|
+
boardId?: string;
|
|
676
|
+
boardName?: string;
|
|
677
|
+
}
|
|
678
|
+
export interface ConnectWiseContactsPayload extends ConnectWiseIntegrationRequestBase {
|
|
679
|
+
searchQuery?: string;
|
|
680
|
+
}
|
|
681
|
+
export type ConnectWiseSourcesPayload = ConnectWiseIntegrationRequestBase;
|
|
682
|
+
export type ConnectWiseAgreementsPayload = ConnectWiseIntegrationRequestBase;
|
|
683
|
+
export type ConnectWiseSlasPayload = ConnectWiseIntegrationRequestBase;
|
|
684
|
+
export interface ConnectWiseEntity {
|
|
685
|
+
id: string | number;
|
|
686
|
+
name: string;
|
|
687
|
+
}
|
|
688
|
+
export interface ConnectWiseTypeSubTypeItemAssociation {
|
|
689
|
+
type?: ConnectWiseEntity;
|
|
690
|
+
subType?: ConnectWiseEntity;
|
|
691
|
+
item?: ConnectWiseEntity;
|
|
692
|
+
}
|
|
693
|
+
export interface ConnectWiseContact extends ConnectWiseEntity {
|
|
694
|
+
email?: string;
|
|
695
|
+
}
|
|
696
|
+
export interface ConnectWiseTicketMetadata extends ConnectWiseRoutingFields {
|
|
697
|
+
ticketId: ConnectWiseId;
|
|
698
|
+
ticketUrl?: string;
|
|
699
|
+
}
|
|
129
700
|
//# sourceMappingURL=recommendations.d.ts.map
|