Versions in this module Expand all Collapse all v2 v2.3.0 Feb 16, 2026 Changes in this version + const HTTPHeaderPod + const PrivateInitDomain + const PrivateInitPath type Account + Pod string type AppStore + Bag func(input BagInput) (BagOutput, error) + type BagInput struct + type BagOutput struct + AuthEndpoint string type LoginInput + Endpoint string v2.3.0-rc.1 Feb 16, 2026 v2.2.0 Jun 9, 2025 Changes in this version + const CustomerMessageAccountDisabled type AppStore + GetVersionMetadata func(input GetVersionMetadataInput) (GetVersionMetadataOutput, error) + ListVersions func(input ListVersionsInput) (ListVersionsOutput, error) type DownloadInput + ExternalVersionID string + type GetVersionMetadataInput struct + Account Account + App App + VersionID string + type GetVersionMetadataOutput struct + DisplayVersion string + ReleaseDate time.Time + type ListVersionsInput struct + Account Account + App App + type ListVersionsOutput struct + ExternalVersionIdentifiers []string + LatestExternalVersionID string + type VersionDetails struct + Error string + Success bool + VersionID string + VersionString string + type VersionHistoryInfo struct + App App + LatestVersion string + VersionIdentifiers []string v2.1.6 Feb 10, 2025 v2.1.5 Jan 19, 2025 v2.1.4 Jan 20, 2024 v2.1.3 Jun 11, 2023 v2.1.2 Jun 4, 2023 v2.1.1 May 29, 2023 v2.1.0 May 29, 2023 Changes in this version + const CustomerMessageBadLogin + const CustomerMessageSubscriptionRequired + const FailureTypeInvalidCredentials + const FailureTypeLicenseNotFound + const FailureTypePasswordTokenExpired + const FailureTypeTemporarilyUnavailable + const HTTPHeaderStoreFront + const PricingParameterAppStore + const PricingParameterAppleArcade + const PrivateAppStoreAPIDomain + const PrivateAppStoreAPIDomainPrefixWithAuthCode + const PrivateAppStoreAPIDomainPrefixWithoutAuthCode + const PrivateAppStoreAPIPathAuthenticate + const PrivateAppStoreAPIPathDownload + const PrivateAppStoreAPIPathPurchase + var ErrAuthCodeRequired = errors.New("auth code is required") + var ErrLicenseRequired = errors.New("license is required") + var ErrPasswordTokenExpired = errors.New("password token is expired") + var ErrSubscriptionRequired = errors.New("subscription required") + var ErrTemporarilyUnavailable = errors.New("item is temporarily unavailable") + type Account struct + DirectoryServicesID string + Email string + Name string + Password string + PasswordToken string + StoreFront string + type AccountInfoOutput struct + Account Account + type App struct + BundleID string + ID int64 + Name string + Price float64 + Version string + func (a App) MarshalZerologObject(event *zerolog.Event) + type AppStore interface + AccountInfo func() (AccountInfoOutput, error) + Download func(input DownloadInput) (DownloadOutput, error) + Login func(input LoginInput) (LoginOutput, error) + Lookup func(input LookupInput) (LookupOutput, error) + Purchase func(input PurchaseInput) error + ReplicateSinf func(input ReplicateSinfInput) error + Revoke func() error + Search func(input SearchInput) (SearchOutput, error) + func NewAppStore(args Args) AppStore + type Apps []App + func (apps Apps) MarshalZerologArray(a *zerolog.Array) + type Args struct + CookieJar http.CookieJar + Keychain keychain.Keychain + Machine machine.Machine + OperatingSystem operatingsystem.OperatingSystem + type DownloadInput struct + Account Account + App App + OutputPath string + Progress *progressbar.ProgressBar + type DownloadOutput struct + DestinationPath string + Sinfs []Sinf + type Error struct + Metadata interface{} + func NewErrorWithMetadata(err error, metadata interface{}) *Error + func (t Error) Error() string + type LoginInput struct + AuthCode string + Email string + Password string + type LoginOutput struct + Account Account + type LookupInput struct + Account Account + BundleID string + type LookupOutput struct + App App + type PurchaseInput struct + Account Account + App App + type ReplicateSinfInput struct + PackagePath string + Sinfs []Sinf + type SearchInput struct + Account Account + Limit int64 + Term string + type SearchOutput struct + Count int + Results []App + type Sinf struct + Data []byte + ID int64