UnifiStockTracker.psm1

function Write-Color { 
    <#
    .SYNOPSIS
    Write-Color is a wrapper around Write-Host delivering a lot of additional features for easier color options.
 
    .DESCRIPTION
    Write-Color is a wrapper around Write-Host delivering a lot of additional features for easier color options.
 
    It provides:
    - Easy manipulation of colors,
    - Logging output to file (log)
    - Nice formatting options out of the box.
    - Ability to use aliases for parameters
 
    .PARAMETER Text
    Text to display on screen and write to log file if specified.
    Accepts an array of strings.
 
    .PARAMETER Color
    Color of the text. Accepts an array of colors. If more than one color is specified it will loop through colors for each string.
    If there are more strings than colors it will start from the beginning.
    Available colors are: Black, DarkBlue, DarkGreen, DarkCyan, DarkRed, DarkMagenta, DarkYellow, Gray, DarkGray, Blue, Green, Cyan, Red, Magenta, Yellow, White
 
    .PARAMETER BackGroundColor
    Color of the background. Accepts an array of colors. If more than one color is specified it will loop through colors for each string.
    If there are more strings than colors it will start from the beginning.
    Available colors are: Black, DarkBlue, DarkGreen, DarkCyan, DarkRed, DarkMagenta, DarkYellow, Gray, DarkGray, Blue, Green, Cyan, Red, Magenta, Yellow, White
 
    .PARAMETER StartTab
    Number of tabs to add before text. Default is 0.
 
    .PARAMETER LinesBefore
    Number of empty lines before text. Default is 0.
 
    .PARAMETER LinesAfter
    Number of empty lines after text. Default is 0.
 
    .PARAMETER StartSpaces
    Number of spaces to add before text. Default is 0.
 
    .PARAMETER LogFile
    Path to log file. If not specified no log file will be created.
 
    .PARAMETER DateTimeFormat
    Custom date and time format string. Default is yyyy-MM-dd HH:mm:ss
 
    .PARAMETER LogTime
    If set to $true it will add time to log file. Default is $true.
 
    .PARAMETER LogRetry
    Number of retries to write to log file, in case it can't write to it for some reason, before skipping. Default is 2.
 
    .PARAMETER Encoding
    Encoding of the log file. Default is Unicode.
 
    .PARAMETER ShowTime
    Switch to add time to console output. Default is not set.
 
    .PARAMETER NoNewLine
    Switch to not add new line at the end of the output. Default is not set.
 
    .PARAMETER NoConsoleOutput
    Switch to not output to console. Default all output goes to console.
 
    .EXAMPLE
    Write-Color -Text "Red ", "Green ", "Yellow " -Color Red,Green,Yellow
 
    .EXAMPLE
    Write-Color -Text "This is text in Green ",
                      "followed by red ",
                      "and then we have Magenta... ",
                      "isn't it fun? ",
                      "Here goes DarkCyan" -Color Green,Red,Magenta,White,DarkCyan
 
    .EXAMPLE
    Write-Color -Text "This is text in Green ",
                      "followed by red ",
                      "and then we have Magenta... ",
                      "isn't it fun? ",
                      "Here goes DarkCyan" -Color Green,Red,Magenta,White,DarkCyan -StartTab 3 -LinesBefore 1 -LinesAfter 1
 
    .EXAMPLE
    Write-Color "1. ", "Option 1" -Color Yellow, Green
    Write-Color "2. ", "Option 2" -Color Yellow, Green
    Write-Color "3. ", "Option 3" -Color Yellow, Green
    Write-Color "4. ", "Option 4" -Color Yellow, Green
    Write-Color "9. ", "Press 9 to exit" -Color Yellow, Gray -LinesBefore 1
 
    .EXAMPLE
    Write-Color -LinesBefore 2 -Text "This little ","message is ", "written to log ", "file as well." `
                -Color Yellow, White, Green, Red, Red -LogFile "C:\testing.txt" -TimeFormat "yyyy-MM-dd HH:mm:ss"
    Write-Color -Text "This can get ","handy if ", "want to display things, and log actions to file ", "at the same time." `
                -Color Yellow, White, Green, Red, Red -LogFile "C:\testing.txt"
 
    .EXAMPLE
    Write-Color -T "My text", " is ", "all colorful" -C Yellow, Red, Green -B Green, Green, Yellow
    Write-Color -t "my text" -c yellow -b green
    Write-Color -text "my text" -c red
 
    .EXAMPLE
    Write-Color -Text "Testuję czy się ładnie zapisze, czy będą problemy" -Encoding unicode -LogFile 'C:\temp\testinggg.txt' -Color Red -NoConsoleOutput
 
    .NOTES
    Understanding Custom date and time format strings: https://learn.microsoft.com/en-us/dotnet/standard/base-types/custom-date-and-time-format-strings
    Project support: https://github.com/EvotecIT/PSWriteColor
    Original idea: Josh (https://stackoverflow.com/users/81769/josh)
 
    #>

    [alias('Write-Colour')]
    [CmdletBinding()]
    param (
        [alias ('T')] [String[]]$Text,
        [alias ('C', 'ForegroundColor', 'FGC')] [ConsoleColor[]]$Color = [ConsoleColor]::White,
        [alias ('B', 'BGC')] [ConsoleColor[]]$BackGroundColor = $null,
        [alias ('Indent')][int] $StartTab = 0,
        [int] $LinesBefore = 0,
        [int] $LinesAfter = 0,
        [int] $StartSpaces = 0,
        [alias ('L')] [string] $LogFile = '',
        [Alias('DateFormat', 'TimeFormat')][string] $DateTimeFormat = 'yyyy-MM-dd HH:mm:ss',
        [alias ('LogTimeStamp')][bool] $LogTime = $true,
        [int] $LogRetry = 2,
        [ValidateSet('unknown', 'string', 'unicode', 'bigendianunicode', 'utf8', 'utf7', 'utf32', 'ascii', 'default', 'oem')][string]$Encoding = 'Unicode',
        [switch] $ShowTime,
        [switch] $NoNewLine,
        [alias('HideConsole')][switch] $NoConsoleOutput
    )
    if (-not $NoConsoleOutput) {
        $DefaultColor = $Color[0]
        if ($null -ne $BackGroundColor -and $BackGroundColor.Count -ne $Color.Count) {
            Write-Error "Colors, BackGroundColors parameters count doesn't match. Terminated."
            return
        }
        if ($LinesBefore -ne 0) {
            for ($i = 0; $i -lt $LinesBefore; $i++) {
                Write-Host -Object "`n" -NoNewline 
            } 
        } 
        if ($StartTab -ne 0) {
            for ($i = 0; $i -lt $StartTab; $i++) {
                Write-Host -Object "`t" -NoNewline 
            } 
        }  
        if ($StartSpaces -ne 0) {
            for ($i = 0; $i -lt $StartSpaces; $i++) {
                Write-Host -Object ' ' -NoNewline 
            } 
        }  
        if ($ShowTime) {
            Write-Host -Object "[$([datetime]::Now.ToString($DateTimeFormat))] " -NoNewline 
        } 
        if ($Text.Count -ne 0) {
            if ($Color.Count -ge $Text.Count) {

                if ($null -eq $BackGroundColor) {
                    for ($i = 0; $i -lt $Text.Length; $i++) {
                        Write-Host -Object $Text[$i] -ForegroundColor $Color[$i] -NoNewline 
                    }
                }
                else {
                    for ($i = 0; $i -lt $Text.Length; $i++) {
                        Write-Host -Object $Text[$i] -ForegroundColor $Color[$i] -BackgroundColor $BackGroundColor[$i] -NoNewline 
                    }
                }
            }
            else {
                if ($null -eq $BackGroundColor) {
                    for ($i = 0; $i -lt $Color.Length ; $i++) {
                        Write-Host -Object $Text[$i] -ForegroundColor $Color[$i] -NoNewline 
                    }
                    for ($i = $Color.Length; $i -lt $Text.Length; $i++) {
                        Write-Host -Object $Text[$i] -ForegroundColor $DefaultColor -NoNewline 
                    }
                }
                else {
                    for ($i = 0; $i -lt $Color.Length ; $i++) {
                        Write-Host -Object $Text[$i] -ForegroundColor $Color[$i] -BackgroundColor $BackGroundColor[$i] -NoNewline 
                    }
                    for ($i = $Color.Length; $i -lt $Text.Length; $i++) {
                        Write-Host -Object $Text[$i] -ForegroundColor $DefaultColor -BackgroundColor $BackGroundColor[0] -NoNewline 
                    }
                }
            }
        }
        if ($NoNewLine -eq $true) {
            Write-Host -NoNewline 
        }
        else {
            Write-Host 
        } 
        if ($LinesAfter -ne 0) {
            for ($i = 0; $i -lt $LinesAfter; $i++) {
                Write-Host -Object "`n" -NoNewline 
            } 
        }  
    }
    if ($Text.Count -and $LogFile) {

        $TextToFile = ""
        for ($i = 0; $i -lt $Text.Length; $i++) {
            $TextToFile += $Text[$i]
        }
        $Saved = $false
        $Retry = 0
        Do {
            $Retry++
            try {
                if ($LogTime) {
                    "[$([datetime]::Now.ToString($DateTimeFormat))] $TextToFile" | Out-File -FilePath $LogFile -Encoding $Encoding -Append -ErrorAction Stop -WhatIf:$false
                }
                else {
                    "$TextToFile" | Out-File -FilePath $LogFile -Encoding $Encoding -Append -ErrorAction Stop -WhatIf:$false
                }
                $Saved = $true
            }
            catch {
                if ($Saved -eq $false -and $Retry -eq $LogRetry) {
                    Write-Warning "Write-Color - Couldn't write to log file $($_.Exception.Message). Tried ($Retry/$LogRetry))"
                }
                else {
                    Write-Warning "Write-Color - Couldn't write to log file $($_.Exception.Message). Retrying... ($Retry/$LogRetry)"
                }
            }
        } Until ($Saved -eq $true -or $Retry -ge $LogRetry)
    }
}
function Get-UnifiStock {
    <#
    .SYNOPSIS
    Get the stock status of Ubiquiti products from their online store.
 
    .DESCRIPTION
    Get the stock status of Ubiquiti products from their online store.
 
    .PARAMETER Store
    The store to check for stock. Valid values are: Europe, USA, UK
    If you want to use a different store you can use Get-UnifiStockLegacy for other countries.
    This is because the legacy store has a different format for the JSON data, and are not yet migrated to new "look"
 
    .PARAMETER Collection
    Which collection to list.
 
    .EXAMPLE
    Get-UnifiStock -Store USA -Collection AccessoriesCabling, CableBox | Sort-Object -Property Name | Format-Table
 
        .EXAMPLE
    Get-UnifiStock -Store Europe -Collection HostingAndGatewaysCloud,DreamMachine, DreamRouter | Sort-Object -Property Name | Format-Table
 
    .EXAMPLE
    Get-UnifiStock -Store Europe | Sort-Object -Property Name | Format-Table
 
    .NOTES
    General notes
    #>

    [cmdletbinding()]
    param(
        [ValidateSet('Europe', 'USA', 'UK')]
        [Parameter(Mandatory)][string] $Store,
        [ValidateSet(
            'AccessoriesCabling',
            'AccessPointMounting',
            'AccessPointSkins',
            'CableBox',
            'CablePatch',
            'CableSFP',
            'CameraEnhancers',
            'CameraSecurityBulletDSLR',
            'CameraSecurityBulletHighPerformance',
            'CameraSecurityBulletStandard',
            'CameraSecurityCompactPoEWired',
            'CameraSecurityCompactWiFiConnected',
            'CameraSecurityDome360',
            'CameraSecurityDomeSlim',
            'CameraSecurityDoorAccessAccessories',
            'CameraSecurityDoorAccessReaders',
            'CameraSecurityDoorAccessStarterKit',
            'CameraSecurityInteriorDesign',
            'CameraSecurityNVRLargeScale',
            'CameraSecurityNVRMidScale',
            'CameraSecurityPTZ',
            'CameraSecuritySpecialChime',
            'CameraSecuritySpecialSensor',
            'CameraSecuritySpecialViewport',
            'CameraSecuritySpecialWiFiDoorbell',
            'CameraSkins',
            'DesktopStands',
            'DeviceMounting',
            'DreamMachine',
            'DreamRouter',
            'HDDStorage',
            'HostingAndGatewaysCloud',
            'HostingAndGatewaysLargeScale',
            'HostingAndGatewaysSmallScale',
            'InstallationsRackmount',
            'InternetBackup',
            'NewIntegrationsAVDisplayMounting',
            'NewIntegrationsAVGiantPoETouchscreens',
            'NewIntegrationsPhoneATA',
            'NewIntegrationsPhoneCompact',
            'NewIntegrationsPhoneExecutive',
            'PoEAndPower',
            'PoEPower',
            'PowerTechPowerRedundancy',
            'PowerTechUninterruptiblePoE',
            'SwitchingEnterpriseAggregation',
            'SwitchingEnterprisePoE',
            'SwitchingProEthernet',
            'SwitchingProPoE',
            'SwitchingStandardEthernet',
            'SwitchingStandardPoE',
            'SwitchingUtility10GbpsEthernet',
            'SwitchingUtilityMini',
            'SwitchingUtilityPoE',
            'WiFiBuildingBridge10Gigabit',
            'WiFiFlagshipCompact',
            'WiFiFlagshipHighCapacity',
            'WiFiInWallOutletMesh',
            'WiFiMan',
            'WiFiOutdoorFlexible',
            'WiFiFlagshipLongRange',
            'WiFiOutdoorLongRange',
            "NewIntegrationsMobileRouting",
            "CameraSecurityDoorAccessHub",
            "NewIntegrationsAVDigitalSignage",
            "SwitchingUtilityIndustrial",
            "SwitchingUtilityIndoorOutdoor",
            "SwitchingEnterprise10GbpsEthernet",
            "SwitchingUtilityHiPowerPoE",
            "WiFiMegaCapacity",
            "PowerTechUninterruptiblePower",
            "PowerTechPowerDistribution",
            "CameraSecuritySpecialFloodlight",
            "DreamWall",
            "NewIntegrationsEVCharging",
            "CloudKeyRackMount",
            "AmpliFiMesh",
            "AmpliFiAlien",
            "WiFiInWallCompact",
            "WiFiInWallHighCapacity",
            "AccessPointAntennas",
            "CameraSecurityBulletEnhancedAI",
            "WiFiBuildingBridgeGigabit",
            # organizational collections
            "Cabling", "AccessPointMounting", "AccessPointSkins",
            "CableSFP", "CameraEnhancers", "CameraSkins", "DeviceMounting", "DisplayMounting",
            "HostingAndGatewaysCloud", "HostingAndGatewaysLargeScale", "HostingAndGatewaysSmallScale",
            "PoEAndPower", "PoEPower", "WiFiManager", "InternetBackup", "PowerRedundancy",
            "ProEthernetSwitching", "StandardEthernetSwitching", "StandardPoESwitching",
            "10GbpsEthernetSwitching", "PoESwitching",
            "FlagshipCompactWiFi", "FlagshipHighCapacityWiFi", "InWallHighCapacityWiFi", "OutdoorFlexibleWiFi", "UICare"
        )][string[]] $Collection
    )

    $Stores = @{
        Europe = 'eu'
        USA    = 'us'
        UK     = 'uk'
    }

    $StoreLinks = @{
        Europe = 'https://eu.store.ui.com/eu/en'
        USA    = 'https://store.ui.com/us/en'
        UK     = 'https://uk.store.ui.com/uk/en'
    }

    $Accessories = @{

        "uisp-accessories-cabling"                              = "AccessoriesCabling"
        "unifi-accessory-tech-access-point-mounting"            = "AccessPointMounting"
        "unifi-accessory-tech-access-point-skins"               = "AccessPointSkins"
        "unifi-accessory-tech-cable-box"                        = "CableBox"
        "unifi-accessory-tech-cable-patch"                      = "CablePatch"
        "unifi-accessory-tech-cable-sfp"                        = "CableSFP"
        "unifi-accessory-tech-camera-enhancers"                 = "CameraEnhancers"
        "unifi-accessory-tech-camera-skins"                     = "CameraSkins"
        "unifi-accessory-tech-desktop-stands"                   = "DesktopStands"
        "unifi-accessory-tech-device-mounting"                  = "DeviceMounting"
        "unifi-accessory-tech-hdd-storage"                      = "HDDStorage"
        "unifi-accessory-tech-hosting-and-gateways-cloud"       = "HostingAndGatewaysCloud"
        "unifi-accessory-tech-hosting-and-gateways-large-scale" = "HostingAndGatewaysLargeScale"
        "unifi-accessory-tech-hosting-and-gateways-small-scale" = "HostingAndGatewaysSmallScale"
        "unifi-accessory-tech-installations-rackmount"          = "InstallationsRackmount"
        "unifi-accessory-tech-poe-and-power"                    = "PoEAndPower"
        "unifi-accessory-tech-poe-power"                        = "PoEPower"
        "unifi-accessory-tech-wifiman"                          = "WiFiMan"
        "unifi-camera-security-bullet-dslr"                     = "CameraSecurityBulletDSLR"
        "unifi-camera-security-bullet-high-performance"         = "CameraSecurityBulletHighPerformance"
        "unifi-camera-security-bullet-standard"                 = "CameraSecurityBulletStandard"
        "unifi-camera-security-compact-poe-wired"               = "CameraSecurityCompactPoEWired"
        "unifi-camera-security-compact-wifi-connected"          = "CameraSecurityCompactWiFiConnected"
        "unifi-camera-security-dome-360"                        = "CameraSecurityDome360"
        "unifi-camera-security-dome-slim"                       = "CameraSecurityDomeSlim"
        "unifi-camera-security-door-access-accessories"         = "CameraSecurityDoorAccessAccessories"
        "unifi-camera-security-door-access-readers"             = "CameraSecurityDoorAccessReaders"
        "unifi-camera-security-door-access-starter-kit"         = "CameraSecurityDoorAccessStarterKit"
        "unifi-camera-security-interior-design"                 = "CameraSecurityInteriorDesign"
        "unifi-camera-security-nvr-large-scale"                 = "CameraSecurityNVRLargeScale"
        "unifi-camera-security-nvr-mid-scale"                   = "CameraSecurityNVRMidScale"
        "unifi-camera-security-ptz"                             = "CameraSecurityPTZ"
        "unifi-camera-security-special-chime"                   = "CameraSecuritySpecialChime"
        "unifi-camera-security-special-sensor"                  = "CameraSecuritySpecialSensor"
        "unifi-camera-security-special-viewport"                = "CameraSecuritySpecialViewport"
        "unifi-camera-security-special-wifi-doorbell"           = "CameraSecuritySpecialWiFiDoorbell"
        "unifi-dream-machine"                                   = "DreamMachine"
        "unifi-dream-router"                                    = "DreamRouter"
        "unifi-internet-backup"                                 = "InternetBackup"
        "unifi-new-integrations-av-display-mounting"            = "NewIntegrationsAVDisplayMounting"
        "unifi-new-integrations-av-giant-poe-touchscreens"      = "NewIntegrationsAVGiantPoETouchscreens"
        "unifi-new-integrations-phone-ata"                      = "NewIntegrationsPhoneATA"
        "unifi-new-integrations-phone-compact"                  = "NewIntegrationsPhoneCompact"
        "unifi-new-integrations-phone-executive"                = "NewIntegrationsPhoneExecutive"
        "unifi-power-tech-power-redundancy"                     = "PowerTechPowerRedundancy"
        "unifi-power-tech-uninterruptible-poe"                  = "PowerTechUninterruptiblePoE"
        "unifi-switching-enterprise-aggregation"                = "SwitchingEnterpriseAggregation"
        "unifi-switching-enterprise-power-over-ethernet"        = "SwitchingEnterprisePoE"
        "unifi-switching-pro-ethernet"                          = "SwitchingProEthernet"
        "unifi-switching-pro-power-over-ethernet"               = "SwitchingProPoE"
        "unifi-switching-standard-ethernet"                     = "SwitchingStandardEthernet"
        "unifi-switching-standard-power-over-ethernet"          = "SwitchingStandardPoE"
        "unifi-switching-utility-10-gbps-ethernet"              = "SwitchingUtility10GbpsEthernet"
        "unifi-switching-utility-mini"                          = "SwitchingUtilityMini"
        "unifi-switching-utility-poe"                           = "SwitchingUtilityPoE"
        "unifi-wifi-building-bridge-10-gigabit"                 = "WiFiBuildingBridge10Gigabit"
        "unifi-wifi-flagship-compact"                           = "WiFiFlagshipCompact"
        "unifi-wifi-flagship-high-capacity"                     = "WiFiFlagshipHighCapacity"
        "unifi-wifi-inwall-outlet-mesh"                         = "WiFiInWallOutletMesh"
        "unifi-wifi-outdoor-flexible"                           = "WiFiOutdoorFlexible"
        "unifi-wifi-flagship-long-range"                        = "WiFiFlagshipLongRange"
        "unifi-wifi-outdoor-long-range"                         = "WiFiOutdoorLongRange"

        "unifi-new-integrations-mobile-routing"                 = "NewIntegrationsMobileRouting"
        "unifi-camera-security-door-access-hub"                 = "CameraSecurityDoorAccessHub"
        "unifi-new-integrations-av-digital-signage"             = "NewIntegrationsAVDigitalSignage"
        "unifi-switching-utility-industrial"                    = "SwitchingUtilityIndustrial"
        "unifi-switching-utility-indoor-outdoor"                = "SwitchingUtilityIndoorOutdoor"
        "unifi-switching-enterprise-10-gbps-ethernet"           = "SwitchingEnterprise10GbpsEthernet"
        "unifi-switching-utility-hi-power-poe"                  = "SwitchingUtilityHiPowerPoE"
        "unifi-wifi-mega-capacity"                              = "WiFiMegaCapacity"
        "unifi-power-tech-uninterruptible-power"                = "PowerTechUninterruptiblePower"
        "unifi-power-tech-power-distribution"                   = "PowerTechPowerDistribution"
        "unifi-camera-security-special-floodlight"              = "CameraSecuritySpecialFloodlight"
        "unifi-dream-wall"                                      = "DreamWall"
        "unifi-new-integrations-ev-charging"                    = "NewIntegrationsEVCharging"
        "cloud-key-rack-mount"                                  = "CloudKeyRackMount"
        "amplifi-mesh"                                          = "AmpliFiMesh"
        "amplifi-alien"                                         = "AmpliFiAlien"
        "unifi-wifi-inwall-compact"                             = "WiFiInWallCompact"
        "unifi-wifi-inwall-high-capacity"                       = "WiFiInWallHighCapacity"
        "unifi-accessory-tech-access-point-antennas"            = "AccessPointAntennas"
        "unifi-camera-security-bullet-enhanced-ai"              = "CameraSecurityBulletEnhancedAI"
        "unifi-wifi-building-bridge-gigabit"                    = "WiFiBuildingBridgeGigabit"

        "accessories-cabling"                                   = "Cabling"
        "accessory-tech-access-point-mounting"                  = "AccessPointMounting"
        "accessory-tech-access-point-skins"                     = "AccessPointSkins"
        "accessory-tech-cable-sfp"                              = "CableSFP"
        "accessory-tech-camera-enhancers"                       = "CameraEnhancers"
        "accessory-tech-camera-skins"                           = "CameraSkins"
        "accessory-tech-device-mounting"                        = "DeviceMounting"
        "accessory-tech-display-mounting"                       = "DisplayMounting"
        "accessory-tech-hosting-and-gateways-cloud"             = "HostingAndGatewaysCloud"
        "accessory-tech-hosting-and-gateways-large-scale"       = "HostingAndGatewaysLargeScale"
        "accessory-tech-hosting-and-gateways-small-scale"       = "HostingAndGatewaysSmallScale"
        "accessory-tech-poe-and-power"                          = "PoEAndPower"
        "accessory-tech-poe-power"                              = "PoEPower"
        "accessory-tech-wifiman"                                = "WiFiManager"
        "internet-backup"                                       = "InternetBackup"
        "power-tech-power-redundancy"                           = "PowerRedundancy"
        "switching-pro-ethernet"                                = "ProEthernetSwitching"
        "switching-standard-ethernet"                           = "StandardEthernetSwitching"
        "switching-standard-power-over-ethernet"                = "StandardPoESwitching"
        "switching-utility-10-gbps-ethernet"                    = "10GbpsEthernetSwitching"
        "switching-utility-poe"                                 = "PoESwitching"
        "wifi-flagship-compact"                                 = "FlagshipCompactWiFi"
        "wifi-flagship-high-capacity"                           = "FlagshipHighCapacityWiFi"
        "wifi-inwall-high-capacity"                             = "InWallHighCapacityWiFi"
        "wifi-outdoor-flexible"                                 = "OutdoorFlexibleWiFi"

        "ui-care"                                               = "UICare"
    }

    $UrlStore = $Stores[$Store]
    $UrlStoreLink = $StoreLinks[$Store]

    $ProgressPreference = 'SilentlyContinue'
    try {
        Write-Verbose -Message "Get-UnifiStock - Getting Unifi products"

        $invokeRestMethodSplat = @{
            UseBasicParsing = $true
            Uri             = "https://ecomm.svc.ui.com/graphql"
            Method          = 'Post'
            ContentType     = "application/json"
        }

        $Limit = 250
        $Offset = 0
        $Total = 1

        $Products = while ($offset -lt $total) {

            $Body = [ordered] @{
                operationName = "GetProductsForLandingPagePro"
                variables     = @{
                    input = @{
                        limit  = $Limit
                        offset = $Offset
                        filter = @{
                            storeId  = "$UrlStore"
                            language = "en"
                            line     = "Unifi"
                        }
                    }
                }
                query         = @"
query GetProductsForLandingPagePro(`$input: StorefrontProductListInput!) {
  storefrontProducts(input: `$input) {
    pagination {
      limit
      offset
      total
      __typename
    }
    items {
      ...LandingProProductFragment
      __typename
    }
    __typename
  }
}
 
fragment LandingProProductFragment on StorefrontProduct {
  id
  title
  shortTitle
  name
  slug
  collectionSlug
  organizationalCollectionSlug
  shortDescription
  tags {
    name
    __typename
  }
  gallery {
    ...ImageOnlyGalleryFragment
    __typename
  }
  options {
    id
    title
    values {
      id
      title
      __typename
    }
    __typename
  }
  variants {
    id
    sku
    status
    title
    galleryItemIds
    isEarlyAccess
    optionValueIds
    displayPrice {
      ...MoneyFragment
      __typename
    }
    hasPurchaseHistory
    __typename
  }
  __typename
}
 
fragment ImageOnlyGalleryFragment on Gallery {
  id
  items {
    id
    data {
      __typename
      ... on Asset {
        id
        mimeType
        url
        height
        width
        __typename
      }
    }
    __typename
  }
  type
  __typename
}
 
fragment MoneyFragment on Money {
  amount
  currency
  __typename
}
"@

            }
            $invokeRestMethodSplat.Body = $Body | ConvertTo-Json -Depth 10
            $Output = Invoke-RestMethod @invokeRestMethodSplat
            $CurrentProducts = $Output.data.storefrontProducts.items
            $CurrentProducts
            $Pagination = $Output.data.storefrontProducts.pagination
            $total = $pagination.total
            $offset += $limit
        }
    }
    catch {
        Write-Color -Text "Unable to get Unifi products. Error: $($_.Exception.Message)" -Color Red
        return
    }
    if ($Products) {
        Write-Verbose -Message "Get-UnifiStock - Got $($Products.Count) products"
        $UnifiProducts = foreach ($Product in $Products) {
            foreach ($Variant in $Product.variants) {
                if ($Product.collectionSlug) {
                    $Category = $Accessories[$Product.collectionSlug]
                }
                elseif ($Product.organizationalCollectionSlug) {
                    $Category = $Accessories[$Product.organizationalCollectionSlug]
                }
                else {
                    $Category = 'Unknown'
                }
                if ($Collection) {
                    if ($Category -notin $Collection) {
                        continue
                    }
                }
                [PSCustomObject] @{
                    Name                         = $Product.title
                    ShortName                    = $Product.shortTitle
                    Available                    = $Variant.status -eq 'AVAILABLE'
                    Category                     = $Category
                    Collection                   = $Product.collectionSlug
                    OrganizationalCollectionSlug = $Product.organizationalCollectionSlug
                    SKU                          = $Variant.sku
                    SKUName                      = $Variant.title
                    EarlyAccess                  = $Variant.isEarlyAccess
                    ProductUrl                   = "$UrlStoreLink/collections/$($Product.collectionSlug)/products/$($Product.slug)"
                }
            }
        }
        $UnifiProducts
    }
}
function Get-UnifiStockLegacy {
    <#
    .SYNOPSIS
    Get the stock status of Ubiquiti products from their online store.
 
    .DESCRIPTION
    Get the stock status of Ubiquiti products from their online store.
 
    .PARAMETER Store
    The store to check for stock. Valid values are: Europe, USA, Brazil, India, Japan, Taiwan, Signapore, Mexico, China
 
    .PARAMETER Collection
    Which collection to list.
 
    .EXAMPLE
    Get-UnifiStock -Store USA -Collection Protect, ProtectAccessories, ProtectNVR | Sort-Object -Property Name | Format-Table
 
    .EXAMPLE
    Get-UnifiStock -Store Europe -Collection Protect, NetworkWifi | Sort-Object -Property Name | Format-Table
 
    .EXAMPLE
    Get-UnifiStock -Store Europe | Sort-Object -Property Name | Format-Table
 
    .NOTES
    General notes
    #>

    [cmdletbinding()]
    param(
        [ValidateSet('Brazil', 'India', 'Japan', 'Taiwan', 'Signapore', 'Mexico', 'China')]
        [Parameter(Mandatory)]
        [string] $Store,
        [ValidateSet(
            'EarlyAccess',
            'EarlyAccessConnect',
            'EarlyAccessDoorAccess',
            'EarlyAccessSmartpower',
            'EarlyAccessUispFiber',
            'EarlyAccessUispWired',
            'EarlyAccessUispWireless',
            'EarlyAccessUnifiNetworkHost',
            'NetworkHost',
            'NetworkOS',
            'NetworkRoutingOffload',
            'NetworkRoutingSwitching',
            'NetworkSmartPower',
            'NetworkSwitching',
            'NetworkWifi',
            'OperatorAirmaxAndLtu',
            'OperatorIspInfrastructure',
            'Protect',
            'ProtectAccessories',
            'ProtectNVR',
            'UnifiAccessories',
            'UnifiConnect',
            'UnifiDoorAccess',
            'UnifiPhoneSystem'
        )]
        [string[]] $Collection
    )

    $Stores = @{
        Europe    = 'https://eu.store.ui.com'
        USA       = 'https://store.ui.com'
        Brazil    = 'https://br.store.ui.com'
        India     = 'https://store-ui.in'
        Japan     = 'https://jp.store.ui.com'
        Taiwan    = 'https://tw.store.ui.com'
        Singapore = 'https://sg.store.ui.com'
        Mexico    = 'https://mx.store.ui.com'
        China     = 'https://store.ui.com.cn'
    }

    $Collections = @{
        Protect                     = 'unifi-protect'
        ProtectNVR                  = 'unifi-protect-nvr'
        ProtectAccessories          = 'unifi-protect-accessories'
        NetworkOS                   = 'unifi-network-unifi-os-consoles'
        NetworkRoutingSwitching     = 'unifi-network-routing-switching'
        NetworkSmartPower           = 'unifi-network-smartpower'
        NetworkRoutingOffload       = 'unifi-network-routing-offload'
        NetworkHost                 = 'unifi-network-host'
        NetworkSwitching            = 'unifi-network-switching'
        NetworkWifi                 = 'unifi-network-wireless'
        UnifiAccessories            = 'unifi-accessories'
        EarlyAccess                 = 'early-access'
        EarlyAccessDoorAccess       = 'early-access-door-access'
        EarlyAccessConnect          = 'early-access-connect'
        EarlyAccessSmartpower       = 'early-access-smartpower'
        EarlyAccessUispFiber        = 'early-access-uisp-fiber'
        EarlyAccessUispWired        = 'early-access-uisp-wired'
        EarlyAccessUispWireless     = 'early-access-uisp-wireless'
        EarlyAccessUnifiNetworkHost = 'early-access-unifi-network-host'
        UnifiConnect                = 'unifi-connect'
        UnifiDoorAccess             = 'unifi-door-access'
        OperatorAirmaxAndLtu        = 'operator-airmax -and -ltu'
        OperatorIspInfrastructure   = 'operator-isp-infrastructure'
        UnifiPhoneSystem            = 'unifi-phone-system'
    }

    $UrlStore = $Stores[$Store]

    if (-not $Collection) {
        $Collection = $Collections.Keys
    }

    foreach ($Category in $Collection) {
        $UrlCollection = $Collections[$Category]
        $Url = "$UrlStore/collections/$UrlCollection"
        $UrlProducts = "$Url/products.json"
        $ProgressPreference = 'SilentlyContinue'
        try {
            Write-Verbose -Message "Get-UnifiStock - Getting $UrlProducts"
            $Output = Invoke-WebRequest -Uri $UrlProducts -ErrorAction Stop -Verbose:$false
        }
        catch {
            Write-Color -Text "Unable to get $UrlProducts. Error: $($_.Exception.Message)" -Color Red
            return
        }
        if ($Output) {
            $OutputJSON = $Output.Content | ConvertFrom-Json
            $UnifiProducts = foreach ($Product in $OutputJSON.products) {
                foreach ($Variant in $Product.variants) {
                    try {
                        $DateCreated = [DateTime]::Parse($Variant.created_at)
                    }
                    catch {
                        Write-Verbose -Message "Unable to parse date: $($Variant.created_at). Skipping"
                        $DateCreated = $null
                    }
                    try {
                        $DateUpdated = [DateTime]::Parse($Variant.updated_at)
                    }
                    catch {
                        Write-Verbose -Message "Unable to parse date: $($Variant.updated_at). Skipping"
                        $DateUpdated = $null
                    }
                    [PSCustomObject] @{
                        Name       = $Product.title
                        Available  = $Variant.available
                        Category   = $Category
                        Price      = $Variant.price
                        SKU        = $Variant.sku
                        SKUName    = $Variant.title

                        Created    = $DateCreated
                        Updated    = $DateUpdated
                        ProductUrl = "$Url/products/$($Product.handle)"
                        Tags       = $Product.tags
                    }
                }
            }
            $UnifiProducts
        }
    }
}
function Wait-UnifiStock {
    <#
    .SYNOPSIS
    When run waits for the specified SKU or Product to be in stock in Ubiquiti's online store.
 
    .DESCRIPTION
    When run waits for the specified SKU or Product to be in stock in Ubiquiti's online store.
    Once the product is in stock the function will play a beep, read which product is in stock and open a browser to specific product page.
 
    .PARAMETER ProductName
    One or more products to wait for to be in stock with search by it's Name
 
    .PARAMETER ProductSKU
    One or more products to wait for to be in stock with search by it's SKU
 
    .PARAMETER Store
    The store to check for stock. Valid values are Europe, USA and UK.
    If you want to use a different store you can use Wait-UnifiStockLegacy for other countries.
    This is because the legacy store has a different format for the JSON data, and are not yet migrated to new "look"
 
    .PARAMETER Seconds
    The number of seconds to wait between checks. Default is 60 seconds.
 
    .PARAMETER DoNotOpenWebsite
    If specified the website will not be opened when the product is in stock.
 
    .PARAMETER DoNotPlaySound
    If specified the sound will not be played when the product is in stock.
 
    .PARAMETER DoNotUseBeep
    If specified the beep will not be played when the product is in stock.
 
    .EXAMPLE
    Wait-UnifiStock -ProductSKU 'UDR-EU' -ProductName 'Switch Flex XG' -Seconds 60 -Store Europe
 
    .EXAMPLE
    Wait-UnifiStock -ProductName 'UniFi6 Mesh', 'G4 Doorbell Pro', 'Camera G4 Pro', 'Test' -Seconds 60 -Store Europe
 
    .EXAMPLE
    Wait-UnifiStock -ProductName 'UniFi6 Mesh', 'G4 Doorbell Pro', 'Camera G4 Pro', 'Test' -Seconds 60 -DoNotUseBeep -Store Europe
 
    .NOTES
    General notes
    #>

    [cmdletBinding()]
    param(
        [string[]] $ProductName,
        [string[]] $ProductSKU,
        [parameter(Mandatory)][ValidateSet('Europe', 'USA', 'UK')][string] $Store,
        [int] $Seconds = 60,
        [switch] $DoNotOpenWebsite,
        [switch] $DoNotPlaySound,
        [switch] $DoNotUseBeep
    )
    $Cache = [ordered] @{}
    $CurrentStock = Get-UnifiStock -Store $Store
    foreach ($Product in $CurrentStock) {
        $Cache[$Product.Name] = $Product
        $Cache[$Product.SKU] = $Product
    }

    [Array] $ApplicableProducts = @(
        foreach ($Name in $ProductName) {
            $Found = $false
            foreach ($StockName in $CurrentStock.Name) {
                if ($StockName -like "$Name") {
                    $StockName
                    $found = $true
                }
            }
            if (-not $Found) {
                Write-Color -Text "Product Name '$Name' not found in stock. Ignoring" -Color Red
            }
        }
        foreach ($Name in $ProductSKU) {
            if ($Name -in $CurrentStock.SKU) {
                $Name
            }
            else {
                Write-Color -Text "Product SKU '$Name' not found in stock. Ignoring" -Color Red
            }
        }
    )
    $ApplicableProducts = $ApplicableProducts | Sort-Object -Unique
    if ($ApplicableProducts.Count -eq 0) {
        Write-Color -Text "No products requested by user not found on list of available products. Exiting" -Color Red
        return
    }

    Write-Color -Text "Setting up monitoring for ", ($ApplicableProducts -join ", ") -Color Yellow, Green
    $Count = 0
    Do {
        if ($Count -ne 0) {
            Start-Sleep -Seconds $Seconds
        }
        Write-Color -Text "Checking stock..." -Color Yellow
        $CurrentResults = Get-UnifiStock -Store $Store | Where-Object {
            $_.Name -in $ApplicableProducts -or $_.SKU -in $ApplicableProducts
        } | Sort-Object -Property Name
        Write-Color -Text "Checking stock... Done, sleeping for $Seconds seconds" -Color Green
        $Count++
    } While ($CurrentResults.Available -notcontains $true)

    foreach ($Product in $CurrentResults | Where-Object { $_.Available -eq $true }) {
        Write-Color -Text "Product ", $($Product.Name), " is in stock! ", "SKU: $($Product.SKU)" -Color Yellow, Green, Yellow, Green

        if (-not $DoNotOpenWebsite) {
            Start-Process $Product.ProductUrl
        }

        if (-not $DoNotPlaySound) {
            try {
                $Voice = New-Object -ComObject Sapi.spvoice -ErrorAction Stop
            }
            catch {
                Write-Color -Text "Failed to create voice object. Error: $($_.Exception.Message)" -Color Red
            }
            if ($Voice) {

                $voice.rate = 0

                try {
                    $null = $voice.speak("Hey,there is stock available for $($Product.Name)")
                }
                catch {
                    Write-Color -Text "Failed to speak. Error: $($_.Exception.Message)" -Color Red
                }
            }
        }
        if (-not $DoNotUseBeep) {
            [console]::beep(500, 300)
        }
    }
}
function Wait-UnifiStockLegacy {
    <#
    .SYNOPSIS
    When run waits for the specified SKU or Product to be in stock in Ubiquiti's online store.
 
    .DESCRIPTION
    When run waits for the specified SKU or Product to be in stock in Ubiquiti's online store.
    Once the product is in stock the function will play a beep, read which product is in stock and open a browser to specific product page.
 
    .PARAMETER ProductName
    One or more products to wait for to be in stock with search by it's Name
 
    .PARAMETER ProductSKU
    One or more products to wait for to be in stock with search by it's SKU
 
    .PARAMETER Store
    The store to check for stock. Valid values are Brazil, India, Japan, Taiwan, Signapore, Mexico, China
    If you want EU/USA store you can use Wait-UnifiStock for those.
 
    .PARAMETER Seconds
    The number of seconds to wait between checks. Default is 60 seconds.
 
    .PARAMETER DoNotOpenWebsite
    If specified the website will not be opened when the product is in stock.
 
    .PARAMETER DoNotPlaySound
    If specified the sound will not be played when the product is in stock.
 
    .PARAMETER DoNotUseBeep
    If specified the beep will not be played when the product is in stock.
 
    .EXAMPLE
    Wait-UnifiStockLegacy -ProductSKU 'UDR-EU' -ProductName 'Switch Flex XG' -Seconds 60 -Store Brazil
 
    .EXAMPLE
    Wait-UnifiStockLegacy -ProductName 'UniFi6 Mesh', 'G4 Doorbell Pro', 'Camera G4 Pro', 'Test' -Seconds 60 -Store Brazil
 
    .EXAMPLE
    Wait-UnifiStockLegacy -ProductName 'UniFi6 Mesh', 'G4 Doorbell Pro', 'Camera G4 Pro', 'Test' -Seconds 60 -DoNotUseBeep -Store Brazil
 
    .NOTES
    General notes
    #>

    [cmdletBinding()]
    param(
        [string[]] $ProductName,
        [string[]] $ProductSKU,
        [parameter(Mandatory)][ValidateSet('Brazil', 'India', 'Japan', 'Taiwan', 'Signapore', 'Mexico', 'China')][string] $Store,
        [int] $Seconds = 60,
        [switch] $DoNotOpenWebsite,
        [switch] $DoNotPlaySound,
        [switch] $DoNotUseBeep
    )
    $Cache = [ordered] @{}
    $CurrentStock = Get-UnifiStockLegacy -Store $Store
    foreach ($Product in $CurrentStock) {
        $Cache[$Product.Name] = $Product
        $Cache[$Product.SKU] = $Product
    }

    [Array] $ApplicableProducts = @(
        foreach ($Name in $ProductName) {
            $Found = $false
            foreach ($StockName in $CurrentStock.Name) {
                if ($StockName -like "$Name") {
                    $StockName
                    $found = $true
                }
            }
            if (-not $Found) {
                Write-Color -Text "Product Name '$Name' not found in stock. Ignoring" -Color Red
            }
        }
        foreach ($Name in $ProductSKU) {
            if ($Name -in $CurrentStock.SKU) {
                $Name
            }
            else {
                Write-Color -Text "Product SKU '$Name' not found in stock. Ignoring" -Color Red
            }
        }
    )
    if ($ApplicableProducts.Count -eq 0) {
        Write-Color -Text "No products requested by user not found on list of available products. Exiting" -Color Red
        return
    }

    $Collections = @(
        foreach ($Product in $ApplicableProducts) {
            $Cache[$Product].Category
        }
    ) | Select-Object -Unique

    Write-Color -Text "Setting up monitoring for ", ($ApplicableProducts -join ", ") -Color Yellow, Green
    $Count = 0
    Do {
        if ($Count -ne 0) {
            Start-Sleep -Seconds $Seconds
        }
        Write-Color -Text "Checking stock..." -Color Yellow
        $CurrentResults = Get-UnifiStockLegacy -Store $Store -Collection $Collections | Where-Object {
            $_.Name -in $ApplicableProducts -or $_.SKU -in $ApplicableProducts
        } | Sort-Object -Property Name
        Write-Color -Text "Checking stock... Done, sleeping for $Seconds seconds" -Color Green
        $Count++
    } While ($CurrentResults.Available -notcontains $true)

    foreach ($Product in $CurrentResults | Where-Object { $_.Available -eq $true }) {
        Write-Color -Text "Product ", $($Product.Name), " is in stock! ", "SKU: $($Product.SKU)" -Color Yellow, Green, Yellow, Green

        if (-not $DoNotOpenWebsite) {
            Start-Process $Product.ProductUrl
        }

        if (-not $DoNotPlaySound) {
            try {
                $Voice = New-Object -ComObject Sapi.spvoice -ErrorAction Stop
            }
            catch {
                Write-Color -Text "Failed to create voice object. Error: $($_.Exception.Message)" -Color Red
            }
            if ($Voice) {

                $voice.rate = 0

                try {
                    $null = $voice.speak("Hey,there is stock available for $($Product.Name)")
                }
                catch {
                    Write-Color -Text "Failed to speak. Error: $($_.Exception.Message)" -Color Red
                }
            }
        }
        if (-not $DoNotUseBeep) {
            [console]::beep(500, 300)
        }
    }
}

Export-ModuleMember -Function @('Get-UnifiStock', 'Get-UnifiStockLegacy', 'Wait-UnifiStock', 'Wait-UnifiStockLegacy') -Alias @() -C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