standalone_preview

package
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 27, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AppIDWord          = "MSWD2019"
	AppIDExcel         = "XCEL2019"
	AppIDPowerPoint    = "PPT32019"
	AppIDOutlook       = "OPIM2019"
	AppIDOneNote       = "ONMC2019"
	AppIDTeams         = "TEAMS21"
	AppIDSkypeForBiz   = "MSFB16"
	AppIDDefenderEP    = "WDAV00"
	AppIDDefenderCons  = "WDAVC00"
	AppIDDefenderShim  = "WDAVS00"
	AppIDCompanyPortal = "IMCP01"
	AppIDAutoUpdate    = "MSau04"
	AppIDWindowsApp    = "MSRD10"
	AppIDCopilot       = "MSCP10"
	AppIDQuickAssist   = "MSQA01"
	AppIDRemoteHelp    = "MSRH01"
	AppIDLicensing     = "OLIC02"
)

Preview channel application IDs. The preview (Insider Slow) channel hosts the same application IDs as production.

Variables

AllAppIDs is the ordered list of all preview channel application IDs.

View Source
var AppNames = map[string]string{
	AppIDWord:          "Microsoft Word",
	AppIDExcel:         "Microsoft Excel",
	AppIDPowerPoint:    "Microsoft PowerPoint",
	AppIDOutlook:       "Microsoft Outlook",
	AppIDOneNote:       "Microsoft OneNote",
	AppIDTeams:         "Microsoft Teams",
	AppIDSkypeForBiz:   "Skype for Business",
	AppIDDefenderEP:    "Microsoft Defender (Endpoint)",
	AppIDDefenderCons:  "Microsoft Defender (Consumer)",
	AppIDDefenderShim:  "Microsoft Defender (Shim)",
	AppIDCompanyPortal: "Intune Company Portal",
	AppIDAutoUpdate:    "Microsoft AutoUpdate",
	AppIDWindowsApp:    "Windows App",
	AppIDCopilot:       "Microsoft 365 Copilot",
	AppIDQuickAssist:   "Quick Assist",
	AppIDRemoteHelp:    "Remote Help",
	AppIDLicensing:     "Licensing Helper Tool",
}

AppNames maps application ID to human-readable display name.

Functions

This section is empty.

Types

type Package

type Package struct {
	ApplicationID     string
	Title             string
	ShortVersion      string
	FullVersion       string
	UpdateVersion     string
	MinimumOS         string
	Location          string
	AppOnlyLocation   string
	Hash              string
	HashSHA256        string
	AppOnlyHash       string
	AppOnlyHashSHA256 string
	Date              string
}

Package represents a single Microsoft application preview update entry.

type StandalonePreviewResponse

type StandalonePreviewResponse struct {
	Packages []*Package
}

StandalonePreviewResponse holds all packages fetched from the preview CDN channel.

type StandalonePreviewService

type StandalonePreviewService struct {
	// contains filtered or unexported fields
}

StandalonePreviewService fetches macOS standalone application metadata from the Microsoft Office CDN preview (Insider Slow) channel.

func NewService

func NewService(c client.Client) *StandalonePreviewService

NewService creates a new StandalonePreviewService targeting the preview CDN channel.

func (*StandalonePreviewService) GetLatestV1

GetLatestV1 fetches the latest preview metadata for all known standalone applications.

GET https://officecdnmac.microsoft.com/pr/{previewChannelUUID}/MacAutoupdate/{AppID}.xml

func (*StandalonePreviewService) GetPackageByApplicationIDV1

func (s *StandalonePreviewService) GetPackageByApplicationIDV1(ctx context.Context, appID string) (*Package, error)

GetPackageByApplicationIDV1 fetches preview metadata for a single application by ID.

GET https://officecdnmac.microsoft.com/pr/{previewChannelUUID}/MacAutoupdate/{AppID}.xml

func (*StandalonePreviewService) GetPackageByNameV1

func (s *StandalonePreviewService) GetPackageByNameV1(ctx context.Context, name string) (*Package, error)

GetPackageByNameV1 fetches preview metadata for the application with the given display name.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL