@spottoai/types-package 1.0.2-beta.35 → 1.0.2-beta.351

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (495) hide show
  1. package/LICENSE +18 -40
  2. package/README.md +55 -18
  3. package/dist/accounts/accounts.d.ts +545 -3
  4. package/dist/accounts/accounts.d.ts.map +1 -1
  5. package/dist/accounts/accounts.js +122 -0
  6. package/dist/accounts/accounts.js.map +1 -1
  7. package/dist/accounts/azureSpSetup.d.ts +402 -0
  8. package/dist/accounts/azureSpSetup.d.ts.map +1 -0
  9. package/dist/accounts/azureSpSetup.js +3 -0
  10. package/dist/accounts/azureSpSetup.js.map +1 -0
  11. package/dist/accounts/azureSpSetupDurable.d.ts +115 -0
  12. package/dist/accounts/azureSpSetupDurable.d.ts.map +1 -0
  13. package/dist/accounts/azureSpSetupDurable.js +3 -0
  14. package/dist/accounts/azureSpSetupDurable.js.map +1 -0
  15. package/dist/accounts/index.d.ts +4 -0
  16. package/dist/accounts/index.d.ts.map +1 -1
  17. package/dist/accounts/index.js +4 -0
  18. package/dist/accounts/index.js.map +1 -1
  19. package/dist/accounts/readPermissions.d.ts +76 -0
  20. package/dist/accounts/readPermissions.d.ts.map +1 -0
  21. package/dist/accounts/readPermissions.js +202 -0
  22. package/dist/accounts/readPermissions.js.map +1 -0
  23. package/dist/accounts/validation.d.ts +91 -0
  24. package/dist/accounts/validation.d.ts.map +1 -0
  25. package/dist/accounts/validation.js +3 -0
  26. package/dist/accounts/validation.js.map +1 -0
  27. package/dist/accounts/writePermissions.d.ts +36 -0
  28. package/dist/accounts/writePermissions.d.ts.map +1 -0
  29. package/dist/accounts/writePermissions.js +47 -0
  30. package/dist/accounts/writePermissions.js.map +1 -0
  31. package/dist/ai/index.d.ts +1019 -9
  32. package/dist/ai/index.d.ts.map +1 -1
  33. package/dist/ai/index.js +1 -1
  34. package/dist/ai/index.js.map +1 -1
  35. package/dist/assessments/artifact.d.ts +84 -0
  36. package/dist/assessments/artifact.d.ts.map +1 -0
  37. package/dist/assessments/artifact.js +3 -0
  38. package/dist/assessments/artifact.js.map +1 -0
  39. package/dist/assessments/catalogue.d.ts +53 -0
  40. package/dist/assessments/catalogue.d.ts.map +1 -0
  41. package/dist/assessments/catalogue.js +16 -0
  42. package/dist/assessments/catalogue.js.map +1 -0
  43. package/dist/assessments/common.d.ts +27 -0
  44. package/dist/assessments/common.d.ts.map +1 -0
  45. package/dist/assessments/common.js +3 -0
  46. package/dist/assessments/common.js.map +1 -0
  47. package/dist/assessments/evidence.d.ts +78 -0
  48. package/dist/assessments/evidence.d.ts.map +1 -0
  49. package/dist/assessments/evidence.js +3 -0
  50. package/dist/assessments/evidence.js.map +1 -0
  51. package/dist/assessments/export.d.ts +27 -0
  52. package/dist/assessments/export.d.ts.map +1 -0
  53. package/dist/assessments/export.js +3 -0
  54. package/dist/assessments/export.js.map +1 -0
  55. package/dist/assessments/index.d.ts +11 -0
  56. package/dist/assessments/index.d.ts.map +1 -0
  57. package/dist/assessments/index.js +27 -0
  58. package/dist/assessments/index.js.map +1 -0
  59. package/dist/assessments/queue.d.ts +20 -0
  60. package/dist/assessments/queue.d.ts.map +1 -0
  61. package/dist/assessments/queue.js +6 -0
  62. package/dist/assessments/queue.js.map +1 -0
  63. package/dist/assessments/review.d.ts +36 -0
  64. package/dist/assessments/review.d.ts.map +1 -0
  65. package/dist/assessments/review.js +3 -0
  66. package/dist/assessments/review.js.map +1 -0
  67. package/dist/assessments/run.d.ts +62 -0
  68. package/dist/assessments/run.d.ts.map +1 -0
  69. package/dist/assessments/run.js +3 -0
  70. package/dist/assessments/run.js.map +1 -0
  71. package/dist/assessments/sow.d.ts +30 -0
  72. package/dist/assessments/sow.d.ts.map +1 -0
  73. package/dist/assessments/sow.js +3 -0
  74. package/dist/assessments/sow.js.map +1 -0
  75. package/dist/assessments/status.d.ts +27 -0
  76. package/dist/assessments/status.d.ts.map +1 -0
  77. package/dist/assessments/status.js +27 -0
  78. package/dist/assessments/status.js.map +1 -0
  79. package/dist/aws/commitmentsPlanningValidation.d.ts +7 -0
  80. package/dist/aws/commitmentsPlanningValidation.d.ts.map +1 -0
  81. package/dist/aws/commitmentsPlanningValidation.js +123 -0
  82. package/dist/aws/commitmentsPlanningValidation.js.map +1 -0
  83. package/dist/aws/estates.d.ts +153 -0
  84. package/dist/aws/estates.d.ts.map +1 -0
  85. package/dist/aws/estates.js +25 -0
  86. package/dist/aws/estates.js.map +1 -0
  87. package/dist/aws/index.d.ts +18 -0
  88. package/dist/aws/index.d.ts.map +1 -0
  89. package/dist/aws/index.js +33 -0
  90. package/dist/aws/index.js.map +1 -0
  91. package/dist/aws/onboarding.d.ts +54 -0
  92. package/dist/aws/onboarding.d.ts.map +1 -0
  93. package/dist/aws/onboarding.js +3 -0
  94. package/dist/aws/onboarding.js.map +1 -0
  95. package/dist/aws/pluginPublicArtifactBodyValidation.d.ts +10 -0
  96. package/dist/aws/pluginPublicArtifactBodyValidation.d.ts.map +1 -0
  97. package/dist/aws/pluginPublicArtifactBodyValidation.js +225 -0
  98. package/dist/aws/pluginPublicArtifactBodyValidation.js.map +1 -0
  99. package/dist/aws/pluginPublicArtifactEvidence.d.ts +161 -0
  100. package/dist/aws/pluginPublicArtifactEvidence.d.ts.map +1 -0
  101. package/dist/aws/pluginPublicArtifactEvidence.js +3 -0
  102. package/dist/aws/pluginPublicArtifactEvidence.js.map +1 -0
  103. package/dist/aws/pluginPublicArtifactManifestValidation.d.ts +4 -0
  104. package/dist/aws/pluginPublicArtifactManifestValidation.d.ts.map +1 -0
  105. package/dist/aws/pluginPublicArtifactManifestValidation.js +259 -0
  106. package/dist/aws/pluginPublicArtifactManifestValidation.js.map +1 -0
  107. package/dist/aws/pluginPublicArtifactSectionValidation.d.ts +6 -0
  108. package/dist/aws/pluginPublicArtifactSectionValidation.d.ts.map +1 -0
  109. package/dist/aws/pluginPublicArtifactSectionValidation.js +471 -0
  110. package/dist/aws/pluginPublicArtifactSectionValidation.js.map +1 -0
  111. package/dist/aws/pluginPublicArtifactValidation.d.ts +3 -0
  112. package/dist/aws/pluginPublicArtifactValidation.d.ts.map +1 -0
  113. package/dist/aws/pluginPublicArtifactValidation.js +9 -0
  114. package/dist/aws/pluginPublicArtifactValidation.js.map +1 -0
  115. package/dist/aws/pluginPublicArtifactValidationHelpers.d.ts +23 -0
  116. package/dist/aws/pluginPublicArtifactValidationHelpers.d.ts.map +1 -0
  117. package/dist/aws/pluginPublicArtifactValidationHelpers.js +240 -0
  118. package/dist/aws/pluginPublicArtifactValidationHelpers.js.map +1 -0
  119. package/dist/aws/pluginPublicArtifacts.d.ts +253 -0
  120. package/dist/aws/pluginPublicArtifacts.d.ts.map +1 -0
  121. package/dist/aws/pluginPublicArtifacts.js +116 -0
  122. package/dist/aws/pluginPublicArtifacts.js.map +1 -0
  123. package/dist/aws/portalPublicArtifactCurrentValidation.d.ts +4 -0
  124. package/dist/aws/portalPublicArtifactCurrentValidation.d.ts.map +1 -0
  125. package/dist/aws/portalPublicArtifactCurrentValidation.js +333 -0
  126. package/dist/aws/portalPublicArtifactCurrentValidation.js.map +1 -0
  127. package/dist/aws/portalPublicArtifactEvidenceValidation.d.ts +6 -0
  128. package/dist/aws/portalPublicArtifactEvidenceValidation.d.ts.map +1 -0
  129. package/dist/aws/portalPublicArtifactEvidenceValidation.js +301 -0
  130. package/dist/aws/portalPublicArtifactEvidenceValidation.js.map +1 -0
  131. package/dist/aws/portalPublicArtifactHistoryAiValidation.d.ts +8 -0
  132. package/dist/aws/portalPublicArtifactHistoryAiValidation.d.ts.map +1 -0
  133. package/dist/aws/portalPublicArtifactHistoryAiValidation.js +377 -0
  134. package/dist/aws/portalPublicArtifactHistoryAiValidation.js.map +1 -0
  135. package/dist/aws/portalPublicArtifactHistoryTypes.d.ts +173 -0
  136. package/dist/aws/portalPublicArtifactHistoryTypes.d.ts.map +1 -0
  137. package/dist/aws/portalPublicArtifactHistoryTypes.js +38 -0
  138. package/dist/aws/portalPublicArtifactHistoryTypes.js.map +1 -0
  139. package/dist/aws/portalPublicArtifactNestedEvidence.d.ts +127 -0
  140. package/dist/aws/portalPublicArtifactNestedEvidence.d.ts.map +1 -0
  141. package/dist/aws/portalPublicArtifactNestedEvidence.js +3 -0
  142. package/dist/aws/portalPublicArtifactNestedEvidence.js.map +1 -0
  143. package/dist/aws/portalPublicArtifactNestedEvidenceValidation.d.ts +6 -0
  144. package/dist/aws/portalPublicArtifactNestedEvidenceValidation.d.ts.map +1 -0
  145. package/dist/aws/portalPublicArtifactNestedEvidenceValidation.js +405 -0
  146. package/dist/aws/portalPublicArtifactNestedEvidenceValidation.js.map +1 -0
  147. package/dist/aws/portalPublicArtifactValidation.d.ts +3 -0
  148. package/dist/aws/portalPublicArtifactValidation.d.ts.map +1 -0
  149. package/dist/aws/portalPublicArtifactValidation.js +14 -0
  150. package/dist/aws/portalPublicArtifactValidation.js.map +1 -0
  151. package/dist/aws/portalPublicArtifactValidationCommon.d.ts +30 -0
  152. package/dist/aws/portalPublicArtifactValidationCommon.d.ts.map +1 -0
  153. package/dist/aws/portalPublicArtifactValidationCommon.js +167 -0
  154. package/dist/aws/portalPublicArtifactValidationCommon.js.map +1 -0
  155. package/dist/aws/portalPublicArtifacts.d.ts +399 -0
  156. package/dist/aws/portalPublicArtifacts.d.ts.map +1 -0
  157. package/dist/aws/portalPublicArtifacts.js +85 -0
  158. package/dist/aws/portalPublicArtifacts.js.map +1 -0
  159. package/dist/aws/portalRelationshipPublicArtifactValidation.d.ts +4 -0
  160. package/dist/aws/portalRelationshipPublicArtifactValidation.d.ts.map +1 -0
  161. package/dist/aws/portalRelationshipPublicArtifactValidation.js +338 -0
  162. package/dist/aws/portalRelationshipPublicArtifactValidation.js.map +1 -0
  163. package/dist/aws/portalRelationshipPublicArtifacts.d.ts +196 -0
  164. package/dist/aws/portalRelationshipPublicArtifacts.d.ts.map +1 -0
  165. package/dist/aws/portalRelationshipPublicArtifacts.js +63 -0
  166. package/dist/aws/portalRelationshipPublicArtifacts.js.map +1 -0
  167. package/dist/aws/portalRelationshipResourceNodeTypes.d.ts +269 -0
  168. package/dist/aws/portalRelationshipResourceNodeTypes.d.ts.map +1 -0
  169. package/dist/aws/portalRelationshipResourceNodeTypes.js +3 -0
  170. package/dist/aws/portalRelationshipResourceNodeTypes.js.map +1 -0
  171. package/dist/aws/portalRelationshipResourceNodeValidation.d.ts +2 -0
  172. package/dist/aws/portalRelationshipResourceNodeValidation.d.ts.map +1 -0
  173. package/dist/aws/portalRelationshipResourceNodeValidation.js +372 -0
  174. package/dist/aws/portalRelationshipResourceNodeValidation.js.map +1 -0
  175. package/dist/aws/publicArtifacts.d.ts +76 -0
  176. package/dist/aws/publicArtifacts.d.ts.map +1 -0
  177. package/dist/aws/publicArtifacts.js +16 -0
  178. package/dist/aws/publicArtifacts.js.map +1 -0
  179. package/dist/aws/requests.d.ts +84 -0
  180. package/dist/aws/requests.d.ts.map +1 -0
  181. package/dist/aws/requests.js +23 -0
  182. package/dist/aws/requests.js.map +1 -0
  183. package/dist/azure/activityLogs.d.ts +71 -0
  184. package/dist/azure/activityLogs.d.ts.map +1 -0
  185. package/dist/azure/activityLogs.js +6 -0
  186. package/dist/azure/activityLogs.js.map +1 -0
  187. package/dist/azure/advisorScore.d.ts +39 -0
  188. package/dist/azure/advisorScore.d.ts.map +1 -0
  189. package/dist/azure/advisorScore.js +3 -0
  190. package/dist/azure/advisorScore.js.map +1 -0
  191. package/dist/azure/benefits.d.ts +161 -0
  192. package/dist/azure/benefits.d.ts.map +1 -0
  193. package/dist/azure/benefits.js +3 -0
  194. package/dist/azure/benefits.js.map +1 -0
  195. package/dist/azure/billingGeneration.d.ts +50 -0
  196. package/dist/azure/billingGeneration.d.ts.map +1 -0
  197. package/dist/azure/billingGeneration.js +3 -0
  198. package/dist/azure/billingGeneration.js.map +1 -0
  199. package/dist/azure/billingPlots.d.ts +251 -0
  200. package/dist/azure/billingPlots.d.ts.map +1 -0
  201. package/dist/azure/billingPlots.js +6 -0
  202. package/dist/azure/billingPlots.js.map +1 -0
  203. package/dist/azure/budgets.d.ts +4 -0
  204. package/dist/azure/budgets.d.ts.map +1 -1
  205. package/dist/azure/commitmentsPlanning.d.ts +729 -0
  206. package/dist/azure/commitmentsPlanning.d.ts.map +1 -0
  207. package/dist/azure/commitmentsPlanning.js +3 -0
  208. package/dist/azure/commitmentsPlanning.js.map +1 -0
  209. package/dist/azure/common.d.ts +45 -1
  210. package/dist/azure/common.d.ts.map +1 -1
  211. package/dist/azure/configs.d.ts +75 -2
  212. package/dist/azure/configs.d.ts.map +1 -1
  213. package/dist/azure/dataProtection.d.ts +229 -0
  214. package/dist/azure/dataProtection.d.ts.map +1 -0
  215. package/dist/azure/dataProtection.js +9 -0
  216. package/dist/azure/dataProtection.js.map +1 -0
  217. package/dist/azure/governance.d.ts +942 -0
  218. package/dist/azure/governance.d.ts.map +1 -0
  219. package/dist/azure/governance.js +18 -0
  220. package/dist/azure/governance.js.map +1 -0
  221. package/dist/azure/licensing.d.ts +386 -0
  222. package/dist/azure/licensing.d.ts.map +1 -0
  223. package/dist/azure/licensing.js +3 -0
  224. package/dist/azure/licensing.js.map +1 -0
  225. package/dist/azure/metrics.d.ts +99 -4
  226. package/dist/azure/metrics.d.ts.map +1 -1
  227. package/dist/azure/payloads.d.ts +376 -1
  228. package/dist/azure/payloads.d.ts.map +1 -1
  229. package/dist/azure/portalArtifacts.d.ts +14 -0
  230. package/dist/azure/portalArtifacts.d.ts.map +1 -0
  231. package/dist/azure/portalArtifacts.js +5 -0
  232. package/dist/azure/portalArtifacts.js.map +1 -0
  233. package/dist/azure/prices.d.ts +247 -0
  234. package/dist/azure/prices.d.ts.map +1 -1
  235. package/dist/azure/publicIpAddresses.d.ts +171 -0
  236. package/dist/azure/publicIpAddresses.d.ts.map +1 -0
  237. package/dist/azure/publicIpAddresses.js +6 -0
  238. package/dist/azure/publicIpAddresses.js.map +1 -0
  239. package/dist/azure/recommendationAudit.d.ts +167 -0
  240. package/dist/azure/recommendationAudit.d.ts.map +1 -0
  241. package/dist/azure/recommendationAudit.js +20 -0
  242. package/dist/azure/recommendationAudit.js.map +1 -0
  243. package/dist/azure/recommendationState.d.ts +93 -4
  244. package/dist/azure/recommendationState.d.ts.map +1 -1
  245. package/dist/azure/recommendationTracks.d.ts +214 -0
  246. package/dist/azure/recommendationTracks.d.ts.map +1 -0
  247. package/dist/azure/recommendationTracks.js +44 -0
  248. package/dist/azure/recommendationTracks.js.map +1 -0
  249. package/dist/azure/recommendationWorkflow.d.ts +304 -0
  250. package/dist/azure/recommendationWorkflow.d.ts.map +1 -0
  251. package/dist/azure/recommendationWorkflow.js +17 -0
  252. package/dist/azure/recommendationWorkflow.js.map +1 -0
  253. package/dist/azure/recommendations.d.ts +579 -12
  254. package/dist/azure/recommendations.d.ts.map +1 -1
  255. package/dist/azure/recommendations.js.map +1 -1
  256. package/dist/azure/regulatoryCompliance.d.ts +301 -0
  257. package/dist/azure/regulatoryCompliance.d.ts.map +1 -0
  258. package/dist/azure/regulatoryCompliance.js +10 -0
  259. package/dist/azure/regulatoryCompliance.js.map +1 -0
  260. package/dist/azure/relationships.d.ts +193 -0
  261. package/dist/azure/relationships.d.ts.map +1 -0
  262. package/dist/azure/relationships.js +6 -0
  263. package/dist/azure/relationships.js.map +1 -0
  264. package/dist/azure/reportingTemplates.d.ts +70 -0
  265. package/dist/azure/reportingTemplates.d.ts.map +1 -0
  266. package/dist/azure/reportingTemplates.js +5 -0
  267. package/dist/azure/reportingTemplates.js.map +1 -0
  268. package/dist/azure/reports.d.ts +267 -2
  269. package/dist/azure/reports.d.ts.map +1 -1
  270. package/dist/azure/reports.js +1 -1
  271. package/dist/azure/reports.js.map +1 -1
  272. package/dist/azure/resourceHealth.d.ts +264 -0
  273. package/dist/azure/resourceHealth.d.ts.map +1 -0
  274. package/dist/azure/resourceHealth.js +16 -0
  275. package/dist/azure/resourceHealth.js.map +1 -0
  276. package/dist/azure/resourceOptimization.d.ts +79 -0
  277. package/dist/azure/resourceOptimization.d.ts.map +1 -0
  278. package/dist/azure/resourceOptimization.js +3 -0
  279. package/dist/azure/resourceOptimization.js.map +1 -0
  280. package/dist/azure/resources.d.ts +80 -0
  281. package/dist/azure/resources.d.ts.map +1 -1
  282. package/dist/azure/reviewChecklist.d.ts +147 -0
  283. package/dist/azure/reviewChecklist.d.ts.map +1 -0
  284. package/dist/azure/reviewChecklist.js +3 -0
  285. package/dist/azure/reviewChecklist.js.map +1 -0
  286. package/dist/azure/secureScore.d.ts +23 -0
  287. package/dist/azure/secureScore.d.ts.map +1 -0
  288. package/dist/azure/secureScore.js +3 -0
  289. package/dist/azure/secureScore.js.map +1 -0
  290. package/dist/azure/security.d.ts +10 -0
  291. package/dist/azure/security.d.ts.map +1 -1
  292. package/dist/azure/serviceRetirement.d.ts +59 -0
  293. package/dist/azure/serviceRetirement.d.ts.map +1 -0
  294. package/dist/azure/serviceRetirement.js +3 -0
  295. package/dist/azure/serviceRetirement.js.map +1 -0
  296. package/dist/azure/serviceRetirementState.d.ts +22 -0
  297. package/dist/azure/serviceRetirementState.d.ts.map +1 -0
  298. package/dist/azure/serviceRetirementState.js +3 -0
  299. package/dist/azure/serviceRetirementState.js.map +1 -0
  300. package/dist/azure/serviceRetirementWorkManagement.d.ts +7 -0
  301. package/dist/azure/serviceRetirementWorkManagement.d.ts.map +1 -0
  302. package/dist/azure/serviceRetirementWorkManagement.js +3 -0
  303. package/dist/azure/serviceRetirementWorkManagement.js.map +1 -0
  304. package/dist/azure/storage-inventory.d.ts +241 -0
  305. package/dist/azure/storage-inventory.d.ts.map +1 -0
  306. package/dist/azure/storage-inventory.js +3 -0
  307. package/dist/azure/storage-inventory.js.map +1 -0
  308. package/dist/azure/subscriptions.d.ts +87 -8
  309. package/dist/azure/subscriptions.d.ts.map +1 -1
  310. package/dist/azure/views.d.ts +747 -7
  311. package/dist/azure/views.d.ts.map +1 -1
  312. package/dist/azure/views.js +34 -0
  313. package/dist/azure/views.js.map +1 -1
  314. package/dist/azure/workManagement.d.ts +154 -0
  315. package/dist/azure/workManagement.d.ts.map +1 -0
  316. package/dist/azure/workManagement.js +8 -0
  317. package/dist/azure/workManagement.js.map +1 -0
  318. package/dist/common/artifactGeneration.d.ts +91 -0
  319. package/dist/common/artifactGeneration.d.ts.map +1 -0
  320. package/dist/common/artifactGeneration.js +5 -0
  321. package/dist/common/artifactGeneration.js.map +1 -0
  322. package/dist/common/capabilityPassport.d.ts +119 -0
  323. package/dist/common/capabilityPassport.d.ts.map +1 -0
  324. package/dist/common/capabilityPassport.js +219 -0
  325. package/dist/common/capabilityPassport.js.map +1 -0
  326. package/dist/common/index.d.ts +6 -0
  327. package/dist/common/index.d.ts.map +1 -1
  328. package/dist/common/index.js +6 -0
  329. package/dist/common/index.js.map +1 -1
  330. package/dist/common/pagination.d.ts +3 -0
  331. package/dist/common/pagination.d.ts.map +1 -1
  332. package/dist/common/provider.d.ts +33 -0
  333. package/dist/common/provider.d.ts.map +1 -0
  334. package/dist/common/provider.js +15 -0
  335. package/dist/common/provider.js.map +1 -0
  336. package/dist/common/providerSyncProgress.d.ts +91 -0
  337. package/dist/common/providerSyncProgress.d.ts.map +1 -0
  338. package/dist/common/providerSyncProgress.js +3 -0
  339. package/dist/common/providerSyncProgress.js.map +1 -0
  340. package/dist/common/relationships.d.ts +8 -0
  341. package/dist/common/relationships.d.ts.map +1 -0
  342. package/dist/common/relationships.js +3 -0
  343. package/dist/common/relationships.js.map +1 -0
  344. package/dist/common/syncProgress.d.ts +27 -0
  345. package/dist/common/syncProgress.d.ts.map +1 -0
  346. package/dist/common/syncProgress.js +3 -0
  347. package/dist/common/syncProgress.js.map +1 -0
  348. package/dist/company/billingAccount.d.ts +30 -0
  349. package/dist/company/billingAccount.d.ts.map +1 -0
  350. package/dist/company/billingAccount.js +3 -0
  351. package/dist/company/billingAccount.js.map +1 -0
  352. package/dist/company/company.d.ts +91 -1
  353. package/dist/company/company.d.ts.map +1 -1
  354. package/dist/company/companyHierarchy.d.ts +53 -0
  355. package/dist/company/companyHierarchy.d.ts.map +1 -0
  356. package/dist/company/companyHierarchy.js +3 -0
  357. package/dist/company/companyHierarchy.js.map +1 -0
  358. package/dist/company/companyNotes.d.ts +288 -0
  359. package/dist/company/companyNotes.d.ts.map +1 -0
  360. package/dist/company/companyNotes.js +42 -0
  361. package/dist/company/companyNotes.js.map +1 -0
  362. package/dist/company/customProperties.d.ts +2 -0
  363. package/dist/company/customProperties.d.ts.map +1 -0
  364. package/dist/company/customProperties.js +18 -0
  365. package/dist/company/customProperties.js.map +1 -0
  366. package/dist/company/index.d.ts +3 -0
  367. package/dist/company/index.d.ts.map +1 -1
  368. package/dist/company/index.js +3 -0
  369. package/dist/company/index.js.map +1 -1
  370. package/dist/company/notification.d.ts +35 -1
  371. package/dist/company/notification.d.ts.map +1 -1
  372. package/dist/company/notification.js +27 -12
  373. package/dist/company/notification.js.map +1 -1
  374. package/dist/company/survey.d.ts +3 -0
  375. package/dist/company/survey.d.ts.map +1 -1
  376. package/dist/customProperties/customProperties.d.ts +87 -0
  377. package/dist/customProperties/customProperties.d.ts.map +1 -0
  378. package/dist/customProperties/customProperties.js +3 -0
  379. package/dist/customProperties/customProperties.js.map +1 -0
  380. package/dist/customProperties/index.d.ts +2 -0
  381. package/dist/customProperties/index.d.ts.map +1 -0
  382. package/dist/customProperties/index.js +18 -0
  383. package/dist/customProperties/index.js.map +1 -0
  384. package/dist/events/actionGroups.d.ts +85 -0
  385. package/dist/events/actionGroups.d.ts.map +1 -0
  386. package/dist/events/actionGroups.js +3 -0
  387. package/dist/events/actionGroups.js.map +1 -0
  388. package/dist/events/alertDefinitionRun.d.ts +23 -0
  389. package/dist/events/alertDefinitionRun.d.ts.map +1 -0
  390. package/dist/events/alertDefinitionRun.js +3 -0
  391. package/dist/events/alertDefinitionRun.js.map +1 -0
  392. package/dist/events/baseAlert.d.ts +140 -0
  393. package/dist/events/baseAlert.d.ts.map +1 -0
  394. package/dist/events/baseAlert.js +3 -0
  395. package/dist/events/baseAlert.js.map +1 -0
  396. package/dist/events/cost.d.ts +371 -0
  397. package/dist/events/cost.d.ts.map +1 -0
  398. package/dist/events/cost.js +3 -0
  399. package/dist/events/cost.js.map +1 -0
  400. package/dist/events/costAnomalies.d.ts +47 -0
  401. package/dist/events/costAnomalies.d.ts.map +1 -0
  402. package/dist/events/costAnomalies.js +3 -0
  403. package/dist/events/costAnomalies.js.map +1 -0
  404. package/dist/events/costViews.d.ts +25 -0
  405. package/dist/events/costViews.d.ts.map +1 -0
  406. package/dist/events/costViews.js +3 -0
  407. package/dist/events/costViews.js.map +1 -0
  408. package/dist/events/eventStatus.d.ts +67 -0
  409. package/dist/events/eventStatus.d.ts.map +1 -0
  410. package/dist/events/eventStatus.js +3 -0
  411. package/dist/events/eventStatus.js.map +1 -0
  412. package/dist/events/index.d.ts +9 -0
  413. package/dist/events/index.d.ts.map +1 -0
  414. package/dist/events/index.js +25 -0
  415. package/dist/events/index.js.map +1 -0
  416. package/dist/events/quickAlerts.d.ts +67 -0
  417. package/dist/events/quickAlerts.d.ts.map +1 -0
  418. package/dist/events/quickAlerts.js +7 -0
  419. package/dist/events/quickAlerts.js.map +1 -0
  420. package/dist/features-and-permissions/access.d.ts +139 -0
  421. package/dist/features-and-permissions/access.d.ts.map +1 -0
  422. package/dist/features-and-permissions/access.js +3 -0
  423. package/dist/features-and-permissions/access.js.map +1 -0
  424. package/dist/features-and-permissions/index.d.ts +2 -0
  425. package/dist/features-and-permissions/index.d.ts.map +1 -0
  426. package/dist/features-and-permissions/index.js +18 -0
  427. package/dist/features-and-permissions/index.js.map +1 -0
  428. package/dist/feedbacks/feedback.d.ts +9 -0
  429. package/dist/feedbacks/feedback.d.ts.map +1 -1
  430. package/dist/identity/apikey.d.ts +84 -0
  431. package/dist/identity/apikey.d.ts.map +1 -0
  432. package/dist/identity/apikey.js +3 -0
  433. package/dist/identity/apikey.js.map +1 -0
  434. package/dist/identity/index.d.ts +2 -0
  435. package/dist/identity/index.d.ts.map +1 -0
  436. package/dist/identity/index.js +18 -0
  437. package/dist/identity/index.js.map +1 -0
  438. package/dist/index.d.ts +35 -0
  439. package/dist/index.d.ts.map +1 -1
  440. package/dist/index.js +35 -1
  441. package/dist/index.js.map +1 -1
  442. package/dist/index.vite.d.ts +49 -0
  443. package/dist/index.vite.d.ts.map +1 -0
  444. package/dist/index.vite.js +65 -0
  445. package/dist/index.vite.js.map +1 -0
  446. package/dist/integrations/autotask.d.ts +108 -0
  447. package/dist/integrations/autotask.d.ts.map +1 -0
  448. package/dist/integrations/autotask.js +3 -0
  449. package/dist/integrations/autotask.js.map +1 -0
  450. package/dist/integrations/azureDevOps.d.ts +130 -0
  451. package/dist/integrations/azureDevOps.d.ts.map +1 -0
  452. package/dist/integrations/azureDevOps.js +3 -0
  453. package/dist/integrations/azureDevOps.js.map +1 -0
  454. package/dist/integrations/github.d.ts +96 -0
  455. package/dist/integrations/github.d.ts.map +1 -0
  456. package/dist/integrations/github.js +3 -0
  457. package/dist/integrations/github.js.map +1 -0
  458. package/dist/integrations/halo.d.ts +76 -0
  459. package/dist/integrations/halo.d.ts.map +1 -0
  460. package/dist/integrations/halo.js +3 -0
  461. package/dist/integrations/halo.js.map +1 -0
  462. package/dist/integrations/index.d.ts +6 -0
  463. package/dist/integrations/index.d.ts.map +1 -0
  464. package/dist/integrations/index.js +22 -0
  465. package/dist/integrations/index.js.map +1 -0
  466. package/dist/integrations/integrationTickets.d.ts +77 -0
  467. package/dist/integrations/integrationTickets.d.ts.map +1 -0
  468. package/dist/integrations/integrationTickets.js +3 -0
  469. package/dist/integrations/integrationTickets.js.map +1 -0
  470. package/dist/scheduler/index.d.ts +2 -0
  471. package/dist/scheduler/index.d.ts.map +1 -0
  472. package/dist/scheduler/index.js +18 -0
  473. package/dist/scheduler/index.js.map +1 -0
  474. package/dist/scheduler/scheduler.d.ts +263 -0
  475. package/dist/scheduler/scheduler.d.ts.map +1 -0
  476. package/dist/scheduler/scheduler.js +3 -0
  477. package/dist/scheduler/scheduler.js.map +1 -0
  478. package/dist/tags/index.d.ts +2 -0
  479. package/dist/tags/index.d.ts.map +1 -0
  480. package/dist/tags/index.js +18 -0
  481. package/dist/tags/index.js.map +1 -0
  482. package/dist/tags/tags.d.ts +37 -0
  483. package/dist/tags/tags.d.ts.map +1 -0
  484. package/dist/tags/tags.js +10 -0
  485. package/dist/tags/tags.js.map +1 -0
  486. package/dist/unknown/services.d.ts +12 -0
  487. package/dist/unknown/services.d.ts.map +1 -0
  488. package/dist/unknown/services.js +3 -0
  489. package/dist/unknown/services.js.map +1 -0
  490. package/dist/users/companyUser.d.ts +14 -0
  491. package/dist/users/companyUser.d.ts.map +1 -1
  492. package/dist/users/companyUser.js.map +1 -1
  493. package/dist/users/user.d.ts +20 -1
  494. package/dist/users/user.d.ts.map +1 -1
  495. package/package.json +34 -5
@@ -0,0 +1,729 @@
1
+ import type { ProviderName, ProviderScope } from '../common/provider.js';
2
+ import type { BenefitCostBasis, BenefitScope, BenefitType, IBenefitCoverageBreakdownEntry, IBenefitUtilization, IBenefitWeightedUtilizationAggregate } from './benefits.js';
3
+ import type { SubscriptionSummaryLite } from './subscriptions.js';
4
+ export type CommitmentsPlanningVersion = '1.0' | '2.0';
5
+ export type CommitmentsCommitmentFamily = 'compute-reservation' | 'compute-savings-plan' | 'app-service-reservation' | 'managed-disk-reservation' | 'blob-storage-reserved-capacity' | 'adls-reserved-capacity' | 'azure-files-reservation' | 'redis-reserved-capacity' | 'sql-reserved-capacity' | 'mysql-reserved-capacity' | 'postgresql-reserved-capacity' | 'mariadb-reserved-capacity' | 'cosmos-db-reserved-capacity' | 'azure-openai-provisioned-throughput-reservation' | 'generic-reservation';
6
+ export type CommitmentsSourceKind = 'azure-native' | 'aws-native' | 'spotto-derived' | 'fallback-heuristic' | 'manual' | 'unknown';
7
+ export type CommitmentsConfidenceLevel = 'high' | 'medium' | 'low' | 'unknown';
8
+ export type CommitmentsRiskLevel = 'critical' | 'high' | 'medium' | 'low' | 'none' | 'unknown';
9
+ export type CommitmentsFreshnessStatus = 'current' | 'stale' | 'partial' | 'unavailable';
10
+ export type CommitmentsCredentialStatus = 'valid' | 'expiring' | 'expired' | 'unknown';
11
+ export type CommitmentsRenewalAction = 'renew-as-is' | 'move-before-renewal' | 'rescope' | 'trade-in-to-savings-plan' | 'do-not-renew' | 'review';
12
+ export type CommitmentsAppliedScopeType = 'single-resource-group' | 'single-subscription' | 'linked-account' | 'management-group' | 'shared' | 'unknown';
13
+ export interface CommitmentsAppliedScopeProperties {
14
+ subscriptionId?: string;
15
+ resourceGroupId?: string;
16
+ tenantId?: string;
17
+ managementGroupId?: string;
18
+ accountId?: string;
19
+ region?: string;
20
+ availabilityZone?: string;
21
+ }
22
+ /** Public identity for an Azure commitments artifact. */
23
+ export interface AzureCommitmentsPlanningProviderScope extends ProviderScope {
24
+ providerName: ProviderName.Azure;
25
+ companyId?: never;
26
+ scopeType?: never;
27
+ name?: never;
28
+ cloudAccountId?: never;
29
+ status?: never;
30
+ }
31
+ /** Public identity for an AWS commitments artifact. */
32
+ export interface AwsCommitmentsPlanningProviderScope extends ProviderScope {
33
+ providerName: ProviderName.Aws;
34
+ companyId?: never;
35
+ scopeType?: never;
36
+ name?: never;
37
+ cloudAccountId?: never;
38
+ status?: never;
39
+ }
40
+ export type CommitmentsPlanningProviderScope = AzureCommitmentsPlanningProviderScope | AwsCommitmentsPlanningProviderScope;
41
+ export type CommitmentsInventoryStatus = 'active' | 'expired' | 'cancelled' | 'failed' | 'pending' | 'split' | 'merged' | 'warning' | 'no-benefit' | 'payment-error' | 'capacity-error' | 'exchanged' | 'restricted' | 'unknown';
42
+ export type CommitmentsReservationUnit = 'hour' | '10-tib-month' | '100-tib-month' | '1-pib-month'
43
+ /** Compatibility value still emitted by the current storage-capacity producer. */
44
+ | '10TiB'
45
+ /** Compatibility value still emitted by the current storage-capacity producer. */
46
+ | '100TiB'
47
+ /** Compatibility value still emitted by the current storage-capacity producer. */
48
+ | '1PiB';
49
+ export type CommitmentsStorageAccessTier = 'hot' | 'cool' | 'cold' | 'archive' | 'premium' | 'transaction-optimized' | 'unknown';
50
+ export type CommitmentsStorageRedundancy = 'LRS' | 'ZRS' | 'GRS' | 'GZRS' | 'RA-GRS' | 'RA-GZRS' | 'unknown';
51
+ export type CommitmentsStorageBillingModel = 'blob-standard' | 'gpv2-standard' | 'blob-storage' | 'azure-files-payg' | 'azure-files-provisioned-v1' | 'azure-files-provisioned-v2'
52
+ /** Compatibility value still emitted by the current storage-capacity producer. */
53
+ | 'standard'
54
+ /** Compatibility value still emitted by the current storage-capacity producer. */
55
+ | 'premium' | 'unknown';
56
+ export interface CommitmentsPlanningViewBase<TInventoryItem extends CommitmentsInventoryItem = CommitmentsInventoryItem, TPurchaseRecommendation extends CommitmentsPurchaseRecommendation = CommitmentsPurchaseRecommendation> {
57
+ version: CommitmentsPlanningVersion;
58
+ generatedAt: string;
59
+ month?: string;
60
+ utilizationSummary: CommitmentsUtilizationSummary;
61
+ expirySummary: CommitmentsExpirySummary;
62
+ inventory: TInventoryItem[];
63
+ resourceCoverage: CommitmentsResourceCoverageItem[];
64
+ obsoleteCandidates: CommitmentsObsoleteCandidate[];
65
+ reallocationOpportunities?: CommitmentsReallocationOpportunity[];
66
+ pricingContext: CommitmentsPricingContext;
67
+ termStrategy: CommitmentsTermStrategyScenario[];
68
+ freshness?: CommitmentsFreshnessSummary;
69
+ /** @deprecated Legacy read compatibility only. New artifacts should use purchaseRecommendations. */
70
+ vendorRecommendations?: CommitmentsVendorRecommendation[];
71
+ purchaseRecommendations?: TPurchaseRecommendation[];
72
+ diagnostics?: CommitmentsPlanningDiagnostics;
73
+ coverage?: CommitmentsCoverageSummary[];
74
+ renewals?: CommitmentsRenewalDecision[];
75
+ storageCapacity?: CommitmentsStorageCapacitySection;
76
+ risk?: CommitmentsRiskSummary;
77
+ credentialHealth?: CommitmentsCredentialHealthImpact;
78
+ retirementImpact?: CommitmentsRetirementImpactScenario[];
79
+ phasedOptions?: CommitmentsPhasedOption[];
80
+ }
81
+ /**
82
+ * Backward-compatible commitments view surface.
83
+ *
84
+ * New provider-aware producers and runtime validators should use
85
+ * ProviderScopedCommitmentsPlanningView instead.
86
+ */
87
+ export interface CommitmentsPlanningView extends CommitmentsPlanningViewBase {
88
+ providerScope?: CommitmentsPlanningProviderScope;
89
+ subscription?: SubscriptionSummaryLite;
90
+ }
91
+ /** Legacy Azure wire shape retained unchanged while Azure producers migrate. */
92
+ export interface LegacyCommitmentsPlanningView extends CommitmentsPlanningView {
93
+ providerScope?: never;
94
+ }
95
+ /** Provider-aware Azure wire shape. Route validation must compare both identities. */
96
+ export interface AzureCommitmentsPlanningView extends CommitmentsPlanningView {
97
+ providerScope: AzureCommitmentsPlanningProviderScope;
98
+ subscription: SubscriptionSummaryLite;
99
+ }
100
+ /** AWS wire shape with an account identity and AWS-specific inventory and recommendation evidence. */
101
+ export interface AwsCommitmentsPlanningView extends CommitmentsPlanningViewBase<AwsCommitmentsInventoryItem, AwsCommitmentsPurchaseRecommendation> {
102
+ providerScope: AwsCommitmentsPlanningProviderScope;
103
+ subscription?: never;
104
+ credentialHealth?: never;
105
+ storageCapacity?: never;
106
+ }
107
+ /** Strict provider-aware contract for new producers and validation boundaries. */
108
+ export type ProviderScopedCommitmentsPlanningView = AzureCommitmentsPlanningView | AwsCommitmentsPlanningView;
109
+ export interface CommitmentsUtilizationSummary {
110
+ total: number;
111
+ withData: number;
112
+ sevenDayAverage?: number;
113
+ thirtyDayAverage?: number;
114
+ sevenDayAggregates?: IBenefitWeightedUtilizationAggregate[];
115
+ thirtyDayAggregates?: IBenefitWeightedUtilizationAggregate[];
116
+ byBenefitType: Array<{
117
+ benefitType: BenefitType;
118
+ total: number;
119
+ withData: number;
120
+ sevenDayAverage?: number;
121
+ thirtyDayAverage?: number;
122
+ sevenDayAggregates?: IBenefitWeightedUtilizationAggregate[];
123
+ thirtyDayAggregates?: IBenefitWeightedUtilizationAggregate[];
124
+ }>;
125
+ }
126
+ export interface CommitmentsExpirySummary {
127
+ expired: number;
128
+ expiring30d: number;
129
+ expiring60d: number;
130
+ expiring90d: number;
131
+ expiring180d: number;
132
+ }
133
+ export interface CommitmentsInventoryItem {
134
+ id: string;
135
+ benefitType: BenefitType;
136
+ commitmentFamily?: CommitmentsCommitmentFamily;
137
+ sourceKind?: CommitmentsSourceKind;
138
+ sourceId?: string;
139
+ provider?: ProviderName;
140
+ shape?: CommitmentShape;
141
+ scope: BenefitScope;
142
+ appliedScopeType?: CommitmentsAppliedScopeType;
143
+ appliedScopeProperties?: CommitmentsAppliedScopeProperties;
144
+ type: string;
145
+ displayName?: string;
146
+ status: CommitmentsInventoryStatus;
147
+ subscriptionId?: string;
148
+ purchaseDate?: string;
149
+ expiryDate?: string;
150
+ daysToExpiry?: number;
151
+ reservedQuantity?: number;
152
+ commitmentAmount?: number;
153
+ commitmentCurrencyCode?: string;
154
+ commitmentGrain?: string;
155
+ commitmentUnit?: string;
156
+ skuName?: string;
157
+ skuDescription?: string;
158
+ location?: string;
159
+ term?: string;
160
+ termMonths?: number;
161
+ billingPlan?: string;
162
+ billingScopeId?: string;
163
+ appliedScopeDisplayName?: string;
164
+ provisioningState?: string;
165
+ renew?: boolean;
166
+ purchasedQuantity?: number;
167
+ usedQuantity?: number;
168
+ remainingQuantity?: number;
169
+ totalReservedQuantity?: number;
170
+ reservedHours?: number;
171
+ usedHours?: number;
172
+ utilization?: IBenefitUtilization;
173
+ coveragePercent?: number;
174
+ annualCommittedCost?: CommitmentsMoneyAmount;
175
+ optimizationImpact?: CommitmentsMoneyAmount;
176
+ doNotRenewAnnualImpact?: CommitmentsMoneyAmount;
177
+ breakCostEstimate?: CommitmentsBreakCostEstimate;
178
+ riskLevel?: CommitmentsRiskLevel;
179
+ confidence?: CommitmentsConfidenceLevel;
180
+ linkedRecommendationIds?: string[];
181
+ storageDimensions?: CommitmentsStorageDimensions;
182
+ renewalDecisionIds?: string[];
183
+ retirementImpactIds?: string[];
184
+ }
185
+ export interface CommitmentsResourceCoverageItem {
186
+ resourceId: string;
187
+ resourceName?: string;
188
+ resourceType?: string;
189
+ month?: string;
190
+ windowStart?: string;
191
+ windowEnd?: string;
192
+ currency?: string;
193
+ benefitIds: string[];
194
+ benefitNames: string[];
195
+ basis?: BenefitCostBasis;
196
+ coveredQuantity?: number;
197
+ eligibleQuantity?: number;
198
+ coveredCost?: number;
199
+ eligibleCost?: number;
200
+ uncoveredCost?: number;
201
+ coveragePercent?: number;
202
+ recommendationIds?: string[];
203
+ recommendationType?: CommitmentsRecommendationType;
204
+ recommendedAction?: CommitmentsRecommendationAction;
205
+ eligibility?: CommitmentEligibilityMetadata;
206
+ recommendationImpact?: {
207
+ amount?: number;
208
+ currency?: string;
209
+ source?: 'payg-cost' | 'amortized' | 'retail' | 'unknown';
210
+ };
211
+ source?: CommitmentsSourceMetadata;
212
+ benefitBreakdown?: IBenefitCoverageBreakdownEntry[];
213
+ }
214
+ export type CommitmentsRecommendationType = 'reserved-instance' | 'savings-plan' | 'hybrid';
215
+ export type CommitmentEligibilityStatus = 'available_now' | 'unlockable' | 'savings_plan_only' | 'not_eligible' | 'unknown';
216
+ export type CommitmentRecommendationAction = 'buy' | 'unlock' | 'savings-plan' | 'none';
217
+ export type CommitmentsRecommendationAction = 'buy' | 'unlock' | 'savings-plan' | 'none' | 'exchange' | 'resize' | 'review';
218
+ export interface CommitmentShape {
219
+ provider?: 'azure' | 'aws' | 'gcp' | 'unknown';
220
+ resourceType?: string;
221
+ commitmentFamily?: CommitmentsCommitmentFamily;
222
+ skuName?: string;
223
+ normalizedSkuName?: string;
224
+ location?: string;
225
+ region?: string;
226
+ availabilityZone?: string;
227
+ platform?: 'linux' | 'windows' | 'unknown';
228
+ reservationProductName?: string;
229
+ reservedResourceType?: string;
230
+ meterCategory?: string;
231
+ meterSubCategory?: string;
232
+ meterName?: string;
233
+ unit?: CommitmentsReservationUnit | string;
234
+ attributes?: Record<string, string | number | boolean | undefined>;
235
+ }
236
+ export type AwsCommitmentShape = Omit<CommitmentShape, 'provider'> & {
237
+ provider: 'aws';
238
+ };
239
+ export interface CommitmentEligibilityBlocker {
240
+ code: 'unsupported-current-shape' | 'dynamic-workload' | 'existing-coverage' | 'missing-usage-evidence' | 'missing-price-meter' | 'non-covered-charge' | 'unsupported-charge-category' | 'unsupported-reservation-family' | 'unknown';
241
+ message: string;
242
+ source?: string;
243
+ sourceUrl?: string;
244
+ severity?: 'info' | 'warning' | 'blocking';
245
+ }
246
+ export interface CommitmentUnlockAction {
247
+ id: string;
248
+ label: string;
249
+ description?: string;
250
+ actionType?: 'review' | 'upgrade' | 'resize' | 'migrate' | 'validate-baseline' | 'refresh-estimate' | 'other';
251
+ order?: number;
252
+ source?: string;
253
+ }
254
+ export interface CommitmentQuotePolicy {
255
+ mode: 'current-shape' | 'target-shape' | 'savings-plan' | 'not-quoteable' | 'unknown';
256
+ allowCalculatePrice: boolean;
257
+ allowRetailFallback: boolean;
258
+ quoteShape?: 'current' | 'target';
259
+ reason?: string;
260
+ }
261
+ export interface CommitmentUnlockFinancialLedger {
262
+ currentEligibleAnnualCost?: CommitmentsMoneyAmount;
263
+ targetPaygAnnualCost?: CommitmentsMoneyAmount;
264
+ targetShapeAnnualDelta?: CommitmentsMoneyAmount;
265
+ targetReservationAnnualCost?: CommitmentsMoneyAmount;
266
+ expectedAnnualSavingsAfterReservation?: CommitmentsMoneyAmount;
267
+ netAnnualImpactVsCurrent?: CommitmentsMoneyAmount;
268
+ notes?: string[];
269
+ }
270
+ export type CommitmentTargetSelectionStrategy = 'capacity-equivalent' | 'charge-equivalent' | 'source-backed' | 'target-required-but-missing';
271
+ export interface CommitmentEligibilityMetadata {
272
+ status: CommitmentEligibilityStatus;
273
+ action: CommitmentRecommendationAction;
274
+ currentShape?: CommitmentShape;
275
+ targetShape?: CommitmentShape;
276
+ targetSelectionStrategy?: CommitmentTargetSelectionStrategy;
277
+ targetSelectionReason?: string;
278
+ blockers?: CommitmentEligibilityBlocker[];
279
+ unlockActions?: CommitmentUnlockAction[];
280
+ quotePolicy?: CommitmentQuotePolicy;
281
+ unlockFinancialLedger?: CommitmentUnlockFinancialLedger;
282
+ source?: CommitmentsSourceMetadata;
283
+ confidence?: CommitmentsConfidenceLevel;
284
+ }
285
+ export interface CommitmentsSourceMetadata {
286
+ sourceKind: CommitmentsSourceKind;
287
+ sourceId?: string;
288
+ sourceName?: string;
289
+ generatedAt?: string;
290
+ observedAt?: string;
291
+ notes?: string[];
292
+ }
293
+ export type AwsCommitmentsSourceMetadata = Omit<CommitmentsSourceMetadata, 'sourceKind'> & {
294
+ sourceKind: 'aws-native';
295
+ };
296
+ export type AwsCommitmentEligibilityMetadata = Omit<CommitmentEligibilityMetadata, 'currentShape' | 'targetShape' | 'quotePolicy' | 'unlockFinancialLedger' | 'source'> & {
297
+ currentShape?: AwsCommitmentShape;
298
+ targetShape?: AwsCommitmentShape;
299
+ quotePolicy?: never;
300
+ unlockFinancialLedger?: never;
301
+ source?: AwsCommitmentsSourceMetadata;
302
+ };
303
+ export interface CommitmentsMoneyAmount {
304
+ amount: number;
305
+ currency: string;
306
+ source?: 'actual' | 'amortized' | 'retail' | 'negotiated' | 'payg-cost' | 'unknown';
307
+ windowStart?: string;
308
+ windowEnd?: string;
309
+ flags?: string[];
310
+ }
311
+ export interface CommitmentsBreakCostEstimate {
312
+ status: 'estimated' | 'unavailable';
313
+ netBreakCost?: number;
314
+ refundAmount?: number;
315
+ cancellationFee?: number;
316
+ currency?: string;
317
+ policySource: 'azure-policy' | 'billing-scope-policy' | 'not-collected' | 'unknown';
318
+ confidence: CommitmentsConfidenceLevel;
319
+ notes?: string;
320
+ refundLimitConsumed?: number;
321
+ refundLimitMax?: number;
322
+ refundLimitRemaining?: number;
323
+ projectedRefundLimitRemaining?: number;
324
+ refundLimitCurrency?: string;
325
+ policyErrors?: string[];
326
+ }
327
+ export interface CommitmentsResourceReference {
328
+ resourceId: string;
329
+ resourceName?: string;
330
+ resourceType?: string;
331
+ subscriptionId?: string;
332
+ subscriptionName?: string;
333
+ resourceGroup?: string;
334
+ location?: string;
335
+ }
336
+ export interface CommitmentsFreshnessEntry {
337
+ section: string;
338
+ status: CommitmentsFreshnessStatus;
339
+ generatedAt?: string;
340
+ observedAt?: string;
341
+ lastSuccessfulSyncAt?: string;
342
+ reason?: string;
343
+ sourceKind?: CommitmentsSourceKind;
344
+ }
345
+ export interface CommitmentsFreshnessSummary {
346
+ status: CommitmentsFreshnessStatus;
347
+ generatedAt: string;
348
+ entries: CommitmentsFreshnessEntry[];
349
+ warnings?: string[];
350
+ }
351
+ export interface CommitmentsVendorRecommendation {
352
+ id: string;
353
+ commitmentFamily: CommitmentsCommitmentFamily;
354
+ source: CommitmentsSourceMetadata;
355
+ action: CommitmentsRecommendationAction | CommitmentsRenewalAction;
356
+ title?: string;
357
+ description?: string;
358
+ confidence?: CommitmentsConfidenceLevel;
359
+ riskLevel?: CommitmentsRiskLevel;
360
+ estimatedAnnualSavings?: CommitmentsMoneyAmount;
361
+ estimatedAnnualCost?: CommitmentsMoneyAmount;
362
+ impactedResources?: CommitmentsResourceReference[];
363
+ linkedCommitmentIds?: string[];
364
+ }
365
+ export type CommitmentsPurchaseRecommendationScope = 'single-resource-group' | 'single-subscription' | 'linked-account' | 'management-group' | 'shared' | 'unknown';
366
+ export type CommitmentsPurchaseRecommendationCoverageState = 'uncovered' | 'partially-covered' | 'covered' | 'unknown';
367
+ export interface CommitmentsPurchaseRecommendationTermOption {
368
+ termMonths: number;
369
+ currentMonthly?: number;
370
+ targetMonthly?: number;
371
+ potentialMonthlySavings?: number;
372
+ estimatedAnnualSavings?: CommitmentsMoneyAmount;
373
+ estimatedAnnualCost?: CommitmentsMoneyAmount;
374
+ estimatedTermSavings?: CommitmentsMoneyAmount;
375
+ estimatedTermCost?: CommitmentsMoneyAmount;
376
+ }
377
+ export interface CommitmentsReservationPurchaseQuote {
378
+ generatedAt: string;
379
+ status: 'quoted' | 'estimated' | 'unavailable';
380
+ source?: 'calculate-price' | 'retail-prices';
381
+ request: {
382
+ skuName: string;
383
+ location: string;
384
+ currencyCode?: string;
385
+ quantity: number;
386
+ term: 'P1Y' | 'P3Y' | 'P5Y';
387
+ billingPlan: 'Upfront' | 'Monthly';
388
+ reservedResourceType?: string;
389
+ appliedScopeType: 'Single' | 'Shared' | 'ManagementGroup' | 'SingleResourceGroup';
390
+ billingScopeId: string;
391
+ currentShape?: CommitmentShape;
392
+ targetShape?: CommitmentShape;
393
+ quoteShape?: CommitmentShape;
394
+ eligibility?: CommitmentEligibilityMetadata;
395
+ quotePolicy?: CommitmentQuotePolicy;
396
+ instanceFlexibility?: 'On' | 'Off';
397
+ appliedScopeProperties?: {
398
+ subscriptionId?: string;
399
+ resourceGroupId?: string;
400
+ tenantId?: string;
401
+ managementGroupId?: string;
402
+ };
403
+ };
404
+ response?: unknown;
405
+ billingCurrencyTotal?: {
406
+ amount: number;
407
+ currency: string;
408
+ };
409
+ pricingCurrencyTotal?: {
410
+ amount: number;
411
+ currency: string;
412
+ };
413
+ paymentSchedule?: unknown[];
414
+ reservationOrderId?: string;
415
+ error?: {
416
+ status?: number;
417
+ message?: string;
418
+ eligibility?: CommitmentEligibilityMetadata;
419
+ blockers?: CommitmentEligibilityBlocker[];
420
+ unlockActions?: CommitmentUnlockAction[];
421
+ };
422
+ }
423
+ export interface CommitmentsPurchaseRecommendation {
424
+ id: string;
425
+ groupKey: string;
426
+ commitmentFamily: CommitmentsCommitmentFamily;
427
+ action: CommitmentRecommendationAction;
428
+ eligibility?: CommitmentEligibilityMetadata;
429
+ currentShape?: CommitmentShape;
430
+ targetShape?: CommitmentShape;
431
+ blockers?: CommitmentEligibilityBlocker[];
432
+ unlockActions?: CommitmentUnlockAction[];
433
+ quotePolicy?: CommitmentQuotePolicy;
434
+ unlockFinancialLedger?: CommitmentUnlockFinancialLedger;
435
+ purchaseScope?: CommitmentsPurchaseRecommendationScope;
436
+ appliedScopeProperties?: CommitmentsAppliedScopeProperties;
437
+ source?: CommitmentsSourceMetadata;
438
+ title?: string;
439
+ description?: string;
440
+ confidence?: CommitmentsConfidenceLevel;
441
+ riskLevel?: CommitmentsRiskLevel;
442
+ location?: string;
443
+ skuName?: string;
444
+ normalizedSkuName?: string;
445
+ resourceType?: string;
446
+ vmSizeFlexibilityGroup?: string;
447
+ termMonths?: number;
448
+ quantity?: number;
449
+ coverageState?: CommitmentsPurchaseRecommendationCoverageState;
450
+ estimatedAnnualSavings?: CommitmentsMoneyAmount;
451
+ estimatedAnnualCost?: CommitmentsMoneyAmount;
452
+ estimatedTermSavings?: CommitmentsMoneyAmount;
453
+ estimatedTermCost?: CommitmentsMoneyAmount;
454
+ termOptions?: CommitmentsPurchaseRecommendationTermOption[];
455
+ pricingQuote?: CommitmentsReservationPurchaseQuote;
456
+ impactedResources?: CommitmentsResourceReference[];
457
+ sourceRecommendationIds?: string[];
458
+ linkedCommitmentIds?: string[];
459
+ notes?: string[];
460
+ }
461
+ export interface AwsCommitmentsAppliedScopeProperties {
462
+ accountId: string;
463
+ region?: string;
464
+ availabilityZone?: string;
465
+ }
466
+ export type AwsCommitmentsInventoryItem = Omit<CommitmentsInventoryItem, 'sourceKind' | 'provider' | 'shape' | 'appliedScopeType' | 'appliedScopeProperties' | 'subscriptionId'> & {
467
+ sourceKind: 'aws-native';
468
+ provider: ProviderName.Aws;
469
+ shape?: AwsCommitmentShape;
470
+ subscriptionId?: never;
471
+ appliedScopeType: 'linked-account';
472
+ appliedScopeProperties: AwsCommitmentsAppliedScopeProperties;
473
+ };
474
+ export type AwsCommitmentsPurchaseRecommendation = Omit<CommitmentsPurchaseRecommendation, 'eligibility' | 'source' | 'currentShape' | 'targetShape' | 'quotePolicy' | 'unlockFinancialLedger' | 'purchaseScope' | 'appliedScopeProperties' | 'pricingQuote'> & {
475
+ eligibility?: AwsCommitmentEligibilityMetadata;
476
+ source: AwsCommitmentsSourceMetadata;
477
+ currentShape?: AwsCommitmentShape;
478
+ targetShape: AwsCommitmentShape;
479
+ quotePolicy?: never;
480
+ unlockFinancialLedger?: never;
481
+ purchaseScope: 'linked-account';
482
+ appliedScopeProperties: AwsCommitmentsAppliedScopeProperties;
483
+ pricingQuote?: never;
484
+ };
485
+ export interface CommitmentsPlanningDiagnostics {
486
+ purchaseRecommendations?: CommitmentsPurchaseRecommendationDiagnostics;
487
+ }
488
+ export interface CommitmentsPurchaseRecommendationDiagnostics {
489
+ generatedAt?: string;
490
+ inputCounts?: Record<string, number>;
491
+ outputCounts?: {
492
+ total: number;
493
+ byAction?: Partial<Record<CommitmentRecommendationAction, number>>;
494
+ byStatus?: Partial<Record<CommitmentEligibilityStatus, number>>;
495
+ bySourceKind?: Partial<Record<CommitmentsSourceKind, number>>;
496
+ unattributed?: number;
497
+ };
498
+ suppressedCounts?: Record<string, number>;
499
+ notes?: string[];
500
+ }
501
+ export interface CommitmentsCoverageSummary {
502
+ commitmentFamily: CommitmentsCommitmentFamily;
503
+ basis?: BenefitCostBasis;
504
+ windowStart?: string;
505
+ windowEnd?: string;
506
+ eligibleCost?: CommitmentsMoneyAmount;
507
+ coveredCost?: CommitmentsMoneyAmount;
508
+ uncoveredCost?: CommitmentsMoneyAmount;
509
+ coveragePercent?: number;
510
+ impactedResources?: CommitmentsResourceReference[];
511
+ source?: CommitmentsSourceMetadata;
512
+ }
513
+ export interface CommitmentsRiskSummary {
514
+ overallRisk: CommitmentsRiskLevel;
515
+ overcommitmentRisk?: CommitmentsRiskLevel;
516
+ undercoverageRisk?: CommitmentsRiskLevel;
517
+ staleDataRisk?: CommitmentsRiskLevel;
518
+ currency?: string;
519
+ expectedWaste?: number;
520
+ expectedUncoveredCost?: number;
521
+ notes?: string[];
522
+ }
523
+ export interface CommitmentsStorageDimensions {
524
+ serviceFamily: 'blob' | 'adls-gen2' | 'azure-files';
525
+ accountKind?: 'StorageV2' | 'BlobStorage' | 'FileStorage' | 'Storage' | string;
526
+ billingModel?: CommitmentsStorageBillingModel;
527
+ accessTier?: CommitmentsStorageAccessTier;
528
+ redundancy?: CommitmentsStorageRedundancy;
529
+ location?: string;
530
+ unit: CommitmentsReservationUnit;
531
+ eligible: boolean;
532
+ eligibilityReasons?: string[];
533
+ }
534
+ export interface CommitmentsCapacityTrendPoint {
535
+ month: string;
536
+ usedTiB?: number;
537
+ eligibleTiB?: number;
538
+ coveredTiB?: number;
539
+ cost?: CommitmentsMoneyAmount;
540
+ }
541
+ export interface CommitmentsStorageCapacityCandidate {
542
+ id: string;
543
+ commitmentFamily: Extract<CommitmentsCommitmentFamily, 'blob-storage-reserved-capacity' | 'adls-reserved-capacity' | 'azure-files-reservation'>;
544
+ storageDimensions: CommitmentsStorageDimensions;
545
+ recommendedUnits: number;
546
+ unitSizeTiB: 10 | 100 | 1024;
547
+ termMonths: 12 | 36;
548
+ currentMonthlyEligibleTiB?: number;
549
+ projectedCoveredTiB?: number;
550
+ projectedWasteTiB?: number;
551
+ estimatedAnnualSavings?: CommitmentsMoneyAmount;
552
+ estimatedAnnualCost?: CommitmentsMoneyAmount;
553
+ confidence?: CommitmentsConfidenceLevel;
554
+ riskLevel?: CommitmentsRiskLevel;
555
+ trend?: CommitmentsCapacityTrendPoint[];
556
+ impactedResources?: CommitmentsResourceReference[];
557
+ source?: CommitmentsSourceMetadata;
558
+ }
559
+ export interface CommitmentsStorageCapacitySection {
560
+ candidates: CommitmentsStorageCapacityCandidate[];
561
+ suppressedCandidates?: Array<{
562
+ id: string;
563
+ commitmentFamily: CommitmentsCommitmentFamily;
564
+ reason: string;
565
+ missingDimensions?: string[];
566
+ impactedResources?: CommitmentsResourceReference[];
567
+ }>;
568
+ summary?: {
569
+ totalCandidates: number;
570
+ estimatedAnnualSavings?: CommitmentsMoneyAmount;
571
+ estimatedAnnualCost?: CommitmentsMoneyAmount;
572
+ riskLevel?: CommitmentsRiskLevel;
573
+ };
574
+ }
575
+ export type CommitmentsRecommendationReviewReason = 'commitment-direct' | 'modernization-before-renewal' | 'rightsizing-before-renewal' | 'licensing-before-renewal' | 'location-or-scope-change' | 'resource-risk';
576
+ export interface CommitmentsRecommendationReviewSummary {
577
+ id: string;
578
+ name: string;
579
+ category?: string;
580
+ subCategory?: string;
581
+ impact?: string;
582
+ effort?: string;
583
+ risk?: string;
584
+ priorityTier?: string;
585
+ headline?: string;
586
+ plainSummary?: string;
587
+ normalizedScore?: number;
588
+ finalScore?: number;
589
+ estimatedSavings?: CommitmentsMoneyAmount;
590
+ resourceIds: string[];
591
+ reasons: CommitmentsRecommendationReviewReason[];
592
+ }
593
+ export interface CommitmentsRenewalDecision {
594
+ id: string;
595
+ commitmentId: string;
596
+ commitmentFamily: CommitmentsCommitmentFamily;
597
+ action: CommitmentsRenewalAction;
598
+ title?: string;
599
+ expiryDate?: string;
600
+ daysToExpiry?: number;
601
+ confidence?: CommitmentsConfidenceLevel;
602
+ riskLevel?: CommitmentsRiskLevel;
603
+ estimatedAnnualSavings?: CommitmentsMoneyAmount;
604
+ estimatedAnnualCostDelta?: CommitmentsMoneyAmount;
605
+ modernizationTarget?: {
606
+ currentSku?: string;
607
+ targetSku?: string;
608
+ currentFamily?: string;
609
+ targetFamily?: string;
610
+ reasonCodes?: string[];
611
+ };
612
+ impactedResources?: CommitmentsResourceReference[];
613
+ recommendationsToReview?: CommitmentsRecommendationReviewSummary[];
614
+ source?: CommitmentsSourceMetadata;
615
+ }
616
+ export interface CommitmentsRetirementImpactScenario {
617
+ id: string;
618
+ commitmentId?: string;
619
+ commitmentFamily?: CommitmentsCommitmentFamily;
620
+ scenario: 'do-not-renew' | 'expired' | 'credential-expired' | 'credential-expiring';
621
+ title?: string;
622
+ effectiveDate?: string;
623
+ incrementalMonthlyCost?: CommitmentsMoneyAmount;
624
+ incrementalAnnualCost?: CommitmentsMoneyAmount;
625
+ impactedResources?: CommitmentsResourceReference[];
626
+ linkedRetirementIds?: string[];
627
+ confidence?: CommitmentsConfidenceLevel;
628
+ riskLevel?: CommitmentsRiskLevel;
629
+ source?: CommitmentsSourceMetadata;
630
+ }
631
+ export interface CommitmentsCredentialHealthImpact {
632
+ status: CommitmentsCredentialStatus;
633
+ cloudAccountId?: string;
634
+ credentialId?: string;
635
+ expiresAt?: string;
636
+ lastSuccessfulSyncAt?: string;
637
+ staleSections: string[];
638
+ impactedResourceCount?: number;
639
+ impactedResources?: CommitmentsResourceReference[];
640
+ impactedCommitmentIds?: string[];
641
+ warnings?: string[];
642
+ }
643
+ export interface CommitmentsPhasedOption {
644
+ id: string;
645
+ label: 'starter' | 'recommended' | 'aggressive' | 'custom';
646
+ commitmentFamily: CommitmentsCommitmentFamily;
647
+ action: CommitmentsRecommendationAction | CommitmentsRenewalAction;
648
+ termMonths?: 12 | 36;
649
+ quantity?: number;
650
+ hourlyCommitmentAmount?: CommitmentsMoneyAmount;
651
+ annualCommitmentCost?: CommitmentsMoneyAmount;
652
+ estimatedAnnualSavings?: CommitmentsMoneyAmount;
653
+ expectedCoveragePercent?: number;
654
+ expectedWastePercent?: number;
655
+ confidence?: CommitmentsConfidenceLevel;
656
+ riskLevel?: CommitmentsRiskLevel;
657
+ impactedResources?: CommitmentsResourceReference[];
658
+ source?: CommitmentsSourceMetadata;
659
+ }
660
+ export type CommitmentsObsoleteCandidateType = 'underutilized' | 'coverage-drift' | 'sku-mismatch' | 'near-expiry';
661
+ export type CommitmentsSuggestedAction = 'renew' | 'let-expire' | 'exchange' | 'resize' | 'review';
662
+ export interface CommitmentsObsoleteCandidate {
663
+ id: string;
664
+ candidateType: CommitmentsObsoleteCandidateType;
665
+ reasonCodes: string[];
666
+ suggestedAction: CommitmentsSuggestedAction;
667
+ confidence?: number;
668
+ impactEstimate?: {
669
+ amount?: number;
670
+ currency?: string;
671
+ currencySymbol?: string;
672
+ source?: 'payg-cost' | 'amortized' | 'retail' | 'unknown';
673
+ notes?: string;
674
+ windowStart?: string;
675
+ windowEnd?: string;
676
+ flags?: string[];
677
+ };
678
+ relatedBenefitIds?: string[];
679
+ }
680
+ export interface CommitmentsReallocationResourceReference {
681
+ resourceId: string;
682
+ resourceName?: string;
683
+ resourceType?: string;
684
+ subscriptionId?: string;
685
+ subscriptionName?: string;
686
+ }
687
+ export interface CommitmentsReallocationOpportunity {
688
+ id: string;
689
+ fromResource: CommitmentsReallocationResourceReference;
690
+ toResource: CommitmentsReallocationResourceReference;
691
+ estimatedNetSavings?: number;
692
+ currency?: string;
693
+ source?: 'payg-cost' | 'amortized' | 'retail' | 'unknown';
694
+ confidence?: number;
695
+ assumptions?: string[];
696
+ benefitIds?: string[];
697
+ benefitNames?: string[];
698
+ recommendationIds?: string[];
699
+ obsoleteCandidateIds?: string[];
700
+ }
701
+ export interface CommitmentsPricingContext {
702
+ source: 'retail' | 'negotiated' | 'unknown' | 'recommendation-apis';
703
+ currency?: string;
704
+ assumptions?: string[];
705
+ confidenceNotes?: string;
706
+ calculatorDeepLink?: string;
707
+ }
708
+ export interface CommitmentsPolicyInputs {
709
+ earlyTerminationFeePercent?: number;
710
+ rollingCancellationCap?: number;
711
+ exchangeAllowed: boolean;
712
+ policyVersion: string;
713
+ }
714
+ export interface CommitmentsTermStrategyScenario {
715
+ scenarioId: string;
716
+ termMonths: number;
717
+ breakMonth?: number;
718
+ policyInputs: CommitmentsPolicyInputs;
719
+ projectedGrossSavings?: number;
720
+ projectedBreakCost?: number;
721
+ projectedNetSavings?: number;
722
+ /** Net savings normalized to a 12-month comparison period. */
723
+ annualizedProjectedNetSavings?: number;
724
+ breakEvenMonth?: number;
725
+ recommended?: boolean;
726
+ currency?: string;
727
+ notes?: string;
728
+ }
729
+ //# sourceMappingURL=commitmentsPlanning.d.ts.map