asc

package
v1.261122.0 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2026 License: MIT Imports: 50 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (

	// BaseURL is the App Store Connect API base URL
	BaseURL = "https://" + ascAPIHost
	// EnterpriseBaseURL is the Apple Developer Enterprise Program API base URL
	EnterpriseBaseURL = "https://" + enterpriseAPIHost

	// DefaultTimeout is the default request timeout
	DefaultTimeout = 30 * time.Second
	// DefaultUploadTimeout is the default timeout for upload operations.
	DefaultUploadTimeout = 300 * time.Second

	// Retry defaults
	DefaultMaxRetries = 3
	DefaultBaseDelay  = 1 * time.Second
	DefaultMaxDelay   = 30 * time.Second

	// BulkMutatingRequestLimit is the client-wide ceiling on concurrent
	// mutating requests. Ordinary writes are held to
	// defaultMutatingRequestLimit beneath it; only writes whose context is
	// marked with WithBulkMutatingRequestLimit may use the extra slots, so a
	// bulk fan-out can run more writes at once without raising the limit for
	// every other command.
	BulkMutatingRequestLimit = 16
)
View Source
const (
	ResourceTypeApps                                            = types.ResourceTypeApps
	ResourceTypeAppTags                                         = types.ResourceTypeAppTags
	ResourceTypeBundleIds                                       = types.ResourceTypeBundleIds
	ResourceTypeBundleIdCapabilities                            = types.ResourceTypeBundleIdCapabilities
	ResourceTypeMerchantIds                                     = types.ResourceTypeMerchantIds
	ResourceTypePassTypeIds                                     = types.ResourceTypePassTypeIds
	ResourceTypeAppCategories                                   = types.ResourceTypeAppCategories
	ResourceTypeAppAvailabilities                               = types.ResourceTypeAppAvailabilities
	ResourceTypeAppPricePoints                                  = types.ResourceTypeAppPricePoints
	ResourceTypeAppPriceSchedules                               = types.ResourceTypeAppPriceSchedules
	ResourceTypeAppPrices                                       = types.ResourceTypeAppPrices
	ResourceTypeBuilds                                          = types.ResourceTypeBuilds
	ResourceTypeBuildBundles                                    = types.ResourceTypeBuildBundles
	ResourceTypeBuildBundleFileSizes                            = types.ResourceTypeBuildBundleFileSizes
	ResourceTypeBuildIcons                                      = types.ResourceTypeBuildIcons
	ResourceTypeBuildUploads                                    = types.ResourceTypeBuildUploads
	ResourceTypeBuildUploadFiles                                = types.ResourceTypeBuildUploadFiles
	ResourceTypeCertificates                                    = types.ResourceTypeCertificates
	ResourceTypeAppStoreVersions                                = types.ResourceTypeAppStoreVersions
	ResourceTypeAppClips                                        = types.ResourceTypeAppClips
	ResourceTypeAppClipDefaultExperiences                       = types.ResourceTypeAppClipDefaultExperiences
	ResourceTypeAppClipDefaultExperienceLocalizations           = types.ResourceTypeAppClipDefaultExperienceLocalizations
	ResourceTypeAppClipAdvancedExperiences                      = types.ResourceTypeAppClipAdvancedExperiences
	ResourceTypeAppClipAdvancedExperienceImages                 = types.ResourceTypeAppClipAdvancedExperienceImages
	ResourceTypeAppClipAdvancedExperienceLocalizations          = types.ResourceTypeAppClipAdvancedExperienceLocalizations
	ResourceTypeAppClipHeaderImages                             = types.ResourceTypeAppClipHeaderImages
	ResourceTypeAppClipAppStoreReviewDetails                    = types.ResourceTypeAppClipAppStoreReviewDetails
	ResourceTypeBackgroundAssets                                = types.ResourceTypeBackgroundAssets
	ResourceTypeBackgroundAssetVersions                         = types.ResourceTypeBackgroundAssetVersions
	ResourceTypeBackgroundAssetUploadFiles                      = types.ResourceTypeBackgroundAssetUploadFiles
	ResourceTypeBackgroundAssetVersionAppStoreReleases          = types.ResourceTypeBackgroundAssetVersionAppStoreReleases
	ResourceTypeBackgroundAssetVersionExternalBetaReleases      = types.ResourceTypeBackgroundAssetVersionExternalBetaReleases
	ResourceTypeBackgroundAssetVersionInternalBetaReleases      = types.ResourceTypeBackgroundAssetVersionInternalBetaReleases
	ResourceTypeRoutingAppCoverages                             = types.ResourceTypeRoutingAppCoverages
	ResourceTypeAppEncryptionDeclarations                       = types.ResourceTypeAppEncryptionDeclarations
	ResourceTypeAppEncryptionDeclarationDocuments               = types.ResourceTypeAppEncryptionDeclarationDocuments
	ResourceTypeAppStoreVersionPromotions                       = types.ResourceTypeAppStoreVersionPromotions
	ResourceTypeAppStoreVersionExperimentTreatments             = types.ResourceTypeAppStoreVersionExperimentTreatments
	ResourceTypeAppStoreVersionExperimentTreatmentLocalizations = types.ResourceTypeAppStoreVersionExperimentTreatmentLocalizations
	ResourceTypePreReleaseVersions                              = types.ResourceTypePreReleaseVersions
	ResourceTypeAppStoreVersionSubmissions                      = types.ResourceTypeAppStoreVersionSubmissions
	ResourceTypeAppScreenshotSets                               = types.ResourceTypeAppScreenshotSets
	ResourceTypeAppScreenshots                                  = types.ResourceTypeAppScreenshots
	ResourceTypeAppPreviewSets                                  = types.ResourceTypeAppPreviewSets
	ResourceTypeAppPreviews                                     = types.ResourceTypeAppPreviews
	ResourceTypeReviewSubmissions                               = types.ResourceTypeReviewSubmissions
	ResourceTypeReviewSubmissionItems                           = types.ResourceTypeReviewSubmissionItems
	ResourceTypeAppCustomProductPages                           = types.ResourceTypeAppCustomProductPages
	ResourceTypeAppCustomProductPageVersions                    = types.ResourceTypeAppCustomProductPageVersions
	ResourceTypeAppAssetLibraryImages                           = types.ResourceTypeAppAssetLibraryImages
	ResourceTypeAppAssetLibraryVideos                           = types.ResourceTypeAppAssetLibraryVideos
	ResourceTypeAppCustomProductPageLocalizations               = types.ResourceTypeAppCustomProductPageLocalizations
	ResourceTypeAppEvents                                       = types.ResourceTypeAppEvents
	ResourceTypeAppEventLocalizations                           = types.ResourceTypeAppEventLocalizations
	ResourceTypeAppEventScreenshots                             = types.ResourceTypeAppEventScreenshots
	ResourceTypeAppEventVideoClips                              = types.ResourceTypeAppEventVideoClips
	ResourceTypeAppStoreVersionExperiments                      = types.ResourceTypeAppStoreVersionExperiments
	ResourceTypeBetaGroups                                      = types.ResourceTypeBetaGroups
	ResourceTypeBetaTesters                                     = types.ResourceTypeBetaTesters
	ResourceTypeBetaTesterInvitations                           = types.ResourceTypeBetaTesterInvitations
	ResourceTypeBetaAppReviewDetails                            = types.ResourceTypeBetaAppReviewDetails
	ResourceTypeBetaAppReviewSubmissions                        = types.ResourceTypeBetaAppReviewSubmissions
	ResourceTypeBetaLicenseAgreements                           = types.ResourceTypeBetaLicenseAgreements
	ResourceTypeBetaAppClipInvocations                          = types.ResourceTypeBetaAppClipInvocations
	ResourceTypeBetaAppClipInvocationLocalizations              = types.ResourceTypeBetaAppClipInvocationLocalizations
	ResourceTypeBuildBetaDetails                                = types.ResourceTypeBuildBetaDetails
	ResourceTypeBuildBetaNotifications                          = types.ResourceTypeBuildBetaNotifications
	ResourceTypeBetaAppLocalizations                            = types.ResourceTypeBetaAppLocalizations
	ResourceTypeBetaBuildLocalizations                          = types.ResourceTypeBetaBuildLocalizations
	ResourceTypeBetaRecruitmentCriteria                         = types.ResourceTypeBetaRecruitmentCriteria
	ResourceTypeBetaRecruitmentCriterionOptions                 = types.ResourceTypeBetaRecruitmentCriterionOptions
	ResourceTypeSandboxTesters                                  = types.ResourceTypeSandboxTesters
	ResourceTypeSandboxTestersClearHistory                      = types.ResourceTypeSandboxTestersClearHistory
	ResourceTypeAppClipDomainStatuses                           = types.ResourceTypeAppClipDomainStatuses
	ResourceTypeAppStoreVersionLocalizations                    = types.ResourceTypeAppStoreVersionLocalizations
	ResourceTypeAppKeywords                                     = types.ResourceTypeAppKeywords
	ResourceTypeAppInfoLocalizations                            = types.ResourceTypeAppInfoLocalizations
	ResourceTypeAppInfos                                        = types.ResourceTypeAppInfos
	ResourceTypeAgeRatingDeclarations                           = types.ResourceTypeAgeRatingDeclarations
	ResourceTypeAccessibilityDeclarations                       = types.ResourceTypeAccessibilityDeclarations
	ResourceTypeDiagnosticSignatures                            = types.ResourceTypeDiagnosticSignatures
	ResourceTypeAndroidToIosAppMappingDetails                   = types.ResourceTypeAndroidToIosAppMappingDetails
	ResourceTypeAnalyticsReportRequests                         = types.ResourceTypeAnalyticsReportRequests
	ResourceTypeAnalyticsReports                                = types.ResourceTypeAnalyticsReports
	ResourceTypeAnalyticsReportInstances                        = types.ResourceTypeAnalyticsReportInstances
	ResourceTypeAnalyticsReportSegments                         = types.ResourceTypeAnalyticsReportSegments
	ResourceTypeInAppPurchases                                  = types.ResourceTypeInAppPurchases
	ResourceTypeInAppPurchaseVersions                           = types.ResourceTypeInAppPurchaseVersions
	ResourceTypeInAppPurchaseLocalizations                      = types.ResourceTypeInAppPurchaseLocalizations
	ResourceTypeInAppPurchaseImages                             = types.ResourceTypeInAppPurchaseImages
	ResourceTypeInAppPurchaseAppStoreReviewScreenshots          = types.ResourceTypeInAppPurchaseAppStoreReviewScreenshots
	ResourceTypeInAppPurchaseAvailabilities                     = types.ResourceTypeInAppPurchaseAvailabilities
	ResourceTypeInAppPurchaseContents                           = types.ResourceTypeInAppPurchaseContents
	ResourceTypeInAppPurchasePricePoints                        = types.ResourceTypeInAppPurchasePricePoints
	ResourceTypeInAppPurchasePriceSchedules                     = types.ResourceTypeInAppPurchasePriceSchedules
	ResourceTypeInAppPurchasePrices                             = types.ResourceTypeInAppPurchasePrices
	ResourceTypeInAppPurchaseOfferCodes                         = types.ResourceTypeInAppPurchaseOfferCodes
	ResourceTypeInAppPurchaseOfferCodeCustomCodes               = types.ResourceTypeInAppPurchaseOfferCodeCustomCodes
	ResourceTypeInAppPurchaseOfferCodeOneTimeUseCodes           = types.ResourceTypeInAppPurchaseOfferCodeOneTimeUseCodes
	ResourceTypeInAppPurchaseOfferPrices                        = types.ResourceTypeInAppPurchaseOfferPrices
	ResourceTypeInAppPurchaseSubmissions                        = types.ResourceTypeInAppPurchaseSubmissions
	ResourceTypeSubscriptionGroups                              = types.ResourceTypeSubscriptionGroups
	ResourceTypeSubscriptionGroupLocalizations                  = types.ResourceTypeSubscriptionGroupLocalizations
	ResourceTypeSubscriptionGroupVersions                       = types.ResourceTypeSubscriptionGroupVersions
	ResourceTypeSubscriptionGroupSubmissions                    = types.ResourceTypeSubscriptionGroupSubmissions
	ResourceTypeRetentionMessages                               = types.ResourceTypeRetentionMessages
	ResourceTypeRetentionMessageVersions                        = types.ResourceTypeRetentionMessageVersions
	ResourceTypeRetentionMessageLocalizations                   = types.ResourceTypeRetentionMessageLocalizations
	ResourceTypeAppAssetLibraryPlacements                       = types.ResourceTypeAppAssetLibraryPlacements
	ResourceTypeSubscriptions                                   = types.ResourceTypeSubscriptions
	ResourceTypeSubscriptionVersions                            = types.ResourceTypeSubscriptionVersions
	ResourceTypeSubscriptionLocalizations                       = types.ResourceTypeSubscriptionLocalizations
	ResourceTypeSubscriptionImages                              = types.ResourceTypeSubscriptionImages
	ResourceTypeSubscriptionIntroductoryOffers                  = types.ResourceTypeSubscriptionIntroductoryOffers
	ResourceTypeSubscriptionPromotionalOffers                   = types.ResourceTypeSubscriptionPromotionalOffers
	ResourceTypeSubscriptionPromotionalOfferPrices              = types.ResourceTypeSubscriptionPromotionalOfferPrices
	ResourceTypeSubscriptionOfferCodeCustomCodes                = types.ResourceTypeSubscriptionOfferCodeCustomCodes
	ResourceTypeSubscriptionOfferCodePrices                     = types.ResourceTypeSubscriptionOfferCodePrices
	ResourceTypeSubscriptionSubmissions                         = types.ResourceTypeSubscriptionSubmissions
	ResourceTypeSubscriptionAppStoreReviewScreenshots           = types.ResourceTypeSubscriptionAppStoreReviewScreenshots
	ResourceTypeSubscriptionGracePeriods                        = types.ResourceTypeSubscriptionGracePeriods
	ResourceTypePromotedPurchases                               = types.ResourceTypePromotedPurchases
	ResourceTypeSubscriptionPrices                              = types.ResourceTypeSubscriptionPrices
	ResourceTypeSubscriptionAvailabilities                      = types.ResourceTypeSubscriptionAvailabilities
	ResourceTypeSubscriptionPricePoints                         = types.ResourceTypeSubscriptionPricePoints
	ResourceTypeDevices                                         = types.ResourceTypeDevices
	ResourceTypeProfiles                                        = types.ResourceTypeProfiles
	ResourceTypeTerritories                                     = types.ResourceTypeTerritories
	ResourceTypeTerritoryAgeRatings                             = types.ResourceTypeTerritoryAgeRatings
	ResourceTypeEndUserLicenseAgreements                        = types.ResourceTypeEndUserLicenseAgreements
	ResourceTypeEndAppAvailabilityPreOrders                     = types.ResourceTypeEndAppAvailabilityPreOrders
	ResourceTypeTerritoryAvailabilities                         = types.ResourceTypeTerritoryAvailabilities
	ResourceTypeAppStoreReviewDetails                           = types.ResourceTypeAppStoreReviewDetails
	ResourceTypeAppStoreReviewAttachments                       = types.ResourceTypeAppStoreReviewAttachments
	ResourceTypeCustomerReviewSummarizations                    = types.ResourceTypeCustomerReviewSummarizations
	ResourceTypeUsers                                           = types.ResourceTypeUsers
	ResourceTypeUserInvitations                                 = types.ResourceTypeUserInvitations
	ResourceTypeActors                                          = types.ResourceTypeActors
	ResourceTypeSubscriptionOfferCodes                          = types.ResourceTypeSubscriptionOfferCodes
	ResourceTypeSubscriptionOfferCodeOneTimeUseCodes            = types.ResourceTypeSubscriptionOfferCodeOneTimeUseCodes
	ResourceTypeWinBackOffers                                   = types.ResourceTypeWinBackOffers
	ResourceTypeWinBackOfferPrices                              = types.ResourceTypeWinBackOfferPrices
	ResourceTypeRetentionOffers                                 = types.ResourceTypeRetentionOffers
	ResourceTypeRetentionOfferPrices                            = types.ResourceTypeRetentionOfferPrices
	ResourceTypeNominations                                     = types.ResourceTypeNominations
	ResourceTypeMarketplaceSearchDetails                        = types.ResourceTypeMarketplaceSearchDetails
	ResourceTypeMarketplaceWebhooks                             = types.ResourceTypeMarketplaceWebhooks
	ResourceTypeWebhooks                                        = types.ResourceTypeWebhooks
	ResourceTypeWebhookDeliveries                               = types.ResourceTypeWebhookDeliveries
	ResourceTypeWebhookPings                                    = types.ResourceTypeWebhookPings
	ResourceTypeAlternativeDistributionDomains                  = types.ResourceTypeAlternativeDistributionDomains
	ResourceTypeAlternativeDistributionKeys                     = types.ResourceTypeAlternativeDistributionKeys
	ResourceTypeAlternativeDistributionPackages                 = types.ResourceTypeAlternativeDistributionPackages
	ResourceTypeGameCenterScoreModerations                      = types.ResourceTypeGameCenterScoreModerations
	ResourceTypeGameCenterDetails                               = types.ResourceTypeGameCenterDetails
	ResourceTypeGameCenterAppVersions                           = types.ResourceTypeGameCenterAppVersions
	ResourceTypeGameCenterDetailPlayers                         = types.ResourceTypeGameCenterDetailPlayers
	ResourceTypeGameCenterEnabledVersions                       = types.ResourceTypeGameCenterEnabledVersions
	ResourceTypeGameCenterAchievements                          = types.ResourceTypeGameCenterAchievements
	ResourceTypeGameCenterAchievementVersions                   = types.ResourceTypeGameCenterAchievementVersions
	ResourceTypeGameCenterLeaderboards                          = types.ResourceTypeGameCenterLeaderboards
	ResourceTypeGameCenterLeaderboardVersions                   = types.ResourceTypeGameCenterLeaderboardVersions
	ResourceTypeGameCenterLeaderboardSets                       = types.ResourceTypeGameCenterLeaderboardSets
	ResourceTypeGameCenterLeaderboardSetVersions                = types.ResourceTypeGameCenterLeaderboardSetVersions
	ResourceTypeGameCenterLeaderboardLocalizations              = types.ResourceTypeGameCenterLeaderboardLocalizations
	ResourceTypeGameCenterAchievementLocalizations              = types.ResourceTypeGameCenterAchievementLocalizations
	ResourceTypeGameCenterLeaderboardReleases                   = types.ResourceTypeGameCenterLeaderboardReleases
	ResourceTypeGameCenterAchievementReleases                   = types.ResourceTypeGameCenterAchievementReleases
	ResourceTypeGameCenterLeaderboardSetReleases                = types.ResourceTypeGameCenterLeaderboardSetReleases
	ResourceTypeGameCenterLeaderboardImages                     = types.ResourceTypeGameCenterLeaderboardImages
	ResourceTypeGameCenterLeaderboardSetLocalizations           = types.ResourceTypeGameCenterLeaderboardSetLocalizations
	ResourceTypeGameCenterLeaderboardSetMemberLocalizations     = types.ResourceTypeGameCenterLeaderboardSetMemberLocalizations
	ResourceTypeGameCenterAchievementImages                     = types.ResourceTypeGameCenterAchievementImages
	ResourceTypeGameCenterLeaderboardSetImages                  = types.ResourceTypeGameCenterLeaderboardSetImages
	ResourceTypeGameCenterChallenges                            = types.ResourceTypeGameCenterChallenges
	ResourceTypeGameCenterChallengeVersions                     = types.ResourceTypeGameCenterChallengeVersions
	ResourceTypeGameCenterChallengeLocalizations                = types.ResourceTypeGameCenterChallengeLocalizations
	ResourceTypeGameCenterChallengeImages                       = types.ResourceTypeGameCenterChallengeImages
	ResourceTypeGameCenterChallengeVersionReleases              = types.ResourceTypeGameCenterChallengeVersionReleases
	ResourceTypeGameCenterActivities                            = types.ResourceTypeGameCenterActivities
	ResourceTypeGameCenterActivityVersions                      = types.ResourceTypeGameCenterActivityVersions
	ResourceTypeGameCenterActivityLocalizations                 = types.ResourceTypeGameCenterActivityLocalizations
	ResourceTypeGameCenterActivityImages                        = types.ResourceTypeGameCenterActivityImages
	ResourceTypeGameCenterActivityVersionReleases               = types.ResourceTypeGameCenterActivityVersionReleases
	ResourceTypeGameCenterGroups                                = types.ResourceTypeGameCenterGroups
	ResourceTypeGameCenterMatchmakingQueues                     = types.ResourceTypeGameCenterMatchmakingQueues
	ResourceTypeGameCenterMatchmakingRuleSets                   = types.ResourceTypeGameCenterMatchmakingRuleSets
	ResourceTypeGameCenterMatchmakingRules                      = types.ResourceTypeGameCenterMatchmakingRules
	ResourceTypeGameCenterMatchmakingTeams                      = types.ResourceTypeGameCenterMatchmakingTeams
	ResourceTypeGameCenterMatchmakingRuleSetTests               = types.ResourceTypeGameCenterMatchmakingRuleSetTests
	ResourceTypeGameCenterLeaderboardEntrySubmissions           = types.ResourceTypeGameCenterLeaderboardEntrySubmissions
	ResourceTypeGameCenterPlayerAchievementSubmissions          = types.ResourceTypeGameCenterPlayerAchievementSubmissions
	ResourceTypeGameCenterMatchmakingTestRequests               = types.ResourceTypeGameCenterMatchmakingTestRequests
	ResourceTypeGameCenterMatchmakingTestPlayerProperties       = types.ResourceTypeGameCenterMatchmakingTestPlayerProperties
)

ResourceType constants — re-exported from types package.

View Source
const (
	PlatformIOS      = types.PlatformIOS
	PlatformMacOS    = types.PlatformMacOS
	PlatformTVOS     = types.PlatformTVOS
	PlatformVisionOS = types.PlatformVisionOS
)

Platform constants — re-exported from types package.

View Source
const (
	ChecksumAlgorithmMD5    = types.ChecksumAlgorithmMD5
	ChecksumAlgorithmSHA256 = types.ChecksumAlgorithmSHA256
)

ChecksumAlgorithm constants — re-exported from types package.

View Source
const (
	UTIIPA = types.UTIIPA
	UTIPKG = types.UTIPKG
)

UTI constants — re-exported from types package.

View Source
const (
	DevicePlatformIOS       = BundleIDPlatformIOS
	DevicePlatformMacOS     = BundleIDPlatformMacOS
	DevicePlatformUniversal = BundleIDPlatformUniversal
)
View Source
const (
	// BetaGroupTestersActionAdded reports that App Store Connect created the
	// requested memberships.
	BetaGroupTestersActionAdded = "added"
	// BetaGroupTestersActionSkipped reports that a post-conflict read-back
	// confirmed every requested tester in the group.
	BetaGroupTestersActionSkipped = "skipped"
	// BetaGroupTestersActionRemoved reports that App Store Connect removed the
	// requested memberships.
	BetaGroupTestersActionRemoved = "removed"
)

Actions reported by the beta group tester add and remove receipts.

View Source
const (
	IdempotentWriteActionCreated = "created"
	IdempotentWriteActionSkipped = "skipped"
	IdempotentWriteActionUpdated = "updated"
)

Receipt actions reported by create commands that support --if-exists.

View Source
const (
	ScreenshotFrameBatchStatusFramed  = "framed"
	ScreenshotFrameBatchStatusSkipped = "skipped"
	ScreenshotFrameBatchStatusFailed  = "failed"
)

Batch file statuses reported by `screenshots frame --input-dir`.

View Source
const (
	SigningSyncLifecycleUnchanged        = "unchanged"
	SigningSyncLifecycleRenewed          = "renewed"
	SigningSyncLifecycleDevicesRefreshed = "devices-refreshed"
)

Signing sync profile lifecycle actions reported by push.

View Source
const (
	SigningSyncReplacedProfileDeleted = "deleted"
	SigningSyncReplacedProfileUnknown = "unknown"
)

Replaced profile states reported by push when a profile is recreated.

View Source
const (
	SigningSyncNukePublicationSkipped   = "skipped"
	SigningSyncNukePublicationNotNeeded = "not-needed"
	SigningSyncNukePublicationSucceeded = "succeeded"
	SigningSyncNukePublicationFailed    = "failed"
)

Signing sync nuke publication states.

View Source
const (
	WebMonthlyCommitmentStagePlanAvailability = "plan_availability"
	WebMonthlyCommitmentStagePrices           = "prices"
	WebMonthlyCommitmentStageVerified         = "verified"
)

Web monthly-commitment bootstrap stages name the last applied mutation so a rerun can resume without repeating completed work.

View Source
const (
	BuildProcessingStateProcessing = "PROCESSING"
	BuildProcessingStateFailed     = "FAILED"
	BuildProcessingStateValid      = "VALID"
	BuildProcessingStateInvalid    = "INVALID"
)

Build processing states to poll for.

View Source
const (
	AssetTypeAsset = types.AssetTypeAsset
)

AssetType constants — re-exported from types package.

View Source
const DefaultMaxConsecutivePollFailures = 5

DefaultMaxConsecutivePollFailures bounds how many consecutive transient failures a tolerant poll absorbs before giving up. It keeps a long wait alive across a multi-minute App Store Connect outage while still terminating when an endpoint stays broken.

View Source
const (
	// DefaultUploadConcurrency is the number of upload workers used when no
	// explicit concurrency is configured. App Store Connect upload operations
	// carry explicit byte offsets, so chunks are safe to upload in parallel.
	DefaultUploadConcurrency = 4
)
View Source
const (
	// NotaryBaseURL is the Apple Notary API base URL.
	NotaryBaseURL = "https://appstoreconnect.apple.com"
)
View Source
const RedactedValuePlaceholder = "(redacted)"

RedactedValuePlaceholder marks a secret that was withheld from output. It is a presentation marker and must be rejected at credential mutation boundaries so exported redacted output cannot overwrite a real credential.

View Source
const SubscriptionPlanAvailabilityIncludedTerritoriesLimit = 50

SubscriptionPlanAvailabilityIncludedTerritoriesLimit is Apple's maximum for limit[availableTerritories] on subscription plan availability reads.

Variables

View Source
var (
	ErrNotFound              = errors.New("resource not found")
	ErrUnauthorized          = errors.New("unauthorized")
	ErrForbidden             = errors.New("forbidden")
	ErrBadRequest            = errors.New("bad request")
	ErrConflict              = errors.New("resource conflict")
	ErrMissingKeyID          = errors.New("key ID is required")
	ErrRepeatedPaginationURL = errors.New("detected repeated pagination URL")
)
View Source
var (
	ErrMissingPaginationFetcher = errors.New("pagination fetch function is required")
	ErrNilPaginationPage        = errors.New("pagination page is nil")
)
View Source
var (
	// ErrCiProductNotFound indicates an app without an Xcode Cloud product,
	// which is the normal state for apps that do not use Xcode Cloud.
	ErrCiProductNotFound = errors.New("xcode cloud product not found")
	// ErrCiWorkflowNotFound indicates no Xcode Cloud workflow matched a name.
	ErrCiWorkflowNotFound = errors.New("xcode cloud workflow not found")
	// ErrCiWorkflowAmbiguous indicates more than one workflow matched a name.
	ErrCiWorkflowAmbiguous = errors.New("xcode cloud workflow name is ambiguous")
	// ErrGitReferenceNotFound indicates no git reference matched a name.
	ErrGitReferenceNotFound = errors.New("git reference not found")
	// ErrGitReferenceAmbiguous indicates more than one git reference matched a name.
	ErrGitReferenceAmbiguous = errors.New("git reference name is ambiguous")
)
View Source
var ErrAppStoreImageAlpha = errors.New("image has an alpha channel or transparency; re-export it as RGB PNG or JPEG without alpha")

ErrAppStoreImageAlpha reports a PNG that stores an alpha channel or transparency, which App Store screenshots and creative images must not have.

View Source
var ErrBearerTokenExpired = errors.New("the App Store Connect token expired; mint a new one")

ErrBearerTokenExpired reports that a token signed elsewhere expired and there is no way to fetch a new one.

View Source
var ErrBearerTokenRenewal = errors.New("could not fetch a new App Store Connect token")

ErrBearerTokenRenewal reports that fetching a new token signed elsewhere failed.

View Source
var ErrEnterpriseProgramAPIUnsupported = errors.New("not available on the Enterprise Program API")

ErrEnterpriseProgramAPIUnsupported reports an operation that the Enterprise Program API does not offer.

View Source
var ErrInvalidBearerToken = errors.New("invalid bearer token")

ErrInvalidBearerToken reports a malformed or rejected external bearer token.

View Source
var ErrNotaryNeedsPrivateKey = errors.New("notarization needs a private key; ASC_BEARER_TOKEN only authorizes App Store Connect API requests")

ErrNotaryNeedsPrivateKey reports a notarization request from a client that only holds an App Store Connect token.

View Source
var ErrRawPaginationNotCollection = errors.New("--paginate requires a collection response with a data array")

ErrRawPaginationNotCollection reports a paginated raw request whose first page did not carry a JSON array under data.

View Source
var ParsePagingTotal = types.ParsePagingTotal

ParsePagingTotal extracts the total count from a response's paging metadata.

View Source
var ParsePagingTotalOK = types.ParsePagingTotalOK

ParsePagingTotalOK extracts the total count from a response's paging metadata. Returns (total, true) when the field is present, (0, false) when absent or unparseable.

ValidAppEventAssetTypes lists supported app event asset types.

ValidAppEventBadges lists supported app event badge values.

ValidAppEventPriorities lists supported app event priorities.

ValidAppEventPurchaseRequirements lists supported purchase requirement values.

ValidAppEventPurposes lists supported app event purposes.

ValidIAPTypes lists supported in-app purchase types.

View Source
var ValidLeaderboardFormatters = []string{
	"INTEGER",
	"DECIMAL_POINT_1_PLACE",
	"DECIMAL_POINT_2_PLACE",
	"DECIMAL_POINT_3_PLACE",
	"ELAPSED_TIME_CENTISECOND",
	"ELAPSED_TIME_MINUTE",
	"ELAPSED_TIME_SECOND",
	"MONEY_POUND_DECIMAL",
	"MONEY_POUND",
	"MONEY_DOLLAR_DECIMAL",
	"MONEY_DOLLAR",
	"MONEY_EURO_DECIMAL",
	"MONEY_EURO",
	"MONEY_FRANC_DECIMAL",
	"MONEY_FRANC",
	"MONEY_KRONER_DECIMAL",
	"MONEY_KRONER",
	"MONEY_YEN",
}

Valid leaderboard formatters.

View Source
var ValidLeaderboardVisibilities = []string{
	"SHOW_FOR_ALL",
	"HIDE_FOR_ALL",
}

Valid leaderboard visibilities.

View Source
var ValidPreviewTypes = []string{
	"IPHONE_DUO",
	"IPHONE_67",
	"IPHONE_65",
	"IPHONE_61",
	"IPHONE_58",
	"IPHONE_55",
	"IPHONE_47",
	"IPHONE_40",
	"IPHONE_35",
	"IPAD_PRO_3GEN_129",
	"IPAD_PRO_3GEN_11",
	"IPAD_PRO_129",
	"IPAD_105",
	"IPAD_97",
	"DESKTOP",
	"APPLE_TV",
	"APPLE_VISION_PRO",
}

Valid preview types for validation.

View Source
var ValidScoreSortTypes = []string{
	"ASC",
	"DESC",
}

Valid leaderboard score sort types.

View Source
var ValidScreenshotDisplayTypes = ScreenshotDisplayTypes()

Valid screenshot display types for validation.

View Source
var ValidSubmissionTypes = []string{
	"BEST_SCORE",
	"MOST_RECENT_SCORE",
}

Valid leaderboard submission types.

ValidWebhookEventTypes lists the event types accepted by webhook create and update requests.

Functions

func AppInfoAppID added in v1.260816.0

func AppInfoAppID(resp *AppInfoResponse) (string, error)

AppInfoAppID extracts the related app ID from an app info response.

func AppScreenshotRows

func AppScreenshotRows(payload []byte) ([]string, [][]string, error)

AppScreenshotRows renders table rows for a raw appScreenshots collection.

func AppStoreVersionAppID added in v1.260404.0

func AppStoreVersionAppID(resp *AppStoreVersionResponse) (string, error)

AppStoreVersionAppID extracts the related app ID from an app store version response.

func AssetLibraryRows

func AssetLibraryRows(payload []byte) ([]string, [][]string, error)

AssetLibraryRows validates a live Asset Library envelope and derives display rows without re-encoding or filtering the caller's JSON response.

func AutoResolveAppInfoIDByVersionState

func AutoResolveAppInfoIDByVersionState(candidates []AppInfoCandidate, versionState string) (string, bool)

AutoResolveAppInfoIDByVersionState resolves a single app info candidate matching a version state.

func BuildRequestBody

func BuildRequestBody(data any) (io.Reader, error)

BuildRequestBody builds a JSON request body

func CanonicalScreenshotDisplayTypeForAPI

func CanonicalScreenshotDisplayTypeForAPI(displayType string) string

CanonicalScreenshotDisplayTypeForAPI converts local aliases to API-supported display types.

func CertificateSerialKey

func CertificateSerialKey(serial string) string

CertificateSerialKey returns the form of a certificate serial number for comparing serials, which ignores case and leading zeros.

func CheckReviewScreenshotImage

func CheckReviewScreenshotImage(path string, source io.Reader) ([]string, error)

CheckReviewScreenshotImage reads the image header from source and reports whether App Store Connect will accept it as an in-app purchase or subscription App Review screenshot. path names the file in messages and supplies the extension App Store Connect sees. File format problems are errors. Documented constraints that no live upload has confirmed for review screenshots, the size list and the alpha rule, are returned as warnings.

func CreativePlacementResourceRows

func CreativePlacementResourceRows(payload []byte) ([]string, [][]string, error)

CreativePlacementResourceRows validates a single placement response and derives one human display row while leaving the original JSON untouched.

func CreativePlacementRows

func CreativePlacementRows(payload []byte) ([]string, [][]string, error)

CreativePlacementRows validates a placement collection and derives human display rows while leaving the original JSON response untouched.

func CustomerReviewPublishedResponseID added in v1.260519.0

func CustomerReviewPublishedResponseID(review Resource[CustomerReviewAttributes]) (string, bool)

CustomerReviewPublishedResponseID extracts the response relationship from a customer review resource.

func ExecuteUploadOperations

func ExecuteUploadOperations(ctx context.Context, filePath string, operations []UploadOperation, opts ...UploadOption) error

ExecuteUploadOperations performs the file uploads for the provided operations.

func ExecuteUploadOperationsFromFile added in v1.260810.0

func ExecuteUploadOperationsFromFile(ctx context.Context, file *os.File, operations []UploadOperation, opts ...UploadOption) error

ExecuteUploadOperationsFromFile performs upload operations against an already-opened source file. The caller retains ownership of file.

func FormatAppInfoCandidates

func FormatAppInfoCandidates(candidates []AppInfoCandidate) string

FormatAppInfoCandidates formats app info candidates for error messages.

func FormatPhasedReleaseProgressBar

func FormatPhasedReleaseProgressBar(currentDayNumber int) string

FormatPhasedReleaseProgressBar renders the phased release day as a deterministic seven-step ASCII progress bar for human-facing outputs.

func GenerateEnterpriseJWT

func GenerateEnterpriseJWT(keyID, issuerID string, privateKey *ecdsa.PrivateKey) (string, error)

GenerateEnterpriseJWT generates a JWT for Enterprise Program API authentication.

func GenerateJWT

func GenerateJWT(keyID, issuerID string, privateKey *ecdsa.PrivateKey) (string, error)

GenerateJWT generates a JWT for ASC API authentication.

func GenerateNotaryJWT

func GenerateNotaryJWT(keyID, issuerID string, privateKey any) (string, error)

GenerateNotaryJWT generates a JWT for the Notary API. It is identical to GenerateJWT but includes the "scope" claim required by the Notary API.

func GetRetryAfter

func GetRetryAfter(err error) time.Duration

GetRetryAfter extracts the retry-after duration from an error.

func HasAccessibilityDeclarationUpdates

func HasAccessibilityDeclarationUpdates(attrs AccessibilityDeclarationUpdateAttributes) bool

HasAccessibilityDeclarationUpdates reports whether any update attributes are set.

func HasInterpretedTerminalSequence added in v1.260731.0

func HasInterpretedTerminalSequence(input string) bool

HasInterpretedTerminalSequence reports whether input contains any character that SanitizeTerminalText removes.

func IncludedAppPreviews

func IncludedAppPreviews(response *AppPreviewSetsResponse) map[string][]Resource[AppPreviewAttributes]

IncludedAppPreviews maps set IDs to their included previews in the set's relationship order. Sets without complete linkage are omitted and need a per-set request.

func IncludedAppScreenshots

func IncludedAppScreenshots(response *AppScreenshotSetsResponse) map[string][]Resource[AppScreenshotAttributes]

IncludedAppScreenshots maps set IDs to their included screenshots in the set's relationship order. Sets without complete linkage are omitted and need a per-set request.

func IsAPIHost

func IsAPIHost(host string) bool

IsAPIHost reports whether host serves the App Store Connect or Enterprise Program API. A *Client still only sends requests to its own host.

func IsBuildProcessingFailure

func IsBuildProcessingFailure(err error) bool

IsBuildProcessingFailure reports whether err is WaitForBuildProcessing stopping at a FAILED or INVALID processing state.

func IsBuildRunComplete

func IsBuildRunComplete(progress CiBuildRunExecutionProgress) bool

IsBuildRunComplete returns true if the build run has finished.

func IsBuildRunSuccessful

func IsBuildRunSuccessful(status CiBuildRunCompletionStatus) bool

IsBuildRunSuccessful returns true if the build run completed successfully.

func IsBuildUploadFileCommitResponseError added in v1.260804.0

func IsBuildUploadFileCommitResponseError(err error) bool

IsBuildUploadFileCommitResponseError reports whether a successful build-upload-file commit response could not be read or decoded.

func IsBundleIDsPaginationRequired added in v1.260828.0

func IsBundleIDsPaginationRequired(err error) bool

IsBundleIDsPaginationRequired reports whether a request can only be represented by following multiple continuation URLs.

func IsMissingResourceOfType

func IsMissingResourceOfType(err error, resourceType string) bool

IsMissingResourceOfType reports whether err is App Store Connect's 404 for a related resource that has not been created yet, such as an app without an availability record or price schedule. It keys on the HTTP status and the resource type named in Apple's detail so a 404 for the parent resource (for example an unknown app ID) is not mistaken for an unconfigured child.

func IsNotFound

func IsNotFound(err error) bool

IsNotFound checks if the error is a "not found" error

func IsRequiredAgreementError added in v1.260831.0

func IsRequiredAgreementError(err error) bool

IsRequiredAgreementError reports whether App Store Connect rejected API access because the team's required agreements are missing or expired.

func IsResponseBodyReadError

func IsResponseBodyReadError(err error) bool

IsResponseBodyReadError reports whether a successful API response body could not be read.

func IsRetryBudgetExhausted added in v1.260822.0

func IsRetryBudgetExhausted(err error) bool

IsRetryBudgetExhausted reports whether the retry helper consumed its configured request retry budget before returning the error. Callers with a second, higher-level recovery loop should not replay the same request after this marker is present.

func IsRetryDelayExceeded added in v1.260822.0

func IsRetryDelayExceeded(err error) bool

IsRetryDelayExceeded reports whether a retryable failure was returned after its server-provided delay could not be honored by the request. The original retryable cause remains available through the error chain.

func IsRetryable

func IsRetryable(err error) bool

IsRetryable checks if an error indicates the request can be retried.

func IsScreenshotCommitResponseError

func IsScreenshotCommitResponseError(err error) bool

IsScreenshotCommitResponseError reports whether a successful screenshot commit response could not be read or decoded.

func IsTransientWaitError added in v1.260822.0

func IsTransientWaitError(ctx context.Context, err error) bool

IsTransientWaitError reports whether err is a transient App Store Connect or network failure that a long-running wait should absorb instead of aborting. Errors caused by the wait's own context are never transient.

func IsUnauthorized

func IsUnauthorized(err error) bool

IsUnauthorized checks if the error is an "unauthorized" error

func IsValidPreviewType

func IsValidPreviewType(value string) bool

IsValidPreviewType checks if a preview type is supported.

func IsValidScreenshotDisplayType

func IsValidScreenshotDisplayType(value string) bool

IsValidScreenshotDisplayType checks if a screenshot display type is supported.

func Limit

func Limit[O ~func(Q), Q pager](limit int) O

Limit returns an option O that sets the page size. Values below 1 keep the endpoint's default. Write it as Limit[DevicesOption](n); the query type is inferred.

func MediaPollInterval

func MediaPollInterval(ctx context.Context, checks int) time.Duration

MediaPollInterval returns the wait before the next media processing check, given how many checks have already run (1-based).

func NextURL

func NextURL[O ~func(Q), Q pager](next string) O

NextURL returns an option O that fetches the given links.next URL instead of the first page. The URL is trimmed; a blank URL is ignored.

func PageDataLen added in v1.260819.0

func PageDataLen(page PaginatedResponse) (int, bool)

PageDataLen reports how many items a page's Data collection holds. It returns ok=false when the page is nil (including a typed nil pointer) or when GetData does not expose a countable item slice — byte slices such as json.RawMessage are payloads, not item lists, so they are not counted.

func PaginateEach

func PaginateEach(ctx context.Context, firstPage PaginatedResponse, fetchNext PaginateFunc, consume PageConsumer) error

PaginateEach iterates pages and invokes consume for each page without aggregating all page data in memory.

func PaginateEachWithMaxPages

func PaginateEachWithMaxPages(ctx context.Context, firstPage PaginatedResponse, fetchNext PaginateFunc, consume PageConsumer, maxPages int) error

PaginateEachWithMaxPages iterates pages and invokes consume for each page, stopping before it would fetch a page beyond maxPages. A positive limit is required; use PaginateEach when the caller intentionally has no page cap.

func PaginationURLIdentity

func PaginationURLIdentity(nextURL string) string

PaginationURLIdentity returns the request identity used for cycle detection. It intentionally leaves the URL passed to fetchNext untouched: callers may rely on the provider's exact next-link spelling. Only a same-host HTTPS absolute URL is collapsed to its request URI so it compares equal to the equivalent relative link. Query parameters are decoded and re-encoded to make their order irrelevant. Invalid, insecure, and untrusted absolute URLs retain their trimmed spelling for the caller's validation and error handling.

func ParseErrorWithStatus

func ParseErrorWithStatus(body []byte, statusCode int) error

ParseErrorWithStatus parses an error response and includes the HTTP status code

func PollMediaUntil

func PollMediaUntil[T any](ctx context.Context, check func(context.Context) (T, bool, error), opts PollOptions) (T, error)

PollMediaUntil polls a media processing state using the context's media poll schedule. See PollUntilTolerant for opts; NextInterval is replaced.

func PollUntil

func PollUntil[T any](ctx context.Context, interval time.Duration, check func(context.Context) (T, bool, error)) (T, error)

PollUntil repeatedly executes check until it returns done=true, an error, or the context is canceled. It executes check immediately before waiting.

func PollUntilTolerant added in v1.260822.0

func PollUntilTolerant[T any](ctx context.Context, interval time.Duration, check func(context.Context) (T, bool, error), opts PollOptions) (T, error)

PollUntilTolerant polls like PollUntil but absorbs a bounded number of consecutive transient check failures instead of aborting the whole wait on the first one. Long waits (build processing, build discovery) survive a short App Store Connect outage this way, while a permanently broken endpoint still terminates once the consecutive-failure ceiling is exceeded.

func PrintJSON

func PrintJSON(data any) error

PrintJSON prints data as minified JSON (best for AI agents).

func PrintJSONTo

func PrintJSONTo(w io.Writer, data any) error

PrintJSONTo writes data as minified JSON to w.

func PrintMarkdown

func PrintMarkdown(data any) error

PrintMarkdown prints data as Markdown table.

func PrintMarkdownTo

func PrintMarkdownTo(w io.Writer, data any) error

PrintMarkdownTo writes data as a Markdown table to w.

func PrintPrettyJSON

func PrintPrettyJSON(data any) error

PrintPrettyJSON prints data as indented JSON (best for debugging).

func PrintPrettyJSONTo

func PrintPrettyJSONTo(w io.Writer, data any) error

PrintPrettyJSONTo writes data as indented JSON to w.

func PrintSubscriptionPlanAvailabilityShowMarkdown added in v1.260904.0

func PrintSubscriptionPlanAvailabilityShowMarkdown(resp *SubscriptionPlanAvailabilitiesResponse) error

PrintSubscriptionPlanAvailabilityShowMarkdown renders plan-availability show as Markdown.

func PrintSubscriptionPlanAvailabilityShowMarkdownTo

func PrintSubscriptionPlanAvailabilityShowMarkdownTo(w io.Writer, resp *SubscriptionPlanAvailabilitiesResponse) error

PrintSubscriptionPlanAvailabilityShowMarkdownTo is PrintSubscriptionPlanAvailabilityShowMarkdown writing to w.

func PrintSubscriptionPlanAvailabilityShowTable added in v1.260904.0

func PrintSubscriptionPlanAvailabilityShowTable(resp *SubscriptionPlanAvailabilitiesResponse) error

PrintSubscriptionPlanAvailabilityShowTable renders plan-availability show as a table.

func PrintSubscriptionPlanAvailabilityShowTableTo

func PrintSubscriptionPlanAvailabilityShowTableTo(w io.Writer, resp *SubscriptionPlanAvailabilitiesResponse) error

PrintSubscriptionPlanAvailabilityShowTableTo is PrintSubscriptionPlanAvailabilityShowTable writing to w.

func PrintTable

func PrintTable(data any) error

PrintTable prints data as a formatted table.

func PrintTableTo

func PrintTableTo(w io.Writer, data any) error

PrintTableTo writes data as a formatted table to w.

func ProfileExpirationPassed

func ProfileExpirationPassed(value string, now time.Time) bool

ProfileExpirationPassed reports whether a profile expirationDate value is before now. A date-only value stays valid through the end of that UTC day. Empty or unparseable values are treated as not expired so a malformed date never marks a profile for deletion.

func ProfileIsStale

func ProfileIsStale(attrs ProfileAttributes, now time.Time) bool

ProfileIsStale reports whether a profile is INVALID or past its expiration date.

func PublishedAppsSummary added in v1.260828.0

func PublishedAppsSummary(report AppsPublishedReport) string

PublishedAppsSummary returns the human-readable audit totals.

func ReadAppStoreImageFormatFrom

func ReadAppStoreImageFormatFrom(source io.ReadSeeker) (string, error)

ReadAppStoreImageFormatFrom checks the encoded format and PNG alpha metadata for screenshot and creative-image uploads. It does not decode pixel buffers. The source must be positioned at its beginning; its position is advanced.

func ReadImageFormatFrom added in v1.260822.0

func ReadImageFormatFrom(reader io.Reader) (string, error)

ReadImageFormatFrom decodes the encoded image format from an already-opened source, for callers that must open the file through a trusted root instead of by path.

func RedactSecret added in v1.260731.0

func RedactSecret(value string) string

RedactSecret returns the placeholder for any non-empty secret and leaves the empty value untouched so absent fields stay absent in rendered output. The API permits an unconstrained string, so even a whitespace-only value is treated as a credential.

func RenderMarkdown

func RenderMarkdown(headers []string, rows [][]string)

RenderMarkdown writes a Markdown-formatted table to stdout. Headers preserve their original casing. Data rows are left-aligned. Pipe characters in cell values are escaped automatically by the renderer.

func RenderMarkdownTo

func RenderMarkdownTo(w io.Writer, headers []string, rows [][]string)

RenderMarkdownTo is RenderMarkdown writing to w.

func RenderTable

func RenderTable(headers []string, rows [][]string)

RenderTable writes a bordered Unicode table to stdout. Headers preserve their original casing and are center-aligned. Data rows are left-aligned for readability.

func RenderTableTo

func RenderTableTo(w io.Writer, headers []string, rows [][]string)

RenderTableTo is RenderTable writing to w.

func ResetConfigCacheForTest added in v1.260325.0

func ResetConfigCacheForTest()

ResetConfigCacheForTest clears cached config state for tests.

func ResolveAppStoreVersionState

func ResolveAppStoreVersionState(attrs AppStoreVersionAttributes) string

ResolveAppStoreVersionState prefers AppVersionState and falls back to AppStoreState.

func ResolveDebugEnabled

func ResolveDebugEnabled() bool

ResolveDebugEnabled returns whether debug logging should be enabled. Precedence: explicit override > env > config.

func ResolveRetryLogEnabled

func ResolveRetryLogEnabled() bool

ResolveRetryLogEnabled returns whether retry logging should be enabled. Precedence: explicit override > env > config.

func ResolveTimeout

func ResolveTimeout() time.Duration

ResolveTimeout returns the request timeout, optionally overridden by config/env.

func ResolveTimeoutWithDefault

func ResolveTimeoutWithDefault(defaultTimeout time.Duration) time.Duration

ResolveTimeoutWithDefault returns the request timeout using a custom default. ASC_TIMEOUT and ASC_TIMEOUT_SECONDS override the default when set.

func ResolveUploadTimeout

func ResolveUploadTimeout() time.Duration

ResolveUploadTimeout returns the upload timeout, optionally overridden by config/env.

func ResolveUploadTimeoutWithDefault

func ResolveUploadTimeoutWithDefault(defaultTimeout time.Duration) time.Duration

ResolveUploadTimeoutWithDefault returns the upload timeout using a custom default. ASC_UPLOAD_TIMEOUT and ASC_UPLOAD_TIMEOUT_SECONDS override the default when set.

func RetentionMessageResourceRows

func RetentionMessageResourceRows(payload []byte) ([]string, [][]string, error)

RetentionMessageResourceRows renders a raw single retention message response, such as a subscription's assigned message, whose data may be null.

func ReviewScreenshotDecodeWarning

func ReviewScreenshotDecodeWarning(path string, source io.ReaderAt, size int64) string

ReviewScreenshotDecodeWarning fully decodes an image that already passed CheckReviewScreenshotImage and returns a warning when the payload is truncated or corrupt, or an empty string when it decodes. It warns rather than rejects because Go's decoders do not support every encoding App Store Connect accepts, such as arithmetic-coded JPEG. Images whose declared size exceeds reviewScreenshotMaxDecodePixels are not decoded.

func ReviewSubmissionItemTypeNames

func ReviewSubmissionItemTypeNames() []string

ReviewSubmissionItemTypeNames returns the canonical CLI values accepted by review items-add.

func ReviewSubmissionItemsCursorSubmissionID

func ReviewSubmissionItemsCursorSubmissionID(next string) (string, error)

ReviewSubmissionItemsCursorSubmissionID extracts the owner of a review item continuation.

func SanitizeTerminalText added in v1.260731.0

func SanitizeTerminalText(input string) string

SanitizeTerminalText removes characters that a terminal, pager, or CI log viewer interprets instead of displaying. Structured output (JSON) keeps the original values; only human-facing table, Markdown, stdout, and stderr text is sanitized.

Removed or replaced characters:

  • C0 controls (U+0000-U+001F) and DEL (U+007F), which include the ESC introducer used by CSI/OSC sequences as well as BEL, CR, LF, and TAB
  • C1 controls (U+0080-U+009F), which include the single-byte CSI (U+009B) and OSC (U+009D) forms
  • Bidirectional marks, embeddings, overrides, and isolates (U+061C, U+200E, U+200F, U+202A-U+202E, U+2066-U+2069), which can visually reorder a rendered cell
  • Unicode line and paragraph separators (U+2028, U+2029), which browser-backed log and Markdown viewers render as mandatory breaks

Line breaks, tabs, and Unicode separators are replaced with ordinary spaces so a single value cannot forge extra rows or columns without concatenating the text on either side.

Invalid UTF-8 bytes are replaced with U+FFFD. This preserves the fact that text was separated at that byte boundary while ensuring a raw 0x9B or 0x9D cannot act as a single-byte CSI or OSC introducer.

func ScreenshotDisplayTypes

func ScreenshotDisplayTypes() []string

ScreenshotDisplayTypes returns the supported display types in stable order.

func SetDebugHTTPOverride

func SetDebugHTTPOverride(value *bool)

SetDebugHTTPOverride sets an explicit HTTP-debug override. When set, it takes precedence over env/config for HTTP logging only.

func SetDebugOverride

func SetDebugOverride(value *bool)

SetDebugOverride sets an explicit debug override. When set, it takes precedence over env/config. When unset (nil), behavior falls back to env/config.

func SetMediaPollIntervalsForTest

func SetMediaPollIntervalsForTest(initial, maxInterval time.Duration) func()

SetMediaPollIntervalsForTest replaces the default media processing poll schedule bounds. The returned function restores the previous values.

func SetRetryLogOverride

func SetRetryLogOverride(value *bool)

SetRetryLogOverride sets an explicit retry-log override. When set, it takes precedence over env/config. When unset (nil), behavior falls back to env/config.

func SubscriptionPlanAvailabilityIncludedTerritories added in v1.260904.0

func SubscriptionPlanAvailabilityIncludedTerritories(raw json.RawMessage) (ids []string, total int, totalKnown bool)

SubscriptionPlanAvailabilityIncludedTerritories extracts included available territory IDs and the relationship paging total from a plan availability resource. totalKnown is false when paging metadata is absent.

func SuggestedImageFileName added in v1.260822.0

func SuggestedImageFileName(path, format string) (string, bool)

SuggestedImageFileName returns the name path should carry for its decoded format. It reports false when renaming cannot fix the file, because asset collection does not pick up that format's extension.

func UploadAsset

func UploadAsset(ctx context.Context, filePath string, operations []UploadOperation) error

UploadAsset uploads a file using the provided upload operations.

func UploadAssetFromFile

func UploadAssetFromFile(ctx context.Context, file *os.File, fileSize int64, operations []UploadOperation) error

UploadAssetFromFile uploads a file using the provided upload operations. Operations run concurrently through the shared upload executor, so a part that hits a transient transport failure or retryable status is retried instead of leaving the asset partially uploaded. When several parts fail, the error is from the first to fail in time, not the lowest-numbered part; parts still in flight are cancelled.

func UploadToS3

func UploadToS3(ctx context.Context, creds S3Credentials, data io.Reader, payloadHash string, contentLength int64, contentType string) error

UploadToS3 uploads file data to the S3 bucket using AWS Signature V4 authentication. This is a minimal implementation for the single PutObject operation needed by the Notary API.

func ValidateAssetFile

func ValidateAssetFile(path string) error

ValidateAssetFile validates that a file exists and is safe to read.

func ValidateAssetFileInfo

func ValidateAssetFileInfo(path string, info os.FileInfo) error

ValidateAssetFileInfo checks the metadata of an already opened asset file.

func ValidateAssetLibraryResponse

func ValidateAssetLibraryResponse(payload []byte) error

ValidateAssetLibraryResponse verifies the resource envelope without imposing a schema on undocumented attribute values.

func ValidateBundleIDsRequest added in v1.260828.0

func ValidateBundleIDsRequest(opts ...BundleIDsOption) error

ValidateBundleIDsRequest validates URL capacity and split-request behavior without requiring an authenticated client.

func ValidateImageFile

func ValidateImageFile(path string) error

ValidateImageFile validates that a file exists and is safe to read.

func ValidateImageFormatMatchesExtension added in v1.260822.0

func ValidateImageFormatMatchesExtension(path, format string) error

ValidateImageFormatMatchesExtension rejects a file whose decoded image format contradicts its extension. App Store Connect derives the asset content type from the file name, so a JPEG named .png is only rejected server-side, after the upload has already been paid for.

Extensions that name no image format are left alone: the check exists to catch contradictions, not to police naming. A rename is only suggested when the decoded format has an extension asset collection accepts; other decodable formats are told to re-export instead.

func ValidateResourcePathSegment added in v1.260810.0

func ValidateResourcePathSegment(id string) (string, error)

ValidateResourcePathSegment trims an identifier and confirms it occupies exactly one path segment.

Reserved delimiters are rejected rather than percent-encoded. Encoding would silently turn an operator mistake into a request for a resource that does not exist, and validateAPIPath rejects "%" in outbound paths anyway.

func ValidateScreenshotDimensionsForSize added in v1.260407.0

func ValidateScreenshotDimensionsForSize(path string, width, height int, displayType string) error

ValidateScreenshotDimensionsForSize checks a known image size against a display type.

func ValidateSecretMutationValue added in v1.260731.0

func ValidateSecretMutationValue(value *string) error

ValidateSecretMutationValue rejects presentation placeholders before they can cross a credential mutation boundary.

func WithAssetLibraryImageUploadProgress

func WithAssetLibraryImageUploadProgress(ctx context.Context, observe func(AssetLibraryImageUploadEvent)) context.Context

WithAssetLibraryImageUploadProgress observes upload stages synchronously. The callback must not call back into the uploader or modify the supplied context.

func WithBulkMutatingRequestLimit

func WithBulkMutatingRequestLimit(ctx context.Context) context.Context

WithBulkMutatingRequestLimit marks ctx for a bulk write fan-out. Mutating requests sent with the returned context share the client-wide BulkMutatingRequestLimit instead of the lower default limit for ordinary writes. Retry and backoff behavior is unchanged. Callers must size their worker pools to at most BulkMutatingRequestLimit.

func WithIncludedFields

func WithIncludedFields[Option ~func(Query), Query includedFieldsSetter](fields IncludedFields) Option

WithIncludedFields sets sparse fields for included resources on any read whose query embeds includedFieldsQuery, for example WithIncludedFields[BuildsOption](fields).

func WithMediaPollInterval

func WithMediaPollInterval(ctx context.Context, interval time.Duration) context.Context

WithMediaPollInterval returns a context whose media processing waits check status every interval instead of using the default growing schedule. Non-positive intervals leave the default schedule in place.

func WithRetry

func WithRetry[T any](ctx context.Context, fn func() (T, error), opts RetryOptions) (T, error)

WithRetry executes a function with retry logic for rate limiting. It uses exponential backoff with jitter and respects Retry-After headers.

func WithUnlistedOperations

func WithUnlistedOperations(ctx context.Context) context.Context

WithUnlistedOperations lets requests sent with the returned context skip the Enterprise Program API operation check. `asc api` uses it to stay an escape hatch for operations Apple adds after this list was written.

func WriteMarkdown

func WriteMarkdown(headers []string, rows [][]string) error

WriteMarkdown is RenderMarkdown that reports stdout write failures.

func WriteMarkdownTo

func WriteMarkdownTo(w io.Writer, headers []string, rows [][]string) error

WriteMarkdownTo is WriteMarkdown writing to w.

func WriteTable

func WriteTable(headers []string, rows [][]string) error

WriteTable is RenderTable that reports stdout write failures.

func WriteTableTo

func WriteTableTo(w io.Writer, headers []string, rows [][]string) error

WriteTableTo is WriteTable writing to w.

Types

type APIAssociatedError

type APIAssociatedError struct {
	Code   string
	Detail string
}

APIAssociatedError represents an additional actionable error returned under errors[].meta.associatedErrors in App Store Connect responses.

type APIError

type APIError struct {
	Code             string
	Title            string
	Detail           string
	StatusCode       int // HTTP status code that triggered this error (0 if unknown)
	AssociatedErrors map[string][]APIAssociatedError
	// AllCodes lists the code of every entry in Apple's errors[] array, in
	// response order, with Code as the first element. Apple can report several
	// causes for one status: a duplicate versionString on
	// POST /v1/appStoreVersions arrives as ENTITY_ERROR.RELATIONSHIP.INVALID
	// followed by ENTITY_ERROR.ATTRIBUTE.INVALID.DUPLICATE. Callers that
	// classify a response by code must consult this slice so a cause reported
	// after the first is not lost. It is empty when the body carried no
	// parsable errors[] array.
	AllCodes []string
	// AllDetails lists every detail from Apple's errors[] array in response
	// order, including empty details. Callers that classify a response by its
	// diagnostic text must consult this slice so a later cause is not lost.
	AllDetails []string
	// Entries lists every errors[] entry's code and detail together, in
	// response order. Callers that match a code against its own detail must
	// use this slice: AllCodes omits empty codes, so its indexes do not line
	// up with AllDetails.
	Entries []APIErrorEntry
	// Remediation is operator guidance for error codes whose cause is an
	// account-level state that no API key permission can satisfy. It is
	// appended to Error() so the guidance travels with the error itself.
	Remediation string
	// contains filtered or unexported fields
}

APIError represents a parsed App Store Connect error response.

func (*APIError) Error

func (e *APIError) Error() string

func (*APIError) HTTPStatusCode added in v1.260713.0

func (e *APIError) HTTPStatusCode() int

func (*APIError) Is

func (e *APIError) Is(target error) bool

type APIErrorEntry

type APIErrorEntry struct {
	Code   string
	Detail string
}

APIErrorEntry is one entry of Apple's errors[] array.

type AccessibilityDeclarationAttributes

type AccessibilityDeclarationAttributes struct {
	DeviceFamily                           DeviceFamily                  `json:"deviceFamily,omitempty"`
	State                                  AccessibilityDeclarationState `json:"state,omitempty"`
	SupportsAudioDescriptions              *bool                         `json:"supportsAudioDescriptions,omitempty"`
	SupportsCaptions                       *bool                         `json:"supportsCaptions,omitempty"`
	SupportsDarkInterface                  *bool                         `json:"supportsDarkInterface,omitempty"`
	SupportsDifferentiateWithoutColorAlone *bool                         `json:"supportsDifferentiateWithoutColorAlone,omitempty"`
	SupportsLargerText                     *bool                         `json:"supportsLargerText,omitempty"`
	SupportsReducedMotion                  *bool                         `json:"supportsReducedMotion,omitempty"`
	SupportsSufficientContrast             *bool                         `json:"supportsSufficientContrast,omitempty"`
	SupportsVoiceControl                   *bool                         `json:"supportsVoiceControl,omitempty"`
	SupportsVoiceover                      *bool                         `json:"supportsVoiceover,omitempty"`
}

AccessibilityDeclarationAttributes describes accessibility declaration attributes.

type AccessibilityDeclarationCreateAttributes

type AccessibilityDeclarationCreateAttributes struct {
	DeviceFamily                           DeviceFamily `json:"deviceFamily"`
	SupportsAudioDescriptions              *bool        `json:"supportsAudioDescriptions,omitempty"`
	SupportsCaptions                       *bool        `json:"supportsCaptions,omitempty"`
	SupportsDarkInterface                  *bool        `json:"supportsDarkInterface,omitempty"`
	SupportsDifferentiateWithoutColorAlone *bool        `json:"supportsDifferentiateWithoutColorAlone,omitempty"`
	SupportsLargerText                     *bool        `json:"supportsLargerText,omitempty"`
	SupportsReducedMotion                  *bool        `json:"supportsReducedMotion,omitempty"`
	SupportsSufficientContrast             *bool        `json:"supportsSufficientContrast,omitempty"`
	SupportsVoiceControl                   *bool        `json:"supportsVoiceControl,omitempty"`
	SupportsVoiceover                      *bool        `json:"supportsVoiceover,omitempty"`
}

AccessibilityDeclarationCreateAttributes is the data.attributes object of the AccessibilityDeclarationCreateRequest schema.

type AccessibilityDeclarationCreateData

type AccessibilityDeclarationCreateData struct {
	Type          ResourceType                             `json:"type"`
	Attributes    AccessibilityDeclarationCreateAttributes `json:"attributes"`
	Relationships *AccessibilityDeclarationRelationships   `json:"relationships"`
}

AccessibilityDeclarationCreateData is the data object of the AccessibilityDeclarationCreateRequest schema.

type AccessibilityDeclarationCreateRequest

type AccessibilityDeclarationCreateRequest struct {
	Data AccessibilityDeclarationCreateData `json:"data"`
}

AccessibilityDeclarationCreateRequest is the AccessibilityDeclarationCreateRequest schema.

type AccessibilityDeclarationRelationships

type AccessibilityDeclarationRelationships struct {
	App *Relationship `json:"app"`
}

AccessibilityDeclarationRelationships is the data.relationships object of the AccessibilityDeclarationCreateRequest schema.

type AccessibilityDeclarationResponse

type AccessibilityDeclarationResponse = SingleResponse[AccessibilityDeclarationAttributes]

AccessibilityDeclarationResponse is the AccessibilityDeclarationResponse schema.

type AccessibilityDeclarationState

type AccessibilityDeclarationState string

AccessibilityDeclarationState represents the publishing state of a declaration.

const (
	AccessibilityDeclarationStateDraft     AccessibilityDeclarationState = "DRAFT"
	AccessibilityDeclarationStatePublished AccessibilityDeclarationState = "PUBLISHED"
	AccessibilityDeclarationStateReplaced  AccessibilityDeclarationState = "REPLACED"
)

type AccessibilityDeclarationUpdateAttributes

type AccessibilityDeclarationUpdateAttributes struct {
	Publish                                *bool `json:"publish,omitempty"`
	SupportsAudioDescriptions              *bool `json:"supportsAudioDescriptions,omitempty"`
	SupportsCaptions                       *bool `json:"supportsCaptions,omitempty"`
	SupportsDarkInterface                  *bool `json:"supportsDarkInterface,omitempty"`
	SupportsDifferentiateWithoutColorAlone *bool `json:"supportsDifferentiateWithoutColorAlone,omitempty"`
	SupportsLargerText                     *bool `json:"supportsLargerText,omitempty"`
	SupportsReducedMotion                  *bool `json:"supportsReducedMotion,omitempty"`
	SupportsSufficientContrast             *bool `json:"supportsSufficientContrast,omitempty"`
	SupportsVoiceControl                   *bool `json:"supportsVoiceControl,omitempty"`
	SupportsVoiceover                      *bool `json:"supportsVoiceover,omitempty"`
}

AccessibilityDeclarationUpdateAttributes is the data.attributes object of the AccessibilityDeclarationUpdateRequest schema.

type AccessibilityDeclarationUpdateData

type AccessibilityDeclarationUpdateData struct {
	Type       ResourceType                              `json:"type"`
	ID         string                                    `json:"id"`
	Attributes *AccessibilityDeclarationUpdateAttributes `json:"attributes,omitempty"`
}

AccessibilityDeclarationUpdateData is the data object of the AccessibilityDeclarationUpdateRequest schema.

type AccessibilityDeclarationUpdateRequest

type AccessibilityDeclarationUpdateRequest struct {
	Data AccessibilityDeclarationUpdateData `json:"data"`
}

AccessibilityDeclarationUpdateRequest is the AccessibilityDeclarationUpdateRequest schema.

type AccessibilityDeclarationsOption

type AccessibilityDeclarationsOption func(*accessibilityDeclarationsQuery)

AccessibilityDeclarationsOption sets the query of GET /v1/apps/{id}/accessibilityDeclarations (apps_accessibilityDeclarations_getToManyRelated).

func WithAccessibilityDeclarationsDeviceFamilies

func WithAccessibilityDeclarationsDeviceFamilies(families []string) AccessibilityDeclarationsOption

WithAccessibilityDeclarationsDeviceFamilies sets filter[deviceFamily].

func WithAccessibilityDeclarationsFields

func WithAccessibilityDeclarationsFields(fields []string) AccessibilityDeclarationsOption

WithAccessibilityDeclarationsFields sets fields[accessibilityDeclarations].

func WithAccessibilityDeclarationsStates

func WithAccessibilityDeclarationsStates(states []string) AccessibilityDeclarationsOption

WithAccessibilityDeclarationsStates sets filter[state].

type AccessibilityDeclarationsResponse

type AccessibilityDeclarationsResponse = Response[AccessibilityDeclarationAttributes]

AccessibilityDeclarationsResponse is the response from accessibility declarations list.

type ActorAttributes

type ActorAttributes struct {
	ActorType     string `json:"actorType,omitempty"`
	UserFirstName string `json:"userFirstName,omitempty"`
	UserLastName  string `json:"userLastName,omitempty"`
	UserEmail     string `json:"userEmail,omitempty"`
	APIKeyID      string `json:"apiKeyId,omitempty"`
}

ActorAttributes is the attributes object of the Actor schema.

type ActorResponse

type ActorResponse = SingleResponse[ActorAttributes]

ActorResponse is the ActorResponse schema.

type ActorsOption

type ActorsOption func(*actorsQuery)

ActorsOption sets the query of GET /v1/actors (actors_getCollection).

func WithActorsFields

func WithActorsFields(fields []string) ActorsOption

WithActorsFields sets fields[actors].

func WithActorsIDs

func WithActorsIDs(ids []string) ActorsOption

WithActorsIDs sets filter[id].

type ActorsResponse

type ActorsResponse = Response[ActorAttributes]

ActorsResponse is the ActorsResponse schema.

type AgeRatingAuditResult added in v1.260825.0

type AgeRatingAuditResult struct {
	Apps         []AgeRatingAuditRow `json:"apps"`
	ReadyCount   int                 `json:"readyCount"`
	MissingCount int                 `json:"missingCount"`
	ErrorCount   int                 `json:"errorCount"`
}

AgeRatingAuditResult summarizes social-media capability readiness per active app info.

type AgeRatingAuditRow added in v1.260825.0

type AgeRatingAuditRow struct {
	AppID                    string   `json:"appId"`
	AppInfoID                string   `json:"appInfoId,omitempty"`
	AppInfoState             string   `json:"appInfoState,omitempty"`
	Name                     string   `json:"name,omitempty"`
	BundleID                 string   `json:"bundleId,omitempty"`
	SocialMedia              string   `json:"socialMedia"`
	SocialMediaAgeRestricted string   `json:"socialMediaAgeRestricted"`
	MessagingAndChat         string   `json:"messagingAndChat"`
	UserGeneratedContent     string   `json:"userGeneratedContent"`
	AgeAssurance             string   `json:"ageAssurance"`
	MissingResponses         []string `json:"missingResponses"`
	Ready                    bool     `json:"ready"`
	Error                    string   `json:"error,omitempty"`
}

AgeRatingAuditRow reports one active app info's social-media capability responses.

type AgeRatingDeclarationAttributes

type AgeRatingDeclarationAttributes struct {
	// Boolean content descriptors
	Advertising              *bool         `json:"advertising,omitempty"`
	Gambling                 *bool         `json:"gambling,omitempty"`
	HealthOrWellnessTopics   *bool         `json:"healthOrWellnessTopics,omitempty"`
	LootBox                  *bool         `json:"lootBox,omitempty"`
	MessagingAndChat         *bool         `json:"messagingAndChat,omitempty"`
	ParentalControls         *bool         `json:"parentalControls,omitempty"`
	AgeAssurance             *bool         `json:"ageAssurance,omitempty"`
	SocialMedia              *NullableBool `json:"socialMedia,omitempty"`
	SocialMediaAgeRestricted *NullableBool `json:"socialMediaAgeRestricted,omitempty"`
	UnrestrictedWebAccess    *bool         `json:"unrestrictedWebAccess,omitempty"`
	UserGeneratedContent     *bool         `json:"userGeneratedContent,omitempty"`

	// Enum content descriptors (NONE, INFREQUENT_OR_MILD, FREQUENT_OR_INTENSE)
	AlcoholTobaccoOrDrugUseOrReferences         *string `json:"alcoholTobaccoOrDrugUseOrReferences,omitempty"`
	Contests                                    *string `json:"contests,omitempty"`
	GamblingSimulated                           *string `json:"gamblingSimulated,omitempty"`
	GunsOrOtherWeapons                          *string `json:"gunsOrOtherWeapons,omitempty"`
	MedicalOrTreatmentInformation               *string `json:"medicalOrTreatmentInformation,omitempty"`
	ProfanityOrCrudeHumor                       *string `json:"profanityOrCrudeHumor,omitempty"`
	SexualContentGraphicAndNudity               *string `json:"sexualContentGraphicAndNudity,omitempty"`
	SexualContentOrNudity                       *string `json:"sexualContentOrNudity,omitempty"`
	HorrorOrFearThemes                          *string `json:"horrorOrFearThemes,omitempty"`
	MatureOrSuggestiveThemes                    *string `json:"matureOrSuggestiveThemes,omitempty"`
	ViolenceCartoonOrFantasy                    *string `json:"violenceCartoonOrFantasy,omitempty"`
	ViolenceRealistic                           *string `json:"violenceRealistic,omitempty"`
	ViolenceRealisticProlongedGraphicOrSadistic *string `json:"violenceRealisticProlongedGraphicOrSadistic,omitempty"`

	// Age rating overrides and metadata
	KidsAgeBand                    *string         `json:"kidsAgeBand,omitempty"`
	AgeRatingOverride              *string         `json:"ageRatingOverride,omitempty"`
	AgeRatingOverrideV2            *string         `json:"ageRatingOverrideV2,omitempty"`
	GracRatingClassificationNumber *NullableString `json:"gracRatingClassificationNumber,omitempty"`
	KoreaAgeRatingOverride         *string         `json:"koreaAgeRatingOverride,omitempty"`
	DeveloperAgeRatingInfoURL      *string         `json:"developerAgeRatingInfoUrl,omitempty"`

	// Deprecated fields (kept for backward compatibility with older API responses)
	SeventeenPlus *bool `json:"seventeenPlus,omitempty"`
	// contains filtered or unexported fields
}

AgeRatingDeclarationAttributes describes the age rating declaration attributes.

func (AgeRatingDeclarationAttributes) MarshalJSON

func (a AgeRatingDeclarationAttributes) MarshalJSON() ([]byte, error)

func (*AgeRatingDeclarationAttributes) UnmarshalJSON

func (a *AgeRatingDeclarationAttributes) UnmarshalJSON(data []byte) error

type AgeRatingDeclarationOption added in v1.260722.0

type AgeRatingDeclarationOption func(*ageRatingDeclarationQuery)

AgeRatingDeclarationOption sets the query of GET /v1/appInfos/{id}/ageRatingDeclaration (appInfos_ageRatingDeclaration_getToOneRelated).

func WithAgeRatingDeclarationFields added in v1.260722.0

func WithAgeRatingDeclarationFields(fields []string) AgeRatingDeclarationOption

WithAgeRatingDeclarationFields sets fields[ageRatingDeclarations].

type AgeRatingDeclarationResponse

type AgeRatingDeclarationResponse = SingleResponse[AgeRatingDeclarationAttributes]

AgeRatingDeclarationResponse is the AgeRatingDeclarationResponse schema.

type AgeRatingDeclarationUpdateData

type AgeRatingDeclarationUpdateData struct {
	Type       ResourceType                   `json:"type"`
	ID         string                         `json:"id"`
	Attributes AgeRatingDeclarationAttributes `json:"attributes"`
}

AgeRatingDeclarationUpdateData is the data portion of an update request.

type AgeRatingDeclarationUpdateRequest

type AgeRatingDeclarationUpdateRequest struct {
	Data AgeRatingDeclarationUpdateData `json:"data"`
}

AgeRatingDeclarationUpdateRequest is the AgeRatingDeclarationUpdateRequest schema.

type AlternativeDistributionDomainAttributes

type AlternativeDistributionDomainAttributes struct {
	Domain        string `json:"domain,omitempty"`
	ReferenceName string `json:"referenceName,omitempty"`
	CreatedDate   string `json:"createdDate,omitempty"`
}

AlternativeDistributionDomainAttributes is the attributes object of the AlternativeDistributionDomain schema.

type AlternativeDistributionDomainCreateAttributes

type AlternativeDistributionDomainCreateAttributes struct {
	Domain        string `json:"domain"`
	ReferenceName string `json:"referenceName"`
}

AlternativeDistributionDomainCreateAttributes is the data.attributes object of the AlternativeDistributionDomainCreateRequest schema.

type AlternativeDistributionDomainCreateData

type AlternativeDistributionDomainCreateData struct {
	Type       ResourceType                                  `json:"type"`
	Attributes AlternativeDistributionDomainCreateAttributes `json:"attributes"`
}

AlternativeDistributionDomainCreateData is the data object of the AlternativeDistributionDomainCreateRequest schema.

type AlternativeDistributionDomainCreateRequest

type AlternativeDistributionDomainCreateRequest struct {
	Data AlternativeDistributionDomainCreateData `json:"data"`
}

AlternativeDistributionDomainCreateRequest is the AlternativeDistributionDomainCreateRequest schema.

type AlternativeDistributionDomainResponse

type AlternativeDistributionDomainResponse = SingleResponse[AlternativeDistributionDomainAttributes]

AlternativeDistributionDomainResponse is the AlternativeDistributionDomainResponse schema.

type AlternativeDistributionDomainsOption

type AlternativeDistributionDomainsOption func(*alternativeDistributionDomainsQuery)

AlternativeDistributionDomainsOption sets the query of GET /v1/alternativeDistributionDomains (alternativeDistributionDomains_getCollection).

type AlternativeDistributionDomainsResponse

type AlternativeDistributionDomainsResponse = Response[AlternativeDistributionDomainAttributes]

AlternativeDistributionDomainsResponse is the AlternativeDistributionDomainsResponse schema.

type AlternativeDistributionKeyAttributes

type AlternativeDistributionKeyAttributes struct {
	PublicKey string `json:"publicKey,omitempty"`
}

AlternativeDistributionKeyAttributes is the attributes object of the AlternativeDistributionKey schema.

type AlternativeDistributionKeyCreateAttributes

type AlternativeDistributionKeyCreateAttributes struct {
	PublicKey string `json:"publicKey"`
}

AlternativeDistributionKeyCreateAttributes is the data.attributes object of the AlternativeDistributionKeyCreateRequest schema.

type AlternativeDistributionKeyCreateData

type AlternativeDistributionKeyCreateData struct {
	Type          ResourceType                                   `json:"type"`
	Attributes    AlternativeDistributionKeyCreateAttributes     `json:"attributes"`
	Relationships *AlternativeDistributionKeyCreateRelationships `json:"relationships,omitempty"`
}

AlternativeDistributionKeyCreateData is the data object of the AlternativeDistributionKeyCreateRequest schema.

type AlternativeDistributionKeyCreateRelationships

type AlternativeDistributionKeyCreateRelationships struct {
	App *Relationship `json:"app,omitempty"`
}

AlternativeDistributionKeyCreateRelationships is the data.relationships object of the AlternativeDistributionKeyCreateRequest schema.

type AlternativeDistributionKeyCreateRequest

type AlternativeDistributionKeyCreateRequest struct {
	Data AlternativeDistributionKeyCreateData `json:"data"`
}

AlternativeDistributionKeyCreateRequest is the AlternativeDistributionKeyCreateRequest schema.

type AlternativeDistributionKeyResponse

type AlternativeDistributionKeyResponse = SingleResponse[AlternativeDistributionKeyAttributes]

AlternativeDistributionKeyResponse is the AlternativeDistributionKeyResponse schema.

type AlternativeDistributionKeysOption

type AlternativeDistributionKeysOption func(*alternativeDistributionKeysQuery)

AlternativeDistributionKeysOption sets the query of GET /v1/alternativeDistributionKeys (alternativeDistributionKeys_getCollection).

type AlternativeDistributionKeysResponse

type AlternativeDistributionKeysResponse = Response[AlternativeDistributionKeyAttributes]

AlternativeDistributionKeysResponse is the AlternativeDistributionKeysResponse schema.

type AlternativeDistributionPackageAttributes

type AlternativeDistributionPackageAttributes struct {
	SourceFileChecksum *Checksums `json:"sourceFileChecksum,omitempty"`
}

AlternativeDistributionPackageAttributes is the attributes object of the AlternativeDistributionPackage schema.

type AlternativeDistributionPackageCreateData

type AlternativeDistributionPackageCreateData struct {
	Type          ResourceType                                      `json:"type"`
	Relationships AlternativeDistributionPackageCreateRelationships `json:"relationships"`
}

AlternativeDistributionPackageCreateData is the data object of the AlternativeDistributionPackageCreateRequest schema.

type AlternativeDistributionPackageCreateRelationships

type AlternativeDistributionPackageCreateRelationships struct {
	AppStoreVersion Relationship `json:"appStoreVersion"`
}

AlternativeDistributionPackageCreateRelationships is the data.relationships object of the AlternativeDistributionPackageCreateRequest schema.

type AlternativeDistributionPackageCreateRequest

type AlternativeDistributionPackageCreateRequest struct {
	Data AlternativeDistributionPackageCreateData `json:"data"`
}

AlternativeDistributionPackageCreateRequest is the AlternativeDistributionPackageCreateRequest schema.

type AlternativeDistributionPackageDeltaAttributes

type AlternativeDistributionPackageDeltaAttributes struct {
	URL                            string `json:"url,omitempty"`
	URLExpirationDate              string `json:"urlExpirationDate,omitempty"`
	AlternativeDistributionKeyBlob string `json:"alternativeDistributionKeyBlob,omitempty"`
	FileChecksum                   string `json:"fileChecksum,omitempty"`
}

AlternativeDistributionPackageDeltaAttributes is the attributes object of the AlternativeDistributionPackageDelta schema.

type AlternativeDistributionPackageDeltaResponse

type AlternativeDistributionPackageDeltaResponse = SingleResponse[AlternativeDistributionPackageDeltaAttributes]

AlternativeDistributionPackageDeltaResponse is the AlternativeDistributionPackageDeltaResponse schema.

type AlternativeDistributionPackageDeltasOption

type AlternativeDistributionPackageDeltasOption func(*alternativeDistributionPackageDeltasQuery)

AlternativeDistributionPackageDeltasOption sets the query of GET /v1/alternativeDistributionPackageVersions/{id}/deltas (alternativeDistributionPackageVersions_deltas_getToManyRelated).

type AlternativeDistributionPackageDeltasResponse

type AlternativeDistributionPackageDeltasResponse = Response[AlternativeDistributionPackageDeltaAttributes]

AlternativeDistributionPackageDeltasResponse is the response from package delta list endpoints.

type AlternativeDistributionPackageResponse

type AlternativeDistributionPackageResponse = SingleResponse[AlternativeDistributionPackageAttributes]

AlternativeDistributionPackageResponse is the AlternativeDistributionPackageResponse schema.

type AlternativeDistributionPackageVariantAttributes

type AlternativeDistributionPackageVariantAttributes struct {
	URL                            string `json:"url,omitempty"`
	URLExpirationDate              string `json:"urlExpirationDate,omitempty"`
	AlternativeDistributionKeyBlob string `json:"alternativeDistributionKeyBlob,omitempty"`
	FileChecksum                   string `json:"fileChecksum,omitempty"`
}

AlternativeDistributionPackageVariantAttributes is the attributes object of the AlternativeDistributionPackageVariant schema.

type AlternativeDistributionPackageVariantResponse

type AlternativeDistributionPackageVariantResponse = SingleResponse[AlternativeDistributionPackageVariantAttributes]

AlternativeDistributionPackageVariantResponse is the AlternativeDistributionPackageVariantResponse schema.

type AlternativeDistributionPackageVariantsOption

type AlternativeDistributionPackageVariantsOption func(*alternativeDistributionPackageVariantsQuery)

AlternativeDistributionPackageVariantsOption sets the query of GET /v1/alternativeDistributionPackageVersions/{id}/variants (alternativeDistributionPackageVersions_variants_getToManyRelated).

type AlternativeDistributionPackageVariantsResponse

type AlternativeDistributionPackageVariantsResponse = Response[AlternativeDistributionPackageVariantAttributes]

AlternativeDistributionPackageVariantsResponse is the response from package variant list endpoints.

type AlternativeDistributionPackageVersionAttributes

type AlternativeDistributionPackageVersionAttributes struct {
	URL               string                                     `json:"url,omitempty"`
	URLExpirationDate string                                     `json:"urlExpirationDate,omitempty"`
	Version           string                                     `json:"version,omitempty"`
	FileChecksum      string                                     `json:"fileChecksum,omitempty"`
	State             AlternativeDistributionPackageVersionState `json:"state,omitempty"`
}

AlternativeDistributionPackageVersionAttributes describes a package version.

type AlternativeDistributionPackageVersionResponse

type AlternativeDistributionPackageVersionResponse = SingleResponse[AlternativeDistributionPackageVersionAttributes]

AlternativeDistributionPackageVersionResponse is the AlternativeDistributionPackageVersionResponse schema.

type AlternativeDistributionPackageVersionState

type AlternativeDistributionPackageVersionState string

AlternativeDistributionPackageVersionState represents a package version state.

const (
	AlternativeDistributionPackageVersionStateCompleted AlternativeDistributionPackageVersionState = "COMPLETED"
	AlternativeDistributionPackageVersionStateReplaced  AlternativeDistributionPackageVersionState = "REPLACED"
)

type AlternativeDistributionPackageVersionsOption

type AlternativeDistributionPackageVersionsOption func(*alternativeDistributionPackageVersionsQuery)

AlternativeDistributionPackageVersionsOption sets the query of GET /v1/alternativeDistributionPackages/{id}/versions (alternativeDistributionPackages_versions_getToManyRelated).

type AlternativeDistributionPackageVersionsResponse

type AlternativeDistributionPackageVersionsResponse = Response[AlternativeDistributionPackageVersionAttributes]

AlternativeDistributionPackageVersionsResponse is the response from package versions list endpoints.

type AnalyticsAccessType

type AnalyticsAccessType string

AnalyticsAccessType represents analytics report access types.

const (
	AnalyticsAccessTypeOngoing         AnalyticsAccessType = "ONGOING"
	AnalyticsAccessTypeOneTimeSnapshot AnalyticsAccessType = "ONE_TIME_SNAPSHOT"
)

type AnalyticsReportAttributes

type AnalyticsReportAttributes struct {
	Name        string `json:"name,omitempty"`
	ReportType  string `json:"reportType,omitempty"`
	Category    string `json:"category,omitempty"`
	SubCategory string `json:"subCategory,omitempty"`
	Granularity string `json:"granularity,omitempty"`
}

AnalyticsReportAttributes describes analytics report metadata.

type AnalyticsReportDownloadResult

type AnalyticsReportDownloadResult struct {
	RequestID        string `json:"requestId"`
	InstanceID       string `json:"instanceId"`
	SegmentID        string `json:"segmentId,omitempty"`
	FilePath         string `json:"filePath"`
	FileSize         int64  `json:"fileSize"`
	Decompressed     bool   `json:"decompressed"`
	DecompressedPath string `json:"decompressedPath,omitempty"`
	DecompressedSize int64  `json:"decompressedSize,omitempty"`
}

AnalyticsReportDownloadResult represents CLI output for analytics downloads.

type AnalyticsReportGetInstance

type AnalyticsReportGetInstance struct {
	ID             string                      `json:"id"`
	ReportDate     string                      `json:"reportDate,omitempty"`
	ProcessingDate string                      `json:"processingDate,omitempty"`
	Granularity    string                      `json:"granularity,omitempty"`
	Version        string                      `json:"version,omitempty"`
	Segments       []AnalyticsReportGetSegment `json:"segments,omitempty"`
}

AnalyticsReportGetInstance represents a report instance with segments.

type AnalyticsReportGetReport

type AnalyticsReportGetReport struct {
	ID          string                       `json:"id"`
	ReportType  string                       `json:"reportType,omitempty"`
	Name        string                       `json:"name,omitempty"`
	Category    string                       `json:"category,omitempty"`
	Granularity string                       `json:"granularity,omitempty"`
	Instances   []AnalyticsReportGetInstance `json:"instances,omitempty"`
}

AnalyticsReportGetReport represents an analytics report with instances.

type AnalyticsReportGetResult

type AnalyticsReportGetResult struct {
	RequestID string                     `json:"requestId"`
	Data      []AnalyticsReportGetReport `json:"data"`
	Links     Links                      `json:"links"`
}

AnalyticsReportGetResult represents CLI output for report metadata with instances.

func (*AnalyticsReportGetResult) GetData added in v1.260825.0

func (r *AnalyticsReportGetResult) GetData() any

GetData returns report data for shared pagination helpers.

func (r *AnalyticsReportGetResult) GetLinks() *Links

GetLinks returns pagination links for shared truncation warnings.

type AnalyticsReportGetSegment

type AnalyticsReportGetSegment struct {
	ID                string `json:"id"`
	DownloadURL       string `json:"downloadUrl,omitempty"`
	Checksum          string `json:"checksum,omitempty"`
	SizeInBytes       int64  `json:"sizeInBytes,omitempty"`
	URLExpirationDate string `json:"urlExpirationDate,omitempty"`
}

AnalyticsReportGetSegment represents a report segment with download URL.

type AnalyticsReportInstanceAttributes

type AnalyticsReportInstanceAttributes struct {
	ReportDate     string `json:"reportDate,omitempty"`
	ProcessingDate string `json:"processingDate,omitempty"`
	Granularity    string `json:"granularity,omitempty"`
	Version        string `json:"version,omitempty"`
}

AnalyticsReportInstanceAttributes describes analytics report instance metadata.

type AnalyticsReportInstanceResponse

type AnalyticsReportInstanceResponse = SingleResponse[AnalyticsReportInstanceAttributes]

AnalyticsReportInstanceResponse is the AnalyticsReportInstanceResponse schema.

type AnalyticsReportInstanceSegmentsLinkagesResponse

type AnalyticsReportInstanceSegmentsLinkagesResponse = LinkagesResponse

AnalyticsReportInstanceSegmentsLinkagesResponse is the response from analytics report instance segments linkages endpoint.

type AnalyticsReportInstancesLinkagesResponse

type AnalyticsReportInstancesLinkagesResponse = LinkagesResponse

AnalyticsReportInstancesLinkagesResponse is the response from analytics report instances linkages endpoint.

type AnalyticsReportInstancesOption

type AnalyticsReportInstancesOption func(*analyticsReportInstancesQuery)

AnalyticsReportInstancesOption is a functional option for instance listings.

func WithAnalyticsReportInstancesGranularities added in v1.260804.0

func WithAnalyticsReportInstancesGranularities(granularities []string) AnalyticsReportInstancesOption

WithAnalyticsReportInstancesGranularities filters instances by one or more granularities.

func WithAnalyticsReportInstancesProcessingDates added in v1.260804.0

func WithAnalyticsReportInstancesProcessingDates(dates []string) AnalyticsReportInstancesOption

WithAnalyticsReportInstancesProcessingDates filters instances by one or more processing dates.

type AnalyticsReportInstancesResponse

type AnalyticsReportInstancesResponse = Response[AnalyticsReportInstanceAttributes]

AnalyticsReportInstancesResponse is the response from analytics report instances endpoint.

type AnalyticsReportRequestAttributes

type AnalyticsReportRequestAttributes struct {
	AccessType             AnalyticsAccessType `json:"accessType,omitempty"`
	StoppedDueToInactivity *bool               `json:"stoppedDueToInactivity,omitempty"`
}

AnalyticsReportRequestAttributes describes analytics report request data.

type AnalyticsReportRequestCreateAttributes

type AnalyticsReportRequestCreateAttributes struct {
	AccessType AnalyticsAccessType `json:"accessType"`
}

AnalyticsReportRequestCreateAttributes describes attributes for creation.

type AnalyticsReportRequestCreateData

type AnalyticsReportRequestCreateData struct {
	Type          ResourceType                              `json:"type"`
	Attributes    AnalyticsReportRequestCreateAttributes    `json:"attributes"`
	Relationships AnalyticsReportRequestCreateRelationships `json:"relationships"`
}

AnalyticsReportRequestCreateData is the data object of the AnalyticsReportRequestCreateRequest schema.

type AnalyticsReportRequestCreateRelationships

type AnalyticsReportRequestCreateRelationships struct {
	App Relationship `json:"app"`
}

AnalyticsReportRequestCreateRelationships is the data.relationships object of the AnalyticsReportRequestCreateRequest schema.

type AnalyticsReportRequestCreateRequest

type AnalyticsReportRequestCreateRequest struct {
	Data AnalyticsReportRequestCreateData `json:"data"`
}

AnalyticsReportRequestCreateRequest is the AnalyticsReportRequestCreateRequest schema.

type AnalyticsReportRequestDeleteResult

type AnalyticsReportRequestDeleteResult struct {
	RequestID string `json:"requestId"`
	Deleted   bool   `json:"deleted"`
}

AnalyticsReportRequestDeleteResult represents CLI output for deleted requests.

type AnalyticsReportRequestRelationships

type AnalyticsReportRequestRelationships struct {
	App     *Relationship     `json:"app,omitempty"`
	Reports *RelationshipList `json:"reports,omitempty"`
}

AnalyticsReportRequestRelationships describes request relationships.

type AnalyticsReportRequestResource

type AnalyticsReportRequestResource struct {
	Type          ResourceType                         `json:"type"`
	ID            string                               `json:"id"`
	Attributes    AnalyticsReportRequestAttributes     `json:"attributes"`
	Relationships *AnalyticsReportRequestRelationships `json:"relationships,omitempty"`
}

AnalyticsReportRequestResource represents an analytics report request resource.

type AnalyticsReportRequestResponse

type AnalyticsReportRequestResponse struct {
	Data  AnalyticsReportRequestResource `json:"data"`
	Links Links                          `json:"links"`
}

AnalyticsReportRequestResponse is the response for a single analytics report request.

type AnalyticsReportRequestResult

type AnalyticsReportRequestResult struct {
	RequestID              string `json:"requestId"`
	AppID                  string `json:"appId"`
	AccessType             string `json:"accessType"`
	StoppedDueToInactivity *bool  `json:"stoppedDueToInactivity,omitempty"`
}

AnalyticsReportRequestResult represents CLI output for created requests.

type AnalyticsReportRequestReuseResult added in v1.260519.0

type AnalyticsReportRequestReuseResult struct {
	RequestID              string `json:"requestId"`
	AppID                  string `json:"appId"`
	AccessType             string `json:"accessType"`
	StoppedDueToInactivity *bool  `json:"stoppedDueToInactivity,omitempty"`
	Created                bool   `json:"created"`
}

AnalyticsReportRequestReuseResult represents CLI output for reused or created requests.

type AnalyticsReportRequestsOption

type AnalyticsReportRequestsOption func(*analyticsReportRequestsQuery)

AnalyticsReportRequestsOption is a functional option for request listings.

func WithAnalyticsReportRequestsAccessType added in v1.260810.0

func WithAnalyticsReportRequestsAccessType(accessType AnalyticsAccessType) AnalyticsReportRequestsOption

WithAnalyticsReportRequestsAccessType filters requests by access type.

type AnalyticsReportRequestsResponse

type AnalyticsReportRequestsResponse struct {
	Data  []AnalyticsReportRequestResource `json:"data"`
	Links Links                            `json:"links"`
}

AnalyticsReportRequestsResponse is the response for analytics report requests.

func (*AnalyticsReportRequestsResponse) GetData

func (r *AnalyticsReportRequestsResponse) GetData() any

GetData returns the data field for aggregation

func (r *AnalyticsReportRequestsResponse) GetLinks() *Links

GetLinks returns the links field for pagination

type AnalyticsReportResponse

type AnalyticsReportResponse = SingleResponse[AnalyticsReportAttributes]

AnalyticsReportResponse is the AnalyticsReportResponse schema.

type AnalyticsReportSegmentAttributes

type AnalyticsReportSegmentAttributes struct {
	URL               string `json:"url,omitempty"`
	Checksum          string `json:"checksum,omitempty"`
	SizeInBytes       int64  `json:"sizeInBytes,omitempty"`
	URLExpirationDate string `json:"urlExpirationDate,omitempty"`
}

AnalyticsReportSegmentAttributes describes analytics report segment metadata.

type AnalyticsReportSegmentResponse

type AnalyticsReportSegmentResponse = SingleResponse[AnalyticsReportSegmentAttributes]

AnalyticsReportSegmentResponse is the AnalyticsReportSegmentResponse schema.

type AnalyticsReportSegmentsOption

type AnalyticsReportSegmentsOption func(*analyticsReportSegmentsQuery)

AnalyticsReportSegmentsOption sets the query of GET /v1/analyticsReportInstances/{id}/segments (analyticsReportInstances_segments_getToManyRelated).

type AnalyticsReportSegmentsResponse

type AnalyticsReportSegmentsResponse = Response[AnalyticsReportSegmentAttributes]

AnalyticsReportSegmentsResponse is the response from analytics report segments endpoint.

type AnalyticsReportsOption

type AnalyticsReportsOption func(*analyticsReportsQuery)

AnalyticsReportsOption is a functional option for report listings.

type AnalyticsReportsResponse

type AnalyticsReportsResponse = Response[AnalyticsReportAttributes]

AnalyticsReportsResponse is the response from analytics reports endpoint.

type AndroidToIosAppMappingDetailAttributes

type AndroidToIosAppMappingDetailAttributes struct {
	PackageName                                      string   `json:"packageName,omitempty"`
	AppSigningKeyPublicCertificateSHA256Fingerprints []string `json:"appSigningKeyPublicCertificateSha256Fingerprints,omitempty"`
}

AndroidToIosAppMappingDetailAttributes is the attributes object of the AndroidToIosAppMappingDetail schema.

type AndroidToIosAppMappingDetailCreateAttributes

type AndroidToIosAppMappingDetailCreateAttributes struct {
	PackageName                                      string   `json:"packageName"`
	AppSigningKeyPublicCertificateSHA256Fingerprints []string `json:"appSigningKeyPublicCertificateSha256Fingerprints"`
}

AndroidToIosAppMappingDetailCreateAttributes is the data.attributes object of the AndroidToIosAppMappingDetailCreateRequest schema.

type AndroidToIosAppMappingDetailCreateData

type AndroidToIosAppMappingDetailCreateData struct {
	Type          ResourceType                                    `json:"type"`
	Attributes    AndroidToIosAppMappingDetailCreateAttributes    `json:"attributes"`
	Relationships AndroidToIosAppMappingDetailCreateRelationships `json:"relationships"`
}

AndroidToIosAppMappingDetailCreateData is the data object of the AndroidToIosAppMappingDetailCreateRequest schema.

type AndroidToIosAppMappingDetailCreateRelationships

type AndroidToIosAppMappingDetailCreateRelationships struct {
	App Relationship `json:"app"`
}

AndroidToIosAppMappingDetailCreateRelationships describes relationships for creating a mapping.

type AndroidToIosAppMappingDetailCreateRequest

type AndroidToIosAppMappingDetailCreateRequest struct {
	Data AndroidToIosAppMappingDetailCreateData `json:"data"`
}

AndroidToIosAppMappingDetailCreateRequest is the AndroidToIosAppMappingDetailCreateRequest schema.

type AndroidToIosAppMappingDetailResponse

type AndroidToIosAppMappingDetailResponse = SingleResponse[AndroidToIosAppMappingDetailAttributes]

AndroidToIosAppMappingDetailResponse is the AndroidToIosAppMappingDetailResponse schema.

type AndroidToIosAppMappingDetailUpdateAttributes

type AndroidToIosAppMappingDetailUpdateAttributes struct {
	PackageName                                      *NullableString      `json:"packageName,omitempty"`
	AppSigningKeyPublicCertificateSHA256Fingerprints *NullableStringSlice `json:"appSigningKeyPublicCertificateSha256Fingerprints,omitempty"`
}

AndroidToIosAppMappingDetailUpdateAttributes describes attributes for updating a mapping.

type AndroidToIosAppMappingDetailUpdateData

type AndroidToIosAppMappingDetailUpdateData struct {
	Type       ResourceType                                  `json:"type"`
	ID         string                                        `json:"id"`
	Attributes *AndroidToIosAppMappingDetailUpdateAttributes `json:"attributes,omitempty"`
}

AndroidToIosAppMappingDetailUpdateData is the data object of the AndroidToIosAppMappingDetailUpdateRequest schema.

type AndroidToIosAppMappingDetailUpdateRequest

type AndroidToIosAppMappingDetailUpdateRequest struct {
	Data AndroidToIosAppMappingDetailUpdateData `json:"data"`
}

AndroidToIosAppMappingDetailUpdateRequest is the AndroidToIosAppMappingDetailUpdateRequest schema.

type AndroidToIosAppMappingDetailsOption

type AndroidToIosAppMappingDetailsOption func(*androidToIosAppMappingDetailsQuery)

AndroidToIosAppMappingDetailsOption sets the query of GET /v1/apps/{id}/androidToIosAppMappingDetails (apps_androidToIosAppMappingDetails_getToManyRelated) and GET /v1/androidToIosAppMappingDetails/{id} (androidToIosAppMappingDetails_getInstance).

func WithAndroidToIosAppMappingDetailsFields

func WithAndroidToIosAppMappingDetailsFields(fields []string) AndroidToIosAppMappingDetailsOption

WithAndroidToIosAppMappingDetailsFields sets fields[androidToIosAppMappingDetails].

type AndroidToIosAppMappingDetailsResponse

type AndroidToIosAppMappingDetailsResponse = Response[AndroidToIosAppMappingDetailAttributes]

AndroidToIosAppMappingDetailsResponse is the response from the mapping list endpoint.

type AppAppTagsLinkagesResponse

type AppAppTagsLinkagesResponse = LinkagesResponse

AppAppTagsLinkagesResponse is the response from app app tag linkages endpoints.

type AppAttributes

type AppAttributes struct {
	Name                                   string                        `json:"name"`
	BundleID                               string                        `json:"bundleId"`
	SKU                                    string                        `json:"sku"`
	PrimaryLocale                          string                        `json:"primaryLocale,omitempty"`
	ContentRightsDeclaration               *ContentRightsDeclaration     `json:"contentRightsDeclaration,omitempty"`
	AccessibilityURL                       *string                       `json:"accessibilityUrl,omitempty"`
	SubscriptionStatusURL                  *string                       `json:"subscriptionStatusUrl,omitempty"`
	SubscriptionStatusURLVersion           *SubscriptionStatusURLVersion `json:"subscriptionStatusUrlVersion,omitempty"`
	SubscriptionStatusURLForSandbox        *string                       `json:"subscriptionStatusUrlForSandbox,omitempty"`
	SubscriptionStatusURLVersionForSandbox *SubscriptionStatusURLVersion `json:"subscriptionStatusUrlVersionForSandbox,omitempty"`
	// contains filtered or unexported fields
}

AppAttributes describes an app resource.

func (AppAttributes) MarshalJSON

func (a AppAttributes) MarshalJSON() ([]byte, error)

MarshalJSON preserves absent, null, and unknown API attributes while retaining caller edits and the existing shape of directly constructed AppAttributes.

func (*AppAttributes) UnmarshalJSON

func (a *AppAttributes) UnmarshalJSON(data []byte) error

UnmarshalJSON keeps the original attribute shape for sparse app responses.

type AppAvailabilityV2Attributes

type AppAvailabilityV2Attributes struct {
	AvailableInNewTerritories bool `json:"availableInNewTerritories"`
}

AppAvailabilityV2Attributes describes app availability metadata.

type AppAvailabilityV2CreateAttributes

type AppAvailabilityV2CreateAttributes struct {
	AvailableInNewTerritories *bool                         `json:"availableInNewTerritories,omitempty"`
	TerritoryAvailabilityIDs  []string                      `json:"-"`
	TerritoryAvailabilities   []TerritoryAvailabilityCreate `json:"-"`
}

AppAvailabilityV2CreateAttributes defines inputs for POST /v2/appAvailabilities.

type AppAvailabilityV2CreateData

type AppAvailabilityV2CreateData struct {
	Type          ResourceType                         `json:"type"`
	Attributes    *AppAvailabilityV2CreateAttributes   `json:"attributes,omitempty"`
	Relationships AppAvailabilityV2CreateRelationships `json:"relationships"`
}

AppAvailabilityV2CreateData is the data portion of availability create.

type AppAvailabilityV2CreateRelationships

type AppAvailabilityV2CreateRelationships struct {
	App                     Relationship      `json:"app"`
	TerritoryAvailabilities *RelationshipList `json:"territoryAvailabilities,omitempty"`
}

AppAvailabilityV2CreateRelationships describes availability relationships.

type AppAvailabilityV2CreateRequest

type AppAvailabilityV2CreateRequest struct {
	Data     AppAvailabilityV2CreateData         `json:"data"`
	Included []AppAvailabilityV2IncludedResource `json:"included,omitempty"`
}

AppAvailabilityV2CreateRequest is the payload for POST /v2/appAvailabilities.

type AppAvailabilityV2IncludedResource

type AppAvailabilityV2IncludedResource struct {
	Type          ResourceType                           `json:"type"`
	ID            string                                 `json:"id,omitempty"`
	Attributes    *TerritoryAvailabilityCreateAttributes `json:"attributes,omitempty"`
	Relationships *TerritoryAvailabilityRelationships    `json:"relationships,omitempty"`
}

AppAvailabilityV2IncludedResource represents an included resource used by availability create. It supports both inline territory availability IDs and full inline territory availability objects.

type AppAvailabilityV2Response

type AppAvailabilityV2Response = SingleResponse[AppAvailabilityV2Attributes]

Response types

type AppBetaAppLocalizationsOption

type AppBetaAppLocalizationsOption func(*listQuery)

AppBetaAppLocalizationsOption is a functional option for GetAppBetaAppLocalizations.

type AppBetaTestersUpdateResult

type AppBetaTestersUpdateResult struct {
	AppID     string   `json:"appId"`
	TesterIDs []string `json:"testerIds"`
	Action    string   `json:"action"`
}

AppBetaTestersUpdateResult represents CLI output for app beta tester updates.

type AppCategoriesOption

type AppCategoriesOption func(*appCategoriesQuery)

AppCategoriesOption configures app categories queries.

func WithAppCategoriesLimit

func WithAppCategoriesLimit(limit int) AppCategoriesOption

WithAppCategoriesLimit sets the limit for app categories queries.

type AppCategoriesResponse

type AppCategoriesResponse struct {
	Data  []AppCategory `json:"data"`
	Links Links         `json:"links"`
}

AppCategoriesResponse is the response from app categories endpoint.

func (*AppCategoriesResponse) GetData

func (r *AppCategoriesResponse) GetData() any

GetData returns the data field for aggregation.

func (r *AppCategoriesResponse) GetLinks() *Links

GetLinks returns the links field for pagination.

type AppCategory

type AppCategory struct {
	Type       ResourceType          `json:"type"`
	ID         string                `json:"id"`
	Attributes AppCategoryAttributes `json:"attributes"`
}

AppCategory represents an app category resource.

type AppCategoryAttributes

type AppCategoryAttributes struct {
	Platforms []Platform `json:"platforms,omitempty"`
}

AppCategoryAttributes is the attributes object of the AppCategory schema.

type AppCategoryResponse

type AppCategoryResponse struct {
	Data  AppCategory `json:"data"`
	Links Links       `json:"links"`
}

AppCategoryResponse is the response from app category detail endpoints.

type AppClipAction

type AppClipAction string

AppClipAction represents App Clip experience actions.

const (
	AppClipActionOpen AppClipAction = "OPEN"
	AppClipActionView AppClipAction = "VIEW"
	AppClipActionPlay AppClipAction = "PLAY"
)

type AppClipAdvancedExperienceAttributes

type AppClipAdvancedExperienceAttributes struct {
	Link string `json:"link,omitempty"`
	// Apple defines version as an integer; retain string responses and exact JSON values too.
	Version          json.RawMessage                           `json:"version,omitempty"`
	Status           string                                    `json:"status,omitempty"`
	Action           AppClipAction                             `json:"action,omitempty"`
	IsPoweredBy      bool                                      `json:"isPoweredBy,omitempty"`
	Place            json.RawMessage                           `json:"place,omitempty"`
	PlaceStatus      string                                    `json:"placeStatus,omitempty"`
	BusinessCategory AppClipAdvancedExperienceBusinessCategory `json:"businessCategory,omitempty"`
	DefaultLanguage  AppClipAdvancedExperienceLanguage         `json:"defaultLanguage,omitempty"`
}

AppClipAdvancedExperienceAttributes describes advanced experience attributes.

type AppClipAdvancedExperienceBusinessCategory

type AppClipAdvancedExperienceBusinessCategory string

AppClipAdvancedExperienceBusinessCategory represents business category values.

const (
	AppClipAdvancedExperienceBusinessCategoryAutomotive           AppClipAdvancedExperienceBusinessCategory = "AUTOMOTIVE"
	AppClipAdvancedExperienceBusinessCategoryBeauty               AppClipAdvancedExperienceBusinessCategory = "BEAUTY"
	AppClipAdvancedExperienceBusinessCategoryBikes                AppClipAdvancedExperienceBusinessCategory = "BIKES"
	AppClipAdvancedExperienceBusinessCategoryBooks                AppClipAdvancedExperienceBusinessCategory = "BOOKS"
	AppClipAdvancedExperienceBusinessCategoryCasino               AppClipAdvancedExperienceBusinessCategory = "CASINO"
	AppClipAdvancedExperienceBusinessCategoryEducation            AppClipAdvancedExperienceBusinessCategory = "EDUCATION"
	AppClipAdvancedExperienceBusinessCategoryEducationJapan       AppClipAdvancedExperienceBusinessCategory = "EDUCATION_JAPAN"
	AppClipAdvancedExperienceBusinessCategoryEntertainment        AppClipAdvancedExperienceBusinessCategory = "ENTERTAINMENT"
	AppClipAdvancedExperienceBusinessCategoryEVCharger            AppClipAdvancedExperienceBusinessCategory = "EV_CHARGER"
	AppClipAdvancedExperienceBusinessCategoryFinancialUSD         AppClipAdvancedExperienceBusinessCategory = "FINANCIAL_USD"
	AppClipAdvancedExperienceBusinessCategoryFinancialCNY         AppClipAdvancedExperienceBusinessCategory = "FINANCIAL_CNY"
	AppClipAdvancedExperienceBusinessCategoryFinancialGBP         AppClipAdvancedExperienceBusinessCategory = "FINANCIAL_GBP"
	AppClipAdvancedExperienceBusinessCategoryFinancialJPY         AppClipAdvancedExperienceBusinessCategory = "FINANCIAL_JPY"
	AppClipAdvancedExperienceBusinessCategoryFinancialEUR         AppClipAdvancedExperienceBusinessCategory = "FINANCIAL_EUR"
	AppClipAdvancedExperienceBusinessCategoryFitness              AppClipAdvancedExperienceBusinessCategory = "FITNESS"
	AppClipAdvancedExperienceBusinessCategoryFoodAndDrink         AppClipAdvancedExperienceBusinessCategory = "FOOD_AND_DRINK"
	AppClipAdvancedExperienceBusinessCategoryGas                  AppClipAdvancedExperienceBusinessCategory = "GAS"
	AppClipAdvancedExperienceBusinessCategoryGrocery              AppClipAdvancedExperienceBusinessCategory = "GROCERY"
	AppClipAdvancedExperienceBusinessCategoryHealthAndMedical     AppClipAdvancedExperienceBusinessCategory = "HEALTH_AND_MEDICAL"
	AppClipAdvancedExperienceBusinessCategoryHotelAndTravel       AppClipAdvancedExperienceBusinessCategory = "HOTEL_AND_TRAVEL"
	AppClipAdvancedExperienceBusinessCategoryMusic                AppClipAdvancedExperienceBusinessCategory = "MUSIC"
	AppClipAdvancedExperienceBusinessCategoryParking              AppClipAdvancedExperienceBusinessCategory = "PARKING"
	AppClipAdvancedExperienceBusinessCategoryPetServices          AppClipAdvancedExperienceBusinessCategory = "PET_SERVICES"
	AppClipAdvancedExperienceBusinessCategoryProfessionalServices AppClipAdvancedExperienceBusinessCategory = "PROFESSIONAL_SERVICES"
	AppClipAdvancedExperienceBusinessCategoryShopping             AppClipAdvancedExperienceBusinessCategory = "SHOPPING"
	AppClipAdvancedExperienceBusinessCategoryTicketing            AppClipAdvancedExperienceBusinessCategory = "TICKETING"
	AppClipAdvancedExperienceBusinessCategoryTransit              AppClipAdvancedExperienceBusinessCategory = "TRANSIT"
)

type AppClipAdvancedExperienceCreateAttributes

type AppClipAdvancedExperienceCreateAttributes struct {
	Link             string                                     `json:"link"`
	DefaultLanguage  AppClipAdvancedExperienceLanguage          `json:"defaultLanguage"`
	IsPoweredBy      bool                                       `json:"isPoweredBy"`
	Action           *AppClipAction                             `json:"action,omitempty"`
	BusinessCategory *AppClipAdvancedExperienceBusinessCategory `json:"businessCategory,omitempty"`
	Place            json.RawMessage                            `json:"place,omitempty"`
}

AppClipAdvancedExperienceCreateAttributes describes advanced experience create attributes.

type AppClipAdvancedExperienceCreateData

type AppClipAdvancedExperienceCreateData struct {
	Type          ResourceType                                 `json:"type"`
	Attributes    AppClipAdvancedExperienceCreateAttributes    `json:"attributes"`
	Relationships AppClipAdvancedExperienceCreateRelationships `json:"relationships"`
}

AppClipAdvancedExperienceCreateData is the data object of the AppClipAdvancedExperienceCreateRequest schema.

type AppClipAdvancedExperienceCreateRelationships added in v1.260810.0

type AppClipAdvancedExperienceCreateRelationships struct {
	AppClip       Relationship     `json:"appClip"`
	HeaderImage   Relationship     `json:"headerImage"`
	Localizations RelationshipList `json:"localizations"`
}

AppClipAdvancedExperienceCreateRelationships is the data.relationships object of the AppClipAdvancedExperienceCreateRequest schema.

type AppClipAdvancedExperienceCreateRequest

type AppClipAdvancedExperienceCreateRequest struct {
	Data     AppClipAdvancedExperienceCreateData                 `json:"data"`
	Included []AppClipAdvancedExperienceLocalizationInlineCreate `json:"included,omitempty"`
}

AppClipAdvancedExperienceCreateRequest is the create request payload.

type AppClipAdvancedExperienceImageAttributes

type AppClipAdvancedExperienceImageAttributes struct {
	FileSize           int64               `json:"fileSize,omitempty"`
	FileName           string              `json:"fileName,omitempty"`
	SourceFileChecksum string              `json:"sourceFileChecksum,omitempty"`
	ImageAsset         *ImageAsset         `json:"imageAsset,omitempty"`
	UploadOperations   []UploadOperation   `json:"uploadOperations,omitempty"`
	AssetDeliveryState *AssetDeliveryState `json:"assetDeliveryState,omitempty"`
}

AppClipAdvancedExperienceImageAttributes describes advanced experience image attributes.

type AppClipAdvancedExperienceImageCreateAttributes

type AppClipAdvancedExperienceImageCreateAttributes struct {
	FileSize int64  `json:"fileSize"`
	FileName string `json:"fileName"`
}

AppClipAdvancedExperienceImageCreateAttributes describes image create attributes.

type AppClipAdvancedExperienceImageCreateData

type AppClipAdvancedExperienceImageCreateData struct {
	Type       ResourceType                                   `json:"type"`
	Attributes AppClipAdvancedExperienceImageCreateAttributes `json:"attributes"`
}

AppClipAdvancedExperienceImageCreateData is the data object of the AppClipAdvancedExperienceImageCreateRequest schema.

type AppClipAdvancedExperienceImageCreateRequest

type AppClipAdvancedExperienceImageCreateRequest struct {
	Data AppClipAdvancedExperienceImageCreateData `json:"data"`
}

AppClipAdvancedExperienceImageCreateRequest is the AppClipAdvancedExperienceImageCreateRequest schema.

type AppClipAdvancedExperienceImageResponse

type AppClipAdvancedExperienceImageResponse = SingleResponse[AppClipAdvancedExperienceImageAttributes]

Response aliases.

type AppClipAdvancedExperienceImageUpdateAttributes

type AppClipAdvancedExperienceImageUpdateAttributes struct {
	SourceFileChecksum *string `json:"sourceFileChecksum,omitempty"`
	Uploaded           *bool   `json:"uploaded,omitempty"`
}

AppClipAdvancedExperienceImageUpdateAttributes is the data.attributes object of the AppClipAdvancedExperienceImageUpdateRequest schema.

type AppClipAdvancedExperienceImageUpdateData

type AppClipAdvancedExperienceImageUpdateData struct {
	Type       ResourceType                                    `json:"type"`
	ID         string                                          `json:"id"`
	Attributes *AppClipAdvancedExperienceImageUpdateAttributes `json:"attributes,omitempty"`
}

AppClipAdvancedExperienceImageUpdateData is the data object of the AppClipAdvancedExperienceImageUpdateRequest schema.

type AppClipAdvancedExperienceImageUpdateRequest

type AppClipAdvancedExperienceImageUpdateRequest struct {
	Data AppClipAdvancedExperienceImageUpdateData `json:"data"`
}

AppClipAdvancedExperienceImageUpdateRequest is the AppClipAdvancedExperienceImageUpdateRequest schema.

type AppClipAdvancedExperienceImageUploadResult

type AppClipAdvancedExperienceImageUploadResult struct {
	ID                 string `json:"id"`
	ExperienceID       string `json:"experienceId,omitempty"`
	FileName           string `json:"fileName"`
	FileSize           int64  `json:"fileSize"`
	AssetDeliveryState string `json:"assetDeliveryState,omitempty"`
	Uploaded           bool   `json:"uploaded"`
}

AppClipAdvancedExperienceImageUploadResult represents upload results.

type AppClipAdvancedExperienceLanguage

type AppClipAdvancedExperienceLanguage string

AppClipAdvancedExperienceLanguage represents default language values.

const (
	AppClipAdvancedExperienceLanguageAR AppClipAdvancedExperienceLanguage = "AR"
	AppClipAdvancedExperienceLanguageCA AppClipAdvancedExperienceLanguage = "CA"
	AppClipAdvancedExperienceLanguageCS AppClipAdvancedExperienceLanguage = "CS"
	AppClipAdvancedExperienceLanguageDA AppClipAdvancedExperienceLanguage = "DA"
	AppClipAdvancedExperienceLanguageDE AppClipAdvancedExperienceLanguage = "DE"
	AppClipAdvancedExperienceLanguageEL AppClipAdvancedExperienceLanguage = "EL"
	AppClipAdvancedExperienceLanguageEN AppClipAdvancedExperienceLanguage = "EN"
	AppClipAdvancedExperienceLanguageES AppClipAdvancedExperienceLanguage = "ES"
	AppClipAdvancedExperienceLanguageFI AppClipAdvancedExperienceLanguage = "FI"
	AppClipAdvancedExperienceLanguageFR AppClipAdvancedExperienceLanguage = "FR"
	AppClipAdvancedExperienceLanguageHE AppClipAdvancedExperienceLanguage = "HE"
	AppClipAdvancedExperienceLanguageHI AppClipAdvancedExperienceLanguage = "HI"
	AppClipAdvancedExperienceLanguageHR AppClipAdvancedExperienceLanguage = "HR"
	AppClipAdvancedExperienceLanguageHU AppClipAdvancedExperienceLanguage = "HU"
	AppClipAdvancedExperienceLanguageID AppClipAdvancedExperienceLanguage = "ID"
	AppClipAdvancedExperienceLanguageIT AppClipAdvancedExperienceLanguage = "IT"
	AppClipAdvancedExperienceLanguageJA AppClipAdvancedExperienceLanguage = "JA"
	AppClipAdvancedExperienceLanguageKO AppClipAdvancedExperienceLanguage = "KO"
	AppClipAdvancedExperienceLanguageMS AppClipAdvancedExperienceLanguage = "MS"
	AppClipAdvancedExperienceLanguageNL AppClipAdvancedExperienceLanguage = "NL"
	AppClipAdvancedExperienceLanguageNO AppClipAdvancedExperienceLanguage = "NO"
	AppClipAdvancedExperienceLanguagePL AppClipAdvancedExperienceLanguage = "PL"
	AppClipAdvancedExperienceLanguagePT AppClipAdvancedExperienceLanguage = "PT"
	AppClipAdvancedExperienceLanguageRO AppClipAdvancedExperienceLanguage = "RO"
	AppClipAdvancedExperienceLanguageRU AppClipAdvancedExperienceLanguage = "RU"
	AppClipAdvancedExperienceLanguageSK AppClipAdvancedExperienceLanguage = "SK"
	AppClipAdvancedExperienceLanguageSV AppClipAdvancedExperienceLanguage = "SV"
	AppClipAdvancedExperienceLanguageTH AppClipAdvancedExperienceLanguage = "TH"
	AppClipAdvancedExperienceLanguageTR AppClipAdvancedExperienceLanguage = "TR"
	AppClipAdvancedExperienceLanguageUK AppClipAdvancedExperienceLanguage = "UK"
	AppClipAdvancedExperienceLanguageVI AppClipAdvancedExperienceLanguage = "VI"
	AppClipAdvancedExperienceLanguageZH AppClipAdvancedExperienceLanguage = "ZH"
)

type AppClipAdvancedExperienceLocalizationCreateAttributes added in v1.260810.0

type AppClipAdvancedExperienceLocalizationCreateAttributes struct {
	Language AppClipAdvancedExperienceLanguage `json:"language"`
	Title    string                            `json:"title"`
	Subtitle string                            `json:"subtitle,omitempty"`
}

AppClipAdvancedExperienceLocalizationCreateAttributes describes inline localization attributes.

type AppClipAdvancedExperienceLocalizationInlineCreate added in v1.260810.0

type AppClipAdvancedExperienceLocalizationInlineCreate struct {
	Type       ResourceType                                          `json:"type"`
	ID         string                                                `json:"id,omitempty"`
	Attributes AppClipAdvancedExperienceLocalizationCreateAttributes `json:"attributes"`
}

AppClipAdvancedExperienceLocalizationInlineCreate describes an inline localization resource.

type AppClipAdvancedExperienceRelationships

type AppClipAdvancedExperienceRelationships struct {
	AppClip       *Relationship     `json:"appClip,omitempty"`
	HeaderImage   *Relationship     `json:"headerImage,omitempty"`
	Localizations *RelationshipList `json:"localizations,omitempty"`
}

AppClipAdvancedExperienceRelationships is the data.relationships object of the AppClipAdvancedExperienceUpdateRequest schema.

type AppClipAdvancedExperienceRemoveResult added in v1.260810.0

type AppClipAdvancedExperienceRemoveResult struct {
	ID      string `json:"id"`
	Removed bool   `json:"removed"`
}

AppClipAdvancedExperienceRemoveResult represents advanced experience removal.

type AppClipAdvancedExperienceResponse

type AppClipAdvancedExperienceResponse = SingleResponse[AppClipAdvancedExperienceAttributes]

Response aliases.

type AppClipAdvancedExperienceUpdateAttributes

type AppClipAdvancedExperienceUpdateAttributes struct {
	Action           *AppClipAction                             `json:"action,omitempty"`
	IsPoweredBy      *bool                                      `json:"isPoweredBy,omitempty"`
	Place            json.RawMessage                            `json:"place,omitempty"`
	BusinessCategory *AppClipAdvancedExperienceBusinessCategory `json:"businessCategory,omitempty"`
	DefaultLanguage  *AppClipAdvancedExperienceLanguage         `json:"defaultLanguage,omitempty"`
	Removed          *bool                                      `json:"removed,omitempty"`
}

AppClipAdvancedExperienceUpdateAttributes describes advanced experience update attributes.

type AppClipAdvancedExperienceUpdateData

type AppClipAdvancedExperienceUpdateData struct {
	Type          ResourceType                               `json:"type"`
	ID            string                                     `json:"id"`
	Attributes    *AppClipAdvancedExperienceUpdateAttributes `json:"attributes,omitempty"`
	Relationships *AppClipAdvancedExperienceRelationships    `json:"relationships,omitempty"`
}

AppClipAdvancedExperienceUpdateData is the data object of the AppClipAdvancedExperienceUpdateRequest schema.

type AppClipAdvancedExperienceUpdateRequest

type AppClipAdvancedExperienceUpdateRequest struct {
	Data AppClipAdvancedExperienceUpdateData `json:"data"`
}

AppClipAdvancedExperienceUpdateRequest is the AppClipAdvancedExperienceUpdateRequest schema.

type AppClipAdvancedExperiencesLinkagesResponse

type AppClipAdvancedExperiencesLinkagesResponse = LinkagesResponse

Response aliases.

type AppClipAdvancedExperiencesOption

type AppClipAdvancedExperiencesOption func(*appClipAdvancedExperiencesQuery)

AppClipAdvancedExperiencesOption sets the query of GET /v1/appClips/{id}/appClipAdvancedExperiences (appClips_appClipAdvancedExperiences_getToManyRelated).

func WithAppClipAdvancedExperiencesActions

func WithAppClipAdvancedExperiencesActions(actions []string) AppClipAdvancedExperiencesOption

WithAppClipAdvancedExperiencesActions sets filter[action].

func WithAppClipAdvancedExperiencesPlaceStatuses

func WithAppClipAdvancedExperiencesPlaceStatuses(placeStatuses []string) AppClipAdvancedExperiencesOption

WithAppClipAdvancedExperiencesPlaceStatuses sets filter[placeStatus].

func WithAppClipAdvancedExperiencesStatuses

func WithAppClipAdvancedExperiencesStatuses(statuses []string) AppClipAdvancedExperiencesOption

WithAppClipAdvancedExperiencesStatuses sets filter[status].

type AppClipAdvancedExperiencesResponse

type AppClipAdvancedExperiencesResponse = Response[AppClipAdvancedExperienceAttributes]

Response aliases.

type AppClipAppStoreReviewDetailAttributes

type AppClipAppStoreReviewDetailAttributes struct {
	InvocationURLs []string `json:"invocationUrls,omitempty"`
}

AppClipAppStoreReviewDetailAttributes is the attributes object of the AppClipAppStoreReviewDetail schema.

type AppClipAppStoreReviewDetailCreateAttributes

type AppClipAppStoreReviewDetailCreateAttributes struct {
	InvocationURLs []string `json:"invocationUrls,omitempty"`
}

AppClipAppStoreReviewDetailCreateAttributes is the data.attributes object of the AppClipAppStoreReviewDetailCreateRequest schema.

type AppClipAppStoreReviewDetailCreateData

type AppClipAppStoreReviewDetailCreateData struct {
	Type          ResourceType                                 `json:"type"`
	Attributes    *AppClipAppStoreReviewDetailCreateAttributes `json:"attributes,omitempty"`
	Relationships *AppClipAppStoreReviewDetailRelationships    `json:"relationships"`
}

AppClipAppStoreReviewDetailCreateData is the data object of the AppClipAppStoreReviewDetailCreateRequest schema.

type AppClipAppStoreReviewDetailCreateRequest

type AppClipAppStoreReviewDetailCreateRequest struct {
	Data AppClipAppStoreReviewDetailCreateData `json:"data"`
}

AppClipAppStoreReviewDetailCreateRequest is the AppClipAppStoreReviewDetailCreateRequest schema.

type AppClipAppStoreReviewDetailRelationships

type AppClipAppStoreReviewDetailRelationships struct {
	AppClipDefaultExperience *Relationship `json:"appClipDefaultExperience,omitempty"`
}

AppClipAppStoreReviewDetailRelationships describes review detail relationships.

type AppClipAppStoreReviewDetailResponse

type AppClipAppStoreReviewDetailResponse = SingleResponse[AppClipAppStoreReviewDetailAttributes]

Response aliases.

type AppClipAppStoreReviewDetailUpdateAttributes

type AppClipAppStoreReviewDetailUpdateAttributes struct {
	InvocationURLs []string `json:"invocationUrls,omitempty"`
}

AppClipAppStoreReviewDetailUpdateAttributes is the data.attributes object of the AppClipAppStoreReviewDetailUpdateRequest schema.

type AppClipAppStoreReviewDetailUpdateData

type AppClipAppStoreReviewDetailUpdateData struct {
	Type       ResourceType                                 `json:"type"`
	ID         string                                       `json:"id"`
	Attributes *AppClipAppStoreReviewDetailUpdateAttributes `json:"attributes,omitempty"`
}

AppClipAppStoreReviewDetailUpdateData is the data object of the AppClipAppStoreReviewDetailUpdateRequest schema.

type AppClipAppStoreReviewDetailUpdateRequest

type AppClipAppStoreReviewDetailUpdateRequest struct {
	Data AppClipAppStoreReviewDetailUpdateData `json:"data"`
}

AppClipAppStoreReviewDetailUpdateRequest is the AppClipAppStoreReviewDetailUpdateRequest schema.

type AppClipAttributes

type AppClipAttributes struct {
	BundleID string `json:"bundleId,omitempty"`
}

AppClipAttributes is the attributes object of the AppClip schema.

type AppClipDefaultExperienceAppClipAppStoreReviewDetailLinkageResponse

type AppClipDefaultExperienceAppClipAppStoreReviewDetailLinkageResponse struct {
	Data  ResourceData `json:"data"`
	Links Links        `json:"links"`
}

AppClipDefaultExperienceAppClipAppStoreReviewDetailLinkageResponse is the response for review detail relationships.

type AppClipDefaultExperienceAttributes

type AppClipDefaultExperienceAttributes struct {
	Action AppClipAction `json:"action,omitempty"`
}

AppClipDefaultExperienceAttributes is the attributes object of the AppClipDefaultExperience schema.

type AppClipDefaultExperienceCreateAttributes

type AppClipDefaultExperienceCreateAttributes struct {
	Action *AppClipAction `json:"action,omitempty"`
}

AppClipDefaultExperienceCreateAttributes is the data.attributes object of the AppClipDefaultExperienceCreateRequest schema.

type AppClipDefaultExperienceCreateData

type AppClipDefaultExperienceCreateData struct {
	Type          ResourceType                                 `json:"type"`
	Attributes    *AppClipDefaultExperienceCreateAttributes    `json:"attributes,omitempty"`
	Relationships *AppClipDefaultExperienceCreateRelationships `json:"relationships"`
}

AppClipDefaultExperienceCreateData is the data object of the AppClipDefaultExperienceCreateRequest schema.

type AppClipDefaultExperienceCreateRelationships

type AppClipDefaultExperienceCreateRelationships struct {
	AppClip                          *Relationship `json:"appClip"`
	ReleaseWithAppStoreVersion       *Relationship `json:"releaseWithAppStoreVersion,omitempty"`
	AppClipDefaultExperienceTemplate *Relationship `json:"appClipDefaultExperienceTemplate,omitempty"`
}

AppClipDefaultExperienceCreateRelationships is the data.relationships object of the AppClipDefaultExperienceCreateRequest schema.

type AppClipDefaultExperienceCreateRequest

type AppClipDefaultExperienceCreateRequest struct {
	Data AppClipDefaultExperienceCreateData `json:"data"`
}

AppClipDefaultExperienceCreateRequest is the AppClipDefaultExperienceCreateRequest schema.

type AppClipDefaultExperienceLocalizationAppClipHeaderImageLinkageResponse

type AppClipDefaultExperienceLocalizationAppClipHeaderImageLinkageResponse struct {
	Data  ResourceData `json:"data"`
	Links Links        `json:"links"`
}

AppClipDefaultExperienceLocalizationAppClipHeaderImageLinkageResponse is the response for header image relationships.

type AppClipDefaultExperienceLocalizationAttributes

type AppClipDefaultExperienceLocalizationAttributes struct {
	Locale   string `json:"locale,omitempty"`
	Subtitle string `json:"subtitle,omitempty"`
}

AppClipDefaultExperienceLocalizationAttributes is the attributes object of the AppClipDefaultExperienceLocalization schema.

type AppClipDefaultExperienceLocalizationCreateAttributes

type AppClipDefaultExperienceLocalizationCreateAttributes struct {
	Locale   string  `json:"locale"`
	Subtitle *string `json:"subtitle,omitempty"`
}

AppClipDefaultExperienceLocalizationCreateAttributes is the data.attributes object of the AppClipDefaultExperienceLocalizationCreateRequest schema.

type AppClipDefaultExperienceLocalizationCreateData

type AppClipDefaultExperienceLocalizationCreateData struct {
	Type          ResourceType                                         `json:"type"`
	Attributes    AppClipDefaultExperienceLocalizationCreateAttributes `json:"attributes"`
	Relationships *AppClipDefaultExperienceLocalizationRelationships   `json:"relationships"`
}

AppClipDefaultExperienceLocalizationCreateData is the data object of the AppClipDefaultExperienceLocalizationCreateRequest schema.

type AppClipDefaultExperienceLocalizationCreateRequest

type AppClipDefaultExperienceLocalizationCreateRequest struct {
	Data AppClipDefaultExperienceLocalizationCreateData `json:"data"`
}

AppClipDefaultExperienceLocalizationCreateRequest is the AppClipDefaultExperienceLocalizationCreateRequest schema.

type AppClipDefaultExperienceLocalizationRelationships

type AppClipDefaultExperienceLocalizationRelationships struct {
	AppClipDefaultExperience *Relationship `json:"appClipDefaultExperience,omitempty"`
	AppClipHeaderImage       *Relationship `json:"appClipHeaderImage,omitempty"`
}

AppClipDefaultExperienceLocalizationRelationships describes localization relationships.

type AppClipDefaultExperienceLocalizationResponse

type AppClipDefaultExperienceLocalizationResponse = SingleResponse[AppClipDefaultExperienceLocalizationAttributes]

Response aliases.

type AppClipDefaultExperienceLocalizationUpdateAttributes

type AppClipDefaultExperienceLocalizationUpdateAttributes struct {
	Subtitle *string `json:"subtitle,omitempty"`
}

AppClipDefaultExperienceLocalizationUpdateAttributes is the data.attributes object of the AppClipDefaultExperienceLocalizationUpdateRequest schema.

type AppClipDefaultExperienceLocalizationUpdateData

type AppClipDefaultExperienceLocalizationUpdateData struct {
	Type       ResourceType                                          `json:"type"`
	ID         string                                                `json:"id"`
	Attributes *AppClipDefaultExperienceLocalizationUpdateAttributes `json:"attributes,omitempty"`
}

AppClipDefaultExperienceLocalizationUpdateData is the data object of the AppClipDefaultExperienceLocalizationUpdateRequest schema.

type AppClipDefaultExperienceLocalizationUpdateRequest

type AppClipDefaultExperienceLocalizationUpdateRequest struct {
	Data AppClipDefaultExperienceLocalizationUpdateData `json:"data"`
}

AppClipDefaultExperienceLocalizationUpdateRequest is the AppClipDefaultExperienceLocalizationUpdateRequest schema.

type AppClipDefaultExperienceLocalizationsOption

type AppClipDefaultExperienceLocalizationsOption func(*appClipDefaultExperienceLocalizationsQuery)

AppClipDefaultExperienceLocalizationsOption sets the query of GET /v1/appClipDefaultExperiences/{id}/appClipDefaultExperienceLocalizations (appClipDefaultExperiences_appClipDefaultExperienceLocalizations_getToManyRelated).

func WithAppClipDefaultExperienceLocalizationsLocales

func WithAppClipDefaultExperienceLocalizationsLocales(locales []string) AppClipDefaultExperienceLocalizationsOption

WithAppClipDefaultExperienceLocalizationsLocales sets filter[locale].

type AppClipDefaultExperienceLocalizationsResponse

type AppClipDefaultExperienceLocalizationsResponse = Response[AppClipDefaultExperienceLocalizationAttributes]

Response aliases.

type AppClipDefaultExperienceOption

type AppClipDefaultExperienceOption func(*appClipDefaultExperienceQuery)

AppClipDefaultExperienceOption is a functional option for GetAppClipDefaultExperience.

func WithAppClipDefaultExperienceInclude

func WithAppClipDefaultExperienceInclude(include []string) AppClipDefaultExperienceOption

WithAppClipDefaultExperienceInclude sets include for default experience detail.

type AppClipDefaultExperienceReleaseWithAppStoreVersionLinkageResponse

type AppClipDefaultExperienceReleaseWithAppStoreVersionLinkageResponse struct {
	Data  ResourceData `json:"data"`
	Links Links        `json:"links"`
}

AppClipDefaultExperienceReleaseWithAppStoreVersionLinkageResponse is the response for release relationship.

type AppClipDefaultExperienceResponse

type AppClipDefaultExperienceResponse = SingleResponse[AppClipDefaultExperienceAttributes]

Response aliases.

type AppClipDefaultExperienceUpdateAttributes

type AppClipDefaultExperienceUpdateAttributes struct {
	Action *AppClipAction `json:"action,omitempty"`
}

AppClipDefaultExperienceUpdateAttributes is the data.attributes object of the AppClipDefaultExperienceUpdateRequest schema.

type AppClipDefaultExperienceUpdateData

type AppClipDefaultExperienceUpdateData struct {
	Type          ResourceType                                 `json:"type"`
	ID            string                                       `json:"id"`
	Attributes    *AppClipDefaultExperienceUpdateAttributes    `json:"attributes,omitempty"`
	Relationships *AppClipDefaultExperienceUpdateRelationships `json:"relationships,omitempty"`
}

AppClipDefaultExperienceUpdateData is the data object of the AppClipDefaultExperienceUpdateRequest schema.

type AppClipDefaultExperienceUpdateRelationships

type AppClipDefaultExperienceUpdateRelationships struct {
	ReleaseWithAppStoreVersion *Relationship `json:"releaseWithAppStoreVersion,omitempty"`
}

AppClipDefaultExperienceUpdateRelationships is the data.relationships object of the AppClipDefaultExperienceUpdateRequest schema.

type AppClipDefaultExperienceUpdateRequest

type AppClipDefaultExperienceUpdateRequest struct {
	Data AppClipDefaultExperienceUpdateData `json:"data"`
}

AppClipDefaultExperienceUpdateRequest is the AppClipDefaultExperienceUpdateRequest schema.

type AppClipDefaultExperiencesLinkagesResponse

type AppClipDefaultExperiencesLinkagesResponse = LinkagesResponse

Response aliases.

type AppClipDefaultExperiencesOption

type AppClipDefaultExperiencesOption func(*appClipDefaultExperiencesQuery)

AppClipDefaultExperiencesOption sets the query of GET /v1/appClips/{id}/appClipDefaultExperiences (appClips_appClipDefaultExperiences_getToManyRelated).

type AppClipDefaultExperiencesResponse

type AppClipDefaultExperiencesResponse = Response[AppClipDefaultExperienceAttributes]

Response aliases.

type AppClipDomainStatusAttributes

type AppClipDomainStatusAttributes struct {
	Domains         []AppClipDomainStatusDomain `json:"domains,omitempty"`
	LastUpdatedDate *string                     `json:"lastUpdatedDate,omitempty"`
}

AppClipDomainStatusAttributes describes App Clip domain status details.

type AppClipDomainStatusDomain

type AppClipDomainStatusDomain struct {
	Domain          *string `json:"domain,omitempty"`
	IsValid         *bool   `json:"isValid,omitempty"`
	LastUpdatedDate *string `json:"lastUpdatedDate,omitempty"`
	ErrorCode       *string `json:"errorCode,omitempty"`
}

AppClipDomainStatusDomain describes a single App Clip domain entry.

type AppClipDomainStatusResponse

type AppClipDomainStatusResponse = SingleResponse[AppClipDomainStatusAttributes]

AppClipDomainStatusResponse is the response for app clip domain status endpoints.

type AppClipDomainStatusResult

type AppClipDomainStatusResult struct {
	BuildBundleID   string                      `json:"buildBundleId"`
	Available       bool                        `json:"available"`
	StatusID        string                      `json:"statusId,omitempty"`
	LastUpdatedDate *string                     `json:"lastUpdatedDate,omitempty"`
	Domains         []AppClipDomainStatusDomain `json:"domains,omitempty"`
}

AppClipDomainStatusResult represents CLI output for App Clip domain status.

func NewAppClipDomainStatusResult

func NewAppClipDomainStatusResult(buildBundleID string, resp *AppClipDomainStatusResponse) *AppClipDomainStatusResult

NewAppClipDomainStatusResult builds a CLI-friendly App Clip domain status result.

type AppClipHeaderImageAttributes

type AppClipHeaderImageAttributes struct {
	FileSize           int64               `json:"fileSize,omitempty"`
	FileName           string              `json:"fileName,omitempty"`
	SourceFileChecksum string              `json:"sourceFileChecksum,omitempty"`
	ImageAsset         *ImageAsset         `json:"imageAsset,omitempty"`
	UploadOperations   []UploadOperation   `json:"uploadOperations,omitempty"`
	AssetDeliveryState *AssetDeliveryState `json:"assetDeliveryState,omitempty"`
}

AppClipHeaderImageAttributes describes header image attributes.

type AppClipHeaderImageCreateAttributes

type AppClipHeaderImageCreateAttributes struct {
	FileSize int64  `json:"fileSize"`
	FileName string `json:"fileName"`
}

AppClipHeaderImageCreateAttributes describes header image create attributes.

type AppClipHeaderImageCreateData

type AppClipHeaderImageCreateData struct {
	Type          ResourceType                       `json:"type"`
	Attributes    AppClipHeaderImageCreateAttributes `json:"attributes"`
	Relationships *AppClipHeaderImageRelationships   `json:"relationships"`
}

AppClipHeaderImageCreateData is the data object of the AppClipHeaderImageCreateRequest schema.

type AppClipHeaderImageCreateRequest

type AppClipHeaderImageCreateRequest struct {
	Data AppClipHeaderImageCreateData `json:"data"`
}

AppClipHeaderImageCreateRequest is the AppClipHeaderImageCreateRequest schema.

type AppClipHeaderImageRelationships

type AppClipHeaderImageRelationships struct {
	AppClipDefaultExperienceLocalization *Relationship `json:"appClipDefaultExperienceLocalization,omitempty"`
}

AppClipHeaderImageRelationships describes header image relationships.

type AppClipHeaderImageResponse

type AppClipHeaderImageResponse = SingleResponse[AppClipHeaderImageAttributes]

Response aliases.

type AppClipHeaderImageUpdateAttributes

type AppClipHeaderImageUpdateAttributes struct {
	SourceFileChecksum *string `json:"sourceFileChecksum,omitempty"`
	Uploaded           *bool   `json:"uploaded,omitempty"`
}

AppClipHeaderImageUpdateAttributes is the data.attributes object of the AppClipHeaderImageUpdateRequest schema.

type AppClipHeaderImageUpdateData

type AppClipHeaderImageUpdateData struct {
	Type       ResourceType                        `json:"type"`
	ID         string                              `json:"id"`
	Attributes *AppClipHeaderImageUpdateAttributes `json:"attributes,omitempty"`
}

AppClipHeaderImageUpdateData is the data object of the AppClipHeaderImageUpdateRequest schema.

type AppClipHeaderImageUpdateRequest

type AppClipHeaderImageUpdateRequest struct {
	Data AppClipHeaderImageUpdateData `json:"data"`
}

AppClipHeaderImageUpdateRequest is the AppClipHeaderImageUpdateRequest schema.

type AppClipHeaderImageUploadResult

type AppClipHeaderImageUploadResult struct {
	ID                 string `json:"id"`
	LocalizationID     string `json:"localizationId"`
	FileName           string `json:"fileName"`
	FileSize           int64  `json:"fileSize"`
	AssetDeliveryState string `json:"assetDeliveryState,omitempty"`
	Uploaded           bool   `json:"uploaded"`
}

AppClipHeaderImageUploadResult represents header image upload results.

type AppClipResponse

type AppClipResponse = SingleResponse[AppClipAttributes]

Response aliases.

type AppClipsOption

type AppClipsOption func(*appClipsQuery)

AppClipsOption sets the query of GET /v1/apps/{id}/appClips (apps_appClips_getToManyRelated).

func WithAppClipsBundleIDs

func WithAppClipsBundleIDs(bundleIDs []string) AppClipsOption

WithAppClipsBundleIDs sets filter[bundleId].

type AppClipsResponse

type AppClipsResponse = Response[AppClipAttributes]

Response aliases.

type AppCustomProductPageAttributes

type AppCustomProductPageAttributes struct {
	Name    string `json:"name,omitempty"`
	URL     string `json:"url,omitempty"`
	Visible *bool  `json:"visible,omitempty"`
}

AppCustomProductPageAttributes describes custom product page attributes.

type AppCustomProductPageCreateAttributes

type AppCustomProductPageCreateAttributes struct {
	Name string `json:"name"`
}

AppCustomProductPageCreateAttributes is the data.attributes object of the AppCustomProductPageCreateRequest schema.

type AppCustomProductPageCreateData

type AppCustomProductPageCreateData struct {
	Type          ResourceType                             `json:"type"`
	Attributes    AppCustomProductPageCreateAttributes     `json:"attributes"`
	Relationships *AppCustomProductPageCreateRelationships `json:"relationships"`
}

AppCustomProductPageCreateData is the data object of the AppCustomProductPageCreateRequest schema.

type AppCustomProductPageCreateRelationships

type AppCustomProductPageCreateRelationships struct {
	App                          *Relationship    `json:"app"`
	AppCustomProductPageVersions RelationshipList `json:"appCustomProductPageVersions"`
	AppStoreVersionTemplate      *Relationship    `json:"appStoreVersionTemplate,omitempty"`
	CustomProductPageTemplate    *Relationship    `json:"customProductPageTemplate,omitempty"`
}

AppCustomProductPageCreateRelationships describes create relationships.

type AppCustomProductPageCreateRequest

type AppCustomProductPageCreateRequest struct {
	Data     AppCustomProductPageCreateData       `json:"data"`
	Included []AppCustomProductPageIncludedCreate `json:"included"`
}

AppCustomProductPageCreateRequest is a request to create a custom product page.

type AppCustomProductPageIncludedCreate

type AppCustomProductPageIncludedCreate struct {
	Type          ResourceType                                          `json:"type"`
	ID            string                                                `json:"id"`
	Attributes    *AppCustomProductPageLocalizationCreateAttributes     `json:"attributes,omitempty"`
	Relationships *AppCustomProductPageVersionInlineCreateRelationships `json:"relationships,omitempty"`
}

AppCustomProductPageIncludedCreate is an inline custom product page version or localization.

type AppCustomProductPageLocalizationAttributes

type AppCustomProductPageLocalizationAttributes struct {
	Locale          string `json:"locale,omitempty"`
	PromotionalText string `json:"promotionalText,omitempty"`
}

AppCustomProductPageLocalizationAttributes is the attributes object of the AppCustomProductPageLocalization schema.

type AppCustomProductPageLocalizationCreateAttributes

type AppCustomProductPageLocalizationCreateAttributes struct {
	Locale          string `json:"locale"`
	PromotionalText string `json:"promotionalText,omitempty"`
}

AppCustomProductPageLocalizationCreateAttributes describes create payload attributes.

type AppCustomProductPageLocalizationCreateData

type AppCustomProductPageLocalizationCreateData struct {
	Type          ResourceType                                         `json:"type"`
	Attributes    AppCustomProductPageLocalizationCreateAttributes     `json:"attributes"`
	Relationships *AppCustomProductPageLocalizationCreateRelationships `json:"relationships"`
}

AppCustomProductPageLocalizationCreateData is the data object of the AppCustomProductPageLocalizationCreateRequest schema.

type AppCustomProductPageLocalizationCreateRelationships

type AppCustomProductPageLocalizationCreateRelationships struct {
	AppCustomProductPageVersion *Relationship `json:"appCustomProductPageVersion"`
}

AppCustomProductPageLocalizationCreateRelationships describes create relationships.

type AppCustomProductPageLocalizationCreateRequest

type AppCustomProductPageLocalizationCreateRequest struct {
	Data AppCustomProductPageLocalizationCreateData `json:"data"`
}

AppCustomProductPageLocalizationCreateRequest is the AppCustomProductPageLocalizationCreateRequest schema.

type AppCustomProductPageLocalizationPreviewSetsOption

type AppCustomProductPageLocalizationPreviewSetsOption func(*appCustomProductPageLocalizationPreviewSetsQuery)

AppCustomProductPageLocalizationPreviewSetsOption sets the query of GET /v1/appCustomProductPageLocalizations/{id}/appPreviewSets (appCustomProductPageLocalizations_appPreviewSets_getToManyRelated).

type AppCustomProductPageLocalizationResponse

type AppCustomProductPageLocalizationResponse = SingleResponse[AppCustomProductPageLocalizationAttributes]

AppCustomProductPageLocalizationResponse is the AppCustomProductPageLocalizationResponse schema.

type AppCustomProductPageLocalizationScreenshotSetsOption

type AppCustomProductPageLocalizationScreenshotSetsOption func(*appCustomProductPageLocalizationScreenshotSetsQuery)

AppCustomProductPageLocalizationScreenshotSetsOption is a functional option for screenshot set list endpoints.

func WithAppCustomProductPageLocalizationScreenshotSetsIncludeScreenshots

func WithAppCustomProductPageLocalizationScreenshotSetsIncludeScreenshots() AppCustomProductPageLocalizationScreenshotSetsOption

WithAppCustomProductPageLocalizationScreenshotSetsIncludeScreenshots includes each set's screenshots.

func WithAppCustomProductPageLocalizationScreenshotSetsRequestContext added in v1.260828.0

func WithAppCustomProductPageLocalizationScreenshotSetsRequestContext(factory RequestContextFunc) AppCustomProductPageLocalizationScreenshotSetsOption

WithAppCustomProductPageLocalizationScreenshotSetsRequestContext creates a fresh context for each page fetched by GetAllAppCustomProductPageLocalizationScreenshotSets.

type AppCustomProductPageLocalizationUpdateAttributes

type AppCustomProductPageLocalizationUpdateAttributes struct {
	PromotionalText *string `json:"promotionalText,omitempty"`
}

AppCustomProductPageLocalizationUpdateAttributes is the data.attributes object of the AppCustomProductPageLocalizationUpdateRequest schema.

type AppCustomProductPageLocalizationUpdateData

type AppCustomProductPageLocalizationUpdateData struct {
	Type       ResourceType                                      `json:"type"`
	ID         string                                            `json:"id"`
	Attributes *AppCustomProductPageLocalizationUpdateAttributes `json:"attributes,omitempty"`
}

AppCustomProductPageLocalizationUpdateData is the data object of the AppCustomProductPageLocalizationUpdateRequest schema.

type AppCustomProductPageLocalizationUpdateRequest

type AppCustomProductPageLocalizationUpdateRequest struct {
	Data AppCustomProductPageLocalizationUpdateData `json:"data"`
}

AppCustomProductPageLocalizationUpdateRequest is the AppCustomProductPageLocalizationUpdateRequest schema.

type AppCustomProductPageLocalizationsOption

type AppCustomProductPageLocalizationsOption func(*appCustomProductPageLocalizationsQuery)

AppCustomProductPageLocalizationsOption is a functional option for custom product page localization list endpoints.

func WithAppCustomProductPageLocalizationsInclude

func WithAppCustomProductPageLocalizationsInclude(include []string) AppCustomProductPageLocalizationsOption

WithAppCustomProductPageLocalizationsInclude includes related resources.

func WithAppCustomProductPageLocalizationsPlacementsLimit

func WithAppCustomProductPageLocalizationsPlacementsLimit(limit int) AppCustomProductPageLocalizationsOption

WithAppCustomProductPageLocalizationsPlacementsLimit sets limit[placements].

func WithAppCustomProductPageLocalizationsSearchKeywords

func WithAppCustomProductPageLocalizationsSearchKeywords(limit int) AppCustomProductPageLocalizationsOption

WithAppCustomProductPageLocalizationsSearchKeywords includes up to limit search keywords per localization in each localization's relationships.

type AppCustomProductPageLocalizationsResponse

type AppCustomProductPageLocalizationsResponse = Response[AppCustomProductPageLocalizationAttributes]

AppCustomProductPageLocalizationsResponse is the response from custom product page localization list endpoints.

type AppCustomProductPageResponse

type AppCustomProductPageResponse = SingleResponse[AppCustomProductPageAttributes]

AppCustomProductPageResponse is the AppCustomProductPageResponse schema.

type AppCustomProductPageTemplate

type AppCustomProductPageTemplate struct {
	AppStoreVersionID string
	CustomPageID      string
}

AppCustomProductPageTemplate selects what a new custom product page starts from. A zero value creates a page without a template.

type AppCustomProductPageUpdateAttributes

type AppCustomProductPageUpdateAttributes struct {
	Name    *string `json:"name,omitempty"`
	Visible *bool   `json:"visible,omitempty"`
}

AppCustomProductPageUpdateAttributes is the data.attributes object of the AppCustomProductPageUpdateRequest schema.

type AppCustomProductPageUpdateData

type AppCustomProductPageUpdateData struct {
	Type       ResourceType                          `json:"type"`
	ID         string                                `json:"id"`
	Attributes *AppCustomProductPageUpdateAttributes `json:"attributes,omitempty"`
}

AppCustomProductPageUpdateData is the data object of the AppCustomProductPageUpdateRequest schema.

type AppCustomProductPageUpdateRequest

type AppCustomProductPageUpdateRequest struct {
	Data AppCustomProductPageUpdateData `json:"data"`
}

AppCustomProductPageUpdateRequest is the AppCustomProductPageUpdateRequest schema.

type AppCustomProductPageVersionAttributes

type AppCustomProductPageVersionAttributes struct {
	Version  string `json:"version,omitempty"`
	State    string `json:"state,omitempty"`
	DeepLink string `json:"deepLink,omitempty"`
}

AppCustomProductPageVersionAttributes is the attributes object of the AppCustomProductPageVersion schema.

type AppCustomProductPageVersionCreateAttributes

type AppCustomProductPageVersionCreateAttributes struct {
	DeepLink string `json:"deepLink,omitempty"`
}

AppCustomProductPageVersionCreateAttributes describes create payload attributes.

type AppCustomProductPageVersionCreateData

type AppCustomProductPageVersionCreateData struct {
	Type          ResourceType                                    `json:"type"`
	Attributes    AppCustomProductPageVersionCreateAttributes     `json:"attributes"`
	Relationships *AppCustomProductPageVersionCreateRelationships `json:"relationships"`
}

AppCustomProductPageVersionCreateData is the data payload for create requests.

type AppCustomProductPageVersionCreateRelationships

type AppCustomProductPageVersionCreateRelationships struct {
	AppCustomProductPage *Relationship `json:"appCustomProductPage"`
}

AppCustomProductPageVersionCreateRelationships describes create relationships.

type AppCustomProductPageVersionCreateRequest

type AppCustomProductPageVersionCreateRequest struct {
	Data AppCustomProductPageVersionCreateData `json:"data"`
}

AppCustomProductPageVersionCreateRequest is the AppCustomProductPageVersionCreateRequest schema.

type AppCustomProductPageVersionInlineCreateRelationships

type AppCustomProductPageVersionInlineCreateRelationships struct {
	AppCustomProductPageLocalizations RelationshipList `json:"appCustomProductPageLocalizations"`
}

AppCustomProductPageVersionInlineCreateRelationships describes inline version relationships.

type AppCustomProductPageVersionResponse

type AppCustomProductPageVersionResponse = SingleResponse[AppCustomProductPageVersionAttributes]

AppCustomProductPageVersionResponse is the AppCustomProductPageVersionResponse schema.

type AppCustomProductPageVersionUpdateAttributes

type AppCustomProductPageVersionUpdateAttributes struct {
	DeepLink *string `json:"deepLink,omitempty"`
}

AppCustomProductPageVersionUpdateAttributes is the data.attributes object of the AppCustomProductPageVersionUpdateRequest schema.

type AppCustomProductPageVersionUpdateData

type AppCustomProductPageVersionUpdateData struct {
	Type       ResourceType                                 `json:"type"`
	ID         string                                       `json:"id"`
	Attributes *AppCustomProductPageVersionUpdateAttributes `json:"attributes,omitempty"`
}

AppCustomProductPageVersionUpdateData is the data object of the AppCustomProductPageVersionUpdateRequest schema.

type AppCustomProductPageVersionUpdateRequest

type AppCustomProductPageVersionUpdateRequest struct {
	Data AppCustomProductPageVersionUpdateData `json:"data"`
}

AppCustomProductPageVersionUpdateRequest is the AppCustomProductPageVersionUpdateRequest schema.

type AppCustomProductPageVersionsOption

type AppCustomProductPageVersionsOption func(*appCustomProductPageVersionsQuery)

AppCustomProductPageVersionsOption sets the query of GET /v1/appCustomProductPages/{id}/appCustomProductPageVersions (appCustomProductPages_appCustomProductPageVersions_getToManyRelated).

type AppCustomProductPageVersionsResponse

type AppCustomProductPageVersionsResponse = Response[AppCustomProductPageVersionAttributes]

AppCustomProductPageVersionsResponse is the response from custom product page version list endpoints.

type AppCustomProductPagesOption

type AppCustomProductPagesOption func(*appCustomProductPagesQuery)

AppCustomProductPagesOption is a functional option for custom product page list endpoints.

func WithAppCustomProductPagesAppFields added in v1.260828.0

func WithAppCustomProductPagesAppFields(fields []string) AppCustomProductPagesOption

WithAppCustomProductPagesAppFields sets fields[apps] for included apps.

func WithAppCustomProductPagesFields added in v1.260828.0

func WithAppCustomProductPagesFields(fields []string) AppCustomProductPagesOption

WithAppCustomProductPagesFields sets fields[appCustomProductPages] for responses.

func WithAppCustomProductPagesInclude added in v1.260828.0

func WithAppCustomProductPagesInclude(include []string) AppCustomProductPagesOption

WithAppCustomProductPagesInclude sets relationships to include in responses.

func WithAppCustomProductPagesVersionFields added in v1.260828.0

func WithAppCustomProductPagesVersionFields(fields []string) AppCustomProductPagesOption

WithAppCustomProductPagesVersionFields sets fields[appCustomProductPageVersions] for included versions.

func WithAppCustomProductPagesVersionsLimit added in v1.260828.0

func WithAppCustomProductPagesVersionsLimit(limit int) AppCustomProductPagesOption

WithAppCustomProductPagesVersionsLimit sets the max number of included versions.

func WithAppCustomProductPagesVisible added in v1.260828.0

func WithAppCustomProductPagesVisible(values []string) AppCustomProductPagesOption

WithAppCustomProductPagesVisible filters custom product pages by visibility.

type AppCustomProductPagesResponse

type AppCustomProductPagesResponse = Response[AppCustomProductPageAttributes]

AppCustomProductPagesResponse is the response from custom product page list endpoints.

type AppEncryptionDeclarationAttributes

type AppEncryptionDeclarationAttributes struct {
	AppDescription                  string                        `json:"appDescription,omitempty"`
	CreatedDate                     string                        `json:"createdDate,omitempty"`
	UsesEncryption                  *bool                         `json:"usesEncryption,omitempty"`
	Exempt                          *bool                         `json:"exempt,omitempty"`
	ContainsProprietaryCryptography *bool                         `json:"containsProprietaryCryptography,omitempty"`
	ContainsThirdPartyCryptography  *bool                         `json:"containsThirdPartyCryptography,omitempty"`
	AvailableOnFrenchStore          *bool                         `json:"availableOnFrenchStore,omitempty"`
	Platform                        Platform                      `json:"platform,omitempty"`
	UploadedDate                    string                        `json:"uploadedDate,omitempty"`
	DocumentURL                     string                        `json:"documentUrl,omitempty"`
	DocumentName                    string                        `json:"documentName,omitempty"`
	DocumentType                    string                        `json:"documentType,omitempty"`
	AppEncryptionDeclarationState   AppEncryptionDeclarationState `json:"appEncryptionDeclarationState,omitempty"`
	CodeValue                       string                        `json:"codeValue,omitempty"`
}

AppEncryptionDeclarationAttributes describes encryption declaration attributes.

type AppEncryptionDeclarationBuildsUpdateResult

type AppEncryptionDeclarationBuildsUpdateResult struct {
	DeclarationID string   `json:"declarationId"`
	BuildIDs      []string `json:"buildIds"`
	Action        string   `json:"action"`
}

AppEncryptionDeclarationBuildsUpdateResult represents CLI output for build assignments.

type AppEncryptionDeclarationCreateAttributes

type AppEncryptionDeclarationCreateAttributes struct {
	AppDescription                  string `json:"appDescription"`
	ContainsProprietaryCryptography bool   `json:"containsProprietaryCryptography"`
	ContainsThirdPartyCryptography  bool   `json:"containsThirdPartyCryptography"`
	AvailableOnFrenchStore          bool   `json:"availableOnFrenchStore"`
}

AppEncryptionDeclarationCreateAttributes is the data.attributes object of the AppEncryptionDeclarationCreateRequest schema.

type AppEncryptionDeclarationCreateData

type AppEncryptionDeclarationCreateData struct {
	Type          ResourceType                             `json:"type"`
	Attributes    AppEncryptionDeclarationCreateAttributes `json:"attributes"`
	Relationships *AppEncryptionDeclarationRelationships   `json:"relationships"`
}

AppEncryptionDeclarationCreateData is the data object of the AppEncryptionDeclarationCreateRequest schema.

type AppEncryptionDeclarationCreateRequest

type AppEncryptionDeclarationCreateRequest struct {
	Data AppEncryptionDeclarationCreateData `json:"data"`
}

AppEncryptionDeclarationCreateRequest is the AppEncryptionDeclarationCreateRequest schema.

type AppEncryptionDeclarationDocumentAttributes

type AppEncryptionDeclarationDocumentAttributes struct {
	FileSize           int64               `json:"fileSize,omitempty"`
	FileName           string              `json:"fileName,omitempty"`
	AssetToken         string              `json:"assetToken,omitempty"`
	DownloadURL        string              `json:"downloadUrl,omitempty"`
	SourceFileChecksum string              `json:"sourceFileChecksum,omitempty"`
	UploadOperations   []UploadOperation   `json:"uploadOperations,omitempty"`
	AssetDeliveryState *AppMediaAssetState `json:"assetDeliveryState,omitempty"`
}

AppEncryptionDeclarationDocumentAttributes describes document attributes.

type AppEncryptionDeclarationDocumentCreateAttributes

type AppEncryptionDeclarationDocumentCreateAttributes struct {
	FileSize int64  `json:"fileSize"`
	FileName string `json:"fileName"`
}

AppEncryptionDeclarationDocumentCreateAttributes describes create attributes.

type AppEncryptionDeclarationDocumentCreateData

type AppEncryptionDeclarationDocumentCreateData struct {
	Type          ResourceType                                     `json:"type"`
	Attributes    AppEncryptionDeclarationDocumentCreateAttributes `json:"attributes"`
	Relationships *AppEncryptionDeclarationDocumentRelationships   `json:"relationships"`
}

AppEncryptionDeclarationDocumentCreateData is the data object of the AppEncryptionDeclarationDocumentCreateRequest schema.

type AppEncryptionDeclarationDocumentCreateRequest

type AppEncryptionDeclarationDocumentCreateRequest struct {
	Data AppEncryptionDeclarationDocumentCreateData `json:"data"`
}

AppEncryptionDeclarationDocumentCreateRequest is the AppEncryptionDeclarationDocumentCreateRequest schema.

type AppEncryptionDeclarationDocumentRelationships

type AppEncryptionDeclarationDocumentRelationships struct {
	AppEncryptionDeclaration *Relationship `json:"appEncryptionDeclaration"`
}

AppEncryptionDeclarationDocumentRelationships is the data.relationships object of the AppEncryptionDeclarationDocumentCreateRequest schema.

type AppEncryptionDeclarationDocumentResponse

type AppEncryptionDeclarationDocumentResponse = SingleResponse[AppEncryptionDeclarationDocumentAttributes]

AppEncryptionDeclarationDocumentResponse is the AppEncryptionDeclarationDocumentResponse schema.

type AppEncryptionDeclarationDocumentUpdateAttributes

type AppEncryptionDeclarationDocumentUpdateAttributes struct {
	SourceFileChecksum *string `json:"sourceFileChecksum,omitempty"`
	Uploaded           *bool   `json:"uploaded,omitempty"`
}

AppEncryptionDeclarationDocumentUpdateAttributes is the data.attributes object of the AppEncryptionDeclarationDocumentUpdateRequest schema.

type AppEncryptionDeclarationDocumentUpdateData

type AppEncryptionDeclarationDocumentUpdateData struct {
	Type       ResourceType                                      `json:"type"`
	ID         string                                            `json:"id"`
	Attributes *AppEncryptionDeclarationDocumentUpdateAttributes `json:"attributes,omitempty"`
}

AppEncryptionDeclarationDocumentUpdateData is the data object of the AppEncryptionDeclarationDocumentUpdateRequest schema.

type AppEncryptionDeclarationDocumentUpdateRequest

type AppEncryptionDeclarationDocumentUpdateRequest struct {
	Data AppEncryptionDeclarationDocumentUpdateData `json:"data"`
}

AppEncryptionDeclarationDocumentUpdateRequest is the AppEncryptionDeclarationDocumentUpdateRequest schema.

type AppEncryptionDeclarationRelationships

type AppEncryptionDeclarationRelationships struct {
	App *Relationship `json:"app"`
}

AppEncryptionDeclarationRelationships is the data.relationships object of the AppEncryptionDeclarationCreateRequest schema.

type AppEncryptionDeclarationResponse

type AppEncryptionDeclarationResponse = SingleResponse[AppEncryptionDeclarationAttributes]

AppEncryptionDeclarationResponse is the AppEncryptionDeclarationResponse schema.

type AppEncryptionDeclarationState

type AppEncryptionDeclarationState string

AppEncryptionDeclarationState represents the state of an encryption declaration.

const (
	AppEncryptionDeclarationStateCreated  AppEncryptionDeclarationState = "CREATED"
	AppEncryptionDeclarationStateInReview AppEncryptionDeclarationState = "IN_REVIEW"
	AppEncryptionDeclarationStateApproved AppEncryptionDeclarationState = "APPROVED"
	AppEncryptionDeclarationStateRejected AppEncryptionDeclarationState = "REJECTED"
	AppEncryptionDeclarationStateInvalid  AppEncryptionDeclarationState = "INVALID"
	AppEncryptionDeclarationStateExpired  AppEncryptionDeclarationState = "EXPIRED"
)

type AppEncryptionDeclarationsOption

type AppEncryptionDeclarationsOption func(*appEncryptionDeclarationsQuery)

AppEncryptionDeclarationsOption is a functional option for encryption declarations.

func WithAppEncryptionDeclarationsBuildIDs

func WithAppEncryptionDeclarationsBuildIDs(ids []string) AppEncryptionDeclarationsOption

WithAppEncryptionDeclarationsBuildIDs filters declarations by build IDs.

func WithAppEncryptionDeclarationsBuildLimit

func WithAppEncryptionDeclarationsBuildLimit(limit int) AppEncryptionDeclarationsOption

WithAppEncryptionDeclarationsBuildLimit sets the max number of related builds when included.

func WithAppEncryptionDeclarationsDocumentFields

func WithAppEncryptionDeclarationsDocumentFields(fields []string) AppEncryptionDeclarationsOption

WithAppEncryptionDeclarationsDocumentFields includes document fields when included.

func WithAppEncryptionDeclarationsFields

func WithAppEncryptionDeclarationsFields(fields []string) AppEncryptionDeclarationsOption

WithAppEncryptionDeclarationsFields includes specific declaration fields.

func WithAppEncryptionDeclarationsInclude

func WithAppEncryptionDeclarationsInclude(include []string) AppEncryptionDeclarationsOption

WithAppEncryptionDeclarationsInclude includes related resources.

type AppEncryptionDeclarationsResponse

type AppEncryptionDeclarationsResponse = Response[AppEncryptionDeclarationAttributes]

AppEncryptionDeclarationsResponse is the AppEncryptionDeclarationsResponse schema.

type AppEventAssetType

type AppEventAssetType string

AppEventAssetType represents app event asset types.

const (
	AppEventAssetTypeEventCard        AppEventAssetType = "EVENT_CARD"
	AppEventAssetTypeEventDetailsPage AppEventAssetType = "EVENT_DETAILS_PAGE"
)

type AppEventAttributes

type AppEventAttributes struct {
	ReferenceName              string                      `json:"referenceName,omitempty"`
	Badge                      string                      `json:"badge,omitempty"`
	EventState                 string                      `json:"eventState,omitempty"`
	DeepLink                   string                      `json:"deepLink,omitempty"`
	PurchaseRequirement        string                      `json:"purchaseRequirement,omitempty"`
	PrimaryLocale              string                      `json:"primaryLocale,omitempty"`
	Priority                   string                      `json:"priority,omitempty"`
	Purpose                    string                      `json:"purpose,omitempty"`
	TerritorySchedules         []AppEventTerritorySchedule `json:"territorySchedules,omitempty"`
	ArchivedTerritorySchedules []AppEventTerritorySchedule `json:"archivedTerritorySchedules,omitempty"`
}

AppEventAttributes represents app event attributes.

type AppEventBadge

type AppEventBadge string

AppEventBadge represents the app event badge/event type.

const (
	AppEventBadgeLiveEvent    AppEventBadge = "LIVE_EVENT"
	AppEventBadgePremiere     AppEventBadge = "PREMIERE"
	AppEventBadgeChallenge    AppEventBadge = "CHALLENGE"
	AppEventBadgeCompetition  AppEventBadge = "COMPETITION"
	AppEventBadgeNewSeason    AppEventBadge = "NEW_SEASON"
	AppEventBadgeMajorUpdate  AppEventBadge = "MAJOR_UPDATE"
	AppEventBadgeSpecialEvent AppEventBadge = "SPECIAL_EVENT"
)

Supported app event badge values.

type AppEventCreateAttributes

type AppEventCreateAttributes struct {
	ReferenceName       string                      `json:"referenceName"`
	Badge               string                      `json:"badge,omitempty"`
	DeepLink            string                      `json:"deepLink,omitempty"`
	PurchaseRequirement string                      `json:"purchaseRequirement,omitempty"`
	PrimaryLocale       string                      `json:"primaryLocale,omitempty"`
	Priority            string                      `json:"priority,omitempty"`
	Purpose             string                      `json:"purpose,omitempty"`
	TerritorySchedules  []AppEventTerritorySchedule `json:"territorySchedules,omitempty"`
}

AppEventCreateAttributes describes attributes for creating an app event.

type AppEventCreateData

type AppEventCreateData struct {
	Type          ResourceType                 `json:"type"`
	Attributes    AppEventCreateAttributes     `json:"attributes"`
	Relationships *AppEventCreateRelationships `json:"relationships"`
}

AppEventCreateData is the data object of the AppEventCreateRequest schema.

type AppEventCreateRelationships

type AppEventCreateRelationships struct {
	App *Relationship `json:"app"`
}

AppEventCreateRelationships is the data.relationships object of the AppEventCreateRequest schema.

type AppEventCreateRequest

type AppEventCreateRequest struct {
	Data AppEventCreateData `json:"data"`
}

AppEventCreateRequest is the AppEventCreateRequest schema.

type AppEventLocalizationAttributes

type AppEventLocalizationAttributes struct {
	Locale           string `json:"locale,omitempty"`
	Name             string `json:"name,omitempty"`
	ShortDescription string `json:"shortDescription,omitempty"`
	LongDescription  string `json:"longDescription,omitempty"`
}

AppEventLocalizationAttributes is the attributes object of the AppEventLocalization schema.

type AppEventLocalizationCreateAttributes

type AppEventLocalizationCreateAttributes struct {
	Locale           string `json:"locale"`
	Name             string `json:"name,omitempty"`
	ShortDescription string `json:"shortDescription,omitempty"`
	LongDescription  string `json:"longDescription,omitempty"`
}

AppEventLocalizationCreateAttributes describes attributes for creating localizations.

type AppEventLocalizationCreateData

type AppEventLocalizationCreateData struct {
	Type          ResourceType                         `json:"type"`
	Attributes    AppEventLocalizationCreateAttributes `json:"attributes"`
	Relationships *AppEventLocalizationRelationships   `json:"relationships"`
}

AppEventLocalizationCreateData is the data object of the AppEventLocalizationCreateRequest schema.

type AppEventLocalizationCreateRequest

type AppEventLocalizationCreateRequest struct {
	Data AppEventLocalizationCreateData `json:"data"`
}

AppEventLocalizationCreateRequest is the AppEventLocalizationCreateRequest schema.

type AppEventLocalizationRelationships

type AppEventLocalizationRelationships struct {
	AppEvent *Relationship `json:"appEvent"`
}

AppEventLocalizationRelationships describes relationships for app event localizations.

type AppEventLocalizationResponse

type AppEventLocalizationResponse = SingleResponse[AppEventLocalizationAttributes]

Response types.

type AppEventLocalizationScreenshotsLinkagesResponse

type AppEventLocalizationScreenshotsLinkagesResponse = LinkagesResponse

Response types.

type AppEventLocalizationUpdateAttributes

type AppEventLocalizationUpdateAttributes struct {
	Name             *string `json:"name,omitempty"`
	ShortDescription *string `json:"shortDescription,omitempty"`
	LongDescription  *string `json:"longDescription,omitempty"`
}

AppEventLocalizationUpdateAttributes is the data.attributes object of the AppEventLocalizationUpdateRequest schema.

type AppEventLocalizationUpdateData

type AppEventLocalizationUpdateData struct {
	Type       ResourceType                          `json:"type"`
	ID         string                                `json:"id"`
	Attributes *AppEventLocalizationUpdateAttributes `json:"attributes,omitempty"`
}

AppEventLocalizationUpdateData is the data object of the AppEventLocalizationUpdateRequest schema.

type AppEventLocalizationUpdateRequest

type AppEventLocalizationUpdateRequest struct {
	Data AppEventLocalizationUpdateData `json:"data"`
}

AppEventLocalizationUpdateRequest is the AppEventLocalizationUpdateRequest schema.

type AppEventLocalizationVideoClipsLinkagesResponse

type AppEventLocalizationVideoClipsLinkagesResponse = LinkagesResponse

Response types.

type AppEventLocalizationsLinkagesResponse

type AppEventLocalizationsLinkagesResponse = LinkagesResponse

Response types.

type AppEventLocalizationsOption

type AppEventLocalizationsOption func(*appEventLocalizationsQuery)

AppEventLocalizationsOption is a functional option for app event localizations list.

func WithAppEventLocalizationsInclude

func WithAppEventLocalizationsInclude(include []string) AppEventLocalizationsOption

WithAppEventLocalizationsInclude includes related resources.

func WithAppEventLocalizationsPlacementsLimit

func WithAppEventLocalizationsPlacementsLimit(limit int) AppEventLocalizationsOption

WithAppEventLocalizationsPlacementsLimit sets limit[placements].

type AppEventLocalizationsResponse

type AppEventLocalizationsResponse = Response[AppEventLocalizationAttributes]

Response types.

type AppEventPriority

type AppEventPriority string

AppEventPriority represents the app event priority.

const (
	AppEventPriorityHigh   AppEventPriority = "HIGH"
	AppEventPriorityNormal AppEventPriority = "NORMAL"
)

type AppEventPurchaseRequirement

type AppEventPurchaseRequirement string

AppEventPurchaseRequirement represents app event purchase requirement.

const (
	AppEventPurchaseRequirementNoCostAssociated AppEventPurchaseRequirement = "NO_COST_ASSOCIATED"
	AppEventPurchaseRequirementNoIAPRequired    AppEventPurchaseRequirement = "NO_IAP_REQUIRED"
	AppEventPurchaseRequirementIAPRequired      AppEventPurchaseRequirement = "IAP_REQUIRED"
)

type AppEventPurpose

type AppEventPurpose string

AppEventPurpose represents the app event purpose.

const (
	AppEventPurposeAllUsers        AppEventPurpose = "APPROPRIATE_FOR_ALL_USERS"
	AppEventPurposeAttractNewUsers AppEventPurpose = "ATTRACT_NEW_USERS"
	AppEventPurposeKeepInformed    AppEventPurpose = "KEEP_ACTIVE_USERS_INFORMED"
	AppEventPurposeBringBackUsers  AppEventPurpose = "BRING_BACK_LAPSED_USERS"
)

type AppEventResponse

type AppEventResponse = SingleResponse[AppEventAttributes]

Response types.

type AppEventScreenshotAttributes

type AppEventScreenshotAttributes struct {
	FileSize           int64               `json:"fileSize,omitempty"`
	FileName           string              `json:"fileName,omitempty"`
	ImageAsset         *ImageAsset         `json:"imageAsset,omitempty"`
	AssetToken         string              `json:"assetToken,omitempty"`
	UploadOperations   []UploadOperation   `json:"uploadOperations,omitempty"`
	AssetDeliveryState *AppMediaAssetState `json:"assetDeliveryState,omitempty"`
	AppEventAssetType  string              `json:"appEventAssetType,omitempty"`
}

AppEventScreenshotAttributes represents app event screenshot attributes.

type AppEventScreenshotCreateAttributes

type AppEventScreenshotCreateAttributes struct {
	FileSize          int64  `json:"fileSize"`
	FileName          string `json:"fileName"`
	AppEventAssetType string `json:"appEventAssetType"`
}

AppEventScreenshotCreateAttributes describes attributes for creating screenshots.

type AppEventScreenshotCreateData

type AppEventScreenshotCreateData struct {
	Type          ResourceType                       `json:"type"`
	Attributes    AppEventScreenshotCreateAttributes `json:"attributes"`
	Relationships *AppEventScreenshotRelationships   `json:"relationships"`
}

AppEventScreenshotCreateData is the data object of the AppEventScreenshotCreateRequest schema.

type AppEventScreenshotCreateRequest

type AppEventScreenshotCreateRequest struct {
	Data AppEventScreenshotCreateData `json:"data"`
}

AppEventScreenshotCreateRequest is the AppEventScreenshotCreateRequest schema.

type AppEventScreenshotRelationships

type AppEventScreenshotRelationships struct {
	AppEventLocalization *Relationship `json:"appEventLocalization"`
}

AppEventScreenshotRelationships is the data.relationships object of the AppEventScreenshotCreateRequest schema.

type AppEventScreenshotResponse

type AppEventScreenshotResponse = SingleResponse[AppEventScreenshotAttributes]

Response types.

type AppEventScreenshotUpdateAttributes

type AppEventScreenshotUpdateAttributes struct {
	Uploaded *bool `json:"uploaded,omitempty"`
}

AppEventScreenshotUpdateAttributes is the data.attributes object of the AppEventScreenshotUpdateRequest schema.

type AppEventScreenshotUpdateData

type AppEventScreenshotUpdateData struct {
	Type       ResourceType                        `json:"type"`
	ID         string                              `json:"id"`
	Attributes *AppEventScreenshotUpdateAttributes `json:"attributes,omitempty"`
}

AppEventScreenshotUpdateData is the data object of the AppEventScreenshotUpdateRequest schema.

type AppEventScreenshotUpdateRequest

type AppEventScreenshotUpdateRequest struct {
	Data AppEventScreenshotUpdateData `json:"data"`
}

AppEventScreenshotUpdateRequest is the AppEventScreenshotUpdateRequest schema.

type AppEventScreenshotsOption

type AppEventScreenshotsOption func(*appEventScreenshotsQuery)

AppEventScreenshotsOption sets the query of GET /v1/appEventLocalizations/{id}/appEventScreenshots (appEventLocalizations_appEventScreenshots_getToManyRelated).

type AppEventScreenshotsResponse

type AppEventScreenshotsResponse = Response[AppEventScreenshotAttributes]

Response types.

type AppEventSubmissionResult

type AppEventSubmissionResult struct {
	SubmissionID  string  `json:"submissionId"`
	ItemID        string  `json:"itemId,omitempty"`
	EventID       string  `json:"eventId"`
	AppID         string  `json:"appId"`
	Platform      string  `json:"platform,omitempty"`
	SubmittedDate *string `json:"submittedDate,omitempty"`
}

AppEventSubmissionResult represents CLI output for app event submissions.

type AppEventTerritorySchedule

type AppEventTerritorySchedule struct {
	Territories  []string `json:"territories,omitempty"`
	PublishStart string   `json:"publishStart,omitempty"`
	EventStart   string   `json:"eventStart,omitempty"`
	EventEnd     string   `json:"eventEnd,omitempty"`
}

AppEventTerritorySchedule represents a schedule for app events in territories.

type AppEventUpdateAttributes

type AppEventUpdateAttributes struct {
	ReferenceName       *string                     `json:"referenceName,omitempty"`
	Badge               *string                     `json:"badge,omitempty"`
	DeepLink            *string                     `json:"deepLink,omitempty"`
	PurchaseRequirement *string                     `json:"purchaseRequirement,omitempty"`
	PrimaryLocale       *string                     `json:"primaryLocale,omitempty"`
	Priority            *string                     `json:"priority,omitempty"`
	Purpose             *string                     `json:"purpose,omitempty"`
	TerritorySchedules  []AppEventTerritorySchedule `json:"territorySchedules,omitempty"`
}

AppEventUpdateAttributes describes attributes for updating an app event.

type AppEventUpdateData

type AppEventUpdateData struct {
	Type       ResourceType              `json:"type"`
	ID         string                    `json:"id"`
	Attributes *AppEventUpdateAttributes `json:"attributes,omitempty"`
}

AppEventUpdateData is the data object of the AppEventUpdateRequest schema.

type AppEventUpdateRequest

type AppEventUpdateRequest struct {
	Data AppEventUpdateData `json:"data"`
}

AppEventUpdateRequest is the AppEventUpdateRequest schema.

type AppEventVideoClipAttributes

type AppEventVideoClipAttributes struct {
	FileSize             int64               `json:"fileSize,omitempty"`
	FileName             string              `json:"fileName,omitempty"`
	PreviewFrameTimeCode string              `json:"previewFrameTimeCode,omitempty"`
	VideoURL             string              `json:"videoUrl,omitempty"`
	PreviewFrameImage    *PreviewFrameImage  `json:"previewFrameImage,omitempty"`
	PreviewImage         *ImageAsset         `json:"previewImage,omitempty"`
	UploadOperations     []UploadOperation   `json:"uploadOperations,omitempty"`
	AssetDeliveryState   *AppMediaAssetState `json:"assetDeliveryState,omitempty"`
	VideoDeliveryState   *AppMediaVideoState `json:"videoDeliveryState,omitempty"`
	AppEventAssetType    string              `json:"appEventAssetType,omitempty"`
}

AppEventVideoClipAttributes represents app event video clip attributes.

type AppEventVideoClipCreateAttributes

type AppEventVideoClipCreateAttributes struct {
	FileSize             int64  `json:"fileSize"`
	FileName             string `json:"fileName"`
	PreviewFrameTimeCode string `json:"previewFrameTimeCode,omitempty"`
	AppEventAssetType    string `json:"appEventAssetType"`
}

AppEventVideoClipCreateAttributes describes attributes for creating video clips.

type AppEventVideoClipCreateData

type AppEventVideoClipCreateData struct {
	Type          ResourceType                      `json:"type"`
	Attributes    AppEventVideoClipCreateAttributes `json:"attributes"`
	Relationships *AppEventVideoClipRelationships   `json:"relationships"`
}

AppEventVideoClipCreateData is the data object of the AppEventVideoClipCreateRequest schema.

type AppEventVideoClipCreateRequest

type AppEventVideoClipCreateRequest struct {
	Data AppEventVideoClipCreateData `json:"data"`
}

AppEventVideoClipCreateRequest is the AppEventVideoClipCreateRequest schema.

type AppEventVideoClipRelationships

type AppEventVideoClipRelationships struct {
	AppEventLocalization *Relationship `json:"appEventLocalization"`
}

AppEventVideoClipRelationships is the data.relationships object of the AppEventVideoClipCreateRequest schema.

type AppEventVideoClipResponse

type AppEventVideoClipResponse = SingleResponse[AppEventVideoClipAttributes]

Response types.

type AppEventVideoClipUpdateAttributes

type AppEventVideoClipUpdateAttributes struct {
	PreviewFrameTimeCode *string `json:"previewFrameTimeCode,omitempty"`
	Uploaded             *bool   `json:"uploaded,omitempty"`
}

AppEventVideoClipUpdateAttributes is the data.attributes object of the AppEventVideoClipUpdateRequest schema.

type AppEventVideoClipUpdateData

type AppEventVideoClipUpdateData struct {
	Type       ResourceType                       `json:"type"`
	ID         string                             `json:"id"`
	Attributes *AppEventVideoClipUpdateAttributes `json:"attributes,omitempty"`
}

AppEventVideoClipUpdateData is the data object of the AppEventVideoClipUpdateRequest schema.

type AppEventVideoClipUpdateRequest

type AppEventVideoClipUpdateRequest struct {
	Data AppEventVideoClipUpdateData `json:"data"`
}

AppEventVideoClipUpdateRequest is the AppEventVideoClipUpdateRequest schema.

type AppEventVideoClipsOption

type AppEventVideoClipsOption func(*appEventVideoClipsQuery)

AppEventVideoClipsOption sets the query of GET /v1/appEventLocalizations/{id}/appEventVideoClips (appEventLocalizations_appEventVideoClips_getToManyRelated).

type AppEventVideoClipsResponse

type AppEventVideoClipsResponse = Response[AppEventVideoClipAttributes]

Response types.

type AppEventsOption

type AppEventsOption func(*appEventsQuery)

AppEventsOption sets the query of GET /v1/apps/{id}/appEvents (apps_appEvents_getToManyRelated).

func WithAppEventsFields added in v1.260828.0

func WithAppEventsFields(fields []string) AppEventsOption

WithAppEventsFields sets fields[appEvents].

func WithAppEventsIDs added in v1.260828.0

func WithAppEventsIDs(ids []string) AppEventsOption

WithAppEventsIDs sets filter[id].

func WithAppEventsInclude added in v1.260828.0

func WithAppEventsInclude(include []string) AppEventsOption

WithAppEventsInclude sets include.

func WithAppEventsLocalizationFields added in v1.260828.0

func WithAppEventsLocalizationFields(fields []string) AppEventsOption

WithAppEventsLocalizationFields sets fields[appEventLocalizations].

func WithAppEventsLocalizationsLimit added in v1.260828.0

func WithAppEventsLocalizationsLimit(limit int) AppEventsOption

WithAppEventsLocalizationsLimit sets limit[localizations].

func WithAppEventsStates added in v1.260828.0

func WithAppEventsStates(states []string) AppEventsOption

WithAppEventsStates sets filter[eventState].

type AppEventsResponse

type AppEventsResponse = Response[AppEventAttributes]

Response types.

type AppInfoAgeRatingDeclarationLinkageResponse

type AppInfoAgeRatingDeclarationLinkageResponse struct {
	Data  ResourceData `json:"data"`
	Links Links        `json:"links"`
}

AppInfoAgeRatingDeclarationLinkageResponse is the response for age rating relationships.

type AppInfoAttributes

type AppInfoAttributes map[string]any

AppInfoAttributes describes app info resources.

type AppInfoCandidate

type AppInfoCandidate struct {
	ID    string
	State string
}

AppInfoCandidate describes an app info resource considered for auto-resolution.

func AppInfoCandidates

func AppInfoCandidates(appInfos []Resource[AppInfoAttributes]) []AppInfoCandidate

AppInfoCandidates returns sorted app info resolution candidates for a response payload.

func CurrentAppInfoCandidates added in v1.260825.0

func CurrentAppInfoCandidates(candidates []AppInfoCandidate) []AppInfoCandidate

CurrentAppInfoCandidates excludes historical app info records.

type AppInfoLocalizationAttributes

type AppInfoLocalizationAttributes struct {
	Locale            string `json:"locale,omitempty"`
	Name              string `json:"name,omitempty"`
	Subtitle          string `json:"subtitle,omitempty"`
	PrivacyPolicyURL  string `json:"privacyPolicyUrl,omitempty"`
	PrivacyChoicesURL string `json:"privacyChoicesUrl,omitempty"`
	PrivacyPolicyText string `json:"privacyPolicyText,omitempty"`
	// contains filtered or unexported fields
}

AppInfoLocalizationAttributes describes app info localization metadata.

func (AppInfoLocalizationAttributes) CreateAttributes

CreateAttributes returns the fields an app info localization create sends.

func (AppInfoLocalizationAttributes) MarshalJSON

func (a AppInfoLocalizationAttributes) MarshalJSON() ([]byte, error)

func (*AppInfoLocalizationAttributes) UnmarshalJSON

func (a *AppInfoLocalizationAttributes) UnmarshalJSON(data []byte) error

func (AppInfoLocalizationAttributes) UpdateAttributes

UpdateAttributes returns the fields an app info localization update sends; the locale cannot change.

type AppInfoLocalizationCreateAttributes

type AppInfoLocalizationCreateAttributes struct {
	Locale            string `json:"locale,omitempty"`
	Name              string `json:"name,omitempty"`
	Subtitle          string `json:"subtitle,omitempty"`
	PrivacyPolicyURL  string `json:"privacyPolicyUrl,omitempty"`
	PrivacyChoicesURL string `json:"privacyChoicesUrl,omitempty"`
	PrivacyPolicyText string `json:"privacyPolicyText,omitempty"`
}

AppInfoLocalizationCreateAttributes is the data.attributes object of the AppInfoLocalizationCreateRequest schema, with the omitempty tags the create has always sent.

type AppInfoLocalizationCreateData

type AppInfoLocalizationCreateData struct {
	Type          ResourceType                        `json:"type"`
	Attributes    AppInfoLocalizationCreateAttributes `json:"attributes"`
	Relationships *AppInfoLocalizationRelationships   `json:"relationships"`
}

AppInfoLocalizationCreateData is the data object of the AppInfoLocalizationCreateRequest schema.

type AppInfoLocalizationCreateRequest

type AppInfoLocalizationCreateRequest struct {
	Data AppInfoLocalizationCreateData `json:"data"`
}

AppInfoLocalizationCreateRequest is the AppInfoLocalizationCreateRequest schema.

type AppInfoLocalizationRelationships

type AppInfoLocalizationRelationships struct {
	AppInfo *Relationship `json:"appInfo"`
}

AppInfoLocalizationRelationships is the data.relationships object of the AppInfoLocalizationCreateRequest schema.

type AppInfoLocalizationResponse

type AppInfoLocalizationResponse = SingleResponse[AppInfoLocalizationAttributes]

AppInfoLocalizationResponse is the AppInfoLocalizationResponse schema.

type AppInfoLocalizationUpdateAttributes

type AppInfoLocalizationUpdateAttributes struct {
	Name              string `json:"name,omitempty"`
	Subtitle          string `json:"subtitle,omitempty"`
	PrivacyPolicyURL  string `json:"privacyPolicyUrl,omitempty"`
	PrivacyChoicesURL string `json:"privacyChoicesUrl,omitempty"`
	PrivacyPolicyText string `json:"privacyPolicyText,omitempty"`
}

AppInfoLocalizationUpdateAttributes is the data.attributes object of the AppInfoLocalizationUpdateRequest schema, with the omitempty tags the update has always sent.

type AppInfoLocalizationUpdateData

type AppInfoLocalizationUpdateData struct {
	Type       ResourceType                        `json:"type"`
	ID         string                              `json:"id"`
	Attributes AppInfoLocalizationUpdateAttributes `json:"attributes"`
}

AppInfoLocalizationUpdateData is the data portion of an app info localization update request.

type AppInfoLocalizationUpdateRequest

type AppInfoLocalizationUpdateRequest struct {
	Data AppInfoLocalizationUpdateData `json:"data"`
}

AppInfoLocalizationUpdateRequest is the AppInfoLocalizationUpdateRequest schema.

type AppInfoLocalizationsOption

type AppInfoLocalizationsOption func(*appInfoLocalizationsQuery)

AppInfoLocalizationsOption sets the query of GET /v1/appInfos/{id}/appInfoLocalizations (appInfos_appInfoLocalizations_getToManyRelated).

func WithAppInfoLocalizationLocales

func WithAppInfoLocalizationLocales(locales []string) AppInfoLocalizationsOption

WithAppInfoLocalizationLocales sets filter[locale].

func WithAppInfoLocalizationsAppInfoFields added in v1.260722.0

func WithAppInfoLocalizationsAppInfoFields(fields []string) AppInfoLocalizationsOption

WithAppInfoLocalizationsAppInfoFields sets fields[appInfos].

func WithAppInfoLocalizationsInclude added in v1.260722.0

func WithAppInfoLocalizationsInclude(include []string) AppInfoLocalizationsOption

WithAppInfoLocalizationsInclude sets include.

type AppInfoLocalizationsResponse

type AppInfoLocalizationsResponse = Response[AppInfoLocalizationAttributes]

AppInfoLocalizationsResponse is the response from app info localizations endpoints.

type AppInfoOption

type AppInfoOption func(*appInfoQuery)

AppInfoOption is a functional option for GetAppInfo.

func WithAppInfoAgeRatingDeclarationFields added in v1.260722.0

func WithAppInfoAgeRatingDeclarationFields(fields []string) AppInfoOption

WithAppInfoAgeRatingDeclarationFields sets fields[ageRatingDeclarations].

func WithAppInfoFields added in v1.260722.0

func WithAppInfoFields(fields []string) AppInfoOption

WithAppInfoFields sets fields[appInfos].

func WithAppInfoInclude

func WithAppInfoInclude(include []string) AppInfoOption

WithAppInfoInclude includes related resources for an app info.

func WithAppInfoLocalizationsIncludeLimit added in v1.260713.0

func WithAppInfoLocalizationsIncludeLimit(limit int) AppInfoOption

WithAppInfoLocalizationsIncludeLimit sets the maximum number of localizations returned through an app info include.

type AppInfoPrimaryCategoryLinkageResponse

type AppInfoPrimaryCategoryLinkageResponse struct {
	Data  ResourceData `json:"data"`
	Links Links        `json:"links"`
}

AppInfoPrimaryCategoryLinkageResponse is the response for primary category relationships.

type AppInfoPrimarySubcategoryOneLinkageResponse

type AppInfoPrimarySubcategoryOneLinkageResponse struct {
	Data  ResourceData `json:"data"`
	Links Links        `json:"links"`
}

AppInfoPrimarySubcategoryOneLinkageResponse is the response for primary subcategory one relationships.

type AppInfoPrimarySubcategoryTwoLinkageResponse

type AppInfoPrimarySubcategoryTwoLinkageResponse struct {
	Data  ResourceData `json:"data"`
	Links Links        `json:"links"`
}

AppInfoPrimarySubcategoryTwoLinkageResponse is the response for primary subcategory two relationships.

type AppInfoResponse

type AppInfoResponse = SingleResponse[AppInfoAttributes]

AppInfoResponse is the AppInfoResponse schema.

type AppInfoSecondaryCategoryLinkageResponse

type AppInfoSecondaryCategoryLinkageResponse struct {
	Data  ResourceData `json:"data"`
	Links Links        `json:"links"`
}

AppInfoSecondaryCategoryLinkageResponse is the response for secondary category relationships.

type AppInfoSecondarySubcategoryOneLinkageResponse

type AppInfoSecondarySubcategoryOneLinkageResponse struct {
	Data  ResourceData `json:"data"`
	Links Links        `json:"links"`
}

AppInfoSecondarySubcategoryOneLinkageResponse is the response for secondary subcategory one relationships.

type AppInfoSecondarySubcategoryTwoLinkageResponse

type AppInfoSecondarySubcategoryTwoLinkageResponse struct {
	Data  ResourceData `json:"data"`
	Links Links        `json:"links"`
}

AppInfoSecondarySubcategoryTwoLinkageResponse is the response for secondary subcategory two relationships.

type AppInfoSetBatchResult

type AppInfoSetBatchResult struct {
	AppID     string                   `json:"appId,omitempty"`
	VersionID string                   `json:"versionId,omitempty"`
	DryRun    bool                     `json:"dryRun"`
	Total     int                      `json:"total"`
	Succeeded int                      `json:"succeeded"`
	Failed    int                      `json:"failed"`
	Planned   int                      `json:"planned,omitempty"`
	Results   []AppInfoSetLocaleResult `json:"results"`
}

AppInfoSetBatchResult represents CLI output for batched app-info set operations.

type AppInfoSetLocaleResult

type AppInfoSetLocaleResult struct {
	Locale         string `json:"locale"`
	Action         string `json:"action"`
	Status         string `json:"status"`
	LocalizationID string `json:"localizationId,omitempty"`
	Error          string `json:"error,omitempty"`
}

AppInfoSetLocaleResult represents a per-locale app-info set operation result.

type AppInfoUpdateCategoriesData

type AppInfoUpdateCategoriesData struct {
	Type          ResourceType                          `json:"type"`
	ID            string                                `json:"id"`
	Relationships *AppInfoUpdateCategoriesRelationships `json:"relationships,omitempty"`
}

AppInfoUpdateCategoriesData is the data for updating app info categories.

type AppInfoUpdateCategoriesRelationships

type AppInfoUpdateCategoriesRelationships struct {
	PrimaryCategory         *Relationship `json:"primaryCategory,omitempty"`
	SecondaryCategory       *Relationship `json:"secondaryCategory,omitempty"`
	PrimarySubcategoryOne   *Relationship `json:"primarySubcategoryOne,omitempty"`
	PrimarySubcategoryTwo   *Relationship `json:"primarySubcategoryTwo,omitempty"`
	SecondarySubcategoryOne *Relationship `json:"secondarySubcategoryOne,omitempty"`
	SecondarySubcategoryTwo *Relationship `json:"secondarySubcategoryTwo,omitempty"`
}

AppInfoUpdateCategoriesRelationships describes relationships for updating categories.

type AppInfoUpdateCategoriesRequest

type AppInfoUpdateCategoriesRequest struct {
	Data AppInfoUpdateCategoriesData `json:"data"`
}

AppInfoUpdateCategoriesRequest is a request to update app info categories.

type AppInfosResponse

type AppInfosResponse = Response[AppInfoAttributes]

AppInfosResponse is the response from app info endpoints.

type AppKeywordAttributes

type AppKeywordAttributes struct{}

AppKeywordAttributes describes an app keyword resource.

type AppKeywordsResponse

type AppKeywordsResponse = Response[AppKeywordAttributes]

AppKeywordsResponse is the response from app keyword list endpoints.

type AppMediaAssetState

type AppMediaAssetState struct {
	State    *string       `json:"state,omitempty"`
	Errors   []StateDetail `json:"errors,omitempty"`
	Warnings []StateDetail `json:"warnings,omitempty"`
	Infos    []StateDetail `json:"infos,omitempty"`
}

AppMediaAssetState represents the state of an asset.

type AppMediaPreviewFrameImageState

type AppMediaPreviewFrameImageState struct {
	State    string        `json:"state,omitempty"`
	Errors   []StateDetail `json:"errors,omitempty"`
	Warnings []StateDetail `json:"warnings,omitempty"`
}

AppMediaPreviewFrameImageState represents the state of a preview frame image.

type AppMediaVideoState

type AppMediaVideoState struct {
	State    *string       `json:"state,omitempty"`
	Errors   []StateDetail `json:"errors,omitempty"`
	Warnings []StateDetail `json:"warnings,omitempty"`
}

AppMediaVideoState represents the state of a video asset.

type AppOption added in v1.260722.0

type AppOption func(*appQuery)

AppOption sets the query of GET /v1/apps/{id} (apps_getInstance).

func WithAppAppInfoFields added in v1.260722.0

func WithAppAppInfoFields(fields []string) AppOption

WithAppAppInfoFields sets fields[appInfos].

func WithAppFields

func WithAppFields(fields []string) AppOption

WithAppFields sets fields[apps].

func WithAppInAppPurchaseFields added in v1.260722.0

func WithAppInAppPurchaseFields(fields []string) AppOption

WithAppInAppPurchaseFields sets fields[inAppPurchases].

func WithAppInclude added in v1.260722.0

func WithAppInclude(include []string) AppOption

WithAppInclude sets include.

func WithAppRetentionMessageFields

func WithAppRetentionMessageFields(fields []string) AppOption

WithAppRetentionMessageFields sets fields[retentionMessages].

func WithAppSubscriptionGroupFields added in v1.260722.0

func WithAppSubscriptionGroupFields(fields []string) AppOption

WithAppSubscriptionGroupFields sets fields[subscriptionGroups].

type AppPreReleaseVersionsOption

type AppPreReleaseVersionsOption func(*listQuery)

AppPreReleaseVersionsOption is a functional option for GetAppPreReleaseVersions.

type AppPreviewAttributes

type AppPreviewAttributes struct {
	FileSize             int64               `json:"fileSize"`
	FileName             string              `json:"fileName"`
	SourceFileChecksum   string              `json:"sourceFileChecksum,omitempty"`
	PreviewFrameTimeCode string              `json:"previewFrameTimeCode,omitempty"`
	PreviewFrameImage    *PreviewFrameImage  `json:"previewFrameImage,omitempty"`
	MimeType             string              `json:"mimeType,omitempty"`
	VideoURL             string              `json:"videoUrl,omitempty"`
	PreviewImage         *ImageAsset         `json:"previewImage,omitempty"`
	UploadOperations     []UploadOperation   `json:"uploadOperations,omitempty"`
	AssetDeliveryState   *AssetDeliveryState `json:"assetDeliveryState,omitempty"`
	VideoDeliveryState   *AppMediaVideoState `json:"videoDeliveryState,omitempty"`
}

AppPreviewAttributes describes a preview asset resource.

type AppPreviewCreateAttributes

type AppPreviewCreateAttributes struct {
	FileSize             int64   `json:"fileSize"`
	FileName             string  `json:"fileName"`
	PreviewFrameTimeCode *string `json:"previewFrameTimeCode,omitempty"`
	MimeType             *string `json:"mimeType,omitempty"`
}

AppPreviewCreateAttributes is the data.attributes object of the AppPreviewCreateRequest schema.

type AppPreviewCreateData

type AppPreviewCreateData struct {
	Type          ResourceType               `json:"type"`
	Attributes    AppPreviewCreateAttributes `json:"attributes"`
	Relationships *AppPreviewRelationships   `json:"relationships"`
}

AppPreviewCreateData is the data object of the AppPreviewCreateRequest schema.

type AppPreviewCreateRequest

type AppPreviewCreateRequest struct {
	Data AppPreviewCreateData `json:"data"`
}

AppPreviewCreateRequest is the AppPreviewCreateRequest schema.

type AppPreviewListResult

type AppPreviewListResult struct {
	VersionLocalizationID string                      `json:"versionLocalizationId"`
	Sets                  []AppPreviewSetWithPreviews `json:"sets"`
}

AppPreviewListResult represents preview list output by localization.

type AppPreviewRelationships

type AppPreviewRelationships struct {
	AppPreviewSet *Relationship `json:"appPreviewSet"`
}

AppPreviewRelationships is the data.relationships object of the AppPreviewCreateRequest schema.

type AppPreviewResponse

type AppPreviewResponse = SingleResponse[AppPreviewAttributes]

Response types

type AppPreviewSetAttributes

type AppPreviewSetAttributes struct {
	PreviewType string `json:"previewType"`
}

AppPreviewSetAttributes describes a preview set resource.

type AppPreviewSetCreateData

type AppPreviewSetCreateData struct {
	Type          ResourceType                `json:"type"`
	Attributes    AppPreviewSetAttributes     `json:"attributes"`
	Relationships *AppPreviewSetRelationships `json:"relationships"`
}

AppPreviewSetCreateData is the data portion of a preview set create request.

type AppPreviewSetCreateRequest

type AppPreviewSetCreateRequest struct {
	Data AppPreviewSetCreateData `json:"data"`
}

AppPreviewSetCreateRequest is the AppPreviewSetCreateRequest schema.

type AppPreviewSetRelationships

type AppPreviewSetRelationships struct {
	AppStoreVersionLocalization                    *Relationship `json:"appStoreVersionLocalization,omitempty"`
	AppCustomProductPageLocalization               *Relationship `json:"appCustomProductPageLocalization,omitempty"`
	AppStoreVersionExperimentTreatmentLocalization *Relationship `json:"appStoreVersionExperimentTreatmentLocalization,omitempty"`
}

AppPreviewSetRelationships is the data.relationships object of the AppPreviewSetCreateRequest schema.

type AppPreviewSetResponse

type AppPreviewSetResponse = SingleResponse[AppPreviewSetAttributes]

Response types

type AppPreviewSetWithPreviews

type AppPreviewSetWithPreviews struct {
	Set      Resource[AppPreviewSetAttributes] `json:"set"`
	Previews []Resource[AppPreviewAttributes]  `json:"previews"`
}

AppPreviewSetWithPreviews groups a set with its previews.

type AppPreviewSetsResponse

type AppPreviewSetsResponse = Response[AppPreviewSetAttributes]

Response types

type AppPreviewUpdateAttributes

type AppPreviewUpdateAttributes struct {
	PreviewFrameTimeCode *string `json:"previewFrameTimeCode,omitempty"`
	SourceFileChecksum   *string `json:"sourceFileChecksum,omitempty"`
	Uploaded             *bool   `json:"uploaded,omitempty"`
}

AppPreviewUpdateAttributes describes preview update attributes.

type AppPreviewUpdateData

type AppPreviewUpdateData struct {
	Type       ResourceType                `json:"type"`
	ID         string                      `json:"id"`
	Attributes *AppPreviewUpdateAttributes `json:"attributes,omitempty"`
}

AppPreviewUpdateData is the data object of the AppPreviewUpdateRequest schema.

type AppPreviewUpdateRequest

type AppPreviewUpdateRequest struct {
	Data AppPreviewUpdateData `json:"data"`
}

AppPreviewUpdateRequest is the AppPreviewUpdateRequest schema.

type AppPreviewUploadResult

type AppPreviewUploadResult struct {
	VersionLocalizationID string                   `json:"versionLocalizationId"`
	SetID                 string                   `json:"setId"`
	PreviewType           string                   `json:"previewType"`
	PreviewFrameTimeCode  string                   `json:"previewFrameTimeCode,omitempty"`
	DryRun                bool                     `json:"dryRun,omitempty"`
	Results               []AssetUploadResultItem  `json:"results"`
	Failures              []AssetUploadFailureItem `json:"failures,omitempty"`
}

AppPreviewUploadResult represents preview upload output.

type AppPreviewsOption added in v1.260822.0

type AppPreviewsOption func(*appPreviewsQuery)

AppPreviewsOption configures app preview queries.

func WithAppPreviewsNextURL added in v1.260822.0

func WithAppPreviewsNextURL(next string) AppPreviewsOption

WithAppPreviewsNextURL uses a next page URL directly.

type AppPreviewsResponse

type AppPreviewsResponse = Response[AppPreviewAttributes]

Response types

type AppPriceCreateResource

type AppPriceCreateResource struct {
	Type          ResourceType          `json:"type"`
	ID            string                `json:"id,omitempty"`
	Attributes    AppPriceV2Attributes  `json:"attributes"`
	Relationships AppPriceRelationships `json:"relationships"`
}

AppPriceCreateResource represents an app price resource for schedule creation.

type AppPricePointV3Attributes

type AppPricePointV3Attributes struct {
	CustomerPrice string `json:"customerPrice,omitempty"`
	Proceeds      string `json:"proceeds,omitempty"`
}

AppPricePointV3Attributes is the attributes object of the AppPricePointV3 schema.

type AppPricePointsV3Response

type AppPricePointsV3Response = Response[AppPricePointV3Attributes]

Response types

type AppPriceRelationships

type AppPriceRelationships struct {
	AppPricePoint Relationship `json:"appPricePoint"`
}

AppPriceRelationships describes relationships for app prices.

type AppPriceScheduleAttributes

type AppPriceScheduleAttributes struct {
}

AppPriceScheduleAttributes describes an app price schedule resource.

type AppPriceScheduleCreateAttributes

type AppPriceScheduleCreateAttributes struct {
	PricePointID    string `json:"-"`
	StartDate       string `json:"-"`
	BaseTerritoryID string `json:"-"`
	// Prices, when set, replaces PricePointID and StartDate with one manual
	// price per entry, so the schedule can price several territories.
	Prices []AppPriceSchedulePrice `json:"-"`
}

AppPriceScheduleCreateAttributes defines inputs for creating a price schedule.

type AppPriceScheduleCreateData

type AppPriceScheduleCreateData struct {
	Type          ResourceType                        `json:"type"`
	Relationships AppPriceScheduleCreateRelationships `json:"relationships"`
}

AppPriceScheduleCreateData is the data object of the AppPriceScheduleCreateRequest schema.

type AppPriceScheduleCreateRelationships

type AppPriceScheduleCreateRelationships struct {
	App           Relationship     `json:"app"`
	BaseTerritory Relationship     `json:"baseTerritory"`
	ManualPrices  RelationshipList `json:"manualPrices"`
}

AppPriceScheduleCreateRelationships is the data.relationships object of the AppPriceScheduleCreateRequest schema.

type AppPriceScheduleCreateRequest

type AppPriceScheduleCreateRequest struct {
	Data     AppPriceScheduleCreateData `json:"data"`
	Included []AppPriceCreateResource   `json:"included,omitempty"`
}

AppPriceScheduleCreateRequest is a request to create a price schedule.

type AppPriceScheduleNotConfiguredResult

type AppPriceScheduleNotConfiguredResult struct {
	AppID         string `json:"appId"`
	Configured    bool   `json:"configured"`
	BaseTerritory string `json:"baseTerritory,omitempty"`
	Reason        string `json:"reason,omitempty"`
	NextStartDate string `json:"nextStartDate,omitempty"`
}

AppPriceScheduleNotConfiguredResult represents CLI output when `asc pricing current` has no current base territory price to report. Without a Reason, the app has no price schedule yet. Reason "no_current_base_price" means the schedule exists but has no price for BaseTerritory today; NextStartDate is the start date of a later base territory price when one is scheduled.

type AppPriceSchedulePrice

type AppPriceSchedulePrice struct {
	PricePointID string
	StartDate    string
	EndDate      string
}

AppPriceSchedulePrice is one manual price in a schedule create request.

type AppPriceSchedulePricesOption added in v1.260331.0

type AppPriceSchedulePricesOption func(*appPriceSchedulePricesQuery)

AppPriceSchedulePricesOption sets the query of GET /v1/appPriceSchedules/{id}/automaticPrices (appPriceSchedules_automaticPrices_getToManyRelated) and GET /v1/appPriceSchedules/{id}/manualPrices (appPriceSchedules_manualPrices_getToManyRelated).

func WithAppPriceSchedulePricesFields added in v1.260331.0

func WithAppPriceSchedulePricesFields(fields []string) AppPriceSchedulePricesOption

WithAppPriceSchedulePricesFields sets fields[appPrices].

func WithAppPriceSchedulePricesInclude added in v1.260331.0

func WithAppPriceSchedulePricesInclude(include []string) AppPriceSchedulePricesOption

WithAppPriceSchedulePricesInclude sets include.

func WithAppPriceSchedulePricesPricePointFields added in v1.260331.0

func WithAppPriceSchedulePricesPricePointFields(fields []string) AppPriceSchedulePricesOption

WithAppPriceSchedulePricesPricePointFields sets fields[appPricePoints].

func WithAppPriceSchedulePricesTerritoryFields added in v1.260331.0

func WithAppPriceSchedulePricesTerritoryFields(fields []string) AppPriceSchedulePricesOption

WithAppPriceSchedulePricesTerritoryFields sets fields[territories].

type AppPriceScheduleResponse

type AppPriceScheduleResponse = SingleResponse[AppPriceScheduleAttributes]

Response types

type AppPriceV2Attributes

type AppPriceV2Attributes struct {
	StartDate string `json:"startDate,omitempty"`
	EndDate   string `json:"endDate,omitempty"`
	Manual    bool   `json:"manual,omitempty"`
}

AppPriceV2Attributes describes a price schedule entry.

type AppPricesResponse

type AppPricesResponse = Response[AppPriceV2Attributes]

Response types

type AppPromotedPurchasesLinkResult

type AppPromotedPurchasesLinkResult struct {
	AppID               string   `json:"appId"`
	PromotedPurchaseIDs []string `json:"promotedPurchaseIds"`
	Action              string   `json:"action"`
}

AppPromotedPurchasesLinkResult represents CLI output for linking promoted purchases.

type AppRenameResult added in v1.260816.0

type AppRenameResult struct {
	AppID          string `json:"appId"`
	AppInfoID      string `json:"appInfoId"`
	Locale         string `json:"locale"`
	Name           string `json:"name"`
	Action         string `json:"action"`
	LocalizationID string `json:"localizationId"`
}

AppRenameResult represents a localized app-name change.

type AppResponse

type AppResponse = SingleResponse[AppAttributes]

AppResponse is the AppResponse schema.

type AppScreenshotAttributes

type AppScreenshotAttributes struct {
	FileSize           int64               `json:"fileSize"`
	FileName           string              `json:"fileName"`
	SourceFileChecksum string              `json:"sourceFileChecksum,omitempty"`
	ImageAsset         *ImageAsset         `json:"imageAsset,omitempty"`
	AssetToken         string              `json:"assetToken,omitempty"`
	AssetType          string              `json:"assetType,omitempty"`
	UploadOperations   []UploadOperation   `json:"uploadOperations,omitempty"`
	AssetDeliveryState *AssetDeliveryState `json:"assetDeliveryState,omitempty"`
}

AppScreenshotAttributes describes a screenshot asset resource.

type AppScreenshotCreateAttributes

type AppScreenshotCreateAttributes struct {
	FileSize int64  `json:"fileSize"`
	FileName string `json:"fileName"`
}

AppScreenshotCreateAttributes is the data.attributes object of the AppScreenshotCreateRequest schema.

type AppScreenshotCreateData

type AppScreenshotCreateData struct {
	Type          ResourceType                  `json:"type"`
	Attributes    AppScreenshotCreateAttributes `json:"attributes"`
	Relationships *AppScreenshotRelationships   `json:"relationships"`
}

AppScreenshotCreateData is the data object of the AppScreenshotCreateRequest schema.

type AppScreenshotCreateRequest

type AppScreenshotCreateRequest struct {
	Data AppScreenshotCreateData `json:"data"`
}

AppScreenshotCreateRequest is the AppScreenshotCreateRequest schema.

type AppScreenshotFanoutUploadResult added in v1.260407.0

type AppScreenshotFanoutUploadResult struct {
	AppID         string                                  `json:"appId"`
	Version       string                                  `json:"version"`
	VersionID     string                                  `json:"versionId"`
	Platform      string                                  `json:"platform"`
	DisplayType   string                                  `json:"displayType"`
	DryRun        bool                                    `json:"dryRun,omitempty"`
	Localizations []AppScreenshotLocalizationUploadResult `json:"localizations"`
}

AppScreenshotFanoutUploadResult represents an app/version-scoped screenshot upload fan-out.

type AppScreenshotListResult

type AppScreenshotListResult struct {
	VersionLocalizationID string                                `json:"versionLocalizationId"`
	Locale                string                                `json:"locale,omitempty"`
	Sets                  []AppScreenshotSetWithScreenshots     `json:"sets"`
	Localizations         []AppScreenshotLocalizationListResult `json:"localizations,omitempty"`
}

AppScreenshotListResult represents screenshot list output by localization. Localizations is populated instead of VersionLocalizationID and Sets when a caller lists every localization of a version without selecting a locale.

type AppScreenshotLocalizationListResult

type AppScreenshotLocalizationListResult struct {
	Locale                string                            `json:"locale"`
	VersionLocalizationID string                            `json:"versionLocalizationId"`
	Sets                  []AppScreenshotSetWithScreenshots `json:"sets"`
}

AppScreenshotLocalizationListResult groups one App Store version localization with its screenshot sets.

type AppScreenshotLocalizationUploadResult added in v1.260407.0

type AppScreenshotLocalizationUploadResult struct {
	Locale                string                   `json:"locale"`
	VersionLocalizationID string                   `json:"versionLocalizationId"`
	SetID                 string                   `json:"setId"`
	DisplayType           string                   `json:"displayType"`
	DryRun                bool                     `json:"dryRun,omitempty"`
	Total                 int                      `json:"total,omitempty"`
	Uploaded              int                      `json:"uploaded,omitempty"`
	Skipped               int                      `json:"skipped,omitempty"`
	Pending               int                      `json:"pending,omitempty"`
	Failed                int                      `json:"failed,omitempty"`
	FailureArtifactPath   string                   `json:"failureArtifactPath,omitempty"`
	Results               []AssetUploadResultItem  `json:"results"`
	Failures              []AssetUploadFailureItem `json:"failures,omitempty"`
}

AppScreenshotLocalizationUploadResult represents one localization in a fan-out screenshot upload.

type AppScreenshotRelationships

type AppScreenshotRelationships struct {
	AppScreenshotSet *Relationship `json:"appScreenshotSet"`
}

AppScreenshotRelationships is the data.relationships object of the AppScreenshotCreateRequest schema.

type AppScreenshotReorderResult

type AppScreenshotReorderResult struct {
	SetID         string   `json:"setId"`
	Reordered     bool     `json:"reordered"`
	ScreenshotIDs []string `json:"screenshotIds"`
}

AppScreenshotReorderResult records a screenshot set whose order was replaced.

type AppScreenshotResponse

type AppScreenshotResponse = SingleResponse[AppScreenshotAttributes]

Response types

type AppScreenshotSetAttributes

type AppScreenshotSetAttributes struct {
	ScreenshotDisplayType string `json:"screenshotDisplayType"`
}

AppScreenshotSetAttributes describes a screenshot set resource.

type AppScreenshotSetCreateData

type AppScreenshotSetCreateData struct {
	Type          ResourceType                   `json:"type"`
	Attributes    AppScreenshotSetAttributes     `json:"attributes"`
	Relationships *AppScreenshotSetRelationships `json:"relationships"`
}

AppScreenshotSetCreateData is the data portion of a screenshot set create request.

type AppScreenshotSetCreateRequest

type AppScreenshotSetCreateRequest struct {
	Data AppScreenshotSetCreateData `json:"data"`
}

AppScreenshotSetCreateRequest is the AppScreenshotSetCreateRequest schema.

type AppScreenshotSetListResult added in v1.260822.0

type AppScreenshotSetListResult struct {
	LocalizationID string                            `json:"localizationId"`
	Sets           []AppScreenshotSetWithScreenshots `json:"sets"`
}

AppScreenshotSetListResult represents screenshot sets and their screenshots for a non-version localization, such as a custom product page or treatment.

type AppScreenshotSetRelationships

type AppScreenshotSetRelationships struct {
	AppStoreVersionLocalization                    *Relationship `json:"appStoreVersionLocalization,omitempty"`
	AppCustomProductPageLocalization               *Relationship `json:"appCustomProductPageLocalization,omitempty"`
	AppStoreVersionExperimentTreatmentLocalization *Relationship `json:"appStoreVersionExperimentTreatmentLocalization,omitempty"`
}

AppScreenshotSetRelationships is the data.relationships object of the AppScreenshotSetCreateRequest schema.

type AppScreenshotSetResponse

type AppScreenshotSetResponse = SingleResponse[AppScreenshotSetAttributes]

Response types

type AppScreenshotSetWithScreenshots

type AppScreenshotSetWithScreenshots struct {
	Set         Resource[AppScreenshotSetAttributes] `json:"set"`
	Screenshots []Resource[AppScreenshotAttributes]  `json:"screenshots"`
}

AppScreenshotSetWithScreenshots groups a set with its screenshots.

type AppScreenshotSetsOption added in v1.260828.0

type AppScreenshotSetsOption func(*appScreenshotSetsQuery)

AppScreenshotSetsOption configures screenshot-set collection requests.

func WithAppScreenshotSetsIncludeScreenshots

func WithAppScreenshotSetsIncludeScreenshots() AppScreenshotSetsOption

WithAppScreenshotSetsIncludeScreenshots includes each set's screenshots.

func WithAppScreenshotSetsLimit added in v1.260828.0

func WithAppScreenshotSetsLimit(limit int) AppScreenshotSetsOption

WithAppScreenshotSetsLimit sets the maximum number of screenshot sets to return.

func WithAppScreenshotSetsRequestContext added in v1.260828.0

func WithAppScreenshotSetsRequestContext(factory RequestContextFunc) AppScreenshotSetsOption

WithAppScreenshotSetsRequestContext creates a fresh context for each page fetched by GetAllAppScreenshotSets.

type AppScreenshotSetsResponse

type AppScreenshotSetsResponse = Response[AppScreenshotSetAttributes]

Response types

type AppScreenshotUpdateAttributes

type AppScreenshotUpdateAttributes struct {
	SourceFileChecksum *string `json:"sourceFileChecksum,omitempty"`
	Uploaded           *bool   `json:"uploaded,omitempty"`
}

AppScreenshotUpdateAttributes is the data.attributes object of the AppScreenshotUpdateRequest schema.

type AppScreenshotUpdateData

type AppScreenshotUpdateData struct {
	Type       ResourceType                   `json:"type"`
	ID         string                         `json:"id"`
	Attributes *AppScreenshotUpdateAttributes `json:"attributes,omitempty"`
}

AppScreenshotUpdateData is the data object of the AppScreenshotUpdateRequest schema.

type AppScreenshotUpdateRequest

type AppScreenshotUpdateRequest struct {
	Data AppScreenshotUpdateData `json:"data"`
}

AppScreenshotUpdateRequest is the AppScreenshotUpdateRequest schema.

type AppScreenshotUploadResult

type AppScreenshotUploadResult struct {
	VersionLocalizationID string                   `json:"versionLocalizationId"`
	SetID                 string                   `json:"setId"`
	DisplayType           string                   `json:"displayType"`
	DryRun                bool                     `json:"dryRun,omitempty"`
	Resumed               bool                     `json:"resumed,omitempty"`
	Total                 int                      `json:"total,omitempty"`
	Uploaded              int                      `json:"uploaded,omitempty"`
	Skipped               int                      `json:"skipped,omitempty"`
	Pending               int                      `json:"pending,omitempty"`
	Failed                int                      `json:"failed,omitempty"`
	FailureArtifactPath   string                   `json:"failureArtifactPath,omitempty"`
	Results               []AssetUploadResultItem  `json:"results"`
	Failures              []AssetUploadFailureItem `json:"failures,omitempty"`
}

AppScreenshotUploadResult represents screenshot upload output.

type AppScreenshotsOption added in v1.260828.0

type AppScreenshotsOption func(*appScreenshotsQuery)

AppScreenshotsOption configures screenshot collection requests.

func WithAppScreenshotsLimit added in v1.260828.0

func WithAppScreenshotsLimit(limit int) AppScreenshotsOption

WithAppScreenshotsLimit sets the maximum number of screenshots to return.

func WithAppScreenshotsRequestContext added in v1.260828.0

func WithAppScreenshotsRequestContext(factory RequestContextFunc) AppScreenshotsOption

WithAppScreenshotsRequestContext creates a fresh context for each page fetched by GetAllAppScreenshots.

type AppScreenshotsResponse

type AppScreenshotsResponse = Response[AppScreenshotAttributes]

Response types

type AppSearchKeywordsOption

type AppSearchKeywordsOption func(*appSearchKeywordsQuery)

AppSearchKeywordsOption sets the query of GET /v1/apps/{id}/searchKeywords (apps_searchKeywords_getToManyRelated).

func WithAppSearchKeywordsLocales

func WithAppSearchKeywordsLocales(locales []string) AppSearchKeywordsOption

WithAppSearchKeywordsLocales sets filter[locale].

func WithAppSearchKeywordsPlatforms

func WithAppSearchKeywordsPlatforms(platforms []string) AppSearchKeywordsOption

WithAppSearchKeywordsPlatforms sets filter[platform].

type AppSetupInfoResult

type AppSetupInfoResult struct {
	AppID               string                       `json:"appId"`
	App                 *AppResponse                 `json:"app,omitempty"`
	AppInfoLocalization *AppInfoLocalizationResponse `json:"appInfoLocalization,omitempty"`
}

AppSetupInfoResult represents CLI output for app-setup info updates.

type AppStoreAgeRating

type AppStoreAgeRating string

AppStoreAgeRating represents an App Store age rating value.

const (
	AppStoreAgeRatingL             AppStoreAgeRating = "L"
	AppStoreAgeRatingAll           AppStoreAgeRating = "ALL"
	AppStoreAgeRatingZeroZero      AppStoreAgeRating = "ZERO_ZERO"
	AppStoreAgeRatingOnePlus       AppStoreAgeRating = "ONE_PLUS"
	AppStoreAgeRatingTwoPlus       AppStoreAgeRating = "TWO_PLUS"
	AppStoreAgeRatingThreePlus     AppStoreAgeRating = "THREE_PLUS"
	AppStoreAgeRatingFourPlus      AppStoreAgeRating = "FOUR_PLUS"
	AppStoreAgeRatingFivePlus      AppStoreAgeRating = "FIVE_PLUS"
	AppStoreAgeRatingSixPlus       AppStoreAgeRating = "SIX_PLUS"
	AppStoreAgeRatingSevenPlus     AppStoreAgeRating = "SEVEN_PLUS"
	AppStoreAgeRatingEightPlus     AppStoreAgeRating = "EIGHT_PLUS"
	AppStoreAgeRatingNinePlus      AppStoreAgeRating = "NINE_PLUS"
	AppStoreAgeRatingTenPlus       AppStoreAgeRating = "TEN_PLUS"
	AppStoreAgeRatingElevenPlus    AppStoreAgeRating = "ELEVEN_PLUS"
	AppStoreAgeRatingTwelvePlus    AppStoreAgeRating = "TWELVE_PLUS"
	AppStoreAgeRatingThirteenPlus  AppStoreAgeRating = "THIRTEEN_PLUS"
	AppStoreAgeRatingFourteenPlus  AppStoreAgeRating = "FOURTEEN_PLUS"
	AppStoreAgeRatingFifteenPlus   AppStoreAgeRating = "FIFTEEN_PLUS"
	AppStoreAgeRatingSixteenPlus   AppStoreAgeRating = "SIXTEEN_PLUS"
	AppStoreAgeRatingSeventeenPlus AppStoreAgeRating = "SEVENTEEN_PLUS"
	AppStoreAgeRatingEighteenPlus  AppStoreAgeRating = "EIGHTEEN_PLUS"
	AppStoreAgeRatingNineteenPlus  AppStoreAgeRating = "NINETEEN_PLUS"
	AppStoreAgeRatingTwentyPlus    AppStoreAgeRating = "TWENTY_PLUS"
	AppStoreAgeRatingTwentyOnePlus AppStoreAgeRating = "TWENTY_ONE_PLUS"
	AppStoreAgeRatingUnrated       AppStoreAgeRating = "UNRATED"
)

type AppStorePublishResult

type AppStorePublishResult struct {
	Mode         PublishMode                 `json:"mode,omitempty"`
	DryRun       bool                        `json:"dryRun,omitempty"`
	BuildVersion string                      `json:"buildVersion,omitempty"`
	BuildNumber  string                      `json:"buildNumber,omitempty"`
	BuildID      string                      `json:"buildId"`
	VersionID    string                      `json:"versionId"`
	SubmissionID string                      `json:"submissionId,omitempty"`
	Uploaded     bool                        `json:"uploaded"`
	Attached     bool                        `json:"attached"`
	Submitted    bool                        `json:"submitted"`
	Plan         []PublishPlanStep           `json:"plan,omitempty"`
	Archive      *PublishArchiveStageResult  `json:"archive,omitempty"`
	Export       *PublishExportStageResult   `json:"export,omitempty"`
	Publish      *AppStorePublishStageResult `json:"publish,omitempty"`
}

AppStorePublishResult captures the App Store publish workflow output.

type AppStorePublishStageResult added in v1.260404.0

type AppStorePublishStageResult struct {
	BuildVersion string `json:"buildVersion,omitempty"`
	BuildNumber  string `json:"buildNumber,omitempty"`
	BuildID      string `json:"buildId"`
	VersionID    string `json:"versionId"`
	SubmissionID string `json:"submissionId,omitempty"`
	Uploaded     bool   `json:"uploaded"`
	Attached     bool   `json:"attached"`
	Submitted    bool   `json:"submitted"`
}

AppStorePublishStageResult duplicates the publish summary inside local-build mode so agents can inspect stage-specific output.

type AppStoreReviewAttachmentAttributes

type AppStoreReviewAttachmentAttributes struct {
	FileSize           int64               `json:"fileSize,omitempty"`
	FileName           string              `json:"fileName,omitempty"`
	SourceFileChecksum string              `json:"sourceFileChecksum,omitempty"`
	UploadOperations   []UploadOperation   `json:"uploadOperations,omitempty"`
	AssetDeliveryState *AppMediaAssetState `json:"assetDeliveryState,omitempty"`
}

AppStoreReviewAttachmentAttributes describes attachment attributes.

type AppStoreReviewAttachmentCreateAttributes

type AppStoreReviewAttachmentCreateAttributes struct {
	FileSize int64  `json:"fileSize"`
	FileName string `json:"fileName"`
}

AppStoreReviewAttachmentCreateAttributes describes create attributes.

type AppStoreReviewAttachmentCreateData

type AppStoreReviewAttachmentCreateData struct {
	Type          ResourceType                             `json:"type"`
	Attributes    AppStoreReviewAttachmentCreateAttributes `json:"attributes"`
	Relationships *AppStoreReviewAttachmentRelationships   `json:"relationships"`
}

AppStoreReviewAttachmentCreateData is the data object of the AppStoreReviewAttachmentCreateRequest schema.

type AppStoreReviewAttachmentCreateRequest

type AppStoreReviewAttachmentCreateRequest struct {
	Data AppStoreReviewAttachmentCreateData `json:"data"`
}

AppStoreReviewAttachmentCreateRequest is the AppStoreReviewAttachmentCreateRequest schema.

type AppStoreReviewAttachmentRelationships

type AppStoreReviewAttachmentRelationships struct {
	AppStoreReviewDetail *Relationship `json:"appStoreReviewDetail"`
}

AppStoreReviewAttachmentRelationships is the data.relationships object of the AppStoreReviewAttachmentCreateRequest schema.

type AppStoreReviewAttachmentResponse

type AppStoreReviewAttachmentResponse = SingleResponse[AppStoreReviewAttachmentAttributes]

AppStoreReviewAttachmentResponse is the AppStoreReviewAttachmentResponse schema.

type AppStoreReviewAttachmentUpdateAttributes

type AppStoreReviewAttachmentUpdateAttributes struct {
	SourceFileChecksum *string `json:"sourceFileChecksum,omitempty"`
	Uploaded           *bool   `json:"uploaded,omitempty"`
}

AppStoreReviewAttachmentUpdateAttributes is the data.attributes object of the AppStoreReviewAttachmentUpdateRequest schema.

type AppStoreReviewAttachmentUpdateData

type AppStoreReviewAttachmentUpdateData struct {
	Type       ResourceType                              `json:"type"`
	ID         string                                    `json:"id"`
	Attributes *AppStoreReviewAttachmentUpdateAttributes `json:"attributes,omitempty"`
}

AppStoreReviewAttachmentUpdateData is the data object of the AppStoreReviewAttachmentUpdateRequest schema.

type AppStoreReviewAttachmentUpdateRequest

type AppStoreReviewAttachmentUpdateRequest struct {
	Data AppStoreReviewAttachmentUpdateData `json:"data"`
}

AppStoreReviewAttachmentUpdateRequest is the AppStoreReviewAttachmentUpdateRequest schema.

type AppStoreReviewAttachmentsOption

type AppStoreReviewAttachmentsOption func(*appStoreReviewAttachmentsQuery)

AppStoreReviewAttachmentsOption sets the query of GET /v1/appStoreReviewAttachments/{id} (appStoreReviewAttachments_getInstance) and GET /v1/appStoreReviewDetails/{id}/appStoreReviewAttachments (appStoreReviewDetails_appStoreReviewAttachments_getToManyRelated).

func WithAppStoreReviewAttachmentReviewDetailFields

func WithAppStoreReviewAttachmentReviewDetailFields(fields []string) AppStoreReviewAttachmentsOption

WithAppStoreReviewAttachmentReviewDetailFields sets fields[appStoreReviewDetails].

func WithAppStoreReviewAttachmentsFields

func WithAppStoreReviewAttachmentsFields(fields []string) AppStoreReviewAttachmentsOption

WithAppStoreReviewAttachmentsFields sets fields[appStoreReviewAttachments].

func WithAppStoreReviewAttachmentsInclude

func WithAppStoreReviewAttachmentsInclude(include []string) AppStoreReviewAttachmentsOption

WithAppStoreReviewAttachmentsInclude sets include.

type AppStoreReviewAttachmentsResponse

type AppStoreReviewAttachmentsResponse = Response[AppStoreReviewAttachmentAttributes]

AppStoreReviewAttachmentsResponse is the response for attachment lists.

type AppStoreReviewDetailAttributes

type AppStoreReviewDetailAttributes struct {
	ContactFirstName    string `json:"contactFirstName,omitempty"`
	ContactLastName     string `json:"contactLastName,omitempty"`
	ContactPhone        string `json:"contactPhone,omitempty"`
	ContactEmail        string `json:"contactEmail,omitempty"`
	DemoAccountName     string `json:"demoAccountName,omitempty"`
	DemoAccountPassword string `json:"demoAccountPassword,omitempty"`
	DemoAccountRequired bool   `json:"demoAccountRequired,omitempty"`
	Notes               string `json:"notes,omitempty"`
	// contains filtered or unexported fields
}

AppStoreReviewDetailAttributes describes App Store review details.

func RedactAppStoreReviewDetailAttributes added in v1.260731.0

func RedactAppStoreReviewDetailAttributes(attrs AppStoreReviewDetailAttributes) AppStoreReviewDetailAttributes

RedactAppStoreReviewDetailAttributes returns a presentation-safe copy of App Store review detail attributes.

func (AppStoreReviewDetailAttributes) MarshalJSON

func (a AppStoreReviewDetailAttributes) MarshalJSON() ([]byte, error)

func (*AppStoreReviewDetailAttributes) UnmarshalJSON

func (a *AppStoreReviewDetailAttributes) UnmarshalJSON(data []byte) error

type AppStoreReviewDetailCreateAttributes

type AppStoreReviewDetailCreateAttributes struct {
	ContactFirstName    *string `json:"contactFirstName,omitempty"`
	ContactLastName     *string `json:"contactLastName,omitempty"`
	ContactPhone        *string `json:"contactPhone,omitempty"`
	ContactEmail        *string `json:"contactEmail,omitempty"`
	DemoAccountName     *string `json:"demoAccountName,omitempty"`
	DemoAccountPassword *string `json:"demoAccountPassword,omitempty"`
	DemoAccountRequired *bool   `json:"demoAccountRequired,omitempty"`
	Notes               *string `json:"notes,omitempty"`
}

AppStoreReviewDetailCreateAttributes is the data.attributes object of the AppStoreReviewDetailCreateRequest schema.

type AppStoreReviewDetailCreateData

type AppStoreReviewDetailCreateData struct {
	Type          ResourceType                             `json:"type"`
	Attributes    *AppStoreReviewDetailCreateAttributes    `json:"attributes,omitempty"`
	Relationships *AppStoreReviewDetailCreateRelationships `json:"relationships"`
}

AppStoreReviewDetailCreateData is the data object of the AppStoreReviewDetailCreateRequest schema.

type AppStoreReviewDetailCreateRelationships

type AppStoreReviewDetailCreateRelationships struct {
	AppStoreVersion *Relationship `json:"appStoreVersion"`
}

AppStoreReviewDetailCreateRelationships is the data.relationships object of the AppStoreReviewDetailCreateRequest schema.

type AppStoreReviewDetailCreateRequest

type AppStoreReviewDetailCreateRequest struct {
	Data AppStoreReviewDetailCreateData `json:"data"`
}

AppStoreReviewDetailCreateRequest is the AppStoreReviewDetailCreateRequest schema.

type AppStoreReviewDetailResponse

type AppStoreReviewDetailResponse = SingleResponse[AppStoreReviewDetailAttributes]

AppStoreReviewDetailResponse is the AppStoreReviewDetailResponse schema.

func RedactAppStoreReviewDetailResponse added in v1.260731.0

func RedactAppStoreReviewDetailResponse(resp *AppStoreReviewDetailResponse) *AppStoreReviewDetailResponse

RedactAppStoreReviewDetailResponse returns a presentation-safe copy of a single App Store review detail response. The argument is left unmodified so callers keep the real password for requests, comparison, and validation.

type AppStoreReviewDetailUpdateAttributes

type AppStoreReviewDetailUpdateAttributes struct {
	ContactFirstName    *string `json:"contactFirstName,omitempty"`
	ContactLastName     *string `json:"contactLastName,omitempty"`
	ContactPhone        *string `json:"contactPhone,omitempty"`
	ContactEmail        *string `json:"contactEmail,omitempty"`
	DemoAccountName     *string `json:"demoAccountName,omitempty"`
	DemoAccountPassword *string `json:"demoAccountPassword,omitempty"`
	DemoAccountRequired *bool   `json:"demoAccountRequired,omitempty"`
	Notes               *string `json:"notes,omitempty"`
}

AppStoreReviewDetailUpdateAttributes is the data.attributes object of the AppStoreReviewDetailUpdateRequest schema.

type AppStoreReviewDetailUpdateData

type AppStoreReviewDetailUpdateData struct {
	Type       ResourceType                          `json:"type"`
	ID         string                                `json:"id"`
	Attributes *AppStoreReviewDetailUpdateAttributes `json:"attributes,omitempty"`
}

AppStoreReviewDetailUpdateData is the data object of the AppStoreReviewDetailUpdateRequest schema.

type AppStoreReviewDetailUpdateRequest

type AppStoreReviewDetailUpdateRequest struct {
	Data AppStoreReviewDetailUpdateData `json:"data"`
}

AppStoreReviewDetailUpdateRequest is the AppStoreReviewDetailUpdateRequest schema.

type AppStoreVersionAgeRatingDeclarationLinkageResponse

type AppStoreVersionAgeRatingDeclarationLinkageResponse struct {
	Data  ResourceData `json:"data"`
	Links Links        `json:"links"`
}

AppStoreVersionAgeRatingDeclarationLinkageResponse is the response for age rating relationships.

type AppStoreVersionAlternativeDistributionPackageLinkageResponse

type AppStoreVersionAlternativeDistributionPackageLinkageResponse struct {
	Data  ResourceData `json:"data"`
	Links Links        `json:"links"`
}

AppStoreVersionAlternativeDistributionPackageLinkageResponse is the response for app store version package relationships.

type AppStoreVersionAppClipDefaultExperienceLinkageResponse

type AppStoreVersionAppClipDefaultExperienceLinkageResponse struct {
	Data  ResourceData `json:"data"`
	Links Links        `json:"links"`
}

AppStoreVersionAppClipDefaultExperienceLinkageResponse is the response for app clip default experience relationships.

type AppStoreVersionAppStoreReviewDetailLinkageResponse

type AppStoreVersionAppStoreReviewDetailLinkageResponse struct {
	Data  ResourceData `json:"data"`
	Links Links        `json:"links"`
}

AppStoreVersionAppStoreReviewDetailLinkageResponse is the response for review detail relationships.

type AppStoreVersionAppStoreVersionSubmissionLinkageResponse

type AppStoreVersionAppStoreVersionSubmissionLinkageResponse struct {
	Data  ResourceData `json:"data"`
	Links Links        `json:"links"`
}

AppStoreVersionAppStoreVersionSubmissionLinkageResponse is the response for submission relationships.

type AppStoreVersionAttachBuildResult

type AppStoreVersionAttachBuildResult struct {
	VersionID string `json:"versionId"`
	BuildID   string `json:"buildId"`
	Attached  bool   `json:"attached"`
}

AppStoreVersionAttachBuildResult represents CLI output for build attachment.

type AppStoreVersionAttributes

type AppStoreVersionAttributes struct {
	Platform            Platform `json:"platform,omitempty"`
	VersionString       string   `json:"versionString,omitempty"`
	AppStoreState       string   `json:"appStoreState,omitempty"`
	AppVersionState     string   `json:"appVersionState,omitempty"`
	Copyright           string   `json:"copyright,omitempty"`
	CreatedDate         string   `json:"createdDate,omitempty"`
	ReleaseType         string   `json:"releaseType,omitempty"`
	EarliestReleaseDate string   `json:"earliestReleaseDate,omitempty"`
	// Downloadable is nullable in the App Store Connect API. A pointer keeps
	// false distinct from an omitted or null attribute in sparse responses.
	Downloadable *bool `json:"downloadable,omitempty"`
	// contains filtered or unexported fields
}

AppStoreVersionAttributes describes app store version metadata.

func (AppStoreVersionAttributes) MarshalJSON

func (a AppStoreVersionAttributes) MarshalJSON() ([]byte, error)

func (*AppStoreVersionAttributes) UnmarshalJSON

func (a *AppStoreVersionAttributes) UnmarshalJSON(data []byte) error

type AppStoreVersionBuildLinkageResponse

type AppStoreVersionBuildLinkageResponse struct {
	Data  ResourceData `json:"data"`
	Links Links        `json:"links"`
}

AppStoreVersionBuildLinkageResponse is the response for build relationships.

type AppStoreVersionBuildRelationshipUpdateRequest

type AppStoreVersionBuildRelationshipUpdateRequest struct {
	Data ResourceData `json:"data"`
}

AppStoreVersionBuildRelationshipUpdateRequest is a request to attach a build to a version.

type AppStoreVersionCreateAttributes

type AppStoreVersionCreateAttributes struct {
	Platform            Platform `json:"platform"`
	VersionString       string   `json:"versionString"`
	Copyright           string   `json:"copyright,omitempty"`
	ReleaseType         string   `json:"releaseType,omitempty"`
	EarliestReleaseDate string   `json:"earliestReleaseDate,omitempty"`
	ReviewType          string   `json:"reviewType,omitempty"`
}

AppStoreVersionCreateAttributes describes app store version create payload attributes.

type AppStoreVersionCreateData

type AppStoreVersionCreateData struct {
	Type          ResourceType                        `json:"type"`
	Attributes    AppStoreVersionCreateAttributes     `json:"attributes"`
	Relationships *AppStoreVersionCreateRelationships `json:"relationships"`
}

AppStoreVersionCreateData is the data object of the AppStoreVersionCreateRequest schema.

type AppStoreVersionCreateRelationships

type AppStoreVersionCreateRelationships struct {
	App   *Relationship `json:"app"`
	Build *Relationship `json:"build,omitempty"`
}

AppStoreVersionCreateRelationships describes relationships for app store version create requests.

type AppStoreVersionCreateRequest

type AppStoreVersionCreateRequest struct {
	Data AppStoreVersionCreateData `json:"data"`
}

AppStoreVersionCreateRequest is the AppStoreVersionCreateRequest schema.

type AppStoreVersionDeleteResult

type AppStoreVersionDeleteResult struct {
	Deleted   bool   `json:"deleted"`
	VersionID string `json:"versionId"`
}

AppStoreVersionDeleteResult represents CLI output for version deletions.

type AppStoreVersionDetailResult

type AppStoreVersionDetailResult struct {
	ID            string `json:"id"`
	VersionString string `json:"versionString,omitempty"`
	Platform      string `json:"platform,omitempty"`
	State         string `json:"state,omitempty"`
	// Downloadable mirrors Apple's nullable appStoreVersions attribute. The
	// pointer keeps false distinct from an attribute Apple did not return.
	Downloadable *bool                               `json:"downloadable,omitempty"`
	BuildID      string                              `json:"buildId,omitempty"`
	BuildVersion string                              `json:"buildVersion,omitempty"`
	SubmissionID string                              `json:"submissionId,omitempty"`
	MetadataCopy *AppStoreVersionMetadataCopySummary `json:"metadataCopy,omitempty"`
	// IdempotentWriteReceipt is populated by versions create; view and
	// update leave it empty so their output is unchanged.
	IdempotentWriteReceipt
}

AppStoreVersionDetailResult represents CLI output for version details.

type AppStoreVersionExperimentAttributes

type AppStoreVersionExperimentAttributes struct {
	Name              string `json:"name,omitempty"`
	TrafficProportion *int   `json:"trafficProportion,omitempty"`
	State             string `json:"state,omitempty"`
	ReviewRequired    *bool  `json:"reviewRequired,omitempty"`
	StartDate         string `json:"startDate,omitempty"`
	EndDate           string `json:"endDate,omitempty"`
}

AppStoreVersionExperimentAttributes describes experiment attributes (v1).

type AppStoreVersionExperimentCreateAttributes

type AppStoreVersionExperimentCreateAttributes struct {
	Name              string `json:"name"`
	TrafficProportion int    `json:"trafficProportion"`
}

AppStoreVersionExperimentCreateAttributes is the data.attributes object of the AppStoreVersionExperimentCreateRequest schema.

type AppStoreVersionExperimentCreateData

type AppStoreVersionExperimentCreateData struct {
	Type          ResourceType                                  `json:"type"`
	Attributes    AppStoreVersionExperimentCreateAttributes     `json:"attributes"`
	Relationships *AppStoreVersionExperimentCreateRelationships `json:"relationships"`
}

AppStoreVersionExperimentCreateData is the data object of the AppStoreVersionExperimentCreateRequest schema.

type AppStoreVersionExperimentCreateRelationships

type AppStoreVersionExperimentCreateRelationships struct {
	AppStoreVersion *Relationship `json:"appStoreVersion"`
}

AppStoreVersionExperimentCreateRelationships is the data.relationships object of the AppStoreVersionExperimentCreateRequest schema.

type AppStoreVersionExperimentCreateRequest

type AppStoreVersionExperimentCreateRequest struct {
	Data AppStoreVersionExperimentCreateData `json:"data"`
}

AppStoreVersionExperimentCreateRequest is the AppStoreVersionExperimentCreateRequest schema.

type AppStoreVersionExperimentResponse

type AppStoreVersionExperimentResponse = SingleResponse[AppStoreVersionExperimentAttributes]

AppStoreVersionExperimentResponse is the AppStoreVersionExperimentResponse schema.

type AppStoreVersionExperimentTreatmentAttributes

type AppStoreVersionExperimentTreatmentAttributes struct {
	Name         string      `json:"name,omitempty"`
	AppIcon      *ImageAsset `json:"appIcon,omitempty"`
	AppIconName  string      `json:"appIconName,omitempty"`
	PromotedDate string      `json:"promotedDate,omitempty"`
}

AppStoreVersionExperimentTreatmentAttributes is the attributes object of the AppStoreVersionExperimentTreatment schema.

type AppStoreVersionExperimentTreatmentCreateAttributes

type AppStoreVersionExperimentTreatmentCreateAttributes struct {
	Name        string `json:"name"`
	AppIconName string `json:"appIconName,omitempty"`
}

AppStoreVersionExperimentTreatmentCreateAttributes describes create payload attributes.

type AppStoreVersionExperimentTreatmentCreateData

type AppStoreVersionExperimentTreatmentCreateData struct {
	Type          ResourceType                                           `json:"type"`
	Attributes    AppStoreVersionExperimentTreatmentCreateAttributes     `json:"attributes"`
	Relationships *AppStoreVersionExperimentTreatmentCreateRelationships `json:"relationships,omitempty"`
}

AppStoreVersionExperimentTreatmentCreateData is the data object of the AppStoreVersionExperimentTreatmentCreateRequest schema.

type AppStoreVersionExperimentTreatmentCreateRelationships

type AppStoreVersionExperimentTreatmentCreateRelationships struct {
	AppStoreVersionExperiment   *Relationship `json:"appStoreVersionExperiment,omitempty"`
	AppStoreVersionExperimentV2 *Relationship `json:"appStoreVersionExperimentV2,omitempty"`
}

AppStoreVersionExperimentTreatmentCreateRelationships is the data.relationships object of the AppStoreVersionExperimentTreatmentCreateRequest schema.

type AppStoreVersionExperimentTreatmentCreateRequest

type AppStoreVersionExperimentTreatmentCreateRequest struct {
	Data AppStoreVersionExperimentTreatmentCreateData `json:"data"`
}

AppStoreVersionExperimentTreatmentCreateRequest is the AppStoreVersionExperimentTreatmentCreateRequest schema.

type AppStoreVersionExperimentTreatmentLocalizationAttributes

type AppStoreVersionExperimentTreatmentLocalizationAttributes struct {
	Locale string `json:"locale,omitempty"`
}

AppStoreVersionExperimentTreatmentLocalizationAttributes is the attributes object of the AppStoreVersionExperimentTreatmentLocalization schema.

type AppStoreVersionExperimentTreatmentLocalizationCreateAttributes

type AppStoreVersionExperimentTreatmentLocalizationCreateAttributes struct {
	Locale string `json:"locale"`
}

AppStoreVersionExperimentTreatmentLocalizationCreateAttributes is the data.attributes object of the AppStoreVersionExperimentTreatmentLocalizationCreateRequest schema.

type AppStoreVersionExperimentTreatmentLocalizationCreateData

type AppStoreVersionExperimentTreatmentLocalizationCreateData struct {
	Type          ResourceType                                                       `json:"type"`
	Attributes    AppStoreVersionExperimentTreatmentLocalizationCreateAttributes     `json:"attributes"`
	Relationships *AppStoreVersionExperimentTreatmentLocalizationCreateRelationships `json:"relationships"`
}

AppStoreVersionExperimentTreatmentLocalizationCreateData is the data object of the AppStoreVersionExperimentTreatmentLocalizationCreateRequest schema.

type AppStoreVersionExperimentTreatmentLocalizationCreateRelationships

type AppStoreVersionExperimentTreatmentLocalizationCreateRelationships struct {
	AppStoreVersionExperimentTreatment *Relationship `json:"appStoreVersionExperimentTreatment"`
}

AppStoreVersionExperimentTreatmentLocalizationCreateRelationships describes create relationships.

type AppStoreVersionExperimentTreatmentLocalizationCreateRequest

type AppStoreVersionExperimentTreatmentLocalizationCreateRequest struct {
	Data AppStoreVersionExperimentTreatmentLocalizationCreateData `json:"data"`
}

AppStoreVersionExperimentTreatmentLocalizationCreateRequest is the AppStoreVersionExperimentTreatmentLocalizationCreateRequest schema.

type AppStoreVersionExperimentTreatmentLocalizationPreviewSetsOption

type AppStoreVersionExperimentTreatmentLocalizationPreviewSetsOption func(*appStoreVersionExperimentTreatmentLocalizationPreviewSetsQuery)

AppStoreVersionExperimentTreatmentLocalizationPreviewSetsOption sets the query of GET /v1/appStoreVersionExperimentTreatmentLocalizations/{id}/appPreviewSets (appStoreVersionExperimentTreatmentLocalizations_appPreviewSets_getToManyRelated).

type AppStoreVersionExperimentTreatmentLocalizationResponse

type AppStoreVersionExperimentTreatmentLocalizationResponse = SingleResponse[AppStoreVersionExperimentTreatmentLocalizationAttributes]

AppStoreVersionExperimentTreatmentLocalizationResponse is the AppStoreVersionExperimentTreatmentLocalizationResponse schema.

type AppStoreVersionExperimentTreatmentLocalizationScreenshotSetsOption

type AppStoreVersionExperimentTreatmentLocalizationScreenshotSetsOption func(*appStoreVersionExperimentTreatmentLocalizationScreenshotSetsQuery)

AppStoreVersionExperimentTreatmentLocalizationScreenshotSetsOption is a functional option for treatment localization screenshot set list endpoints.

func WithAppStoreVersionExperimentTreatmentLocalizationScreenshotSetsIncludeScreenshots

func WithAppStoreVersionExperimentTreatmentLocalizationScreenshotSetsIncludeScreenshots() AppStoreVersionExperimentTreatmentLocalizationScreenshotSetsOption

WithAppStoreVersionExperimentTreatmentLocalizationScreenshotSetsIncludeScreenshots includes each set's screenshots.

func WithAppStoreVersionExperimentTreatmentLocalizationScreenshotSetsRequestContext added in v1.260828.0

func WithAppStoreVersionExperimentTreatmentLocalizationScreenshotSetsRequestContext(factory RequestContextFunc) AppStoreVersionExperimentTreatmentLocalizationScreenshotSetsOption

WithAppStoreVersionExperimentTreatmentLocalizationScreenshotSetsRequestContext creates a fresh context for each page fetched by GetAllAppStoreVersionExperimentTreatmentLocalizationScreenshotSets.

type AppStoreVersionExperimentTreatmentLocalizationsOption

type AppStoreVersionExperimentTreatmentLocalizationsOption func(*appStoreVersionExperimentTreatmentLocalizationsQuery)

AppStoreVersionExperimentTreatmentLocalizationsOption is a functional option for treatment localization list endpoints.

func WithAppStoreVersionExperimentTreatmentLocalizationsInclude

func WithAppStoreVersionExperimentTreatmentLocalizationsInclude(include []string) AppStoreVersionExperimentTreatmentLocalizationsOption

WithAppStoreVersionExperimentTreatmentLocalizationsInclude includes related resources.

func WithAppStoreVersionExperimentTreatmentLocalizationsPlacementsLimit

func WithAppStoreVersionExperimentTreatmentLocalizationsPlacementsLimit(limit int) AppStoreVersionExperimentTreatmentLocalizationsOption

WithAppStoreVersionExperimentTreatmentLocalizationsPlacementsLimit sets limit[placements].

type AppStoreVersionExperimentTreatmentLocalizationsResponse

type AppStoreVersionExperimentTreatmentLocalizationsResponse = Response[AppStoreVersionExperimentTreatmentLocalizationAttributes]

AppStoreVersionExperimentTreatmentLocalizationsResponse is the response from treatment localization list endpoints.

type AppStoreVersionExperimentTreatmentResponse

type AppStoreVersionExperimentTreatmentResponse = SingleResponse[AppStoreVersionExperimentTreatmentAttributes]

AppStoreVersionExperimentTreatmentResponse is the AppStoreVersionExperimentTreatmentResponse schema.

type AppStoreVersionExperimentTreatmentUpdateAttributes

type AppStoreVersionExperimentTreatmentUpdateAttributes struct {
	Name        *string `json:"name,omitempty"`
	AppIconName *string `json:"appIconName,omitempty"`
}

AppStoreVersionExperimentTreatmentUpdateAttributes is the data.attributes object of the AppStoreVersionExperimentTreatmentUpdateRequest schema.

type AppStoreVersionExperimentTreatmentUpdateData

type AppStoreVersionExperimentTreatmentUpdateData struct {
	Type       ResourceType                                        `json:"type"`
	ID         string                                              `json:"id"`
	Attributes *AppStoreVersionExperimentTreatmentUpdateAttributes `json:"attributes,omitempty"`
}

AppStoreVersionExperimentTreatmentUpdateData is the data object of the AppStoreVersionExperimentTreatmentUpdateRequest schema.

type AppStoreVersionExperimentTreatmentUpdateRequest

type AppStoreVersionExperimentTreatmentUpdateRequest struct {
	Data AppStoreVersionExperimentTreatmentUpdateData `json:"data"`
}

AppStoreVersionExperimentTreatmentUpdateRequest is the AppStoreVersionExperimentTreatmentUpdateRequest schema.

type AppStoreVersionExperimentTreatmentsOption

type AppStoreVersionExperimentTreatmentsOption func(*appStoreVersionExperimentTreatmentsQuery)

AppStoreVersionExperimentTreatmentsOption sets the query of GET /v2/appStoreVersionExperiments/{id}/appStoreVersionExperimentTreatments (appStoreVersionExperimentsV2_appStoreVersionExperimentTreatments_getToManyRelated) and GET /v1/appStoreVersionExperiments/{id}/appStoreVersionExperimentTreatments (appStoreVersionExperiments_appStoreVersionExperimentTreatments_getToManyRelated).

type AppStoreVersionExperimentTreatmentsResponse

type AppStoreVersionExperimentTreatmentsResponse = Response[AppStoreVersionExperimentTreatmentAttributes]

AppStoreVersionExperimentTreatmentsResponse is the response from treatment list endpoints.

type AppStoreVersionExperimentUpdateAttributes

type AppStoreVersionExperimentUpdateAttributes struct {
	Name              *string `json:"name,omitempty"`
	TrafficProportion *int    `json:"trafficProportion,omitempty"`
	Started           *bool   `json:"started,omitempty"`
}

AppStoreVersionExperimentUpdateAttributes is the data.attributes object of the AppStoreVersionExperimentUpdateRequest schema.

type AppStoreVersionExperimentUpdateData

type AppStoreVersionExperimentUpdateData struct {
	Type       ResourceType                               `json:"type"`
	ID         string                                     `json:"id"`
	Attributes *AppStoreVersionExperimentUpdateAttributes `json:"attributes,omitempty"`
}

AppStoreVersionExperimentUpdateData is the data object of the AppStoreVersionExperimentUpdateRequest schema.

type AppStoreVersionExperimentUpdateRequest

type AppStoreVersionExperimentUpdateRequest struct {
	Data AppStoreVersionExperimentUpdateData `json:"data"`
}

AppStoreVersionExperimentUpdateRequest is the AppStoreVersionExperimentUpdateRequest schema.

type AppStoreVersionExperimentV2Attributes

type AppStoreVersionExperimentV2Attributes struct {
	Name              string   `json:"name,omitempty"`
	Platform          Platform `json:"platform,omitempty"`
	TrafficProportion *int     `json:"trafficProportion,omitempty"`
	State             string   `json:"state,omitempty"`
	ReviewRequired    *bool    `json:"reviewRequired,omitempty"`
	StartDate         string   `json:"startDate,omitempty"`
	EndDate           string   `json:"endDate,omitempty"`
}

AppStoreVersionExperimentV2Attributes describes experiment attributes (v2).

type AppStoreVersionExperimentV2CreateAttributes

type AppStoreVersionExperimentV2CreateAttributes struct {
	Name              string   `json:"name"`
	Platform          Platform `json:"platform"`
	TrafficProportion int      `json:"trafficProportion"`
}

AppStoreVersionExperimentV2CreateAttributes is the data.attributes object of the AppStoreVersionExperimentV2CreateRequest schema.

type AppStoreVersionExperimentV2CreateData

type AppStoreVersionExperimentV2CreateData struct {
	Type          ResourceType                                    `json:"type"`
	Attributes    AppStoreVersionExperimentV2CreateAttributes     `json:"attributes"`
	Relationships *AppStoreVersionExperimentV2CreateRelationships `json:"relationships"`
}

AppStoreVersionExperimentV2CreateData is the data object of the AppStoreVersionExperimentV2CreateRequest schema.

type AppStoreVersionExperimentV2CreateRelationships

type AppStoreVersionExperimentV2CreateRelationships struct {
	App *Relationship `json:"app"`
}

AppStoreVersionExperimentV2CreateRelationships is the data.relationships object of the AppStoreVersionExperimentV2CreateRequest schema.

type AppStoreVersionExperimentV2CreateRequest

type AppStoreVersionExperimentV2CreateRequest struct {
	Data AppStoreVersionExperimentV2CreateData `json:"data"`
}

AppStoreVersionExperimentV2CreateRequest is the AppStoreVersionExperimentV2CreateRequest schema.

type AppStoreVersionExperimentV2Response

type AppStoreVersionExperimentV2Response = SingleResponse[AppStoreVersionExperimentV2Attributes]

AppStoreVersionExperimentV2Response is the AppStoreVersionExperimentV2Response schema.

type AppStoreVersionExperimentV2UpdateAttributes

type AppStoreVersionExperimentV2UpdateAttributes struct {
	Name              *string `json:"name,omitempty"`
	TrafficProportion *int    `json:"trafficProportion,omitempty"`
	Started           *bool   `json:"started,omitempty"`
}

AppStoreVersionExperimentV2UpdateAttributes is the data.attributes object of the AppStoreVersionExperimentV2UpdateRequest schema.

type AppStoreVersionExperimentV2UpdateData

type AppStoreVersionExperimentV2UpdateData struct {
	Type       ResourceType                                 `json:"type"`
	ID         string                                       `json:"id"`
	Attributes *AppStoreVersionExperimentV2UpdateAttributes `json:"attributes,omitempty"`
}

AppStoreVersionExperimentV2UpdateData is the data object of the AppStoreVersionExperimentV2UpdateRequest schema.

type AppStoreVersionExperimentV2UpdateRequest

type AppStoreVersionExperimentV2UpdateRequest struct {
	Data AppStoreVersionExperimentV2UpdateData `json:"data"`
}

AppStoreVersionExperimentV2UpdateRequest is the AppStoreVersionExperimentV2UpdateRequest schema.

type AppStoreVersionExperimentsOption

type AppStoreVersionExperimentsOption func(*appStoreVersionExperimentsQuery)

AppStoreVersionExperimentsOption sets the query of GET /v1/appStoreVersions/{id}/appStoreVersionExperiments (appStoreVersions_appStoreVersionExperiments_getToManyRelated).

func WithAppStoreVersionExperimentsState

func WithAppStoreVersionExperimentsState(states []string) AppStoreVersionExperimentsOption

WithAppStoreVersionExperimentsState sets filter[state].

type AppStoreVersionExperimentsResponse

type AppStoreVersionExperimentsResponse = Response[AppStoreVersionExperimentAttributes]

AppStoreVersionExperimentsResponse is the response from experiment list endpoints (v1).

type AppStoreVersionExperimentsV2Option

type AppStoreVersionExperimentsV2Option func(*appStoreVersionExperimentsV2Query)

AppStoreVersionExperimentsV2Option sets the query of GET /v1/appStoreVersions/{id}/appStoreVersionExperimentsV2 (appStoreVersions_appStoreVersionExperimentsV2_getToManyRelated) and GET /v1/apps/{id}/appStoreVersionExperimentsV2 (apps_appStoreVersionExperimentsV2_getToManyRelated).

func WithAppStoreVersionExperimentsV2State

func WithAppStoreVersionExperimentsV2State(states []string) AppStoreVersionExperimentsV2Option

WithAppStoreVersionExperimentsV2State sets filter[state].

type AppStoreVersionExperimentsV2Response

type AppStoreVersionExperimentsV2Response = Response[AppStoreVersionExperimentV2Attributes]

AppStoreVersionExperimentsV2Response is the response from experiment list endpoints (v2).

type AppStoreVersionGameCenterAppVersionLinkageResponse

type AppStoreVersionGameCenterAppVersionLinkageResponse struct {
	Data  ResourceData `json:"data"`
	Links Links        `json:"links"`
}

AppStoreVersionGameCenterAppVersionLinkageResponse is the response for Game Center app version relationships.

type AppStoreVersionLocalizationAttributes

type AppStoreVersionLocalizationAttributes struct {
	Locale          string `json:"locale,omitempty"`
	Description     string `json:"description,omitempty"`
	Keywords        string `json:"keywords,omitempty"`
	MarketingURL    string `json:"marketingUrl,omitempty"`
	PromotionalText string `json:"promotionalText,omitempty"`
	SupportURL      string `json:"supportUrl,omitempty"`
	WhatsNew        string `json:"whatsNew,omitempty"`
	// contains filtered or unexported fields
}

AppStoreVersionLocalizationAttributes describes app store version localization metadata.

func (AppStoreVersionLocalizationAttributes) CreateAttributes

CreateAttributes returns the fields a version localization create sends.

func (AppStoreVersionLocalizationAttributes) MarshalJSON

func (a AppStoreVersionLocalizationAttributes) MarshalJSON() ([]byte, error)

func (*AppStoreVersionLocalizationAttributes) UnmarshalJSON

func (a *AppStoreVersionLocalizationAttributes) UnmarshalJSON(data []byte) error

func (AppStoreVersionLocalizationAttributes) UpdateAttributes

UpdateAttributes returns the fields a version localization update sends; the locale cannot change.

type AppStoreVersionLocalizationCreateAttributes

type AppStoreVersionLocalizationCreateAttributes struct {
	Locale          string `json:"locale,omitempty"`
	Description     string `json:"description,omitempty"`
	Keywords        string `json:"keywords,omitempty"`
	MarketingURL    string `json:"marketingUrl,omitempty"`
	PromotionalText string `json:"promotionalText,omitempty"`
	SupportURL      string `json:"supportUrl,omitempty"`
	WhatsNew        string `json:"whatsNew,omitempty"`
}

AppStoreVersionLocalizationCreateAttributes is the data.attributes object of the AppStoreVersionLocalizationCreateRequest schema, in the field order and with the omitempty tags the create has always sent.

type AppStoreVersionLocalizationCreateData

type AppStoreVersionLocalizationCreateData struct {
	Type          ResourceType                                `json:"type"`
	Attributes    AppStoreVersionLocalizationCreateAttributes `json:"attributes"`
	Relationships *AppStoreVersionLocalizationRelationships   `json:"relationships"`
}

AppStoreVersionLocalizationCreateData is the data object of the AppStoreVersionLocalizationCreateRequest schema.

type AppStoreVersionLocalizationCreateRequest

type AppStoreVersionLocalizationCreateRequest struct {
	Data AppStoreVersionLocalizationCreateData `json:"data"`
}

AppStoreVersionLocalizationCreateRequest is the AppStoreVersionLocalizationCreateRequest schema.

type AppStoreVersionLocalizationPreviewSetsOption

type AppStoreVersionLocalizationPreviewSetsOption func(*appStoreVersionLocalizationPreviewSetsQuery)

AppStoreVersionLocalizationPreviewSetsOption is a functional option for app store version preview sets list endpoints.

func WithAppStoreVersionLocalizationPreviewSetsIncludePreviews

func WithAppStoreVersionLocalizationPreviewSetsIncludePreviews() AppStoreVersionLocalizationPreviewSetsOption

WithAppStoreVersionLocalizationPreviewSetsIncludePreviews includes each set's previews.

type AppStoreVersionLocalizationRelationships

type AppStoreVersionLocalizationRelationships struct {
	AppStoreVersion *Relationship `json:"appStoreVersion"`
}

AppStoreVersionLocalizationRelationships describes relationships for version localizations.

type AppStoreVersionLocalizationResponse

type AppStoreVersionLocalizationResponse = SingleResponse[AppStoreVersionLocalizationAttributes]

AppStoreVersionLocalizationResponse is the AppStoreVersionLocalizationResponse schema.

type AppStoreVersionLocalizationScreenshotSetsOption

type AppStoreVersionLocalizationScreenshotSetsOption func(*appStoreVersionLocalizationScreenshotSetsQuery)

AppStoreVersionLocalizationScreenshotSetsOption is a functional option for app store version screenshot sets list endpoints.

func WithAppStoreVersionLocalizationScreenshotSetsIncludeScreenshots

func WithAppStoreVersionLocalizationScreenshotSetsIncludeScreenshots() AppStoreVersionLocalizationScreenshotSetsOption

WithAppStoreVersionLocalizationScreenshotSetsIncludeScreenshots includes each set's screenshots.

type AppStoreVersionLocalizationUpdateAttributes

type AppStoreVersionLocalizationUpdateAttributes struct {
	Description     string `json:"description,omitempty"`
	Keywords        string `json:"keywords,omitempty"`
	MarketingURL    string `json:"marketingUrl,omitempty"`
	PromotionalText string `json:"promotionalText,omitempty"`
	SupportURL      string `json:"supportUrl,omitempty"`
	WhatsNew        string `json:"whatsNew,omitempty"`
}

AppStoreVersionLocalizationUpdateAttributes is the data.attributes object of the AppStoreVersionLocalizationUpdateRequest schema, with the omitempty tags the update has always sent.

type AppStoreVersionLocalizationUpdateData

type AppStoreVersionLocalizationUpdateData struct {
	Type       ResourceType                                `json:"type"`
	ID         string                                      `json:"id"`
	Attributes AppStoreVersionLocalizationUpdateAttributes `json:"attributes"`
}

AppStoreVersionLocalizationUpdateData is the data portion of a version localization update request.

type AppStoreVersionLocalizationUpdateRequest

type AppStoreVersionLocalizationUpdateRequest struct {
	Data AppStoreVersionLocalizationUpdateData `json:"data"`
}

AppStoreVersionLocalizationUpdateRequest is the AppStoreVersionLocalizationUpdateRequest schema.

type AppStoreVersionLocalizationsOption

type AppStoreVersionLocalizationsOption func(*appStoreVersionLocalizationsQuery)

AppStoreVersionLocalizationsOption is a functional option for version localizations.

func WithAppStoreVersionLocalizationLocales

func WithAppStoreVersionLocalizationLocales(locales []string) AppStoreVersionLocalizationsOption

WithAppStoreVersionLocalizationLocales filters version localizations by locale.

func WithAppStoreVersionLocalizationsInclude added in v1.260822.0

func WithAppStoreVersionLocalizationsInclude(include []string) AppStoreVersionLocalizationsOption

WithAppStoreVersionLocalizationsInclude includes related resources for version localizations (appStoreVersion, appScreenshotSets, appPreviewSets, searchKeywords, placements).

func WithAppStoreVersionLocalizationsPlacementsLimit

func WithAppStoreVersionLocalizationsPlacementsLimit(limit int) AppStoreVersionLocalizationsOption

WithAppStoreVersionLocalizationsPlacementsLimit sets limit[placements].

type AppStoreVersionLocalizationsResponse

type AppStoreVersionLocalizationsResponse = Response[AppStoreVersionLocalizationAttributes]

AppStoreVersionLocalizationsResponse is the response from app store version localizations endpoints.

type AppStoreVersionMetadataCopySummary

type AppStoreVersionMetadataCopySummary struct {
	SourceVersion      string   `json:"sourceVersion"`
	SourceVersionID    string   `json:"sourceVersionId,omitempty"`
	SelectedFields     []string `json:"selectedFields,omitempty"`
	CopiedLocales      int      `json:"copiedLocales"`
	CopiedFieldUpdates int      `json:"copiedFieldUpdates"`
	SkippedLocales     []string `json:"skippedLocales,omitempty"`
}

AppStoreVersionMetadataCopySummary represents metadata carry-forward details during version creation.

type AppStoreVersionOption

type AppStoreVersionOption func(*appStoreVersionQuery)

AppStoreVersionOption is a functional option for GetAppStoreVersion.

func WithAppStoreVersionInclude

func WithAppStoreVersionInclude(include []string) AppStoreVersionOption

WithAppStoreVersionInclude includes related resources for a version.

func WithAppStoreVersionLocalizationsIncludeLimit added in v1.260713.0

func WithAppStoreVersionLocalizationsIncludeLimit(limit int) AppStoreVersionOption

WithAppStoreVersionLocalizationsIncludeLimit sets the maximum number of localizations returned through an app store version include.

type AppStoreVersionPhasedReleaseAttributes

type AppStoreVersionPhasedReleaseAttributes struct {
	PhasedReleaseState PhasedReleaseState `json:"phasedReleaseState,omitempty"`
	StartDate          string             `json:"startDate,omitempty"`
	TotalPauseDuration int                `json:"totalPauseDuration,omitempty"`
	CurrentDayNumber   int                `json:"currentDayNumber,omitempty"`
	// contains filtered or unexported fields
}

AppStoreVersionPhasedReleaseAttributes represents the attributes of a phased release.

func (AppStoreVersionPhasedReleaseAttributes) MarshalJSON

func (a AppStoreVersionPhasedReleaseAttributes) MarshalJSON() ([]byte, error)

func (*AppStoreVersionPhasedReleaseAttributes) UnmarshalJSON

func (a *AppStoreVersionPhasedReleaseAttributes) UnmarshalJSON(data []byte) error

type AppStoreVersionPhasedReleaseCreateAttributes

type AppStoreVersionPhasedReleaseCreateAttributes struct {
	PhasedReleaseState PhasedReleaseState `json:"phasedReleaseState,omitempty"`
}

AppStoreVersionPhasedReleaseCreateAttributes represents attributes for creating a phased release.

type AppStoreVersionPhasedReleaseCreateData

type AppStoreVersionPhasedReleaseCreateData struct {
	Type          ResourceType                                  `json:"type"`
	Attributes    *AppStoreVersionPhasedReleaseCreateAttributes `json:"attributes,omitempty"`
	Relationships AppStoreVersionPhasedReleaseRelationships     `json:"relationships"`
}

AppStoreVersionPhasedReleaseCreateData is the data object of the AppStoreVersionPhasedReleaseCreateRequest schema.

type AppStoreVersionPhasedReleaseCreateRequest

type AppStoreVersionPhasedReleaseCreateRequest struct {
	Data AppStoreVersionPhasedReleaseCreateData `json:"data"`
}

AppStoreVersionPhasedReleaseCreateRequest is the AppStoreVersionPhasedReleaseCreateRequest schema.

type AppStoreVersionPhasedReleaseDeleteResult

type AppStoreVersionPhasedReleaseDeleteResult struct {
	ID      string `json:"id"`
	Deleted bool   `json:"deleted"`
}

AppStoreVersionPhasedReleaseDeleteResult represents the result of deleting a phased release.

type AppStoreVersionPhasedReleaseRelationships

type AppStoreVersionPhasedReleaseRelationships struct {
	AppStoreVersion *Relationship `json:"appStoreVersion"`
}

AppStoreVersionPhasedReleaseRelationships represents the relationships for a phased release.

type AppStoreVersionPhasedReleaseResponse

type AppStoreVersionPhasedReleaseResponse struct {
	// Data is nil when the version has no phased release ({"data":null}).
	Data  *Resource[AppStoreVersionPhasedReleaseAttributes] `json:"data"`
	Links Links                                             `json:"links"`
}

AppStoreVersionPhasedReleaseResponse represents an API response for a phased release.

type AppStoreVersionPhasedReleaseUpdateAttributes

type AppStoreVersionPhasedReleaseUpdateAttributes struct {
	PhasedReleaseState PhasedReleaseState `json:"phasedReleaseState,omitempty"`
}

AppStoreVersionPhasedReleaseUpdateAttributes represents attributes for updating a phased release.

type AppStoreVersionPhasedReleaseUpdateData

type AppStoreVersionPhasedReleaseUpdateData struct {
	Type       ResourceType                                  `json:"type"`
	ID         string                                        `json:"id"`
	Attributes *AppStoreVersionPhasedReleaseUpdateAttributes `json:"attributes,omitempty"`
}

AppStoreVersionPhasedReleaseUpdateData is the data object of the AppStoreVersionPhasedReleaseUpdateRequest schema.

type AppStoreVersionPhasedReleaseUpdateRequest

type AppStoreVersionPhasedReleaseUpdateRequest struct {
	Data AppStoreVersionPhasedReleaseUpdateData `json:"data"`
}

AppStoreVersionPhasedReleaseUpdateRequest is the AppStoreVersionPhasedReleaseUpdateRequest schema.

type AppStoreVersionPromotionAttributes

type AppStoreVersionPromotionAttributes struct {
	CreatedDate string `json:"createdDate,omitempty"`
}

AppStoreVersionPromotionAttributes describes promotion metadata.

type AppStoreVersionPromotionCreateData

type AppStoreVersionPromotionCreateData struct {
	Type          ResourceType                          `json:"type"`
	Relationships AppStoreVersionPromotionRelationships `json:"relationships"`
}

AppStoreVersionPromotionCreateData is the data object of the AppStoreVersionPromotionCreateRequest schema.

type AppStoreVersionPromotionCreateRequest

type AppStoreVersionPromotionCreateRequest struct {
	Data AppStoreVersionPromotionCreateData `json:"data"`
}

AppStoreVersionPromotionCreateRequest is the AppStoreVersionPromotionCreateRequest schema.

type AppStoreVersionPromotionCreateResult

type AppStoreVersionPromotionCreateResult struct {
	PromotionID string `json:"promotionId"`
	VersionID   string `json:"versionId"`
	TreatmentID string `json:"treatmentId,omitempty"`
}

AppStoreVersionPromotionCreateResult represents CLI output for promotion creation.

type AppStoreVersionPromotionRelationships

type AppStoreVersionPromotionRelationships struct {
	AppStoreVersion                    Relationship `json:"appStoreVersion"`
	AppStoreVersionExperimentTreatment Relationship `json:"appStoreVersionExperimentTreatment"`
}

AppStoreVersionPromotionRelationships describes promotion relationships.

type AppStoreVersionPromotionResponse

type AppStoreVersionPromotionResponse struct {
	Data  Resource[AppStoreVersionPromotionAttributes] `json:"data"`
	Links Links                                        `json:"links"`
}

AppStoreVersionPromotionResponse is the response from promotion create endpoints.

type AppStoreVersionRatingResetCreateResult

type AppStoreVersionRatingResetCreateResult struct {
	RatingResetRequestID string `json:"ratingResetRequestId"`
	VersionID            string `json:"versionId"`
	Scheduled            bool   `json:"scheduled"`
}

AppStoreVersionRatingResetCreateResult represents CLI output for scheduling a rating reset.

type AppStoreVersionRatingResetDeleteResult

type AppStoreVersionRatingResetDeleteResult struct {
	RatingResetRequestID string `json:"ratingResetRequestId"`
	Cancelled            bool   `json:"cancelled"`
}

AppStoreVersionRatingResetDeleteResult represents CLI output for cancelling a rating reset.

type AppStoreVersionReleaseRequest

type AppStoreVersionReleaseRequest struct {
	Type ResourceType `json:"type"`
	ID   string       `json:"id"`
}

AppStoreVersionReleaseRequest represents a release request resource.

type AppStoreVersionReleaseRequestCreateData

type AppStoreVersionReleaseRequestCreateData struct {
	Type          ResourceType                               `json:"type"`
	Relationships AppStoreVersionReleaseRequestRelationships `json:"relationships"`
}

AppStoreVersionReleaseRequestCreateData is the data object of the AppStoreVersionReleaseRequestCreateRequest schema.

type AppStoreVersionReleaseRequestCreateRequest

type AppStoreVersionReleaseRequestCreateRequest struct {
	Data AppStoreVersionReleaseRequestCreateData `json:"data"`
}

AppStoreVersionReleaseRequestCreateRequest is the AppStoreVersionReleaseRequestCreateRequest schema.

type AppStoreVersionReleaseRequestRelationships

type AppStoreVersionReleaseRequestRelationships struct {
	AppStoreVersion Relationship `json:"appStoreVersion"`
}

AppStoreVersionReleaseRequestRelationships is the data.relationships object of the AppStoreVersionReleaseRequestCreateRequest schema.

type AppStoreVersionReleaseRequestResponse

type AppStoreVersionReleaseRequestResponse struct {
	Data  AppStoreVersionReleaseRequest `json:"data"`
	Links Links                         `json:"links"`
}

AppStoreVersionReleaseRequestResponse represents a release request API response.

type AppStoreVersionReleaseRequestResult

type AppStoreVersionReleaseRequestResult struct {
	ReleaseRequestID string `json:"releaseRequestId"`
	VersionID        string `json:"versionId"`
	// Reconciled is true when Apple answered with an error but the version
	// readback showed the release was accepted, so no request ID is known.
	Reconciled   bool   `json:"reconciled,omitempty"`
	VersionState string `json:"versionState,omitempty"`
}

AppStoreVersionReleaseRequestResult represents CLI output for release requests.

type AppStoreVersionResponse

type AppStoreVersionResponse = SingleResponse[AppStoreVersionAttributes]

AppStoreVersionResponse is the AppStoreVersionResponse schema.

type AppStoreVersionRoutingAppCoverageLinkageResponse

type AppStoreVersionRoutingAppCoverageLinkageResponse struct {
	Data  ResourceData `json:"data"`
	Links Links        `json:"links"`
}

AppStoreVersionRoutingAppCoverageLinkageResponse is the response for routing coverage relationships.

type AppStoreVersionSubmissionCancelResult

type AppStoreVersionSubmissionCancelResult struct {
	ID        string `json:"id"`
	Cancelled bool   `json:"cancelled"`
}

AppStoreVersionSubmissionCancelResult represents CLI output for submission cancellation.

type AppStoreVersionSubmissionCreateResult

type AppStoreVersionSubmissionCreateResult struct {
	SubmissionID string  `json:"submissionId"`
	VersionID    string  `json:"versionId"`
	BuildID      string  `json:"buildId"`
	CreatedDate  *string `json:"createdDate,omitempty"`
}

AppStoreVersionSubmissionCreateResult represents CLI output for submission creation.

type AppStoreVersionSubmissionResource

type AppStoreVersionSubmissionResource struct {
	Type       ResourceType `json:"type"`
	ID         string       `json:"id"`
	Attributes struct {
		CreatedDate *string `json:"createdDate,omitempty"`
	} `json:"attributes"`
	Relationships struct {
		AppStoreVersion *Relationship `json:"appStoreVersion,omitempty"`
	} `json:"relationships"`
}

AppStoreVersionSubmissionResource represents a submission with relationships.

type AppStoreVersionSubmissionResourceResponse

type AppStoreVersionSubmissionResourceResponse struct {
	Data AppStoreVersionSubmissionResource `json:"data"`
}

AppStoreVersionSubmissionResourceResponse is a response containing a submission resource.

type AppStoreVersionSubmissionResult

type AppStoreVersionSubmissionResult struct {
	SubmissionID string  `json:"submissionId"`
	CreatedDate  *string `json:"createdDate,omitempty"`
}

AppStoreVersionSubmissionResult represents CLI output for submissions.

type AppStoreVersionSubmissionStatusResult

type AppStoreVersionSubmissionStatusResult struct {
	ID            string  `json:"id"`
	VersionID     string  `json:"versionId,omitempty"`
	VersionString string  `json:"versionString,omitempty"`
	Platform      string  `json:"platform,omitempty"`
	State         string  `json:"state,omitempty"`
	CreatedDate   *string `json:"createdDate,omitempty"`
}

AppStoreVersionSubmissionStatusResult represents CLI output for submission status.

type AppStoreVersionUpdateAttributes

type AppStoreVersionUpdateAttributes struct {
	Copyright           *string `json:"copyright,omitempty"`
	ReleaseType         *string `json:"releaseType,omitempty"`
	ReviewType          *string `json:"reviewType,omitempty"`
	EarliestReleaseDate *string `json:"earliestReleaseDate,omitempty"`
	VersionString       *string `json:"versionString,omitempty"`
	// Downloadable is nullable on AppStoreVersionUpdateRequest. A pointer keeps
	// an unset flag out of the request body instead of sending false.
	Downloadable *bool `json:"downloadable,omitempty"`
}

AppStoreVersionUpdateAttributes describes app store version update payload attributes.

type AppStoreVersionUpdateData

type AppStoreVersionUpdateData struct {
	Type          ResourceType                        `json:"type"`
	ID            string                              `json:"id"`
	Attributes    AppStoreVersionUpdateAttributes     `json:"attributes"`
	Relationships *AppStoreVersionUpdateRelationships `json:"relationships,omitempty"`
}

AppStoreVersionUpdateData is the data portion of an app store version update request.

type AppStoreVersionUpdateRelationships

type AppStoreVersionUpdateRelationships struct {
	Build *Relationship `json:"build,omitempty"`
}

AppStoreVersionUpdateRelationships describes relationships for app store version update requests.

type AppStoreVersionUpdateRequest

type AppStoreVersionUpdateRequest struct {
	Data AppStoreVersionUpdateData `json:"data"`
}

AppStoreVersionUpdateRequest is the AppStoreVersionUpdateRequest schema.

type AppStoreVersionsLatestResult added in v1.260828.0

type AppStoreVersionsLatestResult struct {
	Items      []Resource[AppStoreVersionAttributes] `json:"items"`
	Included   json.RawMessage                       `json:"included,omitempty"`
	TotalCount int                                   `json:"totalCount"`
	HasMore    bool                                  `json:"hasMore"`
}

AppStoreVersionsLatestResult represents a computed latest-version list. Unlike a raw API response, its pagination fields describe only the selected items and cannot retain stale metadata from the aggregated source pages.

type AppStoreVersionsOption

type AppStoreVersionsOption func(*appStoreVersionsQuery)

AppStoreVersionsOption is a functional option for GetAppStoreVersions.

func WithAppStoreVersionsInclude

func WithAppStoreVersionsInclude(include []string) AppStoreVersionsOption

WithAppStoreVersionsInclude includes related resources for versions.

func WithAppStoreVersionsPlatforms

func WithAppStoreVersionsPlatforms(platforms []string) AppStoreVersionsOption

WithAppStoreVersionsPlatforms filters versions by platform.

func WithAppStoreVersionsStates

func WithAppStoreVersionsStates(states []string) AppStoreVersionsOption

WithAppStoreVersionsStates filters versions by state. Deprecated app store states are sent as filter[appStoreState]; modern version-only states use filter[appVersionState].

func WithAppStoreVersionsVersionStates added in v1.260601.0

func WithAppStoreVersionsVersionStates(states []string) AppStoreVersionsOption

WithAppStoreVersionsVersionStates filters versions by app version state.

func WithAppStoreVersionsVersionStrings

func WithAppStoreVersionsVersionStrings(versions []string) AppStoreVersionsOption

WithAppStoreVersionsVersionStrings filters versions by version string.

type AppStoreVersionsResponse

type AppStoreVersionsResponse = Response[AppStoreVersionAttributes]

AppStoreVersionsResponse is the response from app store versions endpoints.

type AppTagAttributes

type AppTagAttributes struct {
	Name              string `json:"name,omitempty"`
	VisibleInAppStore bool   `json:"visibleInAppStore,omitempty"`
}

AppTagAttributes is the attributes object of the AppTag schema.

type AppTagResponse

type AppTagResponse = SingleResponse[AppTagAttributes]

AppTagResponse is the AppTagResponse schema.

type AppTagTerritoriesLinkagesResponse

type AppTagTerritoriesLinkagesResponse = LinkagesResponse

AppTagTerritoriesLinkagesResponse is the response from app tag territory linkages endpoints.

type AppTagUpdateAttributes

type AppTagUpdateAttributes struct {
	VisibleInAppStore *bool `json:"visibleInAppStore,omitempty"`
}

AppTagUpdateAttributes is the data.attributes object of the AppTagUpdateRequest schema.

type AppTagUpdateData

type AppTagUpdateData struct {
	Type       ResourceType            `json:"type"`
	ID         string                  `json:"id"`
	Attributes *AppTagUpdateAttributes `json:"attributes,omitempty"`
}

AppTagUpdateData is the data object of the AppTagUpdateRequest schema.

type AppTagUpdateRequest

type AppTagUpdateRequest struct {
	Data AppTagUpdateData `json:"data"`
}

AppTagUpdateRequest is the AppTagUpdateRequest schema.

type AppTagsOption

type AppTagsOption func(*appTagsQuery)

AppTagsOption sets the query of GET /v1/apps/{id}/appTags (apps_appTags_getToManyRelated).

func WithAppTagsFields

func WithAppTagsFields(fields []string) AppTagsOption

WithAppTagsFields sets fields[appTags].

func WithAppTagsInclude

func WithAppTagsInclude(include []string) AppTagsOption

WithAppTagsInclude sets include.

func WithAppTagsSort

func WithAppTagsSort(sort string) AppTagsOption

WithAppTagsSort sets sort.

func WithAppTagsTerritoryFields

func WithAppTagsTerritoryFields(fields []string) AppTagsOption

WithAppTagsTerritoryFields sets fields[territories].

func WithAppTagsTerritoryLimit

func WithAppTagsTerritoryLimit(limit int) AppTagsOption

WithAppTagsTerritoryLimit sets limit[territories].

func WithAppTagsVisibleInAppStore

func WithAppTagsVisibleInAppStore(values []string) AppTagsOption

WithAppTagsVisibleInAppStore sets filter[visibleInAppStore].

type AppTagsResponse

type AppTagsResponse = Response[AppTagAttributes]

AppTagsResponse is the response from app tags endpoints.

type AppUpdateAttributes

type AppUpdateAttributes struct {
	BundleID                               *string                       `json:"bundleId,omitempty"`
	PrimaryLocale                          *string                       `json:"primaryLocale,omitempty"`
	ContentRightsDeclaration               *ContentRightsDeclaration     `json:"contentRightsDeclaration,omitempty"`
	AccessibilityURL                       *string                       `json:"accessibilityUrl,omitempty"`
	SubscriptionStatusURL                  *string                       `json:"subscriptionStatusUrl,omitempty"`
	SubscriptionStatusURLVersion           *SubscriptionStatusURLVersion `json:"subscriptionStatusUrlVersion,omitempty"`
	SubscriptionStatusURLForSandbox        *string                       `json:"subscriptionStatusUrlForSandbox,omitempty"`
	SubscriptionStatusURLVersionForSandbox *SubscriptionStatusURLVersion `json:"subscriptionStatusUrlVersionForSandbox,omitempty"`
	StreamlinedPurchasingEnabled           *bool                         `json:"streamlinedPurchasingEnabled,omitempty"`
}

AppUpdateAttributes describes fields for updating an app.

type AppUpdateData

type AppUpdateData struct {
	Type       ResourceType         `json:"type"`
	ID         string               `json:"id"`
	Attributes *AppUpdateAttributes `json:"attributes,omitempty"`
}

AppUpdateData is the data object of the AppUpdateRequest schema.

type AppUpdateRequest

type AppUpdateRequest struct {
	Data AppUpdateData `json:"data"`
}

AppUpdateRequest is the AppUpdateRequest schema.

type AppWallEntry

type AppWallEntry struct {
	ID          string `json:"id,omitempty"`
	Name        string `json:"name"`
	AppStoreURL string `json:"appStoreUrl"`
	ReleaseDate string `json:"releaseDate,omitempty"`
}

AppWallEntry represents one row in apps wall output.

type AppsOption

type AppsOption func(*appsQuery)

AppsOption sets the query of GET /v1/apps (apps_getCollection).

func WithAppsAppInfoFields added in v1.260722.0

func WithAppsAppInfoFields(fields []string) AppsOption

WithAppsAppInfoFields sets fields[appInfos].

func WithAppsBundleIDs

func WithAppsBundleIDs(bundleIDs []string) AppsOption

WithAppsBundleIDs sets filter[bundleId].

func WithAppsInAppPurchaseFields added in v1.260722.0

func WithAppsInAppPurchaseFields(fields []string) AppsOption

WithAppsInAppPurchaseFields sets fields[inAppPurchases].

func WithAppsInclude added in v1.260722.0

func WithAppsInclude(include []string) AppsOption

WithAppsInclude sets include.

func WithAppsNames

func WithAppsNames(names []string) AppsOption

WithAppsNames sets filter[name].

func WithAppsRetentionMessageFields

func WithAppsRetentionMessageFields(fields []string) AppsOption

WithAppsRetentionMessageFields sets fields[retentionMessages].

func WithAppsReviewSubmissionStates added in v1.260822.0

func WithAppsReviewSubmissionStates(states []string) AppsOption

WithAppsReviewSubmissionStates sets filter[reviewSubmissions.state].

func WithAppsSKUs

func WithAppsSKUs(skus []string) AppsOption

WithAppsSKUs sets filter[sku].

func WithAppsSort

func WithAppsSort(sort string) AppsOption

WithAppsSort sets sort.

func WithAppsSubscriptionGroupFields added in v1.260722.0

func WithAppsSubscriptionGroupFields(fields []string) AppsOption

WithAppsSubscriptionGroupFields sets fields[subscriptionGroups].

func WithAppsVersionStates added in v1.260822.0

func WithAppsVersionStates(states []string) AppsOption

WithAppsVersionStates sets filter[appStoreVersions.appVersionState].

type AppsPublishedReport added in v1.260828.0

type AppsPublishedReport struct {
	AuditedAppCount   int                   `json:"auditedAppCount"`
	PublishedAppCount int                   `json:"publishedAppCount"`
	Apps              []PublishedApp        `json:"apps"`
	Failures          []PublishedAppFailure `json:"failures,omitempty"`
}

AppsPublishedReport summarizes an account-wide published-app audit, retaining successful rows when individual app audits fail.

type AppsResponse

type AppsResponse = Response[AppAttributes]

AppsResponse is the AppsResponse schema.

type AppsWallResult

type AppsWallResult struct {
	Data []AppWallEntry `json:"data"`
}

AppsWallResult is the response payload for apps wall output.

type ArtifactArchitecture

type ArtifactArchitecture struct {
	CPUType       uint32          `json:"cpuType"`
	CPUSubtype    uint32          `json:"cpuSubtype"`
	Arch          string          `json:"arch"`
	CodeSignature string          `json:"codeSignature"`
	Signer        *ArtifactSigner `json:"signer"`
}

ArtifactArchitecture is the code signature of one main executable slice. cpuType and cpuSubtype are the raw Mach-O values; arch is the lipo name.

type ArtifactIPAInfo

type ArtifactIPAInfo struct {
	SignatureVerification string `json:"signatureVerification"`
	// SignatureVerificationDetail explains a requested verification result.
	SignatureVerificationDetail string                  `json:"signatureVerificationDetail,omitempty"`
	Path                        string                  `json:"path"`
	BundleID                    string                  `json:"bundleId,omitempty"`
	Name                        string                  `json:"name,omitempty"`
	Version                     string                  `json:"version,omitempty"`
	BuildNumber                 string                  `json:"buildNumber,omitempty"`
	MinimumOSVersion            string                  `json:"minimumOSVersion,omitempty"`
	Platforms                   []string                `json:"platforms,omitempty"`
	TeamID                      string                  `json:"teamId,omitempty"`
	SignerCommonName            string                  `json:"signerCommonName,omitempty"`
	Status                      string                  `json:"status"`
	NestedBundles               []ArtifactNestedBundle  `json:"nestedBundles"`
	Entitlements                map[string]any          `json:"entitlements,omitempty"`
	Profile                     *ArtifactProfileSummary `json:"profile,omitempty"`
	CodeSignature               string                  `json:"codeSignature,omitempty"`
	Signer                      *ArtifactSigner         `json:"signer"`
	Architectures               []ArtifactArchitecture  `json:"architectures,omitempty"`
	SignerConsistent            *bool                   `json:"signerConsistent,omitempty"`
}

ArtifactIPAInfo is the offline IPA inspection receipt.

type ArtifactNestedBundle

type ArtifactNestedBundle struct {
	BundleID string `json:"bundleId,omitempty"`
	Name     string `json:"name,omitempty"`
	Path     string `json:"path"`
}

ArtifactNestedBundle is an extension or App Clip found in an IPA.

type ArtifactPKGComponent

type ArtifactPKGComponent struct {
	Path            string                   `json:"path"`
	Identifier      string                   `json:"identifier,omitempty"`
	Version         string                   `json:"version,omitempty"`
	InstallLocation string                   `json:"installLocation,omitempty"`
	InstallKBytes   *int64                   `json:"installKBytes,omitempty"`
	BundleIDs       []string                 `json:"bundleIds,omitempty"`
	Primary         bool                     `json:"primary,omitempty"`
	App             *ArtifactPKGComponentApp `json:"app,omitempty"`
}

ArtifactPKGComponent is a component package embedded in a product archive.

type ArtifactPKGComponentApp

type ArtifactPKGComponentApp struct {
	Path             string   `json:"path"`
	BundleID         string   `json:"bundleId,omitempty"`
	Name             string   `json:"name,omitempty"`
	Version          string   `json:"version,omitempty"`
	BuildNumber      string   `json:"buildNumber,omitempty"`
	MinimumOSVersion string   `json:"minimumOSVersion,omitempty"`
	Platforms        []string `json:"platforms,omitempty"`
}

ArtifactPKGComponentApp is the app Info.plist read from a component payload.

type ArtifactPKGInfo

type ArtifactPKGInfo struct {
	SignatureVerification string `json:"signatureVerification"`
	// SignatureVerificationDetail explains a requested verification result.
	SignatureVerificationDetail string                 `json:"signatureVerificationDetail,omitempty"`
	Path                        string                 `json:"path"`
	ProductID                   string                 `json:"productId,omitempty"`
	Version                     string                 `json:"version,omitempty"`
	InstallLocation             string                 `json:"installLocation,omitempty"`
	BundleIDs                   []string               `json:"bundleIds,omitempty"`
	BundleID                    string                 `json:"bundleId,omitempty"`
	BuildNumber                 string                 `json:"buildNumber,omitempty"`
	MinimumOSVersion            string                 `json:"minimumOSVersion,omitempty"`
	Platforms                   []string               `json:"platforms,omitempty"`
	HostArchitectures           []string               `json:"hostArchitectures,omitempty"`
	SignerCommonName            string                 `json:"signerCommonName,omitempty"`
	TeamID                      string                 `json:"teamId,omitempty"`
	Status                      string                 `json:"status"`
	PackageSignature            string                 `json:"packageSignature,omitempty"`
	Signer                      *ArtifactSigner        `json:"signer"`
	Components                  []ArtifactPKGComponent `json:"components,omitempty"`
}

ArtifactPKGInfo is the offline flat package or product archive inspection receipt. The app fields and components are set only for product archives.

type ArtifactProfileSummary

type ArtifactProfileSummary struct {
	Name           string `json:"name,omitempty"`
	UUID           string `json:"uuid,omitempty"`
	ExpirationDate string `json:"expirationDate,omitempty"`
	ProfileType    string `json:"profileType,omitempty"`
}

ArtifactProfileSummary is the embedded provisioning profile summary.

type ArtifactSigner

type ArtifactSigner struct {
	CommonName                 string `json:"commonName,omitempty"`
	TeamID                     string `json:"teamId,omitempty"`
	Organization               string `json:"organization,omitempty"`
	IssuerCommonName           string `json:"issuerCommonName,omitempty"`
	IssuerOrganizationalUnit   string `json:"issuerOrganizationalUnit,omitempty"`
	DeveloperIDAuthorityStatus string `json:"developerIdAuthorityStatus,omitempty"`
	SerialNumber               string `json:"serialNumber,omitempty"`
	NotBefore                  string `json:"notBefore,omitempty"`
	NotAfter                   string `json:"notAfter,omitempty"`
	SHA1Fingerprint            string `json:"sha1Fingerprint,omitempty"`
	SHA256Fingerprint          string `json:"sha256Fingerprint,omitempty"`
}

ArtifactSigner is the leaf certificate read from an artifact signature. It is not validated against a trust store.

type AssetDeleteResult

type AssetDeleteResult struct {
	ID      string `json:"id"`
	Deleted bool   `json:"deleted"`
}

AssetDeleteResult represents deletion output for assets.

type AssetDeliveryState

type AssetDeliveryState struct {
	State  string        `json:"state"`
	Errors []ErrorDetail `json:"errors,omitempty"`
}

AssetDeliveryState describes the delivery state of an asset.

type AssetLibraryImageUploadEvent

type AssetLibraryImageUploadEvent struct {
	Event      string `json:"event"`
	Stage      string `json:"stage"`
	Status     string `json:"status"`
	DurationMs int64  `json:"durationMs"`
	RetryCount int    `json:"retryCount"`
	HTTPStatus int    `json:"httpStatus,omitempty"`
	ErrorCode  string `json:"errorCode,omitempty"`
}

AssetLibraryImageUploadEvent contains only bounded, non-identifying diagnostics.

type AssetLibraryImageUploadResult

type AssetLibraryImageUploadResult struct {
	Diagnostics   []AssetLibraryImageUploadEvent `json:"diagnostics,omitempty"`
	ImageID       string                         `json:"imageId"`
	Category      string                         `json:"category,omitempty"`
	LibraryID     string                         `json:"libraryId"`
	FileName      string                         `json:"fileName"`
	FileSize      int64                          `json:"fileSize"`
	ReferenceName string                         `json:"referenceName,omitempty"`
	Uploaded      bool                           `json:"uploaded"`
	Ready         bool                           `json:"ready"`
	State         string                         `json:"state,omitempty"`
	SpecID        string                         `json:"specId,omitempty"`
	Width         int                            `json:"width,omitempty"`
	Height        int                            `json:"height,omitempty"`
}

AssetLibraryImageUploadResult reports upload and processing independently. ImageID is retained in a partial result after reservation.

type AssetLibraryLocalizationUploadItem

type AssetLibraryLocalizationUploadItem struct {
	FileName       string `json:"fileName"`
	FilePath       string `json:"filePath"`
	State          string `json:"state"`
	AssetID        string `json:"assetId,omitempty"`
	PlacementID    string `json:"placementId,omitempty"`
	PlacementState string `json:"placementState,omitempty"`
	Error          string `json:"error,omitempty"`
}

AssetLibraryLocalizationUploadItem reports one file. State is would-upload, pending, upload-failed, uploaded, placement-failed or placed.

type AssetLibraryLocalizationUploadResult

type AssetLibraryLocalizationUploadResult struct {
	VersionLocalizationID string                               `json:"versionLocalizationId"`
	LibraryID             string                               `json:"libraryId"`
	PlacementType         string                               `json:"placementType"`
	PlacementGroup        string                               `json:"placementGroup"`
	MaxCount              int                                  `json:"maxCount"`
	ExistingPlacementIDs  []string                             `json:"existingPlacementIds"`
	DryRun                bool                                 `json:"dryRun"`
	Complete              bool                                 `json:"complete"`
	Ordered               bool                                 `json:"ordered"`
	OrderingRequestID     string                               `json:"orderingRequestId,omitempty"`
	Items                 []AssetLibraryLocalizationUploadItem `json:"items"`
}

AssetLibraryLocalizationUploadResult is the receipt for uploading media to the library and placing it on a version localization. Upload and placement are separate steps: Complete is true only when every file is placed and ordered.

type AssetLibraryMutationResult

type AssetLibraryMutationResult struct {
	AssetID              string `json:"assetId"`
	AssetType            string `json:"assetType"`
	Action               string `json:"action"`
	ReferenceName        string `json:"referenceName,omitempty"`
	Archived             *bool  `json:"archived,omitempty"`
	PreviewFrameTimeCode string `json:"previewFrameTimeCode,omitempty"`
}

AssetLibraryMutationResult reports an accepted asset lifecycle operation.

type AssetLibraryProfile

type AssetLibraryProfile struct {
	DisplayClass string
	Platform     string
}

AssetLibraryProfile identifies the placement profile that serves a legacy screenshot or preview slot. Apple publishes group IDs in reference data and does not promise their names, so callers look the group up by this pair.

func AssetLibraryProfileForSlot

func AssetLibraryProfileForSlot(slot string) (AssetLibraryProfile, bool)

AssetLibraryProfileForSlot maps a screenshot display type or preview type to its Asset Library placement profile.

type AssetLibraryVideoUploadResult

type AssetLibraryVideoUploadResult struct {
	VideoID              string `json:"videoId"`
	Category             string `json:"category,omitempty"`
	LibraryID            string `json:"libraryId"`
	FileName             string `json:"fileName"`
	FileSize             int64  `json:"fileSize"`
	ReferenceName        string `json:"referenceName,omitempty"`
	PreviewFrameTimeCode string `json:"previewFrameTimeCode,omitempty"`
	Uploaded             bool   `json:"uploaded"`
	Ready                bool   `json:"ready"`
	State                string `json:"state,omitempty"`
	SpecID               string `json:"specId,omitempty"`
	Width                int    `json:"width,omitempty"`
	Height               int    `json:"height,omitempty"`
}

AssetLibraryVideoUploadResult reports upload and processing independently. VideoID is retained in a partial result after reservation.

type AssetType

type AssetType = types.AssetType

Core types — aliases to types package.

type AssetUploadFailureItem added in v1.260407.0

type AssetUploadFailureItem struct {
	FileName string `json:"fileName,omitempty"`
	FilePath string `json:"filePath,omitempty"`
	Error    string `json:"error"`
}

AssetUploadFailureItem represents a failed upload item.

type AssetUploadResultItem

type AssetUploadResultItem struct {
	FileName string `json:"fileName"`
	FilePath string `json:"filePath"`
	AssetID  string `json:"assetId"`
	State    string `json:"state,omitempty"`
	Skipped  bool   `json:"skipped,omitempty"`
}

AssetUploadResultItem represents a single uploaded asset.

type AvailabilityPlatformListing added in v1.260825.0

type AvailabilityPlatformListing struct {
	Platform      string `json:"platform"`
	VersionString string `json:"versionString"`
	State         string `json:"state"`
	Live          bool   `json:"live"`
	StateKnown    bool   `json:"stateKnown"`
	CreatedDate   string `json:"createdDate,omitempty"`
}

AvailabilityPlatformListing summarizes the selected App Store version for one platform.

type AvailabilityPlatformsResult added in v1.260825.0

type AvailabilityPlatformsResult struct {
	AppID     string                        `json:"appId"`
	Platforms []AvailabilityPlatformListing `json:"platforms"`
}

AvailabilityPlatformsResult summarizes per-platform App Store listings for an app.

type AvailabilityRemoveFromSaleResult added in v1.260825.0

type AvailabilityRemoveFromSaleResult struct {
	AppID                             string                        `json:"appId"`
	AvailabilityID                    string                        `json:"availabilityId"`
	Status                            string                        `json:"status"`
	AvailableInNewTerritories         bool                          `json:"availableInNewTerritories"`
	TotalTerritories                  int                           `json:"totalTerritories"`
	UpdatedTerritories                int                           `json:"updatedTerritories"`
	AlreadyUnavailableTerritories     int                           `json:"alreadyUnavailableTerritories"`
	VerifiedUnavailableTerritories    int                           `json:"verifiedUnavailableTerritories"`
	FailedTerritories                 []string                      `json:"failedTerritories"`
	PlatformListingsVerified          bool                          `json:"platformListingsVerified"`
	PlatformListingsVerificationError string                        `json:"platformListingsVerificationError,omitempty"`
	RemovedPlatformListings           []AvailabilityPlatformListing `json:"removedPlatformListings,omitempty"`
}

AvailabilityRemoveFromSaleResult summarizes a verified remove-from-sale operation.

type BackgroundAssetAttributes

type BackgroundAssetAttributes struct {
	Archived            bool   `json:"archived,omitempty"`
	AssetPackIdentifier string `json:"assetPackIdentifier,omitempty"`
	CreatedDate         string `json:"createdDate,omitempty"`
	UsedBytes           *int64 `json:"usedBytes,omitempty"`
}

BackgroundAssetAttributes describes a background asset.

type BackgroundAssetCreateAttributes

type BackgroundAssetCreateAttributes struct {
	AssetPackIdentifier string `json:"assetPackIdentifier"`
}

BackgroundAssetCreateAttributes is the data.attributes object of the BackgroundAssetCreateRequest schema.

type BackgroundAssetCreateData

type BackgroundAssetCreateData struct {
	Type          ResourceType                       `json:"type"`
	Attributes    BackgroundAssetCreateAttributes    `json:"attributes"`
	Relationships BackgroundAssetCreateRelationships `json:"relationships"`
}

BackgroundAssetCreateData is the data object of the BackgroundAssetCreateRequest schema.

type BackgroundAssetCreateRelationships

type BackgroundAssetCreateRelationships struct {
	App Relationship `json:"app"`
}

BackgroundAssetCreateRelationships is the data.relationships object of the BackgroundAssetCreateRequest schema.

type BackgroundAssetCreateRequest

type BackgroundAssetCreateRequest struct {
	Data BackgroundAssetCreateData `json:"data"`
}

BackgroundAssetCreateRequest is the BackgroundAssetCreateRequest schema.

type BackgroundAssetResponse

type BackgroundAssetResponse = SingleResponse[BackgroundAssetAttributes]

BackgroundAssetResponse is the BackgroundAssetResponse schema.

type BackgroundAssetUpdateAttributes

type BackgroundAssetUpdateAttributes struct {
	Archived *bool `json:"archived,omitempty"`
}

BackgroundAssetUpdateAttributes is the data.attributes object of the BackgroundAssetUpdateRequest schema.

type BackgroundAssetUpdateData

type BackgroundAssetUpdateData struct {
	Type       ResourceType                     `json:"type"`
	ID         string                           `json:"id"`
	Attributes *BackgroundAssetUpdateAttributes `json:"attributes,omitempty"`
}

BackgroundAssetUpdateData is the data object of the BackgroundAssetUpdateRequest schema.

type BackgroundAssetUpdateRequest

type BackgroundAssetUpdateRequest struct {
	Data BackgroundAssetUpdateData `json:"data"`
}

BackgroundAssetUpdateRequest is the BackgroundAssetUpdateRequest schema.

type BackgroundAssetUploadFileAssetType

type BackgroundAssetUploadFileAssetType string

BackgroundAssetUploadFileAssetType describes the upload file type.

const (
	BackgroundAssetUploadFileAssetTypeAsset    BackgroundAssetUploadFileAssetType = "ASSET"
	BackgroundAssetUploadFileAssetTypeManifest BackgroundAssetUploadFileAssetType = "MANIFEST"
)

type BackgroundAssetUploadFileAttributes

type BackgroundAssetUploadFileAttributes struct {
	AssetDeliveryState  *AppMediaAssetState                `json:"assetDeliveryState,omitempty"`
	AssetToken          string                             `json:"assetToken,omitempty"`
	AssetType           BackgroundAssetUploadFileAssetType `json:"assetType,omitempty"`
	FileName            string                             `json:"fileName,omitempty"`
	FileSize            int64                              `json:"fileSize,omitempty"`
	SourceFileChecksum  string                             `json:"sourceFileChecksum,omitempty"`
	SourceFileChecksums *Checksums                         `json:"sourceFileChecksums,omitempty"`
	UploadOperations    []UploadOperation                  `json:"uploadOperations,omitempty"`
}

BackgroundAssetUploadFileAttributes describes a background asset upload file.

type BackgroundAssetUploadFileCreateAttributes

type BackgroundAssetUploadFileCreateAttributes struct {
	AssetType BackgroundAssetUploadFileAssetType `json:"assetType"`
	FileName  string                             `json:"fileName"`
	FileSize  int64                              `json:"fileSize"`
}

BackgroundAssetUploadFileCreateAttributes describes attributes for creating upload files.

type BackgroundAssetUploadFileCreateData

type BackgroundAssetUploadFileCreateData struct {
	Type          ResourceType                                 `json:"type"`
	Attributes    BackgroundAssetUploadFileCreateAttributes    `json:"attributes"`
	Relationships BackgroundAssetUploadFileCreateRelationships `json:"relationships"`
}

BackgroundAssetUploadFileCreateData is the data object of the BackgroundAssetUploadFileCreateRequest schema.

type BackgroundAssetUploadFileCreateRelationships

type BackgroundAssetUploadFileCreateRelationships struct {
	BackgroundAssetVersion Relationship `json:"backgroundAssetVersion"`
}

BackgroundAssetUploadFileCreateRelationships is the data.relationships object of the BackgroundAssetUploadFileCreateRequest schema.

type BackgroundAssetUploadFileCreateRequest

type BackgroundAssetUploadFileCreateRequest struct {
	Data BackgroundAssetUploadFileCreateData `json:"data"`
}

BackgroundAssetUploadFileCreateRequest is the BackgroundAssetUploadFileCreateRequest schema.

type BackgroundAssetUploadFileResponse

type BackgroundAssetUploadFileResponse = SingleResponse[BackgroundAssetUploadFileAttributes]

BackgroundAssetUploadFileResponse is the BackgroundAssetUploadFileResponse schema.

type BackgroundAssetUploadFileUpdateAttributes

type BackgroundAssetUploadFileUpdateAttributes struct {
	SourceFileChecksum  *string    `json:"sourceFileChecksum,omitempty"`
	SourceFileChecksums *Checksums `json:"sourceFileChecksums,omitempty"`
	Uploaded            *bool      `json:"uploaded,omitempty"`
}

BackgroundAssetUploadFileUpdateAttributes is the data.attributes object of the BackgroundAssetUploadFileUpdateRequest schema.

type BackgroundAssetUploadFileUpdateData

type BackgroundAssetUploadFileUpdateData struct {
	Type       ResourceType                               `json:"type"`
	ID         string                                     `json:"id"`
	Attributes *BackgroundAssetUploadFileUpdateAttributes `json:"attributes,omitempty"`
}

BackgroundAssetUploadFileUpdateData is the data object of the BackgroundAssetUploadFileUpdateRequest schema.

type BackgroundAssetUploadFileUpdateRequest

type BackgroundAssetUploadFileUpdateRequest struct {
	Data BackgroundAssetUploadFileUpdateData `json:"data"`
}

BackgroundAssetUploadFileUpdateRequest is the BackgroundAssetUploadFileUpdateRequest schema.

type BackgroundAssetUploadFilesOption

type BackgroundAssetUploadFilesOption func(*backgroundAssetUploadFilesQuery)

BackgroundAssetUploadFilesOption sets the query of GET /v1/backgroundAssetVersions/{id}/backgroundAssetUploadFiles (backgroundAssetVersions_backgroundAssetUploadFiles_getToManyRelated).

type BackgroundAssetUploadFilesResponse

type BackgroundAssetUploadFilesResponse = Response[BackgroundAssetUploadFileAttributes]

BackgroundAssetUploadFilesResponse represents a background asset upload files list response.

type BackgroundAssetVersionAppStoreReleaseAttributes

type BackgroundAssetVersionAppStoreReleaseAttributes struct {
	State string `json:"state,omitempty"`
}

BackgroundAssetVersionAppStoreReleaseAttributes is the attributes object of the BackgroundAssetVersionAppStoreRelease schema.

type BackgroundAssetVersionAppStoreReleaseResponse

type BackgroundAssetVersionAppStoreReleaseResponse = SingleResponse[BackgroundAssetVersionAppStoreReleaseAttributes]

BackgroundAssetVersionAppStoreReleaseResponse is the BackgroundAssetVersionAppStoreReleaseResponse schema.

type BackgroundAssetVersionAttributes

type BackgroundAssetVersionAttributes struct {
	CreatedDate  string                              `json:"createdDate,omitempty"`
	Locale       string                              `json:"locale,omitempty"`
	Platforms    []Platform                          `json:"platforms,omitempty"`
	State        string                              `json:"state,omitempty"`
	StateDetails *BackgroundAssetVersionStateDetails `json:"stateDetails,omitempty"`
	Version      string                              `json:"version,omitempty"`
}

BackgroundAssetVersionAttributes describes a background asset version.

type BackgroundAssetVersionCreateData

type BackgroundAssetVersionCreateData struct {
	Type          ResourceType                              `json:"type"`
	Relationships BackgroundAssetVersionCreateRelationships `json:"relationships"`
}

BackgroundAssetVersionCreateData is the data object of the BackgroundAssetVersionCreateRequest schema.

type BackgroundAssetVersionCreateRelationships

type BackgroundAssetVersionCreateRelationships struct {
	BackgroundAsset Relationship `json:"backgroundAsset"`
}

BackgroundAssetVersionCreateRelationships is the data.relationships object of the BackgroundAssetVersionCreateRequest schema.

type BackgroundAssetVersionCreateRequest

type BackgroundAssetVersionCreateRequest struct {
	Data BackgroundAssetVersionCreateData `json:"data"`
}

BackgroundAssetVersionCreateRequest is the BackgroundAssetVersionCreateRequest schema.

type BackgroundAssetVersionExternalBetaReleaseAttributes

type BackgroundAssetVersionExternalBetaReleaseAttributes struct {
	State string `json:"state,omitempty"`
}

BackgroundAssetVersionExternalBetaReleaseAttributes is the attributes object of the BackgroundAssetVersionExternalBetaRelease schema.

type BackgroundAssetVersionExternalBetaReleaseResponse

type BackgroundAssetVersionExternalBetaReleaseResponse = SingleResponse[BackgroundAssetVersionExternalBetaReleaseAttributes]

BackgroundAssetVersionExternalBetaReleaseResponse is the BackgroundAssetVersionExternalBetaReleaseResponse schema.

type BackgroundAssetVersionInternalBetaReleaseAttributes

type BackgroundAssetVersionInternalBetaReleaseAttributes struct {
	State string `json:"state,omitempty"`
}

BackgroundAssetVersionInternalBetaReleaseAttributes is the attributes object of the BackgroundAssetVersionInternalBetaRelease schema.

type BackgroundAssetVersionInternalBetaReleaseResponse

type BackgroundAssetVersionInternalBetaReleaseResponse = SingleResponse[BackgroundAssetVersionInternalBetaReleaseAttributes]

BackgroundAssetVersionInternalBetaReleaseResponse is the BackgroundAssetVersionInternalBetaReleaseResponse schema.

type BackgroundAssetVersionResponse

type BackgroundAssetVersionResponse = SingleResponse[BackgroundAssetVersionAttributes]

BackgroundAssetVersionResponse is the BackgroundAssetVersionResponse schema.

type BackgroundAssetVersionStateDetails

type BackgroundAssetVersionStateDetails struct {
	Errors   []StateDetail `json:"errors,omitempty"`
	Warnings []StateDetail `json:"warnings,omitempty"`
	Infos    []StateDetail `json:"infos,omitempty"`
}

BackgroundAssetVersionStateDetails describes status details for a version.

type BackgroundAssetVersionsOption

type BackgroundAssetVersionsOption func(*backgroundAssetVersionsQuery)

BackgroundAssetVersionsOption is a functional option for background asset versions list endpoints.

func WithBackgroundAssetVersionsFilterAppStoreState

func WithBackgroundAssetVersionsFilterAppStoreState(values []string) BackgroundAssetVersionsOption

WithBackgroundAssetVersionsFilterAppStoreState filters background asset versions by App Store release state.

func WithBackgroundAssetVersionsFilterExternalBetaState

func WithBackgroundAssetVersionsFilterExternalBetaState(values []string) BackgroundAssetVersionsOption

WithBackgroundAssetVersionsFilterExternalBetaState filters background asset versions by external beta release state.

func WithBackgroundAssetVersionsFilterInternalBetaState

func WithBackgroundAssetVersionsFilterInternalBetaState(values []string) BackgroundAssetVersionsOption

WithBackgroundAssetVersionsFilterInternalBetaState filters background asset versions by internal beta release state.

func WithBackgroundAssetVersionsFilterLocale added in v1.260610.0

func WithBackgroundAssetVersionsFilterLocale(values []string) BackgroundAssetVersionsOption

WithBackgroundAssetVersionsFilterLocale filters background asset versions by locale.

func WithBackgroundAssetVersionsFilterPlatforms

func WithBackgroundAssetVersionsFilterPlatforms(values []string) BackgroundAssetVersionsOption

WithBackgroundAssetVersionsFilterPlatforms filters background asset versions by platform.

func WithBackgroundAssetVersionsFilterState

func WithBackgroundAssetVersionsFilterState(values []string) BackgroundAssetVersionsOption

WithBackgroundAssetVersionsFilterState filters background asset versions by state.

func WithBackgroundAssetVersionsFilterVersion

func WithBackgroundAssetVersionsFilterVersion(values []string) BackgroundAssetVersionsOption

WithBackgroundAssetVersionsFilterVersion filters background asset versions by version.

func WithBackgroundAssetVersionsSort

func WithBackgroundAssetVersionsSort(sort string) BackgroundAssetVersionsOption

WithBackgroundAssetVersionsSort sets the sort order for background asset versions.

type BackgroundAssetVersionsResponse

type BackgroundAssetVersionsResponse = Response[BackgroundAssetVersionAttributes]

BackgroundAssetVersionsResponse represents a background asset versions list response.

type BackgroundAssetsOption

type BackgroundAssetsOption func(*backgroundAssetsQuery)

BackgroundAssetsOption is a functional option for background assets list endpoints.

func WithBackgroundAssetsFilterArchived

func WithBackgroundAssetsFilterArchived(values []string) BackgroundAssetsOption

WithBackgroundAssetsFilterArchived filters background assets by archived state.

func WithBackgroundAssetsFilterAssetPackIdentifier

func WithBackgroundAssetsFilterAssetPackIdentifier(values []string) BackgroundAssetsOption

WithBackgroundAssetsFilterAssetPackIdentifier filters background assets by asset pack identifier.

func WithBackgroundAssetsFilterVersionsLocale added in v1.260610.0

func WithBackgroundAssetsFilterVersionsLocale(values []string) BackgroundAssetsOption

WithBackgroundAssetsFilterVersionsLocale filters background assets by uploaded version locale.

func WithBackgroundAssetsFilterVersionsPlatforms

func WithBackgroundAssetsFilterVersionsPlatforms(values []string) BackgroundAssetsOption

WithBackgroundAssetsFilterVersionsPlatforms filters background assets by version platform.

func WithBackgroundAssetsSort

func WithBackgroundAssetsSort(sort string) BackgroundAssetsOption

WithBackgroundAssetsSort sets the sort order for background assets.

type BackgroundAssetsResponse

type BackgroundAssetsResponse = Response[BackgroundAssetAttributes]

BackgroundAssetsResponse represents a background assets list response.

type BearerTokenRenewer

type BearerTokenRenewer func(ctx context.Context) (string, error)

BearerTokenRenewer fetches a new App Store Connect token signed elsewhere.

type BetaAppClipInvocationAttributes

type BetaAppClipInvocationAttributes struct {
	URL *string `json:"url,omitempty"`
}

BetaAppClipInvocationAttributes describes a beta app clip invocation resource.

type BetaAppClipInvocationCreateAttributes

type BetaAppClipInvocationCreateAttributes struct {
	URL string `json:"url"`
}

BetaAppClipInvocationCreateAttributes is the data.attributes object of the BetaAppClipInvocationCreateRequest schema.

type BetaAppClipInvocationCreateData

type BetaAppClipInvocationCreateData struct {
	Type          ResourceType                          `json:"type"`
	Attributes    BetaAppClipInvocationCreateAttributes `json:"attributes"`
	Relationships *BetaAppClipInvocationRelationships   `json:"relationships,omitempty"`
}

BetaAppClipInvocationCreateData is the data object of the BetaAppClipInvocationCreateRequest schema.

type BetaAppClipInvocationCreateRequest

type BetaAppClipInvocationCreateRequest struct {
	Data     BetaAppClipInvocationCreateData                 `json:"data"`
	Included []BetaAppClipInvocationLocalizationInlineCreate `json:"included,omitempty"`
}

BetaAppClipInvocationCreateRequest is the create request payload.

type BetaAppClipInvocationLocalizationAttributes

type BetaAppClipInvocationLocalizationAttributes struct {
	Title  string `json:"title,omitempty"`
	Locale string `json:"locale,omitempty"`
}

BetaAppClipInvocationLocalizationAttributes is the attributes object of the BetaAppClipInvocationLocalization schema.

type BetaAppClipInvocationLocalizationCreateAttributes

type BetaAppClipInvocationLocalizationCreateAttributes struct {
	Title  string `json:"title"`
	Locale string `json:"locale"`
}

BetaAppClipInvocationLocalizationCreateAttributes is the data.attributes object of the BetaAppClipInvocationLocalizationCreateRequest schema.

type BetaAppClipInvocationLocalizationCreateData

type BetaAppClipInvocationLocalizationCreateData struct {
	Type          ResourceType                                      `json:"type"`
	Attributes    BetaAppClipInvocationLocalizationCreateAttributes `json:"attributes"`
	Relationships *BetaAppClipInvocationLocalizationRelationships   `json:"relationships"`
}

BetaAppClipInvocationLocalizationCreateData is the data object of the BetaAppClipInvocationLocalizationCreateRequest schema.

type BetaAppClipInvocationLocalizationCreateRequest

type BetaAppClipInvocationLocalizationCreateRequest struct {
	Data BetaAppClipInvocationLocalizationCreateData `json:"data"`
}

BetaAppClipInvocationLocalizationCreateRequest is the BetaAppClipInvocationLocalizationCreateRequest schema.

type BetaAppClipInvocationLocalizationInlineCreate added in v1.260419.0

type BetaAppClipInvocationLocalizationInlineCreate struct {
	Type          ResourceType                                      `json:"type"`
	ID            string                                            `json:"id,omitempty"`
	Attributes    BetaAppClipInvocationLocalizationCreateAttributes `json:"attributes"`
	Relationships *BetaAppClipInvocationLocalizationRelationships   `json:"relationships,omitempty"`
}

BetaAppClipInvocationLocalizationInlineCreate describes an inline localization create payload.

type BetaAppClipInvocationLocalizationRelationships

type BetaAppClipInvocationLocalizationRelationships struct {
	BetaAppClipInvocation *Relationship `json:"betaAppClipInvocation,omitempty"`
}

BetaAppClipInvocationLocalizationRelationships describes localization relationships.

type BetaAppClipInvocationLocalizationResponse

type BetaAppClipInvocationLocalizationResponse = SingleResponse[BetaAppClipInvocationLocalizationAttributes]

Response aliases.

type BetaAppClipInvocationLocalizationUpdateAttributes

type BetaAppClipInvocationLocalizationUpdateAttributes struct {
	Title *string `json:"title,omitempty"`
}

BetaAppClipInvocationLocalizationUpdateAttributes is the data.attributes object of the BetaAppClipInvocationLocalizationUpdateRequest schema.

type BetaAppClipInvocationLocalizationUpdateData

type BetaAppClipInvocationLocalizationUpdateData struct {
	Type       ResourceType                                       `json:"type"`
	ID         string                                             `json:"id"`
	Attributes *BetaAppClipInvocationLocalizationUpdateAttributes `json:"attributes,omitempty"`
}

BetaAppClipInvocationLocalizationUpdateData is the data object of the BetaAppClipInvocationLocalizationUpdateRequest schema.

type BetaAppClipInvocationLocalizationUpdateRequest

type BetaAppClipInvocationLocalizationUpdateRequest struct {
	Data BetaAppClipInvocationLocalizationUpdateData `json:"data"`
}

BetaAppClipInvocationLocalizationUpdateRequest is the BetaAppClipInvocationLocalizationUpdateRequest schema.

type BetaAppClipInvocationLocalizationsResponse

type BetaAppClipInvocationLocalizationsResponse = Response[BetaAppClipInvocationLocalizationAttributes]

Response aliases.

type BetaAppClipInvocationOption

type BetaAppClipInvocationOption func(*betaAppClipInvocationQuery)

BetaAppClipInvocationOption sets the query of GET /v1/betaAppClipInvocations/{id} (betaAppClipInvocations_getInstance).

func WithBetaAppClipInvocationInclude

func WithBetaAppClipInvocationInclude(include []string) BetaAppClipInvocationOption

WithBetaAppClipInvocationInclude sets include.

func WithBetaAppClipInvocationLocalizationsLimit

func WithBetaAppClipInvocationLocalizationsLimit(limit int) BetaAppClipInvocationOption

WithBetaAppClipInvocationLocalizationsLimit sets limit[betaAppClipInvocationLocalizations].

type BetaAppClipInvocationRelationships

type BetaAppClipInvocationRelationships struct {
	BuildBundle                        *Relationship     `json:"buildBundle,omitempty"`
	BetaAppClipInvocationLocalizations *RelationshipList `json:"betaAppClipInvocationLocalizations,omitempty"`
}

BetaAppClipInvocationRelationships describes invocation relationships.

type BetaAppClipInvocationResponse

type BetaAppClipInvocationResponse = SingleResponse[BetaAppClipInvocationAttributes]

Response aliases.

type BetaAppClipInvocationUpdateAttributes

type BetaAppClipInvocationUpdateAttributes struct {
	URL *string `json:"url,omitempty"`
}

BetaAppClipInvocationUpdateAttributes is the data.attributes object of the BetaAppClipInvocationUpdateRequest schema.

type BetaAppClipInvocationUpdateData

type BetaAppClipInvocationUpdateData struct {
	Type       ResourceType                           `json:"type"`
	ID         string                                 `json:"id"`
	Attributes *BetaAppClipInvocationUpdateAttributes `json:"attributes,omitempty"`
}

BetaAppClipInvocationUpdateData is the data object of the BetaAppClipInvocationUpdateRequest schema.

type BetaAppClipInvocationUpdateRequest

type BetaAppClipInvocationUpdateRequest struct {
	Data BetaAppClipInvocationUpdateData `json:"data"`
}

BetaAppClipInvocationUpdateRequest is the BetaAppClipInvocationUpdateRequest schema.

type BetaAppClipInvocationsOption

type BetaAppClipInvocationsOption func(*betaAppClipInvocationsQuery)

BetaAppClipInvocationsOption sets the query of GET /v1/buildBundles/{id}/betaAppClipInvocations (buildBundles_betaAppClipInvocations_getToManyRelated).

type BetaAppClipInvocationsResponse

type BetaAppClipInvocationsResponse = Response[BetaAppClipInvocationAttributes]

BetaAppClipInvocationsResponse is the response from beta app clip invocations endpoint.

type BetaAppLocalizationAttributes

type BetaAppLocalizationAttributes struct {
	FeedbackEmail     string `json:"feedbackEmail,omitempty"`
	MarketingURL      string `json:"marketingUrl,omitempty"`
	PrivacyPolicyURL  string `json:"privacyPolicyUrl,omitempty"`
	TvOSPrivacyPolicy string `json:"tvOsPrivacyPolicy,omitempty"`
	Description       string `json:"description,omitempty"`
	Locale            string `json:"locale,omitempty"`
	// contains filtered or unexported fields
}

BetaAppLocalizationAttributes describes TestFlight app localization metadata.

func (BetaAppLocalizationAttributes) CreateAttributes

CreateAttributes returns the fields a beta app localization create sends.

func (BetaAppLocalizationAttributes) MarshalJSON

func (a BetaAppLocalizationAttributes) MarshalJSON() ([]byte, error)

func (*BetaAppLocalizationAttributes) UnmarshalJSON

func (a *BetaAppLocalizationAttributes) UnmarshalJSON(data []byte) error

type BetaAppLocalizationCreateAttributes

type BetaAppLocalizationCreateAttributes struct {
	FeedbackEmail     string `json:"feedbackEmail,omitempty"`
	MarketingURL      string `json:"marketingUrl,omitempty"`
	PrivacyPolicyURL  string `json:"privacyPolicyUrl,omitempty"`
	TvOSPrivacyPolicy string `json:"tvOsPrivacyPolicy,omitempty"`
	Description       string `json:"description,omitempty"`
	Locale            string `json:"locale,omitempty"`
}

BetaAppLocalizationCreateAttributes is the data.attributes object of the BetaAppLocalizationCreateRequest schema, with the omitempty tags the create has always sent.

type BetaAppLocalizationCreateData

type BetaAppLocalizationCreateData struct {
	Type          ResourceType                        `json:"type"`
	Attributes    BetaAppLocalizationCreateAttributes `json:"attributes"`
	Relationships *BetaAppLocalizationRelationships   `json:"relationships"`
}

BetaAppLocalizationCreateData is the data object of the BetaAppLocalizationCreateRequest schema.

type BetaAppLocalizationCreateRequest

type BetaAppLocalizationCreateRequest struct {
	Data BetaAppLocalizationCreateData `json:"data"`
}

BetaAppLocalizationCreateRequest is the BetaAppLocalizationCreateRequest schema.

type BetaAppLocalizationRelationships

type BetaAppLocalizationRelationships struct {
	App *Relationship `json:"app"`
}

BetaAppLocalizationRelationships is the data.relationships object of the BetaAppLocalizationCreateRequest schema.

type BetaAppLocalizationResponse

type BetaAppLocalizationResponse = SingleResponse[BetaAppLocalizationAttributes]

BetaAppLocalizationResponse is the BetaAppLocalizationResponse schema.

type BetaAppLocalizationUpdateAttributes

type BetaAppLocalizationUpdateAttributes struct {
	FeedbackEmail     *string `json:"feedbackEmail,omitempty"`
	MarketingURL      *string `json:"marketingUrl,omitempty"`
	PrivacyPolicyURL  *string `json:"privacyPolicyUrl,omitempty"`
	TvOSPrivacyPolicy *string `json:"tvOsPrivacyPolicy,omitempty"`
	Description       *string `json:"description,omitempty"`
}

BetaAppLocalizationUpdateAttributes is the data.attributes object of the BetaAppLocalizationUpdateRequest schema.

type BetaAppLocalizationUpdateData

type BetaAppLocalizationUpdateData struct {
	Type       ResourceType                         `json:"type"`
	ID         string                               `json:"id"`
	Attributes *BetaAppLocalizationUpdateAttributes `json:"attributes,omitempty"`
}

BetaAppLocalizationUpdateData is the data object of the BetaAppLocalizationUpdateRequest schema.

type BetaAppLocalizationUpdateRequest

type BetaAppLocalizationUpdateRequest struct {
	Data BetaAppLocalizationUpdateData `json:"data"`
}

BetaAppLocalizationUpdateRequest is the BetaAppLocalizationUpdateRequest schema.

type BetaAppLocalizationsOption

type BetaAppLocalizationsOption func(*betaAppLocalizationsQuery)

BetaAppLocalizationsOption sets the query of GET /v1/betaAppLocalizations (betaAppLocalizations_getCollection).

func WithBetaAppLocalizationAppIDs

func WithBetaAppLocalizationAppIDs(ids []string) BetaAppLocalizationsOption

WithBetaAppLocalizationAppIDs sets filter[app].

func WithBetaAppLocalizationLocales

func WithBetaAppLocalizationLocales(locales []string) BetaAppLocalizationsOption

WithBetaAppLocalizationLocales sets filter[locale].

type BetaAppLocalizationsResponse

type BetaAppLocalizationsResponse = Response[BetaAppLocalizationAttributes]

BetaAppLocalizationsResponse is the BetaAppLocalizationsResponse schema.

type BetaAppReviewDetailAttributes

type BetaAppReviewDetailAttributes struct {
	ContactFirstName    string `json:"contactFirstName,omitempty"`
	ContactLastName     string `json:"contactLastName,omitempty"`
	ContactPhone        string `json:"contactPhone,omitempty"`
	ContactEmail        string `json:"contactEmail,omitempty"`
	DemoAccountName     string `json:"demoAccountName,omitempty"`
	DemoAccountPassword string `json:"demoAccountPassword,omitempty"`
	DemoAccountRequired bool   `json:"demoAccountRequired,omitempty"`
	Notes               string `json:"notes,omitempty"`
	// contains filtered or unexported fields
}

BetaAppReviewDetailAttributes describes beta app review details.

func RedactBetaAppReviewDetailAttributes added in v1.260731.0

func RedactBetaAppReviewDetailAttributes(attrs BetaAppReviewDetailAttributes) BetaAppReviewDetailAttributes

RedactBetaAppReviewDetailAttributes returns a presentation-safe copy of TestFlight beta app review detail attributes.

func (BetaAppReviewDetailAttributes) MarshalJSON

func (a BetaAppReviewDetailAttributes) MarshalJSON() ([]byte, error)

func (*BetaAppReviewDetailAttributes) UnmarshalJSON

func (a *BetaAppReviewDetailAttributes) UnmarshalJSON(data []byte) error

type BetaAppReviewDetailResponse

type BetaAppReviewDetailResponse = SingleResponse[BetaAppReviewDetailAttributes]

BetaAppReviewDetailResponse is the BetaAppReviewDetailResponse schema.

func RedactBetaAppReviewDetailResponse added in v1.260731.0

func RedactBetaAppReviewDetailResponse(resp *BetaAppReviewDetailResponse) *BetaAppReviewDetailResponse

RedactBetaAppReviewDetailResponse returns a presentation-safe copy of a single TestFlight beta app review detail response.

type BetaAppReviewDetailUpdateAttributes

type BetaAppReviewDetailUpdateAttributes struct {
	ContactFirstName    *string `json:"contactFirstName,omitempty"`
	ContactLastName     *string `json:"contactLastName,omitempty"`
	ContactPhone        *string `json:"contactPhone,omitempty"`
	ContactEmail        *string `json:"contactEmail,omitempty"`
	DemoAccountName     *string `json:"demoAccountName,omitempty"`
	DemoAccountPassword *string `json:"demoAccountPassword,omitempty"`
	DemoAccountRequired *bool   `json:"demoAccountRequired,omitempty"`
	Notes               *string `json:"notes,omitempty"`
}

BetaAppReviewDetailUpdateAttributes is the data.attributes object of the BetaAppReviewDetailUpdateRequest schema.

type BetaAppReviewDetailUpdateData

type BetaAppReviewDetailUpdateData struct {
	Type       ResourceType                         `json:"type"`
	ID         string                               `json:"id"`
	Attributes *BetaAppReviewDetailUpdateAttributes `json:"attributes,omitempty"`
}

BetaAppReviewDetailUpdateData is the data object of the BetaAppReviewDetailUpdateRequest schema.

type BetaAppReviewDetailUpdateRequest

type BetaAppReviewDetailUpdateRequest struct {
	Data BetaAppReviewDetailUpdateData `json:"data"`
}

BetaAppReviewDetailUpdateRequest is the BetaAppReviewDetailUpdateRequest schema.

type BetaAppReviewDetailsOption

type BetaAppReviewDetailsOption func(*betaAppReviewDetailsQuery)

BetaAppReviewDetailsOption sets the query of GET /v1/betaAppReviewDetails (betaAppReviewDetails_getCollection).

func WithBetaAppReviewDetailsAppID

func WithBetaAppReviewDetailsAppID(appID string) BetaAppReviewDetailsOption

WithBetaAppReviewDetailsAppID sets filter[app].

type BetaAppReviewDetailsResponse

type BetaAppReviewDetailsResponse = Response[BetaAppReviewDetailAttributes]

BetaAppReviewDetailsResponse is the BetaAppReviewDetailsResponse schema.

func RedactBetaAppReviewDetailsResponse added in v1.260731.0

func RedactBetaAppReviewDetailsResponse(resp *BetaAppReviewDetailsResponse) *BetaAppReviewDetailsResponse

RedactBetaAppReviewDetailsResponse returns a presentation-safe copy of a TestFlight beta app review details list response.

type BetaAppReviewSubmissionAttributes

type BetaAppReviewSubmissionAttributes struct {
	BetaReviewState string `json:"betaReviewState,omitempty"`
	SubmittedDate   string `json:"submittedDate,omitempty"`
}

BetaAppReviewSubmissionAttributes is the attributes object of the BetaAppReviewSubmission schema.

type BetaAppReviewSubmissionCreateData

type BetaAppReviewSubmissionCreateData struct {
	Type          ResourceType                                `json:"type"`
	Relationships *BetaAppReviewSubmissionCreateRelationships `json:"relationships"`
}

BetaAppReviewSubmissionCreateData is the data object of the BetaAppReviewSubmissionCreateRequest schema.

type BetaAppReviewSubmissionCreateRelationships

type BetaAppReviewSubmissionCreateRelationships struct {
	Build *Relationship `json:"build"`
}

BetaAppReviewSubmissionCreateRelationships is the data.relationships object of the BetaAppReviewSubmissionCreateRequest schema.

type BetaAppReviewSubmissionCreateRequest

type BetaAppReviewSubmissionCreateRequest struct {
	Data BetaAppReviewSubmissionCreateData `json:"data"`
}

BetaAppReviewSubmissionCreateRequest is the BetaAppReviewSubmissionCreateRequest schema.

type BetaAppReviewSubmissionResponse

type BetaAppReviewSubmissionResponse = SingleResponse[BetaAppReviewSubmissionAttributes]

BetaAppReviewSubmissionResponse is the BetaAppReviewSubmissionResponse schema.

type BetaAppReviewSubmissionsOption

type BetaAppReviewSubmissionsOption func(*betaAppReviewSubmissionsQuery)

BetaAppReviewSubmissionsOption is a functional option for beta app review submissions.

func WithBetaAppReviewSubmissionsBuildIDs

func WithBetaAppReviewSubmissionsBuildIDs(ids []string) BetaAppReviewSubmissionsOption

WithBetaAppReviewSubmissionsBuildIDs filters submissions by build ID(s).

func WithBetaAppReviewSubmissionsIncludeBuild added in v1.260810.0

func WithBetaAppReviewSubmissionsIncludeBuild() BetaAppReviewSubmissionsOption

WithBetaAppReviewSubmissionsIncludeBuild includes each submission's related build.

type BetaAppReviewSubmissionsResponse

type BetaAppReviewSubmissionsResponse = Response[BetaAppReviewSubmissionAttributes]

BetaAppReviewSubmissionsResponse is the BetaAppReviewSubmissionsResponse schema.

type BetaBuildLocalizationAttributes

type BetaBuildLocalizationAttributes struct {
	Locale   string `json:"locale,omitempty"`
	WhatsNew string `json:"whatsNew,omitempty"`
	// contains filtered or unexported fields
}

BetaBuildLocalizationAttributes describes TestFlight build localization notes.

func (BetaBuildLocalizationAttributes) MarshalJSON

func (a BetaBuildLocalizationAttributes) MarshalJSON() ([]byte, error)

func (*BetaBuildLocalizationAttributes) UnmarshalJSON

func (a *BetaBuildLocalizationAttributes) UnmarshalJSON(data []byte) error

type BetaBuildLocalizationCreateAttributes

type BetaBuildLocalizationCreateAttributes struct {
	Locale   string  `json:"locale"`
	WhatsNew *string `json:"whatsNew,omitempty"`
}

BetaBuildLocalizationCreateAttributes is the data.attributes object of the BetaBuildLocalizationCreateRequest schema. Locale comes first so the body keeps the key order the create has always sent.

type BetaBuildLocalizationCreateData

type BetaBuildLocalizationCreateData struct {
	Type          ResourceType                          `json:"type"`
	Attributes    BetaBuildLocalizationCreateAttributes `json:"attributes"`
	Relationships *BetaBuildLocalizationRelationships   `json:"relationships"`
}

BetaBuildLocalizationCreateData is the data object of the BetaBuildLocalizationCreateRequest schema.

type BetaBuildLocalizationCreateRequest

type BetaBuildLocalizationCreateRequest struct {
	Data BetaBuildLocalizationCreateData `json:"data"`
}

BetaBuildLocalizationCreateRequest is the BetaBuildLocalizationCreateRequest schema.

type BetaBuildLocalizationRelationships

type BetaBuildLocalizationRelationships struct {
	Build *Relationship `json:"build"`
}

BetaBuildLocalizationRelationships is the data.relationships object of the BetaBuildLocalizationCreateRequest schema.

type BetaBuildLocalizationResponse

type BetaBuildLocalizationResponse = SingleResponse[BetaBuildLocalizationAttributes]

BetaBuildLocalizationResponse is the BetaBuildLocalizationResponse schema.

type BetaBuildLocalizationUpdateAttributes

type BetaBuildLocalizationUpdateAttributes struct {
	WhatsNew *string `json:"whatsNew,omitempty"`
}

BetaBuildLocalizationUpdateAttributes is the data.attributes object of the BetaBuildLocalizationUpdateRequest schema.

type BetaBuildLocalizationUpdateData

type BetaBuildLocalizationUpdateData struct {
	Type       ResourceType                          `json:"type"`
	ID         string                                `json:"id"`
	Attributes BetaBuildLocalizationUpdateAttributes `json:"attributes"`
}

BetaBuildLocalizationUpdateData is the data portion of a beta build localization update request.

type BetaBuildLocalizationUpdateRequest

type BetaBuildLocalizationUpdateRequest struct {
	Data BetaBuildLocalizationUpdateData `json:"data"`
}

BetaBuildLocalizationUpdateRequest is the BetaBuildLocalizationUpdateRequest schema.

type BetaBuildLocalizationsOption

type BetaBuildLocalizationsOption func(*betaBuildLocalizationsQuery)

BetaBuildLocalizationsOption sets the query of GET /v1/betaBuildLocalizations (betaBuildLocalizations_getCollection) and GET /v1/builds/{id}/betaBuildLocalizations (builds_betaBuildLocalizations_getToManyRelated).

func WithBetaBuildLocalizationBuildIDs added in v1.260328.0

func WithBetaBuildLocalizationBuildIDs(ids []string) BetaBuildLocalizationsOption

WithBetaBuildLocalizationBuildIDs sets filter[build].

func WithBetaBuildLocalizationLocales

func WithBetaBuildLocalizationLocales(locales []string) BetaBuildLocalizationsOption

WithBetaBuildLocalizationLocales sets filter[locale].

type BetaBuildLocalizationsResponse

type BetaBuildLocalizationsResponse = Response[BetaBuildLocalizationAttributes]

BetaBuildLocalizationsResponse is the BetaBuildLocalizationsResponse schema.

type BetaBuildUsagesOption

type BetaBuildUsagesOption func(*betaBuildUsagesQuery)

BetaBuildUsagesOption sets the query of GET /v1/builds/{id}/metrics/betaBuildUsages (builds_betaBuildUsages_getMetrics).

type BetaBuildUsagesResponse

type BetaBuildUsagesResponse struct {
	Data json.RawMessage `json:"-"`
}

BetaBuildUsagesResponse wraps raw beta build usage metrics JSON.

func (*BetaBuildUsagesResponse) GetData added in v1.260819.0

func (r *BetaBuildUsagesResponse) GetData() any

GetData exposes the wrapped payload's data array for page-size reporting.

func (r *BetaBuildUsagesResponse) GetLinks() *Links

GetLinks parses the wrapped payload's links so single-page prints can participate in pagination warnings; printed output stays the raw payload.

func (BetaBuildUsagesResponse) MarshalJSON

func (r BetaBuildUsagesResponse) MarshalJSON() ([]byte, error)

MarshalJSON preserves raw API JSON for beta build usage metrics.

type BetaCrashLogAttributes

type BetaCrashLogAttributes struct {
	LogText string `json:"logText,omitempty"`
}

BetaCrashLogAttributes is the attributes object of the BetaCrashLog schema.

type BetaCrashLogResponse

type BetaCrashLogResponse = SingleResponse[BetaCrashLogAttributes]

BetaCrashLogResponse is the BetaCrashLogResponse schema.

type BetaFeedbackCrashSubmissionAttributes

type BetaFeedbackCrashSubmissionAttributes struct {
	CreatedDate             string               `json:"createdDate"`
	Comment                 string               `json:"comment"`
	Email                   string               `json:"email"`
	DeviceModel             string               `json:"deviceModel,omitempty"`
	OSVersion               string               `json:"osVersion,omitempty"`
	Locale                  string               `json:"locale,omitempty"`
	TimeZone                string               `json:"timeZone,omitempty"`
	Architecture            string               `json:"architecture,omitempty"`
	ConnectionType          DeviceConnectionType `json:"connectionType,omitempty"`
	PairedAppleWatch        string               `json:"pairedAppleWatch,omitempty"`
	AppUptimeInMilliseconds int64                `json:"appUptimeInMilliseconds,omitempty"`
	DiskBytesAvailable      int64                `json:"diskBytesAvailable,omitempty"`
	DiskBytesTotal          int64                `json:"diskBytesTotal,omitempty"`
	BatteryPercentage       int                  `json:"batteryPercentage,omitempty"`
	ScreenWidthInPoints     int                  `json:"screenWidthInPoints,omitempty"`
	ScreenHeightInPoints    int                  `json:"screenHeightInPoints,omitempty"`
	AppPlatform             string               `json:"appPlatform,omitempty"`
	DevicePlatform          string               `json:"devicePlatform,omitempty"`
	DeviceFamily            DeviceFamily         `json:"deviceFamily,omitempty"`
	BuildBundleID           string               `json:"buildBundleId,omitempty"`
	CrashLog                string               `json:"crashLog,omitempty"`
}

BetaFeedbackCrashSubmissionAttributes describes beta feedback crash submissions.

type BetaFeedbackCrashSubmissionResponse

type BetaFeedbackCrashSubmissionResponse = SingleResponse[BetaFeedbackCrashSubmissionAttributes]

BetaFeedbackCrashSubmissionResponse is the BetaFeedbackCrashSubmissionResponse schema.

type BetaFeedbackScreenshotSubmissionAttributes

type BetaFeedbackScreenshotSubmissionAttributes struct {
	CreatedDate             string                    `json:"createdDate"`
	Comment                 string                    `json:"comment"`
	Email                   string                    `json:"email"`
	DeviceModel             string                    `json:"deviceModel,omitempty"`
	OSVersion               string                    `json:"osVersion,omitempty"`
	Locale                  string                    `json:"locale,omitempty"`
	TimeZone                string                    `json:"timeZone,omitempty"`
	Architecture            string                    `json:"architecture,omitempty"`
	ConnectionType          DeviceConnectionType      `json:"connectionType,omitempty"`
	PairedAppleWatch        string                    `json:"pairedAppleWatch,omitempty"`
	AppUptimeInMilliseconds int64                     `json:"appUptimeInMilliseconds,omitempty"`
	DiskBytesAvailable      int64                     `json:"diskBytesAvailable,omitempty"`
	DiskBytesTotal          int64                     `json:"diskBytesTotal,omitempty"`
	BatteryPercentage       int                       `json:"batteryPercentage,omitempty"`
	ScreenWidthInPoints     int                       `json:"screenWidthInPoints,omitempty"`
	ScreenHeightInPoints    int                       `json:"screenHeightInPoints,omitempty"`
	AppPlatform             string                    `json:"appPlatform,omitempty"`
	DevicePlatform          string                    `json:"devicePlatform,omitempty"`
	DeviceFamily            DeviceFamily              `json:"deviceFamily,omitempty"`
	BuildBundleID           string                    `json:"buildBundleId,omitempty"`
	Screenshots             []FeedbackScreenshotImage `json:"screenshots,omitempty"`
}

BetaFeedbackScreenshotSubmissionAttributes describes beta feedback screenshot submissions.

type BetaFeedbackScreenshotSubmissionResponse

type BetaFeedbackScreenshotSubmissionResponse = SingleResponse[BetaFeedbackScreenshotSubmissionAttributes]

BetaFeedbackScreenshotSubmissionResponse is the BetaFeedbackScreenshotSubmissionResponse schema.

type BetaGroupAttributes

type BetaGroupAttributes struct {
	Name                                 string `json:"name"`
	CreatedDate                          string `json:"createdDate,omitempty"`
	IsInternalGroup                      bool   `json:"isInternalGroup,omitempty"`
	HasAccessToAllBuilds                 bool   `json:"hasAccessToAllBuilds,omitempty"`
	PublicLinkEnabled                    bool   `json:"publicLinkEnabled,omitempty"`
	PublicLinkID                         string `json:"publicLinkId,omitempty"`
	PublicLinkLimitEnabled               bool   `json:"publicLinkLimitEnabled,omitempty"`
	PublicLinkLimit                      int    `json:"publicLinkLimit,omitempty"`
	PublicLink                           string `json:"publicLink,omitempty"`
	FeedbackEnabled                      bool   `json:"feedbackEnabled,omitempty"`
	IOSBuildsAvailableForAppleSiliconMac *bool  `json:"iosBuildsAvailableForAppleSiliconMac,omitempty"`
	IOSBuildsAvailableForAppleVision     *bool  `json:"iosBuildsAvailableForAppleVision,omitempty"`
	// contains filtered or unexported fields
}

BetaGroupAttributes describes a beta group resource.

func (BetaGroupAttributes) MarshalJSON added in v1.260828.0

func (a BetaGroupAttributes) MarshalJSON() ([]byte, error)

MarshalJSON preserves fields Apple supplied in sparse responses while still serializing values changed by callers after decoding.

func (*BetaGroupAttributes) UnmarshalJSON added in v1.260828.0

func (a *BetaGroupAttributes) UnmarshalJSON(data []byte) error

UnmarshalJSON retains sparse field presence without changing the public, value-shaped BetaGroupAttributes API.

type BetaGroupBuildsOption

type BetaGroupBuildsOption func(*betaGroupBuildsQuery)

BetaGroupBuildsOption sets the query of GET /v1/betaGroups/{id}/builds (betaGroups_builds_getToManyRelated).

type BetaGroupCreateAttributes added in v1.260807.0

type BetaGroupCreateAttributes struct {
	Name                   string `json:"name"`
	IsInternalGroup        *bool  `json:"isInternalGroup,omitempty"`
	HasAccessToAllBuilds   *bool  `json:"hasAccessToAllBuilds,omitempty"`
	PublicLinkEnabled      *bool  `json:"publicLinkEnabled,omitempty"`
	PublicLinkLimitEnabled *bool  `json:"publicLinkLimitEnabled,omitempty"`
	PublicLinkLimit        *int   `json:"publicLinkLimit,omitempty"`
	FeedbackEnabled        *bool  `json:"feedbackEnabled,omitempty"`
}

BetaGroupCreateAttributes is the data.attributes object of the BetaGroupCreateRequest schema.

type BetaGroupCreateData

type BetaGroupCreateData struct {
	Type          ResourceType              `json:"type"`
	Attributes    BetaGroupCreateAttributes `json:"attributes"`
	Relationships *BetaGroupRelationships   `json:"relationships"`
}

BetaGroupCreateData is the data object of the BetaGroupCreateRequest schema.

type BetaGroupCreateRequest

type BetaGroupCreateRequest struct {
	Data BetaGroupCreateData `json:"data"`
}

BetaGroupCreateRequest is the BetaGroupCreateRequest schema.

type BetaGroupPublicLinkUsage

type BetaGroupPublicLinkUsage struct {
	DataPoints []BetaGroupPublicLinkUsageDataPoint `json:"dataPoints,omitempty"`
	// contains filtered or unexported fields
}

BetaGroupPublicLinkUsage is one metric series returned by the public link usage endpoint. The raw item is retained so JSON output remains faithful to Apple's response while table output can use typed metric fields.

func (BetaGroupPublicLinkUsage) MarshalJSON

func (m BetaGroupPublicLinkUsage) MarshalJSON() ([]byte, error)

func (*BetaGroupPublicLinkUsage) UnmarshalJSON

func (m *BetaGroupPublicLinkUsage) UnmarshalJSON(data []byte) error

type BetaGroupPublicLinkUsageDataPoint

type BetaGroupPublicLinkUsageDataPoint struct {
	Start  string                         `json:"start,omitempty"`
	End    string                         `json:"end,omitempty"`
	Values BetaGroupPublicLinkUsageValues `json:"values,omitempty"`
}

BetaGroupPublicLinkUsageDataPoint is one time interval in a metric series.

type BetaGroupPublicLinkUsageValues

type BetaGroupPublicLinkUsageValues struct {
	ViewCount               *int     `json:"viewCount,omitempty"`
	AcceptedCount           *int     `json:"acceptedCount,omitempty"`
	DidNotAcceptCount       *int     `json:"didNotAcceptCount,omitempty"`
	DidNotMeetCriteriaCount *int     `json:"didNotMeetCriteriaCount,omitempty"`
	NotRelevantRatio        *float64 `json:"notRelevantRatio,omitempty"`
	NotClearRatio           *float64 `json:"notClearRatio,omitempty"`
	NotInterestingRatio     *float64 `json:"notInterestingRatio,omitempty"`
}

BetaGroupPublicLinkUsageValues contains the counts and ratios Apple reports for a data point.

type BetaGroupPublicLinkUsagesResponse

type BetaGroupPublicLinkUsagesResponse struct {
	Data  []BetaGroupPublicLinkUsage `json:"data"`
	Links Links                      `json:"links"`
	Meta  json.RawMessage            `json:"meta,omitempty"`
}

BetaGroupPublicLinkUsagesResponse is the response from public link usage metrics. The metric endpoint returns data-point objects rather than JSON:API resource objects, so it has a dedicated envelope instead of Response[T].

func (*BetaGroupPublicLinkUsagesResponse) GetData

GetData returns the metric data for aggregation.

GetLinks returns the links field for pagination.

func (*BetaGroupPublicLinkUsagesResponse) GetMeta

GetMeta returns the raw metadata field for pagination warnings.

type BetaGroupRelationships

type BetaGroupRelationships struct {
	App         *Relationship     `json:"app"`
	Builds      *RelationshipList `json:"builds,omitempty"`
	BetaTesters *RelationshipList `json:"betaTesters,omitempty"`
}

BetaGroupRelationships is the data.relationships object of the BetaGroupCreateRequest schema.

type BetaGroupResponse

type BetaGroupResponse = SingleResponse[BetaGroupAttributes]

BetaGroupResponse is the BetaGroupResponse schema.

type BetaGroupTesterUsage added in v1.260828.0

type BetaGroupTesterUsage struct {
	Type       string                          `json:"type,omitempty"`
	ID         string                          `json:"id,omitempty"`
	DataPoints []BetaGroupTesterUsageDataPoint `json:"dataPoints,omitempty"`
	Dimensions *BetaGroupTesterUsageDimensions `json:"dimensions,omitempty"`
	// contains filtered or unexported fields
}

BetaGroupTesterUsage is one metric series returned by the group tester usage endpoint. The raw item is retained so JSON output remains faithful to Apple's response while table output can use typed metric fields.

func (BetaGroupTesterUsage) MarshalJSON added in v1.260828.0

func (m BetaGroupTesterUsage) MarshalJSON() ([]byte, error)

func (*BetaGroupTesterUsage) UnmarshalJSON added in v1.260828.0

func (m *BetaGroupTesterUsage) UnmarshalJSON(data []byte) error

type BetaGroupTesterUsageDataPoint added in v1.260828.0

type BetaGroupTesterUsageDataPoint struct {
	Start  string                     `json:"start,omitempty"`
	End    string                     `json:"end,omitempty"`
	Values BetaGroupTesterUsageValues `json:"values,omitempty"`
}

BetaGroupTesterUsageDataPoint is one time interval in a metric series.

type BetaGroupTesterUsageDimension added in v1.260828.0

type BetaGroupTesterUsageDimension struct {
	Data  *BetaGroupTesterUsageDimensionData  `json:"data,omitempty"`
	Links *BetaGroupTesterUsageDimensionLinks `json:"links,omitempty"`
}

BetaGroupTesterUsageDimension describes a grouped metric dimension.

type BetaGroupTesterUsageDimensionData added in v1.260828.0

type BetaGroupTesterUsageDimensionData = MetricDimensionData

BetaGroupTesterUsageDimensionData is the historical name for MetricDimensionData.

type BetaGroupTesterUsageDimensionLinks struct {
	GroupBy string `json:"groupBy,omitempty"`
	Related string `json:"related,omitempty"`
}

BetaGroupTesterUsageDimensionLinks contains links for a metric dimension.

type BetaGroupTesterUsageDimensions added in v1.260828.0

type BetaGroupTesterUsageDimensions struct {
	BetaTesters *BetaGroupTesterUsageDimension `json:"betaTesters,omitempty"`
}

BetaGroupTesterUsageDimensions identifies the tester represented by a metric series.

type BetaGroupTesterUsageValues added in v1.260828.0

type BetaGroupTesterUsageValues struct {
	CrashCount    *int `json:"crashCount,omitempty"`
	SessionCount  *int `json:"sessionCount,omitempty"`
	FeedbackCount *int `json:"feedbackCount,omitempty"`
}

BetaGroupTesterUsageValues contains the counts Apple reports for a data point.

type BetaGroupTesterUsagesResponse

type BetaGroupTesterUsagesResponse struct {
	Data     []BetaGroupTesterUsage `json:"data"`
	Links    Links                  `json:"links"`
	Included json.RawMessage        `json:"included,omitempty"`
	Meta     json.RawMessage        `json:"meta,omitempty"`
}

BetaGroupTesterUsagesResponse is the response from beta tester usage metrics. The metric endpoint returns data-point objects rather than JSON:API resource objects, so it has a dedicated envelope instead of Response[T].

func (*BetaGroupTesterUsagesResponse) GetData added in v1.260828.0

func (r *BetaGroupTesterUsagesResponse) GetData() any

GetData returns the metric data for aggregation.

func (r *BetaGroupTesterUsagesResponse) GetLinks() *Links

GetLinks returns the links field for pagination.

func (*BetaGroupTesterUsagesResponse) GetMeta added in v1.260828.0

GetMeta returns the raw metadata field for pagination warnings.

type BetaGroupTestersOption

type BetaGroupTestersOption func(*betaGroupTestersQuery)

BetaGroupTestersOption sets the query of GET /v1/betaGroups/{id}/betaTesters (betaGroups_betaTesters_getToManyRelated).

type BetaGroupTestersUpdateResult

type BetaGroupTestersUpdateResult struct {
	GroupID        string   `json:"groupId"`
	TesterIDs      []string `json:"testerIds"`
	Action         string   `json:"action"`
	AlreadyPresent bool     `json:"alreadyPresent,omitempty"`
}

BetaGroupTestersUpdateResult represents CLI output for beta group tester additions and removals. AlreadyPresent is set when App Store Connect rejected the add with a conflict and a membership read-back confirmed every requested tester is already in the group.

type BetaGroupUpdateAttributes

type BetaGroupUpdateAttributes struct {
	Name                                 string `json:"name,omitempty"`
	PublicLinkEnabled                    *bool  `json:"publicLinkEnabled,omitempty"`
	PublicLinkLimitEnabled               *bool  `json:"publicLinkLimitEnabled,omitempty"`
	PublicLinkLimit                      int    `json:"publicLinkLimit,omitempty"`
	FeedbackEnabled                      *bool  `json:"feedbackEnabled,omitempty"`
	IOSBuildsAvailableForAppleSiliconMac *bool  `json:"iosBuildsAvailableForAppleSiliconMac,omitempty"`
	IOSBuildsAvailableForAppleVision     *bool  `json:"iosBuildsAvailableForAppleVision,omitempty"`
}

BetaGroupUpdateAttributes describes attributes for updating a beta group.

type BetaGroupUpdateData

type BetaGroupUpdateData struct {
	Type       ResourceType               `json:"type"`
	ID         string                     `json:"id"`
	Attributes *BetaGroupUpdateAttributes `json:"attributes,omitempty"`
}

BetaGroupUpdateData is the data object of the BetaGroupUpdateRequest schema.

type BetaGroupUpdateRequest

type BetaGroupUpdateRequest struct {
	Data BetaGroupUpdateData `json:"data"`
}

BetaGroupUpdateRequest is the BetaGroupUpdateRequest schema.

type BetaGroupsOption

type BetaGroupsOption func(*betaGroupsQuery)

BetaGroupsOption is a functional option for GetBetaGroups.

func WithBetaGroupsAppFields added in v1.260828.0

func WithBetaGroupsAppFields(fields []string) BetaGroupsOption

WithBetaGroupsAppFields sets fields[apps] for included apps.

func WithBetaGroupsApps added in v1.260810.0

func WithBetaGroupsApps(appIDs []string) BetaGroupsOption

WithBetaGroupsApps filters beta groups by related app IDs.

func WithBetaGroupsBetaRecruitmentCriteriaFields added in v1.260828.0

func WithBetaGroupsBetaRecruitmentCriteriaFields(fields []string) BetaGroupsOption

WithBetaGroupsBetaRecruitmentCriteriaFields sets fields[betaRecruitmentCriteria] for included beta recruitment criteria.

func WithBetaGroupsBetaTesterFields added in v1.260828.0

func WithBetaGroupsBetaTesterFields(fields []string) BetaGroupsOption

WithBetaGroupsBetaTesterFields sets fields[betaTesters] for included testers.

func WithBetaGroupsBetaTestersLimit added in v1.260828.0

func WithBetaGroupsBetaTestersLimit(limit int) BetaGroupsOption

WithBetaGroupsBetaTestersLimit sets limit[betaTesters] for included testers.

func WithBetaGroupsBuildFields added in v1.260828.0

func WithBetaGroupsBuildFields(fields []string) BetaGroupsOption

WithBetaGroupsBuildFields sets fields[builds] for included builds.

func WithBetaGroupsBuilds added in v1.260810.0

func WithBetaGroupsBuilds(buildIDs []string) BetaGroupsOption

WithBetaGroupsBuilds filters beta groups by related build IDs.

func WithBetaGroupsBuildsLimit added in v1.260828.0

func WithBetaGroupsBuildsLimit(limit int) BetaGroupsOption

WithBetaGroupsBuildsLimit sets limit[builds] for included builds.

func WithBetaGroupsFields added in v1.260810.0

func WithBetaGroupsFields(fields []string) BetaGroupsOption

WithBetaGroupsFields selects a sparse beta group fieldset.

func WithBetaGroupsIDs added in v1.260828.0

func WithBetaGroupsIDs(ids []string) BetaGroupsOption

WithBetaGroupsIDs filters beta groups by ID(s).

func WithBetaGroupsInclude added in v1.260828.0

func WithBetaGroupsInclude(include []string) BetaGroupsOption

WithBetaGroupsInclude includes related resources in beta group responses.

func WithBetaGroupsIsInternal

func WithBetaGroupsIsInternal(isInternal bool) BetaGroupsOption

WithBetaGroupsIsInternal filters beta groups by internal/external groups.

func WithBetaGroupsName added in v1.260822.0

func WithBetaGroupsName(name string) BetaGroupsOption

WithBetaGroupsName filters beta groups by group name.

func WithBetaGroupsPublicLink(publicLink string) BetaGroupsOption

WithBetaGroupsPublicLink filters beta groups by public-link value.

func WithBetaGroupsPublicLinkEnabled added in v1.260828.0

func WithBetaGroupsPublicLinkEnabled(enabled bool) BetaGroupsOption

WithBetaGroupsPublicLinkEnabled filters beta groups by public-link state.

func WithBetaGroupsPublicLinkLimitEnabled added in v1.260828.0

func WithBetaGroupsPublicLinkLimitEnabled(enabled bool) BetaGroupsOption

WithBetaGroupsPublicLinkLimitEnabled filters beta groups by public-link limit state.

func WithBetaGroupsSort added in v1.260822.0

func WithBetaGroupsSort(sort string) BetaGroupsOption

WithBetaGroupsSort sets the beta groups sort order.

type BetaGroupsResponse

type BetaGroupsResponse = Response[BetaGroupAttributes]

BetaGroupsResponse is the BetaGroupsResponse schema.

type BetaInviteType

type BetaInviteType string

BetaInviteType represents the invitation type for a beta tester.

const (
	BetaInviteTypeEmail      BetaInviteType = "EMAIL"
	BetaInviteTypePublicLink BetaInviteType = "PUBLIC_LINK"
)

type BetaLicenseAgreementAttributes

type BetaLicenseAgreementAttributes struct {
	AgreementText string `json:"agreementText,omitempty"`
}

BetaLicenseAgreementAttributes is the attributes object of the BetaLicenseAgreement schema.

type BetaLicenseAgreementOption

type BetaLicenseAgreementOption func(*betaLicenseAgreementQuery)

BetaLicenseAgreementOption sets the query of GET /v1/betaLicenseAgreements/{id} (betaLicenseAgreements_getInstance).

func WithBetaLicenseAgreementAppFields

func WithBetaLicenseAgreementAppFields(fields []string) BetaLicenseAgreementOption

WithBetaLicenseAgreementAppFields sets fields[apps].

func WithBetaLicenseAgreementFields

func WithBetaLicenseAgreementFields(fields []string) BetaLicenseAgreementOption

WithBetaLicenseAgreementFields sets fields[betaLicenseAgreements].

func WithBetaLicenseAgreementInclude

func WithBetaLicenseAgreementInclude(include []string) BetaLicenseAgreementOption

WithBetaLicenseAgreementInclude sets include.

type BetaLicenseAgreementRelationships

type BetaLicenseAgreementRelationships struct {
	App *Relationship `json:"app,omitempty"`
}

BetaLicenseAgreementRelationships describes beta license agreement relationships.

type BetaLicenseAgreementResource

type BetaLicenseAgreementResource struct {
	Type          ResourceType                       `json:"type"`
	ID            string                             `json:"id"`
	Attributes    BetaLicenseAgreementAttributes     `json:"attributes"`
	Relationships *BetaLicenseAgreementRelationships `json:"relationships,omitempty"`
}

BetaLicenseAgreementResource represents a beta license agreement resource.

type BetaLicenseAgreementResponse

type BetaLicenseAgreementResponse struct {
	Data     BetaLicenseAgreementResource `json:"data"`
	Links    Links                        `json:"links"`
	Included json.RawMessage              `json:"included,omitempty"`
}

BetaLicenseAgreementResponse is the response from beta license agreement endpoints (single).

type BetaLicenseAgreementUpdateAttributes

type BetaLicenseAgreementUpdateAttributes struct {
	AgreementText *string `json:"agreementText,omitempty"`
}

BetaLicenseAgreementUpdateAttributes is the data.attributes object of the BetaLicenseAgreementUpdateRequest schema.

type BetaLicenseAgreementUpdateData

type BetaLicenseAgreementUpdateData struct {
	Type       ResourceType                          `json:"type"`
	ID         string                                `json:"id"`
	Attributes *BetaLicenseAgreementUpdateAttributes `json:"attributes,omitempty"`
}

BetaLicenseAgreementUpdateData is the data object of the BetaLicenseAgreementUpdateRequest schema.

type BetaLicenseAgreementUpdateRequest

type BetaLicenseAgreementUpdateRequest struct {
	Data BetaLicenseAgreementUpdateData `json:"data"`
}

BetaLicenseAgreementUpdateRequest is the BetaLicenseAgreementUpdateRequest schema.

type BetaLicenseAgreementsOption

type BetaLicenseAgreementsOption func(*betaLicenseAgreementsQuery)

BetaLicenseAgreementsOption sets the query of GET /v1/betaLicenseAgreements (betaLicenseAgreements_getCollection).

func WithBetaLicenseAgreementsAppFields

func WithBetaLicenseAgreementsAppFields(fields []string) BetaLicenseAgreementsOption

WithBetaLicenseAgreementsAppFields sets fields[apps].

func WithBetaLicenseAgreementsAppIDs

func WithBetaLicenseAgreementsAppIDs(appIDs []string) BetaLicenseAgreementsOption

WithBetaLicenseAgreementsAppIDs sets filter[app].

func WithBetaLicenseAgreementsFields

func WithBetaLicenseAgreementsFields(fields []string) BetaLicenseAgreementsOption

WithBetaLicenseAgreementsFields sets fields[betaLicenseAgreements].

func WithBetaLicenseAgreementsInclude

func WithBetaLicenseAgreementsInclude(include []string) BetaLicenseAgreementsOption

WithBetaLicenseAgreementsInclude sets include.

type BetaLicenseAgreementsResponse

type BetaLicenseAgreementsResponse struct {
	Data     []BetaLicenseAgreementResource `json:"data"`
	Links    Links                          `json:"links"`
	Included json.RawMessage                `json:"included,omitempty"`
	Meta     json.RawMessage                `json:"meta,omitempty"`
}

BetaLicenseAgreementsResponse is the response from beta license agreement endpoints (list).

func (*BetaLicenseAgreementsResponse) GetData

func (r *BetaLicenseAgreementsResponse) GetData() any

GetData returns the data field for pagination aggregation.

func (r *BetaLicenseAgreementsResponse) GetLinks() *Links

GetLinks returns the pagination links for beta license agreements.

type BetaRecruitmentCriteriaCreateAttributes

type BetaRecruitmentCriteriaCreateAttributes struct {
	DeviceFamilyOSVersionFilters []DeviceFamilyOsVersionFilter `json:"deviceFamilyOsVersionFilters"`
}

BetaRecruitmentCriteriaCreateAttributes describes create attributes.

type BetaRecruitmentCriteriaCreateData

type BetaRecruitmentCriteriaCreateData struct {
	Type          ResourceType                            `json:"type"`
	Attributes    BetaRecruitmentCriteriaCreateAttributes `json:"attributes"`
	Relationships *BetaRecruitmentCriteriaRelationships   `json:"relationships"`
}

BetaRecruitmentCriteriaCreateData is the data portion of a criteria create request.

type BetaRecruitmentCriteriaCreateRequest

type BetaRecruitmentCriteriaCreateRequest struct {
	Data BetaRecruitmentCriteriaCreateData `json:"data"`
}

BetaRecruitmentCriteriaCreateRequest is a request to create beta recruitment criteria.

type BetaRecruitmentCriteriaRelationships

type BetaRecruitmentCriteriaRelationships struct {
	BetaGroup *Relationship `json:"betaGroup,omitempty"`
}

BetaRecruitmentCriteriaRelationships describes relationships for recruitment criteria.

type BetaRecruitmentCriteriaResponse

type BetaRecruitmentCriteriaResponse = SingleResponse[BetaRecruitmentCriterionAttributes]

BetaRecruitmentCriteriaResponse is the response from beta recruitment criteria endpoints.

type BetaRecruitmentCriteriaUpdateAttributes

type BetaRecruitmentCriteriaUpdateAttributes struct {
	DeviceFamilyOSVersionFilters []DeviceFamilyOsVersionFilter `json:"deviceFamilyOsVersionFilters,omitempty"`
}

BetaRecruitmentCriteriaUpdateAttributes describes update attributes.

type BetaRecruitmentCriteriaUpdateData

type BetaRecruitmentCriteriaUpdateData struct {
	Type       ResourceType                             `json:"type"`
	ID         string                                   `json:"id"`
	Attributes *BetaRecruitmentCriteriaUpdateAttributes `json:"attributes,omitempty"`
}

BetaRecruitmentCriteriaUpdateData is the data portion of a criteria update request.

type BetaRecruitmentCriteriaUpdateRequest

type BetaRecruitmentCriteriaUpdateRequest struct {
	Data BetaRecruitmentCriteriaUpdateData `json:"data"`
}

BetaRecruitmentCriteriaUpdateRequest is a request to update beta recruitment criteria.

type BetaRecruitmentCriterionAttributes

type BetaRecruitmentCriterionAttributes struct {
	LastModifiedDate             string                        `json:"lastModifiedDate,omitempty"`
	DeviceFamilyOSVersionFilters []DeviceFamilyOsVersionFilter `json:"deviceFamilyOsVersionFilters,omitempty"`
}

BetaRecruitmentCriterionAttributes is the attributes object of the BetaRecruitmentCriterion schema.

type BetaRecruitmentCriterionCompatibleBuildCheckAttributes

type BetaRecruitmentCriterionCompatibleBuildCheckAttributes struct {
	HasCompatibleBuild bool `json:"hasCompatibleBuild,omitempty"`
}

BetaRecruitmentCriterionCompatibleBuildCheckAttributes describes compatible build check attributes.

type BetaRecruitmentCriterionCompatibleBuildCheckResponse

type BetaRecruitmentCriterionCompatibleBuildCheckResponse = SingleResponse[BetaRecruitmentCriterionCompatibleBuildCheckAttributes]

BetaRecruitmentCriterionCompatibleBuildCheckResponse is the response for compatible build checks.

type BetaRecruitmentCriterionOptionAttributes

type BetaRecruitmentCriterionOptionAttributes struct {
	Identifier             string                                       `json:"identifier,omitempty"`
	Name                   string                                       `json:"name,omitempty"`
	Category               string                                       `json:"category,omitempty"`
	DeviceFamilyOsVersions []BetaRecruitmentCriterionOptionDeviceFamily `json:"deviceFamilyOsVersions,omitempty"`
}

BetaRecruitmentCriterionOptionAttributes describes recruitment criteria options.

type BetaRecruitmentCriterionOptionDeviceFamily

type BetaRecruitmentCriterionOptionDeviceFamily struct {
	DeviceFamily DeviceFamily `json:"deviceFamily,omitempty"`
	OSVersions   []string     `json:"osVersions,omitempty"`
}

BetaRecruitmentCriterionOptionDeviceFamily describes device families and OS versions for options.

type BetaRecruitmentCriterionOptionsOption

type BetaRecruitmentCriterionOptionsOption func(*betaRecruitmentCriterionOptionsQuery)

BetaRecruitmentCriterionOptionsOption sets the query of GET /v1/betaRecruitmentCriterionOptions (betaRecruitmentCriterionOptions_getCollection).

func WithBetaRecruitmentCriterionOptionsFields

func WithBetaRecruitmentCriterionOptionsFields(fields []string) BetaRecruitmentCriterionOptionsOption

WithBetaRecruitmentCriterionOptionsFields sets fields[betaRecruitmentCriterionOptions].

type BetaRecruitmentCriterionOptionsResponse

type BetaRecruitmentCriterionOptionsResponse = Response[BetaRecruitmentCriterionOptionAttributes]

BetaRecruitmentCriterionOptionsResponse is the BetaRecruitmentCriterionOptionsResponse schema.

type BetaTesterAppDevice added in v1.260807.0

type BetaTesterAppDevice struct {
	Model           string `json:"model,omitempty"`
	Platform        string `json:"platform,omitempty"`
	OSVersion       string `json:"osVersion,omitempty"`
	AppBuildVersion string `json:"appBuildVersion,omitempty"`
}

BetaTesterAppDevice describes a device on which a tester installed the app.

type BetaTesterAppsOption

type BetaTesterAppsOption func(*listQuery)

BetaTesterAppsOption is a functional option for GetBetaTesterApps.

type BetaTesterAppsUpdateResult

type BetaTesterAppsUpdateResult struct {
	TesterID string   `json:"testerId"`
	AppIDs   []string `json:"appIds"`
	Action   string   `json:"action"`
}

BetaTesterAppsUpdateResult represents CLI output for beta tester app updates.

type BetaTesterAttributes

type BetaTesterAttributes struct {
	FirstName  string                `json:"firstName,omitempty"`
	LastName   string                `json:"lastName,omitempty"`
	Email      string                `json:"email,omitempty"`
	InviteType BetaInviteType        `json:"inviteType,omitempty"`
	State      BetaTesterState       `json:"state,omitempty"`
	AppDevices []BetaTesterAppDevice `json:"-"`
	// contains filtered or unexported fields
}

BetaTesterAttributes describes a beta tester resource.

func (BetaTesterAttributes) MarshalJSON added in v1.260807.0

func (a BetaTesterAttributes) MarshalJSON() ([]byte, error)

MarshalJSON preserves absent and explicit empty appDevices values.

func (*BetaTesterAttributes) UnmarshalJSON added in v1.260807.0

func (a *BetaTesterAttributes) UnmarshalJSON(data []byte) error

UnmarshalJSON keeps absent appDevices nil while retaining explicit arrays.

type BetaTesterBetaGroupsOption

type BetaTesterBetaGroupsOption func(*listQuery)

BetaTesterBetaGroupsOption is a functional option for GetBetaTesterBetaGroups.

type BetaTesterBuildsOption

type BetaTesterBuildsOption func(*listQuery)

BetaTesterBuildsOption is a functional option for GetBetaTesterBuilds.

type BetaTesterBuildsUpdateResult

type BetaTesterBuildsUpdateResult struct {
	TesterID string   `json:"testerId"`
	BuildIDs []string `json:"buildIds"`
	Action   string   `json:"action"`
}

BetaTesterBuildsUpdateResult represents CLI output for beta tester build updates.

type BetaTesterCreateAttributes

type BetaTesterCreateAttributes struct {
	FirstName string `json:"firstName,omitempty"`
	LastName  string `json:"lastName,omitempty"`
	Email     string `json:"email"`
}

BetaTesterCreateAttributes describes attributes for creating a beta tester.

type BetaTesterCreateData

type BetaTesterCreateData struct {
	Type          ResourceType                   `json:"type"`
	Attributes    BetaTesterCreateAttributes     `json:"attributes"`
	Relationships *BetaTesterCreateRelationships `json:"relationships,omitempty"`
}

BetaTesterCreateData is the data object of the BetaTesterCreateRequest schema.

type BetaTesterCreateRelationships

type BetaTesterCreateRelationships struct {
	BetaGroups *RelationshipList `json:"betaGroups,omitempty"`
	Builds     *RelationshipList `json:"builds,omitempty"`
}

BetaTesterCreateRelationships is the data.relationships object of the BetaTesterCreateRequest schema.

type BetaTesterCreateRequest

type BetaTesterCreateRequest struct {
	Data BetaTesterCreateData `json:"data"`
}

BetaTesterCreateRequest is the BetaTesterCreateRequest schema.

type BetaTesterDeleteResult

type BetaTesterDeleteResult struct {
	ID      string `json:"id"`
	Email   string `json:"email,omitempty"`
	Deleted bool   `json:"deleted"`
}

BetaTesterDeleteResult represents CLI output for deletions.

type BetaTesterGroupsUpdateResult

type BetaTesterGroupsUpdateResult struct {
	TesterID string   `json:"testerId"`
	GroupIDs []string `json:"groupIds"`
	Action   string   `json:"action"`
}

BetaTesterGroupsUpdateResult represents CLI output for beta tester group updates.

type BetaTesterInvitationCreateData

type BetaTesterInvitationCreateData struct {
	Type          ResourceType                             `json:"type"`
	Relationships *BetaTesterInvitationCreateRelationships `json:"relationships"`
}

BetaTesterInvitationCreateData is the data object of the BetaTesterInvitationCreateRequest schema.

type BetaTesterInvitationCreateRelationships

type BetaTesterInvitationCreateRelationships struct {
	App        *Relationship `json:"app"`
	BetaTester *Relationship `json:"betaTester,omitempty"`
}

BetaTesterInvitationCreateRelationships describes relationships for invitations.

type BetaTesterInvitationCreateRequest

type BetaTesterInvitationCreateRequest struct {
	Data BetaTesterInvitationCreateData `json:"data"`
}

BetaTesterInvitationCreateRequest is the BetaTesterInvitationCreateRequest schema.

type BetaTesterInvitationResponse

type BetaTesterInvitationResponse = SingleResponse[struct{}]

BetaTesterInvitationResponse is the response from beta tester invitations.

type BetaTesterInvitationResult

type BetaTesterInvitationResult struct {
	InvitationID string `json:"invitationId"`
	TesterID     string `json:"testerId,omitempty"`
	AppID        string `json:"appId,omitempty"`
	Email        string `json:"email,omitempty"`
}

BetaTesterInvitationResult represents CLI output for invitations.

type BetaTesterResponse

type BetaTesterResponse = SingleResponse[BetaTesterAttributes]

BetaTesterResponse is the BetaTesterResponse schema.

type BetaTesterState

type BetaTesterState string

BetaTesterState represents the invitation state for a beta tester.

const (
	BetaTesterStateNotInvited BetaTesterState = "NOT_INVITED"
	BetaTesterStateInvited    BetaTesterState = "INVITED"
	BetaTesterStateAccepted   BetaTesterState = "ACCEPTED"
	BetaTesterStateInstalled  BetaTesterState = "INSTALLED"
	BetaTesterStateRevoked    BetaTesterState = "REVOKED"
)

type BetaTesterUsageTesterInfo added in v1.260819.0

type BetaTesterUsageTesterInfo struct {
	ID         string `json:"id"`
	Email      string `json:"email,omitempty"`
	FirstName  string `json:"firstName,omitempty"`
	LastName   string `json:"lastName,omitempty"`
	State      string `json:"state,omitempty"`
	InviteType string `json:"inviteType,omitempty"`
}

BetaTesterUsageTesterInfo describes one resolved beta tester in the testers sidecar keyed by tester ID.

type BetaTesterUsagesOption

type BetaTesterUsagesOption func(*betaTesterUsagesQuery)

BetaTesterUsagesOption sets the query of GET /v1/apps/{id}/metrics/betaTesterUsages (apps_betaTesterUsages_getMetrics) and GET /v1/betaTesters/{id}/metrics/betaTesterUsages (betaTesters_betaTesterUsages_getMetrics).

func WithBetaTesterUsagesAppID

func WithBetaTesterUsagesAppID(appID string) BetaTesterUsagesOption

WithBetaTesterUsagesAppID sets filter[apps].

func WithBetaTesterUsagesFilterBetaTesters

func WithBetaTesterUsagesFilterBetaTesters(testerID string) BetaTesterUsagesOption

WithBetaTesterUsagesFilterBetaTesters sets filter[betaTesters].

func WithBetaTesterUsagesGroupBy

func WithBetaTesterUsagesGroupBy(groupBy string) BetaTesterUsagesOption

WithBetaTesterUsagesGroupBy sets groupBy.

func WithBetaTesterUsagesPeriod

func WithBetaTesterUsagesPeriod(period string) BetaTesterUsagesOption

WithBetaTesterUsagesPeriod sets period.

type BetaTesterUsagesPage added in v1.260819.0

type BetaTesterUsagesPage struct {
	Data     []json.RawMessage                    `json:"data"`
	Links    Links                                `json:"links"`
	Included json.RawMessage                      `json:"included,omitempty"`
	Meta     json.RawMessage                      `json:"meta,omitempty"`
	Testers  map[string]BetaTesterUsageTesterInfo `json:"testers,omitempty"`
}

BetaTesterUsagesPage is the printed page for tester usage metrics: the raw metric data plus an optional resolved-testers sidecar keyed by tester ID. The data elements stay byte-identical to Apple's response.

func (*BetaTesterUsagesPage) GetData added in v1.260819.0

func (p *BetaTesterUsagesPage) GetData() any

GetData exposes the page's data array for page-size reporting.

func (p *BetaTesterUsagesPage) GetLinks() *Links

GetLinks lets the usages page participate in pagination warnings.

type BetaTesterUsagesResponse

type BetaTesterUsagesResponse struct {
	Data json.RawMessage `json:"-"`
}

BetaTesterUsagesResponse wraps raw beta tester usage metrics JSON.

func (*BetaTesterUsagesResponse) GetData added in v1.260819.0

func (r *BetaTesterUsagesResponse) GetData() any

GetData exposes the wrapped payload's data array for page-size reporting.

func (r *BetaTesterUsagesResponse) GetLinks() *Links

GetLinks parses the wrapped payload's links so single-page prints can participate in pagination warnings; printed output stays the raw payload.

func (BetaTesterUsagesResponse) MarshalJSON

func (r BetaTesterUsagesResponse) MarshalJSON() ([]byte, error)

MarshalJSON preserves raw API JSON for beta tester usage metrics.

type BetaTestersExportSummary added in v1.260819.0

type BetaTestersExportSummary struct {
	AppID         string `json:"appId"`
	OutputFile    string `json:"outputFile"`
	Total         int    `json:"total"`
	IncludeGroups bool   `json:"includeGroups"`
}

BetaTestersExportSummary represents CLI output for beta tester CSV exports.

type BetaTestersImportFailure added in v1.260819.0

type BetaTestersImportFailure struct {
	Row   int    `json:"row"`
	Email string `json:"email,omitempty"`
	Error string `json:"error"`
}

BetaTestersImportFailure records one CSV row that could not be imported.

type BetaTestersImportSummary added in v1.260819.0

type BetaTestersImportSummary struct {
	AppID           string                     `json:"appId"`
	InputFile       string                     `json:"inputFile"`
	DryRun          bool                       `json:"dryRun"`
	Invite          bool                       `json:"invite"`
	SkipExisting    bool                       `json:"skipExisting"`
	ContinueOnError bool                       `json:"continueOnError"`
	AppliedGroup    string                     `json:"appliedGroup,omitempty"`
	Total           int                        `json:"total"`
	Created         int                        `json:"created"`
	Existed         int                        `json:"existed"`
	Updated         int                        `json:"updated"`
	Invited         int                        `json:"invited"`
	Failed          int                        `json:"failed"`
	Failures        []BetaTestersImportFailure `json:"failures,omitempty"`
}

BetaTestersImportSummary represents CLI output for beta tester CSV imports.

type BetaTestersOption

type BetaTestersOption func(*betaTestersQuery)

BetaTestersOption is a functional option for GetBetaTesters.

func WithBetaTestersBuildID

func WithBetaTestersBuildID(buildID string) BetaTestersOption

WithBetaTestersBuildID filters beta testers by build ID.

func WithBetaTestersEmail

func WithBetaTestersEmail(email string) BetaTestersOption

WithBetaTestersEmail filters beta testers by email.

func WithBetaTestersFields

func WithBetaTestersFields(fields []string) BetaTestersOption

WithBetaTestersFields sets fields[betaTesters].

func WithBetaTestersFirstName added in v1.260819.0

func WithBetaTestersFirstName(firstName string) BetaTestersOption

WithBetaTestersFirstName filters beta testers by first name.

func WithBetaTestersGroupIDs

func WithBetaTestersGroupIDs(ids []string) BetaTestersOption

WithBetaTestersGroupIDs filters beta testers by beta group ID(s).

func WithBetaTestersIDs added in v1.260819.0

func WithBetaTestersIDs(ids []string) BetaTestersOption

WithBetaTestersIDs filters beta testers by tester ID(s).

func WithBetaTestersInclude added in v1.260828.0

func WithBetaTestersInclude(include []string) BetaTestersOption

WithBetaTestersInclude specifies related resources to include in beta tester responses (apps, betaGroups, builds). Including betaGroups returns each tester's group memberships in one call instead of a per-tester lookup.

func WithBetaTestersInviteTypes added in v1.260828.0

func WithBetaTestersInviteTypes(inviteTypes []string) BetaTestersOption

WithBetaTestersInviteTypes filters beta testers by invite type (EMAIL, PUBLIC_LINK). Unlike the relationship filters, filter[inviteType] combines freely with the app, group, and build filters.

func WithBetaTestersLastName added in v1.260819.0

func WithBetaTestersLastName(lastName string) BetaTestersOption

WithBetaTestersLastName filters beta testers by last name.

func WithBetaTestersSort added in v1.260828.0

func WithBetaTestersSort(sort string) BetaTestersOption

WithBetaTestersSort sets the sort order for beta testers.

type BetaTestersResponse

type BetaTestersResponse = Response[BetaTesterAttributes]

BetaTestersResponse is the BetaTestersResponse schema.

type BuildAppLinkageResponse

type BuildAppLinkageResponse struct {
	Data  ResourceData `json:"data"`
	Links Links        `json:"links"`
}

BuildAppLinkageResponse is the response for build app relationships.

type BuildAppStoreVersionLinkageResponse

type BuildAppStoreVersionLinkageResponse struct {
	Data  ResourceData `json:"data"`
	Links Links        `json:"links"`
}

BuildAppStoreVersionLinkageResponse is the response for build app store version relationships.

type BuildAttributes

type BuildAttributes struct {
	Version                    string            `json:"version"`
	UploadedDate               string            `json:"uploadedDate"`
	ExpirationDate             string            `json:"expirationDate,omitempty"`
	ProcessingState            string            `json:"processingState,omitempty"`
	MinOSVersion               string            `json:"minOsVersion,omitempty"`
	LSMinimumSystemVersion     string            `json:"lsMinimumSystemVersion,omitempty"`
	ComputedMinMacOSVersion    string            `json:"computedMinMacOsVersion,omitempty"`
	ComputedMinVisionOSVersion string            `json:"computedMinVisionOsVersion,omitempty"`
	IconAssetToken             *ImageAsset       `json:"iconAssetToken,omitempty"`
	BuildAudienceType          BuildAudienceType `json:"buildAudienceType,omitempty"`
	UsesNonExemptEncryption    *bool             `json:"usesNonExemptEncryption,omitempty"`
	Expired                    bool              `json:"-"`
	// contains filtered or unexported fields
}

BuildAttributes describes a build resource.

func (BuildAttributes) ExpiredValue added in v1.260822.0

func (a BuildAttributes) ExpiredValue() (bool, bool)

ExpiredValue reports the build expiry value and whether the API supplied it. The presence result prevents callers from treating an omitted attribute as an explicit false value.

func (BuildAttributes) MarshalJSON added in v1.260807.0

func (a BuildAttributes) MarshalJSON() ([]byte, error)

MarshalJSON preserves the distinction between an absent expired attribute and an explicit false value returned by App Store Connect.

func (*BuildAttributes) UnmarshalJSON added in v1.260807.0

func (a *BuildAttributes) UnmarshalJSON(data []byte) error

UnmarshalJSON records whether the API supplied expired so an explicit false survives subsequent JSON output without changing the public bool field.

type BuildAudienceType added in v1.260807.0

type BuildAudienceType string

BuildAudienceType represents who can receive a build.

const (
	BuildAudienceTypeInternalOnly     BuildAudienceType = "INTERNAL_ONLY"
	BuildAudienceTypeAppStoreEligible BuildAudienceType = "APP_STORE_ELIGIBLE"
)

type BuildBetaDetailAttributes

type BuildBetaDetailAttributes struct {
	AutoNotifyEnabled  bool   `json:"autoNotifyEnabled,omitempty"`
	InternalBuildState string `json:"internalBuildState,omitempty"`
	ExternalBuildState string `json:"externalBuildState,omitempty"`
	// contains filtered or unexported fields
}

BuildBetaDetailAttributes describes build beta detail attributes.

func (BuildBetaDetailAttributes) MarshalJSON

func (a BuildBetaDetailAttributes) MarshalJSON() ([]byte, error)

func (*BuildBetaDetailAttributes) UnmarshalJSON

func (a *BuildBetaDetailAttributes) UnmarshalJSON(data []byte) error

type BuildBetaDetailResponse

type BuildBetaDetailResponse = SingleResponse[BuildBetaDetailAttributes]

BuildBetaDetailResponse is the BuildBetaDetailResponse schema.

type BuildBetaDetailUpdateAttributes

type BuildBetaDetailUpdateAttributes struct {
	AutoNotifyEnabled *bool `json:"autoNotifyEnabled,omitempty"`
}

BuildBetaDetailUpdateAttributes is the data.attributes object of the BuildBetaDetailUpdateRequest schema.

type BuildBetaDetailUpdateData

type BuildBetaDetailUpdateData struct {
	Type       ResourceType                     `json:"type"`
	ID         string                           `json:"id"`
	Attributes *BuildBetaDetailUpdateAttributes `json:"attributes,omitempty"`
}

BuildBetaDetailUpdateData is the data object of the BuildBetaDetailUpdateRequest schema.

type BuildBetaDetailUpdateRequest

type BuildBetaDetailUpdateRequest struct {
	Data BuildBetaDetailUpdateData `json:"data"`
}

BuildBetaDetailUpdateRequest is the BuildBetaDetailUpdateRequest schema.

type BuildBetaDetailsOption

type BuildBetaDetailsOption func(*buildBetaDetailsQuery)

BuildBetaDetailsOption sets the query of GET /v1/buildBetaDetails (buildBetaDetails_getCollection).

func WithBuildBetaDetailsBuildIDs

func WithBuildBetaDetailsBuildIDs(ids []string) BuildBetaDetailsOption

WithBuildBetaDetailsBuildIDs sets filter[build].

type BuildBetaDetailsResponse

type BuildBetaDetailsResponse = Response[BuildBetaDetailAttributes]

BuildBetaDetailsResponse is the BuildBetaDetailsResponse schema.

type BuildBetaGroupMembershipFailure added in v1.260810.0

type BuildBetaGroupMembershipFailure struct {
	GroupID   string `json:"groupId"`
	GroupName string `json:"groupName,omitempty"`
	Error     string `json:"error"`
}

BuildBetaGroupMembershipFailure records an inverse relationship lookup that could not be completed.

type BuildBetaGroupMembershipGroup added in v1.260810.0

type BuildBetaGroupMembershipGroup struct {
	ID                   string `json:"id"`
	Name                 string `json:"name"`
	Type                 string `json:"type"`
	Membership           string `json:"membership"`
	HasAccessToAllBuilds bool   `json:"hasAccessToAllBuilds"`
}

BuildBetaGroupMembershipGroup is one group that contains or implicitly receives a build.

type BuildBetaGroupMembershipResult added in v1.260810.0

type BuildBetaGroupMembershipResult struct {
	BuildID      string                            `json:"buildId"`
	AppID        string                            `json:"appId"`
	Complete     bool                              `json:"complete"`
	LookupMethod string                            `json:"lookupMethod"`
	GroupCount   int                               `json:"groupCount"`
	Groups       []BuildBetaGroupMembershipGroup   `json:"groups"`
	Failures     []BuildBetaGroupMembershipFailure `json:"failures,omitempty"`
}

BuildBetaGroupMembershipResult describes the TestFlight groups that give a build access, including explicit relationship membership and all-build access.

type BuildBetaGroupsNotificationAction

type BuildBetaGroupsNotificationAction string

BuildBetaGroupsNotificationAction describes how notify=true was satisfied.

const (
	BuildBetaGroupsNotificationActionNone              BuildBetaGroupsNotificationAction = ""
	BuildBetaGroupsNotificationActionManual            BuildBetaGroupsNotificationAction = "manual"
	BuildBetaGroupsNotificationActionAutoNotifyEnabled BuildBetaGroupsNotificationAction = "auto_notify_enabled"
)

type BuildBetaGroupsPartialError

type BuildBetaGroupsPartialError struct {
	BuildID string
	Step    string
	Err     error
}

BuildBetaGroupsPartialError reports that the beta-group assignment succeeded, but a follow-up notification step failed.

func (*BuildBetaGroupsPartialError) Error

func (*BuildBetaGroupsPartialError) Unwrap

func (e *BuildBetaGroupsPartialError) Unwrap() error

type BuildBetaGroupsUpdateResult

type BuildBetaGroupsUpdateResult struct {
	BuildID  string   `json:"buildId"`
	GroupIDs []string `json:"groupIds"`
	Action   string   `json:"action"`
	DryRun   bool     `json:"dryRun,omitempty"`
}

BuildBetaGroupsUpdateResult represents CLI output for build beta group updates.

type BuildBetaNotificationCreateData

type BuildBetaNotificationCreateData struct {
	Type          ResourceType                       `json:"type"`
	Relationships BuildBetaNotificationRelationships `json:"relationships"`
}

BuildBetaNotificationCreateData is the data object of the BuildBetaNotificationCreateRequest schema.

type BuildBetaNotificationCreateRequest

type BuildBetaNotificationCreateRequest struct {
	Data BuildBetaNotificationCreateData `json:"data"`
}

BuildBetaNotificationCreateRequest is the BuildBetaNotificationCreateRequest schema.

type BuildBetaNotificationRelationships

type BuildBetaNotificationRelationships struct {
	Build Relationship `json:"build"`
}

BuildBetaNotificationRelationships is the data.relationships object of the BuildBetaNotificationCreateRequest schema.

type BuildBetaNotificationResource

type BuildBetaNotificationResource struct {
	Type ResourceType `json:"type"`
	ID   string       `json:"id"`
}

BuildBetaNotificationResource represents a build beta notification resource.

type BuildBetaNotificationResponse

type BuildBetaNotificationResponse struct {
	Data               BuildBetaNotificationResource     `json:"data"`
	Links              Links                             `json:"links"`
	NotificationAction BuildBetaGroupsNotificationAction `json:"notificationAction,omitempty"`
}

BuildBetaNotificationResponse is the response from build beta notification endpoints.

func (BuildBetaNotificationResponse) MarshalJSON added in v1.260819.0

func (r BuildBetaNotificationResponse) MarshalJSON() ([]byte, error)

MarshalJSON keeps idempotent action results focused on the action instead of emitting zero-valued API resource fields when no notification was created.

type BuildBuildBetaDetailLinkageResponse

type BuildBuildBetaDetailLinkageResponse struct {
	Data  ResourceData `json:"data"`
	Links Links        `json:"links"`
}

BuildBuildBetaDetailLinkageResponse is the response for build beta detail relationships.

type BuildBundleAttributes

type BuildBundleAttributes struct {
	BundleID                        *string                      `json:"bundleId,omitempty"`
	BundleType                      *BuildBundleType             `json:"bundleType,omitempty"`
	SDKBuild                        *string                      `json:"sdkBuild,omitempty"`
	PlatformBuild                   *string                      `json:"platformBuild,omitempty"`
	FileName                        *string                      `json:"fileName,omitempty"`
	HasSiriKit                      *bool                        `json:"hasSirikit,omitempty"`
	HasOnDemandResources            *bool                        `json:"hasOnDemandResources,omitempty"`
	HasPrerenderedIcon              *bool                        `json:"hasPrerenderedIcon,omitempty"`
	UsesLocationServices            *bool                        `json:"usesLocationServices,omitempty"`
	IsIOSBuildMacAppStoreCompatible *bool                        `json:"isIosBuildMacAppStoreCompatible,omitempty"`
	IncludesSymbols                 *bool                        `json:"includesSymbols,omitempty"`
	DSYMURL                         *string                      `json:"dSYMUrl,omitempty"`
	SupportedArchitectures          []string                     `json:"supportedArchitectures,omitempty"`
	RequiredCapabilities            []string                     `json:"requiredCapabilities,omitempty"`
	DeviceProtocols                 []string                     `json:"deviceProtocols,omitempty"`
	Locales                         []string                     `json:"locales,omitempty"`
	Entitlements                    map[string]map[string]string `json:"entitlements,omitempty"`
	BADownloadAllowance             *int64                       `json:"baDownloadAllowance,omitempty"`
	BAMaxInstallSize                *int64                       `json:"baMaxInstallSize,omitempty"`
	MinimumOSVersion                *string                      `json:"minimumOsVersion,omitempty"`
}

BuildBundleAttributes describes a build bundle resource.

type BuildBundleFileSizeAttributes

type BuildBundleFileSizeAttributes struct {
	DeviceModel   *string `json:"deviceModel,omitempty"`
	OSVersion     *string `json:"osVersion,omitempty"`
	DownloadBytes *int64  `json:"downloadBytes,omitempty"`
	InstallBytes  *int64  `json:"installBytes,omitempty"`
}

BuildBundleFileSizeAttributes describes a build bundle file size resource.

type BuildBundleFileSizesOption

type BuildBundleFileSizesOption func(*buildBundleFileSizesQuery)

BuildBundleFileSizesOption sets the query of GET /v1/buildBundles/{id}/buildBundleFileSizes (buildBundles_buildBundleFileSizes_getToManyRelated).

type BuildBundleFileSizesResponse

type BuildBundleFileSizesResponse = Response[BuildBundleFileSizeAttributes]

BuildBundleFileSizesResponse is the response from build bundle file sizes endpoint.

type BuildBundleType

type BuildBundleType string

BuildBundleType represents the type of build bundle.

const (
	BuildBundleTypeApp     BuildBundleType = "APP"
	BuildBundleTypeAppClip BuildBundleType = "APP_CLIP"
)

type BuildBundlesOption

type BuildBundlesOption func(*buildBundlesQuery)

BuildBundlesOption is a functional option for GetBuildBundlesForBuild.

func WithBuildBundlesLimit

func WithBuildBundlesLimit(limit int) BuildBundlesOption

WithBuildBundlesLimit sets the max number of included build bundles to return.

type BuildBundlesResponse

type BuildBundlesResponse = Response[BuildBundleAttributes]

BuildBundlesResponse is the response from build bundle include list.

type BuildExpireAllFailure

type BuildExpireAllFailure struct {
	ID    string `json:"id"`
	Error string `json:"error"`
}

BuildExpireAllFailure represents a failed expiration attempt.

type BuildExpireAllItem

type BuildExpireAllItem struct {
	ID           string `json:"id"`
	Version      string `json:"version"`
	UploadedDate string `json:"uploadedDate"`
	AgeDays      int    `json:"ageDays"`
	Expired      *bool  `json:"expired,omitempty"`
}

BuildExpireAllItem represents a build selected for expiration.

type BuildExpireAllResult

type BuildExpireAllResult struct {
	DryRun              bool                    `json:"dryRun"`
	AppID               string                  `json:"appId"`
	Version             *string                 `json:"version,omitempty"`
	OlderThan           *string                 `json:"olderThan,omitempty"`
	KeepLatest          *int                    `json:"keepLatest,omitempty"`
	SelectedCount       int                     `json:"selectedCount"`
	ExpiredCount        int                     `json:"expiredCount"`
	SkippedExpiredCount *int                    `json:"skippedExpiredCount,omitempty"`
	SkippedInvalidCount *int                    `json:"skippedInvalidCount,omitempty"`
	Builds              []BuildExpireAllItem    `json:"builds"`
	Failures            []BuildExpireAllFailure `json:"failures,omitempty"`
}

BuildExpireAllResult represents CLI output for batch build expiration.

type BuildIconAttributes

type BuildIconAttributes struct {
	IconAsset *ImageAsset   `json:"iconAsset,omitempty"`
	IconType  IconAssetType `json:"iconType,omitempty"`
	Masked    bool          `json:"masked,omitempty"`
	Name      string        `json:"name,omitempty"`
}

BuildIconAttributes describes a build icon resource.

type BuildIconsOption

type BuildIconsOption func(*listQuery)

BuildIconsOption is a functional option for GetBuildIcons.

type BuildIconsResponse

type BuildIconsResponse = Response[BuildIconAttributes]

BuildIconsResponse is the response from build icons endpoint.

type BuildIndividualTestersOption

type BuildIndividualTestersOption func(*buildIndividualTestersQuery)

BuildIndividualTestersOption sets the query of GET /v1/builds/{id}/individualTesters (builds_individualTesters_getToManyRelated).

type BuildIndividualTestersUpdateResult

type BuildIndividualTestersUpdateResult struct {
	BuildID   string   `json:"buildId"`
	TesterIDs []string `json:"testerIds"`
	Action    string   `json:"action"`
}

BuildIndividualTestersUpdateResult represents CLI output for build individual tester updates.

type BuildOption

type BuildOption func(*buildQuery)

BuildOption is a functional option for GetBuild.

func WithBuildInclude

func WithBuildInclude(include []string) BuildOption

WithBuildInclude requests related resources for a single build.

type BuildPreReleaseVersionLinkageResponse

type BuildPreReleaseVersionLinkageResponse struct {
	Data  ResourceData `json:"data"`
	Links Links        `json:"links"`
}

BuildPreReleaseVersionLinkageResponse is the response for build pre-release version relationships.

type BuildResponse

type BuildResponse = SingleResponse[BuildAttributes]

BuildResponse is the BuildResponse schema.

type BuildUpdateAttributes

type BuildUpdateAttributes struct {
	UsesNonExemptEncryption *bool `json:"usesNonExemptEncryption,omitempty"`
	Expired                 *bool `json:"expired,omitempty"`
}

BuildUpdateAttributes describes mutable attributes on a build resource.

type BuildUploadAttributes

type BuildUploadAttributes struct {
	CFBundleShortVersionString string              `json:"cfBundleShortVersionString"`
	CFBundleVersion            string              `json:"cfBundleVersion"`
	Platform                   Platform            `json:"platform"`
	CreatedDate                *string             `json:"createdDate,omitempty"`
	UploadedDate               *string             `json:"uploadedDate,omitempty"`
	State                      *AppMediaAssetState `json:"state,omitempty"`
}

BuildUploadAttributes describes a build upload resource.

type BuildUploadCreateData

type BuildUploadCreateData struct {
	Type          ResourceType              `json:"type"`
	Attributes    BuildUploadAttributes     `json:"attributes"`
	Relationships *BuildUploadRelationships `json:"relationships,omitempty"`
}

BuildUploadCreateData is the data portion of a build upload create request.

type BuildUploadCreateRequest

type BuildUploadCreateRequest struct {
	Data BuildUploadCreateData `json:"data"`
}

BuildUploadCreateRequest is the BuildUploadCreateRequest schema.

type BuildUploadFileAttributes

type BuildUploadFileAttributes struct {
	AssetDeliveryState  *AppMediaAssetState `json:"assetDeliveryState,omitempty"`
	AssetToken          *string             `json:"assetToken,omitempty"`
	AssetType           AssetType           `json:"assetType,omitempty"`
	FileName            string              `json:"fileName"`
	FileSize            int64               `json:"fileSize"`
	SourceFileChecksums *Checksums          `json:"sourceFileChecksums,omitempty"`
	UploadOperations    []UploadOperation   `json:"uploadOperations,omitempty"`
	UTI                 UTI                 `json:"uti"`
	Uploaded            *bool               `json:"uploaded,omitempty"`
}

BuildUploadFileAttributes describes a build upload file resource.

type BuildUploadFileCreateData

type BuildUploadFileCreateData struct {
	Type          ResourceType                  `json:"type"`
	Attributes    BuildUploadFileAttributes     `json:"attributes"`
	Relationships *BuildUploadFileRelationships `json:"relationships"`
}

BuildUploadFileCreateData is the data portion of a build upload file create request.

type BuildUploadFileCreateRequest

type BuildUploadFileCreateRequest struct {
	Data BuildUploadFileCreateData `json:"data"`
}

BuildUploadFileCreateRequest is the BuildUploadFileCreateRequest schema.

type BuildUploadFileRelationships

type BuildUploadFileRelationships struct {
	BuildUpload *Relationship `json:"buildUpload"`
}

BuildUploadFileRelationships is the data.relationships object of the BuildUploadFileCreateRequest schema.

type BuildUploadFileResponse

type BuildUploadFileResponse = SingleResourceResponse[BuildUploadFileAttributes]

BuildUploadFileResponse is the response from build upload file endpoint.

type BuildUploadFileUpdateAttributes

type BuildUploadFileUpdateAttributes struct {
	SourceFileChecksums *Checksums `json:"sourceFileChecksums,omitempty"`
	Uploaded            *bool      `json:"uploaded,omitempty"`
}

BuildUploadFileUpdateAttributes is the data.attributes object of the BuildUploadFileUpdateRequest schema.

type BuildUploadFileUpdateData

type BuildUploadFileUpdateData struct {
	Type       ResourceType                     `json:"type"`
	ID         string                           `json:"id"`
	Attributes *BuildUploadFileUpdateAttributes `json:"attributes,omitempty"`
}

BuildUploadFileUpdateData is the data object of the BuildUploadFileUpdateRequest schema.

type BuildUploadFileUpdateRequest

type BuildUploadFileUpdateRequest struct {
	Data BuildUploadFileUpdateData `json:"data"`
}

BuildUploadFileUpdateRequest is the BuildUploadFileUpdateRequest schema.

type BuildUploadFilesOption

type BuildUploadFilesOption func(*buildUploadFilesQuery)

BuildUploadFilesOption sets the query of GET /v1/buildUploads/{id}/buildUploadFiles (buildUploads_buildUploadFiles_getToManyRelated).

type BuildUploadFilesResponse

type BuildUploadFilesResponse = Response[BuildUploadFileAttributes]

BuildUploadFilesResponse is the response from build upload files list endpoint.

type BuildUploadOption

type BuildUploadOption func(*buildUploadQuery)

BuildUploadOption is a functional option for GetBuildUpload.

func WithBuildUploadInclude

func WithBuildUploadInclude(include []string) BuildUploadOption

WithBuildUploadInclude requests related resources for a single build upload. App Store Connect returns the build relationship linkage only when "build" is included.

type BuildUploadRelationships

type BuildUploadRelationships struct {
	App   *Relationship `json:"app,omitempty"`
	Build *Relationship `json:"build,omitempty"`
}

BuildUploadRelationships describes the relationships for a build upload.

type BuildUploadResponse

type BuildUploadResponse = SingleResourceResponse[BuildUploadAttributes]

BuildUploadResponse is the response from build upload endpoint.

type BuildUploadResult

type BuildUploadResult struct {
	UploadID            string            `json:"uploadId"`
	FileID              string            `json:"fileId"`
	FileName            string            `json:"fileName"`
	FileSize            int64             `json:"fileSize"`
	Operations          []UploadOperation `json:"operations,omitempty"`
	Uploaded            *bool             `json:"uploaded,omitempty"`
	ChecksumVerified    *bool             `json:"checksumVerified,omitempty"`
	SourceFileChecksums *Checksums        `json:"sourceFileChecksums,omitempty"`
	// BuildID is the build resource created from this upload, set once the
	// command resolves it (--wait, --test-notes, or --verify-timeout).
	BuildID string `json:"buildId,omitempty"`
}

BuildUploadResult represents CLI output for build upload operations.

type BuildUploadsOption

type BuildUploadsOption func(*buildUploadsQuery)

BuildUploadsOption is a functional option for GetBuildUploads.

func WithBuildUploadsCFBundleShortVersionStrings

func WithBuildUploadsCFBundleShortVersionStrings(values []string) BuildUploadsOption

WithBuildUploadsCFBundleShortVersionStrings filters build uploads by CFBundleShortVersionString.

func WithBuildUploadsCFBundleVersions

func WithBuildUploadsCFBundleVersions(values []string) BuildUploadsOption

WithBuildUploadsCFBundleVersions filters build uploads by CFBundleVersion.

func WithBuildUploadsPlatforms

func WithBuildUploadsPlatforms(platforms []string) BuildUploadsOption

WithBuildUploadsPlatforms filters build uploads by platform(s).

func WithBuildUploadsSort

func WithBuildUploadsSort(sort string) BuildUploadsOption

WithBuildUploadsSort sets the sort order for build uploads.

func WithBuildUploadsStates

func WithBuildUploadsStates(states []string) BuildUploadsOption

WithBuildUploadsStates filters build uploads by upload state(s).

type BuildUploadsResponse

type BuildUploadsResponse = Response[BuildUploadAttributes]

BuildUploadsResponse is the response from build uploads list endpoint.

type BuildWaitPendingResult

type BuildWaitPendingResult struct {
	Status          string                  `json:"status"`
	Phase           string                  `json:"phase"`
	Summary         string                  `json:"summary"`
	AppID           string                  `json:"appId,omitempty"`
	BuildID         string                  `json:"buildId,omitempty"`
	Version         string                  `json:"version,omitempty"`
	BuildNumber     string                  `json:"buildNumber,omitempty"`
	Platform        string                  `json:"platform,omitempty"`
	ProcessingState string                  `json:"processingState,omitempty"`
	Upload          *BuildWaitPendingUpload `json:"upload,omitempty"`
	Elapsed         string                  `json:"elapsed"`
	Timeout         string                  `json:"timeout"`
	ResumeCommand   string                  `json:"resumeCommand,omitempty"`
}

BuildWaitPendingResult is the builds wait --report-pending receipt for a wait whose --timeout expired before the build reached a terminal processing state. Status is always "pending"; Phase is "discovery" while no build matches the selector yet and "processing" once the build exists.

type BuildWaitPendingUpload

type BuildWaitPendingUpload struct {
	ID           string `json:"id"`
	State        string `json:"state,omitempty"`
	Version      string `json:"version,omitempty"`
	BuildNumber  string `json:"buildNumber,omitempty"`
	Platform     string `json:"platform,omitempty"`
	UploadedDate string `json:"uploadedDate,omitempty"`
}

BuildWaitPendingUpload describes the newest build upload that matches a builds wait selector while no build is visible for it yet.

type BuildWaitResult added in v1.260819.0

type BuildWaitResult struct {
	Data            Resource[BuildAttributes] `json:"data"`
	Links           Links                     `json:"links,omitempty"`
	BuildID         string                    `json:"buildId"`
	Version         string                    `json:"version,omitempty"`
	BuildNumber     string                    `json:"buildNumber,omitempty"`
	ProcessingState string                    `json:"processingState"`
	Elapsed         string                    `json:"elapsed"`
}

BuildWaitResult represents CLI output for builds wait: the resolved build resource plus computed wait metadata.

type BuildsCountResult

type BuildsCountResult struct {
	AppID string `json:"appId"`
	Total int    `json:"total"`
}

BuildsCountResult represents the output of the builds count command.

type BuildsNextBuildNumberResult added in v1.260328.0

type BuildsNextBuildNumberResult struct {
	LatestProcessedBuildNumber *string  `json:"latestProcessedBuildNumber"`
	LatestUploadBuildNumber    *string  `json:"latestUploadBuildNumber"`
	LatestObservedBuildNumber  *string  `json:"latestObservedBuildNumber"`
	NextBuildNumber            string   `json:"nextBuildNumber"`
	SourcesConsidered          []string `json:"sourcesConsidered"`
}

BuildsNextBuildNumberResult represents CLI output for next build number selection.

type BuildsOption

type BuildsOption func(*buildsQuery)

BuildsOption is a functional option for GetBuilds.

func WithBuildsAudienceType

func WithBuildsAudienceType(audience BuildAudienceType) BuildsOption

WithBuildsAudienceType filters builds by their distribution audience.

func WithBuildsBetaReviewStates added in v1.260810.0

func WithBuildsBetaReviewStates(states []string) BuildsOption

WithBuildsBetaReviewStates filters builds by their beta app review submission state.

func WithBuildsBuildNumber

func WithBuildsBuildNumber(buildNumber string) BuildsOption

WithBuildsBuildNumber filters builds by build number. App Store Connect models build number as build version, so this maps to filter[version].

func WithBuildsExpired

func WithBuildsExpired(expired bool) BuildsOption

WithBuildsExpired filters builds by expired state.

func WithBuildsInclude

func WithBuildsInclude(include []string) BuildsOption

WithBuildsInclude specifies related resources to include in the response (e.g., "preReleaseVersion" to get the marketing version string).

func WithBuildsPreReleaseVersion

func WithBuildsPreReleaseVersion(preReleaseVersionID string) BuildsOption

WithBuildsPreReleaseVersion filters builds by a single pre-release version ID.

func WithBuildsPreReleaseVersionPlatforms

func WithBuildsPreReleaseVersionPlatforms(platforms []string) BuildsOption

WithBuildsPreReleaseVersionPlatforms filters builds by the related pre-release platform.

func WithBuildsPreReleaseVersions

func WithBuildsPreReleaseVersions(preReleaseVersionIDs []string) BuildsOption

WithBuildsPreReleaseVersions filters builds by one or more pre-release version IDs.

func WithBuildsProcessingStates

func WithBuildsProcessingStates(states []string) BuildsOption

WithBuildsProcessingStates filters builds by processing state.

func WithBuildsSort

func WithBuildsSort(sort string) BuildsOption

WithBuildsSort sets the sort order for builds.

func WithBuildsVersion

func WithBuildsVersion(version string) BuildsOption

WithBuildsVersion filters builds by build number (CFBundleVersion) via filter[version].

type BuildsResponse

type BuildsResponse = Response[BuildAttributes]

BuildsResponse is the BuildsResponse schema.

type BundleIDAttributes

type BundleIDAttributes struct {
	Name       string           `json:"name"`
	Identifier string           `json:"identifier"`
	Platform   BundleIDPlatform `json:"platform"`
	SeedID     string           `json:"seedId,omitempty"`
	// contains filtered or unexported fields
}

BundleIDAttributes describes a bundle ID resource.

func (BundleIDAttributes) MarshalJSON added in v1.260828.0

func (a BundleIDAttributes) MarshalJSON() ([]byte, error)

MarshalJSON preserves fields Apple supplied in sparse responses while still serializing values changed by callers after decoding.

func (*BundleIDAttributes) UnmarshalJSON added in v1.260828.0

func (a *BundleIDAttributes) UnmarshalJSON(data []byte) error

UnmarshalJSON retains sparse field presence without changing the public, value-shaped BundleIDAttributes API.

type BundleIDCapabilitiesOption

type BundleIDCapabilitiesOption func(*bundleIDCapabilitiesQuery)

BundleIDCapabilitiesOption is a functional option for GetBundleIDCapabilities.

type BundleIDCapabilitiesResponse

type BundleIDCapabilitiesResponse = Response[BundleIDCapabilityAttributes]

BundleIDCapabilitiesResponse is the response from bundle ID capabilities endpoint.

type BundleIDCapabilityAttributes

type BundleIDCapabilityAttributes struct {
	CapabilityType string              `json:"capabilityType"`
	Settings       []CapabilitySetting `json:"settings,omitempty"`
}

BundleIDCapabilityAttributes describes a bundle ID capability resource.

type BundleIDCapabilityCreateAttributes

type BundleIDCapabilityCreateAttributes struct {
	CapabilityType string              `json:"capabilityType"`
	Settings       []CapabilitySetting `json:"settings,omitempty"`
}

BundleIDCapabilityCreateAttributes is the data.attributes object of the BundleIdCapabilityCreateRequest schema.

type BundleIDCapabilityCreateData

type BundleIDCapabilityCreateData struct {
	Type          ResourceType                       `json:"type"`
	Attributes    BundleIDCapabilityCreateAttributes `json:"attributes"`
	Relationships *BundleIDCapabilityRelationships   `json:"relationships"`
}

BundleIDCapabilityCreateData is the data object of the BundleIdCapabilityCreateRequest schema.

type BundleIDCapabilityCreateRequest

type BundleIDCapabilityCreateRequest struct {
	Data BundleIDCapabilityCreateData `json:"data"`
}

BundleIDCapabilityCreateRequest is the BundleIdCapabilityCreateRequest schema.

type BundleIDCapabilityRelationships

type BundleIDCapabilityRelationships struct {
	BundleID *Relationship `json:"bundleId"`
}

BundleIDCapabilityRelationships is the data.relationships object of the BundleIdCapabilityCreateRequest schema.

type BundleIDCapabilityResponse

type BundleIDCapabilityResponse = SingleResponse[BundleIDCapabilityAttributes]

BundleIDCapabilityResponse is the BundleIdCapabilityResponse schema.

type BundleIDCapabilityUpdateAttributes

type BundleIDCapabilityUpdateAttributes struct {
	CapabilityType string              `json:"capabilityType,omitempty"`
	Settings       []CapabilitySetting `json:"settings,omitempty"`
}

BundleIDCapabilityUpdateAttributes describes attributes for updating a capability.

type BundleIDCapabilityUpdateData

type BundleIDCapabilityUpdateData struct {
	Type       ResourceType                        `json:"type"`
	ID         string                              `json:"id"`
	Attributes *BundleIDCapabilityUpdateAttributes `json:"attributes,omitempty"`
}

BundleIDCapabilityUpdateData is the data object of the BundleIdCapabilityUpdateRequest schema.

type BundleIDCapabilityUpdateRequest

type BundleIDCapabilityUpdateRequest struct {
	Data BundleIDCapabilityUpdateData `json:"data"`
}

BundleIDCapabilityUpdateRequest is the BundleIdCapabilityUpdateRequest schema.

type BundleIDCreateAttributes

type BundleIDCreateAttributes struct {
	Name       string           `json:"name"`
	Identifier string           `json:"identifier"`
	Platform   BundleIDPlatform `json:"platform"`
	SeedID     string           `json:"seedId,omitempty"`
}

BundleIDCreateAttributes describes attributes for creating a bundle ID.

type BundleIDCreateData

type BundleIDCreateData struct {
	Type       ResourceType             `json:"type"`
	Attributes BundleIDCreateAttributes `json:"attributes"`
}

BundleIDCreateData is the data object of the BundleIdCreateRequest schema.

type BundleIDCreateRequest

type BundleIDCreateRequest struct {
	Data BundleIDCreateData `json:"data"`
}

BundleIDCreateRequest is the BundleIdCreateRequest schema.

type BundleIDPlatform added in v1.260807.0

type BundleIDPlatform string

BundleIDPlatform represents the platform of a bundle ID or registered device.

const (
	BundleIDPlatformIOS       BundleIDPlatform = "IOS"
	BundleIDPlatformMacOS     BundleIDPlatform = "MAC_OS"
	BundleIDPlatformUniversal BundleIDPlatform = "UNIVERSAL"
)

type BundleIDProfilesOption

type BundleIDProfilesOption func(*bundleIDProfilesQuery)

BundleIDProfilesOption sets the query of GET /v1/bundleIds/{id}/profiles (bundleIds_profiles_getToManyRelated).

type BundleIDResponse

type BundleIDResponse = SingleResponse[BundleIDAttributes]

BundleIDResponse is the BundleIdResponse schema.

type BundleIDUpdateAttributes

type BundleIDUpdateAttributes struct {
	Name string `json:"name,omitempty"`
}

BundleIDUpdateAttributes describes attributes for updating a bundle ID.

type BundleIDUpdateData

type BundleIDUpdateData struct {
	Type       ResourceType              `json:"type"`
	ID         string                    `json:"id"`
	Attributes *BundleIDUpdateAttributes `json:"attributes,omitempty"`
}

BundleIDUpdateData is the data object of the BundleIdUpdateRequest schema.

type BundleIDUpdateRequest

type BundleIDUpdateRequest struct {
	Data BundleIDUpdateData `json:"data"`
}

BundleIDUpdateRequest is the BundleIdUpdateRequest schema.

type BundleIDsOption

type BundleIDsOption func(*bundleIDsQuery)

BundleIDsOption is a functional option for GetBundleIDs.

func WithBundleIDsAppFields added in v1.260828.0

func WithBundleIDsAppFields(fields []string) BundleIDsOption

WithBundleIDsAppFields sets fields[apps] for the included app.

func WithBundleIDsCapabilitiesFields added in v1.260828.0

func WithBundleIDsCapabilitiesFields(fields []string) BundleIDsOption

WithBundleIDsCapabilitiesFields sets fields[bundleIdCapabilities] for included capabilities.

func WithBundleIDsCapabilitiesLimit added in v1.260828.0

func WithBundleIDsCapabilitiesLimit(limit int) BundleIDsOption

WithBundleIDsCapabilitiesLimit sets the maximum number of included capabilities.

func WithBundleIDsFields added in v1.260828.0

func WithBundleIDsFields(fields []string) BundleIDsOption

WithBundleIDsFields sets fields[bundleIds] for bundle ID responses.

func WithBundleIDsFilterIDs added in v1.260828.0

func WithBundleIDsFilterIDs(ids []string) BundleIDsOption

WithBundleIDsFilterIDs filters bundle IDs by ID(s).

func WithBundleIDsFilterIdentifier

func WithBundleIDsFilterIdentifier(identifier string) BundleIDsOption

WithBundleIDsFilterIdentifier filters bundle IDs by identifier (supports CSV).

func WithBundleIDsFilterNames added in v1.260828.0

func WithBundleIDsFilterNames(names []string) BundleIDsOption

WithBundleIDsFilterNames filters bundle IDs by name(s).

func WithBundleIDsFilterPlatforms added in v1.260828.0

func WithBundleIDsFilterPlatforms(platforms []string) BundleIDsOption

WithBundleIDsFilterPlatforms filters bundle IDs by platform(s).

func WithBundleIDsFilterSeedIDs added in v1.260828.0

func WithBundleIDsFilterSeedIDs(seedIDs []string) BundleIDsOption

WithBundleIDsFilterSeedIDs filters bundle IDs by seed ID(s).

func WithBundleIDsInclude added in v1.260828.0

func WithBundleIDsInclude(include []string) BundleIDsOption

WithBundleIDsInclude sets include for bundle ID responses.

func WithBundleIDsProfilesFields added in v1.260828.0

func WithBundleIDsProfilesFields(fields []string) BundleIDsOption

WithBundleIDsProfilesFields sets fields[profiles] for included profiles.

func WithBundleIDsProfilesLimit added in v1.260828.0

func WithBundleIDsProfilesLimit(limit int) BundleIDsOption

WithBundleIDsProfilesLimit sets the maximum number of included profiles.

func WithBundleIDsSort added in v1.260828.0

func WithBundleIDsSort(sort string) BundleIDsOption

WithBundleIDsSort sets the sort order for bundle IDs.

func WithBundleIDsSplitPagination added in v1.260828.0

func WithBundleIDsSplitPagination(enabled bool) BundleIDsOption

WithBundleIDsSplitPagination controls whether split identifier requests follow links.next. It defaults to enabled for direct client callers.

type BundleIDsResponse

type BundleIDsResponse = Response[BundleIDAttributes]

BundleIDsResponse is the BundleIdsResponse schema.

func PaginateBundleIDs added in v1.260828.0

func PaginateBundleIDs(ctx context.Context, firstPage *BundleIDsResponse, fetchNext func(context.Context, string) (*BundleIDsResponse, error)) (*BundleIDsResponse, error)

PaginateBundleIDs fetches and aggregates bundle ID pages while preserving unique included resources. It is intentionally endpoint-specific because generic pagination cannot know how to merge an Included JSON:API member.

type CapabilityOption

type CapabilityOption struct {
	Key              string `json:"key"`
	Name             string `json:"name,omitempty"`
	Description      string `json:"description,omitempty"`
	EnabledByDefault *bool  `json:"enabledByDefault,omitempty"`
	Enabled          *bool  `json:"enabled,omitempty"`
	SupportsWildcard *bool  `json:"supportsWildcard,omitempty"`
}

CapabilityOption describes a capability option.

type CapabilityReconcileAction

type CapabilityReconcileAction struct {
	Action       string              `json:"action"`
	Capability   string              `json:"capability,omitempty"`
	Entitlement  string              `json:"entitlement,omitempty"`
	CapabilityID string              `json:"capabilityId,omitempty"`
	Command      string              `json:"command,omitempty"`
	Settings     []CapabilitySetting `json:"settings,omitempty"`
	Status       string              `json:"status,omitempty"`
	Error        string              `json:"error,omitempty"`
}

CapabilityReconcileAction is one planned capability change.

type CapabilityReconcilePlan

type CapabilityReconcilePlan struct {
	BundleID string                      `json:"bundleId"`
	Actions  []CapabilityReconcileAction `json:"actions"`
}

CapabilityReconcilePlan is the result of entitlements-to-capability planning.

type CapabilitySetting

type CapabilitySetting struct {
	Key              string             `json:"key"`
	Name             string             `json:"name,omitempty"`
	Description      string             `json:"description,omitempty"`
	EnabledByDefault *bool              `json:"enabledByDefault,omitempty"`
	Visible          *bool              `json:"visible,omitempty"`
	AllowedInstances string             `json:"allowedInstances,omitempty"`
	MinInstances     *int               `json:"minInstances,omitempty"`
	Options          []CapabilityOption `json:"options,omitempty"`
}

CapabilitySetting describes a capability setting.

type CertificateAttributes

type CertificateAttributes struct {
	Name               string `json:"name"`
	CertificateType    string `json:"certificateType"`
	DisplayName        string `json:"displayName,omitempty"`
	SerialNumber       string `json:"serialNumber,omitempty"`
	Platform           string `json:"platform,omitempty"`
	ExpirationDate     string `json:"expirationDate,omitempty"`
	CertificateContent string `json:"certificateContent,omitempty"`
	Activated          *bool  `json:"activated,omitempty"`
	// contains filtered or unexported fields
}

CertificateAttributes describes a certificate resource.

func (CertificateAttributes) MarshalJSON added in v1.260828.0

func (a CertificateAttributes) MarshalJSON() ([]byte, error)

MarshalJSON preserves the fields Apple supplied for decoded sparse responses while keeping ordinary struct construction unchanged.

func (*CertificateAttributes) UnmarshalJSON added in v1.260828.0

func (a *CertificateAttributes) UnmarshalJSON(data []byte) error

UnmarshalJSON retains sparse field presence so list responses can be rendered without filling omitted certificate fields with zero values.

type CertificateCreateAttributes

type CertificateCreateAttributes struct {
	CertificateType string `json:"certificateType"`
	CSRContent      string `json:"csrContent"`
}

CertificateCreateAttributes describes attributes for creating a certificate.

type CertificateCreateData

type CertificateCreateData struct {
	Type          ResourceType                    `json:"type"`
	Attributes    CertificateCreateAttributes     `json:"attributes"`
	Relationships *CertificateCreateRelationships `json:"relationships,omitempty"`
}

CertificateCreateData is the data object of the CertificateCreateRequest schema.

type CertificateCreateOption added in v1.260804.0

type CertificateCreateOption func(*certificateCreateOptions)

CertificateCreateOption configures certificate creation.

func WithCertificateMerchantID

func WithCertificateMerchantID(merchantID string) CertificateCreateOption

WithCertificateMerchantID associates a merchant ID with an Apple Pay certificate.

func WithCertificatePassTypeID added in v1.260804.0

func WithCertificatePassTypeID(passTypeID string) CertificateCreateOption

WithCertificatePassTypeID associates a pass type ID with a pass certificate.

type CertificateCreateRelationships added in v1.260804.0

type CertificateCreateRelationships struct {
	MerchantID *Relationship `json:"merchantId,omitempty"`
	PassTypeID *Relationship `json:"passTypeId,omitempty"`
}

CertificateCreateRelationships is the data.relationships object of the CertificateCreateRequest schema.

type CertificateCreateRequest

type CertificateCreateRequest struct {
	Data CertificateCreateData `json:"data"`
}

CertificateCreateRequest is the CertificateCreateRequest schema.

type CertificateExportResult added in v1.260904.0

type CertificateExportResult struct {
	Operation         string `json:"operation"`
	CertificatePath   string `json:"certificatePath"`
	PrivateKeyPath    string `json:"privateKeyPath"`
	CSRPath           string `json:"csrPath,omitempty"`
	P12Out            string `json:"p12Out"`
	CertificateSHA256 string `json:"certificateSha256"`
	NotBefore         string `json:"notBefore"`
	NotAfter          string `json:"notAfter"`
	KeyType           string `json:"keyType"`
	KeySize           int    `json:"keySize"`
	PrivateKeyMatched bool   `json:"privateKeyMatched"`
	CSRMatched        *bool  `json:"csrMatched,omitempty"`
}

CertificateExportResult is the metadata-only result for certificates export. It intentionally contains no certificate, CSR, private-key, or password data.

type CertificatePassTypeIDLinkageResponse

type CertificatePassTypeIDLinkageResponse struct {
	Data  ResourceData `json:"data"`
	Links Links        `json:"links"`
}

CertificatePassTypeIDLinkageResponse is the response from certificate pass type ID linkage endpoint.

type CertificateResponse

type CertificateResponse = SingleResponse[CertificateAttributes]

CertificateResponse is the CertificateResponse schema.

type CertificateRevokeResult

type CertificateRevokeResult struct {
	ID      string `json:"id"`
	Revoked bool   `json:"revoked"`
}

CertificateRevokeResult represents CLI output for certificate revocations.

type CertificateUpdateAttributes

type CertificateUpdateAttributes struct {
	Activated *bool `json:"activated,omitempty"`
}

CertificateUpdateAttributes is the data.attributes object of the CertificateUpdateRequest schema.

type CertificateUpdateData

type CertificateUpdateData struct {
	Type       ResourceType                 `json:"type"`
	ID         string                       `json:"id"`
	Attributes *CertificateUpdateAttributes `json:"attributes,omitempty"`
}

CertificateUpdateData is the data object of the CertificateUpdateRequest schema.

type CertificateUpdateRequest

type CertificateUpdateRequest struct {
	Data CertificateUpdateData `json:"data"`
}

CertificateUpdateRequest is the CertificateUpdateRequest schema.

type CertificatesOption

type CertificatesOption func(*certificatesQuery)

CertificatesOption is a functional option for GetCertificates.

func WithCertificatesFields added in v1.260828.0

func WithCertificatesFields(fields []string) CertificatesOption

WithCertificatesFields sets fields[certificates] for certificate responses.

func WithCertificatesFilterDisplayNames added in v1.260828.0

func WithCertificatesFilterDisplayNames(names []string) CertificatesOption

WithCertificatesFilterDisplayNames filters certificates by display name(s).

func WithCertificatesFilterIDs added in v1.260828.0

func WithCertificatesFilterIDs(ids []string) CertificatesOption

WithCertificatesFilterIDs filters certificates by ID(s).

func WithCertificatesFilterSerialNumbers added in v1.260828.0

func WithCertificatesFilterSerialNumbers(serialNumbers []string) CertificatesOption

WithCertificatesFilterSerialNumbers filters certificates by serial number(s).

func WithCertificatesFilterType

func WithCertificatesFilterType(certType string) CertificatesOption

WithCertificatesFilterType filters certificates by certificate type (supports CSV).

func WithCertificatesInclude

func WithCertificatesInclude(include []string) CertificatesOption

WithCertificatesInclude sets include for certificate responses.

func WithCertificatesPassTypeIDFields added in v1.260828.0

func WithCertificatesPassTypeIDFields(fields []string) CertificatesOption

WithCertificatesPassTypeIDFields sets fields[passTypeIds] for included pass type IDs.

func WithCertificatesSort added in v1.260828.0

func WithCertificatesSort(sort string) CertificatesOption

WithCertificatesSort sets the certificate sort expression.

func WithCertificatesTypes

func WithCertificatesTypes(types []string) CertificatesOption

WithCertificatesTypes filters certificates by type.

type CertificatesResponse

type CertificatesResponse = Response[CertificateAttributes]

CertificatesResponse is the CertificatesResponse schema.

type Checksum

type Checksum struct {
	Hash      string            `json:"hash"`
	Algorithm ChecksumAlgorithm `json:"algorithm"`
}

Checksum represents a single checksum.

func ComputeChecksumFromReader

func ComputeChecksumFromReader(reader io.Reader, algorithm ChecksumAlgorithm) (*Checksum, error)

ComputeChecksumFromReader computes a checksum for an io.Reader.

func ComputeFileChecksum

func ComputeFileChecksum(filePath string, algorithm ChecksumAlgorithm) (*Checksum, error)

ComputeFileChecksum computes the checksum for a file using the provided algorithm.

func ComputeFileChecksumFromFile added in v1.260819.0

func ComputeFileChecksumFromFile(file *os.File, algorithm ChecksumAlgorithm) (*Checksum, error)

ComputeFileChecksumFromFile computes a checksum from an already-opened file without changing its current offset.

type ChecksumAlgorithm

type ChecksumAlgorithm = types.ChecksumAlgorithm

Core types — aliases to types package.

type Checksums

type Checksums struct {
	File      *Checksum `json:"file,omitempty"`
	Composite *Checksum `json:"composite,omitempty"`
}

Checksums represents file checksums.

func VerifySourceFileChecksums

func VerifySourceFileChecksums(filePath string, expected *Checksums) (*Checksums, error)

VerifySourceFileChecksums computes and compares checksums provided by the API.

func VerifySourceFileChecksumsFromFile added in v1.260819.0

func VerifySourceFileChecksumsFromFile(file *os.File, expected *Checksums) (*Checksums, error)

VerifySourceFileChecksumsFromFile computes and compares API-provided checksums against an already-opened source file.

type CiAction added in v1.260713.0

type CiAction struct {
	Name                      string          `json:"name,omitempty"`
	ActionType                string          `json:"actionType,omitempty"`
	Destination               string          `json:"destination,omitempty"`
	BuildDistributionAudience string          `json:"buildDistributionAudience,omitempty"`
	TestConfiguration         json.RawMessage `json:"testConfiguration,omitempty"`
	Scheme                    string          `json:"scheme,omitempty"`
	Platform                  string          `json:"platform,omitempty"`
	IsRequiredToPass          bool            `json:"isRequiredToPass"`
}

CiAction describes a build, analyze, test, or archive action in a CI workflow.

type CiArtifactAttributes

type CiArtifactAttributes struct {
	FileType    string `json:"fileType,omitempty"`
	FileName    string `json:"fileName,omitempty"`
	FileSize    int    `json:"fileSize,omitempty"`
	DownloadURL string `json:"downloadUrl,omitempty"`
}

CiArtifactAttributes is the attributes object of the CiArtifact schema.

type CiArtifactDownloadResult

type CiArtifactDownloadResult struct {
	ID           string `json:"id"`
	FileName     string `json:"fileName,omitempty"`
	FileType     string `json:"fileType,omitempty"`
	FileSize     int    `json:"fileSize,omitempty"`
	OutputPath   string `json:"outputPath"`
	BytesWritten int64  `json:"bytesWritten,omitempty"`
}

CiArtifactDownloadResult represents CLI output for artifact downloads.

type CiArtifactResource

type CiArtifactResource struct {
	Type       ResourceType         `json:"type"`
	ID         string               `json:"id"`
	Attributes CiArtifactAttributes `json:"attributes"`
}

CiArtifactResource represents a CI artifact resource.

type CiArtifactResponse

type CiArtifactResponse struct {
	Data  CiArtifactResource `json:"data"`
	Links Links              `json:"links"`
}

CiArtifactResponse is the response from CI artifact detail endpoints.

type CiArtifactsOption

type CiArtifactsOption func(*ciArtifactsQuery)

CiArtifactsOption sets the query of GET /v1/ciBuildActions/{id}/artifacts (ciBuildActions_artifacts_getToManyRelated).

type CiArtifactsResponse

type CiArtifactsResponse struct {
	Data  []CiArtifactResource `json:"data"`
	Links Links                `json:"links"`
}

CiArtifactsResponse is the response from CI artifacts endpoints.

func (*CiArtifactsResponse) GetData

func (r *CiArtifactsResponse) GetData() any

GetData returns the data field for aggregation.

func (r *CiArtifactsResponse) GetLinks() *Links

GetLinks returns the links field for pagination.

type CiBranchPatterns

type CiBranchPatterns struct {
	Patterns   []CiStartConditionPattern `json:"patterns,omitempty"`
	IsAllMatch bool                      `json:"isAllMatch,omitempty"`
}

CiBranchPatterns describes branch patterns.

type CiBranchStartCondition

type CiBranchStartCondition struct {
	Source              *CiBranchPatterns      `json:"source,omitempty"`
	FilesAndFoldersRule *CiFilesAndFoldersRule `json:"filesAndFoldersRule,omitempty"`
	AutoCancel          bool                   `json:"autoCancel,omitempty"`
}

CiBranchStartCondition describes branch start conditions.

type CiBuildActionAttributes

type CiBuildActionAttributes struct {
	Name              string                      `json:"name,omitempty"`
	ActionType        string                      `json:"actionType,omitempty"` // BUILD, ANALYZE, TEST, ARCHIVE
	ExecutionProgress CiBuildRunExecutionProgress `json:"executionProgress,omitempty"`
	CompletionStatus  CiBuildRunCompletionStatus  `json:"completionStatus,omitempty"`
	StartedDate       string                      `json:"startedDate,omitempty"`
	FinishedDate      string                      `json:"finishedDate,omitempty"`
	IssueCounts       *CiIssueCounts              `json:"issueCounts,omitempty"`
	IsRequiredToPass  *bool                       `json:"isRequiredToPass,omitempty"`
}

CiBuildActionAttributes describes a CI build action resource.

type CiBuildActionRelationships added in v1.260807.0

type CiBuildActionRelationships struct {
	BuildRun    *CiResourceRelationship  `json:"buildRun,omitempty"`
	Artifacts   *CiRelationshipLinksOnly `json:"artifacts,omitempty"`
	Issues      *CiRelationshipLinksOnly `json:"issues,omitempty"`
	TestResults *CiRelationshipLinksOnly `json:"testResults,omitempty"`
}

CiBuildActionRelationships describes relationships for a CI build action.

type CiBuildActionResource

type CiBuildActionResource struct {
	Type          ResourceType                `json:"type"`
	ID            string                      `json:"id"`
	Attributes    CiBuildActionAttributes     `json:"attributes"`
	Relationships *CiBuildActionRelationships `json:"relationships,omitempty"`
}

CiBuildActionResource represents a CI build action resource.

type CiBuildActionResponse

type CiBuildActionResponse struct {
	Data  CiBuildActionResource `json:"data"`
	Links Links                 `json:"links"`
}

CiBuildActionResponse is the response from CI build action detail endpoints.

type CiBuildActionsOption

type CiBuildActionsOption func(*ciBuildActionsQuery)

CiBuildActionsOption sets the query of GET /v1/ciBuildRuns/{id}/actions (ciBuildRuns_actions_getToManyRelated).

type CiBuildActionsResponse

type CiBuildActionsResponse struct {
	Data  []CiBuildActionResource `json:"data"`
	Links Links                   `json:"links"`
}

CiBuildActionsResponse is the response from CI build actions endpoints.

func (*CiBuildActionsResponse) GetData

func (r *CiBuildActionsResponse) GetData() any

GetData returns the data field for aggregation.

func (r *CiBuildActionsResponse) GetLinks() *Links

GetLinks returns the links field for pagination.

type CiBuildRunAttributes

type CiBuildRunAttributes struct {
	Number             int                         `json:"number,omitempty"`
	CreatedDate        string                      `json:"createdDate,omitempty"`
	StartedDate        string                      `json:"startedDate,omitempty"`
	FinishedDate       string                      `json:"finishedDate,omitempty"`
	SourceCommit       *CiGitRefInfo               `json:"sourceCommit,omitempty"`
	DestinationCommit  *CiGitRefInfo               `json:"destinationCommit,omitempty"`
	IsPullRequestBuild bool                        `json:"isPullRequestBuild,omitempty"`
	IssueCounts        *CiIssueCounts              `json:"issueCounts,omitempty"`
	ExecutionProgress  CiBuildRunExecutionProgress `json:"executionProgress,omitempty"`
	CompletionStatus   CiBuildRunCompletionStatus  `json:"completionStatus,omitempty"`
	StartReason        string                      `json:"startReason,omitempty"`
	CancelReason       string                      `json:"cancelReason,omitempty"`
}

CiBuildRunAttributes describes a CI build run resource.

type CiBuildRunBuildsOption

type CiBuildRunBuildsOption func(*ciBuildRunBuildsQuery)

CiBuildRunBuildsOption sets the query of GET /v1/ciBuildRuns/{id}/builds (ciBuildRuns_builds_getToManyRelated).

type CiBuildRunCompletionStatus

type CiBuildRunCompletionStatus string

CiBuildRunCompletionStatus represents the completion status of a build run.

const (
	CiBuildRunCompletionStatusSucceeded CiBuildRunCompletionStatus = "SUCCEEDED"
	CiBuildRunCompletionStatusFailed    CiBuildRunCompletionStatus = "FAILED"
	CiBuildRunCompletionStatusErrored   CiBuildRunCompletionStatus = "ERRORED"
	CiBuildRunCompletionStatusCanceled  CiBuildRunCompletionStatus = "CANCELED"
	CiBuildRunCompletionStatusSkipped   CiBuildRunCompletionStatus = "SKIPPED"
)

type CiBuildRunCreateAttributes

type CiBuildRunCreateAttributes struct {
	Clean *bool `json:"clean,omitempty"`
}

CiBuildRunCreateAttributes is the data.attributes object of the CiBuildRunCreateRequest schema.

type CiBuildRunCreateData

type CiBuildRunCreateData struct {
	Type          ResourceType                   `json:"type"`
	Attributes    *CiBuildRunCreateAttributes    `json:"attributes,omitempty"`
	Relationships *CiBuildRunCreateRelationships `json:"relationships,omitempty"`
}

CiBuildRunCreateData is the data object of the CiBuildRunCreateRequest schema.

type CiBuildRunCreateRelationships

type CiBuildRunCreateRelationships struct {
	BuildRun          *Relationship `json:"buildRun,omitempty"`
	Workflow          *Relationship `json:"workflow,omitempty"`
	SourceBranchOrTag *Relationship `json:"sourceBranchOrTag,omitempty"`
	PullRequest       *Relationship `json:"pullRequest,omitempty"`
}

CiBuildRunCreateRelationships is the data.relationships object of the CiBuildRunCreateRequest schema.

type CiBuildRunCreateRequest

type CiBuildRunCreateRequest struct {
	Data CiBuildRunCreateData `json:"data"`
}

CiBuildRunCreateRequest is the CiBuildRunCreateRequest schema.

type CiBuildRunExecutionProgress

type CiBuildRunExecutionProgress string

CiBuildRunExecutionProgress represents the execution progress of a build run.

const (
	CiBuildRunExecutionProgressPending  CiBuildRunExecutionProgress = "PENDING"
	CiBuildRunExecutionProgressRunning  CiBuildRunExecutionProgress = "RUNNING"
	CiBuildRunExecutionProgressComplete CiBuildRunExecutionProgress = "COMPLETE"
)

type CiBuildRunGetOption

type CiBuildRunGetOption func(*ciBuildRunGetQuery)

CiBuildRunGetOption is a functional option for GetCiBuildRun.

func WithCiBuildRunFields

func WithCiBuildRunFields(fields ...string) CiBuildRunGetOption

WithCiBuildRunFields limits returned fields for ciBuildRuns resources.

func WithCiBuildRunInclude

func WithCiBuildRunInclude(relationships ...string) CiBuildRunGetOption

WithCiBuildRunInclude includes related resources in the build run detail response.

type CiBuildRunRelationships

type CiBuildRunRelationships struct {
	Builds            *RelationshipList        `json:"builds,omitempty"`
	Workflow          *Relationship            `json:"workflow,omitempty"`
	Product           *Relationship            `json:"product,omitempty"`
	SourceBranchOrTag *Relationship            `json:"sourceBranchOrTag,omitempty"`
	DestinationBranch *Relationship            `json:"destinationBranch,omitempty"`
	Actions           *CiRelationshipLinksOnly `json:"actions,omitempty"`
	PullRequest       *Relationship            `json:"pullRequest,omitempty"`
}

CiBuildRunRelationships describes relationships for a CI build run.

type CiBuildRunResource

type CiBuildRunResource struct {
	Type          ResourceType             `json:"type"`
	ID            string                   `json:"id"`
	Attributes    CiBuildRunAttributes     `json:"attributes"`
	Relationships *CiBuildRunRelationships `json:"relationships,omitempty"`
}

CiBuildRunResource represents a CI build run resource.

type CiBuildRunResponse

type CiBuildRunResponse struct {
	Data  CiBuildRunResource `json:"data"`
	Links Links              `json:"links"`
}

CiBuildRunResponse is the response from CI build run detail/create endpoints.

type CiBuildRunsOption

type CiBuildRunsOption func(*ciBuildRunsQuery)

CiBuildRunsOption sets the query of GET /v1/ciProducts/{id}/buildRuns (ciProducts_buildRuns_getToManyRelated) and GET /v1/ciWorkflows/{id}/buildRuns (ciWorkflows_buildRuns_getToManyRelated).

func WithCiBuildRunsSort

func WithCiBuildRunsSort(sort string) CiBuildRunsOption

WithCiBuildRunsSort sets sort.

type CiBuildRunsResponse

type CiBuildRunsResponse struct {
	Data  []CiBuildRunResource `json:"data"`
	Links Links                `json:"links"`
}

CiBuildRunsResponse is the response from CI build runs endpoints.

func (*CiBuildRunsResponse) GetData

func (r *CiBuildRunsResponse) GetData() any

GetData returns the data field for aggregation.

func (r *CiBuildRunsResponse) GetLinks() *Links

GetLinks returns the links field for pagination.

type CiFilesAndFoldersRule

type CiFilesAndFoldersRule struct {
	Mode     string                        `json:"mode,omitempty"`
	Matchers []CiStartConditionFileMatcher `json:"matchers,omitempty"`
}

CiFilesAndFoldersRule describes files and folders rules.

type CiGitRefInfo

type CiGitRefInfo struct {
	CommitSha string     `json:"commitSha,omitempty"`
	Author    *CiGitUser `json:"author,omitempty"`
	Committer *CiGitUser `json:"committer,omitempty"`
	Message   string     `json:"message,omitempty"`
	WebURL    string     `json:"webUrl,omitempty"`
}

CiGitRefInfo describes git reference information.

type CiGitUser

type CiGitUser struct {
	DisplayName string `json:"displayName,omitempty"`
	AvatarURL   string `json:"avatarUrl,omitempty"`
}

CiGitUser describes a git user.

type CiIssueAttributes

type CiIssueAttributes struct {
	IssueType  string        `json:"issueType,omitempty"`
	Message    string        `json:"message,omitempty"`
	FileSource *FileLocation `json:"fileSource,omitempty"`
	Category   string        `json:"category,omitempty"`
}

CiIssueAttributes is the attributes object of the CiIssue schema.

type CiIssueCounts

type CiIssueCounts struct {
	AnalyzerWarnings int `json:"analyzerWarnings,omitempty"`
	Errors           int `json:"errors,omitempty"`
	TestFailures     int `json:"testFailures,omitempty"`
	Warnings         int `json:"warnings,omitempty"`
}

CiIssueCounts describes issue counts.

type CiIssueResource

type CiIssueResource struct {
	Type       ResourceType      `json:"type"`
	ID         string            `json:"id"`
	Attributes CiIssueAttributes `json:"attributes"`
}

CiIssueResource represents a CI issue resource.

type CiIssueResponse

type CiIssueResponse struct {
	Data  CiIssueResource `json:"data"`
	Links Links           `json:"links"`
}

CiIssueResponse is the response from CI issue detail endpoints.

type CiIssuesOption

type CiIssuesOption func(*ciIssuesQuery)

CiIssuesOption sets the query of GET /v1/ciBuildActions/{id}/issues (ciBuildActions_issues_getToManyRelated).

type CiIssuesResponse

type CiIssuesResponse struct {
	Data  []CiIssueResource `json:"data"`
	Links Links             `json:"links"`
}

CiIssuesResponse is the response from CI issues endpoints.

func (*CiIssuesResponse) GetData

func (r *CiIssuesResponse) GetData() any

GetData returns the data field for aggregation.

func (r *CiIssuesResponse) GetLinks() *Links

GetLinks returns the links field for pagination.

type CiMacOsVersionAttributes

type CiMacOsVersionAttributes struct {
	Version string `json:"version,omitempty"`
	Name    string `json:"name,omitempty"`
}

CiMacOsVersionAttributes is the attributes object of the CiMacOsVersion schema.

type CiMacOsVersionRelationships

type CiMacOsVersionRelationships struct {
	XcodeVersions *RelationshipList `json:"xcodeVersions,omitempty"`
}

CiMacOsVersionRelationships describes relationships for a CI macOS version.

type CiMacOsVersionResource

type CiMacOsVersionResource struct {
	Type          ResourceType                 `json:"type"`
	ID            string                       `json:"id"`
	Attributes    CiMacOsVersionAttributes     `json:"attributes"`
	Relationships *CiMacOsVersionRelationships `json:"relationships,omitempty"`
}

CiMacOsVersionResource represents a CI macOS version resource.

type CiMacOsVersionResponse

type CiMacOsVersionResponse struct {
	Data     CiMacOsVersionResource   `json:"data"`
	Included []CiXcodeVersionResource `json:"included,omitempty"`
	Links    Links                    `json:"links"`
}

CiMacOsVersionResponse is the response from CI macOS version detail endpoints.

type CiMacOsVersionsOption

type CiMacOsVersionsOption func(*ciMacOsVersionsQuery)

CiMacOsVersionsOption sets the query of GET /v1/ciMacOsVersions (ciMacOsVersions_getCollection) and GET /v1/ciXcodeVersions/{id}/macOsVersions (ciXcodeVersions_macOsVersions_getToManyRelated).

type CiMacOsVersionsResponse

type CiMacOsVersionsResponse struct {
	Data     []CiMacOsVersionResource `json:"data"`
	Included []CiXcodeVersionResource `json:"included,omitempty"`
	Links    Links                    `json:"links"`
}

CiMacOsVersionsResponse is the response from CI macOS versions endpoints.

func (*CiMacOsVersionsResponse) GetData

func (r *CiMacOsVersionsResponse) GetData() any

GetData returns the data field for aggregation.

func (r *CiMacOsVersionsResponse) GetLinks() *Links

GetLinks returns the links field for pagination.

type CiManualPullRequestStartCondition added in v1.260807.0

type CiManualPullRequestStartCondition struct {
	Source      *CiBranchPatterns `json:"source,omitempty"`
	Destination *CiBranchPatterns `json:"destination,omitempty"`
}

CiManualPullRequestStartCondition describes manual pull request start conditions.

type CiManualStartCondition

type CiManualStartCondition struct {
	Source *CiBranchPatterns `json:"source,omitempty"`
}

CiManualStartCondition describes manual start conditions.

type CiProductAppOption added in v1.260722.0

type CiProductAppOption func(*ciProductAppQuery)

CiProductAppOption sets the query of GET /v1/ciProducts/{id}/app (ciProducts_app_getToOneRelated).

func WithCiProductAppAppInfoFields added in v1.260722.0

func WithCiProductAppAppInfoFields(fields []string) CiProductAppOption

WithCiProductAppAppInfoFields sets fields[appInfos].

func WithCiProductAppInAppPurchaseFields added in v1.260722.0

func WithCiProductAppInAppPurchaseFields(fields []string) CiProductAppOption

WithCiProductAppInAppPurchaseFields sets fields[inAppPurchases].

func WithCiProductAppInclude added in v1.260722.0

func WithCiProductAppInclude(include []string) CiProductAppOption

WithCiProductAppInclude sets include.

func WithCiProductAppRetentionMessageFields

func WithCiProductAppRetentionMessageFields(fields []string) CiProductAppOption

WithCiProductAppRetentionMessageFields sets fields[retentionMessages].

func WithCiProductAppSubscriptionGroupFields added in v1.260722.0

func WithCiProductAppSubscriptionGroupFields(fields []string) CiProductAppOption

WithCiProductAppSubscriptionGroupFields sets fields[subscriptionGroups].

type CiProductAttributes

type CiProductAttributes struct {
	Name        string `json:"name,omitempty"`
	CreatedDate string `json:"createdDate,omitempty"`
	ProductType string `json:"productType,omitempty"`
	BundleID    string `json:"bundleId,omitempty"`
}

CiProductAttributes describes a CI product resource.

type CiProductRelationships

type CiProductRelationships struct {
	App                    *CiResourceRelationship  `json:"app,omitempty"`
	BundleID               *Relationship            `json:"bundleId,omitempty"`
	Workflows              *CiRelationshipLinksOnly `json:"workflows,omitempty"`
	PrimaryRepositories    *RelationshipList        `json:"primaryRepositories,omitempty"`
	AdditionalRepositories *CiRelationshipLinksOnly `json:"additionalRepositories,omitempty"`
	BuildRuns              *CiRelationshipLinksOnly `json:"buildRuns,omitempty"`
}

CiProductRelationships describes relationships for a CI product.

type CiProductRepositoriesOption

type CiProductRepositoriesOption func(*ciProductRepositoriesQuery)

CiProductRepositoriesOption sets the query of GET /v1/ciProducts/{id}/additionalRepositories (ciProducts_additionalRepositories_getToManyRelated) and GET /v1/ciProducts/{id}/primaryRepositories (ciProducts_primaryRepositories_getToManyRelated).

type CiProductResource

type CiProductResource struct {
	Type          ResourceType            `json:"type"`
	ID            string                  `json:"id"`
	Attributes    CiProductAttributes     `json:"attributes"`
	Relationships *CiProductRelationships `json:"relationships,omitempty"`
	// contains filtered or unexported fields
}

CiProductResource represents a CI product resource.

func (CiProductResource) MarshalJSON added in v1.260828.0

func (r CiProductResource) MarshalJSON() ([]byte, error)

MarshalJSON preserves decoded attribute presence while keeping the existing behavior for resources constructed directly by callers.

func (*CiProductResource) UnmarshalJSON added in v1.260828.0

func (r *CiProductResource) UnmarshalJSON(data []byte) error

UnmarshalJSON records whether the API supplied attributes so relationship-only sparse resources can be rendered without inventing an attributes object.

type CiProductResponse

type CiProductResponse struct {
	Data  CiProductResource `json:"data"`
	Links Links             `json:"links"`
}

CiProductResponse is the response from CI product detail endpoints.

type CiProductsOption

type CiProductsOption func(*ciProductsQuery)

CiProductsOption is a functional option for GetCiProducts.

func WithCiProductsAppFields added in v1.260828.0

func WithCiProductsAppFields(fields []string) CiProductsOption

WithCiProductsAppFields sets fields[apps] for included apps.

func WithCiProductsAppID

func WithCiProductsAppID(appID string) CiProductsOption

WithCiProductsAppID filters CI products by app ID.

func WithCiProductsBundleIDFields added in v1.260828.0

func WithCiProductsBundleIDFields(fields []string) CiProductsOption

WithCiProductsBundleIDFields sets fields[bundleIds] for included bundle IDs.

func WithCiProductsFields added in v1.260828.0

func WithCiProductsFields(fields []string) CiProductsOption

WithCiProductsFields sets fields[ciProducts] for CI product responses.

func WithCiProductsInclude added in v1.260828.0

func WithCiProductsInclude(include []string) CiProductsOption

WithCiProductsInclude includes related resources in CI product responses.

func WithCiProductsPrimaryRepositoriesLimit added in v1.260828.0

func WithCiProductsPrimaryRepositoriesLimit(limit int) CiProductsOption

WithCiProductsPrimaryRepositoriesLimit sets the maximum included primary repositories.

func WithCiProductsProductTypes added in v1.260828.0

func WithCiProductsProductTypes(productTypes []string) CiProductsOption

WithCiProductsProductTypes filters CI products by product type.

func WithCiProductsScmRepositoryFields added in v1.260828.0

func WithCiProductsScmRepositoryFields(fields []string) CiProductsOption

WithCiProductsScmRepositoryFields sets fields[scmRepositories] for included repositories.

type CiProductsResponse

type CiProductsResponse struct {
	Data     []CiProductResource `json:"data"`
	Links    Links               `json:"links"`
	Included json.RawMessage     `json:"included,omitempty"`
	Meta     json.RawMessage     `json:"meta,omitempty"`
}

CiProductsResponse is the response from CI products endpoints.

func (*CiProductsResponse) GetData

func (r *CiProductsResponse) GetData() any

GetData returns the data field for aggregation.

func (r *CiProductsResponse) GetLinks() *Links

GetLinks returns the links field for pagination.

func (*CiProductsResponse) GetMeta added in v1.260828.0

func (r *CiProductsResponse) GetMeta() json.RawMessage

GetMeta returns the raw paging metadata for CI product responses.

type CiPullRequestStartCondition

type CiPullRequestStartCondition struct {
	Source              *CiBranchPatterns      `json:"source,omitempty"`
	Destination         *CiBranchPatterns      `json:"destination,omitempty"`
	FilesAndFoldersRule *CiFilesAndFoldersRule `json:"filesAndFoldersRule,omitempty"`
	AutoCancel          bool                   `json:"autoCancel,omitempty"`
}

CiPullRequestStartCondition describes pull request start conditions.

type CiRelationshipLinks struct {
	Self    string `json:"self,omitempty"`
	Related string `json:"related,omitempty"`
}

CiRelationshipLinks contains JSON:API links for an Xcode Cloud relationship.

type CiRelationshipLinksOnly added in v1.260807.0

type CiRelationshipLinksOnly struct {
	Links *CiRelationshipLinks `json:"links,omitempty"`
}

CiRelationshipLinksOnly describes a relationship represented only by links.

type CiResourceRelationship added in v1.260807.0

type CiResourceRelationship struct {
	Links *CiRelationshipLinks `json:"links,omitempty"`
	Data  *ResourceData        `json:"data,omitempty"`
}

CiResourceRelationship describes a to-one response relationship with links and data.

type CiSchedule

type CiSchedule struct {
	Frequency string   `json:"frequency,omitempty"`
	Days      []string `json:"days,omitempty"`
	Hour      int      `json:"hour,omitempty"`
	Minute    int      `json:"minute,omitempty"`
	Timezone  string   `json:"timezone,omitempty"`
}

CiSchedule describes a CI schedule.

type CiScheduledStartCondition

type CiScheduledStartCondition struct {
	Source   *CiBranchPatterns `json:"source,omitempty"`
	Schedule *CiSchedule       `json:"schedule,omitempty"`
}

CiScheduledStartCondition describes scheduled start conditions.

type CiStartConditionFileMatcher added in v1.260807.0

type CiStartConditionFileMatcher struct {
	Directory     string `json:"directory,omitempty"`
	FileExtension string `json:"fileExtension,omitempty"`
	FileName      string `json:"fileName,omitempty"`
}

CiStartConditionFileMatcher describes a file or directory matcher in a start condition.

type CiStartConditionPattern

type CiStartConditionPattern struct {
	Pattern  string `json:"pattern,omitempty"`
	IsPrefix bool   `json:"isPrefix,omitempty"`
}

CiStartConditionPattern describes a start condition pattern.

type CiTagPatterns

type CiTagPatterns struct {
	Patterns   []CiStartConditionPattern `json:"patterns,omitempty"`
	IsAllMatch bool                      `json:"isAllMatch,omitempty"`
}

CiTagPatterns describes tag patterns.

type CiTagStartCondition

type CiTagStartCondition struct {
	Source              *CiTagPatterns         `json:"source,omitempty"`
	FilesAndFoldersRule *CiFilesAndFoldersRule `json:"filesAndFoldersRule,omitempty"`
	AutoCancel          bool                   `json:"autoCancel,omitempty"`
}

CiTagStartCondition describes tag start conditions.

type CiTestDestination

type CiTestDestination struct {
	DeviceTypeName       string                     `json:"deviceTypeName,omitempty"`
	DeviceTypeIdentifier string                     `json:"deviceTypeIdentifier,omitempty"`
	AvailableRuntimes    []CiTestDestinationRuntime `json:"availableRuntimes,omitempty"`
	Kind                 CiTestDestinationKind      `json:"kind,omitempty"`
}

CiTestDestination describes a test destination for an Xcode version.

type CiTestDestinationKind

type CiTestDestinationKind string

CiTestDestinationKind represents the kind of test destination.

const (
	CiTestDestinationKindSimulator CiTestDestinationKind = "SIMULATOR"
	CiTestDestinationKindMac       CiTestDestinationKind = "MAC"
)

type CiTestDestinationResult

type CiTestDestinationResult struct {
	UUID       string       `json:"uuid,omitempty"`
	DeviceName string       `json:"deviceName,omitempty"`
	OSVersion  string       `json:"osVersion,omitempty"`
	Status     CiTestStatus `json:"status,omitempty"`
	Duration   float64      `json:"duration,omitempty"`
}

CiTestDestinationResult describes a destination-specific test result.

type CiTestDestinationRuntime

type CiTestDestinationRuntime struct {
	RuntimeName       string `json:"runtimeName,omitempty"`
	RuntimeIdentifier string `json:"runtimeIdentifier,omitempty"`
}

CiTestDestinationRuntime describes an available runtime for a test destination.

type CiTestResultAttributes

type CiTestResultAttributes struct {
	ClassName              string                    `json:"className,omitempty"`
	Name                   string                    `json:"name,omitempty"`
	Status                 CiTestStatus              `json:"status,omitempty"`
	FileSource             *FileLocation             `json:"fileSource,omitempty"`
	Message                string                    `json:"message,omitempty"`
	DestinationTestResults []CiTestDestinationResult `json:"destinationTestResults,omitempty"`
}

CiTestResultAttributes describes a CI test result resource.

type CiTestResultResource

type CiTestResultResource struct {
	Type       ResourceType           `json:"type"`
	ID         string                 `json:"id"`
	Attributes CiTestResultAttributes `json:"attributes"`
}

CiTestResultResource represents a CI test result resource.

type CiTestResultResponse

type CiTestResultResponse struct {
	Data  CiTestResultResource `json:"data"`
	Links Links                `json:"links"`
}

CiTestResultResponse is the response from CI test result detail endpoints.

type CiTestResultsOption

type CiTestResultsOption func(*ciTestResultsQuery)

CiTestResultsOption sets the query of GET /v1/ciBuildActions/{id}/testResults (ciBuildActions_testResults_getToManyRelated).

type CiTestResultsResponse

type CiTestResultsResponse struct {
	Data  []CiTestResultResource `json:"data"`
	Links Links                  `json:"links"`
}

CiTestResultsResponse is the response from CI test results endpoints.

func (*CiTestResultsResponse) GetData

func (r *CiTestResultsResponse) GetData() any

GetData returns the data field for aggregation.

func (r *CiTestResultsResponse) GetLinks() *Links

GetLinks returns the links field for pagination.

type CiTestStatus

type CiTestStatus string

CiTestStatus represents the status of a test result.

const (
	CiTestStatusSuccess         CiTestStatus = "SUCCESS"
	CiTestStatusFailure         CiTestStatus = "FAILURE"
	CiTestStatusMixed           CiTestStatus = "MIXED"
	CiTestStatusSkipped         CiTestStatus = "SKIPPED"
	CiTestStatusExpectedFailure CiTestStatus = "EXPECTED_FAILURE"
)

type CiWorkflowAttributes

type CiWorkflowAttributes struct {
	Name                            string                             `json:"name,omitempty"`
	Description                     string                             `json:"description,omitempty"`
	BranchStartCondition            *CiBranchStartCondition            `json:"branchStartCondition,omitempty"`
	TagStartCondition               *CiTagStartCondition               `json:"tagStartCondition,omitempty"`
	PullRequestStartCondition       *CiPullRequestStartCondition       `json:"pullRequestStartCondition,omitempty"`
	ScheduledStartCondition         *CiScheduledStartCondition         `json:"scheduledStartCondition,omitempty"`
	ManualBranchStartCondition      *CiManualStartCondition            `json:"manualBranchStartCondition,omitempty"`
	ManualTagStartCondition         *CiManualStartCondition            `json:"manualTagStartCondition,omitempty"`
	ManualPullRequestStartCondition *CiManualPullRequestStartCondition `json:"manualPullRequestStartCondition,omitempty"`
	Actions                         []CiAction                         `json:"actions,omitempty"`
	IsEnabled                       bool                               `json:"isEnabled,omitempty"`
	IsLockedForEditing              bool                               `json:"isLockedForEditing,omitempty"`
	Clean                           bool                               `json:"clean,omitempty"`
	ContainerFilePath               string                             `json:"containerFilePath,omitempty"`
	LastModifiedDate                string                             `json:"lastModifiedDate,omitempty"`
}

CiWorkflowAttributes is the attributes object of the CiWorkflow schema.

type CiWorkflowBuildRunsRelationship added in v1.260713.0

type CiWorkflowBuildRunsRelationship struct {
	Links CiRelationshipLinks `json:"links"`
}

CiWorkflowBuildRunsRelationship describes a workflow's build-runs relationship.

type CiWorkflowRelationships

type CiWorkflowRelationships struct {
	Product      *Relationship                     `json:"product,omitempty"`
	Repository   *CiWorkflowRepositoryRelationship `json:"repository,omitempty"`
	XcodeVersion *Relationship                     `json:"xcodeVersion,omitempty"`
	MacOsVersion *Relationship                     `json:"macOsVersion,omitempty"`
	BuildRuns    *CiWorkflowBuildRunsRelationship  `json:"buildRuns,omitempty"`
}

CiWorkflowRelationships describes relationships for a CI workflow.

type CiWorkflowRepositoryRelationship added in v1.260713.0

type CiWorkflowRepositoryRelationship struct {
	Links CiRelationshipLinks `json:"links"`
	Data  *ResourceData       `json:"data,omitempty"`
}

CiWorkflowRepositoryRelationship describes a workflow's repository relationship. Apple may return only links when the repository isn't included in the response.

type CiWorkflowResource

type CiWorkflowResource struct {
	Type          ResourceType             `json:"type"`
	ID            string                   `json:"id"`
	Attributes    CiWorkflowAttributes     `json:"attributes"`
	Relationships *CiWorkflowRelationships `json:"relationships,omitempty"`
}

CiWorkflowResource represents a CI workflow resource.

type CiWorkflowResponse

type CiWorkflowResponse struct {
	Data  CiWorkflowResource `json:"data"`
	Links Links              `json:"links"`
}

CiWorkflowResponse is the response from CI workflow detail endpoints.

type CiWorkflowsOption

type CiWorkflowsOption func(*ciWorkflowsQuery)

CiWorkflowsOption sets the query of GET /v1/ciProducts/{id}/workflows (ciProducts_workflows_getToManyRelated).

type CiWorkflowsResponse

type CiWorkflowsResponse struct {
	Data  []CiWorkflowResource `json:"data"`
	Links Links                `json:"links"`
}

CiWorkflowsResponse is the response from CI workflows endpoints.

func (*CiWorkflowsResponse) GetData

func (r *CiWorkflowsResponse) GetData() any

GetData returns the data field for aggregation.

func (r *CiWorkflowsResponse) GetLinks() *Links

GetLinks returns the links field for pagination.

type CiXcodeVersionAttributes

type CiXcodeVersionAttributes struct {
	Version          string              `json:"version,omitempty"`
	Name             string              `json:"name,omitempty"`
	TestDestinations []CiTestDestination `json:"testDestinations,omitempty"`
}

CiXcodeVersionAttributes describes a CI Xcode version resource.

type CiXcodeVersionRelationships

type CiXcodeVersionRelationships struct {
	MacOsVersions *RelationshipList `json:"macOsVersions,omitempty"`
}

CiXcodeVersionRelationships describes relationships for a CI Xcode version.

type CiXcodeVersionResource

type CiXcodeVersionResource struct {
	Type          ResourceType                 `json:"type"`
	ID            string                       `json:"id"`
	Attributes    CiXcodeVersionAttributes     `json:"attributes"`
	Relationships *CiXcodeVersionRelationships `json:"relationships,omitempty"`
}

CiXcodeVersionResource represents a CI Xcode version resource.

type CiXcodeVersionResponse

type CiXcodeVersionResponse struct {
	Data     CiXcodeVersionResource   `json:"data"`
	Included []CiMacOsVersionResource `json:"included,omitempty"`
	Links    Links                    `json:"links"`
}

CiXcodeVersionResponse is the response from CI Xcode version detail endpoints.

type CiXcodeVersionsOption

type CiXcodeVersionsOption func(*ciXcodeVersionsQuery)

CiXcodeVersionsOption sets the query of GET /v1/ciXcodeVersions (ciXcodeVersions_getCollection) and GET /v1/ciMacOsVersions/{id}/xcodeVersions (ciMacOsVersions_xcodeVersions_getToManyRelated).

type CiXcodeVersionsResponse

type CiXcodeVersionsResponse struct {
	Data     []CiXcodeVersionResource `json:"data"`
	Included []CiMacOsVersionResource `json:"included,omitempty"`
	Links    Links                    `json:"links"`
}

CiXcodeVersionsResponse is the response from CI Xcode versions endpoints.

func (*CiXcodeVersionsResponse) GetData

func (r *CiXcodeVersionsResponse) GetData() any

GetData returns the data field for aggregation.

func (r *CiXcodeVersionsResponse) GetLinks() *Links

GetLinks returns the links field for pagination.

type Client

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

Client is an App Store Connect API client

func NewClient

func NewClient(keyID, issuerID, privateKeyPath string) (*Client, error)

NewClient creates a new ASC client.

func NewClientFromBearerToken

func NewClientFromBearerToken(ctx context.Context, token string, renew BearerTokenRenewer, timeout time.Duration) (*Client, error)

NewClientFromBearerToken creates a client that sends a token signed elsewhere (for example by a service that holds the private key) instead of signing its own. The token must be an App Store Connect API JWT with an expiry. Without renew, the client refuses to send it once it expired; with renew, the client calls renew for the next token shortly before the current one expires, and for the first token when token is empty.

func NewClientFromPEM

func NewClientFromPEM(keyID, issuerID, privateKeyPEM string) (*Client, error)

NewClientFromPEM creates a new ASC client from in-memory private key PEM content.

func NewClientFromPEMWithTimeout added in v1.260331.0

func NewClientFromPEMWithTimeout(keyID, issuerID, privateKeyPEM string, timeout time.Duration) (*Client, error)

NewClientFromPEMWithTimeout creates a new ASC client from in-memory PEM content with an explicit HTTP timeout.

func NewClientWithHTTPClient

func NewClientWithHTTPClient(keyID, issuerID, privateKeyPath string, httpClient *http.Client) (*Client, error)

NewClientWithHTTPClient creates a new ASC client using the provided HTTP client. If httpClient is nil, a default client with ASC timeouts is used.

func NewClientWithTimeout added in v1.260331.0

func NewClientWithTimeout(keyID, issuerID, privateKeyPath string, timeout time.Duration) (*Client, error)

NewClientWithTimeout creates a new ASC client with an explicit HTTP timeout.

func (*Client) AddAppCustomProductPageLocalizationSearchKeywords

func (c *Client) AddAppCustomProductPageLocalizationSearchKeywords(ctx context.Context, localizationID string, keywords []string) error

AddAppCustomProductPageLocalizationSearchKeywords sends POST /v1/appCustomProductPageLocalizations/{id}/relationships/searchKeywords (appCustomProductPageLocalizations_searchKeywords_createToManyRelationship).

func (*Client) AddAppStoreVersionLocalizationSearchKeywords

func (c *Client) AddAppStoreVersionLocalizationSearchKeywords(ctx context.Context, localizationID string, keywords []string) error

AddAppStoreVersionLocalizationSearchKeywords sends POST /v1/appStoreVersionLocalizations/{id}/relationships/searchKeywords (appStoreVersionLocalizations_searchKeywords_createToManyRelationship).

func (*Client) AddBetaGroupsToBuildWithNotify

func (c *Client) AddBetaGroupsToBuildWithNotify(ctx context.Context, buildID string, groupIDs []string, notify bool) (BuildBetaGroupsNotificationAction, error)

AddBetaGroupsToBuildWithNotify adds beta groups to a build with optional notifications.

func (*Client) AddBetaTesterToGroups

func (c *Client) AddBetaTesterToGroups(ctx context.Context, testerID string, groupIDs []string) error

AddBetaTesterToGroups sends POST /v1/betaTesters/{id}/relationships/betaGroups (betaTesters_betaGroups_createToManyRelationship).

func (*Client) AddBetaTestersToGroup

func (c *Client) AddBetaTestersToGroup(ctx context.Context, groupID string, testerIDs []string) error

AddBetaTestersToGroup sends POST /v1/betaGroups/{id}/relationships/betaTesters (betaGroups_betaTesters_createToManyRelationship).

func (*Client) AddBuildsToAppEncryptionDeclaration

func (c *Client) AddBuildsToAppEncryptionDeclaration(ctx context.Context, declarationID string, buildIDs []string) error

AddBuildsToAppEncryptionDeclaration sends POST /v1/appEncryptionDeclarations/{id}/relationships/builds (appEncryptionDeclarations_builds_createToManyRelationship).

func (*Client) AddBuildsToBetaTester

func (c *Client) AddBuildsToBetaTester(ctx context.Context, testerID string, buildIDs []string) error

AddBuildsToBetaTester sends POST /v1/betaTesters/{id}/relationships/builds (betaTesters_builds_createToManyRelationship).

func (*Client) AddGameCenterActivityAchievements

func (c *Client) AddGameCenterActivityAchievements(ctx context.Context, activityID string, achievementIDs []string) error

AddGameCenterActivityAchievements adds achievements to an activity.

func (*Client) AddGameCenterActivityAchievementsV2

func (c *Client) AddGameCenterActivityAchievementsV2(ctx context.Context, activityID string, achievementIDs []string) error

AddGameCenterActivityAchievementsV2 adds v2 achievements to an activity.

func (*Client) AddGameCenterActivityLeaderboards

func (c *Client) AddGameCenterActivityLeaderboards(ctx context.Context, activityID string, leaderboardIDs []string) error

AddGameCenterActivityLeaderboards adds leaderboards to an activity.

func (*Client) AddGameCenterActivityLeaderboardsV2

func (c *Client) AddGameCenterActivityLeaderboardsV2(ctx context.Context, activityID string, leaderboardIDs []string) error

AddGameCenterActivityLeaderboardsV2 adds v2 leaderboards to an activity.

func (*Client) AddGameCenterLeaderboardSetMembers

func (c *Client) AddGameCenterLeaderboardSetMembers(ctx context.Context, setID string, leaderboardIDs []string) error

AddGameCenterLeaderboardSetMembers sends POST /v1/gameCenterLeaderboardSets/{id}/relationships/gameCenterLeaderboards (gameCenterLeaderboardSets_gameCenterLeaderboards_createToManyRelationship).

func (*Client) AddGameCenterLeaderboardSetMembersV2

func (c *Client) AddGameCenterLeaderboardSetMembersV2(ctx context.Context, setID string, leaderboardIDs []string) error

AddGameCenterLeaderboardSetMembersV2 sends POST /v2/gameCenterLeaderboardSets/{id}/relationships/gameCenterLeaderboards (gameCenterLeaderboardSetsV2_gameCenterLeaderboards_createToManyRelationship).

func (*Client) AddIndividualTestersToBuild

func (c *Client) AddIndividualTestersToBuild(ctx context.Context, buildID string, testerIDs []string) error

AddIndividualTestersToBuild sends POST /v1/builds/{id}/relationships/individualTesters (builds_individualTesters_createToManyRelationship).

func (*Client) AddReviewSubmissionItem

func (c *Client) AddReviewSubmissionItem(ctx context.Context, submissionID, versionID string) (*ReviewSubmissionItemResponse, error)

AddReviewSubmissionItem adds an app store version to a review submission. This is a convenience wrapper around CreateReviewSubmissionItem for adding app store versions.

func (*Client) AddSubscriptionRetentionMessageOffers

func (c *Client) AddSubscriptionRetentionMessageOffers(ctx context.Context, subscriptionID string, offerIDs []string) error

AddSubscriptionRetentionMessageOffers sends POST /v1/subscriptions/{id}/relationships/retentionMessageOffers (subscriptions_retentionMessageOffers_createToManyRelationship).

func (*Client) AddUserVisibleApps

func (c *Client) AddUserVisibleApps(ctx context.Context, userID string, appIDs []string) error

AddUserVisibleApps sends POST /v1/users/{id}/relationships/visibleApps (users_visibleApps_createToManyRelationship).

func (*Client) AppPreviewSetsWithPreviews

func (c *Client) AppPreviewSetsWithPreviews(ctx context.Context, response *AppPreviewSetsResponse, requestContext RequestContextFunc) ([]AppPreviewSetWithPreviews, error)

AppPreviewSetsWithPreviews pairs each set with its previews, using previews included with the sets and fetching only sets without complete linkage.

func (*Client) AppScreenshotSetsWithScreenshots

func (c *Client) AppScreenshotSetsWithScreenshots(ctx context.Context, response *AppScreenshotSetsResponse, requestContext RequestContextFunc) ([]AppScreenshotSetWithScreenshots, error)

AppScreenshotSetsWithScreenshots pairs each set with its screenshots, using screenshots included with the sets and fetching only sets without complete linkage.

func (*Client) AttachBuildToVersion

func (c *Client) AttachBuildToVersion(ctx context.Context, versionID, buildID string) error

AttachBuildToVersion attaches a build to an app store version.

func (*Client) CancelReviewSubmission

func (c *Client) CancelReviewSubmission(ctx context.Context, submissionID string) (*ReviewSubmissionResponse, error)

CancelReviewSubmission cancels a review submission by ID.

func (*Client) ClearSandboxTesterPurchaseHistory

func (c *Client) ClearSandboxTesterPurchaseHistory(ctx context.Context, testerID string) (*SandboxTesterClearHistoryResponse, error)

ClearSandboxTesterPurchaseHistory clears purchase history for a sandbox tester.

func (*Client) CloseUploadConnections

func (c *Client) CloseUploadConnections()

CloseUploadConnections closes idle connections owned by the dedicated upload pool. Call after all uploads finish; externally supplied transports are not closed.

func (*Client) CreateAccessibilityDeclaration

func (c *Client) CreateAccessibilityDeclaration(ctx context.Context, appID string, attrs AccessibilityDeclarationCreateAttributes) (*AccessibilityDeclarationResponse, error)

CreateAccessibilityDeclaration sends POST /v1/accessibilityDeclarations (accessibilityDeclarations_createInstance).

func (*Client) CreateAlternativeDistributionDomain

func (c *Client) CreateAlternativeDistributionDomain(ctx context.Context, domain, referenceName string) (*AlternativeDistributionDomainResponse, error)

CreateAlternativeDistributionDomain sends POST /v1/alternativeDistributionDomains (alternativeDistributionDomains_createInstance).

func (*Client) CreateAlternativeDistributionKey

func (c *Client) CreateAlternativeDistributionKey(ctx context.Context, appID, publicKey string) (*AlternativeDistributionKeyResponse, error)

CreateAlternativeDistributionKey sends POST /v1/alternativeDistributionKeys (alternativeDistributionKeys_createInstance).

func (*Client) CreateAlternativeDistributionPackage

func (c *Client) CreateAlternativeDistributionPackage(ctx context.Context, appStoreVersionID string) (*AlternativeDistributionPackageResponse, error)

CreateAlternativeDistributionPackage sends POST /v1/alternativeDistributionPackages (alternativeDistributionPackages_createInstance).

func (*Client) CreateAnalyticsReportRequest

func (c *Client) CreateAnalyticsReportRequest(ctx context.Context, appID string, accessType AnalyticsAccessType) (*AnalyticsReportRequestResponse, error)

CreateAnalyticsReportRequest sends POST /v1/analyticsReportRequests (analyticsReportRequests_createInstance).

func (*Client) CreateAndroidToIosAppMappingDetail

func (c *Client) CreateAndroidToIosAppMappingDetail(ctx context.Context, appID string, attrs AndroidToIosAppMappingDetailCreateAttributes) (*AndroidToIosAppMappingDetailResponse, error)

CreateAndroidToIosAppMappingDetail sends POST /v1/androidToIosAppMappingDetails (androidToIosAppMappingDetails_createInstance).

func (*Client) CreateAppAvailabilityV2

func (c *Client) CreateAppAvailabilityV2(ctx context.Context, appID string, attrs AppAvailabilityV2CreateAttributes) (*AppAvailabilityV2Response, error)

CreateAppAvailabilityV2 creates an app availability and its inline territory availabilities. It calls POST /v2/appAvailabilities.

func (*Client) CreateAppClipAdvancedExperience

func (c *Client) CreateAppClipAdvancedExperience(ctx context.Context, appClipID string, attrs AppClipAdvancedExperienceCreateAttributes, headerImageID string, localizationIDs []string, inlineLocalizations []AppClipAdvancedExperienceLocalizationCreateAttributes) (*AppClipAdvancedExperienceResponse, error)

CreateAppClipAdvancedExperience creates an advanced experience.

func (*Client) CreateAppClipAdvancedExperienceImage

func (c *Client) CreateAppClipAdvancedExperienceImage(ctx context.Context, fileName string, fileSize int64) (*AppClipAdvancedExperienceImageResponse, error)

CreateAppClipAdvancedExperienceImage sends POST /v1/appClipAdvancedExperienceImages (appClipAdvancedExperienceImages_createInstance).

func (*Client) CreateAppClipAppStoreReviewDetail

func (c *Client) CreateAppClipAppStoreReviewDetail(ctx context.Context, experienceID string, attrs *AppClipAppStoreReviewDetailCreateAttributes) (*AppClipAppStoreReviewDetailResponse, error)

CreateAppClipAppStoreReviewDetail sends POST /v1/appClipAppStoreReviewDetails (appClipAppStoreReviewDetails_createInstance).

func (*Client) CreateAppClipDefaultExperience

func (c *Client) CreateAppClipDefaultExperience(ctx context.Context, appClipID string, attrs *AppClipDefaultExperienceCreateAttributes, releaseVersionID, templateID string) (*AppClipDefaultExperienceResponse, error)

CreateAppClipDefaultExperience sends POST /v1/appClipDefaultExperiences (appClipDefaultExperiences_createInstance).

func (*Client) CreateAppClipDefaultExperienceLocalization

func (c *Client) CreateAppClipDefaultExperienceLocalization(ctx context.Context, experienceID string, attrs AppClipDefaultExperienceLocalizationCreateAttributes) (*AppClipDefaultExperienceLocalizationResponse, error)

CreateAppClipDefaultExperienceLocalization sends POST /v1/appClipDefaultExperienceLocalizations (appClipDefaultExperienceLocalizations_createInstance).

func (*Client) CreateAppClipHeaderImage

func (c *Client) CreateAppClipHeaderImage(ctx context.Context, localizationID string, fileName string, fileSize int64) (*AppClipHeaderImageResponse, error)

CreateAppClipHeaderImage sends POST /v1/appClipHeaderImages (appClipHeaderImages_createInstance).

func (*Client) CreateAppCustomProductPage

func (c *Client) CreateAppCustomProductPage(ctx context.Context, appID, name string, template AppCustomProductPageTemplate) (*AppCustomProductPageResponse, error)

CreateAppCustomProductPage creates a custom product page with an initial version and a localization that uses the app's primary locale.

func (*Client) CreateAppCustomProductPageLocalization

func (c *Client) CreateAppCustomProductPageLocalization(ctx context.Context, versionID, locale, promotionalText string) (*AppCustomProductPageLocalizationResponse, error)

CreateAppCustomProductPageLocalization creates a custom product page localization.

func (*Client) CreateAppCustomProductPageVersion

func (c *Client) CreateAppCustomProductPageVersion(ctx context.Context, pageID, deepLink string) (*AppCustomProductPageVersionResponse, error)

CreateAppCustomProductPageVersion creates a custom product page version.

func (*Client) CreateAppEncryptionDeclaration

func (c *Client) CreateAppEncryptionDeclaration(ctx context.Context, appID string, attrs AppEncryptionDeclarationCreateAttributes) (*AppEncryptionDeclarationResponse, error)

CreateAppEncryptionDeclaration sends POST /v1/appEncryptionDeclarations (appEncryptionDeclarations_createInstance).

func (*Client) CreateAppEncryptionDeclarationDocument

func (c *Client) CreateAppEncryptionDeclarationDocument(ctx context.Context, declarationID, fileName string, fileSize int64) (*AppEncryptionDeclarationDocumentResponse, error)

CreateAppEncryptionDeclarationDocument sends POST /v1/appEncryptionDeclarationDocuments (appEncryptionDeclarationDocuments_createInstance).

func (*Client) CreateAppEvent

func (c *Client) CreateAppEvent(ctx context.Context, appID string, attrs AppEventCreateAttributes) (*AppEventResponse, error)

CreateAppEvent sends POST /v1/appEvents (appEvents_createInstance).

func (*Client) CreateAppEventLocalization

func (c *Client) CreateAppEventLocalization(ctx context.Context, eventID string, attrs AppEventLocalizationCreateAttributes) (*AppEventLocalizationResponse, error)

CreateAppEventLocalization sends POST /v1/appEventLocalizations (appEventLocalizations_createInstance).

func (*Client) CreateAppEventScreenshot

func (c *Client) CreateAppEventScreenshot(ctx context.Context, localizationID, fileName string, fileSize int64, assetType string) (*AppEventScreenshotResponse, error)

CreateAppEventScreenshot creates an app event screenshot reservation.

func (*Client) CreateAppEventVideoClip

func (c *Client) CreateAppEventVideoClip(ctx context.Context, localizationID, fileName string, fileSize int64, assetType, previewFrameTimeCode string) (*AppEventVideoClipResponse, error)

CreateAppEventVideoClip creates an app event video clip reservation.

func (*Client) CreateAppInfoLocalization

func (c *Client) CreateAppInfoLocalization(ctx context.Context, appInfoID string, attrs AppInfoLocalizationCreateAttributes) (*AppInfoLocalizationResponse, error)

CreateAppInfoLocalization sends POST /v1/appInfoLocalizations (appInfoLocalizations_createInstance).

func (*Client) CreateAppPreview

func (c *Client) CreateAppPreview(ctx context.Context, setID string, fileName string, fileSize int64, mimeType string) (*AppPreviewResponse, error)

CreateAppPreview sends POST /v1/appPreviews (appPreviews_createInstance).

func (*Client) CreateAppPreviewSet

func (c *Client) CreateAppPreviewSet(ctx context.Context, localizationID string, previewType string) (*AppPreviewSetResponse, error)

CreateAppPreviewSet creates a preview set for a localization.

func (*Client) CreateAppPreviewSetForCustomProductPageLocalization

func (c *Client) CreateAppPreviewSetForCustomProductPageLocalization(ctx context.Context, localizationID string, previewType string) (*AppPreviewSetResponse, error)

CreateAppPreviewSetForCustomProductPageLocalization creates a preview set for a custom product page localization.

func (*Client) CreateAppPreviewSetForExperimentTreatmentLocalization

func (c *Client) CreateAppPreviewSetForExperimentTreatmentLocalization(ctx context.Context, localizationID string, previewType string) (*AppPreviewSetResponse, error)

CreateAppPreviewSetForExperimentTreatmentLocalization creates a preview set for a treatment localization.

func (*Client) CreateAppPriceSchedule

func (c *Client) CreateAppPriceSchedule(ctx context.Context, appID string, attrs AppPriceScheduleCreateAttributes) (*AppPriceScheduleResponse, error)

CreateAppPriceSchedule creates an app price schedule with manual prices.

func (*Client) CreateAppScreenshot

func (c *Client) CreateAppScreenshot(ctx context.Context, setID string, fileName string, fileSize int64) (*AppScreenshotResponse, error)

CreateAppScreenshot sends POST /v1/appScreenshots (appScreenshots_createInstance).

func (*Client) CreateAppScreenshotSet

func (c *Client) CreateAppScreenshotSet(ctx context.Context, localizationID string, displayType string) (*AppScreenshotSetResponse, error)

CreateAppScreenshotSet creates a screenshot set for a localization.

func (*Client) CreateAppScreenshotSetForCustomProductPageLocalization

func (c *Client) CreateAppScreenshotSetForCustomProductPageLocalization(ctx context.Context, localizationID string, displayType string) (*AppScreenshotSetResponse, error)

CreateAppScreenshotSetForCustomProductPageLocalization creates a screenshot set for a custom product page localization.

func (*Client) CreateAppScreenshotSetForExperimentTreatmentLocalization added in v1.260404.0

func (c *Client) CreateAppScreenshotSetForExperimentTreatmentLocalization(ctx context.Context, localizationID string, displayType string) (*AppScreenshotSetResponse, error)

CreateAppScreenshotSetForExperimentTreatmentLocalization creates a screenshot set for a treatment localization.

func (*Client) CreateAppStoreReviewAttachment

func (c *Client) CreateAppStoreReviewAttachment(ctx context.Context, reviewDetailID, fileName string, fileSize int64) (*AppStoreReviewAttachmentResponse, error)

CreateAppStoreReviewAttachment sends POST /v1/appStoreReviewAttachments (appStoreReviewAttachments_createInstance).

func (*Client) CreateAppStoreReviewDetail

func (c *Client) CreateAppStoreReviewDetail(ctx context.Context, versionID string, attrs *AppStoreReviewDetailCreateAttributes) (*AppStoreReviewDetailResponse, error)

CreateAppStoreReviewDetail creates review details for a version.

func (*Client) CreateAppStoreVersion

func (c *Client) CreateAppStoreVersion(ctx context.Context, appID string, attrs AppStoreVersionCreateAttributes) (*AppStoreVersionResponse, error)

CreateAppStoreVersion creates a new app store version for an app.

func (*Client) CreateAppStoreVersionExperiment

func (c *Client) CreateAppStoreVersionExperiment(ctx context.Context, versionID, name string, trafficProportion int) (*AppStoreVersionExperimentResponse, error)

CreateAppStoreVersionExperiment sends POST /v1/appStoreVersionExperiments (appStoreVersionExperiments_createInstance).

func (*Client) CreateAppStoreVersionExperimentTreatment

func (c *Client) CreateAppStoreVersionExperimentTreatment(ctx context.Context, experimentID, name, appIconName string) (*AppStoreVersionExperimentTreatmentResponse, error)

CreateAppStoreVersionExperimentTreatment creates a treatment.

func (*Client) CreateAppStoreVersionExperimentTreatmentLocalization

func (c *Client) CreateAppStoreVersionExperimentTreatmentLocalization(ctx context.Context, treatmentID, locale string) (*AppStoreVersionExperimentTreatmentLocalizationResponse, error)

CreateAppStoreVersionExperimentTreatmentLocalization sends POST /v1/appStoreVersionExperimentTreatmentLocalizations (appStoreVersionExperimentTreatmentLocalizations_createInstance).

func (*Client) CreateAppStoreVersionExperimentTreatmentV2

func (c *Client) CreateAppStoreVersionExperimentTreatmentV2(ctx context.Context, experimentID, name, appIconName string) (*AppStoreVersionExperimentTreatmentResponse, error)

CreateAppStoreVersionExperimentTreatmentV2 creates a treatment for a v2 experiment.

func (*Client) CreateAppStoreVersionExperimentV2

func (c *Client) CreateAppStoreVersionExperimentV2(ctx context.Context, appID string, platform Platform, name string, trafficProportion int) (*AppStoreVersionExperimentV2Response, error)

CreateAppStoreVersionExperimentV2 creates an experiment (v2).

func (*Client) CreateAppStoreVersionLocalization

func (c *Client) CreateAppStoreVersionLocalization(ctx context.Context, versionID string, attrs AppStoreVersionLocalizationCreateAttributes) (*AppStoreVersionLocalizationResponse, error)

CreateAppStoreVersionLocalization sends POST /v1/appStoreVersionLocalizations (appStoreVersionLocalizations_createInstance).

func (*Client) CreateAppStoreVersionPhasedRelease

func (c *Client) CreateAppStoreVersionPhasedRelease(ctx context.Context, versionID string, state PhasedReleaseState) (*AppStoreVersionPhasedReleaseResponse, error)

CreateAppStoreVersionPhasedRelease creates a phased release for an app store version. If state is empty, defaults to INACTIVE per API spec.

func (*Client) CreateAppStoreVersionPromotion

func (c *Client) CreateAppStoreVersionPromotion(ctx context.Context, versionID, treatmentID string) (*AppStoreVersionPromotionResponse, error)

CreateAppStoreVersionPromotion sends POST /v1/appStoreVersionPromotions (appStoreVersionPromotions_createInstance).

func (*Client) CreateAppStoreVersionReleaseRequest

func (c *Client) CreateAppStoreVersionReleaseRequest(ctx context.Context, versionID string) (*AppStoreVersionReleaseRequestResponse, error)

CreateAppStoreVersionReleaseRequest sends POST /v1/appStoreVersionReleaseRequests (appStoreVersionReleaseRequests_createInstance).

func (*Client) CreateAppStoreVersionWithBuild

func (c *Client) CreateAppStoreVersionWithBuild(ctx context.Context, appID string, attrs AppStoreVersionCreateAttributes, buildID string) (*AppStoreVersionResponse, error)

CreateAppStoreVersionWithBuild sends POST /v1/appStoreVersions (appStoreVersions_createInstance).

func (*Client) CreateBackgroundAsset

func (c *Client) CreateBackgroundAsset(ctx context.Context, appID, assetPackIdentifier string) (*BackgroundAssetResponse, error)

CreateBackgroundAsset sends POST /v1/backgroundAssets (backgroundAssets_createInstance).

func (*Client) CreateBackgroundAssetUploadFile

func (c *Client) CreateBackgroundAssetUploadFile(ctx context.Context, versionID, fileName string, fileSize int64, assetType BackgroundAssetUploadFileAssetType) (*BackgroundAssetUploadFileResponse, error)

CreateBackgroundAssetUploadFile sends POST /v1/backgroundAssetUploadFiles (backgroundAssetUploadFiles_createInstance).

func (*Client) CreateBackgroundAssetVersion

func (c *Client) CreateBackgroundAssetVersion(ctx context.Context, backgroundAssetID string) (*BackgroundAssetVersionResponse, error)

CreateBackgroundAssetVersion sends POST /v1/backgroundAssetVersions (backgroundAssetVersions_createInstance).

func (*Client) CreateBetaAppClipInvocation

func (c *Client) CreateBetaAppClipInvocation(ctx context.Context, buildBundleID string, attrs BetaAppClipInvocationCreateAttributes, localizationIDs []string, inlineLocalizations []BetaAppClipInvocationLocalizationCreateAttributes) (*BetaAppClipInvocationResponse, error)

CreateBetaAppClipInvocation creates a beta App Clip invocation.

func (*Client) CreateBetaAppClipInvocationLocalization

func (c *Client) CreateBetaAppClipInvocationLocalization(ctx context.Context, invocationID string, attrs BetaAppClipInvocationLocalizationCreateAttributes) (*BetaAppClipInvocationLocalizationResponse, error)

CreateBetaAppClipInvocationLocalization sends POST /v1/betaAppClipInvocationLocalizations (betaAppClipInvocationLocalizations_createInstance).

func (*Client) CreateBetaAppLocalization

func (c *Client) CreateBetaAppLocalization(ctx context.Context, appID string, attrs BetaAppLocalizationCreateAttributes) (*BetaAppLocalizationResponse, error)

CreateBetaAppLocalization sends POST /v1/betaAppLocalizations (betaAppLocalizations_createInstance).

func (*Client) CreateBetaAppReviewSubmission

func (c *Client) CreateBetaAppReviewSubmission(ctx context.Context, buildID string) (*BetaAppReviewSubmissionResponse, error)

CreateBetaAppReviewSubmission sends POST /v1/betaAppReviewSubmissions (betaAppReviewSubmissions_createInstance).

func (*Client) CreateBetaBuildLocalization

func (c *Client) CreateBetaBuildLocalization(ctx context.Context, buildID string, attrs BetaBuildLocalizationCreateAttributes) (*BetaBuildLocalizationResponse, error)

CreateBetaBuildLocalization sends POST /v1/betaBuildLocalizations (betaBuildLocalizations_createInstance).

func (*Client) CreateBetaGroupWithAttributes

func (c *Client) CreateBetaGroupWithAttributes(ctx context.Context, appID string, attrs BetaGroupCreateAttributes, buildIDs, testerIDs []string) (*BetaGroupResponse, error)

CreateBetaGroupWithAttributes creates a beta group for an app with explicit attributes, attaching any builds and beta testers in the same request. Note: some attributes (e.g., isInternalGroup) are create-only in the ASC API.

func (*Client) CreateBetaRecruitmentCriteria

func (c *Client) CreateBetaRecruitmentCriteria(ctx context.Context, groupID string, filters []DeviceFamilyOsVersionFilter) (*BetaRecruitmentCriteriaResponse, error)

CreateBetaRecruitmentCriteria creates beta recruitment criteria for a group.

func (*Client) CreateBetaTester

func (c *Client) CreateBetaTester(ctx context.Context, email, firstName, lastName string, groupIDs, buildIDs []string) (*BetaTesterResponse, error)

CreateBetaTester creates a beta tester, attaching any beta groups and builds in the same request.

func (*Client) CreateBetaTesterInvitation

func (c *Client) CreateBetaTesterInvitation(ctx context.Context, appID, testerID string) (*BetaTesterInvitationResponse, error)

CreateBetaTesterInvitation sends POST /v1/betaTesterInvitations (betaTesterInvitations_createInstance).

func (*Client) CreateBuildBetaNotification

func (c *Client) CreateBuildBetaNotification(ctx context.Context, buildID string) (*BuildBetaNotificationResponse, error)

CreateBuildBetaNotification creates a build beta notification for a build.

func (*Client) CreateBuildUpload

func (c *Client) CreateBuildUpload(ctx context.Context, req BuildUploadCreateRequest) (*BuildUploadResponse, error)

CreateBuildUpload creates a new build upload record.

func (*Client) CreateBuildUploadFile

func (c *Client) CreateBuildUploadFile(ctx context.Context, req BuildUploadFileCreateRequest) (*BuildUploadFileResponse, error)

CreateBuildUploadFile creates a new build upload file reservation.

func (*Client) CreateBundleID

func (c *Client) CreateBundleID(ctx context.Context, attrs BundleIDCreateAttributes) (*BundleIDResponse, error)

CreateBundleID sends POST /v1/bundleIds (bundleIds_createInstance).

func (*Client) CreateBundleIDCapability

func (c *Client) CreateBundleIDCapability(ctx context.Context, bundleID string, attrs BundleIDCapabilityCreateAttributes) (*BundleIDCapabilityResponse, error)

CreateBundleIDCapability sends POST /v1/bundleIdCapabilities (bundleIdCapabilities_createInstance).

func (*Client) CreateCertificate

func (c *Client) CreateCertificate(ctx context.Context, csrContent string, certType string, opts ...CertificateCreateOption) (*CertificateResponse, error)

CreateCertificate creates a new certificate.

func (*Client) CreateCiBuildRun

func (c *Client) CreateCiBuildRun(ctx context.Context, req CiBuildRunCreateRequest) (*CiBuildRunResponse, error)

CreateCiBuildRun creates a new CI build run (triggers a workflow).

func (*Client) CreateCiWorkflow

func (c *Client) CreateCiWorkflow(ctx context.Context, payload json.RawMessage) (*CiWorkflowResponse, error)

CreateCiWorkflow creates a CI workflow from a JSON payload.

func (*Client) CreateCiWorkflowRaw added in v1.260904.0

func (c *Client) CreateCiWorkflowRaw(ctx context.Context, payload json.RawMessage) (json.RawMessage, error)

CreateCiWorkflowRaw creates a CI workflow and returns Apple's unmodified response body. The typed CiWorkflowResponse drops false/empty attributes through omitempty, so JSON output for duplicate must print this envelope instead of a reconstructed struct.

func (*Client) CreateCustomerReviewResponse

func (c *Client) CreateCustomerReviewResponse(ctx context.Context, reviewID, responseBody string) (*CustomerReviewResponseResponse, error)

CreateCustomerReviewResponse sends POST /v1/customerReviewResponses (customerReviewResponses_createInstance).

func (*Client) CreateDevice

func (c *Client) CreateDevice(ctx context.Context, attrs DeviceCreateAttributes) (*DeviceResponse, error)

CreateDevice sends POST /v1/devices (devices_createInstance).

func (*Client) CreateEndUserLicenseAgreement

func (c *Client) CreateEndUserLicenseAgreement(ctx context.Context, appID, agreementText string, territoryIDs []string) (*EndUserLicenseAgreementResponse, error)

CreateEndUserLicenseAgreement creates an EULA for an app.

func (*Client) CreateGameCenterAchievement

func (c *Client) CreateGameCenterAchievement(ctx context.Context, gcDetailID string, attrs GameCenterAchievementCreateAttributes) (*GameCenterAchievementResponse, error)

CreateGameCenterAchievement sends POST /v1/gameCenterAchievements (gameCenterAchievements_createInstance).

func (*Client) CreateGameCenterAchievementImage

func (c *Client) CreateGameCenterAchievementImage(ctx context.Context, localizationID string, fileName string, fileSize int64) (*GameCenterAchievementImageResponse, error)

CreateGameCenterAchievementImage sends POST /v1/gameCenterAchievementImages (gameCenterAchievementImages_createInstance).

func (*Client) CreateGameCenterAchievementImageV2

func (c *Client) CreateGameCenterAchievementImageV2(ctx context.Context, localizationID, fileName string, fileSize int64) (*GameCenterAchievementImageResponse, error)

CreateGameCenterAchievementImageV2 reserves a new v2 achievement image upload.

func (*Client) CreateGameCenterAchievementLocalization

func (c *Client) CreateGameCenterAchievementLocalization(ctx context.Context, achievementID string, attrs GameCenterAchievementLocalizationCreateAttributes) (*GameCenterAchievementLocalizationResponse, error)

CreateGameCenterAchievementLocalization sends POST /v1/gameCenterAchievementLocalizations (gameCenterAchievementLocalizations_createInstance).

func (*Client) CreateGameCenterAchievementLocalizationV2

func (c *Client) CreateGameCenterAchievementLocalizationV2(ctx context.Context, versionID string, attrs GameCenterAchievementLocalizationCreateAttributes) (*GameCenterAchievementLocalizationResponse, error)

CreateGameCenterAchievementLocalizationV2 sends POST /v2/gameCenterAchievementLocalizations (gameCenterAchievementLocalizationsV2_createInstance).

func (*Client) CreateGameCenterAchievementRelease

func (c *Client) CreateGameCenterAchievementRelease(ctx context.Context, gcDetailID, achievementID string) (*GameCenterAchievementReleaseResponse, error)

CreateGameCenterAchievementRelease sends POST /v1/gameCenterAchievementReleases (gameCenterAchievementReleases_createInstance).

func (*Client) CreateGameCenterAchievementV2

func (c *Client) CreateGameCenterAchievementV2(ctx context.Context, gcDetailID string, groupID string, attrs GameCenterAchievementCreateAttributes) (*GameCenterAchievementResponse, error)

CreateGameCenterAchievementV2 creates a new v2 Game Center achievement.

func (*Client) CreateGameCenterAchievementVersion

func (c *Client) CreateGameCenterAchievementVersion(ctx context.Context, achievementID string) (*GameCenterAchievementVersionResponse, error)

CreateGameCenterAchievementVersion sends POST /v2/gameCenterAchievementVersions (gameCenterAchievementVersionsV2_createInstance).

func (*Client) CreateGameCenterActivity

func (c *Client) CreateGameCenterActivity(ctx context.Context, gcDetailID string, attrs GameCenterActivityCreateAttributes, groupID string, initialVersion *GameCenterActivityVersionCreateAttributes) (*GameCenterActivityResponse, error)

CreateGameCenterActivity creates a new Game Center activity.

func (*Client) CreateGameCenterActivityImage

func (c *Client) CreateGameCenterActivityImage(ctx context.Context, fileName string, fileSize int64, localizationID, versionID string) (*GameCenterActivityImageResponse, error)

CreateGameCenterActivityImage sends POST /v1/gameCenterActivityImages (gameCenterActivityImages_createInstance).

func (*Client) CreateGameCenterActivityLocalization

func (c *Client) CreateGameCenterActivityLocalization(ctx context.Context, versionID string, attrs GameCenterActivityLocalizationCreateAttributes) (*GameCenterActivityLocalizationResponse, error)

CreateGameCenterActivityLocalization sends POST /v1/gameCenterActivityLocalizations (gameCenterActivityLocalizations_createInstance).

func (*Client) CreateGameCenterActivityVersion

func (c *Client) CreateGameCenterActivityVersion(ctx context.Context, activityID string, attrs *GameCenterActivityVersionCreateAttributes) (*GameCenterActivityVersionResponse, error)

CreateGameCenterActivityVersion sends POST /v1/gameCenterActivityVersions (gameCenterActivityVersions_createInstance).

func (*Client) CreateGameCenterActivityVersionRelease

func (c *Client) CreateGameCenterActivityVersionRelease(ctx context.Context, versionID string) (*GameCenterActivityVersionReleaseResponse, error)

CreateGameCenterActivityVersionRelease creates a new activity version release.

func (*Client) CreateGameCenterAppVersion

func (c *Client) CreateGameCenterAppVersion(ctx context.Context, appStoreVersionID string) (*GameCenterAppVersionResponse, error)

CreateGameCenterAppVersion sends POST /v1/gameCenterAppVersions (gameCenterAppVersions_createInstance).

func (*Client) CreateGameCenterChallenge

func (c *Client) CreateGameCenterChallenge(ctx context.Context, gcDetailID string, attrs GameCenterChallengeCreateAttributes, leaderboardID string, groupID string, createInitialVersion bool) (*GameCenterChallengeResponse, error)

CreateGameCenterChallenge creates a new Game Center challenge.

func (*Client) CreateGameCenterChallengeImage

func (c *Client) CreateGameCenterChallengeImage(ctx context.Context, fileName string, fileSize int64, localizationID, versionID string) (*GameCenterChallengeImageResponse, error)

CreateGameCenterChallengeImage sends POST /v1/gameCenterChallengeImages (gameCenterChallengeImages_createInstance).

func (*Client) CreateGameCenterChallengeLocalization

func (c *Client) CreateGameCenterChallengeLocalization(ctx context.Context, versionID string, attrs GameCenterChallengeLocalizationCreateAttributes) (*GameCenterChallengeLocalizationResponse, error)

CreateGameCenterChallengeLocalization sends POST /v1/gameCenterChallengeLocalizations (gameCenterChallengeLocalizations_createInstance).

func (*Client) CreateGameCenterChallengeVersion

func (c *Client) CreateGameCenterChallengeVersion(ctx context.Context, challengeID string) (*GameCenterChallengeVersionResponse, error)

CreateGameCenterChallengeVersion sends POST /v1/gameCenterChallengeVersions (gameCenterChallengeVersions_createInstance).

func (*Client) CreateGameCenterChallengeVersionRelease

func (c *Client) CreateGameCenterChallengeVersionRelease(ctx context.Context, versionID string) (*GameCenterChallengeVersionReleaseResponse, error)

CreateGameCenterChallengeVersionRelease creates a new challenge version release.

func (*Client) CreateGameCenterDetail

func (c *Client) CreateGameCenterDetail(ctx context.Context, appID string, attrs *GameCenterDetailCreateAttributes) (*GameCenterDetailResponse, error)

CreateGameCenterDetail creates a new Game Center detail.

func (*Client) CreateGameCenterGroup

func (c *Client) CreateGameCenterGroup(ctx context.Context, referenceName *string) (*GameCenterGroupResponse, error)

CreateGameCenterGroup creates a new Game Center group.

func (*Client) CreateGameCenterLeaderboard

func (c *Client) CreateGameCenterLeaderboard(ctx context.Context, gcDetailID string, attrs GameCenterLeaderboardCreateAttributes, setIDs []string) (*GameCenterLeaderboardResponse, error)

CreateGameCenterLeaderboard creates a new Game Center leaderboard.

func (*Client) CreateGameCenterLeaderboardEntrySubmission

CreateGameCenterLeaderboardEntrySubmission submits a leaderboard entry.

func (*Client) CreateGameCenterLeaderboardImage

func (c *Client) CreateGameCenterLeaderboardImage(ctx context.Context, localizationID string, fileName string, fileSize int64) (*GameCenterLeaderboardImageResponse, error)

CreateGameCenterLeaderboardImage sends POST /v1/gameCenterLeaderboardImages (gameCenterLeaderboardImages_createInstance).

func (*Client) CreateGameCenterLeaderboardImageV2

func (c *Client) CreateGameCenterLeaderboardImageV2(ctx context.Context, localizationID, fileName string, fileSize int64) (*GameCenterLeaderboardImageResponse, error)

CreateGameCenterLeaderboardImageV2 reserves a new v2 leaderboard image upload.

func (*Client) CreateGameCenterLeaderboardLocalization

func (c *Client) CreateGameCenterLeaderboardLocalization(ctx context.Context, leaderboardID string, attrs GameCenterLeaderboardLocalizationCreateAttributes) (*GameCenterLeaderboardLocalizationResponse, error)

CreateGameCenterLeaderboardLocalization sends POST /v1/gameCenterLeaderboardLocalizations (gameCenterLeaderboardLocalizations_createInstance).

func (*Client) CreateGameCenterLeaderboardLocalizationV2

func (c *Client) CreateGameCenterLeaderboardLocalizationV2(ctx context.Context, versionID string, attrs GameCenterLeaderboardLocalizationCreateAttributes) (*GameCenterLeaderboardLocalizationResponse, error)

CreateGameCenterLeaderboardLocalizationV2 sends POST /v2/gameCenterLeaderboardLocalizations (gameCenterLeaderboardLocalizationsV2_createInstance).

func (*Client) CreateGameCenterLeaderboardRelease

func (c *Client) CreateGameCenterLeaderboardRelease(ctx context.Context, gcDetailID, leaderboardID string) (*GameCenterLeaderboardReleaseResponse, error)

CreateGameCenterLeaderboardRelease sends POST /v1/gameCenterLeaderboardReleases (gameCenterLeaderboardReleases_createInstance).

func (*Client) CreateGameCenterLeaderboardSet

func (c *Client) CreateGameCenterLeaderboardSet(ctx context.Context, gcDetailID string, attrs GameCenterLeaderboardSetCreateAttributes, leaderboardIDs []string) (*GameCenterLeaderboardSetResponse, error)

CreateGameCenterLeaderboardSet creates a new Game Center leaderboard set.

func (*Client) CreateGameCenterLeaderboardSetImage

func (c *Client) CreateGameCenterLeaderboardSetImage(ctx context.Context, localizationID string, fileName string, fileSize int64) (*GameCenterLeaderboardSetImageResponse, error)

CreateGameCenterLeaderboardSetImage sends POST /v1/gameCenterLeaderboardSetImages (gameCenterLeaderboardSetImages_createInstance).

func (*Client) CreateGameCenterLeaderboardSetImageV2

func (c *Client) CreateGameCenterLeaderboardSetImageV2(ctx context.Context, localizationID, fileName string, fileSize int64) (*GameCenterLeaderboardSetImageResponse, error)

CreateGameCenterLeaderboardSetImageV2 reserves a new v2 leaderboard set image upload.

func (*Client) CreateGameCenterLeaderboardSetLocalization

CreateGameCenterLeaderboardSetLocalization sends POST /v1/gameCenterLeaderboardSetLocalizations (gameCenterLeaderboardSetLocalizations_createInstance).

func (*Client) CreateGameCenterLeaderboardSetLocalizationV2

func (c *Client) CreateGameCenterLeaderboardSetLocalizationV2(ctx context.Context, versionID string, attrs GameCenterLeaderboardSetLocalizationCreateAttributes) (*GameCenterLeaderboardSetLocalizationResponse, error)

CreateGameCenterLeaderboardSetLocalizationV2 sends POST /v2/gameCenterLeaderboardSetLocalizations (gameCenterLeaderboardSetLocalizationsV2_createInstance).

func (*Client) CreateGameCenterLeaderboardSetMemberLocalization

func (c *Client) CreateGameCenterLeaderboardSetMemberLocalization(ctx context.Context, leaderboardSetID, leaderboardID string, attrs GameCenterLeaderboardSetMemberLocalizationCreateAttributes) (*GameCenterLeaderboardSetMemberLocalizationResponse, error)

CreateGameCenterLeaderboardSetMemberLocalization creates a new leaderboard set member localization.

func (*Client) CreateGameCenterLeaderboardSetRelease

func (c *Client) CreateGameCenterLeaderboardSetRelease(ctx context.Context, gcDetailID, setID string) (*GameCenterLeaderboardSetReleaseResponse, error)

CreateGameCenterLeaderboardSetRelease sends POST /v1/gameCenterLeaderboardSetReleases (gameCenterLeaderboardSetReleases_createInstance).

func (*Client) CreateGameCenterLeaderboardSetV2

func (c *Client) CreateGameCenterLeaderboardSetV2(ctx context.Context, gcDetailID, groupID string, attrs GameCenterLeaderboardSetCreateAttributes, leaderboardIDs []string) (*GameCenterLeaderboardSetResponse, error)

CreateGameCenterLeaderboardSetV2 creates a new v2 leaderboard set.

func (*Client) CreateGameCenterLeaderboardSetVersion

func (c *Client) CreateGameCenterLeaderboardSetVersion(ctx context.Context, setID string) (*GameCenterLeaderboardSetVersionResponse, error)

CreateGameCenterLeaderboardSetVersion sends POST /v2/gameCenterLeaderboardSetVersions (gameCenterLeaderboardSetVersionsV2_createInstance).

func (*Client) CreateGameCenterLeaderboardV2

func (c *Client) CreateGameCenterLeaderboardV2(ctx context.Context, gcDetailID string, groupID string, attrs GameCenterLeaderboardCreateAttributes, setIDs []string) (*GameCenterLeaderboardResponse, error)

CreateGameCenterLeaderboardV2 creates a new v2 Game Center leaderboard.

func (*Client) CreateGameCenterLeaderboardVersion

func (c *Client) CreateGameCenterLeaderboardVersion(ctx context.Context, leaderboardID string) (*GameCenterLeaderboardVersionResponse, error)

CreateGameCenterLeaderboardVersion sends POST /v2/gameCenterLeaderboardVersions (gameCenterLeaderboardVersionsV2_createInstance).

func (*Client) CreateGameCenterMatchmakingQueue

func (c *Client) CreateGameCenterMatchmakingQueue(ctx context.Context, ruleSetID string, attrs GameCenterMatchmakingQueueCreateAttributes, experimentRuleSetID string) (*GameCenterMatchmakingQueueResponse, error)

CreateGameCenterMatchmakingQueue sends POST /v1/gameCenterMatchmakingQueues (gameCenterMatchmakingQueues_createInstance).

func (*Client) CreateGameCenterMatchmakingRule

func (c *Client) CreateGameCenterMatchmakingRule(ctx context.Context, ruleSetID string, attrs GameCenterMatchmakingRuleCreateAttributes) (*GameCenterMatchmakingRuleResponse, error)

CreateGameCenterMatchmakingRule sends POST /v1/gameCenterMatchmakingRules (gameCenterMatchmakingRules_createInstance).

func (*Client) CreateGameCenterMatchmakingRuleSet

CreateGameCenterMatchmakingRuleSet sends POST /v1/gameCenterMatchmakingRuleSets (gameCenterMatchmakingRuleSets_createInstance).

func (*Client) CreateGameCenterMatchmakingRuleSetTest

func (c *Client) CreateGameCenterMatchmakingRuleSetTest(ctx context.Context, payload json.RawMessage) (*GameCenterMatchmakingRuleSetTestResponse, error)

CreateGameCenterMatchmakingRuleSetTest creates a rule set test from a JSON payload.

func (*Client) CreateGameCenterMatchmakingTeam

func (c *Client) CreateGameCenterMatchmakingTeam(ctx context.Context, ruleSetID string, attrs GameCenterMatchmakingTeamCreateAttributes) (*GameCenterMatchmakingTeamResponse, error)

CreateGameCenterMatchmakingTeam sends POST /v1/gameCenterMatchmakingTeams (gameCenterMatchmakingTeams_createInstance).

func (*Client) CreateGameCenterPlayerAchievementSubmission

CreateGameCenterPlayerAchievementSubmission submits a player achievement.

func (*Client) CreateInAppPurchaseAppStoreReviewScreenshot

func (c *Client) CreateInAppPurchaseAppStoreReviewScreenshot(ctx context.Context, iapID, fileName string, fileSize int64) (*InAppPurchaseAppStoreReviewScreenshotResponse, error)

CreateInAppPurchaseAppStoreReviewScreenshot sends POST /v1/inAppPurchaseAppStoreReviewScreenshots (inAppPurchaseAppStoreReviewScreenshots_createInstance).

func (*Client) CreateInAppPurchaseAvailability

func (c *Client) CreateInAppPurchaseAvailability(ctx context.Context, iapID string, availableInNewTerritories bool, territories []string) (*InAppPurchaseAvailabilityResponse, error)

CreateInAppPurchaseAvailability creates or updates availability for an in-app purchase.

func (*Client) CreateInAppPurchaseImageV2 added in v1.260722.0

func (c *Client) CreateInAppPurchaseImageV2(ctx context.Context, versionID, fileName string, fileSize int64) (*InAppPurchaseImageV2Response, error)

CreateInAppPurchaseImageV2 sends POST /v2/inAppPurchaseImages (inAppPurchaseImagesV2_createInstance).

func (*Client) CreateInAppPurchaseLocalization deprecated

func (c *Client) CreateInAppPurchaseLocalization(ctx context.Context, iapID string, attrs InAppPurchaseLocalizationCreateAttributes) (*InAppPurchaseLocalizationResponse, error)

CreateInAppPurchaseLocalization creates a localization for an in-app purchase.

Deprecated: Use CreateInAppPurchaseLocalizationV2 with an in-app purchase version ID.

func (*Client) CreateInAppPurchaseLocalizationV2 added in v1.260722.0

func (c *Client) CreateInAppPurchaseLocalizationV2(ctx context.Context, versionID string, attrs InAppPurchaseLocalizationV2CreateAttributes) (*InAppPurchaseLocalizationResponse, error)

func (*Client) CreateInAppPurchaseOfferCode

func (c *Client) CreateInAppPurchaseOfferCode(ctx context.Context, iapID string, attrs InAppPurchaseOfferCodeCreateAttributes) (*InAppPurchaseOfferCodeResponse, error)

CreateInAppPurchaseOfferCode creates an offer code.

func (*Client) CreateInAppPurchaseOfferCodeCustomCode

CreateInAppPurchaseOfferCodeCustomCode creates a custom code for an offer code.

func (*Client) CreateInAppPurchaseOfferCodeOneTimeUseCode

CreateInAppPurchaseOfferCodeOneTimeUseCode generates a new one-time use code batch.

func (*Client) CreateInAppPurchasePriceSchedule

func (c *Client) CreateInAppPurchasePriceSchedule(ctx context.Context, iapID string, attrs InAppPurchasePriceScheduleCreateAttributes) (*InAppPurchasePriceScheduleResponse, error)

CreateInAppPurchasePriceSchedule creates an IAP price schedule.

func (*Client) CreateInAppPurchaseV2

func (c *Client) CreateInAppPurchaseV2(ctx context.Context, appID string, attrs InAppPurchaseV2CreateAttributes) (*InAppPurchaseV2Response, error)

CreateInAppPurchaseV2 sends POST /v2/inAppPurchases (inAppPurchasesV2_createInstance).

func (*Client) CreateInAppPurchaseVersion added in v1.260722.0

func (c *Client) CreateInAppPurchaseVersion(ctx context.Context, iapID string) (*InAppPurchaseVersionResponse, error)

CreateInAppPurchaseVersion sends POST /v1/inAppPurchaseVersions (inAppPurchaseVersions_createInstance).

func (*Client) CreateMarketplaceSearchDetail

func (c *Client) CreateMarketplaceSearchDetail(ctx context.Context, appID, catalogURL string) (*MarketplaceSearchDetailResponse, error)

CreateMarketplaceSearchDetail sends POST /v1/marketplaceSearchDetails (marketplaceSearchDetails_createInstance).

func (*Client) CreateMarketplaceWebhook

func (c *Client) CreateMarketplaceWebhook(ctx context.Context, endpointURL, secret string) (*MarketplaceWebhookResponse, error)

CreateMarketplaceWebhook sends POST /v1/marketplaceWebhooks (marketplaceWebhooks_createInstance).

func (*Client) CreateMerchantID

func (c *Client) CreateMerchantID(ctx context.Context, attrs MerchantIDCreateAttributes) (*MerchantIDResponse, error)

CreateMerchantID sends POST /v1/merchantIds (merchantIds_createInstance).

func (*Client) CreateNomination

func (c *Client) CreateNomination(ctx context.Context, attrs NominationCreateAttributes, relationships NominationRelationships) (*NominationResponse, error)

CreateNomination creates a nomination.

func (*Client) CreatePassTypeID

func (c *Client) CreatePassTypeID(ctx context.Context, attrs PassTypeIDCreateAttributes) (*PassTypeIDResponse, error)

CreatePassTypeID sends POST /v1/passTypeIds (passTypeIds_createInstance).

func (*Client) CreateProfile

func (c *Client) CreateProfile(ctx context.Context, attrs ProfileCreateAttributes, bundleID string, certificateIDs []string, deviceIDs []string) (*ProfileResponse, error)

CreateProfile creates a new provisioning profile.

func (*Client) CreatePromotedPurchase

CreatePromotedPurchase creates a new promoted purchase.

func (*Client) CreateRetentionMessage

func (c *Client) CreateRetentionMessage(ctx context.Context, appID string, referenceName string) (*RetentionMessageResponse, error)

CreateRetentionMessage sends POST /v1/retentionMessages (retentionMessages_createInstance).

func (*Client) CreateRetentionMessageLocalization

func (c *Client) CreateRetentionMessageLocalization(ctx context.Context, versionID string, attrs RetentionMessageLocalizationCreateAttributes) (*RetentionMessageLocalizationResponse, error)

CreateRetentionMessageLocalization sends POST /v1/retentionMessageLocalizations (retentionMessageLocalizations_createInstance).

func (*Client) CreateRetentionMessageVersion

func (c *Client) CreateRetentionMessageVersion(ctx context.Context, messageID string, placementID string) (*RetentionMessageVersionResponse, error)

CreateRetentionMessageVersion sends POST /v1/retentionMessageVersions (retentionMessageVersions_createInstance).

func (*Client) CreateRetentionOffer

func (c *Client) CreateRetentionOffer(ctx context.Context, req RetentionOfferCreateRequest) (*RetentionOfferResponse, error)

CreateRetentionOffer creates a retention offer with its inline prices.

func (*Client) CreateReviewSubmission

func (c *Client) CreateReviewSubmission(ctx context.Context, appID string, platform Platform) (*ReviewSubmissionResponse, error)

CreateReviewSubmission creates a new review submission.

func (*Client) CreateReviewSubmissionItem

func (c *Client) CreateReviewSubmissionItem(ctx context.Context, submissionID string, itemType ReviewSubmissionItemType, itemID string) (*ReviewSubmissionItemResponse, error)

CreateReviewSubmissionItem creates a review submission item.

func (*Client) CreateRoutingAppCoverage

func (c *Client) CreateRoutingAppCoverage(ctx context.Context, versionID, fileName string, fileSize int64) (*RoutingAppCoverageResponse, error)

CreateRoutingAppCoverage sends POST /v1/routingAppCoverages (routingAppCoverages_createInstance).

func (*Client) CreateSubscription

func (c *Client) CreateSubscription(ctx context.Context, groupID string, attrs SubscriptionCreateAttributes) (*SubscriptionResponse, error)

CreateSubscription sends POST /v1/subscriptions (subscriptions_createInstance).

func (*Client) CreateSubscriptionAppStoreReviewScreenshot

func (c *Client) CreateSubscriptionAppStoreReviewScreenshot(ctx context.Context, subscriptionID, fileName string, fileSize int64) (*SubscriptionAppStoreReviewScreenshotResponse, error)

CreateSubscriptionAppStoreReviewScreenshot creates a review screenshot.

func (*Client) CreateSubscriptionAvailability

func (c *Client) CreateSubscriptionAvailability(ctx context.Context, subID string, territoryIDs []string, attrs SubscriptionAvailabilityAttributes) (*SubscriptionAvailabilityResponse, error)

CreateSubscriptionAvailability sets subscription availability in territories.

func (*Client) CreateSubscriptionGroup

func (c *Client) CreateSubscriptionGroup(ctx context.Context, appID string, attrs SubscriptionGroupCreateAttributes) (*SubscriptionGroupResponse, error)

CreateSubscriptionGroup sends POST /v1/subscriptionGroups (subscriptionGroups_createInstance).

func (*Client) CreateSubscriptionGroupLocalization

func (c *Client) CreateSubscriptionGroupLocalization(ctx context.Context, groupID string, attrs SubscriptionGroupLocalizationCreateAttributes) (*SubscriptionGroupLocalizationResponse, error)

CreateSubscriptionGroupLocalization sends POST /v1/subscriptionGroupLocalizations (subscriptionGroupLocalizations_createInstance).

func (*Client) CreateSubscriptionGroupLocalizationV2 added in v1.260722.0

func (c *Client) CreateSubscriptionGroupLocalizationV2(ctx context.Context, versionID string, attrs SubscriptionGroupLocalizationV2CreateAttributes) (*SubscriptionGroupLocalizationV2Response, error)

CreateSubscriptionGroupLocalizationV2 creates a version-scoped localization.

func (*Client) CreateSubscriptionGroupVersion added in v1.260722.0

func (c *Client) CreateSubscriptionGroupVersion(ctx context.Context, groupID string) (*SubscriptionGroupVersionResponse, error)

CreateSubscriptionGroupVersion sends POST /v1/subscriptionGroupVersions (subscriptionGroupVersions_createInstance).

func (*Client) CreateSubscriptionImageV2 added in v1.260722.0

func (c *Client) CreateSubscriptionImageV2(ctx context.Context, versionID, fileName string, fileSize int64) (*SubscriptionImageV2Response, error)

CreateSubscriptionImageV2 sends POST /v2/subscriptionImages (subscriptionImagesV2_createInstance).

func (*Client) CreateSubscriptionIntroductoryOffer

func (c *Client) CreateSubscriptionIntroductoryOffer(ctx context.Context, subscriptionID string, attrs SubscriptionIntroductoryOfferCreateAttributes, territoryID, pricePointID string) (*SubscriptionIntroductoryOfferResponse, error)

CreateSubscriptionIntroductoryOffer sends POST /v1/subscriptionIntroductoryOffers (subscriptionIntroductoryOffers_createInstance).

func (*Client) CreateSubscriptionLocalization

func (c *Client) CreateSubscriptionLocalization(ctx context.Context, subscriptionID string, attrs SubscriptionLocalizationCreateAttributes) (*SubscriptionLocalizationResponse, error)

CreateSubscriptionLocalization sends POST /v1/subscriptionLocalizations (subscriptionLocalizations_createInstance).

func (*Client) CreateSubscriptionLocalizationV2 added in v1.260722.0

func (c *Client) CreateSubscriptionLocalizationV2(ctx context.Context, versionID string, attrs SubscriptionLocalizationV2CreateAttributes) (*SubscriptionLocalizationV2Response, error)

CreateSubscriptionLocalizationV2 creates a version-scoped localization.

func (*Client) CreateSubscriptionOfferCode

func (c *Client) CreateSubscriptionOfferCode(ctx context.Context, subscriptionID string, attrs SubscriptionOfferCodeCreateAttributes, prices []SubscriptionOfferCodePrice) (*SubscriptionOfferCodeResponse, error)

CreateSubscriptionOfferCode creates a subscription offer code.

func (*Client) CreateSubscriptionOfferCodeCustomCode

CreateSubscriptionOfferCodeCustomCode creates a custom code.

func (*Client) CreateSubscriptionOfferCodeOneTimeUseCode

CreateSubscriptionOfferCodeOneTimeUseCode generates a new one-time use offer code batch.

func (*Client) CreateSubscriptionPlanAvailability added in v1.260610.0

func (c *Client) CreateSubscriptionPlanAvailability(ctx context.Context, subID string, territoryIDs []string, attrs SubscriptionPlanAvailabilityAttributes) (*SubscriptionPlanAvailabilityResponse, error)

CreateSubscriptionPlanAvailability sets subscription plan availability in territories.

func (*Client) CreateSubscriptionPrice

func (c *Client) CreateSubscriptionPrice(ctx context.Context, subID, pricePointID, territoryID string, attrs SubscriptionPriceCreateAttributes) (*SubscriptionPriceResponse, error)

CreateSubscriptionPrice adds a price to a subscription.

func (*Client) CreateSubscriptionPromotionalOffer

func (c *Client) CreateSubscriptionPromotionalOffer(ctx context.Context, subscriptionID string, attrs SubscriptionPromotionalOfferCreateAttributes, prices []SubscriptionPromotionalOfferPrice) (*SubscriptionPromotionalOfferResponse, error)

CreateSubscriptionPromotionalOffer creates a promotional offer.

func (*Client) CreateSubscriptionVersion added in v1.260722.0

func (c *Client) CreateSubscriptionVersion(ctx context.Context, subscriptionID string) (*SubscriptionVersionResponse, error)

CreateSubscriptionVersion sends POST /v1/subscriptionVersions (subscriptionVersions_createInstance).

func (*Client) CreateUserInvitation

func (c *Client) CreateUserInvitation(ctx context.Context, attrs UserInvitationCreateAttributes, visibleAppIDs []string) (*UserInvitationResponse, error)

CreateUserInvitation creates a new user invitation.

func (*Client) CreateWebhook

func (c *Client) CreateWebhook(ctx context.Context, appID string, attrs WebhookCreateAttributes) (*WebhookResponse, error)

CreateWebhook sends POST /v1/webhooks (webhooks_createInstance).

func (*Client) CreateWebhookDelivery

func (c *Client) CreateWebhookDelivery(ctx context.Context, deliveryID string) (*WebhookDeliveryResponse, error)

CreateWebhookDelivery sends POST /v1/webhookDeliveries (webhookDeliveries_createInstance).

func (*Client) CreateWebhookPing

func (c *Client) CreateWebhookPing(ctx context.Context, webhookID string) (*WebhookPingResponse, error)

CreateWebhookPing sends POST /v1/webhookPings (webhookPings_createInstance).

func (*Client) CreateWinBackOffer

func (c *Client) CreateWinBackOffer(ctx context.Context, req WinBackOfferCreateRequest) (*WinBackOfferResponse, error)

CreateWinBackOffer creates a win-back offer.

func (*Client) DeleteAccessibilityDeclaration

func (c *Client) DeleteAccessibilityDeclaration(ctx context.Context, declarationID string) error

DeleteAccessibilityDeclaration sends DELETE /v1/accessibilityDeclarations/{id} (accessibilityDeclarations_deleteInstance).

func (*Client) DeleteAlternativeDistributionDomain

func (c *Client) DeleteAlternativeDistributionDomain(ctx context.Context, domainID string) error

DeleteAlternativeDistributionDomain sends DELETE /v1/alternativeDistributionDomains/{id} (alternativeDistributionDomains_deleteInstance).

func (*Client) DeleteAlternativeDistributionKey

func (c *Client) DeleteAlternativeDistributionKey(ctx context.Context, keyID string) error

DeleteAlternativeDistributionKey sends DELETE /v1/alternativeDistributionKeys/{id} (alternativeDistributionKeys_deleteInstance).

func (*Client) DeleteAnalyticsReportRequest

func (c *Client) DeleteAnalyticsReportRequest(ctx context.Context, requestID string) error

DeleteAnalyticsReportRequest sends DELETE /v1/analyticsReportRequests/{id} (analyticsReportRequests_deleteInstance).

func (*Client) DeleteAndroidToIosAppMappingDetail

func (c *Client) DeleteAndroidToIosAppMappingDetail(ctx context.Context, id string) error

DeleteAndroidToIosAppMappingDetail sends DELETE /v1/androidToIosAppMappingDetails/{id} (androidToIosAppMappingDetails_deleteInstance).

func (*Client) DeleteAppClipAdvancedExperience

func (c *Client) DeleteAppClipAdvancedExperience(ctx context.Context, experienceID string) error

DeleteAppClipAdvancedExperience removes an advanced experience by ID.

func (*Client) DeleteAppClipDefaultExperience

func (c *Client) DeleteAppClipDefaultExperience(ctx context.Context, experienceID string) error

DeleteAppClipDefaultExperience sends DELETE /v1/appClipDefaultExperiences/{id} (appClipDefaultExperiences_deleteInstance).

func (*Client) DeleteAppClipDefaultExperienceLocalization

func (c *Client) DeleteAppClipDefaultExperienceLocalization(ctx context.Context, localizationID string) error

DeleteAppClipDefaultExperienceLocalization sends DELETE /v1/appClipDefaultExperienceLocalizations/{id} (appClipDefaultExperienceLocalizations_deleteInstance).

func (*Client) DeleteAppClipHeaderImage

func (c *Client) DeleteAppClipHeaderImage(ctx context.Context, imageID string) error

DeleteAppClipHeaderImage sends DELETE /v1/appClipHeaderImages/{id} (appClipHeaderImages_deleteInstance).

func (*Client) DeleteAppCustomProductPage

func (c *Client) DeleteAppCustomProductPage(ctx context.Context, pageID string) error

DeleteAppCustomProductPage sends DELETE /v1/appCustomProductPages/{id} (appCustomProductPages_deleteInstance).

func (*Client) DeleteAppCustomProductPageLocalization

func (c *Client) DeleteAppCustomProductPageLocalization(ctx context.Context, localizationID string) error

DeleteAppCustomProductPageLocalization sends DELETE /v1/appCustomProductPageLocalizations/{id} (appCustomProductPageLocalizations_deleteInstance).

func (*Client) DeleteAppCustomProductPageLocalizationSearchKeywords

func (c *Client) DeleteAppCustomProductPageLocalizationSearchKeywords(ctx context.Context, localizationID string, keywords []string) error

DeleteAppCustomProductPageLocalizationSearchKeywords sends DELETE /v1/appCustomProductPageLocalizations/{id}/relationships/searchKeywords (appCustomProductPageLocalizations_searchKeywords_deleteToManyRelationship).

func (*Client) DeleteAppEvent

func (c *Client) DeleteAppEvent(ctx context.Context, eventID string) error

DeleteAppEvent sends DELETE /v1/appEvents/{id} (appEvents_deleteInstance).

func (*Client) DeleteAppEventLocalization

func (c *Client) DeleteAppEventLocalization(ctx context.Context, localizationID string) error

DeleteAppEventLocalization sends DELETE /v1/appEventLocalizations/{id} (appEventLocalizations_deleteInstance).

func (*Client) DeleteAppEventScreenshot

func (c *Client) DeleteAppEventScreenshot(ctx context.Context, screenshotID string) error

DeleteAppEventScreenshot sends DELETE /v1/appEventScreenshots/{id} (appEventScreenshots_deleteInstance).

func (*Client) DeleteAppEventVideoClip

func (c *Client) DeleteAppEventVideoClip(ctx context.Context, clipID string) error

DeleteAppEventVideoClip sends DELETE /v1/appEventVideoClips/{id} (appEventVideoClips_deleteInstance).

func (*Client) DeleteAppInfoLocalization

func (c *Client) DeleteAppInfoLocalization(ctx context.Context, localizationID string) error

DeleteAppInfoLocalization sends DELETE /v1/appInfoLocalizations/{id} (appInfoLocalizations_deleteInstance).

func (*Client) DeleteAppPreview

func (c *Client) DeleteAppPreview(ctx context.Context, previewID string) error

DeleteAppPreview sends DELETE /v1/appPreviews/{id} (appPreviews_deleteInstance).

func (*Client) DeleteAppPreviewSet

func (c *Client) DeleteAppPreviewSet(ctx context.Context, setID string) error

DeleteAppPreviewSet sends DELETE /v1/appPreviewSets/{id} (appPreviewSets_deleteInstance).

func (*Client) DeleteAppScreenshot

func (c *Client) DeleteAppScreenshot(ctx context.Context, screenshotID string) error

DeleteAppScreenshot sends DELETE /v1/appScreenshots/{id} (appScreenshots_deleteInstance).

func (*Client) DeleteAppScreenshotSet

func (c *Client) DeleteAppScreenshotSet(ctx context.Context, setID string) error

DeleteAppScreenshotSet sends DELETE /v1/appScreenshotSets/{id} (appScreenshotSets_deleteInstance).

func (*Client) DeleteAppStoreReviewAttachment

func (c *Client) DeleteAppStoreReviewAttachment(ctx context.Context, attachmentID string) error

DeleteAppStoreReviewAttachment sends DELETE /v1/appStoreReviewAttachments/{id} (appStoreReviewAttachments_deleteInstance).

func (*Client) DeleteAppStoreVersion

func (c *Client) DeleteAppStoreVersion(ctx context.Context, versionID string) error

DeleteAppStoreVersion sends DELETE /v1/appStoreVersions/{id} (appStoreVersions_deleteInstance).

func (*Client) DeleteAppStoreVersionExperiment

func (c *Client) DeleteAppStoreVersionExperiment(ctx context.Context, experimentID string) error

DeleteAppStoreVersionExperiment sends DELETE /v1/appStoreVersionExperiments/{id} (appStoreVersionExperiments_deleteInstance).

func (*Client) DeleteAppStoreVersionExperimentTreatment

func (c *Client) DeleteAppStoreVersionExperimentTreatment(ctx context.Context, treatmentID string) error

DeleteAppStoreVersionExperimentTreatment sends DELETE /v1/appStoreVersionExperimentTreatments/{id} (appStoreVersionExperimentTreatments_deleteInstance).

func (*Client) DeleteAppStoreVersionExperimentTreatmentLocalization

func (c *Client) DeleteAppStoreVersionExperimentTreatmentLocalization(ctx context.Context, localizationID string) error

DeleteAppStoreVersionExperimentTreatmentLocalization sends DELETE /v1/appStoreVersionExperimentTreatmentLocalizations/{id} (appStoreVersionExperimentTreatmentLocalizations_deleteInstance).

func (*Client) DeleteAppStoreVersionExperimentV2

func (c *Client) DeleteAppStoreVersionExperimentV2(ctx context.Context, experimentID string) error

DeleteAppStoreVersionExperimentV2 sends DELETE /v2/appStoreVersionExperiments/{id} (appStoreVersionExperimentsV2_deleteInstance).

func (*Client) DeleteAppStoreVersionLocalization

func (c *Client) DeleteAppStoreVersionLocalization(ctx context.Context, localizationID string) error

DeleteAppStoreVersionLocalization sends DELETE /v1/appStoreVersionLocalizations/{id} (appStoreVersionLocalizations_deleteInstance).

func (*Client) DeleteAppStoreVersionLocalizationSearchKeywords

func (c *Client) DeleteAppStoreVersionLocalizationSearchKeywords(ctx context.Context, localizationID string, keywords []string) error

DeleteAppStoreVersionLocalizationSearchKeywords sends DELETE /v1/appStoreVersionLocalizations/{id}/relationships/searchKeywords (appStoreVersionLocalizations_searchKeywords_deleteToManyRelationship).

func (*Client) DeleteAppStoreVersionPhasedRelease

func (c *Client) DeleteAppStoreVersionPhasedRelease(ctx context.Context, phasedReleaseID string) error

DeleteAppStoreVersionPhasedRelease sends DELETE /v1/appStoreVersionPhasedReleases/{id} (appStoreVersionPhasedReleases_deleteInstance).

func (*Client) DeleteAppStoreVersionSubmission

func (c *Client) DeleteAppStoreVersionSubmission(ctx context.Context, id string) error

DeleteAppStoreVersionSubmission sends DELETE /v1/appStoreVersionSubmissions/{id} (appStoreVersionSubmissions_deleteInstance).

func (*Client) DeleteBetaAppClipInvocation

func (c *Client) DeleteBetaAppClipInvocation(ctx context.Context, invocationID string) error

DeleteBetaAppClipInvocation sends DELETE /v1/betaAppClipInvocations/{id} (betaAppClipInvocations_deleteInstance).

func (*Client) DeleteBetaAppClipInvocationLocalization

func (c *Client) DeleteBetaAppClipInvocationLocalization(ctx context.Context, localizationID string) error

DeleteBetaAppClipInvocationLocalization sends DELETE /v1/betaAppClipInvocationLocalizations/{id} (betaAppClipInvocationLocalizations_deleteInstance).

func (*Client) DeleteBetaAppLocalization

func (c *Client) DeleteBetaAppLocalization(ctx context.Context, localizationID string) error

DeleteBetaAppLocalization sends DELETE /v1/betaAppLocalizations/{id} (betaAppLocalizations_deleteInstance).

func (*Client) DeleteBetaBuildLocalization

func (c *Client) DeleteBetaBuildLocalization(ctx context.Context, localizationID string) error

DeleteBetaBuildLocalization sends DELETE /v1/betaBuildLocalizations/{id} (betaBuildLocalizations_deleteInstance).

func (*Client) DeleteBetaFeedbackCrashSubmission

func (c *Client) DeleteBetaFeedbackCrashSubmission(ctx context.Context, submissionID string) error

DeleteBetaFeedbackCrashSubmission sends DELETE /v1/betaFeedbackCrashSubmissions/{id} (betaFeedbackCrashSubmissions_deleteInstance).

func (*Client) DeleteBetaFeedbackScreenshotSubmission

func (c *Client) DeleteBetaFeedbackScreenshotSubmission(ctx context.Context, submissionID string) error

DeleteBetaFeedbackScreenshotSubmission sends DELETE /v1/betaFeedbackScreenshotSubmissions/{id} (betaFeedbackScreenshotSubmissions_deleteInstance).

func (*Client) DeleteBetaGroup

func (c *Client) DeleteBetaGroup(ctx context.Context, groupID string) error

DeleteBetaGroup sends DELETE /v1/betaGroups/{id} (betaGroups_deleteInstance).

func (*Client) DeleteBetaRecruitmentCriteria

func (c *Client) DeleteBetaRecruitmentCriteria(ctx context.Context, criteriaID string) error

DeleteBetaRecruitmentCriteria sends DELETE /v1/betaRecruitmentCriteria/{id} (betaRecruitmentCriteria_deleteInstance).

func (*Client) DeleteBetaTester

func (c *Client) DeleteBetaTester(ctx context.Context, testerID string) error

DeleteBetaTester sends DELETE /v1/betaTesters/{id} (betaTesters_deleteInstance).

func (*Client) DeleteBuildUpload

func (c *Client) DeleteBuildUpload(ctx context.Context, id string) error

DeleteBuildUpload sends DELETE /v1/buildUploads/{id} (buildUploads_deleteInstance).

func (*Client) DeleteBundleID

func (c *Client) DeleteBundleID(ctx context.Context, id string) error

DeleteBundleID sends DELETE /v1/bundleIds/{id} (bundleIds_deleteInstance).

func (*Client) DeleteBundleIDCapability

func (c *Client) DeleteBundleIDCapability(ctx context.Context, capabilityID string) error

DeleteBundleIDCapability sends DELETE /v1/bundleIdCapabilities/{id} (bundleIdCapabilities_deleteInstance).

func (*Client) DeleteCiProduct

func (c *Client) DeleteCiProduct(ctx context.Context, productID string) error

DeleteCiProduct sends DELETE /v1/ciProducts/{id} (ciProducts_deleteInstance).

func (*Client) DeleteCiWorkflow

func (c *Client) DeleteCiWorkflow(ctx context.Context, workflowID string) error

DeleteCiWorkflow sends DELETE /v1/ciWorkflows/{id} (ciWorkflows_deleteInstance).

func (*Client) DeleteCustomerReviewResponse

func (c *Client) DeleteCustomerReviewResponse(ctx context.Context, responseID string) error

DeleteCustomerReviewResponse sends DELETE /v1/customerReviewResponses/{id} (customerReviewResponses_deleteInstance).

func (*Client) DeleteEndUserLicenseAgreement

func (c *Client) DeleteEndUserLicenseAgreement(ctx context.Context, id string) error

DeleteEndUserLicenseAgreement sends DELETE /v1/endUserLicenseAgreements/{id} (endUserLicenseAgreements_deleteInstance).

func (*Client) DeleteGameCenterAchievement

func (c *Client) DeleteGameCenterAchievement(ctx context.Context, achievementID string) error

DeleteGameCenterAchievement sends DELETE /v1/gameCenterAchievements/{id} (gameCenterAchievements_deleteInstance).

func (*Client) DeleteGameCenterAchievementImage

func (c *Client) DeleteGameCenterAchievementImage(ctx context.Context, imageID string) error

DeleteGameCenterAchievementImage sends DELETE /v1/gameCenterAchievementImages/{id} (gameCenterAchievementImages_deleteInstance).

func (*Client) DeleteGameCenterAchievementImageV2

func (c *Client) DeleteGameCenterAchievementImageV2(ctx context.Context, imageID string) error

DeleteGameCenterAchievementImageV2 sends DELETE /v2/gameCenterAchievementImages/{id} (gameCenterAchievementImagesV2_deleteInstance).

func (*Client) DeleteGameCenterAchievementLocalization

func (c *Client) DeleteGameCenterAchievementLocalization(ctx context.Context, localizationID string) error

DeleteGameCenterAchievementLocalization sends DELETE /v1/gameCenterAchievementLocalizations/{id} (gameCenterAchievementLocalizations_deleteInstance).

func (*Client) DeleteGameCenterAchievementLocalizationV2

func (c *Client) DeleteGameCenterAchievementLocalizationV2(ctx context.Context, localizationID string) error

DeleteGameCenterAchievementLocalizationV2 sends DELETE /v2/gameCenterAchievementLocalizations/{id} (gameCenterAchievementLocalizationsV2_deleteInstance).

func (*Client) DeleteGameCenterAchievementRelease

func (c *Client) DeleteGameCenterAchievementRelease(ctx context.Context, releaseID string) error

DeleteGameCenterAchievementRelease sends DELETE /v1/gameCenterAchievementReleases/{id} (gameCenterAchievementReleases_deleteInstance).

func (*Client) DeleteGameCenterAchievementV2

func (c *Client) DeleteGameCenterAchievementV2(ctx context.Context, achievementID string) error

DeleteGameCenterAchievementV2 sends DELETE /v2/gameCenterAchievements/{id} (gameCenterAchievementsV2_deleteInstance).

func (*Client) DeleteGameCenterActivity

func (c *Client) DeleteGameCenterActivity(ctx context.Context, activityID string) error

DeleteGameCenterActivity sends DELETE /v1/gameCenterActivities/{id} (gameCenterActivities_deleteInstance).

func (*Client) DeleteGameCenterActivityImage

func (c *Client) DeleteGameCenterActivityImage(ctx context.Context, imageID string) error

DeleteGameCenterActivityImage sends DELETE /v1/gameCenterActivityImages/{id} (gameCenterActivityImages_deleteInstance).

func (*Client) DeleteGameCenterActivityLocalization

func (c *Client) DeleteGameCenterActivityLocalization(ctx context.Context, localizationID string) error

DeleteGameCenterActivityLocalization sends DELETE /v1/gameCenterActivityLocalizations/{id} (gameCenterActivityLocalizations_deleteInstance).

func (*Client) DeleteGameCenterActivityVersionRelease

func (c *Client) DeleteGameCenterActivityVersionRelease(ctx context.Context, releaseID string) error

DeleteGameCenterActivityVersionRelease sends DELETE /v1/gameCenterActivityVersionReleases/{id} (gameCenterActivityVersionReleases_deleteInstance).

func (*Client) DeleteGameCenterChallenge

func (c *Client) DeleteGameCenterChallenge(ctx context.Context, challengeID string) error

DeleteGameCenterChallenge sends DELETE /v1/gameCenterChallenges/{id} (gameCenterChallenges_deleteInstance).

func (*Client) DeleteGameCenterChallengeImage

func (c *Client) DeleteGameCenterChallengeImage(ctx context.Context, imageID string) error

DeleteGameCenterChallengeImage sends DELETE /v1/gameCenterChallengeImages/{id} (gameCenterChallengeImages_deleteInstance).

func (*Client) DeleteGameCenterChallengeLocalization

func (c *Client) DeleteGameCenterChallengeLocalization(ctx context.Context, localizationID string) error

DeleteGameCenterChallengeLocalization sends DELETE /v1/gameCenterChallengeLocalizations/{id} (gameCenterChallengeLocalizations_deleteInstance).

func (*Client) DeleteGameCenterChallengeVersionRelease

func (c *Client) DeleteGameCenterChallengeVersionRelease(ctx context.Context, releaseID string) error

DeleteGameCenterChallengeVersionRelease sends DELETE /v1/gameCenterChallengeVersionReleases/{id} (gameCenterChallengeVersionReleases_deleteInstance).

func (*Client) DeleteGameCenterGroup

func (c *Client) DeleteGameCenterGroup(ctx context.Context, groupID string) error

DeleteGameCenterGroup sends DELETE /v1/gameCenterGroups/{id} (gameCenterGroups_deleteInstance).

func (*Client) DeleteGameCenterLeaderboard

func (c *Client) DeleteGameCenterLeaderboard(ctx context.Context, leaderboardID string) error

DeleteGameCenterLeaderboard sends DELETE /v1/gameCenterLeaderboards/{id} (gameCenterLeaderboards_deleteInstance).

func (*Client) DeleteGameCenterLeaderboardImage

func (c *Client) DeleteGameCenterLeaderboardImage(ctx context.Context, imageID string) error

DeleteGameCenterLeaderboardImage sends DELETE /v1/gameCenterLeaderboardImages/{id} (gameCenterLeaderboardImages_deleteInstance).

func (*Client) DeleteGameCenterLeaderboardImageV2

func (c *Client) DeleteGameCenterLeaderboardImageV2(ctx context.Context, imageID string) error

DeleteGameCenterLeaderboardImageV2 sends DELETE /v2/gameCenterLeaderboardImages/{id} (gameCenterLeaderboardImagesV2_deleteInstance).

func (*Client) DeleteGameCenterLeaderboardLocalization

func (c *Client) DeleteGameCenterLeaderboardLocalization(ctx context.Context, localizationID string) error

DeleteGameCenterLeaderboardLocalization sends DELETE /v1/gameCenterLeaderboardLocalizations/{id} (gameCenterLeaderboardLocalizations_deleteInstance).

func (*Client) DeleteGameCenterLeaderboardLocalizationV2

func (c *Client) DeleteGameCenterLeaderboardLocalizationV2(ctx context.Context, localizationID string) error

DeleteGameCenterLeaderboardLocalizationV2 sends DELETE /v2/gameCenterLeaderboardLocalizations/{id} (gameCenterLeaderboardLocalizationsV2_deleteInstance).

func (*Client) DeleteGameCenterLeaderboardRelease

func (c *Client) DeleteGameCenterLeaderboardRelease(ctx context.Context, releaseID string) error

DeleteGameCenterLeaderboardRelease sends DELETE /v1/gameCenterLeaderboardReleases/{id} (gameCenterLeaderboardReleases_deleteInstance).

func (*Client) DeleteGameCenterLeaderboardSet

func (c *Client) DeleteGameCenterLeaderboardSet(ctx context.Context, setID string) error

DeleteGameCenterLeaderboardSet sends DELETE /v1/gameCenterLeaderboardSets/{id} (gameCenterLeaderboardSets_deleteInstance).

func (*Client) DeleteGameCenterLeaderboardSetImage

func (c *Client) DeleteGameCenterLeaderboardSetImage(ctx context.Context, imageID string) error

DeleteGameCenterLeaderboardSetImage sends DELETE /v1/gameCenterLeaderboardSetImages/{id} (gameCenterLeaderboardSetImages_deleteInstance).

func (*Client) DeleteGameCenterLeaderboardSetImageV2

func (c *Client) DeleteGameCenterLeaderboardSetImageV2(ctx context.Context, imageID string) error

DeleteGameCenterLeaderboardSetImageV2 sends DELETE /v2/gameCenterLeaderboardSetImages/{id} (gameCenterLeaderboardSetImagesV2_deleteInstance).

func (*Client) DeleteGameCenterLeaderboardSetLocalization

func (c *Client) DeleteGameCenterLeaderboardSetLocalization(ctx context.Context, localizationID string) error

DeleteGameCenterLeaderboardSetLocalization sends DELETE /v1/gameCenterLeaderboardSetLocalizations/{id} (gameCenterLeaderboardSetLocalizations_deleteInstance).

func (*Client) DeleteGameCenterLeaderboardSetLocalizationV2

func (c *Client) DeleteGameCenterLeaderboardSetLocalizationV2(ctx context.Context, localizationID string) error

DeleteGameCenterLeaderboardSetLocalizationV2 sends DELETE /v2/gameCenterLeaderboardSetLocalizations/{id} (gameCenterLeaderboardSetLocalizationsV2_deleteInstance).

func (*Client) DeleteGameCenterLeaderboardSetMemberLocalization

func (c *Client) DeleteGameCenterLeaderboardSetMemberLocalization(ctx context.Context, localizationID string) error

DeleteGameCenterLeaderboardSetMemberLocalization sends DELETE /v1/gameCenterLeaderboardSetMemberLocalizations/{id} (gameCenterLeaderboardSetMemberLocalizations_deleteInstance).

func (*Client) DeleteGameCenterLeaderboardSetRelease

func (c *Client) DeleteGameCenterLeaderboardSetRelease(ctx context.Context, releaseID string) error

DeleteGameCenterLeaderboardSetRelease sends DELETE /v1/gameCenterLeaderboardSetReleases/{id} (gameCenterLeaderboardSetReleases_deleteInstance).

func (*Client) DeleteGameCenterLeaderboardSetV2

func (c *Client) DeleteGameCenterLeaderboardSetV2(ctx context.Context, setID string) error

DeleteGameCenterLeaderboardSetV2 sends DELETE /v2/gameCenterLeaderboardSets/{id} (gameCenterLeaderboardSetsV2_deleteInstance).

func (*Client) DeleteGameCenterLeaderboardV2

func (c *Client) DeleteGameCenterLeaderboardV2(ctx context.Context, leaderboardID string) error

DeleteGameCenterLeaderboardV2 sends DELETE /v2/gameCenterLeaderboards/{id} (gameCenterLeaderboardsV2_deleteInstance).

func (*Client) DeleteGameCenterMatchmakingQueue

func (c *Client) DeleteGameCenterMatchmakingQueue(ctx context.Context, queueID string) error

DeleteGameCenterMatchmakingQueue sends DELETE /v1/gameCenterMatchmakingQueues/{id} (gameCenterMatchmakingQueues_deleteInstance).

func (*Client) DeleteGameCenterMatchmakingRule

func (c *Client) DeleteGameCenterMatchmakingRule(ctx context.Context, ruleID string) error

DeleteGameCenterMatchmakingRule sends DELETE /v1/gameCenterMatchmakingRules/{id} (gameCenterMatchmakingRules_deleteInstance).

func (*Client) DeleteGameCenterMatchmakingRuleSet

func (c *Client) DeleteGameCenterMatchmakingRuleSet(ctx context.Context, ruleSetID string) error

DeleteGameCenterMatchmakingRuleSet sends DELETE /v1/gameCenterMatchmakingRuleSets/{id} (gameCenterMatchmakingRuleSets_deleteInstance).

func (*Client) DeleteGameCenterMatchmakingTeam

func (c *Client) DeleteGameCenterMatchmakingTeam(ctx context.Context, teamID string) error

DeleteGameCenterMatchmakingTeam sends DELETE /v1/gameCenterMatchmakingTeams/{id} (gameCenterMatchmakingTeams_deleteInstance).

func (*Client) DeleteInAppPurchaseAppStoreReviewScreenshot

func (c *Client) DeleteInAppPurchaseAppStoreReviewScreenshot(ctx context.Context, screenshotID string) error

DeleteInAppPurchaseAppStoreReviewScreenshot sends DELETE /v1/inAppPurchaseAppStoreReviewScreenshots/{id} (inAppPurchaseAppStoreReviewScreenshots_deleteInstance).

func (*Client) DeleteInAppPurchaseImageV2 added in v1.260722.0

func (c *Client) DeleteInAppPurchaseImageV2(ctx context.Context, imageID string) error

DeleteInAppPurchaseImageV2 sends DELETE /v2/inAppPurchaseImages/{id} (inAppPurchaseImagesV2_deleteInstance).

func (*Client) DeleteInAppPurchaseLocalizationV2 added in v1.260722.0

func (c *Client) DeleteInAppPurchaseLocalizationV2(ctx context.Context, localizationID string) error

DeleteInAppPurchaseLocalizationV2 sends DELETE /v2/inAppPurchaseLocalizations/{id} (inAppPurchaseLocalizationsV2_deleteInstance).

func (*Client) DeleteInAppPurchaseV2

func (c *Client) DeleteInAppPurchaseV2(ctx context.Context, iapID string) error

DeleteInAppPurchaseV2 sends DELETE /v2/inAppPurchases/{id} (inAppPurchasesV2_deleteInstance).

func (*Client) DeleteMarketplaceSearchDetail

func (c *Client) DeleteMarketplaceSearchDetail(ctx context.Context, detailID string) error

DeleteMarketplaceSearchDetail sends DELETE /v1/marketplaceSearchDetails/{id} (marketplaceSearchDetails_deleteInstance).

func (*Client) DeleteMarketplaceWebhook

func (c *Client) DeleteMarketplaceWebhook(ctx context.Context, webhookID string) error

DeleteMarketplaceWebhook sends DELETE /v1/marketplaceWebhooks/{id} (marketplaceWebhooks_deleteInstance).

func (*Client) DeleteMerchantID

func (c *Client) DeleteMerchantID(ctx context.Context, id string) error

DeleteMerchantID sends DELETE /v1/merchantIds/{id} (merchantIds_deleteInstance).

func (*Client) DeleteNomination

func (c *Client) DeleteNomination(ctx context.Context, nominationID string) error

DeleteNomination sends DELETE /v1/nominations/{id} (nominations_deleteInstance).

func (*Client) DeletePassTypeID

func (c *Client) DeletePassTypeID(ctx context.Context, id string) error

DeletePassTypeID sends DELETE /v1/passTypeIds/{id} (passTypeIds_deleteInstance).

func (*Client) DeleteProfile

func (c *Client) DeleteProfile(ctx context.Context, id string) error

DeleteProfile sends DELETE /v1/profiles/{id} (profiles_deleteInstance).

func (*Client) DeletePromotedPurchase

func (c *Client) DeletePromotedPurchase(ctx context.Context, promotedPurchaseID string) error

DeletePromotedPurchase sends DELETE /v1/promotedPurchases/{id} (promotedPurchases_deleteInstance).

func (*Client) DeleteRetentionMessage

func (c *Client) DeleteRetentionMessage(ctx context.Context, messageID string) error

DeleteRetentionMessage sends DELETE /v1/retentionMessages/{id} (retentionMessages_deleteInstance).

func (*Client) DeleteRetentionMessageLocalization

func (c *Client) DeleteRetentionMessageLocalization(ctx context.Context, localizationID string) error

DeleteRetentionMessageLocalization sends DELETE /v1/retentionMessageLocalizations/{id} (retentionMessageLocalizations_deleteInstance).

func (*Client) DeleteRetentionOffer

func (c *Client) DeleteRetentionOffer(ctx context.Context, offerID string) error

DeleteRetentionOffer sends DELETE /v1/retentionOffers/{id} (retentionOffers_deleteInstance).

func (*Client) DeleteReviewSubmissionItem

func (c *Client) DeleteReviewSubmissionItem(ctx context.Context, itemID string) error

DeleteReviewSubmissionItem sends DELETE /v1/reviewSubmissionItems/{id} (reviewSubmissionItems_deleteInstance).

func (*Client) DeleteRoutingAppCoverage

func (c *Client) DeleteRoutingAppCoverage(ctx context.Context, coverageID string) error

DeleteRoutingAppCoverage sends DELETE /v1/routingAppCoverages/{id} (routingAppCoverages_deleteInstance).

func (*Client) DeleteSubscription

func (c *Client) DeleteSubscription(ctx context.Context, subID string) error

DeleteSubscription sends DELETE /v1/subscriptions/{id} (subscriptions_deleteInstance).

func (*Client) DeleteSubscriptionAppStoreReviewScreenshot

func (c *Client) DeleteSubscriptionAppStoreReviewScreenshot(ctx context.Context, screenshotID string) error

DeleteSubscriptionAppStoreReviewScreenshot sends DELETE /v1/subscriptionAppStoreReviewScreenshots/{id} (subscriptionAppStoreReviewScreenshots_deleteInstance).

func (*Client) DeleteSubscriptionGroup

func (c *Client) DeleteSubscriptionGroup(ctx context.Context, groupID string) error

DeleteSubscriptionGroup sends DELETE /v1/subscriptionGroups/{id} (subscriptionGroups_deleteInstance).

func (*Client) DeleteSubscriptionGroupLocalizationV2 added in v1.260722.0

func (c *Client) DeleteSubscriptionGroupLocalizationV2(ctx context.Context, localizationID string) error

DeleteSubscriptionGroupLocalizationV2 sends DELETE /v2/subscriptionGroupLocalizations/{id} (subscriptionGroupLocalizationsV2_deleteInstance).

func (*Client) DeleteSubscriptionImageV2 added in v1.260722.0

func (c *Client) DeleteSubscriptionImageV2(ctx context.Context, imageID string) error

DeleteSubscriptionImageV2 sends DELETE /v2/subscriptionImages/{id} (subscriptionImagesV2_deleteInstance).

func (*Client) DeleteSubscriptionIntroductoryOffer

func (c *Client) DeleteSubscriptionIntroductoryOffer(ctx context.Context, offerID string) error

DeleteSubscriptionIntroductoryOffer sends DELETE /v1/subscriptionIntroductoryOffers/{id} (subscriptionIntroductoryOffers_deleteInstance).

func (*Client) DeleteSubscriptionLocalizationV2 added in v1.260722.0

func (c *Client) DeleteSubscriptionLocalizationV2(ctx context.Context, localizationID string) error

DeleteSubscriptionLocalizationV2 sends DELETE /v2/subscriptionLocalizations/{id} (subscriptionLocalizationsV2_deleteInstance).

func (*Client) DeleteSubscriptionPrice

func (c *Client) DeleteSubscriptionPrice(ctx context.Context, priceID string) error

DeleteSubscriptionPrice sends DELETE /v1/subscriptionPrices/{id} (subscriptionPrices_deleteInstance).

func (*Client) DeleteSubscriptionPromotionalOffer

func (c *Client) DeleteSubscriptionPromotionalOffer(ctx context.Context, offerID string) error

DeleteSubscriptionPromotionalOffer sends DELETE /v1/subscriptionPromotionalOffers/{id} (subscriptionPromotionalOffers_deleteInstance).

func (*Client) DeleteUser

func (c *Client) DeleteUser(ctx context.Context, userID string) error

DeleteUser sends DELETE /v1/users/{id} (users_deleteInstance).

func (*Client) DeleteUserInvitation

func (c *Client) DeleteUserInvitation(ctx context.Context, inviteID string) error

DeleteUserInvitation sends DELETE /v1/userInvitations/{id} (userInvitations_deleteInstance).

func (*Client) DeleteWebhook

func (c *Client) DeleteWebhook(ctx context.Context, webhookID string) error

DeleteWebhook sends DELETE /v1/webhooks/{id} (webhooks_deleteInstance).

func (*Client) DeleteWinBackOffer

func (c *Client) DeleteWinBackOffer(ctx context.Context, offerID string) error

DeleteWinBackOffer sends DELETE /v1/winBackOffers/{id} (winBackOffers_deleteInstance).

func (*Client) DownloadAnalyticsReport

func (c *Client) DownloadAnalyticsReport(ctx context.Context, downloadURL string) (*ReportDownload, error)

DownloadAnalyticsReport downloads an analytics report from a presigned URL.

func (*Client) DownloadCiArtifact

func (c *Client) DownloadCiArtifact(ctx context.Context, downloadURL string) (*ReportDownload, error)

DownloadCiArtifact downloads an artifact from its download URL.

func (*Client) DownloadDiagnosticSignatureLogs

func (c *Client) DownloadDiagnosticSignatureLogs(ctx context.Context, signatureID string, opts ...DiagnosticLogsOption) (*ReportDownload, error)

DownloadDiagnosticSignatureLogs streams diagnostic logs for a signature.

func (*Client) DownloadFinanceReport

func (c *Client) DownloadFinanceReport(ctx context.Context, params FinanceReportParams) (*ReportDownload, error)

DownloadFinanceReport retrieves a finance report as a gzip stream.

func (*Client) DownloadNotarizationLog

func (c *Client) DownloadNotarizationLog(ctx context.Context, logURL string) ([]byte, error)

DownloadNotarizationLog fetches the developer log JSON from the presigned URL in a logs response. The request carries no credentials and follows no redirects.

func (*Client) DownloadPerfPowerMetricsForApp

func (c *Client) DownloadPerfPowerMetricsForApp(ctx context.Context, appID string, opts ...PerfPowerMetricsOption) (*ReportDownload, error)

DownloadPerfPowerMetricsForApp streams performance/power metrics for an app.

func (*Client) DownloadPerfPowerMetricsForBuild

func (c *Client) DownloadPerfPowerMetricsForBuild(ctx context.Context, buildID string, opts ...PerfPowerMetricsOption) (*ReportDownload, error)

DownloadPerfPowerMetricsForBuild streams performance/power metrics for a build.

func (*Client) EndAppAvailabilityPreOrders

func (c *Client) EndAppAvailabilityPreOrders(ctx context.Context, territoryAvailabilityIDs []string) (*EndAppAvailabilityPreOrderResponse, error)

EndAppAvailabilityPreOrders ends pre-orders for territory availabilities.

func (*Client) ExpireBuild

func (c *Client) ExpireBuild(ctx context.Context, buildID string) (*BuildResponse, error)

ExpireBuild expires a build for TestFlight testing.

func (*Client) GetAccessibilityDeclaration

func (c *Client) GetAccessibilityDeclaration(ctx context.Context, declarationID string, fields []string) (*AccessibilityDeclarationResponse, error)

GetAccessibilityDeclaration sends GET /v1/accessibilityDeclarations/{id} (accessibilityDeclarations_getInstance).

func (*Client) GetAccessibilityDeclarations

func (c *Client) GetAccessibilityDeclarations(ctx context.Context, appID string, opts ...AccessibilityDeclarationsOption) (*AccessibilityDeclarationsResponse, error)

GetAccessibilityDeclarations sends GET /v1/apps/{id}/accessibilityDeclarations (apps_accessibilityDeclarations_getToManyRelated).

func (*Client) GetActor

func (c *Client) GetActor(ctx context.Context, actorID string, fields []string) (*ActorResponse, error)

GetActor retrieves a single actor by ID.

func (*Client) GetActors

func (c *Client) GetActors(ctx context.Context, opts ...ActorsOption) (*ActorsResponse, error)

GetActors sends GET /v1/actors (actors_getCollection).

func (*Client) GetAgeRatingDeclarationForAppInfo

func (c *Client) GetAgeRatingDeclarationForAppInfo(ctx context.Context, appInfoID string, opts ...AgeRatingDeclarationOption) (*AgeRatingDeclarationResponse, error)

GetAgeRatingDeclarationForAppInfo sends GET /v1/appInfos/{id}/ageRatingDeclaration (appInfos_ageRatingDeclaration_getToOneRelated).

func (*Client) GetAgeRatingDeclarationForAppStoreVersion

func (c *Client) GetAgeRatingDeclarationForAppStoreVersion(ctx context.Context, versionID string, opts ...AgeRatingDeclarationOption) (*AgeRatingDeclarationResponse, error)

GetAgeRatingDeclarationForAppStoreVersion retrieves the age rating declaration for a version.

Apple removed the version-scoped endpoint in API 4.3, so this now resolves the backing app info and retrieves the declaration from the supported app-info path.

func (*Client) GetAllAppCustomProductPageLocalizationScreenshotSets added in v1.260828.0

func (c *Client) GetAllAppCustomProductPageLocalizationScreenshotSets(ctx context.Context, localizationID string, opts ...AppCustomProductPageLocalizationScreenshotSetsOption) (*AppScreenshotSetsResponse, error)

GetAllAppCustomProductPageLocalizationScreenshotSets retrieves every screenshot set for a custom product page localization.

func (*Client) GetAllAppScreenshotSets added in v1.260828.0

func (c *Client) GetAllAppScreenshotSets(ctx context.Context, localizationID string, opts ...AppScreenshotSetsOption) (*AppScreenshotSetsResponse, error)

GetAllAppScreenshotSets retrieves every screenshot set using automatic pagination.

func (*Client) GetAllAppScreenshots added in v1.260828.0

func (c *Client) GetAllAppScreenshots(ctx context.Context, setID string, opts ...AppScreenshotsOption) (*AppScreenshotsResponse, error)

GetAllAppScreenshots retrieves every screenshot for a set using automatic pagination.

func (*Client) GetAllAppStoreVersionExperimentTreatmentLocalizationScreenshotSets added in v1.260828.0

func (c *Client) GetAllAppStoreVersionExperimentTreatmentLocalizationScreenshotSets(ctx context.Context, localizationID string, opts ...AppStoreVersionExperimentTreatmentLocalizationScreenshotSetsOption) (*AppScreenshotSetsResponse, error)

GetAllAppStoreVersionExperimentTreatmentLocalizationScreenshotSets retrieves every screenshot set for an experiment treatment localization.

func (*Client) GetAlternativeDistributionDomain

func (c *Client) GetAlternativeDistributionDomain(ctx context.Context, domainID string) (*AlternativeDistributionDomainResponse, error)

GetAlternativeDistributionDomain sends GET /v1/alternativeDistributionDomains/{id} (alternativeDistributionDomains_getInstance).

func (*Client) GetAlternativeDistributionDomains

func (c *Client) GetAlternativeDistributionDomains(ctx context.Context, opts ...AlternativeDistributionDomainsOption) (*AlternativeDistributionDomainsResponse, error)

GetAlternativeDistributionDomains sends GET /v1/alternativeDistributionDomains (alternativeDistributionDomains_getCollection).

func (*Client) GetAlternativeDistributionKey

func (c *Client) GetAlternativeDistributionKey(ctx context.Context, keyID string) (*AlternativeDistributionKeyResponse, error)

GetAlternativeDistributionKey sends GET /v1/alternativeDistributionKeys/{id} (alternativeDistributionKeys_getInstance).

func (*Client) GetAlternativeDistributionKeys

func (c *Client) GetAlternativeDistributionKeys(ctx context.Context, opts ...AlternativeDistributionKeysOption) (*AlternativeDistributionKeysResponse, error)

GetAlternativeDistributionKeys sends GET /v1/alternativeDistributionKeys (alternativeDistributionKeys_getCollection).

func (*Client) GetAlternativeDistributionPackage

func (c *Client) GetAlternativeDistributionPackage(ctx context.Context, packageID string) (*AlternativeDistributionPackageResponse, error)

GetAlternativeDistributionPackage sends GET /v1/alternativeDistributionPackages/{id} (alternativeDistributionPackages_getInstance).

func (*Client) GetAlternativeDistributionPackageDelta

func (c *Client) GetAlternativeDistributionPackageDelta(ctx context.Context, deltaID string) (*AlternativeDistributionPackageDeltaResponse, error)

GetAlternativeDistributionPackageDelta sends GET /v1/alternativeDistributionPackageDeltas/{id} (alternativeDistributionPackageDeltas_getInstance).

func (*Client) GetAlternativeDistributionPackageForVersion

func (c *Client) GetAlternativeDistributionPackageForVersion(ctx context.Context, versionID string) (*AlternativeDistributionPackageResponse, error)

GetAlternativeDistributionPackageForVersion sends GET /v1/appStoreVersions/{id}/alternativeDistributionPackage (appStoreVersions_alternativeDistributionPackage_getToOneRelated).

func (*Client) GetAlternativeDistributionPackageVariant

func (c *Client) GetAlternativeDistributionPackageVariant(ctx context.Context, variantID string) (*AlternativeDistributionPackageVariantResponse, error)

GetAlternativeDistributionPackageVariant sends GET /v1/alternativeDistributionPackageVariants/{id} (alternativeDistributionPackageVariants_getInstance).

func (*Client) GetAlternativeDistributionPackageVersion

func (c *Client) GetAlternativeDistributionPackageVersion(ctx context.Context, versionID string) (*AlternativeDistributionPackageVersionResponse, error)

GetAlternativeDistributionPackageVersion sends GET /v1/alternativeDistributionPackageVersions/{id} (alternativeDistributionPackageVersions_getInstance).

func (*Client) GetAlternativeDistributionPackageVersionDeltas

func (c *Client) GetAlternativeDistributionPackageVersionDeltas(ctx context.Context, versionID string, opts ...AlternativeDistributionPackageDeltasOption) (*AlternativeDistributionPackageDeltasResponse, error)

GetAlternativeDistributionPackageVersionDeltas sends GET /v1/alternativeDistributionPackageVersions/{id}/deltas (alternativeDistributionPackageVersions_deltas_getToManyRelated).

func (*Client) GetAlternativeDistributionPackageVersionVariants

func (c *Client) GetAlternativeDistributionPackageVersionVariants(ctx context.Context, versionID string, opts ...AlternativeDistributionPackageVariantsOption) (*AlternativeDistributionPackageVariantsResponse, error)

GetAlternativeDistributionPackageVersionVariants sends GET /v1/alternativeDistributionPackageVersions/{id}/variants (alternativeDistributionPackageVersions_variants_getToManyRelated).

func (*Client) GetAlternativeDistributionPackageVersions

func (c *Client) GetAlternativeDistributionPackageVersions(ctx context.Context, packageID string, opts ...AlternativeDistributionPackageVersionsOption) (*AlternativeDistributionPackageVersionsResponse, error)

GetAlternativeDistributionPackageVersions sends GET /v1/alternativeDistributionPackages/{id}/versions (alternativeDistributionPackages_versions_getToManyRelated).

func (*Client) GetAnalyticsReport

func (c *Client) GetAnalyticsReport(ctx context.Context, reportID string) (*AnalyticsReportResponse, error)

GetAnalyticsReport sends GET /v1/analyticsReports/{id} (analyticsReports_getInstance).

func (*Client) GetAnalyticsReportInstance

func (c *Client) GetAnalyticsReportInstance(ctx context.Context, instanceID string) (*AnalyticsReportInstanceResponse, error)

GetAnalyticsReportInstance sends GET /v1/analyticsReportInstances/{id} (analyticsReportInstances_getInstance).

func (*Client) GetAnalyticsReportInstanceSegmentsRelationships

func (c *Client) GetAnalyticsReportInstanceSegmentsRelationships(ctx context.Context, instanceID string, opts ...LinkagesOption) (*AnalyticsReportInstanceSegmentsLinkagesResponse, error)

GetAnalyticsReportInstanceSegmentsRelationships retrieves segment linkages for a report instance.

func (*Client) GetAnalyticsReportInstances

func (c *Client) GetAnalyticsReportInstances(ctx context.Context, reportID string, opts ...AnalyticsReportInstancesOption) (*AnalyticsReportInstancesResponse, error)

GetAnalyticsReportInstances sends GET /v1/analyticsReports/{id}/instances (analyticsReports_instances_getToManyRelated).

func (*Client) GetAnalyticsReportInstancesRelationships

func (c *Client) GetAnalyticsReportInstancesRelationships(ctx context.Context, reportID string, opts ...LinkagesOption) (*AnalyticsReportInstancesLinkagesResponse, error)

GetAnalyticsReportInstancesRelationships sends GET /v1/analyticsReports/{id}/relationships/instances (analyticsReports_instances_getToManyRelationship).

func (*Client) GetAnalyticsReportRequest

func (c *Client) GetAnalyticsReportRequest(ctx context.Context, requestID string) (*AnalyticsReportRequestResponse, error)

GetAnalyticsReportRequest sends GET /v1/analyticsReportRequests/{id} (analyticsReportRequests_getInstance).

func (*Client) GetAnalyticsReportRequests

func (c *Client) GetAnalyticsReportRequests(ctx context.Context, appID string, opts ...AnalyticsReportRequestsOption) (*AnalyticsReportRequestsResponse, error)

GetAnalyticsReportRequests retrieves analytics report requests for an app.

func (*Client) GetAnalyticsReportSegment

func (c *Client) GetAnalyticsReportSegment(ctx context.Context, segmentID string) (*AnalyticsReportSegmentResponse, error)

GetAnalyticsReportSegment sends GET /v1/analyticsReportSegments/{id} (analyticsReportSegments_getInstance).

func (*Client) GetAnalyticsReportSegments

func (c *Client) GetAnalyticsReportSegments(ctx context.Context, instanceID string, opts ...AnalyticsReportSegmentsOption) (*AnalyticsReportSegmentsResponse, error)

GetAnalyticsReportSegments sends GET /v1/analyticsReportInstances/{id}/segments (analyticsReportInstances_segments_getToManyRelated).

func (*Client) GetAnalyticsReports

func (c *Client) GetAnalyticsReports(ctx context.Context, requestID string, opts ...AnalyticsReportsOption) (*AnalyticsReportsResponse, error)

GetAnalyticsReports sends GET /v1/analyticsReportRequests/{id}/reports (analyticsReportRequests_reports_getToManyRelated).

func (*Client) GetAndroidToIosAppMappingDetail

func (c *Client) GetAndroidToIosAppMappingDetail(ctx context.Context, id string, opts ...AndroidToIosAppMappingDetailsOption) (*AndroidToIosAppMappingDetailResponse, error)

GetAndroidToIosAppMappingDetail sends GET /v1/androidToIosAppMappingDetails/{id} (androidToIosAppMappingDetails_getInstance).

func (*Client) GetAndroidToIosAppMappingDetails

func (c *Client) GetAndroidToIosAppMappingDetails(ctx context.Context, appID string, opts ...AndroidToIosAppMappingDetailsOption) (*AndroidToIosAppMappingDetailsResponse, error)

GetAndroidToIosAppMappingDetails sends GET /v1/apps/{id}/androidToIosAppMappingDetails (apps_androidToIosAppMappingDetails_getToManyRelated).

func (*Client) GetApp

func (c *Client) GetApp(ctx context.Context, appID string) (*AppResponse, error)

GetApp retrieves a single app by ID.

func (*Client) GetAppAlternativeDistributionKey

func (c *Client) GetAppAlternativeDistributionKey(ctx context.Context, appID string) (*AlternativeDistributionKeyResponse, error)

GetAppAlternativeDistributionKey sends GET /v1/apps/{id}/alternativeDistributionKey (apps_alternativeDistributionKey_getToOneRelated).

func (*Client) GetAppAvailabilityV2

func (c *Client) GetAppAvailabilityV2(ctx context.Context, appID string) (*AppAvailabilityV2Response, error)

GetAppAvailabilityV2 sends GET /v1/apps/{id}/appAvailabilityV2 (apps_appAvailabilityV2_getToOneRelated).

func (*Client) GetAppAvailabilityV2ByID

func (c *Client) GetAppAvailabilityV2ByID(ctx context.Context, availabilityID string) (*AppAvailabilityV2Response, error)

GetAppAvailabilityV2ByID sends GET /v2/appAvailabilities/{id} (appAvailabilitiesV2_getInstance).

func (*Client) GetAppBetaAppLocalizations

func (c *Client) GetAppBetaAppLocalizations(ctx context.Context, appID string, opts ...AppBetaAppLocalizationsOption) (*BetaAppLocalizationsResponse, error)

GetAppBetaAppLocalizations sends GET /v1/apps/{id}/betaAppLocalizations (apps_betaAppLocalizations_getToManyRelated).

func (*Client) GetAppBetaAppReviewDetail

func (c *Client) GetAppBetaAppReviewDetail(ctx context.Context, appID string) (*BetaAppReviewDetailResponse, error)

GetAppBetaAppReviewDetail sends GET /v1/apps/{id}/betaAppReviewDetail (apps_betaAppReviewDetail_getToOneRelated).

func (*Client) GetAppBetaTesterUsagesMetrics

func (c *Client) GetAppBetaTesterUsagesMetrics(ctx context.Context, appID string, opts ...BetaTesterUsagesOption) (*BetaTesterUsagesResponse, error)

GetAppBetaTesterUsagesMetrics retrieves beta tester usage metrics for an app.

func (*Client) GetAppCategories

func (c *Client) GetAppCategories(ctx context.Context, opts ...AppCategoriesOption) (*AppCategoriesResponse, error)

GetAppCategories sends GET /v1/appCategories (appCategories_getCollection).

func (*Client) GetAppCategory

func (c *Client) GetAppCategory(ctx context.Context, categoryID string) (*AppCategoryResponse, error)

GetAppCategory sends GET /v1/appCategories/{id} (appCategories_getInstance).

func (*Client) GetAppCategoryParent

func (c *Client) GetAppCategoryParent(ctx context.Context, categoryID string) (*AppCategoryResponse, error)

GetAppCategoryParent sends GET /v1/appCategories/{id}/parent (appCategories_parent_getToOneRelated).

func (*Client) GetAppCategorySubcategories

func (c *Client) GetAppCategorySubcategories(ctx context.Context, categoryID string, opts ...AppCategoriesOption) (*AppCategoriesResponse, error)

GetAppCategorySubcategories sends GET /v1/appCategories/{id}/subcategories (appCategories_subcategories_getToManyRelated).

func (*Client) GetAppCiProduct

func (c *Client) GetAppCiProduct(ctx context.Context, appID string) (*CiProductResponse, error)

GetAppCiProduct sends GET /v1/apps/{id}/ciProduct (apps_ciProduct_getToOneRelated).

func (*Client) GetAppClip

func (c *Client) GetAppClip(ctx context.Context, appClipID string) (*AppClipResponse, error)

GetAppClip sends GET /v1/appClips/{id} (appClips_getInstance).

func (*Client) GetAppClipAdvancedExperience

func (c *Client) GetAppClipAdvancedExperience(ctx context.Context, experienceID string) (*AppClipAdvancedExperienceResponse, error)

GetAppClipAdvancedExperience sends GET /v1/appClipAdvancedExperiences/{id} (appClipAdvancedExperiences_getInstance).

func (*Client) GetAppClipAdvancedExperienceImage

func (c *Client) GetAppClipAdvancedExperienceImage(ctx context.Context, imageID string) (*AppClipAdvancedExperienceImageResponse, error)

GetAppClipAdvancedExperienceImage sends GET /v1/appClipAdvancedExperienceImages/{id} (appClipAdvancedExperienceImages_getInstance).

func (*Client) GetAppClipAdvancedExperiences

func (c *Client) GetAppClipAdvancedExperiences(ctx context.Context, appClipID string, opts ...AppClipAdvancedExperiencesOption) (*AppClipAdvancedExperiencesResponse, error)

GetAppClipAdvancedExperiences sends GET /v1/appClips/{id}/appClipAdvancedExperiences (appClips_appClipAdvancedExperiences_getToManyRelated).

func (*Client) GetAppClipAdvancedExperiencesRelationships

func (c *Client) GetAppClipAdvancedExperiencesRelationships(ctx context.Context, appClipID string, opts ...LinkagesOption) (*AppClipAdvancedExperiencesLinkagesResponse, error)

GetAppClipAdvancedExperiencesRelationships sends GET /v1/appClips/{id}/relationships/appClipAdvancedExperiences (appClips_appClipAdvancedExperiences_getToManyRelationship).

func (*Client) GetAppClipAppStoreReviewDetail

func (c *Client) GetAppClipAppStoreReviewDetail(ctx context.Context, detailID string) (*AppClipAppStoreReviewDetailResponse, error)

GetAppClipAppStoreReviewDetail sends GET /v1/appClipAppStoreReviewDetails/{id} (appClipAppStoreReviewDetails_getInstance).

func (*Client) GetAppClipDefaultExperience

func (c *Client) GetAppClipDefaultExperience(ctx context.Context, experienceID string, opts ...AppClipDefaultExperienceOption) (*AppClipDefaultExperienceResponse, error)

GetAppClipDefaultExperience sends GET /v1/appClipDefaultExperiences/{id} (appClipDefaultExperiences_getInstance).

func (*Client) GetAppClipDefaultExperienceLocalization

func (c *Client) GetAppClipDefaultExperienceLocalization(ctx context.Context, localizationID string) (*AppClipDefaultExperienceLocalizationResponse, error)

GetAppClipDefaultExperienceLocalization sends GET /v1/appClipDefaultExperienceLocalizations/{id} (appClipDefaultExperienceLocalizations_getInstance).

func (*Client) GetAppClipDefaultExperienceLocalizationHeaderImage

func (c *Client) GetAppClipDefaultExperienceLocalizationHeaderImage(ctx context.Context, localizationID string) (*AppClipHeaderImageResponse, error)

GetAppClipDefaultExperienceLocalizationHeaderImage sends GET /v1/appClipDefaultExperienceLocalizations/{id}/appClipHeaderImage (appClipDefaultExperienceLocalizations_appClipHeaderImage_getToOneRelated).

func (*Client) GetAppClipDefaultExperienceLocalizationHeaderImageRelationship

func (c *Client) GetAppClipDefaultExperienceLocalizationHeaderImageRelationship(ctx context.Context, localizationID string) (*AppClipDefaultExperienceLocalizationAppClipHeaderImageLinkageResponse, error)

GetAppClipDefaultExperienceLocalizationHeaderImageRelationship sends GET /v1/appClipDefaultExperienceLocalizations/{id}/relationships/appClipHeaderImage (appClipDefaultExperienceLocalizations_appClipHeaderImage_getToOneRelationship).

func (*Client) GetAppClipDefaultExperienceLocalizations

func (c *Client) GetAppClipDefaultExperienceLocalizations(ctx context.Context, experienceID string, opts ...AppClipDefaultExperienceLocalizationsOption) (*AppClipDefaultExperienceLocalizationsResponse, error)

GetAppClipDefaultExperienceLocalizations sends GET /v1/appClipDefaultExperiences/{id}/appClipDefaultExperienceLocalizations (appClipDefaultExperiences_appClipDefaultExperienceLocalizations_getToManyRelated).

func (*Client) GetAppClipDefaultExperienceReleaseWithAppStoreVersion

func (c *Client) GetAppClipDefaultExperienceReleaseWithAppStoreVersion(ctx context.Context, experienceID string) (*AppStoreVersionResponse, error)

GetAppClipDefaultExperienceReleaseWithAppStoreVersion sends GET /v1/appClipDefaultExperiences/{id}/releaseWithAppStoreVersion (appClipDefaultExperiences_releaseWithAppStoreVersion_getToOneRelated).

func (*Client) GetAppClipDefaultExperienceReleaseWithAppStoreVersionRelationship

func (c *Client) GetAppClipDefaultExperienceReleaseWithAppStoreVersionRelationship(ctx context.Context, experienceID string) (*AppClipDefaultExperienceReleaseWithAppStoreVersionLinkageResponse, error)

GetAppClipDefaultExperienceReleaseWithAppStoreVersionRelationship sends GET /v1/appClipDefaultExperiences/{id}/relationships/releaseWithAppStoreVersion (appClipDefaultExperiences_releaseWithAppStoreVersion_getToOneRelationship).

func (*Client) GetAppClipDefaultExperienceReviewDetail

func (c *Client) GetAppClipDefaultExperienceReviewDetail(ctx context.Context, experienceID string) (*AppClipAppStoreReviewDetailResponse, error)

GetAppClipDefaultExperienceReviewDetail sends GET /v1/appClipDefaultExperiences/{id}/appClipAppStoreReviewDetail (appClipDefaultExperiences_appClipAppStoreReviewDetail_getToOneRelated).

func (*Client) GetAppClipDefaultExperienceReviewDetailRelationship

func (c *Client) GetAppClipDefaultExperienceReviewDetailRelationship(ctx context.Context, experienceID string) (*AppClipDefaultExperienceAppClipAppStoreReviewDetailLinkageResponse, error)

GetAppClipDefaultExperienceReviewDetailRelationship sends GET /v1/appClipDefaultExperiences/{id}/relationships/appClipAppStoreReviewDetail (appClipDefaultExperiences_appClipAppStoreReviewDetail_getToOneRelationship).

func (*Client) GetAppClipDefaultExperiences

func (c *Client) GetAppClipDefaultExperiences(ctx context.Context, appClipID string, opts ...AppClipDefaultExperiencesOption) (*AppClipDefaultExperiencesResponse, error)

GetAppClipDefaultExperiences sends GET /v1/appClips/{id}/appClipDefaultExperiences (appClips_appClipDefaultExperiences_getToManyRelated).

func (*Client) GetAppClipDefaultExperiencesRelationships

func (c *Client) GetAppClipDefaultExperiencesRelationships(ctx context.Context, appClipID string, opts ...LinkagesOption) (*AppClipDefaultExperiencesLinkagesResponse, error)

GetAppClipDefaultExperiencesRelationships sends GET /v1/appClips/{id}/relationships/appClipDefaultExperiences (appClips_appClipDefaultExperiences_getToManyRelationship).

func (*Client) GetAppClipHeaderImage

func (c *Client) GetAppClipHeaderImage(ctx context.Context, imageID string) (*AppClipHeaderImageResponse, error)

GetAppClipHeaderImage sends GET /v1/appClipHeaderImages/{id} (appClipHeaderImages_getInstance).

func (*Client) GetAppClips

func (c *Client) GetAppClips(ctx context.Context, appID string, opts ...AppClipsOption) (*AppClipsResponse, error)

GetAppClips sends GET /v1/apps/{id}/appClips (apps_appClips_getToManyRelated).

func (*Client) GetAppCustomProductPage

func (c *Client) GetAppCustomProductPage(ctx context.Context, pageID string) (*AppCustomProductPageResponse, error)

GetAppCustomProductPage sends GET /v1/appCustomProductPages/{id} (appCustomProductPages_getInstance).

func (*Client) GetAppCustomProductPageLocalization

func (c *Client) GetAppCustomProductPageLocalization(ctx context.Context, localizationID string, opts ...LocalizationReadOption) (*AppCustomProductPageLocalizationResponse, error)

GetAppCustomProductPageLocalization retrieves a custom product page localization by ID.

func (*Client) GetAppCustomProductPageLocalizationPreviewSets

func (c *Client) GetAppCustomProductPageLocalizationPreviewSets(ctx context.Context, localizationID string, opts ...AppCustomProductPageLocalizationPreviewSetsOption) (*AppPreviewSetsResponse, error)

GetAppCustomProductPageLocalizationPreviewSets sends GET /v1/appCustomProductPageLocalizations/{id}/appPreviewSets (appCustomProductPageLocalizations_appPreviewSets_getToManyRelated).

func (*Client) GetAppCustomProductPageLocalizationScreenshotSets

func (c *Client) GetAppCustomProductPageLocalizationScreenshotSets(ctx context.Context, localizationID string, opts ...AppCustomProductPageLocalizationScreenshotSetsOption) (*AppScreenshotSetsResponse, error)

GetAppCustomProductPageLocalizationScreenshotSets sends GET /v1/appCustomProductPageLocalizations/{id}/appScreenshotSets (appCustomProductPageLocalizations_appScreenshotSets_getToManyRelated).

func (*Client) GetAppCustomProductPageLocalizationSearchKeywords

func (c *Client) GetAppCustomProductPageLocalizationSearchKeywords(ctx context.Context, localizationID string) (*AppKeywordsResponse, error)

GetAppCustomProductPageLocalizationSearchKeywords sends GET /v1/appCustomProductPageLocalizations/{id}/searchKeywords (appCustomProductPageLocalizations_searchKeywords_getToManyRelated).

func (*Client) GetAppCustomProductPageLocalizations

func (c *Client) GetAppCustomProductPageLocalizations(ctx context.Context, versionID string, opts ...AppCustomProductPageLocalizationsOption) (*AppCustomProductPageLocalizationsResponse, error)

GetAppCustomProductPageLocalizations sends GET /v1/appCustomProductPageVersions/{id}/appCustomProductPageLocalizations (appCustomProductPageVersions_appCustomProductPageLocalizations_getToManyRelated).

func (*Client) GetAppCustomProductPageVersion

func (c *Client) GetAppCustomProductPageVersion(ctx context.Context, versionID string) (*AppCustomProductPageVersionResponse, error)

GetAppCustomProductPageVersion sends GET /v1/appCustomProductPageVersions/{id} (appCustomProductPageVersions_getInstance).

func (*Client) GetAppCustomProductPageVersions

func (c *Client) GetAppCustomProductPageVersions(ctx context.Context, pageID string, opts ...AppCustomProductPageVersionsOption) (*AppCustomProductPageVersionsResponse, error)

GetAppCustomProductPageVersions sends GET /v1/appCustomProductPages/{id}/appCustomProductPageVersions (appCustomProductPages_appCustomProductPageVersions_getToManyRelated).

func (*Client) GetAppCustomProductPages

func (c *Client) GetAppCustomProductPages(ctx context.Context, appID string, opts ...AppCustomProductPagesOption) (*AppCustomProductPagesResponse, error)

GetAppCustomProductPages sends GET /v1/apps/{id}/appCustomProductPages (apps_appCustomProductPages_getToManyRelated).

func (*Client) GetAppEncryptionDeclaration

func (c *Client) GetAppEncryptionDeclaration(ctx context.Context, declarationID string, opts ...AppEncryptionDeclarationsOption) (*AppEncryptionDeclarationResponse, error)

GetAppEncryptionDeclaration sends GET /v1/appEncryptionDeclarations/{id} (appEncryptionDeclarations_getInstance).

func (*Client) GetAppEncryptionDeclarationApp

func (c *Client) GetAppEncryptionDeclarationApp(ctx context.Context, declarationID string) (*AppResponse, error)

GetAppEncryptionDeclarationApp sends GET /v1/appEncryptionDeclarations/{id}/app (appEncryptionDeclarations_app_getToOneRelated).

func (*Client) GetAppEncryptionDeclarationDocument

func (c *Client) GetAppEncryptionDeclarationDocument(ctx context.Context, documentID string, fields []string) (*AppEncryptionDeclarationDocumentResponse, error)

GetAppEncryptionDeclarationDocument sends GET /v1/appEncryptionDeclarationDocuments/{id} (appEncryptionDeclarationDocuments_getInstance).

func (*Client) GetAppEncryptionDeclarationDocumentForDeclaration

func (c *Client) GetAppEncryptionDeclarationDocumentForDeclaration(ctx context.Context, declarationID string) (*AppEncryptionDeclarationDocumentResponse, error)

GetAppEncryptionDeclarationDocumentForDeclaration sends GET /v1/appEncryptionDeclarations/{id}/appEncryptionDeclarationDocument (appEncryptionDeclarations_appEncryptionDeclarationDocument_getToOneRelated).

func (*Client) GetAppEncryptionDeclarations

func (c *Client) GetAppEncryptionDeclarations(ctx context.Context, appID string, opts ...AppEncryptionDeclarationsOption) (*AppEncryptionDeclarationsResponse, error)

GetAppEncryptionDeclarations retrieves encryption declarations for an app.

func (*Client) GetAppEncryptionDeclarationsForApp

func (c *Client) GetAppEncryptionDeclarationsForApp(ctx context.Context, appID string, opts ...AppEncryptionDeclarationsOption) (*AppEncryptionDeclarationsResponse, error)

GetAppEncryptionDeclarationsForApp sends GET /v1/apps/{id}/appEncryptionDeclarations (apps_appEncryptionDeclarations_getToManyRelated).

func (*Client) GetAppEvent

func (c *Client) GetAppEvent(ctx context.Context, eventID string) (*AppEventResponse, error)

GetAppEvent sends GET /v1/appEvents/{id} (appEvents_getInstance).

func (*Client) GetAppEventLocalization

func (c *Client) GetAppEventLocalization(ctx context.Context, localizationID string, opts ...LocalizationReadOption) (*AppEventLocalizationResponse, error)

GetAppEventLocalization retrieves an app event localization by ID.

func (*Client) GetAppEventLocalizations

func (c *Client) GetAppEventLocalizations(ctx context.Context, eventID string, opts ...AppEventLocalizationsOption) (*AppEventLocalizationsResponse, error)

GetAppEventLocalizations sends GET /v1/appEvents/{id}/localizations (appEvents_localizations_getToManyRelated).

func (*Client) GetAppEventLocalizationsRelationships

func (c *Client) GetAppEventLocalizationsRelationships(ctx context.Context, eventID string, opts ...LinkagesOption) (*AppEventLocalizationsLinkagesResponse, error)

GetAppEventLocalizationsRelationships sends GET /v1/appEvents/{id}/relationships/localizations (appEvents_localizations_getToManyRelationship).

func (*Client) GetAppEventScreenshot

func (c *Client) GetAppEventScreenshot(ctx context.Context, screenshotID string) (*AppEventScreenshotResponse, error)

GetAppEventScreenshot sends GET /v1/appEventScreenshots/{id} (appEventScreenshots_getInstance).

func (*Client) GetAppEventScreenshots

func (c *Client) GetAppEventScreenshots(ctx context.Context, localizationID string, opts ...AppEventScreenshotsOption) (*AppEventScreenshotsResponse, error)

GetAppEventScreenshots sends GET /v1/appEventLocalizations/{id}/appEventScreenshots (appEventLocalizations_appEventScreenshots_getToManyRelated).

func (*Client) GetAppEventScreenshotsRelationships

func (c *Client) GetAppEventScreenshotsRelationships(ctx context.Context, localizationID string, opts ...LinkagesOption) (*AppEventLocalizationScreenshotsLinkagesResponse, error)

GetAppEventScreenshotsRelationships sends GET /v1/appEventLocalizations/{id}/relationships/appEventScreenshots (appEventLocalizations_appEventScreenshots_getToManyRelationship).

func (*Client) GetAppEventVideoClip

func (c *Client) GetAppEventVideoClip(ctx context.Context, clipID string) (*AppEventVideoClipResponse, error)

GetAppEventVideoClip sends GET /v1/appEventVideoClips/{id} (appEventVideoClips_getInstance).

func (*Client) GetAppEventVideoClips

func (c *Client) GetAppEventVideoClips(ctx context.Context, localizationID string, opts ...AppEventVideoClipsOption) (*AppEventVideoClipsResponse, error)

GetAppEventVideoClips sends GET /v1/appEventLocalizations/{id}/appEventVideoClips (appEventLocalizations_appEventVideoClips_getToManyRelated).

func (*Client) GetAppEventVideoClipsRelationships

func (c *Client) GetAppEventVideoClipsRelationships(ctx context.Context, localizationID string, opts ...LinkagesOption) (*AppEventLocalizationVideoClipsLinkagesResponse, error)

GetAppEventVideoClipsRelationships sends GET /v1/appEventLocalizations/{id}/relationships/appEventVideoClips (appEventLocalizations_appEventVideoClips_getToManyRelationship).

func (*Client) GetAppEvents

func (c *Client) GetAppEvents(ctx context.Context, appID string, opts ...AppEventsOption) (*AppEventsResponse, error)

GetAppEvents sends GET /v1/apps/{id}/appEvents (apps_appEvents_getToManyRelated).

func (*Client) GetAppGameCenterEnabledVersions

func (c *Client) GetAppGameCenterEnabledVersions(ctx context.Context, appID string, opts ...GCEnabledVersionsOption) (*GameCenterEnabledVersionsResponse, error)

GetAppGameCenterEnabledVersions sends GET /v1/apps/{id}/gameCenterEnabledVersions (apps_gameCenterEnabledVersions_getToManyRelated).

func (*Client) GetAppInfo

func (c *Client) GetAppInfo(ctx context.Context, appInfoID string, opts ...AppInfoOption) (*AppInfoResponse, error)

GetAppInfo sends GET /v1/appInfos/{id} (appInfos_getInstance).

func (*Client) GetAppInfoAgeRatingDeclarationRelationship

func (c *Client) GetAppInfoAgeRatingDeclarationRelationship(ctx context.Context, appInfoID string) (*AppInfoAgeRatingDeclarationLinkageResponse, error)

GetAppInfoAgeRatingDeclarationRelationship sends GET /v1/appInfos/{id}/relationships/ageRatingDeclaration (appInfos_ageRatingDeclaration_getToOneRelationship).

func (*Client) GetAppInfoLocalizations

func (c *Client) GetAppInfoLocalizations(ctx context.Context, appInfoID string, opts ...AppInfoLocalizationsOption) (*AppInfoLocalizationsResponse, error)

GetAppInfoLocalizations sends GET /v1/appInfos/{id}/appInfoLocalizations (appInfos_appInfoLocalizations_getToManyRelated).

func (*Client) GetAppInfoPrimaryCategory

func (c *Client) GetAppInfoPrimaryCategory(ctx context.Context, appInfoID string) (*AppCategoryResponse, error)

GetAppInfoPrimaryCategory sends GET /v1/appInfos/{id}/primaryCategory (appInfos_primaryCategory_getToOneRelated).

func (*Client) GetAppInfoPrimaryCategoryRelationship

func (c *Client) GetAppInfoPrimaryCategoryRelationship(ctx context.Context, appInfoID string) (*AppInfoPrimaryCategoryLinkageResponse, error)

GetAppInfoPrimaryCategoryRelationship sends GET /v1/appInfos/{id}/relationships/primaryCategory (appInfos_primaryCategory_getToOneRelationship).

func (*Client) GetAppInfoPrimarySubcategoryOne

func (c *Client) GetAppInfoPrimarySubcategoryOne(ctx context.Context, appInfoID string) (*AppCategoryResponse, error)

GetAppInfoPrimarySubcategoryOne sends GET /v1/appInfos/{id}/primarySubcategoryOne (appInfos_primarySubcategoryOne_getToOneRelated).

func (*Client) GetAppInfoPrimarySubcategoryOneRelationship

func (c *Client) GetAppInfoPrimarySubcategoryOneRelationship(ctx context.Context, appInfoID string) (*AppInfoPrimarySubcategoryOneLinkageResponse, error)

GetAppInfoPrimarySubcategoryOneRelationship sends GET /v1/appInfos/{id}/relationships/primarySubcategoryOne (appInfos_primarySubcategoryOne_getToOneRelationship).

func (*Client) GetAppInfoPrimarySubcategoryTwo

func (c *Client) GetAppInfoPrimarySubcategoryTwo(ctx context.Context, appInfoID string) (*AppCategoryResponse, error)

GetAppInfoPrimarySubcategoryTwo sends GET /v1/appInfos/{id}/primarySubcategoryTwo (appInfos_primarySubcategoryTwo_getToOneRelated).

func (*Client) GetAppInfoPrimarySubcategoryTwoRelationship

func (c *Client) GetAppInfoPrimarySubcategoryTwoRelationship(ctx context.Context, appInfoID string) (*AppInfoPrimarySubcategoryTwoLinkageResponse, error)

GetAppInfoPrimarySubcategoryTwoRelationship sends GET /v1/appInfos/{id}/relationships/primarySubcategoryTwo (appInfos_primarySubcategoryTwo_getToOneRelationship).

func (*Client) GetAppInfoSecondaryCategory

func (c *Client) GetAppInfoSecondaryCategory(ctx context.Context, appInfoID string) (*AppCategoryResponse, error)

GetAppInfoSecondaryCategory sends GET /v1/appInfos/{id}/secondaryCategory (appInfos_secondaryCategory_getToOneRelated).

func (*Client) GetAppInfoSecondaryCategoryRelationship

func (c *Client) GetAppInfoSecondaryCategoryRelationship(ctx context.Context, appInfoID string) (*AppInfoSecondaryCategoryLinkageResponse, error)

GetAppInfoSecondaryCategoryRelationship sends GET /v1/appInfos/{id}/relationships/secondaryCategory (appInfos_secondaryCategory_getToOneRelationship).

func (*Client) GetAppInfoSecondarySubcategoryOne

func (c *Client) GetAppInfoSecondarySubcategoryOne(ctx context.Context, appInfoID string) (*AppCategoryResponse, error)

GetAppInfoSecondarySubcategoryOne sends GET /v1/appInfos/{id}/secondarySubcategoryOne (appInfos_secondarySubcategoryOne_getToOneRelated).

func (*Client) GetAppInfoSecondarySubcategoryOneRelationship

func (c *Client) GetAppInfoSecondarySubcategoryOneRelationship(ctx context.Context, appInfoID string) (*AppInfoSecondarySubcategoryOneLinkageResponse, error)

GetAppInfoSecondarySubcategoryOneRelationship sends GET /v1/appInfos/{id}/relationships/secondarySubcategoryOne (appInfos_secondarySubcategoryOne_getToOneRelationship).

func (*Client) GetAppInfoSecondarySubcategoryTwo

func (c *Client) GetAppInfoSecondarySubcategoryTwo(ctx context.Context, appInfoID string) (*AppCategoryResponse, error)

GetAppInfoSecondarySubcategoryTwo sends GET /v1/appInfos/{id}/secondarySubcategoryTwo (appInfos_secondarySubcategoryTwo_getToOneRelated).

func (*Client) GetAppInfoSecondarySubcategoryTwoRelationship

func (c *Client) GetAppInfoSecondarySubcategoryTwoRelationship(ctx context.Context, appInfoID string) (*AppInfoSecondarySubcategoryTwoLinkageResponse, error)

GetAppInfoSecondarySubcategoryTwoRelationship sends GET /v1/appInfos/{id}/relationships/secondarySubcategoryTwo (appInfos_secondarySubcategoryTwo_getToOneRelationship).

func (*Client) GetAppInfoTerritoryAgeRatings

func (c *Client) GetAppInfoTerritoryAgeRatings(ctx context.Context, appInfoID string, opts ...TerritoryAgeRatingsOption) (*TerritoryAgeRatingsResponse, error)

GetAppInfoTerritoryAgeRatings sends GET /v1/appInfos/{id}/territoryAgeRatings (appInfos_territoryAgeRatings_getToManyRelated).

func (*Client) GetAppInfos

func (c *Client) GetAppInfos(ctx context.Context, appID string, opts ...AppInfoOption) (*AppInfosResponse, error)

GetAppInfos sends GET /v1/apps/{id}/appInfos (apps_appInfos_getToManyRelated).

func (*Client) GetAppPreReleaseVersions

func (c *Client) GetAppPreReleaseVersions(ctx context.Context, appID string, opts ...AppPreReleaseVersionsOption) (*PreReleaseVersionsResponse, error)

GetAppPreReleaseVersions sends GET /v1/apps/{id}/preReleaseVersions (apps_preReleaseVersions_getToManyRelated).

func (*Client) GetAppPreview

func (c *Client) GetAppPreview(ctx context.Context, previewID string) (*AppPreviewResponse, error)

GetAppPreview sends GET /v1/appPreviews/{id} (appPreviews_getInstance).

func (*Client) GetAppPreviewSet

func (c *Client) GetAppPreviewSet(ctx context.Context, setID string) (*AppPreviewSetResponse, error)

GetAppPreviewSet sends GET /v1/appPreviewSets/{id} (appPreviewSets_getInstance).

func (*Client) GetAppPreviewSetAppPreviewsRelationships

func (c *Client) GetAppPreviewSetAppPreviewsRelationships(ctx context.Context, setID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetAppPreviewSetAppPreviewsRelationships sends GET /v1/appPreviewSets/{id}/relationships/appPreviews (appPreviewSets_appPreviews_getToManyRelationship).

func (*Client) GetAppPreviewSets

func (c *Client) GetAppPreviewSets(ctx context.Context, localizationID string) (*AppPreviewSetsResponse, error)

GetAppPreviewSets retrieves preview sets for a localization.

func (*Client) GetAppPreviews

func (c *Client) GetAppPreviews(ctx context.Context, setID string, opts ...AppPreviewsOption) (*AppPreviewsResponse, error)

GetAppPreviews retrieves previews for a set.

func (*Client) GetAppPricePoint

func (c *Client) GetAppPricePoint(ctx context.Context, pricePointID string) (*AppPricePointsV3Response, error)

GetAppPricePoint retrieves a single app price point by ID.

func (*Client) GetAppPricePointEqualizations

func (c *Client) GetAppPricePointEqualizations(ctx context.Context, pricePointID string, opts ...PricePointsOption) (*AppPricePointsV3Response, error)

GetAppPricePointEqualizations sends GET /v3/appPricePoints/{id}/equalizations (appPricePointsV3_equalizations_getToManyRelated).

func (*Client) GetAppPricePoints

func (c *Client) GetAppPricePoints(ctx context.Context, appID string, opts ...PricePointsOption) (*AppPricePointsV3Response, error)

GetAppPricePoints sends GET /v1/apps/{id}/appPricePoints (apps_appPricePoints_getToManyRelated).

func (*Client) GetAppPriceSchedule

func (c *Client) GetAppPriceSchedule(ctx context.Context, appID string) (*AppPriceScheduleResponse, error)

GetAppPriceSchedule sends GET /v1/apps/{id}/appPriceSchedule (apps_appPriceSchedule_getToOneRelated).

func (*Client) GetAppPriceScheduleAutomaticPrices

func (c *Client) GetAppPriceScheduleAutomaticPrices(ctx context.Context, scheduleID string, opts ...AppPriceSchedulePricesOption) (*AppPricesResponse, error)

GetAppPriceScheduleAutomaticPrices sends GET /v1/appPriceSchedules/{id}/automaticPrices (appPriceSchedules_automaticPrices_getToManyRelated).

func (*Client) GetAppPriceScheduleBaseTerritory

func (c *Client) GetAppPriceScheduleBaseTerritory(ctx context.Context, scheduleID string) (*TerritoryResponse, error)

GetAppPriceScheduleBaseTerritory sends GET /v1/appPriceSchedules/{id}/baseTerritory (appPriceSchedules_baseTerritory_getToOneRelated).

func (*Client) GetAppPriceScheduleByID

func (c *Client) GetAppPriceScheduleByID(ctx context.Context, scheduleID string) (*AppPriceScheduleResponse, error)

GetAppPriceScheduleByID sends GET /v1/appPriceSchedules/{id} (appPriceSchedules_getInstance).

func (*Client) GetAppPriceScheduleManualPrices

func (c *Client) GetAppPriceScheduleManualPrices(ctx context.Context, scheduleID string, opts ...AppPriceSchedulePricesOption) (*AppPricesResponse, error)

GetAppPriceScheduleManualPrices sends GET /v1/appPriceSchedules/{id}/manualPrices (appPriceSchedules_manualPrices_getToManyRelated).

func (*Client) GetAppPromotedPurchases

func (c *Client) GetAppPromotedPurchases(ctx context.Context, appID string, opts ...PromotedPurchasesOption) (*PromotedPurchasesResponse, error)

GetAppPromotedPurchases sends GET /v1/apps/{id}/promotedPurchases (apps_promotedPurchases_getToManyRelated).

func (*Client) GetAppRetentionMessages

func (c *Client) GetAppRetentionMessages(ctx context.Context, appID string, opts ...RetentionMessagesOption) (*RetentionMessagesResponse, error)

GetAppRetentionMessages lists retention messages for an app.

func (*Client) GetAppRetentionMessagesRelationships

func (c *Client) GetAppRetentionMessagesRelationships(ctx context.Context, appID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetAppRetentionMessagesRelationships sends GET /v1/apps/{id}/relationships/retentionMessages (apps_retentionMessages_getToManyRelationship).

func (*Client) GetAppScreenshot

func (c *Client) GetAppScreenshot(ctx context.Context, screenshotID string) (*AppScreenshotResponse, error)

GetAppScreenshot sends GET /v1/appScreenshots/{id} (appScreenshots_getInstance).

func (*Client) GetAppScreenshotSet

func (c *Client) GetAppScreenshotSet(ctx context.Context, setID string) (*AppScreenshotSetResponse, error)

GetAppScreenshotSet sends GET /v1/appScreenshotSets/{id} (appScreenshotSets_getInstance).

func (*Client) GetAppScreenshotSetAppScreenshotsRelationships

func (c *Client) GetAppScreenshotSetAppScreenshotsRelationships(ctx context.Context, setID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetAppScreenshotSetAppScreenshotsRelationships sends GET /v1/appScreenshotSets/{id}/relationships/appScreenshots (appScreenshotSets_appScreenshots_getToManyRelationship).

func (*Client) GetAppScreenshotSets

func (c *Client) GetAppScreenshotSets(ctx context.Context, localizationID string, opts ...AppScreenshotSetsOption) (*AppScreenshotSetsResponse, error)

GetAppScreenshotSets retrieves screenshot sets for a localization.

func (*Client) GetAppScreenshots

func (c *Client) GetAppScreenshots(ctx context.Context, setID string, opts ...AppScreenshotsOption) (*AppScreenshotsResponse, error)

GetAppScreenshots retrieves screenshots for a set.

func (*Client) GetAppSearchKeywords

func (c *Client) GetAppSearchKeywords(ctx context.Context, appID string, opts ...AppSearchKeywordsOption) (*AppKeywordsResponse, error)

GetAppSearchKeywords sends GET /v1/apps/{id}/searchKeywords (apps_searchKeywords_getToManyRelated).

func (*Client) GetAppStoreReviewAttachment

func (c *Client) GetAppStoreReviewAttachment(ctx context.Context, attachmentID string, opts ...AppStoreReviewAttachmentsOption) (*AppStoreReviewAttachmentResponse, error)

GetAppStoreReviewAttachment sends GET /v1/appStoreReviewAttachments/{id} (appStoreReviewAttachments_getInstance).

func (*Client) GetAppStoreReviewAttachmentsForReviewDetail

func (c *Client) GetAppStoreReviewAttachmentsForReviewDetail(ctx context.Context, reviewDetailID string, opts ...AppStoreReviewAttachmentsOption) (*AppStoreReviewAttachmentsResponse, error)

GetAppStoreReviewAttachmentsForReviewDetail lists attachments for a review detail.

func (*Client) GetAppStoreReviewDetail

func (c *Client) GetAppStoreReviewDetail(ctx context.Context, detailID string) (*AppStoreReviewDetailResponse, error)

GetAppStoreReviewDetail sends GET /v1/appStoreReviewDetails/{id} (appStoreReviewDetails_getInstance).

func (*Client) GetAppStoreReviewDetailForVersion

func (c *Client) GetAppStoreReviewDetailForVersion(ctx context.Context, versionID string) (*AppStoreReviewDetailResponse, error)

GetAppStoreReviewDetailForVersion sends GET /v1/appStoreVersions/{id}/appStoreReviewDetail (appStoreVersions_appStoreReviewDetail_getToOneRelated).

func (*Client) GetAppStoreVersion

func (c *Client) GetAppStoreVersion(ctx context.Context, versionID string, opts ...AppStoreVersionOption) (*AppStoreVersionResponse, error)

GetAppStoreVersion sends GET /v1/appStoreVersions/{id} (appStoreVersions_getInstance).

func (*Client) GetAppStoreVersionAgeRatingDeclarationRelationship

func (c *Client) GetAppStoreVersionAgeRatingDeclarationRelationship(ctx context.Context, versionID string) (*AppStoreVersionAgeRatingDeclarationLinkageResponse, error)

GetAppStoreVersionAgeRatingDeclarationRelationship retrieves the age rating linkage for a version.

func (*Client) GetAppStoreVersionAlternativeDistributionPackage

func (c *Client) GetAppStoreVersionAlternativeDistributionPackage(ctx context.Context, appStoreVersionID string) (*AlternativeDistributionPackageResponse, error)

GetAppStoreVersionAlternativeDistributionPackage sends GET /v1/appStoreVersions/{id}/alternativeDistributionPackage (appStoreVersions_alternativeDistributionPackage_getToOneRelated).

func (*Client) GetAppStoreVersionAlternativeDistributionPackageRelationship

func (c *Client) GetAppStoreVersionAlternativeDistributionPackageRelationship(ctx context.Context, appStoreVersionID string) (*AppStoreVersionAlternativeDistributionPackageLinkageResponse, error)

GetAppStoreVersionAlternativeDistributionPackageRelationship sends GET /v1/appStoreVersions/{id}/relationships/alternativeDistributionPackage (appStoreVersions_alternativeDistributionPackage_getToOneRelationship).

func (*Client) GetAppStoreVersionAppClipDefaultExperience

func (c *Client) GetAppStoreVersionAppClipDefaultExperience(ctx context.Context, versionID string) (*AppClipDefaultExperienceResponse, error)

GetAppStoreVersionAppClipDefaultExperience sends GET /v1/appStoreVersions/{id}/appClipDefaultExperience (appStoreVersions_appClipDefaultExperience_getToOneRelated).

func (*Client) GetAppStoreVersionAppClipDefaultExperienceRelationship

func (c *Client) GetAppStoreVersionAppClipDefaultExperienceRelationship(ctx context.Context, versionID string) (*AppStoreVersionAppClipDefaultExperienceLinkageResponse, error)

GetAppStoreVersionAppClipDefaultExperienceRelationship sends GET /v1/appStoreVersions/{id}/relationships/appClipDefaultExperience (appStoreVersions_appClipDefaultExperience_getToOneRelationship).

func (*Client) GetAppStoreVersionBuild

func (c *Client) GetAppStoreVersionBuild(ctx context.Context, versionID string) (*BuildResponse, error)

GetAppStoreVersionBuild sends GET /v1/appStoreVersions/{id}/build (appStoreVersions_build_getToOneRelated).

func (*Client) GetAppStoreVersionBuildRelationship

func (c *Client) GetAppStoreVersionBuildRelationship(ctx context.Context, versionID string) (*AppStoreVersionBuildLinkageResponse, error)

GetAppStoreVersionBuildRelationship sends GET /v1/appStoreVersions/{id}/relationships/build (appStoreVersions_build_getToOneRelationship).

func (*Client) GetAppStoreVersionCustomerReviews

func (c *Client) GetAppStoreVersionCustomerReviews(ctx context.Context, versionID string, opts ...ReviewOption) (*ReviewsResponse, error)

GetAppStoreVersionCustomerReviews sends GET /v1/appStoreVersions/{id}/customerReviews (appStoreVersions_customerReviews_getToManyRelated).

func (*Client) GetAppStoreVersionCustomerReviewsRelationships

func (c *Client) GetAppStoreVersionCustomerReviewsRelationships(ctx context.Context, versionID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetAppStoreVersionCustomerReviewsRelationships sends GET /v1/appStoreVersions/{id}/relationships/customerReviews (appStoreVersions_customerReviews_getToManyRelationship).

func (*Client) GetAppStoreVersionExperiment

func (c *Client) GetAppStoreVersionExperiment(ctx context.Context, experimentID string) (*AppStoreVersionExperimentResponse, error)

GetAppStoreVersionExperiment sends GET /v1/appStoreVersionExperiments/{id} (appStoreVersionExperiments_getInstance).

func (*Client) GetAppStoreVersionExperimentTreatment

func (c *Client) GetAppStoreVersionExperimentTreatment(ctx context.Context, treatmentID string) (*AppStoreVersionExperimentTreatmentResponse, error)

GetAppStoreVersionExperimentTreatment sends GET /v1/appStoreVersionExperimentTreatments/{id} (appStoreVersionExperimentTreatments_getInstance).

func (*Client) GetAppStoreVersionExperimentTreatmentLocalization

func (c *Client) GetAppStoreVersionExperimentTreatmentLocalization(ctx context.Context, localizationID string, opts ...LocalizationReadOption) (*AppStoreVersionExperimentTreatmentLocalizationResponse, error)

GetAppStoreVersionExperimentTreatmentLocalization retrieves a treatment localization by ID.

func (*Client) GetAppStoreVersionExperimentTreatmentLocalizationPreviewSets

func (c *Client) GetAppStoreVersionExperimentTreatmentLocalizationPreviewSets(ctx context.Context, localizationID string, opts ...AppStoreVersionExperimentTreatmentLocalizationPreviewSetsOption) (*AppPreviewSetsResponse, error)

GetAppStoreVersionExperimentTreatmentLocalizationPreviewSets sends GET /v1/appStoreVersionExperimentTreatmentLocalizations/{id}/appPreviewSets (appStoreVersionExperimentTreatmentLocalizations_appPreviewSets_getToManyRelated).

func (*Client) GetAppStoreVersionExperimentTreatmentLocalizationScreenshotSets

func (c *Client) GetAppStoreVersionExperimentTreatmentLocalizationScreenshotSets(ctx context.Context, localizationID string, opts ...AppStoreVersionExperimentTreatmentLocalizationScreenshotSetsOption) (*AppScreenshotSetsResponse, error)

GetAppStoreVersionExperimentTreatmentLocalizationScreenshotSets sends GET /v1/appStoreVersionExperimentTreatmentLocalizations/{id}/appScreenshotSets (appStoreVersionExperimentTreatmentLocalizations_appScreenshotSets_getToManyRelated).

func (*Client) GetAppStoreVersionExperimentTreatmentLocalizations

func (c *Client) GetAppStoreVersionExperimentTreatmentLocalizations(ctx context.Context, treatmentID string, opts ...AppStoreVersionExperimentTreatmentLocalizationsOption) (*AppStoreVersionExperimentTreatmentLocalizationsResponse, error)

GetAppStoreVersionExperimentTreatmentLocalizations sends GET /v1/appStoreVersionExperimentTreatments/{id}/appStoreVersionExperimentTreatmentLocalizations (appStoreVersionExperimentTreatments_appStoreVersionExperimentTreatmentLocalizations_getToManyRelated).

func (*Client) GetAppStoreVersionExperimentTreatments

func (c *Client) GetAppStoreVersionExperimentTreatments(ctx context.Context, experimentID string, opts ...AppStoreVersionExperimentTreatmentsOption) (*AppStoreVersionExperimentTreatmentsResponse, error)

GetAppStoreVersionExperimentTreatments sends GET /v1/appStoreVersionExperiments/{id}/appStoreVersionExperimentTreatments (appStoreVersionExperiments_appStoreVersionExperimentTreatments_getToManyRelated).

func (*Client) GetAppStoreVersionExperimentTreatmentsV2

func (c *Client) GetAppStoreVersionExperimentTreatmentsV2(ctx context.Context, experimentID string, opts ...AppStoreVersionExperimentTreatmentsOption) (*AppStoreVersionExperimentTreatmentsResponse, error)

GetAppStoreVersionExperimentTreatmentsV2 sends GET /v2/appStoreVersionExperiments/{id}/appStoreVersionExperimentTreatments (appStoreVersionExperimentsV2_appStoreVersionExperimentTreatments_getToManyRelated).

func (*Client) GetAppStoreVersionExperimentV2

func (c *Client) GetAppStoreVersionExperimentV2(ctx context.Context, experimentID string) (*AppStoreVersionExperimentV2Response, error)

GetAppStoreVersionExperimentV2 sends GET /v2/appStoreVersionExperiments/{id} (appStoreVersionExperimentsV2_getInstance).

func (*Client) GetAppStoreVersionExperiments

func (c *Client) GetAppStoreVersionExperiments(ctx context.Context, versionID string, opts ...AppStoreVersionExperimentsOption) (*AppStoreVersionExperimentsResponse, error)

GetAppStoreVersionExperiments sends GET /v1/appStoreVersions/{id}/appStoreVersionExperiments (appStoreVersions_appStoreVersionExperiments_getToManyRelated).

func (*Client) GetAppStoreVersionExperimentsRelationships

func (c *Client) GetAppStoreVersionExperimentsRelationships(ctx context.Context, versionID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetAppStoreVersionExperimentsRelationships sends GET /v1/appStoreVersions/{id}/relationships/appStoreVersionExperiments (appStoreVersions_appStoreVersionExperiments_getToManyRelationship).

func (*Client) GetAppStoreVersionExperimentsV2

func (c *Client) GetAppStoreVersionExperimentsV2(ctx context.Context, appID string, opts ...AppStoreVersionExperimentsV2Option) (*AppStoreVersionExperimentsV2Response, error)

GetAppStoreVersionExperimentsV2 sends GET /v1/apps/{id}/appStoreVersionExperimentsV2 (apps_appStoreVersionExperimentsV2_getToManyRelated).

func (*Client) GetAppStoreVersionExperimentsV2ForVersion

func (c *Client) GetAppStoreVersionExperimentsV2ForVersion(ctx context.Context, versionID string, opts ...AppStoreVersionExperimentsV2Option) (*AppStoreVersionExperimentsV2Response, error)

GetAppStoreVersionExperimentsV2ForVersion sends GET /v1/appStoreVersions/{id}/appStoreVersionExperimentsV2 (appStoreVersions_appStoreVersionExperimentsV2_getToManyRelated).

func (*Client) GetAppStoreVersionExperimentsV2Relationships

func (c *Client) GetAppStoreVersionExperimentsV2Relationships(ctx context.Context, versionID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetAppStoreVersionExperimentsV2Relationships sends GET /v1/appStoreVersions/{id}/relationships/appStoreVersionExperimentsV2 (appStoreVersions_appStoreVersionExperimentsV2_getToManyRelationship).

func (*Client) GetAppStoreVersionGameCenterAppVersion

func (c *Client) GetAppStoreVersionGameCenterAppVersion(ctx context.Context, versionID string) (*GameCenterAppVersionResponse, error)

GetAppStoreVersionGameCenterAppVersion sends GET /v1/appStoreVersions/{id}/gameCenterAppVersion (appStoreVersions_gameCenterAppVersion_getToOneRelated).

func (*Client) GetAppStoreVersionGameCenterAppVersionRelationship

func (c *Client) GetAppStoreVersionGameCenterAppVersionRelationship(ctx context.Context, versionID string) (*AppStoreVersionGameCenterAppVersionLinkageResponse, error)

GetAppStoreVersionGameCenterAppVersionRelationship sends GET /v1/appStoreVersions/{id}/relationships/gameCenterAppVersion (appStoreVersions_gameCenterAppVersion_getToOneRelationship).

func (*Client) GetAppStoreVersionLocalization

func (c *Client) GetAppStoreVersionLocalization(ctx context.Context, localizationID string) (*AppStoreVersionLocalizationResponse, error)

GetAppStoreVersionLocalization sends GET /v1/appStoreVersionLocalizations/{id} (appStoreVersionLocalizations_getInstance).

func (*Client) GetAppStoreVersionLocalizationPreviewSets

func (c *Client) GetAppStoreVersionLocalizationPreviewSets(ctx context.Context, localizationID string, opts ...AppStoreVersionLocalizationPreviewSetsOption) (*AppPreviewSetsResponse, error)

GetAppStoreVersionLocalizationPreviewSets sends GET /v1/appStoreVersionLocalizations/{id}/appPreviewSets (appStoreVersionLocalizations_appPreviewSets_getToManyRelated).

func (*Client) GetAppStoreVersionLocalizationPreviewSetsRelationships

func (c *Client) GetAppStoreVersionLocalizationPreviewSetsRelationships(ctx context.Context, localizationID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetAppStoreVersionLocalizationPreviewSetsRelationships sends GET /v1/appStoreVersionLocalizations/{id}/relationships/appPreviewSets (appStoreVersionLocalizations_appPreviewSets_getToManyRelationship).

func (*Client) GetAppStoreVersionLocalizationScreenshotSets

func (c *Client) GetAppStoreVersionLocalizationScreenshotSets(ctx context.Context, localizationID string, opts ...AppStoreVersionLocalizationScreenshotSetsOption) (*AppScreenshotSetsResponse, error)

GetAppStoreVersionLocalizationScreenshotSets sends GET /v1/appStoreVersionLocalizations/{id}/appScreenshotSets (appStoreVersionLocalizations_appScreenshotSets_getToManyRelated).

func (*Client) GetAppStoreVersionLocalizationScreenshotSetsRelationships

func (c *Client) GetAppStoreVersionLocalizationScreenshotSetsRelationships(ctx context.Context, localizationID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetAppStoreVersionLocalizationScreenshotSetsRelationships sends GET /v1/appStoreVersionLocalizations/{id}/relationships/appScreenshotSets (appStoreVersionLocalizations_appScreenshotSets_getToManyRelationship).

func (*Client) GetAppStoreVersionLocalizationSearchKeywords

func (c *Client) GetAppStoreVersionLocalizationSearchKeywords(ctx context.Context, localizationID string) (*AppKeywordsResponse, error)

GetAppStoreVersionLocalizationSearchKeywords sends GET /v1/appStoreVersionLocalizations/{id}/searchKeywords (appStoreVersionLocalizations_searchKeywords_getToManyRelated).

func (*Client) GetAppStoreVersionLocalizations

func (c *Client) GetAppStoreVersionLocalizations(ctx context.Context, versionID string, opts ...AppStoreVersionLocalizationsOption) (*AppStoreVersionLocalizationsResponse, error)

GetAppStoreVersionLocalizations sends GET /v1/appStoreVersions/{id}/appStoreVersionLocalizations (appStoreVersions_appStoreVersionLocalizations_getToManyRelated).

func (*Client) GetAppStoreVersionPhasedRelease

func (c *Client) GetAppStoreVersionPhasedRelease(ctx context.Context, versionID string) (*AppStoreVersionPhasedReleaseResponse, error)

GetAppStoreVersionPhasedRelease sends GET /v1/appStoreVersions/{id}/appStoreVersionPhasedRelease (appStoreVersions_appStoreVersionPhasedRelease_getToOneRelated).

func (*Client) GetAppStoreVersionReviewDetailRelationship

func (c *Client) GetAppStoreVersionReviewDetailRelationship(ctx context.Context, versionID string) (*AppStoreVersionAppStoreReviewDetailLinkageResponse, error)

GetAppStoreVersionReviewDetailRelationship sends GET /v1/appStoreVersions/{id}/relationships/appStoreReviewDetail (appStoreVersions_appStoreReviewDetail_getToOneRelationship).

func (*Client) GetAppStoreVersionRoutingAppCoverageRelationship

func (c *Client) GetAppStoreVersionRoutingAppCoverageRelationship(ctx context.Context, versionID string) (*AppStoreVersionRoutingAppCoverageLinkageResponse, error)

GetAppStoreVersionRoutingAppCoverageRelationship sends GET /v1/appStoreVersions/{id}/relationships/routingAppCoverage (appStoreVersions_routingAppCoverage_getToOneRelationship).

func (*Client) GetAppStoreVersionSubmissionForVersion

func (c *Client) GetAppStoreVersionSubmissionForVersion(ctx context.Context, versionID string) (*AppStoreVersionSubmissionResourceResponse, error)

GetAppStoreVersionSubmissionForVersion sends GET /v1/appStoreVersions/{id}/appStoreVersionSubmission (appStoreVersions_appStoreVersionSubmission_getToOneRelated).

func (*Client) GetAppStoreVersionSubmissionRelationship

func (c *Client) GetAppStoreVersionSubmissionRelationship(ctx context.Context, versionID string) (*AppStoreVersionAppStoreVersionSubmissionLinkageResponse, error)

GetAppStoreVersionSubmissionRelationship sends GET /v1/appStoreVersions/{id}/relationships/appStoreVersionSubmission (appStoreVersions_appStoreVersionSubmission_getToOneRelationship).

func (*Client) GetAppStoreVersions

func (c *Client) GetAppStoreVersions(ctx context.Context, appID string, opts ...AppStoreVersionsOption) (*AppStoreVersionsResponse, error)

GetAppStoreVersions sends GET /v1/apps/{id}/appStoreVersions (apps_appStoreVersions_getToManyRelated).

func (*Client) GetAppSubscriptionGracePeriod

func (c *Client) GetAppSubscriptionGracePeriod(ctx context.Context, appID string) (*SubscriptionGracePeriodResponse, error)

GetAppSubscriptionGracePeriod sends GET /v1/apps/{id}/subscriptionGracePeriod (apps_subscriptionGracePeriod_getToOneRelated).

func (*Client) GetAppTagTerritories

func (c *Client) GetAppTagTerritories(ctx context.Context, tagID string, opts ...TerritoriesOption) (*TerritoriesResponse, error)

GetAppTagTerritories sends GET /v1/appTags/{id}/territories (appTags_territories_getToManyRelated).

func (*Client) GetAppTagTerritoriesRelationships

func (c *Client) GetAppTagTerritoriesRelationships(ctx context.Context, tagID string, opts ...LinkagesOption) (*AppTagTerritoriesLinkagesResponse, error)

GetAppTagTerritoriesRelationships sends GET /v1/appTags/{id}/relationships/territories (appTags_territories_getToManyRelationship).

func (*Client) GetAppTags

func (c *Client) GetAppTags(ctx context.Context, appID string, opts ...AppTagsOption) (*AppTagsResponse, error)

GetAppTags sends GET /v1/apps/{id}/appTags (apps_appTags_getToManyRelated).

func (*Client) GetAppTagsRelationshipsForApp

func (c *Client) GetAppTagsRelationshipsForApp(ctx context.Context, appID string, opts ...LinkagesOption) (*AppAppTagsLinkagesResponse, error)

GetAppTagsRelationshipsForApp sends GET /v1/apps/{id}/relationships/appTags (apps_appTags_getToManyRelationship).

func (*Client) GetAppWebhooks

func (c *Client) GetAppWebhooks(ctx context.Context, appID string, opts ...WebhooksOption) (*WebhooksResponse, error)

GetAppWebhooks sends GET /v1/apps/{id}/webhooks (apps_webhooks_getToManyRelated).

func (*Client) GetAppWithOptions added in v1.260722.0

func (c *Client) GetAppWithOptions(ctx context.Context, appID string, opts ...AppOption) (*AppResponse, error)

GetAppWithOptions sends GET /v1/apps/{id} (apps_getInstance).

func (*Client) GetApps

func (c *Client) GetApps(ctx context.Context, opts ...AppsOption) (*AppsResponse, error)

GetApps sends GET /v1/apps (apps_getCollection).

func (*Client) GetBackgroundAsset

func (c *Client) GetBackgroundAsset(ctx context.Context, id string) (*BackgroundAssetResponse, error)

GetBackgroundAsset sends GET /v1/backgroundAssets/{id} (backgroundAssets_getInstance).

func (*Client) GetBackgroundAssetUploadFile

func (c *Client) GetBackgroundAssetUploadFile(ctx context.Context, uploadFileID string) (*BackgroundAssetUploadFileResponse, error)

GetBackgroundAssetUploadFile sends GET /v1/backgroundAssetUploadFiles/{id} (backgroundAssetUploadFiles_getInstance).

func (*Client) GetBackgroundAssetUploadFiles

func (c *Client) GetBackgroundAssetUploadFiles(ctx context.Context, versionID string, opts ...BackgroundAssetUploadFilesOption) (*BackgroundAssetUploadFilesResponse, error)

GetBackgroundAssetUploadFiles sends GET /v1/backgroundAssetVersions/{id}/backgroundAssetUploadFiles (backgroundAssetVersions_backgroundAssetUploadFiles_getToManyRelated).

func (*Client) GetBackgroundAssetVersion

func (c *Client) GetBackgroundAssetVersion(ctx context.Context, versionID string) (*BackgroundAssetVersionResponse, error)

GetBackgroundAssetVersion sends GET /v1/backgroundAssetVersions/{id} (backgroundAssetVersions_getInstance).

func (*Client) GetBackgroundAssetVersionAppStoreRelease

func (c *Client) GetBackgroundAssetVersionAppStoreRelease(ctx context.Context, releaseID string) (*BackgroundAssetVersionAppStoreReleaseResponse, error)

GetBackgroundAssetVersionAppStoreRelease sends GET /v1/backgroundAssetVersionAppStoreReleases/{id} (backgroundAssetVersionAppStoreReleases_getInstance).

func (*Client) GetBackgroundAssetVersionExternalBetaRelease

func (c *Client) GetBackgroundAssetVersionExternalBetaRelease(ctx context.Context, releaseID string) (*BackgroundAssetVersionExternalBetaReleaseResponse, error)

GetBackgroundAssetVersionExternalBetaRelease sends GET /v1/backgroundAssetVersionExternalBetaReleases/{id} (backgroundAssetVersionExternalBetaReleases_getInstance).

func (*Client) GetBackgroundAssetVersionInternalBetaRelease

func (c *Client) GetBackgroundAssetVersionInternalBetaRelease(ctx context.Context, releaseID string) (*BackgroundAssetVersionInternalBetaReleaseResponse, error)

GetBackgroundAssetVersionInternalBetaRelease sends GET /v1/backgroundAssetVersionInternalBetaReleases/{id} (backgroundAssetVersionInternalBetaReleases_getInstance).

func (*Client) GetBackgroundAssetVersions

func (c *Client) GetBackgroundAssetVersions(ctx context.Context, backgroundAssetID string, opts ...BackgroundAssetVersionsOption) (*BackgroundAssetVersionsResponse, error)

GetBackgroundAssetVersions sends GET /v1/backgroundAssets/{id}/versions (backgroundAssets_versions_getToManyRelated).

func (*Client) GetBackgroundAssets

func (c *Client) GetBackgroundAssets(ctx context.Context, appID string, opts ...BackgroundAssetsOption) (*BackgroundAssetsResponse, error)

GetBackgroundAssets sends GET /v1/apps/{id}/backgroundAssets (apps_backgroundAssets_getToManyRelated).

func (*Client) GetBetaAppClipInvocation

func (c *Client) GetBetaAppClipInvocation(ctx context.Context, invocationID string, opts ...BetaAppClipInvocationOption) (*BetaAppClipInvocationResponse, error)

GetBetaAppClipInvocation sends GET /v1/betaAppClipInvocations/{id} (betaAppClipInvocations_getInstance).

func (*Client) GetBetaAppClipInvocationLocalizations

func (c *Client) GetBetaAppClipInvocationLocalizations(ctx context.Context, invocationID string, limit int) (*BetaAppClipInvocationLocalizationsResponse, error)

GetBetaAppClipInvocationLocalizations retrieves localizations via the invocation include.

func (*Client) GetBetaAppLocalization

func (c *Client) GetBetaAppLocalization(ctx context.Context, localizationID string) (*BetaAppLocalizationResponse, error)

GetBetaAppLocalization sends GET /v1/betaAppLocalizations/{id} (betaAppLocalizations_getInstance).

func (*Client) GetBetaAppLocalizationApp

func (c *Client) GetBetaAppLocalizationApp(ctx context.Context, localizationID string) (*AppResponse, error)

GetBetaAppLocalizationApp sends GET /v1/betaAppLocalizations/{id}/app (betaAppLocalizations_app_getToOneRelated).

func (*Client) GetBetaAppLocalizations

func (c *Client) GetBetaAppLocalizations(ctx context.Context, opts ...BetaAppLocalizationsOption) (*BetaAppLocalizationsResponse, error)

GetBetaAppLocalizations sends GET /v1/betaAppLocalizations (betaAppLocalizations_getCollection).

func (*Client) GetBetaAppReviewDetail

func (c *Client) GetBetaAppReviewDetail(ctx context.Context, detailID string) (*BetaAppReviewDetailResponse, error)

GetBetaAppReviewDetail sends GET /v1/betaAppReviewDetails/{id} (betaAppReviewDetails_getInstance).

func (*Client) GetBetaAppReviewDetailApp

func (c *Client) GetBetaAppReviewDetailApp(ctx context.Context, detailID string) (*AppResponse, error)

GetBetaAppReviewDetailApp sends GET /v1/betaAppReviewDetails/{id}/app (betaAppReviewDetails_app_getToOneRelated).

func (*Client) GetBetaAppReviewDetails

func (c *Client) GetBetaAppReviewDetails(ctx context.Context, opts ...BetaAppReviewDetailsOption) (*BetaAppReviewDetailsResponse, error)

GetBetaAppReviewDetails sends GET /v1/betaAppReviewDetails (betaAppReviewDetails_getCollection).

func (*Client) GetBetaAppReviewSubmission

func (c *Client) GetBetaAppReviewSubmission(ctx context.Context, submissionID string) (*BetaAppReviewSubmissionResponse, error)

GetBetaAppReviewSubmission sends GET /v1/betaAppReviewSubmissions/{id} (betaAppReviewSubmissions_getInstance).

func (*Client) GetBetaAppReviewSubmissionBuild

func (c *Client) GetBetaAppReviewSubmissionBuild(ctx context.Context, submissionID string) (*BuildResponse, error)

GetBetaAppReviewSubmissionBuild sends GET /v1/betaAppReviewSubmissions/{id}/build (betaAppReviewSubmissions_build_getToOneRelated).

func (*Client) GetBetaAppReviewSubmissions

func (c *Client) GetBetaAppReviewSubmissions(ctx context.Context, opts ...BetaAppReviewSubmissionsOption) (*BetaAppReviewSubmissionsResponse, error)

GetBetaAppReviewSubmissions sends GET /v1/betaAppReviewSubmissions (betaAppReviewSubmissions_getCollection).

func (*Client) GetBetaBuildLocalization

func (c *Client) GetBetaBuildLocalization(ctx context.Context, localizationID string) (*BetaBuildLocalizationResponse, error)

GetBetaBuildLocalization sends GET /v1/betaBuildLocalizations/{id} (betaBuildLocalizations_getInstance).

func (*Client) GetBetaBuildLocalizationBuild

func (c *Client) GetBetaBuildLocalizationBuild(ctx context.Context, localizationID string) (*BuildResponse, error)

GetBetaBuildLocalizationBuild sends GET /v1/betaBuildLocalizations/{id}/build (betaBuildLocalizations_build_getToOneRelated).

func (*Client) GetBetaBuildLocalizations

func (c *Client) GetBetaBuildLocalizations(ctx context.Context, buildID string, opts ...BetaBuildLocalizationsOption) (*BetaBuildLocalizationsResponse, error)

GetBetaBuildLocalizations sends GET /v1/builds/{id}/betaBuildLocalizations (builds_betaBuildLocalizations_getToManyRelated).

func (*Client) GetBetaCrashLog

func (c *Client) GetBetaCrashLog(ctx context.Context, logID string) (*BetaCrashLogResponse, error)

GetBetaCrashLog sends GET /v1/betaCrashLogs/{id} (betaCrashLogs_getInstance).

func (*Client) GetBetaFeedbackCrashSubmission

func (c *Client) GetBetaFeedbackCrashSubmission(ctx context.Context, submissionID string) (*BetaFeedbackCrashSubmissionResponse, error)

GetBetaFeedbackCrashSubmission sends GET /v1/betaFeedbackCrashSubmissions/{id} (betaFeedbackCrashSubmissions_getInstance).

func (*Client) GetBetaFeedbackCrashSubmissionCrashLog

func (c *Client) GetBetaFeedbackCrashSubmissionCrashLog(ctx context.Context, submissionID string) (*BetaCrashLogResponse, error)

GetBetaFeedbackCrashSubmissionCrashLog sends GET /v1/betaFeedbackCrashSubmissions/{id}/crashLog (betaFeedbackCrashSubmissions_crashLog_getToOneRelated).

func (*Client) GetBetaFeedbackScreenshotSubmission

func (c *Client) GetBetaFeedbackScreenshotSubmission(ctx context.Context, submissionID string) (*BetaFeedbackScreenshotSubmissionResponse, error)

GetBetaFeedbackScreenshotSubmission sends GET /v1/betaFeedbackScreenshotSubmissions/{id} (betaFeedbackScreenshotSubmissions_getInstance).

func (*Client) GetBetaGroup

func (c *Client) GetBetaGroup(ctx context.Context, groupID string) (*BetaGroupResponse, error)

GetBetaGroup sends GET /v1/betaGroups/{id} (betaGroups_getInstance).

func (*Client) GetBetaGroupApp

func (c *Client) GetBetaGroupApp(ctx context.Context, groupID string) (*AppResponse, error)

GetBetaGroupApp sends GET /v1/betaGroups/{id}/app (betaGroups_app_getToOneRelated).

func (*Client) GetBetaGroupBetaRecruitmentCriteria

func (c *Client) GetBetaGroupBetaRecruitmentCriteria(ctx context.Context, groupID string) (*BetaRecruitmentCriteriaResponse, error)

GetBetaGroupBetaRecruitmentCriteria sends GET /v1/betaGroups/{id}/betaRecruitmentCriteria (betaGroups_betaRecruitmentCriteria_getToOneRelated).

func (*Client) GetBetaGroupBetaRecruitmentCriterionCompatibleBuildCheck

func (c *Client) GetBetaGroupBetaRecruitmentCriterionCompatibleBuildCheck(ctx context.Context, groupID string) (*BetaRecruitmentCriterionCompatibleBuildCheckResponse, error)

GetBetaGroupBetaRecruitmentCriterionCompatibleBuildCheck sends GET /v1/betaGroups/{id}/betaRecruitmentCriterionCompatibleBuildCheck (betaGroups_betaRecruitmentCriterionCompatibleBuildCheck_getToOneRelated).

func (*Client) GetBetaGroupBetaTestersRelationships

func (c *Client) GetBetaGroupBetaTestersRelationships(ctx context.Context, groupID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetBetaGroupBetaTestersRelationships sends GET /v1/betaGroups/{id}/relationships/betaTesters (betaGroups_betaTesters_getToManyRelationship).

func (*Client) GetBetaGroupBuilds

func (c *Client) GetBetaGroupBuilds(ctx context.Context, groupID string, opts ...BetaGroupBuildsOption) (*BuildsResponse, error)

GetBetaGroupBuilds sends GET /v1/betaGroups/{id}/builds (betaGroups_builds_getToManyRelated).

func (*Client) GetBetaGroupBuildsRelationships

func (c *Client) GetBetaGroupBuildsRelationships(ctx context.Context, groupID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetBetaGroupBuildsRelationships sends GET /v1/betaGroups/{id}/relationships/builds (betaGroups_builds_getToManyRelationship).

func (*Client) GetBetaGroupPublicLinkUsages

func (c *Client) GetBetaGroupPublicLinkUsages(ctx context.Context, groupID string) (*BetaGroupPublicLinkUsagesResponse, error)

GetBetaGroupPublicLinkUsages sends GET /v1/betaGroups/{id}/metrics/publicLinkUsages (betaGroups_publicLinkUsages_getMetrics).

func (*Client) GetBetaGroupTesterUsages

func (c *Client) GetBetaGroupTesterUsages(ctx context.Context, groupID string) (*BetaGroupTesterUsagesResponse, error)

GetBetaGroupTesterUsages retrieves beta tester usage metrics for a beta group.

func (*Client) GetBetaGroupTesters

func (c *Client) GetBetaGroupTesters(ctx context.Context, groupID string, opts ...BetaGroupTestersOption) (*BetaTestersResponse, error)

GetBetaGroupTesters sends GET /v1/betaGroups/{id}/betaTesters (betaGroups_betaTesters_getToManyRelated).

func (*Client) GetBetaGroups

func (c *Client) GetBetaGroups(ctx context.Context, appID string, opts ...BetaGroupsOption) (*BetaGroupsResponse, error)

GetBetaGroups sends GET /v1/apps/{id}/betaGroups (apps_betaGroups_getToManyRelated).

func (*Client) GetBetaLicenseAgreement

func (c *Client) GetBetaLicenseAgreement(ctx context.Context, agreementID string, opts ...BetaLicenseAgreementOption) (*BetaLicenseAgreementResponse, error)

GetBetaLicenseAgreement sends GET /v1/betaLicenseAgreements/{id} (betaLicenseAgreements_getInstance).

func (*Client) GetBetaLicenseAgreementForApp

func (c *Client) GetBetaLicenseAgreementForApp(ctx context.Context, appID string, fields []string) (*BetaLicenseAgreementResponse, error)

GetBetaLicenseAgreementForApp retrieves a beta license agreement for an app.

func (*Client) GetBetaLicenseAgreements

func (c *Client) GetBetaLicenseAgreements(ctx context.Context, opts ...BetaLicenseAgreementsOption) (*BetaLicenseAgreementsResponse, error)

GetBetaLicenseAgreements sends GET /v1/betaLicenseAgreements (betaLicenseAgreements_getCollection).

func (*Client) GetBetaRecruitmentCriterionOptions

func (c *Client) GetBetaRecruitmentCriterionOptions(ctx context.Context, opts ...BetaRecruitmentCriterionOptionsOption) (*BetaRecruitmentCriterionOptionsResponse, error)

GetBetaRecruitmentCriterionOptions sends GET /v1/betaRecruitmentCriterionOptions (betaRecruitmentCriterionOptions_getCollection).

func (*Client) GetBetaTester

func (c *Client) GetBetaTester(ctx context.Context, testerID string) (*BetaTesterResponse, error)

GetBetaTester sends GET /v1/betaTesters/{id} (betaTesters_getInstance).

func (*Client) GetBetaTesterApps

func (c *Client) GetBetaTesterApps(ctx context.Context, testerID string, opts ...BetaTesterAppsOption) (*AppsResponse, error)

GetBetaTesterApps sends GET /v1/betaTesters/{id}/apps (betaTesters_apps_getToManyRelated).

func (*Client) GetBetaTesterAppsRelationships

func (c *Client) GetBetaTesterAppsRelationships(ctx context.Context, testerID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetBetaTesterAppsRelationships sends GET /v1/betaTesters/{id}/relationships/apps (betaTesters_apps_getToManyRelationship).

func (*Client) GetBetaTesterBetaGroups

func (c *Client) GetBetaTesterBetaGroups(ctx context.Context, testerID string, opts ...BetaTesterBetaGroupsOption) (*BetaGroupsResponse, error)

GetBetaTesterBetaGroups sends GET /v1/betaTesters/{id}/betaGroups (betaTesters_betaGroups_getToManyRelated).

func (*Client) GetBetaTesterBetaGroupsRelationships

func (c *Client) GetBetaTesterBetaGroupsRelationships(ctx context.Context, testerID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetBetaTesterBetaGroupsRelationships sends GET /v1/betaTesters/{id}/relationships/betaGroups (betaTesters_betaGroups_getToManyRelationship).

func (*Client) GetBetaTesterBuilds

func (c *Client) GetBetaTesterBuilds(ctx context.Context, testerID string, opts ...BetaTesterBuildsOption) (*BuildsResponse, error)

GetBetaTesterBuilds sends GET /v1/betaTesters/{id}/builds (betaTesters_builds_getToManyRelated).

func (*Client) GetBetaTesterBuildsRelationships

func (c *Client) GetBetaTesterBuildsRelationships(ctx context.Context, testerID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetBetaTesterBuildsRelationships sends GET /v1/betaTesters/{id}/relationships/builds (betaTesters_builds_getToManyRelationship).

func (*Client) GetBetaTesterUsagesMetrics

func (c *Client) GetBetaTesterUsagesMetrics(ctx context.Context, testerID string, opts ...BetaTesterUsagesOption) (*BetaTesterUsagesResponse, error)

GetBetaTesterUsagesMetrics retrieves beta tester usage metrics for a tester.

func (*Client) GetBetaTesters

func (c *Client) GetBetaTesters(ctx context.Context, appID string, opts ...BetaTestersOption) (*BetaTestersResponse, error)

GetBetaTesters retrieves beta testers for an app.

func (*Client) GetBuild

func (c *Client) GetBuild(ctx context.Context, buildID string, opts ...BuildOption) (*BuildResponse, error)

GetBuild retrieves a single build by ID.

func (*Client) GetBuildApp

func (c *Client) GetBuildApp(ctx context.Context, buildID string) (*AppResponse, error)

GetBuildApp sends GET /v1/builds/{id}/app (builds_app_getToOneRelated).

func (*Client) GetBuildAppEncryptionDeclaration

func (c *Client) GetBuildAppEncryptionDeclaration(ctx context.Context, buildID string) (*AppEncryptionDeclarationResponse, error)

GetBuildAppEncryptionDeclaration sends GET /v1/builds/{id}/appEncryptionDeclaration (builds_appEncryptionDeclaration_getToOneRelated).

func (*Client) GetBuildAppRelationship

func (c *Client) GetBuildAppRelationship(ctx context.Context, buildID string) (*BuildAppLinkageResponse, error)

GetBuildAppRelationship sends GET /v1/builds/{id}/relationships/app (builds_app_getToOneRelationship).

func (*Client) GetBuildAppStoreVersion

func (c *Client) GetBuildAppStoreVersion(ctx context.Context, buildID string) (*AppStoreVersionResponse, error)

GetBuildAppStoreVersion sends GET /v1/builds/{id}/appStoreVersion (builds_appStoreVersion_getToOneRelated).

func (*Client) GetBuildAppStoreVersionRelationship

func (c *Client) GetBuildAppStoreVersionRelationship(ctx context.Context, buildID string) (*BuildAppStoreVersionLinkageResponse, error)

GetBuildAppStoreVersionRelationship sends GET /v1/builds/{id}/relationships/appStoreVersion (builds_appStoreVersion_getToOneRelationship).

func (*Client) GetBuildBetaAppReviewSubmission

func (c *Client) GetBuildBetaAppReviewSubmission(ctx context.Context, buildID string) (*BetaAppReviewSubmissionResponse, error)

GetBuildBetaAppReviewSubmission retrieves the beta app review submission for a build.

func (*Client) GetBuildBetaBuildLocalizationsRelationships

func (c *Client) GetBuildBetaBuildLocalizationsRelationships(ctx context.Context, buildID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetBuildBetaBuildLocalizationsRelationships sends GET /v1/builds/{id}/relationships/betaBuildLocalizations (builds_betaBuildLocalizations_getToManyRelationship).

func (*Client) GetBuildBetaDetail

func (c *Client) GetBuildBetaDetail(ctx context.Context, detailID string) (*BuildBetaDetailResponse, error)

GetBuildBetaDetail sends GET /v1/buildBetaDetails/{id} (buildBetaDetails_getInstance).

func (*Client) GetBuildBetaDetailBuild

func (c *Client) GetBuildBetaDetailBuild(ctx context.Context, detailID string) (*BuildResponse, error)

GetBuildBetaDetailBuild sends GET /v1/buildBetaDetails/{id}/build (buildBetaDetails_build_getToOneRelated).

func (*Client) GetBuildBetaDetails

func (c *Client) GetBuildBetaDetails(ctx context.Context, opts ...BuildBetaDetailsOption) (*BuildBetaDetailsResponse, error)

GetBuildBetaDetails sends GET /v1/buildBetaDetails (buildBetaDetails_getCollection).

func (*Client) GetBuildBetaUsagesMetrics

func (c *Client) GetBuildBetaUsagesMetrics(ctx context.Context, buildID string, opts ...BetaBuildUsagesOption) (*BetaBuildUsagesResponse, error)

GetBuildBetaUsagesMetrics retrieves beta build usage metrics for a build.

func (*Client) GetBuildBuildBetaDetail

func (c *Client) GetBuildBuildBetaDetail(ctx context.Context, buildID string) (*BuildBetaDetailResponse, error)

GetBuildBuildBetaDetail sends GET /v1/builds/{id}/buildBetaDetail (builds_buildBetaDetail_getToOneRelated).

func (*Client) GetBuildBuildBetaDetailRelationship

func (c *Client) GetBuildBuildBetaDetailRelationship(ctx context.Context, buildID string) (*BuildBuildBetaDetailLinkageResponse, error)

GetBuildBuildBetaDetailRelationship sends GET /v1/builds/{id}/relationships/buildBetaDetail (builds_buildBetaDetail_getToOneRelationship).

func (*Client) GetBuildBundleAppClipDomainCacheStatus

func (c *Client) GetBuildBundleAppClipDomainCacheStatus(ctx context.Context, buildBundleID string) (*AppClipDomainStatusResponse, error)

GetBuildBundleAppClipDomainCacheStatus sends GET /v1/buildBundles/{id}/appClipDomainCacheStatus (buildBundles_appClipDomainCacheStatus_getToOneRelated).

func (*Client) GetBuildBundleAppClipDomainDebugStatus

func (c *Client) GetBuildBundleAppClipDomainDebugStatus(ctx context.Context, buildBundleID string) (*AppClipDomainStatusResponse, error)

GetBuildBundleAppClipDomainDebugStatus sends GET /v1/buildBundles/{id}/appClipDomainDebugStatus (buildBundles_appClipDomainDebugStatus_getToOneRelated).

func (*Client) GetBuildBundleBetaAppClipInvocations

func (c *Client) GetBuildBundleBetaAppClipInvocations(ctx context.Context, buildBundleID string, opts ...BetaAppClipInvocationsOption) (*BetaAppClipInvocationsResponse, error)

GetBuildBundleBetaAppClipInvocations sends GET /v1/buildBundles/{id}/betaAppClipInvocations (buildBundles_betaAppClipInvocations_getToManyRelated).

func (*Client) GetBuildBundleFileSizes

func (c *Client) GetBuildBundleFileSizes(ctx context.Context, buildBundleID string, opts ...BuildBundleFileSizesOption) (*BuildBundleFileSizesResponse, error)

GetBuildBundleFileSizes sends GET /v1/buildBundles/{id}/buildBundleFileSizes (buildBundles_buildBundleFileSizes_getToManyRelated).

func (*Client) GetBuildBundlesForBuild

func (c *Client) GetBuildBundlesForBuild(ctx context.Context, buildID string, opts ...BuildBundlesOption) (*BuildBundlesResponse, error)

GetBuildBundlesForBuild retrieves build bundles for a build via include.

func (*Client) GetBuildDiagnosticSignaturesRelationships

func (c *Client) GetBuildDiagnosticSignaturesRelationships(ctx context.Context, buildID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetBuildDiagnosticSignaturesRelationships sends GET /v1/builds/{id}/relationships/diagnosticSignatures (builds_diagnosticSignatures_getToManyRelationship).

func (*Client) GetBuildIcons

func (c *Client) GetBuildIcons(ctx context.Context, buildID string, opts ...BuildIconsOption) (*BuildIconsResponse, error)

GetBuildIcons sends GET /v1/builds/{id}/icons (builds_icons_getToManyRelated).

func (*Client) GetBuildIconsRelationships

func (c *Client) GetBuildIconsRelationships(ctx context.Context, buildID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetBuildIconsRelationships sends GET /v1/builds/{id}/relationships/icons (builds_icons_getToManyRelationship).

func (*Client) GetBuildIndividualTesters

func (c *Client) GetBuildIndividualTesters(ctx context.Context, buildID string, opts ...BuildIndividualTestersOption) (*BetaTestersResponse, error)

GetBuildIndividualTesters sends GET /v1/builds/{id}/individualTesters (builds_individualTesters_getToManyRelated).

func (*Client) GetBuildIndividualTestersRelationships

func (c *Client) GetBuildIndividualTestersRelationships(ctx context.Context, buildID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetBuildIndividualTestersRelationships sends GET /v1/builds/{id}/relationships/individualTesters (builds_individualTesters_getToManyRelationship).

func (*Client) GetBuildPreReleaseVersion

func (c *Client) GetBuildPreReleaseVersion(ctx context.Context, buildID string) (*PreReleaseVersionResponse, error)

GetBuildPreReleaseVersion sends GET /v1/builds/{id}/preReleaseVersion (builds_preReleaseVersion_getToOneRelated).

func (*Client) GetBuildPreReleaseVersionRelationship

func (c *Client) GetBuildPreReleaseVersionRelationship(ctx context.Context, buildID string) (*BuildPreReleaseVersionLinkageResponse, error)

GetBuildPreReleaseVersionRelationship sends GET /v1/builds/{id}/relationships/preReleaseVersion (builds_preReleaseVersion_getToOneRelationship).

func (*Client) GetBuildUpload

func (c *Client) GetBuildUpload(ctx context.Context, id string, opts ...BuildUploadOption) (*BuildUploadResponse, error)

GetBuildUpload sends GET /v1/buildUploads/{id} (buildUploads_getInstance).

func (*Client) GetBuildUploadFile

func (c *Client) GetBuildUploadFile(ctx context.Context, id string) (*BuildUploadFileResponse, error)

GetBuildUploadFile sends GET /v1/buildUploadFiles/{id} (buildUploadFiles_getInstance).

func (*Client) GetBuildUploadFiles

func (c *Client) GetBuildUploadFiles(ctx context.Context, uploadID string, opts ...BuildUploadFilesOption) (*BuildUploadFilesResponse, error)

GetBuildUploadFiles sends GET /v1/buildUploads/{id}/buildUploadFiles (buildUploads_buildUploadFiles_getToManyRelated).

func (*Client) GetBuildUploads

func (c *Client) GetBuildUploads(ctx context.Context, appID string, opts ...BuildUploadsOption) (*BuildUploadsResponse, error)

GetBuildUploads retrieves build uploads for an app.

func (*Client) GetBuilds

func (c *Client) GetBuilds(ctx context.Context, appID string, opts ...BuildsOption) (*BuildsResponse, error)

GetBuilds retrieves the list of builds for an app

func (*Client) GetBundleID

func (c *Client) GetBundleID(ctx context.Context, id string) (*BundleIDResponse, error)

GetBundleID sends GET /v1/bundleIds/{id} (bundleIds_getInstance).

func (*Client) GetBundleIDApp

func (c *Client) GetBundleIDApp(ctx context.Context, bundleID string) (*AppResponse, error)

GetBundleIDApp sends GET /v1/bundleIds/{id}/app (bundleIds_app_getToOneRelated).

func (*Client) GetBundleIDCapabilities

func (c *Client) GetBundleIDCapabilities(ctx context.Context, bundleID string, opts ...BundleIDCapabilitiesOption) (*BundleIDCapabilitiesResponse, error)

GetBundleIDCapabilities sends GET /v1/bundleIds/{id}/bundleIdCapabilities (bundleIds_bundleIdCapabilities_getToManyRelated).

func (*Client) GetBundleIDProfiles

func (c *Client) GetBundleIDProfiles(ctx context.Context, bundleID string, opts ...BundleIDProfilesOption) (*ProfilesResponse, error)

GetBundleIDProfiles sends GET /v1/bundleIds/{id}/profiles (bundleIds_profiles_getToManyRelated).

func (*Client) GetBundleIDs

func (c *Client) GetBundleIDs(ctx context.Context, opts ...BundleIDsOption) (*BundleIDsResponse, error)

GetBundleIDs retrieves the list of bundle IDs.

func (*Client) GetCertificate

func (c *Client) GetCertificate(ctx context.Context, id string, opts ...CertificatesOption) (*CertificateResponse, error)

GetCertificate retrieves a single certificate by ID.

func (*Client) GetCertificatePassTypeID

func (c *Client) GetCertificatePassTypeID(ctx context.Context, certificateID string) (*PassTypeIDResponse, error)

GetCertificatePassTypeID sends GET /v1/certificates/{id}/passTypeId (certificates_passTypeId_getToOneRelated).

func (*Client) GetCertificatePassTypeIDRelationship

func (c *Client) GetCertificatePassTypeIDRelationship(ctx context.Context, certificateID string) (*CertificatePassTypeIDLinkageResponse, error)

GetCertificatePassTypeIDRelationship sends GET /v1/certificates/{id}/relationships/passTypeId (certificates_passTypeId_getToOneRelationship).

func (*Client) GetCertificates

func (c *Client) GetCertificates(ctx context.Context, opts ...CertificatesOption) (*CertificatesResponse, error)

GetCertificates sends GET /v1/certificates (certificates_getCollection).

func (*Client) GetCiArtifact

func (c *Client) GetCiArtifact(ctx context.Context, artifactID string) (*CiArtifactResponse, error)

GetCiArtifact sends GET /v1/ciArtifacts/{id} (ciArtifacts_getInstance).

func (*Client) GetCiBuildAction

func (c *Client) GetCiBuildAction(ctx context.Context, buildActionID string) (*CiBuildActionResponse, error)

GetCiBuildAction sends GET /v1/ciBuildActions/{id} (ciBuildActions_getInstance).

func (*Client) GetCiBuildActionArtifacts

func (c *Client) GetCiBuildActionArtifacts(ctx context.Context, buildActionID string, opts ...CiArtifactsOption) (*CiArtifactsResponse, error)

GetCiBuildActionArtifacts sends GET /v1/ciBuildActions/{id}/artifacts (ciBuildActions_artifacts_getToManyRelated).

func (*Client) GetCiBuildActionBuildRun

func (c *Client) GetCiBuildActionBuildRun(ctx context.Context, buildActionID string) (*CiBuildRunResponse, error)

GetCiBuildActionBuildRun sends GET /v1/ciBuildActions/{id}/buildRun (ciBuildActions_buildRun_getToOneRelated).

func (*Client) GetCiBuildActionIssues

func (c *Client) GetCiBuildActionIssues(ctx context.Context, buildActionID string, opts ...CiIssuesOption) (*CiIssuesResponse, error)

GetCiBuildActionIssues sends GET /v1/ciBuildActions/{id}/issues (ciBuildActions_issues_getToManyRelated).

func (*Client) GetCiBuildActionTestResults

func (c *Client) GetCiBuildActionTestResults(ctx context.Context, buildActionID string, opts ...CiTestResultsOption) (*CiTestResultsResponse, error)

GetCiBuildActionTestResults sends GET /v1/ciBuildActions/{id}/testResults (ciBuildActions_testResults_getToManyRelated).

func (*Client) GetCiBuildActions

func (c *Client) GetCiBuildActions(ctx context.Context, buildRunID string, opts ...CiBuildActionsOption) (*CiBuildActionsResponse, error)

GetCiBuildActions sends GET /v1/ciBuildRuns/{id}/actions (ciBuildRuns_actions_getToManyRelated).

func (*Client) GetCiBuildRun

func (c *Client) GetCiBuildRun(ctx context.Context, buildRunID string, opts ...CiBuildRunGetOption) (*CiBuildRunResponse, error)

GetCiBuildRun sends GET /v1/ciBuildRuns/{id} (ciBuildRuns_getInstance).

func (*Client) GetCiBuildRunBuilds

func (c *Client) GetCiBuildRunBuilds(ctx context.Context, buildRunID string, opts ...CiBuildRunBuildsOption) (*BuildsResponse, error)

GetCiBuildRunBuilds sends GET /v1/ciBuildRuns/{id}/builds (ciBuildRuns_builds_getToManyRelated).

func (*Client) GetCiBuildRuns

func (c *Client) GetCiBuildRuns(ctx context.Context, workflowID string, opts ...CiBuildRunsOption) (*CiBuildRunsResponse, error)

GetCiBuildRuns sends GET /v1/ciWorkflows/{id}/buildRuns (ciWorkflows_buildRuns_getToManyRelated).

func (*Client) GetCiIssue

func (c *Client) GetCiIssue(ctx context.Context, issueID string) (*CiIssueResponse, error)

GetCiIssue sends GET /v1/ciIssues/{id} (ciIssues_getInstance).

func (*Client) GetCiMacOsVersion

func (c *Client) GetCiMacOsVersion(ctx context.Context, macOsVersionID string) (*CiMacOsVersionResponse, error)

GetCiMacOsVersion sends GET /v1/ciMacOsVersions/{id} (ciMacOsVersions_getInstance).

func (*Client) GetCiMacOsVersionXcodeVersions

func (c *Client) GetCiMacOsVersionXcodeVersions(ctx context.Context, macOsVersionID string, opts ...CiXcodeVersionsOption) (*CiXcodeVersionsResponse, error)

GetCiMacOsVersionXcodeVersions sends GET /v1/ciMacOsVersions/{id}/xcodeVersions (ciMacOsVersions_xcodeVersions_getToManyRelated).

func (*Client) GetCiMacOsVersions

func (c *Client) GetCiMacOsVersions(ctx context.Context, opts ...CiMacOsVersionsOption) (*CiMacOsVersionsResponse, error)

GetCiMacOsVersions sends GET /v1/ciMacOsVersions (ciMacOsVersions_getCollection).

func (*Client) GetCiProduct

func (c *Client) GetCiProduct(ctx context.Context, productID string) (*CiProductResponse, error)

GetCiProduct sends GET /v1/ciProducts/{id} (ciProducts_getInstance).

func (*Client) GetCiProductAdditionalRepositories

func (c *Client) GetCiProductAdditionalRepositories(ctx context.Context, productID string, opts ...CiProductRepositoriesOption) (*ScmRepositoriesResponse, error)

GetCiProductAdditionalRepositories sends GET /v1/ciProducts/{id}/additionalRepositories (ciProducts_additionalRepositories_getToManyRelated).

func (*Client) GetCiProductApp

func (c *Client) GetCiProductApp(ctx context.Context, productID string, opts ...CiProductAppOption) (*AppResponse, error)

GetCiProductApp sends GET /v1/ciProducts/{id}/app (ciProducts_app_getToOneRelated).

func (*Client) GetCiProductBuildRuns

func (c *Client) GetCiProductBuildRuns(ctx context.Context, productID string, opts ...CiBuildRunsOption) (*CiBuildRunsResponse, error)

GetCiProductBuildRuns sends GET /v1/ciProducts/{id}/buildRuns (ciProducts_buildRuns_getToManyRelated).

func (*Client) GetCiProductPrimaryRepositories

func (c *Client) GetCiProductPrimaryRepositories(ctx context.Context, productID string, opts ...CiProductRepositoriesOption) (*ScmRepositoriesResponse, error)

GetCiProductPrimaryRepositories sends GET /v1/ciProducts/{id}/primaryRepositories (ciProducts_primaryRepositories_getToManyRelated).

func (*Client) GetCiProducts

func (c *Client) GetCiProducts(ctx context.Context, opts ...CiProductsOption) (*CiProductsResponse, error)

GetCiProducts sends GET /v1/ciProducts (ciProducts_getCollection).

func (*Client) GetCiTestResult

func (c *Client) GetCiTestResult(ctx context.Context, testResultID string) (*CiTestResultResponse, error)

GetCiTestResult sends GET /v1/ciTestResults/{id} (ciTestResults_getInstance).

func (*Client) GetCiWorkflow

func (c *Client) GetCiWorkflow(ctx context.Context, workflowID string) (*CiWorkflowResponse, error)

GetCiWorkflow sends GET /v1/ciWorkflows/{id} (ciWorkflows_getInstance).

func (*Client) GetCiWorkflowRaw added in v1.260904.0

func (c *Client) GetCiWorkflowRaw(ctx context.Context, workflowID string, include ...string) (json.RawMessage, error)

GetCiWorkflowRaw retrieves a CI workflow by ID as the unmodified Apple response body. Duplicating a workflow needs fields that the typed CiWorkflowResource omits or drops through omitempty, so the raw envelope is the only lossless source.

func (*Client) GetCiWorkflowRepository

func (c *Client) GetCiWorkflowRepository(ctx context.Context, workflowID string) (*ScmRepositoryResource, error)

GetCiWorkflowRepository retrieves the repository for a CI workflow.

func (*Client) GetCiWorkflows

func (c *Client) GetCiWorkflows(ctx context.Context, productID string, opts ...CiWorkflowsOption) (*CiWorkflowsResponse, error)

GetCiWorkflows sends GET /v1/ciProducts/{id}/workflows (ciProducts_workflows_getToManyRelated).

func (*Client) GetCiXcodeVersion

func (c *Client) GetCiXcodeVersion(ctx context.Context, xcodeVersionID string) (*CiXcodeVersionResponse, error)

GetCiXcodeVersion sends GET /v1/ciXcodeVersions/{id} (ciXcodeVersions_getInstance).

func (*Client) GetCiXcodeVersionMacOsVersions

func (c *Client) GetCiXcodeVersionMacOsVersions(ctx context.Context, xcodeVersionID string, opts ...CiMacOsVersionsOption) (*CiMacOsVersionsResponse, error)

GetCiXcodeVersionMacOsVersions sends GET /v1/ciXcodeVersions/{id}/macOsVersions (ciXcodeVersions_macOsVersions_getToManyRelated).

func (*Client) GetCiXcodeVersions

func (c *Client) GetCiXcodeVersions(ctx context.Context, opts ...CiXcodeVersionsOption) (*CiXcodeVersionsResponse, error)

GetCiXcodeVersions sends GET /v1/ciXcodeVersions (ciXcodeVersions_getCollection).

func (*Client) GetCrashes

func (c *Client) GetCrashes(ctx context.Context, appID string, opts ...CrashOption) (*CrashesResponse, error)

GetCrashes sends GET /v1/apps/{id}/betaFeedbackCrashSubmissions (apps_betaFeedbackCrashSubmissions_getToManyRelated).

func (*Client) GetCustomerReview

func (c *Client) GetCustomerReview(ctx context.Context, reviewID string, opts ...ReviewOption) (*CustomerReviewResponse, error)

GetCustomerReview sends GET /v1/customerReviews/{id} (customerReviews_getInstance).

func (*Client) GetCustomerReviewResponse

func (c *Client) GetCustomerReviewResponse(ctx context.Context, responseID string) (*CustomerReviewResponseResponse, error)

GetCustomerReviewResponse sends GET /v1/customerReviewResponses/{id} (customerReviewResponses_getInstance).

func (*Client) GetCustomerReviewResponseForReview

func (c *Client) GetCustomerReviewResponseForReview(ctx context.Context, reviewID string) (*CustomerReviewResponseResponse, error)

GetCustomerReviewResponseForReview sends GET /v1/customerReviews/{id}/response (customerReviews_response_getToOneRelated).

func (*Client) GetCustomerReviewSummarizations

func (c *Client) GetCustomerReviewSummarizations(ctx context.Context, appID string, opts ...CustomerReviewSummarizationsOption) (*CustomerReviewSummarizationsResponse, error)

GetCustomerReviewSummarizations retrieves review summarizations for an app.

func (*Client) GetDevice

func (c *Client) GetDevice(ctx context.Context, deviceID string, fields []string) (*DeviceResponse, error)

GetDevice sends GET /v1/devices/{id} (devices_getInstance).

func (*Client) GetDevices

func (c *Client) GetDevices(ctx context.Context, opts ...DevicesOption) (*DevicesResponse, error)

GetDevices sends GET /v1/devices (devices_getCollection).

func (*Client) GetDiagnosticSignatureLogs

func (c *Client) GetDiagnosticSignatureLogs(ctx context.Context, signatureID string, opts ...DiagnosticLogsOption) (*DiagnosticLogsResponse, error)

GetDiagnosticSignatureLogs retrieves diagnostic logs for a signature.

func (*Client) GetDiagnosticSignaturesForBuild

func (c *Client) GetDiagnosticSignaturesForBuild(ctx context.Context, buildID string, opts ...DiagnosticSignaturesOption) (*DiagnosticSignaturesResponse, error)

GetDiagnosticSignaturesForBuild sends GET /v1/builds/{id}/diagnosticSignatures (builds_diagnosticSignatures_getToManyRelated).

func (*Client) GetEndUserLicenseAgreement

func (c *Client) GetEndUserLicenseAgreement(ctx context.Context, id string) (*EndUserLicenseAgreementResponse, error)

GetEndUserLicenseAgreement sends GET /v1/endUserLicenseAgreements/{id} (endUserLicenseAgreements_getInstance).

func (*Client) GetEndUserLicenseAgreementForApp

func (c *Client) GetEndUserLicenseAgreementForApp(ctx context.Context, appID string) (*EndUserLicenseAgreementResponse, error)

GetEndUserLicenseAgreementForApp sends GET /v1/apps/{id}/endUserLicenseAgreement (apps_endUserLicenseAgreement_getToOneRelated).

func (*Client) GetEndUserLicenseAgreementTerritories

func (c *Client) GetEndUserLicenseAgreementTerritories(ctx context.Context, id string, opts ...EndUserLicenseAgreementTerritoriesOption) (*TerritoriesResponse, error)

GetEndUserLicenseAgreementTerritories sends GET /v1/endUserLicenseAgreements/{id}/territories (endUserLicenseAgreements_territories_getToManyRelated).

func (*Client) GetFeedback

func (c *Client) GetFeedback(ctx context.Context, appID string, opts ...FeedbackOption) (*FeedbackResponse, error)

GetFeedback sends GET /v1/apps/{id}/betaFeedbackScreenshotSubmissions (apps_betaFeedbackScreenshotSubmissions_getToManyRelated).

func (*Client) GetGameCenterAchievement

func (c *Client) GetGameCenterAchievement(ctx context.Context, achievementID string) (*GameCenterAchievementResponse, error)

GetGameCenterAchievement sends GET /v1/gameCenterAchievements/{id} (gameCenterAchievements_getInstance).

func (*Client) GetGameCenterAchievementGroupAchievement

func (c *Client) GetGameCenterAchievementGroupAchievement(ctx context.Context, achievementID string) (*GameCenterAchievementResponse, error)

GetGameCenterAchievementGroupAchievement sends GET /v1/gameCenterAchievements/{id}/groupAchievement (gameCenterAchievements_groupAchievement_getToOneRelated).

func (*Client) GetGameCenterAchievementImage

func (c *Client) GetGameCenterAchievementImage(ctx context.Context, imageID string) (*GameCenterAchievementImageResponse, error)

GetGameCenterAchievementImage sends GET /v1/gameCenterAchievementImages/{id} (gameCenterAchievementImages_getInstance).

func (*Client) GetGameCenterAchievementImageV2

func (c *Client) GetGameCenterAchievementImageV2(ctx context.Context, imageID string) (*GameCenterAchievementImageResponse, error)

GetGameCenterAchievementImageV2 sends GET /v2/gameCenterAchievementImages/{id} (gameCenterAchievementImagesV2_getInstance).

func (*Client) GetGameCenterAchievementLocalization

func (c *Client) GetGameCenterAchievementLocalization(ctx context.Context, localizationID string) (*GameCenterAchievementLocalizationResponse, error)

GetGameCenterAchievementLocalization sends GET /v1/gameCenterAchievementLocalizations/{id} (gameCenterAchievementLocalizations_getInstance).

func (*Client) GetGameCenterAchievementLocalizationAchievement

func (c *Client) GetGameCenterAchievementLocalizationAchievement(ctx context.Context, localizationID string) (*GameCenterAchievementResponse, error)

GetGameCenterAchievementLocalizationAchievement sends GET /v1/gameCenterAchievementLocalizations/{id}/gameCenterAchievement (gameCenterAchievementLocalizations_gameCenterAchievement_getToOneRelated).

func (*Client) GetGameCenterAchievementLocalizationImage

func (c *Client) GetGameCenterAchievementLocalizationImage(ctx context.Context, localizationID string) (*GameCenterAchievementImageResponse, error)

GetGameCenterAchievementLocalizationImage sends GET /v1/gameCenterAchievementLocalizations/{id}/gameCenterAchievementImage (gameCenterAchievementLocalizations_gameCenterAchievementImage_getToOneRelated).

func (*Client) GetGameCenterAchievementLocalizationImageV2

func (c *Client) GetGameCenterAchievementLocalizationImageV2(ctx context.Context, localizationID string) (*GameCenterAchievementImageResponse, error)

GetGameCenterAchievementLocalizationImageV2 sends GET /v2/gameCenterAchievementLocalizations/{id}/image (gameCenterAchievementLocalizationsV2_image_getToOneRelated).

func (*Client) GetGameCenterAchievementLocalizationV2

func (c *Client) GetGameCenterAchievementLocalizationV2(ctx context.Context, localizationID string) (*GameCenterAchievementLocalizationResponse, error)

GetGameCenterAchievementLocalizationV2 sends GET /v2/gameCenterAchievementLocalizations/{id} (gameCenterAchievementLocalizationsV2_getInstance).

func (*Client) GetGameCenterAchievementLocalizations

func (c *Client) GetGameCenterAchievementLocalizations(ctx context.Context, achievementID string, opts ...GCAchievementLocalizationsOption) (*GameCenterAchievementLocalizationsResponse, error)

GetGameCenterAchievementLocalizations sends GET /v1/gameCenterAchievements/{id}/localizations (gameCenterAchievements_localizations_getToManyRelated).

func (*Client) GetGameCenterAchievementRelease

func (c *Client) GetGameCenterAchievementRelease(ctx context.Context, releaseID string) (*GameCenterAchievementReleaseResponse, error)

GetGameCenterAchievementRelease sends GET /v1/gameCenterAchievementReleases/{id} (gameCenterAchievementReleases_getInstance).

func (*Client) GetGameCenterAchievementReleases

func (c *Client) GetGameCenterAchievementReleases(ctx context.Context, achievementID string, opts ...GCAchievementReleasesOption) (*GameCenterAchievementReleasesResponse, error)

GetGameCenterAchievementReleases sends GET /v1/gameCenterAchievements/{id}/releases (gameCenterAchievements_releases_getToManyRelated).

func (*Client) GetGameCenterAchievementV2

func (c *Client) GetGameCenterAchievementV2(ctx context.Context, achievementID string) (*GameCenterAchievementResponse, error)

GetGameCenterAchievementV2 sends GET /v2/gameCenterAchievements/{id} (gameCenterAchievementsV2_getInstance).

func (*Client) GetGameCenterAchievementVersion

func (c *Client) GetGameCenterAchievementVersion(ctx context.Context, versionID string) (*GameCenterAchievementVersionResponse, error)

GetGameCenterAchievementVersion sends GET /v2/gameCenterAchievementVersions/{id} (gameCenterAchievementVersionsV2_getInstance).

func (*Client) GetGameCenterAchievementVersionLocalizations

func (c *Client) GetGameCenterAchievementVersionLocalizations(ctx context.Context, versionID string, opts ...GCAchievementLocalizationsOption) (*GameCenterAchievementLocalizationsResponse, error)

GetGameCenterAchievementVersionLocalizations sends GET /v2/gameCenterAchievementVersions/{id}/localizations (gameCenterAchievementVersionsV2_localizations_getToManyRelated).

func (*Client) GetGameCenterAchievementVersions

func (c *Client) GetGameCenterAchievementVersions(ctx context.Context, achievementID string, opts ...GCAchievementVersionsOption) (*GameCenterAchievementVersionsResponse, error)

GetGameCenterAchievementVersions sends GET /v2/gameCenterAchievements/{id}/versions (gameCenterAchievementsV2_versions_getToManyRelated).

func (*Client) GetGameCenterAchievements

func (c *Client) GetGameCenterAchievements(ctx context.Context, gcDetailID string, opts ...GCAchievementsOption) (*GameCenterAchievementsResponse, error)

GetGameCenterAchievements sends GET /v1/gameCenterDetails/{id}/gameCenterAchievements (gameCenterDetails_gameCenterAchievements_getToManyRelated).

func (*Client) GetGameCenterAchievementsV2

func (c *Client) GetGameCenterAchievementsV2(ctx context.Context, gcDetailID, groupID string, opts ...GCAchievementsOption) (*GameCenterAchievementsResponse, error)

GetGameCenterAchievementsV2 retrieves v2 achievements for a Game Center detail or group.

func (*Client) GetGameCenterActivities

func (c *Client) GetGameCenterActivities(ctx context.Context, gcDetailID string, opts ...GCActivitiesOption) (*GameCenterActivitiesResponse, error)

GetGameCenterActivities sends GET /v1/gameCenterDetails/{id}/gameCenterActivities (gameCenterDetails_gameCenterActivities_getToManyRelated).

func (*Client) GetGameCenterActivity

func (c *Client) GetGameCenterActivity(ctx context.Context, activityID string) (*GameCenterActivityResponse, error)

GetGameCenterActivity sends GET /v1/gameCenterActivities/{id} (gameCenterActivities_getInstance).

func (*Client) GetGameCenterActivityImage

func (c *Client) GetGameCenterActivityImage(ctx context.Context, imageID string) (*GameCenterActivityImageResponse, error)

GetGameCenterActivityImage sends GET /v1/gameCenterActivityImages/{id} (gameCenterActivityImages_getInstance).

func (*Client) GetGameCenterActivityLocalization

func (c *Client) GetGameCenterActivityLocalization(ctx context.Context, localizationID string) (*GameCenterActivityLocalizationResponse, error)

GetGameCenterActivityLocalization sends GET /v1/gameCenterActivityLocalizations/{id} (gameCenterActivityLocalizations_getInstance).

func (*Client) GetGameCenterActivityLocalizationImage

func (c *Client) GetGameCenterActivityLocalizationImage(ctx context.Context, localizationID string) (*GameCenterActivityImageResponse, error)

GetGameCenterActivityLocalizationImage sends GET /v1/gameCenterActivityLocalizations/{id}/image (gameCenterActivityLocalizations_image_getToOneRelated).

func (*Client) GetGameCenterActivityLocalizations

func (c *Client) GetGameCenterActivityLocalizations(ctx context.Context, versionID string, opts ...GCActivityLocalizationsOption) (*GameCenterActivityLocalizationsResponse, error)

GetGameCenterActivityLocalizations sends GET /v1/gameCenterActivityVersions/{id}/localizations (gameCenterActivityVersions_localizations_getToManyRelated).

func (*Client) GetGameCenterActivityVersion

func (c *Client) GetGameCenterActivityVersion(ctx context.Context, versionID string) (*GameCenterActivityVersionResponse, error)

GetGameCenterActivityVersion sends GET /v1/gameCenterActivityVersions/{id} (gameCenterActivityVersions_getInstance).

func (*Client) GetGameCenterActivityVersionDefaultImage

func (c *Client) GetGameCenterActivityVersionDefaultImage(ctx context.Context, versionID string) (*GameCenterActivityVersionDefaultImageResponse, error)

GetGameCenterActivityVersionDefaultImage sends GET /v1/gameCenterActivityVersions/{id}/defaultImage (gameCenterActivityVersions_defaultImage_getToOneRelated).

func (*Client) GetGameCenterActivityVersionRelease

func (c *Client) GetGameCenterActivityVersionRelease(ctx context.Context, releaseID string) (*GameCenterActivityVersionReleaseResponse, error)

GetGameCenterActivityVersionRelease sends GET /v1/gameCenterActivityVersionReleases/{id} (gameCenterActivityVersionReleases_getInstance).

func (*Client) GetGameCenterActivityVersionReleases

func (c *Client) GetGameCenterActivityVersionReleases(ctx context.Context, gcDetailID string, opts ...GCActivityVersionReleasesOption) (*GameCenterActivityVersionReleasesResponse, error)

GetGameCenterActivityVersionReleases sends GET /v1/gameCenterDetails/{id}/activityReleases (gameCenterDetails_activityReleases_getToManyRelated).

func (*Client) GetGameCenterActivityVersions

func (c *Client) GetGameCenterActivityVersions(ctx context.Context, activityID string, opts ...GCActivityVersionsOption) (*GameCenterActivityVersionsResponse, error)

GetGameCenterActivityVersions sends GET /v1/gameCenterActivities/{id}/versions (gameCenterActivities_versions_getToManyRelated).

func (*Client) GetGameCenterAppVersion

func (c *Client) GetGameCenterAppVersion(ctx context.Context, appVersionID string) (*GameCenterAppVersionResponse, error)

GetGameCenterAppVersion sends GET /v1/gameCenterAppVersions/{id} (gameCenterAppVersions_getInstance).

func (*Client) GetGameCenterAppVersionAppStoreVersion

func (c *Client) GetGameCenterAppVersionAppStoreVersion(ctx context.Context, appVersionID string) (*AppStoreVersionResponse, error)

GetGameCenterAppVersionAppStoreVersion sends GET /v1/gameCenterAppVersions/{id}/appStoreVersion (gameCenterAppVersions_appStoreVersion_getToOneRelated).

func (*Client) GetGameCenterAppVersionCompatibilityVersions

func (c *Client) GetGameCenterAppVersionCompatibilityVersions(ctx context.Context, appVersionID string, opts ...GCAppVersionsOption) (*GameCenterAppVersionsResponse, error)

GetGameCenterAppVersionCompatibilityVersions sends GET /v1/gameCenterAppVersions/{id}/compatibilityVersions (gameCenterAppVersions_compatibilityVersions_getToManyRelated).

func (*Client) GetGameCenterBlockedPlayers

func (c *Client) GetGameCenterBlockedPlayers(ctx context.Context, detailID string, query GCBlockedPlayersQuery) (*GameCenterDetailPlayersResponse, error)

GetGameCenterBlockedPlayers lists only blocked players for a Game Center detail.

func (*Client) GetGameCenterChallenge

func (c *Client) GetGameCenterChallenge(ctx context.Context, challengeID string) (*GameCenterChallengeResponse, error)

GetGameCenterChallenge sends GET /v1/gameCenterChallenges/{id} (gameCenterChallenges_getInstance).

func (*Client) GetGameCenterChallengeImage

func (c *Client) GetGameCenterChallengeImage(ctx context.Context, imageID string) (*GameCenterChallengeImageResponse, error)

GetGameCenterChallengeImage sends GET /v1/gameCenterChallengeImages/{id} (gameCenterChallengeImages_getInstance).

func (*Client) GetGameCenterChallengeLocalization

func (c *Client) GetGameCenterChallengeLocalization(ctx context.Context, localizationID string) (*GameCenterChallengeLocalizationResponse, error)

GetGameCenterChallengeLocalization sends GET /v1/gameCenterChallengeLocalizations/{id} (gameCenterChallengeLocalizations_getInstance).

func (*Client) GetGameCenterChallengeLocalizationImage

func (c *Client) GetGameCenterChallengeLocalizationImage(ctx context.Context, localizationID string) (*GameCenterChallengeImageResponse, error)

GetGameCenterChallengeLocalizationImage sends GET /v1/gameCenterChallengeLocalizations/{id}/image (gameCenterChallengeLocalizations_image_getToOneRelated).

func (*Client) GetGameCenterChallengeLocalizations

func (c *Client) GetGameCenterChallengeLocalizations(ctx context.Context, versionID string, opts ...GCChallengeLocalizationsOption) (*GameCenterChallengeLocalizationsResponse, error)

GetGameCenterChallengeLocalizations sends GET /v1/gameCenterChallengeVersions/{id}/localizations (gameCenterChallengeVersions_localizations_getToManyRelated).

func (*Client) GetGameCenterChallengeVersion

func (c *Client) GetGameCenterChallengeVersion(ctx context.Context, versionID string) (*GameCenterChallengeVersionResponse, error)

GetGameCenterChallengeVersion sends GET /v1/gameCenterChallengeVersions/{id} (gameCenterChallengeVersions_getInstance).

func (*Client) GetGameCenterChallengeVersionDefaultImage

func (c *Client) GetGameCenterChallengeVersionDefaultImage(ctx context.Context, versionID string) (*GameCenterChallengeVersionDefaultImageResponse, error)

GetGameCenterChallengeVersionDefaultImage sends GET /v1/gameCenterChallengeVersions/{id}/defaultImage (gameCenterChallengeVersions_defaultImage_getToOneRelated).

func (*Client) GetGameCenterChallengeVersionRelease

func (c *Client) GetGameCenterChallengeVersionRelease(ctx context.Context, releaseID string) (*GameCenterChallengeVersionReleaseResponse, error)

GetGameCenterChallengeVersionRelease sends GET /v1/gameCenterChallengeVersionReleases/{id} (gameCenterChallengeVersionReleases_getInstance).

func (*Client) GetGameCenterChallengeVersionReleases

func (c *Client) GetGameCenterChallengeVersionReleases(ctx context.Context, gcDetailID string, opts ...GCChallengeVersionReleasesOption) (*GameCenterChallengeVersionReleasesResponse, error)

GetGameCenterChallengeVersionReleases sends GET /v1/gameCenterDetails/{id}/challengeReleases (gameCenterDetails_challengeReleases_getToManyRelated).

func (*Client) GetGameCenterChallengeVersions

func (c *Client) GetGameCenterChallengeVersions(ctx context.Context, challengeID string, opts ...GCChallengeVersionsOption) (*GameCenterChallengeVersionsResponse, error)

GetGameCenterChallengeVersions sends GET /v1/gameCenterChallenges/{id}/versions (gameCenterChallenges_versions_getToManyRelated).

func (*Client) GetGameCenterChallenges

func (c *Client) GetGameCenterChallenges(ctx context.Context, gcDetailID string, opts ...GCChallengesOption) (*GameCenterChallengesResponse, error)

GetGameCenterChallenges sends GET /v1/gameCenterDetails/{id}/gameCenterChallenges (gameCenterDetails_gameCenterChallenges_getToManyRelated).

func (*Client) GetGameCenterDetail

func (c *Client) GetGameCenterDetail(ctx context.Context, detailID string) (*GameCenterDetailResponse, error)

GetGameCenterDetail sends GET /v1/gameCenterDetails/{id} (gameCenterDetails_getInstance).

func (*Client) GetGameCenterDetailGameCenterAppVersions

func (c *Client) GetGameCenterDetailGameCenterAppVersions(ctx context.Context, detailID string, opts ...GCAppVersionsOption) (*GameCenterAppVersionsResponse, error)

GetGameCenterDetailGameCenterAppVersions sends GET /v1/gameCenterDetails/{id}/gameCenterAppVersions (gameCenterDetails_gameCenterAppVersions_getToManyRelated).

func (*Client) GetGameCenterDetailGameCenterGroup

func (c *Client) GetGameCenterDetailGameCenterGroup(ctx context.Context, detailID string) (*GameCenterGroupResponse, error)

GetGameCenterDetailGameCenterGroup sends GET /v1/gameCenterDetails/{id}/gameCenterGroup (gameCenterDetails_gameCenterGroup_getToOneRelated).

func (*Client) GetGameCenterDetailID

func (c *Client) GetGameCenterDetailID(ctx context.Context, appID string) (string, error)

GetGameCenterDetailID retrieves the Game Center detail ID for an app.

func (*Client) GetGameCenterDetailsAchievementReleases

func (c *Client) GetGameCenterDetailsAchievementReleases(ctx context.Context, gcDetailID string, opts ...GCAchievementReleasesOption) (*GameCenterAchievementReleasesResponse, error)

GetGameCenterDetailsAchievementReleases sends GET /v1/gameCenterDetails/{id}/achievementReleases (gameCenterDetails_achievementReleases_getToManyRelated).

func (*Client) GetGameCenterDetailsAchievementsV2

func (c *Client) GetGameCenterDetailsAchievementsV2(ctx context.Context, gcDetailID string, opts ...GCAchievementsOption) (*GameCenterAchievementsResponse, error)

GetGameCenterDetailsAchievementsV2 sends GET /v1/gameCenterDetails/{id}/gameCenterAchievementsV2 (gameCenterDetails_gameCenterAchievementsV2_getToManyRelated).

func (*Client) GetGameCenterDetailsClassicMatchmakingRequests

func (c *Client) GetGameCenterDetailsClassicMatchmakingRequests(ctx context.Context, gcDetailID string, opts ...GCMatchmakingMetricsOption) (*GameCenterMetricsResponse, error)

GetGameCenterDetailsClassicMatchmakingRequests sends GET /v1/gameCenterDetails/{id}/metrics/classicMatchmakingRequests (gameCenterDetails_classicMatchmakingRequests_getMetrics).

func (*Client) GetGameCenterDetailsLeaderboardReleases

func (c *Client) GetGameCenterDetailsLeaderboardReleases(ctx context.Context, gcDetailID string, opts ...GCLeaderboardReleasesOption) (*GameCenterLeaderboardReleasesResponse, error)

GetGameCenterDetailsLeaderboardReleases sends GET /v1/gameCenterDetails/{id}/leaderboardReleases (gameCenterDetails_leaderboardReleases_getToManyRelated).

func (*Client) GetGameCenterDetailsLeaderboardSetReleases

func (c *Client) GetGameCenterDetailsLeaderboardSetReleases(ctx context.Context, gcDetailID string, opts ...GCLeaderboardSetReleasesOption) (*GameCenterLeaderboardSetReleasesResponse, error)

GetGameCenterDetailsLeaderboardSetReleases sends GET /v1/gameCenterDetails/{id}/leaderboardSetReleases (gameCenterDetails_leaderboardSetReleases_getToManyRelated).

func (*Client) GetGameCenterDetailsLeaderboardSetsV2

func (c *Client) GetGameCenterDetailsLeaderboardSetsV2(ctx context.Context, gcDetailID string, opts ...GCLeaderboardSetsOption) (*GameCenterLeaderboardSetsResponse, error)

GetGameCenterDetailsLeaderboardSetsV2 sends GET /v1/gameCenterDetails/{id}/gameCenterLeaderboardSetsV2 (gameCenterDetails_gameCenterLeaderboardSetsV2_getToManyRelated).

func (*Client) GetGameCenterDetailsLeaderboardsV2

func (c *Client) GetGameCenterDetailsLeaderboardsV2(ctx context.Context, gcDetailID string, opts ...GCLeaderboardsOption) (*GameCenterLeaderboardsResponse, error)

GetGameCenterDetailsLeaderboardsV2 sends GET /v1/gameCenterDetails/{id}/gameCenterLeaderboardsV2 (gameCenterDetails_gameCenterLeaderboardsV2_getToManyRelated).

func (*Client) GetGameCenterDetailsRuleBasedMatchmakingRequests

func (c *Client) GetGameCenterDetailsRuleBasedMatchmakingRequests(ctx context.Context, gcDetailID string, opts ...GCMatchmakingMetricsOption) (*GameCenterMetricsResponse, error)

GetGameCenterDetailsRuleBasedMatchmakingRequests sends GET /v1/gameCenterDetails/{id}/metrics/ruleBasedMatchmakingRequests (gameCenterDetails_ruleBasedMatchmakingRequests_getMetrics).

func (*Client) GetGameCenterEnabledVersionCompatibleVersions

func (c *Client) GetGameCenterEnabledVersionCompatibleVersions(ctx context.Context, enabledVersionID string, opts ...GCEnabledVersionsOption) (*GameCenterEnabledVersionsResponse, error)

GetGameCenterEnabledVersionCompatibleVersions sends GET /v1/gameCenterEnabledVersions/{id}/compatibleVersions (gameCenterEnabledVersions_compatibleVersions_getToManyRelated).

func (*Client) GetGameCenterGroup

func (c *Client) GetGameCenterGroup(ctx context.Context, groupID string) (*GameCenterGroupResponse, error)

GetGameCenterGroup sends GET /v1/gameCenterGroups/{id} (gameCenterGroups_getInstance).

func (*Client) GetGameCenterGroupAchievements

func (c *Client) GetGameCenterGroupAchievements(ctx context.Context, groupID string, opts ...GCAchievementsOption) (*GameCenterAchievementsResponse, error)

GetGameCenterGroupAchievements sends GET /v1/gameCenterGroups/{id}/gameCenterAchievements (gameCenterGroups_gameCenterAchievements_getToManyRelated).

func (*Client) GetGameCenterGroupAchievementsV2

func (c *Client) GetGameCenterGroupAchievementsV2(ctx context.Context, groupID string, opts ...GCAchievementsOption) (*GameCenterAchievementsResponse, error)

GetGameCenterGroupAchievementsV2 sends GET /v1/gameCenterGroups/{id}/gameCenterAchievementsV2 (gameCenterGroups_gameCenterAchievementsV2_getToManyRelated).

func (*Client) GetGameCenterGroupActivities

func (c *Client) GetGameCenterGroupActivities(ctx context.Context, groupID string, opts ...GCActivitiesOption) (*GameCenterActivitiesResponse, error)

GetGameCenterGroupActivities sends GET /v1/gameCenterGroups/{id}/gameCenterActivities (gameCenterGroups_gameCenterActivities_getToManyRelated).

func (*Client) GetGameCenterGroupChallenges

func (c *Client) GetGameCenterGroupChallenges(ctx context.Context, groupID string, opts ...GCChallengesOption) (*GameCenterChallengesResponse, error)

GetGameCenterGroupChallenges sends GET /v1/gameCenterGroups/{id}/gameCenterChallenges (gameCenterGroups_gameCenterChallenges_getToManyRelated).

func (*Client) GetGameCenterGroupGameCenterDetails

func (c *Client) GetGameCenterGroupGameCenterDetails(ctx context.Context, groupID string, opts ...GCDetailsOption) (*GameCenterDetailsResponse, error)

GetGameCenterGroupGameCenterDetails sends GET /v1/gameCenterGroups/{id}/gameCenterDetails (gameCenterGroups_gameCenterDetails_getToManyRelated).

func (*Client) GetGameCenterGroupLeaderboardSets

func (c *Client) GetGameCenterGroupLeaderboardSets(ctx context.Context, groupID string, opts ...GCLeaderboardSetsOption) (*GameCenterLeaderboardSetsResponse, error)

GetGameCenterGroupLeaderboardSets sends GET /v1/gameCenterGroups/{id}/gameCenterLeaderboardSets (gameCenterGroups_gameCenterLeaderboardSets_getToManyRelated).

func (*Client) GetGameCenterGroupLeaderboardSetsV2

func (c *Client) GetGameCenterGroupLeaderboardSetsV2(ctx context.Context, groupID string, opts ...GCLeaderboardSetsOption) (*GameCenterLeaderboardSetsResponse, error)

GetGameCenterGroupLeaderboardSetsV2 sends GET /v1/gameCenterGroups/{id}/gameCenterLeaderboardSetsV2 (gameCenterGroups_gameCenterLeaderboardSetsV2_getToManyRelated).

func (*Client) GetGameCenterGroupLeaderboards

func (c *Client) GetGameCenterGroupLeaderboards(ctx context.Context, groupID string, opts ...GCLeaderboardsOption) (*GameCenterLeaderboardsResponse, error)

GetGameCenterGroupLeaderboards sends GET /v1/gameCenterGroups/{id}/gameCenterLeaderboards (gameCenterGroups_gameCenterLeaderboards_getToManyRelated).

func (*Client) GetGameCenterGroupLeaderboardsV2

func (c *Client) GetGameCenterGroupLeaderboardsV2(ctx context.Context, groupID string, opts ...GCLeaderboardsOption) (*GameCenterLeaderboardsResponse, error)

GetGameCenterGroupLeaderboardsV2 sends GET /v1/gameCenterGroups/{id}/gameCenterLeaderboardsV2 (gameCenterGroups_gameCenterLeaderboardsV2_getToManyRelated).

func (*Client) GetGameCenterGroups

func (c *Client) GetGameCenterGroups(ctx context.Context, opts ...GCGroupsOption) (*GameCenterGroupsResponse, error)

GetGameCenterGroups sends GET /v1/gameCenterGroups (gameCenterGroups_getCollection).

func (*Client) GetGameCenterLeaderboard

func (c *Client) GetGameCenterLeaderboard(ctx context.Context, leaderboardID string) (*GameCenterLeaderboardResponse, error)

GetGameCenterLeaderboard sends GET /v1/gameCenterLeaderboards/{id} (gameCenterLeaderboards_getInstance).

func (*Client) GetGameCenterLeaderboardGroupLeaderboard

func (c *Client) GetGameCenterLeaderboardGroupLeaderboard(ctx context.Context, leaderboardID string) (*GameCenterLeaderboardResponse, error)

GetGameCenterLeaderboardGroupLeaderboard sends GET /v1/gameCenterLeaderboards/{id}/groupLeaderboard (gameCenterLeaderboards_groupLeaderboard_getToOneRelated).

func (*Client) GetGameCenterLeaderboardImage

func (c *Client) GetGameCenterLeaderboardImage(ctx context.Context, imageID string) (*GameCenterLeaderboardImageResponse, error)

GetGameCenterLeaderboardImage sends GET /v1/gameCenterLeaderboardImages/{id} (gameCenterLeaderboardImages_getInstance).

func (*Client) GetGameCenterLeaderboardImageV2

func (c *Client) GetGameCenterLeaderboardImageV2(ctx context.Context, imageID string) (*GameCenterLeaderboardImageResponse, error)

GetGameCenterLeaderboardImageV2 sends GET /v2/gameCenterLeaderboardImages/{id} (gameCenterLeaderboardImagesV2_getInstance).

func (*Client) GetGameCenterLeaderboardLocalization

func (c *Client) GetGameCenterLeaderboardLocalization(ctx context.Context, localizationID string) (*GameCenterLeaderboardLocalizationResponse, error)

GetGameCenterLeaderboardLocalization sends GET /v1/gameCenterLeaderboardLocalizations/{id} (gameCenterLeaderboardLocalizations_getInstance).

func (*Client) GetGameCenterLeaderboardLocalizationImage

func (c *Client) GetGameCenterLeaderboardLocalizationImage(ctx context.Context, localizationID string) (*GameCenterLeaderboardImageResponse, error)

GetGameCenterLeaderboardLocalizationImage sends GET /v1/gameCenterLeaderboardLocalizations/{id}/gameCenterLeaderboardImage (gameCenterLeaderboardLocalizations_gameCenterLeaderboardImage_getToOneRelated).

func (*Client) GetGameCenterLeaderboardLocalizationImageV2

func (c *Client) GetGameCenterLeaderboardLocalizationImageV2(ctx context.Context, localizationID string) (*GameCenterLeaderboardImageResponse, error)

GetGameCenterLeaderboardLocalizationImageV2 sends GET /v2/gameCenterLeaderboardLocalizations/{id}/image (gameCenterLeaderboardLocalizationsV2_image_getToOneRelated).

func (*Client) GetGameCenterLeaderboardLocalizationV2

func (c *Client) GetGameCenterLeaderboardLocalizationV2(ctx context.Context, localizationID string) (*GameCenterLeaderboardLocalizationResponse, error)

GetGameCenterLeaderboardLocalizationV2 sends GET /v2/gameCenterLeaderboardLocalizations/{id} (gameCenterLeaderboardLocalizationsV2_getInstance).

func (*Client) GetGameCenterLeaderboardLocalizations

func (c *Client) GetGameCenterLeaderboardLocalizations(ctx context.Context, leaderboardID string, opts ...GCLeaderboardLocalizationsOption) (*GameCenterLeaderboardLocalizationsResponse, error)

GetGameCenterLeaderboardLocalizations sends GET /v1/gameCenterLeaderboards/{id}/localizations (gameCenterLeaderboards_localizations_getToManyRelated).

func (*Client) GetGameCenterLeaderboardRelease

func (c *Client) GetGameCenterLeaderboardRelease(ctx context.Context, releaseID string) (*GameCenterLeaderboardReleaseResponse, error)

GetGameCenterLeaderboardRelease sends GET /v1/gameCenterLeaderboardReleases/{id} (gameCenterLeaderboardReleases_getInstance).

func (*Client) GetGameCenterLeaderboardReleases

func (c *Client) GetGameCenterLeaderboardReleases(ctx context.Context, leaderboardID string, opts ...GCLeaderboardReleasesOption) (*GameCenterLeaderboardReleasesResponse, error)

GetGameCenterLeaderboardReleases sends GET /v1/gameCenterLeaderboards/{id}/releases (gameCenterLeaderboards_releases_getToManyRelated).

func (*Client) GetGameCenterLeaderboardSet

func (c *Client) GetGameCenterLeaderboardSet(ctx context.Context, setID string) (*GameCenterLeaderboardSetResponse, error)

GetGameCenterLeaderboardSet sends GET /v1/gameCenterLeaderboardSets/{id} (gameCenterLeaderboardSets_getInstance).

func (*Client) GetGameCenterLeaderboardSetGroupLeaderboardSet

func (c *Client) GetGameCenterLeaderboardSetGroupLeaderboardSet(ctx context.Context, setID string) (*GameCenterLeaderboardSetResponse, error)

GetGameCenterLeaderboardSetGroupLeaderboardSet sends GET /v1/gameCenterLeaderboardSets/{id}/groupLeaderboardSet (gameCenterLeaderboardSets_groupLeaderboardSet_getToOneRelated).

func (*Client) GetGameCenterLeaderboardSetImage

func (c *Client) GetGameCenterLeaderboardSetImage(ctx context.Context, imageID string) (*GameCenterLeaderboardSetImageResponse, error)

GetGameCenterLeaderboardSetImage sends GET /v1/gameCenterLeaderboardSetImages/{id} (gameCenterLeaderboardSetImages_getInstance).

func (*Client) GetGameCenterLeaderboardSetImageV2

func (c *Client) GetGameCenterLeaderboardSetImageV2(ctx context.Context, imageID string) (*GameCenterLeaderboardSetImageResponse, error)

GetGameCenterLeaderboardSetImageV2 sends GET /v2/gameCenterLeaderboardSetImages/{id} (gameCenterLeaderboardSetImagesV2_getInstance).

func (*Client) GetGameCenterLeaderboardSetLocalization

func (c *Client) GetGameCenterLeaderboardSetLocalization(ctx context.Context, localizationID string) (*GameCenterLeaderboardSetLocalizationResponse, error)

GetGameCenterLeaderboardSetLocalization sends GET /v1/gameCenterLeaderboardSetLocalizations/{id} (gameCenterLeaderboardSetLocalizations_getInstance).

func (*Client) GetGameCenterLeaderboardSetLocalizationImage

func (c *Client) GetGameCenterLeaderboardSetLocalizationImage(ctx context.Context, localizationID string) (*GameCenterLeaderboardSetImageResponse, error)

GetGameCenterLeaderboardSetLocalizationImage sends GET /v1/gameCenterLeaderboardSetLocalizations/{id}/gameCenterLeaderboardSetImage (gameCenterLeaderboardSetLocalizations_gameCenterLeaderboardSetImage_getToOneRelated).

func (*Client) GetGameCenterLeaderboardSetLocalizationImageV2

func (c *Client) GetGameCenterLeaderboardSetLocalizationImageV2(ctx context.Context, localizationID string) (*GameCenterLeaderboardSetImageResponse, error)

GetGameCenterLeaderboardSetLocalizationImageV2 sends GET /v2/gameCenterLeaderboardSetLocalizations/{id}/image (gameCenterLeaderboardSetLocalizationsV2_image_getToOneRelated).

func (*Client) GetGameCenterLeaderboardSetLocalizationV2

func (c *Client) GetGameCenterLeaderboardSetLocalizationV2(ctx context.Context, localizationID string) (*GameCenterLeaderboardSetLocalizationResponse, error)

GetGameCenterLeaderboardSetLocalizationV2 sends GET /v2/gameCenterLeaderboardSetLocalizations/{id} (gameCenterLeaderboardSetLocalizationsV2_getInstance).

func (*Client) GetGameCenterLeaderboardSetLocalizations

func (c *Client) GetGameCenterLeaderboardSetLocalizations(ctx context.Context, setID string, opts ...GCLeaderboardSetLocalizationsOption) (*GameCenterLeaderboardSetLocalizationsResponse, error)

GetGameCenterLeaderboardSetLocalizations sends GET /v1/gameCenterLeaderboardSets/{id}/localizations (gameCenterLeaderboardSets_localizations_getToManyRelated).

func (*Client) GetGameCenterLeaderboardSetMemberLocalization

func (c *Client) GetGameCenterLeaderboardSetMemberLocalization(ctx context.Context, localizationID string) (*GameCenterLeaderboardSetMemberLocalizationResponse, error)

GetGameCenterLeaderboardSetMemberLocalization retrieves a leaderboard set member localization by ID. App Store Connect does not expose a direct instance GET, so this resolves the localization's two parents and searches the required doubly filtered collection.

func (*Client) GetGameCenterLeaderboardSetMemberLocalizationLeaderboard

func (c *Client) GetGameCenterLeaderboardSetMemberLocalizationLeaderboard(ctx context.Context, localizationID string) (*GameCenterLeaderboardResponse, error)

GetGameCenterLeaderboardSetMemberLocalizationLeaderboard sends GET /v1/gameCenterLeaderboardSetMemberLocalizations/{id}/gameCenterLeaderboard (gameCenterLeaderboardSetMemberLocalizations_gameCenterLeaderboard_getToOneRelated).

func (*Client) GetGameCenterLeaderboardSetMemberLocalizationLeaderboardSet

func (c *Client) GetGameCenterLeaderboardSetMemberLocalizationLeaderboardSet(ctx context.Context, localizationID string) (*GameCenterLeaderboardSetResponse, error)

GetGameCenterLeaderboardSetMemberLocalizationLeaderboardSet sends GET /v1/gameCenterLeaderboardSetMemberLocalizations/{id}/gameCenterLeaderboardSet (gameCenterLeaderboardSetMemberLocalizations_gameCenterLeaderboardSet_getToOneRelated).

func (*Client) GetGameCenterLeaderboardSetMemberLocalizations

func (c *Client) GetGameCenterLeaderboardSetMemberLocalizations(ctx context.Context, opts ...GCLeaderboardSetMemberLocalizationsOption) (*GameCenterLeaderboardSetMemberLocalizationsResponse, error)

GetGameCenterLeaderboardSetMemberLocalizations sends GET /v1/gameCenterLeaderboardSetMemberLocalizations (gameCenterLeaderboardSetMemberLocalizations_getCollection).

func (*Client) GetGameCenterLeaderboardSetMembers

func (c *Client) GetGameCenterLeaderboardSetMembers(ctx context.Context, setID string, opts ...GCLeaderboardSetMembersOption) (*GameCenterLeaderboardsResponse, error)

GetGameCenterLeaderboardSetMembers sends GET /v1/gameCenterLeaderboardSets/{id}/gameCenterLeaderboards (gameCenterLeaderboardSets_gameCenterLeaderboards_getToManyRelated).

func (*Client) GetGameCenterLeaderboardSetMembersV2

func (c *Client) GetGameCenterLeaderboardSetMembersV2(ctx context.Context, setID string, opts ...GCLeaderboardSetMembersOption) (*GameCenterLeaderboardsResponse, error)

GetGameCenterLeaderboardSetMembersV2 sends GET /v2/gameCenterLeaderboardSets/{id}/gameCenterLeaderboards (gameCenterLeaderboardSetsV2_gameCenterLeaderboards_getToManyRelated).

func (*Client) GetGameCenterLeaderboardSetRelease

func (c *Client) GetGameCenterLeaderboardSetRelease(ctx context.Context, releaseID string) (*GameCenterLeaderboardSetReleaseResponse, error)

GetGameCenterLeaderboardSetRelease sends GET /v1/gameCenterLeaderboardSetReleases/{id} (gameCenterLeaderboardSetReleases_getInstance).

func (*Client) GetGameCenterLeaderboardSetReleases

func (c *Client) GetGameCenterLeaderboardSetReleases(ctx context.Context, setID string, opts ...GCLeaderboardSetReleasesOption) (*GameCenterLeaderboardSetReleasesResponse, error)

GetGameCenterLeaderboardSetReleases sends GET /v1/gameCenterLeaderboardSets/{id}/releases (gameCenterLeaderboardSets_releases_getToManyRelated).

func (*Client) GetGameCenterLeaderboardSetV2

func (c *Client) GetGameCenterLeaderboardSetV2(ctx context.Context, setID string) (*GameCenterLeaderboardSetResponse, error)

GetGameCenterLeaderboardSetV2 sends GET /v2/gameCenterLeaderboardSets/{id} (gameCenterLeaderboardSetsV2_getInstance).

func (*Client) GetGameCenterLeaderboardSetVersion

func (c *Client) GetGameCenterLeaderboardSetVersion(ctx context.Context, versionID string) (*GameCenterLeaderboardSetVersionResponse, error)

GetGameCenterLeaderboardSetVersion sends GET /v2/gameCenterLeaderboardSetVersions/{id} (gameCenterLeaderboardSetVersionsV2_getInstance).

func (*Client) GetGameCenterLeaderboardSetVersionLocalizations

func (c *Client) GetGameCenterLeaderboardSetVersionLocalizations(ctx context.Context, versionID string, opts ...GCLeaderboardSetLocalizationsOption) (*GameCenterLeaderboardSetLocalizationsResponse, error)

GetGameCenterLeaderboardSetVersionLocalizations sends GET /v2/gameCenterLeaderboardSetVersions/{id}/localizations (gameCenterLeaderboardSetVersionsV2_localizations_getToManyRelated).

func (*Client) GetGameCenterLeaderboardSetVersions

func (c *Client) GetGameCenterLeaderboardSetVersions(ctx context.Context, setID string, opts ...GCLeaderboardSetVersionsOption) (*GameCenterLeaderboardSetVersionsResponse, error)

GetGameCenterLeaderboardSetVersions sends GET /v2/gameCenterLeaderboardSets/{id}/versions (gameCenterLeaderboardSetsV2_versions_getToManyRelated).

func (*Client) GetGameCenterLeaderboardSets

func (c *Client) GetGameCenterLeaderboardSets(ctx context.Context, gcDetailID string, opts ...GCLeaderboardSetsOption) (*GameCenterLeaderboardSetsResponse, error)

GetGameCenterLeaderboardSets sends GET /v1/gameCenterDetails/{id}/gameCenterLeaderboardSets (gameCenterDetails_gameCenterLeaderboardSets_getToManyRelated).

func (*Client) GetGameCenterLeaderboardSetsV2

func (c *Client) GetGameCenterLeaderboardSetsV2(ctx context.Context, gcDetailID, groupID string, opts ...GCLeaderboardSetsOption) (*GameCenterLeaderboardSetsResponse, error)

GetGameCenterLeaderboardSetsV2 retrieves v2 leaderboard sets for a Game Center detail or group.

func (*Client) GetGameCenterLeaderboardV2

func (c *Client) GetGameCenterLeaderboardV2(ctx context.Context, leaderboardID string) (*GameCenterLeaderboardResponse, error)

GetGameCenterLeaderboardV2 sends GET /v2/gameCenterLeaderboards/{id} (gameCenterLeaderboardsV2_getInstance).

func (*Client) GetGameCenterLeaderboardVersion

func (c *Client) GetGameCenterLeaderboardVersion(ctx context.Context, versionID string) (*GameCenterLeaderboardVersionResponse, error)

GetGameCenterLeaderboardVersion sends GET /v2/gameCenterLeaderboardVersions/{id} (gameCenterLeaderboardVersionsV2_getInstance).

func (*Client) GetGameCenterLeaderboardVersionLocalizations

func (c *Client) GetGameCenterLeaderboardVersionLocalizations(ctx context.Context, versionID string, opts ...GCLeaderboardLocalizationsOption) (*GameCenterLeaderboardLocalizationsResponse, error)

GetGameCenterLeaderboardVersionLocalizations sends GET /v2/gameCenterLeaderboardVersions/{id}/localizations (gameCenterLeaderboardVersionsV2_localizations_getToManyRelated).

func (*Client) GetGameCenterLeaderboardVersions

func (c *Client) GetGameCenterLeaderboardVersions(ctx context.Context, leaderboardID string, opts ...GCLeaderboardVersionsOption) (*GameCenterLeaderboardVersionsResponse, error)

GetGameCenterLeaderboardVersions sends GET /v2/gameCenterLeaderboards/{id}/versions (gameCenterLeaderboardsV2_versions_getToManyRelated).

func (*Client) GetGameCenterLeaderboards

func (c *Client) GetGameCenterLeaderboards(ctx context.Context, gcDetailID string, opts ...GCLeaderboardsOption) (*GameCenterLeaderboardsResponse, error)

GetGameCenterLeaderboards sends GET /v1/gameCenterDetails/{id}/gameCenterLeaderboards (gameCenterDetails_gameCenterLeaderboards_getToManyRelated).

func (*Client) GetGameCenterLeaderboardsV2

func (c *Client) GetGameCenterLeaderboardsV2(ctx context.Context, gcDetailID, groupID string, opts ...GCLeaderboardsOption) (*GameCenterLeaderboardsResponse, error)

GetGameCenterLeaderboardsV2 retrieves v2 leaderboards for a Game Center detail or group.

func (*Client) GetGameCenterMatchmakingBooleanRuleResults

func (c *Client) GetGameCenterMatchmakingBooleanRuleResults(ctx context.Context, ruleID string, opts ...GCMatchmakingMetricsOption) (*GameCenterMatchmakingBooleanRuleResultsResponse, error)

GetGameCenterMatchmakingBooleanRuleResults sends GET /v1/gameCenterMatchmakingRules/{id}/metrics/matchmakingBooleanRuleResults (gameCenterMatchmakingRules_matchmakingBooleanRuleResults_getMetrics).

func (*Client) GetGameCenterMatchmakingNumberRuleResults

func (c *Client) GetGameCenterMatchmakingNumberRuleResults(ctx context.Context, ruleID string, opts ...GCMatchmakingMetricsOption) (*GameCenterMatchmakingNumberRuleResultsResponse, error)

GetGameCenterMatchmakingNumberRuleResults sends GET /v1/gameCenterMatchmakingRules/{id}/metrics/matchmakingNumberRuleResults (gameCenterMatchmakingRules_matchmakingNumberRuleResults_getMetrics).

func (*Client) GetGameCenterMatchmakingQueue

func (c *Client) GetGameCenterMatchmakingQueue(ctx context.Context, queueID string) (*GameCenterMatchmakingQueueResponse, error)

GetGameCenterMatchmakingQueue sends GET /v1/gameCenterMatchmakingQueues/{id} (gameCenterMatchmakingQueues_getInstance).

func (*Client) GetGameCenterMatchmakingQueueExperimentRequests

func (c *Client) GetGameCenterMatchmakingQueueExperimentRequests(ctx context.Context, queueID string, opts ...GCMatchmakingMetricsOption) (*GameCenterMatchmakingQueueExperimentRequestsResponse, error)

GetGameCenterMatchmakingQueueExperimentRequests sends GET /v1/gameCenterMatchmakingQueues/{id}/metrics/experimentMatchmakingRequests (gameCenterMatchmakingQueues_experimentMatchmakingRequests_getMetrics).

func (*Client) GetGameCenterMatchmakingQueueExperimentSizes

func (c *Client) GetGameCenterMatchmakingQueueExperimentSizes(ctx context.Context, queueID string, opts ...GCMatchmakingMetricsOption) (*GameCenterMatchmakingQueueExperimentSizesResponse, error)

GetGameCenterMatchmakingQueueExperimentSizes sends GET /v1/gameCenterMatchmakingQueues/{id}/metrics/experimentMatchmakingQueueSizes (gameCenterMatchmakingQueues_experimentMatchmakingQueueSizes_getMetrics).

func (*Client) GetGameCenterMatchmakingQueueRequests

func (c *Client) GetGameCenterMatchmakingQueueRequests(ctx context.Context, queueID string, opts ...GCMatchmakingMetricsOption) (*GameCenterMatchmakingQueueRequestsResponse, error)

GetGameCenterMatchmakingQueueRequests sends GET /v1/gameCenterMatchmakingQueues/{id}/metrics/matchmakingRequests (gameCenterMatchmakingQueues_matchmakingRequests_getMetrics).

func (*Client) GetGameCenterMatchmakingQueueSessions

func (c *Client) GetGameCenterMatchmakingQueueSessions(ctx context.Context, queueID string, opts ...GCMatchmakingMetricsOption) (*GameCenterMatchmakingQueueSessionsResponse, error)

GetGameCenterMatchmakingQueueSessions sends GET /v1/gameCenterMatchmakingQueues/{id}/metrics/matchmakingSessions (gameCenterMatchmakingQueues_matchmakingSessions_getMetrics).

func (*Client) GetGameCenterMatchmakingQueueSizes

func (c *Client) GetGameCenterMatchmakingQueueSizes(ctx context.Context, queueID string, opts ...GCMatchmakingMetricsOption) (*GameCenterMatchmakingQueueSizesResponse, error)

GetGameCenterMatchmakingQueueSizes sends GET /v1/gameCenterMatchmakingQueues/{id}/metrics/matchmakingQueueSizes (gameCenterMatchmakingQueues_matchmakingQueueSizes_getMetrics).

func (*Client) GetGameCenterMatchmakingQueues

func (c *Client) GetGameCenterMatchmakingQueues(ctx context.Context, opts ...GCMatchmakingQueuesOption) (*GameCenterMatchmakingQueuesResponse, error)

GetGameCenterMatchmakingQueues sends GET /v1/gameCenterMatchmakingQueues (gameCenterMatchmakingQueues_getCollection).

func (*Client) GetGameCenterMatchmakingRuleErrors

func (c *Client) GetGameCenterMatchmakingRuleErrors(ctx context.Context, ruleID string, opts ...GCMatchmakingMetricsOption) (*GameCenterMatchmakingRuleErrorsResponse, error)

GetGameCenterMatchmakingRuleErrors sends GET /v1/gameCenterMatchmakingRules/{id}/metrics/matchmakingRuleErrors (gameCenterMatchmakingRules_matchmakingRuleErrors_getMetrics).

func (*Client) GetGameCenterMatchmakingRuleSet

func (c *Client) GetGameCenterMatchmakingRuleSet(ctx context.Context, ruleSetID string) (*GameCenterMatchmakingRuleSetResponse, error)

GetGameCenterMatchmakingRuleSet sends GET /v1/gameCenterMatchmakingRuleSets/{id} (gameCenterMatchmakingRuleSets_getInstance).

func (*Client) GetGameCenterMatchmakingRuleSetQueues

func (c *Client) GetGameCenterMatchmakingRuleSetQueues(ctx context.Context, ruleSetID string, opts ...GCMatchmakingQueuesOption) (*GameCenterMatchmakingQueuesResponse, error)

GetGameCenterMatchmakingRuleSetQueues sends GET /v1/gameCenterMatchmakingRuleSets/{id}/matchmakingQueues (gameCenterMatchmakingRuleSets_matchmakingQueues_getToManyRelated).

func (*Client) GetGameCenterMatchmakingRuleSets

func (c *Client) GetGameCenterMatchmakingRuleSets(ctx context.Context, opts ...GCMatchmakingRuleSetsOption) (*GameCenterMatchmakingRuleSetsResponse, error)

GetGameCenterMatchmakingRuleSets sends GET /v1/gameCenterMatchmakingRuleSets (gameCenterMatchmakingRuleSets_getCollection).

func (*Client) GetGameCenterMatchmakingRules

func (c *Client) GetGameCenterMatchmakingRules(ctx context.Context, ruleSetID string, opts ...GCMatchmakingRulesOption) (*GameCenterMatchmakingRulesResponse, error)

GetGameCenterMatchmakingRules sends GET /v1/gameCenterMatchmakingRuleSets/{id}/rules (gameCenterMatchmakingRuleSets_rules_getToManyRelated).

func (*Client) GetGameCenterMatchmakingTeams

func (c *Client) GetGameCenterMatchmakingTeams(ctx context.Context, ruleSetID string, opts ...GCMatchmakingTeamsOption) (*GameCenterMatchmakingTeamsResponse, error)

GetGameCenterMatchmakingTeams sends GET /v1/gameCenterMatchmakingRuleSets/{id}/teams (gameCenterMatchmakingRuleSets_teams_getToManyRelated).

func (*Client) GetGameCenterScoreModerations

func (c *Client) GetGameCenterScoreModerations(ctx context.Context, leaderboardID string, query GCScoreModerationsQuery) (*GameCenterScoreModerationsResponse, error)

GetGameCenterScoreModerations lists scores for a v2 leaderboard.

func (*Client) GetInAppPurchase

func (c *Client) GetInAppPurchase(ctx context.Context, iapID string) (*InAppPurchaseResponse, error)

GetInAppPurchase sends GET /v1/inAppPurchases/{id} (inAppPurchases_getInstance).

func (*Client) GetInAppPurchaseAppStoreReviewScreenshot

func (c *Client) GetInAppPurchaseAppStoreReviewScreenshot(ctx context.Context, screenshotID string, opts ...IAPReviewScreenshotOption) (*InAppPurchaseAppStoreReviewScreenshotResponse, error)

GetInAppPurchaseAppStoreReviewScreenshot sends GET /v1/inAppPurchaseAppStoreReviewScreenshots/{id} (inAppPurchaseAppStoreReviewScreenshots_getInstance).

func (*Client) GetInAppPurchaseAppStoreReviewScreenshotForIAP

func (c *Client) GetInAppPurchaseAppStoreReviewScreenshotForIAP(ctx context.Context, iapID string, opts ...IAPReviewScreenshotOption) (*InAppPurchaseAppStoreReviewScreenshotResponse, error)

GetInAppPurchaseAppStoreReviewScreenshotForIAP sends GET /v2/inAppPurchases/{id}/appStoreReviewScreenshot (inAppPurchasesV2_appStoreReviewScreenshot_getToOneRelated).

func (*Client) GetInAppPurchaseAvailability

func (c *Client) GetInAppPurchaseAvailability(ctx context.Context, iapID string) (*InAppPurchaseAvailabilityResponse, error)

GetInAppPurchaseAvailability sends GET /v2/inAppPurchases/{id}/inAppPurchaseAvailability (inAppPurchasesV2_inAppPurchaseAvailability_getToOneRelated).

func (*Client) GetInAppPurchaseAvailabilityAvailableTerritories

func (c *Client) GetInAppPurchaseAvailabilityAvailableTerritories(ctx context.Context, availabilityID string, opts ...IAPAvailabilityTerritoriesOption) (*TerritoriesResponse, error)

GetInAppPurchaseAvailabilityAvailableTerritories sends GET /v1/inAppPurchaseAvailabilities/{id}/availableTerritories (inAppPurchaseAvailabilities_availableTerritories_getToManyRelated).

func (*Client) GetInAppPurchaseAvailabilityByID

func (c *Client) GetInAppPurchaseAvailabilityByID(ctx context.Context, availabilityID string) (*InAppPurchaseAvailabilityResponse, error)

GetInAppPurchaseAvailabilityByID sends GET /v1/inAppPurchaseAvailabilities/{id} (inAppPurchaseAvailabilities_getInstance).

func (*Client) GetInAppPurchaseContent

func (c *Client) GetInAppPurchaseContent(ctx context.Context, iapID string, opts ...IAPContentOption) (*InAppPurchaseContentResponse, error)

GetInAppPurchaseContent sends GET /v2/inAppPurchases/{id}/content (inAppPurchasesV2_content_getToOneRelated).

func (*Client) GetInAppPurchaseContentByID

func (c *Client) GetInAppPurchaseContentByID(ctx context.Context, contentID string, opts ...IAPContentOption) (*InAppPurchaseContentResponse, error)

GetInAppPurchaseContentByID sends GET /v1/inAppPurchaseContents/{id} (inAppPurchaseContents_getInstance).

func (*Client) GetInAppPurchaseImageV2 added in v1.260722.0

func (c *Client) GetInAppPurchaseImageV2(ctx context.Context, imageID string, opts ...IAPImageV2Option) (*InAppPurchaseImageV2Response, error)

GetInAppPurchaseImageV2 sends GET /v2/inAppPurchaseImages/{id} (inAppPurchaseImagesV2_getInstance).

func (*Client) GetInAppPurchaseLocalizationV2 added in v1.260722.0

func (c *Client) GetInAppPurchaseLocalizationV2(ctx context.Context, localizationID string, opts ...IAPLocalizationV2Option) (*InAppPurchaseLocalizationResponse, error)

GetInAppPurchaseLocalizationV2 sends GET /v2/inAppPurchaseLocalizations/{id} (inAppPurchaseLocalizationsV2_getInstance).

func (*Client) GetInAppPurchaseLocalizations

func (c *Client) GetInAppPurchaseLocalizations(ctx context.Context, iapID string, opts ...IAPLocalizationsOption) (*InAppPurchaseLocalizationsResponse, error)

GetInAppPurchaseLocalizations sends GET /v2/inAppPurchases/{id}/inAppPurchaseLocalizations (inAppPurchasesV2_inAppPurchaseLocalizations_getToManyRelated).

func (*Client) GetInAppPurchaseOfferCode

func (c *Client) GetInAppPurchaseOfferCode(ctx context.Context, offerCodeID string) (*InAppPurchaseOfferCodeResponse, error)

GetInAppPurchaseOfferCode sends GET /v1/inAppPurchaseOfferCodes/{id} (inAppPurchaseOfferCodes_getInstance).

func (*Client) GetInAppPurchaseOfferCodeCustomCode

func (c *Client) GetInAppPurchaseOfferCodeCustomCode(ctx context.Context, customCodeID string) (*InAppPurchaseOfferCodeCustomCodeResponse, error)

GetInAppPurchaseOfferCodeCustomCode sends GET /v1/inAppPurchaseOfferCodeCustomCodes/{id} (inAppPurchaseOfferCodeCustomCodes_getInstance).

func (*Client) GetInAppPurchaseOfferCodeCustomCodes

func (c *Client) GetInAppPurchaseOfferCodeCustomCodes(ctx context.Context, offerCodeID string, opts ...IAPOfferCodeCustomCodesOption) (*InAppPurchaseOfferCodeCustomCodesResponse, error)

GetInAppPurchaseOfferCodeCustomCodes sends GET /v1/inAppPurchaseOfferCodes/{id}/customCodes (inAppPurchaseOfferCodes_customCodes_getToManyRelated).

func (*Client) GetInAppPurchaseOfferCodeOneTimeUseCode

func (c *Client) GetInAppPurchaseOfferCodeOneTimeUseCode(ctx context.Context, oneTimeUseCodeID string) (*InAppPurchaseOfferCodeOneTimeUseCodeResponse, error)

GetInAppPurchaseOfferCodeOneTimeUseCode sends GET /v1/inAppPurchaseOfferCodeOneTimeUseCodes/{id} (inAppPurchaseOfferCodeOneTimeUseCodes_getInstance).

func (*Client) GetInAppPurchaseOfferCodeOneTimeUseCodeValues

func (c *Client) GetInAppPurchaseOfferCodeOneTimeUseCodeValues(ctx context.Context, oneTimeUseCodeID string) ([]string, error)

GetInAppPurchaseOfferCodeOneTimeUseCodeValues retrieves offer code values as a list of codes.

func (*Client) GetInAppPurchaseOfferCodeOneTimeUseCodes

func (c *Client) GetInAppPurchaseOfferCodeOneTimeUseCodes(ctx context.Context, offerCodeID string, opts ...IAPOfferCodeOneTimeUseCodesOption) (*InAppPurchaseOfferCodeOneTimeUseCodesResponse, error)

GetInAppPurchaseOfferCodeOneTimeUseCodes sends GET /v1/inAppPurchaseOfferCodes/{id}/oneTimeUseCodes (inAppPurchaseOfferCodes_oneTimeUseCodes_getToManyRelated).

func (*Client) GetInAppPurchaseOfferCodePrices

func (c *Client) GetInAppPurchaseOfferCodePrices(ctx context.Context, offerCodeID string, opts ...IAPOfferCodePricesOption) (*InAppPurchaseOfferPricesResponse, error)

GetInAppPurchaseOfferCodePrices sends GET /v1/inAppPurchaseOfferCodes/{id}/prices (inAppPurchaseOfferCodes_prices_getToManyRelated).

func (*Client) GetInAppPurchaseOfferCodes

func (c *Client) GetInAppPurchaseOfferCodes(ctx context.Context, iapID string, opts ...IAPOfferCodesOption) (*InAppPurchaseOfferCodesResponse, error)

GetInAppPurchaseOfferCodes sends GET /v2/inAppPurchases/{id}/offerCodes (inAppPurchasesV2_offerCodes_getToManyRelated).

func (*Client) GetInAppPurchasePricePointEqualizations

func (c *Client) GetInAppPurchasePricePointEqualizations(ctx context.Context, pricePointID string, opts ...IAPPricePointsOption) (*InAppPurchasePricePointsResponse, error)

GetInAppPurchasePricePointEqualizations sends GET /v1/inAppPurchasePricePoints/{id}/equalizations (inAppPurchasePricePoints_equalizations_getToManyRelated).

func (*Client) GetInAppPurchasePricePoints

func (c *Client) GetInAppPurchasePricePoints(ctx context.Context, iapID string, opts ...IAPPricePointsOption) (*InAppPurchasePricePointsResponse, error)

GetInAppPurchasePricePoints sends GET /v2/inAppPurchases/{id}/pricePoints (inAppPurchasesV2_pricePoints_getToManyRelated).

func (*Client) GetInAppPurchasePriceSchedule

func (c *Client) GetInAppPurchasePriceSchedule(ctx context.Context, iapID string, opts ...IAPPriceScheduleOption) (*InAppPurchasePriceScheduleResponse, error)

GetInAppPurchasePriceSchedule sends GET /v2/inAppPurchases/{id}/iapPriceSchedule (inAppPurchasesV2_iapPriceSchedule_getToOneRelated).

func (*Client) GetInAppPurchasePriceScheduleAutomaticPrices

func (c *Client) GetInAppPurchasePriceScheduleAutomaticPrices(ctx context.Context, scheduleID string, opts ...IAPPriceSchedulePricesOption) (*InAppPurchasePricesResponse, error)

GetInAppPurchasePriceScheduleAutomaticPrices sends GET /v1/inAppPurchasePriceSchedules/{id}/automaticPrices (inAppPurchasePriceSchedules_automaticPrices_getToManyRelated).

func (*Client) GetInAppPurchasePriceScheduleBaseTerritory

func (c *Client) GetInAppPurchasePriceScheduleBaseTerritory(ctx context.Context, scheduleID string) (*TerritoryResponse, error)

GetInAppPurchasePriceScheduleBaseTerritory sends GET /v1/inAppPurchasePriceSchedules/{id}/baseTerritory (inAppPurchasePriceSchedules_baseTerritory_getToOneRelated).

func (*Client) GetInAppPurchasePriceScheduleByID

func (c *Client) GetInAppPurchasePriceScheduleByID(ctx context.Context, scheduleID string, opts ...IAPPriceScheduleOption) (*InAppPurchasePriceScheduleResponse, error)

GetInAppPurchasePriceScheduleByID sends GET /v1/inAppPurchasePriceSchedules/{id} (inAppPurchasePriceSchedules_getInstance).

func (*Client) GetInAppPurchasePriceScheduleManualPrices

func (c *Client) GetInAppPurchasePriceScheduleManualPrices(ctx context.Context, scheduleID string, opts ...IAPPriceSchedulePricesOption) (*InAppPurchasePricesResponse, error)

GetInAppPurchasePriceScheduleManualPrices sends GET /v1/inAppPurchasePriceSchedules/{id}/manualPrices (inAppPurchasePriceSchedules_manualPrices_getToManyRelated).

func (*Client) GetInAppPurchasePromotedPurchase

func (c *Client) GetInAppPurchasePromotedPurchase(ctx context.Context, iapID string, opts ...PromotedPurchaseGetOption) (*PromotedPurchaseResponse, error)

GetInAppPurchasePromotedPurchase sends GET /v2/inAppPurchases/{id}/promotedPurchase (inAppPurchasesV2_promotedPurchase_getToOneRelated).

func (*Client) GetInAppPurchaseV2

func (c *Client) GetInAppPurchaseV2(ctx context.Context, iapID string, opts ...IAPGetOption) (*InAppPurchaseV2Response, error)

GetInAppPurchaseV2 sends GET /v2/inAppPurchases/{id} (inAppPurchasesV2_getInstance).

func (*Client) GetInAppPurchaseVersion added in v1.260722.0

func (c *Client) GetInAppPurchaseVersion(ctx context.Context, versionID string, opts ...IAPVersionGetOption) (*InAppPurchaseVersionResponse, error)

GetInAppPurchaseVersion sends GET /v1/inAppPurchaseVersions/{id} (inAppPurchaseVersions_getInstance).

func (*Client) GetInAppPurchaseVersionImage added in v1.260722.0

func (c *Client) GetInAppPurchaseVersionImage(ctx context.Context, versionID string, opts ...IAPVersionImageOption) (*InAppPurchaseImageV2Response, error)

GetInAppPurchaseVersionImage sends GET /v1/inAppPurchaseVersions/{id}/image (inAppPurchaseVersions_image_getToOneRelated).

func (*Client) GetInAppPurchaseVersionImageRelationship added in v1.260722.0

func (c *Client) GetInAppPurchaseVersionImageRelationship(ctx context.Context, versionID string) (*InAppPurchaseVersionImageLinkageResponse, error)

GetInAppPurchaseVersionImageRelationship sends GET /v1/inAppPurchaseVersions/{id}/relationships/image (inAppPurchaseVersions_image_getToOneRelationship).

func (*Client) GetInAppPurchaseVersionImages added in v1.260722.0

func (c *Client) GetInAppPurchaseVersionImages(ctx context.Context, versionID string, opts ...IAPVersionImagesOption) (*InAppPurchaseImagesV2Response, error)

GetInAppPurchaseVersionImages sends GET /v1/inAppPurchaseVersions/{id}/images (inAppPurchaseVersions_images_getToManyRelated).

func (*Client) GetInAppPurchaseVersionImagesRelationships added in v1.260722.0

func (c *Client) GetInAppPurchaseVersionImagesRelationships(ctx context.Context, versionID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetInAppPurchaseVersionImagesRelationships sends GET /v1/inAppPurchaseVersions/{id}/relationships/images (inAppPurchaseVersions_images_getToManyRelationship).

func (*Client) GetInAppPurchaseVersionLocalizations added in v1.260722.0

func (c *Client) GetInAppPurchaseVersionLocalizations(ctx context.Context, versionID string, opts ...IAPVersionLocalizationsOption) (*InAppPurchaseLocalizationsResponse, error)

GetInAppPurchaseVersionLocalizations sends GET /v1/inAppPurchaseVersions/{id}/localizations (inAppPurchaseVersions_localizations_getToManyRelated).

func (*Client) GetInAppPurchaseVersionLocalizationsRelationships added in v1.260722.0

func (c *Client) GetInAppPurchaseVersionLocalizationsRelationships(ctx context.Context, versionID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetInAppPurchaseVersionLocalizationsRelationships sends GET /v1/inAppPurchaseVersions/{id}/relationships/localizations (inAppPurchaseVersions_localizations_getToManyRelationship).

func (*Client) GetInAppPurchaseVersions added in v1.260722.0

func (c *Client) GetInAppPurchaseVersions(ctx context.Context, iapID string, opts ...IAPVersionsOption) (*InAppPurchaseVersionsResponse, error)

func (*Client) GetInAppPurchaseVersionsRelationships added in v1.260722.0

func (c *Client) GetInAppPurchaseVersionsRelationships(ctx context.Context, iapID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetInAppPurchaseVersionsRelationships sends GET /v2/inAppPurchases/{id}/relationships/versions (inAppPurchasesV2_versions_getToManyRelationship).

func (*Client) GetInAppPurchaseVersionsStrict

func (c *Client) GetInAppPurchaseVersionsStrict(ctx context.Context, iapID string, opts ...IAPVersionsOption) (*InAppPurchaseVersionsResponse, error)

GetInAppPurchaseVersionsStrict validates collection envelopes before using them as evidence.

func (*Client) GetInAppPurchases

func (c *Client) GetInAppPurchases(ctx context.Context, appID string, opts ...IAPOption) (*InAppPurchasesResponse, error)

GetInAppPurchases sends GET /v1/apps/{id}/inAppPurchases (apps_inAppPurchases_getToManyRelated).

func (*Client) GetInAppPurchasesV2

func (c *Client) GetInAppPurchasesV2(ctx context.Context, appID string, opts ...IAPOption) (*InAppPurchasesV2Response, error)

GetInAppPurchasesV2 retrieves the list of in-app purchases for an app.

func (*Client) GetInAppPurchasesV2Strict

func (c *Client) GetInAppPurchasesV2Strict(ctx context.Context, appID string, opts ...IAPOption) (*InAppPurchasesV2Response, error)

GetInAppPurchasesV2Strict validates collection envelopes before using them as evidence.

func (*Client) GetMarketplaceSearchDetailForApp

func (c *Client) GetMarketplaceSearchDetailForApp(ctx context.Context, appID string, fields []string) (*MarketplaceSearchDetailResponse, error)

GetMarketplaceSearchDetailForApp sends GET /v1/apps/{id}/marketplaceSearchDetail (apps_marketplaceSearchDetail_getToOneRelated).

func (*Client) GetMarketplaceWebhook

func (c *Client) GetMarketplaceWebhook(ctx context.Context, webhookID string) (*MarketplaceWebhookResponse, error)

GetMarketplaceWebhook retrieves a marketplace webhook by ID from the supported collection endpoint.

func (*Client) GetMarketplaceWebhooks

func (c *Client) GetMarketplaceWebhooks(ctx context.Context, opts ...MarketplaceWebhooksOption) (*MarketplaceWebhooksResponse, error)

GetMarketplaceWebhooks sends GET /v1/marketplaceWebhooks (marketplaceWebhooks_getCollection).

func (*Client) GetMerchantID

func (c *Client) GetMerchantID(ctx context.Context, id string, opts ...MerchantIDsOption) (*MerchantIDResponse, error)

GetMerchantID sends GET /v1/merchantIds/{id} (merchantIds_getInstance).

func (*Client) GetMerchantIDCertificates

func (c *Client) GetMerchantIDCertificates(ctx context.Context, merchantID string, opts ...MerchantIDCertificatesOption) (*CertificatesResponse, error)

GetMerchantIDCertificates sends GET /v1/merchantIds/{id}/certificates (merchantIds_certificates_getToManyRelated).

func (*Client) GetMerchantIDCertificatesRelationships

func (c *Client) GetMerchantIDCertificatesRelationships(ctx context.Context, merchantID string, opts ...LinkagesOption) (*MerchantIDCertificatesLinkagesResponse, error)

GetMerchantIDCertificatesRelationships sends GET /v1/merchantIds/{id}/relationships/certificates (merchantIds_certificates_getToManyRelationship).

func (*Client) GetMerchantIDs

func (c *Client) GetMerchantIDs(ctx context.Context, opts ...MerchantIDsOption) (*MerchantIDsResponse, error)

GetMerchantIDs sends GET /v1/merchantIds (merchantIds_getCollection).

func (*Client) GetNomination

func (c *Client) GetNomination(ctx context.Context, nominationID string, opts ...NominationsOption) (*NominationResponse, error)

GetNomination sends GET /v1/nominations/{id} (nominations_getInstance).

func (*Client) GetNominations

func (c *Client) GetNominations(ctx context.Context, opts ...NominationsOption) (*NominationsResponse, error)

GetNominations sends GET /v1/nominations (nominations_getCollection).

func (*Client) GetNotarizationLogs

func (c *Client) GetNotarizationLogs(ctx context.Context, submissionID string) (*NotarySubmissionLogsResponse, error)

GetNotarizationLogs retrieves the developer log URL for a notarization submission.

func (*Client) GetNotarizationStatus

func (c *Client) GetNotarizationStatus(ctx context.Context, submissionID string) (*NotarySubmissionStatusResponse, error)

GetNotarizationStatus retrieves the status of a notarization submission.

func (*Client) GetPassTypeID

func (c *Client) GetPassTypeID(ctx context.Context, id string, opts ...PassTypeIDOption) (*PassTypeIDResponse, error)

GetPassTypeID sends GET /v1/passTypeIds/{id} (passTypeIds_getInstance).

func (*Client) GetPassTypeIDCertificates

func (c *Client) GetPassTypeIDCertificates(ctx context.Context, passTypeID string, opts ...PassTypeIDCertificatesOption) (*CertificatesResponse, error)

GetPassTypeIDCertificates sends GET /v1/passTypeIds/{id}/certificates (passTypeIds_certificates_getToManyRelated).

func (*Client) GetPassTypeIDCertificatesRelationships

func (c *Client) GetPassTypeIDCertificatesRelationships(ctx context.Context, passTypeID string, opts ...LinkagesOption) (*PassTypeIDCertificatesLinkagesResponse, error)

GetPassTypeIDCertificatesRelationships sends GET /v1/passTypeIds/{id}/relationships/certificates (passTypeIds_certificates_getToManyRelationship).

func (*Client) GetPassTypeIDs

func (c *Client) GetPassTypeIDs(ctx context.Context, opts ...PassTypeIDsOption) (*PassTypeIDsResponse, error)

GetPassTypeIDs sends GET /v1/passTypeIds (passTypeIds_getCollection).

func (*Client) GetPerfPowerMetricsForApp

func (c *Client) GetPerfPowerMetricsForApp(ctx context.Context, appID string, opts ...PerfPowerMetricsOption) (*PerfPowerMetricsResponse, error)

GetPerfPowerMetricsForApp retrieves performance/power metrics for an app.

func (*Client) GetPerfPowerMetricsForBuild

func (c *Client) GetPerfPowerMetricsForBuild(ctx context.Context, buildID string, opts ...PerfPowerMetricsOption) (*PerfPowerMetricsResponse, error)

GetPerfPowerMetricsForBuild retrieves performance/power metrics for a build.

func (*Client) GetPerformanceOverviewForApp

func (c *Client) GetPerformanceOverviewForApp(ctx context.Context, appID string, deviceTypes []string) (*PerformanceOverviewResponse, error)

GetPerformanceOverviewForApp retrieves the raw Xcode performance overview.

func (*Client) GetPreReleaseVersion

func (c *Client) GetPreReleaseVersion(ctx context.Context, id string) (*PreReleaseVersionResponse, error)

GetPreReleaseVersion sends GET /v1/preReleaseVersions/{id} (preReleaseVersions_getInstance).

func (*Client) GetPreReleaseVersionApp

func (c *Client) GetPreReleaseVersionApp(ctx context.Context, versionID string) (*AppResponse, error)

GetPreReleaseVersionApp sends GET /v1/preReleaseVersions/{id}/app (preReleaseVersions_app_getToOneRelated).

func (*Client) GetPreReleaseVersionAppRelationship

func (c *Client) GetPreReleaseVersionAppRelationship(ctx context.Context, versionID string) (*PreReleaseVersionAppLinkageResponse, error)

GetPreReleaseVersionAppRelationship sends GET /v1/preReleaseVersions/{id}/relationships/app (preReleaseVersions_app_getToOneRelationship).

func (*Client) GetPreReleaseVersionBuilds

func (c *Client) GetPreReleaseVersionBuilds(ctx context.Context, versionID string, opts ...PreReleaseVersionBuildsOption) (*BuildsResponse, error)

GetPreReleaseVersionBuilds sends GET /v1/preReleaseVersions/{id}/builds (preReleaseVersions_builds_getToManyRelated).

func (*Client) GetPreReleaseVersionBuildsRelationships

func (c *Client) GetPreReleaseVersionBuildsRelationships(ctx context.Context, versionID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetPreReleaseVersionBuildsRelationships sends GET /v1/preReleaseVersions/{id}/relationships/builds (preReleaseVersions_builds_getToManyRelationship).

func (*Client) GetPreReleaseVersions

func (c *Client) GetPreReleaseVersions(ctx context.Context, opts ...PreReleaseVersionsOption) (*PreReleaseVersionsResponse, error)

GetPreReleaseVersions sends GET /v1/preReleaseVersions (preReleaseVersions_getCollection).

func (*Client) GetProfile

func (c *Client) GetProfile(ctx context.Context, id string, opts ...ProfilesOption) (*ProfileResponse, error)

GetProfile sends GET /v1/profiles/{id} (profiles_getInstance).

func (*Client) GetProfileBundleID

func (c *Client) GetProfileBundleID(ctx context.Context, profileID string) (*BundleIDResponse, error)

GetProfileBundleID sends GET /v1/profiles/{id}/bundleId (profiles_bundleId_getToOneRelated).

func (*Client) GetProfileBundleIDRelationship

func (c *Client) GetProfileBundleIDRelationship(ctx context.Context, profileID string) (*ProfileBundleIDLinkageResponse, error)

GetProfileBundleIDRelationship sends GET /v1/profiles/{id}/relationships/bundleId (profiles_bundleId_getToOneRelationship).

func (*Client) GetProfileCertificates

func (c *Client) GetProfileCertificates(ctx context.Context, profileID string, opts ...ProfileCertificatesOption) (*CertificatesResponse, error)

GetProfileCertificates sends GET /v1/profiles/{id}/certificates (profiles_certificates_getToManyRelated).

func (*Client) GetProfileCertificatesRelationships

func (c *Client) GetProfileCertificatesRelationships(ctx context.Context, profileID string, opts ...LinkagesOption) (*ProfileCertificatesLinkagesResponse, error)

GetProfileCertificatesRelationships sends GET /v1/profiles/{id}/relationships/certificates (profiles_certificates_getToManyRelationship).

func (*Client) GetProfileDevices

func (c *Client) GetProfileDevices(ctx context.Context, profileID string, opts ...ProfileDevicesOption) (*DevicesResponse, error)

GetProfileDevices sends GET /v1/profiles/{id}/devices (profiles_devices_getToManyRelated).

func (*Client) GetProfileDevicesRelationships

func (c *Client) GetProfileDevicesRelationships(ctx context.Context, profileID string, opts ...LinkagesOption) (*ProfileDevicesLinkagesResponse, error)

GetProfileDevicesRelationships sends GET /v1/profiles/{id}/relationships/devices (profiles_devices_getToManyRelationship).

func (*Client) GetProfiles

func (c *Client) GetProfiles(ctx context.Context, opts ...ProfilesOption) (*ProfilesResponse, error)

GetProfiles sends GET /v1/profiles (profiles_getCollection).

func (*Client) GetPromotedPurchase

func (c *Client) GetPromotedPurchase(ctx context.Context, promotedPurchaseID string, opts ...PromotedPurchaseGetOption) (*PromotedPurchaseResponse, error)

GetPromotedPurchase sends GET /v1/promotedPurchases/{id} (promotedPurchases_getInstance).

func (*Client) GetRetentionMessage

func (c *Client) GetRetentionMessage(ctx context.Context, messageID string, opts ...RetentionMessagesOption) (*RetentionMessageResponse, error)

GetRetentionMessage retrieves a retention message.

func (*Client) GetRetentionMessageLocalization

func (c *Client) GetRetentionMessageLocalization(ctx context.Context, localizationID string, opts ...RetentionMessagesOption) (*RetentionMessageLocalizationResponse, error)

GetRetentionMessageLocalization retrieves a retention message localization.

func (*Client) GetRetentionMessageSubscriptions

func (c *Client) GetRetentionMessageSubscriptions(ctx context.Context, messageID string, opts ...RetentionMessagesOption) (*SubscriptionsResponse, error)

GetRetentionMessageSubscriptions lists subscriptions assigned to a retention message.

func (*Client) GetRetentionMessageSubscriptionsRelationships

func (c *Client) GetRetentionMessageSubscriptionsRelationships(ctx context.Context, messageID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetRetentionMessageSubscriptionsRelationships sends GET /v1/retentionMessages/{id}/relationships/subscriptions (retentionMessages_subscriptions_getToManyRelationship).

func (*Client) GetRetentionMessageVersion

func (c *Client) GetRetentionMessageVersion(ctx context.Context, versionID string, opts ...RetentionMessagesOption) (*RetentionMessageVersionResponse, error)

GetRetentionMessageVersion retrieves a retention message version.

func (*Client) GetRetentionMessageVersionLocalizations

func (c *Client) GetRetentionMessageVersionLocalizations(ctx context.Context, versionID string, opts ...RetentionMessagesOption) (*RetentionMessageLocalizationsResponse, error)

GetRetentionMessageVersionLocalizations lists localizations of a retention message version.

func (*Client) GetRetentionMessageVersionLocalizationsRelationships

func (c *Client) GetRetentionMessageVersionLocalizationsRelationships(ctx context.Context, versionID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetRetentionMessageVersionLocalizationsRelationships sends GET /v1/retentionMessageVersions/{id}/relationships/localizations (retentionMessageVersions_localizations_getToManyRelationship).

func (*Client) GetRetentionMessageVersionPlacement

func (c *Client) GetRetentionMessageVersionPlacement(ctx context.Context, versionID string, opts ...RetentionMessagesOption) (*json.RawMessage, error)

GetRetentionMessageVersionPlacement retrieves the raw asset library placement of a version.

func (*Client) GetRetentionMessageVersionPlacementRelationship

func (c *Client) GetRetentionMessageVersionPlacementRelationship(ctx context.Context, versionID string, opts ...RetentionMessagesOption) (*RetentionMessageLinkageResponse, error)

GetRetentionMessageVersionPlacementRelationship retrieves the placement linkage of a version.

func (*Client) GetRetentionMessageVersions

func (c *Client) GetRetentionMessageVersions(ctx context.Context, messageID string, opts ...RetentionMessagesOption) (*RetentionMessageVersionsResponse, error)

GetRetentionMessageVersions lists versions of a retention message.

func (*Client) GetRetentionMessageVersionsRelationships

func (c *Client) GetRetentionMessageVersionsRelationships(ctx context.Context, messageID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetRetentionMessageVersionsRelationships sends GET /v1/retentionMessages/{id}/relationships/versions (retentionMessages_versions_getToManyRelationship).

func (*Client) GetRetentionOffer

func (c *Client) GetRetentionOffer(ctx context.Context, offerID string, opts ...RetentionOffersOption) (*RetentionOfferResponse, error)

GetRetentionOffer retrieves a retention offer by ID.

func (*Client) GetRetentionOfferPrices

func (c *Client) GetRetentionOfferPrices(ctx context.Context, offerID string, opts ...RetentionOfferPricesOption) (*RetentionOfferPricesResponse, error)

GetRetentionOfferPrices lists the prices of a retention offer.

func (*Client) GetRetentionOfferPricesRelationships

func (c *Client) GetRetentionOfferPricesRelationships(ctx context.Context, offerID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetRetentionOfferPricesRelationships sends GET /v1/retentionOffers/{id}/relationships/prices (retentionOffers_prices_getToManyRelationship).

func (*Client) GetReviewSubmission

func (c *Client) GetReviewSubmission(ctx context.Context, submissionID string, opts ...ReviewSubmissionOption) (*ReviewSubmissionResponse, error)

GetReviewSubmission retrieves a review submission by ID.

func (*Client) GetReviewSubmissionItems

func (c *Client) GetReviewSubmissionItems(ctx context.Context, submissionID string, opts ...ReviewSubmissionItemsOption) (*ReviewSubmissionItemsResponse, error)

GetReviewSubmissionItems retrieves items for a review submission.

func (*Client) GetReviewSubmissionItemsRelationships

func (c *Client) GetReviewSubmissionItemsRelationships(ctx context.Context, submissionID string, opts ...LinkagesOption) (*ReviewSubmissionItemsLinkagesResponse, error)

GetReviewSubmissionItemsRelationships retrieves item linkages for a review submission.

func (*Client) GetReviewSubmissionItemsStrict

func (c *Client) GetReviewSubmissionItemsStrict(ctx context.Context, submissionID string, opts ...ReviewSubmissionItemsOption) (*ReviewSubmissionItemsResponse, error)

GetReviewSubmissionItemsStrict retrieves review submission items and validates the complete JSON:API collection envelope before callers use it as mutation preflight evidence.

func (*Client) GetReviewSubmissionStrict

func (c *Client) GetReviewSubmissionStrict(ctx context.Context, submissionID string, opts ...ReviewSubmissionOption) (*ReviewSubmissionResponse, error)

GetReviewSubmissionStrict retrieves a review submission and rejects a mixed data-and-errors document before callers use it as mutation preflight evidence.

func (*Client) GetReviewSubmissions

func (c *Client) GetReviewSubmissions(ctx context.Context, appID string, opts ...ReviewSubmissionsOption) (*ReviewSubmissionsResponse, error)

GetReviewSubmissions retrieves review submissions for an app.

func (*Client) GetReviewSubmissionsStrict

func (c *Client) GetReviewSubmissionsStrict(ctx context.Context, appID string, opts ...ReviewSubmissionsOption) (*ReviewSubmissionsResponse, error)

GetReviewSubmissionsStrict retrieves review submissions and validates the complete JSON:API collection envelope before callers use it as mutation preflight evidence.

func (*Client) GetReviews

func (c *Client) GetReviews(ctx context.Context, appID string, opts ...ReviewOption) (*ReviewsResponse, error)

GetReviews sends GET /v1/apps/{id}/customerReviews (apps_customerReviews_getToManyRelated).

func (*Client) GetRoutingAppCoverage

func (c *Client) GetRoutingAppCoverage(ctx context.Context, coverageID string) (*RoutingAppCoverageResponse, error)

GetRoutingAppCoverage sends GET /v1/routingAppCoverages/{id} (routingAppCoverages_getInstance).

func (*Client) GetRoutingAppCoverageForVersion

func (c *Client) GetRoutingAppCoverageForVersion(ctx context.Context, versionID string) (*RoutingAppCoverageResponse, error)

GetRoutingAppCoverageForVersion sends GET /v1/appStoreVersions/{id}/routingAppCoverage (appStoreVersions_routingAppCoverage_getToOneRelated).

func (*Client) GetSalesReport

func (c *Client) GetSalesReport(ctx context.Context, params SalesReportParams) (*ReportDownload, error)

GetSalesReport retrieves a sales report as a gzip stream.

func (*Client) GetSandboxTester

func (c *Client) GetSandboxTester(ctx context.Context, testerID string) (*SandboxTesterResponse, error)

GetSandboxTester retrieves a sandbox tester by ID.

func (*Client) GetSandboxTesters

func (c *Client) GetSandboxTesters(ctx context.Context, opts ...SandboxTestersOption) (*SandboxTestersResponse, error)

GetSandboxTesters retrieves sandbox testers with optional filters.

func (*Client) GetScmGitReference

func (c *Client) GetScmGitReference(ctx context.Context, referenceID string) (*ScmGitReferenceResponse, error)

GetScmGitReference sends GET /v1/scmGitReferences/{id} (scmGitReferences_getInstance).

func (*Client) GetScmGitReferences

func (c *Client) GetScmGitReferences(ctx context.Context, repositoryID string, opts ...ScmGitReferencesOption) (*ScmGitReferencesResponse, error)

GetScmGitReferences sends GET /v1/scmRepositories/{id}/gitReferences (scmRepositories_gitReferences_getToManyRelated).

func (*Client) GetScmProvider

func (c *Client) GetScmProvider(ctx context.Context, providerID string) (*ScmProviderResponse, error)

GetScmProvider sends GET /v1/scmProviders/{id} (scmProviders_getInstance).

func (*Client) GetScmProviderRepositories

func (c *Client) GetScmProviderRepositories(ctx context.Context, providerID string, opts ...ScmRepositoriesOption) (*ScmRepositoriesResponse, error)

GetScmProviderRepositories sends GET /v1/scmProviders/{id}/repositories (scmProviders_repositories_getToManyRelated).

func (*Client) GetScmProviders

func (c *Client) GetScmProviders(ctx context.Context, opts ...ScmProvidersOption) (*ScmProvidersResponse, error)

GetScmProviders sends GET /v1/scmProviders (scmProviders_getCollection).

func (*Client) GetScmPullRequest

func (c *Client) GetScmPullRequest(ctx context.Context, pullRequestID string) (*ScmPullRequestResponse, error)

GetScmPullRequest sends GET /v1/scmPullRequests/{id} (scmPullRequests_getInstance).

func (*Client) GetScmRepositories

func (c *Client) GetScmRepositories(ctx context.Context, opts ...ScmRepositoriesOption) (*ScmRepositoriesResponse, error)

GetScmRepositories sends GET /v1/scmRepositories (scmRepositories_getCollection).

func (*Client) GetScmRepository

func (c *Client) GetScmRepository(ctx context.Context, repositoryID string) (*ScmRepositoryResource, error)

GetScmRepository retrieves an SCM repository by ID.

func (*Client) GetScmRepositoryGitReferencesRelationships

func (c *Client) GetScmRepositoryGitReferencesRelationships(ctx context.Context, repositoryID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetScmRepositoryGitReferencesRelationships sends GET /v1/scmRepositories/{id}/relationships/gitReferences (scmRepositories_gitReferences_getToManyRelationship).

func (*Client) GetScmRepositoryPullRequests

func (c *Client) GetScmRepositoryPullRequests(ctx context.Context, repositoryID string, opts ...ScmPullRequestsOption) (*ScmPullRequestsResponse, error)

GetScmRepositoryPullRequests sends GET /v1/scmRepositories/{id}/pullRequests (scmRepositories_pullRequests_getToManyRelated).

func (*Client) GetScmRepositoryPullRequestsRelationships

func (c *Client) GetScmRepositoryPullRequestsRelationships(ctx context.Context, repositoryID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetScmRepositoryPullRequestsRelationships sends GET /v1/scmRepositories/{id}/relationships/pullRequests (scmRepositories_pullRequests_getToManyRelationship).

func (*Client) GetSubscription

func (c *Client) GetSubscription(ctx context.Context, subID string, opts ...SubscriptionOption) (*SubscriptionResponse, error)

GetSubscription sends GET /v1/subscriptions/{id} (subscriptions_getInstance).

func (*Client) GetSubscriptionAppStoreReviewScreenshot

func (c *Client) GetSubscriptionAppStoreReviewScreenshot(ctx context.Context, screenshotID string, opts ...SubscriptionAppStoreReviewScreenshotOption) (*SubscriptionAppStoreReviewScreenshotResponse, error)

GetSubscriptionAppStoreReviewScreenshot sends GET /v1/subscriptionAppStoreReviewScreenshots/{id} (subscriptionAppStoreReviewScreenshots_getInstance).

func (*Client) GetSubscriptionAppStoreReviewScreenshotForSubscription

func (c *Client) GetSubscriptionAppStoreReviewScreenshotForSubscription(ctx context.Context, subID string, opts ...SubscriptionAppStoreReviewScreenshotOption) (*SubscriptionAppStoreReviewScreenshotResponse, error)

GetSubscriptionAppStoreReviewScreenshotForSubscription sends GET /v1/subscriptions/{id}/appStoreReviewScreenshot (subscriptions_appStoreReviewScreenshot_getToOneRelated).

func (*Client) GetSubscriptionAvailability

func (c *Client) GetSubscriptionAvailability(ctx context.Context, availabilityID string) (*SubscriptionAvailabilityResponse, error)

GetSubscriptionAvailability sends GET /v1/subscriptionAvailabilities/{id} (subscriptionAvailabilities_getInstance).

func (*Client) GetSubscriptionAvailabilityAvailableTerritories

func (c *Client) GetSubscriptionAvailabilityAvailableTerritories(ctx context.Context, availabilityID string, opts ...SubscriptionAvailabilityTerritoriesOption) (*TerritoriesResponse, error)

GetSubscriptionAvailabilityAvailableTerritories sends GET /v1/subscriptionAvailabilities/{id}/availableTerritories (subscriptionAvailabilities_availableTerritories_getToManyRelated).

func (*Client) GetSubscriptionAvailabilityForSubscription

func (c *Client) GetSubscriptionAvailabilityForSubscription(ctx context.Context, subID string) (*SubscriptionAvailabilityResponse, error)

GetSubscriptionAvailabilityForSubscription sends GET /v1/subscriptions/{id}/subscriptionAvailability (subscriptions_subscriptionAvailability_getToOneRelated).

func (*Client) GetSubscriptionGracePeriod

func (c *Client) GetSubscriptionGracePeriod(ctx context.Context, gracePeriodID string) (*SubscriptionGracePeriodResponse, error)

GetSubscriptionGracePeriod sends GET /v1/subscriptionGracePeriods/{id} (subscriptionGracePeriods_getInstance).

func (*Client) GetSubscriptionGroup

func (c *Client) GetSubscriptionGroup(ctx context.Context, groupID string, opts ...SubscriptionGroupsOption) (*SubscriptionGroupResponse, error)

GetSubscriptionGroup retrieves a subscription group by ID.

func (*Client) GetSubscriptionGroupLocalizationV2 added in v1.260722.0

func (c *Client) GetSubscriptionGroupLocalizationV2(ctx context.Context, localizationID string, opts ...SubscriptionGroupVersionLocalizationsOption) (*SubscriptionGroupLocalizationV2Response, error)

GetSubscriptionGroupLocalizationV2 retrieves a version-scoped localization.

func (*Client) GetSubscriptionGroupLocalizations deprecated

func (c *Client) GetSubscriptionGroupLocalizations(ctx context.Context, groupID string, opts ...SubscriptionGroupLocalizationsOption) (*SubscriptionGroupLocalizationsResponse, error)

GetSubscriptionGroupLocalizations retrieves subscription group localizations for a group.

Deprecated: Use GetSubscriptionGroupVersionLocalizations with a subscription group version ID.

func (*Client) GetSubscriptionGroupVersion added in v1.260722.0

func (c *Client) GetSubscriptionGroupVersion(ctx context.Context, versionID string, opts ...SubscriptionGroupVersionsOption) (*SubscriptionGroupVersionResponse, error)

GetSubscriptionGroupVersion retrieves a version by ID.

func (*Client) GetSubscriptionGroupVersionLocalizations added in v1.260722.0

func (c *Client) GetSubscriptionGroupVersionLocalizations(ctx context.Context, versionID string, opts ...SubscriptionGroupVersionLocalizationsOption) (*SubscriptionGroupLocalizationsV2Response, error)

GetSubscriptionGroupVersionLocalizations sends GET /v1/subscriptionGroupVersions/{id}/localizations (subscriptionGroupVersions_localizations_getToManyRelated).

func (*Client) GetSubscriptionGroupVersionLocalizationsRelationships added in v1.260722.0

func (c *Client) GetSubscriptionGroupVersionLocalizationsRelationships(ctx context.Context, versionID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetSubscriptionGroupVersionLocalizationsRelationships sends GET /v1/subscriptionGroupVersions/{id}/relationships/localizations (subscriptionGroupVersions_localizations_getToManyRelationship).

func (*Client) GetSubscriptionGroupVersions added in v1.260722.0

func (c *Client) GetSubscriptionGroupVersions(ctx context.Context, groupID string, opts ...SubscriptionGroupVersionsOption) (*SubscriptionGroupVersionsResponse, error)

GetSubscriptionGroupVersions sends GET /v1/subscriptionGroups/{id}/versions (subscriptionGroups_versions_getToManyRelated).

func (*Client) GetSubscriptionGroupVersionsRelationships added in v1.260722.0

func (c *Client) GetSubscriptionGroupVersionsRelationships(ctx context.Context, groupID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetSubscriptionGroupVersionsRelationships sends GET /v1/subscriptionGroups/{id}/relationships/versions (subscriptionGroups_versions_getToManyRelationship).

func (*Client) GetSubscriptionGroups

func (c *Client) GetSubscriptionGroups(ctx context.Context, appID string, opts ...SubscriptionGroupsOption) (*SubscriptionGroupsResponse, error)

GetSubscriptionGroups sends GET /v1/apps/{id}/subscriptionGroups (apps_subscriptionGroups_getToManyRelated).

func (*Client) GetSubscriptionImageV2 added in v1.260722.0

func (c *Client) GetSubscriptionImageV2(ctx context.Context, imageID string, opts ...SubscriptionImageV2Option) (*SubscriptionImageV2Response, error)

GetSubscriptionImageV2 sends GET /v2/subscriptionImages/{id} (subscriptionImagesV2_getInstance).

func (*Client) GetSubscriptionImages deprecated

func (c *Client) GetSubscriptionImages(ctx context.Context, subscriptionID string, opts ...SubscriptionImagesOption) (*SubscriptionImagesResponse, error)

GetSubscriptionImages retrieves subscription images for a subscription.

Deprecated: Use GetSubscriptionVersionImages with a subscription version ID.

func (*Client) GetSubscriptionIntroductoryOffers

func (c *Client) GetSubscriptionIntroductoryOffers(ctx context.Context, subscriptionID string, opts ...SubscriptionIntroductoryOffersOption) (*SubscriptionIntroductoryOffersResponse, error)

GetSubscriptionIntroductoryOffers retrieves introductory offers for a subscription.

func (*Client) GetSubscriptionLocalizationV2 added in v1.260722.0

func (c *Client) GetSubscriptionLocalizationV2(ctx context.Context, localizationID string, opts ...SubscriptionLocalizationV2Option) (*SubscriptionLocalizationV2Response, error)

GetSubscriptionLocalizationV2 sends GET /v2/subscriptionLocalizations/{id} (subscriptionLocalizationsV2_getInstance).

func (*Client) GetSubscriptionLocalizations deprecated

func (c *Client) GetSubscriptionLocalizations(ctx context.Context, subscriptionID string, opts ...SubscriptionLocalizationsOption) (*SubscriptionLocalizationsResponse, error)

GetSubscriptionLocalizations retrieves subscription localizations for a subscription.

Deprecated: Use GetSubscriptionVersionLocalizations with a subscription version ID.

func (*Client) GetSubscriptionOfferCode

func (c *Client) GetSubscriptionOfferCode(ctx context.Context, offerCodeID string, opts ...SubscriptionOfferCodeOption) (*SubscriptionOfferCodeResponse, error)

GetSubscriptionOfferCode retrieves an offer code by ID.

func (*Client) GetSubscriptionOfferCodeCustomCode

func (c *Client) GetSubscriptionOfferCodeCustomCode(ctx context.Context, customCodeID string) (*SubscriptionOfferCodeCustomCodeResponse, error)

GetSubscriptionOfferCodeCustomCode sends GET /v1/subscriptionOfferCodeCustomCodes/{id} (subscriptionOfferCodeCustomCodes_getInstance).

func (*Client) GetSubscriptionOfferCodeCustomCodes

func (c *Client) GetSubscriptionOfferCodeCustomCodes(ctx context.Context, offerCodeID string, opts ...SubscriptionOfferCodeCustomCodesOption) (*SubscriptionOfferCodeCustomCodesResponse, error)

GetSubscriptionOfferCodeCustomCodes sends GET /v1/subscriptionOfferCodes/{id}/customCodes (subscriptionOfferCodes_customCodes_getToManyRelated).

func (*Client) GetSubscriptionOfferCodeOneTimeUseCode

func (c *Client) GetSubscriptionOfferCodeOneTimeUseCode(ctx context.Context, oneTimeUseCodeID string) (*SubscriptionOfferCodeOneTimeUseCodeResponse, error)

GetSubscriptionOfferCodeOneTimeUseCode sends GET /v1/subscriptionOfferCodeOneTimeUseCodes/{id} (subscriptionOfferCodeOneTimeUseCodes_getInstance).

func (*Client) GetSubscriptionOfferCodeOneTimeUseCodeValues

func (c *Client) GetSubscriptionOfferCodeOneTimeUseCodeValues(ctx context.Context, oneTimeUseCodeID string) ([]string, error)

GetSubscriptionOfferCodeOneTimeUseCodeValues retrieves offer code values as a list of codes.

func (*Client) GetSubscriptionOfferCodeOneTimeUseCodes

func (c *Client) GetSubscriptionOfferCodeOneTimeUseCodes(ctx context.Context, offerCodeID string, opts ...SubscriptionOfferCodeOneTimeUseCodesOption) (*SubscriptionOfferCodeOneTimeUseCodesResponse, error)

GetSubscriptionOfferCodeOneTimeUseCodes sends GET /v1/subscriptionOfferCodes/{id}/oneTimeUseCodes (subscriptionOfferCodes_oneTimeUseCodes_getToManyRelated).

func (*Client) GetSubscriptionOfferCodePrices

func (c *Client) GetSubscriptionOfferCodePrices(ctx context.Context, offerCodeID string, opts ...SubscriptionOfferCodePricesOption) (*SubscriptionOfferCodePricesResponse, error)

GetSubscriptionOfferCodePrices retrieves prices for an offer code.

func (*Client) GetSubscriptionOfferCodes

func (c *Client) GetSubscriptionOfferCodes(ctx context.Context, subscriptionID string, opts ...SubscriptionOfferCodesOption) (*SubscriptionOfferCodesResponse, error)

GetSubscriptionOfferCodes retrieves offer codes for a subscription.

func (*Client) GetSubscriptionPlanAvailabilitiesForSubscription added in v1.260610.0

func (c *Client) GetSubscriptionPlanAvailabilitiesForSubscription(ctx context.Context, subID string, opts ...SubscriptionPlanAvailabilitiesOption) (*SubscriptionPlanAvailabilitiesResponse, error)

GetSubscriptionPlanAvailabilitiesForSubscription retrieves plan availabilities for a subscription.

func (*Client) GetSubscriptionPlanAvailability added in v1.260904.0

func (c *Client) GetSubscriptionPlanAvailability(ctx context.Context, planAvailabilityID string) (*SubscriptionPlanAvailabilityResponse, error)

GetSubscriptionPlanAvailability sends GET /v1/subscriptionPlanAvailabilities/{id} (subscriptionPlanAvailabilities_getInstance).

func (*Client) GetSubscriptionPlanAvailabilityAvailableTerritories

func (c *Client) GetSubscriptionPlanAvailabilityAvailableTerritories(ctx context.Context, planAvailabilityID string, opts ...SubscriptionAvailabilityTerritoriesOption) (*TerritoriesResponse, error)

GetSubscriptionPlanAvailabilityAvailableTerritories sends GET /v1/subscriptionPlanAvailabilities/{id}/availableTerritories (subscriptionPlanAvailabilities_availableTerritories_getToManyRelated).

func (*Client) GetSubscriptionPlanAvailabilityAvailableTerritoriesRelationships added in v1.260616.0

func (c *Client) GetSubscriptionPlanAvailabilityAvailableTerritoriesRelationships(ctx context.Context, planAvailabilityID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetSubscriptionPlanAvailabilityAvailableTerritoriesRelationships sends GET /v1/subscriptionPlanAvailabilities/{id}/relationships/availableTerritories (subscriptionPlanAvailabilities_availableTerritories_getToManyRelationship).

func (*Client) GetSubscriptionPricePoint

func (c *Client) GetSubscriptionPricePoint(ctx context.Context, pricePointID string, opts ...SubscriptionPricePointOption) (*SubscriptionPricePointResponse, error)

GetSubscriptionPricePoint sends GET /v1/subscriptionPricePoints/{id} (subscriptionPricePoints_getInstance).

func (*Client) GetSubscriptionPricePointAdjustedEqualizations added in v1.260722.0

func (c *Client) GetSubscriptionPricePointAdjustedEqualizations(ctx context.Context, pricePointID string, opts ...SubscriptionPricePointEqualizationsOption) (*SubscriptionPricePointsResponse, error)

GetSubscriptionPricePointAdjustedEqualizations retrieves adjusted equalizations for a price point.

func (*Client) GetSubscriptionPricePointEqualizations

func (c *Client) GetSubscriptionPricePointEqualizations(ctx context.Context, pricePointID string, opts ...SubscriptionPricePointEqualizationsOption) (*SubscriptionPricePointsResponse, error)

GetSubscriptionPricePointEqualizations retrieves equalizations for a price point.

func (*Client) GetSubscriptionPricePoints

func (c *Client) GetSubscriptionPricePoints(ctx context.Context, subscriptionID string, opts ...SubscriptionPricePointsOption) (*SubscriptionPricePointsResponse, error)

GetSubscriptionPricePoints retrieves price points for a subscription.

func (*Client) GetSubscriptionPrices

func (c *Client) GetSubscriptionPrices(ctx context.Context, subscriptionID string, opts ...SubscriptionPricesOption) (*SubscriptionPricesResponse, error)

GetSubscriptionPrices sends GET /v1/subscriptions/{id}/prices (subscriptions_prices_getToManyRelated).

func (*Client) GetSubscriptionPricesRelationships

func (c *Client) GetSubscriptionPricesRelationships(ctx context.Context, subID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetSubscriptionPricesRelationships sends GET /v1/subscriptions/{id}/relationships/prices (subscriptions_prices_getToManyRelationship).

func (*Client) GetSubscriptionPromotedPurchase

func (c *Client) GetSubscriptionPromotedPurchase(ctx context.Context, subID string, opts ...PromotedPurchaseGetOption) (*PromotedPurchaseResponse, error)

GetSubscriptionPromotedPurchase sends GET /v1/subscriptions/{id}/promotedPurchase (subscriptions_promotedPurchase_getToOneRelated).

func (*Client) GetSubscriptionPromotionalOffer

func (c *Client) GetSubscriptionPromotionalOffer(ctx context.Context, offerID string, opts ...SubscriptionPromotionalOfferOption) (*SubscriptionPromotionalOfferResponse, error)

GetSubscriptionPromotionalOffer retrieves a promotional offer by ID.

func (*Client) GetSubscriptionPromotionalOfferPrices

func (c *Client) GetSubscriptionPromotionalOfferPrices(ctx context.Context, offerID string, opts ...SubscriptionPromotionalOfferPricesOption) (*SubscriptionPromotionalOfferPricesResponse, error)

GetSubscriptionPromotionalOfferPrices retrieves prices for a promotional offer.

func (*Client) GetSubscriptionPromotionalOffers

func (c *Client) GetSubscriptionPromotionalOffers(ctx context.Context, subscriptionID string, opts ...SubscriptionPromotionalOffersOption) (*SubscriptionPromotionalOffersResponse, error)

GetSubscriptionPromotionalOffers retrieves promotional offers for a subscription.

func (*Client) GetSubscriptionRetentionMessage

func (c *Client) GetSubscriptionRetentionMessage(ctx context.Context, subscriptionID string, opts ...RetentionMessagesOption) (*json.RawMessage, error)

GetSubscriptionRetentionMessage retrieves the raw retention message assigned to a subscription; data is null when none is assigned.

func (*Client) GetSubscriptionRetentionMessageOffers

func (c *Client) GetSubscriptionRetentionMessageOffers(ctx context.Context, subscriptionID string, opts ...RetentionOffersOption) (*RetentionOffersResponse, error)

GetSubscriptionRetentionMessageOffers lists the retention offers presented with a subscription's retention message.

func (*Client) GetSubscriptionRetentionMessageOffersRelationships

func (c *Client) GetSubscriptionRetentionMessageOffersRelationships(ctx context.Context, subscriptionID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetSubscriptionRetentionMessageOffersRelationships sends GET /v1/subscriptions/{id}/relationships/retentionMessageOffers (subscriptions_retentionMessageOffers_getToManyRelationship).

func (*Client) GetSubscriptionRetentionMessageRelationship

func (c *Client) GetSubscriptionRetentionMessageRelationship(ctx context.Context, subscriptionID string, opts ...RetentionMessagesOption) (*RetentionMessageLinkageResponse, error)

GetSubscriptionRetentionMessageRelationship retrieves the retention message linkage of a subscription.

func (*Client) GetSubscriptionRetentionOffers

func (c *Client) GetSubscriptionRetentionOffers(ctx context.Context, subscriptionID string, opts ...RetentionOffersOption) (*RetentionOffersResponse, error)

GetSubscriptionRetentionOffers lists the retention offers of a subscription.

func (*Client) GetSubscriptionRetentionOffersRelationships

func (c *Client) GetSubscriptionRetentionOffersRelationships(ctx context.Context, subscriptionID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetSubscriptionRetentionOffersRelationships sends GET /v1/subscriptions/{id}/relationships/retentionOffers (subscriptions_retentionOffers_getToManyRelationship).

func (*Client) GetSubscriptionVersion added in v1.260722.0

func (c *Client) GetSubscriptionVersion(ctx context.Context, versionID string, opts ...SubscriptionVersionOption) (*SubscriptionVersionResponse, error)

GetSubscriptionVersion sends GET /v1/subscriptionVersions/{id} (subscriptionVersions_getInstance).

func (*Client) GetSubscriptionVersionImage added in v1.260722.0

func (c *Client) GetSubscriptionVersionImage(ctx context.Context, versionID string, opts ...SubscriptionImageV2Option) (*SubscriptionImageV2Response, error)

GetSubscriptionVersionImage sends GET /v1/subscriptionVersions/{id}/image (subscriptionVersions_image_getToOneRelated).

func (*Client) GetSubscriptionVersionImageRelationship added in v1.260722.0

func (c *Client) GetSubscriptionVersionImageRelationship(ctx context.Context, versionID string) (*SubscriptionVersionImageLinkageResponse, error)

GetSubscriptionVersionImageRelationship sends GET /v1/subscriptionVersions/{id}/relationships/image (subscriptionVersions_image_getToOneRelationship).

func (*Client) GetSubscriptionVersionImages added in v1.260722.0

func (c *Client) GetSubscriptionVersionImages(ctx context.Context, versionID string, opts ...SubscriptionVersionImagesOption) (*SubscriptionImagesV2Response, error)

GetSubscriptionVersionImages sends GET /v1/subscriptionVersions/{id}/images (subscriptionVersions_images_getToManyRelated).

func (*Client) GetSubscriptionVersionImagesRelationships added in v1.260722.0

func (c *Client) GetSubscriptionVersionImagesRelationships(ctx context.Context, versionID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetSubscriptionVersionImagesRelationships sends GET /v1/subscriptionVersions/{id}/relationships/images (subscriptionVersions_images_getToManyRelationship).

func (*Client) GetSubscriptionVersionLocalizations added in v1.260722.0

func (c *Client) GetSubscriptionVersionLocalizations(ctx context.Context, versionID string, opts ...SubscriptionVersionLocalizationsOption) (*SubscriptionLocalizationsV2Response, error)

GetSubscriptionVersionLocalizations sends GET /v1/subscriptionVersions/{id}/localizations (subscriptionVersions_localizations_getToManyRelated).

func (*Client) GetSubscriptionVersionLocalizationsRelationships added in v1.260722.0

func (c *Client) GetSubscriptionVersionLocalizationsRelationships(ctx context.Context, versionID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetSubscriptionVersionLocalizationsRelationships sends GET /v1/subscriptionVersions/{id}/relationships/localizations (subscriptionVersions_localizations_getToManyRelationship).

func (*Client) GetSubscriptionVersions added in v1.260722.0

func (c *Client) GetSubscriptionVersions(ctx context.Context, subscriptionID string, opts ...SubscriptionVersionsOption) (*SubscriptionVersionsResponse, error)

GetSubscriptionVersions sends GET /v1/subscriptions/{id}/versions (subscriptions_versions_getToManyRelated).

func (*Client) GetSubscriptionVersionsRelationships added in v1.260722.0

func (c *Client) GetSubscriptionVersionsRelationships(ctx context.Context, subscriptionID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetSubscriptionVersionsRelationships sends GET /v1/subscriptions/{id}/relationships/versions (subscriptions_versions_getToManyRelationship).

func (*Client) GetSubscriptionWinBackOffers

func (c *Client) GetSubscriptionWinBackOffers(ctx context.Context, subscriptionID string, opts ...WinBackOffersOption) (*WinBackOffersResponse, error)

GetSubscriptionWinBackOffers sends GET /v1/subscriptions/{id}/winBackOffers (subscriptions_winBackOffers_getToManyRelated).

func (*Client) GetSubscriptionWinBackOffersRelationships

func (c *Client) GetSubscriptionWinBackOffersRelationships(ctx context.Context, subscriptionID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetSubscriptionWinBackOffersRelationships sends GET /v1/subscriptions/{id}/relationships/winBackOffers (subscriptions_winBackOffers_getToManyRelationship).

func (*Client) GetSubscriptions

func (c *Client) GetSubscriptions(ctx context.Context, groupID string, opts ...SubscriptionsOption) (*SubscriptionsResponse, error)

GetSubscriptions sends GET /v1/subscriptionGroups/{id}/subscriptions (subscriptionGroups_subscriptions_getToManyRelated).

func (*Client) GetTerritories

func (c *Client) GetTerritories(ctx context.Context, opts ...TerritoriesOption) (*TerritoriesResponse, error)

GetTerritories sends GET /v1/territories (territories_getCollection).

func (*Client) GetTerritoryAvailabilities

func (c *Client) GetTerritoryAvailabilities(ctx context.Context, availabilityID string, opts ...TerritoryAvailabilitiesOption) (*TerritoryAvailabilitiesResponse, error)

GetTerritoryAvailabilities retrieves territory availabilities for an availability ID.

func (*Client) GetUser

func (c *Client) GetUser(ctx context.Context, userID string, opts ...UsersOption) (*UserResponse, error)

GetUser sends GET /v1/users/{id} (users_getInstance).

func (*Client) GetUserInvitation

func (c *Client) GetUserInvitation(ctx context.Context, inviteID string) (*UserInvitationResponse, error)

GetUserInvitation sends GET /v1/userInvitations/{id} (userInvitations_getInstance).

func (*Client) GetUserInvitationVisibleApps

func (c *Client) GetUserInvitationVisibleApps(ctx context.Context, invitationID string, opts ...UserInvitationVisibleAppsOption) (*AppsResponse, error)

GetUserInvitationVisibleApps sends GET /v1/userInvitations/{id}/visibleApps (userInvitations_visibleApps_getToManyRelated).

func (*Client) GetUserInvitations

func (c *Client) GetUserInvitations(ctx context.Context, opts ...UserInvitationsOption) (*UserInvitationsResponse, error)

GetUserInvitations sends GET /v1/userInvitations (userInvitations_getCollection).

func (*Client) GetUserVisibleApps

func (c *Client) GetUserVisibleApps(ctx context.Context, userID string, opts ...UserVisibleAppsOption) (*AppsResponse, error)

GetUserVisibleApps sends GET /v1/users/{id}/visibleApps (users_visibleApps_getToManyRelated).

func (*Client) GetUserVisibleAppsRelationships

func (c *Client) GetUserVisibleAppsRelationships(ctx context.Context, userID string, opts ...LinkagesOption) (*UserVisibleAppsLinkagesResponse, error)

GetUserVisibleAppsRelationships retrieves visible app linkages for a user.

func (*Client) GetUsers

func (c *Client) GetUsers(ctx context.Context, opts ...UsersOption) (*UsersResponse, error)

GetUsers sends GET /v1/users (users_getCollection).

func (*Client) GetWebhook

func (c *Client) GetWebhook(ctx context.Context, webhookID string) (*WebhookResponse, error)

GetWebhook sends GET /v1/webhooks/{id} (webhooks_getInstance).

func (*Client) GetWebhookDeliveries

func (c *Client) GetWebhookDeliveries(ctx context.Context, webhookID string, opts ...WebhookDeliveriesOption) (*WebhookDeliveriesResponse, error)

GetWebhookDeliveries sends GET /v1/webhooks/{id}/deliveries (webhooks_deliveries_getToManyRelated).

func (*Client) GetWebhookDeliveriesRelationships

func (c *Client) GetWebhookDeliveriesRelationships(ctx context.Context, webhookID string, opts ...LinkagesOption) (*WebhookDeliveriesLinkagesResponse, error)

GetWebhookDeliveriesRelationships sends GET /v1/webhooks/{id}/relationships/deliveries (webhooks_deliveries_getToManyRelationship).

func (*Client) GetWinBackOffer

func (c *Client) GetWinBackOffer(ctx context.Context, offerID string) (*WinBackOfferResponse, error)

GetWinBackOffer sends GET /v1/winBackOffers/{id} (winBackOffers_getInstance).

func (*Client) GetWinBackOfferPrices

func (c *Client) GetWinBackOfferPrices(ctx context.Context, offerID string, opts ...WinBackOfferPricesOption) (*WinBackOfferPricesResponse, error)

GetWinBackOfferPrices sends GET /v1/winBackOffers/{id}/prices (winBackOffers_prices_getToManyRelated).

func (*Client) GetWinBackOfferPricesRelationships

func (c *Client) GetWinBackOfferPricesRelationships(ctx context.Context, offerID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetWinBackOfferPricesRelationships sends GET /v1/winBackOffers/{id}/relationships/prices (winBackOffers_prices_getToManyRelationship).

func (*Client) IsEnterpriseProgramAPI

func (c *Client) IsEnterpriseProgramAPI() bool

IsEnterpriseProgramAPI reports whether the client targets the Enterprise Program API.

func (*Client) ListAppInfoCandidatesForApp added in v1.260825.0

func (c *Client) ListAppInfoCandidatesForApp(ctx context.Context, appID string) ([]AppInfoCandidate, error)

ListAppInfoCandidatesForApp lists every app info candidate for an app.

func (*Client) ListBetaBuildLocalizations

func (c *Client) ListBetaBuildLocalizations(ctx context.Context, opts ...BetaBuildLocalizationsOption) (*BetaBuildLocalizationsResponse, error)

ListBetaBuildLocalizations sends GET /v1/betaBuildLocalizations (betaBuildLocalizations_getCollection).

func (*Client) ListBetaGroups

func (c *Client) ListBetaGroups(ctx context.Context, opts ...BetaGroupsOption) (*BetaGroupsResponse, error)

ListBetaGroups sends GET /v1/betaGroups (betaGroups_getCollection).

func (*Client) ListNotarizations

func (c *Client) ListNotarizations(ctx context.Context) (*NotarySubmissionsListResponse, error)

ListNotarizations retrieves previous notarization submissions.

func (*Client) ListReviewSubmissions

func (c *Client) ListReviewSubmissions(ctx context.Context, opts ...ReviewSubmissionsOption) (*ReviewSubmissionsResponse, error)

ListReviewSubmissions sends GET /v1/reviewSubmissions (reviewSubmissions_getCollection).

func (*Client) RawPaginatedGET

func (c *Client) RawPaginatedGET(ctx context.Context, path string, requestContext RequestContextFunc) ([]byte, error)

RawPaginatedGET fetches a collection and follows links.next until the last page, returning one merged envelope: data and included are concatenated (with duplicate included resources removed), while links and meta come from the first page with links.next and meta.paging.nextCursor dropped. Each next URL must stay on the App Store Connect host over HTTPS, and a repeated URL stops the loop with ErrRepeatedPaginationURL. requestContext, when non-nil, derives a fresh context for every page request.

func (*Client) RawRequest

func (c *Client) RawRequest(ctx context.Context, method, path string, body []byte) ([]byte, error)

RawRequest sends one authenticated App Store Connect request and returns the response body unmodified. It shares the typed client's retry, rate-limit, timeout, and error-parsing behavior; the caller owns method, path, and payload validation.

func (*Client) RawRequestWithQuery

func (c *Client) RawRequestWithQuery(ctx context.Context, method, path string, query url.Values, body []byte) ([]byte, error)

RawRequestWithQuery takes caller-validated query parameters separately from the path, so they cannot be confused with an escaped resource ID.

func (*Client) RemoveBetaGroupsFromBuild

func (c *Client) RemoveBetaGroupsFromBuild(ctx context.Context, buildID string, groupIDs []string) error

RemoveBetaGroupsFromBuild sends DELETE /v1/builds/{id}/relationships/betaGroups (builds_betaGroups_deleteToManyRelationship).

func (*Client) RemoveBetaTesterFromApps

func (c *Client) RemoveBetaTesterFromApps(ctx context.Context, testerID string, appIDs []string) error

RemoveBetaTesterFromApps sends DELETE /v1/betaTesters/{id}/relationships/apps (betaTesters_apps_deleteToManyRelationship).

func (*Client) RemoveBetaTesterFromGroups

func (c *Client) RemoveBetaTesterFromGroups(ctx context.Context, testerID string, groupIDs []string) error

RemoveBetaTesterFromGroups sends DELETE /v1/betaTesters/{id}/relationships/betaGroups (betaTesters_betaGroups_deleteToManyRelationship).

func (*Client) RemoveBetaTestersFromApp

func (c *Client) RemoveBetaTestersFromApp(ctx context.Context, appID string, testerIDs []string) error

RemoveBetaTestersFromApp sends DELETE /v1/apps/{id}/relationships/betaTesters (apps_betaTesters_deleteToManyRelationship).

func (*Client) RemoveBetaTestersFromGroup

func (c *Client) RemoveBetaTestersFromGroup(ctx context.Context, groupID string, testerIDs []string) error

RemoveBetaTestersFromGroup sends DELETE /v1/betaGroups/{id}/relationships/betaTesters (betaGroups_betaTesters_deleteToManyRelationship).

func (*Client) RemoveBuildsFromBetaTester

func (c *Client) RemoveBuildsFromBetaTester(ctx context.Context, testerID string, buildIDs []string) error

RemoveBuildsFromBetaTester sends DELETE /v1/betaTesters/{id}/relationships/builds (betaTesters_builds_deleteToManyRelationship).

func (*Client) RemoveGameCenterActivityAchievements

func (c *Client) RemoveGameCenterActivityAchievements(ctx context.Context, activityID string, achievementIDs []string) error

RemoveGameCenterActivityAchievements removes achievements from an activity.

func (*Client) RemoveGameCenterActivityAchievementsV2

func (c *Client) RemoveGameCenterActivityAchievementsV2(ctx context.Context, activityID string, achievementIDs []string) error

RemoveGameCenterActivityAchievementsV2 removes v2 achievements from an activity.

func (*Client) RemoveGameCenterActivityLeaderboards

func (c *Client) RemoveGameCenterActivityLeaderboards(ctx context.Context, activityID string, leaderboardIDs []string) error

RemoveGameCenterActivityLeaderboards removes leaderboards from an activity.

func (*Client) RemoveGameCenterActivityLeaderboardsV2

func (c *Client) RemoveGameCenterActivityLeaderboardsV2(ctx context.Context, activityID string, leaderboardIDs []string) error

RemoveGameCenterActivityLeaderboardsV2 removes v2 leaderboards from an activity.

func (*Client) RemoveGameCenterLeaderboardSetMembers

func (c *Client) RemoveGameCenterLeaderboardSetMembers(ctx context.Context, setID string, leaderboardIDs []string) error

RemoveGameCenterLeaderboardSetMembers sends DELETE /v1/gameCenterLeaderboardSets/{id}/relationships/gameCenterLeaderboards (gameCenterLeaderboardSets_gameCenterLeaderboards_deleteToManyRelationship).

func (*Client) RemoveGameCenterLeaderboardSetMembersV2

func (c *Client) RemoveGameCenterLeaderboardSetMembersV2(ctx context.Context, setID string, leaderboardIDs []string) error

RemoveGameCenterLeaderboardSetMembersV2 sends DELETE /v2/gameCenterLeaderboardSets/{id}/relationships/gameCenterLeaderboards (gameCenterLeaderboardSetsV2_gameCenterLeaderboards_deleteToManyRelationship).

func (*Client) RemoveIndividualTestersFromBuild

func (c *Client) RemoveIndividualTestersFromBuild(ctx context.Context, buildID string, testerIDs []string) error

RemoveIndividualTestersFromBuild sends DELETE /v1/builds/{id}/relationships/individualTesters (builds_individualTesters_deleteToManyRelationship).

func (*Client) RemoveSubscriptionRetentionMessageOffers

func (c *Client) RemoveSubscriptionRetentionMessageOffers(ctx context.Context, subscriptionID string, offerIDs []string) error

RemoveSubscriptionRetentionMessageOffers sends DELETE /v1/subscriptions/{id}/relationships/retentionMessageOffers (subscriptions_retentionMessageOffers_deleteToManyRelationship).

func (*Client) RemoveUserVisibleApps

func (c *Client) RemoveUserVisibleApps(ctx context.Context, userID string, appIDs []string) error

RemoveUserVisibleApps sends DELETE /v1/users/{id}/relationships/visibleApps (users_visibleApps_deleteToManyRelationship).

func (*Client) ResolveAppInfoIDForAppStoreVersion

func (c *Client) ResolveAppInfoIDForAppStoreVersion(ctx context.Context, versionID string) (string, error)

ResolveAppInfoIDForAppStoreVersion resolves the app info backing a version-scoped workflow.

func (*Client) ResolveCiProductForApp

func (c *Client) ResolveCiProductForApp(ctx context.Context, appID string) (*CiProductResource, error)

ResolveCiProductForApp finds the CI product for a given app ID. Returns an error if no product or multiple products are found.

func (*Client) ResolveCiWorkflowByName

func (c *Client) ResolveCiWorkflowByName(ctx context.Context, productID, workflowName string) (*CiWorkflowResource, error)

ResolveCiWorkflowByName finds a workflow by name for a given product. Returns an error if no workflow or multiple workflows match the name.

func (*Client) ResolveGitReferenceByName

func (c *Client) ResolveGitReferenceByName(ctx context.Context, repositoryID, refName string) (*ScmGitReferenceResource, error)

ResolveGitReferenceByName finds a git reference (branch or tag) by name. Returns an error if no reference or multiple references match the name.

func (*Client) RevokeCertificate

func (c *Client) RevokeCertificate(ctx context.Context, id string) error

RevokeCertificate sends DELETE /v1/certificates/{id} (certificates_deleteInstance).

func (*Client) SetAppPreviewFrameTimeCode added in v1.260325.0

func (c *Client) SetAppPreviewFrameTimeCode(ctx context.Context, previewID string, timeCode string) (*AppPreviewResponse, error)

SetAppPreviewFrameTimeCode sends PATCH /v1/appPreviews/{id} (appPreviews_updateInstance).

func (*Client) SetAppPromotedPurchases

func (c *Client) SetAppPromotedPurchases(ctx context.Context, appID string, promotedPurchaseIDs []string) error

SetAppPromotedPurchases sends PATCH /v1/apps/{id}/relationships/promotedPurchases (apps_promotedPurchases_replaceToManyRelationship).

func (*Client) SetGameCenterLeaderboardSetMembers

func (c *Client) SetGameCenterLeaderboardSetMembers(ctx context.Context, setID string, leaderboardIDs []string) error

SetGameCenterLeaderboardSetMembers sets leaderboard members for a leaderboard set.

func (*Client) SetGameCenterLeaderboardSetMembersV2

func (c *Client) SetGameCenterLeaderboardSetMembersV2(ctx context.Context, setID string, leaderboardIDs []string) error

SetGameCenterLeaderboardSetMembersV2 sets leaderboard members for a v2 leaderboard set.

func (*Client) SetNotaryBaseURL

func (c *Client) SetNotaryBaseURL(url string)

SetNotaryBaseURL overrides the Notary API base URL (for testing).

func (*Client) SetSubscriptionInitialPrice

func (c *Client) SetSubscriptionInitialPrice(ctx context.Context, subID, pricePointID, territoryID string, attrs SubscriptionPriceCreateAttributes) (*SubscriptionResponse, error)

SetSubscriptionInitialPrice sets the initial base price on a subscription that has no existing prices. This uses PATCH /v1/subscriptions/{id} with inline SubscriptionPriceInlineCreate resources, which is the only supported method for setting the first price on a new subscription. POST /v1/subscriptionPrices only works for price *changes* on subscriptions that already have a price.

func (*Client) SetSubscriptionPriceMatrix added in v1.260716.0

func (c *Client) SetSubscriptionPriceMatrix(ctx context.Context, subID string, entries []SubscriptionInlinePrice) (*SubscriptionResponse, error)

SetSubscriptionPriceMatrix atomically sets an initial subscription price matrix using inline SubscriptionPriceInlineCreate resources.

func (*Client) SetSubscriptionRetentionMessage

func (c *Client) SetSubscriptionRetentionMessage(ctx context.Context, subscriptionID, messageID string) error

SetSubscriptionRetentionMessage assigns a retention message to a subscription, replacing any message already assigned.

func (*Client) SubmitNotarization

func (c *Client) SubmitNotarization(ctx context.Context, sha256Hash, submissionName string) (*NotarySubmissionResponse, error)

SubmitNotarization creates a new notarization submission.

func (*Client) SubmitReviewSubmission

func (c *Client) SubmitReviewSubmission(ctx context.Context, submissionID string) (*ReviewSubmissionResponse, error)

SubmitReviewSubmission submits a review submission by ID.

func (*Client) UpdateAccessibilityDeclaration

func (c *Client) UpdateAccessibilityDeclaration(ctx context.Context, declarationID string, attrs AccessibilityDeclarationUpdateAttributes) (*AccessibilityDeclarationResponse, error)

UpdateAccessibilityDeclaration sends PATCH /v1/accessibilityDeclarations/{id} (accessibilityDeclarations_updateInstance).

func (*Client) UpdateAgeRatingDeclaration

func (c *Client) UpdateAgeRatingDeclaration(ctx context.Context, declarationID string, attributes AgeRatingDeclarationAttributes) (*AgeRatingDeclarationResponse, error)

UpdateAgeRatingDeclaration updates an age rating declaration by ID.

func (*Client) UpdateAndroidToIosAppMappingDetail

UpdateAndroidToIosAppMappingDetail sends PATCH /v1/androidToIosAppMappingDetails/{id} (androidToIosAppMappingDetails_updateInstance).

func (*Client) UpdateApp

func (c *Client) UpdateApp(ctx context.Context, appID string, attrs AppUpdateAttributes) (*AppResponse, error)

UpdateApp sends PATCH /v1/apps/{id} (apps_updateInstance).

func (*Client) UpdateAppClipAdvancedExperience

func (c *Client) UpdateAppClipAdvancedExperience(ctx context.Context, experienceID string, attrs *AppClipAdvancedExperienceUpdateAttributes, appClipID string, headerImageID string, localizationIDs []string) (*AppClipAdvancedExperienceResponse, error)

UpdateAppClipAdvancedExperience updates an advanced experience.

func (*Client) UpdateAppClipAdvancedExperienceImage

func (c *Client) UpdateAppClipAdvancedExperienceImage(ctx context.Context, imageID string, uploaded bool, checksumHash string) (*AppClipAdvancedExperienceImageResponse, error)

UpdateAppClipAdvancedExperienceImage sends PATCH /v1/appClipAdvancedExperienceImages/{id} (appClipAdvancedExperienceImages_updateInstance).

func (*Client) UpdateAppClipAppStoreReviewDetail

func (c *Client) UpdateAppClipAppStoreReviewDetail(ctx context.Context, detailID string, attrs *AppClipAppStoreReviewDetailUpdateAttributes) (*AppClipAppStoreReviewDetailResponse, error)

UpdateAppClipAppStoreReviewDetail sends PATCH /v1/appClipAppStoreReviewDetails/{id} (appClipAppStoreReviewDetails_updateInstance).

func (*Client) UpdateAppClipDefaultExperience

func (c *Client) UpdateAppClipDefaultExperience(ctx context.Context, experienceID string, attrs *AppClipDefaultExperienceUpdateAttributes, releaseVersionID string) (*AppClipDefaultExperienceResponse, error)

UpdateAppClipDefaultExperience sends PATCH /v1/appClipDefaultExperiences/{id} (appClipDefaultExperiences_updateInstance).

func (*Client) UpdateAppClipDefaultExperienceLocalization

func (c *Client) UpdateAppClipDefaultExperienceLocalization(ctx context.Context, localizationID string, attrs *AppClipDefaultExperienceLocalizationUpdateAttributes) (*AppClipDefaultExperienceLocalizationResponse, error)

UpdateAppClipDefaultExperienceLocalization sends PATCH /v1/appClipDefaultExperienceLocalizations/{id} (appClipDefaultExperienceLocalizations_updateInstance).

func (*Client) UpdateAppClipHeaderImage

func (c *Client) UpdateAppClipHeaderImage(ctx context.Context, imageID string, uploaded bool, checksumHash string) (*AppClipHeaderImageResponse, error)

UpdateAppClipHeaderImage sends PATCH /v1/appClipHeaderImages/{id} (appClipHeaderImages_updateInstance).

func (*Client) UpdateAppCustomProductPage

func (c *Client) UpdateAppCustomProductPage(ctx context.Context, pageID string, attrs AppCustomProductPageUpdateAttributes) (*AppCustomProductPageResponse, error)

UpdateAppCustomProductPage sends PATCH /v1/appCustomProductPages/{id} (appCustomProductPages_updateInstance).

func (*Client) UpdateAppCustomProductPageLocalization

func (c *Client) UpdateAppCustomProductPageLocalization(ctx context.Context, localizationID string, attrs AppCustomProductPageLocalizationUpdateAttributes) (*AppCustomProductPageLocalizationResponse, error)

UpdateAppCustomProductPageLocalization sends PATCH /v1/appCustomProductPageLocalizations/{id} (appCustomProductPageLocalizations_updateInstance).

func (*Client) UpdateAppCustomProductPageVersion

func (c *Client) UpdateAppCustomProductPageVersion(ctx context.Context, versionID string, attrs AppCustomProductPageVersionUpdateAttributes) (*AppCustomProductPageVersionResponse, error)

UpdateAppCustomProductPageVersion sends PATCH /v1/appCustomProductPageVersions/{id} (appCustomProductPageVersions_updateInstance).

func (*Client) UpdateAppEncryptionDeclarationDocument

func (c *Client) UpdateAppEncryptionDeclarationDocument(ctx context.Context, documentID string, attrs AppEncryptionDeclarationDocumentUpdateAttributes) (*AppEncryptionDeclarationDocumentResponse, error)

UpdateAppEncryptionDeclarationDocument sends PATCH /v1/appEncryptionDeclarationDocuments/{id} (appEncryptionDeclarationDocuments_updateInstance).

func (*Client) UpdateAppEvent

func (c *Client) UpdateAppEvent(ctx context.Context, eventID string, attrs AppEventUpdateAttributes) (*AppEventResponse, error)

UpdateAppEvent sends PATCH /v1/appEvents/{id} (appEvents_updateInstance).

func (*Client) UpdateAppEventLocalization

func (c *Client) UpdateAppEventLocalization(ctx context.Context, localizationID string, attrs AppEventLocalizationUpdateAttributes) (*AppEventLocalizationResponse, error)

UpdateAppEventLocalization sends PATCH /v1/appEventLocalizations/{id} (appEventLocalizations_updateInstance).

func (*Client) UpdateAppEventScreenshot

func (c *Client) UpdateAppEventScreenshot(ctx context.Context, screenshotID string, uploaded bool) (*AppEventScreenshotResponse, error)

UpdateAppEventScreenshot sends PATCH /v1/appEventScreenshots/{id} (appEventScreenshots_updateInstance).

func (*Client) UpdateAppEventVideoClip

func (c *Client) UpdateAppEventVideoClip(ctx context.Context, clipID string, attrs AppEventVideoClipUpdateAttributes) (*AppEventVideoClipResponse, error)

UpdateAppEventVideoClip sends PATCH /v1/appEventVideoClips/{id} (appEventVideoClips_updateInstance).

func (*Client) UpdateAppInfoCategories

func (c *Client) UpdateAppInfoCategories(ctx context.Context, appInfoID string, primaryCategoryID, secondaryCategoryID, primarySubcategoryOneID, primarySubcategoryTwoID, secondarySubcategoryOneID, secondarySubcategoryTwoID string) (*AppInfoResponse, error)

UpdateAppInfoCategories updates the categories for an app info resource.

func (*Client) UpdateAppInfoLocalization

func (c *Client) UpdateAppInfoLocalization(ctx context.Context, localizationID string, attrs AppInfoLocalizationUpdateAttributes) (*AppInfoLocalizationResponse, error)

UpdateAppInfoLocalization sends PATCH /v1/appInfoLocalizations/{id} (appInfoLocalizations_updateInstance).

func (*Client) UpdateAppInfoLocalizationFields added in v1.260625.0

func (c *Client) UpdateAppInfoLocalizationFields(ctx context.Context, localizationID string, fields map[string]string) (*AppInfoLocalizationResponse, error)

UpdateAppInfoLocalizationFields updates exactly the supplied fields, preserving explicit empty strings while leaving omitted fields unchanged.

func (*Client) UpdateAppInfoLocalizationNullableFields

func (c *Client) UpdateAppInfoLocalizationNullableFields(ctx context.Context, localizationID string, fields map[string]NullableString) (*AppInfoLocalizationResponse, error)

UpdateAppInfoLocalizationNullableFields updates exactly the supplied fields, sending JSON null for fields whose value is nil so callers can clear nullable attributes while leaving omitted fields unchanged.

func (*Client) UpdateAppPreview

func (c *Client) UpdateAppPreview(ctx context.Context, previewID string, uploaded bool, checksumHash string) (*AppPreviewResponse, error)

UpdateAppPreview sends PATCH /v1/appPreviews/{id} (appPreviews_updateInstance).

func (*Client) UpdateAppPreviewSetAppPreviewsRelationship

func (c *Client) UpdateAppPreviewSetAppPreviewsRelationship(ctx context.Context, setID string, previewIDs []string) error

UpdateAppPreviewSetAppPreviewsRelationship sends PATCH /v1/appPreviewSets/{id}/relationships/appPreviews (appPreviewSets_appPreviews_replaceToManyRelationship).

func (*Client) UpdateAppScreenshot

func (c *Client) UpdateAppScreenshot(ctx context.Context, screenshotID string, uploaded bool, checksumHash string) (*AppScreenshotResponse, error)

UpdateAppScreenshot updates a screenshot (used to commit upload).

func (*Client) UpdateAppScreenshotSetAppScreenshotsRelationship

func (c *Client) UpdateAppScreenshotSetAppScreenshotsRelationship(ctx context.Context, setID string, screenshotIDs []string) error

UpdateAppScreenshotSetAppScreenshotsRelationship sends PATCH /v1/appScreenshotSets/{id}/relationships/appScreenshots (appScreenshotSets_appScreenshots_replaceToManyRelationship).

func (*Client) UpdateAppStoreReviewAttachment

func (c *Client) UpdateAppStoreReviewAttachment(ctx context.Context, attachmentID string, attrs AppStoreReviewAttachmentUpdateAttributes) (*AppStoreReviewAttachmentResponse, error)

UpdateAppStoreReviewAttachment sends PATCH /v1/appStoreReviewAttachments/{id} (appStoreReviewAttachments_updateInstance).

func (*Client) UpdateAppStoreReviewDetail

func (c *Client) UpdateAppStoreReviewDetail(ctx context.Context, detailID string, attrs AppStoreReviewDetailUpdateAttributes) (*AppStoreReviewDetailResponse, error)

UpdateAppStoreReviewDetail updates review details by ID.

func (*Client) UpdateAppStoreVersion

func (c *Client) UpdateAppStoreVersion(ctx context.Context, versionID string, attrs AppStoreVersionUpdateAttributes) (*AppStoreVersionResponse, error)

UpdateAppStoreVersion updates an existing app store version.

func (*Client) UpdateAppStoreVersionExperiment

func (c *Client) UpdateAppStoreVersionExperiment(ctx context.Context, experimentID string, attrs AppStoreVersionExperimentUpdateAttributes) (*AppStoreVersionExperimentResponse, error)

UpdateAppStoreVersionExperiment sends PATCH /v1/appStoreVersionExperiments/{id} (appStoreVersionExperiments_updateInstance).

func (*Client) UpdateAppStoreVersionExperimentTreatment

func (c *Client) UpdateAppStoreVersionExperimentTreatment(ctx context.Context, treatmentID string, attrs AppStoreVersionExperimentTreatmentUpdateAttributes) (*AppStoreVersionExperimentTreatmentResponse, error)

UpdateAppStoreVersionExperimentTreatment sends PATCH /v1/appStoreVersionExperimentTreatments/{id} (appStoreVersionExperimentTreatments_updateInstance).

func (*Client) UpdateAppStoreVersionExperimentV2

func (c *Client) UpdateAppStoreVersionExperimentV2(ctx context.Context, experimentID string, attrs AppStoreVersionExperimentV2UpdateAttributes) (*AppStoreVersionExperimentV2Response, error)

UpdateAppStoreVersionExperimentV2 sends PATCH /v2/appStoreVersionExperiments/{id} (appStoreVersionExperimentsV2_updateInstance).

func (*Client) UpdateAppStoreVersionLocalization

func (c *Client) UpdateAppStoreVersionLocalization(ctx context.Context, localizationID string, attrs AppStoreVersionLocalizationUpdateAttributes) (*AppStoreVersionLocalizationResponse, error)

UpdateAppStoreVersionLocalization sends PATCH /v1/appStoreVersionLocalizations/{id} (appStoreVersionLocalizations_updateInstance).

func (*Client) UpdateAppStoreVersionLocalizationFields added in v1.260625.0

func (c *Client) UpdateAppStoreVersionLocalizationFields(ctx context.Context, localizationID string, fields map[string]string) (*AppStoreVersionLocalizationResponse, error)

UpdateAppStoreVersionLocalizationFields updates exactly the supplied fields, preserving explicit empty strings while leaving omitted fields unchanged.

func (*Client) UpdateAppStoreVersionLocalizationNullableFields

func (c *Client) UpdateAppStoreVersionLocalizationNullableFields(ctx context.Context, localizationID string, fields map[string]NullableString) (*AppStoreVersionLocalizationResponse, error)

UpdateAppStoreVersionLocalizationNullableFields updates exactly the supplied fields, sending JSON null for fields whose value is nil so callers can clear nullable attributes while leaving omitted fields unchanged.

func (*Client) UpdateAppStoreVersionPhasedRelease

func (c *Client) UpdateAppStoreVersionPhasedRelease(ctx context.Context, phasedReleaseID string, state PhasedReleaseState) (*AppStoreVersionPhasedReleaseResponse, error)

UpdateAppStoreVersionPhasedRelease updates a phased release. State must be provided (ACTIVE, PAUSED, or COMPLETE).

func (*Client) UpdateAppStoreVersionWithBuild

func (c *Client) UpdateAppStoreVersionWithBuild(ctx context.Context, versionID string, attrs AppStoreVersionUpdateAttributes, buildID string) (*AppStoreVersionResponse, error)

UpdateAppStoreVersionWithBuild sends PATCH /v1/appStoreVersions/{id} (appStoreVersions_updateInstance).

func (*Client) UpdateAppTag

func (c *Client) UpdateAppTag(ctx context.Context, tagID string, attrs AppTagUpdateAttributes) (*AppTagResponse, error)

UpdateAppTag sends PATCH /v1/appTags/{id} (appTags_updateInstance).

func (*Client) UpdateBackgroundAsset

func (c *Client) UpdateBackgroundAsset(ctx context.Context, id string, attrs BackgroundAssetUpdateAttributes) (*BackgroundAssetResponse, error)

UpdateBackgroundAsset sends PATCH /v1/backgroundAssets/{id} (backgroundAssets_updateInstance).

func (*Client) UpdateBackgroundAssetUploadFile

func (c *Client) UpdateBackgroundAssetUploadFile(ctx context.Context, uploadFileID string, attrs BackgroundAssetUploadFileUpdateAttributes) (*BackgroundAssetUploadFileResponse, error)

UpdateBackgroundAssetUploadFile sends PATCH /v1/backgroundAssetUploadFiles/{id} (backgroundAssetUploadFiles_updateInstance).

func (*Client) UpdateBetaAppClipInvocation

func (c *Client) UpdateBetaAppClipInvocation(ctx context.Context, invocationID string, attrs *BetaAppClipInvocationUpdateAttributes) (*BetaAppClipInvocationResponse, error)

UpdateBetaAppClipInvocation sends PATCH /v1/betaAppClipInvocations/{id} (betaAppClipInvocations_updateInstance).

func (*Client) UpdateBetaAppClipInvocationLocalization

func (c *Client) UpdateBetaAppClipInvocationLocalization(ctx context.Context, localizationID string, attrs *BetaAppClipInvocationLocalizationUpdateAttributes) (*BetaAppClipInvocationLocalizationResponse, error)

UpdateBetaAppClipInvocationLocalization sends PATCH /v1/betaAppClipInvocationLocalizations/{id} (betaAppClipInvocationLocalizations_updateInstance).

func (*Client) UpdateBetaAppLocalization

func (c *Client) UpdateBetaAppLocalization(ctx context.Context, localizationID string, attrs BetaAppLocalizationUpdateAttributes) (*BetaAppLocalizationResponse, error)

UpdateBetaAppLocalization sends PATCH /v1/betaAppLocalizations/{id} (betaAppLocalizations_updateInstance).

func (*Client) UpdateBetaAppReviewDetail

func (c *Client) UpdateBetaAppReviewDetail(ctx context.Context, detailID string, attrs BetaAppReviewDetailUpdateAttributes) (*BetaAppReviewDetailResponse, error)

UpdateBetaAppReviewDetail updates beta app review details by ID.

func (*Client) UpdateBetaBuildLocalization

func (c *Client) UpdateBetaBuildLocalization(ctx context.Context, localizationID string, attrs BetaBuildLocalizationUpdateAttributes) (*BetaBuildLocalizationResponse, error)

UpdateBetaBuildLocalization sends PATCH /v1/betaBuildLocalizations/{id} (betaBuildLocalizations_updateInstance).

func (*Client) UpdateBetaGroup

func (c *Client) UpdateBetaGroup(ctx context.Context, groupID string, req BetaGroupUpdateRequest) (*BetaGroupResponse, error)

UpdateBetaGroup updates a beta group by ID.

func (*Client) UpdateBetaLicenseAgreement

func (c *Client) UpdateBetaLicenseAgreement(ctx context.Context, agreementID string, agreementText *string) (*BetaLicenseAgreementResponse, error)

UpdateBetaLicenseAgreement updates a beta license agreement by ID.

func (*Client) UpdateBetaRecruitmentCriteria

func (c *Client) UpdateBetaRecruitmentCriteria(ctx context.Context, criteriaID string, filters []DeviceFamilyOsVersionFilter) (*BetaRecruitmentCriteriaResponse, error)

UpdateBetaRecruitmentCriteria updates beta recruitment criteria by ID.

func (*Client) UpdateBuild

func (c *Client) UpdateBuild(ctx context.Context, buildID string, attrs BuildUpdateAttributes) (*BuildResponse, error)

UpdateBuild patches a build resource with the given attributes.

func (*Client) UpdateBuildBetaDetail

func (c *Client) UpdateBuildBetaDetail(ctx context.Context, detailID string, attrs BuildBetaDetailUpdateAttributes) (*BuildBetaDetailResponse, error)

UpdateBuildBetaDetail sends PATCH /v1/buildBetaDetails/{id} (buildBetaDetails_updateInstance).

func (*Client) UpdateBuildUploadFile

func (c *Client) UpdateBuildUploadFile(ctx context.Context, id string, req BuildUploadFileUpdateRequest) (*BuildUploadFileResponse, error)

UpdateBuildUploadFile updates a build upload file (used to commit upload).

func (*Client) UpdateBundleID

func (c *Client) UpdateBundleID(ctx context.Context, id string, attrs BundleIDUpdateAttributes) (*BundleIDResponse, error)

UpdateBundleID sends PATCH /v1/bundleIds/{id} (bundleIds_updateInstance).

func (*Client) UpdateBundleIDCapability

func (c *Client) UpdateBundleIDCapability(ctx context.Context, capabilityID string, attrs BundleIDCapabilityUpdateAttributes) (*BundleIDCapabilityResponse, error)

UpdateBundleIDCapability sends PATCH /v1/bundleIdCapabilities/{id} (bundleIdCapabilities_updateInstance).

func (*Client) UpdateCertificate

func (c *Client) UpdateCertificate(ctx context.Context, id string, attrs CertificateUpdateAttributes) (*CertificateResponse, error)

UpdateCertificate sends PATCH /v1/certificates/{id} (certificates_updateInstance).

func (*Client) UpdateCiWorkflow

func (c *Client) UpdateCiWorkflow(ctx context.Context, workflowID string, payload json.RawMessage) (*CiWorkflowResponse, error)

UpdateCiWorkflow updates a CI workflow using a JSON payload.

func (*Client) UpdateDevice

func (c *Client) UpdateDevice(ctx context.Context, deviceID string, attrs DeviceUpdateAttributes) (*DeviceResponse, error)

UpdateDevice sends PATCH /v1/devices/{id} (devices_updateInstance).

func (*Client) UpdateEndUserLicenseAgreement

func (c *Client) UpdateEndUserLicenseAgreement(ctx context.Context, id string, agreementText *string, territoryIDs []string) (*EndUserLicenseAgreementResponse, error)

UpdateEndUserLicenseAgreement updates an EULA by ID.

func (*Client) UpdateGameCenterAchievement

func (c *Client) UpdateGameCenterAchievement(ctx context.Context, achievementID string, attrs GameCenterAchievementUpdateAttributes) (*GameCenterAchievementResponse, error)

UpdateGameCenterAchievement sends PATCH /v1/gameCenterAchievements/{id} (gameCenterAchievements_updateInstance).

func (*Client) UpdateGameCenterAchievementImage

func (c *Client) UpdateGameCenterAchievementImage(ctx context.Context, imageID string, uploaded bool) (*GameCenterAchievementImageResponse, error)

UpdateGameCenterAchievementImage sends PATCH /v1/gameCenterAchievementImages/{id} (gameCenterAchievementImages_updateInstance).

func (*Client) UpdateGameCenterAchievementImageV2

func (c *Client) UpdateGameCenterAchievementImageV2(ctx context.Context, imageID string, uploaded bool) (*GameCenterAchievementImageResponse, error)

UpdateGameCenterAchievementImageV2 sends PATCH /v2/gameCenterAchievementImages/{id} (gameCenterAchievementImagesV2_updateInstance).

func (*Client) UpdateGameCenterAchievementLocalization

func (c *Client) UpdateGameCenterAchievementLocalization(ctx context.Context, localizationID string, attrs GameCenterAchievementLocalizationUpdateAttributes) (*GameCenterAchievementLocalizationResponse, error)

UpdateGameCenterAchievementLocalization sends PATCH /v1/gameCenterAchievementLocalizations/{id} (gameCenterAchievementLocalizations_updateInstance).

func (*Client) UpdateGameCenterAchievementLocalizationV2

func (c *Client) UpdateGameCenterAchievementLocalizationV2(ctx context.Context, localizationID string, attrs GameCenterAchievementLocalizationUpdateAttributes) (*GameCenterAchievementLocalizationResponse, error)

UpdateGameCenterAchievementLocalizationV2 sends PATCH /v2/gameCenterAchievementLocalizations/{id} (gameCenterAchievementLocalizationsV2_updateInstance).

func (*Client) UpdateGameCenterAchievementV2

func (c *Client) UpdateGameCenterAchievementV2(ctx context.Context, achievementID string, attrs GameCenterAchievementUpdateAttributes) (*GameCenterAchievementResponse, error)

UpdateGameCenterAchievementV2 sends PATCH /v2/gameCenterAchievements/{id} (gameCenterAchievementsV2_updateInstance).

func (*Client) UpdateGameCenterActivity

func (c *Client) UpdateGameCenterActivity(ctx context.Context, activityID string, attrs GameCenterActivityUpdateAttributes) (*GameCenterActivityResponse, error)

UpdateGameCenterActivity sends PATCH /v1/gameCenterActivities/{id} (gameCenterActivities_updateInstance).

func (*Client) UpdateGameCenterActivityImage

func (c *Client) UpdateGameCenterActivityImage(ctx context.Context, imageID string, uploaded bool) (*GameCenterActivityImageResponse, error)

UpdateGameCenterActivityImage sends PATCH /v1/gameCenterActivityImages/{id} (gameCenterActivityImages_updateInstance).

func (*Client) UpdateGameCenterActivityLocalization

func (c *Client) UpdateGameCenterActivityLocalization(ctx context.Context, localizationID string, attrs GameCenterActivityLocalizationUpdateAttributes) (*GameCenterActivityLocalizationResponse, error)

UpdateGameCenterActivityLocalization sends PATCH /v1/gameCenterActivityLocalizations/{id} (gameCenterActivityLocalizations_updateInstance).

func (*Client) UpdateGameCenterActivityVersion

func (c *Client) UpdateGameCenterActivityVersion(ctx context.Context, versionID string, fallbackURL *string) (*GameCenterActivityVersionResponse, error)

UpdateGameCenterActivityVersion updates an activity version.

func (*Client) UpdateGameCenterAppVersion

func (c *Client) UpdateGameCenterAppVersion(ctx context.Context, appVersionID string, attrs GameCenterAppVersionUpdateAttributes) (*GameCenterAppVersionResponse, error)

UpdateGameCenterAppVersion updates an existing Game Center app version.

func (*Client) UpdateGameCenterChallenge

func (c *Client) UpdateGameCenterChallenge(ctx context.Context, challengeID string, attrs GameCenterChallengeUpdateAttributes, leaderboardID string) (*GameCenterChallengeResponse, error)

UpdateGameCenterChallenge sends PATCH /v1/gameCenterChallenges/{id} (gameCenterChallenges_updateInstance).

func (*Client) UpdateGameCenterChallengeImage

func (c *Client) UpdateGameCenterChallengeImage(ctx context.Context, imageID string, uploaded bool) (*GameCenterChallengeImageResponse, error)

UpdateGameCenterChallengeImage sends PATCH /v1/gameCenterChallengeImages/{id} (gameCenterChallengeImages_updateInstance).

func (*Client) UpdateGameCenterChallengeLocalization

func (c *Client) UpdateGameCenterChallengeLocalization(ctx context.Context, localizationID string, attrs GameCenterChallengeLocalizationUpdateAttributes) (*GameCenterChallengeLocalizationResponse, error)

UpdateGameCenterChallengeLocalization sends PATCH /v1/gameCenterChallengeLocalizations/{id} (gameCenterChallengeLocalizations_updateInstance).

func (*Client) UpdateGameCenterDetail

UpdateGameCenterDetail updates an existing Game Center detail.

func (*Client) UpdateGameCenterDetailPlayer

func (c *Client) UpdateGameCenterDetailPlayer(ctx context.Context, id string, blocked bool, bundleID *string) (*GameCenterDetailPlayerResponse, error)

UpdateGameCenterDetailPlayer changes a player's blocked status and optional bundle ID.

func (*Client) UpdateGameCenterEnabledVersionCompatibleVersionsRelationship

func (c *Client) UpdateGameCenterEnabledVersionCompatibleVersionsRelationship(ctx context.Context, enabledVersionID string, compatibleIDs []string) error

UpdateGameCenterEnabledVersionCompatibleVersionsRelationship sends PATCH /v1/gameCenterEnabledVersions/{id}/relationships/compatibleVersions (gameCenterEnabledVersions_compatibleVersions_replaceToManyRelationship).

func (*Client) UpdateGameCenterGroup

func (c *Client) UpdateGameCenterGroup(ctx context.Context, groupID string, referenceName *string) (*GameCenterGroupResponse, error)

UpdateGameCenterGroup updates an existing Game Center group.

func (*Client) UpdateGameCenterGroupAchievements

func (c *Client) UpdateGameCenterGroupAchievements(ctx context.Context, groupID string, achievementIDs []string) error

UpdateGameCenterGroupAchievements sends PATCH /v1/gameCenterGroups/{id}/relationships/gameCenterAchievements (gameCenterGroups_gameCenterAchievements_replaceToManyRelationship).

func (*Client) UpdateGameCenterGroupAchievementsV2

func (c *Client) UpdateGameCenterGroupAchievementsV2(ctx context.Context, groupID string, achievementIDs []string) error

UpdateGameCenterGroupAchievementsV2 sends PATCH /v1/gameCenterGroups/{id}/relationships/gameCenterAchievementsV2 (gameCenterGroups_gameCenterAchievementsV2_replaceToManyRelationship).

func (*Client) UpdateGameCenterGroupLeaderboards

func (c *Client) UpdateGameCenterGroupLeaderboards(ctx context.Context, groupID string, leaderboardIDs []string) error

UpdateGameCenterGroupLeaderboards sends PATCH /v1/gameCenterGroups/{id}/relationships/gameCenterLeaderboards (gameCenterGroups_gameCenterLeaderboards_replaceToManyRelationship).

func (*Client) UpdateGameCenterGroupLeaderboardsV2

func (c *Client) UpdateGameCenterGroupLeaderboardsV2(ctx context.Context, groupID string, leaderboardIDs []string) error

UpdateGameCenterGroupLeaderboardsV2 sends PATCH /v1/gameCenterGroups/{id}/relationships/gameCenterLeaderboardsV2 (gameCenterGroups_gameCenterLeaderboardsV2_replaceToManyRelationship).

func (*Client) UpdateGameCenterLeaderboard

func (c *Client) UpdateGameCenterLeaderboard(ctx context.Context, leaderboardID string, attrs GameCenterLeaderboardUpdateAttributes) (*GameCenterLeaderboardResponse, error)

UpdateGameCenterLeaderboard sends PATCH /v1/gameCenterLeaderboards/{id} (gameCenterLeaderboards_updateInstance).

func (*Client) UpdateGameCenterLeaderboardImage

func (c *Client) UpdateGameCenterLeaderboardImage(ctx context.Context, imageID string, uploaded bool) (*GameCenterLeaderboardImageResponse, error)

UpdateGameCenterLeaderboardImage sends PATCH /v1/gameCenterLeaderboardImages/{id} (gameCenterLeaderboardImages_updateInstance).

func (*Client) UpdateGameCenterLeaderboardImageV2

func (c *Client) UpdateGameCenterLeaderboardImageV2(ctx context.Context, imageID string, uploaded bool) (*GameCenterLeaderboardImageResponse, error)

UpdateGameCenterLeaderboardImageV2 sends PATCH /v2/gameCenterLeaderboardImages/{id} (gameCenterLeaderboardImagesV2_updateInstance).

func (*Client) UpdateGameCenterLeaderboardLocalization

func (c *Client) UpdateGameCenterLeaderboardLocalization(ctx context.Context, localizationID string, attrs GameCenterLeaderboardLocalizationUpdateAttributes) (*GameCenterLeaderboardLocalizationResponse, error)

UpdateGameCenterLeaderboardLocalization sends PATCH /v1/gameCenterLeaderboardLocalizations/{id} (gameCenterLeaderboardLocalizations_updateInstance).

func (*Client) UpdateGameCenterLeaderboardLocalizationV2

func (c *Client) UpdateGameCenterLeaderboardLocalizationV2(ctx context.Context, localizationID string, attrs GameCenterLeaderboardLocalizationUpdateAttributes) (*GameCenterLeaderboardLocalizationResponse, error)

UpdateGameCenterLeaderboardLocalizationV2 sends PATCH /v2/gameCenterLeaderboardLocalizations/{id} (gameCenterLeaderboardLocalizationsV2_updateInstance).

func (*Client) UpdateGameCenterLeaderboardSet

func (c *Client) UpdateGameCenterLeaderboardSet(ctx context.Context, setID string, attrs GameCenterLeaderboardSetUpdateAttributes) (*GameCenterLeaderboardSetResponse, error)

UpdateGameCenterLeaderboardSet sends PATCH /v1/gameCenterLeaderboardSets/{id} (gameCenterLeaderboardSets_updateInstance).

func (*Client) UpdateGameCenterLeaderboardSetImage

func (c *Client) UpdateGameCenterLeaderboardSetImage(ctx context.Context, imageID string, uploaded bool) (*GameCenterLeaderboardSetImageResponse, error)

UpdateGameCenterLeaderboardSetImage sends PATCH /v1/gameCenterLeaderboardSetImages/{id} (gameCenterLeaderboardSetImages_updateInstance).

func (*Client) UpdateGameCenterLeaderboardSetImageV2

func (c *Client) UpdateGameCenterLeaderboardSetImageV2(ctx context.Context, imageID string, uploaded bool) (*GameCenterLeaderboardSetImageResponse, error)

UpdateGameCenterLeaderboardSetImageV2 sends PATCH /v2/gameCenterLeaderboardSetImages/{id} (gameCenterLeaderboardSetImagesV2_updateInstance).

func (*Client) UpdateGameCenterLeaderboardSetLocalization

func (c *Client) UpdateGameCenterLeaderboardSetLocalization(ctx context.Context, localizationID string, attrs GameCenterLeaderboardSetLocalizationUpdateAttributes) (*GameCenterLeaderboardSetLocalizationResponse, error)

UpdateGameCenterLeaderboardSetLocalization sends PATCH /v1/gameCenterLeaderboardSetLocalizations/{id} (gameCenterLeaderboardSetLocalizations_updateInstance).

func (*Client) UpdateGameCenterLeaderboardSetLocalizationV2

func (c *Client) UpdateGameCenterLeaderboardSetLocalizationV2(ctx context.Context, localizationID string, attrs GameCenterLeaderboardSetLocalizationUpdateAttributes) (*GameCenterLeaderboardSetLocalizationResponse, error)

UpdateGameCenterLeaderboardSetLocalizationV2 sends PATCH /v2/gameCenterLeaderboardSetLocalizations/{id} (gameCenterLeaderboardSetLocalizationsV2_updateInstance).

func (*Client) UpdateGameCenterLeaderboardSetMemberLocalization

func (c *Client) UpdateGameCenterLeaderboardSetMemberLocalization(ctx context.Context, localizationID string, attrs GameCenterLeaderboardSetMemberLocalizationUpdateAttributes) (*GameCenterLeaderboardSetMemberLocalizationResponse, error)

UpdateGameCenterLeaderboardSetMemberLocalization updates an existing leaderboard set member localization.

func (*Client) UpdateGameCenterLeaderboardSetMembers

func (c *Client) UpdateGameCenterLeaderboardSetMembers(ctx context.Context, setID string, leaderboardIDs []string) error

UpdateGameCenterLeaderboardSetMembers sends PATCH /v1/gameCenterLeaderboardSets/{id}/relationships/gameCenterLeaderboards (gameCenterLeaderboardSets_gameCenterLeaderboards_replaceToManyRelationship).

func (*Client) UpdateGameCenterLeaderboardSetMembersV2

func (c *Client) UpdateGameCenterLeaderboardSetMembersV2(ctx context.Context, setID string, leaderboardIDs []string) error

UpdateGameCenterLeaderboardSetMembersV2 sends PATCH /v2/gameCenterLeaderboardSets/{id}/relationships/gameCenterLeaderboards (gameCenterLeaderboardSetsV2_gameCenterLeaderboards_replaceToManyRelationship).

func (*Client) UpdateGameCenterLeaderboardSetV2

func (c *Client) UpdateGameCenterLeaderboardSetV2(ctx context.Context, setID string, attrs GameCenterLeaderboardSetUpdateAttributes) (*GameCenterLeaderboardSetResponse, error)

UpdateGameCenterLeaderboardSetV2 sends PATCH /v2/gameCenterLeaderboardSets/{id} (gameCenterLeaderboardSetsV2_updateInstance).

func (*Client) UpdateGameCenterLeaderboardV2

func (c *Client) UpdateGameCenterLeaderboardV2(ctx context.Context, leaderboardID string, attrs GameCenterLeaderboardUpdateAttributes) (*GameCenterLeaderboardResponse, error)

UpdateGameCenterLeaderboardV2 sends PATCH /v2/gameCenterLeaderboards/{id} (gameCenterLeaderboardsV2_updateInstance).

func (*Client) UpdateGameCenterMatchmakingQueue

func (c *Client) UpdateGameCenterMatchmakingQueue(ctx context.Context, queueID string, attrs GameCenterMatchmakingQueueUpdateAttributes, ruleSetID, experimentRuleSetID string) (*GameCenterMatchmakingQueueResponse, error)

UpdateGameCenterMatchmakingQueue sends PATCH /v1/gameCenterMatchmakingQueues/{id} (gameCenterMatchmakingQueues_updateInstance).

func (*Client) UpdateGameCenterMatchmakingRule

func (c *Client) UpdateGameCenterMatchmakingRule(ctx context.Context, ruleID string, attrs GameCenterMatchmakingRuleUpdateAttributes) (*GameCenterMatchmakingRuleResponse, error)

UpdateGameCenterMatchmakingRule sends PATCH /v1/gameCenterMatchmakingRules/{id} (gameCenterMatchmakingRules_updateInstance).

func (*Client) UpdateGameCenterMatchmakingRuleSet

func (c *Client) UpdateGameCenterMatchmakingRuleSet(ctx context.Context, ruleSetID string, attrs GameCenterMatchmakingRuleSetUpdateAttributes) (*GameCenterMatchmakingRuleSetResponse, error)

UpdateGameCenterMatchmakingRuleSet sends PATCH /v1/gameCenterMatchmakingRuleSets/{id} (gameCenterMatchmakingRuleSets_updateInstance).

func (*Client) UpdateGameCenterMatchmakingTeam

func (c *Client) UpdateGameCenterMatchmakingTeam(ctx context.Context, teamID string, attrs GameCenterMatchmakingTeamUpdateAttributes) (*GameCenterMatchmakingTeamResponse, error)

UpdateGameCenterMatchmakingTeam sends PATCH /v1/gameCenterMatchmakingTeams/{id} (gameCenterMatchmakingTeams_updateInstance).

func (*Client) UpdateGameCenterScoreModeration

func (c *Client) UpdateGameCenterScoreModeration(ctx context.Context, id string, blocked bool) (*GameCenterScoreModerationResponse, error)

UpdateGameCenterScoreModeration blocks or unblocks a submitted score.

func (*Client) UpdateInAppPurchaseAppStoreReviewScreenshot

func (c *Client) UpdateInAppPurchaseAppStoreReviewScreenshot(ctx context.Context, screenshotID string, attrs InAppPurchaseAppStoreReviewScreenshotUpdateAttributes) (*InAppPurchaseAppStoreReviewScreenshotResponse, error)

UpdateInAppPurchaseAppStoreReviewScreenshot updates a review screenshot.

func (*Client) UpdateInAppPurchaseImageV2 added in v1.260722.0

func (c *Client) UpdateInAppPurchaseImageV2(ctx context.Context, imageID string, attrs InAppPurchaseImageV2UpdateAttributes) (*InAppPurchaseImageV2Response, error)

UpdateInAppPurchaseImageV2 sends PATCH /v2/inAppPurchaseImages/{id} (inAppPurchaseImagesV2_updateInstance).

func (*Client) UpdateInAppPurchaseLocalizationV2 added in v1.260722.0

func (c *Client) UpdateInAppPurchaseLocalizationV2(ctx context.Context, localizationID string, attrs InAppPurchaseLocalizationUpdateAttributes) (*InAppPurchaseLocalizationResponse, error)

func (*Client) UpdateInAppPurchaseOfferCode

func (c *Client) UpdateInAppPurchaseOfferCode(ctx context.Context, offerCodeID string, attrs InAppPurchaseOfferCodeUpdateAttributes) (*InAppPurchaseOfferCodeResponse, error)

UpdateInAppPurchaseOfferCode sends PATCH /v1/inAppPurchaseOfferCodes/{id} (inAppPurchaseOfferCodes_updateInstance).

func (*Client) UpdateInAppPurchaseOfferCodeCustomCode

func (c *Client) UpdateInAppPurchaseOfferCodeCustomCode(ctx context.Context, customCodeID string, attrs InAppPurchaseOfferCodeCustomCodeUpdateAttributes) (*InAppPurchaseOfferCodeCustomCodeResponse, error)

UpdateInAppPurchaseOfferCodeCustomCode sends PATCH /v1/inAppPurchaseOfferCodeCustomCodes/{id} (inAppPurchaseOfferCodeCustomCodes_updateInstance).

func (*Client) UpdateInAppPurchaseOfferCodeOneTimeUseCode

func (c *Client) UpdateInAppPurchaseOfferCodeOneTimeUseCode(ctx context.Context, oneTimeUseCodeID string, attrs InAppPurchaseOfferCodeOneTimeUseCodeUpdateAttributes) (*InAppPurchaseOfferCodeOneTimeUseCodeResponse, error)

UpdateInAppPurchaseOfferCodeOneTimeUseCode sends PATCH /v1/inAppPurchaseOfferCodeOneTimeUseCodes/{id} (inAppPurchaseOfferCodeOneTimeUseCodes_updateInstance).

func (*Client) UpdateInAppPurchaseV2

func (c *Client) UpdateInAppPurchaseV2(ctx context.Context, iapID string, attrs InAppPurchaseV2UpdateAttributes) (*InAppPurchaseV2Response, error)

UpdateInAppPurchaseV2 sends PATCH /v2/inAppPurchases/{id} (inAppPurchasesV2_updateInstance).

func (*Client) UpdateMarketplaceSearchDetail

func (c *Client) UpdateMarketplaceSearchDetail(ctx context.Context, detailID string, attrs MarketplaceSearchDetailUpdateAttributes) (*MarketplaceSearchDetailResponse, error)

UpdateMarketplaceSearchDetail sends PATCH /v1/marketplaceSearchDetails/{id} (marketplaceSearchDetails_updateInstance).

func (*Client) UpdateMarketplaceWebhook

func (c *Client) UpdateMarketplaceWebhook(ctx context.Context, webhookID string, attrs MarketplaceWebhookUpdateAttributes) (*MarketplaceWebhookResponse, error)

UpdateMarketplaceWebhook sends PATCH /v1/marketplaceWebhooks/{id} (marketplaceWebhooks_updateInstance).

func (*Client) UpdateMerchantID

func (c *Client) UpdateMerchantID(ctx context.Context, id string, attrs MerchantIDUpdateAttributes) (*MerchantIDResponse, error)

UpdateMerchantID sends PATCH /v1/merchantIds/{id} (merchantIds_updateInstance).

func (*Client) UpdateNomination

func (c *Client) UpdateNomination(ctx context.Context, nominationID string, attrs *NominationUpdateAttributes, relationships *NominationRelationships) (*NominationResponse, error)

UpdateNomination updates a nomination by ID.

func (*Client) UpdatePassTypeID

func (c *Client) UpdatePassTypeID(ctx context.Context, id string, attrs PassTypeIDUpdateAttributes) (*PassTypeIDResponse, error)

UpdatePassTypeID sends PATCH /v1/passTypeIds/{id} (passTypeIds_updateInstance).

func (*Client) UpdatePromotedPurchase

func (c *Client) UpdatePromotedPurchase(ctx context.Context, promotedPurchaseID string, attrs PromotedPurchaseUpdateAttributes) (*PromotedPurchaseResponse, error)

UpdatePromotedPurchase sends PATCH /v1/promotedPurchases/{id} (promotedPurchases_updateInstance).

func (*Client) UpdateRetentionMessageLocalization

func (c *Client) UpdateRetentionMessageLocalization(ctx context.Context, localizationID string, attrs RetentionMessageLocalizationUpdateAttributes) (*RetentionMessageLocalizationResponse, error)

UpdateRetentionMessageLocalization sends PATCH /v1/retentionMessageLocalizations/{id} (retentionMessageLocalizations_updateInstance).

func (*Client) UpdateRetentionOffer

func (c *Client) UpdateRetentionOffer(ctx context.Context, offerID string, attrs RetentionOfferUpdateAttributes) (*RetentionOfferResponse, error)

UpdateRetentionOffer sends PATCH /v1/retentionOffers/{id} (retentionOffers_updateInstance).

func (*Client) UpdateReviewSubmission

func (c *Client) UpdateReviewSubmission(ctx context.Context, submissionID string, attrs ReviewSubmissionUpdateAttributes) (*ReviewSubmissionResponse, error)

UpdateReviewSubmission updates a review submission by ID.

func (*Client) UpdateReviewSubmissionItem

func (c *Client) UpdateReviewSubmissionItem(ctx context.Context, itemID string, attrs ReviewSubmissionItemUpdateAttributes) (*ReviewSubmissionItemResponse, error)

UpdateReviewSubmissionItem updates a review submission item by ID.

func (*Client) UpdateRoutingAppCoverage

func (c *Client) UpdateRoutingAppCoverage(ctx context.Context, coverageID string, attrs RoutingAppCoverageUpdateAttributes) (*RoutingAppCoverageResponse, error)

UpdateRoutingAppCoverage sends PATCH /v1/routingAppCoverages/{id} (routingAppCoverages_updateInstance).

func (*Client) UpdateSandboxTester

func (c *Client) UpdateSandboxTester(ctx context.Context, testerID string, attributes SandboxTesterUpdateAttributes) (*SandboxTesterResponse, error)

UpdateSandboxTester updates a sandbox tester by ID.

func (*Client) UpdateSubscription

func (c *Client) UpdateSubscription(ctx context.Context, subID string, attrs SubscriptionUpdateAttributes) (*SubscriptionResponse, error)

UpdateSubscription sends PATCH /v1/subscriptions/{id} (subscriptions_updateInstance).

func (*Client) UpdateSubscriptionAppStoreReviewScreenshot

func (c *Client) UpdateSubscriptionAppStoreReviewScreenshot(ctx context.Context, screenshotID string, attrs SubscriptionAppStoreReviewScreenshotUpdateAttributes) (*SubscriptionAppStoreReviewScreenshotResponse, error)

UpdateSubscriptionAppStoreReviewScreenshot sends PATCH /v1/subscriptionAppStoreReviewScreenshots/{id} (subscriptionAppStoreReviewScreenshots_updateInstance).

func (*Client) UpdateSubscriptionGracePeriod

func (c *Client) UpdateSubscriptionGracePeriod(ctx context.Context, gracePeriodID string, attrs SubscriptionGracePeriodUpdateAttributes) (*SubscriptionGracePeriodResponse, error)

UpdateSubscriptionGracePeriod sends PATCH /v1/subscriptionGracePeriods/{id} (subscriptionGracePeriods_updateInstance).

func (*Client) UpdateSubscriptionGroup

func (c *Client) UpdateSubscriptionGroup(ctx context.Context, groupID string, attrs SubscriptionGroupUpdateAttributes) (*SubscriptionGroupResponse, error)

UpdateSubscriptionGroup sends PATCH /v1/subscriptionGroups/{id} (subscriptionGroups_updateInstance).

func (*Client) UpdateSubscriptionGroupLocalizationV2 added in v1.260722.0

func (c *Client) UpdateSubscriptionGroupLocalizationV2(ctx context.Context, localizationID string, attrs SubscriptionGroupLocalizationV2UpdateAttributes) (*SubscriptionGroupLocalizationV2Response, error)

UpdateSubscriptionGroupLocalizationV2 sends PATCH /v2/subscriptionGroupLocalizations/{id} (subscriptionGroupLocalizationsV2_updateInstance).

func (*Client) UpdateSubscriptionImageV2 added in v1.260722.0

func (c *Client) UpdateSubscriptionImageV2(ctx context.Context, imageID string, attrs SubscriptionImageV2UpdateAttributes) (*SubscriptionImageV2Response, error)

UpdateSubscriptionImageV2 sends PATCH /v2/subscriptionImages/{id} (subscriptionImagesV2_updateInstance).

func (*Client) UpdateSubscriptionIntroductoryOffer

func (c *Client) UpdateSubscriptionIntroductoryOffer(ctx context.Context, offerID string, attrs SubscriptionIntroductoryOfferUpdateAttributes) (*SubscriptionIntroductoryOfferResponse, error)

UpdateSubscriptionIntroductoryOffer sends PATCH /v1/subscriptionIntroductoryOffers/{id} (subscriptionIntroductoryOffers_updateInstance).

func (*Client) UpdateSubscriptionLocalizationV2 added in v1.260722.0

func (c *Client) UpdateSubscriptionLocalizationV2(ctx context.Context, localizationID string, attrs SubscriptionLocalizationV2UpdateAttributes) (*SubscriptionLocalizationV2Response, error)

UpdateSubscriptionLocalizationV2 sends PATCH /v2/subscriptionLocalizations/{id} (subscriptionLocalizationsV2_updateInstance).

func (*Client) UpdateSubscriptionOfferCode

func (c *Client) UpdateSubscriptionOfferCode(ctx context.Context, offerCodeID string, attrs SubscriptionOfferCodeUpdateAttributes) (*SubscriptionOfferCodeResponse, error)

UpdateSubscriptionOfferCode sends PATCH /v1/subscriptionOfferCodes/{id} (subscriptionOfferCodes_updateInstance).

func (*Client) UpdateSubscriptionOfferCodeCustomCode

func (c *Client) UpdateSubscriptionOfferCodeCustomCode(ctx context.Context, customCodeID string, attrs SubscriptionOfferCodeCustomCodeUpdateAttributes) (*SubscriptionOfferCodeCustomCodeResponse, error)

UpdateSubscriptionOfferCodeCustomCode sends PATCH /v1/subscriptionOfferCodeCustomCodes/{id} (subscriptionOfferCodeCustomCodes_updateInstance).

func (*Client) UpdateSubscriptionOfferCodeOneTimeUseCode

func (c *Client) UpdateSubscriptionOfferCodeOneTimeUseCode(ctx context.Context, oneTimeUseCodeID string, attrs SubscriptionOfferCodeOneTimeUseCodeUpdateAttributes) (*SubscriptionOfferCodeOneTimeUseCodeResponse, error)

UpdateSubscriptionOfferCodeOneTimeUseCode sends PATCH /v1/subscriptionOfferCodeOneTimeUseCodes/{id} (subscriptionOfferCodeOneTimeUseCodes_updateInstance).

func (*Client) UpdateSubscriptionPlanAvailability added in v1.260610.0

func (c *Client) UpdateSubscriptionPlanAvailability(ctx context.Context, planAvailabilityID string, territoryIDs []string, attrs *SubscriptionPlanAvailabilityUpdateAttributes) (*SubscriptionPlanAvailabilityResponse, error)

UpdateSubscriptionPlanAvailability updates subscription plan availability in territories.

func (*Client) UpdateSubscriptionPromotionalOffer

func (c *Client) UpdateSubscriptionPromotionalOffer(ctx context.Context, offerID string, priceIDs []string) (*SubscriptionPromotionalOfferResponse, error)

UpdateSubscriptionPromotionalOffer updates a promotional offer.

func (*Client) UpdateTerritoryAvailability

func (c *Client) UpdateTerritoryAvailability(ctx context.Context, territoryAvailabilityID string, attrs TerritoryAvailabilityUpdateAttributes) (*TerritoryAvailabilityResponse, error)

UpdateTerritoryAvailability updates a territory availability.

func (*Client) UpdateUser

func (c *Client) UpdateUser(ctx context.Context, userID string, attrs UserUpdateAttributes, visibleAppIDs []string) (*UserResponse, error)

UpdateUser updates a user by ID.

UserUpdateRequest treats attributes.allAppsVisible and relationships.visibleApps as independent optional fields, and this builder sends only what the caller supplies so an attributes-only or a relationships-only PATCH stays expressible. Pairing them is therefore the caller's responsibility: a visible-apps list has no effect while the account still has allAppsVisible=true, so `asc users update` sets AllAppsVisible to false whenever --visible-app is present, which TestUsersUpdateSendsRolesAndVisibleAppsInOneRequest asserts. This differs from CreateUserInvitation, which creates the account and therefore defaults the attribute itself.

func (*Client) UpdateWebhook

func (c *Client) UpdateWebhook(ctx context.Context, webhookID string, attrs WebhookUpdateAttributes) (*WebhookResponse, error)

UpdateWebhook sends PATCH /v1/webhooks/{id} (webhooks_updateInstance).

func (*Client) UpdateWinBackOffer

func (c *Client) UpdateWinBackOffer(ctx context.Context, offerID string, attrs WinBackOfferUpdateAttributes) (*WinBackOfferResponse, error)

UpdateWinBackOffer sends PATCH /v1/winBackOffers/{id} (winBackOffers_updateInstance).

func (*Client) UploadAppClipAdvancedExperienceImage

func (c *Client) UploadAppClipAdvancedExperienceImage(ctx context.Context, filePath string) (*AppClipAdvancedExperienceImageUploadResult, error)

UploadAppClipAdvancedExperienceImage performs the full upload flow for an image.

func (*Client) UploadAppClipHeaderImage

func (c *Client) UploadAppClipHeaderImage(ctx context.Context, localizationID string, filePath string) (*AppClipHeaderImageUploadResult, error)

UploadAppClipHeaderImage performs the full upload flow for a header image.

func (*Client) UploadAssetFromFile

func (c *Client) UploadAssetFromFile(ctx context.Context, file *os.File, fileSize int64, operations []UploadOperation) error

UploadAssetFromFile uploads an asset using this client's dedicated upload pool. API credentials and cookies are never attached to upload requests.

func (*Client) UploadAssetLibraryImageWithCategory

func (c *Client) UploadAssetLibraryImageWithCategory(ctx context.Context, stderr io.Writer, libraryID, fileName string, file *os.File, fileSize int64, category, referenceName string, requestContext RequestContextFunc) (result AssetLibraryImageUploadResult, uploadErr error)

UploadAssetLibraryImageWithCategory uploads an independently managed image. An empty referenceName leaves Apple's default reference name in place. Transient failures tolerated during the processing wait are reported on stderr when no progress observer is attached; nil means the process stderr.

func (*Client) UploadAssetLibraryVideoWithCategory

func (c *Client) UploadAssetLibraryVideoWithCategory(ctx context.Context, stderr io.Writer, libraryID, fileName string, file *os.File, fileSize int64, category, referenceName, previewFrameTimeCode string, requestContext RequestContextFunc) (AssetLibraryVideoUploadResult, error)

UploadAssetLibraryVideoWithCategory uploads an independently managed video. An empty referenceName leaves Apple's default reference name in place. A non-empty previewFrameTimeCode also makes readiness wait for that frame. Transient failures tolerated during that wait are reported on stderr; nil means the process stderr.

func (*Client) UploadGameCenterAchievementImage

func (c *Client) UploadGameCenterAchievementImage(ctx context.Context, localizationID string, filePath string) (*GameCenterAchievementImageUploadResult, error)

UploadGameCenterAchievementImage performs the complete upload flow: reserve, upload chunks, commit.

func (*Client) UploadGameCenterAchievementImageV2

func (c *Client) UploadGameCenterAchievementImageV2(ctx context.Context, localizationID, filePath string) (*GameCenterAchievementImageUploadResult, error)

UploadGameCenterAchievementImageV2 performs the full upload flow for a v2 achievement image.

func (*Client) UploadGameCenterActivityImage

func (c *Client) UploadGameCenterActivityImage(ctx context.Context, localizationID, versionID, filePath string) (*GameCenterActivityImageUploadResult, error)

UploadGameCenterActivityImage performs the full upload flow for an activity image.

func (*Client) UploadGameCenterChallengeImage

func (c *Client) UploadGameCenterChallengeImage(ctx context.Context, localizationID, versionID, filePath string) (*GameCenterChallengeImageUploadResult, error)

UploadGameCenterChallengeImage performs the full upload flow for a challenge image.

func (*Client) UploadGameCenterLeaderboardImage

func (c *Client) UploadGameCenterLeaderboardImage(ctx context.Context, localizationID string, filePath string) (*GameCenterLeaderboardImageUploadResult, error)

UploadGameCenterLeaderboardImage performs the full upload flow for a leaderboard image. It reserves the upload, uploads the file, and commits the upload.

func (*Client) UploadGameCenterLeaderboardImageV2

func (c *Client) UploadGameCenterLeaderboardImageV2(ctx context.Context, localizationID, filePath string) (*GameCenterLeaderboardImageUploadResult, error)

UploadGameCenterLeaderboardImageV2 performs the full upload flow for a v2 leaderboard image.

func (*Client) UploadGameCenterLeaderboardSetImage

func (c *Client) UploadGameCenterLeaderboardSetImage(ctx context.Context, localizationID, filePath string) (*GameCenterLeaderboardSetImageUploadResult, error)

UploadGameCenterLeaderboardSetImage performs the full upload flow for a leaderboard set image. It reserves an upload slot, uploads the file, and commits the upload.

func (*Client) UploadGameCenterLeaderboardSetImageV2

func (c *Client) UploadGameCenterLeaderboardSetImageV2(ctx context.Context, localizationID, filePath string) (*GameCenterLeaderboardSetImageUploadResult, error)

UploadGameCenterLeaderboardSetImageV2 performs the full upload flow for a v2 leaderboard set image.

func (*Client) UseEnterpriseProgramAPI

func (c *Client) UseEnterpriseProgramAPI()

UseEnterpriseProgramAPI points the client at the Enterprise Program API, which takes its own host and token audience. Call it before the first request.

func (*Client) WaitForBuildProcessing

func (c *Client) WaitForBuildProcessing(ctx context.Context, buildID string, pollInterval time.Duration) (*BuildResponse, error)

WaitForBuildProcessing polls a build until processing completes.

func (*Client) WaitForBuildProcessingTo

func (c *Client) WaitForBuildProcessingTo(ctx context.Context, stderr io.Writer, buildID string, pollInterval time.Duration) (*BuildResponse, error)

WaitForBuildProcessingTo is WaitForBuildProcessing with transient-error notices written to stderr; nil means the process stderr.

type ContentRightsDeclaration

type ContentRightsDeclaration string

ContentRightsDeclaration represents an app's content rights declaration.

const (
	ContentRightsDeclarationDoesNotUseThirdPartyContent ContentRightsDeclaration = "DOES_NOT_USE_THIRD_PARTY_CONTENT"
	ContentRightsDeclarationUsesThirdPartyContent       ContentRightsDeclaration = "USES_THIRD_PARTY_CONTENT"
)

type CrashOption

type CrashOption func(*crashQuery)

CrashOption is a functional option for GetCrashes.

func WithCrashAppPlatforms

func WithCrashAppPlatforms(platforms []string) CrashOption

WithCrashAppPlatforms filters crashes by app platform(s).

func WithCrashBuildIDs

func WithCrashBuildIDs(ids []string) CrashOption

WithCrashBuildIDs filters crashes by build ID(s).

func WithCrashBuildPreReleaseVersionIDs

func WithCrashBuildPreReleaseVersionIDs(ids []string) CrashOption

WithCrashBuildPreReleaseVersionIDs filters crashes by pre-release version ID(s).

func WithCrashDeviceModels

func WithCrashDeviceModels(models []string) CrashOption

WithCrashDeviceModels filters crashes by device model(s).

func WithCrashDevicePlatforms

func WithCrashDevicePlatforms(platforms []string) CrashOption

WithCrashDevicePlatforms filters crashes by device platform(s).

func WithCrashInclude added in v1.260625.0

func WithCrashInclude(include []string) CrashOption

WithCrashInclude specifies related resources to include in crash submission responses (e.g., "build" to surface the build the crash occurred on, or "tester"). Including "build" also returns the build's version and preReleaseVersion so the marketing version can be resolved.

func WithCrashOSVersions

func WithCrashOSVersions(versions []string) CrashOption

WithCrashOSVersions filters crashes by OS version(s).

func WithCrashSort

func WithCrashSort(sort string) CrashOption

WithCrashSort sets the sort order for crashes.

func WithCrashTesterIDs

func WithCrashTesterIDs(ids []string) CrashOption

WithCrashTesterIDs filters crashes by tester ID(s).

type CrashesResponse

type CrashesResponse = Response[BetaFeedbackCrashSubmissionAttributes]

CrashesResponse is the response from beta feedback crashes endpoint.

type CreativePlacementBulkDeleteResult

type CreativePlacementBulkDeleteResult struct {
	Deleted             bool     `json:"deleted"`
	PlacementIDs        []string `json:"placementIds"`
	DeletedPlacementIDs []string `json:"deletedPlacementIds"`
	FailedPlacementID   string   `json:"failedPlacementId,omitempty"`
}

CreativePlacementBulkDeleteResult records progress of sequential placement removals.

type CreativePlacementCreateResult

type CreativePlacementCreateResult struct {
	ID             string `json:"id"`
	Created        bool   `json:"created"`
	LocalizationID string `json:"localizationId"`
	ImageID        string `json:"imageId"`
	VideoID        string `json:"videoId,omitempty"`
	PlacementType  string `json:"placementType"`
	PlacementGroup string `json:"placementGroup"`
	State          string `json:"state,omitempty"`
}

CreativePlacementCreateResult records a successful public placement creation.

type CreativePlacementReorderResult

type CreativePlacementReorderResult struct {
	ID             string   `json:"id"`
	Reordered      bool     `json:"reordered"`
	LocalizationID string   `json:"localizationId"`
	PlacementGroup string   `json:"placementGroup"`
	PlacementIDs   []string `json:"placementIds"`
}

CreativePlacementReorderResult records an accepted placement ordering request.

type CreativePlacementSwapResult

type CreativePlacementSwapResult struct {
	ID                  string `json:"id"`
	Swapped             bool   `json:"swapped"`
	PreviousPlacementID string `json:"previousPlacementId"`
	LocalizationID      string `json:"localizationId"`
	ImageID             string `json:"imageId,omitempty"`
	VideoID             string `json:"videoId,omitempty"`
	PlacementType       string `json:"placementType"`
	PlacementGroup      string `json:"placementGroup,omitempty"`
	State               string `json:"state,omitempty"`
}

CreativePlacementSwapResult records a successful placement replacement.

type CustomProductPagePreviewUploadResult

type CustomProductPagePreviewUploadResult struct {
	CustomProductPageLocalizationID string                   `json:"customProductPageLocalizationId"`
	SetID                           string                   `json:"setId"`
	PreviewType                     string                   `json:"previewType"`
	Results                         []AssetUploadResultItem  `json:"results"`
	Failures                        []AssetUploadFailureItem `json:"failures,omitempty"`
}

CustomProductPagePreviewUploadResult represents custom product page preview upload output.

type CustomProductPageScreenshotUploadResult

type CustomProductPageScreenshotUploadResult struct {
	CustomProductPageLocalizationID string                  `json:"customProductPageLocalizationId"`
	SetID                           string                  `json:"setId"`
	DisplayType                     string                  `json:"displayType"`
	Results                         []AssetUploadResultItem `json:"results"`
}

CustomProductPageScreenshotUploadResult represents custom product page screenshot upload output.

type CustomerReviewAttributes

type CustomerReviewAttributes struct {
	Rating           int    `json:"rating"`
	Title            string `json:"title"`
	Body             string `json:"body"`
	ReviewerNickname string `json:"reviewerNickname"`
	CreatedDate      string `json:"createdDate"`
	Territory        string `json:"territory"`
	// contains filtered or unexported fields
}

CustomerReviewAttributes describes App Store customer reviews.

func (CustomerReviewAttributes) MarshalJSON

func (a CustomerReviewAttributes) MarshalJSON() ([]byte, error)

func (*CustomerReviewAttributes) UnmarshalJSON

func (a *CustomerReviewAttributes) UnmarshalJSON(data []byte) error

type CustomerReviewDigestGroup

type CustomerReviewDigestGroup struct {
	Territory     string  `json:"territory"`
	Count         int     `json:"count"`
	AverageRating float64 `json:"averageRating"`
	Unanswered    int     `json:"unanswered"`
}

CustomerReviewDigestGroup aggregates reviews for one territory.

type CustomerReviewDigestRating

type CustomerReviewDigestRating struct {
	Rating int `json:"rating"`
	Count  int `json:"count"`
}

CustomerReviewDigestRating counts reviews with one star rating.

type CustomerReviewDigestResult

type CustomerReviewDigestResult struct {
	AppID                    string                        `json:"appId"`
	Since                    string                        `json:"since"`
	CursorSource             string                        `json:"cursorSource"`
	Cursor                   string                        `json:"cursor"`
	Total                    int                           `json:"total"`
	AverageRating            float64                       `json:"averageRating"`
	Unanswered               int                           `json:"unanswered"`
	Ratings                  []CustomerReviewDigestRating  `json:"ratings"`
	Territories              []CustomerReviewDigestGroup   `json:"territories"`
	Versions                 []CustomerReviewDigestVersion `json:"versions"`
	UnassignedVersionReviews int                           `json:"unassignedVersionReviews"`
	LowestRated              []CustomerReviewDigestReview  `json:"lowestRated"`
}

CustomerReviewDigestResult summarizes customer reviews created after a cursor.

type CustomerReviewDigestReview

type CustomerReviewDigestReview struct {
	ID          string `json:"id"`
	Rating      int    `json:"rating"`
	Title       string `json:"title"`
	Body        string `json:"body"`
	Territory   string `json:"territory"`
	CreatedDate string `json:"createdDate"`
	Answered    bool   `json:"answered"`
}

CustomerReviewDigestReview is one review listed in the digest.

type CustomerReviewDigestVersion

type CustomerReviewDigestVersion struct {
	VersionID     string  `json:"versionId"`
	Version       string  `json:"version"`
	Platform      string  `json:"platform"`
	Count         int     `json:"count"`
	AverageRating float64 `json:"averageRating"`
	Unanswered    int     `json:"unanswered"`
}

CustomerReviewDigestVersion aggregates reviews associated with one app version.

type CustomerReviewResponse

type CustomerReviewResponse = SingleResponse[CustomerReviewAttributes]

CustomerReviewResponse is the CustomerReviewResponse schema.

type CustomerReviewResponseRelationships

type CustomerReviewResponseRelationships struct {
	Review *Relationship `json:"review"`
}

CustomerReviewResponseRelationships is the data.relationships object of the CustomerReviewResponseV1CreateRequest schema.

type CustomerReviewResponseResource

type CustomerReviewResponseResource struct {
	Type       ResourceType                       `json:"type"`
	ID         string                             `json:"id"`
	Attributes CustomerReviewResponseV1Attributes `json:"attributes"`
}

CustomerReviewResponseResource is a customer review response resource.

type CustomerReviewResponseResponse

type CustomerReviewResponseResponse struct {
	Data  CustomerReviewResponseResource `json:"data"`
	Links Links                          `json:"links"`
}

CustomerReviewResponseResponse is the response from customer review response detail/create/update.

type CustomerReviewResponseV1Attributes

type CustomerReviewResponseV1Attributes struct {
	ResponseBody string `json:"responseBody"`
	LastModified string `json:"lastModifiedDate,omitempty"`
	State        string `json:"state,omitempty"`
}

CustomerReviewResponseV1Attributes describes a customer review response.

type CustomerReviewResponseV1CreateAttributes

type CustomerReviewResponseV1CreateAttributes struct {
	ResponseBody string `json:"responseBody"`
}

CustomerReviewResponseV1CreateAttributes is the data.attributes object of the CustomerReviewResponseV1CreateRequest schema.

type CustomerReviewResponseV1CreateData

type CustomerReviewResponseV1CreateData struct {
	Type          ResourceType                             `json:"type"`
	Attributes    CustomerReviewResponseV1CreateAttributes `json:"attributes"`
	Relationships *CustomerReviewResponseRelationships     `json:"relationships"`
}

CustomerReviewResponseV1CreateData is the data object of the CustomerReviewResponseV1CreateRequest schema.

type CustomerReviewResponseV1CreateRequest

type CustomerReviewResponseV1CreateRequest struct {
	Data CustomerReviewResponseV1CreateData `json:"data"`
}

CustomerReviewResponseV1CreateRequest is the CustomerReviewResponseV1CreateRequest schema.

type CustomerReviewResponsesResponse

type CustomerReviewResponsesResponse struct {
	Data  []CustomerReviewResponseResource `json:"data"`
	Links Links                            `json:"links"`
}

CustomerReviewResponsesResponse is the response from customer review responses endpoints (list).

type CustomerReviewSummarizationAttributes

type CustomerReviewSummarizationAttributes struct {
	CreatedDate string   `json:"createdDate"`
	Locale      string   `json:"locale"`
	Platform    Platform `json:"platform"`
	Text        string   `json:"text"`
}

CustomerReviewSummarizationAttributes describes a customer review summarization.

type CustomerReviewSummarizationRelationships

type CustomerReviewSummarizationRelationships struct {
	Territory *Relationship `json:"territory,omitempty"`
}

CustomerReviewSummarizationRelationships describes customer review summarization relationships.

type CustomerReviewSummarizationResource

type CustomerReviewSummarizationResource struct {
	Type          ResourceType                              `json:"type"`
	ID            string                                    `json:"id"`
	Attributes    CustomerReviewSummarizationAttributes     `json:"attributes"`
	Relationships *CustomerReviewSummarizationRelationships `json:"relationships,omitempty"`
}

CustomerReviewSummarizationResource represents a customer review summarization resource.

type CustomerReviewSummarizationsOption

type CustomerReviewSummarizationsOption func(*customerReviewSummarizationsQuery)

CustomerReviewSummarizationsOption sets the query of GET /v1/apps/{id}/customerReviewSummarizations (apps_customerReviewSummarizations_getToManyRelated).

func WithCustomerReviewSummarizationsFields

func WithCustomerReviewSummarizationsFields(fields []string) CustomerReviewSummarizationsOption

WithCustomerReviewSummarizationsFields sets fields[customerReviewSummarizations].

func WithCustomerReviewSummarizationsInclude

func WithCustomerReviewSummarizationsInclude(include []string) CustomerReviewSummarizationsOption

WithCustomerReviewSummarizationsInclude sets include.

func WithCustomerReviewSummarizationsPlatforms

func WithCustomerReviewSummarizationsPlatforms(platforms []string) CustomerReviewSummarizationsOption

WithCustomerReviewSummarizationsPlatforms sets filter[platform].

func WithCustomerReviewSummarizationsTerritories

func WithCustomerReviewSummarizationsTerritories(territories []string) CustomerReviewSummarizationsOption

WithCustomerReviewSummarizationsTerritories sets filter[territory].

func WithCustomerReviewSummarizationsTerritoryFields

func WithCustomerReviewSummarizationsTerritoryFields(fields []string) CustomerReviewSummarizationsOption

WithCustomerReviewSummarizationsTerritoryFields sets fields[territories].

type CustomerReviewSummarizationsResponse

type CustomerReviewSummarizationsResponse struct {
	Data     []CustomerReviewSummarizationResource `json:"data"`
	Links    Links                                 `json:"links"`
	Included json.RawMessage                       `json:"included,omitempty"`
	Meta     json.RawMessage                       `json:"meta,omitempty"`
}

CustomerReviewSummarizationsResponse is the response from customer review summarizations endpoints.

func (*CustomerReviewSummarizationsResponse) GetData

GetData returns the data field for pagination aggregation.

GetLinks returns the pagination links for review summarizations.

type DSYMDownloadFile added in v1.260819.0

type DSYMDownloadFile struct {
	BuildID     string `json:"buildId,omitempty"`
	Version     string `json:"version,omitempty"`
	BuildNumber string `json:"buildNumber,omitempty"`
	BundleID    string `json:"bundleId,omitempty"`
	FileName    string `json:"fileName"`
	FilePath    string `json:"filePath"`
	FileSize    int64  `json:"fileSize"`
	SHA256      string `json:"sha256,omitempty"`
	Skipped     bool   `json:"skipped,omitempty"`
}

DSYMDownloadFile describes one downloaded dSYM file.

type DSYMDownloadResult added in v1.260819.0

type DSYMDownloadResult struct {
	BuildID     string             `json:"buildId,omitempty"`
	Version     string             `json:"version,omitempty"`
	BuildNumber string             `json:"buildNumber,omitempty"`
	Dir         string             `json:"dir"`
	Status      string             `json:"status,omitempty"`
	Files       []DSYMDownloadFile `json:"files"`
}

DSYMDownloadResult is the structured output for dSYM downloads.

type DeleteResult

type DeleteResult struct {
	ID      string `json:"id"`
	Deleted bool   `json:"deleted"`
}

DeleteResult is the output of a delete command that reports the deleted resource's ID.

type DeveloperBundleIDCapabilityDisableResult added in v1.260907.0

type DeveloperBundleIDCapabilityDisableResult struct {
	BundleID   string `json:"bundleId"`
	Capability string `json:"capability"`
	Enabled    bool   `json:"enabled"`
	Changed    bool   `json:"changed"`
	Status     string `json:"status"`
}

DeveloperBundleIDCapabilityDisableResult is the stable receipt for a verified Developer Portal Bundle ID capability disable operation. Changed is false when the capability was already disabled and no PATCH was sent.

type DeveloperIDCheckCertificate

type DeveloperIDCheckCertificate struct {
	ID                       string `json:"id"`
	Name                     string `json:"name,omitempty"`
	DisplayName              string `json:"displayName,omitempty"`
	CertificateType          string `json:"certificateType,omitempty"`
	SerialNumber             string `json:"serialNumber,omitempty"`
	ExpirationDate           string `json:"expirationDate,omitempty"`
	Activated                *bool  `json:"activated,omitempty"`
	Expired                  bool   `json:"expired"`
	Status                   string `json:"status"`
	Evidence                 string `json:"evidence"`
	IssuerCommonName         string `json:"issuerCommonName,omitempty"`
	IssuerOrganizationalUnit string `json:"issuerOrganizationalUnit,omitempty"`
}

DeveloperIDCheckCertificate is the verdict for one certificate. Evidence names what the status rests on: issuer, certificateType, expirationDate, or none.

type DeveloperIDCheckGap

type DeveloperIDCheckGap struct {
	Certificate string `json:"certificate"`
	Reason      string `json:"reason"`
}

DeveloperIDCheckGap names certificates the check cannot see.

type DeveloperIDCheckResult

type DeveloperIDCheckResult struct {
	AuthorityExpiresOn   string                        `json:"authorityExpiresOn"`
	AuthorityExpired     bool                          `json:"authorityExpired"`
	DaysRemaining        int                           `json:"daysRemaining"`
	ReplacementAuthority string                        `json:"replacementAuthority"`
	ActionRequired       bool                          `json:"actionRequired"`
	Summary              DeveloperIDCheckSummary       `json:"summary"`
	CheckedTypes         []string                      `json:"checkedTypes"`
	NotChecked           []DeveloperIDCheckGap         `json:"notChecked"`
	Certificates         []DeveloperIDCheckCertificate `json:"certificates"`
}

DeveloperIDCheckResult reports API-visible Developer ID certificates against the expiring Developer ID Sub-CA.

type DeveloperIDCheckSummary

type DeveloperIDCheckSummary struct {
	Total          int `json:"total"`
	Affected       int `json:"affected"`
	LikelyAffected int `json:"likelyAffected"`
	NotAffected    int `json:"notAffected"`
	Unknown        int `json:"unknown"`
}

DeveloperIDCheckSummary counts certificates by status.

type DeveloperSystemStatusEvent added in v1.260822.0

type DeveloperSystemStatusEvent struct {
	MessageID        string `json:"messageId"`
	StatusType       string `json:"statusType,omitempty"`
	EventStatus      string `json:"eventStatus,omitempty"`
	Message          string `json:"message,omitempty"`
	DatePosted       string `json:"datePosted,omitempty"`
	StartDate        string `json:"startDate,omitempty"`
	EndDate          string `json:"endDate,omitempty"`
	EpochStartDate   int64  `json:"epochStartDate,omitempty"`
	EpochEndDate     *int64 `json:"epochEndDate,omitempty"`
	UsersAffected    string `json:"usersAffected,omitempty"`
	AffectedServices string `json:"affectedServices,omitempty"`
	Active           bool   `json:"active"`
}

DeveloperSystemStatusEvent preserves the useful fields exposed by Apple's public status feed and adds Active for deterministic filtering.

type DeveloperSystemStatusReport added in v1.260822.0

type DeveloperSystemStatusReport struct {
	Source   string                         `json:"source"`
	Summary  DeveloperSystemStatusSummary   `json:"summary"`
	Message  string                         `json:"message,omitempty"`
	Services []DeveloperSystemStatusService `json:"services"`
}

DeveloperSystemStatusReport is a computed snapshot of Apple's public Developer System Status feed.

type DeveloperSystemStatusService added in v1.260822.0

type DeveloperSystemStatusService struct {
	Name   string                       `json:"name"`
	Status string                       `json:"status"`
	URL    string                       `json:"url,omitempty"`
	Events []DeveloperSystemStatusEvent `json:"events"`
}

DeveloperSystemStatusService is one Apple developer service and its recent status events.

type DeveloperSystemStatusSummary added in v1.260822.0

type DeveloperSystemStatusSummary struct {
	Status              string `json:"status"`
	TotalServices       int    `json:"totalServices"`
	OperationalServices int    `json:"operationalServices"`
	AffectedServices    int    `json:"affectedServices"`
	ActiveIncidents     int    `json:"activeIncidents"`
}

DeveloperSystemStatusSummary describes the selected services in a system status report. Counts describe all services matched by --service even when --issues-only omits healthy services from Services.

type DeviceAttributes

type DeviceAttributes struct {
	Name        string         `json:"name"`
	Platform    DevicePlatform `json:"platform"`
	UDID        string         `json:"udid"`
	DeviceClass DeviceClass    `json:"deviceClass,omitempty"`
	Status      DeviceStatus   `json:"status,omitempty"`
	Model       string         `json:"model,omitempty"`
	AddedDate   string         `json:"addedDate,omitempty"`
}

DeviceAttributes describes an App Store Connect device.

type DeviceBatchRegistrationItem added in v1.260822.0

type DeviceBatchRegistrationItem struct {
	Row      int    `json:"row"`
	ID       string `json:"id,omitempty"`
	Name     string `json:"name"`
	UDID     string `json:"udid"`
	Platform string `json:"platform"`
	Status   string `json:"status"`
	Reason   string `json:"reason,omitempty"`
	Error    string `json:"error,omitempty"`
}

DeviceBatchRegistrationItem describes one row processed by a batch registration.

type DeviceBatchRegistrationSummary added in v1.260822.0

type DeviceBatchRegistrationSummary struct {
	InputFile       string                        `json:"inputFile"`
	DryRun          bool                          `json:"dryRun"`
	ContinueOnError bool                          `json:"continueOnError"`
	Total           int                           `json:"total"`
	Processed       int                           `json:"processed"`
	Registered      int                           `json:"registered"`
	Planned         int                           `json:"planned"`
	Skipped         int                           `json:"skipped"`
	Failed          int                           `json:"failed"`
	Results         []DeviceBatchRegistrationItem `json:"results"`
}

DeviceBatchRegistrationSummary represents CLI output for batch device registration.

type DeviceClass

type DeviceClass string

DeviceClass represents the device class reported by ASC.

const (
	DeviceClassAppleWatch DeviceClass = "APPLE_WATCH"
	DeviceClassIPad       DeviceClass = "IPAD"
	DeviceClassIPhone     DeviceClass = "IPHONE"
	DeviceClassIPod       DeviceClass = "IPOD"
	DeviceClassAppleTV    DeviceClass = "APPLE_TV"
	DeviceClassMac        DeviceClass = "MAC"
)

type DeviceConnectionType

type DeviceConnectionType string

DeviceConnectionType represents the network connection type.

const (
	DeviceConnectionTypeWiFi       DeviceConnectionType = "WIFI"
	DeviceConnectionTypeMobileData DeviceConnectionType = "MOBILE_DATA"
	DeviceConnectionTypeWire       DeviceConnectionType = "WIRE"
	DeviceConnectionTypeUnknown    DeviceConnectionType = "UNKNOWN"
	DeviceConnectionTypeNone       DeviceConnectionType = "NONE"
)

type DeviceCreateAttributes

type DeviceCreateAttributes struct {
	Name     string         `json:"name"`
	UDID     string         `json:"udid"`
	Platform DevicePlatform `json:"platform"`
}

DeviceCreateAttributes describes attributes for creating a device.

type DeviceCreateData

type DeviceCreateData struct {
	Type       ResourceType           `json:"type"`
	Attributes DeviceCreateAttributes `json:"attributes"`
}

DeviceCreateData is the data object of the DeviceCreateRequest schema.

type DeviceCreateRequest

type DeviceCreateRequest struct {
	Data DeviceCreateData `json:"data"`
}

DeviceCreateRequest is the DeviceCreateRequest schema.

type DeviceFamily

type DeviceFamily string

DeviceFamily represents a device family used in accessibility declarations.

const (
	DeviceFamilyIPhone     DeviceFamily = "IPHONE"
	DeviceFamilyIPad       DeviceFamily = "IPAD"
	DeviceFamilyAppleTV    DeviceFamily = "APPLE_TV"
	DeviceFamilyAppleWatch DeviceFamily = "APPLE_WATCH"
	DeviceFamilyMac        DeviceFamily = "MAC"
	DeviceFamilyVision     DeviceFamily = "VISION"
)

type DeviceFamilyOsVersionFilter

type DeviceFamilyOsVersionFilter struct {
	DeviceFamily       DeviceFamily `json:"deviceFamily,omitempty"`
	MinimumOsInclusive string       `json:"minimumOsInclusive,omitempty"`
	MaximumOsInclusive string       `json:"maximumOsInclusive,omitempty"`
}

DeviceFamilyOsVersionFilter represents device family OS constraints.

type DeviceLocalUDIDResult

type DeviceLocalUDIDResult struct {
	UDID     string `json:"udid"`
	Platform string `json:"platform"`
}

DeviceLocalUDIDResult represents CLI output for local device UDID lookup.

type DevicePlatform

type DevicePlatform = BundleIDPlatform

DevicePlatform represents the platform of a device.

type DeviceResponse

type DeviceResponse = SingleResponse[DeviceAttributes]

DeviceResponse is the DeviceResponse schema.

type DeviceStatus

type DeviceStatus string

DeviceStatus represents the status of a device.

const (
	DeviceStatusEnabled  DeviceStatus = "ENABLED"
	DeviceStatusDisabled DeviceStatus = "DISABLED"
)

type DeviceURLRegistration

type DeviceURLRegistration struct {
	Name     string `json:"name"`
	UDID     string `json:"udid"`
	Platform string `json:"platform"`
	Status   string `json:"status"`
	DeviceID string `json:"deviceId,omitempty"`
	Error    string `json:"error,omitempty"`
}

DeviceURLRegistration describes a device callback outcome.

type DeviceURLRegistrationResult

type DeviceURLRegistrationResult struct {
	URL         string                  `json:"url"`
	Token       string                  `json:"token"`
	CollectOnly bool                    `json:"collectOnly"`
	OutputFile  string                  `json:"outputFile,omitempty"`
	Devices     []DeviceURLRegistration `json:"devices"`
	Failures    []DeviceURLRegistration `json:"failures,omitempty"`
}

DeviceURLRegistrationResult is the final registration session receipt.

type DeviceUpdateAttributes

type DeviceUpdateAttributes struct {
	Name   *string       `json:"name,omitempty"`
	Status *DeviceStatus `json:"status,omitempty"`
}

DeviceUpdateAttributes describes attributes for updating a device.

type DeviceUpdateData

type DeviceUpdateData struct {
	Type       ResourceType            `json:"type"`
	ID         string                  `json:"id"`
	Attributes *DeviceUpdateAttributes `json:"attributes,omitempty"`
}

DeviceUpdateData is the data object of the DeviceUpdateRequest schema.

type DeviceUpdateRequest

type DeviceUpdateRequest struct {
	Data DeviceUpdateData `json:"data"`
}

DeviceUpdateRequest is the DeviceUpdateRequest schema.

type DevicesOption

type DevicesOption func(*devicesQuery)

DevicesOption is a functional option for GetDevices.

func WithDevicesFields

func WithDevicesFields(fields []string) DevicesOption

WithDevicesFields sets fields[devices] for device responses.

func WithDevicesFilterStatuses

func WithDevicesFilterStatuses(statuses []string) DevicesOption

WithDevicesFilterStatuses filters devices by status (e.g., ENABLED, DISABLED).

func WithDevicesIDs

func WithDevicesIDs(ids []string) DevicesOption

WithDevicesIDs filters devices by ID(s).

func WithDevicesNames

func WithDevicesNames(names []string) DevicesOption

WithDevicesNames filters devices by name(s).

func WithDevicesPlatforms

func WithDevicesPlatforms(platforms []string) DevicesOption

WithDevicesPlatforms filters devices by platform(s).

func WithDevicesSort

func WithDevicesSort(sort string) DevicesOption

WithDevicesSort sets the sort order for devices.

func WithDevicesStatus

func WithDevicesStatus(status string) DevicesOption

WithDevicesStatus filters devices by status.

func WithDevicesUDIDs

func WithDevicesUDIDs(udids []string) DevicesOption

WithDevicesUDIDs filters devices by UDID(s).

type DevicesResponse

type DevicesResponse = Response[DeviceAttributes]

DevicesResponse is the DevicesResponse schema.

type DiagnosticInsight

type DiagnosticInsight struct {
	InsightType       DiagnosticInsightType               `json:"insightType,omitempty"`
	Direction         DiagnosticInsightDirection          `json:"direction,omitempty"`
	ReferenceVersions []DiagnosticInsightReferenceVersion `json:"referenceVersions,omitempty"`
}

DiagnosticInsight describes insight details for diagnostic signatures.

type DiagnosticInsightDirection

type DiagnosticInsightDirection string

DiagnosticInsightDirection describes diagnostic insight direction.

const (
	DiagnosticInsightDirectionUp        DiagnosticInsightDirection = "UP"
	DiagnosticInsightDirectionDown      DiagnosticInsightDirection = "DOWN"
	DiagnosticInsightDirectionUndefined DiagnosticInsightDirection = "UNDEFINED"
)

type DiagnosticInsightReferenceVersion

type DiagnosticInsightReferenceVersion struct {
	Version string  `json:"version,omitempty"`
	Value   float64 `json:"value,omitempty"`
}

DiagnosticInsightReferenceVersion describes a reference version for insight.

type DiagnosticInsightType

type DiagnosticInsightType string

DiagnosticInsightType describes the insight category.

const (
	DiagnosticInsightTypeTrend DiagnosticInsightType = "TREND"
)

type DiagnosticLogsOption

type DiagnosticLogsOption func(*diagnosticLogsQuery)

DiagnosticLogsOption sets the query of GET /v1/diagnosticSignatures/{id}/logs (diagnosticSignatures_logs_getToManyRelated).

type DiagnosticLogsResponse

type DiagnosticLogsResponse struct {
	Data json.RawMessage `json:"-"`
}

DiagnosticLogsResponse wraps raw diagnostic logs JSON.

func (DiagnosticLogsResponse) MarshalJSON

func (r DiagnosticLogsResponse) MarshalJSON() ([]byte, error)

MarshalJSON preserves raw API JSON for diagnostic logs responses.

type DiagnosticSignatureAttributes

type DiagnosticSignatureAttributes struct {
	DiagnosticType DiagnosticSignatureType `json:"diagnosticType,omitempty"`
	Signature      string                  `json:"signature,omitempty"`
	Weight         float64                 `json:"weight,omitempty"`
	Insight        *DiagnosticInsight      `json:"insight,omitempty"`
}

DiagnosticSignatureAttributes describes diagnostic signature metadata.

type DiagnosticSignatureType

type DiagnosticSignatureType string

DiagnosticSignatureType represents a diagnostic signature category.

const (
	DiagnosticSignatureTypeDiskWrites DiagnosticSignatureType = "DISK_WRITES"
	DiagnosticSignatureTypeHangs      DiagnosticSignatureType = "HANGS"
	DiagnosticSignatureTypeLaunches   DiagnosticSignatureType = "LAUNCHES"
)

type DiagnosticSignaturesOption

type DiagnosticSignaturesOption func(*diagnosticSignaturesQuery)

DiagnosticSignaturesOption sets the query of GET /v1/builds/{id}/diagnosticSignatures (builds_diagnosticSignatures_getToManyRelated).

func WithDiagnosticSignaturesDiagnosticTypes

func WithDiagnosticSignaturesDiagnosticTypes(types []string) DiagnosticSignaturesOption

WithDiagnosticSignaturesDiagnosticTypes sets filter[diagnosticType].

func WithDiagnosticSignaturesFields

func WithDiagnosticSignaturesFields(fields []string) DiagnosticSignaturesOption

WithDiagnosticSignaturesFields sets fields[diagnosticSignatures].

type DiagnosticSignaturesResponse

type DiagnosticSignaturesResponse = Response[DiagnosticSignatureAttributes]

DiagnosticSignaturesResponse is the response from diagnostic signatures endpoints.

type EndAppAvailabilityPreOrderAttributes

type EndAppAvailabilityPreOrderAttributes struct{}

EndAppAvailabilityPreOrderAttributes describes the end pre-order response attributes.

type EndAppAvailabilityPreOrderCreateData

type EndAppAvailabilityPreOrderCreateData struct {
	Type          ResourceType                            `json:"type"`
	Relationships EndAppAvailabilityPreOrderRelationships `json:"relationships"`
}

EndAppAvailabilityPreOrderCreateData is the data object of the EndAppAvailabilityPreOrderCreateRequest schema.

type EndAppAvailabilityPreOrderCreateRequest

type EndAppAvailabilityPreOrderCreateRequest struct {
	Data EndAppAvailabilityPreOrderCreateData `json:"data"`
}

EndAppAvailabilityPreOrderCreateRequest is the EndAppAvailabilityPreOrderCreateRequest schema.

type EndAppAvailabilityPreOrderRelationships

type EndAppAvailabilityPreOrderRelationships struct {
	TerritoryAvailabilities RelationshipList `json:"territoryAvailabilities"`
}

EndAppAvailabilityPreOrderRelationships is the data.relationships object of the EndAppAvailabilityPreOrderCreateRequest schema.

type EndAppAvailabilityPreOrderResponse

type EndAppAvailabilityPreOrderResponse = SingleResponse[EndAppAvailabilityPreOrderAttributes]

EndAppAvailabilityPreOrderResponse is the EndAppAvailabilityPreOrderResponse schema.

type EndUserLicenseAgreementAttributes

type EndUserLicenseAgreementAttributes struct {
	AgreementText string `json:"agreementText,omitempty"`
}

EndUserLicenseAgreementAttributes is the attributes object of the EndUserLicenseAgreement schema.

type EndUserLicenseAgreementCreateAttributes

type EndUserLicenseAgreementCreateAttributes struct {
	AgreementText string `json:"agreementText"`
}

EndUserLicenseAgreementCreateAttributes is the data.attributes object of the EndUserLicenseAgreementCreateRequest schema.

type EndUserLicenseAgreementCreateData

type EndUserLicenseAgreementCreateData struct {
	Type          ResourceType                               `json:"type"`
	Attributes    EndUserLicenseAgreementCreateAttributes    `json:"attributes"`
	Relationships EndUserLicenseAgreementCreateRelationships `json:"relationships"`
}

EndUserLicenseAgreementCreateData is the data object of the EndUserLicenseAgreementCreateRequest schema.

type EndUserLicenseAgreementCreateRelationships

type EndUserLicenseAgreementCreateRelationships struct {
	App         Relationship     `json:"app"`
	Territories RelationshipList `json:"territories"`
}

EndUserLicenseAgreementCreateRelationships is the data.relationships object of the EndUserLicenseAgreementCreateRequest schema.

type EndUserLicenseAgreementCreateRequest

type EndUserLicenseAgreementCreateRequest struct {
	Data EndUserLicenseAgreementCreateData `json:"data"`
}

EndUserLicenseAgreementCreateRequest is the EndUserLicenseAgreementCreateRequest schema.

type EndUserLicenseAgreementRelationships

type EndUserLicenseAgreementRelationships struct {
	App         *Relationship     `json:"app,omitempty"`
	Territories *RelationshipList `json:"territories,omitempty"`
}

EndUserLicenseAgreementRelationships describes EULA relationships.

type EndUserLicenseAgreementResource

type EndUserLicenseAgreementResource struct {
	Type          ResourceType                          `json:"type"`
	ID            string                                `json:"id"`
	Attributes    EndUserLicenseAgreementAttributes     `json:"attributes"`
	Relationships *EndUserLicenseAgreementRelationships `json:"relationships,omitempty"`
}

EndUserLicenseAgreementResource represents an EULA resource.

type EndUserLicenseAgreementResponse

type EndUserLicenseAgreementResponse struct {
	Data  EndUserLicenseAgreementResource `json:"data"`
	Links Links                           `json:"links"`
}

EndUserLicenseAgreementResponse is the response from EULA endpoints.

type EndUserLicenseAgreementTerritoriesOption

type EndUserLicenseAgreementTerritoriesOption func(*endUserLicenseAgreementTerritoriesQuery)

EndUserLicenseAgreementTerritoriesOption sets the query of GET /v1/endUserLicenseAgreements/{id}/territories (endUserLicenseAgreements_territories_getToManyRelated).

type EndUserLicenseAgreementUpdateAttributes

type EndUserLicenseAgreementUpdateAttributes struct {
	AgreementText *string `json:"agreementText,omitempty"`
}

EndUserLicenseAgreementUpdateAttributes is the data.attributes object of the EndUserLicenseAgreementUpdateRequest schema.

type EndUserLicenseAgreementUpdateData

type EndUserLicenseAgreementUpdateData struct {
	Type          ResourceType                                `json:"type"`
	ID            string                                      `json:"id"`
	Attributes    *EndUserLicenseAgreementUpdateAttributes    `json:"attributes,omitempty"`
	Relationships *EndUserLicenseAgreementUpdateRelationships `json:"relationships,omitempty"`
}

EndUserLicenseAgreementUpdateData is the data object of the EndUserLicenseAgreementUpdateRequest schema.

type EndUserLicenseAgreementUpdateRelationships

type EndUserLicenseAgreementUpdateRelationships struct {
	Territories *RelationshipList `json:"territories,omitempty"`
}

EndUserLicenseAgreementUpdateRelationships is the data.relationships object of the EndUserLicenseAgreementUpdateRequest schema.

type EndUserLicenseAgreementUpdateRequest

type EndUserLicenseAgreementUpdateRequest struct {
	Data EndUserLicenseAgreementUpdateData `json:"data"`
}

EndUserLicenseAgreementUpdateRequest is the EndUserLicenseAgreementUpdateRequest schema.

type ErrorDetail

type ErrorDetail struct {
	Code        string `json:"code,omitempty"`
	Message     string `json:"message,omitempty"`
	Description string `json:"description,omitempty"`
}

ErrorDetail describes an asset error detail.

type ExperimentTreatmentLocalizationPreviewUploadResult

type ExperimentTreatmentLocalizationPreviewUploadResult struct {
	ExperimentTreatmentLocalizationID string                   `json:"experimentTreatmentLocalizationId"`
	SetID                             string                   `json:"setId"`
	PreviewType                       string                   `json:"previewType"`
	Results                           []AssetUploadResultItem  `json:"results"`
	Failures                          []AssetUploadFailureItem `json:"failures,omitempty"`
}

ExperimentTreatmentLocalizationPreviewUploadResult represents PPO treatment localization preview upload output.

type ExperimentTreatmentLocalizationScreenshotUploadResult added in v1.260404.0

type ExperimentTreatmentLocalizationScreenshotUploadResult struct {
	ExperimentTreatmentLocalizationID string                  `json:"experimentTreatmentLocalizationId"`
	SetID                             string                  `json:"setId"`
	DisplayType                       string                  `json:"displayType"`
	Results                           []AssetUploadResultItem `json:"results"`
}

ExperimentTreatmentLocalizationScreenshotUploadResult represents PPO treatment localization screenshot upload output.

type FeedbackOption

type FeedbackOption func(*feedbackQuery)

FeedbackOption is a functional option for GetFeedback.

func WithFeedbackAppPlatforms

func WithFeedbackAppPlatforms(platforms []string) FeedbackOption

WithFeedbackAppPlatforms filters feedback by app platform(s).

func WithFeedbackBuildIDs

func WithFeedbackBuildIDs(ids []string) FeedbackOption

WithFeedbackBuildIDs filters feedback by build ID(s).

func WithFeedbackBuildPreReleaseVersionIDs

func WithFeedbackBuildPreReleaseVersionIDs(ids []string) FeedbackOption

WithFeedbackBuildPreReleaseVersionIDs filters feedback by pre-release version ID(s).

func WithFeedbackDeviceModels

func WithFeedbackDeviceModels(models []string) FeedbackOption

WithFeedbackDeviceModels filters feedback by device model(s).

func WithFeedbackDevicePlatforms

func WithFeedbackDevicePlatforms(platforms []string) FeedbackOption

WithFeedbackDevicePlatforms filters feedback by device platform(s).

func WithFeedbackInclude added in v1.260625.0

func WithFeedbackInclude(include []string) FeedbackOption

WithFeedbackInclude specifies related resources to include in screenshot feedback responses (e.g., "build" to surface the build the feedback was submitted against, or "tester").

func WithFeedbackIncludeScreenshots

func WithFeedbackIncludeScreenshots() FeedbackOption

WithFeedbackIncludeScreenshots includes screenshot URLs in feedback responses.

func WithFeedbackOSVersions

func WithFeedbackOSVersions(versions []string) FeedbackOption

WithFeedbackOSVersions filters feedback by OS version(s).

func WithFeedbackSort

func WithFeedbackSort(sort string) FeedbackOption

WithFeedbackSort sets the sort order for feedback.

func WithFeedbackTesterIDs

func WithFeedbackTesterIDs(ids []string) FeedbackOption

WithFeedbackTesterIDs filters feedback by tester ID(s).

type FeedbackResponse

type FeedbackResponse = Response[BetaFeedbackScreenshotSubmissionAttributes]

FeedbackResponse is the response from beta feedback screenshots endpoint.

type FeedbackScreenshotImage

type FeedbackScreenshotImage struct {
	URL            string `json:"url"`
	Width          int    `json:"width,omitempty"`
	Height         int    `json:"height,omitempty"`
	ExpirationDate string `json:"expirationDate,omitempty"`
}

FeedbackScreenshotImage describes a screenshot attached to feedback.

type FileLocation

type FileLocation struct {
	Path       string `json:"path,omitempty"`
	LineNumber int    `json:"lineNumber,omitempty"`
}

FileLocation describes a file path and line number.

type FinanceRegion

type FinanceRegion struct {
	ReportRegion       string `json:"reportRegion"`
	ReportCurrency     string `json:"reportCurrency"`
	RegionCode         string `json:"regionCode"`
	CountriesOrRegions string `json:"countriesOrRegions"`
}

FinanceRegion describes a finance report region code and currency.

Region codes are used with the --region flag for 'asc finance reports'. Special region codes:

  • ZZ: Consolidated Financial Reports (all regions, use with FINANCIAL)
  • Z1: Financial Detail Reports (all regions, required for FINANCE_DETAIL)
  • EU, LL, AP, WW: Regional aggregates (use with FINANCIAL)
  • US, AU, JP, etc.: Individual country reports (use with FINANCIAL)

Reference: https://developer.apple.com/help/app-store-connect/reference/financial-report-regions-and-currencies/

func FinanceRegions

func FinanceRegions() []FinanceRegion

FinanceRegions returns a copy of the Apple finance report region codes list.

type FinanceRegionsResult

type FinanceRegionsResult struct {
	Regions []FinanceRegion `json:"regions"`
}

FinanceRegionsResult represents CLI output for finance region listings.

type FinanceReportParams

type FinanceReportParams struct {
	VendorNumber string
	ReportType   FinanceReportType
	RegionCode   string
	ReportDate   string
}

FinanceReportParams describes finance report query parameters.

type FinanceReportResult

type FinanceReportResult struct {
	VendorNumber      string `json:"vendorNumber"`
	ReportType        string `json:"reportType"`
	RegionCode        string `json:"regionCode"`
	ReportDate        string `json:"reportDate"`
	FilePath          string `json:"filePath"`
	Bytes             int64  `json:"fileSize"`
	Decompressed      bool   `json:"decompressed"`
	DecompressedPath  string `json:"decompressedPath,omitempty"`
	DecompressedBytes int64  `json:"decompressedSize,omitempty"`
}

FinanceReportResult represents CLI output for finance report downloads.

type FinanceReportType

type FinanceReportType string

FinanceReportType represents the finance report type for the App Store Connect API.

The API supports two report types that map to UI options as follows:

  • FINANCIAL: Aggregated monthly financial report. Maps to UI options "All Countries or Regions (Single File)" with region ZZ, or "All Countries or Regions (Multiple Files)" with individual region codes.

  • FINANCE_DETAIL: Detailed report with transaction and settlement dates. Maps to UI option "All Countries or Regions (Detailed)". Requires region code Z1.

Note: Transaction Tax reports shown in the App Store Connect UI are NOT available via the API. They must be downloaded manually from the web interface.

const (
	// FinanceReportTypeFinancial is for aggregated monthly financial reports.
	// Use with region codes: US, EU, ZZ (consolidated), or other individual/regional codes.
	FinanceReportTypeFinancial FinanceReportType = "FINANCIAL"

	// FinanceReportTypeFinanceDetail is for detailed reports with transaction dates.
	// Must be used with region code Z1 only.
	FinanceReportTypeFinanceDetail FinanceReportType = "FINANCE_DETAIL"
)

type GCAchievementLocalizationsOption

type GCAchievementLocalizationsOption func(*gcAchievementLocalizationsQuery)

GCAchievementLocalizationsOption sets the query of GET /v2/gameCenterAchievementVersions/{id}/localizations (gameCenterAchievementVersionsV2_localizations_getToManyRelated) and GET /v1/gameCenterAchievements/{id}/localizations (gameCenterAchievements_localizations_getToManyRelated).

type GCAchievementReleasesOption

type GCAchievementReleasesOption func(*gcAchievementReleasesQuery)

GCAchievementReleasesOption sets the query of GET /v1/gameCenterAchievements/{id}/releases (gameCenterAchievements_releases_getToManyRelated) and GET /v1/gameCenterDetails/{id}/achievementReleases (gameCenterDetails_achievementReleases_getToManyRelated).

type GCAchievementVersionsOption

type GCAchievementVersionsOption func(*gcAchievementVersionsQuery)

GCAchievementVersionsOption sets the query of GET /v2/gameCenterAchievements/{id}/versions (gameCenterAchievementsV2_versions_getToManyRelated).

type GCAchievementsOption

type GCAchievementsOption func(*gcAchievementsQuery)

GCAchievementsOption is a functional option for GetGameCenterAchievements.

type GCActivitiesOption

type GCActivitiesOption func(*gcActivitiesQuery)

GCActivitiesOption sets the query of GET /v1/gameCenterDetails/{id}/gameCenterActivities (gameCenterDetails_gameCenterActivities_getToManyRelated) and GET /v1/gameCenterGroups/{id}/gameCenterActivities (gameCenterGroups_gameCenterActivities_getToManyRelated).

type GCActivityLocalizationsOption

type GCActivityLocalizationsOption func(*gcActivityLocalizationsQuery)

GCActivityLocalizationsOption sets the query of GET /v1/gameCenterActivityVersions/{id}/localizations (gameCenterActivityVersions_localizations_getToManyRelated).

type GCActivityVersionReleasesOption

type GCActivityVersionReleasesOption func(*gcActivityVersionReleasesQuery)

GCActivityVersionReleasesOption sets the query of GET /v1/gameCenterDetails/{id}/activityReleases (gameCenterDetails_activityReleases_getToManyRelated).

type GCActivityVersionsOption

type GCActivityVersionsOption func(*gcActivityVersionsQuery)

GCActivityVersionsOption sets the query of GET /v1/gameCenterActivities/{id}/versions (gameCenterActivities_versions_getToManyRelated).

type GCAppVersionsOption

type GCAppVersionsOption func(*gcAppVersionsQuery)

GCAppVersionsOption sets the query of GET /v1/gameCenterAppVersions/{id}/compatibilityVersions (gameCenterAppVersions_compatibilityVersions_getToManyRelated) and GET /v1/gameCenterDetails/{id}/gameCenterAppVersions (gameCenterDetails_gameCenterAppVersions_getToManyRelated).

type GCBlockedPlayersQuery

type GCBlockedPlayersQuery struct {
	Fields  []string
	Limit   int
	NextURL string
}

GCBlockedPlayersQuery controls the blocked players collection endpoint.

type GCChallengeLocalizationsOption

type GCChallengeLocalizationsOption func(*gcChallengeLocalizationsQuery)

GCChallengeLocalizationsOption sets the query of GET /v1/gameCenterChallengeVersions/{id}/localizations (gameCenterChallengeVersions_localizations_getToManyRelated).

type GCChallengeVersionReleasesOption

type GCChallengeVersionReleasesOption func(*gcChallengeVersionReleasesQuery)

GCChallengeVersionReleasesOption sets the query of GET /v1/gameCenterDetails/{id}/challengeReleases (gameCenterDetails_challengeReleases_getToManyRelated).

type GCChallengeVersionsOption

type GCChallengeVersionsOption func(*gcChallengeVersionsQuery)

GCChallengeVersionsOption sets the query of GET /v1/gameCenterChallenges/{id}/versions (gameCenterChallenges_versions_getToManyRelated).

type GCChallengesOption

type GCChallengesOption func(*gcChallengesQuery)

GCChallengesOption sets the query of GET /v1/gameCenterDetails/{id}/gameCenterChallenges (gameCenterDetails_gameCenterChallenges_getToManyRelated) and GET /v1/gameCenterGroups/{id}/gameCenterChallenges (gameCenterGroups_gameCenterChallenges_getToManyRelated).

type GCDetailsOption

type GCDetailsOption func(*gcDetailsQuery)

GCDetailsOption sets the query of GET /v1/gameCenterGroups/{id}/gameCenterDetails (gameCenterGroups_gameCenterDetails_getToManyRelated).

type GCEnabledVersionsOption

type GCEnabledVersionsOption func(*gcEnabledVersionsQuery)

GCEnabledVersionsOption sets the query of GET /v1/apps/{id}/gameCenterEnabledVersions (apps_gameCenterEnabledVersions_getToManyRelated) and GET /v1/gameCenterEnabledVersions/{id}/compatibleVersions (gameCenterEnabledVersions_compatibleVersions_getToManyRelated).

type GCGroupsOption

type GCGroupsOption func(*gcGroupsQuery)

GCGroupsOption sets the query of GET /v1/gameCenterGroups (gameCenterGroups_getCollection).

func WithGCGroupsGameCenterDetailIDs

func WithGCGroupsGameCenterDetailIDs(detailIDs []string) GCGroupsOption

WithGCGroupsGameCenterDetailIDs sets filter[gameCenterDetails].

type GCLeaderboardLocalizationsOption

type GCLeaderboardLocalizationsOption func(*gcLeaderboardLocalizationsQuery)

GCLeaderboardLocalizationsOption sets the query of GET /v2/gameCenterLeaderboardVersions/{id}/localizations (gameCenterLeaderboardVersionsV2_localizations_getToManyRelated) and GET /v1/gameCenterLeaderboards/{id}/localizations (gameCenterLeaderboards_localizations_getToManyRelated).

type GCLeaderboardReleasesOption

type GCLeaderboardReleasesOption func(*gcLeaderboardReleasesQuery)

GCLeaderboardReleasesOption sets the query of GET /v1/gameCenterDetails/{id}/leaderboardReleases (gameCenterDetails_leaderboardReleases_getToManyRelated) and GET /v1/gameCenterLeaderboards/{id}/releases (gameCenterLeaderboards_releases_getToManyRelated).

type GCLeaderboardSetLocalizationsOption

type GCLeaderboardSetLocalizationsOption func(*gcLeaderboardSetLocalizationsQuery)

GCLeaderboardSetLocalizationsOption sets the query of GET /v2/gameCenterLeaderboardSetVersions/{id}/localizations (gameCenterLeaderboardSetVersionsV2_localizations_getToManyRelated) and GET /v1/gameCenterLeaderboardSets/{id}/localizations (gameCenterLeaderboardSets_localizations_getToManyRelated).

type GCLeaderboardSetMemberLocalizationsOption

type GCLeaderboardSetMemberLocalizationsOption func(*gcLeaderboardSetMemberLocalizationsQuery)

GCLeaderboardSetMemberLocalizationsOption sets the query of GET /v1/gameCenterLeaderboardSetMemberLocalizations (gameCenterLeaderboardSetMemberLocalizations_getCollection).

func WithGCLeaderboardSetMemberLocalizationsLeaderboardIDs

func WithGCLeaderboardSetMemberLocalizationsLeaderboardIDs(ids []string) GCLeaderboardSetMemberLocalizationsOption

WithGCLeaderboardSetMemberLocalizationsLeaderboardIDs sets filter[gameCenterLeaderboard].

func WithGCLeaderboardSetMemberLocalizationsLeaderboardSetIDs

func WithGCLeaderboardSetMemberLocalizationsLeaderboardSetIDs(ids []string) GCLeaderboardSetMemberLocalizationsOption

WithGCLeaderboardSetMemberLocalizationsLeaderboardSetIDs sets filter[gameCenterLeaderboardSet].

type GCLeaderboardSetMembersOption

type GCLeaderboardSetMembersOption func(*gcLeaderboardSetMembersQuery)

GCLeaderboardSetMembersOption sets the query of GET /v2/gameCenterLeaderboardSets/{id}/gameCenterLeaderboards (gameCenterLeaderboardSetsV2_gameCenterLeaderboards_getToManyRelated) and GET /v1/gameCenterLeaderboardSets/{id}/gameCenterLeaderboards (gameCenterLeaderboardSets_gameCenterLeaderboards_getToManyRelated).

type GCLeaderboardSetReleasesOption

type GCLeaderboardSetReleasesOption func(*gcLeaderboardSetReleasesQuery)

GCLeaderboardSetReleasesOption sets the query of GET /v1/gameCenterDetails/{id}/leaderboardSetReleases (gameCenterDetails_leaderboardSetReleases_getToManyRelated) and GET /v1/gameCenterLeaderboardSets/{id}/releases (gameCenterLeaderboardSets_releases_getToManyRelated).

type GCLeaderboardSetVersionsOption

type GCLeaderboardSetVersionsOption func(*gcLeaderboardSetVersionsQuery)

GCLeaderboardSetVersionsOption sets the query of GET /v2/gameCenterLeaderboardSets/{id}/versions (gameCenterLeaderboardSetsV2_versions_getToManyRelated).

type GCLeaderboardSetsOption

type GCLeaderboardSetsOption func(*gcLeaderboardSetsQuery)

GCLeaderboardSetsOption is a functional option for GetGameCenterLeaderboardSets.

type GCLeaderboardVersionsOption

type GCLeaderboardVersionsOption func(*gcLeaderboardVersionsQuery)

GCLeaderboardVersionsOption sets the query of GET /v2/gameCenterLeaderboards/{id}/versions (gameCenterLeaderboardsV2_versions_getToManyRelated).

type GCLeaderboardsOption

type GCLeaderboardsOption func(*gcLeaderboardsQuery)

GCLeaderboardsOption is a functional option for GetGameCenterLeaderboards.

type GCMatchmakingMetricsOption

type GCMatchmakingMetricsOption func(*gcMatchmakingMetricsQuery)

GCMatchmakingMetricsOption is a functional option for matchmaking metrics queries.

func WithGCMatchmakingMetricsFilterGameCenterDetail

func WithGCMatchmakingMetricsFilterGameCenterDetail(value string) GCMatchmakingMetricsOption

WithGCMatchmakingMetricsFilterGameCenterDetail sets the game center detail filter.

func WithGCMatchmakingMetricsFilterQueue

func WithGCMatchmakingMetricsFilterQueue(value string) GCMatchmakingMetricsOption

WithGCMatchmakingMetricsFilterQueue sets the matchmaking queue filter.

func WithGCMatchmakingMetricsFilterResult

func WithGCMatchmakingMetricsFilterResult(value string) GCMatchmakingMetricsOption

WithGCMatchmakingMetricsFilterResult sets the result filter.

func WithGCMatchmakingMetricsGranularity

func WithGCMatchmakingMetricsGranularity(granularity string) GCMatchmakingMetricsOption

WithGCMatchmakingMetricsGranularity sets the granularity value.

func WithGCMatchmakingMetricsGroupBy

func WithGCMatchmakingMetricsGroupBy(groupBy []string) GCMatchmakingMetricsOption

WithGCMatchmakingMetricsGroupBy sets the groupBy fields.

func WithGCMatchmakingMetricsSort

func WithGCMatchmakingMetricsSort(sort []string) GCMatchmakingMetricsOption

WithGCMatchmakingMetricsSort sets the sort fields.

type GCMatchmakingQueuesOption

type GCMatchmakingQueuesOption func(*gcMatchmakingQueuesQuery)

GCMatchmakingQueuesOption sets the query of GET /v1/gameCenterMatchmakingQueues (gameCenterMatchmakingQueues_getCollection) and GET /v1/gameCenterMatchmakingRuleSets/{id}/matchmakingQueues (gameCenterMatchmakingRuleSets_matchmakingQueues_getToManyRelated).

type GCMatchmakingRuleSetsOption

type GCMatchmakingRuleSetsOption func(*gcMatchmakingRuleSetsQuery)

GCMatchmakingRuleSetsOption sets the query of GET /v1/gameCenterMatchmakingRuleSets (gameCenterMatchmakingRuleSets_getCollection).

type GCMatchmakingRulesOption

type GCMatchmakingRulesOption func(*gcMatchmakingRulesQuery)

GCMatchmakingRulesOption sets the query of GET /v1/gameCenterMatchmakingRuleSets/{id}/rules (gameCenterMatchmakingRuleSets_rules_getToManyRelated).

type GCMatchmakingTeamsOption

type GCMatchmakingTeamsOption func(*gcMatchmakingTeamsQuery)

GCMatchmakingTeamsOption sets the query of GET /v1/gameCenterMatchmakingRuleSets/{id}/teams (gameCenterMatchmakingRuleSets_teams_getToManyRelated).

type GCScoreModerationsQuery

type GCScoreModerationsQuery struct {
	ExistsBlocked *bool
	Fields        []string
	PlayerFields  []string
	Include       []string
	Limit         int
	NextURL       string
}

GCScoreModerationsQuery controls the score moderation collection endpoint.

type GameCenterAchievementAttributes

type GameCenterAchievementAttributes struct {
	ReferenceName      string            `json:"referenceName"`
	VendorIdentifier   string            `json:"vendorIdentifier"`
	Points             int               `json:"points"`
	ShowBeforeEarned   bool              `json:"showBeforeEarned"`
	Repeatable         bool              `json:"repeatable"`
	Archived           bool              `json:"archived,omitempty"`
	ActivityProperties map[string]string `json:"activityProperties,omitempty"`
}

GameCenterAchievementAttributes represents a Game Center achievement resource.

type GameCenterAchievementCreateAttributes

type GameCenterAchievementCreateAttributes struct {
	ReferenceName      string            `json:"referenceName"`
	VendorIdentifier   string            `json:"vendorIdentifier"`
	Points             int               `json:"points"`
	ShowBeforeEarned   bool              `json:"showBeforeEarned"`
	Repeatable         bool              `json:"repeatable"`
	ActivityProperties map[string]string `json:"activityProperties,omitzero"`
}

GameCenterAchievementCreateAttributes describes attributes for creating an achievement.

type GameCenterAchievementCreateData

type GameCenterAchievementCreateData struct {
	Type          ResourceType                          `json:"type"`
	Attributes    GameCenterAchievementCreateAttributes `json:"attributes"`
	Relationships *GameCenterAchievementRelationships   `json:"relationships,omitempty"`
}

GameCenterAchievementCreateData is the data object of the GameCenterAchievementCreateRequest schema.

type GameCenterAchievementCreateRequest

type GameCenterAchievementCreateRequest struct {
	Data GameCenterAchievementCreateData `json:"data"`
}

GameCenterAchievementCreateRequest is the GameCenterAchievementCreateRequest schema.

type GameCenterAchievementImageAttributes

type GameCenterAchievementImageAttributes struct {
	FileSize           int64               `json:"fileSize"`
	FileName           string              `json:"fileName"`
	ImageAsset         *ImageAsset         `json:"imageAsset,omitempty"`
	UploadOperations   []UploadOperation   `json:"uploadOperations,omitempty"`
	AssetDeliveryState *AssetDeliveryState `json:"assetDeliveryState,omitempty"`
}

GameCenterAchievementImageAttributes represents a Game Center achievement image resource.

type GameCenterAchievementImageCreateAttributes

type GameCenterAchievementImageCreateAttributes struct {
	FileSize int64  `json:"fileSize"`
	FileName string `json:"fileName"`
}

GameCenterAchievementImageCreateAttributes describes attributes for reserving an image upload.

type GameCenterAchievementImageCreateData

type GameCenterAchievementImageCreateData struct {
	Type          ResourceType                               `json:"type"`
	Attributes    GameCenterAchievementImageCreateAttributes `json:"attributes"`
	Relationships *GameCenterAchievementImageRelationships   `json:"relationships"`
}

GameCenterAchievementImageCreateData is the data object of the GameCenterAchievementImageCreateRequest schema.

type GameCenterAchievementImageCreateRequest

type GameCenterAchievementImageCreateRequest struct {
	Data GameCenterAchievementImageCreateData `json:"data"`
}

GameCenterAchievementImageCreateRequest is the GameCenterAchievementImageCreateRequest schema.

type GameCenterAchievementImageRelationships

type GameCenterAchievementImageRelationships struct {
	GameCenterAchievementLocalization *Relationship `json:"gameCenterAchievementLocalization"`
}

GameCenterAchievementImageRelationships is the data.relationships object of the GameCenterAchievementImageCreateRequest schema.

type GameCenterAchievementImageResponse

type GameCenterAchievementImageResponse = SingleResponse[GameCenterAchievementImageAttributes]

GameCenterAchievementImageResponse is the GameCenterAchievementImageResponse schema.

type GameCenterAchievementImageUpdateAttributes

type GameCenterAchievementImageUpdateAttributes struct {
	Uploaded *bool `json:"uploaded,omitempty"`
}

GameCenterAchievementImageUpdateAttributes is the data.attributes object of the GameCenterAchievementImageUpdateRequest schema.

type GameCenterAchievementImageUpdateData

type GameCenterAchievementImageUpdateData struct {
	Type       ResourceType                                `json:"type"`
	ID         string                                      `json:"id"`
	Attributes *GameCenterAchievementImageUpdateAttributes `json:"attributes,omitempty"`
}

GameCenterAchievementImageUpdateData is the data object of the GameCenterAchievementImageUpdateRequest schema.

type GameCenterAchievementImageUpdateRequest

type GameCenterAchievementImageUpdateRequest struct {
	Data GameCenterAchievementImageUpdateData `json:"data"`
}

GameCenterAchievementImageUpdateRequest is the GameCenterAchievementImageUpdateRequest schema.

type GameCenterAchievementImageUploadResult

type GameCenterAchievementImageUploadResult struct {
	ID                 string `json:"id"`
	LocalizationID     string `json:"localizationId"`
	FileName           string `json:"fileName"`
	FileSize           int64  `json:"fileSize"`
	AssetDeliveryState string `json:"assetDeliveryState,omitempty"`
	Uploaded           bool   `json:"uploaded"`
}

GameCenterAchievementImageUploadResult represents CLI output for image uploads.

type GameCenterAchievementImageV2CreateData

type GameCenterAchievementImageV2CreateData struct {
	Type          ResourceType                               `json:"type"`
	Attributes    GameCenterAchievementImageCreateAttributes `json:"attributes"`
	Relationships *GameCenterAchievementImageV2Relationships `json:"relationships"`
}

GameCenterAchievementImageV2CreateData is the data portion of a v2 image create (reserve) request.

type GameCenterAchievementImageV2CreateRequest

type GameCenterAchievementImageV2CreateRequest struct {
	Data GameCenterAchievementImageV2CreateData `json:"data"`
}

GameCenterAchievementImageV2CreateRequest is the GameCenterAchievementImageV2CreateRequest schema.

type GameCenterAchievementImageV2Relationships

type GameCenterAchievementImageV2Relationships struct {
	Localization *Relationship `json:"localization"`
}

GameCenterAchievementImageV2Relationships is the data.relationships object of the GameCenterAchievementImageV2CreateRequest schema.

type GameCenterAchievementImagesResponse

type GameCenterAchievementImagesResponse = Response[GameCenterAchievementImageAttributes]

GameCenterAchievementImagesResponse is the response from achievement image list endpoints.

type GameCenterAchievementLocalizationAttributes

type GameCenterAchievementLocalizationAttributes struct {
	Locale                  string `json:"locale"`
	Name                    string `json:"name,omitempty"`
	BeforeEarnedDescription string `json:"beforeEarnedDescription,omitempty"`
	AfterEarnedDescription  string `json:"afterEarnedDescription,omitempty"`
}

GameCenterAchievementLocalizationAttributes represents a Game Center achievement localization.

type GameCenterAchievementLocalizationCreateAttributes

type GameCenterAchievementLocalizationCreateAttributes struct {
	Locale                  string `json:"locale"`
	Name                    string `json:"name"`
	BeforeEarnedDescription string `json:"beforeEarnedDescription"`
	AfterEarnedDescription  string `json:"afterEarnedDescription"`
}

GameCenterAchievementLocalizationCreateAttributes is the data.attributes object of the GameCenterAchievementLocalizationCreateRequest schema.

type GameCenterAchievementLocalizationCreateData

type GameCenterAchievementLocalizationCreateData struct {
	Type          ResourceType                                      `json:"type"`
	Attributes    GameCenterAchievementLocalizationCreateAttributes `json:"attributes"`
	Relationships *GameCenterAchievementLocalizationRelationships   `json:"relationships,omitempty"`
}

GameCenterAchievementLocalizationCreateData is the data object of the GameCenterAchievementLocalizationCreateRequest schema.

type GameCenterAchievementLocalizationCreateRequest

type GameCenterAchievementLocalizationCreateRequest struct {
	Data GameCenterAchievementLocalizationCreateData `json:"data"`
}

GameCenterAchievementLocalizationCreateRequest is the GameCenterAchievementLocalizationCreateRequest schema.

type GameCenterAchievementLocalizationRelationships

type GameCenterAchievementLocalizationRelationships struct {
	GameCenterAchievement *Relationship `json:"gameCenterAchievement"`
}

GameCenterAchievementLocalizationRelationships is the data.relationships object of the GameCenterAchievementLocalizationCreateRequest schema.

type GameCenterAchievementLocalizationResponse

type GameCenterAchievementLocalizationResponse = SingleResponse[GameCenterAchievementLocalizationAttributes]

GameCenterAchievementLocalizationResponse is the GameCenterAchievementLocalizationResponse schema.

type GameCenterAchievementLocalizationUpdateAttributes

type GameCenterAchievementLocalizationUpdateAttributes struct {
	Name                    *string `json:"name,omitempty"`
	BeforeEarnedDescription *string `json:"beforeEarnedDescription,omitempty"`
	AfterEarnedDescription  *string `json:"afterEarnedDescription,omitempty"`
}

GameCenterAchievementLocalizationUpdateAttributes is the data.attributes object of the GameCenterAchievementLocalizationUpdateRequest schema.

type GameCenterAchievementLocalizationUpdateData

type GameCenterAchievementLocalizationUpdateData struct {
	Type       ResourceType                                       `json:"type"`
	ID         string                                             `json:"id"`
	Attributes *GameCenterAchievementLocalizationUpdateAttributes `json:"attributes,omitempty"`
}

GameCenterAchievementLocalizationUpdateData is the data object of the GameCenterAchievementLocalizationUpdateRequest schema.

type GameCenterAchievementLocalizationUpdateRequest

type GameCenterAchievementLocalizationUpdateRequest struct {
	Data GameCenterAchievementLocalizationUpdateData `json:"data"`
}

GameCenterAchievementLocalizationUpdateRequest is the GameCenterAchievementLocalizationUpdateRequest schema.

type GameCenterAchievementLocalizationV2CreateData

type GameCenterAchievementLocalizationV2CreateData struct {
	Type          ResourceType                                      `json:"type"`
	Attributes    GameCenterAchievementLocalizationCreateAttributes `json:"attributes"`
	Relationships *GameCenterAchievementLocalizationV2Relationships `json:"relationships,omitempty"`
}

GameCenterAchievementLocalizationV2CreateData is the data object of the GameCenterAchievementLocalizationV2CreateRequest schema.

type GameCenterAchievementLocalizationV2CreateRequest

type GameCenterAchievementLocalizationV2CreateRequest struct {
	Data GameCenterAchievementLocalizationV2CreateData `json:"data"`
}

GameCenterAchievementLocalizationV2CreateRequest is the GameCenterAchievementLocalizationV2CreateRequest schema.

type GameCenterAchievementLocalizationV2Relationships

type GameCenterAchievementLocalizationV2Relationships struct {
	Version *Relationship `json:"version"`
}

GameCenterAchievementLocalizationV2Relationships is the data.relationships object of the GameCenterAchievementLocalizationV2CreateRequest schema.

type GameCenterAchievementLocalizationsResponse

type GameCenterAchievementLocalizationsResponse = Response[GameCenterAchievementLocalizationAttributes]

GameCenterAchievementLocalizationsResponse is the response from achievement localization list endpoints.

type GameCenterAchievementRelationships

type GameCenterAchievementRelationships struct {
	GameCenterDetail *Relationship `json:"gameCenterDetail"`
}

GameCenterAchievementRelationships describes relationships for achievements.

type GameCenterAchievementReleaseAttributes

type GameCenterAchievementReleaseAttributes struct {
	Live bool `json:"live"`
}

GameCenterAchievementReleaseAttributes represents a Game Center achievement release resource.

type GameCenterAchievementReleaseCreateData

type GameCenterAchievementReleaseCreateData struct {
	Type          ResourceType                               `json:"type"`
	Relationships *GameCenterAchievementReleaseRelationships `json:"relationships"`
}

GameCenterAchievementReleaseCreateData is the data object of the GameCenterAchievementReleaseCreateRequest schema.

type GameCenterAchievementReleaseCreateRequest

type GameCenterAchievementReleaseCreateRequest struct {
	Data GameCenterAchievementReleaseCreateData `json:"data"`
}

GameCenterAchievementReleaseCreateRequest is the GameCenterAchievementReleaseCreateRequest schema.

type GameCenterAchievementReleaseRelationships

type GameCenterAchievementReleaseRelationships struct {
	GameCenterDetail      *Relationship `json:"gameCenterDetail"`
	GameCenterAchievement *Relationship `json:"gameCenterAchievement"`
}

GameCenterAchievementReleaseRelationships is the data.relationships object of the GameCenterAchievementReleaseCreateRequest schema.

type GameCenterAchievementReleaseResponse

type GameCenterAchievementReleaseResponse = SingleResponse[GameCenterAchievementReleaseAttributes]

GameCenterAchievementReleaseResponse is the GameCenterAchievementReleaseResponse schema.

type GameCenterAchievementReleasesResponse

type GameCenterAchievementReleasesResponse = Response[GameCenterAchievementReleaseAttributes]

GameCenterAchievementReleasesResponse is the response from achievement release list endpoints.

type GameCenterAchievementResponse

type GameCenterAchievementResponse = SingleResponse[GameCenterAchievementAttributes]

GameCenterAchievementResponse is the GameCenterAchievementResponse schema.

type GameCenterAchievementUpdateAttributes

type GameCenterAchievementUpdateAttributes struct {
	ReferenceName      *string           `json:"referenceName,omitempty"`
	Points             *int              `json:"points,omitempty"`
	ShowBeforeEarned   *bool             `json:"showBeforeEarned,omitempty"`
	Repeatable         *bool             `json:"repeatable,omitempty"`
	Archived           *bool             `json:"archived,omitempty"`
	ActivityProperties map[string]string `json:"activityProperties,omitzero"`
}

GameCenterAchievementUpdateAttributes describes attributes for updating an achievement.

type GameCenterAchievementUpdateData

type GameCenterAchievementUpdateData struct {
	Type       ResourceType                           `json:"type"`
	ID         string                                 `json:"id"`
	Attributes *GameCenterAchievementUpdateAttributes `json:"attributes,omitempty"`
}

GameCenterAchievementUpdateData is the data object of the GameCenterAchievementUpdateRequest schema.

type GameCenterAchievementUpdateRequest

type GameCenterAchievementUpdateRequest struct {
	Data GameCenterAchievementUpdateData `json:"data"`
}

GameCenterAchievementUpdateRequest is the GameCenterAchievementUpdateRequest schema.

type GameCenterAchievementV2CreateData

type GameCenterAchievementV2CreateData struct {
	Type          ResourceType                          `json:"type"`
	Attributes    GameCenterAchievementCreateAttributes `json:"attributes"`
	Relationships *GameCenterAchievementV2Relationships `json:"relationships,omitempty"`
}

GameCenterAchievementV2CreateData is the data portion of a v2 achievement create request.

type GameCenterAchievementV2CreateRequest

type GameCenterAchievementV2CreateRequest struct {
	Data     GameCenterAchievementV2CreateData          `json:"data"`
	Included []GameCenterAchievementVersionInlineCreate `json:"included"`
}

GameCenterAchievementV2CreateRequest is a request to create a v2 achievement.

type GameCenterAchievementV2Relationships

type GameCenterAchievementV2Relationships struct {
	GameCenterDetail *Relationship     `json:"gameCenterDetail,omitempty"`
	GameCenterGroup  *Relationship     `json:"gameCenterGroup,omitempty"`
	Versions         *RelationshipList `json:"versions"`
}

GameCenterAchievementV2Relationships is the data.relationships object of the GameCenterAchievementV2CreateRequest schema.

type GameCenterAchievementVersionInlineCreate added in v1.260810.0

type GameCenterAchievementVersionInlineCreate struct {
	Type ResourceType `json:"type"`
	ID   string       `json:"id"`
}

GameCenterAchievementVersionInlineCreate is an inline achievement version.

type GameCenterAchievementVersionRelationships

type GameCenterAchievementVersionRelationships struct {
	Achievement *Relationship `json:"achievement,omitempty"`
}

GameCenterAchievementVersionRelationships describes relationships for achievement versions.

type GameCenterAchievementVersionResponse

type GameCenterAchievementVersionResponse = SingleResponse[GameCenterAchievementVersionV2Attributes]

GameCenterAchievementVersionResponse is the response from achievement version detail endpoints.

type GameCenterAchievementVersionV2Attributes

type GameCenterAchievementVersionV2Attributes struct {
	Version int                    `json:"version,omitempty"`
	State   GameCenterVersionState `json:"state,omitempty"`
}

GameCenterAchievementVersionV2Attributes is the attributes object of the GameCenterAchievementVersionV2 schema.

type GameCenterAchievementVersionV2CreateData

type GameCenterAchievementVersionV2CreateData struct {
	Type          ResourceType                               `json:"type"`
	Relationships *GameCenterAchievementVersionRelationships `json:"relationships,omitempty"`
}

GameCenterAchievementVersionV2CreateData is the data object of the GameCenterAchievementVersionV2CreateRequest schema.

type GameCenterAchievementVersionV2CreateRequest

type GameCenterAchievementVersionV2CreateRequest struct {
	Data GameCenterAchievementVersionV2CreateData `json:"data"`
}

GameCenterAchievementVersionV2CreateRequest is the GameCenterAchievementVersionV2CreateRequest schema.

type GameCenterAchievementVersionsResponse

type GameCenterAchievementVersionsResponse = Response[GameCenterAchievementVersionV2Attributes]

GameCenterAchievementVersionsResponse is the response from achievement version list endpoints.

type GameCenterAchievementsResponse

type GameCenterAchievementsResponse = Response[GameCenterAchievementAttributes]

GameCenterAchievementsResponse is the response from achievement list endpoints.

type GameCenterActivitiesResponse

type GameCenterActivitiesResponse = Response[GameCenterActivityAttributes]

GameCenterActivitiesResponse is the response from activity list endpoints.

type GameCenterActivityAttributes

type GameCenterActivityAttributes struct {
	ReferenceName       string            `json:"referenceName"`
	VendorIdentifier    string            `json:"vendorIdentifier"`
	PlayStyle           string            `json:"playStyle,omitempty"`
	MinimumPlayersCount int               `json:"minimumPlayersCount,omitempty"`
	MaximumPlayersCount int               `json:"maximumPlayersCount,omitempty"`
	SupportsPartyCode   bool              `json:"supportsPartyCode,omitempty"`
	Archived            bool              `json:"archived,omitempty"`
	Properties          map[string]string `json:"properties,omitempty"`
}

GameCenterActivityAttributes represents a Game Center activity resource.

type GameCenterActivityCreateAttributes

type GameCenterActivityCreateAttributes struct {
	ReferenceName       string            `json:"referenceName"`
	VendorIdentifier    string            `json:"vendorIdentifier"`
	PlayStyle           *string           `json:"playStyle,omitempty"`
	MinimumPlayersCount *int              `json:"minimumPlayersCount,omitempty"`
	MaximumPlayersCount *int              `json:"maximumPlayersCount,omitempty"`
	SupportsPartyCode   *bool             `json:"supportsPartyCode,omitempty"`
	Properties          map[string]string `json:"properties,omitzero"`
}

GameCenterActivityCreateAttributes describes attributes for creating an activity.

type GameCenterActivityCreateData

type GameCenterActivityCreateData struct {
	Type          ResourceType                       `json:"type"`
	Attributes    GameCenterActivityCreateAttributes `json:"attributes"`
	Relationships *GameCenterActivityRelationships   `json:"relationships,omitempty"`
}

GameCenterActivityCreateData is the data object of the GameCenterActivityCreateRequest schema.

type GameCenterActivityCreateRequest

type GameCenterActivityCreateRequest struct {
	Data     GameCenterActivityCreateData            `json:"data"`
	Included []GameCenterActivityVersionInlineCreate `json:"included,omitempty"`
}

GameCenterActivityCreateRequest is a request to create an activity.

type GameCenterActivityImageAttributes

type GameCenterActivityImageAttributes struct {
	FileSize           int64               `json:"fileSize"`
	FileName           string              `json:"fileName"`
	ImageAsset         *ImageAsset         `json:"imageAsset,omitempty"`
	UploadOperations   []UploadOperation   `json:"uploadOperations,omitempty"`
	AssetDeliveryState *AssetDeliveryState `json:"assetDeliveryState,omitempty"`
}

GameCenterActivityImageAttributes represents an activity image resource.

type GameCenterActivityImageCreateAttributes

type GameCenterActivityImageCreateAttributes struct {
	FileSize int64  `json:"fileSize"`
	FileName string `json:"fileName"`
}

GameCenterActivityImageCreateAttributes describes attributes for reserving an image upload.

type GameCenterActivityImageCreateData

type GameCenterActivityImageCreateData struct {
	Type          ResourceType                            `json:"type"`
	Attributes    GameCenterActivityImageCreateAttributes `json:"attributes"`
	Relationships *GameCenterActivityImageRelationships   `json:"relationships"`
}

GameCenterActivityImageCreateData is the data object of the GameCenterActivityImageCreateRequest schema.

type GameCenterActivityImageCreateRequest

type GameCenterActivityImageCreateRequest struct {
	Data GameCenterActivityImageCreateData `json:"data"`
}

GameCenterActivityImageCreateRequest is the GameCenterActivityImageCreateRequest schema.

type GameCenterActivityImageRelationships

type GameCenterActivityImageRelationships struct {
	Localization *Relationship `json:"localization,omitempty"`
	Version      *Relationship `json:"version,omitempty"`
}

GameCenterActivityImageRelationships is the data.relationships object of the GameCenterActivityImageCreateRequest schema.

type GameCenterActivityImageResponse

type GameCenterActivityImageResponse = SingleResponse[GameCenterActivityImageAttributes]

GameCenterActivityImageResponse is the GameCenterActivityImageResponse schema.

type GameCenterActivityImageUpdateAttributes

type GameCenterActivityImageUpdateAttributes struct {
	Uploaded *bool `json:"uploaded,omitempty"`
}

GameCenterActivityImageUpdateAttributes is the data.attributes object of the GameCenterActivityImageUpdateRequest schema.

type GameCenterActivityImageUpdateData

type GameCenterActivityImageUpdateData struct {
	Type       ResourceType                             `json:"type"`
	ID         string                                   `json:"id"`
	Attributes *GameCenterActivityImageUpdateAttributes `json:"attributes,omitempty"`
}

GameCenterActivityImageUpdateData is the data object of the GameCenterActivityImageUpdateRequest schema.

type GameCenterActivityImageUpdateRequest

type GameCenterActivityImageUpdateRequest struct {
	Data GameCenterActivityImageUpdateData `json:"data"`
}

GameCenterActivityImageUpdateRequest is the GameCenterActivityImageUpdateRequest schema.

type GameCenterActivityImageUploadResult

type GameCenterActivityImageUploadResult struct {
	ID                 string `json:"id"`
	LocalizationID     string `json:"localizationId,omitempty"`
	VersionID          string `json:"versionId,omitempty"`
	FileName           string `json:"fileName"`
	FileSize           int64  `json:"fileSize"`
	AssetDeliveryState string `json:"assetDeliveryState,omitempty"`
	Uploaded           bool   `json:"uploaded"`
}

GameCenterActivityImageUploadResult represents CLI output for image uploads.

type GameCenterActivityImagesResponse

type GameCenterActivityImagesResponse = Response[GameCenterActivityImageAttributes]

GameCenterActivityImagesResponse is the response from activity image list endpoints.

type GameCenterActivityLocalizationAttributes

type GameCenterActivityLocalizationAttributes struct {
	Locale      string `json:"locale"`
	Name        string `json:"name,omitempty"`
	Description string `json:"description,omitempty"`
}

GameCenterActivityLocalizationAttributes represents an activity localization.

type GameCenterActivityLocalizationCreateAttributes

type GameCenterActivityLocalizationCreateAttributes struct {
	Locale      string `json:"locale"`
	Name        string `json:"name"`
	Description string `json:"description"`
}

GameCenterActivityLocalizationCreateAttributes describes attributes for creating a localization.

type GameCenterActivityLocalizationCreateData

type GameCenterActivityLocalizationCreateData struct {
	Type          ResourceType                                   `json:"type"`
	Attributes    GameCenterActivityLocalizationCreateAttributes `json:"attributes"`
	Relationships *GameCenterActivityLocalizationRelationships   `json:"relationships,omitempty"`
}

GameCenterActivityLocalizationCreateData is the data object of the GameCenterActivityLocalizationCreateRequest schema.

type GameCenterActivityLocalizationCreateRequest

type GameCenterActivityLocalizationCreateRequest struct {
	Data GameCenterActivityLocalizationCreateData `json:"data"`
}

GameCenterActivityLocalizationCreateRequest is the GameCenterActivityLocalizationCreateRequest schema.

type GameCenterActivityLocalizationRelationships

type GameCenterActivityLocalizationRelationships struct {
	Version *Relationship `json:"version"`
}

GameCenterActivityLocalizationRelationships is the data.relationships object of the GameCenterActivityLocalizationCreateRequest schema.

type GameCenterActivityLocalizationResponse

type GameCenterActivityLocalizationResponse = SingleResponse[GameCenterActivityLocalizationAttributes]

GameCenterActivityLocalizationResponse is the GameCenterActivityLocalizationResponse schema.

type GameCenterActivityLocalizationUpdateAttributes

type GameCenterActivityLocalizationUpdateAttributes struct {
	Name        *string `json:"name,omitempty"`
	Description *string `json:"description,omitempty"`
}

GameCenterActivityLocalizationUpdateAttributes is the data.attributes object of the GameCenterActivityLocalizationUpdateRequest schema.

type GameCenterActivityLocalizationUpdateData

type GameCenterActivityLocalizationUpdateData struct {
	Type       ResourceType                                    `json:"type"`
	ID         string                                          `json:"id"`
	Attributes *GameCenterActivityLocalizationUpdateAttributes `json:"attributes,omitempty"`
}

GameCenterActivityLocalizationUpdateData is the data object of the GameCenterActivityLocalizationUpdateRequest schema.

type GameCenterActivityLocalizationUpdateRequest

type GameCenterActivityLocalizationUpdateRequest struct {
	Data GameCenterActivityLocalizationUpdateData `json:"data"`
}

GameCenterActivityLocalizationUpdateRequest is the GameCenterActivityLocalizationUpdateRequest schema.

type GameCenterActivityLocalizationsResponse

type GameCenterActivityLocalizationsResponse = Response[GameCenterActivityLocalizationAttributes]

GameCenterActivityLocalizationsResponse is the response from localization list endpoints.

type GameCenterActivityRelationships

type GameCenterActivityRelationships struct {
	GameCenterDetail *Relationship     `json:"gameCenterDetail,omitempty"`
	GameCenterGroup  *Relationship     `json:"gameCenterGroup,omitempty"`
	Versions         *RelationshipList `json:"versions,omitempty"`
}

GameCenterActivityRelationships is the data.relationships object of the GameCenterActivityCreateRequest schema.

type GameCenterActivityResponse

type GameCenterActivityResponse = SingleResponse[GameCenterActivityAttributes]

GameCenterActivityResponse is the GameCenterActivityResponse schema.

type GameCenterActivityUpdateAttributes

type GameCenterActivityUpdateAttributes struct {
	ReferenceName       *string           `json:"referenceName,omitempty"`
	PlayStyle           *string           `json:"playStyle,omitempty"`
	MinimumPlayersCount *int              `json:"minimumPlayersCount,omitempty"`
	MaximumPlayersCount *int              `json:"maximumPlayersCount,omitempty"`
	SupportsPartyCode   *bool             `json:"supportsPartyCode,omitempty"`
	Archived            *bool             `json:"archived,omitempty"`
	Properties          map[string]string `json:"properties,omitzero"`
}

GameCenterActivityUpdateAttributes describes attributes for updating an activity.

type GameCenterActivityUpdateData

type GameCenterActivityUpdateData struct {
	Type       ResourceType                        `json:"type"`
	ID         string                              `json:"id"`
	Attributes *GameCenterActivityUpdateAttributes `json:"attributes,omitempty"`
}

GameCenterActivityUpdateData is the data object of the GameCenterActivityUpdateRequest schema.

type GameCenterActivityUpdateRequest

type GameCenterActivityUpdateRequest struct {
	Data GameCenterActivityUpdateData `json:"data"`
}

GameCenterActivityUpdateRequest is the GameCenterActivityUpdateRequest schema.

type GameCenterActivityVersionAttributes

type GameCenterActivityVersionAttributes struct {
	Version     int                    `json:"version,omitempty"`
	State       GameCenterVersionState `json:"state,omitempty"`
	FallbackURL string                 `json:"fallbackUrl,omitempty"`
}

GameCenterActivityVersionAttributes is the attributes object of the GameCenterActivityVersion schema.

type GameCenterActivityVersionCreateAttributes

type GameCenterActivityVersionCreateAttributes struct {
	FallbackURL *string `json:"fallbackUrl,omitempty"`
}

GameCenterActivityVersionCreateAttributes is the data.attributes object of the GameCenterActivityVersionCreateRequest schema.

type GameCenterActivityVersionCreateData

type GameCenterActivityVersionCreateData struct {
	Type          ResourceType                               `json:"type"`
	Attributes    *GameCenterActivityVersionCreateAttributes `json:"attributes,omitempty"`
	Relationships *GameCenterActivityVersionRelationships    `json:"relationships,omitempty"`
}

GameCenterActivityVersionCreateData is the data object of the GameCenterActivityVersionCreateRequest schema.

type GameCenterActivityVersionCreateRequest

type GameCenterActivityVersionCreateRequest struct {
	Data GameCenterActivityVersionCreateData `json:"data"`
}

GameCenterActivityVersionCreateRequest is the GameCenterActivityVersionCreateRequest schema.

type GameCenterActivityVersionDefaultImageResponse

type GameCenterActivityVersionDefaultImageResponse struct {
	Data     *Resource[GameCenterActivityImageAttributes] `json:"data"`
	Links    Links                                        `json:"links"`
	Included json.RawMessage                              `json:"included,omitempty"`
	Meta     json.RawMessage                              `json:"meta,omitempty"`
}

GameCenterActivityVersionDefaultImageResponse preserves a missing default image as null.

type GameCenterActivityVersionInlineCreate

type GameCenterActivityVersionInlineCreate struct {
	Type       ResourceType                               `json:"type"`
	ID         string                                     `json:"id,omitempty"`
	Attributes *GameCenterActivityVersionCreateAttributes `json:"attributes,omitempty"`
}

GameCenterActivityVersionInlineCreate is an inline resource for creating an initial activity version alongside the parent activity.

type GameCenterActivityVersionRelationships

type GameCenterActivityVersionRelationships struct {
	Activity *Relationship `json:"activity,omitempty"`
}

GameCenterActivityVersionRelationships describes relationships for activity versions.

type GameCenterActivityVersionReleaseAttributes

type GameCenterActivityVersionReleaseAttributes struct{}

GameCenterActivityVersionReleaseAttributes represents an activity version release.

type GameCenterActivityVersionReleaseCreateData

type GameCenterActivityVersionReleaseCreateData struct {
	Type          ResourceType                                   `json:"type"`
	Relationships *GameCenterActivityVersionReleaseRelationships `json:"relationships,omitempty"`
}

GameCenterActivityVersionReleaseCreateData is the data object of the GameCenterActivityVersionReleaseCreateRequest schema.

type GameCenterActivityVersionReleaseCreateRequest

type GameCenterActivityVersionReleaseCreateRequest struct {
	Data GameCenterActivityVersionReleaseCreateData `json:"data"`
}

GameCenterActivityVersionReleaseCreateRequest is the GameCenterActivityVersionReleaseCreateRequest schema.

type GameCenterActivityVersionReleaseRelationships

type GameCenterActivityVersionReleaseRelationships struct {
	Version *Relationship `json:"version,omitempty"`
}

GameCenterActivityVersionReleaseRelationships describes relationships for activity version releases.

type GameCenterActivityVersionReleaseResponse

type GameCenterActivityVersionReleaseResponse = SingleResponse[GameCenterActivityVersionReleaseAttributes]

GameCenterActivityVersionReleaseResponse is the GameCenterActivityVersionReleaseResponse schema.

type GameCenterActivityVersionReleasesResponse

type GameCenterActivityVersionReleasesResponse = Response[GameCenterActivityVersionReleaseAttributes]

GameCenterActivityVersionReleasesResponse is the response from release list endpoints.

type GameCenterActivityVersionResponse

type GameCenterActivityVersionResponse = SingleResponse[GameCenterActivityVersionAttributes]

GameCenterActivityVersionResponse is the GameCenterActivityVersionResponse schema.

type GameCenterActivityVersionUpdateAttributes

type GameCenterActivityVersionUpdateAttributes struct {
	FallbackURL *string `json:"fallbackUrl,omitempty"`
}

GameCenterActivityVersionUpdateAttributes is the data.attributes object of the GameCenterActivityVersionUpdateRequest schema.

type GameCenterActivityVersionUpdateData

type GameCenterActivityVersionUpdateData struct {
	Type       ResourceType                               `json:"type"`
	ID         string                                     `json:"id"`
	Attributes *GameCenterActivityVersionUpdateAttributes `json:"attributes,omitempty"`
}

GameCenterActivityVersionUpdateData is the data object of the GameCenterActivityVersionUpdateRequest schema.

type GameCenterActivityVersionUpdateRequest

type GameCenterActivityVersionUpdateRequest struct {
	Data GameCenterActivityVersionUpdateData `json:"data"`
}

GameCenterActivityVersionUpdateRequest is the GameCenterActivityVersionUpdateRequest schema.

type GameCenterActivityVersionsResponse

type GameCenterActivityVersionsResponse = Response[GameCenterActivityVersionAttributes]

GameCenterActivityVersionsResponse is the response from version list endpoints.

type GameCenterAppVersionAttributes

type GameCenterAppVersionAttributes struct {
	Enabled bool `json:"enabled,omitempty"`
}

GameCenterAppVersionAttributes is the attributes object of the GameCenterAppVersion schema.

type GameCenterAppVersionCreateAttributes

type GameCenterAppVersionCreateAttributes struct {
	Enabled *bool `json:"enabled,omitempty"`
}

GameCenterAppVersionCreateAttributes describes attributes for creating a Game Center app version.

type GameCenterAppVersionCreateData

type GameCenterAppVersionCreateData struct {
	Type          ResourceType                          `json:"type"`
	Attributes    *GameCenterAppVersionCreateAttributes `json:"attributes,omitempty"`
	Relationships *GameCenterAppVersionRelationships    `json:"relationships"`
}

GameCenterAppVersionCreateData is the data portion of an app version create request.

type GameCenterAppVersionCreateRequest

type GameCenterAppVersionCreateRequest struct {
	Data GameCenterAppVersionCreateData `json:"data"`
}

GameCenterAppVersionCreateRequest is the GameCenterAppVersionCreateRequest schema.

type GameCenterAppVersionRelationships

type GameCenterAppVersionRelationships struct {
	AppStoreVersion *Relationship `json:"appStoreVersion"`
}

GameCenterAppVersionRelationships is the data.relationships object of the GameCenterAppVersionCreateRequest schema.

type GameCenterAppVersionResponse

type GameCenterAppVersionResponse = SingleResponse[GameCenterAppVersionAttributes]

GameCenterAppVersionResponse is the GameCenterAppVersionResponse schema.

type GameCenterAppVersionUpdateAttributes

type GameCenterAppVersionUpdateAttributes struct {
	Enabled *bool `json:"enabled,omitempty"`
}

GameCenterAppVersionUpdateAttributes is the data.attributes object of the GameCenterAppVersionUpdateRequest schema.

type GameCenterAppVersionUpdateData

type GameCenterAppVersionUpdateData struct {
	Type       ResourceType                          `json:"type"`
	ID         string                                `json:"id"`
	Attributes *GameCenterAppVersionUpdateAttributes `json:"attributes,omitempty"`
}

GameCenterAppVersionUpdateData is the data object of the GameCenterAppVersionUpdateRequest schema.

type GameCenterAppVersionUpdateRequest

type GameCenterAppVersionUpdateRequest struct {
	Data GameCenterAppVersionUpdateData `json:"data"`
}

GameCenterAppVersionUpdateRequest is the GameCenterAppVersionUpdateRequest schema.

type GameCenterAppVersionsResponse

type GameCenterAppVersionsResponse = Response[GameCenterAppVersionAttributes]

GameCenterAppVersionsResponse is the response from app version list endpoints.

type GameCenterChallengeAttributes

type GameCenterChallengeAttributes struct {
	ReferenceName    string `json:"referenceName"`
	VendorIdentifier string `json:"vendorIdentifier"`
	Archived         bool   `json:"archived,omitempty"`
	ChallengeType    string `json:"challengeType,omitempty"`
	Repeatable       bool   `json:"repeatable,omitempty"`
}

GameCenterChallengeAttributes represents a Game Center challenge resource.

type GameCenterChallengeCreateAttributes

type GameCenterChallengeCreateAttributes struct {
	ReferenceName    string `json:"referenceName"`
	VendorIdentifier string `json:"vendorIdentifier"`
	ChallengeType    string `json:"challengeType"`
	Repeatable       *bool  `json:"repeatable,omitempty"`
}

GameCenterChallengeCreateAttributes is the data.attributes object of the GameCenterChallengeCreateRequest schema.

type GameCenterChallengeCreateData

type GameCenterChallengeCreateData struct {
	Type          ResourceType                        `json:"type"`
	Attributes    GameCenterChallengeCreateAttributes `json:"attributes"`
	Relationships *GameCenterChallengeRelationships   `json:"relationships,omitempty"`
}

GameCenterChallengeCreateData is the data object of the GameCenterChallengeCreateRequest schema.

type GameCenterChallengeCreateRequest

type GameCenterChallengeCreateRequest struct {
	Data     GameCenterChallengeCreateData            `json:"data"`
	Included []GameCenterChallengeVersionInlineCreate `json:"included,omitempty"`
}

GameCenterChallengeCreateRequest is a request to create a challenge.

type GameCenterChallengeImageAttributes

type GameCenterChallengeImageAttributes struct {
	FileSize           int64               `json:"fileSize"`
	FileName           string              `json:"fileName"`
	ImageAsset         *ImageAsset         `json:"imageAsset,omitempty"`
	UploadOperations   []UploadOperation   `json:"uploadOperations,omitempty"`
	AssetDeliveryState *AssetDeliveryState `json:"assetDeliveryState,omitempty"`
}

GameCenterChallengeImageAttributes represents a challenge image resource.

type GameCenterChallengeImageCreateAttributes

type GameCenterChallengeImageCreateAttributes struct {
	FileSize int64  `json:"fileSize"`
	FileName string `json:"fileName"`
}

GameCenterChallengeImageCreateAttributes describes attributes for reserving an image upload.

type GameCenterChallengeImageCreateData

type GameCenterChallengeImageCreateData struct {
	Type          ResourceType                             `json:"type"`
	Attributes    GameCenterChallengeImageCreateAttributes `json:"attributes"`
	Relationships *GameCenterChallengeImageRelationships   `json:"relationships"`
}

GameCenterChallengeImageCreateData is the data object of the GameCenterChallengeImageCreateRequest schema.

type GameCenterChallengeImageCreateRequest

type GameCenterChallengeImageCreateRequest struct {
	Data GameCenterChallengeImageCreateData `json:"data"`
}

GameCenterChallengeImageCreateRequest is the GameCenterChallengeImageCreateRequest schema.

type GameCenterChallengeImageRelationships

type GameCenterChallengeImageRelationships struct {
	Localization *Relationship `json:"localization,omitempty"`
	Version      *Relationship `json:"version,omitempty"`
}

GameCenterChallengeImageRelationships is the data.relationships object of the GameCenterChallengeImageCreateRequest schema.

type GameCenterChallengeImageResponse

type GameCenterChallengeImageResponse = SingleResponse[GameCenterChallengeImageAttributes]

GameCenterChallengeImageResponse is the GameCenterChallengeImageResponse schema.

type GameCenterChallengeImageUpdateAttributes

type GameCenterChallengeImageUpdateAttributes struct {
	Uploaded *bool `json:"uploaded,omitempty"`
}

GameCenterChallengeImageUpdateAttributes is the data.attributes object of the GameCenterChallengeImageUpdateRequest schema.

type GameCenterChallengeImageUpdateData

type GameCenterChallengeImageUpdateData struct {
	Type       ResourceType                              `json:"type"`
	ID         string                                    `json:"id"`
	Attributes *GameCenterChallengeImageUpdateAttributes `json:"attributes,omitempty"`
}

GameCenterChallengeImageUpdateData is the data object of the GameCenterChallengeImageUpdateRequest schema.

type GameCenterChallengeImageUpdateRequest

type GameCenterChallengeImageUpdateRequest struct {
	Data GameCenterChallengeImageUpdateData `json:"data"`
}

GameCenterChallengeImageUpdateRequest is the GameCenterChallengeImageUpdateRequest schema.

type GameCenterChallengeImageUploadResult

type GameCenterChallengeImageUploadResult struct {
	ID                 string `json:"id"`
	LocalizationID     string `json:"localizationId,omitempty"`
	VersionID          string `json:"versionId,omitempty"`
	FileName           string `json:"fileName"`
	FileSize           int64  `json:"fileSize"`
	AssetDeliveryState string `json:"assetDeliveryState,omitempty"`
	Uploaded           bool   `json:"uploaded"`
}

GameCenterChallengeImageUploadResult represents CLI output for image uploads.

type GameCenterChallengeImagesResponse

type GameCenterChallengeImagesResponse = Response[GameCenterChallengeImageAttributes]

GameCenterChallengeImagesResponse is the response from challenge image list endpoints.

type GameCenterChallengeLocalizationAttributes

type GameCenterChallengeLocalizationAttributes struct {
	Locale      string `json:"locale"`
	Name        string `json:"name,omitempty"`
	Description string `json:"description,omitempty"`
}

GameCenterChallengeLocalizationAttributes represents a challenge localization.

type GameCenterChallengeLocalizationCreateAttributes

type GameCenterChallengeLocalizationCreateAttributes struct {
	Locale      string `json:"locale"`
	Name        string `json:"name"`
	Description string `json:"description"`
}

GameCenterChallengeLocalizationCreateAttributes describes attributes for creating a localization.

type GameCenterChallengeLocalizationCreateData

type GameCenterChallengeLocalizationCreateData struct {
	Type          ResourceType                                    `json:"type"`
	Attributes    GameCenterChallengeLocalizationCreateAttributes `json:"attributes"`
	Relationships *GameCenterChallengeLocalizationRelationships   `json:"relationships,omitempty"`
}

GameCenterChallengeLocalizationCreateData is the data object of the GameCenterChallengeLocalizationCreateRequest schema.

type GameCenterChallengeLocalizationCreateRequest

type GameCenterChallengeLocalizationCreateRequest struct {
	Data GameCenterChallengeLocalizationCreateData `json:"data"`
}

GameCenterChallengeLocalizationCreateRequest is the GameCenterChallengeLocalizationCreateRequest schema.

type GameCenterChallengeLocalizationRelationships

type GameCenterChallengeLocalizationRelationships struct {
	Version *Relationship `json:"version"`
}

GameCenterChallengeLocalizationRelationships is the data.relationships object of the GameCenterChallengeLocalizationCreateRequest schema.

type GameCenterChallengeLocalizationResponse

type GameCenterChallengeLocalizationResponse = SingleResponse[GameCenterChallengeLocalizationAttributes]

GameCenterChallengeLocalizationResponse is the GameCenterChallengeLocalizationResponse schema.

type GameCenterChallengeLocalizationUpdateAttributes

type GameCenterChallengeLocalizationUpdateAttributes struct {
	Name        *string `json:"name,omitempty"`
	Description *string `json:"description,omitempty"`
}

GameCenterChallengeLocalizationUpdateAttributes is the data.attributes object of the GameCenterChallengeLocalizationUpdateRequest schema.

type GameCenterChallengeLocalizationUpdateData

type GameCenterChallengeLocalizationUpdateData struct {
	Type       ResourceType                                     `json:"type"`
	ID         string                                           `json:"id"`
	Attributes *GameCenterChallengeLocalizationUpdateAttributes `json:"attributes,omitempty"`
}

GameCenterChallengeLocalizationUpdateData is the data object of the GameCenterChallengeLocalizationUpdateRequest schema.

type GameCenterChallengeLocalizationUpdateRequest

type GameCenterChallengeLocalizationUpdateRequest struct {
	Data GameCenterChallengeLocalizationUpdateData `json:"data"`
}

GameCenterChallengeLocalizationUpdateRequest is the GameCenterChallengeLocalizationUpdateRequest schema.

type GameCenterChallengeLocalizationsResponse

type GameCenterChallengeLocalizationsResponse = Response[GameCenterChallengeLocalizationAttributes]

GameCenterChallengeLocalizationsResponse is the response from localization list endpoints.

type GameCenterChallengeRelationships

type GameCenterChallengeRelationships struct {
	GameCenterDetail *Relationship     `json:"gameCenterDetail,omitempty"`
	GameCenterGroup  *Relationship     `json:"gameCenterGroup,omitempty"`
	Leaderboard      *Relationship     `json:"leaderboard,omitempty"`
	LeaderboardV2    *Relationship     `json:"leaderboardV2,omitempty"`
	Versions         *RelationshipList `json:"versions,omitempty"`
}

GameCenterChallengeRelationships describes relationships for challenges.

type GameCenterChallengeResponse

type GameCenterChallengeResponse = SingleResponse[GameCenterChallengeAttributes]

GameCenterChallengeResponse is the GameCenterChallengeResponse schema.

type GameCenterChallengeUpdateAttributes

type GameCenterChallengeUpdateAttributes struct {
	ReferenceName *string `json:"referenceName,omitempty"`
	Archived      *bool   `json:"archived,omitempty"`
	Repeatable    *bool   `json:"repeatable,omitempty"`
}

GameCenterChallengeUpdateAttributes is the data.attributes object of the GameCenterChallengeUpdateRequest schema.

type GameCenterChallengeUpdateData

type GameCenterChallengeUpdateData struct {
	Type          ResourceType                            `json:"type"`
	ID            string                                  `json:"id"`
	Attributes    *GameCenterChallengeUpdateAttributes    `json:"attributes,omitempty"`
	Relationships *GameCenterChallengeUpdateRelationships `json:"relationships,omitempty"`
}

GameCenterChallengeUpdateData is the data object of the GameCenterChallengeUpdateRequest schema.

type GameCenterChallengeUpdateRelationships

type GameCenterChallengeUpdateRelationships struct {
	Leaderboard   *Relationship `json:"leaderboard,omitempty"`
	LeaderboardV2 *Relationship `json:"leaderboardV2,omitempty"`
}

GameCenterChallengeUpdateRelationships is the data.relationships object of the GameCenterChallengeUpdateRequest schema.

type GameCenterChallengeUpdateRequest

type GameCenterChallengeUpdateRequest struct {
	Data GameCenterChallengeUpdateData `json:"data"`
}

GameCenterChallengeUpdateRequest is the GameCenterChallengeUpdateRequest schema.

type GameCenterChallengeVersionAttributes

type GameCenterChallengeVersionAttributes struct {
	Version int                    `json:"version,omitempty"`
	State   GameCenterVersionState `json:"state,omitempty"`
}

GameCenterChallengeVersionAttributes is the attributes object of the GameCenterChallengeVersion schema.

type GameCenterChallengeVersionCreateData

type GameCenterChallengeVersionCreateData struct {
	Type          ResourceType                             `json:"type"`
	Relationships *GameCenterChallengeVersionRelationships `json:"relationships,omitempty"`
}

GameCenterChallengeVersionCreateData is the data object of the GameCenterChallengeVersionCreateRequest schema.

type GameCenterChallengeVersionCreateRequest

type GameCenterChallengeVersionCreateRequest struct {
	Data GameCenterChallengeVersionCreateData `json:"data"`
}

GameCenterChallengeVersionCreateRequest is the GameCenterChallengeVersionCreateRequest schema.

type GameCenterChallengeVersionDefaultImageResponse

type GameCenterChallengeVersionDefaultImageResponse struct {
	Data     *Resource[GameCenterChallengeImageAttributes] `json:"data"`
	Links    Links                                         `json:"links"`
	Included json.RawMessage                               `json:"included,omitempty"`
	Meta     json.RawMessage                               `json:"meta,omitempty"`
}

GameCenterChallengeVersionDefaultImageResponse preserves a missing default image as null.

type GameCenterChallengeVersionInlineCreate

type GameCenterChallengeVersionInlineCreate struct {
	Type ResourceType `json:"type"`
	ID   string       `json:"id,omitempty"`
}

GameCenterChallengeVersionInlineCreate is an inline resource for creating an initial challenge version alongside the parent challenge.

type GameCenterChallengeVersionRelationships

type GameCenterChallengeVersionRelationships struct {
	Challenge *Relationship `json:"challenge,omitempty"`
}

GameCenterChallengeVersionRelationships describes relationships for challenge versions.

type GameCenterChallengeVersionReleaseAttributes

type GameCenterChallengeVersionReleaseAttributes struct{}

GameCenterChallengeVersionReleaseAttributes represents a challenge version release.

type GameCenterChallengeVersionReleaseCreateData

type GameCenterChallengeVersionReleaseCreateData struct {
	Type          ResourceType                                    `json:"type"`
	Relationships *GameCenterChallengeVersionReleaseRelationships `json:"relationships,omitempty"`
}

GameCenterChallengeVersionReleaseCreateData is the data object of the GameCenterChallengeVersionReleaseCreateRequest schema.

type GameCenterChallengeVersionReleaseCreateRequest

type GameCenterChallengeVersionReleaseCreateRequest struct {
	Data GameCenterChallengeVersionReleaseCreateData `json:"data"`
}

GameCenterChallengeVersionReleaseCreateRequest is the GameCenterChallengeVersionReleaseCreateRequest schema.

type GameCenterChallengeVersionReleaseRelationships

type GameCenterChallengeVersionReleaseRelationships struct {
	Version *Relationship `json:"version,omitempty"`
}

GameCenterChallengeVersionReleaseRelationships describes relationships for challenge version releases.

type GameCenterChallengeVersionReleaseResponse

type GameCenterChallengeVersionReleaseResponse = SingleResponse[GameCenterChallengeVersionReleaseAttributes]

GameCenterChallengeVersionReleaseResponse is the GameCenterChallengeVersionReleaseResponse schema.

type GameCenterChallengeVersionReleasesResponse

type GameCenterChallengeVersionReleasesResponse = Response[GameCenterChallengeVersionReleaseAttributes]

GameCenterChallengeVersionReleasesResponse is the response from release list endpoints.

type GameCenterChallengeVersionResponse

type GameCenterChallengeVersionResponse = SingleResponse[GameCenterChallengeVersionAttributes]

GameCenterChallengeVersionResponse is the GameCenterChallengeVersionResponse schema.

type GameCenterChallengeVersionsResponse

type GameCenterChallengeVersionsResponse = Response[GameCenterChallengeVersionAttributes]

GameCenterChallengeVersionsResponse is the response from version list endpoints.

type GameCenterChallengesResponse

type GameCenterChallengesResponse = Response[GameCenterChallengeAttributes]

GameCenterChallengesResponse is the response from challenge list endpoints.

type GameCenterDetailAttributes

type GameCenterDetailAttributes struct {
	ArcadeEnabled                      bool `json:"arcadeEnabled,omitempty"`
	ChallengeEnabled                   bool `json:"challengeEnabled,omitempty"`
	LeaderboardSetEnabled              bool `json:"leaderboardSetEnabled,omitempty"`
	LeaderboardEnabled                 bool `json:"leaderboardEnabled,omitempty"`
	AchievementEnabled                 bool `json:"achievementEnabled,omitempty"`
	MultiplayerSessionEnabled          bool `json:"multiplayerSessionEnabled,omitempty"`
	MultiplayerTurnBasedSessionEnabled bool `json:"multiplayerTurnBasedSessionEnabled,omitempty"`
}

GameCenterDetailAttributes represents a Game Center detail resource.

type GameCenterDetailCreateAttributes

type GameCenterDetailCreateAttributes struct {
	ChallengeEnabled *bool `json:"challengeEnabled,omitempty"`
}

GameCenterDetailCreateAttributes is the data.attributes object of the GameCenterDetailCreateRequest schema.

type GameCenterDetailCreateData

type GameCenterDetailCreateData struct {
	Type          ResourceType                         `json:"type"`
	Attributes    *GameCenterDetailCreateAttributes    `json:"attributes,omitempty"`
	Relationships *GameCenterDetailCreateRelationships `json:"relationships"`
}

GameCenterDetailCreateData is the data object of the GameCenterDetailCreateRequest schema.

type GameCenterDetailCreateRelationships

type GameCenterDetailCreateRelationships struct {
	App *Relationship `json:"app"`
}

GameCenterDetailCreateRelationships is the data.relationships object of the GameCenterDetailCreateRequest schema.

type GameCenterDetailCreateRequest

type GameCenterDetailCreateRequest struct {
	Data GameCenterDetailCreateData `json:"data"`
}

GameCenterDetailCreateRequest is the GameCenterDetailCreateRequest schema.

type GameCenterDetailPlayerAttributes

type GameCenterDetailPlayerAttributes struct {
	Nickname *string `json:"nickname,omitempty"`
	Blocked  *bool   `json:"blocked,omitempty"`
	BundleID *string `json:"bundleId,omitempty"`
}

GameCenterDetailPlayerAttributes describes a player associated with a game.

type GameCenterDetailPlayerResponse

type GameCenterDetailPlayerResponse = SingleResponse[GameCenterDetailPlayerAttributes]

GameCenterDetailPlayerResponse is the GameCenterDetailPlayerResponse schema.

type GameCenterDetailPlayersResponse

type GameCenterDetailPlayersResponse = Response[GameCenterDetailPlayerAttributes]

GameCenterDetailPlayersResponse is a collection of players.

type GameCenterDetailResponse

type GameCenterDetailResponse = SingleResponse[GameCenterDetailAttributes]

GameCenterDetailResponse is the GameCenterDetailResponse schema.

type GameCenterDetailUpdateAttributes

type GameCenterDetailUpdateAttributes struct {
	ChallengeEnabled *bool `json:"challengeEnabled,omitempty"`
}

GameCenterDetailUpdateAttributes is the data.attributes object of the GameCenterDetailUpdateRequest schema.

type GameCenterDetailUpdateData

type GameCenterDetailUpdateData struct {
	Type          ResourceType                         `json:"type"`
	ID            string                               `json:"id"`
	Attributes    *GameCenterDetailUpdateAttributes    `json:"attributes,omitempty"`
	Relationships *GameCenterDetailUpdateRelationships `json:"relationships,omitempty"`
}

GameCenterDetailUpdateData is the data object of the GameCenterDetailUpdateRequest schema.

type GameCenterDetailUpdateRelationships

type GameCenterDetailUpdateRelationships struct {
	GameCenterGroup           *Relationship `json:"gameCenterGroup,omitempty"`
	DefaultLeaderboard        *Relationship `json:"defaultLeaderboard,omitempty"`
	DefaultLeaderboardV2      *Relationship `json:"defaultLeaderboardV2,omitempty"`
	DefaultGroupLeaderboard   *Relationship `json:"defaultGroupLeaderboard,omitempty"`
	DefaultGroupLeaderboardV2 *Relationship `json:"defaultGroupLeaderboardV2,omitempty"`
}

GameCenterDetailUpdateRelationships is the data.relationships object of the GameCenterDetailUpdateRequest schema.

type GameCenterDetailUpdateRequest

type GameCenterDetailUpdateRequest struct {
	Data GameCenterDetailUpdateData `json:"data"`
}

GameCenterDetailUpdateRequest is the GameCenterDetailUpdateRequest schema.

type GameCenterDetailsResponse

type GameCenterDetailsResponse = Response[GameCenterDetailAttributes]

GameCenterDetailsResponse is the response from Game Center detail list endpoints.

type GameCenterEnabledVersionAttributes

type GameCenterEnabledVersionAttributes struct {
	Platform      Platform    `json:"platform,omitempty"`
	VersionString string      `json:"versionString,omitempty"`
	IconAsset     *ImageAsset `json:"iconAsset,omitempty"`
}

GameCenterEnabledVersionAttributes represents a Game Center enabled version resource.

type GameCenterEnabledVersionsResponse

type GameCenterEnabledVersionsResponse = Response[GameCenterEnabledVersionAttributes]

GameCenterEnabledVersionsResponse is the response from enabled versions list endpoints.

type GameCenterGroupAttributes

type GameCenterGroupAttributes struct {
	ReferenceName string `json:"referenceName,omitempty"`
}

GameCenterGroupAttributes is the attributes object of the GameCenterGroup schema.

type GameCenterGroupCreateAttributes

type GameCenterGroupCreateAttributes struct {
	ReferenceName *string `json:"referenceName,omitempty"`
}

GameCenterGroupCreateAttributes is the data.attributes object of the GameCenterGroupCreateRequest schema.

type GameCenterGroupCreateData

type GameCenterGroupCreateData struct {
	Type       ResourceType                     `json:"type"`
	Attributes *GameCenterGroupCreateAttributes `json:"attributes,omitempty"`
}

GameCenterGroupCreateData is the data object of the GameCenterGroupCreateRequest schema.

type GameCenterGroupCreateRequest

type GameCenterGroupCreateRequest struct {
	Data GameCenterGroupCreateData `json:"data"`
}

GameCenterGroupCreateRequest is the GameCenterGroupCreateRequest schema.

type GameCenterGroupResponse

type GameCenterGroupResponse = SingleResponse[GameCenterGroupAttributes]

GameCenterGroupResponse is the GameCenterGroupResponse schema.

type GameCenterGroupUpdateAttributes

type GameCenterGroupUpdateAttributes struct {
	ReferenceName *string `json:"referenceName,omitempty"`
}

GameCenterGroupUpdateAttributes is the data.attributes object of the GameCenterGroupUpdateRequest schema.

type GameCenterGroupUpdateData

type GameCenterGroupUpdateData struct {
	Type       ResourceType                     `json:"type"`
	ID         string                           `json:"id"`
	Attributes *GameCenterGroupUpdateAttributes `json:"attributes,omitempty"`
}

GameCenterGroupUpdateData is the data object of the GameCenterGroupUpdateRequest schema.

type GameCenterGroupUpdateRequest

type GameCenterGroupUpdateRequest struct {
	Data GameCenterGroupUpdateData `json:"data"`
}

GameCenterGroupUpdateRequest is the GameCenterGroupUpdateRequest schema.

type GameCenterGroupsResponse

type GameCenterGroupsResponse = Response[GameCenterGroupAttributes]

GameCenterGroupsResponse is the GameCenterGroupsResponse schema.

type GameCenterLeaderboardAttributes

type GameCenterLeaderboardAttributes struct {
	ReferenceName       string            `json:"referenceName"`
	VendorIdentifier    string            `json:"vendorIdentifier"`
	DefaultFormatter    string            `json:"defaultFormatter"`
	ScoreSortType       string            `json:"scoreSortType"`
	ScoreRangeStart     string            `json:"scoreRangeStart,omitempty"`
	ScoreRangeEnd       string            `json:"scoreRangeEnd,omitempty"`
	RecurrenceStartDate string            `json:"recurrenceStartDate,omitempty"`
	RecurrenceDuration  string            `json:"recurrenceDuration,omitempty"`
	RecurrenceRule      string            `json:"recurrenceRule,omitempty"`
	SubmissionType      string            `json:"submissionType"`
	Archived            bool              `json:"archived,omitempty"`
	ActivityProperties  map[string]string `json:"activityProperties,omitempty"`
	Visibility          string            `json:"visibility,omitempty"`
}

GameCenterLeaderboardAttributes represents a Game Center leaderboard resource.

type GameCenterLeaderboardCreateAttributes

type GameCenterLeaderboardCreateAttributes struct {
	ReferenceName       string            `json:"referenceName"`
	VendorIdentifier    string            `json:"vendorIdentifier"`
	DefaultFormatter    string            `json:"defaultFormatter"`
	ScoreSortType       string            `json:"scoreSortType"`
	ScoreRangeStart     string            `json:"scoreRangeStart,omitempty"`
	ScoreRangeEnd       string            `json:"scoreRangeEnd,omitempty"`
	RecurrenceStartDate string            `json:"recurrenceStartDate,omitempty"`
	RecurrenceDuration  string            `json:"recurrenceDuration,omitempty"`
	RecurrenceRule      string            `json:"recurrenceRule,omitempty"`
	SubmissionType      string            `json:"submissionType"`
	ActivityProperties  map[string]string `json:"activityProperties,omitzero"`
	Visibility          string            `json:"visibility,omitempty"`
}

GameCenterLeaderboardCreateAttributes describes attributes for creating a leaderboard.

type GameCenterLeaderboardCreateData

type GameCenterLeaderboardCreateData struct {
	Type          ResourceType                          `json:"type"`
	Attributes    GameCenterLeaderboardCreateAttributes `json:"attributes"`
	Relationships *GameCenterLeaderboardRelationships   `json:"relationships,omitempty"`
}

GameCenterLeaderboardCreateData is the data object of the GameCenterLeaderboardCreateRequest schema.

type GameCenterLeaderboardCreateRequest

type GameCenterLeaderboardCreateRequest struct {
	Data GameCenterLeaderboardCreateData `json:"data"`
}

GameCenterLeaderboardCreateRequest is the GameCenterLeaderboardCreateRequest schema.

type GameCenterLeaderboardEntrySubmissionAttributes

type GameCenterLeaderboardEntrySubmissionAttributes struct {
	BundleID         string   `json:"bundleId"`
	ChallengeIDs     []string `json:"challengeIds,omitempty"`
	Context          *string  `json:"context,omitempty"`
	PreReleased      *bool    `json:"preReleased,omitempty"`
	ScopedPlayerID   string   `json:"scopedPlayerId"`
	Score            string   `json:"score"`
	SubmittedDate    *string  `json:"submittedDate,omitempty"`
	VendorIdentifier string   `json:"vendorIdentifier"`
}

GameCenterLeaderboardEntrySubmissionAttributes describes a leaderboard entry submission.

type GameCenterLeaderboardEntrySubmissionCreateData

type GameCenterLeaderboardEntrySubmissionCreateData struct {
	Type       ResourceType                                   `json:"type"`
	Attributes GameCenterLeaderboardEntrySubmissionAttributes `json:"attributes"`
}

GameCenterLeaderboardEntrySubmissionCreateData is the data portion of a leaderboard entry submission request.

type GameCenterLeaderboardEntrySubmissionCreateRequest

type GameCenterLeaderboardEntrySubmissionCreateRequest struct {
	Data GameCenterLeaderboardEntrySubmissionCreateData `json:"data"`
}

GameCenterLeaderboardEntrySubmissionCreateRequest is the GameCenterLeaderboardEntrySubmissionCreateRequest schema.

type GameCenterLeaderboardEntrySubmissionResource

type GameCenterLeaderboardEntrySubmissionResource struct {
	Type       ResourceType                                   `json:"type"`
	ID         string                                         `json:"id"`
	Attributes GameCenterLeaderboardEntrySubmissionAttributes `json:"attributes"`
}

GameCenterLeaderboardEntrySubmissionResource represents a leaderboard entry submission resource.

type GameCenterLeaderboardEntrySubmissionResponse

type GameCenterLeaderboardEntrySubmissionResponse struct {
	Data  GameCenterLeaderboardEntrySubmissionResource `json:"data"`
	Links Links                                        `json:"links"`
}

GameCenterLeaderboardEntrySubmissionResponse is the response from leaderboard entry submissions.

type GameCenterLeaderboardImageAttributes

type GameCenterLeaderboardImageAttributes struct {
	FileSize           int64               `json:"fileSize"`
	FileName           string              `json:"fileName"`
	ImageAsset         *ImageAsset         `json:"imageAsset,omitempty"`
	UploadOperations   []UploadOperation   `json:"uploadOperations,omitempty"`
	AssetDeliveryState *AssetDeliveryState `json:"assetDeliveryState,omitempty"`
}

GameCenterLeaderboardImageAttributes represents a Game Center leaderboard image resource.

type GameCenterLeaderboardImageCreateAttributes

type GameCenterLeaderboardImageCreateAttributes struct {
	FileSize int64  `json:"fileSize"`
	FileName string `json:"fileName"`
}

GameCenterLeaderboardImageCreateAttributes describes attributes for reserving an image upload.

type GameCenterLeaderboardImageCreateData

type GameCenterLeaderboardImageCreateData struct {
	Type          ResourceType                               `json:"type"`
	Attributes    GameCenterLeaderboardImageCreateAttributes `json:"attributes"`
	Relationships *GameCenterLeaderboardImageRelationships   `json:"relationships"`
}

GameCenterLeaderboardImageCreateData is the data object of the GameCenterLeaderboardImageCreateRequest schema.

type GameCenterLeaderboardImageCreateRequest

type GameCenterLeaderboardImageCreateRequest struct {
	Data GameCenterLeaderboardImageCreateData `json:"data"`
}

GameCenterLeaderboardImageCreateRequest is the GameCenterLeaderboardImageCreateRequest schema.

type GameCenterLeaderboardImageRelationships

type GameCenterLeaderboardImageRelationships struct {
	GameCenterLeaderboardLocalization *Relationship `json:"gameCenterLeaderboardLocalization"`
}

GameCenterLeaderboardImageRelationships is the data.relationships object of the GameCenterLeaderboardImageCreateRequest schema.

type GameCenterLeaderboardImageResponse

type GameCenterLeaderboardImageResponse = SingleResponse[GameCenterLeaderboardImageAttributes]

GameCenterLeaderboardImageResponse is the GameCenterLeaderboardImageResponse schema.

type GameCenterLeaderboardImageUpdateAttributes

type GameCenterLeaderboardImageUpdateAttributes struct {
	Uploaded *bool `json:"uploaded,omitempty"`
}

GameCenterLeaderboardImageUpdateAttributes is the data.attributes object of the GameCenterLeaderboardImageUpdateRequest schema.

type GameCenterLeaderboardImageUpdateData

type GameCenterLeaderboardImageUpdateData struct {
	Type       ResourceType                                `json:"type"`
	ID         string                                      `json:"id"`
	Attributes *GameCenterLeaderboardImageUpdateAttributes `json:"attributes,omitempty"`
}

GameCenterLeaderboardImageUpdateData is the data object of the GameCenterLeaderboardImageUpdateRequest schema.

type GameCenterLeaderboardImageUpdateRequest

type GameCenterLeaderboardImageUpdateRequest struct {
	Data GameCenterLeaderboardImageUpdateData `json:"data"`
}

GameCenterLeaderboardImageUpdateRequest is the GameCenterLeaderboardImageUpdateRequest schema.

type GameCenterLeaderboardImageUploadResult

type GameCenterLeaderboardImageUploadResult struct {
	ID                 string `json:"id"`
	LocalizationID     string `json:"localizationId"`
	FileName           string `json:"fileName"`
	FileSize           int64  `json:"fileSize"`
	AssetDeliveryState string `json:"assetDeliveryState,omitempty"`
	Uploaded           bool   `json:"uploaded"`
}

GameCenterLeaderboardImageUploadResult represents CLI output for image uploads.

type GameCenterLeaderboardImageV2CreateData

type GameCenterLeaderboardImageV2CreateData struct {
	Type          ResourceType                               `json:"type"`
	Attributes    GameCenterLeaderboardImageCreateAttributes `json:"attributes"`
	Relationships *GameCenterLeaderboardImageV2Relationships `json:"relationships"`
}

GameCenterLeaderboardImageV2CreateData is the data portion of a v2 image create (reserve) request.

type GameCenterLeaderboardImageV2CreateRequest

type GameCenterLeaderboardImageV2CreateRequest struct {
	Data GameCenterLeaderboardImageV2CreateData `json:"data"`
}

GameCenterLeaderboardImageV2CreateRequest is the GameCenterLeaderboardImageV2CreateRequest schema.

type GameCenterLeaderboardImageV2Relationships

type GameCenterLeaderboardImageV2Relationships struct {
	Localization *Relationship `json:"localization"`
}

GameCenterLeaderboardImageV2Relationships is the data.relationships object of the GameCenterLeaderboardImageV2CreateRequest schema.

type GameCenterLeaderboardImagesResponse

type GameCenterLeaderboardImagesResponse = Response[GameCenterLeaderboardImageAttributes]

GameCenterLeaderboardImagesResponse is the response from leaderboard image list endpoints.

type GameCenterLeaderboardLocalizationAttributes

type GameCenterLeaderboardLocalizationAttributes struct {
	Locale                  string  `json:"locale"`
	Name                    string  `json:"name"`
	FormatterOverride       *string `json:"formatterOverride,omitempty"`
	FormatterSuffix         *string `json:"formatterSuffix,omitempty"`
	FormatterSuffixSingular *string `json:"formatterSuffixSingular,omitempty"`
	Description             *string `json:"description,omitempty"`
}

GameCenterLeaderboardLocalizationAttributes represents a Game Center leaderboard localization resource.

type GameCenterLeaderboardLocalizationCreateAttributes

type GameCenterLeaderboardLocalizationCreateAttributes struct {
	Locale                  string  `json:"locale"`
	Name                    string  `json:"name"`
	FormatterOverride       *string `json:"formatterOverride,omitempty"`
	FormatterSuffix         *string `json:"formatterSuffix,omitempty"`
	FormatterSuffixSingular *string `json:"formatterSuffixSingular,omitempty"`
	Description             *string `json:"description,omitempty"`
}

GameCenterLeaderboardLocalizationCreateAttributes is the data.attributes object of the GameCenterLeaderboardLocalizationCreateRequest schema.

type GameCenterLeaderboardLocalizationCreateData

type GameCenterLeaderboardLocalizationCreateData struct {
	Type          ResourceType                                      `json:"type"`
	Attributes    GameCenterLeaderboardLocalizationCreateAttributes `json:"attributes"`
	Relationships *GameCenterLeaderboardLocalizationRelationships   `json:"relationships,omitempty"`
}

GameCenterLeaderboardLocalizationCreateData is the data object of the GameCenterLeaderboardLocalizationCreateRequest schema.

type GameCenterLeaderboardLocalizationCreateRequest

type GameCenterLeaderboardLocalizationCreateRequest struct {
	Data GameCenterLeaderboardLocalizationCreateData `json:"data"`
}

GameCenterLeaderboardLocalizationCreateRequest is the GameCenterLeaderboardLocalizationCreateRequest schema.

type GameCenterLeaderboardLocalizationRelationships

type GameCenterLeaderboardLocalizationRelationships struct {
	GameCenterLeaderboard *Relationship `json:"gameCenterLeaderboard"`
}

GameCenterLeaderboardLocalizationRelationships is the data.relationships object of the GameCenterLeaderboardLocalizationCreateRequest schema.

type GameCenterLeaderboardLocalizationResponse

type GameCenterLeaderboardLocalizationResponse = SingleResponse[GameCenterLeaderboardLocalizationAttributes]

GameCenterLeaderboardLocalizationResponse is the GameCenterLeaderboardLocalizationResponse schema.

type GameCenterLeaderboardLocalizationUpdateAttributes

type GameCenterLeaderboardLocalizationUpdateAttributes struct {
	Name                    *string `json:"name,omitempty"`
	FormatterOverride       *string `json:"formatterOverride,omitempty"`
	FormatterSuffix         *string `json:"formatterSuffix,omitempty"`
	FormatterSuffixSingular *string `json:"formatterSuffixSingular,omitempty"`
	Description             *string `json:"description,omitempty"`
}

GameCenterLeaderboardLocalizationUpdateAttributes is the data.attributes object of the GameCenterLeaderboardLocalizationUpdateRequest schema.

type GameCenterLeaderboardLocalizationUpdateData

type GameCenterLeaderboardLocalizationUpdateData struct {
	Type       ResourceType                                       `json:"type"`
	ID         string                                             `json:"id"`
	Attributes *GameCenterLeaderboardLocalizationUpdateAttributes `json:"attributes,omitempty"`
}

GameCenterLeaderboardLocalizationUpdateData is the data object of the GameCenterLeaderboardLocalizationUpdateRequest schema.

type GameCenterLeaderboardLocalizationUpdateRequest

type GameCenterLeaderboardLocalizationUpdateRequest struct {
	Data GameCenterLeaderboardLocalizationUpdateData `json:"data"`
}

GameCenterLeaderboardLocalizationUpdateRequest is the GameCenterLeaderboardLocalizationUpdateRequest schema.

type GameCenterLeaderboardLocalizationV2CreateData

type GameCenterLeaderboardLocalizationV2CreateData struct {
	Type          ResourceType                                      `json:"type"`
	Attributes    GameCenterLeaderboardLocalizationCreateAttributes `json:"attributes"`
	Relationships *GameCenterLeaderboardLocalizationV2Relationships `json:"relationships,omitempty"`
}

GameCenterLeaderboardLocalizationV2CreateData is the data object of the GameCenterLeaderboardLocalizationV2CreateRequest schema.

type GameCenterLeaderboardLocalizationV2CreateRequest

type GameCenterLeaderboardLocalizationV2CreateRequest struct {
	Data GameCenterLeaderboardLocalizationV2CreateData `json:"data"`
}

GameCenterLeaderboardLocalizationV2CreateRequest is the GameCenterLeaderboardLocalizationV2CreateRequest schema.

type GameCenterLeaderboardLocalizationV2Relationships

type GameCenterLeaderboardLocalizationV2Relationships struct {
	Version *Relationship `json:"version"`
}

GameCenterLeaderboardLocalizationV2Relationships is the data.relationships object of the GameCenterLeaderboardLocalizationV2CreateRequest schema.

type GameCenterLeaderboardLocalizationsResponse

type GameCenterLeaderboardLocalizationsResponse = Response[GameCenterLeaderboardLocalizationAttributes]

GameCenterLeaderboardLocalizationsResponse is the response from leaderboard localization list endpoints.

type GameCenterLeaderboardRelationships

type GameCenterLeaderboardRelationships struct {
	GameCenterDetail          *Relationship     `json:"gameCenterDetail,omitempty"`
	GameCenterLeaderboardSets *RelationshipList `json:"gameCenterLeaderboardSets,omitempty"`
}

GameCenterLeaderboardRelationships describes relationships for leaderboards.

type GameCenterLeaderboardReleaseAttributes

type GameCenterLeaderboardReleaseAttributes struct {
	Live bool `json:"live"`
}

GameCenterLeaderboardReleaseAttributes represents a Game Center leaderboard release resource.

type GameCenterLeaderboardReleaseCreateData

type GameCenterLeaderboardReleaseCreateData struct {
	Type          ResourceType                               `json:"type"`
	Relationships *GameCenterLeaderboardReleaseRelationships `json:"relationships"`
}

GameCenterLeaderboardReleaseCreateData is the data object of the GameCenterLeaderboardReleaseCreateRequest schema.

type GameCenterLeaderboardReleaseCreateRequest

type GameCenterLeaderboardReleaseCreateRequest struct {
	Data GameCenterLeaderboardReleaseCreateData `json:"data"`
}

GameCenterLeaderboardReleaseCreateRequest is the GameCenterLeaderboardReleaseCreateRequest schema.

type GameCenterLeaderboardReleaseRelationships

type GameCenterLeaderboardReleaseRelationships struct {
	GameCenterDetail      *Relationship `json:"gameCenterDetail"`
	GameCenterLeaderboard *Relationship `json:"gameCenterLeaderboard"`
}

GameCenterLeaderboardReleaseRelationships is the data.relationships object of the GameCenterLeaderboardReleaseCreateRequest schema.

type GameCenterLeaderboardReleaseResponse

type GameCenterLeaderboardReleaseResponse = SingleResponse[GameCenterLeaderboardReleaseAttributes]

GameCenterLeaderboardReleaseResponse is the GameCenterLeaderboardReleaseResponse schema.

type GameCenterLeaderboardReleasesResponse

type GameCenterLeaderboardReleasesResponse = Response[GameCenterLeaderboardReleaseAttributes]

GameCenterLeaderboardReleasesResponse is the response from leaderboard release list endpoints.

type GameCenterLeaderboardResponse

type GameCenterLeaderboardResponse = SingleResponse[GameCenterLeaderboardAttributes]

GameCenterLeaderboardResponse is the GameCenterLeaderboardResponse schema.

type GameCenterLeaderboardSetAttributes

type GameCenterLeaderboardSetAttributes struct {
	ReferenceName    string `json:"referenceName"`
	VendorIdentifier string `json:"vendorIdentifier"`
}

GameCenterLeaderboardSetAttributes represents a Game Center leaderboard set resource.

type GameCenterLeaderboardSetCreateAttributes

type GameCenterLeaderboardSetCreateAttributes struct {
	ReferenceName    string `json:"referenceName"`
	VendorIdentifier string `json:"vendorIdentifier"`
}

GameCenterLeaderboardSetCreateAttributes is the data.attributes object of the GameCenterLeaderboardSetCreateRequest schema.

type GameCenterLeaderboardSetCreateData

type GameCenterLeaderboardSetCreateData struct {
	Type          ResourceType                             `json:"type"`
	Attributes    GameCenterLeaderboardSetCreateAttributes `json:"attributes"`
	Relationships *GameCenterLeaderboardSetRelationships   `json:"relationships,omitempty"`
}

GameCenterLeaderboardSetCreateData is the data object of the GameCenterLeaderboardSetCreateRequest schema.

type GameCenterLeaderboardSetCreateRequest

type GameCenterLeaderboardSetCreateRequest struct {
	Data GameCenterLeaderboardSetCreateData `json:"data"`
}

GameCenterLeaderboardSetCreateRequest is the GameCenterLeaderboardSetCreateRequest schema.

type GameCenterLeaderboardSetImageAttributes

type GameCenterLeaderboardSetImageAttributes struct {
	FileSize           int64               `json:"fileSize"`
	FileName           string              `json:"fileName"`
	ImageAsset         *ImageAsset         `json:"imageAsset,omitempty"`
	UploadOperations   []UploadOperation   `json:"uploadOperations,omitempty"`
	AssetDeliveryState *AssetDeliveryState `json:"assetDeliveryState,omitempty"`
}

GameCenterLeaderboardSetImageAttributes represents a Game Center leaderboard set image resource.

type GameCenterLeaderboardSetImageCreateAttributes

type GameCenterLeaderboardSetImageCreateAttributes struct {
	FileSize int64  `json:"fileSize"`
	FileName string `json:"fileName"`
}

GameCenterLeaderboardSetImageCreateAttributes describes attributes for reserving an image upload.

type GameCenterLeaderboardSetImageCreateData

type GameCenterLeaderboardSetImageCreateData struct {
	Type          ResourceType                                  `json:"type"`
	Attributes    GameCenterLeaderboardSetImageCreateAttributes `json:"attributes"`
	Relationships *GameCenterLeaderboardSetImageRelationships   `json:"relationships"`
}

GameCenterLeaderboardSetImageCreateData is the data object of the GameCenterLeaderboardSetImageCreateRequest schema.

type GameCenterLeaderboardSetImageCreateRequest

type GameCenterLeaderboardSetImageCreateRequest struct {
	Data GameCenterLeaderboardSetImageCreateData `json:"data"`
}

GameCenterLeaderboardSetImageCreateRequest is the GameCenterLeaderboardSetImageCreateRequest schema.

type GameCenterLeaderboardSetImageRelationships

type GameCenterLeaderboardSetImageRelationships struct {
	GameCenterLeaderboardSetLocalization *Relationship `json:"gameCenterLeaderboardSetLocalization"`
}

GameCenterLeaderboardSetImageRelationships is the data.relationships object of the GameCenterLeaderboardSetImageCreateRequest schema.

type GameCenterLeaderboardSetImageResponse

type GameCenterLeaderboardSetImageResponse = SingleResponse[GameCenterLeaderboardSetImageAttributes]

GameCenterLeaderboardSetImageResponse is the GameCenterLeaderboardSetImageResponse schema.

type GameCenterLeaderboardSetImageUpdateAttributes

type GameCenterLeaderboardSetImageUpdateAttributes struct {
	Uploaded *bool `json:"uploaded,omitempty"`
}

GameCenterLeaderboardSetImageUpdateAttributes is the data.attributes object of the GameCenterLeaderboardSetImageUpdateRequest schema.

type GameCenterLeaderboardSetImageUpdateData

type GameCenterLeaderboardSetImageUpdateData struct {
	Type       ResourceType                                   `json:"type"`
	ID         string                                         `json:"id"`
	Attributes *GameCenterLeaderboardSetImageUpdateAttributes `json:"attributes,omitempty"`
}

GameCenterLeaderboardSetImageUpdateData is the data object of the GameCenterLeaderboardSetImageUpdateRequest schema.

type GameCenterLeaderboardSetImageUpdateRequest

type GameCenterLeaderboardSetImageUpdateRequest struct {
	Data GameCenterLeaderboardSetImageUpdateData `json:"data"`
}

GameCenterLeaderboardSetImageUpdateRequest is the GameCenterLeaderboardSetImageUpdateRequest schema.

type GameCenterLeaderboardSetImageUploadResult

type GameCenterLeaderboardSetImageUploadResult struct {
	ID                 string `json:"id"`
	LocalizationID     string `json:"localizationId"`
	FileName           string `json:"fileName"`
	FileSize           int64  `json:"fileSize"`
	AssetDeliveryState string `json:"assetDeliveryState,omitempty"`
	Uploaded           bool   `json:"uploaded"`
}

GameCenterLeaderboardSetImageUploadResult represents CLI output for leaderboard set image uploads.

type GameCenterLeaderboardSetImageV2CreateData

type GameCenterLeaderboardSetImageV2CreateData struct {
	Type          ResourceType                                  `json:"type"`
	Attributes    GameCenterLeaderboardSetImageCreateAttributes `json:"attributes"`
	Relationships *GameCenterLeaderboardSetImageV2Relationships `json:"relationships"`
}

GameCenterLeaderboardSetImageV2CreateData is the data portion of a v2 image create (reserve) request.

type GameCenterLeaderboardSetImageV2CreateRequest

type GameCenterLeaderboardSetImageV2CreateRequest struct {
	Data GameCenterLeaderboardSetImageV2CreateData `json:"data"`
}

GameCenterLeaderboardSetImageV2CreateRequest is the GameCenterLeaderboardSetImageV2CreateRequest schema.

type GameCenterLeaderboardSetImageV2Relationships

type GameCenterLeaderboardSetImageV2Relationships struct {
	Localization *Relationship `json:"localization"`
}

GameCenterLeaderboardSetImageV2Relationships is the data.relationships object of the GameCenterLeaderboardSetImageV2CreateRequest schema.

type GameCenterLeaderboardSetLocalizationAttributes

type GameCenterLeaderboardSetLocalizationAttributes struct {
	Locale string `json:"locale"`
	Name   string `json:"name"`
}

GameCenterLeaderboardSetLocalizationAttributes represents a Game Center leaderboard set localization resource.

type GameCenterLeaderboardSetLocalizationCreateAttributes

type GameCenterLeaderboardSetLocalizationCreateAttributes struct {
	Locale string `json:"locale"`
	Name   string `json:"name"`
}

GameCenterLeaderboardSetLocalizationCreateAttributes is the data.attributes object of the GameCenterLeaderboardSetLocalizationCreateRequest schema.

type GameCenterLeaderboardSetLocalizationCreateData

type GameCenterLeaderboardSetLocalizationCreateData struct {
	Type          ResourceType                                         `json:"type"`
	Attributes    GameCenterLeaderboardSetLocalizationCreateAttributes `json:"attributes"`
	Relationships *GameCenterLeaderboardSetLocalizationRelationships   `json:"relationships,omitempty"`
}

GameCenterLeaderboardSetLocalizationCreateData is the data object of the GameCenterLeaderboardSetLocalizationCreateRequest schema.

type GameCenterLeaderboardSetLocalizationCreateRequest

type GameCenterLeaderboardSetLocalizationCreateRequest struct {
	Data GameCenterLeaderboardSetLocalizationCreateData `json:"data"`
}

GameCenterLeaderboardSetLocalizationCreateRequest is the GameCenterLeaderboardSetLocalizationCreateRequest schema.

type GameCenterLeaderboardSetLocalizationRelationships

type GameCenterLeaderboardSetLocalizationRelationships struct {
	GameCenterLeaderboardSet *Relationship `json:"gameCenterLeaderboardSet"`
}

GameCenterLeaderboardSetLocalizationRelationships is the data.relationships object of the GameCenterLeaderboardSetLocalizationCreateRequest schema.

type GameCenterLeaderboardSetLocalizationResponse

type GameCenterLeaderboardSetLocalizationResponse = SingleResponse[GameCenterLeaderboardSetLocalizationAttributes]

GameCenterLeaderboardSetLocalizationResponse is the GameCenterLeaderboardSetLocalizationResponse schema.

type GameCenterLeaderboardSetLocalizationUpdateAttributes

type GameCenterLeaderboardSetLocalizationUpdateAttributes struct {
	Name *string `json:"name,omitempty"`
}

GameCenterLeaderboardSetLocalizationUpdateAttributes is the data.attributes object of the GameCenterLeaderboardSetLocalizationUpdateRequest schema.

type GameCenterLeaderboardSetLocalizationUpdateData

type GameCenterLeaderboardSetLocalizationUpdateData struct {
	Type       ResourceType                                          `json:"type"`
	ID         string                                                `json:"id"`
	Attributes *GameCenterLeaderboardSetLocalizationUpdateAttributes `json:"attributes,omitempty"`
}

GameCenterLeaderboardSetLocalizationUpdateData is the data object of the GameCenterLeaderboardSetLocalizationUpdateRequest schema.

type GameCenterLeaderboardSetLocalizationUpdateRequest

type GameCenterLeaderboardSetLocalizationUpdateRequest struct {
	Data GameCenterLeaderboardSetLocalizationUpdateData `json:"data"`
}

GameCenterLeaderboardSetLocalizationUpdateRequest is the GameCenterLeaderboardSetLocalizationUpdateRequest schema.

type GameCenterLeaderboardSetLocalizationV2CreateData

type GameCenterLeaderboardSetLocalizationV2CreateData struct {
	Type          ResourceType                                         `json:"type"`
	Attributes    GameCenterLeaderboardSetLocalizationCreateAttributes `json:"attributes"`
	Relationships *GameCenterLeaderboardSetLocalizationV2Relationships `json:"relationships,omitempty"`
}

GameCenterLeaderboardSetLocalizationV2CreateData is the data object of the GameCenterLeaderboardSetLocalizationV2CreateRequest schema.

type GameCenterLeaderboardSetLocalizationV2CreateRequest

type GameCenterLeaderboardSetLocalizationV2CreateRequest struct {
	Data GameCenterLeaderboardSetLocalizationV2CreateData `json:"data"`
}

GameCenterLeaderboardSetLocalizationV2CreateRequest is the GameCenterLeaderboardSetLocalizationV2CreateRequest schema.

type GameCenterLeaderboardSetLocalizationV2Relationships

type GameCenterLeaderboardSetLocalizationV2Relationships struct {
	Version *Relationship `json:"version"`
}

GameCenterLeaderboardSetLocalizationV2Relationships is the data.relationships object of the GameCenterLeaderboardSetLocalizationV2CreateRequest schema.

type GameCenterLeaderboardSetLocalizationsResponse

type GameCenterLeaderboardSetLocalizationsResponse = Response[GameCenterLeaderboardSetLocalizationAttributes]

GameCenterLeaderboardSetLocalizationsResponse is the response from leaderboard set localization list endpoints.

type GameCenterLeaderboardSetMemberLocalizationAttributes

type GameCenterLeaderboardSetMemberLocalizationAttributes struct {
	Name   string `json:"name"`
	Locale string `json:"locale"`
}

GameCenterLeaderboardSetMemberLocalizationAttributes represents a leaderboard set member localization.

type GameCenterLeaderboardSetMemberLocalizationCreateAttributes

type GameCenterLeaderboardSetMemberLocalizationCreateAttributes struct {
	Name   string `json:"name"`
	Locale string `json:"locale"`
}

GameCenterLeaderboardSetMemberLocalizationCreateAttributes describes attributes for creating a member localization.

type GameCenterLeaderboardSetMemberLocalizationCreateData

type GameCenterLeaderboardSetMemberLocalizationCreateData struct {
	Type          ResourceType                                               `json:"type"`
	Attributes    GameCenterLeaderboardSetMemberLocalizationCreateAttributes `json:"attributes"`
	Relationships *GameCenterLeaderboardSetMemberLocalizationRelationships   `json:"relationships"`
}

GameCenterLeaderboardSetMemberLocalizationCreateData is the data portion of a member localization create request.

type GameCenterLeaderboardSetMemberLocalizationCreateRequest

type GameCenterLeaderboardSetMemberLocalizationCreateRequest struct {
	Data GameCenterLeaderboardSetMemberLocalizationCreateData `json:"data"`
}

GameCenterLeaderboardSetMemberLocalizationCreateRequest is the GameCenterLeaderboardSetMemberLocalizationCreateRequest schema.

type GameCenterLeaderboardSetMemberLocalizationRelationships

type GameCenterLeaderboardSetMemberLocalizationRelationships struct {
	GameCenterLeaderboardSet *Relationship `json:"gameCenterLeaderboardSet"`
	GameCenterLeaderboard    *Relationship `json:"gameCenterLeaderboard"`
}

GameCenterLeaderboardSetMemberLocalizationRelationships is the data.relationships object of the GameCenterLeaderboardSetMemberLocalizationCreateRequest schema.

type GameCenterLeaderboardSetMemberLocalizationResponse

type GameCenterLeaderboardSetMemberLocalizationResponse = SingleResponse[GameCenterLeaderboardSetMemberLocalizationAttributes]

GameCenterLeaderboardSetMemberLocalizationResponse is the GameCenterLeaderboardSetMemberLocalizationResponse schema.

type GameCenterLeaderboardSetMemberLocalizationUpdateAttributes

type GameCenterLeaderboardSetMemberLocalizationUpdateAttributes struct {
	Name *string `json:"name,omitempty"`
}

GameCenterLeaderboardSetMemberLocalizationUpdateAttributes is the data.attributes object of the GameCenterLeaderboardSetMemberLocalizationUpdateRequest schema.

type GameCenterLeaderboardSetMemberLocalizationUpdateData

type GameCenterLeaderboardSetMemberLocalizationUpdateData struct {
	Type       ResourceType                                                `json:"type"`
	ID         string                                                      `json:"id"`
	Attributes *GameCenterLeaderboardSetMemberLocalizationUpdateAttributes `json:"attributes,omitempty"`
}

GameCenterLeaderboardSetMemberLocalizationUpdateData is the data object of the GameCenterLeaderboardSetMemberLocalizationUpdateRequest schema.

type GameCenterLeaderboardSetMemberLocalizationUpdateRequest

type GameCenterLeaderboardSetMemberLocalizationUpdateRequest struct {
	Data GameCenterLeaderboardSetMemberLocalizationUpdateData `json:"data"`
}

GameCenterLeaderboardSetMemberLocalizationUpdateRequest is the GameCenterLeaderboardSetMemberLocalizationUpdateRequest schema.

type GameCenterLeaderboardSetMemberLocalizationsResponse

type GameCenterLeaderboardSetMemberLocalizationsResponse = Response[GameCenterLeaderboardSetMemberLocalizationAttributes]

GameCenterLeaderboardSetMemberLocalizationsResponse is the GameCenterLeaderboardSetMemberLocalizationsResponse schema.

type GameCenterLeaderboardSetMembersUpdateResult

type GameCenterLeaderboardSetMembersUpdateResult struct {
	SetID       string   `json:"setId"`
	MemberCount int      `json:"memberCount"`
	MemberIDs   []string `json:"memberIds"`
	Updated     bool     `json:"updated"`
}

GameCenterLeaderboardSetMembersUpdateResult represents CLI output for member updates.

type GameCenterLeaderboardSetRelationships

type GameCenterLeaderboardSetRelationships struct {
	GameCenterDetail       *Relationship     `json:"gameCenterDetail,omitempty"`
	GameCenterLeaderboards *RelationshipList `json:"gameCenterLeaderboards,omitempty"`
}

GameCenterLeaderboardSetRelationships describes relationships for leaderboard sets.

type GameCenterLeaderboardSetReleaseAttributes

type GameCenterLeaderboardSetReleaseAttributes struct {
	Live bool `json:"live"`
}

GameCenterLeaderboardSetReleaseAttributes represents a Game Center leaderboard set release resource.

type GameCenterLeaderboardSetReleaseCreateData

type GameCenterLeaderboardSetReleaseCreateData struct {
	Type          ResourceType                                  `json:"type"`
	Relationships *GameCenterLeaderboardSetReleaseRelationships `json:"relationships"`
}

GameCenterLeaderboardSetReleaseCreateData is the data object of the GameCenterLeaderboardSetReleaseCreateRequest schema.

type GameCenterLeaderboardSetReleaseCreateRequest

type GameCenterLeaderboardSetReleaseCreateRequest struct {
	Data GameCenterLeaderboardSetReleaseCreateData `json:"data"`
}

GameCenterLeaderboardSetReleaseCreateRequest is the GameCenterLeaderboardSetReleaseCreateRequest schema.

type GameCenterLeaderboardSetReleaseRelationships

type GameCenterLeaderboardSetReleaseRelationships struct {
	GameCenterDetail         *Relationship `json:"gameCenterDetail"`
	GameCenterLeaderboardSet *Relationship `json:"gameCenterLeaderboardSet"`
}

GameCenterLeaderboardSetReleaseRelationships is the data.relationships object of the GameCenterLeaderboardSetReleaseCreateRequest schema.

type GameCenterLeaderboardSetReleaseResponse

type GameCenterLeaderboardSetReleaseResponse = SingleResponse[GameCenterLeaderboardSetReleaseAttributes]

GameCenterLeaderboardSetReleaseResponse is the GameCenterLeaderboardSetReleaseResponse schema.

type GameCenterLeaderboardSetReleasesResponse

type GameCenterLeaderboardSetReleasesResponse = Response[GameCenterLeaderboardSetReleaseAttributes]

GameCenterLeaderboardSetReleasesResponse is the response from leaderboard set release list endpoints.

type GameCenterLeaderboardSetResponse

type GameCenterLeaderboardSetResponse = SingleResponse[GameCenterLeaderboardSetAttributes]

GameCenterLeaderboardSetResponse is the GameCenterLeaderboardSetResponse schema.

type GameCenterLeaderboardSetUpdateAttributes

type GameCenterLeaderboardSetUpdateAttributes struct {
	ReferenceName *string `json:"referenceName,omitempty"`
}

GameCenterLeaderboardSetUpdateAttributes is the data.attributes object of the GameCenterLeaderboardSetUpdateRequest schema.

type GameCenterLeaderboardSetUpdateData

type GameCenterLeaderboardSetUpdateData struct {
	Type       ResourceType                              `json:"type"`
	ID         string                                    `json:"id"`
	Attributes *GameCenterLeaderboardSetUpdateAttributes `json:"attributes,omitempty"`
}

GameCenterLeaderboardSetUpdateData is the data object of the GameCenterLeaderboardSetUpdateRequest schema.

type GameCenterLeaderboardSetUpdateRequest

type GameCenterLeaderboardSetUpdateRequest struct {
	Data GameCenterLeaderboardSetUpdateData `json:"data"`
}

GameCenterLeaderboardSetUpdateRequest is the GameCenterLeaderboardSetUpdateRequest schema.

type GameCenterLeaderboardSetV2CreateData

type GameCenterLeaderboardSetV2CreateData struct {
	Type          ResourceType                             `json:"type"`
	Attributes    GameCenterLeaderboardSetCreateAttributes `json:"attributes"`
	Relationships *GameCenterLeaderboardSetV2Relationships `json:"relationships,omitempty"`
}

GameCenterLeaderboardSetV2CreateData is the data portion of a v2 leaderboard set create request.

type GameCenterLeaderboardSetV2CreateRequest

type GameCenterLeaderboardSetV2CreateRequest struct {
	Data     GameCenterLeaderboardSetV2CreateData          `json:"data"`
	Included []GameCenterLeaderboardSetVersionInlineCreate `json:"included"`
}

GameCenterLeaderboardSetV2CreateRequest is a request to create a v2 leaderboard set.

type GameCenterLeaderboardSetV2Relationships

type GameCenterLeaderboardSetV2Relationships struct {
	GameCenterDetail       *Relationship     `json:"gameCenterDetail,omitempty"`
	GameCenterGroup        *Relationship     `json:"gameCenterGroup,omitempty"`
	GameCenterLeaderboards *RelationshipList `json:"gameCenterLeaderboards,omitempty"`
	Versions               *RelationshipList `json:"versions"`
}

GameCenterLeaderboardSetV2Relationships is the data.relationships object of the GameCenterLeaderboardSetV2CreateRequest schema.

type GameCenterLeaderboardSetVersionInlineCreate added in v1.260810.0

type GameCenterLeaderboardSetVersionInlineCreate struct {
	Type ResourceType `json:"type"`
	ID   string       `json:"id"`
}

GameCenterLeaderboardSetVersionInlineCreate is an inline leaderboard set version.

type GameCenterLeaderboardSetVersionRelationships

type GameCenterLeaderboardSetVersionRelationships struct {
	LeaderboardSet *Relationship `json:"leaderboardSet,omitempty"`
}

GameCenterLeaderboardSetVersionRelationships describes relationships for leaderboard set versions.

type GameCenterLeaderboardSetVersionResponse

type GameCenterLeaderboardSetVersionResponse = SingleResponse[GameCenterLeaderboardSetVersionV2Attributes]

GameCenterLeaderboardSetVersionResponse is the response from leaderboard set version detail endpoints.

type GameCenterLeaderboardSetVersionV2Attributes

type GameCenterLeaderboardSetVersionV2Attributes struct {
	Version int                    `json:"version,omitempty"`
	State   GameCenterVersionState `json:"state,omitempty"`
}

GameCenterLeaderboardSetVersionV2Attributes is the attributes object of the GameCenterLeaderboardSetVersionV2 schema.

type GameCenterLeaderboardSetVersionV2CreateData

type GameCenterLeaderboardSetVersionV2CreateData struct {
	Type          ResourceType                                  `json:"type"`
	Relationships *GameCenterLeaderboardSetVersionRelationships `json:"relationships,omitempty"`
}

GameCenterLeaderboardSetVersionV2CreateData is the data object of the GameCenterLeaderboardSetVersionV2CreateRequest schema.

type GameCenterLeaderboardSetVersionV2CreateRequest

type GameCenterLeaderboardSetVersionV2CreateRequest struct {
	Data GameCenterLeaderboardSetVersionV2CreateData `json:"data"`
}

GameCenterLeaderboardSetVersionV2CreateRequest is the GameCenterLeaderboardSetVersionV2CreateRequest schema.

type GameCenterLeaderboardSetVersionsResponse

type GameCenterLeaderboardSetVersionsResponse = Response[GameCenterLeaderboardSetVersionV2Attributes]

GameCenterLeaderboardSetVersionsResponse is the response from leaderboard set version list endpoints.

type GameCenterLeaderboardSetsResponse

type GameCenterLeaderboardSetsResponse = Response[GameCenterLeaderboardSetAttributes]

GameCenterLeaderboardSetsResponse is the response from leaderboard set list endpoints.

type GameCenterLeaderboardUpdateAttributes

type GameCenterLeaderboardUpdateAttributes struct {
	ReferenceName       *string           `json:"referenceName,omitempty"`
	DefaultFormatter    *string           `json:"defaultFormatter,omitempty"`
	ScoreSortType       *string           `json:"scoreSortType,omitempty"`
	ScoreRangeStart     *string           `json:"scoreRangeStart,omitempty"`
	ScoreRangeEnd       *string           `json:"scoreRangeEnd,omitempty"`
	RecurrenceStartDate *string           `json:"recurrenceStartDate,omitempty"`
	RecurrenceDuration  *string           `json:"recurrenceDuration,omitempty"`
	RecurrenceRule      *string           `json:"recurrenceRule,omitempty"`
	SubmissionType      *string           `json:"submissionType,omitempty"`
	Archived            *bool             `json:"archived,omitempty"`
	ActivityProperties  map[string]string `json:"activityProperties,omitzero"`
	Visibility          *string           `json:"visibility,omitempty"`
}

GameCenterLeaderboardUpdateAttributes describes attributes for updating a leaderboard.

type GameCenterLeaderboardUpdateData

type GameCenterLeaderboardUpdateData struct {
	Type       ResourceType                           `json:"type"`
	ID         string                                 `json:"id"`
	Attributes *GameCenterLeaderboardUpdateAttributes `json:"attributes,omitempty"`
}

GameCenterLeaderboardUpdateData is the data object of the GameCenterLeaderboardUpdateRequest schema.

type GameCenterLeaderboardUpdateRequest

type GameCenterLeaderboardUpdateRequest struct {
	Data GameCenterLeaderboardUpdateData `json:"data"`
}

GameCenterLeaderboardUpdateRequest is the GameCenterLeaderboardUpdateRequest schema.

type GameCenterLeaderboardV2CreateData

type GameCenterLeaderboardV2CreateData struct {
	Type          ResourceType                          `json:"type"`
	Attributes    GameCenterLeaderboardCreateAttributes `json:"attributes"`
	Relationships *GameCenterLeaderboardV2Relationships `json:"relationships,omitempty"`
}

GameCenterLeaderboardV2CreateData is the data portion of a v2 leaderboard create request.

type GameCenterLeaderboardV2CreateRequest

type GameCenterLeaderboardV2CreateRequest struct {
	Data     GameCenterLeaderboardV2CreateData          `json:"data"`
	Included []GameCenterLeaderboardVersionInlineCreate `json:"included"`
}

GameCenterLeaderboardV2CreateRequest is a request to create a v2 leaderboard.

type GameCenterLeaderboardV2Relationships

type GameCenterLeaderboardV2Relationships struct {
	GameCenterDetail          *Relationship     `json:"gameCenterDetail,omitempty"`
	GameCenterGroup           *Relationship     `json:"gameCenterGroup,omitempty"`
	GameCenterLeaderboardSets *RelationshipList `json:"gameCenterLeaderboardSets,omitempty"`
	Versions                  *RelationshipList `json:"versions"`
}

GameCenterLeaderboardV2Relationships is the data.relationships object of the GameCenterLeaderboardV2CreateRequest schema.

type GameCenterLeaderboardVersionInlineCreate added in v1.260810.0

type GameCenterLeaderboardVersionInlineCreate struct {
	Type ResourceType `json:"type"`
	ID   string       `json:"id"`
}

GameCenterLeaderboardVersionInlineCreate is an inline leaderboard version.

type GameCenterLeaderboardVersionRelationships

type GameCenterLeaderboardVersionRelationships struct {
	Leaderboard *Relationship `json:"leaderboard,omitempty"`
}

GameCenterLeaderboardVersionRelationships describes relationships for leaderboard versions.

type GameCenterLeaderboardVersionResponse

type GameCenterLeaderboardVersionResponse = SingleResponse[GameCenterLeaderboardVersionV2Attributes]

GameCenterLeaderboardVersionResponse is the response from leaderboard version detail endpoints.

type GameCenterLeaderboardVersionV2Attributes

type GameCenterLeaderboardVersionV2Attributes struct {
	Version int                    `json:"version,omitempty"`
	State   GameCenterVersionState `json:"state,omitempty"`
}

GameCenterLeaderboardVersionV2Attributes is the attributes object of the GameCenterLeaderboardVersionV2 schema.

type GameCenterLeaderboardVersionV2CreateData

type GameCenterLeaderboardVersionV2CreateData struct {
	Type          ResourceType                               `json:"type"`
	Relationships *GameCenterLeaderboardVersionRelationships `json:"relationships,omitempty"`
}

GameCenterLeaderboardVersionV2CreateData is the data object of the GameCenterLeaderboardVersionV2CreateRequest schema.

type GameCenterLeaderboardVersionV2CreateRequest

type GameCenterLeaderboardVersionV2CreateRequest struct {
	Data GameCenterLeaderboardVersionV2CreateData `json:"data"`
}

GameCenterLeaderboardVersionV2CreateRequest is the GameCenterLeaderboardVersionV2CreateRequest schema.

type GameCenterLeaderboardVersionsResponse

type GameCenterLeaderboardVersionsResponse = Response[GameCenterLeaderboardVersionV2Attributes]

GameCenterLeaderboardVersionsResponse is the response from leaderboard version list endpoints.

type GameCenterLeaderboardsResponse

type GameCenterLeaderboardsResponse = Response[GameCenterLeaderboardAttributes]

GameCenterLeaderboardsResponse is the response from leaderboard list endpoints.

type GameCenterMatchmakingBooleanRuleResultsResponse

type GameCenterMatchmakingBooleanRuleResultsResponse = GameCenterMetricsResponse

GameCenterMatchmakingBooleanRuleResultsResponse is the response for boolean rule results metrics.

type GameCenterMatchmakingNumberRuleResultsResponse

type GameCenterMatchmakingNumberRuleResultsResponse = GameCenterMetricsResponse

GameCenterMatchmakingNumberRuleResultsResponse is the response for number rule results metrics.

type GameCenterMatchmakingQueueAttributes

type GameCenterMatchmakingQueueAttributes struct {
	ReferenceName               string   `json:"referenceName"`
	ClassicMatchmakingBundleIDs []string `json:"classicMatchmakingBundleIds,omitempty"`
}

GameCenterMatchmakingQueueAttributes represents a matchmaking queue resource.

type GameCenterMatchmakingQueueCreateAttributes

type GameCenterMatchmakingQueueCreateAttributes struct {
	ReferenceName               string   `json:"referenceName"`
	ClassicMatchmakingBundleIDs []string `json:"classicMatchmakingBundleIds,omitempty"`
}

GameCenterMatchmakingQueueCreateAttributes is the data.attributes object of the GameCenterMatchmakingQueueCreateRequest schema.

type GameCenterMatchmakingQueueCreateData

type GameCenterMatchmakingQueueCreateData struct {
	Type          ResourceType                               `json:"type"`
	Attributes    GameCenterMatchmakingQueueCreateAttributes `json:"attributes"`
	Relationships *GameCenterMatchmakingQueueRelationships   `json:"relationships,omitempty"`
}

GameCenterMatchmakingQueueCreateData is the data object of the GameCenterMatchmakingQueueCreateRequest schema.

type GameCenterMatchmakingQueueCreateRequest

type GameCenterMatchmakingQueueCreateRequest struct {
	Data GameCenterMatchmakingQueueCreateData `json:"data"`
}

GameCenterMatchmakingQueueCreateRequest is the GameCenterMatchmakingQueueCreateRequest schema.

type GameCenterMatchmakingQueueExperimentRequestsResponse

type GameCenterMatchmakingQueueExperimentRequestsResponse = GameCenterMetricsResponse

GameCenterMatchmakingQueueExperimentRequestsResponse is the response for experiment queue requests metrics.

type GameCenterMatchmakingQueueExperimentSizesResponse

type GameCenterMatchmakingQueueExperimentSizesResponse = GameCenterMetricsResponse

GameCenterMatchmakingQueueExperimentSizesResponse is the response for experiment queue sizes metrics.

type GameCenterMatchmakingQueueRelationships

type GameCenterMatchmakingQueueRelationships struct {
	RuleSet           *Relationship `json:"ruleSet,omitempty"`
	ExperimentRuleSet *Relationship `json:"experimentRuleSet,omitempty"`
}

GameCenterMatchmakingQueueRelationships describes relationships for matchmaking queues.

type GameCenterMatchmakingQueueRequestsResponse

type GameCenterMatchmakingQueueRequestsResponse = GameCenterMetricsResponse

GameCenterMatchmakingQueueRequestsResponse is the response for matchmaking queue requests metrics.

type GameCenterMatchmakingQueueResponse

type GameCenterMatchmakingQueueResponse = SingleResponse[GameCenterMatchmakingQueueAttributes]

GameCenterMatchmakingQueueResponse is the GameCenterMatchmakingQueueResponse schema.

type GameCenterMatchmakingQueueSessionsResponse

type GameCenterMatchmakingQueueSessionsResponse = GameCenterMetricsResponse

GameCenterMatchmakingQueueSessionsResponse is the response for matchmaking sessions metrics.

type GameCenterMatchmakingQueueSizesResponse

type GameCenterMatchmakingQueueSizesResponse = GameCenterMetricsResponse

GameCenterMatchmakingQueueSizesResponse is the response for matchmaking queue sizes metrics.

type GameCenterMatchmakingQueueUpdateAttributes

type GameCenterMatchmakingQueueUpdateAttributes struct {
	ClassicMatchmakingBundleIDs []string `json:"classicMatchmakingBundleIds,omitempty"`
}

GameCenterMatchmakingQueueUpdateAttributes is the data.attributes object of the GameCenterMatchmakingQueueUpdateRequest schema.

type GameCenterMatchmakingQueueUpdateData

type GameCenterMatchmakingQueueUpdateData struct {
	Type          ResourceType                                `json:"type"`
	ID            string                                      `json:"id"`
	Attributes    *GameCenterMatchmakingQueueUpdateAttributes `json:"attributes,omitempty"`
	Relationships *GameCenterMatchmakingQueueRelationships    `json:"relationships,omitempty"`
}

GameCenterMatchmakingQueueUpdateData is the data object of the GameCenterMatchmakingQueueUpdateRequest schema.

type GameCenterMatchmakingQueueUpdateRequest

type GameCenterMatchmakingQueueUpdateRequest struct {
	Data GameCenterMatchmakingQueueUpdateData `json:"data"`
}

GameCenterMatchmakingQueueUpdateRequest is the GameCenterMatchmakingQueueUpdateRequest schema.

type GameCenterMatchmakingQueuesResponse

type GameCenterMatchmakingQueuesResponse = Response[GameCenterMatchmakingQueueAttributes]

GameCenterMatchmakingQueuesResponse is the GameCenterMatchmakingQueuesResponse schema.

type GameCenterMatchmakingRuleAttributes

type GameCenterMatchmakingRuleAttributes struct {
	ReferenceName string  `json:"referenceName"`
	Description   string  `json:"description"`
	Type          string  `json:"type"`
	Expression    string  `json:"expression"`
	Weight        float64 `json:"weight,omitempty"`
}

GameCenterMatchmakingRuleAttributes represents a matchmaking rule resource.

type GameCenterMatchmakingRuleCreateAttributes

type GameCenterMatchmakingRuleCreateAttributes struct {
	ReferenceName string   `json:"referenceName"`
	Description   string   `json:"description"`
	Type          string   `json:"type"`
	Expression    string   `json:"expression"`
	Weight        *float64 `json:"weight,omitempty"`
}

GameCenterMatchmakingRuleCreateAttributes is the data.attributes object of the GameCenterMatchmakingRuleCreateRequest schema.

type GameCenterMatchmakingRuleCreateData

type GameCenterMatchmakingRuleCreateData struct {
	Type          ResourceType                              `json:"type"`
	Attributes    GameCenterMatchmakingRuleCreateAttributes `json:"attributes"`
	Relationships *GameCenterMatchmakingRuleRelationships   `json:"relationships,omitempty"`
}

GameCenterMatchmakingRuleCreateData is the data object of the GameCenterMatchmakingRuleCreateRequest schema.

type GameCenterMatchmakingRuleCreateRequest

type GameCenterMatchmakingRuleCreateRequest struct {
	Data GameCenterMatchmakingRuleCreateData `json:"data"`
}

GameCenterMatchmakingRuleCreateRequest is the GameCenterMatchmakingRuleCreateRequest schema.

type GameCenterMatchmakingRuleErrorsResponse

type GameCenterMatchmakingRuleErrorsResponse = GameCenterMetricsResponse

GameCenterMatchmakingRuleErrorsResponse is the response for rule errors metrics.

type GameCenterMatchmakingRuleRelationships

type GameCenterMatchmakingRuleRelationships struct {
	RuleSet *Relationship `json:"ruleSet,omitempty"`
}

GameCenterMatchmakingRuleRelationships describes relationships for matchmaking rules.

type GameCenterMatchmakingRuleResponse

type GameCenterMatchmakingRuleResponse = SingleResponse[GameCenterMatchmakingRuleAttributes]

GameCenterMatchmakingRuleResponse is the GameCenterMatchmakingRuleResponse schema.

type GameCenterMatchmakingRuleSetAttributes

type GameCenterMatchmakingRuleSetAttributes struct {
	ReferenceName       string `json:"referenceName"`
	RuleLanguageVersion int    `json:"ruleLanguageVersion"`
	MinPlayers          int    `json:"minPlayers"`
	MaxPlayers          int    `json:"maxPlayers"`
}

GameCenterMatchmakingRuleSetAttributes represents a matchmaking rule set resource.

type GameCenterMatchmakingRuleSetCreateAttributes

type GameCenterMatchmakingRuleSetCreateAttributes struct {
	ReferenceName       string `json:"referenceName"`
	RuleLanguageVersion int    `json:"ruleLanguageVersion"`
	MinPlayers          int    `json:"minPlayers"`
	MaxPlayers          int    `json:"maxPlayers"`
}

GameCenterMatchmakingRuleSetCreateAttributes is the data.attributes object of the GameCenterMatchmakingRuleSetCreateRequest schema.

type GameCenterMatchmakingRuleSetCreateData

type GameCenterMatchmakingRuleSetCreateData struct {
	Type       ResourceType                                 `json:"type"`
	Attributes GameCenterMatchmakingRuleSetCreateAttributes `json:"attributes"`
}

GameCenterMatchmakingRuleSetCreateData is the data object of the GameCenterMatchmakingRuleSetCreateRequest schema.

type GameCenterMatchmakingRuleSetCreateRequest

type GameCenterMatchmakingRuleSetCreateRequest struct {
	Data GameCenterMatchmakingRuleSetCreateData `json:"data"`
}

GameCenterMatchmakingRuleSetCreateRequest is the GameCenterMatchmakingRuleSetCreateRequest schema.

type GameCenterMatchmakingRuleSetResponse

type GameCenterMatchmakingRuleSetResponse = SingleResponse[GameCenterMatchmakingRuleSetAttributes]

GameCenterMatchmakingRuleSetResponse is the GameCenterMatchmakingRuleSetResponse schema.

type GameCenterMatchmakingRuleSetTestAttributes

type GameCenterMatchmakingRuleSetTestAttributes struct {
	MatchmakingResults []any `json:"matchmakingResults,omitempty"`
}

GameCenterMatchmakingRuleSetTestAttributes represents a rule set test result.

type GameCenterMatchmakingRuleSetTestResponse

type GameCenterMatchmakingRuleSetTestResponse = SingleResponse[GameCenterMatchmakingRuleSetTestAttributes]

GameCenterMatchmakingRuleSetTestResponse is the GameCenterMatchmakingRuleSetTestResponse schema.

type GameCenterMatchmakingRuleSetUpdateAttributes

type GameCenterMatchmakingRuleSetUpdateAttributes struct {
	MinPlayers *int `json:"minPlayers,omitempty"`
	MaxPlayers *int `json:"maxPlayers,omitempty"`
}

GameCenterMatchmakingRuleSetUpdateAttributes is the data.attributes object of the GameCenterMatchmakingRuleSetUpdateRequest schema.

type GameCenterMatchmakingRuleSetUpdateData

type GameCenterMatchmakingRuleSetUpdateData struct {
	Type       ResourceType                                  `json:"type"`
	ID         string                                        `json:"id"`
	Attributes *GameCenterMatchmakingRuleSetUpdateAttributes `json:"attributes,omitempty"`
}

GameCenterMatchmakingRuleSetUpdateData is the data object of the GameCenterMatchmakingRuleSetUpdateRequest schema.

type GameCenterMatchmakingRuleSetUpdateRequest

type GameCenterMatchmakingRuleSetUpdateRequest struct {
	Data GameCenterMatchmakingRuleSetUpdateData `json:"data"`
}

GameCenterMatchmakingRuleSetUpdateRequest is the GameCenterMatchmakingRuleSetUpdateRequest schema.

type GameCenterMatchmakingRuleSetsResponse

type GameCenterMatchmakingRuleSetsResponse = Response[GameCenterMatchmakingRuleSetAttributes]

GameCenterMatchmakingRuleSetsResponse is the GameCenterMatchmakingRuleSetsResponse schema.

type GameCenterMatchmakingRuleUpdateAttributes

type GameCenterMatchmakingRuleUpdateAttributes struct {
	Description *string  `json:"description,omitempty"`
	Expression  *string  `json:"expression,omitempty"`
	Weight      *float64 `json:"weight,omitempty"`
}

GameCenterMatchmakingRuleUpdateAttributes is the data.attributes object of the GameCenterMatchmakingRuleUpdateRequest schema.

type GameCenterMatchmakingRuleUpdateData

type GameCenterMatchmakingRuleUpdateData struct {
	Type       ResourceType                               `json:"type"`
	ID         string                                     `json:"id"`
	Attributes *GameCenterMatchmakingRuleUpdateAttributes `json:"attributes,omitempty"`
}

GameCenterMatchmakingRuleUpdateData is the data object of the GameCenterMatchmakingRuleUpdateRequest schema.

type GameCenterMatchmakingRuleUpdateRequest

type GameCenterMatchmakingRuleUpdateRequest struct {
	Data GameCenterMatchmakingRuleUpdateData `json:"data"`
}

GameCenterMatchmakingRuleUpdateRequest is the GameCenterMatchmakingRuleUpdateRequest schema.

type GameCenterMatchmakingRulesResponse

type GameCenterMatchmakingRulesResponse = Response[GameCenterMatchmakingRuleAttributes]

GameCenterMatchmakingRulesResponse is the response from rule list endpoints.

type GameCenterMatchmakingTeamAttributes

type GameCenterMatchmakingTeamAttributes struct {
	ReferenceName string `json:"referenceName"`
	MinPlayers    int    `json:"minPlayers"`
	MaxPlayers    int    `json:"maxPlayers"`
}

GameCenterMatchmakingTeamAttributes represents a matchmaking team resource.

type GameCenterMatchmakingTeamCreateAttributes

type GameCenterMatchmakingTeamCreateAttributes struct {
	ReferenceName string `json:"referenceName"`
	MinPlayers    int    `json:"minPlayers"`
	MaxPlayers    int    `json:"maxPlayers"`
}

GameCenterMatchmakingTeamCreateAttributes is the data.attributes object of the GameCenterMatchmakingTeamCreateRequest schema.

type GameCenterMatchmakingTeamCreateData

type GameCenterMatchmakingTeamCreateData struct {
	Type          ResourceType                              `json:"type"`
	Attributes    GameCenterMatchmakingTeamCreateAttributes `json:"attributes"`
	Relationships *GameCenterMatchmakingTeamRelationships   `json:"relationships,omitempty"`
}

GameCenterMatchmakingTeamCreateData is the data object of the GameCenterMatchmakingTeamCreateRequest schema.

type GameCenterMatchmakingTeamCreateRequest

type GameCenterMatchmakingTeamCreateRequest struct {
	Data GameCenterMatchmakingTeamCreateData `json:"data"`
}

GameCenterMatchmakingTeamCreateRequest is the GameCenterMatchmakingTeamCreateRequest schema.

type GameCenterMatchmakingTeamRelationships

type GameCenterMatchmakingTeamRelationships struct {
	RuleSet *Relationship `json:"ruleSet,omitempty"`
}

GameCenterMatchmakingTeamRelationships describes relationships for matchmaking teams.

type GameCenterMatchmakingTeamResponse

type GameCenterMatchmakingTeamResponse = SingleResponse[GameCenterMatchmakingTeamAttributes]

GameCenterMatchmakingTeamResponse is the GameCenterMatchmakingTeamResponse schema.

type GameCenterMatchmakingTeamUpdateAttributes

type GameCenterMatchmakingTeamUpdateAttributes struct {
	MinPlayers *int `json:"minPlayers,omitempty"`
	MaxPlayers *int `json:"maxPlayers,omitempty"`
}

GameCenterMatchmakingTeamUpdateAttributes is the data.attributes object of the GameCenterMatchmakingTeamUpdateRequest schema.

type GameCenterMatchmakingTeamUpdateData

type GameCenterMatchmakingTeamUpdateData struct {
	Type       ResourceType                               `json:"type"`
	ID         string                                     `json:"id"`
	Attributes *GameCenterMatchmakingTeamUpdateAttributes `json:"attributes,omitempty"`
}

GameCenterMatchmakingTeamUpdateData is the data object of the GameCenterMatchmakingTeamUpdateRequest schema.

type GameCenterMatchmakingTeamUpdateRequest

type GameCenterMatchmakingTeamUpdateRequest struct {
	Data GameCenterMatchmakingTeamUpdateData `json:"data"`
}

GameCenterMatchmakingTeamUpdateRequest is the GameCenterMatchmakingTeamUpdateRequest schema.

type GameCenterMatchmakingTeamsResponse

type GameCenterMatchmakingTeamsResponse = Response[GameCenterMatchmakingTeamAttributes]

GameCenterMatchmakingTeamsResponse is the response from team list endpoints.

type GameCenterMetricsData

type GameCenterMetricsData struct {
	DataPoints  []GameCenterMetricsDataPoint          `json:"dataPoints"`
	Dimensions  map[string]GameCenterMetricsDimension `json:"dimensions,omitempty"`
	Granularity any                                   `json:"granularity,omitempty"`
}

GameCenterMetricsData represents a metrics row.

type GameCenterMetricsDataPoint

type GameCenterMetricsDataPoint struct {
	Start  string         `json:"start,omitempty"`
	End    string         `json:"end,omitempty"`
	Values map[string]any `json:"values,omitempty"`
}

GameCenterMetricsDataPoint represents a metrics data point.

type GameCenterMetricsDimension

type GameCenterMetricsDimension struct {
	Data any `json:"data,omitempty"`
}

GameCenterMetricsDimension represents a metrics dimension entry.

type GameCenterMetricsResponse

type GameCenterMetricsResponse struct {
	Data  []GameCenterMetricsData `json:"data"`
	Links Links                   `json:"links"`
	Meta  json.RawMessage         `json:"meta,omitempty"`
}

GameCenterMetricsResponse represents a generic metrics response.

func (*GameCenterMetricsResponse) GetData

func (r *GameCenterMetricsResponse) GetData() any

GetData returns the data field for aggregation.

func (r *GameCenterMetricsResponse) GetLinks() *Links

GetLinks returns the links field for pagination.

type GameCenterPlayerAchievementSubmissionAttributes

type GameCenterPlayerAchievementSubmissionAttributes struct {
	BundleID           string   `json:"bundleId"`
	ChallengeIDs       []string `json:"challengeIds,omitempty"`
	PercentageAchieved int      `json:"percentageAchieved"`
	PreReleased        *bool    `json:"preReleased,omitempty"`
	ScopedPlayerID     string   `json:"scopedPlayerId"`
	SubmittedDate      *string  `json:"submittedDate,omitempty"`
	VendorIdentifier   string   `json:"vendorIdentifier"`
}

GameCenterPlayerAchievementSubmissionAttributes describes a player achievement submission.

type GameCenterPlayerAchievementSubmissionCreateData

type GameCenterPlayerAchievementSubmissionCreateData struct {
	Type       ResourceType                                    `json:"type"`
	Attributes GameCenterPlayerAchievementSubmissionAttributes `json:"attributes"`
}

GameCenterPlayerAchievementSubmissionCreateData is the data portion of a player achievement submission request.

type GameCenterPlayerAchievementSubmissionCreateRequest

type GameCenterPlayerAchievementSubmissionCreateRequest struct {
	Data GameCenterPlayerAchievementSubmissionCreateData `json:"data"`
}

GameCenterPlayerAchievementSubmissionCreateRequest is the GameCenterPlayerAchievementSubmissionCreateRequest schema.

type GameCenterPlayerAchievementSubmissionResource

type GameCenterPlayerAchievementSubmissionResource struct {
	Type       ResourceType                                    `json:"type"`
	ID         string                                          `json:"id"`
	Attributes GameCenterPlayerAchievementSubmissionAttributes `json:"attributes"`
}

GameCenterPlayerAchievementSubmissionResource represents a player achievement submission resource.

type GameCenterPlayerAchievementSubmissionResponse

type GameCenterPlayerAchievementSubmissionResponse struct {
	Data  GameCenterPlayerAchievementSubmissionResource `json:"data"`
	Links Links                                         `json:"links"`
}

GameCenterPlayerAchievementSubmissionResponse is the response from player achievement submissions.

type GameCenterScoreModerationAttributes

type GameCenterScoreModerationAttributes struct {
	Rank          *string   `json:"rank,omitempty"`
	Score         *string   `json:"score,omitempty"`
	SubmittedDate *string   `json:"submittedDate,omitempty"`
	Blocked       *bool     `json:"blocked,omitempty"`
	PreReleased   *bool     `json:"preReleased,omitempty"`
	Context       *string   `json:"context,omitempty"`
	ChallengeIDs  *[]string `json:"challengeIds,omitempty"`
}

GameCenterScoreModerationAttributes describes a submitted leaderboard score. Numeric strings stay strings to preserve Apple's full integer precision.

type GameCenterScoreModerationResponse

type GameCenterScoreModerationResponse = SingleResponse[GameCenterScoreModerationAttributes]

GameCenterScoreModerationResponse is the GameCenterScoreModerationResponse schema.

type GameCenterScoreModerationsResponse

type GameCenterScoreModerationsResponse = Response[GameCenterScoreModerationAttributes]

GameCenterScoreModerationsResponse is a collection of submitted scores.

type GameCenterVersionState

type GameCenterVersionState string

GameCenterVersionState represents the state of a Game Center version.

const (
	GameCenterVersionStatePrepareForSubmission GameCenterVersionState = "PREPARE_FOR_SUBMISSION"
	GameCenterVersionStateReadyForReview       GameCenterVersionState = "READY_FOR_REVIEW"
	GameCenterVersionStateWaitingForReview     GameCenterVersionState = "WAITING_FOR_REVIEW"
	GameCenterVersionStateInReview             GameCenterVersionState = "IN_REVIEW"
	GameCenterVersionStateDeveloperRejected    GameCenterVersionState = "DEVELOPER_REJECTED"
	GameCenterVersionStateRejected             GameCenterVersionState = "REJECTED"
	GameCenterVersionStateAccepted             GameCenterVersionState = "ACCEPTED"
	GameCenterVersionStatePendingRelease       GameCenterVersionState = "PENDING_RELEASE"
	GameCenterVersionStateLive                 GameCenterVersionState = "LIVE"
	GameCenterVersionStateReplacedWithNew      GameCenterVersionState = "REPLACED_WITH_NEW_VERSION"
)

type HTTPHeader

type HTTPHeader struct {
	Name  string `json:"name"`
	Value string `json:"value"`
}

HTTPHeader represents an HTTP header.

type IAPAvailabilityTerritoriesOption

type IAPAvailabilityTerritoriesOption func(*iapAvailabilityTerritoriesQuery)

IAPAvailabilityTerritoriesOption sets the query of GET /v1/inAppPurchaseAvailabilities/{id}/availableTerritories (inAppPurchaseAvailabilities_availableTerritories_getToManyRelated).

type IAPContentOption added in v1.260722.0

type IAPContentOption func(*iapContentQuery)

IAPContentOption configures content detail and related-resource reads.

func WithIAPContentIAPFields added in v1.260722.0

func WithIAPContentIAPFields(fields []string) IAPContentOption

WithIAPContentIAPFields sets fields[inAppPurchases] for included IAPs.

type IAPGetOption added in v1.260722.0

type IAPGetOption func(*inAppPurchaseGetQuery)

IAPGetOption is a functional option for GetInAppPurchaseV2.

func WithIAPGetFields added in v1.260722.0

func WithIAPGetFields(fields []string) IAPGetOption

WithIAPGetFields sets fields for a returned in-app purchase.

func WithIAPGetInclude added in v1.260722.0

func WithIAPGetInclude(include []string) IAPGetOption

WithIAPGetInclude sets related resources to include for an IAP detail request.

func WithIAPGetNestedVersionsLimit added in v1.260722.0

func WithIAPGetNestedVersionsLimit(limit int) IAPGetOption

WithIAPGetNestedVersionsLimit limits included versions on an IAP detail request.

func WithIAPGetVersionFields added in v1.260722.0

func WithIAPGetVersionFields(fields []string) IAPGetOption

WithIAPGetVersionFields sets fields for included versions on an IAP detail request.

type IAPImageV2Option added in v1.260722.0

type IAPImageV2Option func(*iapImageFieldsQuery)

func WithIAPImageV2Fields added in v1.260722.0

func WithIAPImageV2Fields(fields []string) IAPImageV2Option

type IAPLocalizationV2Option added in v1.260722.0

type IAPLocalizationV2Option func(*iapLocalizationV2Query)

IAPLocalizationV2Option sets the query of GET /v2/inAppPurchaseLocalizations/{id} (inAppPurchaseLocalizationsV2_getInstance).

func WithIAPLocalizationV2Fields added in v1.260722.0

func WithIAPLocalizationV2Fields(fields []string) IAPLocalizationV2Option

WithIAPLocalizationV2Fields sets fields[inAppPurchaseLocalizations].

func WithIAPLocalizationV2Include added in v1.260722.0

func WithIAPLocalizationV2Include(include []string) IAPLocalizationV2Option

WithIAPLocalizationV2Include sets include.

func WithIAPLocalizationV2VersionFields added in v1.260722.0

func WithIAPLocalizationV2VersionFields(fields []string) IAPLocalizationV2Option

WithIAPLocalizationV2VersionFields sets fields[inAppPurchaseVersions].

type IAPLocalizationsOption

type IAPLocalizationsOption func(*iapLocalizationsQuery)

IAPLocalizationsOption sets the query of GET /v2/inAppPurchases/{id}/inAppPurchaseLocalizations (inAppPurchasesV2_inAppPurchaseLocalizations_getToManyRelated).

type IAPOfferCodeCustomCodesOption

type IAPOfferCodeCustomCodesOption func(*iapOfferCodeCustomCodesQuery)

IAPOfferCodeCustomCodesOption sets the query of GET /v1/inAppPurchaseOfferCodes/{id}/customCodes (inAppPurchaseOfferCodes_customCodes_getToManyRelated).

type IAPOfferCodeOneTimeUseCodesOption

type IAPOfferCodeOneTimeUseCodesOption func(*iapOfferCodeOneTimeUseCodesQuery)

IAPOfferCodeOneTimeUseCodesOption sets the query of GET /v1/inAppPurchaseOfferCodes/{id}/oneTimeUseCodes (inAppPurchaseOfferCodes_oneTimeUseCodes_getToManyRelated).

type IAPOfferCodePricesOption

type IAPOfferCodePricesOption func(*iapOfferCodePricesQuery)

IAPOfferCodePricesOption sets the query of GET /v1/inAppPurchaseOfferCodes/{id}/prices (inAppPurchaseOfferCodes_prices_getToManyRelated).

func WithIAPOfferCodePricesFields added in v1.260728.0

func WithIAPOfferCodePricesFields(fields []string) IAPOfferCodePricesOption

WithIAPOfferCodePricesFields sets fields[inAppPurchaseOfferPrices].

func WithIAPOfferCodePricesInclude added in v1.260728.0

func WithIAPOfferCodePricesInclude(include []string) IAPOfferCodePricesOption

WithIAPOfferCodePricesInclude sets include.

type IAPOfferCodesOption

type IAPOfferCodesOption func(*iapOfferCodesQuery)

IAPOfferCodesOption sets the query of GET /v2/inAppPurchases/{id}/offerCodes (inAppPurchasesV2_offerCodes_getToManyRelated).

type IAPOption

type IAPOption func(*inAppPurchasesQuery)

IAPOption is a functional option for GetInAppPurchasesV2.

func WithIAPFields added in v1.260722.0

func WithIAPFields(fields []string) IAPOption

WithIAPFields sets fields for returned in-app purchases.

func WithIAPInclude added in v1.260722.0

func WithIAPInclude(include []string) IAPOption

WithIAPInclude sets related resources to include for IAP list requests.

func WithIAPNames added in v1.260404.0

func WithIAPNames(names []string) IAPOption

WithIAPNames filters in-app purchases by current name.

func WithIAPNestedVersionsLimit added in v1.260722.0

func WithIAPNestedVersionsLimit(limit int) IAPOption

WithIAPNestedVersionsLimit limits included versions.

func WithIAPProductIDs added in v1.260404.0

func WithIAPProductIDs(productIDs []string) IAPOption

WithIAPProductIDs filters in-app purchases by product ID.

func WithIAPSort added in v1.260828.0

func WithIAPSort(sort []string) IAPOption

WithIAPSort sets the in-app purchase sort expressions.

func WithIAPStates added in v1.260828.0

func WithIAPStates(states []string) IAPOption

WithIAPStates filters in-app purchases by state.

func WithIAPTypes added in v1.260828.0

func WithIAPTypes(types []string) IAPOption

WithIAPTypes filters in-app purchases by type.

func WithIAPVersionFields added in v1.260722.0

func WithIAPVersionFields(fields []string) IAPOption

WithIAPVersionFields sets fields for included in-app purchase versions.

type IAPPricePointsOption

type IAPPricePointsOption func(*iapPricePointsQuery)

func WithIAPPricePointsFields

func WithIAPPricePointsFields(fields []string) IAPPricePointsOption

func WithIAPPricePointsInclude

func WithIAPPricePointsInclude(include []string) IAPPricePointsOption

func WithIAPPricePointsTerritory

func WithIAPPricePointsTerritory(territory string) IAPPricePointsOption

func WithIAPPricePointsTerritoryFields

func WithIAPPricePointsTerritoryFields(fields []string) IAPPricePointsOption

type IAPPriceScheduleOption

type IAPPriceScheduleOption func(*iapPriceScheduleQuery)

IAPPriceScheduleOption sets the query of GET /v1/inAppPurchasePriceSchedules/{id} (inAppPurchasePriceSchedules_getInstance) and GET /v2/inAppPurchases/{id}/iapPriceSchedule (inAppPurchasesV2_iapPriceSchedule_getToOneRelated).

func WithIAPPriceScheduleAutomaticPricesLimit

func WithIAPPriceScheduleAutomaticPricesLimit(limit int) IAPPriceScheduleOption

WithIAPPriceScheduleAutomaticPricesLimit sets limit[automaticPrices].

func WithIAPPriceScheduleFields

func WithIAPPriceScheduleFields(fields []string) IAPPriceScheduleOption

WithIAPPriceScheduleFields sets fields[inAppPurchasePriceSchedules].

func WithIAPPriceScheduleInclude

func WithIAPPriceScheduleInclude(include []string) IAPPriceScheduleOption

WithIAPPriceScheduleInclude sets include.

func WithIAPPriceScheduleManualPricesLimit

func WithIAPPriceScheduleManualPricesLimit(limit int) IAPPriceScheduleOption

WithIAPPriceScheduleManualPricesLimit sets limit[manualPrices].

func WithIAPPriceSchedulePriceFields

func WithIAPPriceSchedulePriceFields(fields []string) IAPPriceScheduleOption

WithIAPPriceSchedulePriceFields sets fields[inAppPurchasePrices].

func WithIAPPriceScheduleTerritoryFields

func WithIAPPriceScheduleTerritoryFields(fields []string) IAPPriceScheduleOption

WithIAPPriceScheduleTerritoryFields sets fields[territories].

type IAPPriceSchedulePricesOption

type IAPPriceSchedulePricesOption func(*iapPriceSchedulePricesQuery)

IAPPriceSchedulePricesOption sets the query of GET /v1/inAppPurchasePriceSchedules/{id}/automaticPrices (inAppPurchasePriceSchedules_automaticPrices_getToManyRelated) and GET /v1/inAppPurchasePriceSchedules/{id}/manualPrices (inAppPurchasePriceSchedules_manualPrices_getToManyRelated).

func WithIAPPriceSchedulePricesFields

func WithIAPPriceSchedulePricesFields(fields []string) IAPPriceSchedulePricesOption

WithIAPPriceSchedulePricesFields sets fields[inAppPurchasePrices].

func WithIAPPriceSchedulePricesInclude

func WithIAPPriceSchedulePricesInclude(include []string) IAPPriceSchedulePricesOption

WithIAPPriceSchedulePricesInclude sets include.

func WithIAPPriceSchedulePricesPricePointFields

func WithIAPPriceSchedulePricesPricePointFields(fields []string) IAPPriceSchedulePricesOption

WithIAPPriceSchedulePricesPricePointFields sets fields[inAppPurchasePricePoints].

func WithIAPPriceSchedulePricesTerritoryFields

func WithIAPPriceSchedulePricesTerritoryFields(fields []string) IAPPriceSchedulePricesOption

WithIAPPriceSchedulePricesTerritoryFields sets fields[territories].

type IAPReviewScreenshotOption added in v1.260722.0

type IAPReviewScreenshotOption func(*iapReviewScreenshotQuery)

IAPReviewScreenshotOption configures review screenshot detail and related-resource reads.

func WithIAPReviewScreenshotFields

func WithIAPReviewScreenshotFields(fields []string) IAPReviewScreenshotOption

WithIAPReviewScreenshotFields sets fields[inAppPurchaseAppStoreReviewScreenshots].

func WithIAPReviewScreenshotIAPFields added in v1.260722.0

func WithIAPReviewScreenshotIAPFields(fields []string) IAPReviewScreenshotOption

WithIAPReviewScreenshotIAPFields sets fields[inAppPurchases] for included IAPs.

type IAPVersionGetOption added in v1.260722.0

type IAPVersionGetOption func(*iapVersionGetQuery)

IAPVersionGetOption sets the query of GET /v1/inAppPurchaseVersions/{id} (inAppPurchaseVersions_getInstance).

func WithIAPVersionGetFields added in v1.260722.0

func WithIAPVersionGetFields(fields []string) IAPVersionGetOption

WithIAPVersionGetFields sets fields[inAppPurchaseVersions].

func WithIAPVersionGetIAPFields added in v1.260722.0

func WithIAPVersionGetIAPFields(fields []string) IAPVersionGetOption

WithIAPVersionGetIAPFields sets fields[inAppPurchases].

func WithIAPVersionGetImageFields added in v1.260722.0

func WithIAPVersionGetImageFields(fields []string) IAPVersionGetOption

WithIAPVersionGetImageFields sets fields[inAppPurchaseImages].

func WithIAPVersionGetImagesLimit added in v1.260722.0

func WithIAPVersionGetImagesLimit(limit int) IAPVersionGetOption

WithIAPVersionGetImagesLimit sets limit[images].

func WithIAPVersionGetInclude added in v1.260722.0

func WithIAPVersionGetInclude(include []string) IAPVersionGetOption

WithIAPVersionGetInclude sets include.

func WithIAPVersionGetLocalizationFields added in v1.260722.0

func WithIAPVersionGetLocalizationFields(fields []string) IAPVersionGetOption

WithIAPVersionGetLocalizationFields sets fields[inAppPurchaseLocalizations].

func WithIAPVersionGetLocalizationsLimit added in v1.260722.0

func WithIAPVersionGetLocalizationsLimit(limit int) IAPVersionGetOption

WithIAPVersionGetLocalizationsLimit sets limit[localizations].

type IAPVersionImageOption added in v1.260722.0

type IAPVersionImageOption func(*iapImageFieldsQuery)

func WithIAPVersionImageFields added in v1.260722.0

func WithIAPVersionImageFields(fields []string) IAPVersionImageOption

type IAPVersionImagesOption added in v1.260722.0

type IAPVersionImagesOption func(*iapVersionImagesQuery)

func WithIAPVersionImagesFields added in v1.260722.0

func WithIAPVersionImagesFields(fields []string) IAPVersionImagesOption

func WithIAPVersionImagesNextURL added in v1.260722.0

func WithIAPVersionImagesNextURL(next string) IAPVersionImagesOption

type IAPVersionLocalizationsOption added in v1.260722.0

type IAPVersionLocalizationsOption func(*iapVersionLocalizationsQuery)

func WithIAPVersionLocalizationsFields added in v1.260722.0

func WithIAPVersionLocalizationsFields(fields []string) IAPVersionLocalizationsOption

func WithIAPVersionLocalizationsInclude added in v1.260722.0

func WithIAPVersionLocalizationsInclude(include []string) IAPVersionLocalizationsOption

func WithIAPVersionLocalizationsNextURL added in v1.260722.0

func WithIAPVersionLocalizationsNextURL(next string) IAPVersionLocalizationsOption

func WithIAPVersionLocalizationsVersionFields added in v1.260722.0

func WithIAPVersionLocalizationsVersionFields(fields []string) IAPVersionLocalizationsOption

type IAPVersionsOption added in v1.260722.0

type IAPVersionsOption func(*iapVersionsQuery)

func WithIAPVersionsFields added in v1.260722.0

func WithIAPVersionsFields(fields []string) IAPVersionsOption

func WithIAPVersionsIAPFields added in v1.260722.0

func WithIAPVersionsIAPFields(fields []string) IAPVersionsOption

func WithIAPVersionsImageFields added in v1.260722.0

func WithIAPVersionsImageFields(fields []string) IAPVersionsOption

func WithIAPVersionsImagesLimit added in v1.260722.0

func WithIAPVersionsImagesLimit(limit int) IAPVersionsOption

func WithIAPVersionsInclude added in v1.260722.0

func WithIAPVersionsInclude(include []string) IAPVersionsOption

func WithIAPVersionsLocalizationFields added in v1.260722.0

func WithIAPVersionsLocalizationFields(fields []string) IAPVersionsOption

func WithIAPVersionsLocalizationsLimit added in v1.260722.0

func WithIAPVersionsLocalizationsLimit(limit int) IAPVersionsOption

func WithIAPVersionsNextURL added in v1.260722.0

func WithIAPVersionsNextURL(next string) IAPVersionsOption

func WithIAPVersionsStates added in v1.260722.0

func WithIAPVersionsStates(states []string) IAPVersionsOption

type IOSArtifactResult

type IOSArtifactResult struct {
	Operation         string `json:"operation"`
	Backend           string `json:"backend"`
	AppPath           string `json:"appPath,omitempty"`
	IPAPath           string `json:"ipaPath,omitempty"`
	BundleID          string `json:"bundleId,omitempty"`
	Platform          string `json:"platform"`
	Configuration     string `json:"configuration,omitempty"`
	SigningType       string `json:"signingType"`
	ProfileValidated  bool   `json:"profileValidated"`
	SignatureVerified bool   `json:"signatureVerified"`
	AppleAcceptance   string `json:"appleAcceptance"`
	SHA256            string `json:"sha256,omitempty"`
	Success           bool   `json:"success"`
	DurationMs        int64  `json:"durationMs"`
}

IOSArtifactResult describes an explicitly selected portable iOS operation. Apple acceptance and complete native signature verification are separate gates.

type IconAssetType

type IconAssetType string

IconAssetType represents the icon type for build icons.

const (
	IconAssetTypeAppStore            IconAssetType = "APP_STORE"
	IconAssetTypeMessagesAppStore    IconAssetType = "MESSAGES_APP_STORE"
	IconAssetTypeWatchAppStore       IconAssetType = "WATCH_APP_STORE"
	IconAssetTypeTVOSHomeScreen      IconAssetType = "TV_OS_HOME_SCREEN"
	IconAssetTypeTVOSTopShelf        IconAssetType = "TV_OS_TOP_SHELF"
	IconAssetTypeAlternateExperiment IconAssetType = "ALTERNATE_EXPERIMENT"
)

type IdempotentWriteReceipt

type IdempotentWriteReceipt struct {
	AlreadyExists bool   `json:"alreadyExists,omitempty"`
	Action        string `json:"action,omitempty"`
}

IdempotentWriteReceipt carries the additive --if-exists fields on mutation receipts. Commands leave it empty in fail mode so the default and explicit fail paths preserve their historical output.

type ImageAsset

type ImageAsset struct {
	TemplateURL string `json:"templateUrl"`
	Width       int    `json:"width"`
	Height      int    `json:"height"`
}

ImageAsset describes an image asset.

type ImageDimensions

type ImageDimensions struct {
	Width  int
	Height int
}

ImageDimensions represents decoded image dimensions.

func ReadImageDimensions

func ReadImageDimensions(path string) (ImageDimensions, error)

ReadImageDimensions validates and decodes image dimensions from disk.

func ReadImageDimensionsAndFormat added in v1.260822.0

func ReadImageDimensionsAndFormat(path string) (ImageDimensions, string, error)

ReadImageDimensionsAndFormat decodes the dimensions together with the encoded image format, which is the only reliable description of what a file actually contains. Callers that report on a file rather than just sizing it need both from a single decode.

type InAppPurchaseAppStoreReviewScreenshotAttributes

type InAppPurchaseAppStoreReviewScreenshotAttributes struct {
	FileSize           int64               `json:"fileSize,omitempty"`
	FileName           string              `json:"fileName,omitempty"`
	SourceFileChecksum string              `json:"sourceFileChecksum,omitempty"`
	ImageAsset         *ImageAsset         `json:"imageAsset,omitempty"`
	AssetToken         string              `json:"assetToken,omitempty"`
	AssetType          string              `json:"assetType,omitempty"`
	UploadOperations   []UploadOperation   `json:"uploadOperations,omitempty"`
	AssetDeliveryState *AppMediaAssetState `json:"assetDeliveryState,omitempty"`
	// contains filtered or unexported fields
}

In-app purchase App Store review screenshots.

func (InAppPurchaseAppStoreReviewScreenshotAttributes) MarshalJSON

func (*InAppPurchaseAppStoreReviewScreenshotAttributes) UnmarshalJSON

type InAppPurchaseAppStoreReviewScreenshotCreateAttributes

type InAppPurchaseAppStoreReviewScreenshotCreateAttributes struct {
	FileSize int64  `json:"fileSize"`
	FileName string `json:"fileName"`
}

type InAppPurchaseAppStoreReviewScreenshotCreateData

type InAppPurchaseAppStoreReviewScreenshotCreateData struct {
	Type          ResourceType                                          `json:"type"`
	Attributes    InAppPurchaseAppStoreReviewScreenshotCreateAttributes `json:"attributes"`
	Relationships InAppPurchaseAppStoreReviewScreenshotRelationships    `json:"relationships"`
}

InAppPurchaseAppStoreReviewScreenshotCreateData is the data object of the InAppPurchaseAppStoreReviewScreenshotCreateRequest schema.

type InAppPurchaseAppStoreReviewScreenshotCreateRequest

type InAppPurchaseAppStoreReviewScreenshotCreateRequest struct {
	Data InAppPurchaseAppStoreReviewScreenshotCreateData `json:"data"`
}

InAppPurchaseAppStoreReviewScreenshotCreateRequest is the InAppPurchaseAppStoreReviewScreenshotCreateRequest schema.

type InAppPurchaseAppStoreReviewScreenshotRelationships

type InAppPurchaseAppStoreReviewScreenshotRelationships struct {
	InAppPurchaseV2 Relationship `json:"inAppPurchaseV2"`
}

InAppPurchaseAppStoreReviewScreenshotRelationships is the data.relationships object of the InAppPurchaseAppStoreReviewScreenshotCreateRequest schema.

type InAppPurchaseAppStoreReviewScreenshotResponse

type InAppPurchaseAppStoreReviewScreenshotResponse = SingleResponse[InAppPurchaseAppStoreReviewScreenshotAttributes]

InAppPurchaseAppStoreReviewScreenshotResponse is the InAppPurchaseAppStoreReviewScreenshotResponse schema.

type InAppPurchaseAppStoreReviewScreenshotUpdateAttributes

type InAppPurchaseAppStoreReviewScreenshotUpdateAttributes struct {
	SourceFileChecksum *string `json:"sourceFileChecksum,omitempty"`
	Uploaded           *bool   `json:"uploaded,omitempty"`
}

InAppPurchaseAppStoreReviewScreenshotUpdateAttributes is the data.attributes object of the InAppPurchaseAppStoreReviewScreenshotUpdateRequest schema.

type InAppPurchaseAppStoreReviewScreenshotUpdateData

type InAppPurchaseAppStoreReviewScreenshotUpdateData struct {
	Type       ResourceType                                           `json:"type"`
	ID         string                                                 `json:"id"`
	Attributes *InAppPurchaseAppStoreReviewScreenshotUpdateAttributes `json:"attributes,omitempty"`
}

InAppPurchaseAppStoreReviewScreenshotUpdateData is the data object of the InAppPurchaseAppStoreReviewScreenshotUpdateRequest schema.

type InAppPurchaseAppStoreReviewScreenshotUpdateRequest

type InAppPurchaseAppStoreReviewScreenshotUpdateRequest struct {
	Data InAppPurchaseAppStoreReviewScreenshotUpdateData `json:"data"`
}

InAppPurchaseAppStoreReviewScreenshotUpdateRequest is the InAppPurchaseAppStoreReviewScreenshotUpdateRequest schema.

type InAppPurchaseAttributes

type InAppPurchaseAttributes struct {
	ReferenceName     string `json:"referenceName"`
	ProductID         string `json:"productId"`
	InAppPurchaseType string `json:"inAppPurchaseType"`
	State             string `json:"state,omitempty"`
}

InAppPurchaseAttributes represents a legacy in-app purchase resource.

type InAppPurchaseAvailabilityAttributes

type InAppPurchaseAvailabilityAttributes struct {
	AvailableInNewTerritories bool `json:"availableInNewTerritories"`
}

In-app purchase availability.

type InAppPurchaseAvailabilityCreateAttributes

type InAppPurchaseAvailabilityCreateAttributes struct {
	AvailableInNewTerritories bool `json:"availableInNewTerritories"`
}

InAppPurchaseAvailabilityCreateAttributes is the data.attributes object of the InAppPurchaseAvailabilityCreateRequest schema.

type InAppPurchaseAvailabilityCreateData

type InAppPurchaseAvailabilityCreateData struct {
	Type          ResourceType                                 `json:"type"`
	Attributes    InAppPurchaseAvailabilityCreateAttributes    `json:"attributes"`
	Relationships InAppPurchaseAvailabilityCreateRelationships `json:"relationships"`
}

InAppPurchaseAvailabilityCreateData is the data object of the InAppPurchaseAvailabilityCreateRequest schema.

type InAppPurchaseAvailabilityCreateRelationships

type InAppPurchaseAvailabilityCreateRelationships struct {
	InAppPurchase        Relationship     `json:"inAppPurchase"`
	AvailableTerritories RelationshipList `json:"availableTerritories"`
}

InAppPurchaseAvailabilityCreateRelationships is the data.relationships object of the InAppPurchaseAvailabilityCreateRequest schema.

type InAppPurchaseAvailabilityCreateRequest

type InAppPurchaseAvailabilityCreateRequest struct {
	Data InAppPurchaseAvailabilityCreateData `json:"data"`
}

InAppPurchaseAvailabilityCreateRequest is the InAppPurchaseAvailabilityCreateRequest schema.

type InAppPurchaseAvailabilityResponse

type InAppPurchaseAvailabilityResponse = SingleResponse[InAppPurchaseAvailabilityAttributes]

InAppPurchaseAvailabilityResponse is the InAppPurchaseAvailabilityResponse schema.

type InAppPurchaseContentAttributes

type InAppPurchaseContentAttributes struct {
	FileName         string `json:"fileName,omitempty"`
	FileSize         int64  `json:"fileSize,omitempty"`
	URL              string `json:"url,omitempty"`
	LastModifiedDate string `json:"lastModifiedDate,omitempty"`
}

In-app purchase content.

type InAppPurchaseContentResponse

type InAppPurchaseContentResponse = SingleResponse[InAppPurchaseContentAttributes]

InAppPurchaseContentResponse is the InAppPurchaseContentResponse schema.

type InAppPurchaseImageV2Attributes added in v1.260722.0

type InAppPurchaseImageV2Attributes struct {
	FileSize           int64               `json:"fileSize,omitempty"`
	FileName           string              `json:"fileName,omitempty"`
	AssetToken         string              `json:"assetToken,omitempty"`
	ImageAsset         *ImageAsset         `json:"imageAsset,omitempty"`
	UploadOperations   []UploadOperation   `json:"uploadOperations,omitempty"`
	AssetDeliveryState *AppMediaAssetState `json:"assetDeliveryState,omitempty"`
}

type InAppPurchaseImageV2CreateAttributes added in v1.260722.0

type InAppPurchaseImageV2CreateAttributes struct {
	FileSize int64  `json:"fileSize"`
	FileName string `json:"fileName"`
}

type InAppPurchaseImageV2CreateData added in v1.260722.0

type InAppPurchaseImageV2CreateData struct {
	Type          ResourceType                            `json:"type"`
	Attributes    InAppPurchaseImageV2CreateAttributes    `json:"attributes"`
	Relationships InAppPurchaseImageV2CreateRelationships `json:"relationships"`
}

InAppPurchaseImageV2CreateData is the data object of the InAppPurchaseImageV2CreateRequest schema.

type InAppPurchaseImageV2CreateRelationships added in v1.260722.0

type InAppPurchaseImageV2CreateRelationships struct {
	Version Relationship `json:"version"`
}

InAppPurchaseImageV2CreateRelationships is the data.relationships object of the InAppPurchaseImageV2CreateRequest schema.

type InAppPurchaseImageV2CreateRequest added in v1.260722.0

type InAppPurchaseImageV2CreateRequest struct {
	Data InAppPurchaseImageV2CreateData `json:"data"`
}

InAppPurchaseImageV2CreateRequest is the InAppPurchaseImageV2CreateRequest schema.

type InAppPurchaseImageV2Response added in v1.260722.0

type InAppPurchaseImageV2Response = SingleResponse[InAppPurchaseImageV2Attributes]

type InAppPurchaseImageV2UpdateAttributes added in v1.260722.0

type InAppPurchaseImageV2UpdateAttributes struct {
	Uploaded *NullableBool `json:"uploaded,omitempty"`
}

type InAppPurchaseImageV2UpdateData added in v1.260722.0

type InAppPurchaseImageV2UpdateData struct {
	Type       ResourceType                          `json:"type"`
	ID         string                                `json:"id"`
	Attributes *InAppPurchaseImageV2UpdateAttributes `json:"attributes,omitempty"`
}

InAppPurchaseImageV2UpdateData is the data object of the InAppPurchaseImageV2UpdateRequest schema.

type InAppPurchaseImageV2UpdateRequest added in v1.260722.0

type InAppPurchaseImageV2UpdateRequest struct {
	Data InAppPurchaseImageV2UpdateData `json:"data"`
}

InAppPurchaseImageV2UpdateRequest is the InAppPurchaseImageV2UpdateRequest schema.

type InAppPurchaseImagesV2Response added in v1.260722.0

type InAppPurchaseImagesV2Response = Response[InAppPurchaseImageV2Attributes]

type InAppPurchaseImportProductResult

type InAppPurchaseImportProductResult struct {
	ProductID            string `json:"productId"`
	ReferenceName        string `json:"referenceName"`
	Type                 string `json:"type"`
	Status               string `json:"status"`
	InAppPurchaseID      string `json:"inAppPurchaseId,omitempty"`
	VersionID            string `json:"versionId,omitempty"`
	LocalizationsCreated int    `json:"localizationsCreated"`
	ReviewScreenshotID   string `json:"reviewScreenshotId,omitempty"`
	Error                string `json:"error,omitempty"`
}

InAppPurchaseImportProductResult reports the outcome of one product in an `asc iap import` run.

type InAppPurchaseImportResult

type InAppPurchaseImportResult struct {
	AppID                string                             `json:"appId"`
	File                 string                             `json:"file"`
	DryRun               bool                               `json:"dryRun"`
	SkipExisting         bool                               `json:"skipExisting"`
	Total                int                                `json:"total"`
	Created              int                                `json:"created"`
	Skipped              int                                `json:"skipped"`
	LocalizationsCreated int                                `json:"localizationsCreated"`
	ScreenshotsUploaded  int                                `json:"screenshotsUploaded"`
	CreatedProductIDs    []string                           `json:"createdProductIds"`
	Products             []InAppPurchaseImportProductResult `json:"products"`
	FailedProductID      string                             `json:"failedProductId,omitempty"`
	Error                string                             `json:"error,omitempty"`
}

InAppPurchaseImportResult is the receipt for `asc iap import`. Created and CreatedProductIDs count the in-app purchases that exist in App Store Connect after the run, including a product whose localizations or review screenshot failed afterwards, so an operator can reconcile without re-reading the input file. Per-product Status still reports whether that product finished.

type InAppPurchaseLocalizationAttributes

type InAppPurchaseLocalizationAttributes struct {
	Name        string `json:"name"`
	Locale      string `json:"locale"`
	Description string `json:"description,omitempty"`
	State       string `json:"state,omitempty"`
}

InAppPurchaseLocalizationAttributes describes an IAP localization.

type InAppPurchaseLocalizationCreateAttributes

type InAppPurchaseLocalizationCreateAttributes struct {
	Name        string `json:"name"`
	Locale      string `json:"locale"`
	Description string `json:"description,omitempty"`
}

In-app purchase localization requests/responses.

type InAppPurchaseLocalizationCreateData

type InAppPurchaseLocalizationCreateData struct {
	Type          ResourceType                                 `json:"type"`
	Attributes    InAppPurchaseLocalizationCreateAttributes    `json:"attributes"`
	Relationships InAppPurchaseLocalizationCreateRelationships `json:"relationships"`
}

InAppPurchaseLocalizationCreateData is the data object of the InAppPurchaseLocalizationCreateRequest schema.

type InAppPurchaseLocalizationCreateRelationships

type InAppPurchaseLocalizationCreateRelationships struct {
	InAppPurchaseV2 Relationship `json:"inAppPurchaseV2"`
}

InAppPurchaseLocalizationCreateRelationships is the data.relationships object of the InAppPurchaseLocalizationCreateRequest schema.

type InAppPurchaseLocalizationCreateRequest

type InAppPurchaseLocalizationCreateRequest struct {
	Data InAppPurchaseLocalizationCreateData `json:"data"`
}

InAppPurchaseLocalizationCreateRequest is the InAppPurchaseLocalizationCreateRequest schema.

type InAppPurchaseLocalizationResponse

type InAppPurchaseLocalizationResponse = SingleResponse[InAppPurchaseLocalizationAttributes]

InAppPurchaseLocalizationResponse is the InAppPurchaseLocalizationResponse schema.

type InAppPurchaseLocalizationUpdateAttributes

type InAppPurchaseLocalizationUpdateAttributes struct {
	Name        *NullableString `json:"name,omitempty"`
	Description *NullableString `json:"description,omitempty"`
}

type InAppPurchaseLocalizationV2CreateAttributes added in v1.260722.0

type InAppPurchaseLocalizationV2CreateAttributes struct {
	Name        string          `json:"name"`
	Locale      string          `json:"locale"`
	Description *NullableString `json:"description,omitempty"`
}

InAppPurchaseLocalizationV2CreateAttributes describes version-scoped localization create attributes.

type InAppPurchaseLocalizationV2CreateData added in v1.260722.0

type InAppPurchaseLocalizationV2CreateData struct {
	Type          ResourceType                                   `json:"type"`
	Attributes    InAppPurchaseLocalizationV2CreateAttributes    `json:"attributes"`
	Relationships InAppPurchaseLocalizationV2CreateRelationships `json:"relationships"`
}

InAppPurchaseLocalizationV2CreateData is the data object of the InAppPurchaseLocalizationV2CreateRequest schema.

type InAppPurchaseLocalizationV2CreateRelationships added in v1.260722.0

type InAppPurchaseLocalizationV2CreateRelationships struct {
	Version Relationship `json:"version"`
}

InAppPurchaseLocalizationV2CreateRelationships is the data.relationships object of the InAppPurchaseLocalizationV2CreateRequest schema.

type InAppPurchaseLocalizationV2CreateRequest added in v1.260722.0

type InAppPurchaseLocalizationV2CreateRequest struct {
	Data InAppPurchaseLocalizationV2CreateData `json:"data"`
}

InAppPurchaseLocalizationV2CreateRequest is the InAppPurchaseLocalizationV2CreateRequest schema.

type InAppPurchaseLocalizationV2UpdateData added in v1.260722.0

type InAppPurchaseLocalizationV2UpdateData struct {
	Type       ResourceType                               `json:"type"`
	ID         string                                     `json:"id"`
	Attributes *InAppPurchaseLocalizationUpdateAttributes `json:"attributes,omitempty"`
}

type InAppPurchaseLocalizationV2UpdateRequest added in v1.260722.0

type InAppPurchaseLocalizationV2UpdateRequest struct {
	Data InAppPurchaseLocalizationV2UpdateData `json:"data"`
}

InAppPurchaseLocalizationV2UpdateRequest is the InAppPurchaseLocalizationV2UpdateRequest schema.

type InAppPurchaseLocalizationsResponse

type InAppPurchaseLocalizationsResponse = Response[InAppPurchaseLocalizationAttributes]

InAppPurchaseLocalizationsResponse is the response from localization endpoints.

type InAppPurchaseOfferCodeAttributes

type InAppPurchaseOfferCodeAttributes struct {
	Name                  string   `json:"name,omitempty"`
	CustomerEligibilities []string `json:"customerEligibilities,omitempty"`
	ProductionCodeCount   int      `json:"productionCodeCount,omitempty"`
	SandboxCodeCount      int      `json:"sandboxCodeCount,omitempty"`
	Active                bool     `json:"active,omitempty"`
}

InAppPurchaseOfferCodeAttributes is the attributes object of the InAppPurchaseOfferCode schema.

type InAppPurchaseOfferCodeCreateAttributes

type InAppPurchaseOfferCodeCreateAttributes struct {
	Name                  string
	CustomerEligibilities []string
	Prices                []InAppPurchaseOfferCodePrice
}

type InAppPurchaseOfferCodeCreateData

type InAppPurchaseOfferCodeCreateData struct {
	Type          ResourceType                                  `json:"type"`
	Attributes    InAppPurchaseOfferCodeCreateRequestAttributes `json:"attributes"`
	Relationships InAppPurchaseOfferCodeCreateRelationships     `json:"relationships"`
}

type InAppPurchaseOfferCodeCreateRelationships

type InAppPurchaseOfferCodeCreateRelationships struct {
	InAppPurchase Relationship     `json:"inAppPurchase"`
	Prices        RelationshipList `json:"prices"`
}

InAppPurchaseOfferCodeCreateRelationships is the data.relationships object of the InAppPurchaseOfferCodeCreateRequest schema.

type InAppPurchaseOfferCodeCreateRequest

type InAppPurchaseOfferCodeCreateRequest struct {
	Data     InAppPurchaseOfferCodeCreateData              `json:"data"`
	Included []InAppPurchaseOfferPriceInlineCreateResource `json:"included,omitempty"`
}

type InAppPurchaseOfferCodeCreateRequestAttributes

type InAppPurchaseOfferCodeCreateRequestAttributes struct {
	Name                  string   `json:"name"`
	CustomerEligibilities []string `json:"customerEligibilities"`
}

type InAppPurchaseOfferCodeCustomCodeAttributes

type InAppPurchaseOfferCodeCustomCodeAttributes struct {
	CustomCode     string `json:"customCode,omitempty"`
	NumberOfCodes  int    `json:"numberOfCodes,omitempty"`
	CreatedDate    string `json:"createdDate,omitempty"`
	ExpirationDate string `json:"expirationDate,omitempty"`
	Active         bool   `json:"active,omitempty"`
}

InAppPurchaseOfferCodeCustomCodeAttributes is the attributes object of the InAppPurchaseOfferCodeCustomCode schema.

type InAppPurchaseOfferCodeCustomCodeCreateAttributes

type InAppPurchaseOfferCodeCustomCodeCreateAttributes struct {
	CustomCode     string  `json:"customCode"`
	NumberOfCodes  int     `json:"numberOfCodes"`
	ExpirationDate *string `json:"expirationDate,omitempty"`
}

InAppPurchaseOfferCodeCustomCodeCreateAttributes is the data.attributes object of the InAppPurchaseOfferCodeCustomCodeCreateRequest schema.

type InAppPurchaseOfferCodeCustomCodeCreateData

type InAppPurchaseOfferCodeCustomCodeCreateData struct {
	Type          ResourceType                                        `json:"type"`
	Attributes    InAppPurchaseOfferCodeCustomCodeCreateAttributes    `json:"attributes"`
	Relationships InAppPurchaseOfferCodeCustomCodeCreateRelationships `json:"relationships"`
}

InAppPurchaseOfferCodeCustomCodeCreateData is the data object of the InAppPurchaseOfferCodeCustomCodeCreateRequest schema.

type InAppPurchaseOfferCodeCustomCodeCreateRelationships

type InAppPurchaseOfferCodeCustomCodeCreateRelationships struct {
	OfferCode Relationship `json:"offerCode"`
}

InAppPurchaseOfferCodeCustomCodeCreateRelationships is the data.relationships object of the InAppPurchaseOfferCodeCustomCodeCreateRequest schema.

type InAppPurchaseOfferCodeCustomCodeCreateRequest

type InAppPurchaseOfferCodeCustomCodeCreateRequest struct {
	Data InAppPurchaseOfferCodeCustomCodeCreateData `json:"data"`
}

InAppPurchaseOfferCodeCustomCodeCreateRequest is the InAppPurchaseOfferCodeCustomCodeCreateRequest schema.

type InAppPurchaseOfferCodeCustomCodeResponse

type InAppPurchaseOfferCodeCustomCodeResponse = SingleResponse[InAppPurchaseOfferCodeCustomCodeAttributes]

type InAppPurchaseOfferCodeCustomCodeUpdateAttributes

type InAppPurchaseOfferCodeCustomCodeUpdateAttributes struct {
	Active *bool `json:"active,omitempty"`
}

InAppPurchaseOfferCodeCustomCodeUpdateAttributes is the data.attributes object of the InAppPurchaseOfferCodeCustomCodeUpdateRequest schema.

type InAppPurchaseOfferCodeCustomCodeUpdateData

type InAppPurchaseOfferCodeCustomCodeUpdateData struct {
	Type       ResourceType                                      `json:"type"`
	ID         string                                            `json:"id"`
	Attributes *InAppPurchaseOfferCodeCustomCodeUpdateAttributes `json:"attributes,omitempty"`
}

InAppPurchaseOfferCodeCustomCodeUpdateData is the data object of the InAppPurchaseOfferCodeCustomCodeUpdateRequest schema.

type InAppPurchaseOfferCodeCustomCodeUpdateRequest

type InAppPurchaseOfferCodeCustomCodeUpdateRequest struct {
	Data InAppPurchaseOfferCodeCustomCodeUpdateData `json:"data"`
}

InAppPurchaseOfferCodeCustomCodeUpdateRequest is the InAppPurchaseOfferCodeCustomCodeUpdateRequest schema.

type InAppPurchaseOfferCodeCustomCodesResponse

type InAppPurchaseOfferCodeCustomCodesResponse = Response[InAppPurchaseOfferCodeCustomCodeAttributes]

type InAppPurchaseOfferCodeOneTimeUseCodeAttributes

type InAppPurchaseOfferCodeOneTimeUseCodeAttributes struct {
	NumberOfCodes  int    `json:"numberOfCodes,omitempty"`
	CreatedDate    string `json:"createdDate,omitempty"`
	ExpirationDate string `json:"expirationDate,omitempty"`
	Active         bool   `json:"active,omitempty"`
	Environment    string `json:"environment,omitempty"`
}

InAppPurchaseOfferCodeOneTimeUseCodeAttributes is the attributes object of the InAppPurchaseOfferCodeOneTimeUseCode schema.

type InAppPurchaseOfferCodeOneTimeUseCodeCreateAttributes

type InAppPurchaseOfferCodeOneTimeUseCodeCreateAttributes struct {
	NumberOfCodes  int    `json:"numberOfCodes"`
	ExpirationDate string `json:"expirationDate"`
	Environment    string `json:"environment,omitempty"`
}

InAppPurchaseOfferCodeOneTimeUseCodeCreateAttributes describes attributes for generating one-time use codes.

type InAppPurchaseOfferCodeOneTimeUseCodeCreateData

type InAppPurchaseOfferCodeOneTimeUseCodeCreateData struct {
	Type          ResourceType                                            `json:"type"`
	Attributes    InAppPurchaseOfferCodeOneTimeUseCodeCreateAttributes    `json:"attributes"`
	Relationships InAppPurchaseOfferCodeOneTimeUseCodeCreateRelationships `json:"relationships"`
}

InAppPurchaseOfferCodeOneTimeUseCodeCreateData is the data object of the InAppPurchaseOfferCodeOneTimeUseCodeCreateRequest schema.

type InAppPurchaseOfferCodeOneTimeUseCodeCreateRelationships

type InAppPurchaseOfferCodeOneTimeUseCodeCreateRelationships struct {
	OfferCode Relationship `json:"offerCode"`
}

InAppPurchaseOfferCodeOneTimeUseCodeCreateRelationships is the data.relationships object of the InAppPurchaseOfferCodeOneTimeUseCodeCreateRequest schema.

type InAppPurchaseOfferCodeOneTimeUseCodeCreateRequest

type InAppPurchaseOfferCodeOneTimeUseCodeCreateRequest struct {
	Data InAppPurchaseOfferCodeOneTimeUseCodeCreateData `json:"data"`
}

InAppPurchaseOfferCodeOneTimeUseCodeCreateRequest is the InAppPurchaseOfferCodeOneTimeUseCodeCreateRequest schema.

type InAppPurchaseOfferCodeOneTimeUseCodeResponse

type InAppPurchaseOfferCodeOneTimeUseCodeResponse = SingleResponse[InAppPurchaseOfferCodeOneTimeUseCodeAttributes]

type InAppPurchaseOfferCodeOneTimeUseCodeUpdateAttributes

type InAppPurchaseOfferCodeOneTimeUseCodeUpdateAttributes struct {
	Active *bool `json:"active,omitempty"`
}

InAppPurchaseOfferCodeOneTimeUseCodeUpdateAttributes is the data.attributes object of the InAppPurchaseOfferCodeOneTimeUseCodeUpdateRequest schema.

type InAppPurchaseOfferCodeOneTimeUseCodeUpdateData

type InAppPurchaseOfferCodeOneTimeUseCodeUpdateData struct {
	Type       ResourceType                                          `json:"type"`
	ID         string                                                `json:"id"`
	Attributes *InAppPurchaseOfferCodeOneTimeUseCodeUpdateAttributes `json:"attributes,omitempty"`
}

InAppPurchaseOfferCodeOneTimeUseCodeUpdateData is the data object of the InAppPurchaseOfferCodeOneTimeUseCodeUpdateRequest schema.

type InAppPurchaseOfferCodeOneTimeUseCodeUpdateRequest

type InAppPurchaseOfferCodeOneTimeUseCodeUpdateRequest struct {
	Data InAppPurchaseOfferCodeOneTimeUseCodeUpdateData `json:"data"`
}

InAppPurchaseOfferCodeOneTimeUseCodeUpdateRequest is the InAppPurchaseOfferCodeOneTimeUseCodeUpdateRequest schema.

type InAppPurchaseOfferCodeOneTimeUseCodesResponse

type InAppPurchaseOfferCodeOneTimeUseCodesResponse = Response[InAppPurchaseOfferCodeOneTimeUseCodeAttributes]

type InAppPurchaseOfferCodePrice

type InAppPurchaseOfferCodePrice struct {
	TerritoryID  string
	PricePointID string
}

type InAppPurchaseOfferCodeResponse

type InAppPurchaseOfferCodeResponse = SingleResponse[InAppPurchaseOfferCodeAttributes]

type InAppPurchaseOfferCodeUpdateAttributes

type InAppPurchaseOfferCodeUpdateAttributes struct {
	Active *bool `json:"active,omitempty"`
}

InAppPurchaseOfferCodeUpdateAttributes is the data.attributes object of the InAppPurchaseOfferCodeUpdateRequest schema.

type InAppPurchaseOfferCodeUpdateData

type InAppPurchaseOfferCodeUpdateData struct {
	Type       ResourceType                            `json:"type"`
	ID         string                                  `json:"id"`
	Attributes *InAppPurchaseOfferCodeUpdateAttributes `json:"attributes,omitempty"`
}

InAppPurchaseOfferCodeUpdateData is the data object of the InAppPurchaseOfferCodeUpdateRequest schema.

type InAppPurchaseOfferCodeUpdateRequest

type InAppPurchaseOfferCodeUpdateRequest struct {
	Data InAppPurchaseOfferCodeUpdateData `json:"data"`
}

InAppPurchaseOfferCodeUpdateRequest is the InAppPurchaseOfferCodeUpdateRequest schema.

type InAppPurchaseOfferCodesResponse

type InAppPurchaseOfferCodesResponse = Response[InAppPurchaseOfferCodeAttributes]

type InAppPurchaseOfferPriceAttributes

type InAppPurchaseOfferPriceAttributes struct{}

type InAppPurchaseOfferPriceInlineCreateResource

type InAppPurchaseOfferPriceInlineCreateResource struct {
	Type          ResourceType                               `json:"type"`
	ID            string                                     `json:"id,omitempty"`
	Relationships InAppPurchaseOfferPriceInlineRelationships `json:"relationships"`
}

type InAppPurchaseOfferPriceInlineRelationships

type InAppPurchaseOfferPriceInlineRelationships struct {
	Territory  Relationship  `json:"territory"`
	PricePoint *Relationship `json:"pricePoint,omitempty"`
}

type InAppPurchaseOfferPricesResponse

type InAppPurchaseOfferPricesResponse = Response[InAppPurchaseOfferPriceAttributes]

type InAppPurchasePriceAttributes

type InAppPurchasePriceAttributes struct {
	StartDate string `json:"startDate,omitempty"`
	EndDate   string `json:"endDate,omitempty"`
	Manual    bool   `json:"manual,omitempty"`
}

type InAppPurchasePriceInlineAttributes

type InAppPurchasePriceInlineAttributes struct {
	StartDate string `json:"startDate,omitempty"`
	EndDate   string `json:"endDate,omitempty"`
}

type InAppPurchasePriceInlineCreateResource

type InAppPurchasePriceInlineCreateResource struct {
	Type          ResourceType                          `json:"type"`
	ID            string                                `json:"id,omitempty"`
	Attributes    InAppPurchasePriceInlineAttributes    `json:"attributes"`
	Relationships InAppPurchasePriceInlineRelationships `json:"relationships"`
}

type InAppPurchasePriceInlineRelationships

type InAppPurchasePriceInlineRelationships struct {
	InAppPurchaseV2         Relationship `json:"inAppPurchaseV2"`
	InAppPurchasePricePoint Relationship `json:"inAppPurchasePricePoint"`
}

type InAppPurchasePricePointAttributes

type InAppPurchasePricePointAttributes struct {
	CustomerPrice string `json:"customerPrice,omitempty"`
	Proceeds      string `json:"proceeds,omitempty"`
}

In-app purchase price points and schedules.

type InAppPurchasePricePointsResponse

type InAppPurchasePricePointsResponse = Response[InAppPurchasePricePointAttributes]

type InAppPurchasePriceScheduleAttributes

type InAppPurchasePriceScheduleAttributes struct{}

type InAppPurchasePriceScheduleCreateAttributes

type InAppPurchasePriceScheduleCreateAttributes struct {
	BaseTerritoryID string
	Prices          []InAppPurchasePriceSchedulePrice
}

type InAppPurchasePriceScheduleCreateData

type InAppPurchasePriceScheduleCreateData struct {
	Type          ResourceType                                  `json:"type"`
	Relationships InAppPurchasePriceScheduleCreateRelationships `json:"relationships"`
}

InAppPurchasePriceScheduleCreateData is the data object of the InAppPurchasePriceScheduleCreateRequest schema.

type InAppPurchasePriceScheduleCreateRelationships

type InAppPurchasePriceScheduleCreateRelationships struct {
	InAppPurchase Relationship     `json:"inAppPurchase"`
	BaseTerritory Relationship     `json:"baseTerritory"`
	ManualPrices  RelationshipList `json:"manualPrices"`
}

InAppPurchasePriceScheduleCreateRelationships is the data.relationships object of the InAppPurchasePriceScheduleCreateRequest schema.

type InAppPurchasePriceScheduleCreateRequest

type InAppPurchasePriceScheduleCreateRequest struct {
	Data     InAppPurchasePriceScheduleCreateData     `json:"data"`
	Included []InAppPurchasePriceInlineCreateResource `json:"included,omitempty"`
}

type InAppPurchasePriceSchedulePrice

type InAppPurchasePriceSchedulePrice struct {
	PricePointID string
	StartDate    string
	EndDate      string
}

type InAppPurchasePriceScheduleResponse

type InAppPurchasePriceScheduleResponse = SingleResponse[InAppPurchasePriceScheduleAttributes]

InAppPurchasePriceScheduleResponse is the InAppPurchasePriceScheduleResponse schema.

type InAppPurchasePricesResponse

type InAppPurchasePricesResponse = Response[InAppPurchasePriceAttributes]

type InAppPurchaseResponse

type InAppPurchaseResponse = SingleResponse[InAppPurchaseAttributes]

InAppPurchaseResponse is the InAppPurchaseResponse schema.

type InAppPurchaseType

type InAppPurchaseType string

InAppPurchaseType represents an App Store Connect in-app purchase type.

const (
	InAppPurchaseTypeConsumable              InAppPurchaseType = "CONSUMABLE"
	InAppPurchaseTypeNonConsumable           InAppPurchaseType = "NON_CONSUMABLE"
	InAppPurchaseTypeNonRenewingSubscription InAppPurchaseType = "NON_RENEWING_SUBSCRIPTION"
)

type InAppPurchaseV2Attributes

type InAppPurchaseV2Attributes struct {
	Name                      string `json:"name"`
	ProductID                 string `json:"productId"`
	InAppPurchaseType         string `json:"inAppPurchaseType"`
	State                     string `json:"state,omitempty"`
	ReviewNote                string `json:"reviewNote,omitempty"`
	FamilySharable            bool   `json:"familySharable,omitempty"`
	ContentHosting            bool   `json:"contentHosting,omitempty"`
	AvailableInAllTerritories bool   `json:"availableInAllTerritories,omitempty"`
	// contains filtered or unexported fields
}

InAppPurchaseV2Attributes represents an in-app purchase resource.

func (InAppPurchaseV2Attributes) MarshalJSON

func (a InAppPurchaseV2Attributes) MarshalJSON() ([]byte, error)

func (*InAppPurchaseV2Attributes) UnmarshalJSON

func (a *InAppPurchaseV2Attributes) UnmarshalJSON(data []byte) error

type InAppPurchaseV2CreateAttributes

type InAppPurchaseV2CreateAttributes struct {
	Name                      string `json:"name"`
	ProductID                 string `json:"productId"`
	InAppPurchaseType         string `json:"inAppPurchaseType"`
	ReviewNote                string `json:"reviewNote,omitempty"`
	FamilySharable            bool   `json:"familySharable,omitempty"`
	ContentHosting            bool   `json:"contentHosting,omitempty"`
	AvailableInAllTerritories bool   `json:"availableInAllTerritories,omitempty"`
}

InAppPurchaseV2CreateAttributes describes attributes for creating an IAP.

type InAppPurchaseV2CreateData

type InAppPurchaseV2CreateData struct {
	Type          ResourceType                    `json:"type"`
	Attributes    InAppPurchaseV2CreateAttributes `json:"attributes"`
	Relationships *InAppPurchaseV2Relationships   `json:"relationships,omitempty"`
}

InAppPurchaseV2CreateData is the data object of the InAppPurchaseV2CreateRequest schema.

type InAppPurchaseV2CreateRequest

type InAppPurchaseV2CreateRequest struct {
	Data InAppPurchaseV2CreateData `json:"data"`
}

InAppPurchaseV2CreateRequest is the InAppPurchaseV2CreateRequest schema.

type InAppPurchaseV2Relationships

type InAppPurchaseV2Relationships struct {
	App *Relationship `json:"app"`
}

InAppPurchaseV2Relationships is the data.relationships object of the InAppPurchaseV2CreateRequest schema.

type InAppPurchaseV2Response

type InAppPurchaseV2Response = SingleResponse[InAppPurchaseV2Attributes]

InAppPurchaseV2Response is the InAppPurchaseV2Response schema.

type InAppPurchaseV2UpdateAttributes

type InAppPurchaseV2UpdateAttributes struct {
	Name                      *string `json:"name,omitempty"`
	ReviewNote                *string `json:"reviewNote,omitempty"`
	FamilySharable            *bool   `json:"familySharable,omitempty"`
	ContentHosting            *bool   `json:"contentHosting,omitempty"`
	AvailableInAllTerritories *bool   `json:"availableInAllTerritories,omitempty"`
}

InAppPurchaseV2UpdateAttributes describes attributes for updating an IAP.

type InAppPurchaseV2UpdateData

type InAppPurchaseV2UpdateData struct {
	Type       ResourceType                     `json:"type"`
	ID         string                           `json:"id"`
	Attributes *InAppPurchaseV2UpdateAttributes `json:"attributes,omitempty"`
}

InAppPurchaseV2UpdateData is the data object of the InAppPurchaseV2UpdateRequest schema.

type InAppPurchaseV2UpdateRequest

type InAppPurchaseV2UpdateRequest struct {
	Data InAppPurchaseV2UpdateData `json:"data"`
}

InAppPurchaseV2UpdateRequest is the InAppPurchaseV2UpdateRequest schema.

type InAppPurchaseVersionAttributes added in v1.260722.0

type InAppPurchaseVersionAttributes struct {
	Version int    `json:"version,omitempty"`
	State   string `json:"state,omitempty"`
}

InAppPurchaseVersionAttributes is the attributes object of the InAppPurchaseVersion schema.

type InAppPurchaseVersionCreateData added in v1.260722.0

type InAppPurchaseVersionCreateData struct {
	Type          ResourceType                            `json:"type"`
	Relationships InAppPurchaseVersionCreateRelationships `json:"relationships"`
}

InAppPurchaseVersionCreateData is the data object of the InAppPurchaseVersionCreateRequest schema.

type InAppPurchaseVersionCreateRelationships added in v1.260722.0

type InAppPurchaseVersionCreateRelationships struct {
	InAppPurchase Relationship `json:"inAppPurchase"`
}

InAppPurchaseVersionCreateRelationships is the data.relationships object of the InAppPurchaseVersionCreateRequest schema.

type InAppPurchaseVersionCreateRequest added in v1.260722.0

type InAppPurchaseVersionCreateRequest struct {
	Data InAppPurchaseVersionCreateData `json:"data"`
}

InAppPurchaseVersionCreateRequest is the InAppPurchaseVersionCreateRequest schema.

type InAppPurchaseVersionImageLinkageResponse added in v1.260722.0

type InAppPurchaseVersionImageLinkageResponse struct {
	Data  ResourceData `json:"data"`
	Links Links        `json:"links"`
}

InAppPurchaseVersionImageLinkageResponse describes the version's to-one image linkage.

type InAppPurchaseVersionResponse added in v1.260722.0

type InAppPurchaseVersionResponse = SingleResponse[InAppPurchaseVersionAttributes]

type InAppPurchaseVersionsResponse added in v1.260722.0

type InAppPurchaseVersionsResponse = Response[InAppPurchaseVersionAttributes]

type InAppPurchasesResponse

type InAppPurchasesResponse = Response[InAppPurchaseAttributes]

InAppPurchasesResponse is the response from legacy in-app purchase list endpoints.

type InAppPurchasesV2Response

type InAppPurchasesV2Response = Response[InAppPurchaseV2Attributes]

InAppPurchasesV2Response is the response from in-app purchase list endpoints.

type IncludedFields

type IncludedFields map[string][]string

IncludedFields maps an included resource type to its fields[type] values.

func (IncludedFields) AddTo

func (f IncludedFields) AddTo(values url.Values)

AddTo sets one fields[type] parameter per included resource type.

type IntegerRange

type IntegerRange struct {
	Minimum *int `json:"minimum,omitempty"`
	Maximum *int `json:"maximum,omitempty"`
}

IntegerRange represents an inclusive integer range.

type ItemList added in v1.260819.0

type ItemList[T any] struct {
	Items      []T  `json:"items"`
	TotalCount int  `json:"totalCount"`
	HasMore    bool `json:"hasMore"`
}

ItemList is the envelope for computed collection results that do not come from a single ASC response (merged, filtered, or lookup-derived items). Adding fields here must remain additive and removals follow the stability ladder.

type KeywordDiscoverReport added in v1.260825.0

type KeywordDiscoverReport struct {
	SchemaVersion string                        `json:"schemaVersion"`
	GeneratedAt   string                        `json:"generatedAt,omitempty"`
	AppID         string                        `json:"appId"`
	Country       string                        `json:"country"`
	Genre         string                        `json:"genre,omitempty"`
	Limit         int                           `json:"limit"`
	Truncated     bool                          `json:"truncated"`
	Sources       []KeywordDiscoverSourceStatus `json:"sources"`
	Summary       KeywordDiscoverSummary        `json:"summary"`
	ScoreKeywords string                        `json:"scoreKeywords"`
	Keywords      []KeywordSuggestion           `json:"keywords"`
}

KeywordDiscoverReport is the stable output contract emitted by keyword discovery.

type KeywordDiscoverSourceStatus added in v1.260825.0

type KeywordDiscoverSourceStatus struct {
	Name   string `json:"name"`
	Status string `json:"status"`
	Count  int    `json:"count"`
	Scope  string `json:"scope,omitempty"`
	Error  string `json:"error,omitempty"`
}

KeywordDiscoverSourceStatus describes the availability of one discovery input.

type KeywordDiscoverSummary added in v1.260825.0

type KeywordDiscoverSummary struct {
	Suggestions   int `json:"suggestions"`
	Available     int `json:"available"`
	KeywordSource int `json:"keywordSource"`
	PhraseSource  int `json:"phraseSource"`
	Duplicates    int `json:"duplicates"`
	ScoreReady    int `json:"scoreReady"`
}

KeywordDiscoverSummary counts suggestion coverage.

type KeywordPopularity added in v1.260825.0

type KeywordPopularity struct {
	Country           string `json:"country,omitempty"`
	Genre             string `json:"genre,omitempty"`
	Week              string `json:"week,omitempty"`
	RankInGenre       *int   `json:"rankInGenre,omitempty"`
	PopularityInGenre *int   `json:"popularityInGenre,omitempty"`
	Popularity100     *int   `json:"popularity100,omitempty"`
	Popularity5       *int   `json:"popularity5,omitempty"`
}

KeywordPopularity is the official search-demand snapshot for one term.

type KeywordRankReport added in v1.260825.0

type KeywordRankReport struct {
	SchemaVersion string             `json:"schemaVersion"`
	GeneratedAt   string             `json:"generatedAt,omitempty"`
	AppID         string             `json:"appId"`
	Country       string             `json:"country"`
	Platform      string             `json:"platform"`
	Workers       int                `json:"workers"`
	Summary       KeywordRankSummary `json:"summary"`
	Rows          []KeywordRankRow   `json:"rows"`
}

KeywordRankReport is the stable JSON contract emitted by keyword rank evaluation.

type KeywordRankRow added in v1.260825.0

type KeywordRankRow struct {
	Keyword      string `json:"keyword"`
	Rank         *int   `json:"rank"`
	TotalResults *int   `json:"totalResults,omitempty"`
	Status       string `json:"status"`
	Error        string `json:"error,omitempty"`
}

KeywordRankRow is one keyword's position in the public App Store search result window. Rank is null whenever the app is absent from that window.

type KeywordRankSummary added in v1.260825.0

type KeywordRankSummary struct {
	Keywords    int `json:"keywords"`
	Ranked      int `json:"ranked"`
	Absent      int `json:"absent"`
	Unavailable int `json:"unavailable"`
}

KeywordRankSummary counts keyword outcomes by status.

type KeywordScoreReport added in v1.260825.0

type KeywordScoreReport struct {
	SchemaVersion string                     `json:"schemaVersion"`
	GeneratedAt   string                     `json:"generatedAt,omitempty"`
	AppID         string                     `json:"appId,omitempty"`
	Country       string                     `json:"country"`
	Genre         string                     `json:"genre,omitempty"`
	Workers       int                        `json:"workers"`
	Sources       []KeywordScoreSourceStatus `json:"sources"`
	Summary       KeywordScoreSummary        `json:"summary"`
	Rows          []KeywordScoreRow          `json:"rows"`
}

KeywordScoreReport is the stable output contract emitted by keyword scoring.

type KeywordScoreRow added in v1.260825.0

type KeywordScoreRow struct {
	Keyword            string                `json:"keyword"`
	Status             string                `json:"status"`
	Popularity         *KeywordPopularity    `json:"popularity"`
	DifficultyScore    *float64              `json:"difficultyScore"`
	MinDifficultyScore *float64              `json:"minDifficultyScore"`
	IsBrandKeyword     *bool                 `json:"isBrandKeyword"`
	AppCount           *int                  `json:"appCount"`
	KeywordMatch       string                `json:"keywordMatch,omitempty"`
	Rank               *int                  `json:"rank,omitempty"`
	Fallback           bool                  `json:"fallback,omitempty"`
	AverageAppScore    *float64              `json:"averageAppScore,omitempty"`
	MinimumAppScore    *float64              `json:"minimumAppScore,omitempty"`
	NormalizedAppCount *float64              `json:"normalizedAppCount,omitempty"`
	RawSignals         []KeywordScoreSignals `json:"rawSignals,omitempty"`
	Error              string                `json:"error,omitempty"`
}

KeywordScoreRow is one evaluated keyword. Computed fields are null whenever the source they depend on was unavailable, so an absent score is never reported as a zero score.

type KeywordScoreSignals added in v1.260825.0

type KeywordScoreSignals struct {
	AppID                     string  `json:"appId"`
	Name                      string  `json:"name"`
	Subtitle                  string  `json:"subtitle"`
	PublisherName             string  `json:"publisherName"`
	AverageUserRating         float64 `json:"averageUserRating"`
	UserRatingCount           int64   `json:"userRatingCount"`
	ReleaseDate               string  `json:"releaseDate"`
	CurrentVersionReleaseDate string  `json:"currentVersionReleaseDate"`
	DaysSinceFirstRelease     float64 `json:"daysSinceFirstRelease"`
	DaysSinceLastRelease      float64 `json:"daysSinceLastRelease"`
	NormalizedRatingCount     float64 `json:"normalizedRatingCount"`
	NormalizedAverageRating   float64 `json:"normalizedAverageRating"`
	NormalizedAge             float64 `json:"normalizedAge"`
	RatingsPerDay             float64 `json:"ratingsPerDay"`
	NormalizedRatingsPerDay   float64 `json:"normalizedRatingsPerDay"`
	KeywordMatch              string  `json:"keywordMatch"`
	KeywordMatchScore         float64 `json:"keywordMatchScore"`
	AppScore                  float64 `json:"appScore"`
}

KeywordScoreSignals is the named raw evidence behind one competitor's app score. Date fields remain present when unavailable so degraded inputs are explicit and the score can still be re-derived from the JSON response.

type KeywordScoreSourceStatus added in v1.260825.0

type KeywordScoreSourceStatus struct {
	Name   string `json:"name"`
	Status string `json:"status"`
	Count  int    `json:"count"`
	Error  string `json:"error,omitempty"`
}

KeywordScoreSourceStatus describes the availability of one score input.

type KeywordScoreSummary added in v1.260825.0

type KeywordScoreSummary struct {
	Keywords     int `json:"keywords"`
	Scored       int `json:"scored"`
	Unavailable  int `json:"unavailable"`
	WithRank     int `json:"withRank"`
	BrandMatches int `json:"brandMatches"`
}

KeywordScoreSummary counts keyword outcomes by status.

type KeywordSuggestion added in v1.260825.0

type KeywordSuggestion struct {
	Keyword    string `json:"keyword"`
	Source     string `json:"source"`
	Popularity *int   `json:"popularity,omitempty"`
}

KeywordSuggestion is one term returned by the official advertising suggestion endpoints, carrying the endpoint category it came from.

type LinkagesOption

type LinkagesOption func(*linkagesQuery)

LinkagesOption is a functional option for linkages endpoints.

type LinkagesResponse

type LinkagesResponse = types.LinkagesResponse

Generic resource types — aliases to types package.

type Links = types.Links

Core types — aliases to types package.

type LocalizationDownloadResult

type LocalizationDownloadResult struct {
	Type       string                   `json:"type"`
	VersionID  string                   `json:"versionId,omitempty"`
	AppID      string                   `json:"appId,omitempty"`
	AppInfoID  string                   `json:"appInfoId,omitempty"`
	OutputPath string                   `json:"outputPath"`
	Files      []LocalizationFileResult `json:"files"`
}

LocalizationDownloadResult represents CLI output for localization downloads.

type LocalizationFileResult

type LocalizationFileResult struct {
	Locale string `json:"locale"`
	Path   string `json:"path"`
}

LocalizationFileResult represents a localization file written or read.

type LocalizationImportLocaleResult

type LocalizationImportLocaleResult struct {
	Locale         string   `json:"locale"`
	Action         string   `json:"action"`
	Status         string   `json:"status"`
	Fields         []string `json:"fields,omitempty"`
	LocalizationID string   `json:"localizationId,omitempty"`
	Error          string   `json:"error,omitempty"`
}

LocalizationImportLocaleResult reports the plan and outcome for one locale of a version-scoped localization import. Action is create, update, or skip; Status is planned, succeeded, skipped, or failed.

type LocalizationImportResult

type LocalizationImportResult struct {
	Type      string                           `json:"type"`
	VersionID string                           `json:"versionId"`
	File      string                           `json:"file"`
	DryRun    bool                             `json:"dryRun"`
	Total     int                              `json:"total"`
	Planned   int                              `json:"planned"`
	Succeeded int                              `json:"succeeded"`
	Skipped   int                              `json:"skipped"`
	Failed    int                              `json:"failed"`
	Results   []LocalizationImportLocaleResult `json:"results"`
}

LocalizationImportResult is the receipt for the version-scoped `localizations import` commands. Total always equals the locales in the file: Planned + Skipped for a dry run, Succeeded + Failed + Skipped otherwise.

type LocalizationReadOption

type LocalizationReadOption func(*localizationRelatedQuery)

LocalizationReadOption sets query parameters on a single-localization read.

func WithLocalizationReadInclude

func WithLocalizationReadInclude(include []string) LocalizationReadOption

WithLocalizationReadInclude includes related resources.

func WithLocalizationReadPlacementsLimit

func WithLocalizationReadPlacementsLimit(limit int) LocalizationReadOption

WithLocalizationReadPlacementsLimit sets limit[placements].

type LocalizationUploadLocaleResult

type LocalizationUploadLocaleResult struct {
	Locale         string            `json:"locale"`
	Action         string            `json:"action"`
	Status         string            `json:"status"`
	LocalizationID string            `json:"localizationId,omitempty"`
	Error          string            `json:"error,omitempty"`
	DesiredValues  map[string]string `json:"desiredValues,omitempty"`
}

LocalizationUploadLocaleResult represents a per-locale upload result.

type LocalizationUploadResult

type LocalizationUploadResult struct {
	Type                 string                           `json:"type"`
	VersionID            string                           `json:"versionId,omitempty"`
	AppID                string                           `json:"appId,omitempty"`
	AppInfoID            string                           `json:"appInfoId,omitempty"`
	DryRun               bool                             `json:"dryRun"`
	InputPath            string                           `json:"inputPath,omitempty"`
	Total                int                              `json:"total"`
	Succeeded            int                              `json:"succeeded"`
	Failed               int                              `json:"failed"`
	FailureArtifactPath  string                           `json:"failureArtifactPath,omitempty"`
	FailureArtifactError string                           `json:"failureArtifactError,omitempty"`
	Results              []LocalizationUploadLocaleResult `json:"results"`
}

LocalizationUploadResult represents CLI output for localization uploads.

type MarketplaceSearchDetailAttributes

type MarketplaceSearchDetailAttributes struct {
	CatalogURL string `json:"catalogUrl,omitempty"`
}

MarketplaceSearchDetailAttributes is the attributes object of the MarketplaceSearchDetail schema.

type MarketplaceSearchDetailCreateAttributes

type MarketplaceSearchDetailCreateAttributes struct {
	CatalogURL string `json:"catalogUrl"`
}

MarketplaceSearchDetailCreateAttributes is the data.attributes object of the MarketplaceSearchDetailCreateRequest schema.

type MarketplaceSearchDetailCreateData

type MarketplaceSearchDetailCreateData struct {
	Type          ResourceType                                `json:"type"`
	Attributes    MarketplaceSearchDetailCreateAttributes     `json:"attributes"`
	Relationships *MarketplaceSearchDetailCreateRelationships `json:"relationships"`
}

MarketplaceSearchDetailCreateData is the data object of the MarketplaceSearchDetailCreateRequest schema.

type MarketplaceSearchDetailCreateRelationships

type MarketplaceSearchDetailCreateRelationships struct {
	App *Relationship `json:"app"`
}

MarketplaceSearchDetailCreateRelationships is the data.relationships object of the MarketplaceSearchDetailCreateRequest schema.

type MarketplaceSearchDetailCreateRequest

type MarketplaceSearchDetailCreateRequest struct {
	Data MarketplaceSearchDetailCreateData `json:"data"`
}

MarketplaceSearchDetailCreateRequest is the MarketplaceSearchDetailCreateRequest schema.

type MarketplaceSearchDetailResponse

type MarketplaceSearchDetailResponse = SingleResponse[MarketplaceSearchDetailAttributes]

MarketplaceSearchDetailResponse is the MarketplaceSearchDetailResponse schema.

type MarketplaceSearchDetailUpdateAttributes

type MarketplaceSearchDetailUpdateAttributes struct {
	CatalogURL *string `json:"catalogUrl,omitempty"`
}

MarketplaceSearchDetailUpdateAttributes is the data.attributes object of the MarketplaceSearchDetailUpdateRequest schema.

type MarketplaceSearchDetailUpdateData

type MarketplaceSearchDetailUpdateData struct {
	Type       ResourceType                             `json:"type"`
	ID         string                                   `json:"id"`
	Attributes *MarketplaceSearchDetailUpdateAttributes `json:"attributes,omitempty"`
}

MarketplaceSearchDetailUpdateData is the data object of the MarketplaceSearchDetailUpdateRequest schema.

type MarketplaceSearchDetailUpdateRequest

type MarketplaceSearchDetailUpdateRequest struct {
	Data MarketplaceSearchDetailUpdateData `json:"data"`
}

MarketplaceSearchDetailUpdateRequest is the MarketplaceSearchDetailUpdateRequest schema.

type MarketplaceSearchDetailsResponse

type MarketplaceSearchDetailsResponse = Response[MarketplaceSearchDetailAttributes]

MarketplaceSearchDetailsResponse is the response for marketplace search detail list formatting.

type MarketplaceWebhookAttributes

type MarketplaceWebhookAttributes struct {
	EndpointURL string `json:"endpointUrl,omitempty"`
}

MarketplaceWebhookAttributes is the attributes object of the MarketplaceWebhook schema.

type MarketplaceWebhookCreateAttributes

type MarketplaceWebhookCreateAttributes struct {
	EndpointURL string `json:"endpointUrl"`
	Secret      string `json:"secret"`
}

MarketplaceWebhookCreateAttributes is the data.attributes object of the MarketplaceWebhookCreateRequest schema.

type MarketplaceWebhookCreateData

type MarketplaceWebhookCreateData struct {
	Type       ResourceType                       `json:"type"`
	Attributes MarketplaceWebhookCreateAttributes `json:"attributes"`
}

MarketplaceWebhookCreateData is the data object of the MarketplaceWebhookCreateRequest schema.

type MarketplaceWebhookCreateRequest

type MarketplaceWebhookCreateRequest struct {
	Data MarketplaceWebhookCreateData `json:"data"`
}

MarketplaceWebhookCreateRequest is the MarketplaceWebhookCreateRequest schema.

type MarketplaceWebhookResponse

type MarketplaceWebhookResponse = SingleResponse[MarketplaceWebhookAttributes]

MarketplaceWebhookResponse is the MarketplaceWebhookResponse schema.

type MarketplaceWebhookUpdateAttributes

type MarketplaceWebhookUpdateAttributes struct {
	EndpointURL *string `json:"endpointUrl,omitempty"`
	Secret      *string `json:"secret,omitempty"`
}

MarketplaceWebhookUpdateAttributes is the data.attributes object of the MarketplaceWebhookUpdateRequest schema.

type MarketplaceWebhookUpdateData

type MarketplaceWebhookUpdateData struct {
	Type       ResourceType                        `json:"type"`
	ID         string                              `json:"id"`
	Attributes *MarketplaceWebhookUpdateAttributes `json:"attributes,omitempty"`
}

MarketplaceWebhookUpdateData is the data object of the MarketplaceWebhookUpdateRequest schema.

type MarketplaceWebhookUpdateRequest

type MarketplaceWebhookUpdateRequest struct {
	Data MarketplaceWebhookUpdateData `json:"data"`
}

MarketplaceWebhookUpdateRequest is the MarketplaceWebhookUpdateRequest schema.

type MarketplaceWebhooksOption

type MarketplaceWebhooksOption func(*marketplaceWebhooksQuery)

MarketplaceWebhooksOption sets the query of GET /v1/marketplaceWebhooks (marketplaceWebhooks_getCollection).

func WithMarketplaceWebhooksFields

func WithMarketplaceWebhooksFields(fields []string) MarketplaceWebhooksOption

WithMarketplaceWebhooksFields sets fields[marketplaceWebhooks].

type MarketplaceWebhooksResponse

type MarketplaceWebhooksResponse = Response[MarketplaceWebhookAttributes]

MarketplaceWebhooksResponse is the MarketplaceWebhooksResponse schema.

type MatrixCellError added in v1.260904.0

type MatrixCellError struct {
	Stage   string `json:"stage"`
	Code    string `json:"code"`
	Message string `json:"message"`
}

MatrixCellError is the sanitized, stable failure contract for one cell.

type MatrixCellResult added in v1.260904.0

type MatrixCellResult struct {
	ID           string                   `json:"id"`
	Device       string                   `json:"device"`
	Locale       string                   `json:"locale"`
	Appearance   string                   `json:"appearance"`
	Content      string                   `json:"contentVariant"`
	Status       string                   `json:"status"`
	Attempts     int                      `json:"attempts"`
	DurationMS   int64                    `json:"durationMs"`
	RawPaths     []string                 `json:"rawPaths,omitempty"`
	FramedPaths  []string                 `json:"framedPaths,omitempty"`
	Screenshots  []MatrixScreenshotResult `json:"screenshots,omitempty"`
	Steps        []MatrixStepResult       `json:"steps,omitempty"`
	FailureStage string                   `json:"failureStage,omitempty"`
	FailureCode  string                   `json:"failureCode,omitempty"`
	Error        *MatrixCellError         `json:"error,omitempty"`
}

MatrixCellResult is the privacy-safe output for one matrix cell.

type MatrixResult added in v1.260904.0

type MatrixResult struct {
	PlanPath      string              `json:"planPath"`
	BundleID      string              `json:"bundleId,omitempty"`
	RawDir        string              `json:"rawDir"`
	FramedDir     string              `json:"framedDir"`
	ReviewDir     string              `json:"reviewDir"`
	Status        string              `json:"status"`
	TotalCells    int                 `json:"totalCells"`
	Succeeded     int                 `json:"succeeded"`
	Failed        int                 `json:"failed"`
	Canceled      int                 `json:"canceled"`
	Retried       int                 `json:"retried"`
	CleanupFailed int                 `json:"cleanupFailed,omitempty"`
	Cells         []MatrixCellResult  `json:"cells"`
	Review        *MatrixReviewResult `json:"review,omitempty"`
}

MatrixResult is the stable output contract for a local screenshot matrix run. It deliberately contains logical device labels and artifact paths, but no simulator identifiers or launch arguments.

type MatrixReviewManifest added in v1.260904.0

type MatrixReviewManifest struct {
	GeneratedAt string `json:"generatedAt"`
	// HTMLSHA256 binds the manifest commit marker to the exact offline report
	// bytes so a torn or externally mixed publication is rejected.
	HTMLSHA256 string `json:"htmlSha256,omitempty"`
	PlanPath   string `json:"planPath"`
	BundleID   string `json:"bundleId"`
	RawDir     string `json:"rawDir"`
	FramedDir  string `json:"framedDir,omitempty"`
	OutputDir  string `json:"outputDir"`
	Status     string `json:"status"`
	TotalCells int    `json:"totalCells"`
	Succeeded  int    `json:"succeeded"`
	Failed     int    `json:"failed"`
	Canceled   int    `json:"canceled"`
	Retried    int    `json:"retried"`
	// CleanupFailed mirrors MatrixResult.CleanupFailed: the subset of Failed
	// whose cells completed capture but could not restore simulator state.
	CleanupFailed int                `json:"cleanupFailed,omitempty"`
	Cells         []MatrixCellResult `json:"cells"`
}

MatrixReviewManifest is the stable JSON artifact written beside the offline HTML review. Its field names intentionally match MatrixResult's output contract so consumers do not need a second naming convention.

type MatrixReviewResult added in v1.260904.0

type MatrixReviewResult struct {
	ManifestPath string `json:"manifestPath"`
	HTMLPath     string `json:"htmlPath"`
	Total        int    `json:"total"`
	Succeeded    int    `json:"succeeded"`
	Failed       int    `json:"failed"`
	Canceled     int    `json:"canceled"`
}

MatrixReviewResult identifies the generated offline report files.

type MatrixScreenshotResult added in v1.260904.0

type MatrixScreenshotResult struct {
	Name       string `json:"name"`
	Status     string `json:"status"`
	RawPath    string `json:"rawPath,omitempty"`
	FramedPath string `json:"framedPath,omitempty"`
	Width      int    `json:"width,omitempty"`
	Height     int    `json:"height,omitempty"`
}

MatrixScreenshotResult describes one screenshot step in a cell review.

type MatrixStepResult added in v1.260904.0

type MatrixStepResult struct {
	Index      int    `json:"index"`
	Action     string `json:"action"`
	Status     string `json:"status"`
	DurationMS int64  `json:"durationMs"`
	Error      string `json:"error,omitempty"`
}

MatrixStepResult describes one sanitized base-plan step in a cell review.

type MerchantIDAttributes

type MerchantIDAttributes struct {
	Name       string `json:"name"`
	Identifier string `json:"identifier"`
}

MerchantIDAttributes describes a merchant ID resource.

type MerchantIDCertificatesLinkagesResponse

type MerchantIDCertificatesLinkagesResponse = LinkagesResponse

MerchantIDCertificatesLinkagesResponse is the response from merchant ID certificate linkages endpoints.

type MerchantIDCertificatesOption

type MerchantIDCertificatesOption func(*merchantIDCertificatesQuery)

MerchantIDCertificatesOption is a functional option for GetMerchantIDCertificates.

func WithMerchantIDCertificatesFields

func WithMerchantIDCertificatesFields(fields []string) MerchantIDCertificatesOption

WithMerchantIDCertificatesFields sets fields[certificates] for certificate responses.

func WithMerchantIDCertificatesFilterCertificateTypes

func WithMerchantIDCertificatesFilterCertificateTypes(types string) MerchantIDCertificatesOption

WithMerchantIDCertificatesFilterCertificateTypes filters certificates by type (supports CSV).

func WithMerchantIDCertificatesFilterDisplayName

func WithMerchantIDCertificatesFilterDisplayName(displayName string) MerchantIDCertificatesOption

WithMerchantIDCertificatesFilterDisplayName filters certificates by display name (supports CSV).

func WithMerchantIDCertificatesFilterIDs

func WithMerchantIDCertificatesFilterIDs(ids string) MerchantIDCertificatesOption

WithMerchantIDCertificatesFilterIDs filters certificates by ID (supports CSV).

func WithMerchantIDCertificatesFilterSerialNumbers

func WithMerchantIDCertificatesFilterSerialNumbers(serialNumbers string) MerchantIDCertificatesOption

WithMerchantIDCertificatesFilterSerialNumbers filters certificates by serial number (supports CSV).

func WithMerchantIDCertificatesInclude

func WithMerchantIDCertificatesInclude(include []string) MerchantIDCertificatesOption

WithMerchantIDCertificatesInclude sets include for merchant ID certificates responses.

func WithMerchantIDCertificatesPassTypeFields

func WithMerchantIDCertificatesPassTypeFields(fields []string) MerchantIDCertificatesOption

WithMerchantIDCertificatesPassTypeFields sets fields[passTypeIds] for included pass type IDs.

func WithMerchantIDCertificatesSort

func WithMerchantIDCertificatesSort(sort string) MerchantIDCertificatesOption

WithMerchantIDCertificatesSort sets the sort order for merchant ID certificates.

type MerchantIDCreateAttributes

type MerchantIDCreateAttributes struct {
	Name       string `json:"name"`
	Identifier string `json:"identifier"`
}

MerchantIDCreateAttributes is the data.attributes object of the MerchantIdCreateRequest schema.

type MerchantIDCreateData

type MerchantIDCreateData struct {
	Type       ResourceType               `json:"type"`
	Attributes MerchantIDCreateAttributes `json:"attributes"`
}

MerchantIDCreateData is the data object of the MerchantIdCreateRequest schema.

type MerchantIDCreateRequest

type MerchantIDCreateRequest struct {
	Data MerchantIDCreateData `json:"data"`
}

MerchantIDCreateRequest is the MerchantIdCreateRequest schema.

type MerchantIDResponse

type MerchantIDResponse = SingleResponse[MerchantIDAttributes]

MerchantIDResponse is the MerchantIdResponse schema.

type MerchantIDUpdateAttributes

type MerchantIDUpdateAttributes struct {
	Name *string `json:"name"`
}

MerchantIDUpdateAttributes describes attributes for updating a merchant ID.

type MerchantIDUpdateData

type MerchantIDUpdateData struct {
	Type       ResourceType                `json:"type"`
	ID         string                      `json:"id"`
	Attributes *MerchantIDUpdateAttributes `json:"attributes,omitempty"`
}

MerchantIDUpdateData is the data object of the MerchantIdUpdateRequest schema.

type MerchantIDUpdateRequest

type MerchantIDUpdateRequest struct {
	Data MerchantIDUpdateData `json:"data"`
}

MerchantIDUpdateRequest is the MerchantIdUpdateRequest schema.

type MerchantIDsOption

type MerchantIDsOption func(*merchantIDsQuery)

MerchantIDsOption sets the query of GET /v1/merchantIds (merchantIds_getCollection) and GET /v1/merchantIds/{id} (merchantIds_getInstance).

func WithMerchantIDsCertificateFields

func WithMerchantIDsCertificateFields(fields []string) MerchantIDsOption

WithMerchantIDsCertificateFields sets fields[certificates].

func WithMerchantIDsCertificatesLimit

func WithMerchantIDsCertificatesLimit(limit int) MerchantIDsOption

WithMerchantIDsCertificatesLimit sets limit[certificates].

func WithMerchantIDsFields

func WithMerchantIDsFields(fields []string) MerchantIDsOption

WithMerchantIDsFields sets fields[merchantIds].

func WithMerchantIDsFilterIdentifier

func WithMerchantIDsFilterIdentifier(identifier string) MerchantIDsOption

WithMerchantIDsFilterIdentifier sets filter[identifier].

func WithMerchantIDsFilterName

func WithMerchantIDsFilterName(name string) MerchantIDsOption

WithMerchantIDsFilterName sets filter[name].

func WithMerchantIDsInclude

func WithMerchantIDsInclude(include []string) MerchantIDsOption

WithMerchantIDsInclude sets include.

func WithMerchantIDsSort

func WithMerchantIDsSort(sort string) MerchantIDsOption

WithMerchantIDsSort sets sort.

type MerchantIDsResponse

type MerchantIDsResponse = Response[MerchantIDAttributes]

MerchantIDsResponse is the MerchantIdsResponse schema.

type MetricDimensionData added in v1.260904.0

type MetricDimensionData struct {
	Type string `json:"type,omitempty"`
	ID   string `json:"id,omitempty"`
	// contains filtered or unexported fields
}

MetricDimensionData accepts both the string shape in Apple's schema and the resource identifier object returned by current metric responses.

func (MetricDimensionData) MarshalJSON added in v1.260904.0

func (d MetricDimensionData) MarshalJSON() ([]byte, error)

func (*MetricDimensionData) UnmarshalJSON added in v1.260904.0

func (d *MetricDimensionData) UnmarshalJSON(data []byte) error

type MissingBuildBetaAppReviewSubmissionError added in v1.260328.0

type MissingBuildBetaAppReviewSubmissionError struct {
	BuildID string
}

MissingBuildBetaAppReviewSubmissionError indicates that ASC returned a null beta review submission relationship for an otherwise valid build.

func (MissingBuildBetaAppReviewSubmissionError) Error added in v1.260328.0

func (MissingBuildBetaAppReviewSubmissionError) Unwrap added in v1.260328.0

type NominationAttributes

type NominationAttributes struct {
	Name                       string          `json:"name,omitempty"`
	Type                       NominationType  `json:"type,omitempty"`
	Description                string          `json:"description,omitempty"`
	CreatedDate                string          `json:"createdDate,omitempty"`
	LastModifiedDate           string          `json:"lastModifiedDate,omitempty"`
	SubmittedDate              string          `json:"submittedDate,omitempty"`
	State                      NominationState `json:"state,omitempty"`
	PublishStartDate           string          `json:"publishStartDate,omitempty"`
	PublishEndDate             string          `json:"publishEndDate,omitempty"`
	DeviceFamilies             []DeviceFamily  `json:"deviceFamilies,omitempty"`
	Locales                    []string        `json:"locales,omitempty"`
	SupplementalMaterialsURIs  []string        `json:"supplementalMaterialsUris,omitempty"`
	HasInAppEvents             bool            `json:"hasInAppEvents,omitempty"`
	LaunchInSelectMarketsFirst bool            `json:"launchInSelectMarketsFirst,omitempty"`
	Notes                      string          `json:"notes,omitempty"`
	PreOrderEnabled            bool            `json:"preOrderEnabled,omitempty"`
}

NominationAttributes describes a featuring nomination.

type NominationCreateAttributes

type NominationCreateAttributes struct {
	Name                       string         `json:"name"`
	Type                       NominationType `json:"type"`
	Description                string         `json:"description"`
	Submitted                  bool           `json:"submitted"`
	PublishStartDate           string         `json:"publishStartDate"`
	PublishEndDate             *string        `json:"publishEndDate,omitempty"`
	DeviceFamilies             []DeviceFamily `json:"deviceFamilies,omitempty"`
	Locales                    []string       `json:"locales,omitempty"`
	SupplementalMaterialsURIs  []string       `json:"supplementalMaterialsUris,omitempty"`
	HasInAppEvents             *bool          `json:"hasInAppEvents,omitempty"`
	LaunchInSelectMarketsFirst *bool          `json:"launchInSelectMarketsFirst,omitempty"`
	Notes                      *string        `json:"notes,omitempty"`
	PreOrderEnabled            *bool          `json:"preOrderEnabled,omitempty"`
}

NominationCreateAttributes describes attributes for creating a nomination.

type NominationCreateData

type NominationCreateData struct {
	Type          ResourceType               `json:"type"`
	Attributes    NominationCreateAttributes `json:"attributes"`
	Relationships NominationRelationships    `json:"relationships"`
}

NominationCreateData is the data object of the NominationCreateRequest schema.

type NominationCreateRequest

type NominationCreateRequest struct {
	Data NominationCreateData `json:"data"`
}

NominationCreateRequest is the NominationCreateRequest schema.

type NominationRelationships

type NominationRelationships struct {
	RelatedApps          *RelationshipList `json:"relatedApps,omitempty"`
	InAppEvents          *RelationshipList `json:"inAppEvents,omitempty"`
	SupportedTerritories *RelationshipList `json:"supportedTerritories,omitempty"`
}

NominationRelationships describes relationships for nominations.

type NominationResponse

type NominationResponse = SingleResponse[NominationAttributes]

NominationResponse is the NominationResponse schema.

type NominationState

type NominationState string

NominationState represents the state of a nomination.

const (
	NominationStateDraft     NominationState = "DRAFT"
	NominationStateSubmitted NominationState = "SUBMITTED"
	NominationStateArchived  NominationState = "ARCHIVED"
)

type NominationType

type NominationType string

NominationType represents a featuring nomination type.

const (
	NominationTypeAppLaunch       NominationType = "APP_LAUNCH"
	NominationTypeAppEnhancements NominationType = "APP_ENHANCEMENTS"
	NominationTypeNewContent      NominationType = "NEW_CONTENT"
)

type NominationUpdateAttributes

type NominationUpdateAttributes struct {
	Name                       *string         `json:"name,omitempty"`
	Type                       *NominationType `json:"type,omitempty"`
	Description                *string         `json:"description,omitempty"`
	Submitted                  *bool           `json:"submitted,omitempty"`
	Archived                   *bool           `json:"archived,omitempty"`
	PublishStartDate           *string         `json:"publishStartDate,omitempty"`
	PublishEndDate             *string         `json:"publishEndDate,omitempty"`
	DeviceFamilies             []DeviceFamily  `json:"deviceFamilies,omitempty"`
	Locales                    []string        `json:"locales,omitempty"`
	SupplementalMaterialsURIs  []string        `json:"supplementalMaterialsUris,omitempty"`
	HasInAppEvents             *bool           `json:"hasInAppEvents,omitempty"`
	LaunchInSelectMarketsFirst *bool           `json:"launchInSelectMarketsFirst,omitempty"`
	Notes                      *string         `json:"notes,omitempty"`
	PreOrderEnabled            *bool           `json:"preOrderEnabled,omitempty"`
}

NominationUpdateAttributes describes attributes for updating a nomination.

type NominationUpdateData

type NominationUpdateData struct {
	Type          ResourceType                `json:"type"`
	ID            string                      `json:"id"`
	Attributes    *NominationUpdateAttributes `json:"attributes,omitempty"`
	Relationships *NominationRelationships    `json:"relationships,omitempty"`
}

NominationUpdateData is the data object of the NominationUpdateRequest schema.

type NominationUpdateRequest

type NominationUpdateRequest struct {
	Data NominationUpdateData `json:"data"`
}

NominationUpdateRequest is the NominationUpdateRequest schema.

type NominationsOption

type NominationsOption func(*nominationsQuery)

NominationsOption is a functional option for nominations endpoints.

func WithNominationsFields

func WithNominationsFields(fields []string) NominationsOption

WithNominationsFields sets fields[nominations] for nominations responses.

func WithNominationsInAppEventsLimit

func WithNominationsInAppEventsLimit(limit int) NominationsOption

WithNominationsInAppEventsLimit sets limit[inAppEvents] for included in-app events.

func WithNominationsInclude

func WithNominationsInclude(include []string) NominationsOption

WithNominationsInclude sets include for nominations responses.

func WithNominationsRelatedApps

func WithNominationsRelatedApps(appIDs []string) NominationsOption

WithNominationsRelatedApps filters nominations by related app ID(s).

func WithNominationsRelatedAppsLimit

func WithNominationsRelatedAppsLimit(limit int) NominationsOption

WithNominationsRelatedAppsLimit sets limit[relatedApps] for included related apps.

func WithNominationsSort

func WithNominationsSort(sort string) NominationsOption

WithNominationsSort sets the sort order for nominations.

func WithNominationsStates

func WithNominationsStates(states []string) NominationsOption

WithNominationsStates filters nominations by state.

func WithNominationsSupportedTerritoriesLimit

func WithNominationsSupportedTerritoriesLimit(limit int) NominationsOption

WithNominationsSupportedTerritoriesLimit sets limit[supportedTerritories] for included territories.

func WithNominationsTypes

func WithNominationsTypes(types []string) NominationsOption

WithNominationsTypes filters nominations by type.

type NominationsResponse

type NominationsResponse = Response[NominationAttributes]

NominationsResponse is the NominationsResponse schema.

type NotarizationLogDownloadResult

type NotarizationLogDownloadResult struct {
	ID           string `json:"id"`
	OutputPath   string `json:"outputPath"`
	BytesWritten int64  `json:"bytesWritten"`
}

NotarizationLogDownloadResult is the receipt for a developer log saved to a file. It omits the log URL, which is presigned.

type NotarizationStapleResult added in v1.260907.0

type NotarizationStapleResult struct {
	FilePath  string `json:"filePath"`
	Operation string `json:"operation"`
	Stapled   bool   `json:"stapled"`
	Validated bool   `json:"validated"`
}

NotarizationStapleResult is the computed output for a successful local ticket stapling and validation operation.

type NotarizationValidateResult added in v1.260907.0

type NotarizationValidateResult struct {
	FilePath  string `json:"filePath"`
	Operation string `json:"operation"`
	Validated bool   `json:"validated"`
}

NotarizationValidateResult is the computed output for a successful local ticket validation operation.

type NotarySubmissionLogsAttributes

type NotarySubmissionLogsAttributes struct {
	DeveloperLogURL string `json:"developerLogUrl"`
}

NotarySubmissionLogsAttributes contains the developer log URL.

type NotarySubmissionLogsData

type NotarySubmissionLogsData struct {
	ID         string                         `json:"id"`
	Type       string                         `json:"type"`
	Attributes NotarySubmissionLogsAttributes `json:"attributes"`
}

NotarySubmissionLogsData is the data portion of a logs response.

type NotarySubmissionLogsResponse

type NotarySubmissionLogsResponse struct {
	Data NotarySubmissionLogsData `json:"data"`
}

NotarySubmissionLogsResponse is the response from the logs endpoint.

type NotarySubmissionRequest

type NotarySubmissionRequest struct {
	Sha256         string `json:"sha256"`
	SubmissionName string `json:"submissionName"`
}

NotarySubmissionRequest is the request body for submitting software for notarization.

type NotarySubmissionResponse

type NotarySubmissionResponse struct {
	Data NotarySubmissionResponseData `json:"data"`
}

NotarySubmissionResponse is the response from the submit endpoint.

type NotarySubmissionResponseAttributes

type NotarySubmissionResponseAttributes struct {
	AwsAccessKeyID     string `json:"awsAccessKeyId"`
	AwsSecretAccessKey string `json:"awsSecretAccessKey"`
	AwsSessionToken    string `json:"awsSessionToken"`
	Bucket             string `json:"bucket"`
	Object             string `json:"object"`
}

NotarySubmissionResponseAttributes contains S3 upload credentials returned by the submit endpoint.

type NotarySubmissionResponseData

type NotarySubmissionResponseData struct {
	Type       string                             `json:"type"`
	ID         string                             `json:"id"`
	Attributes NotarySubmissionResponseAttributes `json:"attributes"`
}

NotarySubmissionResponseData is the data portion of a submit response.

type NotarySubmissionStatus

type NotarySubmissionStatus string

NotarySubmissionStatus represents the status of a notarization submission.

const (
	NotaryStatusAccepted   NotarySubmissionStatus = "Accepted"
	NotaryStatusInProgress NotarySubmissionStatus = "In Progress"
	NotaryStatusInvalid    NotarySubmissionStatus = "Invalid"
	NotaryStatusRejected   NotarySubmissionStatus = "Rejected"
)

type NotarySubmissionStatusAttributes

type NotarySubmissionStatusAttributes struct {
	Status      NotarySubmissionStatus `json:"status"`
	Name        string                 `json:"name"`
	CreatedDate string                 `json:"createdDate"`
}

NotarySubmissionStatusAttributes describes a submission's current state.

type NotarySubmissionStatusData

type NotarySubmissionStatusData struct {
	ID         string                           `json:"id"`
	Type       string                           `json:"type"`
	Attributes NotarySubmissionStatusAttributes `json:"attributes"`
}

NotarySubmissionStatusData is the data portion of a status response.

type NotarySubmissionStatusResponse

type NotarySubmissionStatusResponse struct {
	Data NotarySubmissionStatusData `json:"data"`
}

NotarySubmissionStatusResponse is the response from the status endpoint.

type NotarySubmissionsListResponse

type NotarySubmissionsListResponse struct {
	Data []NotarySubmissionStatusData `json:"data"`
}

NotarySubmissionsListResponse is the response from the list submissions endpoint.

type NullableBool added in v1.260722.0

type NullableBool struct {
	Value *bool
}

NullableBool represents a boolean that may be explicitly null in JSON. Use a nil pointer to omit the field entirely.

func (NullableBool) MarshalJSON added in v1.260722.0

func (n NullableBool) MarshalJSON() ([]byte, error)

func (*NullableBool) UnmarshalJSON added in v1.260722.0

func (n *NullableBool) UnmarshalJSON(data []byte) error

type NullablePlatform added in v1.260722.0

type NullablePlatform struct {
	Value *Platform
}

NullablePlatform represents a platform that may be explicitly null in JSON. Use a nil pointer to omit the field entirely.

func (NullablePlatform) MarshalJSON added in v1.260722.0

func (n NullablePlatform) MarshalJSON() ([]byte, error)

func (*NullablePlatform) UnmarshalJSON added in v1.260722.0

func (n *NullablePlatform) UnmarshalJSON(data []byte) error

type NullableString

type NullableString struct {
	Value *string
}

NullableString represents a string that may be explicitly null in JSON. Use a nil pointer to omit the field entirely.

func (NullableString) MarshalJSON

func (n NullableString) MarshalJSON() ([]byte, error)

func (*NullableString) UnmarshalJSON

func (n *NullableString) UnmarshalJSON(data []byte) error

type NullableStringSlice

type NullableStringSlice struct {
	Value []string
}

NullableStringSlice represents a nullable string array for update requests.

func (NullableStringSlice) MarshalJSON

func (n NullableStringSlice) MarshalJSON() ([]byte, error)

MarshalJSON outputs a JSON array or null.

func (*NullableStringSlice) UnmarshalJSON

func (n *NullableStringSlice) UnmarshalJSON(data []byte) error

UnmarshalJSON parses a JSON array or null.

type OfferCodeValuesResult

type OfferCodeValuesResult struct {
	Codes []string `json:"codes"`
}

OfferCodeValuesResult represents parsed offer code values output.

type PageConsumer

type PageConsumer func(page PaginatedResponse) error

PageConsumer handles one pagination page.

type PaginateFunc

type PaginateFunc func(ctx context.Context, nextURL string) (PaginatedResponse, error)

PaginateFunc is a function that fetches a page of results

type PaginatedResponse

type PaginatedResponse = types.PaginatedResponse

Pagination interface — alias to types package.

func PaginateAll

func PaginateAll(ctx context.Context, firstPage PaginatedResponse, fetchNext PaginateFunc) (PaginatedResponse, error)

PaginateAll fetches all pages and aggregates results. It uses reflection to create an empty result container of the same type as firstPage, eliminating the need for a type switch per response type.

type PassTypeIDAttributes

type PassTypeIDAttributes struct {
	Name       string `json:"name"`
	Identifier string `json:"identifier"`
}

PassTypeIDAttributes describes a pass type ID resource.

type PassTypeIDCertificatesLinkagesResponse

type PassTypeIDCertificatesLinkagesResponse = LinkagesResponse

PassTypeIDCertificatesLinkagesResponse is the response from pass type ID certificates linkages endpoints.

type PassTypeIDCertificatesOption

type PassTypeIDCertificatesOption func(*passTypeIDCertificatesQuery)

PassTypeIDCertificatesOption is a functional option for GetPassTypeIDCertificates.

func WithPassTypeIDCertificatesFields

func WithPassTypeIDCertificatesFields(fields []string) PassTypeIDCertificatesOption

WithPassTypeIDCertificatesFields sets fields[certificates] for certificate responses.

func WithPassTypeIDCertificatesFilterCertificateTypes

func WithPassTypeIDCertificatesFilterCertificateTypes(types []string) PassTypeIDCertificatesOption

WithPassTypeIDCertificatesFilterCertificateTypes filters certificates by type(s).

func WithPassTypeIDCertificatesFilterDisplayNames

func WithPassTypeIDCertificatesFilterDisplayNames(names []string) PassTypeIDCertificatesOption

WithPassTypeIDCertificatesFilterDisplayNames filters certificates by display name(s).

func WithPassTypeIDCertificatesFilterIDs

func WithPassTypeIDCertificatesFilterIDs(ids []string) PassTypeIDCertificatesOption

WithPassTypeIDCertificatesFilterIDs filters certificates by ID(s).

func WithPassTypeIDCertificatesFilterSerialNumbers

func WithPassTypeIDCertificatesFilterSerialNumbers(serials []string) PassTypeIDCertificatesOption

WithPassTypeIDCertificatesFilterSerialNumbers filters certificates by serial number(s).

func WithPassTypeIDCertificatesSort

func WithPassTypeIDCertificatesSort(sort string) PassTypeIDCertificatesOption

WithPassTypeIDCertificatesSort sets the sort order for certificates.

type PassTypeIDCreateAttributes

type PassTypeIDCreateAttributes struct {
	Name       string `json:"name"`
	Identifier string `json:"identifier"`
}

PassTypeIDCreateAttributes is the data.attributes object of the PassTypeIdCreateRequest schema.

type PassTypeIDCreateData

type PassTypeIDCreateData struct {
	Type       ResourceType               `json:"type"`
	Attributes PassTypeIDCreateAttributes `json:"attributes"`
}

PassTypeIDCreateData is the data object of the PassTypeIdCreateRequest schema.

type PassTypeIDCreateRequest

type PassTypeIDCreateRequest struct {
	Data PassTypeIDCreateData `json:"data"`
}

PassTypeIDCreateRequest is the PassTypeIdCreateRequest schema.

type PassTypeIDOption

type PassTypeIDOption func(*passTypeIDQuery)

PassTypeIDOption sets the query of GET /v1/passTypeIds/{id} (passTypeIds_getInstance).

func WithPassTypeIDCertificateFields

func WithPassTypeIDCertificateFields(fields []string) PassTypeIDOption

WithPassTypeIDCertificateFields sets fields[certificates].

func WithPassTypeIDCertificatesIncludeLimit

func WithPassTypeIDCertificatesIncludeLimit(limit int) PassTypeIDOption

WithPassTypeIDCertificatesIncludeLimit sets limit[certificates].

func WithPassTypeIDFields

func WithPassTypeIDFields(fields []string) PassTypeIDOption

WithPassTypeIDFields sets fields[passTypeIds].

func WithPassTypeIDInclude

func WithPassTypeIDInclude(include []string) PassTypeIDOption

WithPassTypeIDInclude sets include.

type PassTypeIDResponse

type PassTypeIDResponse = SingleResponse[PassTypeIDAttributes]

PassTypeIDResponse is the PassTypeIdResponse schema.

type PassTypeIDUpdateAttributes

type PassTypeIDUpdateAttributes struct {
	Name *NullableString `json:"name,omitempty"`
}

PassTypeIDUpdateAttributes describes attributes for updating a pass type ID.

type PassTypeIDUpdateData

type PassTypeIDUpdateData struct {
	Type       ResourceType                `json:"type"`
	ID         string                      `json:"id"`
	Attributes *PassTypeIDUpdateAttributes `json:"attributes,omitempty"`
}

PassTypeIDUpdateData is the data object of the PassTypeIdUpdateRequest schema.

type PassTypeIDUpdateRequest

type PassTypeIDUpdateRequest struct {
	Data PassTypeIDUpdateData `json:"data"`
}

PassTypeIDUpdateRequest is the PassTypeIdUpdateRequest schema.

type PassTypeIDsOption

type PassTypeIDsOption func(*passTypeIDsQuery)

PassTypeIDsOption sets the query of GET /v1/passTypeIds (passTypeIds_getCollection).

func WithPassTypeIDsCertificateFields

func WithPassTypeIDsCertificateFields(fields []string) PassTypeIDsOption

WithPassTypeIDsCertificateFields sets fields[certificates].

func WithPassTypeIDsCertificatesLimit

func WithPassTypeIDsCertificatesLimit(limit int) PassTypeIDsOption

WithPassTypeIDsCertificatesLimit sets limit[certificates].

func WithPassTypeIDsFields

func WithPassTypeIDsFields(fields []string) PassTypeIDsOption

WithPassTypeIDsFields sets fields[passTypeIds].

func WithPassTypeIDsFilterIDs

func WithPassTypeIDsFilterIDs(ids []string) PassTypeIDsOption

WithPassTypeIDsFilterIDs sets filter[id].

func WithPassTypeIDsFilterIdentifier

func WithPassTypeIDsFilterIdentifier(identifier string) PassTypeIDsOption

WithPassTypeIDsFilterIdentifier sets filter[identifier].

func WithPassTypeIDsFilterName

func WithPassTypeIDsFilterName(name string) PassTypeIDsOption

WithPassTypeIDsFilterName sets filter[name].

func WithPassTypeIDsInclude

func WithPassTypeIDsInclude(include []string) PassTypeIDsOption

WithPassTypeIDsInclude sets include.

func WithPassTypeIDsSort

func WithPassTypeIDsSort(sort string) PassTypeIDsOption

WithPassTypeIDsSort sets sort.

type PassTypeIDsResponse

type PassTypeIDsResponse = Response[PassTypeIDAttributes]

PassTypeIDsResponse is the PassTypeIdsResponse schema.

type PerfPowerMetricType

type PerfPowerMetricType string

PerfPowerMetricType represents a performance/power metric category.

const (
	PerfPowerMetricTypeDisk        PerfPowerMetricType = "DISK"
	PerfPowerMetricTypeHang        PerfPowerMetricType = "HANG"
	PerfPowerMetricTypeBattery     PerfPowerMetricType = "BATTERY"
	PerfPowerMetricTypeLaunch      PerfPowerMetricType = "LAUNCH"
	PerfPowerMetricTypeMemory      PerfPowerMetricType = "MEMORY"
	PerfPowerMetricTypeAnimation   PerfPowerMetricType = "ANIMATION"
	PerfPowerMetricTypeTermination PerfPowerMetricType = "TERMINATION"
	PerfPowerMetricTypeStorage     PerfPowerMetricType = "STORAGE"
)

type PerfPowerMetricsOption

type PerfPowerMetricsOption func(*perfPowerMetricsQuery)

PerfPowerMetricsOption sets the query of GET /v1/apps/{id}/perfPowerMetrics (apps_perfPowerMetrics_getToManyRelated) and GET /v1/builds/{id}/perfPowerMetrics (builds_perfPowerMetrics_getToManyRelated).

func WithPerfPowerMetricsDeviceTypes

func WithPerfPowerMetricsDeviceTypes(types []string) PerfPowerMetricsOption

WithPerfPowerMetricsDeviceTypes sets filter[deviceType].

func WithPerfPowerMetricsMetricTypes

func WithPerfPowerMetricsMetricTypes(types []string) PerfPowerMetricsOption

WithPerfPowerMetricsMetricTypes sets filter[metricType].

func WithPerfPowerMetricsPlatforms

func WithPerfPowerMetricsPlatforms(platforms []string) PerfPowerMetricsOption

WithPerfPowerMetricsPlatforms sets filter[platform].

type PerfPowerMetricsResponse

type PerfPowerMetricsResponse struct {
	Data json.RawMessage `json:"-"`
}

PerfPowerMetricsResponse wraps raw Xcode metrics JSON.

func (PerfPowerMetricsResponse) MarshalJSON

func (r PerfPowerMetricsResponse) MarshalJSON() ([]byte, error)

MarshalJSON preserves raw API JSON for metrics responses.

type PerformanceDownloadResult

type PerformanceDownloadResult struct {
	DownloadType          string `json:"downloadType"`
	AppID                 string `json:"appId,omitempty"`
	BuildID               string `json:"buildId,omitempty"`
	DiagnosticSignatureID string `json:"diagnosticSignatureId,omitempty"`
	FilePath              string `json:"filePath"`
	FileSize              int64  `json:"fileSize"`
	Decompressed          bool   `json:"decompressed"`
	DecompressedPath      string `json:"decompressedPath,omitempty"`
	DecompressedSize      int64  `json:"decompressedSize,omitempty"`
}

PerformanceDownloadResult represents CLI output for performance downloads.

type PerformanceOverviewResponse

type PerformanceOverviewResponse struct {
	Data json.RawMessage `json:"-"`
}

PerformanceOverviewResponse preserves Apple's raw Xcode overview JSON.

func (PerformanceOverviewResponse) MarshalJSON

func (r PerformanceOverviewResponse) MarshalJSON() ([]byte, error)

MarshalJSON returns the original overview payload without an extra envelope.

type PhasedReleaseGuardCheck

type PhasedReleaseGuardCheck struct {
	CurrentDayNumber int    `json:"currentDayNumber"`
	ExitCode         int    `json:"exitCode"`
	TimedOut         bool   `json:"timedOut,omitempty"`
	Action           string `json:"action"`
}

PhasedReleaseGuardCheck records one health check run by the phased-release guard.

type PhasedReleaseGuardResult

type PhasedReleaseGuardResult struct {
	VersionID          string                    `json:"versionId"`
	PhasedReleaseID    string                    `json:"phasedReleaseId"`
	DryRun             bool                      `json:"dryRun"`
	Outcome            string                    `json:"outcome"`
	PhasedReleaseState PhasedReleaseState        `json:"phasedReleaseState"`
	CurrentDayNumber   int                       `json:"currentDayNumber"`
	Checks             []PhasedReleaseGuardCheck `json:"checks"`
}

PhasedReleaseGuardResult is the receipt for asc versions phased-release guard.

type PhasedReleaseState

type PhasedReleaseState string

PhasedReleaseState represents the state of a phased release.

const (
	PhasedReleaseStateInactive PhasedReleaseState = "INACTIVE"
	PhasedReleaseStateActive   PhasedReleaseState = "ACTIVE"
	PhasedReleaseStatePaused   PhasedReleaseState = "PAUSED"
	PhasedReleaseStateComplete PhasedReleaseState = "COMPLETE"
)

type Platform

type Platform = types.Platform

Core types — aliases to types package.

type PollOptions added in v1.260822.0

type PollOptions struct {
	// Tolerate reports whether a check error is transient and should not end
	// the poll loop. A nil predicate tolerates nothing, which makes
	// PollUntilTolerant behave exactly like PollUntil.
	Tolerate func(context.Context, error) bool

	// MaxConsecutiveFailures caps how many consecutive tolerated failures may
	// occur before the poll fails. Values <= 0 use
	// DefaultMaxConsecutivePollFailures. A successful check resets the streak.
	MaxConsecutiveFailures int

	// OnToleratedFailure observes every tolerated failure with the 1-based
	// position in the current streak and the configured ceiling. A nil handler
	// reports tolerated failures on Stderr.
	OnToleratedFailure func(err error, failures, max int)

	// Stderr is where the default handler reports a tolerated failure. Nil
	// means the process stderr.
	Stderr io.Writer

	// NextInterval, when set, returns the wait before the next check given how
	// many checks have run so far (1-based). It replaces the fixed interval so a
	// long wait can slow down instead of polling at one rate throughout.
	NextInterval func(checks int) time.Duration
}

PollOptions configures transient-failure tolerance for PollUntilTolerant.

type PreReleaseVersion

type PreReleaseVersion = Resource[PrereleaseVersionAttributes]

PreReleaseVersion represents a pre-release version resource.

type PreReleaseVersionAppLinkageResponse

type PreReleaseVersionAppLinkageResponse struct {
	Data  ResourceData `json:"data"`
	Links Links        `json:"links"`
}

PreReleaseVersionAppLinkageResponse is the response for pre-release version app relationships.

type PreReleaseVersionBuildsOption

type PreReleaseVersionBuildsOption func(*listQuery)

PreReleaseVersionBuildsOption is a functional option for GetPreReleaseVersionBuilds.

type PreReleaseVersionResponse

type PreReleaseVersionResponse = SingleResponse[PrereleaseVersionAttributes]

PreReleaseVersionResponse is the response from pre-release version detail.

type PreReleaseVersionsOption

type PreReleaseVersionsOption func(*preReleaseVersionsQuery)

PreReleaseVersionsOption sets the query of GET /v1/preReleaseVersions (preReleaseVersions_getCollection).

func WithPreReleaseVersionsAppID

func WithPreReleaseVersionsAppID(appID string) PreReleaseVersionsOption

WithPreReleaseVersionsAppID sets filter[app].

func WithPreReleaseVersionsPlatform

func WithPreReleaseVersionsPlatform(platform string) PreReleaseVersionsOption

WithPreReleaseVersionsPlatform sets filter[platform].

func WithPreReleaseVersionsVersion

func WithPreReleaseVersionsVersion(version string) PreReleaseVersionsOption

WithPreReleaseVersionsVersion sets filter[version].

type PreReleaseVersionsResponse

type PreReleaseVersionsResponse = Response[PrereleaseVersionAttributes]

PreReleaseVersionsResponse is the PreReleaseVersionsResponse schema.

type PrereleaseVersionAttributes

type PrereleaseVersionAttributes struct {
	Version  string   `json:"version,omitempty"`
	Platform Platform `json:"platform,omitempty"`
}

PrereleaseVersionAttributes is the attributes object of the PrereleaseVersion schema.

type PreviewFrameImage

type PreviewFrameImage struct {
	Image *ImageAsset                     `json:"image,omitempty"`
	State *AppMediaPreviewFrameImageState `json:"state,omitempty"`
}

PreviewFrameImage represents a preview frame image.

type PricePointsOption

type PricePointsOption func(*pricePointsQuery)

PricePointsOption is a functional option for GetAppPricePoints.

func WithPricePointsInclude

func WithPricePointsInclude(include []string) PricePointsOption

WithPricePointsInclude sets app price point relationships to include.

func WithPricePointsTerritory

func WithPricePointsTerritory(territory string) PricePointsOption

WithPricePointsTerritory filters app price points by territory.

type PriceSchedulePPPResult

type PriceSchedulePPPResult struct {
	AppID            string                                `json:"appId,omitempty"`
	IAPID            string                                `json:"iapId,omitempty"`
	BaseTerritory    string                                `json:"baseTerritory"`
	BasePrice        string                                `json:"basePrice"`
	BasePricePointID string                                `json:"basePricePointId"`
	Index            SubscriptionPricingPPPIndex           `json:"index"`
	Rounding         string                                `json:"rounding"`
	StartDate        string                                `json:"startDate,omitempty"`
	DryRun           bool                                  `json:"dryRun"`
	Summary          SubscriptionPricingDeriveSummary      `json:"summary"`
	Rows             []SubscriptionPricingDeriveRow        `json:"rows"`
	Verification     SubscriptionPricingDeriveVerification `json:"verification"`
}

PriceSchedulePPPResult is the stable computed output contract for pricing ppp (app) and iap pricing ppp. Rows use the subscription PPP row shape: sourcePrice is Apple's equalized price for the base price, and requestedMultiple is the territory's price level relative to the base territory. Skipped rows keep their current price in the new schedule.

type ProfileAttributes

type ProfileAttributes struct {
	Name           string       `json:"name,omitempty"`
	Platform       Platform     `json:"platform,omitempty"`
	ProfileType    string       `json:"profileType,omitempty"`
	ProfileState   ProfileState `json:"profileState,omitempty"`
	ProfileContent string       `json:"profileContent,omitempty"`
	UUID           string       `json:"uuid,omitempty"`
	CreatedDate    string       `json:"createdDate,omitempty"`
	ExpirationDate string       `json:"expirationDate,omitempty"`
	// contains filtered or unexported fields
}

ProfileAttributes describes a profile resource.

func (ProfileAttributes) MarshalJSON added in v1.260828.0

func (a ProfileAttributes) MarshalJSON() ([]byte, error)

MarshalJSON preserves explicitly returned empty and null profile attributes while retaining the value-shaped ProfileAttributes API.

func (*ProfileAttributes) UnmarshalJSON added in v1.260828.0

func (a *ProfileAttributes) UnmarshalJSON(data []byte) error

UnmarshalJSON records that the profile attributes member was present while retaining the existing value-shaped ProfileAttributes API.

type ProfileBundleIDLinkageResponse

type ProfileBundleIDLinkageResponse struct {
	Data  ResourceData `json:"data"`
	Links Links        `json:"links"`
}

ProfileBundleIDLinkageResponse is the response from profile bundle ID linkage endpoint.

type ProfileCertificatesLinkagesResponse

type ProfileCertificatesLinkagesResponse = LinkagesResponse

ProfileCertificatesLinkagesResponse is the response from profile certificates linkage endpoint.

type ProfileCertificatesOption

type ProfileCertificatesOption func(*profileCertificatesQuery)

ProfileCertificatesOption sets the query of GET /v1/profiles/{id}/certificates (profiles_certificates_getToManyRelated).

type ProfileCreateAttributes

type ProfileCreateAttributes struct {
	Name        string   `json:"name"`
	Platform    Platform `json:"platform,omitempty"`
	ProfileType string   `json:"profileType"`
}

ProfileCreateAttributes describes attributes for creating a profile.

type ProfileCreateData

type ProfileCreateData struct {
	Type          ResourceType                `json:"type"`
	Attributes    ProfileCreateAttributes     `json:"attributes"`
	Relationships *ProfileCreateRelationships `json:"relationships"`
}

ProfileCreateData is the data object of the ProfileCreateRequest schema.

type ProfileCreateRelationships

type ProfileCreateRelationships struct {
	BundleID     *Relationship     `json:"bundleId"`
	Certificates *RelationshipList `json:"certificates"`
	Devices      *RelationshipList `json:"devices,omitempty"`
}

ProfileCreateRelationships describes relationships for profile creation.

type ProfileCreateRequest

type ProfileCreateRequest struct {
	Data ProfileCreateData `json:"data"`
}

ProfileCreateRequest is the ProfileCreateRequest schema.

type ProfileDevicesLinkagesResponse

type ProfileDevicesLinkagesResponse = LinkagesResponse

ProfileDevicesLinkagesResponse is the response from profile devices linkage endpoint.

type ProfileDevicesOption

type ProfileDevicesOption func(*profileDevicesQuery)

ProfileDevicesOption sets the query of GET /v1/profiles/{id}/devices (profiles_devices_getToManyRelated).

type ProfileDownloadAllItemResult

type ProfileDownloadAllItemResult struct {
	ID          string `json:"id"`
	Name        string `json:"name,omitempty"`
	UUID        string `json:"uuid"`
	ProfileType string `json:"profileType,omitempty"`
	OutputPath  string `json:"outputPath"`
}

ProfileDownloadAllItemResult describes one profile written by a bulk download.

type ProfileDownloadResult

type ProfileDownloadResult struct {
	ID         string `json:"id"`
	Name       string `json:"name,omitempty"`
	OutputPath string `json:"outputPath"`
}

ProfileDownloadResult represents CLI output for profile downloads.

type ProfileResponse

type ProfileResponse = SingleResponse[ProfileAttributes]

ProfileResponse is the ProfileResponse schema.

type ProfileState

type ProfileState string

ProfileState represents profile state values.

const (
	ProfileStateActive  ProfileState = "ACTIVE"
	ProfileStateInvalid ProfileState = "INVALID"
)

type ProfilesDownloadAllResult

type ProfilesDownloadAllResult struct {
	OutputDir string                         `json:"outputDir"`
	Profiles  []ProfileDownloadAllItemResult `json:"profiles"`
}

ProfilesDownloadAllResult represents CLI output for bulk profile downloads.

type ProfilesOption

type ProfilesOption func(*profilesQuery)

ProfilesOption is a functional option for GetProfiles.

func WithProfilesBundleIDFields added in v1.260828.0

func WithProfilesBundleIDFields(fields []string) ProfilesOption

WithProfilesBundleIDFields sets fields[bundleIds] for included bundle IDs.

func WithProfilesCertificateFields added in v1.260828.0

func WithProfilesCertificateFields(fields []string) ProfilesOption

WithProfilesCertificateFields sets fields[certificates] for included certificates.

func WithProfilesCertificatesLimit added in v1.260828.0

func WithProfilesCertificatesLimit(limit int) ProfilesOption

WithProfilesCertificatesLimit sets limit[certificates] for included certificates.

func WithProfilesDeviceFields added in v1.260828.0

func WithProfilesDeviceFields(fields []string) ProfilesOption

WithProfilesDeviceFields sets fields[devices] for included devices.

func WithProfilesDevicesLimit added in v1.260828.0

func WithProfilesDevicesLimit(limit int) ProfilesOption

WithProfilesDevicesLimit sets limit[devices] for included devices.

func WithProfilesFields added in v1.260828.0

func WithProfilesFields(fields []string) ProfilesOption

WithProfilesFields sets fields[profiles] for profile responses.

func WithProfilesFilterIDs added in v1.260828.0

func WithProfilesFilterIDs(ids []string) ProfilesOption

WithProfilesFilterIDs filters profiles by ID(s).

func WithProfilesFilterName added in v1.260828.0

func WithProfilesFilterName(name string) ProfilesOption

WithProfilesFilterName filters profiles by name (supports CSV).

func WithProfilesFilterType

func WithProfilesFilterType(profileType string) ProfilesOption

WithProfilesFilterType filters profiles by profile type (supports CSV).

func WithProfilesInclude

func WithProfilesInclude(include []string) ProfilesOption

WithProfilesInclude sets include for profile responses.

func WithProfilesSort added in v1.260828.0

func WithProfilesSort(sort string) ProfilesOption

WithProfilesSort sets the sort order for profiles.

func WithProfilesStates added in v1.260610.0

func WithProfilesStates(states []string) ProfilesOption

WithProfilesStates filters profiles by profile state.

func WithProfilesTypes

func WithProfilesTypes(types []string) ProfilesOption

WithProfilesTypes filters profiles by profile type.

type ProfilesResponse

type ProfilesResponse Response[ProfileAttributes]

ProfilesResponse is the response from profiles list endpoint.

func (*ProfilesResponse) GetData added in v1.260828.0

func (r *ProfilesResponse) GetData() any

GetData returns the data field for aggregation.

func (r *ProfilesResponse) GetLinks() *Links

GetLinks returns the links field for pagination.

func (*ProfilesResponse) GetMeta added in v1.260828.0

func (r *ProfilesResponse) GetMeta() json.RawMessage

GetMeta returns the raw metadata field.

func (ProfilesResponse) MarshalJSON added in v1.260828.0

func (r ProfilesResponse) MarshalJSON() ([]byte, error)

MarshalJSON omits attributes when Apple omitted them from a relationship-only sparse profile resource, while preserving the existing response envelope.

type PromotedPurchaseAttributes

type PromotedPurchaseAttributes struct {
	VisibleForAllUsers *bool  `json:"visibleForAllUsers,omitempty"`
	Enabled            *bool  `json:"enabled,omitempty"`
	State              string `json:"state,omitempty"`
}

PromotedPurchaseAttributes describes a promoted purchase resource.

type PromotedPurchaseCreateAttributes

type PromotedPurchaseCreateAttributes struct {
	VisibleForAllUsers bool  `json:"visibleForAllUsers"`
	Enabled            *bool `json:"enabled,omitempty"`
}

PromotedPurchaseCreateAttributes is the data.attributes object of the PromotedPurchaseCreateRequest schema.

type PromotedPurchaseCreateData

type PromotedPurchaseCreateData struct {
	Type          ResourceType                        `json:"type"`
	Attributes    PromotedPurchaseCreateAttributes    `json:"attributes"`
	Relationships PromotedPurchaseCreateRelationships `json:"relationships"`
}

PromotedPurchaseCreateData is the data object of the PromotedPurchaseCreateRequest schema.

type PromotedPurchaseCreateRelationships

type PromotedPurchaseCreateRelationships struct {
	App             Relationship  `json:"app"`
	InAppPurchaseV2 *Relationship `json:"inAppPurchaseV2,omitempty"`
	Subscription    *Relationship `json:"subscription,omitempty"`
}

PromotedPurchaseCreateRelationships is the data.relationships object of the PromotedPurchaseCreateRequest schema.

type PromotedPurchaseCreateRequest

type PromotedPurchaseCreateRequest struct {
	Data PromotedPurchaseCreateData `json:"data"`
}

PromotedPurchaseCreateRequest is the PromotedPurchaseCreateRequest schema.

type PromotedPurchaseGetOption added in v1.260722.0

type PromotedPurchaseGetOption func(*promotedPurchaseGetQuery)

PromotedPurchaseGetOption configures promoted purchase detail and related-resource reads.

func WithPromotedPurchaseIAPFields added in v1.260722.0

func WithPromotedPurchaseIAPFields(fields []string) PromotedPurchaseGetOption

WithPromotedPurchaseIAPFields sets fields[inAppPurchases] for an included IAP.

func WithPromotedPurchaseInclude added in v1.260722.0

func WithPromotedPurchaseInclude(include []string) PromotedPurchaseGetOption

WithPromotedPurchaseInclude sets the exact promoted-purchase relationship include set.

func WithPromotedPurchaseSubscriptionFields added in v1.260722.0

func WithPromotedPurchaseSubscriptionFields(fields []string) PromotedPurchaseGetOption

WithPromotedPurchaseSubscriptionFields sets fields[subscriptions] for an included subscription.

type PromotedPurchaseResponse

type PromotedPurchaseResponse = SingleResponse[PromotedPurchaseAttributes]

PromotedPurchaseResponse is the PromotedPurchaseResponse schema.

type PromotedPurchaseUpdateAttributes

type PromotedPurchaseUpdateAttributes struct {
	VisibleForAllUsers *bool `json:"visibleForAllUsers,omitempty"`
	Enabled            *bool `json:"enabled,omitempty"`
}

PromotedPurchaseUpdateAttributes is the data.attributes object of the PromotedPurchaseUpdateRequest schema.

type PromotedPurchaseUpdateData

type PromotedPurchaseUpdateData struct {
	Type       ResourceType                      `json:"type"`
	ID         string                            `json:"id"`
	Attributes *PromotedPurchaseUpdateAttributes `json:"attributes,omitempty"`
}

PromotedPurchaseUpdateData is the data object of the PromotedPurchaseUpdateRequest schema.

type PromotedPurchaseUpdateRequest

type PromotedPurchaseUpdateRequest struct {
	Data PromotedPurchaseUpdateData `json:"data"`
}

PromotedPurchaseUpdateRequest is the PromotedPurchaseUpdateRequest schema.

type PromotedPurchasesOption

type PromotedPurchasesOption func(*promotedPurchasesQuery)

PromotedPurchasesOption is a functional option for promoted purchases endpoints.

func WithPromotedPurchasesIAPFields added in v1.260722.0

func WithPromotedPurchasesIAPFields(fields []string) PromotedPurchasesOption

WithPromotedPurchasesIAPFields sets fields[inAppPurchases] for included IAPs.

func WithPromotedPurchasesSubscriptionFields added in v1.260722.0

func WithPromotedPurchasesSubscriptionFields(fields []string) PromotedPurchasesOption

WithPromotedPurchasesSubscriptionFields sets fields[subscriptions] for included subscriptions.

type PromotedPurchasesResponse

type PromotedPurchasesResponse = Response[PromotedPurchaseAttributes]

PromotedPurchasesResponse is the response from promoted purchases list endpoints.

type PublishArchiveStageResult added in v1.260404.0

type PublishArchiveStageResult struct {
	ArchivePath   string `json:"archivePath"`
	BundleID      string `json:"bundleId,omitempty"`
	Version       string `json:"version,omitempty"`
	BuildNumber   string `json:"buildNumber,omitempty"`
	Scheme        string `json:"scheme,omitempty"`
	Configuration string `json:"configuration,omitempty"`
}

PublishArchiveStageResult captures local archive stage details for nested publish command output.

type PublishExportStageResult added in v1.260404.0

type PublishExportStageResult struct {
	ArchivePath       string `json:"archivePath"`
	IPAPath           string `json:"ipaPath,omitempty"`
	PKGPath           string `json:"pkgPath,omitempty"`
	BundleID          string `json:"bundleId,omitempty"`
	Version           string `json:"version,omitempty"`
	BuildNumber       string `json:"buildNumber,omitempty"`
	ExportOptionsPath string `json:"exportOptionsPath,omitempty"`
	DirectUpload      bool   `json:"directUpload"`
}

PublishExportStageResult captures local export stage details for nested publish command output.

type PublishMode added in v1.260404.0

type PublishMode string

PublishMode identifies how a publish command sourced its build.

const (
	PublishModeExistingBuild PublishMode = "existing_build"
	PublishModeIPAUpload     PublishMode = "ipa_upload"
	PublishModePKGUpload     PublishMode = "pkg_upload"
	PublishModeLocalBuild    PublishMode = "local_build"
)

type PublishPlanStep added in v1.260407.0

type PublishPlanStep struct {
	Name    string `json:"name"`
	Status  string `json:"status"`
	Message string `json:"message,omitempty"`
}

PublishPlanStep captures a high-level dry-run step for publish flows.

type PublishedApp added in v1.260828.0

type PublishedApp struct {
	ID                      string `json:"id"`
	Name                    string `json:"name"`
	BundleID                string `json:"bundleId"`
	SKU                     string `json:"sku"`
	PrimaryLocale           string `json:"primaryLocale,omitempty"`
	AvailabilityID          string `json:"availabilityId"`
	PublishedTerritoryCount int    `json:"publishedTerritoryCount"`
}

PublishedApp describes an App Store Connect app with live published territory coverage.

type PublishedAppFailure added in v1.260828.0

type PublishedAppFailure struct {
	ID    string `json:"id"`
	Name  string `json:"name"`
	Error string `json:"error"`
}

PublishedAppFailure describes an app whose availability audit could not be completed.

type Relationship

type Relationship = types.Relationship

Core types — aliases to types package.

type RelationshipData

type RelationshipData = types.RelationshipData

Core types — aliases to types package.

type RelationshipLinks struct {
	Self    string `json:"self,omitempty"`
	Related string `json:"related,omitempty"`
}

RelationshipLinks describes links returned for a JSON:API relationship.

type RelationshipList

type RelationshipList = types.RelationshipList

Core types — aliases to types package.

type RelationshipRequest

type RelationshipRequest = types.RelationshipRequest

Core types — aliases to types package.

type ReportDownload

type ReportDownload struct {
	Body          io.ReadCloser
	ContentLength int64
}

ReportDownload represents a streaming download response.

type RequestContextFunc added in v1.260828.0

type RequestContextFunc func(context.Context) (context.Context, context.CancelFunc)

RequestContextFunc creates a fresh context for one outbound request while retaining the caller's parent context and cancellation.

type Resource

type Resource[T any] = types.Resource[T]

Generic resource types — aliases to types package.

type ResourceData

type ResourceData = types.ResourceData

Core types — aliases to types package.

type ResourceType

type ResourceType = types.ResourceType

Core types — aliases to types package.

const (
	ResourceTypeCiProducts       ResourceType = "ciProducts"
	ResourceTypeCiWorkflows      ResourceType = "ciWorkflows"
	ResourceTypeCiBuildRuns      ResourceType = "ciBuildRuns"
	ResourceTypeCiBuildActions   ResourceType = "ciBuildActions"
	ResourceTypeCiArtifacts      ResourceType = "ciArtifacts"
	ResourceTypeCiTestResults    ResourceType = "ciTestResults"
	ResourceTypeCiIssues         ResourceType = "ciIssues"
	ResourceTypeCiMacOsVersions  ResourceType = "ciMacOsVersions"
	ResourceTypeCiXcodeVersions  ResourceType = "ciXcodeVersions"
	ResourceTypeScmProviders     ResourceType = "scmProviders"
	ResourceTypeScmRepositories  ResourceType = "scmRepositories"
	ResourceTypeScmGitReferences ResourceType = "scmGitReferences"
	ResourceTypeScmPullRequests  ResourceType = "scmPullRequests"
)

Xcode Cloud Resource Types

const ResourceTypeAppStoreVersionPhasedReleases ResourceType = "appStoreVersionPhasedReleases"

ResourceTypeAppStoreVersionPhasedReleases is the resource type for phased releases.

const ResourceTypeAppStoreVersionReleaseRequests ResourceType = "appStoreVersionReleaseRequests"

ResourceTypeAppStoreVersionReleaseRequests is the resource type for release requests.

const ResourceTypeCustomerReviewResponses ResourceType = "customerReviewResponses"

ResourceTypeCustomerReviewResponses is the resource type for customer review responses.

const ResourceTypeCustomerReviews ResourceType = "customerReviews"

ResourceTypeCustomerReviews is the resource type for customer reviews.

const ResourceTypeSubscriptionPlanAvailabilities ResourceType = "subscriptionPlanAvailabilities"

type Response

type Response[T any] = types.Response[T]

Generic resource types — aliases to types package.

func RedactAppStoreReviewDetailIncludesInListResponse added in v1.260731.0

func RedactAppStoreReviewDetailIncludesInListResponse[T any](resp *Response[T]) (*Response[T], error)

RedactAppStoreReviewDetailIncludesInListResponse returns a presentation-safe copy whose included appStoreReviewDetails resources cannot expose a password.

type RetentionMessageAssignResult

type RetentionMessageAssignResult struct {
	SubscriptionID     string `json:"subscriptionId"`
	RetentionMessageID string `json:"retentionMessageId"`
	Assigned           bool   `json:"assigned"`
}

RetentionMessageAssignResult records a subscription's retention message assignment.

type RetentionMessageAttributes

type RetentionMessageAttributes struct {
	ReferenceName string `json:"referenceName,omitempty"`
	// contains filtered or unexported fields
}

RetentionMessageAttributes describes a retention message.

func (RetentionMessageAttributes) MarshalJSON

func (a RetentionMessageAttributes) MarshalJSON() ([]byte, error)

func (*RetentionMessageAttributes) UnmarshalJSON

func (a *RetentionMessageAttributes) UnmarshalJSON(data []byte) error

type RetentionMessageCreateAttributes

type RetentionMessageCreateAttributes struct {
	ReferenceName string `json:"referenceName"`
}

RetentionMessageCreateAttributes is the data.attributes object of the RetentionMessageCreateRequest schema.

type RetentionMessageCreateData

type RetentionMessageCreateData struct {
	Type          ResourceType                         `json:"type"`
	Attributes    RetentionMessageCreateAttributes     `json:"attributes"`
	Relationships *RetentionMessageCreateRelationships `json:"relationships"`
}

RetentionMessageCreateData is the data object of the RetentionMessageCreateRequest schema.

type RetentionMessageCreateRelationships

type RetentionMessageCreateRelationships struct {
	App *Relationship `json:"app"`
}

RetentionMessageCreateRelationships is the data.relationships object of the RetentionMessageCreateRequest schema.

type RetentionMessageCreateRequest

type RetentionMessageCreateRequest struct {
	Data RetentionMessageCreateData `json:"data"`
}

RetentionMessageCreateRequest is the RetentionMessageCreateRequest schema.

type RetentionMessageLinkageResponse

type RetentionMessageLinkageResponse struct {
	Data  *ResourceData `json:"data"`
	Links Links         `json:"links"`
}

RetentionMessageLinkageResponse is a to-one retention messaging linkage; data is null when unset.

type RetentionMessageLocalizationAttributes

type RetentionMessageLocalizationAttributes struct {
	Locale string `json:"locale,omitempty"`
	Header string `json:"header,omitempty"`
	Body   string `json:"body,omitempty"`
	// contains filtered or unexported fields
}

RetentionMessageLocalizationAttributes describes a retention message localization.

func (RetentionMessageLocalizationAttributes) MarshalJSON

func (a RetentionMessageLocalizationAttributes) MarshalJSON() ([]byte, error)

func (*RetentionMessageLocalizationAttributes) UnmarshalJSON

func (a *RetentionMessageLocalizationAttributes) UnmarshalJSON(data []byte) error

type RetentionMessageLocalizationCreateAttributes

type RetentionMessageLocalizationCreateAttributes struct {
	Locale string  `json:"locale"`
	Header *string `json:"header,omitempty"`
	Body   *string `json:"body,omitempty"`
}

RetentionMessageLocalizationCreateAttributes is the data.attributes object of the RetentionMessageLocalizationCreateRequest schema.

type RetentionMessageLocalizationCreateData

type RetentionMessageLocalizationCreateData struct {
	Type          ResourceType                                     `json:"type"`
	Attributes    RetentionMessageLocalizationCreateAttributes     `json:"attributes"`
	Relationships *RetentionMessageLocalizationCreateRelationships `json:"relationships"`
}

RetentionMessageLocalizationCreateData is the data object of the RetentionMessageLocalizationCreateRequest schema.

type RetentionMessageLocalizationCreateRelationships

type RetentionMessageLocalizationCreateRelationships struct {
	RetentionMessageVersion *Relationship `json:"retentionMessageVersion"`
}

RetentionMessageLocalizationCreateRelationships is the data.relationships object of the RetentionMessageLocalizationCreateRequest schema.

type RetentionMessageLocalizationCreateRequest

type RetentionMessageLocalizationCreateRequest struct {
	Data RetentionMessageLocalizationCreateData `json:"data"`
}

RetentionMessageLocalizationCreateRequest is the RetentionMessageLocalizationCreateRequest schema.

type RetentionMessageLocalizationResponse

type RetentionMessageLocalizationResponse = SingleResponse[RetentionMessageLocalizationAttributes]

type RetentionMessageLocalizationUpdateAttributes

type RetentionMessageLocalizationUpdateAttributes struct {
	Header *NullableString `json:"header,omitempty"`
	Body   *NullableString `json:"body,omitempty"`
}

RetentionMessageLocalizationUpdateAttributes describes a localization update request; a NullableString with a nil Value clears the text.

type RetentionMessageLocalizationUpdateData

type RetentionMessageLocalizationUpdateData struct {
	Type       ResourceType                                  `json:"type"`
	ID         string                                        `json:"id"`
	Attributes *RetentionMessageLocalizationUpdateAttributes `json:"attributes,omitempty"`
}

RetentionMessageLocalizationUpdateData is the data object of the RetentionMessageLocalizationUpdateRequest schema.

type RetentionMessageLocalizationUpdateRequest

type RetentionMessageLocalizationUpdateRequest struct {
	Data RetentionMessageLocalizationUpdateData `json:"data"`
}

RetentionMessageLocalizationUpdateRequest is the RetentionMessageLocalizationUpdateRequest schema.

type RetentionMessageLocalizationsResponse

type RetentionMessageLocalizationsResponse = Response[RetentionMessageLocalizationAttributes]

type RetentionMessagePlacementCreateResult

type RetentionMessagePlacementCreateResult struct {
	ID                        string `json:"id"`
	Created                   bool   `json:"created"`
	RetentionMessageVersionID string `json:"retentionMessageVersionId"`
	ImageID                   string `json:"imageId"`
	PlacementType             string `json:"placementType"`
	PlacementGroup            string `json:"placementGroup"`
	State                     string `json:"state,omitempty"`
}

RetentionMessagePlacementCreateResult records an image placement created for a retention message version.

type RetentionMessageResponse

type RetentionMessageResponse = SingleResponse[RetentionMessageAttributes]

type RetentionMessageVersionAttributes

type RetentionMessageVersionAttributes struct {
	State string `json:"state,omitempty"`
	// contains filtered or unexported fields
}

RetentionMessageVersionAttributes describes a retention message version.

func (RetentionMessageVersionAttributes) MarshalJSON

func (a RetentionMessageVersionAttributes) MarshalJSON() ([]byte, error)

func (*RetentionMessageVersionAttributes) UnmarshalJSON

func (a *RetentionMessageVersionAttributes) UnmarshalJSON(data []byte) error

type RetentionMessageVersionCreateData

type RetentionMessageVersionCreateData struct {
	Type          ResourceType                                `json:"type"`
	Relationships *RetentionMessageVersionCreateRelationships `json:"relationships"`
}

RetentionMessageVersionCreateData is the data object of the RetentionMessageVersionCreateRequest schema.

type RetentionMessageVersionCreateRelationships

type RetentionMessageVersionCreateRelationships struct {
	Placement        *Relationship `json:"placement,omitempty"`
	RetentionMessage *Relationship `json:"retentionMessage"`
}

RetentionMessageVersionCreateRelationships is the data.relationships object of the RetentionMessageVersionCreateRequest schema, with the placement declared first so the body lists its keys in alphabetical order.

type RetentionMessageVersionCreateRequest

type RetentionMessageVersionCreateRequest struct {
	Data RetentionMessageVersionCreateData `json:"data"`
}

RetentionMessageVersionCreateRequest is the RetentionMessageVersionCreateRequest schema.

type RetentionMessageVersionResponse

type RetentionMessageVersionResponse = SingleResponse[RetentionMessageVersionAttributes]

type RetentionMessageVersionsResponse

type RetentionMessageVersionsResponse = Response[RetentionMessageVersionAttributes]

type RetentionMessagesOption

type RetentionMessagesOption func(*retentionMessagesQuery)

RetentionMessagesOption configures a retention messaging read.

func WithRetentionMessagesNextURL

func WithRetentionMessagesNextURL(next string) RetentionMessagesOption

WithRetentionMessagesNextURL fetches a links.next URL instead of building a query.

func WithRetentionMessagesQuery

func WithRetentionMessagesQuery(name string, values ...string) RetentionMessagesOption

WithRetentionMessagesQuery sets one query parameter, such as include, fields[type], filter[name], sort, limit, or limit[relationship], to the comma-joined values. Empty values leave the parameter unset.

type RetentionMessagesResponse

type RetentionMessagesResponse = Response[RetentionMessageAttributes]

type RetentionOfferAttributes

type RetentionOfferAttributes struct {
	ReferenceName                                       string                    `json:"referenceName,omitempty"`
	OfferID                                             string                    `json:"offerId,omitempty"`
	Duration                                            SubscriptionOfferDuration `json:"duration,omitempty"`
	OfferMode                                           SubscriptionOfferMode     `json:"offerMode,omitempty"`
	PeriodCount                                         int                       `json:"periodCount,omitempty"`
	CustomerEligibilityPaidSubscriptionDurationInMonths int                       `json:"customerEligibilityPaidSubscriptionDurationInMonths,omitempty"`
	// CustomerEligibilityWaitBetweenOffersInMonths stays raw so an explicit
	// null from Apple survives output instead of disappearing.
	CustomerEligibilityWaitBetweenOffersInMonths json.RawMessage      `json:"customerEligibilityWaitBetweenOffersInMonths,omitempty"`
	TargetSubscriptionPlanType                   SubscriptionPlanType `json:"targetSubscriptionPlanType,omitempty"`
}

RetentionOfferAttributes describes a retention offer.

type RetentionOfferCreateAttributes

type RetentionOfferCreateAttributes struct {
	ReferenceName                                       string                    `json:"referenceName"`
	OfferID                                             string                    `json:"offerId"`
	Duration                                            SubscriptionOfferDuration `json:"duration"`
	OfferMode                                           SubscriptionOfferMode     `json:"offerMode"`
	PeriodCount                                         int                       `json:"periodCount"`
	CustomerEligibilityPaidSubscriptionDurationInMonths int                       `json:"customerEligibilityPaidSubscriptionDurationInMonths"`
	CustomerEligibilityWaitBetweenOffersInMonths        *int                      `json:"customerEligibilityWaitBetweenOffersInMonths,omitempty"`
	TargetSubscriptionPlanType                          SubscriptionPlanType      `json:"targetSubscriptionPlanType,omitempty"`
}

RetentionOfferCreateAttributes describes attributes for creating a retention offer.

type RetentionOfferCreateData

type RetentionOfferCreateData struct {
	Type          ResourceType                      `json:"type"`
	Attributes    RetentionOfferCreateAttributes    `json:"attributes"`
	Relationships RetentionOfferCreateRelationships `json:"relationships"`
}

RetentionOfferCreateData is the data object of the RetentionOfferCreateRequest schema.

type RetentionOfferCreateRelationships

type RetentionOfferCreateRelationships struct {
	Subscription Relationship     `json:"subscription"`
	Prices       RelationshipList `json:"prices"`
}

RetentionOfferCreateRelationships is the data.relationships object of the RetentionOfferCreateRequest schema.

type RetentionOfferCreateRequest

type RetentionOfferCreateRequest struct {
	Data     RetentionOfferCreateData          `json:"data"`
	Included []RetentionOfferPriceInlineCreate `json:"included,omitempty"`
}

RetentionOfferCreateRequest is a request to create a retention offer.

type RetentionOfferPriceAttributes

type RetentionOfferPriceAttributes struct{}

RetentionOfferPriceAttributes describes a retention offer price (attributes are empty).

type RetentionOfferPriceInlineCreate

type RetentionOfferPriceInlineCreate struct {
	Type          ResourceType                           `json:"type"`
	ID            string                                 `json:"id"`
	Relationships RetentionOfferPriceInlineRelationships `json:"relationships"`
}

RetentionOfferPriceInlineCreate is a price created inline with its offer through the request's `included` array, under a `${local-id}` ID.

type RetentionOfferPriceInlineRelationships

type RetentionOfferPriceInlineRelationships struct {
	SubscriptionPricePoint Relationship `json:"subscriptionPricePoint"`
}

RetentionOfferPriceInlineRelationships links an inline retention offer price to its subscription price point. Unlike win-back offer prices, retention offer prices carry no territory relationship; the price point implies it.

type RetentionOfferPricesOption

type RetentionOfferPricesOption func(*retentionOfferPricesQuery)

RetentionOfferPricesOption is a functional option for retention offer price reads.

func WithRetentionOfferPricesFields

func WithRetentionOfferPricesFields(fields []string) RetentionOfferPricesOption

WithRetentionOfferPricesFields sets fields[retentionOfferPrices].

func WithRetentionOfferPricesInclude

func WithRetentionOfferPricesInclude(include []string) RetentionOfferPricesOption

WithRetentionOfferPricesInclude sets include for retention offer price reads.

func WithRetentionOfferPricesLimit

func WithRetentionOfferPricesLimit(limit int) RetentionOfferPricesOption

WithRetentionOfferPricesLimit sets the max number of retention offer prices to return.

func WithRetentionOfferPricesNextURL

func WithRetentionOfferPricesNextURL(next string) RetentionOfferPricesOption

WithRetentionOfferPricesNextURL uses a next page URL directly.

func WithRetentionOfferPricesTerritoryFilter

func WithRetentionOfferPricesTerritoryFilter(ids []string) RetentionOfferPricesOption

WithRetentionOfferPricesTerritoryFilter filters retention offer prices by territory ID(s).

type RetentionOfferPricesResponse

type RetentionOfferPricesResponse = Response[RetentionOfferPriceAttributes]

RetentionOfferPricesResponse is the response from the retention offer prices endpoint.

type RetentionOfferResponse

type RetentionOfferResponse = SingleResponse[RetentionOfferAttributes]

RetentionOfferResponse is the RetentionOfferResponse schema.

type RetentionOfferUpdateAttributes

type RetentionOfferUpdateAttributes struct {
	CustomerEligibilityPaidSubscriptionDurationInMonths *int `json:"customerEligibilityPaidSubscriptionDurationInMonths,omitempty"`
	CustomerEligibilityWaitBetweenOffersInMonths        *int `json:"customerEligibilityWaitBetweenOffersInMonths,omitempty"`
}

RetentionOfferUpdateAttributes is the data.attributes object of the RetentionOfferUpdateRequest schema.

type RetentionOfferUpdateData

type RetentionOfferUpdateData struct {
	Type       ResourceType                   `json:"type"`
	ID         string                         `json:"id"`
	Attributes RetentionOfferUpdateAttributes `json:"attributes"`
}

RetentionOfferUpdateData is the data object of the RetentionOfferUpdateRequest schema.

type RetentionOfferUpdateRequest

type RetentionOfferUpdateRequest struct {
	Data RetentionOfferUpdateData `json:"data"`
}

RetentionOfferUpdateRequest is the RetentionOfferUpdateRequest schema.

type RetentionOffersOption

type RetentionOffersOption func(*retentionOffersQuery)

RetentionOffersOption is a functional option for retention offer reads.

func WithRetentionOffersFields

func WithRetentionOffersFields(fields []string) RetentionOffersOption

WithRetentionOffersFields sets fields[retentionOffers].

func WithRetentionOffersInclude

func WithRetentionOffersInclude(include []string) RetentionOffersOption

WithRetentionOffersInclude sets include for retention offer reads.

func WithRetentionOffersLimit

func WithRetentionOffersLimit(limit int) RetentionOffersOption

WithRetentionOffersLimit sets the max number of retention offers to return.

func WithRetentionOffersNextURL

func WithRetentionOffersNextURL(next string) RetentionOffersOption

WithRetentionOffersNextURL uses a next page URL directly.

func WithRetentionOffersPricesLimit

func WithRetentionOffersPricesLimit(limit int) RetentionOffersOption

WithRetentionOffersPricesLimit sets limit[prices] for included prices.

type RetentionOffersResponse

type RetentionOffersResponse = Response[RetentionOfferAttributes]

RetentionOffersResponse is the response from retention offer list endpoints.

type RetryOptions

type RetryOptions struct {
	MaxRetries int           // 0=disabled, negative=default, positive=retry count
	BaseDelay  time.Duration // Initial delay for exponential backoff
	MaxDelay   time.Duration // Maximum delay cap
}

RetryOptions configures retry behavior.

  • MaxRetries: Number of retry attempts. 0 = no retries (fail fast), negative = use DefaultMaxRetries.
  • BaseDelay: Initial delay between retries (with exponential backoff).
  • MaxDelay: Maximum delay cap for backoff and honored Retry-After hints; an explicit hint above this cap fails fast with the requested and configured durations instead of sleeping at the cap.

func ResolveRetryOptions

func ResolveRetryOptions() RetryOptions

ResolveRetryOptions returns retry options, optionally overridden by config/env.

type RetryableError

type RetryableError struct {
	Err        error
	RetryAfter time.Duration
	// PreserveErrorOnDeadline requests terminal classification when a computed
	// fallback wait cannot finish before the context deadline. Explicit context
	// cancellation still takes precedence.
	PreserveErrorOnDeadline bool
}

RetryableError is returned when a request can be retried (e.g., rate limiting).

func (*RetryableError) Error

func (e *RetryableError) Error() string

func (*RetryableError) HTTPStatusCode added in v1.260722.0

func (e *RetryableError) HTTPStatusCode() int

HTTPStatusCode reports the HTTP status code carried by the wrapped error, or 0 when no status is known (e.g., transport failures).

func (*RetryableError) Unwrap

func (e *RetryableError) Unwrap() error

type ReviewOption

type ReviewOption func(*reviewQuery)

ReviewOption is a functional option for GetReviews.

func WithPublishedResponseExists added in v1.260519.0

func WithPublishedResponseExists(exists bool) ReviewOption

WithPublishedResponseExists filters reviews by whether a published response exists.

func WithRatings added in v1.260822.0

func WithRatings(ratings []int) ReviewOption

WithRatings filters reviews by one or more star ratings (1-5). Apple models filter[rating] as a comma-separated array parameter, so several ratings match with OR semantics. Ratings outside 1-5 and repeats are dropped.

func WithReviewFields

func WithReviewFields(fields []string) ReviewOption

WithReviewFields limits fields returned for customer reviews.

func WithReviewInclude

func WithReviewInclude(include []string) ReviewOption

WithReviewInclude adds relationships to include in review results.

func WithReviewIncludeResponse added in v1.260519.0

func WithReviewIncludeResponse() ReviewOption

WithReviewIncludeResponse includes review response relationships in review results.

func WithReviewResponseFields added in v1.260519.0

func WithReviewResponseFields(fields []string) ReviewOption

WithReviewResponseFields limits fields returned for included review responses.

func WithReviewSort

func WithReviewSort(sort string) ReviewOption

WithReviewSort sets the sort order for reviews.

func WithReviewTerritory

func WithReviewTerritory(territory string) ReviewOption

WithReviewTerritory filters reviews by related reviewTerritory IDs.

func WithReviewTerritoryFields

func WithReviewTerritoryFields(fields []string) ReviewOption

WithReviewTerritoryFields limits fields returned for included territories.

func WithTerritory

func WithTerritory(territory string) ReviewOption

WithTerritory filters reviews by App Store territory code (e.g. USA, GBR).

type ReviewSubmissionAttributes

type ReviewSubmissionAttributes struct {
	Platform        Platform              `json:"platform,omitempty"`
	SubmissionState ReviewSubmissionState `json:"state,omitempty"`
	SubmittedDate   string                `json:"submittedDate,omitempty"`
	// contains filtered or unexported fields
}

ReviewSubmissionAttributes describes review submission attributes.

func (ReviewSubmissionAttributes) MarshalJSON

func (a ReviewSubmissionAttributes) MarshalJSON() ([]byte, error)

func (*ReviewSubmissionAttributes) UnmarshalJSON

func (a *ReviewSubmissionAttributes) UnmarshalJSON(data []byte) error

type ReviewSubmissionCreateAttributes

type ReviewSubmissionCreateAttributes struct {
	Platform Platform `json:"platform"`
}

ReviewSubmissionCreateAttributes describes attributes for creating a review submission.

type ReviewSubmissionCreateData

type ReviewSubmissionCreateData struct {
	Type          ResourceType                         `json:"type"`
	Attributes    ReviewSubmissionCreateAttributes     `json:"attributes"`
	Relationships *ReviewSubmissionCreateRelationships `json:"relationships"`
}

ReviewSubmissionCreateData is the data portion of a review submission create request.

type ReviewSubmissionCreatePartialError

type ReviewSubmissionCreatePartialError struct {
	Response *ReviewSubmissionResponse
	Err      error
}

ReviewSubmissionCreatePartialError reports that App Store Connect returned a created review-submission ID together with a response validation error. Callers can use Response to preserve or roll back the created resource.

func (*ReviewSubmissionCreatePartialError) Error

func (*ReviewSubmissionCreatePartialError) Unwrap

type ReviewSubmissionCreateRelationships

type ReviewSubmissionCreateRelationships struct {
	App *Relationship `json:"app"`
}

ReviewSubmissionCreateRelationships is the data.relationships object of the ReviewSubmissionCreateRequest schema.

type ReviewSubmissionCreateRequest

type ReviewSubmissionCreateRequest struct {
	Data ReviewSubmissionCreateData `json:"data"`
}

ReviewSubmissionCreateRequest is the ReviewSubmissionCreateRequest schema.

type ReviewSubmissionItemAttributes

type ReviewSubmissionItemAttributes struct {
	State string `json:"state,omitempty"`
	// contains filtered or unexported fields
}

ReviewSubmissionItemAttributes describes review submission item attributes.

func (ReviewSubmissionItemAttributes) MarshalJSON

func (a ReviewSubmissionItemAttributes) MarshalJSON() ([]byte, error)

func (*ReviewSubmissionItemAttributes) UnmarshalJSON

func (a *ReviewSubmissionItemAttributes) UnmarshalJSON(data []byte) error

type ReviewSubmissionItemCreateData

type ReviewSubmissionItemCreateData struct {
	Type          ResourceType                            `json:"type"`
	Relationships ReviewSubmissionItemCreateRelationships `json:"relationships"`
}

ReviewSubmissionItemCreateData is the data object of the ReviewSubmissionItemCreateRequest schema.

type ReviewSubmissionItemCreateRelationships

type ReviewSubmissionItemCreateRelationships struct {
	ReviewSubmission                *Relationship `json:"reviewSubmission"`
	AppStoreVersion                 *Relationship `json:"appStoreVersion,omitempty"`
	AppCustomProductPageVersion     *Relationship `json:"appCustomProductPageVersion,omitempty"`
	AppAssetLibraryImage            *Relationship `json:"appAssetLibraryImage,omitempty"`
	AppAssetLibraryVideo            *Relationship `json:"appAssetLibraryVideo,omitempty"`
	AppEvent                        *Relationship `json:"appEvent,omitempty"`
	AppStoreVersionExperiment       *Relationship `json:"appStoreVersionExperiment,omitempty"`
	AppStoreVersionExperimentV2     *Relationship `json:"appStoreVersionExperimentV2,omitempty"`
	BackgroundAssetVersion          *Relationship `json:"backgroundAssetVersion,omitempty"`
	GameCenterAchievementVersion    *Relationship `json:"gameCenterAchievementVersion,omitempty"`
	GameCenterActivityVersion       *Relationship `json:"gameCenterActivityVersion,omitempty"`
	GameCenterChallengeVersion      *Relationship `json:"gameCenterChallengeVersion,omitempty"`
	GameCenterLeaderboardSetVersion *Relationship `json:"gameCenterLeaderboardSetVersion,omitempty"`
	GameCenterLeaderboardVersion    *Relationship `json:"gameCenterLeaderboardVersion,omitempty"`
	InAppPurchaseVersion            *Relationship `json:"inAppPurchaseVersion,omitempty"`
	SubscriptionVersion             *Relationship `json:"subscriptionVersion,omitempty"`
	SubscriptionGroupVersion        *Relationship `json:"subscriptionGroupVersion,omitempty"`
	RetentionMessageVersion         *Relationship `json:"retentionMessageVersion,omitempty"`
}

ReviewSubmissionItemCreateRelationships describes relationships for create requests.

type ReviewSubmissionItemCreateRequest

type ReviewSubmissionItemCreateRequest struct {
	Data ReviewSubmissionItemCreateData `json:"data"`
}

ReviewSubmissionItemCreateRequest is the ReviewSubmissionItemCreateRequest schema.

type ReviewSubmissionItemRelationships

type ReviewSubmissionItemRelationships struct {
	AppStoreVersion                 *Relationship `json:"appStoreVersion,omitempty"`
	AppCustomProductPageVersion     *Relationship `json:"appCustomProductPageVersion,omitempty"`
	AppAssetLibraryImage            *Relationship `json:"appAssetLibraryImage,omitempty"`
	AppAssetLibraryVideo            *Relationship `json:"appAssetLibraryVideo,omitempty"`
	AppEvent                        *Relationship `json:"appEvent,omitempty"`
	AppStoreVersionExperiment       *Relationship `json:"appStoreVersionExperiment,omitempty"`
	AppStoreVersionExperimentV2     *Relationship `json:"appStoreVersionExperimentV2,omitempty"`
	BackgroundAssetVersion          *Relationship `json:"backgroundAssetVersion,omitempty"`
	GameCenterAchievementVersion    *Relationship `json:"gameCenterAchievementVersion,omitempty"`
	GameCenterActivityVersion       *Relationship `json:"gameCenterActivityVersion,omitempty"`
	GameCenterChallengeVersion      *Relationship `json:"gameCenterChallengeVersion,omitempty"`
	GameCenterLeaderboardSetVersion *Relationship `json:"gameCenterLeaderboardSetVersion,omitempty"`
	GameCenterLeaderboardVersion    *Relationship `json:"gameCenterLeaderboardVersion,omitempty"`
	InAppPurchaseVersion            *Relationship `json:"inAppPurchaseVersion,omitempty"`
	SubscriptionVersion             *Relationship `json:"subscriptionVersion,omitempty"`
	SubscriptionGroupVersion        *Relationship `json:"subscriptionGroupVersion,omitempty"`
	RetentionMessageVersion         *Relationship `json:"retentionMessageVersion,omitempty"`
	// contains filtered or unexported fields
}

ReviewSubmissionItemRelationships describes review submission item relationships.

func (*ReviewSubmissionItemRelationships) HasConflictingContentLinkages

func (r *ReviewSubmissionItemRelationships) HasConflictingContentLinkages() bool

HasConflictingContentLinkages reports contradictory item content identities.

func (*ReviewSubmissionItemRelationships) UnmarshalJSON

func (r *ReviewSubmissionItemRelationships) UnmarshalJSON(data []byte) error

func (*ReviewSubmissionItemRelationships) VersionLinkagesKnown

func (r *ReviewSubmissionItemRelationships) VersionLinkagesKnown() bool

VersionLinkagesKnown reports whether both requested version linkages were returned.

type ReviewSubmissionItemResource

type ReviewSubmissionItemResource struct {
	Type          ResourceType                       `json:"type"`
	ID            string                             `json:"id"`
	Attributes    ReviewSubmissionItemAttributes     `json:"attributes"`
	Relationships *ReviewSubmissionItemRelationships `json:"relationships,omitempty"`
	Links         json.RawMessage                    `json:"links,omitempty"`
}

ReviewSubmissionItemResource represents a review submission item resource.

type ReviewSubmissionItemResponse

type ReviewSubmissionItemResponse struct {
	Data     ReviewSubmissionItemResource `json:"data"`
	Links    Links                        `json:"links"`
	Included json.RawMessage              `json:"included,omitempty"`
}

ReviewSubmissionItemResponse is the response from review submission item mutation endpoints.

type ReviewSubmissionItemType

type ReviewSubmissionItemType string

ReviewSubmissionItemType describes supported review submission item types.

const (
	ReviewSubmissionItemTypeAppStoreVersion                 ReviewSubmissionItemType = "appStoreVersions"
	ReviewSubmissionItemTypeAppCustomProductPageVersion     ReviewSubmissionItemType = "appCustomProductPageVersions"
	ReviewSubmissionItemTypeAppAssetLibraryImage            ReviewSubmissionItemType = "appAssetLibraryImages"
	ReviewSubmissionItemTypeAppAssetLibraryVideo            ReviewSubmissionItemType = "appAssetLibraryVideos"
	ReviewSubmissionItemTypeAppEvent                        ReviewSubmissionItemType = "appEvents"
	ReviewSubmissionItemTypeAppStoreVersionExperiment       ReviewSubmissionItemType = "appStoreVersionExperiments"
	ReviewSubmissionItemTypeAppStoreVersionExperimentV2     ReviewSubmissionItemType = "appStoreVersionExperimentsV2"
	ReviewSubmissionItemTypeBackgroundAssetVersion          ReviewSubmissionItemType = "backgroundAssetVersions"
	ReviewSubmissionItemTypeGameCenterAchievementVersion    ReviewSubmissionItemType = "gameCenterAchievementVersions"
	ReviewSubmissionItemTypeGameCenterActivityVersion       ReviewSubmissionItemType = "gameCenterActivityVersions"
	ReviewSubmissionItemTypeGameCenterChallengeVersion      ReviewSubmissionItemType = "gameCenterChallengeVersions"
	ReviewSubmissionItemTypeGameCenterLeaderboardSetVersion ReviewSubmissionItemType = "gameCenterLeaderboardSetVersions"
	ReviewSubmissionItemTypeGameCenterLeaderboardVersion    ReviewSubmissionItemType = "gameCenterLeaderboardVersions"
	ReviewSubmissionItemTypeInAppPurchaseVersion            ReviewSubmissionItemType = "inAppPurchaseVersions"
	ReviewSubmissionItemTypeSubscriptionVersion             ReviewSubmissionItemType = "subscriptionVersions"
	ReviewSubmissionItemTypeSubscriptionGroupVersion        ReviewSubmissionItemType = "subscriptionGroupVersions"
	ReviewSubmissionItemTypeRetentionMessageVersion         ReviewSubmissionItemType = "retentionMessageVersions"
)

func ParseReviewSubmissionItemType

func ParseReviewSubmissionItemType(value string) (ReviewSubmissionItemType, bool)

ParseReviewSubmissionItemType returns the canonical item type for a CLI value.

type ReviewSubmissionItemUpdateAttributes

type ReviewSubmissionItemUpdateAttributes struct {
	Resolved *NullableBool `json:"resolved,omitempty"`
	Removed  *NullableBool `json:"removed,omitempty"`
}

ReviewSubmissionItemUpdateAttributes describes attributes for updating a review submission item.

type ReviewSubmissionItemUpdateData

type ReviewSubmissionItemUpdateData struct {
	Type       ResourceType                         `json:"type"`
	ID         string                               `json:"id"`
	Attributes ReviewSubmissionItemUpdateAttributes `json:"attributes"`
}

ReviewSubmissionItemUpdateData is the data portion of a review submission item update request.

type ReviewSubmissionItemUpdateRequest

type ReviewSubmissionItemUpdateRequest struct {
	Data ReviewSubmissionItemUpdateData `json:"data"`
}

ReviewSubmissionItemUpdateRequest is the ReviewSubmissionItemUpdateRequest schema.

type ReviewSubmissionItemsLinkagesResponse

type ReviewSubmissionItemsLinkagesResponse = LinkagesResponse

ReviewSubmissionItemsLinkagesResponse is the response from review submission item linkage endpoints.

type ReviewSubmissionItemsOption

type ReviewSubmissionItemsOption func(*reviewSubmissionItemsQuery)

ReviewSubmissionItemsOption is a functional option for GetReviewSubmissionItems.

func WithReviewSubmissionItemsFields

func WithReviewSubmissionItemsFields(fields []string) ReviewSubmissionItemsOption

WithReviewSubmissionItemsFields sets fields[reviewSubmissionItems] for item responses.

func WithReviewSubmissionItemsInAppPurchaseVersionFields added in v1.260722.0

func WithReviewSubmissionItemsInAppPurchaseVersionFields(fields []string) ReviewSubmissionItemsOption

WithReviewSubmissionItemsInAppPurchaseVersionFields sets fields[inAppPurchaseVersions].

func WithReviewSubmissionItemsInclude

func WithReviewSubmissionItemsInclude(include []string) ReviewSubmissionItemsOption

WithReviewSubmissionItemsInclude sets include for item responses.

func WithReviewSubmissionItemsSubscriptionGroupVersionFields added in v1.260722.0

func WithReviewSubmissionItemsSubscriptionGroupVersionFields(fields []string) ReviewSubmissionItemsOption

WithReviewSubmissionItemsSubscriptionGroupVersionFields sets fields[subscriptionGroupVersions].

func WithReviewSubmissionItemsSubscriptionVersionFields added in v1.260722.0

func WithReviewSubmissionItemsSubscriptionVersionFields(fields []string) ReviewSubmissionItemsOption

WithReviewSubmissionItemsSubscriptionVersionFields sets fields[subscriptionVersions].

type ReviewSubmissionItemsResponse

type ReviewSubmissionItemsResponse struct {
	Data     []ReviewSubmissionItemResource `json:"data"`
	Links    Links                          `json:"links"`
	Included json.RawMessage                `json:"included,omitempty"`
	Meta     json.RawMessage                `json:"meta,omitempty"`
}

ReviewSubmissionItemsResponse is the response from review submission items list endpoints.

func (*ReviewSubmissionItemsResponse) GetData

func (r *ReviewSubmissionItemsResponse) GetData() any

GetData returns the data field for aggregation.

func (r *ReviewSubmissionItemsResponse) GetLinks() *Links

GetLinks returns the links field for pagination.

type ReviewSubmissionOption added in v1.260722.0

type ReviewSubmissionOption func(*reviewSubmissionQuery)

ReviewSubmissionOption is a functional option for GetReviewSubmission.

func WithReviewSubmissionInclude added in v1.260722.0

func WithReviewSubmissionInclude(include []string) ReviewSubmissionOption

WithReviewSubmissionInclude includes related resources for a review submission response.

func WithReviewSubmissionItemFields added in v1.260722.0

func WithReviewSubmissionItemFields(fields []string) ReviewSubmissionOption

WithReviewSubmissionItemFields sets fields[reviewSubmissionItems] on a detail response.

type ReviewSubmissionRelationships

type ReviewSubmissionRelationships struct {
	App                      *Relationship     `json:"app,omitempty"`
	Items                    *RelationshipList `json:"items,omitempty"`
	AppStoreVersionForReview *Relationship     `json:"appStoreVersionForReview,omitempty"`
	SubmittedByActor         *Relationship     `json:"submittedByActor,omitempty"`
	LastUpdatedByActor       *Relationship     `json:"lastUpdatedByActor,omitempty"`
	// contains filtered or unexported fields
}

ReviewSubmissionRelationships describes review submission relationships.

func (*ReviewSubmissionRelationships) AppStoreVersionLinkageKnown

func (r *ReviewSubmissionRelationships) AppStoreVersionLinkageKnown() bool

AppStoreVersionLinkageKnown distinguishes explicit null linkage from an omitted field.

func (*ReviewSubmissionRelationships) UnmarshalJSON

func (r *ReviewSubmissionRelationships) UnmarshalJSON(data []byte) error

type ReviewSubmissionResource

type ReviewSubmissionResource struct {
	Type          ResourceType                   `json:"type"`
	ID            string                         `json:"id"`
	Attributes    ReviewSubmissionAttributes     `json:"attributes"`
	Relationships *ReviewSubmissionRelationships `json:"relationships,omitempty"`
	Links         json.RawMessage                `json:"links,omitempty"`
}

ReviewSubmissionResource represents a review submission resource.

type ReviewSubmissionResponse

type ReviewSubmissionResponse struct {
	Data     ReviewSubmissionResource `json:"data"`
	Links    Links                    `json:"links"`
	Included json.RawMessage          `json:"included,omitempty"`
}

ReviewSubmissionResponse is the response from review submission detail endpoints.

type ReviewSubmissionState

type ReviewSubmissionState string

ReviewSubmissionState represents the state of a review submission.

const (
	ReviewSubmissionStateReadyForReview   ReviewSubmissionState = "READY_FOR_REVIEW"
	ReviewSubmissionStateWaitingForReview ReviewSubmissionState = "WAITING_FOR_REVIEW"
	ReviewSubmissionStateInReview         ReviewSubmissionState = "IN_REVIEW"
	ReviewSubmissionStateUnresolvedIssues ReviewSubmissionState = "UNRESOLVED_ISSUES"
	ReviewSubmissionStateCanceling        ReviewSubmissionState = "CANCELING"
	ReviewSubmissionStateCompleting       ReviewSubmissionState = "COMPLETING"
	ReviewSubmissionStateComplete         ReviewSubmissionState = "COMPLETE"
)

type ReviewSubmissionUpdateAttributes

type ReviewSubmissionUpdateAttributes struct {
	Platform  *NullablePlatform `json:"platform,omitempty"`
	Submitted *NullableBool     `json:"submitted,omitempty"`
	Canceled  *NullableBool     `json:"canceled,omitempty"`
}

ReviewSubmissionUpdateAttributes describes attributes for updating a review submission.

type ReviewSubmissionUpdateData

type ReviewSubmissionUpdateData struct {
	Type       ResourceType                     `json:"type"`
	ID         string                           `json:"id"`
	Attributes ReviewSubmissionUpdateAttributes `json:"attributes"`
}

ReviewSubmissionUpdateData is the data portion of a review submission update request.

type ReviewSubmissionUpdateRequest

type ReviewSubmissionUpdateRequest struct {
	Data ReviewSubmissionUpdateData `json:"data"`
}

ReviewSubmissionUpdateRequest is the ReviewSubmissionUpdateRequest schema.

type ReviewSubmissionsOption

type ReviewSubmissionsOption func(*reviewSubmissionsQuery)

ReviewSubmissionsOption is a functional option for GetReviewSubmissions.

func WithReviewSubmissionsApps

func WithReviewSubmissionsApps(appIDs []string) ReviewSubmissionsOption

WithReviewSubmissionsApps filters review submissions by app IDs.

func WithReviewSubmissionsInclude

func WithReviewSubmissionsInclude(include []string) ReviewSubmissionsOption

WithReviewSubmissionsInclude includes related resources for review submissions responses.

func WithReviewSubmissionsItemFields added in v1.260722.0

func WithReviewSubmissionsItemFields(fields []string) ReviewSubmissionsOption

WithReviewSubmissionsItemFields sets fields[reviewSubmissionItems] on list responses.

func WithReviewSubmissionsPlatforms

func WithReviewSubmissionsPlatforms(platforms []string) ReviewSubmissionsOption

WithReviewSubmissionsPlatforms filters review submissions by platform.

func WithReviewSubmissionsStates

func WithReviewSubmissionsStates(states []string) ReviewSubmissionsOption

WithReviewSubmissionsStates filters review submissions by state.

type ReviewSubmissionsResponse

type ReviewSubmissionsResponse struct {
	Data     []ReviewSubmissionResource `json:"data"`
	Links    Links                      `json:"links"`
	Included json.RawMessage            `json:"included,omitempty"`
	Meta     json.RawMessage            `json:"meta,omitempty"`
}

ReviewSubmissionsResponse is the response from review submissions list endpoints.

func (*ReviewSubmissionsResponse) GetData

func (r *ReviewSubmissionsResponse) GetData() any

GetData returns the data field for aggregation.

func (r *ReviewSubmissionsResponse) GetLinks() *Links

GetLinks returns the links field for pagination.

type ReviewsResponse

type ReviewsResponse = Response[CustomerReviewAttributes]

ReviewsResponse is the response from customer reviews endpoint.

type RoutingAppCoverageAttributes

type RoutingAppCoverageAttributes struct {
	FileSize           int64               `json:"fileSize,omitempty"`
	FileName           string              `json:"fileName,omitempty"`
	SourceFileChecksum string              `json:"sourceFileChecksum,omitempty"`
	UploadOperations   []UploadOperation   `json:"uploadOperations,omitempty"`
	AssetDeliveryState *AppMediaAssetState `json:"assetDeliveryState,omitempty"`
}

RoutingAppCoverageAttributes describes routing app coverage attributes.

type RoutingAppCoverageCreateAttributes

type RoutingAppCoverageCreateAttributes struct {
	FileSize int64  `json:"fileSize"`
	FileName string `json:"fileName"`
}

RoutingAppCoverageCreateAttributes describes create attributes.

type RoutingAppCoverageCreateData

type RoutingAppCoverageCreateData struct {
	Type          ResourceType                       `json:"type"`
	Attributes    RoutingAppCoverageCreateAttributes `json:"attributes"`
	Relationships *RoutingAppCoverageRelationships   `json:"relationships"`
}

RoutingAppCoverageCreateData is the data object of the RoutingAppCoverageCreateRequest schema.

type RoutingAppCoverageCreateRequest

type RoutingAppCoverageCreateRequest struct {
	Data RoutingAppCoverageCreateData `json:"data"`
}

RoutingAppCoverageCreateRequest is the RoutingAppCoverageCreateRequest schema.

type RoutingAppCoverageRelationships

type RoutingAppCoverageRelationships struct {
	AppStoreVersion *Relationship `json:"appStoreVersion"`
}

RoutingAppCoverageRelationships is the data.relationships object of the RoutingAppCoverageCreateRequest schema.

type RoutingAppCoverageResponse

type RoutingAppCoverageResponse = SingleResponse[RoutingAppCoverageAttributes]

RoutingAppCoverageResponse is the RoutingAppCoverageResponse schema.

type RoutingAppCoverageUpdateAttributes

type RoutingAppCoverageUpdateAttributes struct {
	SourceFileChecksum *string `json:"sourceFileChecksum,omitempty"`
	Uploaded           *bool   `json:"uploaded,omitempty"`
}

RoutingAppCoverageUpdateAttributes is the data.attributes object of the RoutingAppCoverageUpdateRequest schema.

type RoutingAppCoverageUpdateData

type RoutingAppCoverageUpdateData struct {
	Type       ResourceType                        `json:"type"`
	ID         string                              `json:"id"`
	Attributes *RoutingAppCoverageUpdateAttributes `json:"attributes,omitempty"`
}

RoutingAppCoverageUpdateData is the data object of the RoutingAppCoverageUpdateRequest schema.

type RoutingAppCoverageUpdateRequest

type RoutingAppCoverageUpdateRequest struct {
	Data RoutingAppCoverageUpdateData `json:"data"`
}

RoutingAppCoverageUpdateRequest is the RoutingAppCoverageUpdateRequest schema.

type S3Credentials

type S3Credentials struct {
	AccessKeyID     string
	SecretAccessKey string
	SessionToken    string
	Bucket          string
	Object          string
}

S3Credentials holds the temporary AWS credentials for uploading to S3.

type SalesReportFrequency

type SalesReportFrequency string

SalesReportFrequency represents the reporting frequency.

const (
	SalesReportFrequencyDaily   SalesReportFrequency = "DAILY"
	SalesReportFrequencyWeekly  SalesReportFrequency = "WEEKLY"
	SalesReportFrequencyMonthly SalesReportFrequency = "MONTHLY"
	SalesReportFrequencyYearly  SalesReportFrequency = "YEARLY"
)

type SalesReportParams

type SalesReportParams struct {
	VendorNumber  string
	ReportType    SalesReportType
	ReportSubType SalesReportSubType
	Frequency     SalesReportFrequency
	ReportDate    string
	Version       SalesReportVersion
}

SalesReportParams describes sales report query parameters.

type SalesReportResult

type SalesReportResult struct {
	VendorNumber     string `json:"vendorNumber"`
	ReportType       string `json:"reportType"`
	ReportSubType    string `json:"reportSubType"`
	Frequency        string `json:"frequency"`
	ReportDate       string `json:"reportDate"`
	Version          string `json:"version,omitempty"`
	Available        *bool  `json:"available,omitempty"`
	FilePath         string `json:"filePath"`
	FileSize         int64  `json:"fileSize"`
	Decompressed     bool   `json:"decompressed"`
	DecompressedPath string `json:"decompressedPath,omitempty"`
	DecompressedSize int64  `json:"decompressedSize,omitempty"`
}

SalesReportResult represents CLI output for sales report downloads.

type SalesReportSubType

type SalesReportSubType string

SalesReportSubType represents the report detail level.

const (
	SalesReportSubTypeSummary            SalesReportSubType = "SUMMARY"
	SalesReportSubTypeDetailed           SalesReportSubType = "DETAILED"
	SalesReportSubTypeSummaryInstallType SalesReportSubType = "SUMMARY_INSTALL_TYPE"
	SalesReportSubTypeSummaryTerritory   SalesReportSubType = "SUMMARY_TERRITORY"
	SalesReportSubTypeSummaryChannel     SalesReportSubType = "SUMMARY_CHANNEL"
)

type SalesReportType

type SalesReportType string

SalesReportType represents the type of sales report.

const (
	SalesReportTypeSales                           SalesReportType = "SALES"
	SalesReportTypePreOrder                        SalesReportType = "PRE_ORDER"
	SalesReportTypeNewsstand                       SalesReportType = "NEWSSTAND"
	SalesReportTypeSubscription                    SalesReportType = "SUBSCRIPTION"
	SalesReportTypeSubscriptionEvent               SalesReportType = "SUBSCRIPTION_EVENT"
	SalesReportTypeSubscriber                      SalesReportType = "SUBSCRIBER"
	SalesReportTypeSubscriptionOfferCodeRedemption SalesReportType = "SUBSCRIPTION_OFFER_CODE_REDEMPTION"
	SalesReportTypeInstalls                        SalesReportType = "INSTALLS"
	SalesReportTypeFirstAnnual                     SalesReportType = "FIRST_ANNUAL"
	SalesReportTypeWinBackEligibility              SalesReportType = "WIN_BACK_ELIGIBILITY"
)

type SalesReportVersion

type SalesReportVersion string

SalesReportVersion represents the report format version.

const (
	SalesReportVersion1_0 SalesReportVersion = "1_0"
	SalesReportVersion1_1 SalesReportVersion = "1_1"
	SalesReportVersion1_2 SalesReportVersion = "1_2"
	SalesReportVersion1_3 SalesReportVersion = "1_3"
	SalesReportVersion1_4 SalesReportVersion = "1_4"
)

type SandboxTesterAttributes

type SandboxTesterAttributes struct {
	FirstName               string `json:"firstName,omitempty"`
	LastName                string `json:"lastName,omitempty"`
	Email                   string `json:"email,omitempty"`
	AccountName             string `json:"acAccountName,omitempty"`
	Password                string `json:"password,omitempty"`
	ConfirmPassword         string `json:"confirmPassword,omitempty"`
	SecretQuestion          string `json:"secretQuestion,omitempty"`
	SecretAnswer            string `json:"secretAnswer,omitempty"`
	BirthDate               string `json:"birthDate,omitempty"`
	AppStoreTerritory       string `json:"appStoreTerritory,omitempty"`
	Territory               string `json:"territory,omitempty"`
	ApplePayCompatible      *bool  `json:"applePayCompatible,omitempty"`
	InterruptPurchases      *bool  `json:"interruptPurchases,omitempty"`
	SubscriptionRenewalRate string `json:"subscriptionRenewalRate,omitempty"`
}

SandboxTesterAttributes describes a sandbox tester resource.

type SandboxTesterClearHistoryData

type SandboxTesterClearHistoryData struct {
	Type          ResourceType                           `json:"type"`
	Relationships SandboxTesterClearHistoryRelationships `json:"relationships"`
}

SandboxTesterClearHistoryData is the data portion of a clear history request.

type SandboxTesterClearHistoryRelationships

type SandboxTesterClearHistoryRelationships struct {
	SandboxTesters RelationshipList `json:"sandboxTesters"`
}

SandboxTesterClearHistoryRelationships describes relationships for clear history requests.

type SandboxTesterClearHistoryRequest

type SandboxTesterClearHistoryRequest struct {
	Data SandboxTesterClearHistoryData `json:"data"`
}

SandboxTesterClearHistoryRequest is a request to clear purchase history.

type SandboxTesterClearHistoryResponse

type SandboxTesterClearHistoryResponse = SingleResponse[struct{}]

SandboxTesterClearHistoryResponse is the response from clear history requests.

type SandboxTesterClearHistoryResult

type SandboxTesterClearHistoryResult struct {
	RequestID string `json:"requestId"`
	TesterID  string `json:"testerId"`
	Cleared   bool   `json:"cleared"`
}

SandboxTesterClearHistoryResult represents CLI output for clear history requests.

type SandboxTesterResponse

type SandboxTesterResponse = SingleResponse[SandboxTesterAttributes]

SandboxTesterResponse is the response from sandbox tester detail/creates.

type SandboxTesterSubscriptionRenewalRate

type SandboxTesterSubscriptionRenewalRate string

SandboxTesterSubscriptionRenewalRate represents renewal rate settings.

const (
	SandboxTesterRenewalEveryOneHour        SandboxTesterSubscriptionRenewalRate = "MONTHLY_RENEWAL_EVERY_ONE_HOUR"
	SandboxTesterRenewalEveryThirtyMinutes  SandboxTesterSubscriptionRenewalRate = "MONTHLY_RENEWAL_EVERY_THIRTY_MINUTES"
	SandboxTesterRenewalEveryFifteenMinutes SandboxTesterSubscriptionRenewalRate = "MONTHLY_RENEWAL_EVERY_FIFTEEN_MINUTES"
	SandboxTesterRenewalEveryFiveMinutes    SandboxTesterSubscriptionRenewalRate = "MONTHLY_RENEWAL_EVERY_FIVE_MINUTES"
	SandboxTesterRenewalEveryThreeMinutes   SandboxTesterSubscriptionRenewalRate = "MONTHLY_RENEWAL_EVERY_THREE_MINUTES"
)

type SandboxTesterUpdateAttributes

type SandboxTesterUpdateAttributes struct {
	Territory               *string                               `json:"territory,omitempty"`
	InterruptPurchases      *bool                                 `json:"interruptPurchases,omitempty"`
	SubscriptionRenewalRate *SandboxTesterSubscriptionRenewalRate `json:"subscriptionRenewalRate,omitempty"`
}

SandboxTesterUpdateAttributes describes attributes for updating a sandbox tester.

type SandboxTesterUpdateData

type SandboxTesterUpdateData struct {
	Type       ResourceType                  `json:"type"`
	ID         string                        `json:"id"`
	Attributes SandboxTesterUpdateAttributes `json:"attributes"`
}

SandboxTesterUpdateData is the data portion of a sandbox tester update request.

type SandboxTesterUpdateRequest

type SandboxTesterUpdateRequest struct {
	Data SandboxTesterUpdateData `json:"data"`
}

SandboxTesterUpdateRequest is a request to update a sandbox tester.

type SandboxTestersOption

type SandboxTestersOption func(*sandboxTestersQuery)

SandboxTestersOption is a functional option for GetSandboxTesters.

func WithSandboxTestersEmail

func WithSandboxTestersEmail(email string) SandboxTestersOption

WithSandboxTestersEmail filters sandbox testers by email address.

func WithSandboxTestersTerritory

func WithSandboxTestersTerritory(territory string) SandboxTestersOption

WithSandboxTestersTerritory filters sandbox testers by App Store territory code (e.g., USA).

type SandboxTestersResponse

type SandboxTestersResponse = Response[SandboxTesterAttributes]

SandboxTestersResponse is the response from sandbox testers endpoints.

type ScmGitReferenceAttributes

type ScmGitReferenceAttributes struct {
	Name          string `json:"name,omitempty"`
	CanonicalName string `json:"canonicalName,omitempty"`
	IsDeleted     bool   `json:"isDeleted,omitempty"`
	Kind          string `json:"kind,omitempty"`
}

ScmGitReferenceAttributes is the attributes object of the ScmGitReference schema.

type ScmGitReferenceRelationships

type ScmGitReferenceRelationships struct {
	Repository *Relationship `json:"repository,omitempty"`
}

ScmGitReferenceRelationships describes relationships for an SCM git reference.

type ScmGitReferenceResource

type ScmGitReferenceResource struct {
	Type          ResourceType                  `json:"type"`
	ID            string                        `json:"id"`
	Attributes    ScmGitReferenceAttributes     `json:"attributes"`
	Relationships *ScmGitReferenceRelationships `json:"relationships,omitempty"`
}

ScmGitReferenceResource represents an SCM git reference resource.

type ScmGitReferenceResponse

type ScmGitReferenceResponse struct {
	Data  ScmGitReferenceResource `json:"data"`
	Links Links                   `json:"links"`
}

ScmGitReferenceResponse is the response from SCM git reference detail endpoints.

type ScmGitReferencesOption

type ScmGitReferencesOption func(*scmGitReferencesQuery)

ScmGitReferencesOption sets the query of GET /v1/scmRepositories/{id}/gitReferences (scmRepositories_gitReferences_getToManyRelated).

type ScmGitReferencesResponse

type ScmGitReferencesResponse struct {
	Data  []ScmGitReferenceResource `json:"data"`
	Links Links                     `json:"links"`
}

ScmGitReferencesResponse is the response from SCM git references endpoints.

func (*ScmGitReferencesResponse) GetData

func (r *ScmGitReferencesResponse) GetData() any

GetData returns the data field for aggregation.

func (r *ScmGitReferencesResponse) GetLinks() *Links

GetLinks returns the links field for pagination.

type ScmProviderAttributes

type ScmProviderAttributes struct {
	ScmProviderType *ScmProviderType `json:"scmProviderType,omitempty"`
	URL             string           `json:"url,omitempty"`
}

ScmProviderAttributes is the attributes object of the ScmProvider schema.

type ScmProviderResource

type ScmProviderResource struct {
	Type       ResourceType          `json:"type"`
	ID         string                `json:"id"`
	Attributes ScmProviderAttributes `json:"attributes"`
}

ScmProviderResource represents an SCM provider resource.

type ScmProviderResponse

type ScmProviderResponse struct {
	Data  ScmProviderResource `json:"data"`
	Links Links               `json:"links"`
}

ScmProviderResponse is the response from SCM provider detail endpoints.

type ScmProviderType

type ScmProviderType struct {
	Kind        string `json:"kind,omitempty"`
	DisplayName string `json:"displayName,omitempty"`
	IsOnPremise bool   `json:"isOnPremise,omitempty"`
}

ScmProviderType describes the SCM provider type metadata.

type ScmProvidersOption

type ScmProvidersOption func(*scmProvidersQuery)

ScmProvidersOption sets the query of GET /v1/scmProviders (scmProviders_getCollection).

type ScmProvidersResponse

type ScmProvidersResponse struct {
	Data  []ScmProviderResource `json:"data"`
	Links Links                 `json:"links"`
}

ScmProvidersResponse is the response from SCM providers endpoints.

func (*ScmProvidersResponse) GetData

func (r *ScmProvidersResponse) GetData() any

GetData returns the data field for aggregation.

func (r *ScmProvidersResponse) GetLinks() *Links

GetLinks returns the links field for pagination.

type ScmPullRequestAttributes

type ScmPullRequestAttributes struct {
	Title                      string `json:"title,omitempty"`
	Number                     int    `json:"number,omitempty"`
	WebURL                     string `json:"webUrl,omitempty"`
	SourceRepositoryOwner      string `json:"sourceRepositoryOwner,omitempty"`
	SourceRepositoryName       string `json:"sourceRepositoryName,omitempty"`
	SourceBranchName           string `json:"sourceBranchName,omitempty"`
	DestinationRepositoryOwner string `json:"destinationRepositoryOwner,omitempty"`
	DestinationRepositoryName  string `json:"destinationRepositoryName,omitempty"`
	DestinationBranchName      string `json:"destinationBranchName,omitempty"`
	IsClosed                   bool   `json:"isClosed,omitempty"`
	IsCrossRepository          bool   `json:"isCrossRepository,omitempty"`
}

ScmPullRequestAttributes is the attributes object of the ScmPullRequest schema.

type ScmPullRequestRelationships

type ScmPullRequestRelationships struct {
	Repository *Relationship `json:"repository,omitempty"`
}

ScmPullRequestRelationships describes relationships for an SCM pull request.

type ScmPullRequestResource

type ScmPullRequestResource struct {
	Type          ResourceType                 `json:"type"`
	ID            string                       `json:"id"`
	Attributes    ScmPullRequestAttributes     `json:"attributes"`
	Relationships *ScmPullRequestRelationships `json:"relationships,omitempty"`
}

ScmPullRequestResource represents an SCM pull request resource.

type ScmPullRequestResponse

type ScmPullRequestResponse struct {
	Data  ScmPullRequestResource `json:"data"`
	Links Links                  `json:"links"`
}

ScmPullRequestResponse is the response from SCM pull request detail endpoints.

type ScmPullRequestsOption

type ScmPullRequestsOption func(*scmPullRequestsQuery)

ScmPullRequestsOption sets the query of GET /v1/scmRepositories/{id}/pullRequests (scmRepositories_pullRequests_getToManyRelated).

type ScmPullRequestsResponse

type ScmPullRequestsResponse struct {
	Data  []ScmPullRequestResource `json:"data"`
	Links Links                    `json:"links"`
}

ScmPullRequestsResponse is the response from SCM pull request endpoints.

func (*ScmPullRequestsResponse) GetData

func (r *ScmPullRequestsResponse) GetData() any

GetData returns the data field for aggregation.

func (r *ScmPullRequestsResponse) GetLinks() *Links

GetLinks returns the links field for pagination.

type ScmRepositoriesOption

type ScmRepositoriesOption func(*scmRepositoriesQuery)

ScmRepositoriesOption sets the query of GET /v1/scmRepositories (scmRepositories_getCollection) and GET /v1/scmProviders/{id}/repositories (scmProviders_repositories_getToManyRelated).

type ScmRepositoriesResponse

type ScmRepositoriesResponse struct {
	Data  []ScmRepositoryResource `json:"data"`
	Links Links                   `json:"links"`
}

ScmRepositoriesResponse is the response from SCM repositories endpoints.

func (*ScmRepositoriesResponse) GetData

func (r *ScmRepositoriesResponse) GetData() any

GetData returns the data field for aggregation.

func (r *ScmRepositoriesResponse) GetLinks() *Links

GetLinks returns the links field for pagination.

type ScmRepositoryAttributes

type ScmRepositoryAttributes struct {
	HTTPCloneURL     string `json:"httpCloneUrl,omitempty"`
	SSHCloneURL      string `json:"sshCloneUrl,omitempty"`
	OwnerName        string `json:"ownerName,omitempty"`
	RepositoryName   string `json:"repositoryName,omitempty"`
	LastAccessedDate string `json:"lastAccessedDate,omitempty"`
}

ScmRepositoryAttributes describes an SCM repository resource.

type ScmRepositoryRelationships

type ScmRepositoryRelationships struct {
	ScmProvider   *Relationship `json:"scmProvider,omitempty"`
	DefaultBranch *Relationship `json:"defaultBranch,omitempty"`
}

ScmRepositoryRelationships describes relationships for an SCM repository.

type ScmRepositoryResource

type ScmRepositoryResource struct {
	Type          ResourceType                `json:"type"`
	ID            string                      `json:"id"`
	Attributes    ScmRepositoryAttributes     `json:"attributes"`
	Relationships *ScmRepositoryRelationships `json:"relationships,omitempty"`
}

ScmRepositoryResource represents an SCM repository resource.

type ScreenshotDimension

type ScreenshotDimension struct {
	Width  int `json:"width"`
	Height int `json:"height"`
}

ScreenshotDimension represents a single allowed screenshot size.

func ScreenshotDimensions

func ScreenshotDimensions(displayType string) ([]ScreenshotDimension, bool)

ScreenshotDimensions returns a copy of allowed dimensions for a display type.

func (ScreenshotDimension) String

func (d ScreenshotDimension) String() string

type ScreenshotFrameBatchFile

type ScreenshotFrameBatchFile struct {
	Input       string `json:"input"`
	Path        string `json:"path"`
	Status      string `json:"status"`
	FramePath   string `json:"framePath,omitempty"`
	DisplayType string `json:"displayType,omitempty"`
	Width       int    `json:"width,omitempty"`
	Height      int    `json:"height,omitempty"`
	Error       string `json:"error,omitempty"`
}

ScreenshotFrameBatchFile is one input of a `screenshots frame --input-dir` run.

type ScreenshotFrameBatchResult

type ScreenshotFrameBatchResult struct {
	InputDir   string                     `json:"inputDir"`
	OutputDir  string                     `json:"outputDir"`
	Device     string                     `json:"device"`
	FrameColor string                     `json:"frameColor,omitempty"`
	Resume     bool                       `json:"resume"`
	Total      int                        `json:"total"`
	Framed     int                        `json:"framed"`
	Skipped    int                        `json:"skipped"`
	Failed     int                        `json:"failed"`
	Files      []ScreenshotFrameBatchFile `json:"files"`
}

ScreenshotFrameBatchResult is the receipt for `screenshots frame --input-dir`.

type ScreenshotSizeEntry

type ScreenshotSizeEntry struct {
	DisplayType string                `json:"displayType"`
	Family      string                `json:"family"`
	Dimensions  []ScreenshotDimension `json:"dimensions"`
}

ScreenshotSizeEntry describes allowed sizes for a display type.

func ScreenshotSizeCatalog

func ScreenshotSizeCatalog() []ScreenshotSizeEntry

ScreenshotSizeCatalog returns all display types with their allowed sizes.

func ScreenshotSizeEntryForDisplayType

func ScreenshotSizeEntryForDisplayType(displayType string) (ScreenshotSizeEntry, bool)

ScreenshotSizeEntryForDisplayType returns a catalog entry for a display type.

type ScreenshotSizesResult

type ScreenshotSizesResult struct {
	Sizes []ScreenshotSizeEntry `json:"sizes"`
}

ScreenshotSizesResult is the output container for sizes command.

type SigningFetchBatchFailure

type SigningFetchBatchFailure struct {
	BundleID      string                     `json:"bundleId"`
	Error         string                     `json:"error"`
	StaleProfiles *SigningFetchStaleProfiles `json:"staleProfiles,omitempty"`
	// ProfileID and ProfileCreationState report a profile this run created
	// ("created") or may have created ("unknown") before the target failed.
	ProfileID            string `json:"profileId,omitempty"`
	ProfileCreationState string `json:"profileCreationState,omitempty"`
}

SigningFetchBatchFailure is one matched bundle ID whose fetch failed. StaleProfiles is the --delete-stale-profiles receipt for that bundle ID, kept because deletions cannot be undone even when the fetch failed.

type SigningFetchBatchResult

type SigningFetchBatchResult struct {
	MatchedBundleIDs []string                   `json:"matchedBundleIds"`
	Results          []SigningFetchResult       `json:"results"`
	Failures         []SigningFetchBatchFailure `json:"failures,omitempty"`
}

SigningFetchBatchResult is the receipt for signing fetch --match-extensions when more than one registered bundle ID matched.

type SigningFetchResult

type SigningFetchResult struct {
	BundleID                 string                     `json:"bundleId"`
	BundleIDResource         string                     `json:"bundleIdResourceId"`
	ProfileType              string                     `json:"profileType"`
	ProfileID                string                     `json:"profileId"`
	ProfileFile              string                     `json:"profileFile"`
	CertificateIDs           []string                   `json:"certificateIds"`
	CertificateFiles         []string                   `json:"certificateFiles"`
	OutputPath               string                     `json:"outputPath"`
	Created                  bool                       `json:"created,omitempty"`
	CertificateCreated       *bool                      `json:"certificateCreated,omitempty"`
	CertificateSHA256        string                     `json:"certificateSha256,omitempty"`
	PrivateKeyPath           string                     `json:"privateKeyPath,omitempty"`
	CSRPath                  string                     `json:"csrPath,omitempty"`
	P12Path                  string                     `json:"p12Path,omitempty"`
	ProfilesMetadataPath     string                     `json:"profilesMetadataPath,omitempty"`
	CertificateCreationState string                     `json:"certificateCreationState,omitempty"`
	ProfileCreationState     string                     `json:"profileCreationState,omitempty"`
	Partial                  bool                       `json:"partial,omitempty"`
	StaleProfiles            *SigningFetchStaleProfiles `json:"staleProfiles,omitempty"`
}

SigningFetchResult represents CLI output for signing fetch.

type SigningFetchStaleProfiles

type SigningFetchStaleProfiles struct {
	DryRun  bool                         `json:"dryRun,omitempty"`
	Planned []SigningStaleProfile        `json:"planned"`
	Deleted []SigningStaleProfile        `json:"deleted"`
	Failed  []SigningStaleProfileFailure `json:"failed,omitempty"`
}

SigningFetchStaleProfiles reports the --delete-stale-profiles plan and its outcome. Planned lists every expired or INVALID profile found; Deleted lists only profiles Apple confirmed deleted; Failed lists profiles whose deletion returned an error. DryRun is true when nothing was deleted by design.

type SigningKeychainActionResult

type SigningKeychainActionResult struct {
	Action       string `json:"action"`
	KeychainPath string `json:"keychainPath"`
	Partition    string `json:"partition,omitempty"`
}

SigningKeychainActionResult is the non-secret receipt for a keychain mutation.

type SigningKeychainIdentity

type SigningKeychainIdentity struct {
	SHA256     string `json:"sha256"`
	SHA1       string `json:"sha1"`
	CommonName string `json:"commonName,omitempty"`
	ExpiresAt  string `json:"expiresAt,omitempty"`
}

SigningKeychainIdentity is a public certificate summary. It never includes a key.

type SigningKeychainInfo

type SigningKeychainInfo struct {
	Path         string                    `json:"path"`
	Exists       bool                      `json:"exists"`
	InSearchList bool                      `json:"inSearchList"`
	Locked       bool                      `json:"locked"`
	Identities   []SigningKeychainIdentity `json:"identities,omitempty"`
}

SigningKeychainInfo is one keychain in the user search list. Exists is false for a stale search-list entry whose keychain file is missing.

type SigningKeychainInstallResult added in v1.260831.0

type SigningKeychainInstallResult struct {
	Action            string `json:"action"`
	KeychainPath      string `json:"keychainPath"`
	CertificateSHA256 string `json:"certificateSha256"`
	CertificateSHA1   string `json:"certificateSha1"`
	TeamID            string `json:"teamId"`
	SearchListUpdated bool   `json:"searchListUpdated"`

	Intermediates []SigningKeychainIntermediate `json:"intermediates,omitempty"`
}

SigningKeychainInstallResult is the public, non-secret receipt for a persistent signing keychain installation.

type SigningKeychainIntermediate

type SigningKeychainIntermediate struct {
	Name   string `json:"name"`
	SHA256 string `json:"sha256"`
	Status string `json:"status"`
}

SigningKeychainIntermediate reports an embedded Apple intermediate certificate that matches the identity's issuer. Status is added or skipped-expired.

type SigningKeychainListResult

type SigningKeychainListResult struct {
	Keychains []SigningKeychainInfo `json:"keychains"`
}

SigningKeychainListResult lists user search-list keychains.

type SigningResignArtifactResult added in v1.260904.0

type SigningResignArtifactResult struct {
	Path      string `json:"path"`
	SizeBytes int64  `json:"sizeBytes"`
	SHA256    string `json:"sha256"`
}

SigningResignArtifactResult identifies a generated artifact and its digest.

type SigningResignEntitlementRewrite added in v1.260907.0

type SigningResignEntitlementRewrite struct {
	TargetRelativePath string `json:"targetRelativePath"`
	BundleID           string `json:"bundleId"`
	Key                string `json:"key"`
	ElementIndex       *int   `json:"elementIndex,omitempty"`
	From               any    `json:"from"`
	To                 any    `json:"to"`
}

SigningResignEntitlementRewrite records one explicitly requested, profile-authorized claim transformation. Values are emitted as the entitlement plist values, not as profile wildcards.

type SigningResignIdentityResult added in v1.260904.0

type SigningResignIdentityResult struct {
	CertificateSHA256 string `json:"certificateSha256"`
	TeamID            string `json:"teamId"`
}

SigningResignIdentityResult reports the certificate binding used for the local signing operation.

type SigningResignInputResult added in v1.260904.0

type SigningResignInputResult struct {
	SizeBytes int64  `json:"sizeBytes"`
	SHA256    string `json:"sha256"`
}

SigningResignInputResult identifies the source artifact without exposing its local path.

type SigningResignResult added in v1.260904.0

type SigningResignResult struct {
	SchemaVersion       int                                `json:"schemaVersion"`
	Command             string                             `json:"command"`
	Input               SigningResignInputResult           `json:"input"`
	Output              SigningResignArtifactResult        `json:"output"`
	Identity            SigningResignIdentityResult        `json:"identity"`
	Targets             []SigningResignTargetResult        `json:"targets"`
	EntitlementRewrites *[]SigningResignEntitlementRewrite `json:"entitlementRewrites,omitempty"`
	Verification        SigningResignVerification          `json:"verification"`
}

SigningResignResult is the stable computed output contract for `asc signing resign`.

type SigningResignTargetResult added in v1.260904.0

type SigningResignTargetResult struct {
	Kind           string `json:"kind"`
	RelativePath   string `json:"relativePath"`
	BundleID       string `json:"bundleId"`
	SourceBundleID string `json:"sourceBundleId,omitempty"`
	ProfileClass   string `json:"profileClass"`
	ProfileUUID    string `json:"profileUuid"`
	ProfileSHA256  string `json:"profileSha256"`
	Status         string `json:"status"`
}

SigningResignTargetResult reports one validated app-like target.

type SigningResignVerification added in v1.260904.0

type SigningResignVerification struct {
	Status string `json:"status"`
	Scope  string `json:"scope"`
}

SigningResignVerification reports the scope and result of post-signing verification.

type SigningStaleProfile

type SigningStaleProfile struct {
	ID             string `json:"id"`
	Name           string `json:"name"`
	ExpirationDate string `json:"expirationDate,omitempty"`
	State          string `json:"state,omitempty"`
}

SigningStaleProfile is one expired or invalid profile selected for deletion.

type SigningStaleProfileFailure

type SigningStaleProfileFailure struct {
	ID    string `json:"id"`
	Name  string `json:"name"`
	Error string `json:"error"`
}

SigningStaleProfileFailure is one stale profile whose deletion failed.

type SigningSyncImportCertificate

type SigningSyncImportCertificate struct {
	SourcePath     string `json:"sourcePath"`
	Type           string `json:"type"`
	Name           string `json:"name"`
	TeamID         string `json:"teamId"`
	SerialNumber   string `json:"serialNumber"`
	SHA256         string `json:"sha256"`
	ExpirationDate string `json:"expirationDate"`
}

SigningSyncImportCertificate is one certificate paired with its private key.

type SigningSyncImportProfile

type SigningSyncImportProfile struct {
	SourcePath     string `json:"sourcePath"`
	Name           string `json:"name"`
	UUID           string `json:"uuid"`
	BundleID       string `json:"bundleId"`
	ProfileType    string `json:"profileType"`
	TeamID         string `json:"teamId"`
	ExpirationDate string `json:"expirationDate"`
}

SigningSyncImportProfile is one verified provisioning profile.

type SigningSyncImportResult

type SigningSyncImportResult struct {
	Operation        string                         `json:"operation"`
	Source           string                         `json:"source"`
	RepoURL          string                         `json:"repoUrl,omitempty"`
	Storage          *SigningSyncStorage            `json:"storage,omitempty"`
	DryRun           bool                           `json:"dryRun"`
	Certificates     []SigningSyncImportCertificate `json:"certificates"`
	Profiles         []SigningSyncImportProfile     `json:"profiles"`
	Files            []string                       `json:"files"`
	PublicationState string                         `json:"publicationState"`
}

SigningSyncImportResult is the receipt for signing sync import. It lists every certificate and profile decrypted and verified from the source repository and the destination artifacts that were written or, with DryRun, would be written.

type SigningSyncNukeCertificates

type SigningSyncNukeCertificates struct {
	Planned []SigningSyncNukeResource `json:"planned"`
	Revoked []SigningSyncNukeResource `json:"revoked"`
	Failed  []SigningSyncNukeFailure  `json:"failed,omitempty"`
}

SigningSyncNukeCertificates reports the certificates selected and revoked by nuke.

type SigningSyncNukeFailure

type SigningSyncNukeFailure struct {
	ID    string `json:"id"`
	Name  string `json:"name,omitempty"`
	Error string `json:"error"`
}

SigningSyncNukeFailure is one profile deletion or certificate revocation that App Store Connect rejected.

type SigningSyncNukeFiles

type SigningSyncNukeFiles struct {
	Planned []string `json:"planned"`
	Removed []string `json:"removed"`
	Kept    []string `json:"kept,omitempty"`
}

SigningSyncNukeFiles reports encrypted repository artifacts. Kept lists planned artifacts retained because their App Store Connect resource was not deleted or revoked.

type SigningSyncNukeProfiles

type SigningSyncNukeProfiles struct {
	Planned []SigningSyncNukeResource `json:"planned"`
	Deleted []SigningSyncNukeResource `json:"deleted"`
	Failed  []SigningSyncNukeFailure  `json:"failed,omitempty"`
}

SigningSyncNukeProfiles reports the profiles selected and deleted by nuke.

type SigningSyncNukeResource

type SigningSyncNukeResource struct {
	ID             string `json:"id"`
	Name           string `json:"name,omitempty"`
	Type           string `json:"type"`
	SerialNumber   string `json:"serialNumber,omitempty"`
	ExpirationDate string `json:"expirationDate,omitempty"`
}

SigningSyncNukeResource is one App Store Connect profile or certificate.

type SigningSyncNukeResult

type SigningSyncNukeResult struct {
	Operation        string                      `json:"operation"`
	RepoURL          string                      `json:"repoUrl"`
	ProfileType      string                      `json:"profileType"`
	CertificateTypes []string                    `json:"certificateTypes"`
	DryRun           bool                        `json:"dryRun"`
	Profiles         SigningSyncNukeProfiles     `json:"profiles"`
	Certificates     SigningSyncNukeCertificates `json:"certificates"`
	RepositoryFiles  SigningSyncNukeFiles        `json:"repositoryFiles"`
	PublicationState string                      `json:"publicationState"`
	Partial          bool                        `json:"partial,omitempty"`
}

SigningSyncNukeResult is the receipt for signing sync nuke. Planned lists every resource and encrypted file selected before any mutation. Deleted, Revoked, and Removed list only the operations that completed; Failed lists the App Store Connect operations that returned an error. With DryRun, nothing is deleted, revoked, removed, or published.

type SigningSyncProfileLifecycle

type SigningSyncProfileLifecycle struct {
	Action                 string   `json:"action"`
	ProfileID              string   `json:"profileId,omitempty"`
	ReplacedProfileID      string   `json:"replacedProfileId,omitempty"`
	ReplacedProfileName    string   `json:"replacedProfileName,omitempty"`
	ReplacedExpirationDate string   `json:"replacedExpirationDate,omitempty"`
	ReplacedProfileState   string   `json:"replacedProfileState,omitempty"`
	DevicesAdded           []string `json:"devicesAdded,omitempty"`
	DevicesRemoved         []string `json:"devicesRemoved,omitempty"`
}

SigningSyncProfileLifecycle reports how signing sync push treated an existing profile when --renew-expired or --force-for-new-devices is set.

Action is unchanged when the existing profile was reused, renewed when an expired profile was replaced, or devices-refreshed when a profile was replaced because its devices differed from the requested device set. ReplacedProfileState is deleted after Apple confirmed the deletion of the replaced profile and unknown when the deletion request failed.

type SigningSyncResult added in v1.260831.0

type SigningSyncResult struct {
	Operation                string                    `json:"operation"`
	RepoURL                  string                    `json:"repoUrl"`
	Storage                  *SigningSyncStorage       `json:"storage,omitempty"`
	BundleID                 string                    `json:"bundleId"`
	ProfileType              string                    `json:"profileType"`
	Files                    []string                  `json:"files"`
	IdentityPresent          bool                      `json:"identityPresent"`
	IdentitySHA256           string                    `json:"identitySha256,omitempty"`
	SensitiveFiles           []string                  `json:"sensitiveFiles,omitempty"`
	BundleIDs                []string                  `json:"bundleIds,omitempty"`
	Targets                  []SigningSyncTargetResult `json:"targets,omitempty"`
	CertificateIDs           []string                  `json:"certificateIds,omitempty"`
	CertificateCreationState string                    `json:"certificateCreationState,omitempty"`
	ProfileCreationState     string                    `json:"profileCreationState,omitempty"`
	PublicationState         string                    `json:"publicationState,omitempty"`
	Partial                  bool                      `json:"partial,omitempty"`
	// ProfileLifecycle is set by single-target push with --renew-expired or
	// --force-for-new-devices when an existing profile was evaluated. Batch
	// results report it per target.
	ProfileLifecycle *SigningSyncProfileLifecycle `json:"profileLifecycle,omitempty"`
	SourceFormat     string                       `json:"sourceFormat,omitempty"`
	Skipped          []SigningSyncSkippedEntry    `json:"skipped,omitempty"`
	// contains filtered or unexported fields
}

SigningSyncResult is the structured output for signing sync operations. The singular BundleID field is retained for the historical single-target and pull JSON shape. Batch output marks itself explicitly so that an empty or partially populated computed result cannot accidentally reintroduce it.

func (*SigningSyncResult) MarkBatch added in v1.260831.0

func (result *SigningSyncResult) MarkBatch()

MarkBatch marks a computed result as the multi-target shape. It is kept out of JSON so the public contract remains the documented result fields only.

func (SigningSyncResult) MarshalJSON added in v1.260831.0

func (result SigningSyncResult) MarshalJSON() ([]byte, error)

MarshalJSON keeps the historical singular bundleId field for single-target and pull results while omitting it from the additive batch result.

type SigningSyncSkippedEntry

type SigningSyncSkippedEntry struct {
	Path   string `json:"path"`
	Reason string `json:"reason"`
}

SigningSyncSkippedEntry is a source entry that a signing sync operation did not use, with the reason.

type SigningSyncStorage

type SigningSyncStorage struct {
	Kind     string `json:"kind"`
	Location string `json:"location"`
	Branch   string `json:"branch,omitempty"`
}

SigningSyncStorage identifies where a signing sync operation keeps its encrypted artifacts. Location is the same non-secret locator reported in repoUrl. Branch is set only for git storage. There is no version field because one push can write many objects, each with its own version.

type SigningSyncTargetResult added in v1.260831.0

type SigningSyncTargetResult struct {
	BundleID                 string   `json:"bundleId"`
	ProfileType              string   `json:"profileType"`
	ProfilePath              string   `json:"profilePath"`
	ProfilePaths             []string `json:"profilePaths,omitempty"`
	ProfileCreated           bool     `json:"profileCreated"`
	CertificateCreationState string   `json:"certificateCreationState,omitempty"`
	ProfileCreationState     string   `json:"profileCreationState,omitempty"`
	Files                    []string `json:"files"`
	// ProfileLifecycle is set by push with --renew-expired or
	// --force-for-new-devices when an existing profile was evaluated.
	ProfileLifecycle *SigningSyncProfileLifecycle `json:"profileLifecycle,omitempty"`
}

SigningSyncTargetResult is the deterministic summary for one target in a multi-target signing sync operation.

type SingleResourceResponse

type SingleResourceResponse[T any] = types.SingleResourceResponse[T]

Generic resource types — aliases to types package.

type SingleResponse

type SingleResponse[T any] = types.SingleResponse[T]

Generic resource types — aliases to types package.

func RedactAppStoreReviewDetailIncludesInSingleResponse added in v1.260731.0

func RedactAppStoreReviewDetailIncludesInSingleResponse[T any](resp *SingleResponse[T]) (*SingleResponse[T], error)

RedactAppStoreReviewDetailIncludesInSingleResponse returns a presentation-safe copy whose included appStoreReviewDetails resources cannot expose a password.

type StateDetail

type StateDetail struct {
	Code        string `json:"code,omitempty"`
	Description string `json:"description,omitempty"`
	Message     string `json:"-"`
}

StateDetail represents details about a state (errors, warnings, infos).

App Store Connect describes state details with `code` and `description` (schemas StateDetail and AppMediaStateError); it does not send `message`. Message is kept as a decoded alias of Description so callers that read either field always see Apple's human-readable text. It is excluded from encoding so re-emitted payloads stay faithful to the App Store Connect wire format.

func (*StateDetail) UnmarshalJSON added in v1.260813.0

func (d *StateDetail) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes a state detail and mirrors the human-readable text across Description and Message so either field carries Apple's text.

type StatusNextCommand

type StatusNextCommand struct {
	Command string `json:"command"`
	Reason  string `json:"reason"`
	Mutates bool   `json:"mutates"`
}

StatusNextCommand is a runnable asc command suggested by the status dashboard for the current release state.

type StatusUntilResult

type StatusUntilResult struct {
	Until   string `json:"until"`
	Reached bool   `json:"reached"`
	Outcome string `json:"outcome"`
	State   string `json:"state,omitempty"`
	Polls   int    `json:"polls"`
}

StatusUntilResult is the final record of asc status --until. Reached is false only when the wait ended before the condition reached a terminal outcome.

type StoreAssetChange

type StoreAssetChange struct {
	Kind   string `json:"kind"`
	Locale string `json:"locale,omitempty"`
	Path   string `json:"path"`
	Action string `json:"action"`
	From   string `json:"from,omitempty"`
	To     string `json:"to,omitempty"`
}

StoreAssetChange binds an asset target and content to a reviewed plan.

type StoreAssetResult

type StoreAssetResult struct {
	PreviousID      string `json:"previousId,omitempty"`
	PreviousDeleted bool   `json:"previousDeleted,omitempty"`
	Kind            string `json:"kind"`
	Locale          string `json:"locale,omitempty"`
	Path            string `json:"path,omitempty"`
	ID              string `json:"id,omitempty"`
	Action          string `json:"action"`
	Status          string `json:"status"`
	Error           string `json:"error,omitempty"`
}

StoreAssetResult records a planned or completed store asset operation, including reservations that survive a failed transfer.

type StoreKitAccountTokenResult

type StoreKitAccountTokenResult struct {
	OriginalTransactionID string `json:"originalTransactionId"`
	AppAccountToken       string `json:"appAccountToken"`
	Updated               bool   `json:"updated"`
}

StoreKitAccountTokenResult acknowledges a successful account association.

type StoreKitConsumptionResult

type StoreKitConsumptionResult struct {
	TransactionID string `json:"transactionId"`
	Submitted     bool   `json:"submitted"`
}

StoreKitConsumptionResult acknowledges accepted consumption data, not a refund decision.

type StoreKitFinishResult

type StoreKitFinishResult struct {
	TransactionID string `json:"transactionId"`
	Finished      bool   `json:"finished"`
}

StoreKitFinishResult acknowledges that Apple accepted transaction finishing.

type SubscriptionAppStoreReviewScreenshotAttributes

type SubscriptionAppStoreReviewScreenshotAttributes struct {
	FileSize           int64               `json:"fileSize,omitempty"`
	FileName           string              `json:"fileName,omitempty"`
	SourceFileChecksum string              `json:"sourceFileChecksum,omitempty"`
	AssetToken         string              `json:"assetToken,omitempty"`
	AssetType          string              `json:"assetType,omitempty"`
	ImageAsset         *ImageAsset         `json:"imageAsset,omitempty"`
	UploadOperations   []UploadOperation   `json:"uploadOperations,omitempty"`
	AssetDeliveryState *AppMediaAssetState `json:"assetDeliveryState,omitempty"`
}

SubscriptionAppStoreReviewScreenshotAttributes describes a subscription review screenshot.

type SubscriptionAppStoreReviewScreenshotCreateAttributes

type SubscriptionAppStoreReviewScreenshotCreateAttributes struct {
	FileSize int64  `json:"fileSize"`
	FileName string `json:"fileName"`
}

SubscriptionAppStoreReviewScreenshotCreateAttributes describes attributes for creating review screenshots.

type SubscriptionAppStoreReviewScreenshotCreateData

type SubscriptionAppStoreReviewScreenshotCreateData struct {
	Type          ResourceType                                         `json:"type"`
	Attributes    SubscriptionAppStoreReviewScreenshotCreateAttributes `json:"attributes"`
	Relationships *SubscriptionAppStoreReviewScreenshotRelationships   `json:"relationships,omitempty"`
}

SubscriptionAppStoreReviewScreenshotCreateData is the data object of the SubscriptionAppStoreReviewScreenshotCreateRequest schema.

type SubscriptionAppStoreReviewScreenshotCreateRequest

type SubscriptionAppStoreReviewScreenshotCreateRequest struct {
	Data SubscriptionAppStoreReviewScreenshotCreateData `json:"data"`
}

SubscriptionAppStoreReviewScreenshotCreateRequest is the SubscriptionAppStoreReviewScreenshotCreateRequest schema.

type SubscriptionAppStoreReviewScreenshotOption added in v1.260625.0

type SubscriptionAppStoreReviewScreenshotOption func(*subscriptionAppStoreReviewScreenshotQuery)

SubscriptionAppStoreReviewScreenshotOption sets the query of GET /v1/subscriptionAppStoreReviewScreenshots/{id} (subscriptionAppStoreReviewScreenshots_getInstance) and GET /v1/subscriptions/{id}/appStoreReviewScreenshot (subscriptions_appStoreReviewScreenshot_getToOneRelated).

func WithSubscriptionAppStoreReviewScreenshotFields added in v1.260625.0

func WithSubscriptionAppStoreReviewScreenshotFields(fields []string) SubscriptionAppStoreReviewScreenshotOption

WithSubscriptionAppStoreReviewScreenshotFields sets fields[subscriptionAppStoreReviewScreenshots].

func WithSubscriptionAppStoreReviewScreenshotInclude added in v1.260722.0

func WithSubscriptionAppStoreReviewScreenshotInclude(include []string) SubscriptionAppStoreReviewScreenshotOption

WithSubscriptionAppStoreReviewScreenshotInclude sets include.

func WithSubscriptionAppStoreReviewScreenshotSubscriptionFields added in v1.260722.0

func WithSubscriptionAppStoreReviewScreenshotSubscriptionFields(fields []string) SubscriptionAppStoreReviewScreenshotOption

WithSubscriptionAppStoreReviewScreenshotSubscriptionFields sets fields[subscriptions].

type SubscriptionAppStoreReviewScreenshotRelationships

type SubscriptionAppStoreReviewScreenshotRelationships struct {
	Subscription *Relationship `json:"subscription"`
}

SubscriptionAppStoreReviewScreenshotRelationships is the data.relationships object of the SubscriptionAppStoreReviewScreenshotCreateRequest schema.

type SubscriptionAppStoreReviewScreenshotResponse

type SubscriptionAppStoreReviewScreenshotResponse = SingleResponse[SubscriptionAppStoreReviewScreenshotAttributes]

Response types for subscription resources.

type SubscriptionAppStoreReviewScreenshotUpdateAttributes

type SubscriptionAppStoreReviewScreenshotUpdateAttributes struct {
	SourceFileChecksum *string `json:"sourceFileChecksum,omitempty"`
	Uploaded           *bool   `json:"uploaded,omitempty"`
}

SubscriptionAppStoreReviewScreenshotUpdateAttributes is the data.attributes object of the SubscriptionAppStoreReviewScreenshotUpdateRequest schema.

type SubscriptionAppStoreReviewScreenshotUpdateData

type SubscriptionAppStoreReviewScreenshotUpdateData struct {
	Type       ResourceType                                         `json:"type"`
	ID         string                                               `json:"id"`
	Attributes SubscriptionAppStoreReviewScreenshotUpdateAttributes `json:"attributes"`
}

SubscriptionAppStoreReviewScreenshotUpdateData is the data portion of an update request.

type SubscriptionAppStoreReviewScreenshotUpdateRequest

type SubscriptionAppStoreReviewScreenshotUpdateRequest struct {
	Data SubscriptionAppStoreReviewScreenshotUpdateData `json:"data"`
}

SubscriptionAppStoreReviewScreenshotUpdateRequest is the SubscriptionAppStoreReviewScreenshotUpdateRequest schema.

type SubscriptionAttributes

type SubscriptionAttributes struct {
	Name                      string    `json:"name"`
	ProductID                 string    `json:"productId"`
	FamilySharable            bool      `json:"familySharable,omitempty"`
	State                     string    `json:"state,omitempty"`
	SubscriptionPeriod        string    `json:"subscriptionPeriod,omitempty"`
	ReviewNote                string    `json:"reviewNote,omitempty"`
	GroupLevel                int       `json:"groupLevel,omitempty"`
	AvailableInAllTerritories bool      `json:"availableInAllTerritories,omitempty"`
	MarketSettings            *[]string `json:"marketSettings,omitempty"`
	MultiSeatStatus           *string   `json:"multiSeatStatus,omitempty"`
	// contains filtered or unexported fields
}

SubscriptionAttributes describes a subscription resource.

func (SubscriptionAttributes) MarshalJSON

func (a SubscriptionAttributes) MarshalJSON() ([]byte, error)

func (*SubscriptionAttributes) UnmarshalJSON

func (a *SubscriptionAttributes) UnmarshalJSON(data []byte) error

type SubscriptionAvailabilityAttributes

type SubscriptionAvailabilityAttributes struct {
	AvailableInNewTerritories bool `json:"availableInNewTerritories"`
}

SubscriptionAvailabilityAttributes describes a subscription availability.

type SubscriptionAvailabilityCreateData

type SubscriptionAvailabilityCreateData struct {
	Type          ResourceType                           `json:"type"`
	Attributes    SubscriptionAvailabilityAttributes     `json:"attributes"`
	Relationships *SubscriptionAvailabilityRelationships `json:"relationships"`
}

SubscriptionAvailabilityCreateData is the data portion of availability create requests.

type SubscriptionAvailabilityCreateRequest

type SubscriptionAvailabilityCreateRequest struct {
	Data SubscriptionAvailabilityCreateData `json:"data"`
}

SubscriptionAvailabilityCreateRequest is the SubscriptionAvailabilityCreateRequest schema.

type SubscriptionAvailabilityRelationships

type SubscriptionAvailabilityRelationships struct {
	Subscription         *Relationship     `json:"subscription"`
	AvailableTerritories *RelationshipList `json:"availableTerritories"`
}

SubscriptionAvailabilityRelationships is the data.relationships object of the SubscriptionAvailabilityCreateRequest schema.

type SubscriptionAvailabilityResponse

type SubscriptionAvailabilityResponse = SingleResponse[SubscriptionAvailabilityAttributes]

SubscriptionAvailabilityResponse is the SubscriptionAvailabilityResponse schema.

type SubscriptionAvailabilityTerritoriesOption

type SubscriptionAvailabilityTerritoriesOption func(*subscriptionAvailabilityTerritoriesQuery)

SubscriptionAvailabilityTerritoriesOption sets the query of GET /v1/subscriptionAvailabilities/{id}/availableTerritories (subscriptionAvailabilities_availableTerritories_getToManyRelated) and GET /v1/subscriptionPlanAvailabilities/{id}/availableTerritories (subscriptionPlanAvailabilities_availableTerritories_getToManyRelated).

type SubscriptionCreateAttributes

type SubscriptionCreateAttributes struct {
	Name                      string `json:"name"`
	ProductID                 string `json:"productId"`
	FamilySharable            *bool  `json:"familySharable,omitempty"`
	SubscriptionPeriod        string `json:"subscriptionPeriod,omitempty"`
	ReviewNote                string `json:"reviewNote,omitempty"`
	GroupLevel                *int   `json:"groupLevel,omitempty"`
	AvailableInAllTerritories *bool  `json:"availableInAllTerritories,omitempty"`
}

SubscriptionCreateAttributes describes attributes for creating a subscription.

type SubscriptionCreateData

type SubscriptionCreateData struct {
	Type          ResourceType                 `json:"type"`
	Attributes    SubscriptionCreateAttributes `json:"attributes"`
	Relationships *SubscriptionRelationships   `json:"relationships,omitempty"`
}

SubscriptionCreateData is the data object of the SubscriptionCreateRequest schema.

type SubscriptionCreateRequest

type SubscriptionCreateRequest struct {
	Data SubscriptionCreateData `json:"data"`
}

SubscriptionCreateRequest is the SubscriptionCreateRequest schema.

type SubscriptionCustomerEligibility

type SubscriptionCustomerEligibility string

SubscriptionCustomerEligibility represents eligible customer types for offers.

const (
	SubscriptionCustomerEligibilityNew      SubscriptionCustomerEligibility = "NEW"
	SubscriptionCustomerEligibilityExisting SubscriptionCustomerEligibility = "EXISTING"
	SubscriptionCustomerEligibilityExpired  SubscriptionCustomerEligibility = "EXPIRED"
)

type SubscriptionGracePeriodAttributes

type SubscriptionGracePeriodAttributes struct {
	OptIn        bool   `json:"optIn,omitempty"`
	SandboxOptIn bool   `json:"sandboxOptIn,omitempty"`
	Duration     string `json:"duration,omitempty"`
	RenewalType  string `json:"renewalType,omitempty"`
}

SubscriptionGracePeriodAttributes is the attributes object of the SubscriptionGracePeriod schema.

type SubscriptionGracePeriodDuration

type SubscriptionGracePeriodDuration string

SubscriptionGracePeriodDuration represents grace period duration values.

const (
	SubscriptionGracePeriodDurationThreeDays       SubscriptionGracePeriodDuration = "THREE_DAYS"
	SubscriptionGracePeriodDurationSixteenDays     SubscriptionGracePeriodDuration = "SIXTEEN_DAYS"
	SubscriptionGracePeriodDurationTwentyEightDays SubscriptionGracePeriodDuration = "TWENTY_EIGHT_DAYS"
)

type SubscriptionGracePeriodRenewalType

type SubscriptionGracePeriodRenewalType string

SubscriptionGracePeriodRenewalType represents grace period renewal type values.

const (
	SubscriptionGracePeriodRenewalTypeAllRenewals    SubscriptionGracePeriodRenewalType = "ALL_RENEWALS"
	SubscriptionGracePeriodRenewalTypePaidToPaidOnly SubscriptionGracePeriodRenewalType = "PAID_TO_PAID_ONLY"
)

type SubscriptionGracePeriodResponse

type SubscriptionGracePeriodResponse = SingleResponse[SubscriptionGracePeriodAttributes]

SubscriptionGracePeriodResponse is the SubscriptionGracePeriodResponse schema.

type SubscriptionGracePeriodUpdateAttributes

type SubscriptionGracePeriodUpdateAttributes struct {
	OptIn        *bool   `json:"optIn,omitempty"`
	SandboxOptIn *bool   `json:"sandboxOptIn,omitempty"`
	Duration     *string `json:"duration,omitempty"`
	RenewalType  *string `json:"renewalType,omitempty"`
}

SubscriptionGracePeriodUpdateAttributes is the data.attributes object of the SubscriptionGracePeriodUpdateRequest schema.

type SubscriptionGracePeriodUpdateData

type SubscriptionGracePeriodUpdateData struct {
	Type       ResourceType                            `json:"type"`
	ID         string                                  `json:"id"`
	Attributes SubscriptionGracePeriodUpdateAttributes `json:"attributes"`
}

SubscriptionGracePeriodUpdateData is the data portion of an update request.

type SubscriptionGracePeriodUpdateRequest

type SubscriptionGracePeriodUpdateRequest struct {
	Data SubscriptionGracePeriodUpdateData `json:"data"`
}

SubscriptionGracePeriodUpdateRequest is the SubscriptionGracePeriodUpdateRequest schema.

type SubscriptionGroupAttributes

type SubscriptionGroupAttributes struct {
	ReferenceName string `json:"referenceName"`
}

SubscriptionGroupAttributes describes a subscription group resource.

type SubscriptionGroupCreateAttributes

type SubscriptionGroupCreateAttributes struct {
	ReferenceName string `json:"referenceName"`
}

SubscriptionGroupCreateAttributes is the data.attributes object of the SubscriptionGroupCreateRequest schema.

type SubscriptionGroupCreateData

type SubscriptionGroupCreateData struct {
	Type          ResourceType                      `json:"type"`
	Attributes    SubscriptionGroupCreateAttributes `json:"attributes"`
	Relationships *SubscriptionGroupRelationships   `json:"relationships,omitempty"`
}

SubscriptionGroupCreateData is the data object of the SubscriptionGroupCreateRequest schema.

type SubscriptionGroupCreateRequest

type SubscriptionGroupCreateRequest struct {
	Data SubscriptionGroupCreateData `json:"data"`
}

SubscriptionGroupCreateRequest is the SubscriptionGroupCreateRequest schema.

type SubscriptionGroupLocalizationAttributes

type SubscriptionGroupLocalizationAttributes struct {
	Name          string `json:"name,omitempty"`
	CustomAppName string `json:"customAppName,omitempty"`
	Locale        string `json:"locale,omitempty"`
	State         string `json:"state,omitempty"`
}

SubscriptionGroupLocalizationAttributes is the attributes object of the SubscriptionGroupLocalization schema.

type SubscriptionGroupLocalizationCreateAttributes

type SubscriptionGroupLocalizationCreateAttributes struct {
	Name          string `json:"name"`
	CustomAppName string `json:"customAppName,omitempty"`
	Locale        string `json:"locale"`
}

SubscriptionGroupLocalizationCreateAttributes describes attributes for creating group localizations.

type SubscriptionGroupLocalizationCreateData

type SubscriptionGroupLocalizationCreateData struct {
	Type          ResourceType                                  `json:"type"`
	Attributes    SubscriptionGroupLocalizationCreateAttributes `json:"attributes"`
	Relationships *SubscriptionGroupLocalizationRelationships   `json:"relationships,omitempty"`
}

SubscriptionGroupLocalizationCreateData is the data object of the SubscriptionGroupLocalizationCreateRequest schema.

type SubscriptionGroupLocalizationCreateRequest

type SubscriptionGroupLocalizationCreateRequest struct {
	Data SubscriptionGroupLocalizationCreateData `json:"data"`
}

SubscriptionGroupLocalizationCreateRequest is the SubscriptionGroupLocalizationCreateRequest schema.

type SubscriptionGroupLocalizationRelationships

type SubscriptionGroupLocalizationRelationships struct {
	SubscriptionGroup *Relationship `json:"subscriptionGroup"`
}

SubscriptionGroupLocalizationRelationships is the data.relationships object of the SubscriptionGroupLocalizationCreateRequest schema.

type SubscriptionGroupLocalizationResponse

type SubscriptionGroupLocalizationResponse = SingleResponse[SubscriptionGroupLocalizationAttributes]

Response types for subscription resources.

type SubscriptionGroupLocalizationV2Attributes added in v1.260722.0

type SubscriptionGroupLocalizationV2Attributes struct {
	Name          string `json:"name,omitempty"`
	CustomAppName string `json:"customAppName,omitempty"`
	Locale        string `json:"locale,omitempty"`
}

SubscriptionGroupLocalizationV2Attributes is the attributes object of the SubscriptionGroupLocalizationV2 schema.

type SubscriptionGroupLocalizationV2CreateAttributes added in v1.260722.0

type SubscriptionGroupLocalizationV2CreateAttributes struct {
	Name          string          `json:"name"`
	CustomAppName *NullableString `json:"customAppName,omitempty"`
	Locale        string          `json:"locale"`
}

SubscriptionGroupLocalizationV2CreateAttributes describes version-scoped localization attributes.

type SubscriptionGroupLocalizationV2CreateData added in v1.260722.0

type SubscriptionGroupLocalizationV2CreateData struct {
	Type          ResourceType                                       `json:"type"`
	Attributes    SubscriptionGroupLocalizationV2CreateAttributes    `json:"attributes"`
	Relationships SubscriptionGroupLocalizationV2CreateRelationships `json:"relationships"`
}

SubscriptionGroupLocalizationV2CreateData is the data object of the SubscriptionGroupLocalizationV2CreateRequest schema.

type SubscriptionGroupLocalizationV2CreateRelationships added in v1.260722.0

type SubscriptionGroupLocalizationV2CreateRelationships struct {
	Version Relationship `json:"version"`
}

SubscriptionGroupLocalizationV2CreateRelationships is the data.relationships object of the SubscriptionGroupLocalizationV2CreateRequest schema.

type SubscriptionGroupLocalizationV2CreateRequest added in v1.260722.0

type SubscriptionGroupLocalizationV2CreateRequest struct {
	Data SubscriptionGroupLocalizationV2CreateData `json:"data"`
}

SubscriptionGroupLocalizationV2CreateRequest is the SubscriptionGroupLocalizationV2CreateRequest schema.

type SubscriptionGroupLocalizationV2Response added in v1.260722.0

type SubscriptionGroupLocalizationV2Response = SingleResponse[SubscriptionGroupLocalizationV2Attributes]

type SubscriptionGroupLocalizationV2UpdateAttributes added in v1.260722.0

type SubscriptionGroupLocalizationV2UpdateAttributes struct {
	Name          *NullableString `json:"name,omitempty"`
	CustomAppName *NullableString `json:"customAppName,omitempty"`
}

SubscriptionGroupLocalizationV2UpdateAttributes describes nullable v2 updates.

type SubscriptionGroupLocalizationV2UpdateData added in v1.260722.0

type SubscriptionGroupLocalizationV2UpdateData struct {
	Type       ResourceType                                     `json:"type"`
	ID         string                                           `json:"id"`
	Attributes *SubscriptionGroupLocalizationV2UpdateAttributes `json:"attributes,omitempty"`
}

SubscriptionGroupLocalizationV2UpdateData is the data object of the SubscriptionGroupLocalizationV2UpdateRequest schema.

type SubscriptionGroupLocalizationV2UpdateRequest added in v1.260722.0

type SubscriptionGroupLocalizationV2UpdateRequest struct {
	Data SubscriptionGroupLocalizationV2UpdateData `json:"data"`
}

SubscriptionGroupLocalizationV2UpdateRequest is the SubscriptionGroupLocalizationV2UpdateRequest schema.

type SubscriptionGroupLocalizationsOption

type SubscriptionGroupLocalizationsOption func(*subscriptionGroupLocalizationsQuery)

SubscriptionGroupLocalizationsOption sets the query of GET /v1/subscriptionGroups/{id}/subscriptionGroupLocalizations (subscriptionGroups_subscriptionGroupLocalizations_getToManyRelated).

type SubscriptionGroupLocalizationsResponse

type SubscriptionGroupLocalizationsResponse = Response[SubscriptionGroupLocalizationAttributes]

Response types for subscription resources.

type SubscriptionGroupLocalizationsV2Response added in v1.260722.0

type SubscriptionGroupLocalizationsV2Response = Response[SubscriptionGroupLocalizationV2Attributes]

type SubscriptionGroupRelationships

type SubscriptionGroupRelationships struct {
	App                            *Relationship     `json:"app,omitempty"`
	Subscriptions                  *RelationshipList `json:"subscriptions,omitempty"`
	SubscriptionGroupLocalizations *RelationshipList `json:"subscriptionGroupLocalizations,omitempty"`
	Versions                       *RelationshipList `json:"versions,omitempty"`
}

SubscriptionGroupRelationships describes relationships for groups.

type SubscriptionGroupResponse

type SubscriptionGroupResponse = SingleResponse[SubscriptionGroupAttributes]

SubscriptionGroupResponse is the SubscriptionGroupResponse schema.

type SubscriptionGroupUpdateAttributes

type SubscriptionGroupUpdateAttributes struct {
	ReferenceName *string `json:"referenceName,omitempty"`
}

SubscriptionGroupUpdateAttributes is the data.attributes object of the SubscriptionGroupUpdateRequest schema.

type SubscriptionGroupUpdateData

type SubscriptionGroupUpdateData struct {
	Type       ResourceType                      `json:"type"`
	ID         string                            `json:"id"`
	Attributes SubscriptionGroupUpdateAttributes `json:"attributes"`
}

SubscriptionGroupUpdateData is the data portion of a group update request.

type SubscriptionGroupUpdateRequest

type SubscriptionGroupUpdateRequest struct {
	Data SubscriptionGroupUpdateData `json:"data"`
}

SubscriptionGroupUpdateRequest is the SubscriptionGroupUpdateRequest schema.

type SubscriptionGroupVersionAttributes added in v1.260722.0

type SubscriptionGroupVersionAttributes struct {
	Version int    `json:"version,omitempty"`
	State   string `json:"state,omitempty"`
}

SubscriptionGroupVersionAttributes is the attributes object of the SubscriptionGroupVersion schema.

type SubscriptionGroupVersionCreateData added in v1.260722.0

type SubscriptionGroupVersionCreateData struct {
	Type          ResourceType                                `json:"type"`
	Relationships SubscriptionGroupVersionCreateRelationships `json:"relationships"`
}

SubscriptionGroupVersionCreateData is the data object of the SubscriptionGroupVersionCreateRequest schema.

type SubscriptionGroupVersionCreateRelationships added in v1.260722.0

type SubscriptionGroupVersionCreateRelationships struct {
	SubscriptionGroup Relationship `json:"subscriptionGroup"`
}

SubscriptionGroupVersionCreateRelationships is the data.relationships object of the SubscriptionGroupVersionCreateRequest schema.

type SubscriptionGroupVersionCreateRequest added in v1.260722.0

type SubscriptionGroupVersionCreateRequest struct {
	Data SubscriptionGroupVersionCreateData `json:"data"`
}

SubscriptionGroupVersionCreateRequest is the SubscriptionGroupVersionCreateRequest schema.

type SubscriptionGroupVersionLocalizationsOption added in v1.260722.0

type SubscriptionGroupVersionLocalizationsOption func(*subscriptionGroupVersionLocalizationsQuery)

func WithSubscriptionGroupVersionLocalizationsFields added in v1.260722.0

func WithSubscriptionGroupVersionLocalizationsFields(fields []string) SubscriptionGroupVersionLocalizationsOption

func WithSubscriptionGroupVersionLocalizationsInclude added in v1.260722.0

func WithSubscriptionGroupVersionLocalizationsInclude(include []string) SubscriptionGroupVersionLocalizationsOption

func WithSubscriptionGroupVersionLocalizationsNextURL added in v1.260722.0

func WithSubscriptionGroupVersionLocalizationsNextURL(next string) SubscriptionGroupVersionLocalizationsOption

func WithSubscriptionGroupVersionLocalizationsVersionFields added in v1.260722.0

func WithSubscriptionGroupVersionLocalizationsVersionFields(fields []string) SubscriptionGroupVersionLocalizationsOption

type SubscriptionGroupVersionResponse added in v1.260722.0

type SubscriptionGroupVersionResponse = SingleResponse[SubscriptionGroupVersionAttributes]

type SubscriptionGroupVersionsOption added in v1.260722.0

type SubscriptionGroupVersionsOption func(*subscriptionGroupVersionsQuery)

func WithSubscriptionGroupVersionsFields added in v1.260722.0

func WithSubscriptionGroupVersionsFields(fields []string) SubscriptionGroupVersionsOption

func WithSubscriptionGroupVersionsGroupFields added in v1.260722.0

func WithSubscriptionGroupVersionsGroupFields(fields []string) SubscriptionGroupVersionsOption

func WithSubscriptionGroupVersionsInclude added in v1.260722.0

func WithSubscriptionGroupVersionsInclude(include []string) SubscriptionGroupVersionsOption

func WithSubscriptionGroupVersionsLocalizationFields added in v1.260722.0

func WithSubscriptionGroupVersionsLocalizationFields(fields []string) SubscriptionGroupVersionsOption

func WithSubscriptionGroupVersionsLocalizationsLimit added in v1.260722.0

func WithSubscriptionGroupVersionsLocalizationsLimit(limit int) SubscriptionGroupVersionsOption

func WithSubscriptionGroupVersionsNextURL added in v1.260722.0

func WithSubscriptionGroupVersionsNextURL(next string) SubscriptionGroupVersionsOption

func WithSubscriptionGroupVersionsStates added in v1.260722.0

func WithSubscriptionGroupVersionsStates(states []string) SubscriptionGroupVersionsOption

type SubscriptionGroupVersionsResponse added in v1.260722.0

type SubscriptionGroupVersionsResponse = Response[SubscriptionGroupVersionAttributes]

type SubscriptionGroupsOption

type SubscriptionGroupsOption func(*subscriptionGroupsQuery)

SubscriptionGroupsOption is a functional option for GetSubscriptionGroups.

func WithSubscriptionGroupsFields added in v1.260722.0

func WithSubscriptionGroupsFields(fields []string) SubscriptionGroupsOption

WithSubscriptionGroupsFields sets sparse fields for subscription groups.

func WithSubscriptionGroupsInclude added in v1.260722.0

func WithSubscriptionGroupsInclude(include []string) SubscriptionGroupsOption

WithSubscriptionGroupsInclude includes related resources in group responses.

func WithSubscriptionGroupsLocalizationFields

func WithSubscriptionGroupsLocalizationFields(fields []string) SubscriptionGroupsOption

WithSubscriptionGroupsLocalizationFields sets sparse fields for included group localizations.

func WithSubscriptionGroupsSubscriptionFields

func WithSubscriptionGroupsSubscriptionFields(fields []string) SubscriptionGroupsOption

WithSubscriptionGroupsSubscriptionFields sets sparse fields for included subscriptions.

func WithSubscriptionGroupsVersionFields added in v1.260722.0

func WithSubscriptionGroupsVersionFields(fields []string) SubscriptionGroupsOption

WithSubscriptionGroupsVersionFields sets sparse fields for included versions.

func WithSubscriptionGroupsVersionsLimit added in v1.260722.0

func WithSubscriptionGroupsVersionsLimit(limit int) SubscriptionGroupsOption

WithSubscriptionGroupsVersionsLimit sets the included versions relationship limit.

type SubscriptionGroupsResponse

type SubscriptionGroupsResponse = Response[SubscriptionGroupAttributes]

SubscriptionGroupsResponse is the response from subscription groups endpoints.

type SubscriptionImageAttributes

type SubscriptionImageAttributes struct {
	FileSize           int64             `json:"fileSize,omitempty"`
	FileName           string            `json:"fileName,omitempty"`
	SourceFileChecksum string            `json:"sourceFileChecksum,omitempty"`
	AssetToken         string            `json:"assetToken,omitempty"`
	ImageAsset         *ImageAsset       `json:"imageAsset,omitempty"`
	UploadOperations   []UploadOperation `json:"uploadOperations,omitempty"`
	State              string            `json:"state,omitempty"`
}

SubscriptionImageAttributes describes a subscription image resource.

type SubscriptionImageV2Attributes added in v1.260722.0

type SubscriptionImageV2Attributes struct {
	FileSize           int64               `json:"fileSize,omitempty"`
	FileName           string              `json:"fileName,omitempty"`
	AssetToken         string              `json:"assetToken,omitempty"`
	ImageAsset         *ImageAsset         `json:"imageAsset,omitempty"`
	UploadOperations   []UploadOperation   `json:"uploadOperations,omitempty"`
	AssetDeliveryState *AppMediaAssetState `json:"assetDeliveryState,omitempty"`
}

SubscriptionImageV2Attributes describes a version-scoped subscription image.

type SubscriptionImageV2CreateAttributes added in v1.260722.0

type SubscriptionImageV2CreateAttributes struct {
	FileSize int64  `json:"fileSize"`
	FileName string `json:"fileName"`
}

SubscriptionImageV2CreateAttributes describes image reservation attributes.

type SubscriptionImageV2CreateData added in v1.260722.0

type SubscriptionImageV2CreateData struct {
	Type          ResourceType                        `json:"type"`
	Attributes    SubscriptionImageV2CreateAttributes `json:"attributes"`
	Relationships *SubscriptionVersionRelationship    `json:"relationships"`
}

SubscriptionImageV2CreateData is the data object of the SubscriptionImageV2CreateRequest schema.

type SubscriptionImageV2CreateRequest added in v1.260722.0

type SubscriptionImageV2CreateRequest struct {
	Data SubscriptionImageV2CreateData `json:"data"`
}

SubscriptionImageV2CreateRequest is the SubscriptionImageV2CreateRequest schema.

type SubscriptionImageV2Option added in v1.260722.0

type SubscriptionImageV2Option func(*subscriptionImageV2Query)

SubscriptionImageV2Option sets the query of GET /v2/subscriptionImages/{id} (subscriptionImagesV2_getInstance) and GET /v1/subscriptionVersions/{id}/image (subscriptionVersions_image_getToOneRelated).

func WithSubscriptionImageV2Fields added in v1.260722.0

func WithSubscriptionImageV2Fields(fields []string) SubscriptionImageV2Option

WithSubscriptionImageV2Fields sets fields[subscriptionImages].

type SubscriptionImageV2Response added in v1.260722.0

type SubscriptionImageV2Response = SingleResponse[SubscriptionImageV2Attributes]

type SubscriptionImageV2UpdateAttributes added in v1.260722.0

type SubscriptionImageV2UpdateAttributes struct {
	Uploaded *NullableBool `json:"uploaded,omitempty"`
}

SubscriptionImageV2UpdateAttributes describes the upload commit state.

type SubscriptionImageV2UpdateData added in v1.260722.0

type SubscriptionImageV2UpdateData struct {
	Type       ResourceType                        `json:"type"`
	ID         string                              `json:"id"`
	Attributes SubscriptionImageV2UpdateAttributes `json:"attributes,omitempty"`
}

SubscriptionImageV2UpdateData is the data portion of an image update request.

type SubscriptionImageV2UpdateRequest added in v1.260722.0

type SubscriptionImageV2UpdateRequest struct {
	Data SubscriptionImageV2UpdateData `json:"data"`
}

SubscriptionImageV2UpdateRequest is the SubscriptionImageV2UpdateRequest schema.

type SubscriptionImagesOption

type SubscriptionImagesOption func(*subscriptionImagesQuery)

SubscriptionImagesOption sets the query of GET /v1/subscriptions/{id}/images (subscriptions_images_getToManyRelated).

type SubscriptionImagesResponse

type SubscriptionImagesResponse = Response[SubscriptionImageAttributes]

Response types for subscription resources.

type SubscriptionImagesV2Response added in v1.260722.0

type SubscriptionImagesV2Response = Response[SubscriptionImageV2Attributes]

type SubscriptionInlinePrice added in v1.260716.0

type SubscriptionInlinePrice struct {
	PricePointID string
	TerritoryID  string
	Attributes   SubscriptionPriceCreateAttributes
}

SubscriptionInlinePrice describes one price in an atomic subscription price matrix update.

type SubscriptionIntroductoryOfferAttributes

type SubscriptionIntroductoryOfferAttributes struct {
	StartDate                  string                    `json:"startDate,omitempty"`
	EndDate                    string                    `json:"endDate,omitempty"`
	Duration                   SubscriptionOfferDuration `json:"duration,omitempty"`
	OfferMode                  SubscriptionOfferMode     `json:"offerMode,omitempty"`
	NumberOfPeriods            int                       `json:"numberOfPeriods,omitempty"`
	TargetSubscriptionPlanType SubscriptionPlanType      `json:"targetSubscriptionPlanType,omitempty"`
}

SubscriptionIntroductoryOfferAttributes is the attributes object of the SubscriptionIntroductoryOffer schema.

type SubscriptionIntroductoryOfferCreateAttributes

type SubscriptionIntroductoryOfferCreateAttributes struct {
	StartDate                  string                    `json:"startDate,omitempty"`
	EndDate                    string                    `json:"endDate,omitempty"`
	Duration                   SubscriptionOfferDuration `json:"duration"`
	OfferMode                  SubscriptionOfferMode     `json:"offerMode"`
	NumberOfPeriods            int                       `json:"numberOfPeriods"`
	TargetSubscriptionPlanType SubscriptionPlanType      `json:"targetSubscriptionPlanType,omitempty"`
}

SubscriptionIntroductoryOfferCreateAttributes describes attributes for creating an introductory offer.

type SubscriptionIntroductoryOfferCreateData

type SubscriptionIntroductoryOfferCreateData struct {
	Type          ResourceType                                  `json:"type"`
	Attributes    SubscriptionIntroductoryOfferCreateAttributes `json:"attributes"`
	Relationships *SubscriptionIntroductoryOfferRelationships   `json:"relationships,omitempty"`
}

SubscriptionIntroductoryOfferCreateData is the data object of the SubscriptionIntroductoryOfferCreateRequest schema.

type SubscriptionIntroductoryOfferCreateRequest

type SubscriptionIntroductoryOfferCreateRequest struct {
	Data SubscriptionIntroductoryOfferCreateData `json:"data"`
}

SubscriptionIntroductoryOfferCreateRequest is the SubscriptionIntroductoryOfferCreateRequest schema.

type SubscriptionIntroductoryOfferCreateSummary added in v1.260822.0

type SubscriptionIntroductoryOfferCreateSummary struct {
	SubscriptionID  string                                              `json:"subscriptionId"`
	AvailabilityID  string                                              `json:"availabilityId,omitempty"`
	Territory       string                                              `json:"territory,omitempty"`
	AllTerritories  bool                                                `json:"allTerritories"`
	DryRun          bool                                                `json:"dryRun"`
	ContinueOnError bool                                                `json:"continueOnError"`
	Total           int                                                 `json:"total"`
	Created         int                                                 `json:"created"`
	Skipped         int                                                 `json:"skipped"`
	Failed          int                                                 `json:"failed"`
	Skips           []SubscriptionIntroductoryOfferCreateSummarySkip    `json:"skips,omitempty"`
	Failures        []SubscriptionIntroductoryOfferCreateSummaryFailure `json:"failures,omitempty"`
}

SubscriptionIntroductoryOfferCreateSummary describes a single- or all-territories introductory-offer create operation.

type SubscriptionIntroductoryOfferCreateSummaryFailure added in v1.260822.0

type SubscriptionIntroductoryOfferCreateSummaryFailure struct {
	Territory string `json:"territory"`
	Error     string `json:"error"`
}

SubscriptionIntroductoryOfferCreateSummaryFailure records a territory that could not be processed.

type SubscriptionIntroductoryOfferCreateSummarySkip added in v1.260822.0

type SubscriptionIntroductoryOfferCreateSummarySkip struct {
	Territory string `json:"territory"`
	Reason    string `json:"reason"`
}

SubscriptionIntroductoryOfferCreateSummarySkip records an existing offer that was not recreated in an all-territories operation.

type SubscriptionIntroductoryOfferRelationships

type SubscriptionIntroductoryOfferRelationships struct {
	Subscription           *Relationship `json:"subscription"`
	Territory              *Relationship `json:"territory,omitempty"`
	SubscriptionPricePoint *Relationship `json:"subscriptionPricePoint,omitempty"`
}

SubscriptionIntroductoryOfferRelationships is the data.relationships object of the SubscriptionIntroductoryOfferCreateRequest schema.

type SubscriptionIntroductoryOfferResponse

type SubscriptionIntroductoryOfferResponse = SingleResponse[SubscriptionIntroductoryOfferAttributes]

Response types for subscription resources.

type SubscriptionIntroductoryOfferUpdateAttributes

type SubscriptionIntroductoryOfferUpdateAttributes struct {
	EndDate *string `json:"endDate,omitempty"`
}

SubscriptionIntroductoryOfferUpdateAttributes is the data.attributes object of the SubscriptionIntroductoryOfferUpdateRequest schema.

type SubscriptionIntroductoryOfferUpdateData

type SubscriptionIntroductoryOfferUpdateData struct {
	Type       ResourceType                                  `json:"type"`
	ID         string                                        `json:"id"`
	Attributes SubscriptionIntroductoryOfferUpdateAttributes `json:"attributes"`
}

SubscriptionIntroductoryOfferUpdateData is the data portion of an introductory offer update request.

type SubscriptionIntroductoryOfferUpdateRequest

type SubscriptionIntroductoryOfferUpdateRequest struct {
	Data SubscriptionIntroductoryOfferUpdateData `json:"data"`
}

SubscriptionIntroductoryOfferUpdateRequest is the SubscriptionIntroductoryOfferUpdateRequest schema.

type SubscriptionIntroductoryOffersOption

type SubscriptionIntroductoryOffersOption func(*subscriptionIntroductoryOffersQuery)

SubscriptionIntroductoryOffersOption sets the query of GET /v1/subscriptions/{id}/introductoryOffers (subscriptions_introductoryOffers_getToManyRelated).

func WithSubscriptionIntroductoryOffersFields added in v1.260625.0

func WithSubscriptionIntroductoryOffersFields(fields []string) SubscriptionIntroductoryOffersOption

WithSubscriptionIntroductoryOffersFields sets fields[subscriptionIntroductoryOffers].

func WithSubscriptionIntroductoryOffersInclude added in v1.260625.0

func WithSubscriptionIntroductoryOffersInclude(include []string) SubscriptionIntroductoryOffersOption

WithSubscriptionIntroductoryOffersInclude sets include.

func WithSubscriptionIntroductoryOffersPricePointFields added in v1.260722.0

func WithSubscriptionIntroductoryOffersPricePointFields(fields []string) SubscriptionIntroductoryOffersOption

WithSubscriptionIntroductoryOffersPricePointFields sets fields[subscriptionPricePoints].

func WithSubscriptionIntroductoryOffersSubscriptionFields added in v1.260722.0

func WithSubscriptionIntroductoryOffersSubscriptionFields(fields []string) SubscriptionIntroductoryOffersOption

WithSubscriptionIntroductoryOffersSubscriptionFields sets fields[subscriptions].

func WithSubscriptionIntroductoryOffersTerritories

func WithSubscriptionIntroductoryOffersTerritories(territories []string) SubscriptionIntroductoryOffersOption

WithSubscriptionIntroductoryOffersTerritories sets filter[territory].

type SubscriptionIntroductoryOffersResponse

type SubscriptionIntroductoryOffersResponse = Response[SubscriptionIntroductoryOfferAttributes]

Response types for subscription resources.

type SubscriptionLocalizationAttributes

type SubscriptionLocalizationAttributes struct {
	Name        string `json:"name,omitempty"`
	Locale      string `json:"locale,omitempty"`
	Description string `json:"description,omitempty"`
	State       string `json:"state,omitempty"`
}

SubscriptionLocalizationAttributes is the attributes object of the SubscriptionLocalization schema.

type SubscriptionLocalizationCreateAttributes

type SubscriptionLocalizationCreateAttributes struct {
	Name        string `json:"name"`
	Locale      string `json:"locale"`
	Description string `json:"description,omitempty"`
}

SubscriptionLocalizationCreateAttributes describes attributes for creating a localization.

type SubscriptionLocalizationCreateData

type SubscriptionLocalizationCreateData struct {
	Type          ResourceType                             `json:"type"`
	Attributes    SubscriptionLocalizationCreateAttributes `json:"attributes"`
	Relationships *SubscriptionLocalizationRelationships   `json:"relationships,omitempty"`
}

SubscriptionLocalizationCreateData is the data object of the SubscriptionLocalizationCreateRequest schema.

type SubscriptionLocalizationCreateRequest

type SubscriptionLocalizationCreateRequest struct {
	Data SubscriptionLocalizationCreateData `json:"data"`
}

SubscriptionLocalizationCreateRequest is the SubscriptionLocalizationCreateRequest schema.

type SubscriptionLocalizationRelationships

type SubscriptionLocalizationRelationships struct {
	Subscription *Relationship `json:"subscription"`
}

SubscriptionLocalizationRelationships is the data.relationships object of the SubscriptionLocalizationCreateRequest schema.

type SubscriptionLocalizationResponse

type SubscriptionLocalizationResponse = SingleResponse[SubscriptionLocalizationAttributes]

Response types for subscription resources.

type SubscriptionLocalizationV2Attributes added in v1.260722.0

type SubscriptionLocalizationV2Attributes struct {
	Name        string `json:"name,omitempty"`
	Locale      string `json:"locale,omitempty"`
	Description string `json:"description,omitempty"`
}

SubscriptionLocalizationV2Attributes is the attributes object of the SubscriptionLocalizationV2 schema.

type SubscriptionLocalizationV2CreateAttributes added in v1.260722.0

type SubscriptionLocalizationV2CreateAttributes struct {
	Name        string          `json:"name"`
	Locale      string          `json:"locale"`
	Description *NullableString `json:"description,omitempty"`
}

SubscriptionLocalizationV2CreateAttributes describes localization create attributes.

type SubscriptionLocalizationV2CreateData added in v1.260722.0

type SubscriptionLocalizationV2CreateData struct {
	Type          ResourceType                               `json:"type"`
	Attributes    SubscriptionLocalizationV2CreateAttributes `json:"attributes"`
	Relationships *SubscriptionVersionRelationship           `json:"relationships"`
}

SubscriptionLocalizationV2CreateData is the data object of the SubscriptionLocalizationV2CreateRequest schema.

type SubscriptionLocalizationV2CreateRequest added in v1.260722.0

type SubscriptionLocalizationV2CreateRequest struct {
	Data SubscriptionLocalizationV2CreateData `json:"data"`
}

SubscriptionLocalizationV2CreateRequest is the SubscriptionLocalizationV2CreateRequest schema.

type SubscriptionLocalizationV2Option added in v1.260722.0

type SubscriptionLocalizationV2Option func(*subscriptionLocalizationV2Query)

SubscriptionLocalizationV2Option sets the query of GET /v2/subscriptionLocalizations/{id} (subscriptionLocalizationsV2_getInstance).

func WithSubscriptionLocalizationV2Fields added in v1.260722.0

func WithSubscriptionLocalizationV2Fields(fields []string) SubscriptionLocalizationV2Option

WithSubscriptionLocalizationV2Fields sets fields[subscriptionLocalizations].

func WithSubscriptionLocalizationV2Include added in v1.260722.0

func WithSubscriptionLocalizationV2Include(include []string) SubscriptionLocalizationV2Option

WithSubscriptionLocalizationV2Include sets include.

func WithSubscriptionLocalizationV2VersionFields added in v1.260722.0

func WithSubscriptionLocalizationV2VersionFields(fields []string) SubscriptionLocalizationV2Option

WithSubscriptionLocalizationV2VersionFields sets fields[subscriptionVersions].

type SubscriptionLocalizationV2Response added in v1.260722.0

type SubscriptionLocalizationV2Response = SingleResponse[SubscriptionLocalizationV2Attributes]

type SubscriptionLocalizationV2UpdateAttributes added in v1.260722.0

type SubscriptionLocalizationV2UpdateAttributes struct {
	Name        *NullableString `json:"name,omitempty"`
	Description *NullableString `json:"description,omitempty"`
}

SubscriptionLocalizationV2UpdateAttributes describes localization update attributes.

type SubscriptionLocalizationV2UpdateData added in v1.260722.0

type SubscriptionLocalizationV2UpdateData struct {
	Type       ResourceType                               `json:"type"`
	ID         string                                     `json:"id"`
	Attributes SubscriptionLocalizationV2UpdateAttributes `json:"attributes,omitempty"`
}

SubscriptionLocalizationV2UpdateData is the data portion of a localization update request.

type SubscriptionLocalizationV2UpdateRequest added in v1.260722.0

type SubscriptionLocalizationV2UpdateRequest struct {
	Data SubscriptionLocalizationV2UpdateData `json:"data"`
}

SubscriptionLocalizationV2UpdateRequest is the SubscriptionLocalizationV2UpdateRequest schema.

type SubscriptionLocalizationsOption

type SubscriptionLocalizationsOption func(*subscriptionLocalizationsQuery)

SubscriptionLocalizationsOption sets the query of GET /v1/subscriptions/{id}/subscriptionLocalizations (subscriptions_subscriptionLocalizations_getToManyRelated).

type SubscriptionLocalizationsResponse

type SubscriptionLocalizationsResponse = Response[SubscriptionLocalizationAttributes]

Response types for subscription resources.

type SubscriptionLocalizationsV2Response added in v1.260722.0

type SubscriptionLocalizationsV2Response = Response[SubscriptionLocalizationV2Attributes]

type SubscriptionOfferCodeAttributes

type SubscriptionOfferCodeAttributes struct {
	Name                       string                            `json:"name,omitempty"`
	OfferEligibility           SubscriptionOfferEligibility      `json:"offerEligibility,omitempty"`
	CustomerEligibilities      []SubscriptionCustomerEligibility `json:"customerEligibilities,omitempty"`
	Duration                   SubscriptionOfferDuration         `json:"duration,omitempty"`
	OfferMode                  SubscriptionOfferMode             `json:"offerMode,omitempty"`
	NumberOfPeriods            int                               `json:"numberOfPeriods,omitempty"`
	AutoRenewEnabled           *bool                             `json:"autoRenewEnabled,omitempty"`
	Active                     bool                              `json:"active,omitempty"`
	TotalNumberOfCodes         int                               `json:"totalNumberOfCodes,omitempty"`
	ProductionCodeCount        int                               `json:"productionCodeCount,omitempty"`
	SandboxCodeCount           int                               `json:"sandboxCodeCount,omitempty"`
	TargetSubscriptionPlanType SubscriptionPlanType              `json:"targetSubscriptionPlanType,omitempty"`
}

SubscriptionOfferCodeAttributes describes a subscription offer code.

type SubscriptionOfferCodeCreateAttributes

type SubscriptionOfferCodeCreateAttributes struct {
	Name                       string                            `json:"name"`
	OfferEligibility           SubscriptionOfferEligibility      `json:"offerEligibility"`
	CustomerEligibilities      []SubscriptionCustomerEligibility `json:"customerEligibilities"`
	Duration                   SubscriptionOfferDuration         `json:"duration"`
	OfferMode                  SubscriptionOfferMode             `json:"offerMode"`
	NumberOfPeriods            int                               `json:"numberOfPeriods"`
	AutoRenewEnabled           *bool                             `json:"autoRenewEnabled,omitempty"`
	TargetSubscriptionPlanType SubscriptionPlanType              `json:"targetSubscriptionPlanType,omitempty"`
}

SubscriptionOfferCodeCreateAttributes describes attributes for creating an offer code.

type SubscriptionOfferCodeCreateData

type SubscriptionOfferCodeCreateData struct {
	Type          ResourceType                          `json:"type"`
	Attributes    SubscriptionOfferCodeCreateAttributes `json:"attributes"`
	Relationships SubscriptionOfferCodeRelationships    `json:"relationships"`
}

SubscriptionOfferCodeCreateData is the data object of the SubscriptionOfferCodeCreateRequest schema.

type SubscriptionOfferCodeCreateRequest

type SubscriptionOfferCodeCreateRequest struct {
	Data     SubscriptionOfferCodeCreateData          `json:"data"`
	Included []SubscriptionOfferCodePriceInlineCreate `json:"included,omitempty"`
}

SubscriptionOfferCodeCreateRequest is a request to create an offer code.

type SubscriptionOfferCodeCustomCodeAttributes

type SubscriptionOfferCodeCustomCodeAttributes struct {
	CustomCode     string `json:"customCode,omitempty"`
	NumberOfCodes  int    `json:"numberOfCodes,omitempty"`
	CreatedDate    string `json:"createdDate,omitempty"`
	ExpirationDate string `json:"expirationDate,omitempty"`
	Active         bool   `json:"active,omitempty"`
}

SubscriptionOfferCodeCustomCodeAttributes is the attributes object of the SubscriptionOfferCodeCustomCode schema.

type SubscriptionOfferCodeCustomCodeCreateAttributes

type SubscriptionOfferCodeCustomCodeCreateAttributes struct {
	CustomCode     string  `json:"customCode"`
	NumberOfCodes  int     `json:"numberOfCodes"`
	ExpirationDate *string `json:"expirationDate,omitempty"`
}

SubscriptionOfferCodeCustomCodeCreateAttributes is the data.attributes object of the SubscriptionOfferCodeCustomCodeCreateRequest schema.

type SubscriptionOfferCodeCustomCodeCreateData

type SubscriptionOfferCodeCustomCodeCreateData struct {
	Type          ResourceType                                       `json:"type"`
	Attributes    SubscriptionOfferCodeCustomCodeCreateAttributes    `json:"attributes"`
	Relationships SubscriptionOfferCodeCustomCodeCreateRelationships `json:"relationships"`
}

SubscriptionOfferCodeCustomCodeCreateData is the data object of the SubscriptionOfferCodeCustomCodeCreateRequest schema.

type SubscriptionOfferCodeCustomCodeCreateRelationships

type SubscriptionOfferCodeCustomCodeCreateRelationships struct {
	OfferCode Relationship `json:"offerCode"`
}

SubscriptionOfferCodeCustomCodeCreateRelationships is the data.relationships object of the SubscriptionOfferCodeCustomCodeCreateRequest schema.

type SubscriptionOfferCodeCustomCodeCreateRequest

type SubscriptionOfferCodeCustomCodeCreateRequest struct {
	Data SubscriptionOfferCodeCustomCodeCreateData `json:"data"`
}

SubscriptionOfferCodeCustomCodeCreateRequest is the SubscriptionOfferCodeCustomCodeCreateRequest schema.

type SubscriptionOfferCodeCustomCodeResponse

type SubscriptionOfferCodeCustomCodeResponse = SingleResponse[SubscriptionOfferCodeCustomCodeAttributes]

SubscriptionOfferCodeCustomCodeResponse is the SubscriptionOfferCodeCustomCodeResponse schema.

type SubscriptionOfferCodeCustomCodeUpdateAttributes

type SubscriptionOfferCodeCustomCodeUpdateAttributes struct {
	Active *bool `json:"active,omitempty"`
}

SubscriptionOfferCodeCustomCodeUpdateAttributes is the data.attributes object of the SubscriptionOfferCodeCustomCodeUpdateRequest schema.

type SubscriptionOfferCodeCustomCodeUpdateData

type SubscriptionOfferCodeCustomCodeUpdateData struct {
	Type       ResourceType                                    `json:"type"`
	ID         string                                          `json:"id"`
	Attributes SubscriptionOfferCodeCustomCodeUpdateAttributes `json:"attributes"`
}

SubscriptionOfferCodeCustomCodeUpdateData is the data portion of an update request.

type SubscriptionOfferCodeCustomCodeUpdateRequest

type SubscriptionOfferCodeCustomCodeUpdateRequest struct {
	Data SubscriptionOfferCodeCustomCodeUpdateData `json:"data"`
}

SubscriptionOfferCodeCustomCodeUpdateRequest is the SubscriptionOfferCodeCustomCodeUpdateRequest schema.

type SubscriptionOfferCodeCustomCodesOption

type SubscriptionOfferCodeCustomCodesOption func(*subscriptionOfferCodeCustomCodesQuery)

SubscriptionOfferCodeCustomCodesOption sets the query of GET /v1/subscriptionOfferCodes/{id}/customCodes (subscriptionOfferCodes_customCodes_getToManyRelated).

type SubscriptionOfferCodeCustomCodesResponse

type SubscriptionOfferCodeCustomCodesResponse = Response[SubscriptionOfferCodeCustomCodeAttributes]

Response types for subscription resources.

type SubscriptionOfferCodeOneTimeUseCodeAttributes

type SubscriptionOfferCodeOneTimeUseCodeAttributes struct {
	NumberOfCodes  int    `json:"numberOfCodes,omitempty"`
	CreatedDate    string `json:"createdDate,omitempty"`
	ExpirationDate string `json:"expirationDate,omitempty"`
	Active         bool   `json:"active,omitempty"`
	Environment    string `json:"environment,omitempty"`
}

SubscriptionOfferCodeOneTimeUseCodeAttributes is the attributes object of the SubscriptionOfferCodeOneTimeUseCode schema.

type SubscriptionOfferCodeOneTimeUseCodeCreateAttributes

type SubscriptionOfferCodeOneTimeUseCodeCreateAttributes struct {
	NumberOfCodes  int    `json:"numberOfCodes"`
	ExpirationDate string `json:"expirationDate"`
	Environment    string `json:"environment,omitempty"`
}

SubscriptionOfferCodeOneTimeUseCodeCreateAttributes describes attributes for generating offer codes.

type SubscriptionOfferCodeOneTimeUseCodeCreateData

type SubscriptionOfferCodeOneTimeUseCodeCreateData struct {
	Type          ResourceType                                           `json:"type"`
	Attributes    SubscriptionOfferCodeOneTimeUseCodeCreateAttributes    `json:"attributes"`
	Relationships SubscriptionOfferCodeOneTimeUseCodeCreateRelationships `json:"relationships"`
}

SubscriptionOfferCodeOneTimeUseCodeCreateData is the data object of the SubscriptionOfferCodeOneTimeUseCodeCreateRequest schema.

type SubscriptionOfferCodeOneTimeUseCodeCreateRelationships

type SubscriptionOfferCodeOneTimeUseCodeCreateRelationships struct {
	OfferCode Relationship `json:"offerCode"`
}

SubscriptionOfferCodeOneTimeUseCodeCreateRelationships is the data.relationships object of the SubscriptionOfferCodeOneTimeUseCodeCreateRequest schema.

type SubscriptionOfferCodeOneTimeUseCodeCreateRequest

type SubscriptionOfferCodeOneTimeUseCodeCreateRequest struct {
	Data SubscriptionOfferCodeOneTimeUseCodeCreateData `json:"data"`
}

SubscriptionOfferCodeOneTimeUseCodeCreateRequest is the SubscriptionOfferCodeOneTimeUseCodeCreateRequest schema.

type SubscriptionOfferCodeOneTimeUseCodeResponse

type SubscriptionOfferCodeOneTimeUseCodeResponse = SingleResponse[SubscriptionOfferCodeOneTimeUseCodeAttributes]

SubscriptionOfferCodeOneTimeUseCodeResponse is the SubscriptionOfferCodeOneTimeUseCodeResponse schema.

type SubscriptionOfferCodeOneTimeUseCodeUpdateAttributes

type SubscriptionOfferCodeOneTimeUseCodeUpdateAttributes struct {
	Active *bool `json:"active,omitempty"`
}

SubscriptionOfferCodeOneTimeUseCodeUpdateAttributes is the data.attributes object of the SubscriptionOfferCodeOneTimeUseCodeUpdateRequest schema.

type SubscriptionOfferCodeOneTimeUseCodeUpdateData

type SubscriptionOfferCodeOneTimeUseCodeUpdateData struct {
	Type       ResourceType                                        `json:"type"`
	ID         string                                              `json:"id"`
	Attributes SubscriptionOfferCodeOneTimeUseCodeUpdateAttributes `json:"attributes"`
}

SubscriptionOfferCodeOneTimeUseCodeUpdateData is the data portion of an update request.

type SubscriptionOfferCodeOneTimeUseCodeUpdateRequest

type SubscriptionOfferCodeOneTimeUseCodeUpdateRequest struct {
	Data SubscriptionOfferCodeOneTimeUseCodeUpdateData `json:"data"`
}

SubscriptionOfferCodeOneTimeUseCodeUpdateRequest is the SubscriptionOfferCodeOneTimeUseCodeUpdateRequest schema.

type SubscriptionOfferCodeOneTimeUseCodesOption

type SubscriptionOfferCodeOneTimeUseCodesOption func(*subscriptionOfferCodeOneTimeUseCodesQuery)

SubscriptionOfferCodeOneTimeUseCodesOption sets the query of GET /v1/subscriptionOfferCodes/{id}/oneTimeUseCodes (subscriptionOfferCodes_oneTimeUseCodes_getToManyRelated).

type SubscriptionOfferCodeOneTimeUseCodesResponse

type SubscriptionOfferCodeOneTimeUseCodesResponse = Response[SubscriptionOfferCodeOneTimeUseCodeAttributes]

SubscriptionOfferCodeOneTimeUseCodesResponse is the response from list endpoints.

type SubscriptionOfferCodeOption added in v1.260722.0

type SubscriptionOfferCodeOption func(*subscriptionRelatedFieldsQuery)

SubscriptionOfferCodeOption configures a subscription offer code detail read.

func WithSubscriptionOfferCodeInclude added in v1.260722.0

func WithSubscriptionOfferCodeInclude(include []string) SubscriptionOfferCodeOption

WithSubscriptionOfferCodeInclude sets relationships to include on an offer code detail read.

func WithSubscriptionOfferCodeSubscriptionFields added in v1.260722.0

func WithSubscriptionOfferCodeSubscriptionFields(fields []string) SubscriptionOfferCodeOption

WithSubscriptionOfferCodeSubscriptionFields sets fields[subscriptions] on an offer code detail read.

type SubscriptionOfferCodePrice

type SubscriptionOfferCodePrice struct {
	TerritoryID  string
	PricePointID string
}

type SubscriptionOfferCodePriceAttributes

type SubscriptionOfferCodePriceAttributes struct{}

SubscriptionOfferCodePriceAttributes describes offer code price resources.

type SubscriptionOfferCodePriceInlineCreate

type SubscriptionOfferCodePriceInlineCreate struct {
	Type          ResourceType                            `json:"type"`
	ID            string                                  `json:"id,omitempty"`
	Relationships SubscriptionOfferCodePriceRelationships `json:"relationships"`
}

SubscriptionOfferCodePriceInlineCreate describes inline creation data for prices.

type SubscriptionOfferCodePriceRelationships

type SubscriptionOfferCodePriceRelationships struct {
	Territory              Relationship  `json:"territory"`
	SubscriptionPricePoint *Relationship `json:"subscriptionPricePoint,omitempty"`
}

SubscriptionOfferCodePriceRelationships describes price relationships.

type SubscriptionOfferCodePricesOption

type SubscriptionOfferCodePricesOption func(*subscriptionOfferCodePricesQuery)

SubscriptionOfferCodePricesOption sets the query of GET /v1/subscriptionOfferCodes/{id}/prices (subscriptionOfferCodes_prices_getToManyRelated).

func WithSubscriptionOfferCodePricesInclude added in v1.260722.0

func WithSubscriptionOfferCodePricesInclude(include []string) SubscriptionOfferCodePricesOption

WithSubscriptionOfferCodePricesInclude sets include.

func WithSubscriptionOfferCodePricesPricePointFields added in v1.260722.0

func WithSubscriptionOfferCodePricesPricePointFields(fields []string) SubscriptionOfferCodePricesOption

WithSubscriptionOfferCodePricesPricePointFields sets fields[subscriptionPricePoints].

type SubscriptionOfferCodePricesResponse

type SubscriptionOfferCodePricesResponse = Response[SubscriptionOfferCodePriceAttributes]

Response types for subscription resources.

type SubscriptionOfferCodeRelationships

type SubscriptionOfferCodeRelationships struct {
	Subscription Relationship     `json:"subscription"`
	Prices       RelationshipList `json:"prices"`
}

SubscriptionOfferCodeRelationships is the data.relationships object of the SubscriptionOfferCodeCreateRequest schema.

type SubscriptionOfferCodeResponse

type SubscriptionOfferCodeResponse = SingleResponse[SubscriptionOfferCodeAttributes]

Response types for subscription resources.

type SubscriptionOfferCodeUpdateAttributes

type SubscriptionOfferCodeUpdateAttributes struct {
	Active *bool `json:"active,omitempty"`
}

SubscriptionOfferCodeUpdateAttributes is the data.attributes object of the SubscriptionOfferCodeUpdateRequest schema.

type SubscriptionOfferCodeUpdateData

type SubscriptionOfferCodeUpdateData struct {
	Type       ResourceType                          `json:"type"`
	ID         string                                `json:"id"`
	Attributes SubscriptionOfferCodeUpdateAttributes `json:"attributes"`
}

SubscriptionOfferCodeUpdateData is the data portion of an offer code update request.

type SubscriptionOfferCodeUpdateRequest

type SubscriptionOfferCodeUpdateRequest struct {
	Data SubscriptionOfferCodeUpdateData `json:"data"`
}

SubscriptionOfferCodeUpdateRequest is the SubscriptionOfferCodeUpdateRequest schema.

type SubscriptionOfferCodesOption

type SubscriptionOfferCodesOption func(*subscriptionOfferCodesQuery)

SubscriptionOfferCodesOption sets the query of GET /v1/subscriptions/{id}/offerCodes (subscriptions_offerCodes_getToManyRelated).

func WithSubscriptionOfferCodesInclude added in v1.260722.0

func WithSubscriptionOfferCodesInclude(include []string) SubscriptionOfferCodesOption

WithSubscriptionOfferCodesInclude sets include.

func WithSubscriptionOfferCodesSubscriptionFields added in v1.260722.0

func WithSubscriptionOfferCodesSubscriptionFields(fields []string) SubscriptionOfferCodesOption

WithSubscriptionOfferCodesSubscriptionFields sets fields[subscriptions].

type SubscriptionOfferCodesResponse

type SubscriptionOfferCodesResponse = Response[SubscriptionOfferCodeAttributes]

Response types for subscription resources.

type SubscriptionOfferDuration

type SubscriptionOfferDuration string

SubscriptionOfferDuration represents subscription offer durations.

const (
	SubscriptionOfferDurationThreeDays   SubscriptionOfferDuration = "THREE_DAYS"
	SubscriptionOfferDurationOneWeek     SubscriptionOfferDuration = "ONE_WEEK"
	SubscriptionOfferDurationTwoWeeks    SubscriptionOfferDuration = "TWO_WEEKS"
	SubscriptionOfferDurationOneMonth    SubscriptionOfferDuration = "ONE_MONTH"
	SubscriptionOfferDurationTwoMonths   SubscriptionOfferDuration = "TWO_MONTHS"
	SubscriptionOfferDurationThreeMonths SubscriptionOfferDuration = "THREE_MONTHS"
	SubscriptionOfferDurationSixMonths   SubscriptionOfferDuration = "SIX_MONTHS"
	SubscriptionOfferDurationOneYear     SubscriptionOfferDuration = "ONE_YEAR"
)

type SubscriptionOfferEligibility

type SubscriptionOfferEligibility string

SubscriptionOfferEligibility represents how offer codes interact with intro offers.

const (
	SubscriptionOfferEligibilityStackWithIntroOffers SubscriptionOfferEligibility = "STACK_WITH_INTRO_OFFERS"
	SubscriptionOfferEligibilityReplaceIntroOffers   SubscriptionOfferEligibility = "REPLACE_INTRO_OFFERS"
)

type SubscriptionOfferMode

type SubscriptionOfferMode string

SubscriptionOfferMode represents subscription offer billing modes.

const (
	SubscriptionOfferModePayAsYouGo SubscriptionOfferMode = "PAY_AS_YOU_GO"
	SubscriptionOfferModePayUpFront SubscriptionOfferMode = "PAY_UP_FRONT"
	SubscriptionOfferModeFreeTrial  SubscriptionOfferMode = "FREE_TRIAL"
)

type SubscriptionOption added in v1.260722.0

type SubscriptionOption func(*subscriptionQuery)

SubscriptionOption is a functional option for GetSubscription.

func WithSubscriptionFields added in v1.260722.0

func WithSubscriptionFields(fields []string) SubscriptionOption

WithSubscriptionFields sets sparse fields for a subscription detail response.

func WithSubscriptionInclude added in v1.260722.0

func WithSubscriptionInclude(include []string) SubscriptionOption

WithSubscriptionInclude sets relationships to include for a subscription detail response.

func WithSubscriptionIncludedVersionFields added in v1.260722.0

func WithSubscriptionIncludedVersionFields(fields []string) SubscriptionOption

WithSubscriptionIncludedVersionFields sets sparse fields for included versions.

func WithSubscriptionRelatedFields

func WithSubscriptionRelatedFields(fields SubscriptionRelatedFields) SubscriptionOption

WithSubscriptionRelatedFields sets sparse fields for included related resources.

func WithSubscriptionVersionLimit added in v1.260722.0

func WithSubscriptionVersionLimit(limit int) SubscriptionOption

WithSubscriptionVersionLimit sets the maximum included versions.

type SubscriptionPeriod

type SubscriptionPeriod string

SubscriptionPeriod represents subscription period values.

const (
	SubscriptionPeriodOneWeek     SubscriptionPeriod = "ONE_WEEK"
	SubscriptionPeriodOneMonth    SubscriptionPeriod = "ONE_MONTH"
	SubscriptionPeriodTwoMonths   SubscriptionPeriod = "TWO_MONTHS"
	SubscriptionPeriodThreeMonths SubscriptionPeriod = "THREE_MONTHS"
	SubscriptionPeriodSixMonths   SubscriptionPeriod = "SIX_MONTHS"
	SubscriptionPeriodOneYear     SubscriptionPeriod = "ONE_YEAR"
)

type SubscriptionPlanAvailabilitiesOption added in v1.260613.0

type SubscriptionPlanAvailabilitiesOption func(*subscriptionPlanAvailabilitiesQuery)

SubscriptionPlanAvailabilitiesOption is a functional option for plan availability list endpoints.

func WithSubscriptionPlanAvailabilitiesIncludeAvailableTerritories added in v1.260904.0

func WithSubscriptionPlanAvailabilitiesIncludeAvailableTerritories() SubscriptionPlanAvailabilitiesOption

WithSubscriptionPlanAvailabilitiesIncludeAvailableTerritories includes the availableTerritories relationship in plan availability list responses. Apple caps the included linkages at 50 per plan availability; read the complete set through the availableTerritories relationship endpoint when more are needed.

func WithSubscriptionPlanAvailabilitiesPlanTypes added in v1.260613.0

func WithSubscriptionPlanAvailabilitiesPlanTypes(planTypes ...SubscriptionPlanType) SubscriptionPlanAvailabilitiesOption

WithSubscriptionPlanAvailabilitiesPlanTypes filters returned plan availabilities by plan type. The App Store Connect API does not expose filter[planType] on planAvailabilities, so filtering is applied client-side after the list response is fetched.

type SubscriptionPlanAvailabilitiesResponse added in v1.260610.0

type SubscriptionPlanAvailabilitiesResponse = Response[SubscriptionPlanAvailabilityAttributes]

SubscriptionPlanAvailabilitiesResponse is the response from plan availability list endpoints.

type SubscriptionPlanAvailabilityAttributes added in v1.260610.0

type SubscriptionPlanAvailabilityAttributes struct {
	AvailableInNewTerritories *bool                `json:"availableInNewTerritories,omitempty"`
	PlanType                  SubscriptionPlanType `json:"planType,omitempty"`
}

SubscriptionPlanAvailabilityAttributes describes a subscription plan availability.

type SubscriptionPlanAvailabilityCreateData added in v1.260610.0

type SubscriptionPlanAvailabilityCreateData struct {
	Type          ResourceType                               `json:"type"`
	Attributes    SubscriptionPlanAvailabilityAttributes     `json:"attributes"`
	Relationships *SubscriptionPlanAvailabilityRelationships `json:"relationships"`
}

SubscriptionPlanAvailabilityCreateData is the data portion of plan availability create requests.

type SubscriptionPlanAvailabilityCreateRequest added in v1.260610.0

type SubscriptionPlanAvailabilityCreateRequest struct {
	Data SubscriptionPlanAvailabilityCreateData `json:"data"`
}

SubscriptionPlanAvailabilityCreateRequest is the SubscriptionPlanAvailabilityCreateRequest schema.

type SubscriptionPlanAvailabilityRelationships added in v1.260610.0

type SubscriptionPlanAvailabilityRelationships struct {
	Subscription         *Relationship     `json:"subscription,omitempty"`
	AvailableTerritories *RelationshipList `json:"availableTerritories,omitempty"`
}

SubscriptionPlanAvailabilityRelationships describes relationships for plan availability.

type SubscriptionPlanAvailabilityResponse added in v1.260610.0

type SubscriptionPlanAvailabilityResponse = SingleResponse[SubscriptionPlanAvailabilityAttributes]

SubscriptionPlanAvailabilityResponse is the SubscriptionPlanAvailabilityResponse schema.

type SubscriptionPlanAvailabilitySetResult added in v1.260904.0

type SubscriptionPlanAvailabilitySetResult struct {
	SubscriptionID            string   `json:"subscriptionId"`
	PlanAvailabilityID        string   `json:"planAvailabilityId"`
	PlanType                  string   `json:"planType"`
	Changed                   bool     `json:"changed"`
	Created                   bool     `json:"created"`
	AvailableInNewTerritories *bool    `json:"availableInNewTerritories,omitempty"`
	AddedTerritories          []string `json:"addedTerritories"`
	RemovedTerritories        []string `json:"removedTerritories"`
	UnchangedTerritories      []string `json:"unchangedTerritories"`
	ExcludedTerritories       []string `json:"excludedTerritories,omitempty"`
	AvailableTerritories      []string `json:"availableTerritories"`
}

SubscriptionPlanAvailabilitySetResult is the stable computed output contract for subscriptions pricing plan-availability set.

type SubscriptionPlanAvailabilityUpdateAttributes added in v1.260616.0

type SubscriptionPlanAvailabilityUpdateAttributes struct {
	AvailableInNewTerritories *bool `json:"availableInNewTerritories,omitempty"`
}

SubscriptionPlanAvailabilityUpdateAttributes is the data.attributes object of the SubscriptionPlanAvailabilityUpdateRequest schema.

type SubscriptionPlanAvailabilityUpdateData added in v1.260610.0

type SubscriptionPlanAvailabilityUpdateData struct {
	Type          ResourceType                                  `json:"type"`
	ID            string                                        `json:"id"`
	Attributes    *SubscriptionPlanAvailabilityUpdateAttributes `json:"attributes,omitempty"`
	Relationships *SubscriptionPlanAvailabilityRelationships    `json:"relationships,omitempty"`
}

SubscriptionPlanAvailabilityUpdateData is the data object of the SubscriptionPlanAvailabilityUpdateRequest schema.

type SubscriptionPlanAvailabilityUpdateRequest added in v1.260610.0

type SubscriptionPlanAvailabilityUpdateRequest struct {
	Data SubscriptionPlanAvailabilityUpdateData `json:"data"`
}

SubscriptionPlanAvailabilityUpdateRequest is the SubscriptionPlanAvailabilityUpdateRequest schema.

type SubscriptionPlanType added in v1.260610.0

type SubscriptionPlanType string

SubscriptionPlanType identifies a subscription billing plan.

const (
	SubscriptionPlanTypeMonthly SubscriptionPlanType = "MONTHLY"
	SubscriptionPlanTypeUpfront SubscriptionPlanType = "UPFRONT"
)

type SubscriptionPriceAttributes

type SubscriptionPriceAttributes struct {
	StartDate string               `json:"startDate,omitempty"`
	Preserved bool                 `json:"-"`
	PlanType  SubscriptionPlanType `json:"planType,omitempty"`
	// contains filtered or unexported fields
}

SubscriptionPriceAttributes describes a subscription price resource.

func (SubscriptionPriceAttributes) MarshalJSON added in v1.260828.0

func (a SubscriptionPriceAttributes) MarshalJSON() ([]byte, error)

MarshalJSON preserves the distinction between an absent preserved attribute and an explicit false value returned by App Store Connect.

func (SubscriptionPriceAttributes) PreservedValue added in v1.260828.0

func (a SubscriptionPriceAttributes) PreservedValue() (bool, bool)

PreservedValue reports the preserved value and whether App Store Connect supplied the attribute. The presence result keeps sparse table output from treating an omitted boolean as an explicit false value.

func (*SubscriptionPriceAttributes) UnmarshalJSON added in v1.260828.0

func (a *SubscriptionPriceAttributes) UnmarshalJSON(data []byte) error

UnmarshalJSON records whether the API supplied preserved so an explicit false survives subsequent JSON output without changing the public bool field.

type SubscriptionPriceCreateAttributes

type SubscriptionPriceCreateAttributes struct {
	StartDate string               `json:"startDate,omitempty"`
	Preserved *bool                `json:"preserveCurrentPrice,omitempty"`
	PlanType  SubscriptionPlanType `json:"planType,omitempty"`
}

SubscriptionPriceCreateAttributes describes attributes for creating a price.

type SubscriptionPriceCreateData

type SubscriptionPriceCreateData struct {
	Type          ResourceType                       `json:"type"`
	Attributes    *SubscriptionPriceCreateAttributes `json:"attributes,omitempty"`
	Relationships *SubscriptionPriceRelationships    `json:"relationships"`
}

SubscriptionPriceCreateData is the data object of the SubscriptionPriceCreateRequest schema.

type SubscriptionPriceCreateRequest

type SubscriptionPriceCreateRequest struct {
	Data SubscriptionPriceCreateData `json:"data"`
}

SubscriptionPriceCreateRequest is the SubscriptionPriceCreateRequest schema.

type SubscriptionPriceInlineCreate

type SubscriptionPriceInlineCreate struct {
	Type          ResourceType                         `json:"type"`
	ID            string                               `json:"id"`
	Attributes    *SubscriptionPriceCreateAttributes   `json:"attributes,omitempty"`
	Relationships SubscriptionPriceInlineRelationships `json:"relationships"`
}

SubscriptionPriceInlineCreate is an inline resource for creating subscription prices via PATCH /v1/subscriptions/{id}. This is required for setting the initial base price on a subscription that has no existing prices.

type SubscriptionPriceInlineRelationships

type SubscriptionPriceInlineRelationships struct {
	Subscription           Relationship  `json:"subscription"`
	SubscriptionPricePoint Relationship  `json:"subscriptionPricePoint"`
	Territory              *Relationship `json:"territory,omitempty"`
}

SubscriptionPriceInlineRelationships describes relationships for an inline price create.

type SubscriptionPricePointAttributes

type SubscriptionPricePointAttributes struct {
	CustomerPrice string `json:"customerPrice,omitempty"`
	Proceeds      string `json:"proceeds,omitempty"`
	ProceedsYear2 string `json:"proceedsYear2,omitempty"`
}

SubscriptionPricePointAttributes is the attributes object of the SubscriptionPricePoint schema.

type SubscriptionPricePointEqualizationsOption added in v1.260722.0

type SubscriptionPricePointEqualizationsOption interface {
	// contains filtered or unexported methods
}

SubscriptionPricePointEqualizationsOption configures equalizations and adjusted-equalizations endpoints.

func WithSubscriptionPricePointsSubscriptions added in v1.260722.0

func WithSubscriptionPricePointsSubscriptions(subscriptionIDs []string) SubscriptionPricePointEqualizationsOption

WithSubscriptionPricePointsSubscriptions filters equalizations by subscription IDs.

type SubscriptionPricePointLinkRelationship added in v1.260722.0

type SubscriptionPricePointLinkRelationship struct {
	Links RelationshipLinks `json:"links"`
}

SubscriptionPricePointLinkRelationship describes a price-point relationship whose response contains links but no resource linkage data.

type SubscriptionPricePointOption added in v1.260722.0

type SubscriptionPricePointOption func(*subscriptionPricePointDetailQuery)

SubscriptionPricePointOption sets the query of GET /v1/subscriptionPricePoints/{id} (subscriptionPricePoints_getInstance).

func WithSubscriptionPricePointFields added in v1.260722.0

func WithSubscriptionPricePointFields(fields []string) SubscriptionPricePointOption

WithSubscriptionPricePointFields sets fields[subscriptionPricePoints].

type SubscriptionPricePointResponse

type SubscriptionPricePointResponse = SingleResponse[SubscriptionPricePointAttributes]

Response types for subscription resources.

type SubscriptionPricePointsCommonOption added in v1.260722.0

type SubscriptionPricePointsCommonOption func(*subscriptionPricePointsQuery)

SubscriptionPricePointsCommonOption is accepted by both subscription-scoped and equalization endpoints.

func WithSubscriptionPricePointsFields

func WithSubscriptionPricePointsFields(fields []string) SubscriptionPricePointsCommonOption

WithSubscriptionPricePointsFields sets fields for returned subscriptionPricePoints resources.

func WithSubscriptionPricePointsInclude

func WithSubscriptionPricePointsInclude(include []string) SubscriptionPricePointsCommonOption

WithSubscriptionPricePointsInclude sets the relationships to include (e.g., "territory").

func WithSubscriptionPricePointsLimit

func WithSubscriptionPricePointsLimit(limit int) SubscriptionPricePointsCommonOption

WithSubscriptionPricePointsLimit sets the max number of price points to return.

func WithSubscriptionPricePointsNextURL

func WithSubscriptionPricePointsNextURL(next string) SubscriptionPricePointsCommonOption

WithSubscriptionPricePointsNextURL uses a next page URL directly.

func WithSubscriptionPricePointsPlanTypes added in v1.260722.0

func WithSubscriptionPricePointsPlanTypes(planTypes []string) SubscriptionPricePointsCommonOption

WithSubscriptionPricePointsPlanTypes filters by billing plan types.

func WithSubscriptionPricePointsTerritories added in v1.260722.0

func WithSubscriptionPricePointsTerritories(territories []string) SubscriptionPricePointsCommonOption

WithSubscriptionPricePointsTerritories filters price points by territory IDs.

func WithSubscriptionPricePointsTerritory

func WithSubscriptionPricePointsTerritory(territory string) SubscriptionPricePointsCommonOption

WithSubscriptionPricePointsTerritory filters price points by territory (e.g., "USA").

func WithSubscriptionPricePointsTerritoryFields added in v1.260722.0

func WithSubscriptionPricePointsTerritoryFields(fields []string) SubscriptionPricePointsCommonOption

WithSubscriptionPricePointsTerritoryFields sets fields for included territories.

func WithSubscriptionPricePointsUpfrontPricePointIDs added in v1.260722.0

func WithSubscriptionPricePointsUpfrontPricePointIDs(pricePointIDs []string) SubscriptionPricePointsCommonOption

WithSubscriptionPricePointsUpfrontPricePointIDs filters by upfront price point IDs.

type SubscriptionPricePointsOption

type SubscriptionPricePointsOption interface {
	// contains filtered or unexported methods
}

SubscriptionPricePointsOption configures the subscription-scoped price-points endpoint. It intentionally excludes equalization-only filters such as filter[subscription].

type SubscriptionPricePointsResponse

type SubscriptionPricePointsResponse = Response[SubscriptionPricePointAttributes]

Response types for subscription resources.

type SubscriptionPriceRelationships

type SubscriptionPriceRelationships struct {
	Subscription           *Relationship `json:"subscription"`
	SubscriptionPricePoint *Relationship `json:"subscriptionPricePoint"`
	Territory              *Relationship `json:"territory,omitempty"`
}

SubscriptionPriceRelationships describes relationships for prices.

type SubscriptionPriceResponse

type SubscriptionPriceResponse = SingleResponse[SubscriptionPriceAttributes]

SubscriptionPriceResponse is the SubscriptionPriceResponse schema.

type SubscriptionPricesOption

type SubscriptionPricesOption func(*subscriptionPricesQuery)

SubscriptionPricesOption is a functional option for subscription price list endpoints.

func WithSubscriptionPricesFields added in v1.260625.0

func WithSubscriptionPricesFields(fields []string) SubscriptionPricesOption

WithSubscriptionPricesFields sets fields for returned subscription prices.

func WithSubscriptionPricesInclude

func WithSubscriptionPricesInclude(include []string) SubscriptionPricesOption

WithSubscriptionPricesInclude sets the relationships to include (e.g., "subscriptionPricePoint", "territory").

func WithSubscriptionPricesPlanType added in v1.260616.0

func WithSubscriptionPricesPlanType(planType SubscriptionPlanType) SubscriptionPricesOption

WithSubscriptionPricesPlanType filters subscription prices by plan type (MONTHLY or UPFRONT).

func WithSubscriptionPricesPricePointFields

func WithSubscriptionPricesPricePointFields(fields []string) SubscriptionPricesOption

WithSubscriptionPricesPricePointFields sets fields for included subscriptionPricePoints.

func WithSubscriptionPricesPricePointIDs added in v1.260828.0

func WithSubscriptionPricesPricePointIDs(pricePointIDs []string) SubscriptionPricesOption

WithSubscriptionPricesPricePointIDs filters subscription prices by price point IDs.

func WithSubscriptionPricesTerritory

func WithSubscriptionPricesTerritory(territory string) SubscriptionPricesOption

WithSubscriptionPricesTerritory filters subscription prices by territory (e.g., "USA").

func WithSubscriptionPricesTerritoryFields

func WithSubscriptionPricesTerritoryFields(fields []string) SubscriptionPricesOption

WithSubscriptionPricesTerritoryFields sets fields for included territories.

type SubscriptionPricesResponse

type SubscriptionPricesResponse = Response[SubscriptionPriceAttributes]

SubscriptionPricesResponse is the response from subscription prices list endpoints.

type SubscriptionPricingDeriveResult added in v1.260825.0

type SubscriptionPricingDeriveResult struct {
	SourceSubscriptionID string                                `json:"sourceSubscriptionId"`
	TargetSubscriptionID string                                `json:"targetSubscriptionId"`
	Multiplier           string                                `json:"multiplier"`
	Rounding             string                                `json:"rounding"`
	StartDate            string                                `json:"startDate,omitempty"`
	AutoScheduled        bool                                  `json:"autoScheduled,omitempty"`
	Preserved            bool                                  `json:"preserved"`
	TargetState          string                                `json:"targetSubscriptionState,omitempty"`
	DryRun               bool                                  `json:"dryRun"`
	Summary              SubscriptionPricingDeriveSummary      `json:"summary"`
	Rows                 []SubscriptionPricingDeriveRow        `json:"rows"`
	Verification         SubscriptionPricingDeriveVerification `json:"verification"`
}

SubscriptionPricingDeriveResult is the stable computed output contract for subscriptions pricing derive.

type SubscriptionPricingDeriveRow added in v1.260825.0

type SubscriptionPricingDeriveRow struct {
	Territory            string `json:"territory"`
	Currency             string `json:"currency,omitempty"`
	SourcePrice          string `json:"sourcePrice"`
	SourcePricePointID   string `json:"sourcePricePointId"`
	DesiredPrice         string `json:"desiredPrice"`
	CurrentTargetPrice   string `json:"currentTargetPrice,omitempty"`
	CurrentTargetPointID string `json:"currentTargetPricePointId,omitempty"`
	TargetPrice          string `json:"targetPrice,omitempty"`
	TargetPricePointID   string `json:"targetPricePointId,omitempty"`
	RequestedMultiple    string `json:"requestedMultiple"`
	AchievedMultiple     string `json:"achievedMultiple,omitempty"`
	MultipleDelta        string `json:"multipleDelta,omitempty"`
	Action               string `json:"action"`
	Status               string `json:"status"`
	Error                string `json:"error,omitempty"`
}

SubscriptionPricingDeriveRow represents one territory's derived target price.

type SubscriptionPricingDeriveSummary added in v1.260825.0

type SubscriptionPricingDeriveSummary struct {
	Total      int `json:"total"`
	Planned    int `json:"planned"`
	Noop       int `json:"noop"`
	Applied    int `json:"applied,omitempty"`
	Verified   int `json:"verified,omitempty"`
	Unresolved int `json:"unresolved"`
	Failed     int `json:"failed"`
	Skipped    int `json:"skipped,omitempty"`
}

SubscriptionPricingDeriveSummary summarizes a source-to-target pricing run.

type SubscriptionPricingDeriveVerification added in v1.260825.0

type SubscriptionPricingDeriveVerification struct {
	Status   string `json:"status"`
	Verified int    `json:"verified,omitempty"`
	Failed   int    `json:"failed,omitempty"`
}

SubscriptionPricingDeriveVerification summarizes post-apply readback.

type SubscriptionPricingPPPIndex

type SubscriptionPricingPPPIndex struct {
	Source  string `json:"source"`
	License string `json:"license"`
	AsOf    string `json:"asOf"`
}

SubscriptionPricingPPPIndex identifies the embedded purchasing-power index.

type SubscriptionPricingPPPResult

type SubscriptionPricingPPPResult struct {
	SubscriptionID    string                                `json:"subscriptionId"`
	BaseTerritory     string                                `json:"baseTerritory"`
	BasePrice         string                                `json:"basePrice"`
	BasePricePointID  string                                `json:"basePricePointId"`
	Index             SubscriptionPricingPPPIndex           `json:"index"`
	Rounding          string                                `json:"rounding"`
	StartDate         string                                `json:"startDate,omitempty"`
	AutoScheduled     bool                                  `json:"autoScheduled,omitempty"`
	Preserved         bool                                  `json:"preserved"`
	SubscriptionState string                                `json:"subscriptionState,omitempty"`
	DryRun            bool                                  `json:"dryRun"`
	Summary           SubscriptionPricingDeriveSummary      `json:"summary"`
	Rows              []SubscriptionPricingDeriveRow        `json:"rows"`
	Verification      SubscriptionPricingDeriveVerification `json:"verification"`
}

SubscriptionPricingPPPResult is the stable computed output contract for subscriptions pricing ppp. Each row's sourcePrice is Apple's equalized price for the base price, and requestedMultiple is the territory's price level relative to the base territory.

type SubscriptionPromotionalOfferAttributes

type SubscriptionPromotionalOfferAttributes struct {
	Duration                   SubscriptionOfferDuration `json:"duration,omitempty"`
	Name                       string                    `json:"name,omitempty"`
	NumberOfPeriods            int                       `json:"numberOfPeriods,omitempty"`
	OfferCode                  string                    `json:"offerCode,omitempty"`
	OfferMode                  SubscriptionOfferMode     `json:"offerMode,omitempty"`
	TargetSubscriptionPlanType SubscriptionPlanType      `json:"targetSubscriptionPlanType,omitempty"`
}

SubscriptionPromotionalOfferAttributes is the attributes object of the SubscriptionPromotionalOffer schema.

type SubscriptionPromotionalOfferCreateAttributes

type SubscriptionPromotionalOfferCreateAttributes struct {
	Duration                   SubscriptionOfferDuration `json:"duration"`
	Name                       string                    `json:"name"`
	NumberOfPeriods            int                       `json:"numberOfPeriods"`
	OfferCode                  string                    `json:"offerCode"`
	OfferMode                  SubscriptionOfferMode     `json:"offerMode"`
	TargetSubscriptionPlanType SubscriptionPlanType      `json:"targetSubscriptionPlanType,omitempty"`
}

SubscriptionPromotionalOfferCreateAttributes describes attributes for creating a promotional offer.

type SubscriptionPromotionalOfferCreateData

type SubscriptionPromotionalOfferCreateData struct {
	Type          ResourceType                                 `json:"type"`
	Attributes    SubscriptionPromotionalOfferCreateAttributes `json:"attributes"`
	Relationships SubscriptionPromotionalOfferRelationships    `json:"relationships"`
}

SubscriptionPromotionalOfferCreateData is the data object of the SubscriptionPromotionalOfferCreateRequest schema.

type SubscriptionPromotionalOfferCreateRequest

type SubscriptionPromotionalOfferCreateRequest struct {
	Data     SubscriptionPromotionalOfferCreateData          `json:"data"`
	Included []SubscriptionPromotionalOfferPriceInlineCreate `json:"included,omitempty"`
}

SubscriptionPromotionalOfferCreateRequest is a request to create a promotional offer.

type SubscriptionPromotionalOfferOption added in v1.260722.0

type SubscriptionPromotionalOfferOption func(*subscriptionRelatedFieldsQuery)

SubscriptionPromotionalOfferOption configures a subscription promotional offer detail read.

func WithSubscriptionPromotionalOfferInclude added in v1.260722.0

func WithSubscriptionPromotionalOfferInclude(include []string) SubscriptionPromotionalOfferOption

WithSubscriptionPromotionalOfferInclude sets relationships to include on a promotional offer detail read.

func WithSubscriptionPromotionalOfferSubscriptionFields added in v1.260722.0

func WithSubscriptionPromotionalOfferSubscriptionFields(fields []string) SubscriptionPromotionalOfferOption

WithSubscriptionPromotionalOfferSubscriptionFields sets fields[subscriptions] on a promotional offer detail read.

type SubscriptionPromotionalOfferPrice added in v1.260807.0

type SubscriptionPromotionalOfferPrice struct {
	ID           string
	TerritoryID  string
	PricePointID string
}

SubscriptionPromotionalOfferPrice describes a promotional offer price input.

type SubscriptionPromotionalOfferPriceAttributes

type SubscriptionPromotionalOfferPriceAttributes struct{}

SubscriptionPromotionalOfferPriceAttributes describes promotional offer price resources.

type SubscriptionPromotionalOfferPriceInlineCreate added in v1.260807.0

type SubscriptionPromotionalOfferPriceInlineCreate struct {
	Type          ResourceType                                   `json:"type"`
	ID            string                                         `json:"id"`
	Relationships SubscriptionPromotionalOfferPriceRelationships `json:"relationships"`
}

SubscriptionPromotionalOfferPriceInlineCreate describes an inline promotional offer price resource.

type SubscriptionPromotionalOfferPriceRelationships added in v1.260807.0

type SubscriptionPromotionalOfferPriceRelationships struct {
	Territory              *Relationship `json:"territory,omitempty"`
	SubscriptionPricePoint *Relationship `json:"subscriptionPricePoint,omitempty"`
}

SubscriptionPromotionalOfferPriceRelationships describes inline promotional offer price relationships.

type SubscriptionPromotionalOfferPricesOption

type SubscriptionPromotionalOfferPricesOption func(*subscriptionPromotionalOfferPricesQuery)

SubscriptionPromotionalOfferPricesOption sets the query of GET /v1/subscriptionPromotionalOffers/{id}/prices (subscriptionPromotionalOffers_prices_getToManyRelated).

func WithSubscriptionPromotionalOfferPricesInclude added in v1.260722.0

func WithSubscriptionPromotionalOfferPricesInclude(include []string) SubscriptionPromotionalOfferPricesOption

WithSubscriptionPromotionalOfferPricesInclude sets include.

func WithSubscriptionPromotionalOfferPricesPricePointFields added in v1.260722.0

func WithSubscriptionPromotionalOfferPricesPricePointFields(fields []string) SubscriptionPromotionalOfferPricesOption

WithSubscriptionPromotionalOfferPricesPricePointFields sets fields[subscriptionPricePoints].

type SubscriptionPromotionalOfferPricesResponse

type SubscriptionPromotionalOfferPricesResponse = Response[SubscriptionPromotionalOfferPriceAttributes]

Response types for subscription resources.

type SubscriptionPromotionalOfferRelationships

type SubscriptionPromotionalOfferRelationships struct {
	Subscription Relationship     `json:"subscription"`
	Prices       RelationshipList `json:"prices"`
}

SubscriptionPromotionalOfferRelationships is the data.relationships object of the SubscriptionPromotionalOfferCreateRequest schema.

type SubscriptionPromotionalOfferResponse

type SubscriptionPromotionalOfferResponse = SingleResponse[SubscriptionPromotionalOfferAttributes]

Response types for subscription resources.

type SubscriptionPromotionalOfferUpdateData

type SubscriptionPromotionalOfferUpdateData struct {
	Type          ResourceType                                     `json:"type"`
	ID            string                                           `json:"id"`
	Relationships *SubscriptionPromotionalOfferUpdateRelationships `json:"relationships,omitempty"`
}

SubscriptionPromotionalOfferUpdateData is the data object of the SubscriptionPromotionalOfferUpdateRequest schema.

type SubscriptionPromotionalOfferUpdateRelationships

type SubscriptionPromotionalOfferUpdateRelationships struct {
	Prices RelationshipList `json:"prices"`
}

SubscriptionPromotionalOfferUpdateRelationships describes relationships for promotional offer updates.

type SubscriptionPromotionalOfferUpdateRequest

type SubscriptionPromotionalOfferUpdateRequest struct {
	Data SubscriptionPromotionalOfferUpdateData `json:"data"`
}

SubscriptionPromotionalOfferUpdateRequest is the SubscriptionPromotionalOfferUpdateRequest schema.

type SubscriptionPromotionalOffersOption

type SubscriptionPromotionalOffersOption func(*subscriptionPromotionalOffersQuery)

SubscriptionPromotionalOffersOption sets the query of GET /v1/subscriptions/{id}/promotionalOffers (subscriptions_promotionalOffers_getToManyRelated).

func WithSubscriptionPromotionalOffersInclude added in v1.260722.0

func WithSubscriptionPromotionalOffersInclude(include []string) SubscriptionPromotionalOffersOption

WithSubscriptionPromotionalOffersInclude sets include.

func WithSubscriptionPromotionalOffersSubscriptionFields added in v1.260722.0

func WithSubscriptionPromotionalOffersSubscriptionFields(fields []string) SubscriptionPromotionalOffersOption

WithSubscriptionPromotionalOffersSubscriptionFields sets fields[subscriptions].

type SubscriptionPromotionalOffersResponse

type SubscriptionPromotionalOffersResponse = Response[SubscriptionPromotionalOfferAttributes]

Response types for subscription resources.

type SubscriptionRelatedFields

type SubscriptionRelatedFields struct {
	Localizations      []string
	ReviewScreenshots  []string
	Groups             []string
	IntroductoryOffers []string
	PromotionalOffers  []string
	OfferCodes         []string
	Prices             []string
	PromotedPurchases  []string
	Availabilities     []string
	WinBackOffers      []string
	Images             []string
	PlanAvailabilities []string
	RetentionOffers    []string
	RetentionMessages  []string
}

SubscriptionRelatedFields selects sparse fields for resources included with a subscription. Selecting fields for a resource also requests its relationship.

type SubscriptionRelationships

type SubscriptionRelationships struct {
	Group *Relationship `json:"group"`
}

SubscriptionRelationships is the data.relationships object of the SubscriptionCreateRequest schema.

type SubscriptionResponse

type SubscriptionResponse = SingleResponse[SubscriptionAttributes]

SubscriptionResponse is the SubscriptionResponse schema.

type SubscriptionRetentionMessageOffersResult

type SubscriptionRetentionMessageOffersResult struct {
	SubscriptionID    string   `json:"subscriptionId"`
	RetentionOfferIDs []string `json:"retentionOfferIds"`
	Action            string   `json:"action"`
}

SubscriptionRetentionMessageOffersResult represents CLI output for adding or removing the retention offers presented with a subscription's retention message.

type SubscriptionStatusURLVersion

type SubscriptionStatusURLVersion string

SubscriptionStatusURLVersion is the App Store Server Notifications payload version.

const (
	SubscriptionStatusURLVersionV1 SubscriptionStatusURLVersion = "V1"
	SubscriptionStatusURLVersionV2 SubscriptionStatusURLVersion = "V2"
)

type SubscriptionUpdateAttributes

type SubscriptionUpdateAttributes struct {
	Name                      *string   `json:"name,omitempty"`
	ReviewNote                *string   `json:"reviewNote,omitempty"`
	FamilySharable            *bool     `json:"familySharable,omitempty"`
	SubscriptionPeriod        *string   `json:"subscriptionPeriod,omitempty"`
	GroupLevel                *int      `json:"groupLevel,omitempty"`
	AvailableInAllTerritories *bool     `json:"availableInAllTerritories,omitempty"`
	MarketSettings            *[]string `json:"marketSettings,omitempty"`
	MultiSeatStatus           *string   `json:"multiSeatStatus,omitempty"`
}

SubscriptionUpdateAttributes describes attributes for updating a subscription.

type SubscriptionUpdateData

type SubscriptionUpdateData struct {
	Type          ResourceType                     `json:"type"`
	ID            string                           `json:"id"`
	Attributes    SubscriptionUpdateAttributes     `json:"attributes,omitempty"`
	Relationships *SubscriptionUpdateRelationships `json:"relationships,omitempty"`
}

SubscriptionUpdateData is the data portion of a subscription update request.

type SubscriptionUpdateRelationships

type SubscriptionUpdateRelationships struct {
	Prices *RelationshipList `json:"prices,omitempty"`
}

SubscriptionUpdateRelationships describes relationships for updating a subscription.

type SubscriptionUpdateRequest

type SubscriptionUpdateRequest struct {
	Data     SubscriptionUpdateData          `json:"data"`
	Included []SubscriptionPriceInlineCreate `json:"included,omitempty"`
}

SubscriptionUpdateRequest is a request to update a subscription.

type SubscriptionVersionAttributes added in v1.260722.0

type SubscriptionVersionAttributes struct {
	Version int                      `json:"version,omitempty"`
	State   SubscriptionVersionState `json:"state,omitempty"`
}

SubscriptionVersionAttributes describes a subscription version resource.

type SubscriptionVersionCreateData added in v1.260722.0

type SubscriptionVersionCreateData struct {
	Type          ResourceType                      `json:"type"`
	Relationships *SubscriptionVersionRelationships `json:"relationships"`
}

SubscriptionVersionCreateData is the data object of the SubscriptionVersionCreateRequest schema.

type SubscriptionVersionCreateRequest added in v1.260722.0

type SubscriptionVersionCreateRequest struct {
	Data SubscriptionVersionCreateData `json:"data"`
}

SubscriptionVersionCreateRequest is the SubscriptionVersionCreateRequest schema.

type SubscriptionVersionImageLinkageResponse added in v1.260722.0

type SubscriptionVersionImageLinkageResponse struct {
	Data  ResourceData `json:"data"`
	Links Links        `json:"links"`
}

SubscriptionVersionImageLinkageResponse is a singular image relationship response.

type SubscriptionVersionImagesOption added in v1.260722.0

type SubscriptionVersionImagesOption func(*subscriptionVersionImagesQuery)

SubscriptionVersionImagesOption configures version image reads.

func WithSubscriptionVersionImagesFields added in v1.260722.0

func WithSubscriptionVersionImagesFields(fields []string) SubscriptionVersionImagesOption

func WithSubscriptionVersionImagesNextURL added in v1.260722.0

func WithSubscriptionVersionImagesNextURL(next string) SubscriptionVersionImagesOption

type SubscriptionVersionLocalizationsOption added in v1.260722.0

type SubscriptionVersionLocalizationsOption func(*subscriptionVersionLocalizationsQuery)

SubscriptionVersionLocalizationsOption configures version localization reads.

func WithSubscriptionVersionLocalizationsFields added in v1.260722.0

func WithSubscriptionVersionLocalizationsFields(fields []string) SubscriptionVersionLocalizationsOption

func WithSubscriptionVersionLocalizationsInclude added in v1.260722.0

func WithSubscriptionVersionLocalizationsInclude(include []string) SubscriptionVersionLocalizationsOption

func WithSubscriptionVersionLocalizationsNextURL added in v1.260722.0

func WithSubscriptionVersionLocalizationsNextURL(next string) SubscriptionVersionLocalizationsOption

func WithSubscriptionVersionLocalizationsVersionFields added in v1.260722.0

func WithSubscriptionVersionLocalizationsVersionFields(fields []string) SubscriptionVersionLocalizationsOption

type SubscriptionVersionOption added in v1.260722.0

type SubscriptionVersionOption func(*subscriptionVersionQuery)

SubscriptionVersionOption sets the query of GET /v1/subscriptionVersions/{id} (subscriptionVersions_getInstance).

func WithSubscriptionVersionFields added in v1.260722.0

func WithSubscriptionVersionFields(fields []string) SubscriptionVersionOption

WithSubscriptionVersionFields sets fields[subscriptionVersions].

func WithSubscriptionVersionImageFields added in v1.260722.0

func WithSubscriptionVersionImageFields(fields []string) SubscriptionVersionOption

WithSubscriptionVersionImageFields sets fields[subscriptionImages].

func WithSubscriptionVersionImageLimit added in v1.260722.0

func WithSubscriptionVersionImageLimit(limit int) SubscriptionVersionOption

WithSubscriptionVersionImageLimit sets limit[images].

func WithSubscriptionVersionInclude added in v1.260722.0

func WithSubscriptionVersionInclude(include []string) SubscriptionVersionOption

WithSubscriptionVersionInclude sets include.

func WithSubscriptionVersionLocalizationFields added in v1.260722.0

func WithSubscriptionVersionLocalizationFields(fields []string) SubscriptionVersionOption

WithSubscriptionVersionLocalizationFields sets fields[subscriptionLocalizations].

func WithSubscriptionVersionLocalizationLimit added in v1.260722.0

func WithSubscriptionVersionLocalizationLimit(limit int) SubscriptionVersionOption

WithSubscriptionVersionLocalizationLimit sets limit[localizations].

func WithSubscriptionVersionSubscriptionFields added in v1.260722.0

func WithSubscriptionVersionSubscriptionFields(fields []string) SubscriptionVersionOption

WithSubscriptionVersionSubscriptionFields sets fields[subscriptions].

type SubscriptionVersionRelationship added in v1.260722.0

type SubscriptionVersionRelationship struct {
	Version *Relationship `json:"version"`
}

SubscriptionVersionRelationship is the data.relationships object of the SubscriptionImageV2CreateRequest schema.

type SubscriptionVersionRelationships added in v1.260722.0

type SubscriptionVersionRelationships struct {
	Subscription *Relationship `json:"subscription"`
}

SubscriptionVersionRelationships is the data.relationships object of the SubscriptionVersionCreateRequest schema.

type SubscriptionVersionResponse added in v1.260722.0

type SubscriptionVersionResponse = SingleResponse[SubscriptionVersionAttributes]

type SubscriptionVersionState added in v1.260722.0

type SubscriptionVersionState string

SubscriptionVersionState is the App Store review state of a subscription version.

const (
	SubscriptionVersionStatePrepareForSubmission   SubscriptionVersionState = "PREPARE_FOR_SUBMISSION"
	SubscriptionVersionStateReadyForReview         SubscriptionVersionState = "READY_FOR_REVIEW"
	SubscriptionVersionStateWaitingForReview       SubscriptionVersionState = "WAITING_FOR_REVIEW"
	SubscriptionVersionStateInReview               SubscriptionVersionState = "IN_REVIEW"
	SubscriptionVersionStateAccepted               SubscriptionVersionState = "ACCEPTED"
	SubscriptionVersionStateApproved               SubscriptionVersionState = "APPROVED"
	SubscriptionVersionStateReplacedWithNewVersion SubscriptionVersionState = "REPLACED_WITH_NEW_VERSION"
	SubscriptionVersionStateRejected               SubscriptionVersionState = "REJECTED"
	SubscriptionVersionStateDeveloperRejected      SubscriptionVersionState = "DEVELOPER_REJECTED"
)

type SubscriptionVersionsOption added in v1.260722.0

type SubscriptionVersionsOption func(*subscriptionVersionsQuery)

SubscriptionVersionsOption configures a subscription's version list.

func WithSubscriptionVersionsFields added in v1.260722.0

func WithSubscriptionVersionsFields(fields []string) SubscriptionVersionsOption

func WithSubscriptionVersionsImageFields added in v1.260722.0

func WithSubscriptionVersionsImageFields(fields []string) SubscriptionVersionsOption

func WithSubscriptionVersionsImageLimit added in v1.260722.0

func WithSubscriptionVersionsImageLimit(limit int) SubscriptionVersionsOption

func WithSubscriptionVersionsInclude added in v1.260722.0

func WithSubscriptionVersionsInclude(include []string) SubscriptionVersionsOption

func WithSubscriptionVersionsLocalizationFields added in v1.260722.0

func WithSubscriptionVersionsLocalizationFields(fields []string) SubscriptionVersionsOption

func WithSubscriptionVersionsLocalizationLimit added in v1.260722.0

func WithSubscriptionVersionsLocalizationLimit(limit int) SubscriptionVersionsOption

func WithSubscriptionVersionsNextURL added in v1.260722.0

func WithSubscriptionVersionsNextURL(next string) SubscriptionVersionsOption

func WithSubscriptionVersionsStates added in v1.260722.0

func WithSubscriptionVersionsStates(states []SubscriptionVersionState) SubscriptionVersionsOption

func WithSubscriptionVersionsSubscriptionFields added in v1.260722.0

func WithSubscriptionVersionsSubscriptionFields(fields []string) SubscriptionVersionsOption

type SubscriptionVersionsResponse added in v1.260722.0

type SubscriptionVersionsResponse = Response[SubscriptionVersionAttributes]

type SubscriptionsOption

type SubscriptionsOption func(*subscriptionsQuery)

SubscriptionsOption is a functional option for GetSubscriptions.

func WithSubscriptionsFields added in v1.260722.0

func WithSubscriptionsFields(fields []string) SubscriptionsOption

WithSubscriptionsFields sets sparse fields for subscription resources.

func WithSubscriptionsInclude added in v1.260722.0

func WithSubscriptionsInclude(include []string) SubscriptionsOption

WithSubscriptionsInclude sets relationships to include.

func WithSubscriptionsNames added in v1.260404.0

func WithSubscriptionsNames(names []string) SubscriptionsOption

WithSubscriptionsNames filters subscriptions by current name.

func WithSubscriptionsProductIDs added in v1.260404.0

func WithSubscriptionsProductIDs(productIDs []string) SubscriptionsOption

WithSubscriptionsProductIDs filters subscriptions by product ID.

func WithSubscriptionsRelatedFields

func WithSubscriptionsRelatedFields(fields SubscriptionRelatedFields) SubscriptionsOption

WithSubscriptionsRelatedFields sets sparse fields for included related resources.

func WithSubscriptionsVersionFields added in v1.260722.0

func WithSubscriptionsVersionFields(fields []string) SubscriptionsOption

WithSubscriptionsVersionFields sets sparse fields for included subscription versions.

func WithSubscriptionsVersionLimit added in v1.260722.0

func WithSubscriptionsVersionLimit(limit int) SubscriptionsOption

WithSubscriptionsVersionLimit sets the maximum included versions.

type SubscriptionsResponse

type SubscriptionsResponse = Response[SubscriptionAttributes]

SubscriptionsResponse is the response from subscriptions list endpoints.

type TerritoriesOption

type TerritoriesOption func(*territoriesQuery)

TerritoriesOption sets the query of GET /v1/territories (territories_getCollection) and GET /v1/appTags/{id}/territories (appTags_territories_getToManyRelated).

func WithTerritoriesFields

func WithTerritoriesFields(fields []string) TerritoriesOption

WithTerritoriesFields sets fields[territories].

type TerritoriesResponse

type TerritoriesResponse = Response[TerritoryAttributes]

Response types

type TerritoryAgeRatingAttributes

type TerritoryAgeRatingAttributes struct {
	AppStoreAgeRating AppStoreAgeRating `json:"appStoreAgeRating,omitempty"`
}

TerritoryAgeRatingAttributes describes territory age rating attributes.

type TerritoryAgeRatingRelationships

type TerritoryAgeRatingRelationships struct {
	Territory Relationship `json:"territory"`
}

TerritoryAgeRatingRelationships describes territory age rating relationships.

type TerritoryAgeRatingsOption

type TerritoryAgeRatingsOption func(*territoryAgeRatingsQuery)

TerritoryAgeRatingsOption sets the query of GET /v1/appInfos/{id}/territoryAgeRatings (appInfos_territoryAgeRatings_getToManyRelated).

func WithTerritoryAgeRatingsFields

func WithTerritoryAgeRatingsFields(fields []string) TerritoryAgeRatingsOption

WithTerritoryAgeRatingsFields sets fields[territoryAgeRatings].

func WithTerritoryAgeRatingsInclude

func WithTerritoryAgeRatingsInclude(include []string) TerritoryAgeRatingsOption

WithTerritoryAgeRatingsInclude sets include.

func WithTerritoryAgeRatingsTerritoryFields

func WithTerritoryAgeRatingsTerritoryFields(fields []string) TerritoryAgeRatingsOption

WithTerritoryAgeRatingsTerritoryFields sets fields[territories].

type TerritoryAgeRatingsResponse

type TerritoryAgeRatingsResponse = Response[TerritoryAgeRatingAttributes]

TerritoryAgeRatingsResponse is the response from territory age ratings endpoints.

type TerritoryAttributes

type TerritoryAttributes struct {
	Currency string `json:"currency,omitempty"`
}

TerritoryAttributes is the attributes object of the Territory schema.

type TerritoryAvailabilitiesOption

type TerritoryAvailabilitiesOption func(*territoryAvailabilitiesQuery)

TerritoryAvailabilitiesOption is a functional option for GetTerritoryAvailabilities.

type TerritoryAvailabilitiesResponse

type TerritoryAvailabilitiesResponse = Response[TerritoryAvailabilityAttributes]

Response types

type TerritoryAvailabilityAttributes

type TerritoryAvailabilityAttributes struct {
	Available           bool     `json:"available"`
	ReleaseDate         string   `json:"releaseDate,omitempty"`
	PreOrderEnabled     bool     `json:"preOrderEnabled,omitempty"`
	PreOrderPublishDate string   `json:"preOrderPublishDate,omitempty"`
	ContentStatuses     []string `json:"contentStatuses,omitempty"`
}

TerritoryAvailabilityAttributes describes availability for a territory.

type TerritoryAvailabilityCreate

type TerritoryAvailabilityCreate struct {
	TerritoryID     string
	Available       bool
	ReleaseDate     string
	PreOrderEnabled *bool
}

TerritoryAvailabilityCreate defines a territory availability input.

type TerritoryAvailabilityCreateAttributes

type TerritoryAvailabilityCreateAttributes struct {
	Available       bool   `json:"available"`
	ReleaseDate     string `json:"releaseDate,omitempty"`
	PreOrderEnabled *bool  `json:"preOrderEnabled,omitempty"`
}

TerritoryAvailabilityCreateAttributes describes attributes for create.

type TerritoryAvailabilityRelationships

type TerritoryAvailabilityRelationships struct {
	Territory Relationship `json:"territory"`
}

TerritoryAvailabilityRelationships describes relationships for availability.

type TerritoryAvailabilityResponse

type TerritoryAvailabilityResponse = SingleResponse[TerritoryAvailabilityAttributes]

Response types

type TerritoryAvailabilityUpdateAttributes

type TerritoryAvailabilityUpdateAttributes struct {
	Available        *bool   `json:"available,omitempty"`
	ReleaseDate      *string `json:"releaseDate,omitempty"`
	PreOrderEnabled  *bool   `json:"preOrderEnabled,omitempty"`
	ClearReleaseDate bool    `json:"-"`
}

TerritoryAvailabilityUpdateAttributes describes update inputs for a territory availability.

type TerritoryAvailabilityUpdateData

type TerritoryAvailabilityUpdateData struct {
	Type       ResourceType                           `json:"type"`
	ID         string                                 `json:"id"`
	Attributes *TerritoryAvailabilityUpdateAttributes `json:"attributes,omitempty"`
}

TerritoryAvailabilityUpdateData is the data object of the TerritoryAvailabilityUpdateRequest schema.

type TerritoryAvailabilityUpdateRequest

type TerritoryAvailabilityUpdateRequest struct {
	Data TerritoryAvailabilityUpdateData `json:"data"`
}

TerritoryAvailabilityUpdateRequest is the TerritoryAvailabilityUpdateRequest schema.

type TerritoryResponse

type TerritoryResponse = SingleResponse[TerritoryAttributes]

Response types

type TestFlightPublishResult

type TestFlightPublishResult struct {
	Status                 string                            `json:"status,omitempty"`
	FailureStage           string                            `json:"failureStage,omitempty"`
	Failure                string                            `json:"failure,omitempty"`
	CompletedStages        []string                          `json:"completedStages,omitempty"`
	Recovery               *TestNotesRecovery                `json:"recovery,omitempty"`
	Mode                   PublishMode                       `json:"mode,omitempty"`
	BuildID                string                            `json:"buildId"`
	BuildVersion           string                            `json:"buildVersion,omitempty"`
	BuildNumber            string                            `json:"buildNumber,omitempty"`
	GroupIDs               []string                          `json:"groupIds,omitempty"`
	Uploaded               bool                              `json:"uploaded"`
	UploadOnly             bool                              `json:"uploadOnly,omitempty"`
	ProcessingState        string                            `json:"processingState,omitempty"`
	Notified               *bool                             `json:"notified,omitempty"`
	NotificationAction     BuildBetaGroupsNotificationAction `json:"notificationAction,omitempty"`
	BetaReviewSubmitted    *bool                             `json:"betaReviewSubmitted,omitempty"`
	BetaReviewSubmissionID string                            `json:"betaReviewSubmissionId,omitempty"`
	Archive                *PublishArchiveStageResult        `json:"archive,omitempty"`
	Export                 *PublishExportStageResult         `json:"export,omitempty"`
	Publish                *TestFlightPublishStageResult     `json:"publish,omitempty"`
}

Result types for the publish workflow.

type TestFlightPublishStageResult added in v1.260404.0

type TestFlightPublishStageResult struct {
	BuildID                string                            `json:"buildId"`
	BuildVersion           string                            `json:"buildVersion,omitempty"`
	BuildNumber            string                            `json:"buildNumber,omitempty"`
	GroupIDs               []string                          `json:"groupIds,omitempty"`
	Uploaded               bool                              `json:"uploaded"`
	UploadOnly             bool                              `json:"uploadOnly,omitempty"`
	ProcessingState        string                            `json:"processingState,omitempty"`
	Notified               *bool                             `json:"notified,omitempty"`
	NotificationAction     BuildBetaGroupsNotificationAction `json:"notificationAction,omitempty"`
	BetaReviewSubmitted    *bool                             `json:"betaReviewSubmitted,omitempty"`
	BetaReviewSubmissionID string                            `json:"betaReviewSubmissionId,omitempty"`
}

TestFlightPublishStageResult duplicates the publish summary inside local-build mode so agents can inspect stage-specific output.

type TestFlightSyncSummary added in v1.260819.0

type TestFlightSyncSummary struct {
	File    string `json:"file"`
	App     string `json:"app"`
	Groups  int    `json:"groups"`
	Builds  int    `json:"builds"`
	Testers int    `json:"testers"`
}

TestFlightSyncSummary represents CLI output for testflight sync pull.

type TestNotesRecovery added in v1.260825.0

type TestNotesRecovery struct {
	BuildID        string   `json:"buildId"`
	Locale         string   `json:"locale"`
	SubmittedNotes string   `json:"submittedNotes"`
	Command        string   `json:"command"`
	Arguments      []string `json:"arguments"`
}

TestNotesRecovery describes a shell-neutral retry after a build exists but setting its What to Test notes fails.

type UTI

type UTI = types.UTI

Core types — aliases to types package.

type UploadOperation

type UploadOperation struct {
	Method         string       `json:"method"`
	URL            string       `json:"url"`
	Length         int64        `json:"length"`
	Offset         int64        `json:"offset"`
	RequestHeaders []HTTPHeader `json:"requestHeaders,omitempty"`
	Expiration     *string      `json:"expiration,omitempty"`
}

UploadOperation represents a file upload operation with presigned URL.

func RedactUploadOperations added in v1.260731.0

func RedactUploadOperations(operations []UploadOperation) []UploadOperation

RedactUploadOperations returns a presentation-safe copy of presigned upload operations. URLs and request-header values are capabilities; method, size, offset, expiration, and header names remain useful for dry-run diagnostics.

type UploadOption

type UploadOption func(*UploadOptions)

UploadOption configures upload options.

func WithUploadConcurrency

func WithUploadConcurrency(concurrency int) UploadOption

WithUploadConcurrency sets the number of concurrent upload workers.

func WithUploadHTTPClient

func WithUploadHTTPClient(client *http.Client) UploadOption

WithUploadHTTPClient sets the HTTP client used for upload operations.

type UploadOptions

type UploadOptions struct {
	Concurrency int
	Client      *http.Client
	RetryOpts   RetryOptions
}

UploadOptions configure how upload operations are executed.

type UserAttributes

type UserAttributes struct {
	Username            string   `json:"username"`
	FirstName           string   `json:"firstName"`
	LastName            string   `json:"lastName"`
	Email               string   `json:"email,omitempty"`
	Roles               []string `json:"roles"`
	AllAppsVisible      bool     `json:"allAppsVisible"`
	ProvisioningAllowed bool     `json:"provisioningAllowed"`
	// contains filtered or unexported fields
}

UserAttributes describes an App Store Connect user.

func (UserAttributes) MarshalJSON added in v1.260828.0

func (a UserAttributes) MarshalJSON() ([]byte, error)

MarshalJSON keeps sparse user responses sparse while retaining the existing full struct shape for callers that construct UserAttributes directly.

func (*UserAttributes) UnmarshalJSON added in v1.260828.0

func (a *UserAttributes) UnmarshalJSON(data []byte) error

UnmarshalJSON records which user attributes App Store Connect supplied. Sparse fieldsets intentionally omit attributes, so a plain struct round-trip would otherwise reintroduce zero-valued fields into JSON output.

type UserInvitationAttributes

type UserInvitationAttributes struct {
	Email               string   `json:"email"`
	FirstName           string   `json:"firstName"`
	LastName            string   `json:"lastName"`
	Roles               []string `json:"roles"`
	AllAppsVisible      *bool    `json:"allAppsVisible,omitempty"`
	ProvisioningAllowed *bool    `json:"provisioningAllowed,omitempty"`
	ExpirationDate      string   `json:"expirationDate,omitempty"`
}

UserInvitationAttributes describes an App Store Connect user invitation.

type UserInvitationCreateAttributes

type UserInvitationCreateAttributes struct {
	Email               string   `json:"email"`
	FirstName           string   `json:"firstName,omitempty"`
	LastName            string   `json:"lastName,omitempty"`
	Roles               []string `json:"roles"`
	AllAppsVisible      *bool    `json:"allAppsVisible,omitempty"`
	ProvisioningAllowed *bool    `json:"provisioningAllowed,omitempty"`
}

UserInvitationCreateAttributes describes attributes for creating a user invitation.

type UserInvitationCreateData

type UserInvitationCreateData struct {
	Type          ResourceType                       `json:"type"`
	Attributes    UserInvitationCreateAttributes     `json:"attributes"`
	Relationships *UserInvitationCreateRelationships `json:"relationships,omitempty"`
}

UserInvitationCreateData is the data object of the UserInvitationCreateRequest schema.

type UserInvitationCreateRelationships

type UserInvitationCreateRelationships struct {
	VisibleApps *RelationshipList `json:"visibleApps,omitempty"`
}

UserInvitationCreateRelationships is the data.relationships object of the UserInvitationCreateRequest schema.

type UserInvitationCreateRequest

type UserInvitationCreateRequest struct {
	Data UserInvitationCreateData `json:"data"`
}

UserInvitationCreateRequest is the UserInvitationCreateRequest schema.

type UserInvitationResponse

type UserInvitationResponse = SingleResponse[UserInvitationAttributes]

UserInvitationResponse is the UserInvitationResponse schema.

type UserInvitationRevokeResult

type UserInvitationRevokeResult struct {
	ID      string `json:"id"`
	Revoked bool   `json:"revoked"`
}

UserInvitationRevokeResult represents CLI output for invitation revocation.

type UserInvitationVisibleAppsOption

type UserInvitationVisibleAppsOption func(*userInvitationVisibleAppsQuery)

UserInvitationVisibleAppsOption sets the query of GET /v1/userInvitations/{id}/visibleApps (userInvitations_visibleApps_getToManyRelated).

type UserInvitationsOption

type UserInvitationsOption func(*userInvitationsQuery)

UserInvitationsOption sets the query of GET /v1/userInvitations (userInvitations_getCollection).

type UserInvitationsResponse

type UserInvitationsResponse = Response[UserInvitationAttributes]

UserInvitationsResponse is the UserInvitationsResponse schema.

type UserResponse

type UserResponse = SingleResponse[UserAttributes]

UserResponse is the UserResponse schema.

type UserUpdateAttributes

type UserUpdateAttributes struct {
	Roles               []string `json:"roles,omitempty"`
	AllAppsVisible      *bool    `json:"allAppsVisible,omitempty"`
	ProvisioningAllowed *bool    `json:"provisioningAllowed,omitempty"`
}

UserUpdateAttributes is the data.attributes object of the UserUpdateRequest schema.

type UserUpdateData

type UserUpdateData struct {
	Type          ResourceType             `json:"type"`
	ID            string                   `json:"id"`
	Attributes    *UserUpdateAttributes    `json:"attributes,omitempty"`
	Relationships *UserUpdateRelationships `json:"relationships,omitempty"`
}

UserUpdateData is the data object of the UserUpdateRequest schema.

type UserUpdateRelationships added in v1.260813.0

type UserUpdateRelationships struct {
	VisibleApps *RelationshipList `json:"visibleApps,omitempty"`
}

UserUpdateRelationships is the data.relationships object of the UserUpdateRequest schema.

type UserUpdateRequest

type UserUpdateRequest struct {
	Data UserUpdateData `json:"data"`
}

UserUpdateRequest is the UserUpdateRequest schema.

type UserVisibleAppsLinkagesResponse

type UserVisibleAppsLinkagesResponse = LinkagesResponse

UserVisibleAppsLinkagesResponse is the response from user visible apps linkage endpoint.

type UserVisibleAppsOption

type UserVisibleAppsOption func(*userVisibleAppsQuery)

UserVisibleAppsOption sets the query of GET /v1/users/{id}/visibleApps (users_visibleApps_getToManyRelated).

type UsersOption

type UsersOption func(*usersQuery)

UsersOption is a functional option for GetUsers.

func WithUsersAppFields added in v1.260828.0

func WithUsersAppFields(fields []string) UsersOption

WithUsersAppFields sets fields[apps] for included app responses.

func WithUsersEmail

func WithUsersEmail(email string) UsersOption

WithUsersEmail filters users by email/username.

func WithUsersFields added in v1.260828.0

func WithUsersFields(fields []string) UsersOption

WithUsersFields sets fields[users] for user responses.

func WithUsersInclude

func WithUsersInclude(include []string) UsersOption

WithUsersInclude sets include for user responses.

func WithUsersRoles

func WithUsersRoles(roles []string) UsersOption

WithUsersRoles filters users by roles.

func WithUsersSort added in v1.260828.0

func WithUsersSort(sort string) UsersOption

WithUsersSort sets the user list sort order.

func WithUsersVisibleAppIDs added in v1.260828.0

func WithUsersVisibleAppIDs(appIDs []string) UsersOption

WithUsersVisibleAppIDs filters users by visible app ID(s).

func WithUsersVisibleAppsLimit added in v1.260828.0

func WithUsersVisibleAppsLimit(limit int) UsersOption

WithUsersVisibleAppsLimit sets the maximum number of included visible apps.

type UsersResponse

type UsersResponse = Response[UserAttributes]

UsersResponse is the UsersResponse schema.

type WebAPIKeyActor added in v1.260904.0

type WebAPIKeyActor struct {
	ID   string `json:"id"`
	Name string `json:"name,omitempty"`
}

WebAPIKeyActor is a non-secret user or actor reference on an API key.

type WebAPIKeyCreateIndividualResult added in v1.260907.0

type WebAPIKeyCreateIndividualResult struct {
	KeyID      string `json:"keyId"`
	UserID     string `json:"userId"`
	P8Path     string `json:"p8Path"`
	Active     bool   `json:"active"`
	Registered bool   `json:"registered"`
}

WebAPIKeyCreateIndividualResult is the non-secret receipt from creating an individual API key through a web session. The private and public key bytes are deliberately not part of this output contract.

type WebAPIKeyGetResult added in v1.260904.0

type WebAPIKeyGetResult struct {
	KeyID          string   `json:"keyId"`
	Name           string   `json:"name,omitempty"`
	IssuerID       string   `json:"issuerId,omitempty"`
	Roles          []string `json:"roles,omitempty"`
	Active         bool     `json:"active"`
	AllAppsVisible bool     `json:"allAppsVisible"`
	CanDownload    bool     `json:"canDownload"`
	KeyType        string   `json:"keyType,omitempty"`
	LastUsed       string   `json:"lastUsed,omitempty"`
	RevokingDate   string   `json:"revokingDate,omitempty"`
}

WebAPIKeyGetResult is non-secret metadata for one team API key.

type WebAPIKeyListItem added in v1.260904.0

type WebAPIKeyListItem struct {
	KeyID       string          `json:"keyId"`
	Name        string          `json:"name,omitempty"`
	Kind        string          `json:"kind"`
	Roles       []string        `json:"roles,omitempty"`
	Active      bool            `json:"active"`
	KeyType     string          `json:"keyType,omitempty"`
	LastUsed    string          `json:"lastUsed,omitempty"`
	GeneratedBy *WebAPIKeyActor `json:"generatedBy,omitempty"`
	RevokedBy   *WebAPIKeyActor `json:"revokedBy,omitempty"`
}

WebAPIKeyListItem is one team or individual API key from a web-session list.

type WebAPIKeyRevokeResult added in v1.260907.0

type WebAPIKeyRevokeResult struct {
	KeyID   string `json:"keyId"`
	Kind    string `json:"kind"`
	Changed bool   `json:"changed"`
	Active  bool   `json:"active"`
	Status  string `json:"status"`
}

WebAPIKeyRevokeResult is the receipt for a verified API-key revocation. Changed is false when the selected key was already inactive and no write was sent.

type WebAPIKeysListResult added in v1.260904.0

type WebAPIKeysListResult struct {
	Keys []WebAPIKeyListItem `json:"keys"`
}

WebAPIKeysListResult is the computed list of API keys visible to a web session.

type WebAgeRatingEditResult

type WebAgeRatingEditResult struct {
	DeclarationID string `json:"declarationId"`
}

WebAgeRatingEditResult identifies a declaration when Iris returns no body.

type WebAgreement added in v1.260825.0

type WebAgreement struct {
	AgreementID               string `json:"agreementId"`
	Title                     string `json:"title"`
	Status                    string `json:"status"`
	Version                   string `json:"version"`
	IsProgramLicenseAgreement bool   `json:"isProgramLicenseAgreement"`
	Pending                   bool   `json:"pending"`
	DateEffective             string `json:"dateEffective,omitempty"`
	DateAccepted              string `json:"dateAccepted,omitempty"`
	DateAgreeBy               string `json:"dateAgreeBy,omitempty"`
	DownloadURL               string `json:"downloadUrl,omitempty"`

	ProgramLicenseClassificationUnknown bool `json:"programLicenseClassificationUnknown,omitempty"`
}

WebAgreement summarizes one Apple Developer Program agreement record.

type WebAgreementContractMessage added in v1.260825.0

type WebAgreementContractMessage struct {
	ID      string `json:"id"`
	Group   string `json:"group"`
	Subject string `json:"subject"`
	Message string `json:"message"`
}

WebAgreementContractMessage is an App Store Connect alert banner entry.

type WebAgreementDownloadResult added in v1.260904.0

type WebAgreementDownloadResult struct {
	AgreementID  string `json:"agreementId"`
	TeamID       string `json:"teamId"`
	Title        string `json:"title,omitempty"`
	Version      string `json:"version,omitempty"`
	Path         string `json:"path"`
	BytesWritten int64  `json:"bytesWritten"`
	ContentType  string `json:"contentType,omitempty"`
}

WebAgreementDownloadResult is the receipt for a saved agreement download. It intentionally omits the (possibly signed) download URL.

type WebAgreementsAcceptResult added in v1.260825.0

type WebAgreementsAcceptResult struct {
	TeamID       string         `json:"teamId"`
	AgreementIDs []string       `json:"agreementIds"`
	Status       string         `json:"status"`
	Verified     bool           `json:"verified"`
	Agreements   []WebAgreement `json:"agreements"`
}

WebAgreementsAcceptResult summarizes an agreement acceptance. When Verified is true, Agreements reflects the agreement history re-read after the write rather than the acceptAgreements response.

type WebAgreementsStatusResult added in v1.260825.0

type WebAgreementsStatusResult struct {
	TeamID              string                        `json:"teamId"`
	Pending             bool                          `json:"pending"`
	PendingAgreementIDs []string                      `json:"pendingAgreementIds"`
	Warnings            []string                      `json:"warnings"`
	ContractMessages    []WebAgreementContractMessage `json:"contractMessages"`
	Agreements          []WebAgreement                `json:"agreements"`
}

WebAgreementsStatusResult reports agreement state for a web session team.

type WebAppBundleAppsResult

type WebAppBundleAppsResult struct {
	BundleID     string   `json:"bundleId"`
	PreviousApps []string `json:"previousApps"`
	Apps         []string `json:"apps"`
	Changed      bool     `json:"changed"`
}

WebAppBundleAppsResult is the receipt for `asc web app-bundles apps set`.

type WebAppBundleReviewResult

type WebAppBundleReviewResult struct {
	BundleID              string `json:"bundleId"`
	PreviousState         string `json:"previousState"`
	State                 string `json:"state"`
	PreviousInFlightState string `json:"previousInFlightState,omitempty"`
	InFlightState         string `json:"inFlightState,omitempty"`
}

WebAppBundleReviewResult is the receipt for submitting a bundle or removing it from review.

type WebAppCreateIfExistsResult

type WebAppCreateIfExistsResult struct {
	ID       string `json:"id"`
	Name     string `json:"name"`
	BundleID string `json:"bundleId"`
	SKU      string `json:"sku"`
	IdempotentWriteReceipt
}

WebAppCreateIfExistsResult is the receipt for `asc web apps create --if-exists skip` when the app already exists. Every field comes from the public-API read-back of the existing app, not from the request flags.

type WebAppCreateResult added in v1.260904.0

type WebAppCreateResult struct {
	ID     string   `json:"id"`
	Access string   `json:"access"`
	Users  []string `json:"users"`
}

WebAppCreateResult is the mutation receipt for `asc web apps create` when --access is set. Access is observed from a post-create users re-read, not copied from the request flags.

type WebAppDeclaration added in v1.260904.0

type WebAppDeclaration struct {
	AppID           string `json:"appId"`
	RequirementID   string `json:"requirementId"`
	RequirementName string `json:"requirementName"`
	Ref             string `json:"ref,omitempty"`
	Status          string `json:"status,omitempty"`
	FormID          string `json:"formId,omitempty"`
	DateSigned      string `json:"dateSigned,omitempty"`
	Required        bool   `json:"required"`
}

WebAppDeclaration is one App Store Regulations & Permits requirement from `asc web apps declarations list`. JSON remains a bare array of these objects.

type WebAppDeclarationList added in v1.260904.0

type WebAppDeclarationList []WebAppDeclaration

WebAppDeclarationList is the computed listing for `asc web apps declarations list`.

type WebAppDeleteResult added in v1.260904.0

type WebAppDeleteResult struct {
	AppID    string `json:"appId"`
	Name     string `json:"name,omitempty"`
	BundleID string `json:"bundleId,omitempty"`
	Removed  bool   `json:"removed"`
	DryRun   bool   `json:"dryRun,omitempty"`
}

WebAppDeleteResult is the mutation and dry-run receipt for `asc web apps delete`.

type WebAppDistributionSetResult added in v1.260907.0

type WebAppDistributionSetResult struct {
	AppID                 string `json:"appId"`
	DistributionType      string `json:"distributionType"`
	EducationDiscountType string `json:"educationDiscountType"`
	Changed               bool   `json:"changed"`
	Verified              bool   `json:"verified"`
	Status                string `json:"status"`
}

WebAppDistributionSetResult is the receipt for an app-level distribution update. Status is unchanged when no PATCH was sent, verified after a successful read-back, and uncertain when Apple's write outcome cannot be established.

type WebAppDistributionUserMutationResult added in v1.260907.0

type WebAppDistributionUserMutationResult struct {
	AppID       string `json:"appId"`
	RecipientID string `json:"recipientId,omitempty"`
	AppleID     string `json:"appleId"`
	Changed     *bool  `json:"changed"`
	Verified    bool   `json:"verified"`
	Status      string `json:"status"`
}

WebAppDistributionUserMutationResult is the receipt for one app-scoped custom-distribution Apple Account recipient mutation. A nil Changed value means that an attempted write had an uncertain outcome.

type WebAppGroupDeleteResult added in v1.260904.0

type WebAppGroupDeleteResult struct {
	GroupID    string `json:"groupId"`
	Identifier string `json:"identifier"`
	Name       string `json:"name,omitempty"`
	Deleted    bool   `json:"deleted"`
	Status     string `json:"status"`
}

WebAppGroupDeleteResult is the receipt for a verified Developer Portal App Group deletion.

type WebAppGroupSetResult added in v1.260904.0

type WebAppGroupSetResult struct {
	BundleID string   `json:"bundleId"`
	GroupIDs []string `json:"groupIds"`
	Added    []string `json:"added"`
	Removed  []string `json:"removed"`
	Changed  bool     `json:"changed"`
	Status   string   `json:"status"`
}

WebAppGroupSetResult is the diff receipt for converging a Bundle ID on a desired App Group set. Changed is false when the current set already matched and no write was sent.

type WebAppGroupUnassignResult added in v1.260904.0

type WebAppGroupUnassignResult struct {
	BundleID          string   `json:"bundleId"`
	GroupID           string   `json:"groupId"`
	RemainingGroupIDs []string `json:"remainingGroupIds"`
	Changed           bool     `json:"changed"`
	Status            string   `json:"status"`
}

WebAppGroupUnassignResult is the receipt for removing one App Group from a Bundle ID. Changed is false when the group was not assigned and no write was sent.

type WebAppTaxCategorySetResult added in v1.260907.0

type WebAppTaxCategorySetResult struct {
	AppID        string   `json:"appId"`
	CategoryID   string   `json:"categoryId"`
	CategoryName string   `json:"categoryName,omitempty"`
	ConditionIDs []string `json:"conditionIds"`
	Changed      bool     `json:"changed"`
	Verified     bool     `json:"verified"`
}

WebAppTaxCategorySetResult is the receipt for a verified App Information tax-category selection made through an authenticated web session.

type WebAppTaxCategoryViewResult added in v1.260907.0

type WebAppTaxCategoryViewResult struct {
	AppID                 string   `json:"appId"`
	Configured            bool     `json:"configured"`
	CategoryID            string   `json:"categoryId,omitempty"`
	CategoryName          string   `json:"categoryName,omitempty"`
	EffectiveCategoryID   string   `json:"effectiveCategoryId,omitempty"`
	EffectiveCategoryName string   `json:"effectiveCategoryName"`
	EnabledConditionIDs   []string `json:"enabledConditionIds"`
}

WebAppTaxCategoryViewResult is the computed read result for an app's explicit App Information tax category and its effective UI category.

type WebBusinessAgreementAcceptResult

type WebBusinessAgreementAcceptResult struct {
	PublicProviderID string `json:"publicProviderId"`
	LegalEntityID    string `json:"legalEntityId"`
	ContractID       string `json:"contractId"`
	ContractConfigID string `json:"contractConfigId"`
	ConfigVersion    int    `json:"configVersion"`
	Status           string `json:"status"`
	Verified         bool   `json:"verified"`
}

WebBusinessAgreementAcceptResult reports the configuration and legal entity confirmed by rereading Business agreements after an acceptance request.

type WebDeveloperTeam

type WebDeveloperTeam struct {
	TeamID string `json:"teamId"`
	Name   string `json:"name"`
	Status string `json:"status"`
}

WebDeveloperTeam is one Developer Portal team on the web session's Apple Account.

type WebDeveloperTeamsResult

type WebDeveloperTeamsResult struct {
	Teams []WebDeveloperTeam `json:"teams"`
}

WebDeveloperTeamsResult lists every Developer Portal team on the web session.

type WebIAPTaxCategoryResetResult added in v1.260907.0

type WebIAPTaxCategoryResetResult struct {
	IAPID    string `json:"iapId"`
	Changed  bool   `json:"changed"`
	Verified bool   `json:"verified"`
}

WebIAPTaxCategoryResetResult is the receipt for a verified reset to the inherited In-App Purchase tax-category state.

type WebIAPTaxCategorySetResult added in v1.260907.0

type WebIAPTaxCategorySetResult struct {
	IAPID        string   `json:"iapId"`
	CategoryID   string   `json:"categoryId"`
	CategoryName string   `json:"categoryName,omitempty"`
	ConditionIDs []string `json:"conditionIds"`
	Changed      bool     `json:"changed"`
	Verified     bool     `json:"verified"`
}

WebIAPTaxCategorySetResult is the receipt for a verified In-App Purchase tax-category selection made through an authenticated web session.

type WebICloudContainerCreateResult

type WebICloudContainerCreateResult struct {
	Operation     string `json:"operation"`
	ContainerID   string `json:"containerId"`
	Identifier    string `json:"identifier"`
	Name          string `json:"name"`
	RequestedName string `json:"requestedName,omitempty"`
	Prefix        string `json:"prefix,omitempty"`
	Hidden        bool   `json:"hidden"`
	Changed       bool   `json:"changed"`
	Verified      bool   `json:"verified"`
	Permanent     bool   `json:"permanent"`
	Status        string `json:"status"`
}

WebICloudContainerCreateResult is the receipt for a verified Developer Portal iCloud container create. iCloud containers cannot be deleted, so Permanent is always true.

type WebMedicalDeviceDeclarationResult added in v1.260904.0

type WebMedicalDeviceDeclarationResult struct {
	AppID              string   `json:"appId"`
	RequirementID      string   `json:"requirementId"`
	RequirementName    string   `json:"requirementName"`
	Status             string   `json:"status,omitempty"`
	FormID             string   `json:"formId,omitempty"`
	Declared           bool     `json:"declared"`
	Changed            bool     `json:"changed"`
	CountriesOrRegions []string `json:"countriesOrRegions,omitempty"`
}

WebMedicalDeviceDeclarationResult is the mutation receipt from `asc web apps medical-device set`.

type WebMedicalDeviceDeclarationState added in v1.260904.0

type WebMedicalDeviceDeclarationState struct {
	AppID              string   `json:"appId"`
	RequirementID      string   `json:"requirementId"`
	RequirementName    string   `json:"requirementName"`
	Status             string   `json:"status,omitempty"`
	FormID             string   `json:"formId,omitempty"`
	Required           bool     `json:"required"`
	Declaration        string   `json:"declaration,omitempty"`
	CountriesOrRegions []string `json:"countriesOrRegions,omitempty"`
}

WebMedicalDeviceDeclarationState is the computed read from `asc web apps medical-device view`.

type WebMedicalDeviceRegionResult added in v1.260907.0

type WebMedicalDeviceRegionResult struct {
	AppID           string `json:"appId"`
	RequirementID   string `json:"requirementId"`
	RequirementName string `json:"requirementName"`
	Status          string `json:"status,omitempty"`
	FormID          string `json:"formId,omitempty"`
	Region          string `json:"region"`
	Declared        bool   `json:"declared"`
	Changed         bool   `json:"changed"`
}

WebMedicalDeviceRegionResult is the mutation receipt from `asc web apps medical-device region set`.

type WebRemovedAppRestoreResult added in v1.260907.0

type WebRemovedAppRestoreResult struct {
	AppID             string `json:"appId"`
	Access            string `json:"access"`
	Removed           bool   `json:"removed"`
	PermissionWritten bool   `json:"permissionWritten"`
}

WebRemovedAppRestoreResult is the restore mutation receipt.

type WebReviewDraftResult added in v1.260907.0

type WebReviewDraftResult struct {
	AppID    string `json:"appId"`
	ThreadID string `json:"threadId"`
	DraftID  string `json:"draftId"`
	Action   string `json:"action"`
	Verified bool   `json:"verified"`
}

WebReviewDraftResult is the redacted receipt for an unsent Resolution Center draft mutation.

type WebReviewReplyResult added in v1.260907.0

type WebReviewReplyResult struct {
	ThreadID  string `json:"threadId"`
	DraftID   string `json:"draftId"`
	MessageID string `json:"messageId"`
	Verified  bool   `json:"verified"`
}

WebReviewReplyResult is the redacted receipt for a Resolution Center reply sent through an authenticated web session.

type WebReviewSandboxEntitlementResult

type WebReviewSandboxEntitlementResult struct {
	VersionID      string `json:"versionId"`
	ReviewDetailID string `json:"reviewDetailId"`
	Entitlement    string `json:"entitlement"`
	UsageID        string `json:"usageId,omitempty"`
	Justification  string `json:"justification,omitempty"`
	Changed        bool   `json:"changed"`
	Status         string `json:"status"`
}

WebReviewSandboxEntitlementResult is the receipt for one verified App Sandbox Information mutation on an App Store version's App Review details.

type WebSandboxDeleteResult added in v1.260907.0

type WebSandboxDeleteResult struct {
	IDs     []string `json:"ids"`
	Deleted bool     `json:"deleted"`
}

WebSandboxDeleteResult is the receipt for verified private web sandbox tester deletions.

type WebServiceIDMutationResult added in v1.260907.0

type WebServiceIDMutationResult struct {
	Operation  string `json:"operation"`
	ServiceID  string `json:"serviceId"`
	Identifier string `json:"identifier,omitempty"`
	Name       string `json:"name,omitempty"`
	Changed    bool   `json:"changed"`
	Verified   bool   `json:"verified"`
	Status     string `json:"status"`
}

WebServiceIDMutationResult is the receipt for a verified private Developer Portal Services ID mutation.

type WebSessionExportResult added in v1.260907.0

type WebSessionExportResult struct {
	Path        string `json:"path"`
	AppleID     string `json:"appleId"`
	CookieCount int    `json:"cookieCount"`
	ExportedAt  string `json:"exportedAt"`
	ExpiresAt   string `json:"expiresAt,omitempty"`
	Overwritten bool   `json:"overwritten"`
}

WebSessionExportResult is the receipt for `asc web auth export`. It deliberately reports only where the bundle went and what it covers; cookie values stay in the exported file.

type WebSessionImportResult added in v1.260907.0

type WebSessionImportResult struct {
	Path                  string `json:"path"`
	AppleID               string `json:"appleId"`
	CookieCount           int    `json:"cookieCount"`
	SkippedExpiredCookies int    `json:"skippedExpiredCookies"`
	ExpiresAt             string `json:"expiresAt,omitempty"`
	Imported              bool   `json:"imported"`
}

WebSessionImportResult is the receipt for `asc web auth import`.

type WebSignInKeyReceipt

type WebSignInKeyReceipt struct {
	KeyID    string `json:"keyId"`
	Name     string `json:"name,omitempty"`
	BundleID string `json:"bundleId,omitempty"`
	P8Path   string `json:"p8Path"`
}

WebSignInKeyReceipt contains only non-secret key metadata and a local P8 path.

type WebSubscriptionMonthlyCommitmentBootstrapResult added in v1.260904.0

type WebSubscriptionMonthlyCommitmentBootstrapResult struct {
	SubscriptionID              string `json:"subscriptionId"`
	Territory                   string `json:"territory"`
	PlanAvailabilityID          string `json:"planAvailabilityId"`
	PlanAvailabilityNew         bool   `json:"planAvailabilityCreated"`
	PlanAvailabilityWouldCreate bool   `json:"planAvailabilityWouldCreate,omitempty"`
	UpfrontPricePointID         string `json:"upfrontPricePointId"`
	MonthlyPricePointID         string `json:"monthlyPricePointId"`
	PricesCreated               bool   `json:"pricesCreated"`
	Verified                    bool   `json:"verified"`
	CompletedStage              string `json:"completedStage,omitempty"`
	Failure                     string `json:"failure,omitempty"`
	DryRun                      bool   `json:"dryRun"`
	StartDate                   string `json:"startDate,omitempty"`
	PreserveCurrentPrice        bool   `json:"preserveCurrentPrice,omitempty"`
}

WebSubscriptionMonthlyCommitmentBootstrapResult is the mutation receipt for `asc web subscriptions pricing monthly-commitment bootstrap`.

type WebTransactionTaxDownloadResult added in v1.260907.0

type WebTransactionTaxDownloadResult struct {
	Date         string `json:"date"`
	Path         string `json:"path"`
	BytesWritten int64  `json:"bytesWritten"`
	ContentType  string `json:"contentType,omitempty"`
	PollStatus   string `json:"pollStatus"`
	Verified     bool   `json:"verified"`
}

WebTransactionTaxDownloadResult is the local receipt for a downloaded Transaction Tax Report archive. It intentionally excludes provider/account identifiers, generated job IDs, signed URLs, and finance values.

type WebWebsitePushIDMutationResult added in v1.260907.0

type WebWebsitePushIDMutationResult struct {
	Operation     string `json:"operation"`
	WebsitePushID string `json:"websitePushId"`
	Identifier    string `json:"identifier,omitempty"`
	Name          string `json:"name,omitempty"`
	Changed       bool   `json:"changed"`
	Verified      bool   `json:"verified"`
	Status        string `json:"status"`
}

WebWebsitePushIDMutationResult is the receipt for a verified modern Developer Portal Website Push ID mutation. It contains no session or credential material.

type WebXcodeCloudNextBuildNumberResult added in v1.260907.0

type WebXcodeCloudNextBuildNumberResult struct {
	ProductID               string `json:"productId"`
	PreviousNextBuildNumber *int   `json:"previousNextBuildNumber,omitempty"`
	NextBuildNumber         int    `json:"nextBuildNumber"`
	Updated                 bool   `json:"updated,omitempty"`
}

WebXcodeCloudNextBuildNumberResult is the current next-build-number setting and, after a mutation, its previously observed value. Apple's TestFlight URL is intentionally omitted because it may carry sensitive query parameters.

type WebXcodeCloudVersionAlias added in v1.260907.0

type WebXcodeCloudVersionAlias struct {
	ID             string `json:"id"`
	Name           string `json:"name"`
	Type           string `json:"type"`
	Locked         bool   `json:"locked"`
	BuildName      string `json:"buildName,omitempty"`
	BuildSupported bool   `json:"buildSupported"`
}

WebXcodeCloudVersionAlias is the safe, scalar summary of one custom version alias.

type WebXcodeCloudVersionAliasDeleteResult added in v1.260907.0

type WebXcodeCloudVersionAliasDeleteResult struct {
	ProductID string `json:"productId"`
	ID        string `json:"id"`
	Deleted   bool   `json:"deleted"`
}

WebXcodeCloudVersionAliasDeleteResult is the receipt for deleting one custom version alias after a successful post-delete verification read.

type WebXcodeCloudVersionAliasResult added in v1.260907.0

type WebXcodeCloudVersionAliasResult struct {
	ProductID      string `json:"productId"`
	Action         string `json:"action,omitempty"`
	ID             string `json:"id"`
	Name           string `json:"name"`
	Type           string `json:"type"`
	Locked         bool   `json:"locked"`
	BuildName      string `json:"buildName,omitempty"`
	BuildSupported bool   `json:"buildSupported"`
}

WebXcodeCloudVersionAliasResult is the safe scalar result for mutation receipts and human-readable rendering of one custom version alias. The private API's nested build and workflow-summary values are omitted here.

type WebXcodeCloudVersionAliasesResult added in v1.260907.0

type WebXcodeCloudVersionAliasesResult struct {
	ProductID      string                      `json:"productId"`
	VersionAliases []WebXcodeCloudVersionAlias `json:"versionAliases"`
}

WebXcodeCloudVersionAliasesResult is the computed alias list for one product.

type WebXcodeCloudWorkflowListItem added in v1.260904.0

type WebXcodeCloudWorkflowListItem struct {
	ID          string `json:"id"`
	Name        string `json:"name"`
	Description string `json:"description,omitempty"`
}

WebXcodeCloudWorkflowListItem is one workflow from the web CI list endpoint.

type WebXcodeCloudWorkflowsListResult added in v1.260904.0

type WebXcodeCloudWorkflowsListResult struct {
	ProductID string                          `json:"productId"`
	Workflows []WebXcodeCloudWorkflowListItem `json:"workflows"`
}

WebXcodeCloudWorkflowsListResult is the computed list of Xcode Cloud workflows for a product. The web CI list model only exposes id, name, and description.

type WebhookAttributes

type WebhookAttributes struct {
	Enabled    bool               `json:"enabled,omitempty"`
	EventTypes []WebhookEventType `json:"eventTypes,omitempty"`
	Name       string             `json:"name,omitempty"`
	URL        string             `json:"url,omitempty"`
}

WebhookAttributes is the attributes object of the Webhook schema.

type WebhookCreateAttributes

type WebhookCreateAttributes struct {
	Enabled    bool               `json:"enabled"`
	EventTypes []WebhookEventType `json:"eventTypes"`
	Name       string             `json:"name"`
	Secret     string             `json:"secret"`
	URL        string             `json:"url"`
}

WebhookCreateAttributes is the data.attributes object of the WebhookCreateRequest schema.

type WebhookCreateData

type WebhookCreateData struct {
	Type          ResourceType               `json:"type"`
	Attributes    WebhookCreateAttributes    `json:"attributes"`
	Relationships WebhookCreateRelationships `json:"relationships"`
}

WebhookCreateData is the data object of the WebhookCreateRequest schema.

type WebhookCreateRelationships

type WebhookCreateRelationships struct {
	App Relationship `json:"app"`
}

WebhookCreateRelationships is the data.relationships object of the WebhookCreateRequest schema.

type WebhookCreateRequest

type WebhookCreateRequest struct {
	Data WebhookCreateData `json:"data"`
}

WebhookCreateRequest is the WebhookCreateRequest schema.

type WebhookDeliveriesLinkagesResponse

type WebhookDeliveriesLinkagesResponse = LinkagesResponse

WebhookDeliveriesLinkagesResponse is the response from webhook delivery relationship endpoints.

type WebhookDeliveriesOption

type WebhookDeliveriesOption func(*webhookDeliveriesQuery)

WebhookDeliveriesOption sets the query of GET /v1/webhooks/{id}/deliveries (webhooks_deliveries_getToManyRelated).

func WithWebhookDeliveriesCreatedAfter

func WithWebhookDeliveriesCreatedAfter(values []string) WebhookDeliveriesOption

WithWebhookDeliveriesCreatedAfter sets filter[createdDateGreaterThanOrEqualTo].

func WithWebhookDeliveriesCreatedBefore

func WithWebhookDeliveriesCreatedBefore(values []string) WebhookDeliveriesOption

WithWebhookDeliveriesCreatedBefore sets filter[createdDateLessThan].

type WebhookDeliveriesResponse

type WebhookDeliveriesResponse = Response[WebhookDeliveryAttributes]

WebhookDeliveriesResponse is the response from webhook deliveries list endpoints.

type WebhookDeliveryAttributes

type WebhookDeliveryAttributes struct {
	CreatedDate   string                          `json:"createdDate,omitempty"`
	DeliveryState string                          `json:"deliveryState,omitempty"`
	ErrorMessage  string                          `json:"errorMessage,omitempty"`
	Redelivery    *bool                           `json:"redelivery,omitempty"`
	SentDate      string                          `json:"sentDate,omitempty"`
	Request       *WebhookDeliveryRequest         `json:"request,omitempty"`
	Response      *WebhookDeliveryResponsePayload `json:"response,omitempty"`
}

WebhookDeliveryAttributes describes webhook delivery attributes.

type WebhookDeliveryCreateData

type WebhookDeliveryCreateData struct {
	Type          ResourceType                       `json:"type"`
	Relationships WebhookDeliveryCreateRelationships `json:"relationships"`
}

WebhookDeliveryCreateData is the data object of the WebhookDeliveryCreateRequest schema.

type WebhookDeliveryCreateRelationships

type WebhookDeliveryCreateRelationships struct {
	Template Relationship `json:"template"`
}

WebhookDeliveryCreateRelationships is the data.relationships object of the WebhookDeliveryCreateRequest schema.

type WebhookDeliveryCreateRequest

type WebhookDeliveryCreateRequest struct {
	Data WebhookDeliveryCreateData `json:"data"`
}

WebhookDeliveryCreateRequest is the WebhookDeliveryCreateRequest schema.

type WebhookDeliveryRequest

type WebhookDeliveryRequest struct {
	URL string `json:"url,omitempty"`
}

WebhookDeliveryRequest describes the delivery request payload.

type WebhookDeliveryResponse

type WebhookDeliveryResponse = SingleResponse[WebhookDeliveryAttributes]

WebhookDeliveryResponse is the WebhookDeliveryResponse schema.

type WebhookDeliveryResponsePayload

type WebhookDeliveryResponsePayload struct {
	HTTPStatusCode int    `json:"httpStatusCode,omitempty"`
	Body           string `json:"body,omitempty"`
}

WebhookDeliveryResponsePayload describes the delivery response payload.

type WebhookEventType

type WebhookEventType string

WebhookEventType represents a webhook event type.

const (
	WebhookEventAlternativeDistributionPackageAvailableUpdated        WebhookEventType = "ALTERNATIVE_DISTRIBUTION_PACKAGE_AVAILABLE_UPDATED"
	WebhookEventAlternativeDistributionPackageVersionCreated          WebhookEventType = "ALTERNATIVE_DISTRIBUTION_PACKAGE_VERSION_CREATED"
	WebhookEventAlternativeDistributionTerritoryAvailabilityUpdated   WebhookEventType = "ALTERNATIVE_DISTRIBUTION_TERRITORY_AVAILABILITY_UPDATED"
	WebhookEventAppStoreVersionStateUpdated                           WebhookEventType = "APP_STORE_VERSION_APP_VERSION_STATE_UPDATED"
	WebhookEventBackgroundAssetVersionAppStoreReleaseStateUpdated     WebhookEventType = "BACKGROUND_ASSET_VERSION_APP_STORE_RELEASE_STATE_UPDATED"
	WebhookEventBackgroundAssetVersionExternalBetaReleaseStateUpdated WebhookEventType = "BACKGROUND_ASSET_VERSION_EXTERNAL_BETA_RELEASE_STATE_UPDATED"
	WebhookEventBackgroundAssetVersionInternalBetaReleaseCreated      WebhookEventType = "BACKGROUND_ASSET_VERSION_INTERNAL_BETA_RELEASE_CREATED"
	WebhookEventBackgroundAssetVersionStateUpdated                    WebhookEventType = "BACKGROUND_ASSET_VERSION_STATE_UPDATED"
	WebhookEventBetaFeedbackCrashSubmissionCreated                    WebhookEventType = "BETA_FEEDBACK_CRASH_SUBMISSION_CREATED"
	WebhookEventBetaFeedbackScreenshotSubmissionCreated               WebhookEventType = "BETA_FEEDBACK_SCREENSHOT_SUBMISSION_CREATED"
	WebhookEventBuildBetaDetailExternalBuildStateUpdated              WebhookEventType = "BUILD_BETA_DETAIL_EXTERNAL_BUILD_STATE_UPDATED"
	WebhookEventBuildUploadStateUpdated                               WebhookEventType = "BUILD_UPLOAD_STATE_UPDATED"
)

type WebhookPingCreateData

type WebhookPingCreateData struct {
	Type          ResourceType                   `json:"type"`
	Relationships WebhookPingCreateRelationships `json:"relationships"`
}

WebhookPingCreateData is the data object of the WebhookPingCreateRequest schema.

type WebhookPingCreateRelationships

type WebhookPingCreateRelationships struct {
	Webhook Relationship `json:"webhook"`
}

WebhookPingCreateRelationships is the data.relationships object of the WebhookPingCreateRequest schema.

type WebhookPingCreateRequest

type WebhookPingCreateRequest struct {
	Data WebhookPingCreateData `json:"data"`
}

WebhookPingCreateRequest is the WebhookPingCreateRequest schema.

type WebhookPingResponse

type WebhookPingResponse = SingleResponse[struct{}]

WebhookPingResponse is the response from webhook ping endpoints.

type WebhookResponse

type WebhookResponse = SingleResponse[WebhookAttributes]

WebhookResponse is the WebhookResponse schema.

type WebhookUpdateAttributes

type WebhookUpdateAttributes struct {
	Enabled    *bool              `json:"enabled,omitempty"`
	EventTypes []WebhookEventType `json:"eventTypes,omitempty"`
	Name       *string            `json:"name,omitempty"`
	Secret     *string            `json:"secret,omitempty"`
	URL        *string            `json:"url,omitempty"`
}

WebhookUpdateAttributes is the data.attributes object of the WebhookUpdateRequest schema.

type WebhookUpdateData

type WebhookUpdateData struct {
	Type       ResourceType             `json:"type"`
	ID         string                   `json:"id"`
	Attributes *WebhookUpdateAttributes `json:"attributes,omitempty"`
}

WebhookUpdateData is the data object of the WebhookUpdateRequest schema.

type WebhookUpdateRequest

type WebhookUpdateRequest struct {
	Data WebhookUpdateData `json:"data"`
}

WebhookUpdateRequest is the WebhookUpdateRequest schema.

type WebhooksOption

type WebhooksOption func(*webhooksQuery)

WebhooksOption sets the query of GET /v1/apps/{id}/webhooks (apps_webhooks_getToManyRelated).

type WebhooksResponse

type WebhooksResponse = Response[WebhookAttributes]

WebhooksResponse is the response from webhook list endpoints.

type WinBackOfferAttributes

type WinBackOfferAttributes struct {
	ReferenceName                                       string                       `json:"referenceName,omitempty"`
	OfferID                                             string                       `json:"offerId,omitempty"`
	Duration                                            SubscriptionOfferDuration    `json:"duration,omitempty"`
	OfferMode                                           SubscriptionOfferMode        `json:"offerMode,omitempty"`
	PeriodCount                                         int                          `json:"periodCount,omitempty"`
	CustomerEligibilityPaidSubscriptionDurationInMonths int                          `json:"customerEligibilityPaidSubscriptionDurationInMonths,omitempty"`
	CustomerEligibilityTimeSinceLastSubscribedInMonths  *IntegerRange                `json:"customerEligibilityTimeSinceLastSubscribedInMonths,omitempty"`
	CustomerEligibilityWaitBetweenOffersInMonths        *int                         `json:"customerEligibilityWaitBetweenOffersInMonths,omitempty"`
	StartDate                                           string                       `json:"startDate,omitempty"`
	EndDate                                             *string                      `json:"endDate,omitempty"`
	Priority                                            WinBackOfferPriority         `json:"priority,omitempty"`
	PromotionIntent                                     *WinBackOfferPromotionIntent `json:"promotionIntent,omitempty"`
	TargetSubscriptionPlanType                          SubscriptionPlanType         `json:"targetSubscriptionPlanType,omitempty"`
}

WinBackOfferAttributes describes a win-back offer.

type WinBackOfferCreateAttributes

type WinBackOfferCreateAttributes struct {
	ReferenceName                                       string                       `json:"referenceName"`
	OfferID                                             string                       `json:"offerId"`
	Duration                                            SubscriptionOfferDuration    `json:"duration"`
	OfferMode                                           SubscriptionOfferMode        `json:"offerMode"`
	PeriodCount                                         int                          `json:"periodCount"`
	CustomerEligibilityPaidSubscriptionDurationInMonths int                          `json:"customerEligibilityPaidSubscriptionDurationInMonths"`
	CustomerEligibilityTimeSinceLastSubscribedInMonths  IntegerRange                 `json:"customerEligibilityTimeSinceLastSubscribedInMonths"`
	CustomerEligibilityWaitBetweenOffersInMonths        *int                         `json:"customerEligibilityWaitBetweenOffersInMonths,omitempty"`
	StartDate                                           string                       `json:"startDate"`
	EndDate                                             *string                      `json:"endDate,omitempty"`
	Priority                                            WinBackOfferPriority         `json:"priority"`
	PromotionIntent                                     *WinBackOfferPromotionIntent `json:"promotionIntent,omitempty"`
	TargetSubscriptionPlanType                          SubscriptionPlanType         `json:"targetSubscriptionPlanType,omitempty"`
}

WinBackOfferCreateAttributes describes attributes for creating a win-back offer.

type WinBackOfferCreateData

type WinBackOfferCreateData struct {
	Type          ResourceType                    `json:"type"`
	Attributes    WinBackOfferCreateAttributes    `json:"attributes"`
	Relationships WinBackOfferCreateRelationships `json:"relationships"`
}

WinBackOfferCreateData is the data object of the WinBackOfferCreateRequest schema.

type WinBackOfferCreateRelationships

type WinBackOfferCreateRelationships struct {
	Subscription Relationship     `json:"subscription"`
	Prices       RelationshipList `json:"prices"`
}

WinBackOfferCreateRelationships is the data.relationships object of the WinBackOfferCreateRequest schema.

type WinBackOfferCreateRequest

type WinBackOfferCreateRequest struct {
	Data     WinBackOfferCreateData          `json:"data"`
	Included []WinBackOfferPriceInlineCreate `json:"included,omitempty"`
}

WinBackOfferCreateRequest is a request to create a win-back offer.

type WinBackOfferPriceAttributes

type WinBackOfferPriceAttributes struct{}

WinBackOfferPriceAttributes describes a win-back offer price (attributes are empty).

type WinBackOfferPriceInlineCreate

type WinBackOfferPriceInlineCreate struct {
	Type          ResourceType                    `json:"type"`
	ID            string                          `json:"id,omitempty"`
	Relationships *WinBackOfferPriceRelationships `json:"relationships,omitempty"`
}

WinBackOfferPriceInlineCreate describes inline creation data for prices. Win-back offer prices do not exist before the offer is created, so the create request must inline them via the JSON:API `included` array with temporary `${price-N}` IDs, each carrying a territory relationship plus, for paid offer modes only, a subscriptionPricePoint relationship. Without the relationships the API rejects paid requests with "Missing subscriptionPricePoint relationship".

type WinBackOfferPriceRelationships

type WinBackOfferPriceRelationships struct {
	Territory              Relationship  `json:"territory"`
	SubscriptionPricePoint *Relationship `json:"subscriptionPricePoint,omitempty"`
}

WinBackOfferPriceRelationships describes price relationships. The subscriptionPricePoint relationship must be omitted for free offers (FREE_TRIAL); the API rejects it with "subscriptionPricePoint should not be set for free offers".

type WinBackOfferPricesOption

type WinBackOfferPricesOption func(*winBackOfferPricesQuery)

WinBackOfferPricesOption sets the query of GET /v1/winBackOffers/{id}/prices (winBackOffers_prices_getToManyRelated).

func WithWinBackOfferPricesFields

func WithWinBackOfferPricesFields(fields []string) WinBackOfferPricesOption

WithWinBackOfferPricesFields sets fields[winBackOfferPrices].

func WithWinBackOfferPricesInclude

func WithWinBackOfferPricesInclude(include []string) WinBackOfferPricesOption

WithWinBackOfferPricesInclude sets include.

func WithWinBackOfferPricesSubscriptionPricePointFields

func WithWinBackOfferPricesSubscriptionPricePointFields(fields []string) WinBackOfferPricesOption

WithWinBackOfferPricesSubscriptionPricePointFields sets fields[subscriptionPricePoints].

func WithWinBackOfferPricesTerritoryFields

func WithWinBackOfferPricesTerritoryFields(fields []string) WinBackOfferPricesOption

WithWinBackOfferPricesTerritoryFields sets fields[territories].

func WithWinBackOfferPricesTerritoryFilter

func WithWinBackOfferPricesTerritoryFilter(ids []string) WinBackOfferPricesOption

WithWinBackOfferPricesTerritoryFilter sets filter[territory].

type WinBackOfferPricesResponse

type WinBackOfferPricesResponse = Response[WinBackOfferPriceAttributes]

WinBackOfferPricesResponse is the response from prices endpoints.

type WinBackOfferPriority

type WinBackOfferPriority string

WinBackOfferPriority represents win-back offer priority.

const (
	WinBackOfferPriorityHigh   WinBackOfferPriority = "HIGH"
	WinBackOfferPriorityNormal WinBackOfferPriority = "NORMAL"
)

type WinBackOfferPromotionIntent

type WinBackOfferPromotionIntent string

WinBackOfferPromotionIntent represents promotion intent for win-back offers.

const (
	WinBackOfferPromotionNotPromoted            WinBackOfferPromotionIntent = "NOT_PROMOTED"
	WinBackOfferPromotionUseAutoGeneratedAssets WinBackOfferPromotionIntent = "USE_AUTO_GENERATED_ASSETS"
)

type WinBackOfferResponse

type WinBackOfferResponse = SingleResponse[WinBackOfferAttributes]

WinBackOfferResponse is the WinBackOfferResponse schema.

type WinBackOfferUpdateAttributes

type WinBackOfferUpdateAttributes struct {
	CustomerEligibilityPaidSubscriptionDurationInMonths *int                         `json:"customerEligibilityPaidSubscriptionDurationInMonths,omitempty"`
	CustomerEligibilityTimeSinceLastSubscribedInMonths  *IntegerRange                `json:"customerEligibilityTimeSinceLastSubscribedInMonths,omitempty"`
	CustomerEligibilityWaitBetweenOffersInMonths        *int                         `json:"customerEligibilityWaitBetweenOffersInMonths,omitempty"`
	StartDate                                           *string                      `json:"startDate,omitempty"`
	EndDate                                             *string                      `json:"endDate,omitempty"`
	Priority                                            *WinBackOfferPriority        `json:"priority,omitempty"`
	PromotionIntent                                     *WinBackOfferPromotionIntent `json:"promotionIntent,omitempty"`
}

WinBackOfferUpdateAttributes describes attributes for updating a win-back offer.

type WinBackOfferUpdateData

type WinBackOfferUpdateData struct {
	Type       ResourceType                 `json:"type"`
	ID         string                       `json:"id"`
	Attributes WinBackOfferUpdateAttributes `json:"attributes"`
}

WinBackOfferUpdateData is the data portion of an update request.

type WinBackOfferUpdateRequest

type WinBackOfferUpdateRequest struct {
	Data WinBackOfferUpdateData `json:"data"`
}

WinBackOfferUpdateRequest is the WinBackOfferUpdateRequest schema.

type WinBackOffersOption

type WinBackOffersOption func(*winBackOffersQuery)

WinBackOffersOption sets the query of GET /v1/subscriptions/{id}/winBackOffers (subscriptions_winBackOffers_getToManyRelated).

func WithWinBackOffersFields

func WithWinBackOffersFields(fields []string) WinBackOffersOption

WithWinBackOffersFields sets fields[winBackOffers].

func WithWinBackOffersInclude

func WithWinBackOffersInclude(include []string) WinBackOffersOption

WithWinBackOffersInclude sets include.

func WithWinBackOffersPriceFields

func WithWinBackOffersPriceFields(fields []string) WinBackOffersOption

WithWinBackOffersPriceFields sets fields[winBackOfferPrices].

func WithWinBackOffersPricesLimit

func WithWinBackOffersPricesLimit(limit int) WinBackOffersOption

WithWinBackOffersPricesLimit sets limit[prices].

type WinBackOffersResponse

type WinBackOffersResponse = Response[WinBackOfferAttributes]

WinBackOffersResponse is the response from list endpoints.

type XcodeBumpVersionResult

type XcodeBumpVersionResult struct {
	BumpType         string               `json:"bumpType"`
	OldVersion       string               `json:"oldVersion,omitempty"`
	NewVersion       string               `json:"newVersion,omitempty"`
	OldBuild         string               `json:"oldBuild,omitempty"`
	NewBuild         string               `json:"newBuild,omitempty"`
	ProjectDir       string               `json:"projectDir"`
	Target           string               `json:"target,omitempty"`
	Configuration    string               `json:"configuration,omitempty"`
	VersionFilter    string               `json:"versionFilter,omitempty"`
	ComputedWarnings []string             `json:"computedWarnings,omitempty"`
	ChangedFiles     []string             `json:"changedFiles"`
	Changes          []XcodeVersionChange `json:"changes"`
}

XcodeBumpVersionResult is the receipt for a local version bump.

type XcodeCloudDoctorAction added in v1.260822.0

type XcodeCloudDoctorAction struct {
	ID                string                     `json:"id"`
	Name              string                     `json:"name,omitempty"`
	ActionType        string                     `json:"actionType,omitempty"`
	ExecutionProgress string                     `json:"executionProgress,omitempty"`
	CompletionStatus  string                     `json:"completionStatus,omitempty"`
	IsRequiredToPass  *bool                      `json:"isRequiredToPass,omitempty"`
	Issues            []XcodeCloudDoctorIssue    `json:"issues"`
	Artifacts         []XcodeCloudDoctorArtifact `json:"artifacts"`
}

XcodeCloudDoctorAction contains the issues and artifacts for one build action.

type XcodeCloudDoctorArtifact added in v1.260822.0

type XcodeCloudDoctorArtifact struct {
	ID       string `json:"id"`
	FileType string `json:"fileType,omitempty"`
	FileName string `json:"fileName,omitempty"`
	FileSize int    `json:"fileSize,omitempty"`
}

XcodeCloudDoctorArtifact is an artifact produced by a build action.

type XcodeCloudDoctorCoverageWarning added in v1.260822.0

type XcodeCloudDoctorCoverageWarning struct {
	ID          string `json:"id"`
	Message     string `json:"message"`
	Remediation string `json:"remediation"`
}

XcodeCloudDoctorCoverageWarning explains a diagnostic coverage limitation.

type XcodeCloudDoctorIssue added in v1.260822.0

type XcodeCloudDoctorIssue struct {
	ID         string        `json:"id"`
	IssueType  string        `json:"issueType,omitempty"`
	Category   string        `json:"category,omitempty"`
	Message    string        `json:"message,omitempty"`
	FileSource *FileLocation `json:"fileSource,omitempty"`
}

XcodeCloudDoctorIssue is an issue reported for a build action.

type XcodeCloudDoctorLogBundle added in v1.260822.0

type XcodeCloudDoctorLogBundle struct {
	ArtifactID           string                          `json:"artifactId"`
	ActionID             string                          `json:"actionId"`
	FileName             string                          `json:"fileName,omitempty"`
	FileSize             int                             `json:"fileSize,omitempty"`
	Inspected            bool                            `json:"inspected"`
	SavedPath            string                          `json:"savedPath,omitempty"`
	ExportStatus         string                          `json:"exportStatus,omitempty"`
	Diagnostics          []XcodeCloudDoctorLogDiagnostic `json:"diagnostics"`
	DiagnosticsTruncated bool                            `json:"diagnosticsTruncated,omitempty"`
}

XcodeCloudDoctorLogBundle records inspection results for a log bundle.

type XcodeCloudDoctorLogDiagnostic added in v1.260822.0

type XcodeCloudDoctorLogDiagnostic struct {
	Code       string `json:"code"`
	Message    string `json:"message"`
	SourceFile string `json:"sourceFile,omitempty"`
}

XcodeCloudDoctorLogDiagnostic is an App Store import diagnostic extracted from a log bundle.

type XcodeCloudDoctorResult added in v1.260822.0

type XcodeCloudDoctorResult struct {
	Run              *XcodeCloudStatusResult           `json:"run"`
	Summary          XcodeCloudDoctorSummary           `json:"summary"`
	Actions          []XcodeCloudDoctorAction          `json:"actions"`
	LogBundles       []XcodeCloudDoctorLogBundle       `json:"logBundles"`
	CoverageWarnings []XcodeCloudDoctorCoverageWarning `json:"coverageWarnings"`
	Conclusion       string                            `json:"conclusion"`
	NextAction       string                            `json:"nextAction"`
}

XcodeCloudDoctorResult is the computed diagnosis for an Xcode Cloud build run.

type XcodeCloudDoctorSummary added in v1.260822.0

type XcodeCloudDoctorSummary struct {
	TotalActions        int `json:"totalActions"`
	FailedActions       int `json:"failedActions"`
	CanceledActions     int `json:"canceledActions"`
	SkippedActions      int `json:"skippedActions"`
	Errors              int `json:"errors"`
	Warnings            int `json:"warnings"`
	Artifacts           int `json:"artifacts"`
	LogBundles          int `json:"logBundles"`
	LogBundlesInspected int `json:"logBundlesInspected"`
}

XcodeCloudDoctorSummary contains aggregate counts for a doctor report.

type XcodeCloudRunResult

type XcodeCloudRunResult struct {
	BuildRunID        string `json:"buildRunId"`
	BuildNumber       int    `json:"buildNumber,omitempty"`
	WorkflowID        string `json:"workflowId"`
	WorkflowName      string `json:"workflowName,omitempty"`
	TriggerSource     string `json:"triggerSource,omitempty"`
	GitReferenceID    string `json:"gitReferenceId,omitempty"`
	GitReferenceName  string `json:"gitReferenceName,omitempty"`
	PullRequestID     string `json:"pullRequestId,omitempty"`
	SourceRunID       string `json:"sourceRunId,omitempty"`
	Clean             bool   `json:"clean,omitempty"`
	ExecutionProgress string `json:"executionProgress,omitempty"`
	CompletionStatus  string `json:"completionStatus,omitempty"`
	StartReason       string `json:"startReason,omitempty"`
	CreatedDate       string `json:"createdDate,omitempty"`
	StartedDate       string `json:"startedDate,omitempty"`
	FinishedDate      string `json:"finishedDate,omitempty"`
}

XcodeCloudRunResult represents the result of triggering a build run.

type XcodeCloudStatusResult

type XcodeCloudStatusResult struct {
	BuildRunID        string         `json:"buildRunId"`
	BuildNumber       int            `json:"buildNumber,omitempty"`
	WorkflowID        string         `json:"workflowId,omitempty"`
	ExecutionProgress string         `json:"executionProgress"`
	CompletionStatus  string         `json:"completionStatus,omitempty"`
	StartReason       string         `json:"startReason,omitempty"`
	CancelReason      string         `json:"cancelReason,omitempty"`
	CreatedDate       string         `json:"createdDate,omitempty"`
	StartedDate       string         `json:"startedDate,omitempty"`
	FinishedDate      string         `json:"finishedDate,omitempty"`
	SourceCommit      *CiGitRefInfo  `json:"sourceCommit,omitempty"`
	IssueCounts       *CiIssueCounts `json:"issueCounts,omitempty"`
}

XcodeCloudStatusResult represents the status of a build run.

type XcodeCoverage

type XcodeCoverage struct {
	Name            string          `json:"name,omitempty"`
	LineCoverage    float64         `json:"lineCoverage"`
	CoveredLines    int             `json:"coveredLines"`
	ExecutableLines int             `json:"executableLines"`
	Targets         []XcodeCoverage `json:"targets,omitempty"`
}

XcodeCoverage is line coverage for a whole test run or, inside Targets, for one target.

type XcodeInstallArtifact added in v1.260831.0

type XcodeInstallArtifact struct {
	SHA256      string `json:"sha256"`
	SizeBytes   int64  `json:"sizeBytes"`
	BundleID    string `json:"bundleId"`
	Version     string `json:"version"`
	BuildNumber string `json:"buildNumber"`
}

XcodeInstallArtifact contains only stable, non-path IPA identity fields.

type XcodeInstallDevice added in v1.260831.0

type XcodeInstallDevice struct {
	IdentifierSHA256 string `json:"identifierSha256"`
	Platform         string `json:"platform"`
	PairingState     string `json:"pairingState"`
	ConnectionState  string `json:"connectionState"`
}

XcodeInstallDevice contains redacted connected-device state. The identifier is a one-way digest rather than the CoreDevice identifier or hardware UDID.

type XcodeInstallResult added in v1.260831.0

type XcodeInstallResult struct {
	SchemaVersion int                  `json:"schemaVersion"`
	Operation     string               `json:"operation"`
	Success       bool                 `json:"success"`
	Installed     bool                 `json:"installed"`
	Verified      bool                 `json:"verified"`
	IPA           XcodeInstallArtifact `json:"ipa"`
	Device        *XcodeInstallDevice  `json:"device,omitempty"`
	FailureStage  string               `json:"failureStage,omitempty"`
	FailureCode   string               `json:"failureCode,omitempty"`
	DurationMS    int64                `json:"durationMs"`
}

XcodeInstallResult is the privacy-safe result of installing and verifying a local IPA on one connected iOS device. Device identity is represented only by a one-way digest; source and temporary paths are intentionally omitted.

type XcodeJUnitResult

type XcodeJUnitResult struct {
	XCResult   string `json:"xcresult"`
	ReportFile string `json:"reportFile"`
	Tests      int    `json:"tests"`
	Passed     int    `json:"passed"`
	Failures   int    `json:"failures"`
	Skipped    int    `json:"skipped"`
}

XcodeJUnitResult is the receipt for converting an existing xcresult to JUnit.

type XcodeSetVersionResult

type XcodeSetVersionResult struct {
	Version          string               `json:"version,omitempty"`
	BuildNumber      string               `json:"buildNumber,omitempty"`
	ProjectDir       string               `json:"projectDir"`
	Target           string               `json:"target,omitempty"`
	Configuration    string               `json:"configuration,omitempty"`
	VersionFilter    string               `json:"versionFilter,omitempty"`
	ComputedWarnings []string             `json:"computedWarnings,omitempty"`
	ChangedFiles     []string             `json:"changedFiles"`
	Changes          []XcodeVersionChange `json:"changes"`
}

XcodeSetVersionResult is the receipt for a local version edit.

type XcodeSigningApplyOutput added in v1.260904.0

type XcodeSigningApplyOutput struct {
	SchemaVersion int                               `json:"schemaVersion"`
	AppliedAt     string                            `json:"appliedAt"`
	Completed     bool                              `json:"completed"`
	PlanHash      string                            `json:"planHash"`
	PlanPath      string                            `json:"planPath"`
	ReceiptPath   string                            `json:"receiptPath"`
	ChangedFiles  []string                          `json:"changedFiles"`
	Files         []XcodeSigningFileChangeOutput    `json:"files"`
	Changes       []XcodeSigningSettingChangeOutput `json:"changes"`
}

XcodeSigningApplyOutput is the outward JSON and human-readable output for a completed local Xcode signing apply. The receipt artifact remains owned by the xcode package and is encoded from its domain type before this view is rendered.

type XcodeSigningFileChangeOutput added in v1.260904.0

type XcodeSigningFileChangeOutput struct {
	Path         string `json:"path"`
	Source       string `json:"source"`
	BeforeSHA256 string `json:"beforeSha256"`
	AfterSHA256  string `json:"afterSha256"`
}

XcodeSigningFileChangeOutput binds a written file to its before and after digest in an apply receipt.

type XcodeSigningPlanConfigurationOutput added in v1.260904.0

type XcodeSigningPlanConfigurationOutput struct {
	Name     string                          `json:"name"`
	Settings []XcodeSigningPlanSettingOutput `json:"settings"`
}

XcodeSigningPlanConfigurationOutput describes one build configuration in a signing plan.

type XcodeSigningPlanExportOptions

type XcodeSigningPlanExportOptions struct {
	Method               string            `json:"method,omitempty"`
	SigningStyle         string            `json:"signingStyle,omitempty"`
	TeamID               string            `json:"teamID,omitempty"`
	ProvisioningProfiles map[string]string `json:"provisioningProfiles,omitempty"`
}

XcodeSigningPlanExportOptions is the export-options payload in plan output.

type XcodeSigningPlanFileOutput added in v1.260904.0

type XcodeSigningPlanFileOutput struct {
	Path   string `json:"path"`
	SHA256 string `json:"sha256"`
	Source string `json:"source"`
}

XcodeSigningPlanFileOutput records a source file digest bound into a plan.

type XcodeSigningPlanInferenceOutput

type XcodeSigningPlanInferenceOutput struct {
	Target            string `json:"target"`
	Configuration     string `json:"configuration"`
	BundleID          string `json:"bundleId"`
	ProfilePath       string `json:"profilePath"`
	ProfileUUID       string `json:"profileUuid"`
	CertificateSHA256 string `json:"certificateSha256"`
	Match             string `json:"match"`
}

XcodeSigningPlanInferenceOutput records the profile chosen for one target.

type XcodeSigningPlanOutput added in v1.260904.0

type XcodeSigningPlanOutput struct {
	SchemaVersion           int                               `json:"schemaVersion"`
	Command                 string                            `json:"command"`
	GeneratedAt             string                            `json:"generatedAt"`
	PlanHash                string                            `json:"planHash"`
	Ready                   bool                              `json:"ready"`
	ProjectPath             string                            `json:"projectPath"`
	SettingsFilePath        string                            `json:"settingsFilePath"`
	PlanPath                string                            `json:"planPath"`
	ReceiptPath             string                            `json:"receiptPath"`
	AllowExternalXCConfig   bool                              `json:"allowExternalXCConfig"`
	Desired                 []XcodeSigningPlanTargetOutput    `json:"desired"`
	Files                   []XcodeSigningPlanFileOutput      `json:"files"`
	Changes                 []XcodeSigningSettingChangeOutput `json:"changes"`
	MissingOptionalIncludes []string                          `json:"missingOptionalIncludes,omitempty"`
	ProfilePaths            []string                          `json:"profilePaths,omitempty"`
	Configuration           string                            `json:"configuration,omitempty"`
	ExportMethod            string                            `json:"exportMethod,omitempty"`
	SkipTargets             []string                          `json:"skipTargets,omitempty"`
	Inferences              []XcodeSigningPlanInferenceOutput `json:"inferences,omitempty"`
	ExportOptions           *XcodeSigningPlanExportOptions    `json:"exportOptions,omitempty"`
	Blockers                []string                          `json:"blockers"`
	Warnings                []string                          `json:"warnings"`
}

XcodeSigningPlanOutput is the outward JSON and human-readable output for a local Xcode signing plan. It is intentionally separate from the plan artifact type so rendering changes cannot alter the artifact hash contract.

type XcodeSigningPlanSettingOutput added in v1.260904.0

type XcodeSigningPlanSettingOutput struct {
	Key   string  `json:"key"`
	Value *string `json:"value"`
}

XcodeSigningPlanSettingOutput describes one normalized desired signing setting.

type XcodeSigningPlanTargetOutput added in v1.260904.0

type XcodeSigningPlanTargetOutput struct {
	Target         string                                `json:"target"`
	Configurations []XcodeSigningPlanConfigurationOutput `json:"configurations"`
}

XcodeSigningPlanTargetOutput describes one target in a signing plan.

type XcodeSigningSettingChangeOutput added in v1.260904.0

type XcodeSigningSettingChangeOutput struct {
	Target        string  `json:"target"`
	Configuration string  `json:"configuration"`
	Setting       string  `json:"setting"`
	Operation     string  `json:"operation"`
	Resolution    string  `json:"resolution"`
	OldValue      *string `json:"oldValue"`
	NewValue      *string `json:"newValue"`
	Path          string  `json:"path"`
	Source        string  `json:"source"`
}

XcodeSigningSettingChangeOutput records one concrete signing-setting operation in a plan or receipt.

type XcodeTestCase added in v1.260831.0

type XcodeTestCase struct {
	Identifier string `json:"identifier"`
	Name       string `json:"name,omitempty"`
	Classname  string `json:"className,omitempty"`
	Status     string `json:"status"`
	DurationMs int64  `json:"durationMs,omitempty"`
	Message    string `json:"message,omitempty"`
}

XcodeTestCase is one parsed Xcode test case.

type XcodeTestDestination

type XcodeTestDestination struct {
	Name              string `json:"name"`
	UDID              string `json:"udid,omitempty"`
	Runtime           string `json:"runtime"`
	State             string `json:"state"`
	DestinationString string `json:"destinationString"`
	Available         bool   `json:"available"`
}

XcodeTestDestination is one destination string for asc xcode test --destination.

type XcodeTestDestinationsResult

type XcodeTestDestinationsResult struct {
	Destinations []XcodeTestDestination `json:"destinations"`
}

XcodeTestDestinationsResult lists local destinations without mutating Simulator state.

type XcodeTestFailure added in v1.260831.0

type XcodeTestFailure struct {
	Identifier string `json:"identifier"`
	Message    string `json:"message,omitempty"`
}

XcodeTestFailure is bounded structured failure detail from an Xcode result.

type XcodeTestResult added in v1.260831.0

type XcodeTestResult struct {
	Workspace        string            `json:"workspace,omitempty"`
	Project          string            `json:"project,omitempty"`
	PackagePath      string            `json:"packagePath,omitempty"`
	Scheme           string            `json:"scheme,omitempty"`
	Action           string            `json:"action"`
	Configuration    string            `json:"configuration,omitempty"`
	Destinations     []string          `json:"destinations,omitempty"`
	TestPlan         string            `json:"testPlan,omitempty"`
	XctestrunPath    string            `json:"xctestrunPath,omitempty"`
	DerivedDataPath  string            `json:"derivedDataPath,omitempty"`
	ResultBundlePath string            `json:"resultBundlePath,omitempty"`
	Tests            *XcodeTestSummary `json:"tests,omitempty"`
	Coverage         *XcodeCoverage    `json:"coverage,omitempty"`
	Clean            bool              `json:"clean"`
	NoCodeSigning    bool              `json:"noCodeSigning"`
	Success          bool              `json:"success"`
	DurationMs       int64             `json:"durationMs"`
	ExitStatus       *int              `json:"exitStatus,omitempty"`
}

XcodeTestResult is the stable output receipt for a local Xcode test action. It deliberately lives in the output package so JSON and human renderers use the same exported camelCase contract as other computed CLI results.

type XcodeTestSummary added in v1.260831.0

type XcodeTestSummary struct {
	Total            int                `json:"total"`
	Passed           int                `json:"passed"`
	Failed           int                `json:"failed"`
	Skipped          int                `json:"skipped"`
	ExpectedFailures int                `json:"expectedFailures"`
	DurationMs       int64              `json:"durationMs"`
	Cases            []XcodeTestCase    `json:"cases,omitempty"`
	Failures         []XcodeTestFailure `json:"failures,omitempty"`
}

XcodeTestSummary is the structured test aggregate in an Xcode result receipt.

type XcodeToolchainDoctorCheck added in v1.260831.0

type XcodeToolchainDoctorCheck struct {
	Name    string `json:"name"`
	Status  string `json:"status"`
	Path    string `json:"path,omitempty"`
	Message string `json:"message"`
}

XcodeToolchainDoctorCheck is one check in an XcodeToolchainDoctorResult.

type XcodeToolchainDoctorResult added in v1.260831.0

type XcodeToolchainDoctorResult struct {
	Status       string                      `json:"status"`
	Source       string                      `json:"source,omitempty"`
	DeveloperDir string                      `json:"developerDir,omitempty"`
	XcodePath    string                      `json:"xcodePath,omitempty"`
	XcodeVersion string                      `json:"xcodeVersion,omitempty"`
	XcodeBuild   string                      `json:"xcodeBuild,omitempty"`
	Beta         *bool                       `json:"beta,omitempty"`
	Checks       []XcodeToolchainDoctorCheck `json:"checks"`
}

XcodeToolchainDoctorResult is the computed output contract for the local Xcode toolchain diagnostic. It intentionally lives in the output package so JSON field names remain stable independently of the probe implementation.

type XcodeVersionChange

type XcodeVersionChange struct {
	Setting       string `json:"setting"`
	OldValue      string `json:"oldValue,omitempty"`
	NewValue      string `json:"newValue"`
	Target        string `json:"target,omitempty"`
	Configuration string `json:"configuration,omitempty"`
	Path          string `json:"path"`
	Source        string `json:"source"`
}

XcodeVersionChange describes one concrete version build-setting mutation.

Source Files

Directories

Path Synopsis
Package types contains the core data types for the App Store Connect API.
Package types contains the core data types for the App Store Connect API.

Jump to

Keyboard shortcuts

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