Versions in this module Expand all Collapse all v2 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