levelfour 1.12.0 → 1.14.0
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/dist/api/resources/azure/client/Client.d.mts +20 -0
- package/dist/api/resources/azure/client/Client.d.ts +20 -0
- package/dist/api/resources/azure/client/Client.js +109 -0
- package/dist/api/resources/azure/client/Client.mjs +109 -0
- package/dist/api/resources/azure/client/requests/GetInventoryBreakdownApiV1ProvidersAzureInventoryBreakdownGetRequest.d.mts +8 -0
- package/dist/api/resources/azure/client/requests/GetInventoryBreakdownApiV1ProvidersAzureInventoryBreakdownGetRequest.d.ts +8 -0
- package/dist/api/resources/azure/client/requests/GetInventoryBreakdownApiV1ProvidersAzureInventoryBreakdownGetRequest.js +17 -0
- package/dist/api/resources/azure/client/requests/GetInventoryBreakdownApiV1ProvidersAzureInventoryBreakdownGetRequest.mjs +1 -0
- package/dist/api/resources/azure/client/requests/index.d.mts +1 -0
- package/dist/api/resources/azure/client/requests/index.d.ts +1 -0
- package/dist/api/resources/azure/index.d.mts +1 -0
- package/dist/api/resources/azure/index.d.ts +1 -0
- package/dist/api/resources/azure/index.js +3 -1
- package/dist/api/resources/azure/index.mjs +1 -0
- package/dist/api/resources/azure/types/GetInventoryBreakdownApiV1ProvidersAzureInventoryBreakdownGetRequestBy.d.mts +6 -0
- package/dist/api/resources/azure/types/GetInventoryBreakdownApiV1ProvidersAzureInventoryBreakdownGetRequestBy.d.ts +6 -0
- package/dist/api/resources/azure/types/GetInventoryBreakdownApiV1ProvidersAzureInventoryBreakdownGetRequestBy.js +33 -0
- package/dist/api/resources/azure/types/GetInventoryBreakdownApiV1ProvidersAzureInventoryBreakdownGetRequestBy.mjs +9 -0
- package/dist/api/resources/azure/types/index.d.mts +1 -0
- package/dist/api/resources/azure/types/index.d.ts +1 -0
- package/dist/api/resources/azure/types/index.js +23 -0
- package/dist/api/resources/azure/types/index.mjs +2 -0
- package/dist/api/resources/costs/client/Client.js +98 -18
- package/dist/api/resources/costs/client/Client.mjs +98 -18
- package/dist/api/resources/costs/client/requests/GetAllocationApiV1CostsAllocationGetRequest.d.mts +2 -0
- package/dist/api/resources/costs/client/requests/GetAllocationApiV1CostsAllocationGetRequest.d.ts +2 -0
- package/dist/api/resources/costs/client/requests/GetCostByTagApiV1CostsByTagGetRequest.d.mts +2 -0
- package/dist/api/resources/costs/client/requests/GetCostByTagApiV1CostsByTagGetRequest.d.ts +2 -0
- package/dist/api/resources/costs/client/requests/GetDailyCostsCostsRequest.d.mts +2 -0
- package/dist/api/resources/costs/client/requests/GetDailyCostsCostsRequest.d.ts +2 -0
- package/dist/api/resources/costs/client/requests/GetForecastApiV1CostsForecastGetRequest.d.mts +2 -0
- package/dist/api/resources/costs/client/requests/GetForecastApiV1CostsForecastGetRequest.d.ts +2 -0
- package/dist/api/resources/costs/client/requests/GetProviderFiltersCostsRequest.d.mts +24 -0
- package/dist/api/resources/costs/client/requests/GetProviderFiltersCostsRequest.d.ts +24 -0
- package/dist/api/resources/costs/client/requests/GetSummaryCostsRequest.d.mts +2 -0
- package/dist/api/resources/costs/client/requests/GetSummaryCostsRequest.d.ts +2 -0
- package/dist/api/resources/costs/client/requests/GetTopGrowingApiV1CostsTopGrowingGetRequest.d.mts +2 -0
- package/dist/api/resources/costs/client/requests/GetTopGrowingApiV1CostsTopGrowingGetRequest.d.ts +2 -0
- package/dist/api/resources/costs/client/requests/GetUsageApiV1CostsUsageGetRequest.d.mts +2 -0
- package/dist/api/resources/costs/client/requests/GetUsageApiV1CostsUsageGetRequest.d.ts +2 -0
- package/dist/api/resources/costs/client/requests/ListByProviderCostsRequest.d.mts +24 -0
- package/dist/api/resources/costs/client/requests/ListByProviderCostsRequest.d.ts +24 -0
- package/dist/api/resources/costs/types/GetAllocationApiV1CostsAllocationGetRequestShowCostAs.d.mts +7 -0
- package/dist/api/resources/costs/types/GetAllocationApiV1CostsAllocationGetRequestShowCostAs.d.ts +7 -0
- package/dist/api/resources/costs/types/GetAllocationApiV1CostsAllocationGetRequestShowCostAs.js +33 -0
- package/dist/api/resources/costs/types/GetAllocationApiV1CostsAllocationGetRequestShowCostAs.mjs +9 -0
- package/dist/api/resources/costs/types/GetCostByTagApiV1CostsByTagGetRequestShowCostAs.d.mts +7 -0
- package/dist/api/resources/costs/types/GetCostByTagApiV1CostsByTagGetRequestShowCostAs.d.ts +7 -0
- package/dist/api/resources/costs/types/GetCostByTagApiV1CostsByTagGetRequestShowCostAs.js +33 -0
- package/dist/api/resources/costs/types/GetCostByTagApiV1CostsByTagGetRequestShowCostAs.mjs +9 -0
- package/dist/api/resources/costs/types/GetDailyCostsCostsRequestShowCostAs.d.mts +7 -0
- package/dist/api/resources/costs/types/GetDailyCostsCostsRequestShowCostAs.d.ts +7 -0
- package/dist/api/resources/costs/types/GetDailyCostsCostsRequestShowCostAs.js +33 -0
- package/dist/api/resources/costs/types/GetDailyCostsCostsRequestShowCostAs.mjs +9 -0
- package/dist/api/resources/costs/types/GetForecastApiV1CostsForecastGetRequestShowCostAs.d.mts +7 -0
- package/dist/api/resources/costs/types/GetForecastApiV1CostsForecastGetRequestShowCostAs.d.ts +7 -0
- package/dist/api/resources/costs/types/GetForecastApiV1CostsForecastGetRequestShowCostAs.js +33 -0
- package/dist/api/resources/costs/types/GetForecastApiV1CostsForecastGetRequestShowCostAs.mjs +9 -0
- package/dist/api/resources/costs/types/GetProviderFiltersCostsRequestBenefitNameMode.d.mts +5 -0
- package/dist/api/resources/costs/types/GetProviderFiltersCostsRequestBenefitNameMode.d.ts +5 -0
- package/dist/api/resources/costs/types/GetProviderFiltersCostsRequestBenefitNameMode.js +32 -0
- package/dist/api/resources/costs/types/GetProviderFiltersCostsRequestBenefitNameMode.mjs +8 -0
- package/dist/api/resources/costs/types/GetProviderFiltersCostsRequestBillingProfileMode.d.mts +5 -0
- package/dist/api/resources/costs/types/GetProviderFiltersCostsRequestBillingProfileMode.d.ts +5 -0
- package/dist/api/resources/costs/types/GetProviderFiltersCostsRequestBillingProfileMode.js +32 -0
- package/dist/api/resources/costs/types/GetProviderFiltersCostsRequestBillingProfileMode.mjs +8 -0
- package/dist/api/resources/costs/types/GetProviderFiltersCostsRequestInvoiceSectionMode.d.mts +5 -0
- package/dist/api/resources/costs/types/GetProviderFiltersCostsRequestInvoiceSectionMode.d.ts +5 -0
- package/dist/api/resources/costs/types/GetProviderFiltersCostsRequestInvoiceSectionMode.js +32 -0
- package/dist/api/resources/costs/types/GetProviderFiltersCostsRequestInvoiceSectionMode.mjs +8 -0
- package/dist/api/resources/costs/types/GetProviderFiltersCostsRequestMeterNameMode.d.mts +5 -0
- package/dist/api/resources/costs/types/GetProviderFiltersCostsRequestMeterNameMode.d.ts +5 -0
- package/dist/api/resources/costs/types/GetProviderFiltersCostsRequestMeterNameMode.js +32 -0
- package/dist/api/resources/costs/types/GetProviderFiltersCostsRequestMeterNameMode.mjs +8 -0
- package/dist/api/resources/costs/types/GetProviderFiltersCostsRequestMeterSubcategoryMode.d.mts +5 -0
- package/dist/api/resources/costs/types/GetProviderFiltersCostsRequestMeterSubcategoryMode.d.ts +5 -0
- package/dist/api/resources/costs/types/GetProviderFiltersCostsRequestMeterSubcategoryMode.js +32 -0
- package/dist/api/resources/costs/types/GetProviderFiltersCostsRequestMeterSubcategoryMode.mjs +8 -0
- package/dist/api/resources/costs/types/GetProviderFiltersCostsRequestProductMode.d.mts +5 -0
- package/dist/api/resources/costs/types/GetProviderFiltersCostsRequestProductMode.d.ts +5 -0
- package/dist/api/resources/costs/types/GetProviderFiltersCostsRequestProductMode.js +32 -0
- package/dist/api/resources/costs/types/GetProviderFiltersCostsRequestProductMode.mjs +8 -0
- package/dist/api/resources/costs/types/GetProviderFiltersCostsRequestPublisherTypeMode.d.mts +5 -0
- package/dist/api/resources/costs/types/GetProviderFiltersCostsRequestPublisherTypeMode.d.ts +5 -0
- package/dist/api/resources/costs/types/GetProviderFiltersCostsRequestPublisherTypeMode.js +32 -0
- package/dist/api/resources/costs/types/GetProviderFiltersCostsRequestPublisherTypeMode.mjs +8 -0
- package/dist/api/resources/costs/types/GetProviderFiltersCostsRequestServiceFamilyMode.d.mts +5 -0
- package/dist/api/resources/costs/types/GetProviderFiltersCostsRequestServiceFamilyMode.d.ts +5 -0
- package/dist/api/resources/costs/types/GetProviderFiltersCostsRequestServiceFamilyMode.js +32 -0
- package/dist/api/resources/costs/types/GetProviderFiltersCostsRequestServiceFamilyMode.mjs +8 -0
- package/dist/api/resources/costs/types/GetSummaryCostsRequestShowCostAs.d.mts +7 -0
- package/dist/api/resources/costs/types/GetSummaryCostsRequestShowCostAs.d.ts +7 -0
- package/dist/api/resources/costs/types/GetSummaryCostsRequestShowCostAs.js +33 -0
- package/dist/api/resources/costs/types/GetSummaryCostsRequestShowCostAs.mjs +9 -0
- package/dist/api/resources/costs/types/GetTopGrowingApiV1CostsTopGrowingGetRequestShowCostAs.d.mts +7 -0
- package/dist/api/resources/costs/types/GetTopGrowingApiV1CostsTopGrowingGetRequestShowCostAs.d.ts +7 -0
- package/dist/api/resources/costs/types/GetTopGrowingApiV1CostsTopGrowingGetRequestShowCostAs.js +33 -0
- package/dist/api/resources/costs/types/GetTopGrowingApiV1CostsTopGrowingGetRequestShowCostAs.mjs +9 -0
- package/dist/api/resources/costs/types/GetUsageApiV1CostsUsageGetRequestShowCostAs.d.mts +7 -0
- package/dist/api/resources/costs/types/GetUsageApiV1CostsUsageGetRequestShowCostAs.d.ts +7 -0
- package/dist/api/resources/costs/types/GetUsageApiV1CostsUsageGetRequestShowCostAs.js +33 -0
- package/dist/api/resources/costs/types/GetUsageApiV1CostsUsageGetRequestShowCostAs.mjs +9 -0
- package/dist/api/resources/costs/types/ListByProviderCostsRequestBenefitNameMode.d.mts +5 -0
- package/dist/api/resources/costs/types/ListByProviderCostsRequestBenefitNameMode.d.ts +5 -0
- package/dist/api/resources/costs/types/ListByProviderCostsRequestBenefitNameMode.js +32 -0
- package/dist/api/resources/costs/types/ListByProviderCostsRequestBenefitNameMode.mjs +8 -0
- package/dist/api/resources/costs/types/ListByProviderCostsRequestBillingProfileMode.d.mts +5 -0
- package/dist/api/resources/costs/types/ListByProviderCostsRequestBillingProfileMode.d.ts +5 -0
- package/dist/api/resources/costs/types/ListByProviderCostsRequestBillingProfileMode.js +32 -0
- package/dist/api/resources/costs/types/ListByProviderCostsRequestBillingProfileMode.mjs +8 -0
- package/dist/api/resources/costs/types/ListByProviderCostsRequestInvoiceSectionMode.d.mts +5 -0
- package/dist/api/resources/costs/types/ListByProviderCostsRequestInvoiceSectionMode.d.ts +5 -0
- package/dist/api/resources/costs/types/ListByProviderCostsRequestInvoiceSectionMode.js +32 -0
- package/dist/api/resources/costs/types/ListByProviderCostsRequestInvoiceSectionMode.mjs +8 -0
- package/dist/api/resources/costs/types/ListByProviderCostsRequestMeterNameMode.d.mts +5 -0
- package/dist/api/resources/costs/types/ListByProviderCostsRequestMeterNameMode.d.ts +5 -0
- package/dist/api/resources/costs/types/ListByProviderCostsRequestMeterNameMode.js +32 -0
- package/dist/api/resources/costs/types/ListByProviderCostsRequestMeterNameMode.mjs +8 -0
- package/dist/api/resources/costs/types/ListByProviderCostsRequestMeterSubcategoryMode.d.mts +5 -0
- package/dist/api/resources/costs/types/ListByProviderCostsRequestMeterSubcategoryMode.d.ts +5 -0
- package/dist/api/resources/costs/types/ListByProviderCostsRequestMeterSubcategoryMode.js +32 -0
- package/dist/api/resources/costs/types/ListByProviderCostsRequestMeterSubcategoryMode.mjs +8 -0
- package/dist/api/resources/costs/types/ListByProviderCostsRequestProductMode.d.mts +5 -0
- package/dist/api/resources/costs/types/ListByProviderCostsRequestProductMode.d.ts +5 -0
- package/dist/api/resources/costs/types/ListByProviderCostsRequestProductMode.js +32 -0
- package/dist/api/resources/costs/types/ListByProviderCostsRequestProductMode.mjs +8 -0
- package/dist/api/resources/costs/types/ListByProviderCostsRequestPublisherTypeMode.d.mts +5 -0
- package/dist/api/resources/costs/types/ListByProviderCostsRequestPublisherTypeMode.d.ts +5 -0
- package/dist/api/resources/costs/types/ListByProviderCostsRequestPublisherTypeMode.js +32 -0
- package/dist/api/resources/costs/types/ListByProviderCostsRequestPublisherTypeMode.mjs +8 -0
- package/dist/api/resources/costs/types/ListByProviderCostsRequestServiceFamilyMode.d.mts +5 -0
- package/dist/api/resources/costs/types/ListByProviderCostsRequestServiceFamilyMode.d.ts +5 -0
- package/dist/api/resources/costs/types/ListByProviderCostsRequestServiceFamilyMode.js +32 -0
- package/dist/api/resources/costs/types/ListByProviderCostsRequestServiceFamilyMode.mjs +8 -0
- package/dist/api/resources/costs/types/index.d.mts +23 -0
- package/dist/api/resources/costs/types/index.d.ts +23 -0
- package/dist/api/resources/costs/types/index.js +46 -0
- package/dist/api/resources/costs/types/index.mjs +23 -0
- package/dist/api/resources/index.d.mts +1 -0
- package/dist/api/resources/index.d.ts +1 -0
- package/dist/api/resources/index.js +2 -0
- package/dist/api/resources/index.mjs +1 -0
- package/dist/api/types/AgentCpuSetElsewhere.d.mts +20 -0
- package/dist/api/types/AgentCpuSetElsewhere.d.ts +20 -0
- package/dist/api/types/AgentCpuSetElsewhere.js +17 -0
- package/dist/api/types/AgentCpuSetElsewhere.mjs +1 -0
- package/dist/api/types/AllocationData.d.mts +9 -0
- package/dist/api/types/AllocationData.d.ts +9 -0
- package/dist/api/types/AllocationData.js +5 -0
- package/dist/api/types/AllocationData.mjs +5 -0
- package/dist/api/types/AnomalyDetail.d.mts +8 -0
- package/dist/api/types/AnomalyDetail.d.ts +8 -0
- package/dist/api/types/AnomalyDetail.js +4 -0
- package/dist/api/types/AnomalyDetail.mjs +4 -0
- package/dist/api/types/AnomalyListItem.d.mts +8 -0
- package/dist/api/types/AnomalyListItem.d.ts +8 -0
- package/dist/api/types/AnomalyListItem.js +4 -0
- package/dist/api/types/AnomalyListItem.mjs +4 -0
- package/dist/api/types/AutomationAction.d.mts +2 -0
- package/dist/api/types/AutomationAction.d.ts +2 -0
- package/dist/api/types/AutomationComponent.d.mts +2 -0
- package/dist/api/types/AutomationComponent.d.ts +2 -0
- package/dist/api/types/AutomationEvent.d.mts +8 -2
- package/dist/api/types/AutomationEvent.d.ts +8 -2
- package/dist/api/types/AzureBudgetItem.d.mts +14 -3
- package/dist/api/types/AzureBudgetItem.d.ts +14 -3
- package/dist/api/types/AzureDataAvailabilityData.d.mts +4 -0
- package/dist/api/types/AzureDataAvailabilityData.d.ts +4 -0
- package/dist/api/types/AzureInventoryBreakdownData.d.mts +20 -0
- package/dist/api/types/AzureInventoryBreakdownData.d.ts +20 -0
- package/dist/api/types/AzureInventoryBreakdownData.js +41 -0
- package/dist/api/types/AzureInventoryBreakdownData.mjs +17 -0
- package/dist/api/types/AzureInventoryBreakdownItem.d.mts +18 -0
- package/dist/api/types/AzureInventoryBreakdownItem.d.ts +18 -0
- package/dist/api/types/AzureInventoryBreakdownItem.js +35 -0
- package/dist/api/types/AzureInventoryBreakdownItem.mjs +11 -0
- package/dist/api/types/AzureInventoryBreakdownResponse.d.mts +6 -0
- package/dist/api/types/AzureInventoryBreakdownResponse.d.ts +6 -0
- package/dist/api/types/AzureInventoryBreakdownResponse.js +17 -0
- package/dist/api/types/AzureInventoryBreakdownResponse.mjs +1 -0
- package/dist/api/types/AzureSubscriptionItem.d.mts +12 -3
- package/dist/api/types/AzureSubscriptionItem.d.ts +12 -3
- package/dist/api/types/AzureSubscriptionItem.js +18 -0
- package/dist/api/types/AzureSubscriptionItem.mjs +10 -0
- package/dist/api/types/BodyUploadInvoiceApiV1CustomerInvoicesPost.d.mts +17 -0
- package/dist/api/types/BodyUploadInvoiceApiV1CustomerInvoicesPost.d.ts +17 -0
- package/dist/api/types/BodyUploadInvoiceApiV1CustomerInvoicesPost.js +35 -0
- package/dist/api/types/BodyUploadInvoiceApiV1CustomerInvoicesPost.mjs +11 -0
- package/dist/api/types/ClusterAutomation.d.mts +1 -0
- package/dist/api/types/ClusterAutomation.d.ts +1 -0
- package/dist/api/types/ClusterItem.d.mts +2 -0
- package/dist/api/types/ClusterItem.d.ts +2 -0
- package/dist/api/types/ConsolidationBlockersData.d.mts +1 -0
- package/dist/api/types/ConsolidationBlockersData.d.ts +1 -0
- package/dist/api/types/DailySpendingBreakdownData.d.mts +11 -0
- package/dist/api/types/DailySpendingBreakdownData.d.ts +11 -0
- package/dist/api/types/DailySpendingBreakdownData.js +19 -0
- package/dist/api/types/DailySpendingBreakdownData.mjs +11 -0
- package/dist/api/types/DoWasteSignal.d.mts +10 -1
- package/dist/api/types/DoWasteSignal.d.ts +10 -1
- package/dist/api/types/DoWasteSignal.js +18 -0
- package/dist/api/types/DoWasteSignal.mjs +10 -0
- package/dist/api/types/DoWasteSignalsData.d.mts +3 -0
- package/dist/api/types/DoWasteSignalsData.d.ts +3 -0
- package/dist/api/types/DoWasteSignalsData.js +2 -1
- package/dist/api/types/DoWasteSignalsData.mjs +2 -1
- package/dist/api/types/ExtractRequest.d.mts +28 -0
- package/dist/api/types/ExtractRequest.d.ts +28 -0
- package/dist/api/types/ExtractRequest.js +35 -0
- package/dist/api/types/ExtractRequest.mjs +11 -0
- package/dist/api/types/FleetSummary.d.mts +2 -0
- package/dist/api/types/FleetSummary.d.ts +2 -0
- package/dist/api/types/FleetWorkload.d.mts +2 -0
- package/dist/api/types/FleetWorkload.d.ts +2 -0
- package/dist/api/types/FleetWorkloadFacets.d.mts +1 -1
- package/dist/api/types/FleetWorkloadFacets.d.ts +1 -1
- package/dist/api/types/ForecastData.d.mts +9 -0
- package/dist/api/types/ForecastData.d.ts +9 -0
- package/dist/api/types/ForecastData.js +5 -0
- package/dist/api/types/ForecastData.mjs +5 -0
- package/dist/api/types/HeldOutcomeFacets.d.mts +5 -0
- package/dist/api/types/HeldOutcomeFacets.d.ts +5 -0
- package/dist/api/types/HeldOutcomeFacets.js +17 -0
- package/dist/api/types/HeldOutcomeFacets.mjs +1 -0
- package/dist/api/types/InventoryWasteSignal.d.mts +10 -1
- package/dist/api/types/InventoryWasteSignal.d.ts +10 -1
- package/dist/api/types/InventoryWasteSignal.js +18 -0
- package/dist/api/types/InventoryWasteSignal.mjs +10 -0
- package/dist/api/types/InventoryWasteSignalsData.d.mts +3 -0
- package/dist/api/types/InventoryWasteSignalsData.d.ts +3 -0
- package/dist/api/types/InventoryWasteSignalsData.js +2 -1
- package/dist/api/types/InventoryWasteSignalsData.mjs +2 -1
- package/dist/api/types/InvoiceDetail.d.mts +73 -0
- package/dist/api/types/InvoiceDetail.d.ts +73 -0
- package/dist/api/types/InvoiceDetail.js +53 -0
- package/dist/api/types/InvoiceDetail.mjs +29 -0
- package/dist/api/types/InvoiceDetailResponse.d.mts +6 -0
- package/dist/api/types/InvoiceDetailResponse.d.ts +6 -0
- package/dist/api/types/InvoiceDetailResponse.js +17 -0
- package/dist/api/types/InvoiceDetailResponse.mjs +1 -0
- package/dist/api/types/InvoiceLine.d.mts +40 -0
- package/dist/api/types/InvoiceLine.d.ts +40 -0
- package/dist/api/types/InvoiceLine.js +38 -0
- package/dist/api/types/InvoiceLine.mjs +14 -0
- package/dist/api/types/InvoiceListResponse.d.mts +6 -0
- package/dist/api/types/InvoiceListResponse.d.ts +6 -0
- package/dist/api/types/InvoiceListResponse.js +17 -0
- package/dist/api/types/InvoiceListResponse.mjs +1 -0
- package/dist/api/types/InvoiceSummary.d.mts +66 -0
- package/dist/api/types/InvoiceSummary.d.ts +66 -0
- package/dist/api/types/InvoiceSummary.js +53 -0
- package/dist/api/types/InvoiceSummary.mjs +29 -0
- package/dist/api/types/InvoiceSummaryResponse.d.mts +6 -0
- package/dist/api/types/InvoiceSummaryResponse.d.ts +6 -0
- package/dist/api/types/InvoiceSummaryResponse.js +17 -0
- package/dist/api/types/InvoiceSummaryResponse.mjs +1 -0
- package/dist/api/types/JvmChecks.d.mts +18 -0
- package/dist/api/types/JvmChecks.d.ts +18 -0
- package/dist/api/types/JvmChecks.js +17 -0
- package/dist/api/types/JvmChecks.mjs +1 -0
- package/dist/api/types/JvmReaderHealth.d.mts +2 -0
- package/dist/api/types/JvmReaderHealth.d.ts +2 -0
- package/dist/api/types/JvmReaderNodeHealth.d.mts +9 -2
- package/dist/api/types/JvmReaderNodeHealth.d.ts +9 -2
- package/dist/api/types/JvmReaderNodeHealth.js +4 -1
- package/dist/api/types/JvmReaderNodeHealth.mjs +4 -1
- package/dist/api/types/JvmReaderReach.d.mts +6 -0
- package/dist/api/types/JvmReaderReach.d.ts +6 -0
- package/dist/api/types/JvmReaderReach.js +17 -0
- package/dist/api/types/JvmReaderReach.mjs +1 -0
- package/dist/api/types/KubeletResize.d.mts +15 -0
- package/dist/api/types/KubeletResize.d.ts +15 -0
- package/dist/api/types/KubeletResize.js +17 -0
- package/dist/api/types/KubeletResize.mjs +1 -0
- package/dist/api/types/NamespaceReliability.d.mts +5 -1
- package/dist/api/types/NamespaceReliability.d.ts +5 -1
- package/dist/api/types/NodeFacets.d.mts +2 -0
- package/dist/api/types/NodeFacets.d.ts +2 -0
- package/dist/api/types/NodeItem.d.mts +8 -0
- package/dist/api/types/NodeItem.d.ts +8 -0
- package/dist/api/types/NodeItem.js +5 -0
- package/dist/api/types/NodeItem.mjs +5 -0
- package/dist/api/types/PodPhases.d.mts +1 -1
- package/dist/api/types/PodPhases.d.ts +1 -1
- package/dist/api/types/ProviderBreakdownItem.d.mts +9 -0
- package/dist/api/types/ProviderBreakdownItem.d.ts +9 -0
- package/dist/api/types/ProviderBreakdownItem.js +4 -0
- package/dist/api/types/ProviderBreakdownItem.mjs +4 -0
- package/dist/api/types/ProviderFilterOptionsData.d.mts +16 -0
- package/dist/api/types/ProviderFilterOptionsData.d.ts +16 -0
- package/dist/api/types/ProviderServiceBreakdownItem.d.mts +16 -0
- package/dist/api/types/ProviderServiceBreakdownItem.d.ts +16 -0
- package/dist/api/types/RecommendationItem.d.mts +9 -0
- package/dist/api/types/RecommendationItem.d.ts +9 -0
- package/dist/api/types/RecommendationItem.js +4 -0
- package/dist/api/types/RecommendationItem.mjs +4 -0
- package/dist/api/types/RecommendationsOverviewData.d.mts +2 -0
- package/dist/api/types/RecommendationsOverviewData.d.ts +2 -0
- package/dist/api/types/ReliabilityCounts.d.mts +5 -1
- package/dist/api/types/ReliabilityCounts.d.ts +5 -1
- package/dist/api/types/ReliabilityDay.d.mts +5 -0
- package/dist/api/types/ReliabilityDay.d.ts +5 -0
- package/dist/api/types/ReliabilityFacetCount.d.mts +1 -0
- package/dist/api/types/ReliabilityFacetCount.d.ts +1 -0
- package/dist/api/types/ReliabilityFacetCount.js +2 -1
- package/dist/api/types/ReliabilityFacetCount.mjs +2 -1
- package/dist/api/types/ReliabilityTotals.d.mts +6 -2
- package/dist/api/types/ReliabilityTotals.d.ts +6 -2
- package/dist/api/types/RequestAmounts.d.mts +6 -0
- package/dist/api/types/RequestAmounts.d.ts +6 -0
- package/dist/api/types/RequestAmounts.js +17 -0
- package/dist/api/types/RequestAmounts.mjs +1 -0
- package/dist/api/types/ResourceItem.d.mts +9 -2
- package/dist/api/types/ResourceItem.d.ts +9 -2
- package/dist/api/types/ResourceItem.js +18 -0
- package/dist/api/types/ResourceItem.mjs +10 -0
- package/dist/api/types/ResourceTotals.d.mts +9 -0
- package/dist/api/types/ResourceTotals.d.ts +9 -0
- package/dist/api/types/ResourceTotals.js +18 -0
- package/dist/api/types/ResourceTotals.mjs +10 -0
- package/dist/api/types/SizedElsewhere.d.mts +21 -0
- package/dist/api/types/SizedElsewhere.d.ts +21 -0
- package/dist/api/types/SizedElsewhere.js +17 -0
- package/dist/api/types/SizedElsewhere.mjs +1 -0
- package/dist/api/types/SizedElsewherePool.d.mts +18 -0
- package/dist/api/types/SizedElsewherePool.d.ts +18 -0
- package/dist/api/types/SizedElsewherePool.js +17 -0
- package/dist/api/types/SizedElsewherePool.mjs +1 -0
- package/dist/api/types/SizedElsewhereResponse.d.mts +6 -0
- package/dist/api/types/SizedElsewhereResponse.d.ts +6 -0
- package/dist/api/types/SizedElsewhereResponse.js +17 -0
- package/dist/api/types/SizedElsewhereResponse.mjs +1 -0
- package/dist/api/types/SpendingSummaryData.d.mts +9 -0
- package/dist/api/types/SpendingSummaryData.d.ts +9 -0
- package/dist/api/types/SpendingSummaryData.js +5 -0
- package/dist/api/types/SpendingSummaryData.mjs +5 -0
- package/dist/api/types/TagCoverage.d.mts +2 -0
- package/dist/api/types/TagCoverage.d.ts +2 -0
- package/dist/api/types/TeamCostData.d.mts +9 -0
- package/dist/api/types/TeamCostData.d.ts +9 -0
- package/dist/api/types/TeamCostData.js +5 -0
- package/dist/api/types/TeamCostData.mjs +5 -0
- package/dist/api/types/TopGrowingData.d.mts +9 -0
- package/dist/api/types/TopGrowingData.d.ts +9 -0
- package/dist/api/types/TopGrowingData.js +5 -0
- package/dist/api/types/TopGrowingData.mjs +5 -0
- package/dist/api/types/UnmonitoredCluster.d.mts +24 -0
- package/dist/api/types/UnmonitoredCluster.d.ts +24 -0
- package/dist/api/types/UnmonitoredCluster.js +39 -0
- package/dist/api/types/UnmonitoredCluster.mjs +15 -0
- package/dist/api/types/UnmonitoredClusterList.d.mts +5 -0
- package/dist/api/types/UnmonitoredClusterList.d.ts +5 -0
- package/dist/api/types/UnmonitoredClusterList.js +17 -0
- package/dist/api/types/UnmonitoredClusterList.mjs +1 -0
- package/dist/api/types/UnmonitoredClusterListResponse.d.mts +6 -0
- package/dist/api/types/UnmonitoredClusterListResponse.d.ts +6 -0
- package/dist/api/types/UnmonitoredClusterListResponse.js +17 -0
- package/dist/api/types/UnmonitoredClusterListResponse.mjs +1 -0
- package/dist/api/types/UsageData.d.mts +9 -0
- package/dist/api/types/UsageData.d.ts +9 -0
- package/dist/api/types/UsageData.js +5 -0
- package/dist/api/types/UsageData.mjs +5 -0
- package/dist/api/types/UsageTypeItem.d.mts +2 -2
- package/dist/api/types/UsageTypeItem.d.ts +2 -2
- package/dist/api/types/index.d.mts +23 -0
- package/dist/api/types/index.d.ts +23 -0
- package/dist/api/types/index.js +46 -0
- package/dist/api/types/index.mjs +23 -0
- package/dist/version.d.mts +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/version.mjs +1 -1
- package/package.json +1 -1
|
@@ -31,6 +31,8 @@ export interface ForecastData {
|
|
|
31
31
|
daily_rate_window_days?: (number | null) | undefined;
|
|
32
32
|
/** Cost basis applied: after or before Google Cloud credits */
|
|
33
33
|
credits?: (ForecastData.Credits | null) | undefined;
|
|
34
|
+
/** The cost type these figures are: unblended, amortized, or usage_value, usage priced at the vendor's list price. usage_value is an estimate, never the bill, and is never added to another provider's cost. */
|
|
35
|
+
show_cost_as?: ForecastData.ShowCostAs | undefined;
|
|
34
36
|
}
|
|
35
37
|
export declare namespace ForecastData {
|
|
36
38
|
const Credits: {
|
|
@@ -38,4 +40,11 @@ export declare namespace ForecastData {
|
|
|
38
40
|
readonly After: "after";
|
|
39
41
|
};
|
|
40
42
|
type Credits = (typeof Credits)[keyof typeof Credits];
|
|
43
|
+
/** The cost type these figures are: unblended, amortized, or usage_value, usage priced at the vendor's list price. usage_value is an estimate, never the bill, and is never added to another provider's cost. */
|
|
44
|
+
const ShowCostAs: {
|
|
45
|
+
readonly Unblended: "unblended";
|
|
46
|
+
readonly Amortized: "amortized";
|
|
47
|
+
readonly UsageValue: "usage_value";
|
|
48
|
+
};
|
|
49
|
+
type ShowCostAs = (typeof ShowCostAs)[keyof typeof ShowCostAs];
|
|
41
50
|
}
|
|
@@ -27,6 +27,11 @@ var ForecastData;
|
|
|
27
27
|
Before: "before",
|
|
28
28
|
After: "after"
|
|
29
29
|
};
|
|
30
|
+
ForecastData2.ShowCostAs = {
|
|
31
|
+
Unblended: "unblended",
|
|
32
|
+
Amortized: "amortized",
|
|
33
|
+
UsageValue: "usage_value"
|
|
34
|
+
};
|
|
30
35
|
})(ForecastData || (ForecastData = {}));
|
|
31
36
|
// Annotate the CommonJS export names for ESM import in node:
|
|
32
37
|
0 && (module.exports = {
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type * as LevelFour from "../index.mjs";
|
|
2
|
+
export interface HeldOutcomeFacets {
|
|
3
|
+
/** The held nodes that would go (frees), would stay for their pods (stays) and are not known yet (unknown), as nodes_would_free, nodes_kept and nodes_not_known count them; never narrowed by the outcome asked for */
|
|
4
|
+
outcome: LevelFour.FacetCount[];
|
|
5
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type * as LevelFour from "../index.js";
|
|
2
|
+
export interface HeldOutcomeFacets {
|
|
3
|
+
/** The held nodes that would go (frees), would stay for their pods (stays) and are not known yet (unknown), as nodes_would_free, nodes_kept and nodes_not_known count them; never narrowed by the outcome asked for */
|
|
4
|
+
outcome: LevelFour.FacetCount[];
|
|
5
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __copyProps = (to, from, except, desc) => {
|
|
7
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
+
for (let key of __getOwnPropNames(from))
|
|
9
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
+
}
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
15
|
+
var HeldOutcomeFacets_exports = {};
|
|
16
|
+
module.exports = __toCommonJS(HeldOutcomeFacets_exports);
|
|
17
|
+
//# sourceMappingURL=HeldOutcomeFacets.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=HeldOutcomeFacets.mjs.map
|
|
@@ -4,8 +4,17 @@ export interface InventoryWasteSignal {
|
|
|
4
4
|
count: number;
|
|
5
5
|
/** Provisioned size in GB, for the kinds the provider reports one for */
|
|
6
6
|
size_gb: number | null;
|
|
7
|
-
/** What these resources cost last month on the bill, or null unless a
|
|
7
|
+
/** What these resources cost last month on the bill, or at Microsoft's list price for an Azure resource whose cost a CSP partner keeps, or null unless a line names every one */
|
|
8
8
|
monthly_cost: number | null;
|
|
9
|
+
/** billed when monthly_cost is all from the bill, estimate when any of it is a list-price estimate, null when monthly_cost is */
|
|
10
|
+
cost_basis: InventoryWasteSignal.CostBasis | null;
|
|
9
11
|
/** Recommendations still pending on these resources, neither applied nor rejected */
|
|
10
12
|
recommendation_ids: string[];
|
|
11
13
|
}
|
|
14
|
+
export declare namespace InventoryWasteSignal {
|
|
15
|
+
const CostBasis: {
|
|
16
|
+
readonly Billed: "billed";
|
|
17
|
+
readonly Estimate: "estimate";
|
|
18
|
+
};
|
|
19
|
+
type CostBasis = (typeof CostBasis)[keyof typeof CostBasis];
|
|
20
|
+
}
|
|
@@ -4,8 +4,17 @@ export interface InventoryWasteSignal {
|
|
|
4
4
|
count: number;
|
|
5
5
|
/** Provisioned size in GB, for the kinds the provider reports one for */
|
|
6
6
|
size_gb: number | null;
|
|
7
|
-
/** What these resources cost last month on the bill, or null unless a
|
|
7
|
+
/** What these resources cost last month on the bill, or at Microsoft's list price for an Azure resource whose cost a CSP partner keeps, or null unless a line names every one */
|
|
8
8
|
monthly_cost: number | null;
|
|
9
|
+
/** billed when monthly_cost is all from the bill, estimate when any of it is a list-price estimate, null when monthly_cost is */
|
|
10
|
+
cost_basis: InventoryWasteSignal.CostBasis | null;
|
|
9
11
|
/** Recommendations still pending on these resources, neither applied nor rejected */
|
|
10
12
|
recommendation_ids: string[];
|
|
11
13
|
}
|
|
14
|
+
export declare namespace InventoryWasteSignal {
|
|
15
|
+
const CostBasis: {
|
|
16
|
+
readonly Billed: "billed";
|
|
17
|
+
readonly Estimate: "estimate";
|
|
18
|
+
};
|
|
19
|
+
type CostBasis = (typeof CostBasis)[keyof typeof CostBasis];
|
|
20
|
+
}
|
|
@@ -3,6 +3,10 @@ var __defProp = Object.defineProperty;
|
|
|
3
3
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
4
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
5
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
6
10
|
var __copyProps = (to, from, except, desc) => {
|
|
7
11
|
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
12
|
for (let key of __getOwnPropNames(from))
|
|
@@ -13,5 +17,19 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
13
17
|
};
|
|
14
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
15
19
|
var InventoryWasteSignal_exports = {};
|
|
20
|
+
__export(InventoryWasteSignal_exports, {
|
|
21
|
+
InventoryWasteSignal: () => InventoryWasteSignal
|
|
22
|
+
});
|
|
16
23
|
module.exports = __toCommonJS(InventoryWasteSignal_exports);
|
|
24
|
+
var InventoryWasteSignal;
|
|
25
|
+
((InventoryWasteSignal2) => {
|
|
26
|
+
InventoryWasteSignal2.CostBasis = {
|
|
27
|
+
Billed: "billed",
|
|
28
|
+
Estimate: "estimate"
|
|
29
|
+
};
|
|
30
|
+
})(InventoryWasteSignal || (InventoryWasteSignal = {}));
|
|
31
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
32
|
+
0 && (module.exports = {
|
|
33
|
+
InventoryWasteSignal
|
|
34
|
+
});
|
|
17
35
|
//# sourceMappingURL=InventoryWasteSignal.js.map
|
|
@@ -1 +1,11 @@
|
|
|
1
|
+
var InventoryWasteSignal;
|
|
2
|
+
((InventoryWasteSignal2) => {
|
|
3
|
+
InventoryWasteSignal2.CostBasis = {
|
|
4
|
+
Billed: "billed",
|
|
5
|
+
Estimate: "estimate"
|
|
6
|
+
};
|
|
7
|
+
})(InventoryWasteSignal || (InventoryWasteSignal = {}));
|
|
8
|
+
export {
|
|
9
|
+
InventoryWasteSignal
|
|
10
|
+
};
|
|
1
11
|
//# sourceMappingURL=InventoryWasteSignal.mjs.map
|
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
import type * as LevelFour from "../index.mjs";
|
|
2
2
|
export interface InventoryWasteSignalsData {
|
|
3
3
|
signals: LevelFour.InventoryWasteSignal[];
|
|
4
|
+
/** available when resource costs come from the bill, estimate when every one the card reads is a list-price estimate, unavailable when none is attributed yet */
|
|
4
5
|
cost_attribution: InventoryWasteSignalsData.CostAttribution;
|
|
5
6
|
}
|
|
6
7
|
export declare namespace InventoryWasteSignalsData {
|
|
8
|
+
/** available when resource costs come from the bill, estimate when every one the card reads is a list-price estimate, unavailable when none is attributed yet */
|
|
7
9
|
const CostAttribution: {
|
|
8
10
|
readonly Available: "available";
|
|
9
11
|
readonly Unavailable: "unavailable";
|
|
12
|
+
readonly Estimate: "estimate";
|
|
10
13
|
};
|
|
11
14
|
type CostAttribution = (typeof CostAttribution)[keyof typeof CostAttribution];
|
|
12
15
|
}
|
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
import type * as LevelFour from "../index.js";
|
|
2
2
|
export interface InventoryWasteSignalsData {
|
|
3
3
|
signals: LevelFour.InventoryWasteSignal[];
|
|
4
|
+
/** available when resource costs come from the bill, estimate when every one the card reads is a list-price estimate, unavailable when none is attributed yet */
|
|
4
5
|
cost_attribution: InventoryWasteSignalsData.CostAttribution;
|
|
5
6
|
}
|
|
6
7
|
export declare namespace InventoryWasteSignalsData {
|
|
8
|
+
/** available when resource costs come from the bill, estimate when every one the card reads is a list-price estimate, unavailable when none is attributed yet */
|
|
7
9
|
const CostAttribution: {
|
|
8
10
|
readonly Available: "available";
|
|
9
11
|
readonly Unavailable: "unavailable";
|
|
12
|
+
readonly Estimate: "estimate";
|
|
10
13
|
};
|
|
11
14
|
type CostAttribution = (typeof CostAttribution)[keyof typeof CostAttribution];
|
|
12
15
|
}
|
|
@@ -25,7 +25,8 @@ var InventoryWasteSignalsData;
|
|
|
25
25
|
((InventoryWasteSignalsData2) => {
|
|
26
26
|
InventoryWasteSignalsData2.CostAttribution = {
|
|
27
27
|
Available: "available",
|
|
28
|
-
Unavailable: "unavailable"
|
|
28
|
+
Unavailable: "unavailable",
|
|
29
|
+
Estimate: "estimate"
|
|
29
30
|
};
|
|
30
31
|
})(InventoryWasteSignalsData || (InventoryWasteSignalsData = {}));
|
|
31
32
|
// Annotate the CommonJS export names for ESM import in node:
|
|
@@ -2,7 +2,8 @@ var InventoryWasteSignalsData;
|
|
|
2
2
|
((InventoryWasteSignalsData2) => {
|
|
3
3
|
InventoryWasteSignalsData2.CostAttribution = {
|
|
4
4
|
Available: "available",
|
|
5
|
-
Unavailable: "unavailable"
|
|
5
|
+
Unavailable: "unavailable",
|
|
6
|
+
Estimate: "estimate"
|
|
6
7
|
};
|
|
7
8
|
})(InventoryWasteSignalsData || (InventoryWasteSignalsData = {}));
|
|
8
9
|
export {
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import type * as LevelFour from "../index.mjs";
|
|
2
|
+
export interface InvoiceDetail {
|
|
3
|
+
id: string;
|
|
4
|
+
connection_id: string;
|
|
5
|
+
file_name: string;
|
|
6
|
+
source_format: InvoiceDetail.SourceFormat;
|
|
7
|
+
extraction_method: InvoiceDetail.ExtractionMethod;
|
|
8
|
+
document_kind: InvoiceDetail.DocumentKind;
|
|
9
|
+
/** '' when the document does not print it */
|
|
10
|
+
seller_name: string;
|
|
11
|
+
/** '' when the document does not print it */
|
|
12
|
+
invoice_number: string;
|
|
13
|
+
invoice_date: string | null;
|
|
14
|
+
billing_period_start: string | null;
|
|
15
|
+
/** First day after the period */
|
|
16
|
+
billing_period_end: string | null;
|
|
17
|
+
/** ISO 4217 code, or null when the document does not say */
|
|
18
|
+
currency: string | null;
|
|
19
|
+
/** The printed total before tax, when printed */
|
|
20
|
+
total_pre_tax: string | null;
|
|
21
|
+
total_tax: string | null;
|
|
22
|
+
/** reading until the file is read, then extracted (waiting for review) or failed */
|
|
23
|
+
status: InvoiceDetail.Status;
|
|
24
|
+
/** Why the file could not be read, for the customer; '' unless failed */
|
|
25
|
+
failure_reason: string;
|
|
26
|
+
/** The last time the read said it is alive; a 'reading' invoice 10 minutes past it has stalled */
|
|
27
|
+
read_started_at: string | null;
|
|
28
|
+
needs_review: boolean;
|
|
29
|
+
line_count: number;
|
|
30
|
+
/** Sum of the amounts of every line that is not a tax line */
|
|
31
|
+
lines_total: string;
|
|
32
|
+
/** Lines the customer must check before confirming */
|
|
33
|
+
flagged_lines: number;
|
|
34
|
+
created_at: string;
|
|
35
|
+
/** Email of the person who confirmed it */
|
|
36
|
+
confirmed_by: string | null;
|
|
37
|
+
confirmed_at: string | null;
|
|
38
|
+
review_reasons: string[];
|
|
39
|
+
/** Field name to the printed column it was read from */
|
|
40
|
+
column_mapping: Record<string, string>;
|
|
41
|
+
/** Printed columns no field was read from */
|
|
42
|
+
unmapped_columns: string[];
|
|
43
|
+
lines: LevelFour.InvoiceLine[];
|
|
44
|
+
}
|
|
45
|
+
export declare namespace InvoiceDetail {
|
|
46
|
+
const SourceFormat: {
|
|
47
|
+
readonly Csv: "csv";
|
|
48
|
+
readonly Xlsx: "xlsx";
|
|
49
|
+
readonly Pdf: "pdf";
|
|
50
|
+
readonly Docx: "docx";
|
|
51
|
+
};
|
|
52
|
+
type SourceFormat = (typeof SourceFormat)[keyof typeof SourceFormat];
|
|
53
|
+
const ExtractionMethod: {
|
|
54
|
+
readonly Tabular: "tabular";
|
|
55
|
+
readonly Document: "document";
|
|
56
|
+
};
|
|
57
|
+
type ExtractionMethod = (typeof ExtractionMethod)[keyof typeof ExtractionMethod];
|
|
58
|
+
const DocumentKind: {
|
|
59
|
+
readonly CustomerInvoice: "customer_invoice";
|
|
60
|
+
readonly PartnerReconciliation: "partner_reconciliation";
|
|
61
|
+
};
|
|
62
|
+
type DocumentKind = (typeof DocumentKind)[keyof typeof DocumentKind];
|
|
63
|
+
/** reading until the file is read, then extracted (waiting for review) or failed */
|
|
64
|
+
const Status: {
|
|
65
|
+
readonly Reading: "reading";
|
|
66
|
+
readonly Extracted: "extracted";
|
|
67
|
+
readonly Failed: "failed";
|
|
68
|
+
readonly Confirmed: "confirmed";
|
|
69
|
+
readonly Rejected: "rejected";
|
|
70
|
+
readonly Superseded: "superseded";
|
|
71
|
+
};
|
|
72
|
+
type Status = (typeof Status)[keyof typeof Status];
|
|
73
|
+
}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import type * as LevelFour from "../index.js";
|
|
2
|
+
export interface InvoiceDetail {
|
|
3
|
+
id: string;
|
|
4
|
+
connection_id: string;
|
|
5
|
+
file_name: string;
|
|
6
|
+
source_format: InvoiceDetail.SourceFormat;
|
|
7
|
+
extraction_method: InvoiceDetail.ExtractionMethod;
|
|
8
|
+
document_kind: InvoiceDetail.DocumentKind;
|
|
9
|
+
/** '' when the document does not print it */
|
|
10
|
+
seller_name: string;
|
|
11
|
+
/** '' when the document does not print it */
|
|
12
|
+
invoice_number: string;
|
|
13
|
+
invoice_date: string | null;
|
|
14
|
+
billing_period_start: string | null;
|
|
15
|
+
/** First day after the period */
|
|
16
|
+
billing_period_end: string | null;
|
|
17
|
+
/** ISO 4217 code, or null when the document does not say */
|
|
18
|
+
currency: string | null;
|
|
19
|
+
/** The printed total before tax, when printed */
|
|
20
|
+
total_pre_tax: string | null;
|
|
21
|
+
total_tax: string | null;
|
|
22
|
+
/** reading until the file is read, then extracted (waiting for review) or failed */
|
|
23
|
+
status: InvoiceDetail.Status;
|
|
24
|
+
/** Why the file could not be read, for the customer; '' unless failed */
|
|
25
|
+
failure_reason: string;
|
|
26
|
+
/** The last time the read said it is alive; a 'reading' invoice 10 minutes past it has stalled */
|
|
27
|
+
read_started_at: string | null;
|
|
28
|
+
needs_review: boolean;
|
|
29
|
+
line_count: number;
|
|
30
|
+
/** Sum of the amounts of every line that is not a tax line */
|
|
31
|
+
lines_total: string;
|
|
32
|
+
/** Lines the customer must check before confirming */
|
|
33
|
+
flagged_lines: number;
|
|
34
|
+
created_at: string;
|
|
35
|
+
/** Email of the person who confirmed it */
|
|
36
|
+
confirmed_by: string | null;
|
|
37
|
+
confirmed_at: string | null;
|
|
38
|
+
review_reasons: string[];
|
|
39
|
+
/** Field name to the printed column it was read from */
|
|
40
|
+
column_mapping: Record<string, string>;
|
|
41
|
+
/** Printed columns no field was read from */
|
|
42
|
+
unmapped_columns: string[];
|
|
43
|
+
lines: LevelFour.InvoiceLine[];
|
|
44
|
+
}
|
|
45
|
+
export declare namespace InvoiceDetail {
|
|
46
|
+
const SourceFormat: {
|
|
47
|
+
readonly Csv: "csv";
|
|
48
|
+
readonly Xlsx: "xlsx";
|
|
49
|
+
readonly Pdf: "pdf";
|
|
50
|
+
readonly Docx: "docx";
|
|
51
|
+
};
|
|
52
|
+
type SourceFormat = (typeof SourceFormat)[keyof typeof SourceFormat];
|
|
53
|
+
const ExtractionMethod: {
|
|
54
|
+
readonly Tabular: "tabular";
|
|
55
|
+
readonly Document: "document";
|
|
56
|
+
};
|
|
57
|
+
type ExtractionMethod = (typeof ExtractionMethod)[keyof typeof ExtractionMethod];
|
|
58
|
+
const DocumentKind: {
|
|
59
|
+
readonly CustomerInvoice: "customer_invoice";
|
|
60
|
+
readonly PartnerReconciliation: "partner_reconciliation";
|
|
61
|
+
};
|
|
62
|
+
type DocumentKind = (typeof DocumentKind)[keyof typeof DocumentKind];
|
|
63
|
+
/** reading until the file is read, then extracted (waiting for review) or failed */
|
|
64
|
+
const Status: {
|
|
65
|
+
readonly Reading: "reading";
|
|
66
|
+
readonly Extracted: "extracted";
|
|
67
|
+
readonly Failed: "failed";
|
|
68
|
+
readonly Confirmed: "confirmed";
|
|
69
|
+
readonly Rejected: "rejected";
|
|
70
|
+
readonly Superseded: "superseded";
|
|
71
|
+
};
|
|
72
|
+
type Status = (typeof Status)[keyof typeof Status];
|
|
73
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var InvoiceDetail_exports = {};
|
|
20
|
+
__export(InvoiceDetail_exports, {
|
|
21
|
+
InvoiceDetail: () => InvoiceDetail
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(InvoiceDetail_exports);
|
|
24
|
+
var InvoiceDetail;
|
|
25
|
+
((InvoiceDetail2) => {
|
|
26
|
+
InvoiceDetail2.SourceFormat = {
|
|
27
|
+
Csv: "csv",
|
|
28
|
+
Xlsx: "xlsx",
|
|
29
|
+
Pdf: "pdf",
|
|
30
|
+
Docx: "docx"
|
|
31
|
+
};
|
|
32
|
+
InvoiceDetail2.ExtractionMethod = {
|
|
33
|
+
Tabular: "tabular",
|
|
34
|
+
Document: "document"
|
|
35
|
+
};
|
|
36
|
+
InvoiceDetail2.DocumentKind = {
|
|
37
|
+
CustomerInvoice: "customer_invoice",
|
|
38
|
+
PartnerReconciliation: "partner_reconciliation"
|
|
39
|
+
};
|
|
40
|
+
InvoiceDetail2.Status = {
|
|
41
|
+
Reading: "reading",
|
|
42
|
+
Extracted: "extracted",
|
|
43
|
+
Failed: "failed",
|
|
44
|
+
Confirmed: "confirmed",
|
|
45
|
+
Rejected: "rejected",
|
|
46
|
+
Superseded: "superseded"
|
|
47
|
+
};
|
|
48
|
+
})(InvoiceDetail || (InvoiceDetail = {}));
|
|
49
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
50
|
+
0 && (module.exports = {
|
|
51
|
+
InvoiceDetail
|
|
52
|
+
});
|
|
53
|
+
//# sourceMappingURL=InvoiceDetail.js.map
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
var InvoiceDetail;
|
|
2
|
+
((InvoiceDetail2) => {
|
|
3
|
+
InvoiceDetail2.SourceFormat = {
|
|
4
|
+
Csv: "csv",
|
|
5
|
+
Xlsx: "xlsx",
|
|
6
|
+
Pdf: "pdf",
|
|
7
|
+
Docx: "docx"
|
|
8
|
+
};
|
|
9
|
+
InvoiceDetail2.ExtractionMethod = {
|
|
10
|
+
Tabular: "tabular",
|
|
11
|
+
Document: "document"
|
|
12
|
+
};
|
|
13
|
+
InvoiceDetail2.DocumentKind = {
|
|
14
|
+
CustomerInvoice: "customer_invoice",
|
|
15
|
+
PartnerReconciliation: "partner_reconciliation"
|
|
16
|
+
};
|
|
17
|
+
InvoiceDetail2.Status = {
|
|
18
|
+
Reading: "reading",
|
|
19
|
+
Extracted: "extracted",
|
|
20
|
+
Failed: "failed",
|
|
21
|
+
Confirmed: "confirmed",
|
|
22
|
+
Rejected: "rejected",
|
|
23
|
+
Superseded: "superseded"
|
|
24
|
+
};
|
|
25
|
+
})(InvoiceDetail || (InvoiceDetail = {}));
|
|
26
|
+
export {
|
|
27
|
+
InvoiceDetail
|
|
28
|
+
};
|
|
29
|
+
//# sourceMappingURL=InvoiceDetail.mjs.map
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __copyProps = (to, from, except, desc) => {
|
|
7
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
+
for (let key of __getOwnPropNames(from))
|
|
9
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
+
}
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
15
|
+
var InvoiceDetailResponse_exports = {};
|
|
16
|
+
module.exports = __toCommonJS(InvoiceDetailResponse_exports);
|
|
17
|
+
//# sourceMappingURL=InvoiceDetailResponse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=InvoiceDetailResponse.mjs.map
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* One line as printed. Text fields are '' when the document prints nothing.
|
|
3
|
+
*/
|
|
4
|
+
export interface InvoiceLine {
|
|
5
|
+
line_number: number;
|
|
6
|
+
source_page: number | null;
|
|
7
|
+
source_row: number | null;
|
|
8
|
+
subscription_id: string;
|
|
9
|
+
subscription_name: string;
|
|
10
|
+
service: string;
|
|
11
|
+
product: string;
|
|
12
|
+
meter_id: string;
|
|
13
|
+
meter_name: string;
|
|
14
|
+
region: string;
|
|
15
|
+
resource_id: string;
|
|
16
|
+
charge_type: InvoiceLine.ChargeType;
|
|
17
|
+
charge_start: string | null;
|
|
18
|
+
/** Last day the line covers, inclusive */
|
|
19
|
+
charge_end: string | null;
|
|
20
|
+
quantity: string | null;
|
|
21
|
+
unit: string;
|
|
22
|
+
/** Effective price per unit, the one that makes the amount */
|
|
23
|
+
unit_price: string | null;
|
|
24
|
+
/** List price per unit, shown for reference */
|
|
25
|
+
unit_price_list: string | null;
|
|
26
|
+
/** Amount before tax in the invoice currency; credits are negative */
|
|
27
|
+
amount: string;
|
|
28
|
+
needs_review: boolean;
|
|
29
|
+
review_reason: string;
|
|
30
|
+
}
|
|
31
|
+
export declare namespace InvoiceLine {
|
|
32
|
+
const ChargeType: {
|
|
33
|
+
readonly Usage: "usage";
|
|
34
|
+
readonly Purchase: "purchase";
|
|
35
|
+
readonly Tax: "tax";
|
|
36
|
+
readonly Adjustment: "adjustment";
|
|
37
|
+
readonly Credit: "credit";
|
|
38
|
+
};
|
|
39
|
+
type ChargeType = (typeof ChargeType)[keyof typeof ChargeType];
|
|
40
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* One line as printed. Text fields are '' when the document prints nothing.
|
|
3
|
+
*/
|
|
4
|
+
export interface InvoiceLine {
|
|
5
|
+
line_number: number;
|
|
6
|
+
source_page: number | null;
|
|
7
|
+
source_row: number | null;
|
|
8
|
+
subscription_id: string;
|
|
9
|
+
subscription_name: string;
|
|
10
|
+
service: string;
|
|
11
|
+
product: string;
|
|
12
|
+
meter_id: string;
|
|
13
|
+
meter_name: string;
|
|
14
|
+
region: string;
|
|
15
|
+
resource_id: string;
|
|
16
|
+
charge_type: InvoiceLine.ChargeType;
|
|
17
|
+
charge_start: string | null;
|
|
18
|
+
/** Last day the line covers, inclusive */
|
|
19
|
+
charge_end: string | null;
|
|
20
|
+
quantity: string | null;
|
|
21
|
+
unit: string;
|
|
22
|
+
/** Effective price per unit, the one that makes the amount */
|
|
23
|
+
unit_price: string | null;
|
|
24
|
+
/** List price per unit, shown for reference */
|
|
25
|
+
unit_price_list: string | null;
|
|
26
|
+
/** Amount before tax in the invoice currency; credits are negative */
|
|
27
|
+
amount: string;
|
|
28
|
+
needs_review: boolean;
|
|
29
|
+
review_reason: string;
|
|
30
|
+
}
|
|
31
|
+
export declare namespace InvoiceLine {
|
|
32
|
+
const ChargeType: {
|
|
33
|
+
readonly Usage: "usage";
|
|
34
|
+
readonly Purchase: "purchase";
|
|
35
|
+
readonly Tax: "tax";
|
|
36
|
+
readonly Adjustment: "adjustment";
|
|
37
|
+
readonly Credit: "credit";
|
|
38
|
+
};
|
|
39
|
+
type ChargeType = (typeof ChargeType)[keyof typeof ChargeType];
|
|
40
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var InvoiceLine_exports = {};
|
|
20
|
+
__export(InvoiceLine_exports, {
|
|
21
|
+
InvoiceLine: () => InvoiceLine
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(InvoiceLine_exports);
|
|
24
|
+
var InvoiceLine;
|
|
25
|
+
((InvoiceLine2) => {
|
|
26
|
+
InvoiceLine2.ChargeType = {
|
|
27
|
+
Usage: "usage",
|
|
28
|
+
Purchase: "purchase",
|
|
29
|
+
Tax: "tax",
|
|
30
|
+
Adjustment: "adjustment",
|
|
31
|
+
Credit: "credit"
|
|
32
|
+
};
|
|
33
|
+
})(InvoiceLine || (InvoiceLine = {}));
|
|
34
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
35
|
+
0 && (module.exports = {
|
|
36
|
+
InvoiceLine
|
|
37
|
+
});
|
|
38
|
+
//# sourceMappingURL=InvoiceLine.js.map
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
var InvoiceLine;
|
|
2
|
+
((InvoiceLine2) => {
|
|
3
|
+
InvoiceLine2.ChargeType = {
|
|
4
|
+
Usage: "usage",
|
|
5
|
+
Purchase: "purchase",
|
|
6
|
+
Tax: "tax",
|
|
7
|
+
Adjustment: "adjustment",
|
|
8
|
+
Credit: "credit"
|
|
9
|
+
};
|
|
10
|
+
})(InvoiceLine || (InvoiceLine = {}));
|
|
11
|
+
export {
|
|
12
|
+
InvoiceLine
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=InvoiceLine.mjs.map
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __copyProps = (to, from, except, desc) => {
|
|
7
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
+
for (let key of __getOwnPropNames(from))
|
|
9
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
+
}
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
15
|
+
var InvoiceListResponse_exports = {};
|
|
16
|
+
module.exports = __toCommonJS(InvoiceListResponse_exports);
|
|
17
|
+
//# sourceMappingURL=InvoiceListResponse.js.map
|