@spottoai/types-package 1.0.2-beta.39 → 1.0.2-beta.390
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 +145 -18
- package/dist/accounts/accounts.d.ts +621 -3
- package/dist/accounts/accounts.d.ts.map +1 -1
- package/dist/accounts/accounts.js +123 -0
- package/dist/accounts/accounts.js.map +1 -1
- package/dist/accounts/azureManualOnboarding.d.ts +114 -0
- package/dist/accounts/azureManualOnboarding.d.ts.map +1 -0
- package/dist/accounts/azureManualOnboarding.js +12 -0
- package/dist/accounts/azureManualOnboarding.js.map +1 -0
- package/dist/accounts/azureSpSetup.d.ts +512 -0
- package/dist/accounts/azureSpSetup.d.ts.map +1 -0
- package/dist/accounts/azureSpSetup.js +18 -0
- package/dist/accounts/azureSpSetup.js.map +1 -0
- package/dist/accounts/azureSpSetupDurable.d.ts +126 -0
- package/dist/accounts/azureSpSetupDurable.d.ts.map +1 -0
- package/dist/accounts/azureSpSetupDurable.js +31 -0
- package/dist/accounts/azureSpSetupDurable.js.map +1 -0
- package/dist/accounts/index.d.ts +5 -0
- package/dist/accounts/index.d.ts.map +1 -1
- package/dist/accounts/index.js +5 -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 +115 -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 +1032 -9
- package/dist/ai/index.d.ts.map +1 -1
- package/dist/ai/index.js +13 -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/commitments-planning.d.ts +8 -0
- package/dist/aws/commitments-planning.d.ts.map +1 -0
- package/dist/aws/commitments-planning.js +25 -0
- package/dist/aws/commitments-planning.js.map +1 -0
- package/dist/aws/commitmentsPlanningValidation.d.ts +7 -0
- package/dist/aws/commitmentsPlanningValidation.d.ts.map +1 -0
- package/dist/aws/commitmentsPlanningValidation.js +125 -0
- package/dist/aws/commitmentsPlanningValidation.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 +31 -0
- package/dist/aws/estates.js.map +1 -0
- package/dist/aws/index.d.ts +25 -0
- package/dist/aws/index.d.ts.map +1 -0
- package/dist/aws/index.js +40 -0
- package/dist/aws/index.js.map +1 -0
- package/dist/aws/onboarding.d.ts +57 -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/organizationCommitments.d.ts +260 -0
- package/dist/aws/organizationCommitments.d.ts.map +1 -0
- package/dist/aws/organizationCommitments.js +53 -0
- package/dist/aws/organizationCommitments.js.map +1 -0
- package/dist/aws/organizationCommitmentsApiValidation.d.ts +21 -0
- package/dist/aws/organizationCommitmentsApiValidation.d.ts.map +1 -0
- package/dist/aws/organizationCommitmentsApiValidation.js +226 -0
- package/dist/aws/organizationCommitmentsApiValidation.js.map +1 -0
- package/dist/aws/organizationCommitmentsValidation.d.ts +12 -0
- package/dist/aws/organizationCommitmentsValidation.d.ts.map +1 -0
- package/dist/aws/organizationCommitmentsValidation.js +228 -0
- package/dist/aws/organizationCommitmentsValidation.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/portalCommitmentsPlanningPublicArtifactValidation.d.ts +4 -0
- package/dist/aws/portalCommitmentsPlanningPublicArtifactValidation.d.ts.map +1 -0
- package/dist/aws/portalCommitmentsPlanningPublicArtifactValidation.js +513 -0
- package/dist/aws/portalCommitmentsPlanningPublicArtifactValidation.js.map +1 -0
- package/dist/aws/portalCommitmentsPlanningPublicArtifacts.d.ts +13 -0
- package/dist/aws/portalCommitmentsPlanningPublicArtifacts.d.ts.map +1 -0
- package/dist/aws/portalCommitmentsPlanningPublicArtifacts.js +5 -0
- package/dist/aws/portalCommitmentsPlanningPublicArtifacts.js.map +1 -0
- package/dist/aws/portalOrganizationCommitmentsPlanningPublicArtifactValidation.d.ts +9 -0
- package/dist/aws/portalOrganizationCommitmentsPlanningPublicArtifactValidation.d.ts.map +1 -0
- package/dist/aws/portalOrganizationCommitmentsPlanningPublicArtifactValidation.js +407 -0
- package/dist/aws/portalOrganizationCommitmentsPlanningPublicArtifactValidation.js.map +1 -0
- package/dist/aws/portalOrganizationCommitmentsPlanningPublicArtifacts.d.ts +17 -0
- package/dist/aws/portalOrganizationCommitmentsPlanningPublicArtifacts.d.ts.map +1 -0
- package/dist/aws/portalOrganizationCommitmentsPlanningPublicArtifacts.js +6 -0
- package/dist/aws/portalOrganizationCommitmentsPlanningPublicArtifacts.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 +301 -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 +178 -0
- package/dist/aws/portalPublicArtifactHistoryTypes.d.ts.map +1 -0
- package/dist/aws/portalPublicArtifactHistoryTypes.js +44 -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 +400 -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/portalRelationshipPublicArtifactValidation.d.ts +4 -0
- package/dist/aws/portalRelationshipPublicArtifactValidation.d.ts.map +1 -0
- package/dist/aws/portalRelationshipPublicArtifactValidation.js +338 -0
- package/dist/aws/portalRelationshipPublicArtifactValidation.js.map +1 -0
- package/dist/aws/portalRelationshipPublicArtifacts.d.ts +196 -0
- package/dist/aws/portalRelationshipPublicArtifacts.d.ts.map +1 -0
- package/dist/aws/portalRelationshipPublicArtifacts.js +63 -0
- package/dist/aws/portalRelationshipPublicArtifacts.js.map +1 -0
- package/dist/aws/portalRelationshipResourceNodeTypes.d.ts +269 -0
- package/dist/aws/portalRelationshipResourceNodeTypes.d.ts.map +1 -0
- package/dist/aws/portalRelationshipResourceNodeTypes.js +3 -0
- package/dist/aws/portalRelationshipResourceNodeTypes.js.map +1 -0
- package/dist/aws/portalRelationshipResourceNodeValidation.d.ts +2 -0
- package/dist/aws/portalRelationshipResourceNodeValidation.d.ts.map +1 -0
- package/dist/aws/portalRelationshipResourceNodeValidation.js +372 -0
- package/dist/aws/portalRelationshipResourceNodeValidation.js.map +1 -0
- package/dist/aws/publicArtifacts.d.ts +76 -0
- package/dist/aws/publicArtifacts.d.ts.map +1 -0
- package/dist/aws/publicArtifacts.js +17 -0
- package/dist/aws/publicArtifacts.js.map +1 -0
- package/dist/aws/relationships.d.ts +4 -0
- package/dist/aws/relationships.d.ts.map +1 -0
- package/dist/aws/relationships.js +6 -0
- package/dist/aws/relationships.js.map +1 -0
- package/dist/aws/requests.d.ts +95 -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/artifactRunReference.d.ts +11 -0
- package/dist/azure/artifactRunReference.d.ts.map +1 -0
- package/dist/azure/artifactRunReference.js +90 -0
- package/dist/azure/artifactRunReference.js.map +1 -0
- package/dist/azure/benefits.d.ts +163 -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/billingArtifactCanonicalization.d.ts +30 -0
- package/dist/azure/billingArtifactCanonicalization.d.ts.map +1 -0
- package/dist/azure/billingArtifactCanonicalization.js +371 -0
- package/dist/azure/billingArtifactCanonicalization.js.map +1 -0
- package/dist/azure/billingArtifactEvidence.d.ts +39 -0
- package/dist/azure/billingArtifactEvidence.d.ts.map +1 -0
- package/dist/azure/billingArtifactEvidence.js +29 -0
- package/dist/azure/billingArtifactEvidence.js.map +1 -0
- package/dist/azure/billingArtifactGeneration.d.ts +221 -0
- package/dist/azure/billingArtifactGeneration.d.ts.map +1 -0
- package/dist/azure/billingArtifactGeneration.js +477 -0
- package/dist/azure/billingArtifactGeneration.js.map +1 -0
- package/dist/azure/billingArtifactLimits.d.ts +19 -0
- package/dist/azure/billingArtifactLimits.d.ts.map +1 -0
- package/dist/azure/billingArtifactLimits.js +22 -0
- package/dist/azure/billingArtifactLimits.js.map +1 -0
- package/dist/azure/billingGeneration.d.ts +50 -0
- package/dist/azure/billingGeneration.d.ts.map +1 -0
- package/dist/azure/billingGeneration.js +3 -0
- package/dist/azure/billingGeneration.js.map +1 -0
- package/dist/azure/billingPlots.d.ts +315 -0
- package/dist/azure/billingPlots.d.ts.map +1 -0
- package/dist/azure/billingPlots.js +480 -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 +731 -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 +48 -1
- 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/costComposition.d.ts +109 -0
- package/dist/azure/costComposition.d.ts.map +1 -0
- package/dist/azure/costComposition.js +52 -0
- package/dist/azure/costComposition.js.map +1 -0
- 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 +1087 -0
- package/dist/azure/governance.d.ts.map +1 -0
- package/dist/azure/governance.js +19 -0
- package/dist/azure/governance.js.map +1 -0
- package/dist/azure/licensing.d.ts +498 -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 +395 -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 +237 -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 +104 -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 +304 -0
- package/dist/azure/recommendationWorkflow.d.ts.map +1 -0
- package/dist/azure/recommendationWorkflow.js +17 -0
- package/dist/azure/recommendationWorkflow.js.map +1 -0
- package/dist/azure/recommendations.d.ts +621 -12
- 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 +260 -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 +155 -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/savings.d.ts +76 -0
- package/dist/azure/savings.d.ts.map +1 -0
- package/dist/azure/savings.js +3 -0
- package/dist/azure/savings.js.map +1 -0
- package/dist/azure/secureScore.d.ts +23 -0
- package/dist/azure/secureScore.d.ts.map +1 -0
- package/dist/azure/secureScore.js +3 -0
- package/dist/azure/secureScore.js.map +1 -0
- package/dist/azure/security.d.ts +3 -0
- package/dist/azure/security.d.ts.map +1 -1
- package/dist/azure/serviceRetirement.d.ts +90 -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 +285 -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 +98 -8
- package/dist/azure/subscriptions.d.ts.map +1 -1
- package/dist/azure/views.d.ts +937 -7
- package/dist/azure/views.d.ts.map +1 -1
- package/dist/azure/views.js +511 -0
- package/dist/azure/views.js.map +1 -1
- package/dist/azure/vmPatchManagement.d.ts +109 -0
- package/dist/azure/vmPatchManagement.d.ts.map +1 -0
- package/dist/azure/vmPatchManagement.js +7 -0
- package/dist/azure/vmPatchManagement.js.map +1 -0
- 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/artifactControlData.d.ts +26 -0
- package/dist/common/artifactControlData.d.ts.map +1 -0
- package/dist/common/artifactControlData.js +208 -0
- package/dist/common/artifactControlData.js.map +1 -0
- package/dist/common/artifactEvidence.d.ts +151 -0
- package/dist/common/artifactEvidence.d.ts.map +1 -0
- package/dist/common/artifactEvidence.js +207 -0
- package/dist/common/artifactEvidence.js.map +1 -0
- package/dist/common/artifactEvidenceValidation.d.ts +16 -0
- package/dist/common/artifactEvidenceValidation.d.ts.map +1 -0
- package/dist/common/artifactEvidenceValidation.js +31 -0
- package/dist/common/artifactEvidenceValidation.js.map +1 -0
- package/dist/common/artifactGeneration.d.ts +93 -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/capabilityPassport.d.ts +114 -0
- package/dist/common/capabilityPassport.d.ts.map +1 -0
- package/dist/common/capabilityPassport.js +211 -0
- package/dist/common/capabilityPassport.js.map +1 -0
- package/dist/common/index.d.ts +6 -0
- package/dist/common/index.d.ts.map +1 -1
- package/dist/common/index.js +6 -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 +86 -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/relationships.d.ts +8 -0
- package/dist/common/relationships.d.ts.map +1 -0
- package/dist/common/relationships.js +3 -0
- package/dist/common/relationships.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 +91 -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/customProperties.d.ts +2 -0
- package/dist/company/customProperties.d.ts.map +1 -0
- package/dist/company/customProperties.js +18 -0
- package/dist/company/customProperties.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/customProperties/customProperties.d.ts +87 -0
- package/dist/customProperties/customProperties.d.ts.map +1 -0
- package/dist/customProperties/customProperties.js +3 -0
- package/dist/customProperties/customProperties.js.map +1 -0
- package/dist/customProperties/index.d.ts +2 -0
- package/dist/customProperties/index.d.ts.map +1 -0
- package/dist/customProperties/index.js +18 -0
- package/dist/customProperties/index.js.map +1 -0
- package/dist/environment/canonicalization.d.ts +12 -0
- package/dist/environment/canonicalization.d.ts.map +1 -0
- package/dist/environment/canonicalization.js +40 -0
- package/dist/environment/canonicalization.js.map +1 -0
- package/dist/environment/contracts.d.ts +259 -0
- package/dist/environment/contracts.d.ts.map +1 -0
- package/dist/environment/contracts.js +57 -0
- package/dist/environment/contracts.js.map +1 -0
- package/dist/environment/index.d.ts +5 -0
- package/dist/environment/index.d.ts.map +1 -0
- package/dist/environment/index.js +21 -0
- package/dist/environment/index.js.map +1 -0
- package/dist/environment/internal.d.ts +21 -0
- package/dist/environment/internal.d.ts.map +1 -0
- package/dist/environment/internal.js +113 -0
- package/dist/environment/internal.js.map +1 -0
- package/dist/environment/references.d.ts +18 -0
- package/dist/environment/references.d.ts.map +1 -0
- package/dist/environment/references.js +206 -0
- package/dist/environment/references.js.map +1 -0
- package/dist/environment/validation.d.ts +30 -0
- package/dist/environment/validation.d.ts.map +1 -0
- package/dist/environment/validation.js +394 -0
- package/dist/environment/validation.js.map +1 -0
- package/dist/esm/accounts/accounts.js +116 -0
- package/dist/esm/accounts/azureManualOnboarding.js +8 -0
- package/dist/esm/accounts/azureSpSetup.js +14 -0
- package/dist/esm/accounts/azureSpSetupDurable.js +27 -0
- package/dist/esm/accounts/index.js +6 -0
- package/dist/esm/accounts/readPermissions.js +198 -0
- package/dist/esm/accounts/validation.js +1 -0
- package/dist/esm/accounts/writePermissions.js +43 -0
- package/dist/esm/ai/index.js +11 -0
- package/dist/esm/assessments/artifact.js +1 -0
- package/dist/esm/assessments/catalogue.js +12 -0
- package/dist/esm/assessments/common.js +1 -0
- package/dist/esm/assessments/evidence.js +1 -0
- package/dist/esm/assessments/export.js +1 -0
- package/dist/esm/assessments/index.js +10 -0
- package/dist/esm/assessments/queue.js +2 -0
- package/dist/esm/assessments/review.js +1 -0
- package/dist/esm/assessments/run.js +1 -0
- package/dist/esm/assessments/sow.js +1 -0
- package/dist/esm/assessments/status.js +23 -0
- package/dist/esm/aws/commitments-planning.js +6 -0
- package/dist/esm/aws/commitmentsPlanningValidation.js +121 -0
- package/dist/esm/aws/estates.js +27 -0
- package/dist/esm/aws/index.js +23 -0
- package/dist/esm/aws/onboarding.js +1 -0
- package/dist/esm/aws/organizationCommitments.js +48 -0
- package/dist/esm/aws/organizationCommitmentsApiValidation.js +220 -0
- package/dist/esm/aws/organizationCommitmentsValidation.js +224 -0
- package/dist/esm/aws/pluginPublicArtifactBodyValidation.js +217 -0
- package/dist/esm/aws/pluginPublicArtifactEvidence.js +1 -0
- package/dist/esm/aws/pluginPublicArtifactManifestValidation.js +255 -0
- package/dist/esm/aws/pluginPublicArtifactSectionValidation.js +464 -0
- package/dist/esm/aws/pluginPublicArtifactValidation.js +2 -0
- package/dist/esm/aws/pluginPublicArtifactValidationHelpers.js +216 -0
- package/dist/esm/aws/pluginPublicArtifacts.js +109 -0
- package/dist/esm/aws/portalCommitmentsPlanningPublicArtifactValidation.js +509 -0
- package/dist/esm/aws/portalCommitmentsPlanningPublicArtifacts.js +1 -0
- package/dist/esm/aws/portalOrganizationCommitmentsPlanningPublicArtifactValidation.js +402 -0
- package/dist/esm/aws/portalOrganizationCommitmentsPlanningPublicArtifacts.js +2 -0
- package/dist/esm/aws/portalPublicArtifactCurrentValidation.js +328 -0
- package/dist/esm/aws/portalPublicArtifactEvidenceValidation.js +294 -0
- package/dist/esm/aws/portalPublicArtifactHistoryAiValidation.js +368 -0
- package/dist/esm/aws/portalPublicArtifactHistoryTypes.js +40 -0
- package/dist/esm/aws/portalPublicArtifactNestedEvidence.js +1 -0
- package/dist/esm/aws/portalPublicArtifactNestedEvidenceValidation.js +397 -0
- package/dist/esm/aws/portalPublicArtifactValidation.js +2 -0
- package/dist/esm/aws/portalPublicArtifactValidationCommon.js +139 -0
- package/dist/esm/aws/portalPublicArtifacts.js +73 -0
- package/dist/esm/aws/portalRelationshipPublicArtifactValidation.js +334 -0
- package/dist/esm/aws/portalRelationshipPublicArtifacts.js +59 -0
- package/dist/esm/aws/portalRelationshipResourceNodeTypes.js +1 -0
- package/dist/esm/aws/portalRelationshipResourceNodeValidation.js +368 -0
- package/dist/esm/aws/publicArtifacts.js +13 -0
- package/dist/esm/aws/relationships.js +1 -0
- package/dist/esm/aws/requests.js +19 -0
- package/dist/esm/azure/activityLogs.js +2 -0
- package/dist/esm/azure/advisorScore.js +1 -0
- package/dist/esm/azure/artifactRunReference.js +83 -0
- package/dist/esm/azure/benefits.js +1 -0
- package/dist/esm/azure/billingArtifactCanonicalization.js +360 -0
- package/dist/esm/azure/billingArtifactEvidence.js +23 -0
- package/dist/esm/azure/billingArtifactGeneration.js +461 -0
- package/dist/esm/azure/billingArtifactLimits.js +18 -0
- package/dist/esm/azure/billingGeneration.js +1 -0
- package/dist/esm/azure/billingPlots.js +470 -0
- package/dist/esm/azure/budgets.js +1 -0
- package/dist/esm/azure/commitmentsPlanning.js +1 -0
- package/dist/esm/azure/common.js +1 -0
- package/dist/esm/azure/configs.js +1 -0
- package/dist/esm/azure/costComposition.js +47 -0
- package/dist/esm/azure/dataProtection.js +5 -0
- package/dist/esm/azure/governance.js +15 -0
- package/dist/esm/azure/licensing.js +1 -0
- package/dist/esm/azure/metrics.js +1 -0
- package/dist/esm/azure/payloads.js +1 -0
- package/dist/esm/azure/portalArtifacts.js +1 -0
- package/dist/esm/azure/prices.js +1 -0
- package/dist/esm/azure/publicIpAddresses.js +2 -0
- package/dist/esm/azure/recommendationAudit.js +16 -0
- package/dist/esm/azure/recommendationState.js +1 -0
- package/dist/esm/azure/recommendationTracks.js +40 -0
- package/dist/esm/azure/recommendationWorkflow.js +13 -0
- package/dist/esm/azure/recommendations.js +10 -0
- package/dist/esm/azure/regulatoryCompliance.js +6 -0
- package/dist/esm/azure/relationships.js +2 -0
- package/dist/esm/azure/reportingTemplates.js +1 -0
- package/dist/esm/azure/reports.js +12 -0
- package/dist/esm/azure/resourceHealth.js +12 -0
- package/dist/esm/azure/resourceOptimization.js +1 -0
- package/dist/esm/azure/resources.js +1 -0
- package/dist/esm/azure/reviewChecklist.js +1 -0
- package/dist/esm/azure/savings.js +1 -0
- package/dist/esm/azure/secureScore.js +1 -0
- package/dist/esm/azure/security.js +1 -0
- package/dist/esm/azure/serviceRetirement.js +1 -0
- package/dist/esm/azure/serviceRetirementState.js +1 -0
- package/dist/esm/azure/serviceRetirementWorkManagement.js +1 -0
- package/dist/esm/azure/storage-inventory.js +1 -0
- package/dist/esm/azure/subscriptions.js +1 -0
- package/dist/esm/azure/views.js +505 -0
- package/dist/esm/azure/vmPatchManagement.js +3 -0
- package/dist/esm/azure/workManagement.js +4 -0
- package/dist/esm/common/artifactControlData.js +200 -0
- package/dist/esm/common/artifactEvidence.js +198 -0
- package/dist/esm/common/artifactEvidenceValidation.js +24 -0
- package/dist/esm/common/artifactGeneration.js +1 -0
- package/dist/esm/common/capabilityPassport.js +206 -0
- package/dist/esm/common/index.js +7 -0
- package/dist/esm/common/pagination.js +1 -0
- package/dist/esm/common/provider.js +11 -0
- package/dist/esm/common/providerSyncProgress.js +1 -0
- package/dist/esm/common/relationships.js +1 -0
- package/dist/esm/common/syncProgress.js +1 -0
- package/dist/esm/company/billingAccount.js +1 -0
- package/dist/esm/company/company.js +1 -0
- package/dist/esm/company/companyHierarchy.js +1 -0
- package/dist/esm/company/companyNotes.js +38 -0
- package/dist/esm/company/customProperties.js +1 -0
- package/dist/esm/company/index.js +6 -0
- package/dist/esm/company/notification.js +43 -0
- package/dist/esm/company/survey.js +1 -0
- package/dist/esm/customProperties/customProperties.js +1 -0
- package/dist/esm/customProperties/index.js +1 -0
- package/dist/esm/entries/aws.js +3 -0
- package/dist/esm/entries/commitments-planning.js +3 -0
- package/dist/esm/entries/environment.js +3 -0
- package/dist/esm/entries/provider.js +3 -0
- package/dist/esm/entries/recommendations.js +3 -0
- package/dist/esm/entries/relationships.js +3 -0
- package/dist/esm/entries/root.js +3 -0
- package/dist/esm/environment/canonicalization.js +34 -0
- package/dist/esm/environment/contracts.js +53 -0
- package/dist/esm/environment/index.js +4 -0
- package/dist/esm/environment/internal.js +97 -0
- package/dist/esm/environment/references.js +194 -0
- package/dist/esm/environment/validation.js +376 -0
- package/dist/esm/events/actionGroups.js +1 -0
- package/dist/esm/events/alertDefinitionRun.js +1 -0
- package/dist/esm/events/baseAlert.js +1 -0
- package/dist/esm/events/cost.js +1 -0
- package/dist/esm/events/costAnomalies.js +1 -0
- package/dist/esm/events/costViews.js +1 -0
- package/dist/esm/events/eventStatus.js +1 -0
- package/dist/esm/events/index.js +8 -0
- package/dist/esm/events/quickAlerts.js +2 -0
- package/dist/esm/features-and-permissions/access.js +1 -0
- package/dist/esm/features-and-permissions/index.js +1 -0
- package/dist/esm/feedbacks/feedback.js +1 -0
- package/dist/esm/identity/apikey.js +1 -0
- package/dist/esm/identity/index.js +1 -0
- package/dist/esm/index.js +63 -0
- package/dist/esm/index.vite.js +48 -0
- package/dist/esm/integrations/autotask.js +1 -0
- package/dist/esm/integrations/azureDevOps.js +1 -0
- package/dist/esm/integrations/github.js +1 -0
- package/dist/esm/integrations/halo.js +1 -0
- package/dist/esm/integrations/index.js +5 -0
- package/dist/esm/integrations/integrationTickets.js +1 -0
- package/dist/esm/package.json +3 -0
- package/dist/esm/portfolio/index.js +2 -0
- package/dist/esm/portfolio/portfolioOperations.js +1 -0
- package/dist/esm/portfolio/portfolioProjections.js +17 -0
- package/dist/esm/scheduler/index.js +1 -0
- package/dist/esm/scheduler/scheduler.js +1 -0
- package/dist/esm/tags/index.js +1 -0
- package/dist/esm/tags/tags.js +6 -0
- package/dist/esm/unknown/services.js +1 -0
- package/dist/esm/users/companyUser.js +2 -0
- package/dist/esm/users/index.js +2 -0
- package/dist/esm/users/user.js +1 -0
- 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 +139 -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 +45 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +45 -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/portfolio/index.d.ts +3 -0
- package/dist/portfolio/index.d.ts.map +1 -0
- package/dist/portfolio/index.js +19 -0
- package/dist/portfolio/index.js.map +1 -0
- package/dist/portfolio/portfolioOperations.d.ts +174 -0
- package/dist/portfolio/portfolioOperations.d.ts.map +1 -0
- package/dist/portfolio/portfolioOperations.js +3 -0
- package/dist/portfolio/portfolioOperations.js.map +1 -0
- package/dist/portfolio/portfolioProjections.d.ts +460 -0
- package/dist/portfolio/portfolioProjections.d.ts.map +1 -0
- package/dist/portfolio/portfolioProjections.js +21 -0
- package/dist/portfolio/portfolioProjections.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 +14 -0
- package/dist/users/companyUser.d.ts.map +1 -1
- package/dist/users/companyUser.js.map +1 -1
- package/dist/users/user.d.ts +20 -1
- package/dist/users/user.d.ts.map +1 -1
- package/package.json +81 -5
|
@@ -0,0 +1,376 @@
|
|
|
1
|
+
import { ENVIRONMENT_ARTIFACT_KINDS_V1, ENVIRONMENT_CONTRACT_LIMITS_V1, ENVIRONMENT_DOCUMENT_NAMES_V1, ENVIRONMENT_EFFORTS_V1, ENVIRONMENT_FINDING_KINDS_V1, ENVIRONMENT_IMPACTS_V1, ENVIRONMENT_PILLARS_V1, ENVIRONMENT_SEVERITIES_V1, } from './contracts.js';
|
|
2
|
+
import { CURRENCY_PATTERN, DECIMAL_PATTERN, ENVIRONMENT_RUN_ID_PATTERN, SHA256_PATTERN, hasExactKeys, hasSafeContainerShape, isBoundedString, isCanonicalUtcTimestamp, isCustomerString, isNonNegativeInteger, isRecord, isSafeLabel, isScopeIdentifier, isSourceIdentity, utf8ByteLength, } from './internal.js';
|
|
3
|
+
import { isEnvironmentLogicalEvidenceReferenceV1, isEnvironmentLogicalResourceReferenceV1 } from './references.js';
|
|
4
|
+
const DOCUMENT_NAMES = new Set(ENVIRONMENT_DOCUMENT_NAMES_V1);
|
|
5
|
+
const ARTIFACT_KINDS = new Set(ENVIRONMENT_ARTIFACT_KINDS_V1);
|
|
6
|
+
const PILLARS = new Set(ENVIRONMENT_PILLARS_V1);
|
|
7
|
+
const FINDING_KINDS = new Set(ENVIRONMENT_FINDING_KINDS_V1);
|
|
8
|
+
const SEVERITIES = new Set(ENVIRONMENT_SEVERITIES_V1);
|
|
9
|
+
const IMPACTS = new Set(ENVIRONMENT_IMPACTS_V1);
|
|
10
|
+
const EFFORTS = new Set(ENVIRONMENT_EFFORTS_V1);
|
|
11
|
+
const MONEY_BASES = new Set(['billed', 'amortized']);
|
|
12
|
+
const MONEY_PROVENANCE = new Set([
|
|
13
|
+
'subscription-summary',
|
|
14
|
+
'subscription-resources',
|
|
15
|
+
'cost-savings-summary',
|
|
16
|
+
'savings-aggregate',
|
|
17
|
+
'recommendation',
|
|
18
|
+
]);
|
|
19
|
+
const SAVINGS_ADDITIVITY = new Set(['additive', 'scenario-non-additive']);
|
|
20
|
+
const CHANGE_DIRECTIONS = new Set(['increase', 'decrease', 'unchanged', 'unknown']);
|
|
21
|
+
const scopesEqual = (left, right) => left.kind === right.kind && left.tenantId === right.tenantId && left.companyId === right.companyId && left.subscriptionId === right.subscriptionId;
|
|
22
|
+
/** Validates a bounded, local Portal route suitable for client-visible evidence. */
|
|
23
|
+
export const isEnvironmentPortalRouteV1 = (value) => isBoundedString(value, ENVIRONMENT_CONTRACT_LIMITS_V1.customerStringScalars, { trimmed: true, controls: true }) &&
|
|
24
|
+
value.startsWith('/') &&
|
|
25
|
+
!value.startsWith('//') &&
|
|
26
|
+
!value.includes('\\') &&
|
|
27
|
+
!value.includes('://') &&
|
|
28
|
+
!value.includes('?') &&
|
|
29
|
+
!value.includes('#') &&
|
|
30
|
+
!value.includes('%') &&
|
|
31
|
+
value.split('/').every(segment => segment !== '.' && segment !== '..');
|
|
32
|
+
const isGeneralKey = (value) => isBoundedString(value, ENVIRONMENT_CONTRACT_LIMITS_V1.safeLabelScalars, { trimmed: true, controls: true });
|
|
33
|
+
const isReferenceArray = (value) => Array.isArray(value) &&
|
|
34
|
+
value.length <= ENVIRONMENT_CONTRACT_LIMITS_V1.boundedListItems &&
|
|
35
|
+
value.every(isEnvironmentLogicalEvidenceReferenceV1) &&
|
|
36
|
+
new Set(value).size === value.length;
|
|
37
|
+
const isResourceReferenceArray = (value) => Array.isArray(value) &&
|
|
38
|
+
value.length <= ENVIRONMENT_CONTRACT_LIMITS_V1.boundedListItems &&
|
|
39
|
+
value.every(isEnvironmentLogicalResourceReferenceV1) &&
|
|
40
|
+
new Set(value).size === value.length;
|
|
41
|
+
const isPercentage = (value) => typeof value === 'string' && DECIMAL_PATTERN.test(value) && Number(value) <= 100;
|
|
42
|
+
/** Validates one admitted environment pillar. */
|
|
43
|
+
export const isEnvironmentPillarV1 = (value) => typeof value === 'string' && PILLARS.has(value);
|
|
44
|
+
/** Validates the closed phase-one Azure subscription scope. */
|
|
45
|
+
export const isEnvironmentScopeV1 = (value) => isRecord(value) &&
|
|
46
|
+
hasExactKeys(value, ['kind', 'tenantId', 'companyId', 'subscriptionId']) &&
|
|
47
|
+
value.kind === 'azure-subscription' &&
|
|
48
|
+
isScopeIdentifier(value.tenantId) &&
|
|
49
|
+
isScopeIdentifier(value.companyId) &&
|
|
50
|
+
isScopeIdentifier(value.subscriptionId);
|
|
51
|
+
/** Validates the client-safe identity of one authoritative source generation. */
|
|
52
|
+
export const isEnvironmentSourceGenerationV1 = (value) => isRecord(value) &&
|
|
53
|
+
hasExactKeys(value, [
|
|
54
|
+
'viewSetSchemaVersion',
|
|
55
|
+
'publicationId',
|
|
56
|
+
'portalRunId',
|
|
57
|
+
'pluginRunId',
|
|
58
|
+
'economicsGenerationId',
|
|
59
|
+
'economicsFingerprint',
|
|
60
|
+
'completedAt',
|
|
61
|
+
]) &&
|
|
62
|
+
value.viewSetSchemaVersion === 1 &&
|
|
63
|
+
isSourceIdentity(value.publicationId) &&
|
|
64
|
+
isSourceIdentity(value.portalRunId) &&
|
|
65
|
+
isSourceIdentity(value.pluginRunId) &&
|
|
66
|
+
isSourceIdentity(value.economicsGenerationId) &&
|
|
67
|
+
isSourceIdentity(value.economicsFingerprint) &&
|
|
68
|
+
isCanonicalUtcTimestamp(value.completedAt);
|
|
69
|
+
/** Validates a byte-preserving binding to an authoritative CompletedAzureViewSetV1. */
|
|
70
|
+
export const isEnvironmentSourceBindingV1 = (value) => isRecord(value) &&
|
|
71
|
+
hasExactKeys(value, [
|
|
72
|
+
'kind',
|
|
73
|
+
'viewSetSchemaVersion',
|
|
74
|
+
'scope',
|
|
75
|
+
'publicationId',
|
|
76
|
+
'portalRunId',
|
|
77
|
+
'pluginRunId',
|
|
78
|
+
'economicsGenerationId',
|
|
79
|
+
'economicsFingerprint',
|
|
80
|
+
'completedAt',
|
|
81
|
+
]) &&
|
|
82
|
+
value.kind === 'azure-subscription-view-set' &&
|
|
83
|
+
value.viewSetSchemaVersion === 1 &&
|
|
84
|
+
isEnvironmentScopeV1(value.scope) &&
|
|
85
|
+
isEnvironmentSourceGenerationV1({
|
|
86
|
+
viewSetSchemaVersion: value.viewSetSchemaVersion,
|
|
87
|
+
publicationId: value.publicationId,
|
|
88
|
+
portalRunId: value.portalRunId,
|
|
89
|
+
pluginRunId: value.pluginRunId,
|
|
90
|
+
economicsGenerationId: value.economicsGenerationId,
|
|
91
|
+
economicsFingerprint: value.economicsFingerprint,
|
|
92
|
+
completedAt: value.completedAt,
|
|
93
|
+
});
|
|
94
|
+
/** Validates a storage-safe environment run identity independently from source identities. */
|
|
95
|
+
export const isEnvironmentRunIdV1 = (value) => typeof value === 'string' &&
|
|
96
|
+
value.length > 0 &&
|
|
97
|
+
value.length <= ENVIRONMENT_CONTRACT_LIMITS_V1.environmentRunIdAsciiCharacters &&
|
|
98
|
+
value !== '.' &&
|
|
99
|
+
value !== '..' &&
|
|
100
|
+
ENVIRONMENT_RUN_ID_PATTERN.test(value);
|
|
101
|
+
/** Validates canonical decimal money with explicit currency, basis, period, and provenance. */
|
|
102
|
+
export const isEnvironmentMoneyValueV1 = (value) => isRecord(value) &&
|
|
103
|
+
hasExactKeys(value, ['amount', 'currencyCode', 'basis', 'period', 'provenance'], ['savingsAdditivity']) &&
|
|
104
|
+
typeof value.amount === 'string' &&
|
|
105
|
+
DECIMAL_PATTERN.test(value.amount) &&
|
|
106
|
+
typeof value.currencyCode === 'string' &&
|
|
107
|
+
CURRENCY_PATTERN.test(value.currencyCode) &&
|
|
108
|
+
typeof value.basis === 'string' &&
|
|
109
|
+
MONEY_BASES.has(value.basis) &&
|
|
110
|
+
isBoundedString(value.period, ENVIRONMENT_CONTRACT_LIMITS_V1.safeLabelScalars, { trimmed: true, controls: true }) &&
|
|
111
|
+
typeof value.provenance === 'string' &&
|
|
112
|
+
MONEY_PROVENANCE.has(value.provenance) &&
|
|
113
|
+
(value.savingsAdditivity === undefined || (typeof value.savingsAdditivity === 'string' && SAVINGS_ADDITIVITY.has(value.savingsAdditivity)));
|
|
114
|
+
const isObservedMoney = (value) => isEnvironmentMoneyValueV1(value) && value.savingsAdditivity === undefined;
|
|
115
|
+
const isSavingsMoney = (value) => isEnvironmentMoneyValueV1(value) && value.savingsAdditivity !== undefined;
|
|
116
|
+
/** Validates the closed coverage-state union and state-specific freshness rules. */
|
|
117
|
+
export const isEnvironmentCoverageStateV1 = (value) => {
|
|
118
|
+
if (!isRecord(value) || typeof value.status !== 'string')
|
|
119
|
+
return false;
|
|
120
|
+
const hasValidFreshness = (value.observedAt === undefined || isCanonicalUtcTimestamp(value.observedAt)) &&
|
|
121
|
+
(value.completeThrough === undefined || isCanonicalUtcTimestamp(value.completeThrough)) &&
|
|
122
|
+
(value.observedAt === undefined ||
|
|
123
|
+
value.completeThrough === undefined ||
|
|
124
|
+
Date.parse(value.completeThrough) <= Date.parse(value.observedAt));
|
|
125
|
+
if (value.status === 'complete') {
|
|
126
|
+
return hasExactKeys(value, ['status'], ['observedAt', 'completeThrough']) && hasValidFreshness;
|
|
127
|
+
}
|
|
128
|
+
if (value.status === 'partial') {
|
|
129
|
+
return (hasExactKeys(value, ['status', 'reason'], ['observedAt', 'completeThrough']) &&
|
|
130
|
+
isCustomerString(value.reason) &&
|
|
131
|
+
value.reason.length > 0 &&
|
|
132
|
+
hasValidFreshness);
|
|
133
|
+
}
|
|
134
|
+
if (value.status === 'stale') {
|
|
135
|
+
return (hasExactKeys(value, ['status', 'reason', 'observedAt'], ['completeThrough']) &&
|
|
136
|
+
isCustomerString(value.reason) &&
|
|
137
|
+
value.reason.length > 0 &&
|
|
138
|
+
hasValidFreshness);
|
|
139
|
+
}
|
|
140
|
+
if (value.status === 'unavailable' || value.status === 'not-collected') {
|
|
141
|
+
return hasExactKeys(value, ['status', 'reason']) && isCustomerString(value.reason) && value.reason.length > 0;
|
|
142
|
+
}
|
|
143
|
+
return false;
|
|
144
|
+
};
|
|
145
|
+
const isBoundedList = (value, itemValidator) => {
|
|
146
|
+
if (!isRecord(value) || !hasExactKeys(value, ['items', 'totalCount', 'includedCount', 'truncated'], ['continuationReference']))
|
|
147
|
+
return false;
|
|
148
|
+
if (!Array.isArray(value.items) || value.items.length > ENVIRONMENT_CONTRACT_LIMITS_V1.boundedListItems || !value.items.every(itemValidator))
|
|
149
|
+
return false;
|
|
150
|
+
if (!isNonNegativeInteger(value.totalCount) || !isNonNegativeInteger(value.includedCount))
|
|
151
|
+
return false;
|
|
152
|
+
if (value.includedCount !== value.items.length || value.totalCount < value.includedCount || typeof value.truncated !== 'boolean')
|
|
153
|
+
return false;
|
|
154
|
+
if (value.truncated !== value.totalCount > value.includedCount)
|
|
155
|
+
return false;
|
|
156
|
+
if (value.continuationReference !== undefined && !isEnvironmentLogicalEvidenceReferenceV1(value.continuationReference))
|
|
157
|
+
return false;
|
|
158
|
+
return !value.truncated || value.continuationReference !== undefined;
|
|
159
|
+
};
|
|
160
|
+
const isCostRollup = (value) => isRecord(value) &&
|
|
161
|
+
hasExactKeys(value, ['key', 'safeLabel', 'resourceCount', 'sourceReferences'], ['observedCost', 'potentialSavings']) &&
|
|
162
|
+
isGeneralKey(value.key) &&
|
|
163
|
+
isSafeLabel(value.safeLabel) &&
|
|
164
|
+
isNonNegativeInteger(value.resourceCount) &&
|
|
165
|
+
(value.observedCost === undefined || isObservedMoney(value.observedCost)) &&
|
|
166
|
+
(value.potentialSavings === undefined || isSavingsMoney(value.potentialSavings)) &&
|
|
167
|
+
isReferenceArray(value.sourceReferences);
|
|
168
|
+
const isCostDriver = (value) => isRecord(value) &&
|
|
169
|
+
hasExactKeys(value, ['key', 'safeLabel', 'sourceReferences'], ['description', 'observedCost', 'portalRoute', 'resourceReference']) &&
|
|
170
|
+
isGeneralKey(value.key) &&
|
|
171
|
+
isSafeLabel(value.safeLabel) &&
|
|
172
|
+
(value.description === undefined || isCustomerString(value.description)) &&
|
|
173
|
+
(value.observedCost === undefined || isObservedMoney(value.observedCost)) &&
|
|
174
|
+
(value.portalRoute === undefined || isEnvironmentPortalRouteV1(value.portalRoute)) &&
|
|
175
|
+
(value.resourceReference === undefined || isEnvironmentLogicalResourceReferenceV1(value.resourceReference)) &&
|
|
176
|
+
isReferenceArray(value.sourceReferences);
|
|
177
|
+
const isPillarScore = (value) => isRecord(value) &&
|
|
178
|
+
hasExactKeys(value, ['value', 'maximum', 'safeLabel']) &&
|
|
179
|
+
isPercentage(value.value) &&
|
|
180
|
+
value.maximum === '100' &&
|
|
181
|
+
isSafeLabel(value.safeLabel);
|
|
182
|
+
const isPillarSummary = (value) => isRecord(value) &&
|
|
183
|
+
hasExactKeys(value, ['pillar', 'coverage', 'findingCount', 'recommendationCount', 'affectedResourceCount', 'portalRoute', 'sourceReferences'], ['score']) &&
|
|
184
|
+
isEnvironmentPillarV1(value.pillar) &&
|
|
185
|
+
isEnvironmentCoverageStateV1(value.coverage) &&
|
|
186
|
+
isNonNegativeInteger(value.findingCount) &&
|
|
187
|
+
isNonNegativeInteger(value.recommendationCount) &&
|
|
188
|
+
isNonNegativeInteger(value.affectedResourceCount) &&
|
|
189
|
+
isEnvironmentPortalRouteV1(value.portalRoute) &&
|
|
190
|
+
(value.score === undefined || isPillarScore(value.score)) &&
|
|
191
|
+
isReferenceArray(value.sourceReferences);
|
|
192
|
+
const isPillarSummaries = (value) => isRecord(value) &&
|
|
193
|
+
hasExactKeys(value, ENVIRONMENT_PILLARS_V1) &&
|
|
194
|
+
ENVIRONMENT_PILLARS_V1.every(pillar => isPillarSummary(value[pillar]) && value[pillar]?.pillar === pillar);
|
|
195
|
+
const isFinding = (value) => isRecord(value) &&
|
|
196
|
+
hasExactKeys(value, ['findingId', 'pillar', 'kind', 'safeLabel', 'severity', 'resourceReferences', 'sourceReferences'], ['description', 'impact', 'effort', 'confidencePercentage', 'affectedResourceCount', 'portalRoute']) &&
|
|
197
|
+
isScopeIdentifier(value.findingId) &&
|
|
198
|
+
isEnvironmentPillarV1(value.pillar) &&
|
|
199
|
+
typeof value.kind === 'string' &&
|
|
200
|
+
FINDING_KINDS.has(value.kind) &&
|
|
201
|
+
isSafeLabel(value.safeLabel) &&
|
|
202
|
+
typeof value.severity === 'string' &&
|
|
203
|
+
SEVERITIES.has(value.severity) &&
|
|
204
|
+
(value.description === undefined || isCustomerString(value.description)) &&
|
|
205
|
+
(value.impact === undefined || (typeof value.impact === 'string' && IMPACTS.has(value.impact))) &&
|
|
206
|
+
(value.effort === undefined || (typeof value.effort === 'string' && EFFORTS.has(value.effort))) &&
|
|
207
|
+
(value.confidencePercentage === undefined || isPercentage(value.confidencePercentage)) &&
|
|
208
|
+
(value.affectedResourceCount === undefined || isNonNegativeInteger(value.affectedResourceCount)) &&
|
|
209
|
+
(value.portalRoute === undefined || isEnvironmentPortalRouteV1(value.portalRoute)) &&
|
|
210
|
+
isResourceReferenceArray(value.resourceReferences) &&
|
|
211
|
+
isReferenceArray(value.sourceReferences);
|
|
212
|
+
const isRecommendation = (value) => isRecord(value) &&
|
|
213
|
+
hasExactKeys(value, ['recommendationId', 'pillar', 'safeLabel', 'portalRoute', 'resourceReferences', 'sourceReferences'], ['description', 'impact', 'effort', 'confidencePercentage', 'affectedResourceCount', 'potentialSavings']) &&
|
|
214
|
+
isScopeIdentifier(value.recommendationId) &&
|
|
215
|
+
isEnvironmentPillarV1(value.pillar) &&
|
|
216
|
+
isSafeLabel(value.safeLabel) &&
|
|
217
|
+
isEnvironmentPortalRouteV1(value.portalRoute) &&
|
|
218
|
+
(value.description === undefined || isCustomerString(value.description)) &&
|
|
219
|
+
(value.impact === undefined || (typeof value.impact === 'string' && IMPACTS.has(value.impact))) &&
|
|
220
|
+
(value.effort === undefined || (typeof value.effort === 'string' && EFFORTS.has(value.effort))) &&
|
|
221
|
+
(value.confidencePercentage === undefined || isPercentage(value.confidencePercentage)) &&
|
|
222
|
+
(value.affectedResourceCount === undefined || isNonNegativeInteger(value.affectedResourceCount)) &&
|
|
223
|
+
(value.potentialSavings === undefined || isSavingsMoney(value.potentialSavings)) &&
|
|
224
|
+
isResourceReferenceArray(value.resourceReferences) &&
|
|
225
|
+
isReferenceArray(value.sourceReferences);
|
|
226
|
+
const isChange = (value) => isRecord(value) &&
|
|
227
|
+
hasExactKeys(value, ['key', 'pillars', 'safeLabel', 'description', 'direction', 'sourceReferences'], ['amount']) &&
|
|
228
|
+
isGeneralKey(value.key) &&
|
|
229
|
+
Array.isArray(value.pillars) &&
|
|
230
|
+
value.pillars.length > 0 &&
|
|
231
|
+
value.pillars.length <= ENVIRONMENT_PILLARS_V1.length &&
|
|
232
|
+
value.pillars.every(isEnvironmentPillarV1) &&
|
|
233
|
+
new Set(value.pillars).size === value.pillars.length &&
|
|
234
|
+
isSafeLabel(value.safeLabel) &&
|
|
235
|
+
isCustomerString(value.description) &&
|
|
236
|
+
typeof value.direction === 'string' &&
|
|
237
|
+
CHANGE_DIRECTIONS.has(value.direction) &&
|
|
238
|
+
(value.amount === undefined || isObservedMoney(value.amount)) &&
|
|
239
|
+
isReferenceArray(value.sourceReferences);
|
|
240
|
+
const isWarning = (value) => isRecord(value) &&
|
|
241
|
+
hasExactKeys(value, ['code', 'safeLabel', 'sourceReferences'], ['pillar', 'detail']) &&
|
|
242
|
+
isGeneralKey(value.code) &&
|
|
243
|
+
isSafeLabel(value.safeLabel) &&
|
|
244
|
+
(value.pillar === undefined || isEnvironmentPillarV1(value.pillar)) &&
|
|
245
|
+
(value.detail === undefined || isCustomerString(value.detail)) &&
|
|
246
|
+
isReferenceArray(value.sourceReferences);
|
|
247
|
+
const isSourceCoverage = (value) => isRecord(value) &&
|
|
248
|
+
hasExactKeys(value, [
|
|
249
|
+
'completedViewSet',
|
|
250
|
+
'subscriptionSummary',
|
|
251
|
+
'resources',
|
|
252
|
+
'recommendations',
|
|
253
|
+
'serviceRetirements',
|
|
254
|
+
'monitorAlerts',
|
|
255
|
+
'pluginMetrics',
|
|
256
|
+
]) &&
|
|
257
|
+
Object.values(value).every(isEnvironmentCoverageStateV1);
|
|
258
|
+
const isEstateSummary = (value) => isRecord(value) &&
|
|
259
|
+
hasExactKeys(value, ['resourceCount', 'serviceFamilyCount', 'locationCount']) &&
|
|
260
|
+
isNonNegativeInteger(value.resourceCount) &&
|
|
261
|
+
isNonNegativeInteger(value.serviceFamilyCount) &&
|
|
262
|
+
isNonNegativeInteger(value.locationCount);
|
|
263
|
+
const isCostSummary = (value) => isRecord(value) &&
|
|
264
|
+
hasExactKeys(value, [], ['observedCost', 'potentialSavings', 'costRecommendationCount']) &&
|
|
265
|
+
(value.observedCost === undefined || isObservedMoney(value.observedCost)) &&
|
|
266
|
+
(value.potentialSavings === undefined || isSavingsMoney(value.potentialSavings)) &&
|
|
267
|
+
(value.costRecommendationCount === undefined || isNonNegativeInteger(value.costRecommendationCount));
|
|
268
|
+
/** Validates the strict, bounded multi-pillar subscription environment projection. */
|
|
269
|
+
export const isEnvironmentSubscriptionProjectionV1 = (value) => {
|
|
270
|
+
if (!hasSafeContainerShape(value) || !isRecord(value))
|
|
271
|
+
return false;
|
|
272
|
+
if (!hasExactKeys(value, [
|
|
273
|
+
'schemaVersion',
|
|
274
|
+
'scope',
|
|
275
|
+
'sourceBinding',
|
|
276
|
+
'generatedAt',
|
|
277
|
+
'subscription',
|
|
278
|
+
'sourceCoverage',
|
|
279
|
+
'estateSummary',
|
|
280
|
+
'costSummary',
|
|
281
|
+
'serviceFamilyRollups',
|
|
282
|
+
'estateCostRollups',
|
|
283
|
+
'costDrivers',
|
|
284
|
+
'pillars',
|
|
285
|
+
'findings',
|
|
286
|
+
'recommendations',
|
|
287
|
+
'changes',
|
|
288
|
+
'warnings',
|
|
289
|
+
'sourceReferences',
|
|
290
|
+
]) ||
|
|
291
|
+
value.schemaVersion !== 1 ||
|
|
292
|
+
!isEnvironmentScopeV1(value.scope) ||
|
|
293
|
+
!isEnvironmentSourceBindingV1(value.sourceBinding) ||
|
|
294
|
+
!scopesEqual(value.scope, value.sourceBinding.scope) ||
|
|
295
|
+
!isCanonicalUtcTimestamp(value.generatedAt) ||
|
|
296
|
+
Date.parse(value.generatedAt) < Date.parse(value.sourceBinding.completedAt) ||
|
|
297
|
+
!isRecord(value.subscription) ||
|
|
298
|
+
!hasExactKeys(value.subscription, ['safeLabel', 'portalRoute']) ||
|
|
299
|
+
!isSafeLabel(value.subscription.safeLabel) ||
|
|
300
|
+
!isEnvironmentPortalRouteV1(value.subscription.portalRoute) ||
|
|
301
|
+
!isSourceCoverage(value.sourceCoverage) ||
|
|
302
|
+
!isEstateSummary(value.estateSummary) ||
|
|
303
|
+
!isCostSummary(value.costSummary) ||
|
|
304
|
+
!isBoundedList(value.serviceFamilyRollups, isCostRollup) ||
|
|
305
|
+
!isBoundedList(value.estateCostRollups, isCostRollup) ||
|
|
306
|
+
!isBoundedList(value.costDrivers, isCostDriver) ||
|
|
307
|
+
!isPillarSummaries(value.pillars) ||
|
|
308
|
+
!isBoundedList(value.findings, isFinding) ||
|
|
309
|
+
!isBoundedList(value.recommendations, isRecommendation) ||
|
|
310
|
+
!isBoundedList(value.changes, isChange) ||
|
|
311
|
+
!isBoundedList(value.warnings, isWarning) ||
|
|
312
|
+
!isReferenceArray(value.sourceReferences)) {
|
|
313
|
+
return false;
|
|
314
|
+
}
|
|
315
|
+
return utf8ByteLength(JSON.stringify(value)) <= ENVIRONMENT_CONTRACT_LIMITS_V1.projectionBytes;
|
|
316
|
+
};
|
|
317
|
+
const descriptorByteLimit = (name) => {
|
|
318
|
+
if (name === 'projection.json')
|
|
319
|
+
return ENVIRONMENT_CONTRACT_LIMITS_V1.projectionBytes;
|
|
320
|
+
if (name === 'environment-index.md')
|
|
321
|
+
return ENVIRONMENT_CONTRACT_LIMITS_V1.environmentIndexBytes;
|
|
322
|
+
return ENVIRONMENT_CONTRACT_LIMITS_V1.pillarDocumentBytes;
|
|
323
|
+
};
|
|
324
|
+
/** Validates one descriptor from the exact V1 multi-pillar document allowlist. */
|
|
325
|
+
export const isEnvironmentDocumentDescriptorV1 = (value) => {
|
|
326
|
+
if (!isRecord(value) || !hasExactKeys(value, ['name', 'mediaType', 'byteCount', 'contentSha256', 'approximateTokenCount']))
|
|
327
|
+
return false;
|
|
328
|
+
if (typeof value.name !== 'string' || !DOCUMENT_NAMES.has(value.name))
|
|
329
|
+
return false;
|
|
330
|
+
const expectedMediaType = value.name === 'projection.json' ? 'application/json' : 'text/markdown; charset=utf-8';
|
|
331
|
+
return (value.mediaType === expectedMediaType &&
|
|
332
|
+
isNonNegativeInteger(value.byteCount) &&
|
|
333
|
+
value.byteCount > 0 &&
|
|
334
|
+
value.byteCount <= descriptorByteLimit(value.name) &&
|
|
335
|
+
typeof value.contentSha256 === 'string' &&
|
|
336
|
+
SHA256_PATTERN.test(value.contentSha256) &&
|
|
337
|
+
isNonNegativeInteger(value.approximateTokenCount));
|
|
338
|
+
};
|
|
339
|
+
/** Validates that descriptors contain every allowlisted V1 document exactly once. */
|
|
340
|
+
export const isEnvironmentDocumentDescriptorSetV1 = (value) => Array.isArray(value) &&
|
|
341
|
+
value.length === ENVIRONMENT_DOCUMENT_NAMES_V1.length &&
|
|
342
|
+
value.every(isEnvironmentDocumentDescriptorV1) &&
|
|
343
|
+
new Set(value.map(descriptor => descriptor.name)).size === ENVIRONMENT_DOCUMENT_NAMES_V1.length &&
|
|
344
|
+
ENVIRONMENT_DOCUMENT_NAMES_V1.every(name => value.some(descriptor => descriptor.name === name));
|
|
345
|
+
/** Validates an atomically visible completed environment-generation pointer. */
|
|
346
|
+
export const isEnvironmentCompiledGenerationPointerV1 = (value) => {
|
|
347
|
+
if (!hasSafeContainerShape(value) || !isRecord(value))
|
|
348
|
+
return false;
|
|
349
|
+
if (!hasExactKeys(value, ['schemaVersion', 'status', 'environmentRunId', 'scope', 'sourceBinding', 'treeDigestSha256', 'fileCount', 'generatedAt']) ||
|
|
350
|
+
value.schemaVersion !== 1 ||
|
|
351
|
+
value.status !== 'completed' ||
|
|
352
|
+
!isEnvironmentRunIdV1(value.environmentRunId) ||
|
|
353
|
+
!isEnvironmentScopeV1(value.scope) ||
|
|
354
|
+
!isEnvironmentSourceBindingV1(value.sourceBinding) ||
|
|
355
|
+
!scopesEqual(value.scope, value.sourceBinding.scope) ||
|
|
356
|
+
typeof value.treeDigestSha256 !== 'string' ||
|
|
357
|
+
!SHA256_PATTERN.test(value.treeDigestSha256) ||
|
|
358
|
+
value.fileCount !== ENVIRONMENT_DOCUMENT_NAMES_V1.length ||
|
|
359
|
+
!isCanonicalUtcTimestamp(value.generatedAt) ||
|
|
360
|
+
Date.parse(value.generatedAt) < Date.parse(value.sourceBinding.completedAt)) {
|
|
361
|
+
return false;
|
|
362
|
+
}
|
|
363
|
+
const sourceIdentities = [
|
|
364
|
+
value.sourceBinding.publicationId,
|
|
365
|
+
value.sourceBinding.portalRunId,
|
|
366
|
+
value.sourceBinding.pluginRunId,
|
|
367
|
+
value.sourceBinding.economicsGenerationId,
|
|
368
|
+
value.sourceBinding.economicsFingerprint,
|
|
369
|
+
];
|
|
370
|
+
return (!sourceIdentities.includes(value.environmentRunId) &&
|
|
371
|
+
utf8ByteLength(JSON.stringify(value)) <= ENVIRONMENT_CONTRACT_LIMITS_V1.completedPointerBytes);
|
|
372
|
+
};
|
|
373
|
+
/** Validates an artifact kind without widening the closed V1 union. */
|
|
374
|
+
export const isEnvironmentArtifactKindV1 = (value) => typeof value === 'string' && ARTIFACT_KINDS.has(value);
|
|
375
|
+
/** Validates the V1 safe-label bound used by customer-visible evidence metadata. */
|
|
376
|
+
export const isEnvironmentSafeLabelV1 = (value) => isSafeLabel(value);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export * from './eventStatus.js';
|
|
2
|
+
export * from './cost.js';
|
|
3
|
+
export * from './costViews.js';
|
|
4
|
+
export * from './costAnomalies.js';
|
|
5
|
+
export * from './baseAlert.js';
|
|
6
|
+
export * from './alertDefinitionRun.js';
|
|
7
|
+
export * from './quickAlerts.js';
|
|
8
|
+
export * from './actionGroups.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './access.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './apikey.js';
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
/** Main entry point - export all interfaces from this package */
|
|
2
|
+
export * from './azure/common.js';
|
|
3
|
+
export * from './azure/costComposition.js';
|
|
4
|
+
export * from './azure/activityLogs.js';
|
|
5
|
+
export * from './azure/budgets.js';
|
|
6
|
+
export * from './azure/billingGeneration.js';
|
|
7
|
+
export * from './azure/billingArtifactGeneration.js';
|
|
8
|
+
export * from './azure/billingArtifactLimits.js';
|
|
9
|
+
export * from './azure/billingArtifactCanonicalization.js';
|
|
10
|
+
export * from './azure/artifactRunReference.js';
|
|
11
|
+
export * from './azure/billingPlots.js';
|
|
12
|
+
export * from './azure/benefits.js';
|
|
13
|
+
export * from './azure/commitmentsPlanning.js';
|
|
14
|
+
export * from './azure/licensing.js';
|
|
15
|
+
export * from './azure/configs.js';
|
|
16
|
+
export * from './azure/metrics.js';
|
|
17
|
+
export * from './azure/payloads.js';
|
|
18
|
+
export * from './azure/portalArtifacts.js';
|
|
19
|
+
export * from './azure/dataProtection.js';
|
|
20
|
+
export * from './azure/prices.js';
|
|
21
|
+
export * from './azure/relationships.js';
|
|
22
|
+
export * from './azure/recommendations.js';
|
|
23
|
+
export * from './azure/recommendationTracks.js';
|
|
24
|
+
export * from './azure/recommendationAudit.js';
|
|
25
|
+
export * from './azure/recommendationWorkflow.js';
|
|
26
|
+
export * from './azure/recommendationState.js';
|
|
27
|
+
export * from './azure/regulatoryCompliance.js';
|
|
28
|
+
export * from './azure/resources.js';
|
|
29
|
+
export * from './azure/reports.js';
|
|
30
|
+
export * from './azure/reportingTemplates.js';
|
|
31
|
+
export * from './azure/reviewChecklist.js';
|
|
32
|
+
export * from './azure/advisorScore.js';
|
|
33
|
+
export * from './azure/resourceHealth.js';
|
|
34
|
+
export * from './azure/subscriptions.js';
|
|
35
|
+
export * from './azure/views.js';
|
|
36
|
+
export * from './azure/security.js';
|
|
37
|
+
export * from './azure/savings.js';
|
|
38
|
+
export * from './azure/serviceRetirement.js';
|
|
39
|
+
export * from './azure/serviceRetirementState.js';
|
|
40
|
+
export * from './azure/serviceRetirementWorkManagement.js';
|
|
41
|
+
export * from './azure/resourceOptimization.js';
|
|
42
|
+
export * from './azure/storage-inventory.js';
|
|
43
|
+
export * from './azure/governance.js';
|
|
44
|
+
export * from './azure/publicIpAddresses.js';
|
|
45
|
+
export * from './azure/workManagement.js';
|
|
46
|
+
export * from './azure/vmPatchManagement.js';
|
|
47
|
+
export * from './aws/index.js';
|
|
48
|
+
export * from './accounts/index.js';
|
|
49
|
+
export * from './assessments/index.js';
|
|
50
|
+
export * from './users/index.js';
|
|
51
|
+
export * from './common/index.js';
|
|
52
|
+
export * from './common/artifactEvidence.js';
|
|
53
|
+
export * from './company/index.js';
|
|
54
|
+
export * from './customProperties/index.js';
|
|
55
|
+
export * from './scheduler/index.js';
|
|
56
|
+
export * from './ai/index.js';
|
|
57
|
+
export * from './environment/index.js';
|
|
58
|
+
export * from './events/index.js';
|
|
59
|
+
export * from './integrations/index.js';
|
|
60
|
+
export * from './identity/index.js';
|
|
61
|
+
export * from './features-and-permissions/index.js';
|
|
62
|
+
export * from './tags/index.js';
|
|
63
|
+
export * from './portfolio/index.js';
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/** Dev-only Vite entrypoint that avoids stale sibling .js files under src/. */
|
|
2
|
+
export * from './azure/common.js';
|
|
3
|
+
export * from './azure/activityLogs.js';
|
|
4
|
+
export * from './azure/budgets.js';
|
|
5
|
+
export * from './azure/billingPlots.js';
|
|
6
|
+
export * from './azure/benefits.js';
|
|
7
|
+
export * from './azure/commitmentsPlanning.js';
|
|
8
|
+
export * from './azure/licensing.js';
|
|
9
|
+
export * from './azure/configs.js';
|
|
10
|
+
export * from './azure/metrics.js';
|
|
11
|
+
export * from './azure/payloads.js';
|
|
12
|
+
export * from './azure/portalArtifacts.js';
|
|
13
|
+
export * from './azure/prices.js';
|
|
14
|
+
export * from './azure/relationships.js';
|
|
15
|
+
export * from './azure/recommendations.js';
|
|
16
|
+
export * from './azure/recommendationAudit.js';
|
|
17
|
+
export * from './azure/recommendationWorkflow.js';
|
|
18
|
+
export * from './azure/recommendationState.js';
|
|
19
|
+
export * from './azure/resources.js';
|
|
20
|
+
export * from './azure/reports.js';
|
|
21
|
+
export * from './azure/reportingTemplates.js';
|
|
22
|
+
export * from './azure/reviewChecklist.js';
|
|
23
|
+
export * from './azure/advisorScore.js';
|
|
24
|
+
export * from './azure/resourceHealth.js';
|
|
25
|
+
export * from './azure/subscriptions.js';
|
|
26
|
+
export * from './azure/views.js';
|
|
27
|
+
export * from './azure/security.js';
|
|
28
|
+
export * from './azure/serviceRetirement.js';
|
|
29
|
+
export * from './azure/serviceRetirementState.js';
|
|
30
|
+
export * from './azure/resourceOptimization.js';
|
|
31
|
+
export * from './azure/storage-inventory.js';
|
|
32
|
+
export * from './azure/governance.js';
|
|
33
|
+
export * from './azure/publicIpAddresses.js';
|
|
34
|
+
export * from './azure/dataProtection.js';
|
|
35
|
+
export * from './azure/workManagement.js';
|
|
36
|
+
export * from './accounts/index.js';
|
|
37
|
+
export * from './assessments/index.js';
|
|
38
|
+
export * from './users/index.js';
|
|
39
|
+
export * from './common/provider.js';
|
|
40
|
+
export * from './common/index.js';
|
|
41
|
+
export * from './company/index.js';
|
|
42
|
+
export * from './scheduler/index.js';
|
|
43
|
+
export * from './ai/index.js';
|
|
44
|
+
export * from './events/index.js';
|
|
45
|
+
export * from './integrations/index.js';
|
|
46
|
+
export * from './identity/index.js';
|
|
47
|
+
export * from './features-and-permissions/index.js';
|
|
48
|
+
export * from './tags/index.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export const PORTFOLIO_PROJECTION_PREVIOUS_SCHEMA_VERSION = '2026-07-26';
|
|
2
|
+
export const PORTFOLIO_PROJECTION_SCHEMA_VERSION = '2026-08-02';
|
|
3
|
+
export const PORTFOLIO_PROJECTION_COMPATIBLE_SCHEMA_VERSIONS = [
|
|
4
|
+
PORTFOLIO_PROJECTION_PREVIOUS_SCHEMA_VERSION,
|
|
5
|
+
PORTFOLIO_PROJECTION_SCHEMA_VERSION,
|
|
6
|
+
];
|
|
7
|
+
export const PORTFOLIO_PROJECTION_DETAIL_LIMIT = 60;
|
|
8
|
+
/** Legacy fixed-shard count used to read compatible manifests published before byte-bounded packing. */
|
|
9
|
+
export const PORTFOLIO_PROJECTION_DETAIL_SHARD_COUNT = 16;
|
|
10
|
+
/** Publishers target small detail artifacts and start a new shard before either target is crossed. */
|
|
11
|
+
export const PORTFOLIO_PROJECTION_DETAIL_TARGET_COMPRESSED_BYTES = 1 * 1024 * 1024;
|
|
12
|
+
export const PORTFOLIO_PROJECTION_DETAIL_TARGET_DECODED_BYTES = 2 * 1024 * 1024;
|
|
13
|
+
/** Aggregate decoded payload budget for a single Worker projection read. */
|
|
14
|
+
export const PORTFOLIO_PROJECTION_MAX_REQUEST_DECODED_BYTES = 24 * 1024 * 1024;
|
|
15
|
+
export const PORTFOLIO_PROJECTION_MAX_COMPRESSED_BYTES = 8 * 1024 * 1024;
|
|
16
|
+
export const PORTFOLIO_PROJECTION_MAX_DECODED_BYTES = 32 * 1024 * 1024;
|
|
17
|
+
export const PORTFOLIO_CLOUD_ACCOUNT_SUMMARY_SCHEMA_VERSION = '2026-08-13';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './scheduler.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './tags.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|