-
Notifications
You must be signed in to change notification settings - Fork 530
/
Copy pathconstants.go
27 lines (21 loc) · 1.03 KB
/
constants.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
package appstore
const (
FailureTypeInvalidCredentials = "-5000"
FailureTypePasswordTokenExpired = "2034"
FailureTypeLicenseNotFound = "9610"
FailureTypeTemporarilyUnavailable = "2059"
CustomerMessageBadLogin = "MZFinance.BadLogin.Configurator_message"
CustomerMessageSubscriptionRequired = "Subscription Required"
iTunesAPIDomain = "itunes.apple.com"
iTunesAPIPathSearch = "/search"
iTunesAPIPathLookup = "/lookup"
PrivateAppStoreAPIDomainPrefixWithoutAuthCode = "p25"
PrivateAppStoreAPIDomainPrefixWithAuthCode = "p71"
PrivateAppStoreAPIDomain = "buy." + iTunesAPIDomain
PrivateAppStoreAPIPathAuthenticate = "/WebObjects/MZFinance.woa/wa/authenticate"
PrivateAppStoreAPIPathPurchase = "/WebObjects/MZBuy.woa/wa/buyProduct"
PrivateAppStoreAPIPathDownload = "/WebObjects/MZFinance.woa/wa/volumeStoreDownloadProduct"
HTTPHeaderStoreFront = "X-Set-Apple-Store-Front"
PricingParameterAppStore = "STDQ"
PricingParameterAppleArcade = "GAME"
)