asc

package
v1.260504.0 Latest Latest
Warning

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

Go to latest
Published: May 4, 2026 License: MIT Imports: 41 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// BaseURL is the App Store Connect API base URL
	BaseURL = "https://api.appstoreconnect.apple.com"
	// 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
)
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
	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
	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
	ResourceTypeSubscriptionGroupSubmissions                    = types.ResourceTypeSubscriptionGroupSubmissions
	ResourceTypeSubscriptions                                   = types.ResourceTypeSubscriptions
	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
	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
	ResourceTypeGameCenterDetails                               = types.ResourceTypeGameCenterDetails
	ResourceTypeGameCenterAppVersions                           = types.ResourceTypeGameCenterAppVersions
	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 (
	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 (
	// NotaryBaseURL is the Apple Notary API base URL.
	NotaryBaseURL = "https://appstoreconnect.apple.com"
)

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")
	ErrRepeatedPaginationURL = errors.New("detected repeated pagination URL")
)
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_MILLISECOND",
	"ELAPSED_TIME_SECOND",
	"ELAPSED_TIME_MINUTE",
	"MONEY_WHOLE",
	"MONEY_POINT_2_PLACE",
}

Valid leaderboard formatters.

View Source
var ValidPreviewTypes = []string{
	"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.

Functions

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 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 ComputeFileSHA256

func ComputeFileSHA256(path string) (string, error)

ComputeFileSHA256 computes the SHA-256 hex digest of a file.

func ExecuteUploadOperations

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

ExecuteUploadOperations performs the file uploads for the provided operations.

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 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 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 IsNotFound

func IsNotFound(err error) bool

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

func IsRetryable

func IsRetryable(err error) bool

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

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 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 ParseError

func ParseError(body []byte) error

ParseError parses an error response (status code unknown)

func ParseErrorWithStatus

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

ParseErrorWithStatus parses an error response and includes the HTTP status code

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 PrintJSON

func PrintJSON(data any) error

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

func PrintMarkdown

func PrintMarkdown(data any) error

PrintMarkdown prints data as Markdown table.

func PrintPrettyJSON

func PrintPrettyJSON(data any) error

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

func PrintTable

func PrintTable(data any) error

PrintTable prints data as a formatted table.

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 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 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 ReviewSubmissionItemTypeNames

func ReviewSubmissionItemTypeNames() []string

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

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 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 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.

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 ValidateImageFile

func ValidateImageFile(path string) error

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

func ValidateScreenshotDimensions

func ValidateScreenshotDimensions(path, displayType string) error

ValidateScreenshotDimensions checks that the image matches an allowed size.

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 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.

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
}

APIError represents a parsed App Store Connect error response.

func (*APIError) Error

func (e *APIError) Error() string

func (*APIError) Is

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

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 describes create attributes.

type AccessibilityDeclarationCreateData

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

AccessibilityDeclarationCreateData is the data portion of a create request.

type AccessibilityDeclarationCreateRequest

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

AccessibilityDeclarationCreateRequest is a request to create a declaration.

type AccessibilityDeclarationDeleteResult

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

AccessibilityDeclarationDeleteResult represents CLI output for deletions.

type AccessibilityDeclarationRelationships

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

AccessibilityDeclarationRelationships describes relationships for requests.

type AccessibilityDeclarationResponse

type AccessibilityDeclarationResponse = SingleResponse[AccessibilityDeclarationAttributes]

AccessibilityDeclarationResponse is the response from accessibility declaration endpoints.

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 describes update attributes.

type AccessibilityDeclarationUpdateData

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

AccessibilityDeclarationUpdateData is the data portion of an update request.

type AccessibilityDeclarationUpdateRequest

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

AccessibilityDeclarationUpdateRequest is a request to update a declaration.

type AccessibilityDeclarationsOption

type AccessibilityDeclarationsOption func(*accessibilityDeclarationsQuery)

AccessibilityDeclarationsOption is a functional option for accessibility declarations.

func WithAccessibilityDeclarationsDeviceFamilies

func WithAccessibilityDeclarationsDeviceFamilies(families []string) AccessibilityDeclarationsOption

WithAccessibilityDeclarationsDeviceFamilies filters declarations by device family.

func WithAccessibilityDeclarationsFields

func WithAccessibilityDeclarationsFields(fields []string) AccessibilityDeclarationsOption

WithAccessibilityDeclarationsFields includes specific fields.

func WithAccessibilityDeclarationsLimit

func WithAccessibilityDeclarationsLimit(limit int) AccessibilityDeclarationsOption

WithAccessibilityDeclarationsLimit sets the max number of declarations to return.

func WithAccessibilityDeclarationsNextURL

func WithAccessibilityDeclarationsNextURL(next string) AccessibilityDeclarationsOption

WithAccessibilityDeclarationsNextURL uses a next page URL directly.

func WithAccessibilityDeclarationsStates

func WithAccessibilityDeclarationsStates(states []string) AccessibilityDeclarationsOption

WithAccessibilityDeclarationsStates filters declarations by 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 describes an actor resource.

type ActorResponse

type ActorResponse = SingleResponse[ActorAttributes]

ActorResponse is the response from actor detail endpoint.

type ActorsOption

type ActorsOption func(*actorsQuery)

ActorsOption is a functional option for GetActors.

func WithActorsFields

func WithActorsFields(fields []string) ActorsOption

WithActorsFields limits actor fields in the response.

func WithActorsIDs

func WithActorsIDs(ids []string) ActorsOption

WithActorsIDs filters actors by id(s).

func WithActorsLimit

func WithActorsLimit(limit int) ActorsOption

WithActorsLimit sets the max number of actors to return.

func WithActorsNextURL

func WithActorsNextURL(next string) ActorsOption

WithActorsNextURL uses a next page URL directly.

type ActorsResponse

type ActorsResponse = Response[ActorAttributes]

ActorsResponse is the response from actors endpoint.

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"`
	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"`
	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"`
}

AgeRatingDeclarationAttributes describes the age rating declaration attributes.

type AgeRatingDeclarationResponse

type AgeRatingDeclarationResponse = SingleResponse[AgeRatingDeclarationAttributes]

AgeRatingDeclarationResponse is the response from age rating declaration endpoints.

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 a request to update an age rating declaration.

type AlternativeDistributionDomainAttributes

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

AlternativeDistributionDomainAttributes describes an alternative distribution domain.

type AlternativeDistributionDomainCreateAttributes

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

AlternativeDistributionDomainCreateAttributes describes attributes for creating a domain.

type AlternativeDistributionDomainCreateData

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

AlternativeDistributionDomainCreateData is the data payload for domain create requests.

type AlternativeDistributionDomainCreateRequest

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

AlternativeDistributionDomainCreateRequest is a request to create a domain.

type AlternativeDistributionDomainDeleteResult

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

AlternativeDistributionDomainDeleteResult represents CLI output for domain deletions.

type AlternativeDistributionDomainResponse

type AlternativeDistributionDomainResponse = SingleResponse[AlternativeDistributionDomainAttributes]

AlternativeDistributionDomainResponse is the response from domain detail endpoints.

type AlternativeDistributionDomainsOption

type AlternativeDistributionDomainsOption func(*alternativeDistributionDomainsQuery)

AlternativeDistributionDomainsOption is a functional option for alternative distribution domains.

func WithAlternativeDistributionDomainsLimit

func WithAlternativeDistributionDomainsLimit(limit int) AlternativeDistributionDomainsOption

WithAlternativeDistributionDomainsLimit sets the max number of domains to return.

func WithAlternativeDistributionDomainsNextURL

func WithAlternativeDistributionDomainsNextURL(next string) AlternativeDistributionDomainsOption

WithAlternativeDistributionDomainsNextURL uses a next page URL directly.

type AlternativeDistributionDomainsResponse

type AlternativeDistributionDomainsResponse = Response[AlternativeDistributionDomainAttributes]

AlternativeDistributionDomainsResponse is the response from domain list endpoints.

type AlternativeDistributionKeyAttributes

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

AlternativeDistributionKeyAttributes describes an alternative distribution key.

type AlternativeDistributionKeyCreateAttributes

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

AlternativeDistributionKeyCreateAttributes describes attributes for creating a key.

type AlternativeDistributionKeyCreateData

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

AlternativeDistributionKeyCreateData is the data payload for key create requests.

type AlternativeDistributionKeyCreateRelationships

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

AlternativeDistributionKeyCreateRelationships describes relationships for key create requests.

type AlternativeDistributionKeyCreateRequest

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

AlternativeDistributionKeyCreateRequest is a request to create a key.

type AlternativeDistributionKeyDeleteResult

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

AlternativeDistributionKeyDeleteResult represents CLI output for key deletions.

type AlternativeDistributionKeyResponse

type AlternativeDistributionKeyResponse = SingleResponse[AlternativeDistributionKeyAttributes]

AlternativeDistributionKeyResponse is the response from key detail endpoints.

type AlternativeDistributionKeysOption

type AlternativeDistributionKeysOption func(*alternativeDistributionKeysQuery)

AlternativeDistributionKeysOption is a functional option for alternative distribution keys.

func WithAlternativeDistributionKeysLimit

func WithAlternativeDistributionKeysLimit(limit int) AlternativeDistributionKeysOption

WithAlternativeDistributionKeysLimit sets the max number of keys to return.

func WithAlternativeDistributionKeysNextURL

func WithAlternativeDistributionKeysNextURL(next string) AlternativeDistributionKeysOption

WithAlternativeDistributionKeysNextURL uses a next page URL directly.

type AlternativeDistributionKeysResponse

type AlternativeDistributionKeysResponse = Response[AlternativeDistributionKeyAttributes]

AlternativeDistributionKeysResponse is the response from key list endpoints.

type AlternativeDistributionPackageAttributes

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

AlternativeDistributionPackageAttributes describes an alternative distribution package.

type AlternativeDistributionPackageCreateData

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

AlternativeDistributionPackageCreateData is the data payload for package create requests.

type AlternativeDistributionPackageCreateRelationships

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

AlternativeDistributionPackageCreateRelationships describes relationships for package create requests.

type AlternativeDistributionPackageCreateRequest

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

AlternativeDistributionPackageCreateRequest is a request to create a package.

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 describes a package delta.

type AlternativeDistributionPackageDeltaResponse

type AlternativeDistributionPackageDeltaResponse = SingleResponse[AlternativeDistributionPackageDeltaAttributes]

AlternativeDistributionPackageDeltaResponse is the response from package delta detail endpoints.

type AlternativeDistributionPackageDeltasOption

type AlternativeDistributionPackageDeltasOption func(*alternativeDistributionPackageDeltasQuery)

AlternativeDistributionPackageDeltasOption is a functional option for package delta list endpoints.

func WithAlternativeDistributionPackageDeltasLimit

func WithAlternativeDistributionPackageDeltasLimit(limit int) AlternativeDistributionPackageDeltasOption

WithAlternativeDistributionPackageDeltasLimit sets the max number of package deltas to return.

func WithAlternativeDistributionPackageDeltasNextURL

func WithAlternativeDistributionPackageDeltasNextURL(next string) AlternativeDistributionPackageDeltasOption

WithAlternativeDistributionPackageDeltasNextURL uses a next page URL directly.

type AlternativeDistributionPackageDeltasResponse

type AlternativeDistributionPackageDeltasResponse = Response[AlternativeDistributionPackageDeltaAttributes]

AlternativeDistributionPackageDeltasResponse is the response from package delta list endpoints.

type AlternativeDistributionPackageResponse

type AlternativeDistributionPackageResponse = SingleResponse[AlternativeDistributionPackageAttributes]

AlternativeDistributionPackageResponse is the response from package detail endpoints.

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 describes a package variant.

type AlternativeDistributionPackageVariantResponse

type AlternativeDistributionPackageVariantResponse = SingleResponse[AlternativeDistributionPackageVariantAttributes]

AlternativeDistributionPackageVariantResponse is the response from package variant detail endpoints.

type AlternativeDistributionPackageVariantsOption

type AlternativeDistributionPackageVariantsOption func(*alternativeDistributionPackageVariantsQuery)

AlternativeDistributionPackageVariantsOption is a functional option for package variant list endpoints.

func WithAlternativeDistributionPackageVariantsLimit

func WithAlternativeDistributionPackageVariantsLimit(limit int) AlternativeDistributionPackageVariantsOption

WithAlternativeDistributionPackageVariantsLimit sets the max number of package variants to return.

func WithAlternativeDistributionPackageVariantsNextURL

func WithAlternativeDistributionPackageVariantsNextURL(next string) AlternativeDistributionPackageVariantsOption

WithAlternativeDistributionPackageVariantsNextURL uses a next page URL directly.

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 response from package version detail endpoints.

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 is a functional option for package versions list endpoints.

func WithAlternativeDistributionPackageVersionsLimit

func WithAlternativeDistributionPackageVersionsLimit(limit int) AlternativeDistributionPackageVersionsOption

WithAlternativeDistributionPackageVersionsLimit sets the max number of package versions to return.

func WithAlternativeDistributionPackageVersionsNextURL

func WithAlternativeDistributionPackageVersionsNextURL(next string) AlternativeDistributionPackageVersionsOption

WithAlternativeDistributionPackageVersionsNextURL uses a next page URL directly.

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.

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 response from analytics report instance endpoint.

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 WithAnalyticsReportInstancesLimit

func WithAnalyticsReportInstancesLimit(limit int) AnalyticsReportInstancesOption

WithAnalyticsReportInstancesLimit sets the max number of instances to return.

func WithAnalyticsReportInstancesNextURL

func WithAnalyticsReportInstancesNextURL(next string) AnalyticsReportInstancesOption

WithAnalyticsReportInstancesNextURL uses a next page URL directly.

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"`
	State                  AnalyticsReportRequestState `json:"state,omitempty"`
	CreatedDate            string                      `json:"createdDate,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 portion of an analytics report request create.

type AnalyticsReportRequestCreateRelationships

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

AnalyticsReportRequestCreateRelationships describes relationships for creation.

type AnalyticsReportRequestCreateRequest

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

AnalyticsReportRequestCreateRequest is a request to create an analytics report request.

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 AnalyticsReportRequestReportsLinkagesResponse

type AnalyticsReportRequestReportsLinkagesResponse = LinkagesResponse

AnalyticsReportRequestReportsLinkagesResponse is the response from analytics report request reports linkages endpoint.

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"`
	State       string `json:"state,omitempty"`
	CreatedDate string `json:"createdDate,omitempty"`
}

AnalyticsReportRequestResult represents CLI output for created requests.

type AnalyticsReportRequestState

type AnalyticsReportRequestState string

AnalyticsReportRequestState represents analytics request states.

const (
	AnalyticsReportRequestStateProcessing AnalyticsReportRequestState = "PROCESSING"
	AnalyticsReportRequestStateCompleted  AnalyticsReportRequestState = "COMPLETED"
	AnalyticsReportRequestStateFailed     AnalyticsReportRequestState = "FAILED"
)

type AnalyticsReportRequestsOption

type AnalyticsReportRequestsOption func(*analyticsReportRequestsQuery)

AnalyticsReportRequestsOption is a functional option for request listings.

func WithAnalyticsReportRequestsLimit

func WithAnalyticsReportRequestsLimit(limit int) AnalyticsReportRequestsOption

WithAnalyticsReportRequestsLimit sets the max number of requests to return.

func WithAnalyticsReportRequestsNextURL

func WithAnalyticsReportRequestsNextURL(next string) AnalyticsReportRequestsOption

WithAnalyticsReportRequestsNextURL uses a next page URL directly.

func WithAnalyticsReportRequestsState

func WithAnalyticsReportRequestsState(state string) AnalyticsReportRequestsOption

WithAnalyticsReportRequestsState filters requests by state.

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 response from analytics report endpoint.

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 response from analytics report segment endpoint.

type AnalyticsReportSegmentsOption

type AnalyticsReportSegmentsOption func(*analyticsReportSegmentsQuery)

AnalyticsReportSegmentsOption is a functional option for segment listings.

func WithAnalyticsReportSegmentsLimit

func WithAnalyticsReportSegmentsLimit(limit int) AnalyticsReportSegmentsOption

WithAnalyticsReportSegmentsLimit sets the max number of segments to return.

func WithAnalyticsReportSegmentsNextURL

func WithAnalyticsReportSegmentsNextURL(next string) AnalyticsReportSegmentsOption

WithAnalyticsReportSegmentsNextURL uses a next page URL directly.

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.

func WithAnalyticsReportsLimit

func WithAnalyticsReportsLimit(limit int) AnalyticsReportsOption

WithAnalyticsReportsLimit sets the max number of reports to return.

func WithAnalyticsReportsNextURL

func WithAnalyticsReportsNextURL(next string) AnalyticsReportsOption

WithAnalyticsReportsNextURL uses a next page URL directly.

type AnalyticsReportsResponse

type AnalyticsReportsResponse = Response[AnalyticsReportAttributes]

AnalyticsReportsResponse is the response from analytics reports endpoint.

type AndroidToIosAppMappingDeleteResult

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

AndroidToIosAppMappingDeleteResult represents CLI output for deletions.

type AndroidToIosAppMappingDetailAttributes

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

AndroidToIosAppMappingDetailAttributes describes an android-to-iOS mapping resource.

type AndroidToIosAppMappingDetailCreateAttributes

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

AndroidToIosAppMappingDetailCreateAttributes describes attributes for creating a mapping.

type AndroidToIosAppMappingDetailCreateData

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

AndroidToIosAppMappingDetailCreateData is the data portion of a create request.

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 a request to create a mapping.

type AndroidToIosAppMappingDetailResponse

type AndroidToIosAppMappingDetailResponse = SingleResponse[AndroidToIosAppMappingDetailAttributes]

AndroidToIosAppMappingDetailResponse is the response from the mapping detail endpoint.

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 portion of an update request.

type AndroidToIosAppMappingDetailUpdateRequest

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

AndroidToIosAppMappingDetailUpdateRequest is a request to update a mapping.

type AndroidToIosAppMappingDetailsOption

type AndroidToIosAppMappingDetailsOption func(*androidToIosAppMappingDetailsQuery)

AndroidToIosAppMappingDetailsOption is a functional option for Android-to-iOS mappings.

func WithAndroidToIosAppMappingDetailsFields

func WithAndroidToIosAppMappingDetailsFields(fields []string) AndroidToIosAppMappingDetailsOption

WithAndroidToIosAppMappingDetailsFields sets fields[androidToIosAppMappingDetails].

func WithAndroidToIosAppMappingDetailsLimit

func WithAndroidToIosAppMappingDetailsLimit(limit int) AndroidToIosAppMappingDetailsOption

WithAndroidToIosAppMappingDetailsLimit sets the max number of mappings to return.

func WithAndroidToIosAppMappingDetailsNextURL

func WithAndroidToIosAppMappingDetailsNextURL(next string) AndroidToIosAppMappingDetailsOption

WithAndroidToIosAppMappingDetailsNextURL uses a next page URL directly.

type AndroidToIosAppMappingDetailsResponse

type AndroidToIosAppMappingDetailsResponse = Response[AndroidToIosAppMappingDetailAttributes]

AndroidToIosAppMappingDetailsResponse is the response from the mapping list endpoint.

type AppAlternativeDistributionKeyLinkageResponse

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

AppAlternativeDistributionKeyLinkageResponse is the response for app key relationships.

type AppAppAvailabilityV2LinkageResponse

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

AppAppAvailabilityV2LinkageResponse is the response for app availability v2 relationship.

type AppAppPriceScheduleLinkageResponse

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

AppAppPriceScheduleLinkageResponse is the response for app price schedule relationship.

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"`
}

AppAttributes describes an app resource.

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. Apple documents this endpoint as app pre-order creation, not generic app-availability bootstrap.

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.

func WithAppBetaAppLocalizationsLimit

func WithAppBetaAppLocalizationsLimit(limit int) AppBetaAppLocalizationsOption

WithAppBetaAppLocalizationsLimit sets the max number of beta app localizations to return.

func WithAppBetaAppLocalizationsNextURL

func WithAppBetaAppLocalizationsNextURL(next string) AppBetaAppLocalizationsOption

WithAppBetaAppLocalizationsNextURL uses a next page URL directly.

type AppBetaAppReviewDetailLinkageResponse

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

AppBetaAppReviewDetailLinkageResponse is the response for beta app review detail relationship.

type AppBetaLicenseAgreementLinkageResponse

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

AppBetaLicenseAgreementLinkageResponse is the response for app beta license agreement relationship.

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.

func WithAppCategoriesNextURL

func WithAppCategoriesNextURL(next string) AppCategoriesOption

WithAppCategoriesNextURL uses a next page URL directly.

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 describes app category metadata.

type AppCategoryParentLinkageResponse

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

AppCategoryParentLinkageResponse is the response for app category parent relationship.

type AppCategoryResponse

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

AppCategoryResponse is the response from app category detail endpoints.

type AppCiProductLinkageResponse

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

AppCiProductLinkageResponse is the response for CI product relationship.

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"`
	Version          string                                    `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 *AppClipAdvancedExperienceRelationships   `json:"relationships"`
}

AppClipAdvancedExperienceCreateData is the payload for creating an advanced experience.

type AppClipAdvancedExperienceCreateRequest

type AppClipAdvancedExperienceCreateRequest struct {
	Data AppClipAdvancedExperienceCreateData `json:"data"`
}

AppClipAdvancedExperienceCreateRequest is the create request payload.

type AppClipAdvancedExperienceDeleteResult

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

AppClipAdvancedExperienceDeleteResult represents advanced experience deletion.

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 payload for creating an image reservation.

type AppClipAdvancedExperienceImageCreateRequest

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

AppClipAdvancedExperienceImageCreateRequest is the create request payload.

type AppClipAdvancedExperienceImageDeleteResult

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

AppClipAdvancedExperienceImageDeleteResult represents advanced image deletion.

type AppClipAdvancedExperienceImageResponse

type AppClipAdvancedExperienceImageResponse = SingleResponse[AppClipAdvancedExperienceImageAttributes]

Response aliases.

type AppClipAdvancedExperienceImageUpdateAttributes

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

AppClipAdvancedExperienceImageUpdateAttributes describes image update attributes.

type AppClipAdvancedExperienceImageUpdateData

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

AppClipAdvancedExperienceImageUpdateData is the payload for updating an image.

type AppClipAdvancedExperienceImageUpdateRequest

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

AppClipAdvancedExperienceImageUpdateRequest is the update request payload.

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 AppClipAdvancedExperienceRelationships

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

AppClipAdvancedExperienceRelationships describes advanced experience relationships.

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 payload for updating an advanced experience.

type AppClipAdvancedExperienceUpdateRequest

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

AppClipAdvancedExperienceUpdateRequest is the update request payload.

type AppClipAdvancedExperiencesLinkagesResponse

type AppClipAdvancedExperiencesLinkagesResponse = LinkagesResponse

Response aliases.

type AppClipAdvancedExperiencesOption

type AppClipAdvancedExperiencesOption func(*appClipAdvancedExperiencesQuery)

AppClipAdvancedExperiencesOption is a functional option for GetAppClipAdvancedExperiences.

func WithAppClipAdvancedExperiencesActions

func WithAppClipAdvancedExperiencesActions(actions []string) AppClipAdvancedExperiencesOption

WithAppClipAdvancedExperiencesActions filters advanced experiences by action(s).

func WithAppClipAdvancedExperiencesLimit

func WithAppClipAdvancedExperiencesLimit(limit int) AppClipAdvancedExperiencesOption

WithAppClipAdvancedExperiencesLimit sets the max number of advanced experiences to return.

func WithAppClipAdvancedExperiencesNextURL

func WithAppClipAdvancedExperiencesNextURL(next string) AppClipAdvancedExperiencesOption

WithAppClipAdvancedExperiencesNextURL uses a next page URL directly.

func WithAppClipAdvancedExperiencesPlaceStatuses

func WithAppClipAdvancedExperiencesPlaceStatuses(placeStatuses []string) AppClipAdvancedExperiencesOption

WithAppClipAdvancedExperiencesPlaceStatuses filters advanced experiences by place status(es).

func WithAppClipAdvancedExperiencesStatuses

func WithAppClipAdvancedExperiencesStatuses(statuses []string) AppClipAdvancedExperiencesOption

WithAppClipAdvancedExperiencesStatuses filters advanced experiences by status(es).

type AppClipAdvancedExperiencesResponse

type AppClipAdvancedExperiencesResponse = Response[AppClipAdvancedExperienceAttributes]

Response aliases.

type AppClipAppStoreReviewDetailAttributes

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

AppClipAppStoreReviewDetailAttributes describes review detail attributes.

type AppClipAppStoreReviewDetailCreateAttributes

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

AppClipAppStoreReviewDetailCreateAttributes describes review detail create attributes.

type AppClipAppStoreReviewDetailCreateData

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

AppClipAppStoreReviewDetailCreateData is the payload for creating review details.

type AppClipAppStoreReviewDetailCreateRequest

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

AppClipAppStoreReviewDetailCreateRequest is the create request payload.

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 describes review detail update attributes.

type AppClipAppStoreReviewDetailUpdateData

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

AppClipAppStoreReviewDetailUpdateData is the payload for updating review details.

type AppClipAppStoreReviewDetailUpdateRequest

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

AppClipAppStoreReviewDetailUpdateRequest is the update request payload.

type AppClipAttributes

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

AppClipAttributes describes an App Clip resource.

type AppClipDefaultExperienceAttributes

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

AppClipDefaultExperienceAttributes describes App Clip default experience attributes.

type AppClipDefaultExperienceCreateAttributes

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

AppClipDefaultExperienceCreateAttributes describes default experience create attributes.

type AppClipDefaultExperienceCreateData

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

AppClipDefaultExperienceCreateData is the payload for creating a default experience.

type AppClipDefaultExperienceCreateRelationships

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

AppClipDefaultExperienceCreateRelationships describes relationships for default experience create.

type AppClipDefaultExperienceCreateRequest

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

AppClipDefaultExperienceCreateRequest is the create request payload.

type AppClipDefaultExperienceDeleteResult

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

AppClipDefaultExperienceDeleteResult represents default experience deletion.

type AppClipDefaultExperienceLocalizationAttributes

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

AppClipDefaultExperienceLocalizationAttributes describes default experience localization attributes.

type AppClipDefaultExperienceLocalizationCreateAttributes

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

AppClipDefaultExperienceLocalizationCreateAttributes describes localization create attributes.

type AppClipDefaultExperienceLocalizationCreateData

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

AppClipDefaultExperienceLocalizationCreateData is the payload for creating a localization.

type AppClipDefaultExperienceLocalizationCreateRequest

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

AppClipDefaultExperienceLocalizationCreateRequest is the create request payload.

type AppClipDefaultExperienceLocalizationDeleteResult

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

AppClipDefaultExperienceLocalizationDeleteResult represents localization deletion.

type AppClipDefaultExperienceLocalizationHeaderImageLinkageResponse

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

AppClipDefaultExperienceLocalizationHeaderImageLinkageResponse is the response for header image relationships.

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 describes localization update attributes.

type AppClipDefaultExperienceLocalizationUpdateData

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

AppClipDefaultExperienceLocalizationUpdateData is the payload for updating a localization.

type AppClipDefaultExperienceLocalizationUpdateRequest

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

AppClipDefaultExperienceLocalizationUpdateRequest is the update request payload.

type AppClipDefaultExperienceLocalizationsOption

type AppClipDefaultExperienceLocalizationsOption func(*appClipDefaultExperienceLocalizationsQuery)

AppClipDefaultExperienceLocalizationsOption is a functional option for GetAppClipDefaultExperienceLocalizations.

func WithAppClipDefaultExperienceLocalizationsLimit

func WithAppClipDefaultExperienceLocalizationsLimit(limit int) AppClipDefaultExperienceLocalizationsOption

WithAppClipDefaultExperienceLocalizationsLimit sets the max number of localizations to return.

func WithAppClipDefaultExperienceLocalizationsLocales

func WithAppClipDefaultExperienceLocalizationsLocales(locales []string) AppClipDefaultExperienceLocalizationsOption

WithAppClipDefaultExperienceLocalizationsLocales filters localizations by locale(s).

func WithAppClipDefaultExperienceLocalizationsNextURL

func WithAppClipDefaultExperienceLocalizationsNextURL(next string) AppClipDefaultExperienceLocalizationsOption

WithAppClipDefaultExperienceLocalizationsNextURL uses a next page URL directly.

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 AppClipDefaultExperienceReleaseWithAppStoreVersionRelationshipUpdateRequest

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

AppClipDefaultExperienceReleaseWithAppStoreVersionRelationshipUpdateRequest is a request to update the releaseWithAppStoreVersion relationship on a default experience.

type AppClipDefaultExperienceResponse

type AppClipDefaultExperienceResponse = SingleResponse[AppClipDefaultExperienceAttributes]

Response aliases.

type AppClipDefaultExperienceReviewDetailLinkageResponse

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

AppClipDefaultExperienceReviewDetailLinkageResponse is the response for review detail relationships.

type AppClipDefaultExperienceUpdateAttributes

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

AppClipDefaultExperienceUpdateAttributes describes default experience update attributes.

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 payload for updating a default experience.

type AppClipDefaultExperienceUpdateRelationships

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

AppClipDefaultExperienceUpdateRelationships describes relationships for default experience update.

type AppClipDefaultExperienceUpdateRequest

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

AppClipDefaultExperienceUpdateRequest is the update request payload.

type AppClipDefaultExperiencesLinkagesResponse

type AppClipDefaultExperiencesLinkagesResponse = LinkagesResponse

Response aliases.

type AppClipDefaultExperiencesOption

type AppClipDefaultExperiencesOption func(*appClipDefaultExperiencesQuery)

AppClipDefaultExperiencesOption is a functional option for GetAppClipDefaultExperiences.

func WithAppClipDefaultExperiencesLimit

func WithAppClipDefaultExperiencesLimit(limit int) AppClipDefaultExperiencesOption

WithAppClipDefaultExperiencesLimit sets the max number of default experiences to return.

func WithAppClipDefaultExperiencesNextURL

func WithAppClipDefaultExperiencesNextURL(next string) AppClipDefaultExperiencesOption

WithAppClipDefaultExperiencesNextURL uses a next page URL directly.

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 payload for creating a header image.

type AppClipHeaderImageCreateRequest

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

AppClipHeaderImageCreateRequest is the create request payload.

type AppClipHeaderImageDeleteResult

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

AppClipHeaderImageDeleteResult represents header image deletion.

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 describes header image update attributes.

type AppClipHeaderImageUpdateData

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

AppClipHeaderImageUpdateData is the payload for updating a header image.

type AppClipHeaderImageUpdateRequest

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

AppClipHeaderImageUpdateRequest is the update request payload.

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 is a functional option for GetAppClips.

func WithAppClipsBundleIDs

func WithAppClipsBundleIDs(bundleIDs []string) AppClipsOption

WithAppClipsBundleIDs filters App Clips by bundle ID(s).

func WithAppClipsLimit

func WithAppClipsLimit(limit int) AppClipsOption

WithAppClipsLimit sets the max number of App Clips to return.

func WithAppClipsNextURL

func WithAppClipsNextURL(next string) AppClipsOption

WithAppClipsNextURL uses a next page URL directly.

type AppClipsResponse

type AppClipsResponse = Response[AppClipAttributes]

Response aliases.

type AppCreateAttributes

type AppCreateAttributes struct {
	Name          string `json:"name"`
	BundleID      string `json:"bundleId"`
	SKU           string `json:"sku"`
	PrimaryLocale string `json:"primaryLocale,omitempty"`
}

AppCreateAttributes describes attributes for creating an app.

type AppCreateData

type AppCreateData struct {
	Type       ResourceType         `json:"type"`
	Attributes *AppCreateAttributes `json:"attributes,omitempty"`
}

AppCreateData is the data portion of an app create request.

type AppCreateRequest

type AppCreateRequest struct {
	Data AppCreateData `json:"data"`
}

AppCreateRequest is a request to create an app.

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 describes create payload attributes.

type AppCustomProductPageCreateData

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

AppCustomProductPageCreateData is the data payload for create requests.

type AppCustomProductPageCreateRelationships

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

AppCustomProductPageCreateRelationships describes create relationships.

type AppCustomProductPageCreateRequest

type AppCustomProductPageCreateRequest struct {
	Data AppCustomProductPageCreateData `json:"data"`
}

AppCustomProductPageCreateRequest is a request to create a custom product page.

type AppCustomProductPageDeleteResult

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

AppCustomProductPageDeleteResult represents CLI output for custom page deletions.

type AppCustomProductPageLocalizationAttributes

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

AppCustomProductPageLocalizationAttributes describes custom product page localization attributes.

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 payload for create requests.

type AppCustomProductPageLocalizationCreateRelationships

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

AppCustomProductPageLocalizationCreateRelationships describes create relationships.

type AppCustomProductPageLocalizationCreateRequest

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

AppCustomProductPageLocalizationCreateRequest is a request to create a custom product page localization.

type AppCustomProductPageLocalizationDeleteResult

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

AppCustomProductPageLocalizationDeleteResult represents CLI output for custom page localization deletions.

type AppCustomProductPageLocalizationPreviewSetsOption

type AppCustomProductPageLocalizationPreviewSetsOption func(*appCustomProductPageLocalizationPreviewSetsQuery)

AppCustomProductPageLocalizationPreviewSetsOption is a functional option for preview set list endpoints.

func WithAppCustomProductPageLocalizationPreviewSetsLimit

func WithAppCustomProductPageLocalizationPreviewSetsLimit(limit int) AppCustomProductPageLocalizationPreviewSetsOption

WithAppCustomProductPageLocalizationPreviewSetsLimit sets the max number of preview sets to return.

func WithAppCustomProductPageLocalizationPreviewSetsNextURL

func WithAppCustomProductPageLocalizationPreviewSetsNextURL(next string) AppCustomProductPageLocalizationPreviewSetsOption

WithAppCustomProductPageLocalizationPreviewSetsNextURL uses a next page URL directly.

type AppCustomProductPageLocalizationResponse

type AppCustomProductPageLocalizationResponse = SingleResponse[AppCustomProductPageLocalizationAttributes]

AppCustomProductPageLocalizationResponse is the response from custom product page localization endpoints.

type AppCustomProductPageLocalizationScreenshotSetsOption

type AppCustomProductPageLocalizationScreenshotSetsOption func(*appCustomProductPageLocalizationScreenshotSetsQuery)

AppCustomProductPageLocalizationScreenshotSetsOption is a functional option for screenshot set list endpoints.

func WithAppCustomProductPageLocalizationScreenshotSetsLimit

func WithAppCustomProductPageLocalizationScreenshotSetsLimit(limit int) AppCustomProductPageLocalizationScreenshotSetsOption

WithAppCustomProductPageLocalizationScreenshotSetsLimit sets the max number of screenshot sets to return.

func WithAppCustomProductPageLocalizationScreenshotSetsNextURL

func WithAppCustomProductPageLocalizationScreenshotSetsNextURL(next string) AppCustomProductPageLocalizationScreenshotSetsOption

WithAppCustomProductPageLocalizationScreenshotSetsNextURL uses a next page URL directly.

type AppCustomProductPageLocalizationUpdateAttributes

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

AppCustomProductPageLocalizationUpdateAttributes describes update payload attributes.

type AppCustomProductPageLocalizationUpdateData

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

AppCustomProductPageLocalizationUpdateData is the data payload for update requests.

type AppCustomProductPageLocalizationUpdateRequest

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

AppCustomProductPageLocalizationUpdateRequest is a request to update a custom product page localization.

type AppCustomProductPageLocalizationsOption

type AppCustomProductPageLocalizationsOption func(*appCustomProductPageLocalizationsQuery)

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

func WithAppCustomProductPageLocalizationsLimit

func WithAppCustomProductPageLocalizationsLimit(limit int) AppCustomProductPageLocalizationsOption

WithAppCustomProductPageLocalizationsLimit sets the max number of localizations to return.

func WithAppCustomProductPageLocalizationsNextURL

func WithAppCustomProductPageLocalizationsNextURL(next string) AppCustomProductPageLocalizationsOption

WithAppCustomProductPageLocalizationsNextURL uses a next page URL directly.

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 response from custom product page endpoints.

type AppCustomProductPageUpdateAttributes

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

AppCustomProductPageUpdateAttributes describes update payload attributes.

type AppCustomProductPageUpdateData

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

AppCustomProductPageUpdateData is the data payload for update requests.

type AppCustomProductPageUpdateRequest

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

AppCustomProductPageUpdateRequest is a request to update a custom product page.

type AppCustomProductPageVersionAttributes

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

AppCustomProductPageVersionAttributes describes custom product page version attributes.

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 a request to create a custom product page version.

type AppCustomProductPageVersionResponse

type AppCustomProductPageVersionResponse = SingleResponse[AppCustomProductPageVersionAttributes]

AppCustomProductPageVersionResponse is the response from custom product page version endpoints.

type AppCustomProductPageVersionUpdateAttributes

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

AppCustomProductPageVersionUpdateAttributes describes update payload attributes.

type AppCustomProductPageVersionUpdateData

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

AppCustomProductPageVersionUpdateData is the data payload for update requests.

type AppCustomProductPageVersionUpdateRequest

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

AppCustomProductPageVersionUpdateRequest is a request to update a custom product page version.

type AppCustomProductPageVersionsOption

type AppCustomProductPageVersionsOption func(*appCustomProductPageVersionsQuery)

AppCustomProductPageVersionsOption is a functional option for custom product page version list endpoints.

func WithAppCustomProductPageVersionsLimit

func WithAppCustomProductPageVersionsLimit(limit int) AppCustomProductPageVersionsOption

WithAppCustomProductPageVersionsLimit sets the max number of versions to return.

func WithAppCustomProductPageVersionsNextURL

func WithAppCustomProductPageVersionsNextURL(next string) AppCustomProductPageVersionsOption

WithAppCustomProductPageVersionsNextURL uses a next page URL directly.

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 WithAppCustomProductPagesLimit

func WithAppCustomProductPagesLimit(limit int) AppCustomProductPagesOption

WithAppCustomProductPagesLimit sets the max number of custom product pages to return.

func WithAppCustomProductPagesNextURL

func WithAppCustomProductPagesNextURL(next string) AppCustomProductPagesOption

WithAppCustomProductPagesNextURL uses a next page URL directly.

type AppCustomProductPagesResponse

type AppCustomProductPagesResponse = Response[AppCustomProductPageAttributes]

AppCustomProductPagesResponse is the response from custom product page list endpoints.

type AppEncryptionDeclarationAppLinkageResponse

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

AppEncryptionDeclarationAppLinkageResponse is the response for encryption declaration app relationship.

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 describes create attributes.

type AppEncryptionDeclarationCreateData

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

AppEncryptionDeclarationCreateData is the data portion of a create request.

type AppEncryptionDeclarationCreateRequest

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

AppEncryptionDeclarationCreateRequest is a request to create an encryption declaration.

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 portion of a create request.

type AppEncryptionDeclarationDocumentCreateRequest

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

AppEncryptionDeclarationDocumentCreateRequest is a request to create a document.

type AppEncryptionDeclarationDocumentLinkageResponse

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

AppEncryptionDeclarationDocumentLinkageResponse is the response for encryption declaration document relationship.

type AppEncryptionDeclarationDocumentRelationships

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

AppEncryptionDeclarationDocumentRelationships describes document relationships.

type AppEncryptionDeclarationDocumentResponse

type AppEncryptionDeclarationDocumentResponse = SingleResponse[AppEncryptionDeclarationDocumentAttributes]

AppEncryptionDeclarationDocumentResponse is the response for document endpoints.

type AppEncryptionDeclarationDocumentUpdateAttributes

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

AppEncryptionDeclarationDocumentUpdateAttributes describes update attributes.

type AppEncryptionDeclarationDocumentUpdateData

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

AppEncryptionDeclarationDocumentUpdateData is the data portion of an update request.

type AppEncryptionDeclarationDocumentUpdateRequest

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

AppEncryptionDeclarationDocumentUpdateRequest is a request to update a document.

type AppEncryptionDeclarationRelationships

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

AppEncryptionDeclarationRelationships describes declaration relationships.

type AppEncryptionDeclarationResponse

type AppEncryptionDeclarationResponse = SingleResponse[AppEncryptionDeclarationAttributes]

AppEncryptionDeclarationResponse is the response for encryption declaration endpoints.

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.

func WithAppEncryptionDeclarationsLimit

func WithAppEncryptionDeclarationsLimit(limit int) AppEncryptionDeclarationsOption

WithAppEncryptionDeclarationsLimit sets the max number of declarations to return.

func WithAppEncryptionDeclarationsNextURL

func WithAppEncryptionDeclarationsNextURL(next string) AppEncryptionDeclarationsOption

WithAppEncryptionDeclarationsNextURL uses a next page URL directly.

type AppEncryptionDeclarationsResponse

type AppEncryptionDeclarationsResponse = Response[AppEncryptionDeclarationAttributes]

AppEncryptionDeclarationsResponse is the response for encryption declaration lists.

type AppEndUserLicenseAgreementLinkageResponse

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

AppEndUserLicenseAgreementLinkageResponse is the response for end user license agreement relationship.

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 portion of an app event create request.

type AppEventCreateRelationships

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

AppEventCreateRelationships describes relationships for app event create requests.

type AppEventCreateRequest

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

AppEventCreateRequest is a request to create an app event.

type AppEventDeleteResult

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

AppEventDeleteResult represents CLI output for app event deletions.

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 represents app event localization attributes.

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 portion of a localization create request.

type AppEventLocalizationCreateRequest

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

AppEventLocalizationCreateRequest is a request to create an app event localization.

type AppEventLocalizationDeleteResult

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

AppEventLocalizationDeleteResult represents CLI output for localization deletions.

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 describes attributes for updating localizations.

type AppEventLocalizationUpdateData

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

AppEventLocalizationUpdateData is the data portion of a localization update request.

type AppEventLocalizationUpdateRequest

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

AppEventLocalizationUpdateRequest is a request to update an app event localization.

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 WithAppEventLocalizationsLimit

func WithAppEventLocalizationsLimit(limit int) AppEventLocalizationsOption

WithAppEventLocalizationsLimit sets the max number of localizations to return.

func WithAppEventLocalizationsNextURL

func WithAppEventLocalizationsNextURL(next string) AppEventLocalizationsOption

WithAppEventLocalizationsNextURL uses a next page URL directly.

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 portion of a screenshot create request.

type AppEventScreenshotCreateRequest

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

AppEventScreenshotCreateRequest is a request to create an app event screenshot.

type AppEventScreenshotRelationships

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

AppEventScreenshotRelationships describes relationships for app event screenshots.

type AppEventScreenshotResponse

type AppEventScreenshotResponse = SingleResponse[AppEventScreenshotAttributes]

Response types.

type AppEventScreenshotUpdateAttributes

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

AppEventScreenshotUpdateAttributes describes screenshot update attributes.

type AppEventScreenshotUpdateData

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

AppEventScreenshotUpdateData is the data portion of a screenshot update request.

type AppEventScreenshotUpdateRequest

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

AppEventScreenshotUpdateRequest is a request to update an app event screenshot.

type AppEventScreenshotsOption

type AppEventScreenshotsOption func(*appEventScreenshotsQuery)

AppEventScreenshotsOption is a functional option for app event screenshots list.

func WithAppEventScreenshotsLimit

func WithAppEventScreenshotsLimit(limit int) AppEventScreenshotsOption

WithAppEventScreenshotsLimit sets the max number of screenshots to return.

func WithAppEventScreenshotsNextURL

func WithAppEventScreenshotsNextURL(next string) AppEventScreenshotsOption

WithAppEventScreenshotsNextURL uses a next page URL directly.

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 portion of an app event update request.

type AppEventUpdateRequest

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

AppEventUpdateRequest is a request to update an app event.

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 portion of a video clip create request.

type AppEventVideoClipCreateRequest

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

AppEventVideoClipCreateRequest is a request to create an app event video clip.

type AppEventVideoClipRelationships

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

AppEventVideoClipRelationships describes relationships for app event video clips.

type AppEventVideoClipResponse

type AppEventVideoClipResponse = SingleResponse[AppEventVideoClipAttributes]

Response types.

type AppEventVideoClipUpdateAttributes

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

AppEventVideoClipUpdateAttributes describes video clip update attributes.

type AppEventVideoClipUpdateData

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

AppEventVideoClipUpdateData is the data portion of a video clip update request.

type AppEventVideoClipUpdateRequest

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

AppEventVideoClipUpdateRequest is a request to update an app event video clip.

type AppEventVideoClipsOption

type AppEventVideoClipsOption func(*appEventVideoClipsQuery)

AppEventVideoClipsOption is a functional option for app event video clips list.

func WithAppEventVideoClipsLimit

func WithAppEventVideoClipsLimit(limit int) AppEventVideoClipsOption

WithAppEventVideoClipsLimit sets the max number of video clips to return.

func WithAppEventVideoClipsNextURL

func WithAppEventVideoClipsNextURL(next string) AppEventVideoClipsOption

WithAppEventVideoClipsNextURL uses a next page URL directly.

type AppEventVideoClipsResponse

type AppEventVideoClipsResponse = Response[AppEventVideoClipAttributes]

Response types.

type AppEventsOption

type AppEventsOption func(*appEventsQuery)

AppEventsOption is a functional option for app event list endpoints.

func WithAppEventsLimit

func WithAppEventsLimit(limit int) AppEventsOption

WithAppEventsLimit sets the max number of app events to return.

func WithAppEventsNextURL

func WithAppEventsNextURL(next string) AppEventsOption

WithAppEventsNextURL uses a next page URL directly.

type AppEventsResponse

type AppEventsResponse = Response[AppEventAttributes]

Response types.

type AppGameCenterDetailLinkageResponse

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

AppGameCenterDetailLinkageResponse is the response for Game Center detail relationship.

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.

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"`
}

AppInfoLocalizationAttributes describes app info localization metadata.

type AppInfoLocalizationCreateData

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

AppInfoLocalizationCreateData is the data portion of an app info localization create request.

type AppInfoLocalizationCreateRequest

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

AppInfoLocalizationCreateRequest is a request to create an app info localization.

type AppInfoLocalizationRelationships

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

AppInfoLocalizationRelationships describes relationships for app info localizations.

type AppInfoLocalizationResponse

type AppInfoLocalizationResponse = SingleResponse[AppInfoLocalizationAttributes]

AppInfoLocalizationResponse is the response from app info localization detail/creates.

type AppInfoLocalizationUpdateData

type AppInfoLocalizationUpdateData struct {
	Type       ResourceType                  `json:"type"`
	ID         string                        `json:"id"`
	Attributes AppInfoLocalizationAttributes `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 a request to update an app info localization.

type AppInfoLocalizationsOption

type AppInfoLocalizationsOption func(*appInfoLocalizationsQuery)

AppInfoLocalizationsOption is a functional option for app info localizations.

func WithAppInfoLocalizationLocales

func WithAppInfoLocalizationLocales(locales []string) AppInfoLocalizationsOption

WithAppInfoLocalizationLocales filters app info localizations by locale.

func WithAppInfoLocalizationsLimit

func WithAppInfoLocalizationsLimit(limit int) AppInfoLocalizationsOption

WithAppInfoLocalizationsLimit sets the max number of app info localizations to return.

func WithAppInfoLocalizationsNextURL

func WithAppInfoLocalizationsNextURL(next string) AppInfoLocalizationsOption

WithAppInfoLocalizationsNextURL uses a next page URL directly.

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 WithAppInfoInclude

func WithAppInfoInclude(include []string) AppInfoOption

WithAppInfoInclude includes related resources for an app info.

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 response from app info detail endpoints.

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 AppPreReleaseVersionsOption

type AppPreReleaseVersionsOption func(*listQuery)

AppPreReleaseVersionsOption is a functional option for GetAppPreReleaseVersions.

func WithAppPreReleaseVersionsLimit

func WithAppPreReleaseVersionsLimit(limit int) AppPreReleaseVersionsOption

WithAppPreReleaseVersionsLimit sets the max number of pre-release versions to return.

func WithAppPreReleaseVersionsNextURL

func WithAppPreReleaseVersionsNextURL(next string) AppPreReleaseVersionsOption

WithAppPreReleaseVersionsNextURL uses a next page URL directly.

type AppPreviewAttributes

type AppPreviewAttributes struct {
	FileSize             int64               `json:"fileSize"`
	FileName             string              `json:"fileName"`
	SourceFileChecksum   string              `json:"sourceFileChecksum,omitempty"`
	PreviewFrameTimeCode string              `json:"previewFrameTimeCode,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"`
}

AppPreviewAttributes describes a preview asset resource.

type AppPreviewCreateData

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

AppPreviewCreateData is the data portion of a preview create request.

type AppPreviewCreateRequest

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

AppPreviewCreateRequest is a request to create a preview.

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 describes relationships for previews.

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 a request to create a preview set.

type AppPreviewSetRelationships

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

AppPreviewSetRelationships describes relationships for preview sets.

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 portion of a preview update request.

type AppPreviewUpdateRequest

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

AppPreviewUpdateRequest is a request to update a preview.

type AppPreviewUploadResult

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

AppPreviewUploadResult represents preview upload output.

type AppPreviewsResponse

type AppPreviewsResponse = Response[AppPreviewAttributes]

Response types

type AppPriceAttributes

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

AppPriceAttributes describes a price schedule entry.

type AppPriceCreateResource

type AppPriceCreateResource struct {
	Type          ResourceType          `json:"type"`
	ID            string                `json:"id,omitempty"`
	Attributes    AppPriceAttributes    `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 describes app price point metadata.

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 AppPriceScheduleBaseTerritoryLinkageResponse

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

AppPriceScheduleBaseTerritoryLinkageResponse is the response for base territory relationship endpoints.

type AppPriceScheduleCreateAttributes

type AppPriceScheduleCreateAttributes struct {
	PricePointID    string `json:"-"`
	StartDate       string `json:"-"`
	BaseTerritoryID string `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 portion of a schedule create request.

type AppPriceScheduleCreateRelationships

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

AppPriceScheduleCreateRelationships describes schedule relationships.

type AppPriceScheduleCreateRequest

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

AppPriceScheduleCreateRequest is a request to create a price schedule.

type AppPriceSchedulePricesOption added in v1.260331.0

type AppPriceSchedulePricesOption func(*appPriceSchedulePricesQuery)

AppPriceSchedulePricesOption is a functional option for app price schedule price endpoints.

func WithAppPriceSchedulePricesEndDate added in v1.260331.0

func WithAppPriceSchedulePricesEndDate(endDate string) AppPriceSchedulePricesOption

WithAppPriceSchedulePricesEndDate filters schedule prices by inclusive end date.

func WithAppPriceSchedulePricesFields added in v1.260331.0

func WithAppPriceSchedulePricesFields(fields []string) AppPriceSchedulePricesOption

WithAppPriceSchedulePricesFields sets fields[appPrices] for app schedule price responses.

func WithAppPriceSchedulePricesInclude added in v1.260331.0

func WithAppPriceSchedulePricesInclude(include []string) AppPriceSchedulePricesOption

WithAppPriceSchedulePricesInclude sets include values for app schedule price responses.

func WithAppPriceSchedulePricesLimit added in v1.260331.0

func WithAppPriceSchedulePricesLimit(limit int) AppPriceSchedulePricesOption

WithAppPriceSchedulePricesLimit sets the max number of schedule prices to return.

func WithAppPriceSchedulePricesNextURL added in v1.260331.0

func WithAppPriceSchedulePricesNextURL(next string) AppPriceSchedulePricesOption

WithAppPriceSchedulePricesNextURL uses a next page URL directly.

func WithAppPriceSchedulePricesPricePointFields added in v1.260331.0

func WithAppPriceSchedulePricesPricePointFields(fields []string) AppPriceSchedulePricesOption

WithAppPriceSchedulePricesPricePointFields sets fields[appPricePoints] for included app price points.

func WithAppPriceSchedulePricesStartDate added in v1.260331.0

func WithAppPriceSchedulePricesStartDate(startDate string) AppPriceSchedulePricesOption

WithAppPriceSchedulePricesStartDate filters schedule prices by inclusive start date.

func WithAppPriceSchedulePricesTerritory added in v1.260331.0

func WithAppPriceSchedulePricesTerritory(territory string) AppPriceSchedulePricesOption

WithAppPriceSchedulePricesTerritory filters schedule prices by territory code.

func WithAppPriceSchedulePricesTerritoryFields added in v1.260331.0

func WithAppPriceSchedulePricesTerritoryFields(fields []string) AppPriceSchedulePricesOption

WithAppPriceSchedulePricesTerritoryFields sets fields[territories] for included territories.

type AppPriceScheduleResponse

type AppPriceScheduleResponse = SingleResponse[AppPriceScheduleAttributes]

Response types

type AppPricesResponse

type AppPricesResponse = Response[AppPriceAttributes]

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 AppPromotedPurchasesLinkagesResponse

type AppPromotedPurchasesLinkagesResponse = LinkagesResponse

AppPromotedPurchasesLinkagesResponse is the response from app promoted purchase linkages endpoints.

type AppResponse

type AppResponse = SingleResponse[AppAttributes]

AppResponse is the response from app detail endpoint.

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 AppScreenshotCreateData

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

AppScreenshotCreateData is the data portion of a screenshot create request.

type AppScreenshotCreateRequest

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

AppScreenshotCreateRequest is a request to create a screenshot.

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"`
	Sets                  []AppScreenshotSetWithScreenshots `json:"sets"`
}

AppScreenshotListResult represents screenshot list output by localization.

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 describes relationships for screenshots.

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 a request to create a screenshot set.

type AppScreenshotSetRelationships

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

AppScreenshotSetRelationships describes relationships for screenshot sets.

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 AppScreenshotSetsResponse

type AppScreenshotSetsResponse = Response[AppScreenshotSetAttributes]

Response types

type AppScreenshotUpdateAttributes

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

AppScreenshotUpdateAttributes describes screenshot update attributes.

type AppScreenshotUpdateData

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

AppScreenshotUpdateData is the data portion of a screenshot update request.

type AppScreenshotUpdateRequest

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

AppScreenshotUpdateRequest is a request to update a screenshot.

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 AppScreenshotsResponse

type AppScreenshotsResponse = Response[AppScreenshotAttributes]

Response types

type AppSearchKeywordsOption

type AppSearchKeywordsOption func(*appSearchKeywordsQuery)

AppSearchKeywordsOption is a functional option for GetAppSearchKeywords.

func WithAppSearchKeywordsLimit

func WithAppSearchKeywordsLimit(limit int) AppSearchKeywordsOption

WithAppSearchKeywordsLimit sets the max number of app keywords to return.

func WithAppSearchKeywordsLocales

func WithAppSearchKeywordsLocales(locales []string) AppSearchKeywordsOption

WithAppSearchKeywordsLocales filters app keywords by locale(s).

func WithAppSearchKeywordsNextURL

func WithAppSearchKeywordsNextURL(next string) AppSearchKeywordsOption

WithAppSearchKeywordsNextURL uses a next page URL directly.

func WithAppSearchKeywordsPlatforms

func WithAppSearchKeywordsPlatforms(platforms []string) AppSearchKeywordsOption

WithAppSearchKeywordsPlatforms filters app keywords by platform(s).

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"
	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 portion of a create request.

type AppStoreReviewAttachmentCreateRequest

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

AppStoreReviewAttachmentCreateRequest is a request to create an attachment.

type AppStoreReviewAttachmentDeleteResult

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

AppStoreReviewAttachmentDeleteResult represents CLI output for deletions.

type AppStoreReviewAttachmentRelationships

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

AppStoreReviewAttachmentRelationships describes attachment relationships.

type AppStoreReviewAttachmentResponse

type AppStoreReviewAttachmentResponse = SingleResponse[AppStoreReviewAttachmentAttributes]

AppStoreReviewAttachmentResponse is the response for attachment detail.

type AppStoreReviewAttachmentUpdateAttributes

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

AppStoreReviewAttachmentUpdateAttributes describes update attributes.

type AppStoreReviewAttachmentUpdateData

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

AppStoreReviewAttachmentUpdateData is the data portion of an update request.

type AppStoreReviewAttachmentUpdateRequest

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

AppStoreReviewAttachmentUpdateRequest is a request to update an attachment.

type AppStoreReviewAttachmentsOption

type AppStoreReviewAttachmentsOption func(*appStoreReviewAttachmentsQuery)

AppStoreReviewAttachmentsOption is a functional option for review attachments.

func WithAppStoreReviewAttachmentReviewDetailFields

func WithAppStoreReviewAttachmentReviewDetailFields(fields []string) AppStoreReviewAttachmentsOption

WithAppStoreReviewAttachmentReviewDetailFields includes fields for review detail when included.

func WithAppStoreReviewAttachmentsFields

func WithAppStoreReviewAttachmentsFields(fields []string) AppStoreReviewAttachmentsOption

WithAppStoreReviewAttachmentsFields includes specific attachment fields.

func WithAppStoreReviewAttachmentsInclude

func WithAppStoreReviewAttachmentsInclude(include []string) AppStoreReviewAttachmentsOption

WithAppStoreReviewAttachmentsInclude includes related resources.

func WithAppStoreReviewAttachmentsLimit

func WithAppStoreReviewAttachmentsLimit(limit int) AppStoreReviewAttachmentsOption

WithAppStoreReviewAttachmentsLimit sets the max number of attachments to return.

func WithAppStoreReviewAttachmentsNextURL

func WithAppStoreReviewAttachmentsNextURL(next string) AppStoreReviewAttachmentsOption

WithAppStoreReviewAttachmentsNextURL uses a next page URL directly.

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"`
}

AppStoreReviewDetailAttributes describes App Store review details.

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 describes create attributes.

type AppStoreReviewDetailCreateData

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

AppStoreReviewDetailCreateData is the data portion of a create request.

type AppStoreReviewDetailCreateRelationships

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

AppStoreReviewDetailCreateRelationships describes relationships for create requests.

type AppStoreReviewDetailCreateRequest

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

AppStoreReviewDetailCreateRequest is a request to create review details.

type AppStoreReviewDetailResponse

type AppStoreReviewDetailResponse = SingleResponse[AppStoreReviewDetailAttributes]

AppStoreReviewDetailResponse is the response from review detail endpoints.

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 describes update attributes.

type AppStoreReviewDetailUpdateData

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

AppStoreReviewDetailUpdateData is the data portion of an update request.

type AppStoreReviewDetailUpdateRequest

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

AppStoreReviewDetailUpdateRequest is a request to update review details.

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 AppStoreVersionAppClipDefaultExperienceRelationshipUpdateRequest

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

AppStoreVersionAppClipDefaultExperienceRelationshipUpdateRequest is a request to attach an App Clip default experience to a version.

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"`
}

AppStoreVersionAttributes describes app store version metadata.

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"`
}

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 portion of an app store version create request.

type AppStoreVersionCreateRelationships

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

AppStoreVersionCreateRelationships describes relationships for app store version create requests.

type AppStoreVersionCreateRequest

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

AppStoreVersionCreateRequest is a request to create an app store version.

type AppStoreVersionDetailResult

type AppStoreVersionDetailResult struct {
	ID            string                              `json:"id"`
	VersionString string                              `json:"versionString,omitempty"`
	Platform      string                              `json:"platform,omitempty"`
	State         string                              `json:"state,omitempty"`
	BuildID       string                              `json:"buildId,omitempty"`
	BuildVersion  string                              `json:"buildVersion,omitempty"`
	SubmissionID  string                              `json:"submissionId,omitempty"`
	MetadataCopy  *AppStoreVersionMetadataCopySummary `json:"metadataCopy,omitempty"`
}

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 describes create payload attributes (v1).

type AppStoreVersionExperimentCreateData

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

AppStoreVersionExperimentCreateData is the data payload for create requests (v1).

type AppStoreVersionExperimentCreateRelationships

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

AppStoreVersionExperimentCreateRelationships describes create relationships (v1).

type AppStoreVersionExperimentCreateRequest

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

AppStoreVersionExperimentCreateRequest is a request to create an experiment (v1).

type AppStoreVersionExperimentDeleteResult

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

AppStoreVersionExperimentDeleteResult represents CLI output for experiment deletions.

type AppStoreVersionExperimentResponse

type AppStoreVersionExperimentResponse = SingleResponse[AppStoreVersionExperimentAttributes]

AppStoreVersionExperimentResponse is the response from experiment endpoints (v1).

type AppStoreVersionExperimentTreatmentAttributes

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

AppStoreVersionExperimentTreatmentAttributes describes treatment attributes.

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 payload for create requests.

type AppStoreVersionExperimentTreatmentCreateRelationships

type AppStoreVersionExperimentTreatmentCreateRelationships struct {
	AppStoreVersionExperiment *Relationship `json:"appStoreVersionExperiment"`
}

AppStoreVersionExperimentTreatmentCreateRelationships describes create relationships.

type AppStoreVersionExperimentTreatmentCreateRequest

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

AppStoreVersionExperimentTreatmentCreateRequest is a request to create a treatment.

type AppStoreVersionExperimentTreatmentDeleteResult

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

AppStoreVersionExperimentTreatmentDeleteResult represents CLI output for treatment deletions.

type AppStoreVersionExperimentTreatmentLocalizationAttributes

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

AppStoreVersionExperimentTreatmentLocalizationAttributes describes treatment localization attributes.

type AppStoreVersionExperimentTreatmentLocalizationCreateAttributes

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

AppStoreVersionExperimentTreatmentLocalizationCreateAttributes describes create payload attributes.

type AppStoreVersionExperimentTreatmentLocalizationCreateData

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

AppStoreVersionExperimentTreatmentLocalizationCreateData is the data payload for create requests.

type AppStoreVersionExperimentTreatmentLocalizationCreateRelationships

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

AppStoreVersionExperimentTreatmentLocalizationCreateRelationships describes create relationships.

type AppStoreVersionExperimentTreatmentLocalizationCreateRequest

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

AppStoreVersionExperimentTreatmentLocalizationCreateRequest is a request to create a treatment localization.

type AppStoreVersionExperimentTreatmentLocalizationDeleteResult

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

AppStoreVersionExperimentTreatmentLocalizationDeleteResult represents CLI output for treatment localization deletions.

type AppStoreVersionExperimentTreatmentLocalizationPreviewSetsOption

type AppStoreVersionExperimentTreatmentLocalizationPreviewSetsOption func(*appStoreVersionExperimentTreatmentLocalizationPreviewSetsQuery)

AppStoreVersionExperimentTreatmentLocalizationPreviewSetsOption is a functional option for treatment localization preview set list endpoints.

func WithAppStoreVersionExperimentTreatmentLocalizationPreviewSetsLimit

func WithAppStoreVersionExperimentTreatmentLocalizationPreviewSetsLimit(limit int) AppStoreVersionExperimentTreatmentLocalizationPreviewSetsOption

WithAppStoreVersionExperimentTreatmentLocalizationPreviewSetsLimit sets the max number of preview sets to return.

func WithAppStoreVersionExperimentTreatmentLocalizationPreviewSetsNextURL

func WithAppStoreVersionExperimentTreatmentLocalizationPreviewSetsNextURL(next string) AppStoreVersionExperimentTreatmentLocalizationPreviewSetsOption

WithAppStoreVersionExperimentTreatmentLocalizationPreviewSetsNextURL uses a next page URL directly.

type AppStoreVersionExperimentTreatmentLocalizationResponse

type AppStoreVersionExperimentTreatmentLocalizationResponse = SingleResponse[AppStoreVersionExperimentTreatmentLocalizationAttributes]

AppStoreVersionExperimentTreatmentLocalizationResponse is the response from treatment localization endpoints.

type AppStoreVersionExperimentTreatmentLocalizationScreenshotSetsOption

type AppStoreVersionExperimentTreatmentLocalizationScreenshotSetsOption func(*appStoreVersionExperimentTreatmentLocalizationScreenshotSetsQuery)

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

func WithAppStoreVersionExperimentTreatmentLocalizationScreenshotSetsLimit

func WithAppStoreVersionExperimentTreatmentLocalizationScreenshotSetsLimit(limit int) AppStoreVersionExperimentTreatmentLocalizationScreenshotSetsOption

WithAppStoreVersionExperimentTreatmentLocalizationScreenshotSetsLimit sets the max number of screenshot sets to return.

func WithAppStoreVersionExperimentTreatmentLocalizationScreenshotSetsNextURL

func WithAppStoreVersionExperimentTreatmentLocalizationScreenshotSetsNextURL(next string) AppStoreVersionExperimentTreatmentLocalizationScreenshotSetsOption

WithAppStoreVersionExperimentTreatmentLocalizationScreenshotSetsNextURL uses a next page URL directly.

type AppStoreVersionExperimentTreatmentLocalizationsOption

type AppStoreVersionExperimentTreatmentLocalizationsOption func(*appStoreVersionExperimentTreatmentLocalizationsQuery)

AppStoreVersionExperimentTreatmentLocalizationsOption is a functional option for treatment localization list endpoints.

func WithAppStoreVersionExperimentTreatmentLocalizationsLimit

func WithAppStoreVersionExperimentTreatmentLocalizationsLimit(limit int) AppStoreVersionExperimentTreatmentLocalizationsOption

WithAppStoreVersionExperimentTreatmentLocalizationsLimit sets the max number of treatment localizations to return.

func WithAppStoreVersionExperimentTreatmentLocalizationsNextURL

func WithAppStoreVersionExperimentTreatmentLocalizationsNextURL(next string) AppStoreVersionExperimentTreatmentLocalizationsOption

WithAppStoreVersionExperimentTreatmentLocalizationsNextURL uses a next page URL directly.

type AppStoreVersionExperimentTreatmentLocalizationsResponse

type AppStoreVersionExperimentTreatmentLocalizationsResponse = Response[AppStoreVersionExperimentTreatmentLocalizationAttributes]

AppStoreVersionExperimentTreatmentLocalizationsResponse is the response from treatment localization list endpoints.

type AppStoreVersionExperimentTreatmentResponse

type AppStoreVersionExperimentTreatmentResponse = SingleResponse[AppStoreVersionExperimentTreatmentAttributes]

AppStoreVersionExperimentTreatmentResponse is the response from treatment endpoints.

type AppStoreVersionExperimentTreatmentUpdateAttributes

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

AppStoreVersionExperimentTreatmentUpdateAttributes describes update payload attributes.

type AppStoreVersionExperimentTreatmentUpdateData

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

AppStoreVersionExperimentTreatmentUpdateData is the data payload for update requests.

type AppStoreVersionExperimentTreatmentUpdateRequest

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

AppStoreVersionExperimentTreatmentUpdateRequest is a request to update a treatment.

type AppStoreVersionExperimentTreatmentsOption

type AppStoreVersionExperimentTreatmentsOption func(*appStoreVersionExperimentTreatmentsQuery)

AppStoreVersionExperimentTreatmentsOption is a functional option for experiment treatment list endpoints.

func WithAppStoreVersionExperimentTreatmentsLimit

func WithAppStoreVersionExperimentTreatmentsLimit(limit int) AppStoreVersionExperimentTreatmentsOption

WithAppStoreVersionExperimentTreatmentsLimit sets the max number of treatments to return.

func WithAppStoreVersionExperimentTreatmentsNextURL

func WithAppStoreVersionExperimentTreatmentsNextURL(next string) AppStoreVersionExperimentTreatmentsOption

WithAppStoreVersionExperimentTreatmentsNextURL uses a next page URL directly.

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 describes update payload attributes (v1).

type AppStoreVersionExperimentUpdateData

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

AppStoreVersionExperimentUpdateData is the data payload for update requests (v1).

type AppStoreVersionExperimentUpdateRequest

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

AppStoreVersionExperimentUpdateRequest is a request to update an experiment (v1).

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 describes create payload attributes (v2).

type AppStoreVersionExperimentV2CreateData

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

AppStoreVersionExperimentV2CreateData is the data payload for create requests (v2).

type AppStoreVersionExperimentV2CreateRelationships

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

AppStoreVersionExperimentV2CreateRelationships describes create relationships (v2).

type AppStoreVersionExperimentV2CreateRequest

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

AppStoreVersionExperimentV2CreateRequest is a request to create an experiment (v2).

type AppStoreVersionExperimentV2Response

type AppStoreVersionExperimentV2Response = SingleResponse[AppStoreVersionExperimentV2Attributes]

AppStoreVersionExperimentV2Response is the response from experiment endpoints (v2).

type AppStoreVersionExperimentV2UpdateAttributes

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

AppStoreVersionExperimentV2UpdateAttributes describes update payload attributes (v2).

type AppStoreVersionExperimentV2UpdateData

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

AppStoreVersionExperimentV2UpdateData is the data payload for update requests (v2).

type AppStoreVersionExperimentV2UpdateRequest

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

AppStoreVersionExperimentV2UpdateRequest is a request to update an experiment (v2).

type AppStoreVersionExperimentsOption

type AppStoreVersionExperimentsOption func(*appStoreVersionExperimentsQuery)

AppStoreVersionExperimentsOption is a functional option for app store version experiment list endpoints (v1).

func WithAppStoreVersionExperimentsLimit

func WithAppStoreVersionExperimentsLimit(limit int) AppStoreVersionExperimentsOption

WithAppStoreVersionExperimentsLimit sets the max number of experiments to return.

func WithAppStoreVersionExperimentsNextURL

func WithAppStoreVersionExperimentsNextURL(next string) AppStoreVersionExperimentsOption

WithAppStoreVersionExperimentsNextURL uses a next page URL directly.

func WithAppStoreVersionExperimentsState

func WithAppStoreVersionExperimentsState(states []string) AppStoreVersionExperimentsOption

WithAppStoreVersionExperimentsState filters experiments by state.

type AppStoreVersionExperimentsResponse

type AppStoreVersionExperimentsResponse = Response[AppStoreVersionExperimentAttributes]

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

type AppStoreVersionExperimentsV2Option

type AppStoreVersionExperimentsV2Option func(*appStoreVersionExperimentsV2Query)

AppStoreVersionExperimentsV2Option is a functional option for app store version experiment list endpoints (v2).

func WithAppStoreVersionExperimentsV2Limit

func WithAppStoreVersionExperimentsV2Limit(limit int) AppStoreVersionExperimentsV2Option

WithAppStoreVersionExperimentsV2Limit sets the max number of experiments to return (v2).

func WithAppStoreVersionExperimentsV2NextURL

func WithAppStoreVersionExperimentsV2NextURL(next string) AppStoreVersionExperimentsV2Option

WithAppStoreVersionExperimentsV2NextURL uses a next page URL directly (v2).

func WithAppStoreVersionExperimentsV2State

func WithAppStoreVersionExperimentsV2State(states []string) AppStoreVersionExperimentsV2Option

WithAppStoreVersionExperimentsV2State filters experiments by state (v2).

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"`
}

AppStoreVersionLocalizationAttributes describes app store version localization metadata.

type AppStoreVersionLocalizationCreateData

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

AppStoreVersionLocalizationCreateData is the data portion of a version localization create request.

type AppStoreVersionLocalizationCreateRequest

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

AppStoreVersionLocalizationCreateRequest is a request to create a version localization.

type AppStoreVersionLocalizationDeleteResult

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

AppStoreVersionLocalizationDeleteResult represents CLI output for localization deletions.

type AppStoreVersionLocalizationPreviewSetsOption

type AppStoreVersionLocalizationPreviewSetsOption func(*appStoreVersionLocalizationPreviewSetsQuery)

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

func WithAppStoreVersionLocalizationPreviewSetsLimit

func WithAppStoreVersionLocalizationPreviewSetsLimit(limit int) AppStoreVersionLocalizationPreviewSetsOption

WithAppStoreVersionLocalizationPreviewSetsLimit sets the max number of preview sets to return.

func WithAppStoreVersionLocalizationPreviewSetsNextURL

func WithAppStoreVersionLocalizationPreviewSetsNextURL(next string) AppStoreVersionLocalizationPreviewSetsOption

WithAppStoreVersionLocalizationPreviewSetsNextURL uses a next page URL directly.

type AppStoreVersionLocalizationRelationships

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

AppStoreVersionLocalizationRelationships describes relationships for version localizations.

type AppStoreVersionLocalizationResponse

type AppStoreVersionLocalizationResponse = SingleResponse[AppStoreVersionLocalizationAttributes]

AppStoreVersionLocalizationResponse is the response from app store version localization detail/creates.

type AppStoreVersionLocalizationScreenshotSetsOption

type AppStoreVersionLocalizationScreenshotSetsOption func(*appStoreVersionLocalizationScreenshotSetsQuery)

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

func WithAppStoreVersionLocalizationScreenshotSetsLimit

func WithAppStoreVersionLocalizationScreenshotSetsLimit(limit int) AppStoreVersionLocalizationScreenshotSetsOption

WithAppStoreVersionLocalizationScreenshotSetsLimit sets the max number of screenshot sets to return.

func WithAppStoreVersionLocalizationScreenshotSetsNextURL

func WithAppStoreVersionLocalizationScreenshotSetsNextURL(next string) AppStoreVersionLocalizationScreenshotSetsOption

WithAppStoreVersionLocalizationScreenshotSetsNextURL uses a next page URL directly.

type AppStoreVersionLocalizationUpdateData

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

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

type AppStoreVersionLocalizationUpdateRequest

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

AppStoreVersionLocalizationUpdateRequest is a request to update a version localization.

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 WithAppStoreVersionLocalizationsLimit

func WithAppStoreVersionLocalizationsLimit(limit int) AppStoreVersionLocalizationsOption

WithAppStoreVersionLocalizationsLimit sets the max number of localizations to return.

func WithAppStoreVersionLocalizationsNextURL

func WithAppStoreVersionLocalizationsNextURL(next string) AppStoreVersionLocalizationsOption

WithAppStoreVersionLocalizationsNextURL uses a next page URL directly.

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.

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"`
}

AppStoreVersionPhasedReleaseAttributes represents the attributes of a phased release.

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 represents the data for creating a phased release.

type AppStoreVersionPhasedReleaseCreateRequest

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

AppStoreVersionPhasedReleaseCreateRequest represents a request to create a phased release.

type AppStoreVersionPhasedReleaseDeleteResult

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

AppStoreVersionPhasedReleaseDeleteResult represents the result of deleting a phased release.

type AppStoreVersionPhasedReleaseLinkageResponse

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

AppStoreVersionPhasedReleaseLinkageResponse is the response for phased release relationships.

type AppStoreVersionPhasedReleaseRelationships

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

AppStoreVersionPhasedReleaseRelationships represents the relationships for a phased release.

type AppStoreVersionPhasedReleaseResponse

type AppStoreVersionPhasedReleaseResponse struct {
	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 represents the data for updating a phased release.

type AppStoreVersionPhasedReleaseUpdateRequest

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

AppStoreVersionPhasedReleaseUpdateRequest represents a request to update a phased release.

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 portion of a promotion create request.

type AppStoreVersionPromotionCreateRequest

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

AppStoreVersionPromotionCreateRequest is a request to create a version promotion.

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,omitempty"`
	AppStoreVersionExperimentTreatment *Relationship `json:"appStoreVersionExperimentTreatment,omitempty"`
}

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 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 represents data for creating a release request.

type AppStoreVersionReleaseRequestCreateRequest

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

AppStoreVersionReleaseRequestCreateRequest represents a release request create payload.

type AppStoreVersionReleaseRequestRelationships

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

AppStoreVersionReleaseRequestRelationships describes relationships for a release request.

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"`
}

AppStoreVersionReleaseRequestResult represents CLI output for release requests.

type AppStoreVersionResponse

type AppStoreVersionResponse = SingleResponse[AppStoreVersionAttributes]

AppStoreVersionResponse is the response from app store version detail.

type AppStoreVersionReviewDetailLinkageResponse

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

AppStoreVersionReviewDetailLinkageResponse is the response for review detail relationships.

type AppStoreVersionRoutingAppCoverageLinkageResponse

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

AppStoreVersionRoutingAppCoverageLinkageResponse is the response for routing coverage relationships.

type AppStoreVersionSubmissionAttributes

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

AppStoreVersionSubmissionAttributes describes an app store version submission resource.

type AppStoreVersionSubmissionCancelResult

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

AppStoreVersionSubmissionCancelResult represents CLI output for submission cancellation.

type AppStoreVersionSubmissionCreateData

type AppStoreVersionSubmissionCreateData struct {
	Type          ResourceType                            `json:"type"`
	Relationships *AppStoreVersionSubmissionRelationships `json:"relationships"`
}

AppStoreVersionSubmissionCreateData is the data portion of an app store version submission create request.

type AppStoreVersionSubmissionCreateRequest

type AppStoreVersionSubmissionCreateRequest struct {
	Data AppStoreVersionSubmissionCreateData `json:"data"`
}

AppStoreVersionSubmissionCreateRequest is a request to create an app store version submission.

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 AppStoreVersionSubmissionLinkageResponse

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

AppStoreVersionSubmissionLinkageResponse is the response for submission relationships.

type AppStoreVersionSubmissionRelationships

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

AppStoreVersionSubmissionRelationships describes the relationships for an app store version submission.

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 AppStoreVersionSubmissionResponse

type AppStoreVersionSubmissionResponse = SingleResourceResponse[AppStoreVersionSubmissionAttributes]

AppStoreVersionSubmissionResponse is the response from app store version submission endpoint.

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"`
	EarliestReleaseDate *string `json:"earliestReleaseDate,omitempty"`
	VersionString       *string `json:"versionString,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"`
}

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

type AppStoreVersionUpdateRequest

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

AppStoreVersionUpdateRequest is a request to update an app store version.

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 WithAppStoreVersionsLimit

func WithAppStoreVersionsLimit(limit int) AppStoreVersionsOption

WithAppStoreVersionsLimit sets the max number of versions to return.

func WithAppStoreVersionsNextURL

func WithAppStoreVersionsNextURL(next string) AppStoreVersionsOption

WithAppStoreVersionsNextURL uses a next page URL directly.

func WithAppStoreVersionsPlatforms

func WithAppStoreVersionsPlatforms(platforms []string) AppStoreVersionsOption

WithAppStoreVersionsPlatforms filters versions by platform.

func WithAppStoreVersionsStates

func WithAppStoreVersionsStates(states []string) AppStoreVersionsOption

WithAppStoreVersionsStates filters versions by app store 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 AppSubscriptionGracePeriodLinkageResponse

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

AppSubscriptionGracePeriodLinkageResponse is the response for subscription grace period relationship.

type AppTagAttributes

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

AppTagAttributes describes an app tag resource.

type AppTagResponse

type AppTagResponse = SingleResponse[AppTagAttributes]

AppTagResponse is the response from app tag detail/updates.

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 describes fields for updating an app tag.

type AppTagUpdateData

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

AppTagUpdateData is the data portion of an app tag update request.

type AppTagUpdateRequest

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

AppTagUpdateRequest is a request to update an app tag.

type AppTagsOption

type AppTagsOption func(*appTagsQuery)

AppTagsOption is a functional option for GetAppTags.

func WithAppTagsFields

func WithAppTagsFields(fields []string) AppTagsOption

WithAppTagsFields sets fields[appTags] for app tag responses.

func WithAppTagsInclude

func WithAppTagsInclude(include []string) AppTagsOption

WithAppTagsInclude sets include for app tag responses.

func WithAppTagsLimit

func WithAppTagsLimit(limit int) AppTagsOption

WithAppTagsLimit sets the max number of app tags to return.

func WithAppTagsNextURL

func WithAppTagsNextURL(next string) AppTagsOption

WithAppTagsNextURL uses a next page URL directly.

func WithAppTagsSort

func WithAppTagsSort(sort string) AppTagsOption

WithAppTagsSort sets the sort order for app tags.

func WithAppTagsTerritoryFields

func WithAppTagsTerritoryFields(fields []string) AppTagsOption

WithAppTagsTerritoryFields sets fields[territories] for included territory responses.

func WithAppTagsTerritoryLimit

func WithAppTagsTerritoryLimit(limit int) AppTagsOption

WithAppTagsTerritoryLimit sets limit[territories] for included territories.

func WithAppTagsVisibleInAppStore

func WithAppTagsVisibleInAppStore(values []string) AppTagsOption

WithAppTagsVisibleInAppStore filters app tags by visibility.

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"`
}

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 portion of an app update request.

type AppUpdateRequest

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

AppUpdateRequest is a request to update an app.

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 is a functional option for GetApps.

func WithAppsBundleIDs

func WithAppsBundleIDs(bundleIDs []string) AppsOption

WithAppsBundleIDs filters apps by bundle ID(s).

func WithAppsLimit

func WithAppsLimit(limit int) AppsOption

WithAppsLimit sets the max number of apps to return.

func WithAppsNames

func WithAppsNames(names []string) AppsOption

WithAppsNames filters apps by name(s).

func WithAppsNextURL

func WithAppsNextURL(next string) AppsOption

WithAppsNextURL uses a next page URL directly.

func WithAppsSKUs

func WithAppsSKUs(skus []string) AppsOption

WithAppsSKUs filters apps by SKU(s).

func WithAppsSort

func WithAppsSort(sort string) AppsOption

WithAppsSort sets the sort order for apps.

type AppsResponse

type AppsResponse = Response[AppAttributes]

AppsResponse is the response from apps endpoint.

type AppsWallResult

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

AppsWallResult is the response payload for apps wall output.

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 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 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 describes attributes for creating a background asset.

type BackgroundAssetCreateData

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

BackgroundAssetCreateData is the data portion of a create request.

type BackgroundAssetCreateRelationships

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

BackgroundAssetCreateRelationships describes relationships for creating a background asset.

type BackgroundAssetCreateRequest

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

BackgroundAssetCreateRequest is a request to create a background asset.

type BackgroundAssetResponse

type BackgroundAssetResponse = SingleResponse[BackgroundAssetAttributes]

BackgroundAssetResponse represents a background asset response.

type BackgroundAssetUpdateAttributes

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

BackgroundAssetUpdateAttributes describes attributes for updating a background asset.

type BackgroundAssetUpdateData

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

BackgroundAssetUpdateData is the data portion of an update request.

type BackgroundAssetUpdateRequest

type BackgroundAssetUpdateRequest struct {
	Data BackgroundAssetUpdateData `json:"data"`
}

BackgroundAssetUpdateRequest is a request to update a background asset.

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 portion of an upload file create request.

type BackgroundAssetUploadFileCreateRelationships

type BackgroundAssetUploadFileCreateRelationships struct {
	BackgroundAssetVersion Relationship `json:"backgroundAssetVersion"`
}

BackgroundAssetUploadFileCreateRelationships describes relationships for creating upload files.

type BackgroundAssetUploadFileCreateRequest

type BackgroundAssetUploadFileCreateRequest struct {
	Data BackgroundAssetUploadFileCreateData `json:"data"`
}

BackgroundAssetUploadFileCreateRequest is a request to create a background asset upload file.

type BackgroundAssetUploadFileResponse

type BackgroundAssetUploadFileResponse = SingleResponse[BackgroundAssetUploadFileAttributes]

BackgroundAssetUploadFileResponse represents a background asset upload file response.

type BackgroundAssetUploadFileUpdateAttributes

type BackgroundAssetUploadFileUpdateAttributes struct {
	SourceFileChecksum  *string    `json:"sourceFileChecksum,omitempty"`
	SourceFileChecksums *Checksums `json:"sourceFileChecksums,omitempty"`
	Uploaded            *bool      `json:"uploaded,omitempty"`
}

BackgroundAssetUploadFileUpdateAttributes describes fields for updating upload files.

type BackgroundAssetUploadFileUpdateData

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

BackgroundAssetUploadFileUpdateData is the data portion of an upload file update request.

type BackgroundAssetUploadFileUpdateRequest

type BackgroundAssetUploadFileUpdateRequest struct {
	Data BackgroundAssetUploadFileUpdateData `json:"data"`
}

BackgroundAssetUploadFileUpdateRequest is a request to update a background asset upload file.

type BackgroundAssetUploadFilesOption

type BackgroundAssetUploadFilesOption func(*backgroundAssetUploadFilesQuery)

BackgroundAssetUploadFilesOption is a functional option for background asset upload files list endpoints.

func WithBackgroundAssetUploadFilesLimit

func WithBackgroundAssetUploadFilesLimit(limit int) BackgroundAssetUploadFilesOption

WithBackgroundAssetUploadFilesLimit sets the max number of background asset upload files to return.

func WithBackgroundAssetUploadFilesNextURL

func WithBackgroundAssetUploadFilesNextURL(next string) BackgroundAssetUploadFilesOption

WithBackgroundAssetUploadFilesNextURL uses a next page URL directly.

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 describes an App Store release.

type BackgroundAssetVersionAppStoreReleaseResponse

type BackgroundAssetVersionAppStoreReleaseResponse = SingleResponse[BackgroundAssetVersionAppStoreReleaseAttributes]

BackgroundAssetVersionAppStoreReleaseResponse represents an App Store release response.

type BackgroundAssetVersionAttributes

type BackgroundAssetVersionAttributes struct {
	CreatedDate  string                              `json:"createdDate,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 portion of a version create request.

type BackgroundAssetVersionCreateRelationships

type BackgroundAssetVersionCreateRelationships struct {
	BackgroundAsset Relationship `json:"backgroundAsset"`
}

BackgroundAssetVersionCreateRelationships describes relationships for creating a version.

type BackgroundAssetVersionCreateRequest

type BackgroundAssetVersionCreateRequest struct {
	Data BackgroundAssetVersionCreateData `json:"data"`
}

BackgroundAssetVersionCreateRequest is a request to create a background asset version.

type BackgroundAssetVersionExternalBetaReleaseAttributes

type BackgroundAssetVersionExternalBetaReleaseAttributes struct {
	State string `json:"state,omitempty"`
}

BackgroundAssetVersionExternalBetaReleaseAttributes describes an external beta release.

type BackgroundAssetVersionExternalBetaReleaseResponse

type BackgroundAssetVersionExternalBetaReleaseResponse = SingleResponse[BackgroundAssetVersionExternalBetaReleaseAttributes]

BackgroundAssetVersionExternalBetaReleaseResponse represents an external beta release response.

type BackgroundAssetVersionInternalBetaReleaseAttributes

type BackgroundAssetVersionInternalBetaReleaseAttributes struct {
	State string `json:"state,omitempty"`
}

BackgroundAssetVersionInternalBetaReleaseAttributes describes an internal beta release.

type BackgroundAssetVersionInternalBetaReleaseResponse

type BackgroundAssetVersionInternalBetaReleaseResponse = SingleResponse[BackgroundAssetVersionInternalBetaReleaseAttributes]

BackgroundAssetVersionInternalBetaReleaseResponse represents an internal beta release response.

type BackgroundAssetVersionResponse

type BackgroundAssetVersionResponse = SingleResponse[BackgroundAssetVersionAttributes]

BackgroundAssetVersionResponse represents a background asset version response.

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 WithBackgroundAssetVersionsLimit

func WithBackgroundAssetVersionsLimit(limit int) BackgroundAssetVersionsOption

WithBackgroundAssetVersionsLimit sets the max number of background asset versions to return.

func WithBackgroundAssetVersionsNextURL

func WithBackgroundAssetVersionsNextURL(next string) BackgroundAssetVersionsOption

WithBackgroundAssetVersionsNextURL uses a next page URL directly.

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 WithBackgroundAssetsLimit

func WithBackgroundAssetsLimit(limit int) BackgroundAssetsOption

WithBackgroundAssetsLimit sets the max number of background assets to return.

func WithBackgroundAssetsNextURL

func WithBackgroundAssetsNextURL(next string) BackgroundAssetsOption

WithBackgroundAssetsNextURL uses a next page URL directly.

type BackgroundAssetsResponse

type BackgroundAssetsResponse = Response[BackgroundAssetAttributes]

BackgroundAssetsResponse represents a background assets list response.

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 describes invocation create attributes.

type BetaAppClipInvocationCreateData

type BetaAppClipInvocationCreateData struct {
	Type          ResourceType                          `json:"type"`
	Attributes    BetaAppClipInvocationCreateAttributes `json:"attributes"`
	Relationships *BetaAppClipInvocationRelationships   `json:"relationships,omitempty"`
}

BetaAppClipInvocationCreateData is the payload for creating an invocation.

type BetaAppClipInvocationCreateRequest

type BetaAppClipInvocationCreateRequest struct {
	Data     BetaAppClipInvocationCreateData                 `json:"data"`
	Included []BetaAppClipInvocationLocalizationInlineCreate `json:"included,omitempty"`
}

BetaAppClipInvocationCreateRequest is the create request payload.

type BetaAppClipInvocationDeleteResult

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

BetaAppClipInvocationDeleteResult represents invocation deletion.

type BetaAppClipInvocationLocalizationAttributes

type BetaAppClipInvocationLocalizationAttributes struct {
	Title  string `json:"title,omitempty"`
	Locale string `json:"locale,omitempty"`
}

BetaAppClipInvocationLocalizationAttributes describes localization attributes.

type BetaAppClipInvocationLocalizationCreateAttributes

type BetaAppClipInvocationLocalizationCreateAttributes struct {
	Title  string `json:"title"`
	Locale string `json:"locale"`
}

BetaAppClipInvocationLocalizationCreateAttributes describes localization create attributes.

type BetaAppClipInvocationLocalizationCreateData

type BetaAppClipInvocationLocalizationCreateData struct {
	Type          ResourceType                                      `json:"type"`
	Attributes    BetaAppClipInvocationLocalizationCreateAttributes `json:"attributes"`
	Relationships *BetaAppClipInvocationLocalizationRelationships   `json:"relationships"`
}

BetaAppClipInvocationLocalizationCreateData is the payload for creating a localization.

type BetaAppClipInvocationLocalizationCreateRequest

type BetaAppClipInvocationLocalizationCreateRequest struct {
	Data BetaAppClipInvocationLocalizationCreateData `json:"data"`
}

BetaAppClipInvocationLocalizationCreateRequest is the create request payload.

type BetaAppClipInvocationLocalizationDeleteResult

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

BetaAppClipInvocationLocalizationDeleteResult represents localization deletion.

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 describes localization update attributes.

type BetaAppClipInvocationLocalizationUpdateData

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

BetaAppClipInvocationLocalizationUpdateData is the payload for updating a localization.

type BetaAppClipInvocationLocalizationUpdateRequest

type BetaAppClipInvocationLocalizationUpdateRequest struct {
	Data BetaAppClipInvocationLocalizationUpdateData `json:"data"`
}

BetaAppClipInvocationLocalizationUpdateRequest is the update request payload.

type BetaAppClipInvocationLocalizationsResponse

type BetaAppClipInvocationLocalizationsResponse = Response[BetaAppClipInvocationLocalizationAttributes]

Response aliases.

type BetaAppClipInvocationOption

type BetaAppClipInvocationOption func(*betaAppClipInvocationQuery)

BetaAppClipInvocationOption is a functional option for GetBetaAppClipInvocation.

func WithBetaAppClipInvocationInclude

func WithBetaAppClipInvocationInclude(include []string) BetaAppClipInvocationOption

WithBetaAppClipInvocationInclude sets include for beta App Clip invocation detail.

func WithBetaAppClipInvocationLocalizationsLimit

func WithBetaAppClipInvocationLocalizationsLimit(limit int) BetaAppClipInvocationOption

WithBetaAppClipInvocationLocalizationsLimit sets limit for included localizations.

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 describes invocation update attributes.

type BetaAppClipInvocationUpdateData

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

BetaAppClipInvocationUpdateData is the payload for updating an invocation.

type BetaAppClipInvocationUpdateRequest

type BetaAppClipInvocationUpdateRequest struct {
	Data BetaAppClipInvocationUpdateData `json:"data"`
}

BetaAppClipInvocationUpdateRequest is the update request payload.

type BetaAppClipInvocationsOption

type BetaAppClipInvocationsOption func(*betaAppClipInvocationsQuery)

BetaAppClipInvocationsOption is a functional option for GetBuildBundleBetaAppClipInvocations.

func WithBetaAppClipInvocationsLimit

func WithBetaAppClipInvocationsLimit(limit int) BetaAppClipInvocationsOption

WithBetaAppClipInvocationsLimit sets the max number of App Clip invocations to return.

func WithBetaAppClipInvocationsNextURL

func WithBetaAppClipInvocationsNextURL(next string) BetaAppClipInvocationsOption

WithBetaAppClipInvocationsNextURL uses a next page URL directly.

type BetaAppClipInvocationsResponse

type BetaAppClipInvocationsResponse = Response[BetaAppClipInvocationAttributes]

BetaAppClipInvocationsResponse is the response from beta app clip invocations endpoint.

type BetaAppLocalizationAppLinkageResponse

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

BetaAppLocalizationAppLinkageResponse is the response for beta app localization app relationships.

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"`
}

BetaAppLocalizationAttributes describes TestFlight app localization metadata.

type BetaAppLocalizationCreateData

type BetaAppLocalizationCreateData struct {
	Type          ResourceType                      `json:"type"`
	Attributes    BetaAppLocalizationAttributes     `json:"attributes"`
	Relationships *BetaAppLocalizationRelationships `json:"relationships"`
}

BetaAppLocalizationCreateData is the data portion of a beta app localization create request.

type BetaAppLocalizationCreateRequest

type BetaAppLocalizationCreateRequest struct {
	Data BetaAppLocalizationCreateData `json:"data"`
}

BetaAppLocalizationCreateRequest is a request to create a beta app localization.

type BetaAppLocalizationDeleteResult

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

BetaAppLocalizationDeleteResult represents CLI output for beta app localization deletions.

type BetaAppLocalizationRelationships

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

BetaAppLocalizationRelationships describes relationships for beta app localizations.

type BetaAppLocalizationResponse

type BetaAppLocalizationResponse = SingleResponse[BetaAppLocalizationAttributes]

BetaAppLocalizationResponse is the response from beta app localization detail/creates.

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 describes attributes for updating beta app localizations.

type BetaAppLocalizationUpdateData

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

BetaAppLocalizationUpdateData is the data portion of a beta app localization update request.

type BetaAppLocalizationUpdateRequest

type BetaAppLocalizationUpdateRequest struct {
	Data BetaAppLocalizationUpdateData `json:"data"`
}

BetaAppLocalizationUpdateRequest is a request to update a beta app localization.

type BetaAppLocalizationsOption

type BetaAppLocalizationsOption func(*betaAppLocalizationsQuery)

BetaAppLocalizationsOption is a functional option for beta app localizations.

func WithBetaAppLocalizationAppIDs

func WithBetaAppLocalizationAppIDs(ids []string) BetaAppLocalizationsOption

WithBetaAppLocalizationAppIDs filters beta app localizations by app ID(s).

func WithBetaAppLocalizationLocales

func WithBetaAppLocalizationLocales(locales []string) BetaAppLocalizationsOption

WithBetaAppLocalizationLocales filters beta app localizations by locale.

func WithBetaAppLocalizationsLimit

func WithBetaAppLocalizationsLimit(limit int) BetaAppLocalizationsOption

WithBetaAppLocalizationsLimit sets the max number of beta app localizations to return.

func WithBetaAppLocalizationsNextURL

func WithBetaAppLocalizationsNextURL(next string) BetaAppLocalizationsOption

WithBetaAppLocalizationsNextURL uses a next page URL directly.

type BetaAppLocalizationsResponse

type BetaAppLocalizationsResponse = Response[BetaAppLocalizationAttributes]

BetaAppLocalizationsResponse is the response from beta app localization endpoints.

type BetaAppReviewDetailAppLinkageResponse

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

BetaAppReviewDetailAppLinkageResponse is the response for beta app review detail app relationships.

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"`
}

BetaAppReviewDetailAttributes describes beta app review details.

type BetaAppReviewDetailResponse

type BetaAppReviewDetailResponse = SingleResponse[BetaAppReviewDetailAttributes]

BetaAppReviewDetailResponse is the response from beta app review detail endpoints.

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 describes updateable beta app review details.

type BetaAppReviewDetailUpdateData

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

BetaAppReviewDetailUpdateData is the data portion of a beta app review detail update.

type BetaAppReviewDetailUpdateRequest

type BetaAppReviewDetailUpdateRequest struct {
	Data BetaAppReviewDetailUpdateData `json:"data"`
}

BetaAppReviewDetailUpdateRequest is a request to update beta app review details.

type BetaAppReviewDetailsOption

type BetaAppReviewDetailsOption func(*betaAppReviewDetailsQuery)

BetaAppReviewDetailsOption is a functional option for beta app review details.

func WithBetaAppReviewDetailsLimit

func WithBetaAppReviewDetailsLimit(limit int) BetaAppReviewDetailsOption

WithBetaAppReviewDetailsLimit sets the max number of review detail records to return.

func WithBetaAppReviewDetailsNextURL

func WithBetaAppReviewDetailsNextURL(next string) BetaAppReviewDetailsOption

WithBetaAppReviewDetailsNextURL uses a next page URL directly.

type BetaAppReviewDetailsResponse

type BetaAppReviewDetailsResponse = Response[BetaAppReviewDetailAttributes]

BetaAppReviewDetailsResponse is the response from beta app review details list.

type BetaAppReviewSubmissionAttributes

type BetaAppReviewSubmissionAttributes struct {
	BetaReviewState string `json:"betaReviewState,omitempty"`
	SubmittedDate   string `json:"submittedDate,omitempty"`
}

BetaAppReviewSubmissionAttributes describes beta app review submission metadata.

type BetaAppReviewSubmissionBuildLinkageResponse

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

BetaAppReviewSubmissionBuildLinkageResponse is the response for beta app review submission build relationships.

type BetaAppReviewSubmissionCreateData

type BetaAppReviewSubmissionCreateData struct {
	Type          ResourceType                                `json:"type"`
	Relationships *BetaAppReviewSubmissionCreateRelationships `json:"relationships"`
}

BetaAppReviewSubmissionCreateData is the data portion of a beta app review submission create.

type BetaAppReviewSubmissionCreateRelationships

type BetaAppReviewSubmissionCreateRelationships struct {
	Build *Relationship `json:"build"`
}

BetaAppReviewSubmissionCreateRelationships describes relationships for submission creates.

type BetaAppReviewSubmissionCreateRequest

type BetaAppReviewSubmissionCreateRequest struct {
	Data BetaAppReviewSubmissionCreateData `json:"data"`
}

BetaAppReviewSubmissionCreateRequest is a request to create a beta app review submission.

type BetaAppReviewSubmissionResponse

type BetaAppReviewSubmissionResponse = SingleResponse[BetaAppReviewSubmissionAttributes]

BetaAppReviewSubmissionResponse is the response from beta app review submission detail/create.

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 WithBetaAppReviewSubmissionsLimit

func WithBetaAppReviewSubmissionsLimit(limit int) BetaAppReviewSubmissionsOption

WithBetaAppReviewSubmissionsLimit sets the max number of submissions to return.

func WithBetaAppReviewSubmissionsNextURL

func WithBetaAppReviewSubmissionsNextURL(next string) BetaAppReviewSubmissionsOption

WithBetaAppReviewSubmissionsNextURL uses a next page URL directly.

type BetaAppReviewSubmissionsResponse

type BetaAppReviewSubmissionsResponse = Response[BetaAppReviewSubmissionAttributes]

BetaAppReviewSubmissionsResponse is the response from beta app review submissions list.

type BetaBuildLocalizationAttributes

type BetaBuildLocalizationAttributes struct {
	Locale   string `json:"locale,omitempty"`
	WhatsNew string `json:"whatsNew,omitempty"`
}

BetaBuildLocalizationAttributes describes TestFlight build localization notes.

type BetaBuildLocalizationBuildLinkageResponse

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

BetaBuildLocalizationBuildLinkageResponse is the response for beta build localization build relationships.

type BetaBuildLocalizationCreateData

type BetaBuildLocalizationCreateData struct {
	Type          ResourceType                        `json:"type"`
	Attributes    BetaBuildLocalizationAttributes     `json:"attributes"`
	Relationships *BetaBuildLocalizationRelationships `json:"relationships"`
}

BetaBuildLocalizationCreateData is the data portion of a beta build localization create request.

type BetaBuildLocalizationCreateRequest

type BetaBuildLocalizationCreateRequest struct {
	Data BetaBuildLocalizationCreateData `json:"data"`
}

BetaBuildLocalizationCreateRequest is a request to create a beta build localization.

type BetaBuildLocalizationDeleteResult

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

BetaBuildLocalizationDeleteResult represents CLI output for beta build localization deletions.

type BetaBuildLocalizationRelationships

type BetaBuildLocalizationRelationships struct {
	Build *Relationship `json:"build"`
}

BetaBuildLocalizationRelationships describes relationships for beta build localizations.

type BetaBuildLocalizationResponse

type BetaBuildLocalizationResponse = SingleResponse[BetaBuildLocalizationAttributes]

BetaBuildLocalizationResponse is the response from beta build localization detail/creates.

type BetaBuildLocalizationUpdateData

type BetaBuildLocalizationUpdateData struct {
	Type       ResourceType                    `json:"type"`
	ID         string                          `json:"id"`
	Attributes BetaBuildLocalizationAttributes `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 a request to update a beta build localization.

type BetaBuildLocalizationsOption

type BetaBuildLocalizationsOption func(*betaBuildLocalizationsQuery)

BetaBuildLocalizationsOption is a functional option for beta build localizations.

func WithBetaBuildLocalizationBuildIDs added in v1.260328.0

func WithBetaBuildLocalizationBuildIDs(ids []string) BetaBuildLocalizationsOption

WithBetaBuildLocalizationBuildIDs filters beta build localizations by build ID(s).

func WithBetaBuildLocalizationLocales

func WithBetaBuildLocalizationLocales(locales []string) BetaBuildLocalizationsOption

WithBetaBuildLocalizationLocales filters beta build localizations by locale.

func WithBetaBuildLocalizationsLimit

func WithBetaBuildLocalizationsLimit(limit int) BetaBuildLocalizationsOption

WithBetaBuildLocalizationsLimit sets the max number of beta build localizations to return.

func WithBetaBuildLocalizationsNextURL

func WithBetaBuildLocalizationsNextURL(next string) BetaBuildLocalizationsOption

WithBetaBuildLocalizationsNextURL uses a next page URL directly.

type BetaBuildLocalizationsResponse

type BetaBuildLocalizationsResponse = Response[BetaBuildLocalizationAttributes]

BetaBuildLocalizationsResponse is the response from beta build localization endpoints.

type BetaBuildUsagesOption

type BetaBuildUsagesOption func(*betaBuildUsagesQuery)

BetaBuildUsagesOption is a functional option for beta build usage metrics.

func WithBetaBuildUsagesLimit

func WithBetaBuildUsagesLimit(limit int) BetaBuildUsagesOption

WithBetaBuildUsagesLimit sets the max number of beta build usage records to return.

func WithBetaBuildUsagesNextURL

func WithBetaBuildUsagesNextURL(next string) BetaBuildUsagesOption

WithBetaBuildUsagesNextURL uses a next page URL directly.

type BetaBuildUsagesResponse

type BetaBuildUsagesResponse struct {
	Data json.RawMessage `json:"-"`
}

BetaBuildUsagesResponse wraps raw beta build usage metrics JSON.

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 describes a beta crash log resource.

type BetaCrashLogResponse

type BetaCrashLogResponse = SingleResponse[BetaCrashLogAttributes]

BetaCrashLogResponse is the response from beta crash log endpoints.

type BetaFeedbackCrashSubmissionCrashLogLinkageResponse

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

BetaFeedbackCrashSubmissionCrashLogLinkageResponse is the response for crash log relationships.

type BetaFeedbackCrashSubmissionResponse

type BetaFeedbackCrashSubmissionResponse = SingleResponse[CrashAttributes]

BetaFeedbackCrashSubmissionResponse is the response from crash submission detail endpoint.

type BetaFeedbackScreenshotSubmissionResponse

type BetaFeedbackScreenshotSubmissionResponse = SingleResponse[FeedbackAttributes]

BetaFeedbackScreenshotSubmissionResponse is the response from screenshot submission detail endpoint.

type BetaFeedbackSubmissionDeleteResult

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

BetaFeedbackSubmissionDeleteResult represents CLI output for beta feedback deletions.

type BetaGroupAppLinkageResponse

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

BetaGroupAppLinkageResponse is the response for beta group app relationships.

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"`
	PublicLinkLimitEnabled bool   `json:"publicLinkLimitEnabled,omitempty"`
	PublicLinkLimit        int    `json:"publicLinkLimit,omitempty"`
	PublicLink             string `json:"publicLink,omitempty"`
	FeedbackEnabled        bool   `json:"feedbackEnabled,omitempty"`
}

BetaGroupAttributes describes a beta group resource.

type BetaGroupBetaRecruitmentCriteriaLinkageResponse

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

BetaGroupBetaRecruitmentCriteriaLinkageResponse is the response for recruitment criteria relationships.

type BetaGroupBetaRecruitmentCriterionCompatibleBuildCheckLinkageResponse

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

BetaGroupBetaRecruitmentCriterionCompatibleBuildCheckLinkageResponse is the response for compatible build check relationships.

type BetaGroupBuildsOption

type BetaGroupBuildsOption func(*betaGroupBuildsQuery)

BetaGroupBuildsOption is a functional option for GetBetaGroupBuilds.

func WithBetaGroupBuildsLimit

func WithBetaGroupBuildsLimit(limit int) BetaGroupBuildsOption

WithBetaGroupBuildsLimit sets the max number of builds to return for a group.

func WithBetaGroupBuildsNextURL

func WithBetaGroupBuildsNextURL(next string) BetaGroupBuildsOption

WithBetaGroupBuildsNextURL uses a next page URL directly.

type BetaGroupCreateData

type BetaGroupCreateData struct {
	Type          ResourceType            `json:"type"`
	Attributes    BetaGroupAttributes     `json:"attributes"`
	Relationships *BetaGroupRelationships `json:"relationships"`
}

BetaGroupCreateData is the data portion of a beta group create request.

type BetaGroupCreateRequest

type BetaGroupCreateRequest struct {
	Data BetaGroupCreateData `json:"data"`
}

BetaGroupCreateRequest is a request to create a beta group.

type BetaGroupMetricAttributes

type BetaGroupMetricAttributes map[string]any

BetaGroupMetricAttributes represents metric attributes returned by metrics endpoints.

type BetaGroupPublicLinkUsagesResponse

type BetaGroupPublicLinkUsagesResponse = Response[BetaGroupMetricAttributes]

BetaGroupPublicLinkUsagesResponse is the response from public link usage metrics.

type BetaGroupRelationships

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

BetaGroupRelationships describes relationships for beta groups.

type BetaGroupResponse

type BetaGroupResponse = SingleResponse[BetaGroupAttributes]

BetaGroupResponse is the response from beta group detail/creates.

type BetaGroupTesterUsagesResponse

type BetaGroupTesterUsagesResponse = Response[BetaGroupMetricAttributes]

BetaGroupTesterUsagesResponse is the response from beta tester usage metrics.

type BetaGroupTestersOption

type BetaGroupTestersOption func(*betaGroupTestersQuery)

BetaGroupTestersOption is a functional option for GetBetaGroupTesters.

func WithBetaGroupTestersLimit

func WithBetaGroupTestersLimit(limit int) BetaGroupTestersOption

WithBetaGroupTestersLimit sets the max number of testers to return for a group.

func WithBetaGroupTestersNextURL

func WithBetaGroupTestersNextURL(next string) BetaGroupTestersOption

WithBetaGroupTestersNextURL uses a next page URL directly.

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"`
}

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 portion of a beta group update request.

type BetaGroupUpdateRequest

type BetaGroupUpdateRequest struct {
	Data BetaGroupUpdateData `json:"data"`
}

BetaGroupUpdateRequest is a request to update a beta group.

type BetaGroupsOption

type BetaGroupsOption func(*betaGroupsQuery)

BetaGroupsOption is a functional option for GetBetaGroups.

func WithBetaGroupsIsInternal

func WithBetaGroupsIsInternal(isInternal bool) BetaGroupsOption

WithBetaGroupsIsInternal filters beta groups by internal/external groups.

func WithBetaGroupsLimit

func WithBetaGroupsLimit(limit int) BetaGroupsOption

WithBetaGroupsLimit sets the max number of beta groups to return.

func WithBetaGroupsNextURL

func WithBetaGroupsNextURL(next string) BetaGroupsOption

WithBetaGroupsNextURL uses a next page URL directly.

type BetaGroupsResponse

type BetaGroupsResponse = Response[BetaGroupAttributes]

BetaGroupsResponse is the response from beta groups endpoints.

type BetaInviteType

type BetaInviteType string

BetaInviteType represents the invitation type for a beta tester.

const (
	BetaInviteTypeEmail      BetaInviteType = "EMAIL"
	BetaInviteTypePublicLink BetaInviteType = "PUBLIC_LINK"
)

type BetaLicenseAgreementAppLinkageResponse

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

BetaLicenseAgreementAppLinkageResponse is the response for beta license agreement app relationship.

type BetaLicenseAgreementAttributes

type BetaLicenseAgreementAttributes struct {
	AgreementText string `json:"agreementText,omitempty"`
}

BetaLicenseAgreementAttributes describes a beta license agreement.

type BetaLicenseAgreementOption

type BetaLicenseAgreementOption func(*betaLicenseAgreementQuery)

BetaLicenseAgreementOption is a functional option for beta license agreement detail.

func WithBetaLicenseAgreementAppFields

func WithBetaLicenseAgreementAppFields(fields []string) BetaLicenseAgreementOption

WithBetaLicenseAgreementAppFields sets fields[apps] for detail responses.

func WithBetaLicenseAgreementFields

func WithBetaLicenseAgreementFields(fields []string) BetaLicenseAgreementOption

WithBetaLicenseAgreementFields sets fields[betaLicenseAgreements] for detail responses.

func WithBetaLicenseAgreementInclude

func WithBetaLicenseAgreementInclude(include []string) BetaLicenseAgreementOption

WithBetaLicenseAgreementInclude sets include for beta license agreement detail responses.

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 describes fields for updating a beta license agreement.

type BetaLicenseAgreementUpdateData

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

BetaLicenseAgreementUpdateData is the data portion of a beta license agreement update request.

type BetaLicenseAgreementUpdateRequest

type BetaLicenseAgreementUpdateRequest struct {
	Data BetaLicenseAgreementUpdateData `json:"data"`
}

BetaLicenseAgreementUpdateRequest is a request to update a beta license agreement.

type BetaLicenseAgreementsOption

type BetaLicenseAgreementsOption func(*betaLicenseAgreementsQuery)

BetaLicenseAgreementsOption is a functional option for beta license agreements.

func WithBetaLicenseAgreementsAppFields

func WithBetaLicenseAgreementsAppFields(fields []string) BetaLicenseAgreementsOption

WithBetaLicenseAgreementsAppFields sets fields[apps] for included app responses.

func WithBetaLicenseAgreementsAppIDs

func WithBetaLicenseAgreementsAppIDs(appIDs []string) BetaLicenseAgreementsOption

WithBetaLicenseAgreementsAppIDs filters beta license agreements by app ID(s).

func WithBetaLicenseAgreementsFields

func WithBetaLicenseAgreementsFields(fields []string) BetaLicenseAgreementsOption

WithBetaLicenseAgreementsFields sets fields[betaLicenseAgreements] for responses.

func WithBetaLicenseAgreementsInclude

func WithBetaLicenseAgreementsInclude(include []string) BetaLicenseAgreementsOption

WithBetaLicenseAgreementsInclude sets include for beta license agreements responses.

func WithBetaLicenseAgreementsLimit

func WithBetaLicenseAgreementsLimit(limit int) BetaLicenseAgreementsOption

WithBetaLicenseAgreementsLimit sets the max number of beta license agreements to return.

func WithBetaLicenseAgreementsNextURL

func WithBetaLicenseAgreementsNextURL(next string) BetaLicenseAgreementsOption

WithBetaLicenseAgreementsNextURL uses a next page URL directly.

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 BetaRecruitmentCriteriaAttributes

type BetaRecruitmentCriteriaAttributes struct {
	LastModifiedDate             string                        `json:"lastModifiedDate,omitempty"`
	DeviceFamilyOsVersionFilters []DeviceFamilyOsVersionFilter `json:"deviceFamilyOsVersionFilters,omitempty"`
}

BetaRecruitmentCriteriaAttributes describes beta recruitment criteria metadata.

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 BetaRecruitmentCriteriaDeleteResult

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

BetaRecruitmentCriteriaDeleteResult represents CLI output for deletions.

type BetaRecruitmentCriteriaRelationships

type BetaRecruitmentCriteriaRelationships struct {
	BetaGroup *Relationship `json:"betaGroup,omitempty"`
}

BetaRecruitmentCriteriaRelationships describes relationships for recruitment criteria.

type BetaRecruitmentCriteriaResponse

type BetaRecruitmentCriteriaResponse = SingleResponse[BetaRecruitmentCriteriaAttributes]

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 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 is a functional option for recruitment options.

func WithBetaRecruitmentCriterionOptionsFields

func WithBetaRecruitmentCriterionOptionsFields(fields []string) BetaRecruitmentCriterionOptionsOption

WithBetaRecruitmentCriterionOptionsFields sets fields for criterion options.

func WithBetaRecruitmentCriterionOptionsLimit

func WithBetaRecruitmentCriterionOptionsLimit(limit int) BetaRecruitmentCriterionOptionsOption

WithBetaRecruitmentCriterionOptionsLimit sets the max number of criterion options to return.

func WithBetaRecruitmentCriterionOptionsNextURL

func WithBetaRecruitmentCriterionOptionsNextURL(next string) BetaRecruitmentCriterionOptionsOption

WithBetaRecruitmentCriterionOptionsNextURL uses a next page URL directly.

type BetaRecruitmentCriterionOptionsResponse

type BetaRecruitmentCriterionOptionsResponse = Response[BetaRecruitmentCriterionOptionAttributes]

BetaRecruitmentCriterionOptionsResponse is the response from recruitment criteria options list.

type BetaTesterAppsOption

type BetaTesterAppsOption func(*listQuery)

BetaTesterAppsOption is a functional option for GetBetaTesterApps.

func WithBetaTesterAppsLimit

func WithBetaTesterAppsLimit(limit int) BetaTesterAppsOption

WithBetaTesterAppsLimit sets the max number of apps to return.

func WithBetaTesterAppsNextURL

func WithBetaTesterAppsNextURL(next string) BetaTesterAppsOption

WithBetaTesterAppsNextURL uses a next page URL directly.

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"`
}

BetaTesterAttributes describes a beta tester resource.

type BetaTesterBetaGroupsOption

type BetaTesterBetaGroupsOption func(*listQuery)

BetaTesterBetaGroupsOption is a functional option for GetBetaTesterBetaGroups.

func WithBetaTesterBetaGroupsLimit

func WithBetaTesterBetaGroupsLimit(limit int) BetaTesterBetaGroupsOption

WithBetaTesterBetaGroupsLimit sets the max number of beta groups to return.

func WithBetaTesterBetaGroupsNextURL

func WithBetaTesterBetaGroupsNextURL(next string) BetaTesterBetaGroupsOption

WithBetaTesterBetaGroupsNextURL uses a next page URL directly.

type BetaTesterBuildsOption

type BetaTesterBuildsOption func(*listQuery)

BetaTesterBuildsOption is a functional option for GetBetaTesterBuilds.

func WithBetaTesterBuildsLimit

func WithBetaTesterBuildsLimit(limit int) BetaTesterBuildsOption

WithBetaTesterBuildsLimit sets the max number of builds to return.

func WithBetaTesterBuildsNextURL

func WithBetaTesterBuildsNextURL(next string) BetaTesterBuildsOption

WithBetaTesterBuildsNextURL uses a next page URL directly.

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 portion of a beta tester create request.

type BetaTesterCreateRelationships

type BetaTesterCreateRelationships struct {
	BetaGroups *RelationshipList `json:"betaGroups,omitempty"`
}

BetaTesterCreateRelationships describes relationships for beta tester creation.

type BetaTesterCreateRequest

type BetaTesterCreateRequest struct {
	Data BetaTesterCreateData `json:"data"`
}

BetaTesterCreateRequest is a request to create a beta tester.

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 portion of an invitation create request.

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 a request to create a beta tester invitation.

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 response from beta tester detail/creates.

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 BetaTesterUsagesOption

type BetaTesterUsagesOption func(*betaTesterUsagesQuery)

BetaTesterUsagesOption is a functional option for beta tester usage metrics.

func WithBetaTesterUsagesAppID

func WithBetaTesterUsagesAppID(appID string) BetaTesterUsagesOption

WithBetaTesterUsagesAppID filters beta tester usage metrics by app ID.

func WithBetaTesterUsagesFilterBetaTesters

func WithBetaTesterUsagesFilterBetaTesters(testerID string) BetaTesterUsagesOption

WithBetaTesterUsagesFilterBetaTesters filters beta tester usage metrics by beta tester ID.

func WithBetaTesterUsagesGroupBy

func WithBetaTesterUsagesGroupBy(groupBy string) BetaTesterUsagesOption

WithBetaTesterUsagesGroupBy sets the groupBy dimension for beta tester usage metrics.

func WithBetaTesterUsagesLimit

func WithBetaTesterUsagesLimit(limit int) BetaTesterUsagesOption

WithBetaTesterUsagesLimit sets the max number of beta tester usage records to return.

func WithBetaTesterUsagesNextURL

func WithBetaTesterUsagesNextURL(next string) BetaTesterUsagesOption

WithBetaTesterUsagesNextURL uses a next page URL directly.

func WithBetaTesterUsagesPeriod

func WithBetaTesterUsagesPeriod(period string) BetaTesterUsagesOption

WithBetaTesterUsagesPeriod sets the reporting period for beta tester usage metrics.

type BetaTesterUsagesResponse

type BetaTesterUsagesResponse struct {
	Data json.RawMessage `json:"-"`
}

BetaTesterUsagesResponse wraps raw beta tester usage metrics JSON.

func (BetaTesterUsagesResponse) MarshalJSON

func (r BetaTesterUsagesResponse) MarshalJSON() ([]byte, error)

MarshalJSON preserves raw API JSON for beta tester usage metrics.

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 WithBetaTestersGroupIDs

func WithBetaTestersGroupIDs(ids []string) BetaTestersOption

WithBetaTestersGroupIDs filters beta testers by beta group ID(s).

func WithBetaTestersLimit

func WithBetaTestersLimit(limit int) BetaTestersOption

WithBetaTestersLimit sets the max number of beta testers to return.

func WithBetaTestersNextURL

func WithBetaTestersNextURL(next string) BetaTestersOption

WithBetaTestersNextURL uses a next page URL directly.

type BetaTestersResponse

type BetaTestersResponse = Response[BetaTesterAttributes]

BetaTestersResponse is the response from beta testers endpoints.

type BuildAppEncryptionDeclarationLinkageResponse

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

BuildAppEncryptionDeclarationLinkageResponse is the response for build app encryption declaration relationships.

type BuildAppEncryptionDeclarationRelationshipUpdateRequest

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

BuildAppEncryptionDeclarationRelationshipUpdateRequest is a request to update the appEncryptionDeclaration relationship on a build.

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"`
	UsesNonExemptEncryption *bool  `json:"usesNonExemptEncryption,omitempty"`
	Expired                 bool   `json:"expired,omitempty"`
}

BuildAttributes describes a build resource.

type BuildBetaAppReviewSubmissionLinkageResponse

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

BuildBetaAppReviewSubmissionLinkageResponse is the response for build beta app review submission relationships.

type BuildBetaDetailAttributes

type BuildBetaDetailAttributes struct {
	AutoNotifyEnabled  bool   `json:"autoNotifyEnabled,omitempty"`
	InternalBuildState string `json:"internalBuildState,omitempty"`
	ExternalBuildState string `json:"externalBuildState,omitempty"`
}

BuildBetaDetailAttributes describes build beta detail attributes.

type BuildBetaDetailBuildLinkageResponse

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

BuildBetaDetailBuildLinkageResponse is the response for build beta detail build relationships.

type BuildBetaDetailResponse

type BuildBetaDetailResponse = SingleResponse[BuildBetaDetailAttributes]

BuildBetaDetailResponse is the response from build beta detail endpoints.

type BuildBetaDetailUpdateAttributes

type BuildBetaDetailUpdateAttributes struct {
	AutoNotifyEnabled  *bool   `json:"autoNotifyEnabled,omitempty"`
	InternalBuildState *string `json:"internalBuildState,omitempty"`
	ExternalBuildState *string `json:"externalBuildState,omitempty"`
}

BuildBetaDetailUpdateAttributes describes updateable build beta detail attributes.

type BuildBetaDetailUpdateData

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

BuildBetaDetailUpdateData is the data portion of a build beta detail update.

type BuildBetaDetailUpdateRequest

type BuildBetaDetailUpdateRequest struct {
	Data BuildBetaDetailUpdateData `json:"data"`
}

BuildBetaDetailUpdateRequest is a request to update build beta details.

type BuildBetaDetailsOption

type BuildBetaDetailsOption func(*buildBetaDetailsQuery)

BuildBetaDetailsOption is a functional option for build beta details.

func WithBuildBetaDetailsBuildIDs

func WithBuildBetaDetailsBuildIDs(ids []string) BuildBetaDetailsOption

WithBuildBetaDetailsBuildIDs filters build beta details by build ID(s).

func WithBuildBetaDetailsLimit

func WithBuildBetaDetailsLimit(limit int) BuildBetaDetailsOption

WithBuildBetaDetailsLimit sets the max number of build beta details to return.

func WithBuildBetaDetailsNextURL

func WithBuildBetaDetailsNextURL(next string) BuildBetaDetailsOption

WithBuildBetaDetailsNextURL uses a next page URL directly.

type BuildBetaDetailsResponse

type BuildBetaDetailsResponse = Response[BuildBetaDetailAttributes]

BuildBetaDetailsResponse is the response from build beta details list.

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"`
}

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 portion of a build beta notification create request.

type BuildBetaNotificationCreateRequest

type BuildBetaNotificationCreateRequest struct {
	Data BuildBetaNotificationCreateData `json:"data"`
}

BuildBetaNotificationCreateRequest is a request to create a build beta notification.

type BuildBetaNotificationRelationships

type BuildBetaNotificationRelationships struct {
	Build Relationship `json:"build"`
}

BuildBetaNotificationRelationships describes relationships for a build beta notification.

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"`
}

BuildBetaNotificationResponse is the response from build beta notification endpoints.

type BuildBuildBetaDetailLinkageResponse

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

BuildBuildBetaDetailLinkageResponse is the response for build beta detail relationships.

type BuildBundleAppClipDomainCacheStatusLinkageResponse

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

BuildBundleAppClipDomainCacheStatusLinkageResponse is the response for App Clip domain cache status relationships.

type BuildBundleAppClipDomainDebugStatusLinkageResponse

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

BuildBundleAppClipDomainDebugStatusLinkageResponse is the response for App Clip domain debug status 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"`
}

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 is a functional option for GetBuildBundleFileSizes.

func WithBuildBundleFileSizesLimit

func WithBuildBundleFileSizesLimit(limit int) BuildBundleFileSizesOption

WithBuildBundleFileSizesLimit sets the max number of file size items to return.

func WithBuildBundleFileSizesNextURL

func WithBuildBundleFileSizesNextURL(next string) BuildBundleFileSizesOption

WithBuildBundleFileSizesNextURL uses a next page URL directly.

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"`
	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.

func WithBuildIconsLimit

func WithBuildIconsLimit(limit int) BuildIconsOption

WithBuildIconsLimit sets the max number of build icons to return.

func WithBuildIconsNextURL

func WithBuildIconsNextURL(next string) BuildIconsOption

WithBuildIconsNextURL uses a next page URL directly.

type BuildIconsResponse

type BuildIconsResponse = Response[BuildIconAttributes]

BuildIconsResponse is the response from build icons endpoint.

type BuildIndividualTestersOption

type BuildIndividualTestersOption func(*buildIndividualTestersQuery)

BuildIndividualTestersOption is a functional option for GetBuildIndividualTesters.

func WithBuildIndividualTestersLimit

func WithBuildIndividualTestersLimit(limit int) BuildIndividualTestersOption

WithBuildIndividualTestersLimit sets the max number of build individual testers to return.

func WithBuildIndividualTestersNextURL

func WithBuildIndividualTestersNextURL(next string) BuildIndividualTestersOption

WithBuildIndividualTestersNextURL uses a next page URL directly.

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 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 response from build detail/updates.

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 a request to create a build upload.

type BuildUploadDeleteResult

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

BuildUploadDeleteResult represents CLI output for build upload deletions.

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 a request to create a build upload file.

type BuildUploadFileRelationships

type BuildUploadFileRelationships struct {
	BuildUpload *Relationship `json:"buildUpload"`
}

BuildUploadFileRelationships describes the relationships for a build upload file.

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 describes the attributes to update on a build upload file.

type BuildUploadFileUpdateData

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

BuildUploadFileUpdateData is the data portion of a build upload file update request.

type BuildUploadFileUpdateRequest

type BuildUploadFileUpdateRequest struct {
	Data BuildUploadFileUpdateData `json:"data"`
}

BuildUploadFileUpdateRequest is a request to update a build upload file.

type BuildUploadFilesOption

type BuildUploadFilesOption func(*buildUploadFilesQuery)

BuildUploadFilesOption is a functional option for GetBuildUploadFiles.

func WithBuildUploadFilesLimit

func WithBuildUploadFilesLimit(limit int) BuildUploadFilesOption

WithBuildUploadFilesLimit sets the max number of build upload files to return.

func WithBuildUploadFilesNextURL

func WithBuildUploadFilesNextURL(next string) BuildUploadFilesOption

WithBuildUploadFilesNextURL uses a next page URL directly.

type BuildUploadFilesResponse

type BuildUploadFilesResponse = Response[BuildUploadFileAttributes]

BuildUploadFilesResponse is the response from build upload files list endpoint.

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"`
}

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 WithBuildUploadsLimit

func WithBuildUploadsLimit(limit int) BuildUploadsOption

WithBuildUploadsLimit sets the max number of build uploads to return.

func WithBuildUploadsNextURL

func WithBuildUploadsNextURL(next string) BuildUploadsOption

WithBuildUploadsNextURL uses a next page URL directly.

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 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 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 WithBuildsLimit

func WithBuildsLimit(limit int) BuildsOption

WithBuildsLimit sets the max number of builds to return.

func WithBuildsNextURL

func WithBuildsNextURL(next string) BuildsOption

WithBuildsNextURL uses a next page URL directly.

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 WithBuildsPreReleaseVersionVersion

func WithBuildsPreReleaseVersionVersion(version string) BuildsOption

WithBuildsPreReleaseVersionVersion filters builds by marketing version (CFBundleShortVersionString) via filter[preReleaseVersion.version].

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 response from builds endpoint.

type BundleIDAttributes

type BundleIDAttributes struct {
	Name       string   `json:"name"`
	Identifier string   `json:"identifier"`
	Platform   Platform `json:"platform"`
	SeedID     string   `json:"seedId,omitempty"`
}

BundleIDAttributes describes a bundle ID resource.

type BundleIDCapabilitiesOption

type BundleIDCapabilitiesOption func(*bundleIDCapabilitiesQuery)

BundleIDCapabilitiesOption is a functional option for GetBundleIDCapabilities.

func WithBundleIDCapabilitiesNextURL

func WithBundleIDCapabilitiesNextURL(next string) BundleIDCapabilitiesOption

WithBundleIDCapabilitiesNextURL uses a next page URL directly.

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 describes attributes for creating a capability.

type BundleIDCapabilityCreateData

type BundleIDCapabilityCreateData struct {
	Type          ResourceType                       `json:"type"`
	Attributes    BundleIDCapabilityCreateAttributes `json:"attributes"`
	Relationships *BundleIDCapabilityRelationships   `json:"relationships"`
}

BundleIDCapabilityCreateData is the data portion of a capability create request.

type BundleIDCapabilityCreateRequest

type BundleIDCapabilityCreateRequest struct {
	Data BundleIDCapabilityCreateData `json:"data"`
}

BundleIDCapabilityCreateRequest is a request to create a bundle ID capability.

type BundleIDCapabilityDeleteResult

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

BundleIDCapabilityDeleteResult represents CLI output for capability deletions.

type BundleIDCapabilityRelationships

type BundleIDCapabilityRelationships struct {
	BundleID *Relationship `json:"bundleId"`
}

BundleIDCapabilityRelationships describes relationships for bundle ID capabilities.

type BundleIDCapabilityResponse

type BundleIDCapabilityResponse = SingleResponse[BundleIDCapabilityAttributes]

BundleIDCapabilityResponse is the response from bundle ID capability detail endpoint.

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 portion of a capability update request.

type BundleIDCapabilityUpdateRequest

type BundleIDCapabilityUpdateRequest struct {
	Data BundleIDCapabilityUpdateData `json:"data"`
}

BundleIDCapabilityUpdateRequest is a request to update a bundle ID capability.

type BundleIDCreateAttributes

type BundleIDCreateAttributes struct {
	Name       string   `json:"name"`
	Identifier string   `json:"identifier"`
	Platform   Platform `json:"platform"`
}

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 portion of a bundle ID create request.

type BundleIDCreateRequest

type BundleIDCreateRequest struct {
	Data BundleIDCreateData `json:"data"`
}

BundleIDCreateRequest is a request to create a bundle ID.

type BundleIDDeleteResult

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

BundleIDDeleteResult represents CLI output for bundle ID deletions.

type BundleIDProfilesOption

type BundleIDProfilesOption func(*bundleIDProfilesQuery)

BundleIDProfilesOption is a functional option for GetBundleIDProfiles.

func WithBundleIDProfilesLimit

func WithBundleIDProfilesLimit(limit int) BundleIDProfilesOption

WithBundleIDProfilesLimit sets the max number of bundle ID profiles to return.

func WithBundleIDProfilesNextURL

func WithBundleIDProfilesNextURL(next string) BundleIDProfilesOption

WithBundleIDProfilesNextURL uses a next page URL directly.

type BundleIDResponse

type BundleIDResponse = SingleResponse[BundleIDAttributes]

BundleIDResponse is the response from bundle ID detail endpoint.

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 portion of a bundle ID update request.

type BundleIDUpdateRequest

type BundleIDUpdateRequest struct {
	Data BundleIDUpdateData `json:"data"`
}

BundleIDUpdateRequest is a request to update a bundle ID.

type BundleIDsOption

type BundleIDsOption func(*bundleIDsQuery)

BundleIDsOption is a functional option for GetBundleIDs.

func WithBundleIDsFilterIdentifier

func WithBundleIDsFilterIdentifier(identifier string) BundleIDsOption

WithBundleIDsFilterIdentifier filters bundle IDs by identifier (supports CSV).

func WithBundleIDsLimit

func WithBundleIDsLimit(limit int) BundleIDsOption

WithBundleIDsLimit sets the max number of bundle IDs to return.

func WithBundleIDsNextURL

func WithBundleIDsNextURL(next string) BundleIDsOption

WithBundleIDsNextURL uses a next page URL directly.

type BundleIDsResponse

type BundleIDsResponse = Response[BundleIDAttributes]

BundleIDsResponse is the response from bundle IDs list endpoint.

type CapabilityOption

type CapabilityOption struct {
	Key         string `json:"key"`
	Name        string `json:"name,omitempty"`
	Description string `json:"description,omitempty"`
	Enabled     *bool  `json:"enabled,omitempty"`
}

CapabilityOption describes a capability option.

type CapabilitySetting

type CapabilitySetting struct {
	Key     string             `json:"key"`
	Name    string             `json:"name,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"`
}

CertificateAttributes describes a certificate resource.

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"`
}

CertificateCreateData is the data portion of a certificate create request.

type CertificateCreateRequest

type CertificateCreateRequest struct {
	Data CertificateCreateData `json:"data"`
}

CertificateCreateRequest is a request to create a certificate.

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 response from certificate detail endpoint.

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 describes attributes for updating a certificate.

type CertificateUpdateData

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

CertificateUpdateData is the data portion of a certificate update request.

type CertificateUpdateRequest

type CertificateUpdateRequest struct {
	Data CertificateUpdateData `json:"data"`
}

CertificateUpdateRequest is a request to update a certificate.

type CertificatesOption

type CertificatesOption func(*certificatesQuery)

CertificatesOption is a functional option for GetCertificates.

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 WithCertificatesLimit

func WithCertificatesLimit(limit int) CertificatesOption

WithCertificatesLimit sets the max number of certificates to return.

func WithCertificatesNextURL

func WithCertificatesNextURL(next string) CertificatesOption

WithCertificatesNextURL uses a next page URL directly.

func WithCertificatesTypes

func WithCertificatesTypes(types []string) CertificatesOption

WithCertificatesTypes filters certificates by type.

type CertificatesResponse

type CertificatesResponse = Response[CertificateAttributes]

CertificatesResponse is the response from certificates list endpoint.

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.

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.

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 describes a CI artifact resource.

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 is a functional option for GetCiBuildActionArtifacts.

func WithCiArtifactsLimit

func WithCiArtifactsLimit(limit int) CiArtifactsOption

WithCiArtifactsLimit sets the max number of artifacts to return.

func WithCiArtifactsNextURL

func WithCiArtifactsNextURL(next string) CiArtifactsOption

WithCiArtifactsNextURL uses a next page URL directly.

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"`
}

CiBuildActionAttributes describes a CI build action resource.

type CiBuildActionBuildRunLinkageResponse

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

CiBuildActionBuildRunLinkageResponse is the response for ciBuildAction buildRun relationship linkages (to-one).

type CiBuildActionResource

type CiBuildActionResource struct {
	Type       ResourceType            `json:"type"`
	ID         string                  `json:"id"`
	Attributes CiBuildActionAttributes `json:"attributes"`
}

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 is a functional option for GetCiBuildActions.

func WithCiBuildActionsLimit

func WithCiBuildActionsLimit(limit int) CiBuildActionsOption

WithCiBuildActionsLimit sets the max number of build actions to return.

func WithCiBuildActionsNextURL

func WithCiBuildActionsNextURL(next string) CiBuildActionsOption

WithCiBuildActionsNextURL uses a next page URL directly.

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 is a functional option for GetCiBuildRunBuilds.

func WithCiBuildRunBuildsLimit

func WithCiBuildRunBuildsLimit(limit int) CiBuildRunBuildsOption

WithCiBuildRunBuildsLimit sets the max number of builds to return.

func WithCiBuildRunBuildsNextURL

func WithCiBuildRunBuildsNextURL(next string) CiBuildRunBuildsOption

WithCiBuildRunBuildsNextURL uses a next page URL directly.

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 are optional attributes for creating a CI build run.

type CiBuildRunCreateData

type CiBuildRunCreateData struct {
	Type          ResourceType                   `json:"type"`
	Attributes    *CiBuildRunCreateAttributes    `json:"attributes,omitempty"`
	Relationships *CiBuildRunCreateRelationships `json:"relationships,omitempty"`
}

CiBuildRunCreateData is the data portion of a CI build run create request.

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 describes relationships for creating a CI build run.

type CiBuildRunCreateRequest

type CiBuildRunCreateRequest struct {
	Data CiBuildRunCreateData `json:"data"`
}

CiBuildRunCreateRequest is a request to create a CI build run.

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"`
	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 is a functional option for GetCiBuildRuns.

func WithCiBuildRunsLimit

func WithCiBuildRunsLimit(limit int) CiBuildRunsOption

WithCiBuildRunsLimit sets the max number of build runs to return.

func WithCiBuildRunsNextURL

func WithCiBuildRunsNextURL(next string) CiBuildRunsOption

WithCiBuildRunsNextURL uses a next page URL directly.

func WithCiBuildRunsSort

func WithCiBuildRunsSort(sort string) CiBuildRunsOption

WithCiBuildRunsSort sets the sort order for build runs.

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"`
	Paths []string `json:"paths,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 describes a CI issue resource.

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 is a functional option for GetCiBuildActionIssues.

func WithCiIssuesLimit

func WithCiIssuesLimit(limit int) CiIssuesOption

WithCiIssuesLimit sets the max number of issues to return.

func WithCiIssuesNextURL

func WithCiIssuesNextURL(next string) CiIssuesOption

WithCiIssuesNextURL uses a next page URL directly.

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 describes a CI macOS version resource.

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 is a functional option for GetCiMacOsVersions.

func WithCiMacOsVersionsLimit

func WithCiMacOsVersionsLimit(limit int) CiMacOsVersionsOption

WithCiMacOsVersionsLimit sets the max number of macOS versions to return.

func WithCiMacOsVersionsNextURL

func WithCiMacOsVersionsNextURL(next string) CiMacOsVersionsOption

WithCiMacOsVersionsNextURL uses a next page URL directly.

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 CiManualStartCondition

type CiManualStartCondition struct {
	Source *CiBranchPatterns `json:"source,omitempty"`
}

CiManualStartCondition describes manual start conditions.

type CiProductAppLinkageResponse

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

CiProductAppLinkageResponse is the response for ciProduct app relationship linkages (to-one).

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 CiProductDeleteResult

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

CiProductDeleteResult represents CLI output for product deletions.

type CiProductRelationships

type CiProductRelationships struct {
	App                 *Relationship     `json:"app,omitempty"`
	PrimaryRepositories *RelationshipList `json:"primaryRepositories,omitempty"`
}

CiProductRelationships describes relationships for a CI product.

type CiProductRepositoriesOption

type CiProductRepositoriesOption func(*ciProductRepositoriesQuery)

CiProductRepositoriesOption is a functional option for CI product repository lists.

func WithCiProductRepositoriesLimit

func WithCiProductRepositoriesLimit(limit int) CiProductRepositoriesOption

WithCiProductRepositoriesLimit sets the max number of repositories to return.

func WithCiProductRepositoriesNextURL

func WithCiProductRepositoriesNextURL(next string) CiProductRepositoriesOption

WithCiProductRepositoriesNextURL uses a next page URL directly.

type CiProductResource

type CiProductResource struct {
	Type          ResourceType            `json:"type"`
	ID            string                  `json:"id"`
	Attributes    CiProductAttributes     `json:"attributes"`
	Relationships *CiProductRelationships `json:"relationships,omitempty"`
}

CiProductResource represents a CI product resource.

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 WithCiProductsAppID

func WithCiProductsAppID(appID string) CiProductsOption

WithCiProductsAppID filters CI products by app ID.

func WithCiProductsLimit

func WithCiProductsLimit(limit int) CiProductsOption

WithCiProductsLimit sets the max number of CI products to return.

func WithCiProductsNextURL

func WithCiProductsNextURL(next string) CiProductsOption

WithCiProductsNextURL uses a next page URL directly.

type CiProductsResponse

type CiProductsResponse struct {
	Data  []CiProductResource `json:"data"`
	Links Links               `json:"links"`
}

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.

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 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 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 is a functional option for GetCiBuildActionTestResults.

func WithCiTestResultsLimit

func WithCiTestResultsLimit(limit int) CiTestResultsOption

WithCiTestResultsLimit sets the max number of test results to return.

func WithCiTestResultsNextURL

func WithCiTestResultsNextURL(next string) CiTestResultsOption

WithCiTestResultsNextURL uses a next page URL directly.

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 *CiManualStartCondition      `json:"manualPullRequestStartCondition,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 describes a CI workflow resource.

type CiWorkflowDeleteResult

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

CiWorkflowDeleteResult represents CLI output for workflow deletions.

type CiWorkflowRelationships

type CiWorkflowRelationships struct {
	Product      *Relationship `json:"product,omitempty"`
	Repository   *Relationship `json:"repository,omitempty"`
	XcodeVersion *Relationship `json:"xcodeVersion,omitempty"`
	MacOsVersion *Relationship `json:"macOsVersion,omitempty"`
}

CiWorkflowRelationships describes relationships for a CI workflow.

type CiWorkflowRepositoryLinkageResponse

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

CiWorkflowRepositoryLinkageResponse is the response for ciWorkflow repository relationship linkages (to-one).

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 is a functional option for GetCiWorkflows.

func WithCiWorkflowsLimit

func WithCiWorkflowsLimit(limit int) CiWorkflowsOption

WithCiWorkflowsLimit sets the max number of CI workflows to return.

func WithCiWorkflowsNextURL

func WithCiWorkflowsNextURL(next string) CiWorkflowsOption

WithCiWorkflowsNextURL uses a next page URL directly.

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 is a functional option for GetCiXcodeVersions.

func WithCiXcodeVersionsLimit

func WithCiXcodeVersionsLimit(limit int) CiXcodeVersionsOption

WithCiXcodeVersionsLimit sets the max number of Xcode versions to return.

func WithCiXcodeVersionsNextURL

func WithCiXcodeVersionsNextURL(next string) CiXcodeVersionsOption

WithCiXcodeVersionsNextURL uses a next page URL directly.

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 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 adds search keywords to a localization.

func (*Client) AddAppStoreVersionLocalizationSearchKeywords

func (c *Client) AddAppStoreVersionLocalizationSearchKeywords(ctx context.Context, localizationID string, keywords []string) error

AddAppStoreVersionLocalizationSearchKeywords adds search keywords to a localization.

func (*Client) AddBetaGroupsToBuild

func (c *Client) AddBetaGroupsToBuild(ctx context.Context, buildID string, groupIDs []string) error

AddBetaGroupsToBuild adds beta groups to a build for TestFlight distribution.

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 adds a tester to multiple beta groups.

func (*Client) AddBetaTestersToGroup

func (c *Client) AddBetaTestersToGroup(ctx context.Context, groupID string, testerIDs []string) error

AddBetaTestersToGroup adds testers to a beta group.

func (*Client) AddBuildsToAppEncryptionDeclaration

func (c *Client) AddBuildsToAppEncryptionDeclaration(ctx context.Context, declarationID string, buildIDs []string) error

AddBuildsToAppEncryptionDeclaration assigns builds to a declaration.

func (*Client) AddBuildsToBetaGroup

func (c *Client) AddBuildsToBetaGroup(ctx context.Context, groupID string, buildIDs []string) error

AddBuildsToBetaGroup adds builds to a beta group.

func (*Client) AddBuildsToBetaTester

func (c *Client) AddBuildsToBetaTester(ctx context.Context, testerID string, buildIDs []string) error

AddBuildsToBetaTester adds builds to a beta tester.

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) AddGameCenterAppVersionCompatibilityVersions

func (c *Client) AddGameCenterAppVersionCompatibilityVersions(ctx context.Context, appVersionID string, compatibleIDs []string) error

AddGameCenterAppVersionCompatibilityVersions adds compatibility versions to a Game Center app version.

func (*Client) AddGameCenterEnabledVersionCompatibleVersions

func (c *Client) AddGameCenterEnabledVersionCompatibleVersions(ctx context.Context, enabledVersionID string, compatibleIDs []string) error

AddGameCenterEnabledVersionCompatibleVersions adds compatible enabled versions.

func (*Client) AddGameCenterLeaderboardSetMembers

func (c *Client) AddGameCenterLeaderboardSetMembers(ctx context.Context, setID string, leaderboardIDs []string) error

AddGameCenterLeaderboardSetMembers adds leaderboards to a leaderboard set.

func (*Client) AddGameCenterLeaderboardSetMembersV2

func (c *Client) AddGameCenterLeaderboardSetMembersV2(ctx context.Context, setID string, leaderboardIDs []string) error

AddGameCenterLeaderboardSetMembersV2 adds leaderboards to a v2 leaderboard set.

func (*Client) AddIndividualTestersToBuild

func (c *Client) AddIndividualTestersToBuild(ctx context.Context, buildID string, testerIDs []string) error

AddIndividualTestersToBuild adds individual testers to a build.

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) AddUserVisibleApps

func (c *Client) AddUserVisibleApps(ctx context.Context, userID string, appIDs []string) error

AddUserVisibleApps adds visible apps to a user.

func (*Client) AttachAppClipDefaultExperienceToVersion

func (c *Client) AttachAppClipDefaultExperienceToVersion(ctx context.Context, versionID, experienceID string) error

AttachAppClipDefaultExperienceToVersion attaches an App Clip default experience to an app store version.

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) CreateAccessibilityDeclaration

func (c *Client) CreateAccessibilityDeclaration(ctx context.Context, appID string, attrs AccessibilityDeclarationCreateAttributes) (*AccessibilityDeclarationResponse, error)

CreateAccessibilityDeclaration creates a new accessibility declaration.

func (*Client) CreateAlternativeDistributionDomain

func (c *Client) CreateAlternativeDistributionDomain(ctx context.Context, domain, referenceName string) (*AlternativeDistributionDomainResponse, error)

CreateAlternativeDistributionDomain creates an alternative distribution domain.

func (*Client) CreateAlternativeDistributionKey

func (c *Client) CreateAlternativeDistributionKey(ctx context.Context, appID, publicKey string) (*AlternativeDistributionKeyResponse, error)

CreateAlternativeDistributionKey creates an alternative distribution key.

func (*Client) CreateAlternativeDistributionPackage

func (c *Client) CreateAlternativeDistributionPackage(ctx context.Context, appStoreVersionID string) (*AlternativeDistributionPackageResponse, error)

CreateAlternativeDistributionPackage creates an alternative distribution package.

func (*Client) CreateAnalyticsReportRequest

func (c *Client) CreateAnalyticsReportRequest(ctx context.Context, appID string, accessType AnalyticsAccessType) (*AnalyticsReportRequestResponse, error)

CreateAnalyticsReportRequest creates a new analytics report request.

func (*Client) CreateAndroidToIosAppMappingDetail

func (c *Client) CreateAndroidToIosAppMappingDetail(ctx context.Context, appID string, attrs AndroidToIosAppMappingDetailCreateAttributes) (*AndroidToIosAppMappingDetailResponse, error)

CreateAndroidToIosAppMappingDetail creates a new mapping.

func (*Client) CreateApp

func (c *Client) CreateApp(ctx context.Context, attrs AppCreateAttributes) (*AppResponse, error)

CreateApp creates a new app in App Store Connect.

func (*Client) CreateAppAvailabilityV2

func (c *Client) CreateAppAvailabilityV2(ctx context.Context, appID string, attrs AppAvailabilityV2CreateAttributes) (*AppAvailabilityV2Response, error)

CreateAppAvailabilityV2 calls POST /v2/appAvailabilities. Apple documents this endpoint as app pre-order creation, not generic app-availability bootstrap.

func (*Client) CreateAppClipAdvancedExperience

func (c *Client) CreateAppClipAdvancedExperience(ctx context.Context, appClipID string, attrs AppClipAdvancedExperienceCreateAttributes, headerImageID string, localizationIDs []string) (*AppClipAdvancedExperienceResponse, error)

CreateAppClipAdvancedExperience creates an advanced experience.

func (*Client) CreateAppClipAdvancedExperienceImage

func (c *Client) CreateAppClipAdvancedExperienceImage(ctx context.Context, fileName string, fileSize int64) (*AppClipAdvancedExperienceImageResponse, error)

CreateAppClipAdvancedExperienceImage reserves an upload slot.

func (*Client) CreateAppClipAppStoreReviewDetail

func (c *Client) CreateAppClipAppStoreReviewDetail(ctx context.Context, experienceID string, attrs *AppClipAppStoreReviewDetailCreateAttributes) (*AppClipAppStoreReviewDetailResponse, error)

CreateAppClipAppStoreReviewDetail creates review detail for a default experience.

func (*Client) CreateAppClipDefaultExperience

func (c *Client) CreateAppClipDefaultExperience(ctx context.Context, appClipID string, attrs *AppClipDefaultExperienceCreateAttributes, releaseVersionID string, templateID string) (*AppClipDefaultExperienceResponse, error)

CreateAppClipDefaultExperience creates a default experience for an App Clip.

func (*Client) CreateAppClipDefaultExperienceLocalization

func (c *Client) CreateAppClipDefaultExperienceLocalization(ctx context.Context, experienceID string, attrs AppClipDefaultExperienceLocalizationCreateAttributes) (*AppClipDefaultExperienceLocalizationResponse, error)

CreateAppClipDefaultExperienceLocalization creates a localization.

func (*Client) CreateAppClipHeaderImage

func (c *Client) CreateAppClipHeaderImage(ctx context.Context, localizationID string, fileName string, fileSize int64) (*AppClipHeaderImageResponse, error)

CreateAppClipHeaderImage reserves a header image upload.

func (*Client) CreateAppCustomProductPage

func (c *Client) CreateAppCustomProductPage(ctx context.Context, appID, name string) (*AppCustomProductPageResponse, error)

CreateAppCustomProductPage creates a custom product page.

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 creates a new encryption declaration.

func (*Client) CreateAppEncryptionDeclarationDocument

func (c *Client) CreateAppEncryptionDeclarationDocument(ctx context.Context, declarationID, fileName string, fileSize int64) (*AppEncryptionDeclarationDocumentResponse, error)

CreateAppEncryptionDeclarationDocument creates a new document upload reservation.

func (*Client) CreateAppEvent

func (c *Client) CreateAppEvent(ctx context.Context, appID string, attrs AppEventCreateAttributes) (*AppEventResponse, error)

CreateAppEvent creates an app event.

func (*Client) CreateAppEventLocalization

func (c *Client) CreateAppEventLocalization(ctx context.Context, eventID string, attrs AppEventLocalizationCreateAttributes) (*AppEventLocalizationResponse, error)

CreateAppEventLocalization creates a localization for an app event.

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, attributes AppInfoLocalizationAttributes) (*AppInfoLocalizationResponse, error)

CreateAppInfoLocalization creates a localization for an app info resource.

func (*Client) CreateAppPreview

func (c *Client) CreateAppPreview(ctx context.Context, setID string, fileName string, fileSize int64, mimeType string) (*AppPreviewResponse, error)

CreateAppPreview creates a preview reservation.

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) CreateAppPriceSchedule

func (c *Client) CreateAppPriceSchedule(ctx context.Context, appID string, attrs AppPriceScheduleCreateAttributes) (*AppPriceScheduleResponse, error)

CreateAppPriceSchedule creates an app price schedule with a manual price.

func (*Client) CreateAppScreenshot

func (c *Client) CreateAppScreenshot(ctx context.Context, setID string, fileName string, fileSize int64) (*AppScreenshotResponse, error)

CreateAppScreenshot creates a screenshot reservation.

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 creates a new attachment.

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 creates an experiment (v1).

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 creates a treatment localization.

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, attributes AppStoreVersionLocalizationAttributes) (*AppStoreVersionLocalizationResponse, error)

CreateAppStoreVersionLocalization creates a localization for an app store version.

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 creates a version promotion.

func (*Client) CreateAppStoreVersionReleaseRequest

func (c *Client) CreateAppStoreVersionReleaseRequest(ctx context.Context, versionID string) (*AppStoreVersionReleaseRequestResponse, error)

CreateAppStoreVersionReleaseRequest creates a release request for an app store version.

func (*Client) CreateAppStoreVersionSubmission

CreateAppStoreVersionSubmission creates a new app store version submission.

func (*Client) CreateBackgroundAsset

func (c *Client) CreateBackgroundAsset(ctx context.Context, appID, assetPackIdentifier string) (*BackgroundAssetResponse, error)

CreateBackgroundAsset creates a background asset.

func (*Client) CreateBackgroundAssetUploadFile

func (c *Client) CreateBackgroundAssetUploadFile(ctx context.Context, versionID, fileName string, fileSize int64, assetType BackgroundAssetUploadFileAssetType) (*BackgroundAssetUploadFileResponse, error)

CreateBackgroundAssetUploadFile creates a background asset upload file.

func (*Client) CreateBackgroundAssetVersion

func (c *Client) CreateBackgroundAssetVersion(ctx context.Context, backgroundAssetID string) (*BackgroundAssetVersionResponse, error)

CreateBackgroundAssetVersion creates a new background asset version.

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 creates a localization.

func (*Client) CreateBetaAppLocalization

func (c *Client) CreateBetaAppLocalization(ctx context.Context, appID string, attrs BetaAppLocalizationAttributes) (*BetaAppLocalizationResponse, error)

CreateBetaAppLocalization creates a beta app localization for an app.

func (*Client) CreateBetaAppReviewSubmission

func (c *Client) CreateBetaAppReviewSubmission(ctx context.Context, buildID string) (*BetaAppReviewSubmissionResponse, error)

CreateBetaAppReviewSubmission submits a build for beta app review.

func (*Client) CreateBetaBuildLocalization

func (c *Client) CreateBetaBuildLocalization(ctx context.Context, buildID string, attributes BetaBuildLocalizationAttributes) (*BetaBuildLocalizationResponse, error)

CreateBetaBuildLocalization creates a beta build localization for a build.

func (*Client) CreateBetaGroup

func (c *Client) CreateBetaGroup(ctx context.Context, appID, name string) (*BetaGroupResponse, error)

CreateBetaGroup creates a beta group for an app.

func (*Client) CreateBetaGroupWithAttributes

func (c *Client) CreateBetaGroupWithAttributes(ctx context.Context, appID string, attrs BetaGroupAttributes) (*BetaGroupResponse, error)

CreateBetaGroupWithAttributes creates a beta group for an app with explicit attributes. 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 []string) (*BetaTesterResponse, error)

CreateBetaTester creates a beta tester.

func (*Client) CreateBetaTesterInvitation

func (c *Client) CreateBetaTesterInvitation(ctx context.Context, appID, testerID string) (*BetaTesterInvitationResponse, error)

CreateBetaTesterInvitation creates a beta tester invitation.

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 creates a new bundle ID.

func (*Client) CreateBundleIDCapability

func (c *Client) CreateBundleIDCapability(ctx context.Context, bundleID string, attrs BundleIDCapabilityCreateAttributes) (*BundleIDCapabilityResponse, error)

CreateBundleIDCapability adds a capability to a bundle ID.

func (*Client) CreateCertificate

func (c *Client) CreateCertificate(ctx context.Context, csrContent string, certType string) (*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) CreateCustomerReviewResponse

func (c *Client) CreateCustomerReviewResponse(ctx context.Context, reviewID, responseBody string) (*CustomerReviewResponseResponse, error)

CreateCustomerReviewResponse creates a response to a customer review.

func (*Client) CreateDevice

func (c *Client) CreateDevice(ctx context.Context, attrs DeviceCreateAttributes) (*DeviceResponse, error)

CreateDevice registers a new device.

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 creates a new Game Center achievement.

func (*Client) CreateGameCenterAchievementImage

func (c *Client) CreateGameCenterAchievementImage(ctx context.Context, localizationID string, fileName string, fileSize int64) (*GameCenterAchievementImageResponse, error)

CreateGameCenterAchievementImage reserves a new Game Center achievement image upload.

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 creates a new Game Center achievement localization.

func (*Client) CreateGameCenterAchievementLocalizationV2

func (c *Client) CreateGameCenterAchievementLocalizationV2(ctx context.Context, versionID string, attrs GameCenterAchievementLocalizationCreateAttributes) (*GameCenterAchievementLocalizationResponse, error)

CreateGameCenterAchievementLocalizationV2 creates a new v2 achievement localization.

func (*Client) CreateGameCenterAchievementRelease

func (c *Client) CreateGameCenterAchievementRelease(ctx context.Context, gcDetailID, achievementID string) (*GameCenterAchievementReleaseResponse, error)

CreateGameCenterAchievementRelease creates a new Game Center achievement release.

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 creates a new v2 achievement version.

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, localizationID, fileName string, fileSize int64) (*GameCenterActivityImageResponse, error)

CreateGameCenterActivityImage reserves an activity image upload.

func (*Client) CreateGameCenterActivityLocalization

func (c *Client) CreateGameCenterActivityLocalization(ctx context.Context, versionID string, attrs GameCenterActivityLocalizationCreateAttributes) (*GameCenterActivityLocalizationResponse, error)

CreateGameCenterActivityLocalization creates a new activity localization.

func (*Client) CreateGameCenterActivityVersion

func (c *Client) CreateGameCenterActivityVersion(ctx context.Context, activityID string, fallbackURL string) (*GameCenterActivityVersionResponse, error)

CreateGameCenterActivityVersion creates a new activity version.

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 creates a new Game Center app version.

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, localizationID, fileName string, fileSize int64) (*GameCenterChallengeImageResponse, error)

CreateGameCenterChallengeImage reserves a challenge image upload.

func (*Client) CreateGameCenterChallengeLocalization

func (c *Client) CreateGameCenterChallengeLocalization(ctx context.Context, versionID string, attrs GameCenterChallengeLocalizationCreateAttributes) (*GameCenterChallengeLocalizationResponse, error)

CreateGameCenterChallengeLocalization creates a new challenge localization.

func (*Client) CreateGameCenterChallengeVersion

func (c *Client) CreateGameCenterChallengeVersion(ctx context.Context, challengeID string) (*GameCenterChallengeVersionResponse, error)

CreateGameCenterChallengeVersion creates a new challenge version.

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) (*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 reserves an image upload for a leaderboard localization.

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 creates a new Game Center leaderboard localization.

func (*Client) CreateGameCenterLeaderboardLocalizationV2

func (c *Client) CreateGameCenterLeaderboardLocalizationV2(ctx context.Context, versionID string, attrs GameCenterLeaderboardLocalizationCreateAttributes) (*GameCenterLeaderboardLocalizationResponse, error)

CreateGameCenterLeaderboardLocalizationV2 creates a new v2 leaderboard localization.

func (*Client) CreateGameCenterLeaderboardRelease

func (c *Client) CreateGameCenterLeaderboardRelease(ctx context.Context, gcDetailID, leaderboardID string) (*GameCenterLeaderboardReleaseResponse, error)

CreateGameCenterLeaderboardRelease creates a new Game Center leaderboard release.

func (*Client) CreateGameCenterLeaderboardSet

func (c *Client) CreateGameCenterLeaderboardSet(ctx context.Context, gcDetailID string, attrs GameCenterLeaderboardSetCreateAttributes) (*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 reserves an image upload slot for a leaderboard set localization.

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 creates a new Game Center leaderboard set localization.

func (*Client) CreateGameCenterLeaderboardSetLocalizationV2

func (c *Client) CreateGameCenterLeaderboardSetLocalizationV2(ctx context.Context, versionID string, attrs GameCenterLeaderboardSetLocalizationCreateAttributes) (*GameCenterLeaderboardSetLocalizationResponse, error)

CreateGameCenterLeaderboardSetLocalizationV2 creates a new v2 leaderboard set localization.

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 creates a new Game Center leaderboard set release.

func (*Client) CreateGameCenterLeaderboardSetV2

func (c *Client) CreateGameCenterLeaderboardSetV2(ctx context.Context, gcDetailID, groupID string, attrs GameCenterLeaderboardSetCreateAttributes) (*GameCenterLeaderboardSetResponse, error)

CreateGameCenterLeaderboardSetV2 creates a new v2 leaderboard set.

func (*Client) CreateGameCenterLeaderboardSetVersion

func (c *Client) CreateGameCenterLeaderboardSetVersion(ctx context.Context, setID string) (*GameCenterLeaderboardSetVersionResponse, error)

CreateGameCenterLeaderboardSetVersion creates a new v2 leaderboard set version.

func (*Client) CreateGameCenterLeaderboardV2

func (c *Client) CreateGameCenterLeaderboardV2(ctx context.Context, gcDetailID string, groupID string, attrs GameCenterLeaderboardCreateAttributes) (*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 creates a new v2 leaderboard version.

func (*Client) CreateGameCenterMatchmakingQueue

func (c *Client) CreateGameCenterMatchmakingQueue(ctx context.Context, attrs GameCenterMatchmakingQueueCreateAttributes, ruleSetID string, experimentRuleSetID string) (*GameCenterMatchmakingQueueResponse, error)

CreateGameCenterMatchmakingQueue creates a new matchmaking queue.

func (*Client) CreateGameCenterMatchmakingRule

func (c *Client) CreateGameCenterMatchmakingRule(ctx context.Context, ruleSetID string, attrs GameCenterMatchmakingRuleCreateAttributes) (*GameCenterMatchmakingRuleResponse, error)

CreateGameCenterMatchmakingRule creates a new rule for a rule set.

func (*Client) CreateGameCenterMatchmakingRuleSet

CreateGameCenterMatchmakingRuleSet creates a new matchmaking rule set.

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 creates a new team for a rule set.

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 creates a review screenshot upload reservation.

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) CreateInAppPurchaseImage

func (c *Client) CreateInAppPurchaseImage(ctx context.Context, iapID, fileName string, fileSize int64) (*InAppPurchaseImageResponse, error)

CreateInAppPurchaseImage creates an image upload reservation.

func (*Client) CreateInAppPurchaseLocalization

func (c *Client) CreateInAppPurchaseLocalization(ctx context.Context, iapID string, attrs InAppPurchaseLocalizationCreateAttributes) (*InAppPurchaseLocalizationResponse, error)

CreateInAppPurchaseLocalization creates a localization for an in-app purchase.

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) CreateInAppPurchaseSubmission

func (c *Client) CreateInAppPurchaseSubmission(ctx context.Context, iapID string) (*InAppPurchaseSubmissionResponse, error)

CreateInAppPurchaseSubmission submits an IAP for review.

func (*Client) CreateInAppPurchaseV2

func (c *Client) CreateInAppPurchaseV2(ctx context.Context, appID string, attrs InAppPurchaseV2CreateAttributes) (*InAppPurchaseV2Response, error)

CreateInAppPurchaseV2 creates a new in-app purchase.

func (*Client) CreateMarketplaceSearchDetail

func (c *Client) CreateMarketplaceSearchDetail(ctx context.Context, appID, catalogURL string) (*MarketplaceSearchDetailResponse, error)

CreateMarketplaceSearchDetail creates marketplace search details for an app.

func (*Client) CreateMarketplaceWebhook

func (c *Client) CreateMarketplaceWebhook(ctx context.Context, endpointURL, secret string) (*MarketplaceWebhookResponse, error)

CreateMarketplaceWebhook creates a marketplace webhook.

func (*Client) CreateMerchantID

func (c *Client) CreateMerchantID(ctx context.Context, attrs MerchantIDCreateAttributes) (*MerchantIDResponse, error)

CreateMerchantID creates a new merchant ID.

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 creates a new pass type ID.

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) 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 creates a routing app coverage upload reservation.

func (*Client) CreateSubscription

func (c *Client) CreateSubscription(ctx context.Context, groupID string, attrs SubscriptionCreateAttributes) (*SubscriptionResponse, error)

CreateSubscription creates a subscription within a group.

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 creates a subscription group for an app.

func (*Client) CreateSubscriptionGroupLocalization

func (c *Client) CreateSubscriptionGroupLocalization(ctx context.Context, groupID string, attrs SubscriptionGroupLocalizationCreateAttributes) (*SubscriptionGroupLocalizationResponse, error)

CreateSubscriptionGroupLocalization creates a subscription group localization.

func (*Client) CreateSubscriptionGroupSubmission

func (c *Client) CreateSubscriptionGroupSubmission(ctx context.Context, groupID string) (*SubscriptionGroupSubmissionResponse, error)

CreateSubscriptionGroupSubmission creates a subscription group submission.

func (*Client) CreateSubscriptionImage

func (c *Client) CreateSubscriptionImage(ctx context.Context, subscriptionID, fileName string, fileSize int64) (*SubscriptionImageResponse, error)

CreateSubscriptionImage creates a subscription image.

func (*Client) CreateSubscriptionIntroductoryOffer

func (c *Client) CreateSubscriptionIntroductoryOffer(ctx context.Context, subscriptionID string, attrs SubscriptionIntroductoryOfferCreateAttributes, territoryID, pricePointID string) (*SubscriptionIntroductoryOfferResponse, error)

CreateSubscriptionIntroductoryOffer creates an introductory offer.

func (*Client) CreateSubscriptionLocalization

func (c *Client) CreateSubscriptionLocalization(ctx context.Context, subscriptionID string, attrs SubscriptionLocalizationCreateAttributes) (*SubscriptionLocalizationResponse, error)

CreateSubscriptionLocalization creates a subscription 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) 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, priceIDs []string) (*SubscriptionPromotionalOfferResponse, error)

CreateSubscriptionPromotionalOffer creates a promotional offer.

func (*Client) CreateSubscriptionSubmission

func (c *Client) CreateSubscriptionSubmission(ctx context.Context, subscriptionID string) (*SubscriptionSubmissionResponse, error)

CreateSubscriptionSubmission creates a subscription submission.

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 creates a webhook for an app.

func (*Client) CreateWebhookDelivery

func (c *Client) CreateWebhookDelivery(ctx context.Context, deliveryID string) (*WebhookDeliveryResponse, error)

CreateWebhookDelivery creates a webhook delivery (redelivery) from a template delivery.

func (*Client) CreateWebhookPing

func (c *Client) CreateWebhookPing(ctx context.Context, webhookID string) (*WebhookPingResponse, error)

CreateWebhookPing creates a webhook ping for a webhook.

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 deletes an accessibility declaration by ID.

func (*Client) DeleteAlternativeDistributionDomain

func (c *Client) DeleteAlternativeDistributionDomain(ctx context.Context, domainID string) error

DeleteAlternativeDistributionDomain deletes an alternative distribution domain by ID.

func (*Client) DeleteAlternativeDistributionKey

func (c *Client) DeleteAlternativeDistributionKey(ctx context.Context, keyID string) error

DeleteAlternativeDistributionKey deletes an alternative distribution key by ID.

func (*Client) DeleteAnalyticsReportRequest

func (c *Client) DeleteAnalyticsReportRequest(ctx context.Context, requestID string) error

DeleteAnalyticsReportRequest deletes an analytics report request by ID.

func (*Client) DeleteAndroidToIosAppMappingDetail

func (c *Client) DeleteAndroidToIosAppMappingDetail(ctx context.Context, id string) error

DeleteAndroidToIosAppMappingDetail deletes a mapping by ID.

func (*Client) DeleteAppClipAdvancedExperience

func (c *Client) DeleteAppClipAdvancedExperience(ctx context.Context, experienceID string) error

DeleteAppClipAdvancedExperience deletes an advanced experience by ID.

func (*Client) DeleteAppClipAdvancedExperienceImage

func (c *Client) DeleteAppClipAdvancedExperienceImage(ctx context.Context, imageID string) error

DeleteAppClipAdvancedExperienceImage deletes an image by ID.

func (*Client) DeleteAppClipDefaultExperience

func (c *Client) DeleteAppClipDefaultExperience(ctx context.Context, experienceID string) error

DeleteAppClipDefaultExperience deletes a default experience by ID.

func (*Client) DeleteAppClipDefaultExperienceLocalization

func (c *Client) DeleteAppClipDefaultExperienceLocalization(ctx context.Context, localizationID string) error

DeleteAppClipDefaultExperienceLocalization deletes a localization by ID.

func (*Client) DeleteAppClipHeaderImage

func (c *Client) DeleteAppClipHeaderImage(ctx context.Context, imageID string) error

DeleteAppClipHeaderImage deletes a header image by ID.

func (*Client) DeleteAppCustomProductPage

func (c *Client) DeleteAppCustomProductPage(ctx context.Context, pageID string) error

DeleteAppCustomProductPage deletes a custom product page.

func (*Client) DeleteAppCustomProductPageLocalization

func (c *Client) DeleteAppCustomProductPageLocalization(ctx context.Context, localizationID string) error

DeleteAppCustomProductPageLocalization deletes a custom product page localization.

func (*Client) DeleteAppCustomProductPageLocalizationSearchKeywords

func (c *Client) DeleteAppCustomProductPageLocalizationSearchKeywords(ctx context.Context, localizationID string, keywords []string) error

DeleteAppCustomProductPageLocalizationSearchKeywords removes search keywords from a localization.

func (*Client) DeleteAppEvent

func (c *Client) DeleteAppEvent(ctx context.Context, eventID string) error

DeleteAppEvent deletes an app event.

func (*Client) DeleteAppEventLocalization

func (c *Client) DeleteAppEventLocalization(ctx context.Context, localizationID string) error

DeleteAppEventLocalization deletes an app event localization.

func (*Client) DeleteAppEventScreenshot

func (c *Client) DeleteAppEventScreenshot(ctx context.Context, screenshotID string) error

DeleteAppEventScreenshot deletes an app event screenshot.

func (*Client) DeleteAppEventVideoClip

func (c *Client) DeleteAppEventVideoClip(ctx context.Context, clipID string) error

DeleteAppEventVideoClip deletes an app event video clip.

func (*Client) DeleteAppInfoLocalization

func (c *Client) DeleteAppInfoLocalization(ctx context.Context, localizationID string) error

DeleteAppInfoLocalization deletes an app info localization by ID.

func (*Client) DeleteAppPreview

func (c *Client) DeleteAppPreview(ctx context.Context, previewID string) error

DeleteAppPreview deletes a preview by ID.

func (*Client) DeleteAppPreviewSet

func (c *Client) DeleteAppPreviewSet(ctx context.Context, setID string) error

DeleteAppPreviewSet deletes a preview set by ID.

func (*Client) DeleteAppScreenshot

func (c *Client) DeleteAppScreenshot(ctx context.Context, screenshotID string) error

DeleteAppScreenshot deletes a screenshot by ID.

func (*Client) DeleteAppScreenshotSet

func (c *Client) DeleteAppScreenshotSet(ctx context.Context, setID string) error

DeleteAppScreenshotSet deletes a screenshot set by ID.

func (*Client) DeleteAppStoreReviewAttachment

func (c *Client) DeleteAppStoreReviewAttachment(ctx context.Context, attachmentID string) error

DeleteAppStoreReviewAttachment deletes an attachment by ID.

func (*Client) DeleteAppStoreVersion

func (c *Client) DeleteAppStoreVersion(ctx context.Context, versionID string) error

DeleteAppStoreVersion deletes an app store version. Only versions in PREPARE_FOR_SUBMISSION state can be deleted.

func (*Client) DeleteAppStoreVersionExperiment

func (c *Client) DeleteAppStoreVersionExperiment(ctx context.Context, experimentID string) error

DeleteAppStoreVersionExperiment deletes an experiment (v1).

func (*Client) DeleteAppStoreVersionExperimentTreatment

func (c *Client) DeleteAppStoreVersionExperimentTreatment(ctx context.Context, treatmentID string) error

DeleteAppStoreVersionExperimentTreatment deletes a treatment.

func (*Client) DeleteAppStoreVersionExperimentTreatmentLocalization

func (c *Client) DeleteAppStoreVersionExperimentTreatmentLocalization(ctx context.Context, localizationID string) error

DeleteAppStoreVersionExperimentTreatmentLocalization deletes a treatment localization.

func (*Client) DeleteAppStoreVersionExperimentV2

func (c *Client) DeleteAppStoreVersionExperimentV2(ctx context.Context, experimentID string) error

DeleteAppStoreVersionExperimentV2 deletes an experiment (v2).

func (*Client) DeleteAppStoreVersionLocalization

func (c *Client) DeleteAppStoreVersionLocalization(ctx context.Context, localizationID string) error

DeleteAppStoreVersionLocalization deletes a localization by ID.

func (*Client) DeleteAppStoreVersionLocalizationSearchKeywords

func (c *Client) DeleteAppStoreVersionLocalizationSearchKeywords(ctx context.Context, localizationID string, keywords []string) error

DeleteAppStoreVersionLocalizationSearchKeywords removes search keywords from a localization.

func (*Client) DeleteAppStoreVersionPhasedRelease

func (c *Client) DeleteAppStoreVersionPhasedRelease(ctx context.Context, phasedReleaseID string) error

DeleteAppStoreVersionPhasedRelease deletes a phased release.

func (*Client) DeleteAppStoreVersionSubmission

func (c *Client) DeleteAppStoreVersionSubmission(ctx context.Context, id string) error

DeleteAppStoreVersionSubmission deletes an app store version submission.

func (*Client) DeleteBetaAppClipInvocation

func (c *Client) DeleteBetaAppClipInvocation(ctx context.Context, invocationID string) error

DeleteBetaAppClipInvocation deletes a beta App Clip invocation.

func (*Client) DeleteBetaAppClipInvocationLocalization

func (c *Client) DeleteBetaAppClipInvocationLocalization(ctx context.Context, localizationID string) error

DeleteBetaAppClipInvocationLocalization deletes a localization.

func (*Client) DeleteBetaAppLocalization

func (c *Client) DeleteBetaAppLocalization(ctx context.Context, localizationID string) error

DeleteBetaAppLocalization deletes a beta app localization by ID.

func (*Client) DeleteBetaBuildLocalization

func (c *Client) DeleteBetaBuildLocalization(ctx context.Context, localizationID string) error

DeleteBetaBuildLocalization deletes a beta build localization by ID.

func (*Client) DeleteBetaFeedbackCrashSubmission

func (c *Client) DeleteBetaFeedbackCrashSubmission(ctx context.Context, submissionID string) error

DeleteBetaFeedbackCrashSubmission deletes a beta feedback crash submission by ID.

func (*Client) DeleteBetaFeedbackScreenshotSubmission

func (c *Client) DeleteBetaFeedbackScreenshotSubmission(ctx context.Context, submissionID string) error

DeleteBetaFeedbackScreenshotSubmission deletes a beta feedback screenshot submission by ID.

func (*Client) DeleteBetaGroup

func (c *Client) DeleteBetaGroup(ctx context.Context, groupID string) error

DeleteBetaGroup deletes a beta group by ID.

func (*Client) DeleteBetaRecruitmentCriteria

func (c *Client) DeleteBetaRecruitmentCriteria(ctx context.Context, criteriaID string) error

DeleteBetaRecruitmentCriteria deletes beta recruitment criteria by ID.

func (*Client) DeleteBetaTester

func (c *Client) DeleteBetaTester(ctx context.Context, testerID string) error

DeleteBetaTester deletes a beta tester by ID.

func (*Client) DeleteBuildUpload

func (c *Client) DeleteBuildUpload(ctx context.Context, id string) error

DeleteBuildUpload deletes a build upload by ID.

func (*Client) DeleteBundleID

func (c *Client) DeleteBundleID(ctx context.Context, id string) error

DeleteBundleID deletes a bundle ID by ID.

func (*Client) DeleteBundleIDCapability

func (c *Client) DeleteBundleIDCapability(ctx context.Context, capabilityID string) error

DeleteBundleIDCapability deletes a bundle ID capability by ID.

func (*Client) DeleteCiProduct

func (c *Client) DeleteCiProduct(ctx context.Context, productID string) error

DeleteCiProduct deletes a CI product by ID.

func (*Client) DeleteCiWorkflow

func (c *Client) DeleteCiWorkflow(ctx context.Context, workflowID string) error

DeleteCiWorkflow deletes a CI workflow by ID.

func (*Client) DeleteCustomerReviewResponse

func (c *Client) DeleteCustomerReviewResponse(ctx context.Context, responseID string) error

DeleteCustomerReviewResponse deletes a customer review response by ID.

func (*Client) DeleteEndUserLicenseAgreement

func (c *Client) DeleteEndUserLicenseAgreement(ctx context.Context, id string) error

DeleteEndUserLicenseAgreement deletes an EULA by ID.

func (*Client) DeleteGameCenterAchievement

func (c *Client) DeleteGameCenterAchievement(ctx context.Context, achievementID string) error

DeleteGameCenterAchievement deletes a Game Center achievement.

func (*Client) DeleteGameCenterAchievementImage

func (c *Client) DeleteGameCenterAchievementImage(ctx context.Context, imageID string) error

DeleteGameCenterAchievementImage deletes a Game Center achievement image.

func (*Client) DeleteGameCenterAchievementImageV2

func (c *Client) DeleteGameCenterAchievementImageV2(ctx context.Context, imageID string) error

DeleteGameCenterAchievementImageV2 deletes a v2 achievement image.

func (*Client) DeleteGameCenterAchievementLocalization

func (c *Client) DeleteGameCenterAchievementLocalization(ctx context.Context, localizationID string) error

DeleteGameCenterAchievementLocalization deletes a Game Center achievement localization.

func (*Client) DeleteGameCenterAchievementLocalizationV2

func (c *Client) DeleteGameCenterAchievementLocalizationV2(ctx context.Context, localizationID string) error

DeleteGameCenterAchievementLocalizationV2 deletes a v2 achievement localization.

func (*Client) DeleteGameCenterAchievementRelease

func (c *Client) DeleteGameCenterAchievementRelease(ctx context.Context, releaseID string) error

DeleteGameCenterAchievementRelease deletes a Game Center achievement release.

func (*Client) DeleteGameCenterAchievementV2

func (c *Client) DeleteGameCenterAchievementV2(ctx context.Context, achievementID string) error

DeleteGameCenterAchievementV2 deletes a v2 Game Center achievement.

func (*Client) DeleteGameCenterActivity

func (c *Client) DeleteGameCenterActivity(ctx context.Context, activityID string) error

DeleteGameCenterActivity deletes a Game Center activity.

func (*Client) DeleteGameCenterActivityImage

func (c *Client) DeleteGameCenterActivityImage(ctx context.Context, imageID string) error

DeleteGameCenterActivityImage deletes an activity image.

func (*Client) DeleteGameCenterActivityLocalization

func (c *Client) DeleteGameCenterActivityLocalization(ctx context.Context, localizationID string) error

DeleteGameCenterActivityLocalization deletes an activity localization.

func (*Client) DeleteGameCenterActivityVersionRelease

func (c *Client) DeleteGameCenterActivityVersionRelease(ctx context.Context, releaseID string) error

DeleteGameCenterActivityVersionRelease deletes an activity version release.

func (*Client) DeleteGameCenterChallenge

func (c *Client) DeleteGameCenterChallenge(ctx context.Context, challengeID string) error

DeleteGameCenterChallenge deletes a Game Center challenge.

func (*Client) DeleteGameCenterChallengeImage

func (c *Client) DeleteGameCenterChallengeImage(ctx context.Context, imageID string) error

DeleteGameCenterChallengeImage deletes a challenge image.

func (*Client) DeleteGameCenterChallengeLocalization

func (c *Client) DeleteGameCenterChallengeLocalization(ctx context.Context, localizationID string) error

DeleteGameCenterChallengeLocalization deletes a challenge localization.

func (*Client) DeleteGameCenterChallengeVersionRelease

func (c *Client) DeleteGameCenterChallengeVersionRelease(ctx context.Context, releaseID string) error

DeleteGameCenterChallengeVersionRelease deletes a challenge version release.

func (*Client) DeleteGameCenterGroup

func (c *Client) DeleteGameCenterGroup(ctx context.Context, groupID string) error

DeleteGameCenterGroup deletes a Game Center group.

func (*Client) DeleteGameCenterLeaderboard

func (c *Client) DeleteGameCenterLeaderboard(ctx context.Context, leaderboardID string) error

DeleteGameCenterLeaderboard deletes a Game Center leaderboard.

func (*Client) DeleteGameCenterLeaderboardImage

func (c *Client) DeleteGameCenterLeaderboardImage(ctx context.Context, imageID string) error

DeleteGameCenterLeaderboardImage deletes a Game Center leaderboard image.

func (*Client) DeleteGameCenterLeaderboardImageV2

func (c *Client) DeleteGameCenterLeaderboardImageV2(ctx context.Context, imageID string) error

DeleteGameCenterLeaderboardImageV2 deletes a v2 leaderboard image.

func (*Client) DeleteGameCenterLeaderboardLocalization

func (c *Client) DeleteGameCenterLeaderboardLocalization(ctx context.Context, localizationID string) error

DeleteGameCenterLeaderboardLocalization deletes a Game Center leaderboard localization.

func (*Client) DeleteGameCenterLeaderboardLocalizationV2

func (c *Client) DeleteGameCenterLeaderboardLocalizationV2(ctx context.Context, localizationID string) error

DeleteGameCenterLeaderboardLocalizationV2 deletes a v2 leaderboard localization.

func (*Client) DeleteGameCenterLeaderboardRelease

func (c *Client) DeleteGameCenterLeaderboardRelease(ctx context.Context, releaseID string) error

DeleteGameCenterLeaderboardRelease deletes a Game Center leaderboard release.

func (*Client) DeleteGameCenterLeaderboardSet

func (c *Client) DeleteGameCenterLeaderboardSet(ctx context.Context, setID string) error

DeleteGameCenterLeaderboardSet deletes a Game Center leaderboard set.

func (*Client) DeleteGameCenterLeaderboardSetImage

func (c *Client) DeleteGameCenterLeaderboardSetImage(ctx context.Context, imageID string) error

DeleteGameCenterLeaderboardSetImage deletes a Game Center leaderboard set image.

func (*Client) DeleteGameCenterLeaderboardSetImageV2

func (c *Client) DeleteGameCenterLeaderboardSetImageV2(ctx context.Context, imageID string) error

DeleteGameCenterLeaderboardSetImageV2 deletes a v2 leaderboard set image.

func (*Client) DeleteGameCenterLeaderboardSetLocalization

func (c *Client) DeleteGameCenterLeaderboardSetLocalization(ctx context.Context, localizationID string) error

DeleteGameCenterLeaderboardSetLocalization deletes a Game Center leaderboard set localization.

func (*Client) DeleteGameCenterLeaderboardSetLocalizationV2

func (c *Client) DeleteGameCenterLeaderboardSetLocalizationV2(ctx context.Context, localizationID string) error

DeleteGameCenterLeaderboardSetLocalizationV2 deletes a v2 leaderboard set localization.

func (*Client) DeleteGameCenterLeaderboardSetMemberLocalization

func (c *Client) DeleteGameCenterLeaderboardSetMemberLocalization(ctx context.Context, localizationID string) error

DeleteGameCenterLeaderboardSetMemberLocalization deletes a leaderboard set member localization.

func (*Client) DeleteGameCenterLeaderboardSetRelease

func (c *Client) DeleteGameCenterLeaderboardSetRelease(ctx context.Context, releaseID string) error

DeleteGameCenterLeaderboardSetRelease deletes a Game Center leaderboard set release.

func (*Client) DeleteGameCenterLeaderboardSetV2

func (c *Client) DeleteGameCenterLeaderboardSetV2(ctx context.Context, setID string) error

DeleteGameCenterLeaderboardSetV2 deletes a v2 leaderboard set.

func (*Client) DeleteGameCenterLeaderboardV2

func (c *Client) DeleteGameCenterLeaderboardV2(ctx context.Context, leaderboardID string) error

DeleteGameCenterLeaderboardV2 deletes a v2 Game Center leaderboard.

func (*Client) DeleteGameCenterMatchmakingQueue

func (c *Client) DeleteGameCenterMatchmakingQueue(ctx context.Context, queueID string) error

DeleteGameCenterMatchmakingQueue deletes a matchmaking queue.

func (*Client) DeleteGameCenterMatchmakingRule

func (c *Client) DeleteGameCenterMatchmakingRule(ctx context.Context, ruleID string) error

DeleteGameCenterMatchmakingRule deletes a matchmaking rule.

func (*Client) DeleteGameCenterMatchmakingRuleSet

func (c *Client) DeleteGameCenterMatchmakingRuleSet(ctx context.Context, ruleSetID string) error

DeleteGameCenterMatchmakingRuleSet deletes a matchmaking rule set.

func (*Client) DeleteGameCenterMatchmakingTeam

func (c *Client) DeleteGameCenterMatchmakingTeam(ctx context.Context, teamID string) error

DeleteGameCenterMatchmakingTeam deletes a matchmaking team.

func (*Client) DeleteInAppPurchaseAppStoreReviewScreenshot

func (c *Client) DeleteInAppPurchaseAppStoreReviewScreenshot(ctx context.Context, screenshotID string) error

DeleteInAppPurchaseAppStoreReviewScreenshot deletes a review screenshot by ID.

func (*Client) DeleteInAppPurchaseImage

func (c *Client) DeleteInAppPurchaseImage(ctx context.Context, imageID string) error

DeleteInAppPurchaseImage deletes an in-app purchase image by ID.

func (*Client) DeleteInAppPurchaseLocalization

func (c *Client) DeleteInAppPurchaseLocalization(ctx context.Context, localizationID string) error

DeleteInAppPurchaseLocalization deletes an IAP localization by ID.

func (*Client) DeleteInAppPurchaseV2

func (c *Client) DeleteInAppPurchaseV2(ctx context.Context, iapID string) error

DeleteInAppPurchaseV2 deletes an in-app purchase.

func (*Client) DeleteMarketplaceSearchDetail

func (c *Client) DeleteMarketplaceSearchDetail(ctx context.Context, detailID string) error

DeleteMarketplaceSearchDetail deletes marketplace search details by ID.

func (*Client) DeleteMarketplaceWebhook

func (c *Client) DeleteMarketplaceWebhook(ctx context.Context, webhookID string) error

DeleteMarketplaceWebhook deletes a marketplace webhook by ID.

func (*Client) DeleteMerchantID

func (c *Client) DeleteMerchantID(ctx context.Context, id string) error

DeleteMerchantID deletes a merchant ID by ID.

func (*Client) DeleteNomination

func (c *Client) DeleteNomination(ctx context.Context, nominationID string) error

DeleteNomination deletes a nomination by ID.

func (*Client) DeletePassTypeID

func (c *Client) DeletePassTypeID(ctx context.Context, id string) error

DeletePassTypeID deletes a pass type ID by ID.

func (*Client) DeleteProfile

func (c *Client) DeleteProfile(ctx context.Context, id string) error

DeleteProfile deletes a profile by ID.

func (*Client) DeletePromotedPurchase

func (c *Client) DeletePromotedPurchase(ctx context.Context, promotedPurchaseID string) error

DeletePromotedPurchase deletes a promoted purchase by ID.

func (*Client) DeleteReviewSubmissionItem

func (c *Client) DeleteReviewSubmissionItem(ctx context.Context, itemID string) error

DeleteReviewSubmissionItem deletes a review submission item by ID.

func (*Client) DeleteRoutingAppCoverage

func (c *Client) DeleteRoutingAppCoverage(ctx context.Context, coverageID string) error

DeleteRoutingAppCoverage deletes routing app coverage by ID.

func (*Client) DeleteSubscription

func (c *Client) DeleteSubscription(ctx context.Context, subID string) error

DeleteSubscription deletes a subscription.

func (*Client) DeleteSubscriptionAppStoreReviewScreenshot

func (c *Client) DeleteSubscriptionAppStoreReviewScreenshot(ctx context.Context, screenshotID string) error

DeleteSubscriptionAppStoreReviewScreenshot deletes a review screenshot.

func (*Client) DeleteSubscriptionGroup

func (c *Client) DeleteSubscriptionGroup(ctx context.Context, groupID string) error

DeleteSubscriptionGroup deletes a subscription group.

func (*Client) DeleteSubscriptionGroupLocalization

func (c *Client) DeleteSubscriptionGroupLocalization(ctx context.Context, localizationID string) error

DeleteSubscriptionGroupLocalization deletes a subscription group localization.

func (*Client) DeleteSubscriptionImage

func (c *Client) DeleteSubscriptionImage(ctx context.Context, imageID string) error

DeleteSubscriptionImage deletes a subscription image.

func (*Client) DeleteSubscriptionIntroductoryOffer

func (c *Client) DeleteSubscriptionIntroductoryOffer(ctx context.Context, offerID string) error

DeleteSubscriptionIntroductoryOffer deletes an introductory offer.

func (*Client) DeleteSubscriptionLocalization

func (c *Client) DeleteSubscriptionLocalization(ctx context.Context, localizationID string) error

DeleteSubscriptionLocalization deletes a subscription localization.

func (*Client) DeleteSubscriptionPrice

func (c *Client) DeleteSubscriptionPrice(ctx context.Context, priceID string) error

DeleteSubscriptionPrice deletes a subscription price.

func (*Client) DeleteSubscriptionPromotionalOffer

func (c *Client) DeleteSubscriptionPromotionalOffer(ctx context.Context, offerID string) error

DeleteSubscriptionPromotionalOffer deletes a promotional offer.

func (*Client) DeleteUser

func (c *Client) DeleteUser(ctx context.Context, userID string) error

DeleteUser deletes a user by ID.

func (*Client) DeleteUserInvitation

func (c *Client) DeleteUserInvitation(ctx context.Context, inviteID string) error

DeleteUserInvitation deletes a user invitation by ID.

func (*Client) DeleteWebhook

func (c *Client) DeleteWebhook(ctx context.Context, webhookID string) error

DeleteWebhook deletes a webhook by ID.

func (*Client) DeleteWinBackOffer

func (c *Client) DeleteWinBackOffer(ctx context.Context, offerID string) error

DeleteWinBackOffer deletes a win-back offer.

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) 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) FindOrCreateAppStoreVersion

func (c *Client) FindOrCreateAppStoreVersion(ctx context.Context, appID, version string, platform Platform) (*AppStoreVersionResponse, error)

FindOrCreateAppStoreVersion finds an existing app store version or creates one.

func (*Client) GetAccessibilityDeclaration

func (c *Client) GetAccessibilityDeclaration(ctx context.Context, declarationID string, fields []string) (*AccessibilityDeclarationResponse, error)

GetAccessibilityDeclaration retrieves a single accessibility declaration by ID.

func (*Client) GetAccessibilityDeclarations

func (c *Client) GetAccessibilityDeclarations(ctx context.Context, appID string, opts ...AccessibilityDeclarationsOption) (*AccessibilityDeclarationsResponse, error)

GetAccessibilityDeclarations retrieves accessibility declarations for an app.

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 retrieves actors filtered by IDs.

func (*Client) GetAgeRatingDeclarationForAppInfo

func (c *Client) GetAgeRatingDeclarationForAppInfo(ctx context.Context, appInfoID string) (*AgeRatingDeclarationResponse, error)

GetAgeRatingDeclarationForAppInfo retrieves the age rating declaration for an app info.

func (*Client) GetAgeRatingDeclarationForAppStoreVersion

func (c *Client) GetAgeRatingDeclarationForAppStoreVersion(ctx context.Context, versionID string) (*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) GetAllGameCenterLeaderboardLocalizations

func (c *Client) GetAllGameCenterLeaderboardLocalizations(ctx context.Context, leaderboardID string, opts ...GCLeaderboardLocalizationsOption) (*GameCenterLeaderboardLocalizationsResponse, error)

GetAllGameCenterLeaderboardLocalizations retrieves all leaderboard localizations using automatic pagination.

func (*Client) GetAlternativeDistributionDomain

func (c *Client) GetAlternativeDistributionDomain(ctx context.Context, domainID string) (*AlternativeDistributionDomainResponse, error)

GetAlternativeDistributionDomain retrieves a single alternative distribution domain by ID.

func (*Client) GetAlternativeDistributionDomains

func (c *Client) GetAlternativeDistributionDomains(ctx context.Context, opts ...AlternativeDistributionDomainsOption) (*AlternativeDistributionDomainsResponse, error)

GetAlternativeDistributionDomains retrieves alternative distribution domains.

func (*Client) GetAlternativeDistributionKey

func (c *Client) GetAlternativeDistributionKey(ctx context.Context, keyID string) (*AlternativeDistributionKeyResponse, error)

GetAlternativeDistributionKey retrieves an alternative distribution key by ID.

func (*Client) GetAlternativeDistributionKeys

func (c *Client) GetAlternativeDistributionKeys(ctx context.Context, opts ...AlternativeDistributionKeysOption) (*AlternativeDistributionKeysResponse, error)

GetAlternativeDistributionKeys retrieves alternative distribution keys.

func (*Client) GetAlternativeDistributionPackage

func (c *Client) GetAlternativeDistributionPackage(ctx context.Context, packageID string) (*AlternativeDistributionPackageResponse, error)

GetAlternativeDistributionPackage retrieves an alternative distribution package by ID.

func (*Client) GetAlternativeDistributionPackageDelta

func (c *Client) GetAlternativeDistributionPackageDelta(ctx context.Context, deltaID string) (*AlternativeDistributionPackageDeltaResponse, error)

GetAlternativeDistributionPackageDelta retrieves a package delta by ID.

func (*Client) GetAlternativeDistributionPackageForVersion

func (c *Client) GetAlternativeDistributionPackageForVersion(ctx context.Context, versionID string) (*AlternativeDistributionPackageResponse, error)

GetAlternativeDistributionPackageForVersion retrieves a package for an app store version.

func (*Client) GetAlternativeDistributionPackageVariant

func (c *Client) GetAlternativeDistributionPackageVariant(ctx context.Context, variantID string) (*AlternativeDistributionPackageVariantResponse, error)

GetAlternativeDistributionPackageVariant retrieves a package variant by ID.

func (*Client) GetAlternativeDistributionPackageVersion

func (c *Client) GetAlternativeDistributionPackageVersion(ctx context.Context, versionID string) (*AlternativeDistributionPackageVersionResponse, error)

GetAlternativeDistributionPackageVersion retrieves a package version by ID.

func (*Client) GetAlternativeDistributionPackageVersionDeltas

func (c *Client) GetAlternativeDistributionPackageVersionDeltas(ctx context.Context, versionID string, opts ...AlternativeDistributionPackageDeltasOption) (*AlternativeDistributionPackageDeltasResponse, error)

GetAlternativeDistributionPackageVersionDeltas retrieves deltas for a package version.

func (*Client) GetAlternativeDistributionPackageVersionDeltasRelationships

func (c *Client) GetAlternativeDistributionPackageVersionDeltasRelationships(ctx context.Context, versionID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetAlternativeDistributionPackageVersionDeltasRelationships retrieves delta linkages for a package version.

func (*Client) GetAlternativeDistributionPackageVersionVariants

func (c *Client) GetAlternativeDistributionPackageVersionVariants(ctx context.Context, versionID string, opts ...AlternativeDistributionPackageVariantsOption) (*AlternativeDistributionPackageVariantsResponse, error)

GetAlternativeDistributionPackageVersionVariants retrieves variants for a package version.

func (*Client) GetAlternativeDistributionPackageVersionVariantsRelationships

func (c *Client) GetAlternativeDistributionPackageVersionVariantsRelationships(ctx context.Context, versionID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetAlternativeDistributionPackageVersionVariantsRelationships retrieves variant linkages for a package version.

func (*Client) GetAlternativeDistributionPackageVersions

func (c *Client) GetAlternativeDistributionPackageVersions(ctx context.Context, packageID string, opts ...AlternativeDistributionPackageVersionsOption) (*AlternativeDistributionPackageVersionsResponse, error)

GetAlternativeDistributionPackageVersions retrieves package versions for a package.

func (*Client) GetAlternativeDistributionPackageVersionsRelationships

func (c *Client) GetAlternativeDistributionPackageVersionsRelationships(ctx context.Context, packageID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetAlternativeDistributionPackageVersionsRelationships retrieves version linkages for a package.

func (*Client) GetAnalyticsReport

func (c *Client) GetAnalyticsReport(ctx context.Context, reportID string) (*AnalyticsReportResponse, error)

GetAnalyticsReport retrieves a specific analytics report by ID.

func (*Client) GetAnalyticsReportInstance

func (c *Client) GetAnalyticsReportInstance(ctx context.Context, instanceID string) (*AnalyticsReportInstanceResponse, error)

GetAnalyticsReportInstance retrieves a specific report instance by ID.

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 retrieves report instances for a report.

func (*Client) GetAnalyticsReportInstancesRelationships

func (c *Client) GetAnalyticsReportInstancesRelationships(ctx context.Context, reportID string, opts ...LinkagesOption) (*AnalyticsReportInstancesLinkagesResponse, error)

GetAnalyticsReportInstancesRelationships retrieves report instance linkages for a report.

func (*Client) GetAnalyticsReportRequest

func (c *Client) GetAnalyticsReportRequest(ctx context.Context, requestID string) (*AnalyticsReportRequestResponse, error)

GetAnalyticsReportRequest retrieves a specific analytics report request by ID.

func (*Client) GetAnalyticsReportRequestReportsRelationships

func (c *Client) GetAnalyticsReportRequestReportsRelationships(ctx context.Context, requestID string, opts ...LinkagesOption) (*AnalyticsReportRequestReportsLinkagesResponse, error)

GetAnalyticsReportRequestReportsRelationships retrieves report linkages for an analytics report request.

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 retrieves a specific report segment by ID.

func (*Client) GetAnalyticsReportSegments

func (c *Client) GetAnalyticsReportSegments(ctx context.Context, instanceID string, opts ...AnalyticsReportSegmentsOption) (*AnalyticsReportSegmentsResponse, error)

GetAnalyticsReportSegments retrieves report segments for an instance.

func (*Client) GetAnalyticsReports

func (c *Client) GetAnalyticsReports(ctx context.Context, requestID string, opts ...AnalyticsReportsOption) (*AnalyticsReportsResponse, error)

GetAnalyticsReports retrieves analytics reports for a request.

func (*Client) GetAndroidToIosAppMappingDetail

func (c *Client) GetAndroidToIosAppMappingDetail(ctx context.Context, id string, opts ...AndroidToIosAppMappingDetailsOption) (*AndroidToIosAppMappingDetailResponse, error)

GetAndroidToIosAppMappingDetail retrieves a mapping by ID.

func (*Client) GetAndroidToIosAppMappingDetails

func (c *Client) GetAndroidToIosAppMappingDetails(ctx context.Context, appID string, opts ...AndroidToIosAppMappingDetailsOption) (*AndroidToIosAppMappingDetailsResponse, error)

GetAndroidToIosAppMappingDetails retrieves mappings for an app.

func (*Client) GetApp

func (c *Client) GetApp(ctx context.Context, appID string) (*AppResponse, error)

GetApp retrieves a single app by ID.

func (*Client) GetAppAccessibilityDeclarationsRelationships

func (c *Client) GetAppAccessibilityDeclarationsRelationships(ctx context.Context, appID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetAppAccessibilityDeclarationsRelationships retrieves accessibility declaration linkages for an app.

func (*Client) GetAppAlternativeDistributionKey

func (c *Client) GetAppAlternativeDistributionKey(ctx context.Context, appID string) (*AlternativeDistributionKeyResponse, error)

GetAppAlternativeDistributionKey retrieves an app's alternative distribution key.

func (*Client) GetAppAlternativeDistributionKeyRelationship

func (c *Client) GetAppAlternativeDistributionKeyRelationship(ctx context.Context, appID string) (*AppAlternativeDistributionKeyLinkageResponse, error)

GetAppAlternativeDistributionKeyRelationship retrieves an app's alternative distribution key relationship.

func (*Client) GetAppAnalyticsReportRequestsRelationships

func (c *Client) GetAppAnalyticsReportRequestsRelationships(ctx context.Context, appID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetAppAnalyticsReportRequestsRelationships retrieves analytics report request linkages for an app.

func (*Client) GetAppAndroidToIosAppMappingDetailsRelationships

func (c *Client) GetAppAndroidToIosAppMappingDetailsRelationships(ctx context.Context, appID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetAppAndroidToIosAppMappingDetailsRelationships retrieves Android-to-iOS mapping detail linkages for an app.

func (*Client) GetAppAppStoreVersionExperimentsV2Relationships

func (c *Client) GetAppAppStoreVersionExperimentsV2Relationships(ctx context.Context, appID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetAppAppStoreVersionExperimentsV2Relationships retrieves v2 app store version experiment linkages for an app.

Note: The method name includes "AppAppStore..." to avoid colliding with the existing GetAppStoreVersionExperimentsV2Relationships method (for /v1/appStoreVersions/...).

func (*Client) GetAppAvailabilityV2

func (c *Client) GetAppAvailabilityV2(ctx context.Context, appID string) (*AppAvailabilityV2Response, error)

GetAppAvailabilityV2 retrieves app availability for an app.

func (*Client) GetAppAvailabilityV2ByID

func (c *Client) GetAppAvailabilityV2ByID(ctx context.Context, availabilityID string) (*AppAvailabilityV2Response, error)

GetAppAvailabilityV2ByID retrieves app availability by ID.

func (*Client) GetAppAvailabilityV2Relationship

func (c *Client) GetAppAvailabilityV2Relationship(ctx context.Context, appID string) (*AppAppAvailabilityV2LinkageResponse, error)

GetAppAvailabilityV2Relationship retrieves the app availability v2 linkage for an app.

func (*Client) GetAppAvailabilityV2TerritoryAvailabilitiesRelationships

func (c *Client) GetAppAvailabilityV2TerritoryAvailabilitiesRelationships(ctx context.Context, availabilityID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetAppAvailabilityV2TerritoryAvailabilitiesRelationships retrieves territory availability linkages for an app availability.

func (*Client) GetAppBackgroundAssetsRelationships

func (c *Client) GetAppBackgroundAssetsRelationships(ctx context.Context, appID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetAppBackgroundAssetsRelationships retrieves background asset linkages for an app.

func (*Client) GetAppBetaAppLocalizations

func (c *Client) GetAppBetaAppLocalizations(ctx context.Context, appID string, opts ...AppBetaAppLocalizationsOption) (*BetaAppLocalizationsResponse, error)

GetAppBetaAppLocalizations retrieves beta app localizations for an app.

func (*Client) GetAppBetaAppLocalizationsRelationships

func (c *Client) GetAppBetaAppLocalizationsRelationships(ctx context.Context, appID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetAppBetaAppLocalizationsRelationships retrieves beta app localization linkages for an app.

func (*Client) GetAppBetaAppReviewDetail

func (c *Client) GetAppBetaAppReviewDetail(ctx context.Context, appID string) (*BetaAppReviewDetailResponse, error)

GetAppBetaAppReviewDetail retrieves beta app review detail for an app.

func (*Client) GetAppBetaAppReviewDetailRelationship

func (c *Client) GetAppBetaAppReviewDetailRelationship(ctx context.Context, appID string) (*AppBetaAppReviewDetailLinkageResponse, error)

GetAppBetaAppReviewDetailRelationship retrieves the beta app review detail linkage for an app.

func (*Client) GetAppBetaFeedbackCrashSubmissionsRelationships

func (c *Client) GetAppBetaFeedbackCrashSubmissionsRelationships(ctx context.Context, appID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetAppBetaFeedbackCrashSubmissionsRelationships retrieves beta feedback crash submission linkages for an app.

func (*Client) GetAppBetaFeedbackScreenshotSubmissionsRelationships

func (c *Client) GetAppBetaFeedbackScreenshotSubmissionsRelationships(ctx context.Context, appID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetAppBetaFeedbackScreenshotSubmissionsRelationships retrieves beta feedback screenshot submission linkages for an app.

func (*Client) GetAppBetaGroupsRelationships

func (c *Client) GetAppBetaGroupsRelationships(ctx context.Context, appID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetAppBetaGroupsRelationships retrieves beta group linkages for an app.

func (*Client) GetAppBetaLicenseAgreementRelationship

func (c *Client) GetAppBetaLicenseAgreementRelationship(ctx context.Context, appID string) (*AppBetaLicenseAgreementLinkageResponse, error)

GetAppBetaLicenseAgreementRelationship retrieves the beta license agreement linkage for an app.

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) GetAppBuildUploadsRelationships

func (c *Client) GetAppBuildUploadsRelationships(ctx context.Context, appID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetAppBuildUploadsRelationships retrieves build upload linkages for an app.

func (*Client) GetAppBuildsRelationships

func (c *Client) GetAppBuildsRelationships(ctx context.Context, appID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetAppBuildsRelationships retrieves build linkages for an app.

func (*Client) GetAppCategories

func (c *Client) GetAppCategories(ctx context.Context, opts ...AppCategoriesOption) (*AppCategoriesResponse, error)

GetAppCategories retrieves all app categories.

func (*Client) GetAppCategory

func (c *Client) GetAppCategory(ctx context.Context, categoryID string) (*AppCategoryResponse, error)

GetAppCategory retrieves a single app category by ID.

func (*Client) GetAppCategoryParent

func (c *Client) GetAppCategoryParent(ctx context.Context, categoryID string) (*AppCategoryResponse, error)

GetAppCategoryParent retrieves the parent category for a category.

func (*Client) GetAppCategoryParentRelationship

func (c *Client) GetAppCategoryParentRelationship(ctx context.Context, categoryID string) (*AppCategoryParentLinkageResponse, error)

GetAppCategoryParentRelationship retrieves the parent category linkage for a category.

func (*Client) GetAppCategorySubcategories

func (c *Client) GetAppCategorySubcategories(ctx context.Context, categoryID string, opts ...AppCategoriesOption) (*AppCategoriesResponse, error)

GetAppCategorySubcategories retrieves subcategories for a category.

func (*Client) GetAppCategorySubcategoriesRelationships

func (c *Client) GetAppCategorySubcategoriesRelationships(ctx context.Context, categoryID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetAppCategorySubcategoriesRelationships retrieves subcategory linkages for a category.

func (*Client) GetAppCiProduct

func (c *Client) GetAppCiProduct(ctx context.Context, appID string) (*CiProductResponse, error)

GetAppCiProduct retrieves the CI product for an app.

func (*Client) GetAppCiProductRelationship

func (c *Client) GetAppCiProductRelationship(ctx context.Context, appID string) (*AppCiProductLinkageResponse, error)

GetAppCiProductRelationship retrieves the CI product linkage for an app.

func (*Client) GetAppClip

func (c *Client) GetAppClip(ctx context.Context, appClipID string) (*AppClipResponse, error)

GetAppClip retrieves an App Clip by ID.

func (*Client) GetAppClipAdvancedExperience

func (c *Client) GetAppClipAdvancedExperience(ctx context.Context, experienceID string) (*AppClipAdvancedExperienceResponse, error)

GetAppClipAdvancedExperience retrieves an advanced experience by ID.

func (*Client) GetAppClipAdvancedExperienceImage

func (c *Client) GetAppClipAdvancedExperienceImage(ctx context.Context, imageID string) (*AppClipAdvancedExperienceImageResponse, error)

GetAppClipAdvancedExperienceImage retrieves an advanced experience image by ID.

func (*Client) GetAppClipAdvancedExperiences

func (c *Client) GetAppClipAdvancedExperiences(ctx context.Context, appClipID string, opts ...AppClipAdvancedExperiencesOption) (*AppClipAdvancedExperiencesResponse, error)

GetAppClipAdvancedExperiences retrieves advanced experiences for an App Clip.

func (*Client) GetAppClipAdvancedExperiencesRelationships

func (c *Client) GetAppClipAdvancedExperiencesRelationships(ctx context.Context, appClipID string, opts ...LinkagesOption) (*AppClipAdvancedExperiencesLinkagesResponse, error)

GetAppClipAdvancedExperiencesRelationships retrieves advanced experience linkages for an App Clip.

func (*Client) GetAppClipAppStoreReviewDetail

func (c *Client) GetAppClipAppStoreReviewDetail(ctx context.Context, detailID string) (*AppClipAppStoreReviewDetailResponse, error)

GetAppClipAppStoreReviewDetail retrieves review detail by ID.

func (*Client) GetAppClipDefaultExperience

func (c *Client) GetAppClipDefaultExperience(ctx context.Context, experienceID string, opts ...AppClipDefaultExperienceOption) (*AppClipDefaultExperienceResponse, error)

GetAppClipDefaultExperience retrieves a default experience by ID.

func (*Client) GetAppClipDefaultExperienceLocalization

func (c *Client) GetAppClipDefaultExperienceLocalization(ctx context.Context, localizationID string) (*AppClipDefaultExperienceLocalizationResponse, error)

GetAppClipDefaultExperienceLocalization retrieves a localization by ID.

func (*Client) GetAppClipDefaultExperienceLocalizationHeaderImage

func (c *Client) GetAppClipDefaultExperienceLocalizationHeaderImage(ctx context.Context, localizationID string) (*AppClipHeaderImageResponse, error)

GetAppClipDefaultExperienceLocalizationHeaderImage retrieves the header image for a localization.

func (*Client) GetAppClipDefaultExperienceLocalizationHeaderImageRelationship

func (c *Client) GetAppClipDefaultExperienceLocalizationHeaderImageRelationship(ctx context.Context, localizationID string) (*AppClipDefaultExperienceLocalizationHeaderImageLinkageResponse, error)

GetAppClipDefaultExperienceLocalizationHeaderImageRelationship retrieves header image linkage for a localization.

func (*Client) GetAppClipDefaultExperienceLocalizations

func (c *Client) GetAppClipDefaultExperienceLocalizations(ctx context.Context, experienceID string, opts ...AppClipDefaultExperienceLocalizationsOption) (*AppClipDefaultExperienceLocalizationsResponse, error)

GetAppClipDefaultExperienceLocalizations retrieves localizations for a default experience.

func (*Client) GetAppClipDefaultExperienceLocalizationsRelationships

func (c *Client) GetAppClipDefaultExperienceLocalizationsRelationships(ctx context.Context, experienceID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetAppClipDefaultExperienceLocalizationsRelationships retrieves localization linkages for a default experience.

func (*Client) GetAppClipDefaultExperienceReleaseWithAppStoreVersion

func (c *Client) GetAppClipDefaultExperienceReleaseWithAppStoreVersion(ctx context.Context, experienceID string) (*AppStoreVersionResponse, error)

GetAppClipDefaultExperienceReleaseWithAppStoreVersion retrieves the release version for a default experience.

func (*Client) GetAppClipDefaultExperienceReleaseWithAppStoreVersionRelationship

func (c *Client) GetAppClipDefaultExperienceReleaseWithAppStoreVersionRelationship(ctx context.Context, experienceID string) (*AppClipDefaultExperienceReleaseWithAppStoreVersionLinkageResponse, error)

GetAppClipDefaultExperienceReleaseWithAppStoreVersionRelationship retrieves releaseWithAppStoreVersion linkage.

func (*Client) GetAppClipDefaultExperienceReviewDetail

func (c *Client) GetAppClipDefaultExperienceReviewDetail(ctx context.Context, experienceID string) (*AppClipAppStoreReviewDetailResponse, error)

GetAppClipDefaultExperienceReviewDetail retrieves review detail for a default experience.

func (*Client) GetAppClipDefaultExperienceReviewDetailRelationship

func (c *Client) GetAppClipDefaultExperienceReviewDetailRelationship(ctx context.Context, experienceID string) (*AppClipDefaultExperienceReviewDetailLinkageResponse, error)

GetAppClipDefaultExperienceReviewDetailRelationship retrieves the review detail linkage for a default experience.

func (*Client) GetAppClipDefaultExperiences

func (c *Client) GetAppClipDefaultExperiences(ctx context.Context, appClipID string, opts ...AppClipDefaultExperiencesOption) (*AppClipDefaultExperiencesResponse, error)

GetAppClipDefaultExperiences retrieves default experiences for an App Clip.

func (*Client) GetAppClipDefaultExperiencesRelationships

func (c *Client) GetAppClipDefaultExperiencesRelationships(ctx context.Context, appClipID string, opts ...LinkagesOption) (*AppClipDefaultExperiencesLinkagesResponse, error)

GetAppClipDefaultExperiencesRelationships retrieves default experience linkages for an App Clip.

func (*Client) GetAppClipHeaderImage

func (c *Client) GetAppClipHeaderImage(ctx context.Context, imageID string) (*AppClipHeaderImageResponse, error)

GetAppClipHeaderImage retrieves a header image by ID.

func (*Client) GetAppClips

func (c *Client) GetAppClips(ctx context.Context, appID string, opts ...AppClipsOption) (*AppClipsResponse, error)

GetAppClips retrieves App Clips for an app.

func (*Client) GetAppClipsRelationships

func (c *Client) GetAppClipsRelationships(ctx context.Context, appID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetAppClipsRelationships retrieves App Clip linkages for an app.

func (*Client) GetAppCustomProductPage

func (c *Client) GetAppCustomProductPage(ctx context.Context, pageID string) (*AppCustomProductPageResponse, error)

GetAppCustomProductPage retrieves a custom product page by ID.

func (*Client) GetAppCustomProductPageLocalization

func (c *Client) GetAppCustomProductPageLocalization(ctx context.Context, localizationID string) (*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 retrieves preview sets for a localization.

func (*Client) GetAppCustomProductPageLocalizationPreviewSetsRelationships

func (c *Client) GetAppCustomProductPageLocalizationPreviewSetsRelationships(ctx context.Context, localizationID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetAppCustomProductPageLocalizationPreviewSetsRelationships retrieves preview set linkages for a localization.

func (*Client) GetAppCustomProductPageLocalizationScreenshotSets

func (c *Client) GetAppCustomProductPageLocalizationScreenshotSets(ctx context.Context, localizationID string, opts ...AppCustomProductPageLocalizationScreenshotSetsOption) (*AppScreenshotSetsResponse, error)

GetAppCustomProductPageLocalizationScreenshotSets retrieves screenshot sets for a localization.

func (*Client) GetAppCustomProductPageLocalizationScreenshotSetsRelationships

func (c *Client) GetAppCustomProductPageLocalizationScreenshotSetsRelationships(ctx context.Context, localizationID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetAppCustomProductPageLocalizationScreenshotSetsRelationships retrieves screenshot set linkages for a localization.

func (*Client) GetAppCustomProductPageLocalizationSearchKeywords

func (c *Client) GetAppCustomProductPageLocalizationSearchKeywords(ctx context.Context, localizationID string) (*AppKeywordsResponse, error)

GetAppCustomProductPageLocalizationSearchKeywords retrieves search keywords for a localization.

func (*Client) GetAppCustomProductPageLocalizationSearchKeywordsRelationships

func (c *Client) GetAppCustomProductPageLocalizationSearchKeywordsRelationships(ctx context.Context, localizationID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetAppCustomProductPageLocalizationSearchKeywordsRelationships retrieves search keyword linkages for a localization.

func (*Client) GetAppCustomProductPageLocalizations

func (c *Client) GetAppCustomProductPageLocalizations(ctx context.Context, versionID string, opts ...AppCustomProductPageLocalizationsOption) (*AppCustomProductPageLocalizationsResponse, error)

GetAppCustomProductPageLocalizations retrieves custom product page localizations for a version.

func (*Client) GetAppCustomProductPageLocalizationsRelationships

func (c *Client) GetAppCustomProductPageLocalizationsRelationships(ctx context.Context, versionID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetAppCustomProductPageLocalizationsRelationships retrieves localization linkages for a custom product page version.

func (*Client) GetAppCustomProductPageVersion

func (c *Client) GetAppCustomProductPageVersion(ctx context.Context, versionID string) (*AppCustomProductPageVersionResponse, error)

GetAppCustomProductPageVersion retrieves a custom product page version by ID.

func (*Client) GetAppCustomProductPageVersions

func (c *Client) GetAppCustomProductPageVersions(ctx context.Context, pageID string, opts ...AppCustomProductPageVersionsOption) (*AppCustomProductPageVersionsResponse, error)

GetAppCustomProductPageVersions retrieves versions for a custom product page.

func (*Client) GetAppCustomProductPageVersionsRelationships

func (c *Client) GetAppCustomProductPageVersionsRelationships(ctx context.Context, pageID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetAppCustomProductPageVersionsRelationships retrieves version linkages for a custom product page.

func (*Client) GetAppCustomProductPages

func (c *Client) GetAppCustomProductPages(ctx context.Context, appID string, opts ...AppCustomProductPagesOption) (*AppCustomProductPagesResponse, error)

GetAppCustomProductPages retrieves custom product pages for an app.

func (*Client) GetAppCustomProductPagesRelationships

func (c *Client) GetAppCustomProductPagesRelationships(ctx context.Context, appID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetAppCustomProductPagesRelationships retrieves custom product page linkages for an app.

func (*Client) GetAppCustomerReviewsRelationships

func (c *Client) GetAppCustomerReviewsRelationships(ctx context.Context, appID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetAppCustomerReviewsRelationships retrieves customer review linkages for an app.

func (*Client) GetAppEncryptionDeclaration

func (c *Client) GetAppEncryptionDeclaration(ctx context.Context, declarationID string, opts ...AppEncryptionDeclarationsOption) (*AppEncryptionDeclarationResponse, error)

GetAppEncryptionDeclaration retrieves an encryption declaration by ID.

func (*Client) GetAppEncryptionDeclarationApp

func (c *Client) GetAppEncryptionDeclarationApp(ctx context.Context, declarationID string) (*AppResponse, error)

GetAppEncryptionDeclarationApp retrieves the app for an encryption declaration.

func (*Client) GetAppEncryptionDeclarationAppRelationship

func (c *Client) GetAppEncryptionDeclarationAppRelationship(ctx context.Context, declarationID string) (*AppEncryptionDeclarationAppLinkageResponse, error)

GetAppEncryptionDeclarationAppRelationship retrieves the app linkage for an encryption declaration.

func (*Client) GetAppEncryptionDeclarationDocument

func (c *Client) GetAppEncryptionDeclarationDocument(ctx context.Context, documentID string, fields []string) (*AppEncryptionDeclarationDocumentResponse, error)

GetAppEncryptionDeclarationDocument retrieves a document by ID.

func (*Client) GetAppEncryptionDeclarationDocumentForDeclaration

func (c *Client) GetAppEncryptionDeclarationDocumentForDeclaration(ctx context.Context, declarationID string) (*AppEncryptionDeclarationDocumentResponse, error)

GetAppEncryptionDeclarationDocumentForDeclaration retrieves the document for an encryption declaration.

func (*Client) GetAppEncryptionDeclarationDocumentRelationship

func (c *Client) GetAppEncryptionDeclarationDocumentRelationship(ctx context.Context, declarationID string) (*AppEncryptionDeclarationDocumentLinkageResponse, error)

GetAppEncryptionDeclarationDocumentRelationship retrieves the document linkage for an encryption declaration.

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 retrieves encryption declarations for an app (v1/apps).

func (*Client) GetAppEndUserLicenseAgreementRelationship

func (c *Client) GetAppEndUserLicenseAgreementRelationship(ctx context.Context, appID string) (*AppEndUserLicenseAgreementLinkageResponse, error)

GetAppEndUserLicenseAgreementRelationship retrieves the end user license agreement linkage for an app.

func (*Client) GetAppEvent

func (c *Client) GetAppEvent(ctx context.Context, eventID string) (*AppEventResponse, error)

GetAppEvent retrieves an app event by ID.

func (*Client) GetAppEventLocalization

func (c *Client) GetAppEventLocalization(ctx context.Context, localizationID string) (*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 retrieves localizations for an app event.

func (*Client) GetAppEventLocalizationsRelationships

func (c *Client) GetAppEventLocalizationsRelationships(ctx context.Context, eventID string, opts ...LinkagesOption) (*AppEventLocalizationsLinkagesResponse, error)

GetAppEventLocalizationsRelationships retrieves localization linkages for an app event.

func (*Client) GetAppEventScreenshot

func (c *Client) GetAppEventScreenshot(ctx context.Context, screenshotID string) (*AppEventScreenshotResponse, error)

GetAppEventScreenshot retrieves an app event screenshot by ID.

func (*Client) GetAppEventScreenshots

func (c *Client) GetAppEventScreenshots(ctx context.Context, localizationID string, opts ...AppEventScreenshotsOption) (*AppEventScreenshotsResponse, error)

GetAppEventScreenshots retrieves screenshots for an app event localization.

func (*Client) GetAppEventScreenshotsRelationships

func (c *Client) GetAppEventScreenshotsRelationships(ctx context.Context, localizationID string, opts ...LinkagesOption) (*AppEventLocalizationScreenshotsLinkagesResponse, error)

GetAppEventScreenshotsRelationships retrieves screenshot linkages for an app event localization.

func (*Client) GetAppEventVideoClip

func (c *Client) GetAppEventVideoClip(ctx context.Context, clipID string) (*AppEventVideoClipResponse, error)

GetAppEventVideoClip retrieves an app event video clip by ID.

func (*Client) GetAppEventVideoClips

func (c *Client) GetAppEventVideoClips(ctx context.Context, localizationID string, opts ...AppEventVideoClipsOption) (*AppEventVideoClipsResponse, error)

GetAppEventVideoClips retrieves video clips for an app event localization.

func (*Client) GetAppEventVideoClipsRelationships

func (c *Client) GetAppEventVideoClipsRelationships(ctx context.Context, localizationID string, opts ...LinkagesOption) (*AppEventLocalizationVideoClipsLinkagesResponse, error)

GetAppEventVideoClipsRelationships retrieves video clip linkages for an app event localization.

func (*Client) GetAppEvents

func (c *Client) GetAppEvents(ctx context.Context, appID string, opts ...AppEventsOption) (*AppEventsResponse, error)

GetAppEvents retrieves app events for an app.

func (*Client) GetAppEventsRelationships

func (c *Client) GetAppEventsRelationships(ctx context.Context, appID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetAppEventsRelationships retrieves app event linkages for an app.

func (*Client) GetAppGameCenterDetailRelationship

func (c *Client) GetAppGameCenterDetailRelationship(ctx context.Context, appID string) (*AppGameCenterDetailLinkageResponse, error)

GetAppGameCenterDetailRelationship retrieves the Game Center detail linkage for an app.

func (*Client) GetAppGameCenterEnabledVersions

func (c *Client) GetAppGameCenterEnabledVersions(ctx context.Context, appID string, opts ...GCEnabledVersionsOption) (*GameCenterEnabledVersionsResponse, error)

GetAppGameCenterEnabledVersions retrieves enabled Game Center versions for an app.

func (*Client) GetAppGameCenterEnabledVersionsRelationships

func (c *Client) GetAppGameCenterEnabledVersionsRelationships(ctx context.Context, appID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetAppGameCenterEnabledVersionsRelationships retrieves Game Center enabled version linkages for an app.

func (*Client) GetAppInAppPurchasesRelationships

func (c *Client) GetAppInAppPurchasesRelationships(ctx context.Context, appID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetAppInAppPurchasesRelationships retrieves in-app purchase linkages for an app (v1).

func (*Client) GetAppInAppPurchasesV2Relationships

func (c *Client) GetAppInAppPurchasesV2Relationships(ctx context.Context, appID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetAppInAppPurchasesV2Relationships retrieves in-app purchase linkages for an app (v2).

func (*Client) GetAppInfo

func (c *Client) GetAppInfo(ctx context.Context, appInfoID string, opts ...AppInfoOption) (*AppInfoResponse, error)

GetAppInfo retrieves an app info record by ID.

func (*Client) GetAppInfoAgeRatingDeclarationRelationship

func (c *Client) GetAppInfoAgeRatingDeclarationRelationship(ctx context.Context, appInfoID string) (*AppInfoAgeRatingDeclarationLinkageResponse, error)

GetAppInfoAgeRatingDeclarationRelationship retrieves the age rating linkage for an app info.

func (*Client) GetAppInfoLocalization

func (c *Client) GetAppInfoLocalization(ctx context.Context, localizationID string) (*AppInfoLocalizationResponse, error)

GetAppInfoLocalization retrieves an app info localization by ID.

func (*Client) GetAppInfoLocalizations

func (c *Client) GetAppInfoLocalizations(ctx context.Context, appInfoID string, opts ...AppInfoLocalizationsOption) (*AppInfoLocalizationsResponse, error)

GetAppInfoLocalizations retrieves localizations for an app info resource.

func (*Client) GetAppInfoLocalizationsRelationships

func (c *Client) GetAppInfoLocalizationsRelationships(ctx context.Context, appInfoID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetAppInfoLocalizationsRelationships retrieves localization linkages for an app info.

func (*Client) GetAppInfoPrimaryCategory

func (c *Client) GetAppInfoPrimaryCategory(ctx context.Context, appInfoID string) (*AppCategoryResponse, error)

GetAppInfoPrimaryCategory retrieves the primary category for an app info.

func (*Client) GetAppInfoPrimaryCategoryRelationship

func (c *Client) GetAppInfoPrimaryCategoryRelationship(ctx context.Context, appInfoID string) (*AppInfoPrimaryCategoryLinkageResponse, error)

GetAppInfoPrimaryCategoryRelationship retrieves the primary category linkage for an app info.

func (*Client) GetAppInfoPrimarySubcategoryOne

func (c *Client) GetAppInfoPrimarySubcategoryOne(ctx context.Context, appInfoID string) (*AppCategoryResponse, error)

GetAppInfoPrimarySubcategoryOne retrieves the primary subcategory one for an app info.

func (*Client) GetAppInfoPrimarySubcategoryOneRelationship

func (c *Client) GetAppInfoPrimarySubcategoryOneRelationship(ctx context.Context, appInfoID string) (*AppInfoPrimarySubcategoryOneLinkageResponse, error)

GetAppInfoPrimarySubcategoryOneRelationship retrieves the primary subcategory one linkage.

func (*Client) GetAppInfoPrimarySubcategoryTwo

func (c *Client) GetAppInfoPrimarySubcategoryTwo(ctx context.Context, appInfoID string) (*AppCategoryResponse, error)

GetAppInfoPrimarySubcategoryTwo retrieves the primary subcategory two for an app info.

func (*Client) GetAppInfoPrimarySubcategoryTwoRelationship

func (c *Client) GetAppInfoPrimarySubcategoryTwoRelationship(ctx context.Context, appInfoID string) (*AppInfoPrimarySubcategoryTwoLinkageResponse, error)

GetAppInfoPrimarySubcategoryTwoRelationship retrieves the primary subcategory two linkage.

func (*Client) GetAppInfoSecondaryCategory

func (c *Client) GetAppInfoSecondaryCategory(ctx context.Context, appInfoID string) (*AppCategoryResponse, error)

GetAppInfoSecondaryCategory retrieves the secondary category for an app info.

func (*Client) GetAppInfoSecondaryCategoryRelationship

func (c *Client) GetAppInfoSecondaryCategoryRelationship(ctx context.Context, appInfoID string) (*AppInfoSecondaryCategoryLinkageResponse, error)

GetAppInfoSecondaryCategoryRelationship retrieves the secondary category linkage.

func (*Client) GetAppInfoSecondarySubcategoryOne

func (c *Client) GetAppInfoSecondarySubcategoryOne(ctx context.Context, appInfoID string) (*AppCategoryResponse, error)

GetAppInfoSecondarySubcategoryOne retrieves the secondary subcategory one for an app info.

func (*Client) GetAppInfoSecondarySubcategoryOneRelationship

func (c *Client) GetAppInfoSecondarySubcategoryOneRelationship(ctx context.Context, appInfoID string) (*AppInfoSecondarySubcategoryOneLinkageResponse, error)

GetAppInfoSecondarySubcategoryOneRelationship retrieves the secondary subcategory one linkage.

func (*Client) GetAppInfoSecondarySubcategoryTwo

func (c *Client) GetAppInfoSecondarySubcategoryTwo(ctx context.Context, appInfoID string) (*AppCategoryResponse, error)

GetAppInfoSecondarySubcategoryTwo retrieves the secondary subcategory two for an app info.

func (*Client) GetAppInfoSecondarySubcategoryTwoRelationship

func (c *Client) GetAppInfoSecondarySubcategoryTwoRelationship(ctx context.Context, appInfoID string) (*AppInfoSecondarySubcategoryTwoLinkageResponse, error)

GetAppInfoSecondarySubcategoryTwoRelationship retrieves the secondary subcategory two linkage.

func (*Client) GetAppInfoTerritoryAgeRatings

func (c *Client) GetAppInfoTerritoryAgeRatings(ctx context.Context, appInfoID string, opts ...TerritoryAgeRatingsOption) (*TerritoryAgeRatingsResponse, error)

GetAppInfoTerritoryAgeRatings retrieves territory age ratings for an app info.

func (*Client) GetAppInfoTerritoryAgeRatingsRelationships

func (c *Client) GetAppInfoTerritoryAgeRatingsRelationships(ctx context.Context, appInfoID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetAppInfoTerritoryAgeRatingsRelationships retrieves territory age rating linkages.

func (*Client) GetAppInfos

func (c *Client) GetAppInfos(ctx context.Context, appID string) (*AppInfosResponse, error)

GetAppInfos retrieves app info records for an app.

func (*Client) GetAppInfosRelationships

func (c *Client) GetAppInfosRelationships(ctx context.Context, appID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetAppInfosRelationships retrieves app info linkages for an app.

func (*Client) GetAppPreReleaseVersions

func (c *Client) GetAppPreReleaseVersions(ctx context.Context, appID string, opts ...AppPreReleaseVersionsOption) (*PreReleaseVersionsResponse, error)

GetAppPreReleaseVersions retrieves pre-release versions for an app.

func (*Client) GetAppPreReleaseVersionsRelationships

func (c *Client) GetAppPreReleaseVersionsRelationships(ctx context.Context, appID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetAppPreReleaseVersionsRelationships retrieves pre-release version linkages for an app.

func (*Client) GetAppPreview

func (c *Client) GetAppPreview(ctx context.Context, previewID string) (*AppPreviewResponse, error)

GetAppPreview retrieves a preview by ID.

func (*Client) GetAppPreviewSet

func (c *Client) GetAppPreviewSet(ctx context.Context, setID string) (*AppPreviewSetResponse, error)

GetAppPreviewSet retrieves a preview set by ID.

func (*Client) GetAppPreviewSetAppPreviewsRelationships

func (c *Client) GetAppPreviewSetAppPreviewsRelationships(ctx context.Context, setID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetAppPreviewSetAppPreviewsRelationships retrieves preview linkages for a preview set.

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) (*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 retrieves equalized price points for a price point.

func (*Client) GetAppPricePointEqualizationsRelationships

func (c *Client) GetAppPricePointEqualizationsRelationships(ctx context.Context, pricePointID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetAppPricePointEqualizationsRelationships retrieves equalization linkages for an app price point.

func (*Client) GetAppPricePoints

func (c *Client) GetAppPricePoints(ctx context.Context, appID string, opts ...PricePointsOption) (*AppPricePointsV3Response, error)

GetAppPricePoints retrieves app price points for an app.

func (*Client) GetAppPricePointsRelationships

func (c *Client) GetAppPricePointsRelationships(ctx context.Context, appID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetAppPricePointsRelationships retrieves app price point linkages for an app.

func (*Client) GetAppPriceSchedule

func (c *Client) GetAppPriceSchedule(ctx context.Context, appID string) (*AppPriceScheduleResponse, error)

GetAppPriceSchedule retrieves the app price schedule for an app.

func (*Client) GetAppPriceScheduleAutomaticPrices

func (c *Client) GetAppPriceScheduleAutomaticPrices(ctx context.Context, scheduleID string, opts ...AppPriceSchedulePricesOption) (*AppPricesResponse, error)

GetAppPriceScheduleAutomaticPrices retrieves automatic prices for a schedule.

func (*Client) GetAppPriceScheduleAutomaticPricesRelationships

func (c *Client) GetAppPriceScheduleAutomaticPricesRelationships(ctx context.Context, scheduleID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetAppPriceScheduleAutomaticPricesRelationships retrieves automatic price linkages for a schedule.

func (*Client) GetAppPriceScheduleBaseTerritory

func (c *Client) GetAppPriceScheduleBaseTerritory(ctx context.Context, scheduleID string) (*TerritoryResponse, error)

GetAppPriceScheduleBaseTerritory retrieves the base territory for a schedule.

func (*Client) GetAppPriceScheduleBaseTerritoryRelationship

func (c *Client) GetAppPriceScheduleBaseTerritoryRelationship(ctx context.Context, scheduleID string) (*AppPriceScheduleBaseTerritoryLinkageResponse, error)

GetAppPriceScheduleBaseTerritoryRelationship retrieves the base territory linkage for a schedule.

func (*Client) GetAppPriceScheduleByID

func (c *Client) GetAppPriceScheduleByID(ctx context.Context, scheduleID string) (*AppPriceScheduleResponse, error)

GetAppPriceScheduleByID retrieves an app price schedule by ID.

func (*Client) GetAppPriceScheduleManualPrices

func (c *Client) GetAppPriceScheduleManualPrices(ctx context.Context, scheduleID string, opts ...AppPriceSchedulePricesOption) (*AppPricesResponse, error)

GetAppPriceScheduleManualPrices retrieves manual prices for a schedule.

func (*Client) GetAppPriceScheduleManualPricesRelationships

func (c *Client) GetAppPriceScheduleManualPricesRelationships(ctx context.Context, scheduleID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetAppPriceScheduleManualPricesRelationships retrieves manual price linkages for a schedule.

func (*Client) GetAppPriceScheduleRelationship

func (c *Client) GetAppPriceScheduleRelationship(ctx context.Context, appID string) (*AppAppPriceScheduleLinkageResponse, error)

GetAppPriceScheduleRelationship retrieves the app price schedule linkage for an app.

func (*Client) GetAppPromotedPurchases

func (c *Client) GetAppPromotedPurchases(ctx context.Context, appID string, opts ...PromotedPurchasesOption) (*PromotedPurchasesResponse, error)

GetAppPromotedPurchases retrieves promoted purchases for an app.

func (*Client) GetAppPromotedPurchasesRelationships

func (c *Client) GetAppPromotedPurchasesRelationships(ctx context.Context, appID string, opts ...LinkagesOption) (*AppPromotedPurchasesLinkagesResponse, error)

GetAppPromotedPurchasesRelationships retrieves promoted purchase linkages for an app.

func (*Client) GetAppReviewSubmissionsRelationships

func (c *Client) GetAppReviewSubmissionsRelationships(ctx context.Context, appID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetAppReviewSubmissionsRelationships retrieves review submission linkages for an app.

func (*Client) GetAppScreenshot

func (c *Client) GetAppScreenshot(ctx context.Context, screenshotID string) (*AppScreenshotResponse, error)

GetAppScreenshot retrieves a screenshot by ID.

func (*Client) GetAppScreenshotSet

func (c *Client) GetAppScreenshotSet(ctx context.Context, setID string) (*AppScreenshotSetResponse, error)

GetAppScreenshotSet retrieves a screenshot set by ID.

func (*Client) GetAppScreenshotSetAppScreenshotsRelationships

func (c *Client) GetAppScreenshotSetAppScreenshotsRelationships(ctx context.Context, setID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetAppScreenshotSetAppScreenshotsRelationships retrieves screenshot linkages for a screenshot set.

func (*Client) GetAppScreenshotSets

func (c *Client) GetAppScreenshotSets(ctx context.Context, localizationID string) (*AppScreenshotSetsResponse, error)

GetAppScreenshotSets retrieves screenshot sets for a localization.

func (*Client) GetAppScreenshots

func (c *Client) GetAppScreenshots(ctx context.Context, setID string) (*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 retrieves search keywords for an app.

func (*Client) GetAppStoreReviewAttachment

func (c *Client) GetAppStoreReviewAttachment(ctx context.Context, attachmentID string, opts ...AppStoreReviewAttachmentsOption) (*AppStoreReviewAttachmentResponse, error)

GetAppStoreReviewAttachment retrieves an attachment by ID.

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 retrieves a review detail by ID.

func (*Client) GetAppStoreReviewDetailAttachmentsRelationships

func (c *Client) GetAppStoreReviewDetailAttachmentsRelationships(ctx context.Context, detailID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetAppStoreReviewDetailAttachmentsRelationships retrieves attachment linkages for a review detail.

func (*Client) GetAppStoreReviewDetailForVersion

func (c *Client) GetAppStoreReviewDetailForVersion(ctx context.Context, versionID string) (*AppStoreReviewDetailResponse, error)

GetAppStoreReviewDetailForVersion retrieves the review detail for an app store version.

func (*Client) GetAppStoreVersion

func (c *Client) GetAppStoreVersion(ctx context.Context, versionID string, opts ...AppStoreVersionOption) (*AppStoreVersionResponse, error)

GetAppStoreVersion retrieves an app store version by ID.

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 retrieves the alternative distribution package for an app store version.

func (*Client) GetAppStoreVersionAlternativeDistributionPackageRelationship

func (c *Client) GetAppStoreVersionAlternativeDistributionPackageRelationship(ctx context.Context, appStoreVersionID string) (*AppStoreVersionAlternativeDistributionPackageLinkageResponse, error)

GetAppStoreVersionAlternativeDistributionPackageRelationship retrieves the package relationship for an app store version.

func (*Client) GetAppStoreVersionAppClipDefaultExperience

func (c *Client) GetAppStoreVersionAppClipDefaultExperience(ctx context.Context, versionID string) (*AppClipDefaultExperienceResponse, error)

GetAppStoreVersionAppClipDefaultExperience retrieves the default App Clip experience for a version.

func (*Client) GetAppStoreVersionAppClipDefaultExperienceRelationship

func (c *Client) GetAppStoreVersionAppClipDefaultExperienceRelationship(ctx context.Context, versionID string) (*AppStoreVersionAppClipDefaultExperienceLinkageResponse, error)

GetAppStoreVersionAppClipDefaultExperienceRelationship retrieves the app clip default experience linkage.

func (*Client) GetAppStoreVersionBuild

func (c *Client) GetAppStoreVersionBuild(ctx context.Context, versionID string) (*BuildResponse, error)

GetAppStoreVersionBuild retrieves the build attached to a version.

func (*Client) GetAppStoreVersionBuildRelationship

func (c *Client) GetAppStoreVersionBuildRelationship(ctx context.Context, versionID string) (*AppStoreVersionBuildLinkageResponse, error)

GetAppStoreVersionBuildRelationship retrieves the build linkage for a version.

func (*Client) GetAppStoreVersionCustomerReviews

func (c *Client) GetAppStoreVersionCustomerReviews(ctx context.Context, versionID string, opts ...ReviewOption) (*ReviewsResponse, error)

GetAppStoreVersionCustomerReviews retrieves customer reviews for an app store version.

func (*Client) GetAppStoreVersionCustomerReviewsRelationships

func (c *Client) GetAppStoreVersionCustomerReviewsRelationships(ctx context.Context, versionID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetAppStoreVersionCustomerReviewsRelationships retrieves customer review linkages for a version.

func (*Client) GetAppStoreVersionExperiment

func (c *Client) GetAppStoreVersionExperiment(ctx context.Context, experimentID string) (*AppStoreVersionExperimentResponse, error)

GetAppStoreVersionExperiment retrieves an experiment by ID (v1).

func (*Client) GetAppStoreVersionExperimentTreatment

func (c *Client) GetAppStoreVersionExperimentTreatment(ctx context.Context, treatmentID string) (*AppStoreVersionExperimentTreatmentResponse, error)

GetAppStoreVersionExperimentTreatment retrieves a treatment by ID.

func (*Client) GetAppStoreVersionExperimentTreatmentLocalization

func (c *Client) GetAppStoreVersionExperimentTreatmentLocalization(ctx context.Context, localizationID string) (*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 retrieves preview sets for a treatment localization.

func (*Client) GetAppStoreVersionExperimentTreatmentLocalizationPreviewSetsRelationships

func (c *Client) GetAppStoreVersionExperimentTreatmentLocalizationPreviewSetsRelationships(ctx context.Context, localizationID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetAppStoreVersionExperimentTreatmentLocalizationPreviewSetsRelationships retrieves preview set linkages for a treatment localization.

func (*Client) GetAppStoreVersionExperimentTreatmentLocalizationScreenshotSets

func (c *Client) GetAppStoreVersionExperimentTreatmentLocalizationScreenshotSets(ctx context.Context, localizationID string, opts ...AppStoreVersionExperimentTreatmentLocalizationScreenshotSetsOption) (*AppScreenshotSetsResponse, error)

GetAppStoreVersionExperimentTreatmentLocalizationScreenshotSets retrieves screenshot sets for a treatment localization.

func (*Client) GetAppStoreVersionExperimentTreatmentLocalizationScreenshotSetsRelationships

func (c *Client) GetAppStoreVersionExperimentTreatmentLocalizationScreenshotSetsRelationships(ctx context.Context, localizationID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetAppStoreVersionExperimentTreatmentLocalizationScreenshotSetsRelationships retrieves screenshot set linkages for a treatment localization.

func (*Client) GetAppStoreVersionExperimentTreatmentLocalizations

func (c *Client) GetAppStoreVersionExperimentTreatmentLocalizations(ctx context.Context, treatmentID string, opts ...AppStoreVersionExperimentTreatmentLocalizationsOption) (*AppStoreVersionExperimentTreatmentLocalizationsResponse, error)

GetAppStoreVersionExperimentTreatmentLocalizations retrieves localizations for a treatment.

func (*Client) GetAppStoreVersionExperimentTreatmentLocalizationsRelationships

func (c *Client) GetAppStoreVersionExperimentTreatmentLocalizationsRelationships(ctx context.Context, treatmentID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetAppStoreVersionExperimentTreatmentLocalizationsRelationships retrieves localization linkages for a treatment.

func (*Client) GetAppStoreVersionExperimentTreatments

func (c *Client) GetAppStoreVersionExperimentTreatments(ctx context.Context, experimentID string, opts ...AppStoreVersionExperimentTreatmentsOption) (*AppStoreVersionExperimentTreatmentsResponse, error)

GetAppStoreVersionExperimentTreatments retrieves treatments for an experiment.

func (*Client) GetAppStoreVersionExperimentTreatmentsRelationships

func (c *Client) GetAppStoreVersionExperimentTreatmentsRelationships(ctx context.Context, experimentID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetAppStoreVersionExperimentTreatmentsRelationships retrieves treatment linkages for an experiment (v1).

func (*Client) GetAppStoreVersionExperimentTreatmentsV2

func (c *Client) GetAppStoreVersionExperimentTreatmentsV2(ctx context.Context, experimentID string, opts ...AppStoreVersionExperimentTreatmentsOption) (*AppStoreVersionExperimentTreatmentsResponse, error)

GetAppStoreVersionExperimentTreatmentsV2 retrieves treatments for a v2 experiment.

func (*Client) GetAppStoreVersionExperimentTreatmentsV2Relationships

func (c *Client) GetAppStoreVersionExperimentTreatmentsV2Relationships(ctx context.Context, experimentID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetAppStoreVersionExperimentTreatmentsV2Relationships retrieves treatment linkages for an experiment (v2).

func (*Client) GetAppStoreVersionExperimentV2

func (c *Client) GetAppStoreVersionExperimentV2(ctx context.Context, experimentID string) (*AppStoreVersionExperimentV2Response, error)

GetAppStoreVersionExperimentV2 retrieves an experiment by ID (v2).

func (*Client) GetAppStoreVersionExperiments

func (c *Client) GetAppStoreVersionExperiments(ctx context.Context, versionID string, opts ...AppStoreVersionExperimentsOption) (*AppStoreVersionExperimentsResponse, error)

GetAppStoreVersionExperiments retrieves experiments for an app store version (v1).

func (*Client) GetAppStoreVersionExperimentsRelationships

func (c *Client) GetAppStoreVersionExperimentsRelationships(ctx context.Context, versionID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetAppStoreVersionExperimentsRelationships retrieves experiment linkages for a version (v1).

func (*Client) GetAppStoreVersionExperimentsV2

func (c *Client) GetAppStoreVersionExperimentsV2(ctx context.Context, appID string, opts ...AppStoreVersionExperimentsV2Option) (*AppStoreVersionExperimentsV2Response, error)

GetAppStoreVersionExperimentsV2 retrieves experiments for an app (v2).

func (*Client) GetAppStoreVersionExperimentsV2ForVersion

func (c *Client) GetAppStoreVersionExperimentsV2ForVersion(ctx context.Context, versionID string, opts ...AppStoreVersionExperimentsV2Option) (*AppStoreVersionExperimentsV2Response, error)

GetAppStoreVersionExperimentsV2ForVersion retrieves v2 experiments for an app store version.

func (*Client) GetAppStoreVersionExperimentsV2Relationships

func (c *Client) GetAppStoreVersionExperimentsV2Relationships(ctx context.Context, versionID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetAppStoreVersionExperimentsV2Relationships retrieves experiment linkages for a version (v2).

func (*Client) GetAppStoreVersionGameCenterAppVersion

func (c *Client) GetAppStoreVersionGameCenterAppVersion(ctx context.Context, versionID string) (*GameCenterAppVersionResponse, error)

GetAppStoreVersionGameCenterAppVersion retrieves the related Game Center app version.

func (*Client) GetAppStoreVersionGameCenterAppVersionRelationship

func (c *Client) GetAppStoreVersionGameCenterAppVersionRelationship(ctx context.Context, versionID string) (*AppStoreVersionGameCenterAppVersionLinkageResponse, error)

GetAppStoreVersionGameCenterAppVersionRelationship retrieves Game Center app version linkage.

func (*Client) GetAppStoreVersionLocalization

func (c *Client) GetAppStoreVersionLocalization(ctx context.Context, localizationID string) (*AppStoreVersionLocalizationResponse, error)

GetAppStoreVersionLocalization retrieves a single app store version localization by ID.

func (*Client) GetAppStoreVersionLocalizationPreviewSets

func (c *Client) GetAppStoreVersionLocalizationPreviewSets(ctx context.Context, localizationID string, opts ...AppStoreVersionLocalizationPreviewSetsOption) (*AppPreviewSetsResponse, error)

GetAppStoreVersionLocalizationPreviewSets retrieves preview sets for a localization.

func (*Client) GetAppStoreVersionLocalizationPreviewSetsRelationships

func (c *Client) GetAppStoreVersionLocalizationPreviewSetsRelationships(ctx context.Context, localizationID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetAppStoreVersionLocalizationPreviewSetsRelationships retrieves preview set relationships.

func (*Client) GetAppStoreVersionLocalizationScreenshotSets

func (c *Client) GetAppStoreVersionLocalizationScreenshotSets(ctx context.Context, localizationID string, opts ...AppStoreVersionLocalizationScreenshotSetsOption) (*AppScreenshotSetsResponse, error)

GetAppStoreVersionLocalizationScreenshotSets retrieves screenshot sets for a localization.

func (*Client) GetAppStoreVersionLocalizationScreenshotSetsRelationships

func (c *Client) GetAppStoreVersionLocalizationScreenshotSetsRelationships(ctx context.Context, localizationID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetAppStoreVersionLocalizationScreenshotSetsRelationships retrieves screenshot set relationships.

func (*Client) GetAppStoreVersionLocalizationSearchKeywords

func (c *Client) GetAppStoreVersionLocalizationSearchKeywords(ctx context.Context, localizationID string) (*AppKeywordsResponse, error)

GetAppStoreVersionLocalizationSearchKeywords retrieves search keywords for a localization.

func (*Client) GetAppStoreVersionLocalizationSearchKeywordsRelationships

func (c *Client) GetAppStoreVersionLocalizationSearchKeywordsRelationships(ctx context.Context, localizationID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetAppStoreVersionLocalizationSearchKeywordsRelationships retrieves search keyword relationships.

func (*Client) GetAppStoreVersionLocalizations

func (c *Client) GetAppStoreVersionLocalizations(ctx context.Context, versionID string, opts ...AppStoreVersionLocalizationsOption) (*AppStoreVersionLocalizationsResponse, error)

GetAppStoreVersionLocalizations retrieves localizations for an app store version.

func (*Client) GetAppStoreVersionLocalizationsRelationships

func (c *Client) GetAppStoreVersionLocalizationsRelationships(ctx context.Context, versionID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetAppStoreVersionLocalizationsRelationships retrieves localization linkages for a version.

func (*Client) GetAppStoreVersionPhasedRelease

func (c *Client) GetAppStoreVersionPhasedRelease(ctx context.Context, versionID string) (*AppStoreVersionPhasedReleaseResponse, error)

GetAppStoreVersionPhasedRelease fetches the phased release for an app store version.

func (*Client) GetAppStoreVersionPhasedReleaseRelationship

func (c *Client) GetAppStoreVersionPhasedReleaseRelationship(ctx context.Context, versionID string) (*AppStoreVersionPhasedReleaseLinkageResponse, error)

GetAppStoreVersionPhasedReleaseRelationship retrieves the phased release linkage for a version.

func (*Client) GetAppStoreVersionReviewDetailRelationship

func (c *Client) GetAppStoreVersionReviewDetailRelationship(ctx context.Context, versionID string) (*AppStoreVersionReviewDetailLinkageResponse, error)

GetAppStoreVersionReviewDetailRelationship retrieves the review detail linkage for a version.

func (*Client) GetAppStoreVersionRoutingAppCoverageRelationship

func (c *Client) GetAppStoreVersionRoutingAppCoverageRelationship(ctx context.Context, versionID string) (*AppStoreVersionRoutingAppCoverageLinkageResponse, error)

GetAppStoreVersionRoutingAppCoverageRelationship retrieves routing coverage linkage for a version.

func (*Client) GetAppStoreVersionSubmission

func (c *Client) GetAppStoreVersionSubmission(ctx context.Context, id string) (*AppStoreVersionSubmissionResponse, error)

GetAppStoreVersionSubmission retrieves an app store version submission by ID.

func (*Client) GetAppStoreVersionSubmissionForVersion

func (c *Client) GetAppStoreVersionSubmissionForVersion(ctx context.Context, versionID string) (*AppStoreVersionSubmissionResourceResponse, error)

GetAppStoreVersionSubmissionForVersion retrieves a submission by version ID.

func (*Client) GetAppStoreVersionSubmissionRelationship

func (c *Client) GetAppStoreVersionSubmissionRelationship(ctx context.Context, versionID string) (*AppStoreVersionSubmissionLinkageResponse, error)

GetAppStoreVersionSubmissionRelationship retrieves the submission linkage for a version.

func (*Client) GetAppStoreVersionSubmissionResource

func (c *Client) GetAppStoreVersionSubmissionResource(ctx context.Context, submissionID string) (*AppStoreVersionSubmissionResourceResponse, error)

GetAppStoreVersionSubmissionResource retrieves a submission by submission ID.

func (*Client) GetAppStoreVersions

func (c *Client) GetAppStoreVersions(ctx context.Context, appID string, opts ...AppStoreVersionsOption) (*AppStoreVersionsResponse, error)

GetAppStoreVersions retrieves app store versions for an app.

func (*Client) GetAppStoreVersionsRelationships

func (c *Client) GetAppStoreVersionsRelationships(ctx context.Context, appID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetAppStoreVersionsRelationships retrieves app store version linkages for an app.

func (*Client) GetAppSubscriptionGracePeriod

func (c *Client) GetAppSubscriptionGracePeriod(ctx context.Context, appID string) (*SubscriptionGracePeriodResponse, error)

GetAppSubscriptionGracePeriod retrieves the subscription grace period for an app.

func (*Client) GetAppSubscriptionGracePeriodRelationship

func (c *Client) GetAppSubscriptionGracePeriodRelationship(ctx context.Context, appID string) (*AppSubscriptionGracePeriodLinkageResponse, error)

GetAppSubscriptionGracePeriodRelationship retrieves the subscription grace period linkage for an app.

func (*Client) GetAppSubscriptionGroupsRelationships

func (c *Client) GetAppSubscriptionGroupsRelationships(ctx context.Context, appID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetAppSubscriptionGroupsRelationships retrieves subscription group linkages for an app.

func (*Client) GetAppTagTerritories

func (c *Client) GetAppTagTerritories(ctx context.Context, tagID string, opts ...TerritoriesOption) (*TerritoriesResponse, error)

GetAppTagTerritories retrieves territories for a specific app tag.

func (*Client) GetAppTagTerritoriesRelationships

func (c *Client) GetAppTagTerritoriesRelationships(ctx context.Context, tagID string, opts ...LinkagesOption) (*AppTagTerritoriesLinkagesResponse, error)

GetAppTagTerritoriesRelationships retrieves territory linkages for an app tag.

func (*Client) GetAppTags

func (c *Client) GetAppTags(ctx context.Context, appID string, opts ...AppTagsOption) (*AppTagsResponse, error)

GetAppTags retrieves the list of app tags for an app.

func (*Client) GetAppTagsRelationshipsForApp

func (c *Client) GetAppTagsRelationshipsForApp(ctx context.Context, appID string, opts ...LinkagesOption) (*AppAppTagsLinkagesResponse, error)

GetAppTagsRelationshipsForApp retrieves app tag linkages for an app.

func (*Client) GetAppWebhooks

func (c *Client) GetAppWebhooks(ctx context.Context, appID string, opts ...WebhooksOption) (*WebhooksResponse, error)

GetAppWebhooks retrieves webhooks for an app.

func (*Client) GetAppWebhooksRelationships

func (c *Client) GetAppWebhooksRelationships(ctx context.Context, appID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetAppWebhooksRelationships retrieves webhook linkages for an app.

func (*Client) GetApps

func (c *Client) GetApps(ctx context.Context, opts ...AppsOption) (*AppsResponse, error)

GetApps retrieves the list of apps

func (*Client) GetBackgroundAsset

func (c *Client) GetBackgroundAsset(ctx context.Context, id string) (*BackgroundAssetResponse, error)

GetBackgroundAsset retrieves a background asset by ID.

func (*Client) GetBackgroundAssetUploadFile

func (c *Client) GetBackgroundAssetUploadFile(ctx context.Context, uploadFileID string) (*BackgroundAssetUploadFileResponse, error)

GetBackgroundAssetUploadFile retrieves a background asset upload file by ID.

func (*Client) GetBackgroundAssetUploadFiles

func (c *Client) GetBackgroundAssetUploadFiles(ctx context.Context, versionID string, opts ...BackgroundAssetUploadFilesOption) (*BackgroundAssetUploadFilesResponse, error)

GetBackgroundAssetUploadFiles retrieves upload files for a background asset version.

func (*Client) GetBackgroundAssetUploadFilesRelationships

func (c *Client) GetBackgroundAssetUploadFilesRelationships(ctx context.Context, versionID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetBackgroundAssetUploadFilesRelationships retrieves upload file linkages for a background asset version.

func (*Client) GetBackgroundAssetVersion

func (c *Client) GetBackgroundAssetVersion(ctx context.Context, versionID string) (*BackgroundAssetVersionResponse, error)

GetBackgroundAssetVersion retrieves a background asset version by ID.

func (*Client) GetBackgroundAssetVersionAppStoreRelease

func (c *Client) GetBackgroundAssetVersionAppStoreRelease(ctx context.Context, releaseID string) (*BackgroundAssetVersionAppStoreReleaseResponse, error)

GetBackgroundAssetVersionAppStoreRelease retrieves an App Store release by ID.

func (*Client) GetBackgroundAssetVersionExternalBetaRelease

func (c *Client) GetBackgroundAssetVersionExternalBetaRelease(ctx context.Context, releaseID string) (*BackgroundAssetVersionExternalBetaReleaseResponse, error)

GetBackgroundAssetVersionExternalBetaRelease retrieves an external beta release by ID.

func (*Client) GetBackgroundAssetVersionInternalBetaRelease

func (c *Client) GetBackgroundAssetVersionInternalBetaRelease(ctx context.Context, releaseID string) (*BackgroundAssetVersionInternalBetaReleaseResponse, error)

GetBackgroundAssetVersionInternalBetaRelease retrieves an internal beta release by ID.

func (*Client) GetBackgroundAssetVersions

func (c *Client) GetBackgroundAssetVersions(ctx context.Context, backgroundAssetID string, opts ...BackgroundAssetVersionsOption) (*BackgroundAssetVersionsResponse, error)

GetBackgroundAssetVersions retrieves versions for a background asset.

func (*Client) GetBackgroundAssetVersionsRelationships

func (c *Client) GetBackgroundAssetVersionsRelationships(ctx context.Context, backgroundAssetID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetBackgroundAssetVersionsRelationships retrieves version linkages for a background asset.

func (*Client) GetBackgroundAssets

func (c *Client) GetBackgroundAssets(ctx context.Context, appID string, opts ...BackgroundAssetsOption) (*BackgroundAssetsResponse, error)

GetBackgroundAssets retrieves background assets for an app.

func (*Client) GetBetaAppClipInvocation

func (c *Client) GetBetaAppClipInvocation(ctx context.Context, invocationID string, opts ...BetaAppClipInvocationOption) (*BetaAppClipInvocationResponse, error)

GetBetaAppClipInvocation retrieves a beta App Clip invocation by ID.

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 retrieves a beta app localization by ID.

func (*Client) GetBetaAppLocalizationApp

func (c *Client) GetBetaAppLocalizationApp(ctx context.Context, localizationID string) (*AppResponse, error)

GetBetaAppLocalizationApp retrieves the app for a beta app localization.

func (*Client) GetBetaAppLocalizationAppRelationship

func (c *Client) GetBetaAppLocalizationAppRelationship(ctx context.Context, localizationID string) (*BetaAppLocalizationAppLinkageResponse, error)

GetBetaAppLocalizationAppRelationship retrieves the app linkage for a beta app localization.

func (*Client) GetBetaAppLocalizations

func (c *Client) GetBetaAppLocalizations(ctx context.Context, opts ...BetaAppLocalizationsOption) (*BetaAppLocalizationsResponse, error)

GetBetaAppLocalizations retrieves beta app localizations with optional filters.

func (*Client) GetBetaAppReviewDetail

func (c *Client) GetBetaAppReviewDetail(ctx context.Context, detailID string) (*BetaAppReviewDetailResponse, error)

GetBetaAppReviewDetail retrieves a beta app review detail by ID.

func (*Client) GetBetaAppReviewDetailApp

func (c *Client) GetBetaAppReviewDetailApp(ctx context.Context, detailID string) (*AppResponse, error)

GetBetaAppReviewDetailApp retrieves the app for a beta app review detail.

func (*Client) GetBetaAppReviewDetailAppRelationship

func (c *Client) GetBetaAppReviewDetailAppRelationship(ctx context.Context, detailID string) (*BetaAppReviewDetailAppLinkageResponse, error)

GetBetaAppReviewDetailAppRelationship retrieves the app linkage for a beta app review detail.

func (*Client) GetBetaAppReviewDetails

func (c *Client) GetBetaAppReviewDetails(ctx context.Context, appID string, opts ...BetaAppReviewDetailsOption) (*BetaAppReviewDetailsResponse, error)

GetBetaAppReviewDetails retrieves beta app review details filtered by app.

func (*Client) GetBetaAppReviewSubmission

func (c *Client) GetBetaAppReviewSubmission(ctx context.Context, submissionID string) (*BetaAppReviewSubmissionResponse, error)

GetBetaAppReviewSubmission retrieves a beta app review submission by ID.

func (*Client) GetBetaAppReviewSubmissionBuild

func (c *Client) GetBetaAppReviewSubmissionBuild(ctx context.Context, submissionID string) (*BuildResponse, error)

GetBetaAppReviewSubmissionBuild retrieves the build for a beta app review submission.

func (*Client) GetBetaAppReviewSubmissionBuildRelationship

func (c *Client) GetBetaAppReviewSubmissionBuildRelationship(ctx context.Context, submissionID string) (*BetaAppReviewSubmissionBuildLinkageResponse, error)

GetBetaAppReviewSubmissionBuildRelationship retrieves the build linkage for a beta app review submission.

func (*Client) GetBetaAppReviewSubmissions

func (c *Client) GetBetaAppReviewSubmissions(ctx context.Context, opts ...BetaAppReviewSubmissionsOption) (*BetaAppReviewSubmissionsResponse, error)

GetBetaAppReviewSubmissions retrieves beta app review submissions.

func (*Client) GetBetaBuildLocalization

func (c *Client) GetBetaBuildLocalization(ctx context.Context, localizationID string) (*BetaBuildLocalizationResponse, error)

GetBetaBuildLocalization retrieves a single beta build localization by ID.

func (*Client) GetBetaBuildLocalizationBuild

func (c *Client) GetBetaBuildLocalizationBuild(ctx context.Context, localizationID string) (*BuildResponse, error)

GetBetaBuildLocalizationBuild retrieves the build for a beta build localization.

func (*Client) GetBetaBuildLocalizationBuildRelationship

func (c *Client) GetBetaBuildLocalizationBuildRelationship(ctx context.Context, localizationID string) (*BetaBuildLocalizationBuildLinkageResponse, error)

GetBetaBuildLocalizationBuildRelationship retrieves the build linkage for a beta build localization.

func (*Client) GetBetaBuildLocalizations

func (c *Client) GetBetaBuildLocalizations(ctx context.Context, buildID string, opts ...BetaBuildLocalizationsOption) (*BetaBuildLocalizationsResponse, error)

GetBetaBuildLocalizations retrieves beta build localizations for a build.

func (*Client) GetBetaCrashLog

func (c *Client) GetBetaCrashLog(ctx context.Context, logID string) (*BetaCrashLogResponse, error)

GetBetaCrashLog retrieves a beta crash log by ID.

func (*Client) GetBetaFeedbackCrashSubmission

func (c *Client) GetBetaFeedbackCrashSubmission(ctx context.Context, submissionID string) (*BetaFeedbackCrashSubmissionResponse, error)

GetBetaFeedbackCrashSubmission retrieves a beta feedback crash submission by ID.

func (*Client) GetBetaFeedbackCrashSubmissionCrashLog

func (c *Client) GetBetaFeedbackCrashSubmissionCrashLog(ctx context.Context, submissionID string) (*BetaCrashLogResponse, error)

GetBetaFeedbackCrashSubmissionCrashLog retrieves the crash log for a beta feedback crash submission.

func (*Client) GetBetaFeedbackCrashSubmissionCrashLogRelationship

func (c *Client) GetBetaFeedbackCrashSubmissionCrashLogRelationship(ctx context.Context, submissionID string) (*BetaFeedbackCrashSubmissionCrashLogLinkageResponse, error)

GetBetaFeedbackCrashSubmissionCrashLogRelationship retrieves the crash log linkage for a crash submission.

func (*Client) GetBetaFeedbackScreenshotSubmission

func (c *Client) GetBetaFeedbackScreenshotSubmission(ctx context.Context, submissionID string) (*BetaFeedbackScreenshotSubmissionResponse, error)

GetBetaFeedbackScreenshotSubmission retrieves a beta feedback screenshot submission by ID.

func (*Client) GetBetaGroup

func (c *Client) GetBetaGroup(ctx context.Context, groupID string) (*BetaGroupResponse, error)

GetBetaGroup retrieves a beta group by ID.

func (*Client) GetBetaGroupApp

func (c *Client) GetBetaGroupApp(ctx context.Context, groupID string) (*AppResponse, error)

GetBetaGroupApp retrieves the app for a beta group.

func (*Client) GetBetaGroupAppRelationship

func (c *Client) GetBetaGroupAppRelationship(ctx context.Context, groupID string) (*BetaGroupAppLinkageResponse, error)

GetBetaGroupAppRelationship retrieves the app linkage for a beta group.

func (*Client) GetBetaGroupBetaRecruitmentCriteria

func (c *Client) GetBetaGroupBetaRecruitmentCriteria(ctx context.Context, groupID string) (*BetaRecruitmentCriteriaResponse, error)

GetBetaGroupBetaRecruitmentCriteria retrieves recruitment criteria for a beta group.

func (*Client) GetBetaGroupBetaRecruitmentCriteriaRelationship

func (c *Client) GetBetaGroupBetaRecruitmentCriteriaRelationship(ctx context.Context, groupID string) (*BetaGroupBetaRecruitmentCriteriaLinkageResponse, error)

GetBetaGroupBetaRecruitmentCriteriaRelationship retrieves the recruitment criteria linkage for a beta group.

func (*Client) GetBetaGroupBetaRecruitmentCriterionCompatibleBuildCheck

func (c *Client) GetBetaGroupBetaRecruitmentCriterionCompatibleBuildCheck(ctx context.Context, groupID string) (*BetaRecruitmentCriterionCompatibleBuildCheckResponse, error)

GetBetaGroupBetaRecruitmentCriterionCompatibleBuildCheck retrieves compatible build check for a beta group.

func (*Client) GetBetaGroupBetaRecruitmentCriterionCompatibleBuildCheckRelationship

func (c *Client) GetBetaGroupBetaRecruitmentCriterionCompatibleBuildCheckRelationship(ctx context.Context, groupID string) (*BetaGroupBetaRecruitmentCriterionCompatibleBuildCheckLinkageResponse, error)

GetBetaGroupBetaRecruitmentCriterionCompatibleBuildCheckRelationship retrieves compatible build check linkage for a beta group.

func (*Client) GetBetaGroupBetaTestersRelationships

func (c *Client) GetBetaGroupBetaTestersRelationships(ctx context.Context, groupID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetBetaGroupBetaTestersRelationships retrieves beta tester linkages for a beta group.

func (*Client) GetBetaGroupBuilds

func (c *Client) GetBetaGroupBuilds(ctx context.Context, groupID string, opts ...BetaGroupBuildsOption) (*BuildsResponse, error)

GetBetaGroupBuilds retrieves builds assigned to a beta group.

func (*Client) GetBetaGroupBuildsRelationships

func (c *Client) GetBetaGroupBuildsRelationships(ctx context.Context, groupID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetBetaGroupBuildsRelationships retrieves build linkages for a beta group.

func (*Client) GetBetaGroupPublicLinkUsages

func (c *Client) GetBetaGroupPublicLinkUsages(ctx context.Context, groupID string) (*BetaGroupPublicLinkUsagesResponse, error)

GetBetaGroupPublicLinkUsages retrieves public link usage metrics for a beta group.

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 retrieves beta testers assigned to a beta group.

func (*Client) GetBetaGroups

func (c *Client) GetBetaGroups(ctx context.Context, appID string, opts ...BetaGroupsOption) (*BetaGroupsResponse, error)

GetBetaGroups retrieves the list of beta groups for an app.

func (*Client) GetBetaLicenseAgreement

func (c *Client) GetBetaLicenseAgreement(ctx context.Context, agreementID string, opts ...BetaLicenseAgreementOption) (*BetaLicenseAgreementResponse, error)

GetBetaLicenseAgreement retrieves a beta license agreement by ID.

func (*Client) GetBetaLicenseAgreementApp

func (c *Client) GetBetaLicenseAgreementApp(ctx context.Context, agreementID string, fields []string) (*AppResponse, error)

GetBetaLicenseAgreementApp retrieves the app for a beta license agreement.

func (*Client) GetBetaLicenseAgreementAppRelationship

func (c *Client) GetBetaLicenseAgreementAppRelationship(ctx context.Context, agreementID string) (*BetaLicenseAgreementAppLinkageResponse, error)

GetBetaLicenseAgreementAppRelationship retrieves the app linkage for a beta license agreement.

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 retrieves beta license agreements with optional filters.

func (*Client) GetBetaRecruitmentCriterionOptions

func (c *Client) GetBetaRecruitmentCriterionOptions(ctx context.Context, opts ...BetaRecruitmentCriterionOptionsOption) (*BetaRecruitmentCriterionOptionsResponse, error)

GetBetaRecruitmentCriterionOptions retrieves beta recruitment criterion options.

func (*Client) GetBetaTester

func (c *Client) GetBetaTester(ctx context.Context, testerID string) (*BetaTesterResponse, error)

GetBetaTester retrieves a beta tester by ID.

func (*Client) GetBetaTesterApps

func (c *Client) GetBetaTesterApps(ctx context.Context, testerID string, opts ...BetaTesterAppsOption) (*AppsResponse, error)

GetBetaTesterApps retrieves apps for a beta tester.

func (*Client) GetBetaTesterAppsRelationships

func (c *Client) GetBetaTesterAppsRelationships(ctx context.Context, testerID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetBetaTesterAppsRelationships retrieves app linkages for a beta tester.

func (*Client) GetBetaTesterBetaGroups

func (c *Client) GetBetaTesterBetaGroups(ctx context.Context, testerID string, opts ...BetaTesterBetaGroupsOption) (*BetaGroupsResponse, error)

GetBetaTesterBetaGroups retrieves beta groups for a beta tester.

func (*Client) GetBetaTesterBetaGroupsRelationships

func (c *Client) GetBetaTesterBetaGroupsRelationships(ctx context.Context, testerID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetBetaTesterBetaGroupsRelationships retrieves beta group linkages for a beta tester.

func (*Client) GetBetaTesterBuilds

func (c *Client) GetBetaTesterBuilds(ctx context.Context, testerID string, opts ...BetaTesterBuildsOption) (*BuildsResponse, error)

GetBetaTesterBuilds retrieves builds for a beta tester.

func (*Client) GetBetaTesterBuildsRelationships

func (c *Client) GetBetaTesterBuildsRelationships(ctx context.Context, testerID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetBetaTesterBuildsRelationships retrieves build linkages for a beta tester.

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) (*BuildResponse, error)

GetBuild retrieves a single build by ID.

func (*Client) GetBuildApp

func (c *Client) GetBuildApp(ctx context.Context, buildID string) (*AppResponse, error)

GetBuildApp retrieves the app for a build.

func (*Client) GetBuildAppEncryptionDeclaration

func (c *Client) GetBuildAppEncryptionDeclaration(ctx context.Context, buildID string) (*AppEncryptionDeclarationResponse, error)

GetBuildAppEncryptionDeclaration retrieves the encryption declaration for a build.

func (*Client) GetBuildAppEncryptionDeclarationRelationship

func (c *Client) GetBuildAppEncryptionDeclarationRelationship(ctx context.Context, buildID string) (*BuildAppEncryptionDeclarationLinkageResponse, error)

GetBuildAppEncryptionDeclarationRelationship retrieves the app encryption declaration linkage for a build.

func (*Client) GetBuildAppRelationship

func (c *Client) GetBuildAppRelationship(ctx context.Context, buildID string) (*BuildAppLinkageResponse, error)

GetBuildAppRelationship retrieves the app linkage for a build.

func (*Client) GetBuildAppStoreVersion

func (c *Client) GetBuildAppStoreVersion(ctx context.Context, buildID string) (*AppStoreVersionResponse, error)

GetBuildAppStoreVersion retrieves the app store version for a build.

func (*Client) GetBuildAppStoreVersionRelationship

func (c *Client) GetBuildAppStoreVersionRelationship(ctx context.Context, buildID string) (*BuildAppStoreVersionLinkageResponse, error)

GetBuildAppStoreVersionRelationship retrieves the app store version linkage for a build.

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) GetBuildBetaAppReviewSubmissionRelationship

func (c *Client) GetBuildBetaAppReviewSubmissionRelationship(ctx context.Context, buildID string) (*BuildBetaAppReviewSubmissionLinkageResponse, error)

GetBuildBetaAppReviewSubmissionRelationship retrieves the beta app review submission linkage for a build.

func (*Client) GetBuildBetaBuildLocalizationsRelationships

func (c *Client) GetBuildBetaBuildLocalizationsRelationships(ctx context.Context, buildID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetBuildBetaBuildLocalizationsRelationships retrieves beta build localization linkages for a build.

func (*Client) GetBuildBetaDetail

func (c *Client) GetBuildBetaDetail(ctx context.Context, detailID string) (*BuildBetaDetailResponse, error)

GetBuildBetaDetail retrieves a build beta detail by ID.

func (*Client) GetBuildBetaDetailBuild

func (c *Client) GetBuildBetaDetailBuild(ctx context.Context, detailID string) (*BuildResponse, error)

GetBuildBetaDetailBuild retrieves the build for a build beta detail.

func (*Client) GetBuildBetaDetailBuildRelationship

func (c *Client) GetBuildBetaDetailBuildRelationship(ctx context.Context, detailID string) (*BuildBetaDetailBuildLinkageResponse, error)

GetBuildBetaDetailBuildRelationship retrieves the build linkage for a build beta detail.

func (*Client) GetBuildBetaDetails

func (c *Client) GetBuildBetaDetails(ctx context.Context, opts ...BuildBetaDetailsOption) (*BuildBetaDetailsResponse, error)

GetBuildBetaDetails retrieves build beta details.

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 retrieves the build beta detail for a build.

func (*Client) GetBuildBuildBetaDetailRelationship

func (c *Client) GetBuildBuildBetaDetailRelationship(ctx context.Context, buildID string) (*BuildBuildBetaDetailLinkageResponse, error)

GetBuildBuildBetaDetailRelationship retrieves build beta detail linkage for a build.

func (*Client) GetBuildBundleAppClipDomainCacheStatus

func (c *Client) GetBuildBundleAppClipDomainCacheStatus(ctx context.Context, buildBundleID string) (*AppClipDomainStatusResponse, error)

GetBuildBundleAppClipDomainCacheStatus retrieves App Clip domain cache status for a build bundle.

func (*Client) GetBuildBundleAppClipDomainCacheStatusRelationship

func (c *Client) GetBuildBundleAppClipDomainCacheStatusRelationship(ctx context.Context, buildBundleID string) (*BuildBundleAppClipDomainCacheStatusLinkageResponse, error)

GetBuildBundleAppClipDomainCacheStatusRelationship retrieves the app clip domain cache status linkage for a build bundle.

func (*Client) GetBuildBundleAppClipDomainDebugStatus

func (c *Client) GetBuildBundleAppClipDomainDebugStatus(ctx context.Context, buildBundleID string) (*AppClipDomainStatusResponse, error)

GetBuildBundleAppClipDomainDebugStatus retrieves App Clip domain debug status for a build bundle.

func (*Client) GetBuildBundleAppClipDomainDebugStatusRelationship

func (c *Client) GetBuildBundleAppClipDomainDebugStatusRelationship(ctx context.Context, buildBundleID string) (*BuildBundleAppClipDomainDebugStatusLinkageResponse, error)

GetBuildBundleAppClipDomainDebugStatusRelationship retrieves the app clip domain debug status linkage for a build bundle.

func (*Client) GetBuildBundleBetaAppClipInvocations

func (c *Client) GetBuildBundleBetaAppClipInvocations(ctx context.Context, buildBundleID string, opts ...BetaAppClipInvocationsOption) (*BetaAppClipInvocationsResponse, error)

GetBuildBundleBetaAppClipInvocations retrieves beta app clip invocations for a build bundle.

func (*Client) GetBuildBundleBetaAppClipInvocationsRelationships

func (c *Client) GetBuildBundleBetaAppClipInvocationsRelationships(ctx context.Context, buildBundleID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetBuildBundleBetaAppClipInvocationsRelationships retrieves beta app clip invocation linkages for a build bundle.

func (*Client) GetBuildBundleBuildBundleFileSizesRelationships

func (c *Client) GetBuildBundleBuildBundleFileSizesRelationships(ctx context.Context, buildBundleID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetBuildBundleBuildBundleFileSizesRelationships retrieves build bundle file size linkages for a build bundle.

func (*Client) GetBuildBundleFileSizes

func (c *Client) GetBuildBundleFileSizes(ctx context.Context, buildBundleID string, opts ...BuildBundleFileSizesOption) (*BuildBundleFileSizesResponse, error)

GetBuildBundleFileSizes retrieves build bundle file sizes by build bundle ID.

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 retrieves diagnostic signature linkages for a build.

func (*Client) GetBuildIcons

func (c *Client) GetBuildIcons(ctx context.Context, buildID string, opts ...BuildIconsOption) (*BuildIconsResponse, error)

GetBuildIcons retrieves build icons for a build.

func (*Client) GetBuildIconsRelationships

func (c *Client) GetBuildIconsRelationships(ctx context.Context, buildID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetBuildIconsRelationships retrieves build icon linkages for a build.

func (*Client) GetBuildIndividualTesters

func (c *Client) GetBuildIndividualTesters(ctx context.Context, buildID string, opts ...BuildIndividualTestersOption) (*BetaTestersResponse, error)

GetBuildIndividualTesters retrieves individual testers assigned to a build.

func (*Client) GetBuildIndividualTestersRelationships

func (c *Client) GetBuildIndividualTestersRelationships(ctx context.Context, buildID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetBuildIndividualTestersRelationships retrieves individual tester linkages for a build.

func (*Client) GetBuildPreReleaseVersion

func (c *Client) GetBuildPreReleaseVersion(ctx context.Context, buildID string) (*PreReleaseVersionResponse, error)

GetBuildPreReleaseVersion retrieves the pre-release version for a build.

func (*Client) GetBuildPreReleaseVersionRelationship

func (c *Client) GetBuildPreReleaseVersionRelationship(ctx context.Context, buildID string) (*BuildPreReleaseVersionLinkageResponse, error)

GetBuildPreReleaseVersionRelationship retrieves pre-release version linkage for a build.

func (*Client) GetBuildUpload

func (c *Client) GetBuildUpload(ctx context.Context, id string) (*BuildUploadResponse, error)

GetBuildUpload retrieves a build upload by ID.

func (*Client) GetBuildUploadBuildUploadFilesRelationships

func (c *Client) GetBuildUploadBuildUploadFilesRelationships(ctx context.Context, uploadID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetBuildUploadBuildUploadFilesRelationships retrieves build upload file linkages for a build upload.

func (*Client) GetBuildUploadFile

func (c *Client) GetBuildUploadFile(ctx context.Context, id string) (*BuildUploadFileResponse, error)

GetBuildUploadFile retrieves a build upload file by ID.

func (*Client) GetBuildUploadFiles

func (c *Client) GetBuildUploadFiles(ctx context.Context, uploadID string, opts ...BuildUploadFilesOption) (*BuildUploadFilesResponse, error)

GetBuildUploadFiles retrieves upload files for a build upload.

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 retrieves a single bundle ID by ID.

func (*Client) GetBundleIDApp

func (c *Client) GetBundleIDApp(ctx context.Context, bundleID string) (*AppResponse, error)

GetBundleIDApp retrieves the app for a bundle ID.

func (*Client) GetBundleIDCapabilities

func (c *Client) GetBundleIDCapabilities(ctx context.Context, bundleID string, opts ...BundleIDCapabilitiesOption) (*BundleIDCapabilitiesResponse, error)

GetBundleIDCapabilities retrieves capabilities for a bundle ID.

func (*Client) GetBundleIDCapabilitiesRelationships

func (c *Client) GetBundleIDCapabilitiesRelationships(ctx context.Context, bundleID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetBundleIDCapabilitiesRelationships retrieves capability linkages for a bundle ID.

func (*Client) GetBundleIDProfiles

func (c *Client) GetBundleIDProfiles(ctx context.Context, bundleID string, opts ...BundleIDProfilesOption) (*ProfilesResponse, error)

GetBundleIDProfiles retrieves profiles for a bundle ID.

func (*Client) GetBundleIDProfilesRelationships

func (c *Client) GetBundleIDProfilesRelationships(ctx context.Context, bundleID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetBundleIDProfilesRelationships retrieves profile linkages for a bundle ID.

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 retrieves the pass type ID for a certificate.

func (*Client) GetCertificatePassTypeIDRelationship

func (c *Client) GetCertificatePassTypeIDRelationship(ctx context.Context, certificateID string) (*CertificatePassTypeIDLinkageResponse, error)

GetCertificatePassTypeIDRelationship retrieves the pass type ID linkage for a certificate.

func (*Client) GetCertificates

func (c *Client) GetCertificates(ctx context.Context, opts ...CertificatesOption) (*CertificatesResponse, error)

GetCertificates retrieves the list of certificates.

func (*Client) GetCiArtifact

func (c *Client) GetCiArtifact(ctx context.Context, artifactID string) (*CiArtifactResponse, error)

GetCiArtifact retrieves a single artifact by ID.

func (*Client) GetCiBuildAction

func (c *Client) GetCiBuildAction(ctx context.Context, buildActionID string) (*CiBuildActionResponse, error)

GetCiBuildAction retrieves a build action by ID.

func (*Client) GetCiBuildActionArtifacts

func (c *Client) GetCiBuildActionArtifacts(ctx context.Context, buildActionID string, opts ...CiArtifactsOption) (*CiArtifactsResponse, error)

GetCiBuildActionArtifacts retrieves artifacts for a build action.

func (*Client) GetCiBuildActionArtifactsRelationships

func (c *Client) GetCiBuildActionArtifactsRelationships(ctx context.Context, buildActionID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetCiBuildActionArtifactsRelationships retrieves artifact linkages for a CI build action.

func (*Client) GetCiBuildActionBuildRun

func (c *Client) GetCiBuildActionBuildRun(ctx context.Context, buildActionID string) (*CiBuildRunResponse, error)

GetCiBuildActionBuildRun retrieves the build run for a build action.

func (*Client) GetCiBuildActionBuildRunRelationship

func (c *Client) GetCiBuildActionBuildRunRelationship(ctx context.Context, buildActionID string) (*CiBuildActionBuildRunLinkageResponse, error)

GetCiBuildActionBuildRunRelationship retrieves the build run linkage for a CI build action (to-one).

func (*Client) GetCiBuildActionIssues

func (c *Client) GetCiBuildActionIssues(ctx context.Context, buildActionID string, opts ...CiIssuesOption) (*CiIssuesResponse, error)

GetCiBuildActionIssues retrieves issues for a build action.

func (*Client) GetCiBuildActionIssuesRelationships

func (c *Client) GetCiBuildActionIssuesRelationships(ctx context.Context, buildActionID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetCiBuildActionIssuesRelationships retrieves issue linkages for a CI build action.

func (*Client) GetCiBuildActionTestResults

func (c *Client) GetCiBuildActionTestResults(ctx context.Context, buildActionID string, opts ...CiTestResultsOption) (*CiTestResultsResponse, error)

GetCiBuildActionTestResults retrieves test results for a build action.

func (*Client) GetCiBuildActionTestResultsRelationships

func (c *Client) GetCiBuildActionTestResultsRelationships(ctx context.Context, buildActionID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetCiBuildActionTestResultsRelationships retrieves test result linkages for a CI build action.

func (*Client) GetCiBuildActions

func (c *Client) GetCiBuildActions(ctx context.Context, buildRunID string, opts ...CiBuildActionsOption) (*CiBuildActionsResponse, error)

GetCiBuildActions retrieves build actions for a build run.

func (*Client) GetCiBuildRun

func (c *Client) GetCiBuildRun(ctx context.Context, buildRunID string, opts ...CiBuildRunGetOption) (*CiBuildRunResponse, error)

GetCiBuildRun retrieves a CI build run by ID.

func (*Client) GetCiBuildRunActionsRelationships

func (c *Client) GetCiBuildRunActionsRelationships(ctx context.Context, buildRunID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetCiBuildRunActionsRelationships retrieves build action linkages for a CI build run.

func (*Client) GetCiBuildRunBuilds

func (c *Client) GetCiBuildRunBuilds(ctx context.Context, buildRunID string, opts ...CiBuildRunBuildsOption) (*BuildsResponse, error)

GetCiBuildRunBuilds retrieves builds for a CI build run.

func (*Client) GetCiBuildRunBuildsRelationships

func (c *Client) GetCiBuildRunBuildsRelationships(ctx context.Context, buildRunID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetCiBuildRunBuildsRelationships retrieves build linkages for a CI build run.

func (*Client) GetCiBuildRuns

func (c *Client) GetCiBuildRuns(ctx context.Context, workflowID string, opts ...CiBuildRunsOption) (*CiBuildRunsResponse, error)

GetCiBuildRuns retrieves build runs for a workflow.

func (*Client) GetCiIssue

func (c *Client) GetCiIssue(ctx context.Context, issueID string) (*CiIssueResponse, error)

GetCiIssue retrieves a single issue by ID.

func (*Client) GetCiMacOsVersion

func (c *Client) GetCiMacOsVersion(ctx context.Context, macOsVersionID string) (*CiMacOsVersionResponse, error)

GetCiMacOsVersion retrieves a CI macOS version by ID.

func (*Client) GetCiMacOsVersionXcodeVersions

func (c *Client) GetCiMacOsVersionXcodeVersions(ctx context.Context, macOsVersionID string, opts ...CiXcodeVersionsOption) (*CiXcodeVersionsResponse, error)

GetCiMacOsVersionXcodeVersions retrieves Xcode versions for a macOS version.

func (*Client) GetCiMacOsVersionXcodeVersionsRelationships

func (c *Client) GetCiMacOsVersionXcodeVersionsRelationships(ctx context.Context, macOsVersionID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetCiMacOsVersionXcodeVersionsRelationships retrieves Xcode version linkages for a CI macOS version.

func (*Client) GetCiMacOsVersions

func (c *Client) GetCiMacOsVersions(ctx context.Context, opts ...CiMacOsVersionsOption) (*CiMacOsVersionsResponse, error)

GetCiMacOsVersions retrieves the list of CI macOS versions.

func (*Client) GetCiProduct

func (c *Client) GetCiProduct(ctx context.Context, productID string) (*CiProductResponse, error)

GetCiProduct retrieves a CI product by ID.

func (*Client) GetCiProductAdditionalRepositories

func (c *Client) GetCiProductAdditionalRepositories(ctx context.Context, productID string, opts ...CiProductRepositoriesOption) (*ScmRepositoriesResponse, error)

GetCiProductAdditionalRepositories retrieves additional repositories for a CI product.

func (*Client) GetCiProductAdditionalRepositoriesRelationships

func (c *Client) GetCiProductAdditionalRepositoriesRelationships(ctx context.Context, productID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetCiProductAdditionalRepositoriesRelationships retrieves additional repository linkages for a CI product.

func (*Client) GetCiProductApp

func (c *Client) GetCiProductApp(ctx context.Context, productID string) (*AppResponse, error)

GetCiProductApp retrieves the app for a CI product.

func (*Client) GetCiProductAppRelationship

func (c *Client) GetCiProductAppRelationship(ctx context.Context, productID string) (*CiProductAppLinkageResponse, error)

GetCiProductAppRelationship retrieves the app linkage for a CI product (to-one).

func (*Client) GetCiProductBuildRuns

func (c *Client) GetCiProductBuildRuns(ctx context.Context, productID string, opts ...CiBuildRunsOption) (*CiBuildRunsResponse, error)

GetCiProductBuildRuns retrieves build runs for a CI product.

func (*Client) GetCiProductBuildRunsRelationships

func (c *Client) GetCiProductBuildRunsRelationships(ctx context.Context, productID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetCiProductBuildRunsRelationships retrieves build run linkages for a CI product.

func (*Client) GetCiProductPrimaryRepositories

func (c *Client) GetCiProductPrimaryRepositories(ctx context.Context, productID string, opts ...CiProductRepositoriesOption) (*ScmRepositoriesResponse, error)

GetCiProductPrimaryRepositories retrieves primary repositories for a CI product.

func (*Client) GetCiProductPrimaryRepositoriesRelationships

func (c *Client) GetCiProductPrimaryRepositoriesRelationships(ctx context.Context, productID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetCiProductPrimaryRepositoriesRelationships retrieves primary repository linkages for a CI product.

func (*Client) GetCiProductWorkflowsRelationships

func (c *Client) GetCiProductWorkflowsRelationships(ctx context.Context, productID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetCiProductWorkflowsRelationships retrieves workflow linkages for a CI product.

func (*Client) GetCiProducts

func (c *Client) GetCiProducts(ctx context.Context, opts ...CiProductsOption) (*CiProductsResponse, error)

GetCiProducts retrieves CI products, optionally filtered by app ID.

func (*Client) GetCiTestResult

func (c *Client) GetCiTestResult(ctx context.Context, testResultID string) (*CiTestResultResponse, error)

GetCiTestResult retrieves a single test result by ID.

func (*Client) GetCiWorkflow

func (c *Client) GetCiWorkflow(ctx context.Context, workflowID string) (*CiWorkflowResponse, error)

GetCiWorkflow retrieves a CI workflow by ID.

func (*Client) GetCiWorkflowBuildRunsRelationships

func (c *Client) GetCiWorkflowBuildRunsRelationships(ctx context.Context, workflowID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetCiWorkflowBuildRunsRelationships retrieves build run linkages for a CI workflow.

func (*Client) GetCiWorkflowRepository

func (c *Client) GetCiWorkflowRepository(ctx context.Context, workflowID string) (*ScmRepositoryResource, error)

GetCiWorkflowRepository retrieves the repository for a CI workflow.

func (*Client) GetCiWorkflowRepositoryRelationship

func (c *Client) GetCiWorkflowRepositoryRelationship(ctx context.Context, workflowID string) (*CiWorkflowRepositoryLinkageResponse, error)

GetCiWorkflowRepositoryRelationship retrieves the repository linkage for a CI workflow (to-one).

func (*Client) GetCiWorkflows

func (c *Client) GetCiWorkflows(ctx context.Context, productID string, opts ...CiWorkflowsOption) (*CiWorkflowsResponse, error)

GetCiWorkflows retrieves CI workflows for a product.

func (*Client) GetCiXcodeVersion

func (c *Client) GetCiXcodeVersion(ctx context.Context, xcodeVersionID string) (*CiXcodeVersionResponse, error)

GetCiXcodeVersion retrieves a CI Xcode version by ID.

func (*Client) GetCiXcodeVersionMacOsVersions

func (c *Client) GetCiXcodeVersionMacOsVersions(ctx context.Context, xcodeVersionID string, opts ...CiMacOsVersionsOption) (*CiMacOsVersionsResponse, error)

GetCiXcodeVersionMacOsVersions retrieves macOS versions for an Xcode version.

func (*Client) GetCiXcodeVersionMacOsVersionsRelationships

func (c *Client) GetCiXcodeVersionMacOsVersionsRelationships(ctx context.Context, xcodeVersionID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetCiXcodeVersionMacOsVersionsRelationships retrieves macOS version linkages for a CI Xcode version.

func (*Client) GetCiXcodeVersions

func (c *Client) GetCiXcodeVersions(ctx context.Context, opts ...CiXcodeVersionsOption) (*CiXcodeVersionsResponse, error)

GetCiXcodeVersions retrieves the list of CI Xcode versions.

func (*Client) GetCrashes

func (c *Client) GetCrashes(ctx context.Context, appID string, opts ...CrashOption) (*CrashesResponse, error)

GetCrashes retrieves TestFlight crash reports

func (*Client) GetCustomerReview

func (c *Client) GetCustomerReview(ctx context.Context, reviewID string) (*CustomerReviewResponse, error)

GetCustomerReview retrieves a customer review by ID.

func (*Client) GetCustomerReviewResponse

func (c *Client) GetCustomerReviewResponse(ctx context.Context, responseID string) (*CustomerReviewResponseResponse, error)

GetCustomerReviewResponse retrieves a customer review response by ID.

func (*Client) GetCustomerReviewResponseForReview

func (c *Client) GetCustomerReviewResponseForReview(ctx context.Context, reviewID string) (*CustomerReviewResponseResponse, error)

GetCustomerReviewResponseForReview retrieves the response for a specific review.

func (*Client) GetCustomerReviewResponseRelationshipForReview

func (c *Client) GetCustomerReviewResponseRelationshipForReview(ctx context.Context, reviewID string) (*CustomerReviewResponseLinkageResponse, error)

GetCustomerReviewResponseRelationshipForReview retrieves the response linkage for a specific review.

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 retrieves a single device by ID.

func (*Client) GetDevices

func (c *Client) GetDevices(ctx context.Context, opts ...DevicesOption) (*DevicesResponse, error)

GetDevices retrieves the list of devices.

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 retrieves diagnostic signatures for a build.

func (*Client) GetEndUserLicenseAgreement

func (c *Client) GetEndUserLicenseAgreement(ctx context.Context, id string) (*EndUserLicenseAgreementResponse, error)

GetEndUserLicenseAgreement retrieves an EULA by ID.

func (*Client) GetEndUserLicenseAgreementForApp

func (c *Client) GetEndUserLicenseAgreementForApp(ctx context.Context, appID string) (*EndUserLicenseAgreementResponse, error)

GetEndUserLicenseAgreementForApp retrieves an EULA for a specific app.

func (*Client) GetEndUserLicenseAgreementTerritories

func (c *Client) GetEndUserLicenseAgreementTerritories(ctx context.Context, id string, opts ...EndUserLicenseAgreementTerritoriesOption) (*TerritoriesResponse, error)

GetEndUserLicenseAgreementTerritories retrieves territories for an EULA.

func (*Client) GetEndUserLicenseAgreementTerritoriesRelationships

func (c *Client) GetEndUserLicenseAgreementTerritoriesRelationships(ctx context.Context, id string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetEndUserLicenseAgreementTerritoriesRelationships retrieves territory linkages for an EULA.

func (*Client) GetFeedback

func (c *Client) GetFeedback(ctx context.Context, appID string, opts ...FeedbackOption) (*FeedbackResponse, error)

GetFeedback retrieves TestFlight feedback

func (*Client) GetGameCenterAchievement

func (c *Client) GetGameCenterAchievement(ctx context.Context, achievementID string) (*GameCenterAchievementResponse, error)

GetGameCenterAchievement retrieves a Game Center achievement by ID.

func (*Client) GetGameCenterAchievementGroupAchievement

func (c *Client) GetGameCenterAchievementGroupAchievement(ctx context.Context, achievementID string) (*GameCenterAchievementResponse, error)

GetGameCenterAchievementGroupAchievement retrieves the group achievement for an achievement.

func (*Client) GetGameCenterAchievementGroupAchievementRelationship

func (c *Client) GetGameCenterAchievementGroupAchievementRelationship(ctx context.Context, achievementID string) (*GameCenterAchievementGroupAchievementLinkageResponse, error)

GetGameCenterAchievementGroupAchievementRelationship retrieves the group achievement linkage for an achievement.

func (*Client) GetGameCenterAchievementImage

func (c *Client) GetGameCenterAchievementImage(ctx context.Context, imageID string) (*GameCenterAchievementImageResponse, error)

GetGameCenterAchievementImage retrieves a Game Center achievement image by ID.

func (*Client) GetGameCenterAchievementImageV2

func (c *Client) GetGameCenterAchievementImageV2(ctx context.Context, imageID string) (*GameCenterAchievementImageResponse, error)

GetGameCenterAchievementImageV2 retrieves a v2 achievement image by ID.

func (*Client) GetGameCenterAchievementLocalization

func (c *Client) GetGameCenterAchievementLocalization(ctx context.Context, localizationID string) (*GameCenterAchievementLocalizationResponse, error)

GetGameCenterAchievementLocalization retrieves a Game Center achievement localization by ID.

func (*Client) GetGameCenterAchievementLocalizationAchievement

func (c *Client) GetGameCenterAchievementLocalizationAchievement(ctx context.Context, localizationID string) (*GameCenterAchievementResponse, error)

GetGameCenterAchievementLocalizationAchievement retrieves the achievement for a localization.

func (*Client) GetGameCenterAchievementLocalizationAchievementRelationship

func (c *Client) GetGameCenterAchievementLocalizationAchievementRelationship(ctx context.Context, localizationID string) (*GameCenterAchievementLocalizationAchievementLinkageResponse, error)

GetGameCenterAchievementLocalizationAchievementRelationship retrieves the achievement linkage for a localization.

func (*Client) GetGameCenterAchievementLocalizationImage

func (c *Client) GetGameCenterAchievementLocalizationImage(ctx context.Context, localizationID string) (*GameCenterAchievementImageResponse, error)

GetGameCenterAchievementLocalizationImage retrieves the image for a localization.

func (*Client) GetGameCenterAchievementLocalizationImageRelationship

func (c *Client) GetGameCenterAchievementLocalizationImageRelationship(ctx context.Context, localizationID string) (*GameCenterAchievementLocalizationImageLinkageResponse, error)

GetGameCenterAchievementLocalizationImageRelationship retrieves the image linkage for a localization.

func (*Client) GetGameCenterAchievementLocalizationImageRelationshipV2

func (c *Client) GetGameCenterAchievementLocalizationImageRelationshipV2(ctx context.Context, localizationID string) (*GameCenterAchievementLocalizationV2ImageLinkageResponse, error)

GetGameCenterAchievementLocalizationImageRelationshipV2 retrieves the image linkage for a v2 achievement localization.

func (*Client) GetGameCenterAchievementLocalizationImageV2

func (c *Client) GetGameCenterAchievementLocalizationImageV2(ctx context.Context, localizationID string) (*GameCenterAchievementImageResponse, error)

GetGameCenterAchievementLocalizationImageV2 retrieves the image for a v2 achievement localization.

func (*Client) GetGameCenterAchievementLocalizationV2

func (c *Client) GetGameCenterAchievementLocalizationV2(ctx context.Context, localizationID string) (*GameCenterAchievementLocalizationResponse, error)

GetGameCenterAchievementLocalizationV2 retrieves a v2 achievement localization by ID.

func (*Client) GetGameCenterAchievementLocalizations

func (c *Client) GetGameCenterAchievementLocalizations(ctx context.Context, achievementID string, opts ...GCAchievementLocalizationsOption) (*GameCenterAchievementLocalizationsResponse, error)

GetGameCenterAchievementLocalizations retrieves the list of localizations for a Game Center achievement.

func (*Client) GetGameCenterAchievementLocalizationsRelationships

func (c *Client) GetGameCenterAchievementLocalizationsRelationships(ctx context.Context, achievementID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetGameCenterAchievementLocalizationsRelationships retrieves localization linkages for an achievement.

func (*Client) GetGameCenterAchievementRelease

func (c *Client) GetGameCenterAchievementRelease(ctx context.Context, releaseID string) (*GameCenterAchievementReleaseResponse, error)

GetGameCenterAchievementRelease retrieves an achievement release by ID.

func (*Client) GetGameCenterAchievementReleases

func (c *Client) GetGameCenterAchievementReleases(ctx context.Context, achievementID string, opts ...GCAchievementReleasesOption) (*GameCenterAchievementReleasesResponse, error)

GetGameCenterAchievementReleases retrieves the list of releases for a Game Center achievement.

func (*Client) GetGameCenterAchievementReleasesRelationships

func (c *Client) GetGameCenterAchievementReleasesRelationships(ctx context.Context, achievementID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetGameCenterAchievementReleasesRelationships retrieves release linkages for an achievement.

func (*Client) GetGameCenterAchievementV2

func (c *Client) GetGameCenterAchievementV2(ctx context.Context, achievementID string) (*GameCenterAchievementResponse, error)

GetGameCenterAchievementV2 retrieves a v2 Game Center achievement by ID.

func (*Client) GetGameCenterAchievementVersion

func (c *Client) GetGameCenterAchievementVersion(ctx context.Context, versionID string) (*GameCenterAchievementVersionResponse, error)

GetGameCenterAchievementVersion retrieves a v2 achievement version by ID.

func (*Client) GetGameCenterAchievementVersionLocalizations

func (c *Client) GetGameCenterAchievementVersionLocalizations(ctx context.Context, versionID string, opts ...GCAchievementLocalizationsOption) (*GameCenterAchievementLocalizationsResponse, error)

GetGameCenterAchievementVersionLocalizations retrieves localizations for a v2 achievement version.

func (*Client) GetGameCenterAchievementVersionLocalizationsRelationships

func (c *Client) GetGameCenterAchievementVersionLocalizationsRelationships(ctx context.Context, versionID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetGameCenterAchievementVersionLocalizationsRelationships retrieves localization linkages for a v2 achievement version.

func (*Client) GetGameCenterAchievementVersions

func (c *Client) GetGameCenterAchievementVersions(ctx context.Context, achievementID string, opts ...GCAchievementVersionsOption) (*GameCenterAchievementVersionsResponse, error)

GetGameCenterAchievementVersions retrieves versions for a v2 achievement.

func (*Client) GetGameCenterAchievementVersionsRelationshipsV2

func (c *Client) GetGameCenterAchievementVersionsRelationshipsV2(ctx context.Context, achievementID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetGameCenterAchievementVersionsRelationshipsV2 retrieves version linkages for a v2 achievement.

func (*Client) GetGameCenterAchievements

func (c *Client) GetGameCenterAchievements(ctx context.Context, gcDetailID string, opts ...GCAchievementsOption) (*GameCenterAchievementsResponse, error)

GetGameCenterAchievements retrieves the list of Game Center achievements for a Game Center detail.

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 retrieves the list of Game Center activities for a Game Center detail.

func (*Client) GetGameCenterActivity

func (c *Client) GetGameCenterActivity(ctx context.Context, activityID string) (*GameCenterActivityResponse, error)

GetGameCenterActivity retrieves a Game Center activity by ID.

func (*Client) GetGameCenterActivityImage

func (c *Client) GetGameCenterActivityImage(ctx context.Context, imageID string) (*GameCenterActivityImageResponse, error)

GetGameCenterActivityImage retrieves an activity image by ID.

func (*Client) GetGameCenterActivityLocalization

func (c *Client) GetGameCenterActivityLocalization(ctx context.Context, localizationID string) (*GameCenterActivityLocalizationResponse, error)

GetGameCenterActivityLocalization retrieves an activity localization by ID.

func (*Client) GetGameCenterActivityLocalizationImage

func (c *Client) GetGameCenterActivityLocalizationImage(ctx context.Context, localizationID string) (*GameCenterActivityImageResponse, error)

GetGameCenterActivityLocalizationImage retrieves the image for an activity localization.

func (*Client) GetGameCenterActivityLocalizationImageRelationship

func (c *Client) GetGameCenterActivityLocalizationImageRelationship(ctx context.Context, localizationID string) (*GameCenterActivityLocalizationImageLinkageResponse, error)

GetGameCenterActivityLocalizationImageRelationship retrieves the image linkage for an activity localization.

func (*Client) GetGameCenterActivityLocalizations

func (c *Client) GetGameCenterActivityLocalizations(ctx context.Context, versionID string, opts ...GCActivityLocalizationsOption) (*GameCenterActivityLocalizationsResponse, error)

GetGameCenterActivityLocalizations retrieves the list of localizations for an activity version.

func (*Client) GetGameCenterActivityVersion

func (c *Client) GetGameCenterActivityVersion(ctx context.Context, versionID string) (*GameCenterActivityVersionResponse, error)

GetGameCenterActivityVersion retrieves an activity version by ID.

func (*Client) GetGameCenterActivityVersionDefaultImage

func (c *Client) GetGameCenterActivityVersionDefaultImage(ctx context.Context, versionID string) (*GameCenterActivityImageResponse, error)

GetGameCenterActivityVersionDefaultImage retrieves the default image for an activity version.

func (*Client) GetGameCenterActivityVersionDefaultImageRelationship

func (c *Client) GetGameCenterActivityVersionDefaultImageRelationship(ctx context.Context, versionID string) (*GameCenterActivityVersionDefaultImageLinkageResponse, error)

GetGameCenterActivityVersionDefaultImageRelationship retrieves the default image linkage for an activity version.

func (*Client) GetGameCenterActivityVersionLocalizationsRelationships

func (c *Client) GetGameCenterActivityVersionLocalizationsRelationships(ctx context.Context, versionID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetGameCenterActivityVersionLocalizationsRelationships retrieves localization linkages for an activity version.

func (*Client) GetGameCenterActivityVersionRelease

func (c *Client) GetGameCenterActivityVersionRelease(ctx context.Context, releaseID string) (*GameCenterActivityVersionReleaseResponse, error)

GetGameCenterActivityVersionRelease retrieves an activity version release by ID.

func (*Client) GetGameCenterActivityVersionReleases

func (c *Client) GetGameCenterActivityVersionReleases(ctx context.Context, gcDetailID string, opts ...GCActivityVersionReleasesOption) (*GameCenterActivityVersionReleasesResponse, error)

GetGameCenterActivityVersionReleases retrieves activity releases for a Game Center detail.

func (*Client) GetGameCenterActivityVersions

func (c *Client) GetGameCenterActivityVersions(ctx context.Context, activityID string, opts ...GCActivityVersionsOption) (*GameCenterActivityVersionsResponse, error)

GetGameCenterActivityVersions retrieves the list of activity versions for an activity.

func (*Client) GetGameCenterActivityVersionsRelationships

func (c *Client) GetGameCenterActivityVersionsRelationships(ctx context.Context, activityID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetGameCenterActivityVersionsRelationships retrieves version linkages for an activity.

func (*Client) GetGameCenterAppVersion

func (c *Client) GetGameCenterAppVersion(ctx context.Context, appVersionID string) (*GameCenterAppVersionResponse, error)

GetGameCenterAppVersion retrieves a Game Center app version by ID.

func (*Client) GetGameCenterAppVersionAppStoreVersion

func (c *Client) GetGameCenterAppVersionAppStoreVersion(ctx context.Context, appVersionID string) (*AppStoreVersionResponse, error)

GetGameCenterAppVersionAppStoreVersion retrieves the related App Store version.

func (*Client) GetGameCenterAppVersionAppStoreVersionRelationship

func (c *Client) GetGameCenterAppVersionAppStoreVersionRelationship(ctx context.Context, appVersionID string) (*GameCenterAppVersionAppStoreVersionLinkageResponse, error)

GetGameCenterAppVersionAppStoreVersionRelationship retrieves the app store version linkage for a Game Center app version.

func (*Client) GetGameCenterAppVersionCompatibilityVersions

func (c *Client) GetGameCenterAppVersionCompatibilityVersions(ctx context.Context, appVersionID string, opts ...GCAppVersionsOption) (*GameCenterAppVersionsResponse, error)

GetGameCenterAppVersionCompatibilityVersions retrieves compatible Game Center app versions.

func (*Client) GetGameCenterAppVersionCompatibilityVersionsRelationships

func (c *Client) GetGameCenterAppVersionCompatibilityVersionsRelationships(ctx context.Context, appVersionID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetGameCenterAppVersionCompatibilityVersionsRelationships retrieves compatibility version linkages for a Game Center app version.

func (*Client) GetGameCenterAppVersions

func (c *Client) GetGameCenterAppVersions(ctx context.Context, opts ...GCAppVersionsOption) (*GameCenterAppVersionsResponse, error)

GetGameCenterAppVersions retrieves the list of Game Center app versions.

func (*Client) GetGameCenterChallenge

func (c *Client) GetGameCenterChallenge(ctx context.Context, challengeID string) (*GameCenterChallengeResponse, error)

GetGameCenterChallenge retrieves a Game Center challenge by ID.

func (*Client) GetGameCenterChallengeImage

func (c *Client) GetGameCenterChallengeImage(ctx context.Context, imageID string) (*GameCenterChallengeImageResponse, error)

GetGameCenterChallengeImage retrieves a challenge image by ID.

func (*Client) GetGameCenterChallengeLocalization

func (c *Client) GetGameCenterChallengeLocalization(ctx context.Context, localizationID string) (*GameCenterChallengeLocalizationResponse, error)

GetGameCenterChallengeLocalization retrieves a challenge localization by ID.

func (*Client) GetGameCenterChallengeLocalizationImage

func (c *Client) GetGameCenterChallengeLocalizationImage(ctx context.Context, localizationID string) (*GameCenterChallengeImageResponse, error)

GetGameCenterChallengeLocalizationImage retrieves the image for a challenge localization.

func (*Client) GetGameCenterChallengeLocalizationImageRelationship

func (c *Client) GetGameCenterChallengeLocalizationImageRelationship(ctx context.Context, localizationID string) (*GameCenterChallengeLocalizationImageLinkageResponse, error)

GetGameCenterChallengeLocalizationImageRelationship retrieves the image linkage for a challenge localization.

func (*Client) GetGameCenterChallengeLocalizations

func (c *Client) GetGameCenterChallengeLocalizations(ctx context.Context, versionID string, opts ...GCChallengeLocalizationsOption) (*GameCenterChallengeLocalizationsResponse, error)

GetGameCenterChallengeLocalizations retrieves the list of localizations for a challenge version.

func (*Client) GetGameCenterChallengeVersion

func (c *Client) GetGameCenterChallengeVersion(ctx context.Context, versionID string) (*GameCenterChallengeVersionResponse, error)

GetGameCenterChallengeVersion retrieves a challenge version by ID.

func (*Client) GetGameCenterChallengeVersionDefaultImage

func (c *Client) GetGameCenterChallengeVersionDefaultImage(ctx context.Context, versionID string) (*GameCenterChallengeImageResponse, error)

GetGameCenterChallengeVersionDefaultImage retrieves the default image for a challenge version.

func (*Client) GetGameCenterChallengeVersionDefaultImageRelationship

func (c *Client) GetGameCenterChallengeVersionDefaultImageRelationship(ctx context.Context, versionID string) (*GameCenterChallengeVersionDefaultImageLinkageResponse, error)

GetGameCenterChallengeVersionDefaultImageRelationship retrieves the default image linkage for a challenge version.

func (*Client) GetGameCenterChallengeVersionLocalizationsRelationships

func (c *Client) GetGameCenterChallengeVersionLocalizationsRelationships(ctx context.Context, versionID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetGameCenterChallengeVersionLocalizationsRelationships retrieves localization linkages for a challenge version.

func (*Client) GetGameCenterChallengeVersionRelease

func (c *Client) GetGameCenterChallengeVersionRelease(ctx context.Context, releaseID string) (*GameCenterChallengeVersionReleaseResponse, error)

GetGameCenterChallengeVersionRelease retrieves a challenge version release by ID.

func (*Client) GetGameCenterChallengeVersionReleases

func (c *Client) GetGameCenterChallengeVersionReleases(ctx context.Context, gcDetailID string, opts ...GCChallengeVersionReleasesOption) (*GameCenterChallengeVersionReleasesResponse, error)

GetGameCenterChallengeVersionReleases retrieves challenge releases for a Game Center detail.

func (*Client) GetGameCenterChallengeVersions

func (c *Client) GetGameCenterChallengeVersions(ctx context.Context, challengeID string, opts ...GCChallengeVersionsOption) (*GameCenterChallengeVersionsResponse, error)

GetGameCenterChallengeVersions retrieves the list of challenge versions for a challenge.

func (*Client) GetGameCenterChallengeVersionsRelationships

func (c *Client) GetGameCenterChallengeVersionsRelationships(ctx context.Context, challengeID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetGameCenterChallengeVersionsRelationships retrieves version linkages for a challenge.

func (*Client) GetGameCenterChallenges

func (c *Client) GetGameCenterChallenges(ctx context.Context, gcDetailID string, opts ...GCChallengesOption) (*GameCenterChallengesResponse, error)

GetGameCenterChallenges retrieves the list of Game Center challenges for a Game Center detail.

func (*Client) GetGameCenterDetail

func (c *Client) GetGameCenterDetail(ctx context.Context, detailID string) (*GameCenterDetailResponse, error)

GetGameCenterDetail retrieves a Game Center detail by ID.

func (*Client) GetGameCenterDetailAchievementReleasesRelationships

func (c *Client) GetGameCenterDetailAchievementReleasesRelationships(ctx context.Context, detailID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetGameCenterDetailAchievementReleasesRelationships retrieves achievement release linkages for a Game Center detail.

func (*Client) GetGameCenterDetailActivityReleasesRelationships

func (c *Client) GetGameCenterDetailActivityReleasesRelationships(ctx context.Context, detailID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetGameCenterDetailActivityReleasesRelationships retrieves activity release linkages for a Game Center detail.

func (*Client) GetGameCenterDetailChallengeReleasesRelationships

func (c *Client) GetGameCenterDetailChallengeReleasesRelationships(ctx context.Context, detailID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetGameCenterDetailChallengeReleasesRelationships retrieves challenge release linkages for a Game Center detail.

func (*Client) GetGameCenterDetailGameCenterAchievementsRelationships

func (c *Client) GetGameCenterDetailGameCenterAchievementsRelationships(ctx context.Context, detailID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetGameCenterDetailGameCenterAchievementsRelationships retrieves achievement linkages for a Game Center detail.

func (*Client) GetGameCenterDetailGameCenterAchievementsV2Relationships

func (c *Client) GetGameCenterDetailGameCenterAchievementsV2Relationships(ctx context.Context, detailID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetGameCenterDetailGameCenterAchievementsV2Relationships retrieves v2 achievement linkages for a Game Center detail.

func (*Client) GetGameCenterDetailGameCenterActivitiesRelationships

func (c *Client) GetGameCenterDetailGameCenterActivitiesRelationships(ctx context.Context, detailID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetGameCenterDetailGameCenterActivitiesRelationships retrieves activity linkages for a Game Center detail.

func (*Client) GetGameCenterDetailGameCenterAppVersions

func (c *Client) GetGameCenterDetailGameCenterAppVersions(ctx context.Context, detailID string, opts ...GCAppVersionsOption) (*GameCenterAppVersionsResponse, error)

GetGameCenterDetailGameCenterAppVersions retrieves Game Center app versions for a detail.

func (*Client) GetGameCenterDetailGameCenterAppVersionsRelationships

func (c *Client) GetGameCenterDetailGameCenterAppVersionsRelationships(ctx context.Context, detailID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetGameCenterDetailGameCenterAppVersionsRelationships retrieves app version linkages for a Game Center detail.

func (*Client) GetGameCenterDetailGameCenterChallengesRelationships

func (c *Client) GetGameCenterDetailGameCenterChallengesRelationships(ctx context.Context, detailID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetGameCenterDetailGameCenterChallengesRelationships retrieves challenge linkages for a Game Center detail.

func (*Client) GetGameCenterDetailGameCenterGroup

func (c *Client) GetGameCenterDetailGameCenterGroup(ctx context.Context, detailID string) (*GameCenterGroupResponse, error)

GetGameCenterDetailGameCenterGroup retrieves the related Game Center group.

func (*Client) GetGameCenterDetailGameCenterGroupRelationship

func (c *Client) GetGameCenterDetailGameCenterGroupRelationship(ctx context.Context, detailID string) (*GameCenterDetailGameCenterGroupLinkageResponse, error)

GetGameCenterDetailGameCenterGroupRelationship retrieves the group linkage for a Game Center detail.

func (*Client) GetGameCenterDetailGameCenterLeaderboardSetsRelationships

func (c *Client) GetGameCenterDetailGameCenterLeaderboardSetsRelationships(ctx context.Context, detailID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetGameCenterDetailGameCenterLeaderboardSetsRelationships retrieves leaderboard set linkages for a Game Center detail.

func (*Client) GetGameCenterDetailGameCenterLeaderboardSetsV2Relationships

func (c *Client) GetGameCenterDetailGameCenterLeaderboardSetsV2Relationships(ctx context.Context, detailID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetGameCenterDetailGameCenterLeaderboardSetsV2Relationships retrieves v2 leaderboard set linkages for a Game Center detail.

func (*Client) GetGameCenterDetailGameCenterLeaderboardsRelationships

func (c *Client) GetGameCenterDetailGameCenterLeaderboardsRelationships(ctx context.Context, detailID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetGameCenterDetailGameCenterLeaderboardsRelationships retrieves leaderboard linkages for a Game Center detail.

func (*Client) GetGameCenterDetailGameCenterLeaderboardsV2Relationships

func (c *Client) GetGameCenterDetailGameCenterLeaderboardsV2Relationships(ctx context.Context, detailID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetGameCenterDetailGameCenterLeaderboardsV2Relationships retrieves v2 leaderboard linkages for a Game Center detail.

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) GetGameCenterDetailLeaderboardReleasesRelationships

func (c *Client) GetGameCenterDetailLeaderboardReleasesRelationships(ctx context.Context, detailID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetGameCenterDetailLeaderboardReleasesRelationships retrieves leaderboard release linkages for a Game Center detail.

func (*Client) GetGameCenterDetailLeaderboardSetReleasesRelationships

func (c *Client) GetGameCenterDetailLeaderboardSetReleasesRelationships(ctx context.Context, detailID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetGameCenterDetailLeaderboardSetReleasesRelationships retrieves leaderboard set release linkages for a Game Center detail.

func (*Client) GetGameCenterDetails

func (c *Client) GetGameCenterDetails(ctx context.Context, opts ...GCDetailsOption) (*GameCenterDetailsResponse, error)

GetGameCenterDetails retrieves the list of Game Center details.

func (*Client) GetGameCenterDetailsAchievementReleases

func (c *Client) GetGameCenterDetailsAchievementReleases(ctx context.Context, gcDetailID string, opts ...GCAchievementReleasesOption) (*GameCenterAchievementReleasesResponse, error)

GetGameCenterDetailsAchievementReleases retrieves achievement releases for a Game Center detail.

func (*Client) GetGameCenterDetailsAchievementsV2

func (c *Client) GetGameCenterDetailsAchievementsV2(ctx context.Context, gcDetailID string, opts ...GCAchievementsOption) (*GameCenterAchievementsResponse, error)

GetGameCenterDetailsAchievementsV2 retrieves v2 achievements for a Game Center detail.

func (*Client) GetGameCenterDetailsClassicMatchmakingRequests

func (c *Client) GetGameCenterDetailsClassicMatchmakingRequests(ctx context.Context, gcDetailID string, opts ...GCMatchmakingMetricsOption) (*GameCenterMetricsResponse, error)

GetGameCenterDetailsClassicMatchmakingRequests retrieves classic matchmaking request metrics.

func (*Client) GetGameCenterDetailsLeaderboardReleases

func (c *Client) GetGameCenterDetailsLeaderboardReleases(ctx context.Context, gcDetailID string, opts ...GCLeaderboardReleasesOption) (*GameCenterLeaderboardReleasesResponse, error)

GetGameCenterDetailsLeaderboardReleases retrieves leaderboard releases for a Game Center detail.

func (*Client) GetGameCenterDetailsLeaderboardSetReleases

func (c *Client) GetGameCenterDetailsLeaderboardSetReleases(ctx context.Context, gcDetailID string, opts ...GCLeaderboardSetReleasesOption) (*GameCenterLeaderboardSetReleasesResponse, error)

GetGameCenterDetailsLeaderboardSetReleases retrieves leaderboard set releases for a Game Center detail.

func (*Client) GetGameCenterDetailsLeaderboardSetsV2

func (c *Client) GetGameCenterDetailsLeaderboardSetsV2(ctx context.Context, gcDetailID string, opts ...GCLeaderboardSetsOption) (*GameCenterLeaderboardSetsResponse, error)

GetGameCenterDetailsLeaderboardSetsV2 retrieves v2 leaderboard sets for a Game Center detail.

func (*Client) GetGameCenterDetailsLeaderboardsV2

func (c *Client) GetGameCenterDetailsLeaderboardsV2(ctx context.Context, gcDetailID string, opts ...GCLeaderboardsOption) (*GameCenterLeaderboardsResponse, error)

GetGameCenterDetailsLeaderboardsV2 retrieves v2 leaderboards for a Game Center detail.

func (*Client) GetGameCenterDetailsRuleBasedMatchmakingRequests

func (c *Client) GetGameCenterDetailsRuleBasedMatchmakingRequests(ctx context.Context, gcDetailID string, opts ...GCMatchmakingMetricsOption) (*GameCenterMetricsResponse, error)

GetGameCenterDetailsRuleBasedMatchmakingRequests retrieves rule-based matchmaking request metrics.

func (*Client) GetGameCenterEnabledVersionCompatibleVersions

func (c *Client) GetGameCenterEnabledVersionCompatibleVersions(ctx context.Context, enabledVersionID string, opts ...GCEnabledVersionsOption) (*GameCenterEnabledVersionsResponse, error)

GetGameCenterEnabledVersionCompatibleVersions retrieves compatible enabled versions.

func (*Client) GetGameCenterEnabledVersionCompatibleVersionsRelationships

func (c *Client) GetGameCenterEnabledVersionCompatibleVersionsRelationships(ctx context.Context, enabledVersionID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetGameCenterEnabledVersionCompatibleVersionsRelationships retrieves compatible enabled version linkages.

func (*Client) GetGameCenterGroup

func (c *Client) GetGameCenterGroup(ctx context.Context, groupID string) (*GameCenterGroupResponse, error)

GetGameCenterGroup retrieves a Game Center group by ID.

func (*Client) GetGameCenterGroupAchievements

func (c *Client) GetGameCenterGroupAchievements(ctx context.Context, groupID string, opts ...GCAchievementsOption) (*GameCenterAchievementsResponse, error)

GetGameCenterGroupAchievements retrieves the group's achievements.

func (*Client) GetGameCenterGroupAchievementsV2

func (c *Client) GetGameCenterGroupAchievementsV2(ctx context.Context, groupID string, opts ...GCAchievementsOption) (*GameCenterAchievementsResponse, error)

GetGameCenterGroupAchievementsV2 retrieves the group's v2 achievements.

func (*Client) GetGameCenterGroupActivities

func (c *Client) GetGameCenterGroupActivities(ctx context.Context, groupID string, opts ...GCActivitiesOption) (*GameCenterActivitiesResponse, error)

GetGameCenterGroupActivities retrieves the group's activities.

func (*Client) GetGameCenterGroupChallenges

func (c *Client) GetGameCenterGroupChallenges(ctx context.Context, groupID string, opts ...GCChallengesOption) (*GameCenterChallengesResponse, error)

GetGameCenterGroupChallenges retrieves the group's challenges.

func (*Client) GetGameCenterGroupGameCenterAchievementsRelationships

func (c *Client) GetGameCenterGroupGameCenterAchievementsRelationships(ctx context.Context, groupID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetGameCenterGroupGameCenterAchievementsRelationships retrieves achievement linkages for a Game Center group.

func (*Client) GetGameCenterGroupGameCenterAchievementsV2Relationships

func (c *Client) GetGameCenterGroupGameCenterAchievementsV2Relationships(ctx context.Context, groupID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetGameCenterGroupGameCenterAchievementsV2Relationships retrieves v2 achievement linkages for a Game Center group.

func (*Client) GetGameCenterGroupGameCenterActivitiesRelationships

func (c *Client) GetGameCenterGroupGameCenterActivitiesRelationships(ctx context.Context, groupID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetGameCenterGroupGameCenterActivitiesRelationships retrieves activity linkages for a Game Center group.

func (*Client) GetGameCenterGroupGameCenterChallengesRelationships

func (c *Client) GetGameCenterGroupGameCenterChallengesRelationships(ctx context.Context, groupID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetGameCenterGroupGameCenterChallengesRelationships retrieves challenge linkages for a Game Center group.

func (*Client) GetGameCenterGroupGameCenterDetails

func (c *Client) GetGameCenterGroupGameCenterDetails(ctx context.Context, groupID string, opts ...GCDetailsOption) (*GameCenterDetailsResponse, error)

GetGameCenterGroupGameCenterDetails retrieves Game Center details for a group.

func (*Client) GetGameCenterGroupGameCenterDetailsRelationships

func (c *Client) GetGameCenterGroupGameCenterDetailsRelationships(ctx context.Context, groupID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetGameCenterGroupGameCenterDetailsRelationships retrieves detail linkages for a Game Center group.

func (*Client) GetGameCenterGroupGameCenterLeaderboardSetsRelationships

func (c *Client) GetGameCenterGroupGameCenterLeaderboardSetsRelationships(ctx context.Context, groupID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetGameCenterGroupGameCenterLeaderboardSetsRelationships retrieves leaderboard set linkages for a Game Center group.

func (*Client) GetGameCenterGroupGameCenterLeaderboardSetsV2Relationships

func (c *Client) GetGameCenterGroupGameCenterLeaderboardSetsV2Relationships(ctx context.Context, groupID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetGameCenterGroupGameCenterLeaderboardSetsV2Relationships retrieves v2 leaderboard set linkages for a Game Center group.

func (*Client) GetGameCenterGroupGameCenterLeaderboardsRelationships

func (c *Client) GetGameCenterGroupGameCenterLeaderboardsRelationships(ctx context.Context, groupID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetGameCenterGroupGameCenterLeaderboardsRelationships retrieves leaderboard linkages for a Game Center group.

func (*Client) GetGameCenterGroupGameCenterLeaderboardsV2Relationships

func (c *Client) GetGameCenterGroupGameCenterLeaderboardsV2Relationships(ctx context.Context, groupID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetGameCenterGroupGameCenterLeaderboardsV2Relationships retrieves v2 leaderboard linkages for a Game Center group.

func (*Client) GetGameCenterGroupLeaderboardSets

func (c *Client) GetGameCenterGroupLeaderboardSets(ctx context.Context, groupID string, opts ...GCLeaderboardSetsOption) (*GameCenterLeaderboardSetsResponse, error)

GetGameCenterGroupLeaderboardSets retrieves the group's leaderboard sets.

func (*Client) GetGameCenterGroupLeaderboardSetsV2

func (c *Client) GetGameCenterGroupLeaderboardSetsV2(ctx context.Context, groupID string, opts ...GCLeaderboardSetsOption) (*GameCenterLeaderboardSetsResponse, error)

GetGameCenterGroupLeaderboardSetsV2 retrieves the group's v2 leaderboard sets.

func (*Client) GetGameCenterGroupLeaderboards

func (c *Client) GetGameCenterGroupLeaderboards(ctx context.Context, groupID string, opts ...GCLeaderboardsOption) (*GameCenterLeaderboardsResponse, error)

GetGameCenterGroupLeaderboards retrieves the group's leaderboards.

func (*Client) GetGameCenterGroupLeaderboardsV2

func (c *Client) GetGameCenterGroupLeaderboardsV2(ctx context.Context, groupID string, opts ...GCLeaderboardsOption) (*GameCenterLeaderboardsResponse, error)

GetGameCenterGroupLeaderboardsV2 retrieves the group's v2 leaderboards.

func (*Client) GetGameCenterGroups

func (c *Client) GetGameCenterGroups(ctx context.Context, opts ...GCGroupsOption) (*GameCenterGroupsResponse, error)

GetGameCenterGroups retrieves the list of Game Center groups.

func (*Client) GetGameCenterLeaderboard

func (c *Client) GetGameCenterLeaderboard(ctx context.Context, leaderboardID string) (*GameCenterLeaderboardResponse, error)

GetGameCenterLeaderboard retrieves a Game Center leaderboard by ID.

func (*Client) GetGameCenterLeaderboardGroupLeaderboard

func (c *Client) GetGameCenterLeaderboardGroupLeaderboard(ctx context.Context, leaderboardID string) (*GameCenterLeaderboardResponse, error)

GetGameCenterLeaderboardGroupLeaderboard retrieves the group leaderboard for a leaderboard.

func (*Client) GetGameCenterLeaderboardGroupLeaderboardRelationship

func (c *Client) GetGameCenterLeaderboardGroupLeaderboardRelationship(ctx context.Context, leaderboardID string) (*GameCenterLeaderboardGroupLeaderboardLinkageResponse, error)

GetGameCenterLeaderboardGroupLeaderboardRelationship retrieves the group leaderboard linkage for a leaderboard.

func (*Client) GetGameCenterLeaderboardImage

func (c *Client) GetGameCenterLeaderboardImage(ctx context.Context, imageID string) (*GameCenterLeaderboardImageResponse, error)

GetGameCenterLeaderboardImage retrieves a Game Center leaderboard image by ID.

func (*Client) GetGameCenterLeaderboardImageV2

func (c *Client) GetGameCenterLeaderboardImageV2(ctx context.Context, imageID string) (*GameCenterLeaderboardImageResponse, error)

GetGameCenterLeaderboardImageV2 retrieves a v2 leaderboard image by ID.

func (*Client) GetGameCenterLeaderboardLocalization

func (c *Client) GetGameCenterLeaderboardLocalization(ctx context.Context, localizationID string) (*GameCenterLeaderboardLocalizationResponse, error)

GetGameCenterLeaderboardLocalization retrieves a Game Center leaderboard localization by ID.

func (*Client) GetGameCenterLeaderboardLocalizationImage

func (c *Client) GetGameCenterLeaderboardLocalizationImage(ctx context.Context, localizationID string) (*GameCenterLeaderboardImageResponse, error)

GetGameCenterLeaderboardLocalizationImage retrieves the image for a leaderboard localization.

func (*Client) GetGameCenterLeaderboardLocalizationImageRelationship

func (c *Client) GetGameCenterLeaderboardLocalizationImageRelationship(ctx context.Context, localizationID string) (*GameCenterLeaderboardLocalizationImageLinkageResponse, error)

GetGameCenterLeaderboardLocalizationImageRelationship retrieves the image linkage for a leaderboard localization.

func (*Client) GetGameCenterLeaderboardLocalizationImageRelationshipV2

func (c *Client) GetGameCenterLeaderboardLocalizationImageRelationshipV2(ctx context.Context, localizationID string) (*GameCenterLeaderboardLocalizationV2ImageLinkageResponse, error)

GetGameCenterLeaderboardLocalizationImageRelationshipV2 retrieves the image linkage for a v2 leaderboard localization.

func (*Client) GetGameCenterLeaderboardLocalizationImageV2

func (c *Client) GetGameCenterLeaderboardLocalizationImageV2(ctx context.Context, localizationID string) (*GameCenterLeaderboardImageResponse, error)

GetGameCenterLeaderboardLocalizationImageV2 retrieves the image for a v2 leaderboard localization.

func (*Client) GetGameCenterLeaderboardLocalizationV2

func (c *Client) GetGameCenterLeaderboardLocalizationV2(ctx context.Context, localizationID string) (*GameCenterLeaderboardLocalizationResponse, error)

GetGameCenterLeaderboardLocalizationV2 retrieves a v2 leaderboard localization by ID.

func (*Client) GetGameCenterLeaderboardLocalizations

func (c *Client) GetGameCenterLeaderboardLocalizations(ctx context.Context, leaderboardID string, opts ...GCLeaderboardLocalizationsOption) (*GameCenterLeaderboardLocalizationsResponse, error)

GetGameCenterLeaderboardLocalizations retrieves the list of localizations for a Game Center leaderboard.

func (*Client) GetGameCenterLeaderboardLocalizationsRelationships

func (c *Client) GetGameCenterLeaderboardLocalizationsRelationships(ctx context.Context, leaderboardID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetGameCenterLeaderboardLocalizationsRelationships retrieves localization linkages for a leaderboard.

func (*Client) GetGameCenterLeaderboardRelease

func (c *Client) GetGameCenterLeaderboardRelease(ctx context.Context, releaseID string) (*GameCenterLeaderboardReleaseResponse, error)

GetGameCenterLeaderboardRelease retrieves a leaderboard release by ID.

func (*Client) GetGameCenterLeaderboardReleases

func (c *Client) GetGameCenterLeaderboardReleases(ctx context.Context, leaderboardID string, opts ...GCLeaderboardReleasesOption) (*GameCenterLeaderboardReleasesResponse, error)

GetGameCenterLeaderboardReleases retrieves the list of releases for a Game Center leaderboard.

func (*Client) GetGameCenterLeaderboardReleasesRelationships

func (c *Client) GetGameCenterLeaderboardReleasesRelationships(ctx context.Context, leaderboardID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetGameCenterLeaderboardReleasesRelationships retrieves release linkages for a leaderboard.

func (*Client) GetGameCenterLeaderboardSet

func (c *Client) GetGameCenterLeaderboardSet(ctx context.Context, setID string) (*GameCenterLeaderboardSetResponse, error)

GetGameCenterLeaderboardSet retrieves a Game Center leaderboard set by ID.

func (*Client) GetGameCenterLeaderboardSetGroupLeaderboardSet

func (c *Client) GetGameCenterLeaderboardSetGroupLeaderboardSet(ctx context.Context, setID string) (*GameCenterLeaderboardSetResponse, error)

GetGameCenterLeaderboardSetGroupLeaderboardSet retrieves the group leaderboard set for a leaderboard set.

func (*Client) GetGameCenterLeaderboardSetGroupLeaderboardSetRelationship

func (c *Client) GetGameCenterLeaderboardSetGroupLeaderboardSetRelationship(ctx context.Context, setID string) (*GameCenterLeaderboardSetGroupLeaderboardSetLinkageResponse, error)

GetGameCenterLeaderboardSetGroupLeaderboardSetRelationship retrieves the group leaderboard set linkage for a leaderboard set.

func (*Client) GetGameCenterLeaderboardSetImage

func (c *Client) GetGameCenterLeaderboardSetImage(ctx context.Context, imageID string) (*GameCenterLeaderboardSetImageResponse, error)

GetGameCenterLeaderboardSetImage retrieves a Game Center leaderboard set image by ID.

func (*Client) GetGameCenterLeaderboardSetImageV2

func (c *Client) GetGameCenterLeaderboardSetImageV2(ctx context.Context, imageID string) (*GameCenterLeaderboardSetImageResponse, error)

GetGameCenterLeaderboardSetImageV2 retrieves a v2 leaderboard set image by ID.

func (*Client) GetGameCenterLeaderboardSetLocalization

func (c *Client) GetGameCenterLeaderboardSetLocalization(ctx context.Context, localizationID string) (*GameCenterLeaderboardSetLocalizationResponse, error)

GetGameCenterLeaderboardSetLocalization retrieves a Game Center leaderboard set localization by ID.

func (*Client) GetGameCenterLeaderboardSetLocalizationImage

func (c *Client) GetGameCenterLeaderboardSetLocalizationImage(ctx context.Context, localizationID string) (*GameCenterLeaderboardSetImageResponse, error)

GetGameCenterLeaderboardSetLocalizationImage retrieves the image for a leaderboard set localization.

func (*Client) GetGameCenterLeaderboardSetLocalizationImageRelationship

func (c *Client) GetGameCenterLeaderboardSetLocalizationImageRelationship(ctx context.Context, localizationID string) (*GameCenterLeaderboardSetLocalizationImageLinkageResponse, error)

GetGameCenterLeaderboardSetLocalizationImageRelationship retrieves image linkage for a leaderboard set localization.

func (*Client) GetGameCenterLeaderboardSetLocalizationImageRelationshipV2

func (c *Client) GetGameCenterLeaderboardSetLocalizationImageRelationshipV2(ctx context.Context, localizationID string) (*GameCenterLeaderboardSetLocalizationV2ImageLinkageResponse, error)

GetGameCenterLeaderboardSetLocalizationImageRelationshipV2 retrieves the image linkage for a v2 leaderboard set localization.

func (*Client) GetGameCenterLeaderboardSetLocalizationImageV2

func (c *Client) GetGameCenterLeaderboardSetLocalizationImageV2(ctx context.Context, localizationID string) (*GameCenterLeaderboardSetImageResponse, error)

GetGameCenterLeaderboardSetLocalizationImageV2 retrieves the image for a v2 leaderboard set localization.

func (*Client) GetGameCenterLeaderboardSetLocalizationV2

func (c *Client) GetGameCenterLeaderboardSetLocalizationV2(ctx context.Context, localizationID string) (*GameCenterLeaderboardSetLocalizationResponse, error)

GetGameCenterLeaderboardSetLocalizationV2 retrieves a v2 leaderboard set localization by ID.

func (*Client) GetGameCenterLeaderboardSetLocalizations

func (c *Client) GetGameCenterLeaderboardSetLocalizations(ctx context.Context, setID string, opts ...GCLeaderboardSetLocalizationsOption) (*GameCenterLeaderboardSetLocalizationsResponse, error)

GetGameCenterLeaderboardSetLocalizations retrieves the list of localizations for a Game Center leaderboard set.

func (*Client) GetGameCenterLeaderboardSetLocalizationsRelationships

func (c *Client) GetGameCenterLeaderboardSetLocalizationsRelationships(ctx context.Context, setID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetGameCenterLeaderboardSetLocalizationsRelationships retrieves localization linkages for a leaderboard set.

func (*Client) GetGameCenterLeaderboardSetMemberLocalization

func (c *Client) GetGameCenterLeaderboardSetMemberLocalization(ctx context.Context, localizationID string) (*GameCenterLeaderboardSetMemberLocalizationResponse, error)

GetGameCenterLeaderboardSetMemberLocalization retrieves a leaderboard set member localization by ID.

func (*Client) GetGameCenterLeaderboardSetMemberLocalizationLeaderboard

func (c *Client) GetGameCenterLeaderboardSetMemberLocalizationLeaderboard(ctx context.Context, localizationID string) (*GameCenterLeaderboardResponse, error)

GetGameCenterLeaderboardSetMemberLocalizationLeaderboard retrieves the leaderboard for a member localization.

func (*Client) GetGameCenterLeaderboardSetMemberLocalizationLeaderboardRelationship

func (c *Client) GetGameCenterLeaderboardSetMemberLocalizationLeaderboardRelationship(ctx context.Context, localizationID string) (*GameCenterLeaderboardSetMemberLocalizationLeaderboardLinkageResponse, error)

GetGameCenterLeaderboardSetMemberLocalizationLeaderboardRelationship retrieves the leaderboard linkage for a member localization.

func (*Client) GetGameCenterLeaderboardSetMemberLocalizationLeaderboardSet

func (c *Client) GetGameCenterLeaderboardSetMemberLocalizationLeaderboardSet(ctx context.Context, localizationID string) (*GameCenterLeaderboardSetResponse, error)

GetGameCenterLeaderboardSetMemberLocalizationLeaderboardSet retrieves the leaderboard set for a member localization.

func (*Client) GetGameCenterLeaderboardSetMemberLocalizationLeaderboardSetRelationship

func (c *Client) GetGameCenterLeaderboardSetMemberLocalizationLeaderboardSetRelationship(ctx context.Context, localizationID string) (*GameCenterLeaderboardSetMemberLocalizationLeaderboardSetLinkageResponse, error)

GetGameCenterLeaderboardSetMemberLocalizationLeaderboardSetRelationship retrieves the leaderboard set linkage for a member localization.

func (*Client) GetGameCenterLeaderboardSetMemberLocalizations

func (c *Client) GetGameCenterLeaderboardSetMemberLocalizations(ctx context.Context, opts ...GCLeaderboardSetMemberLocalizationsOption) (*GameCenterLeaderboardSetMemberLocalizationsResponse, error)

GetGameCenterLeaderboardSetMemberLocalizations retrieves leaderboard set member localizations.

func (*Client) GetGameCenterLeaderboardSetMembers

func (c *Client) GetGameCenterLeaderboardSetMembers(ctx context.Context, setID string, opts ...GCLeaderboardSetMembersOption) (*GameCenterLeaderboardsResponse, error)

GetGameCenterLeaderboardSetMembers retrieves the leaderboards in a leaderboard set.

func (*Client) GetGameCenterLeaderboardSetMembersRelationships

func (c *Client) GetGameCenterLeaderboardSetMembersRelationships(ctx context.Context, setID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetGameCenterLeaderboardSetMembersRelationships retrieves leaderboard linkages for a leaderboard set.

func (*Client) GetGameCenterLeaderboardSetMembersRelationshipsV2

func (c *Client) GetGameCenterLeaderboardSetMembersRelationshipsV2(ctx context.Context, setID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetGameCenterLeaderboardSetMembersRelationshipsV2 retrieves leaderboard linkages for a v2 leaderboard set.

func (*Client) GetGameCenterLeaderboardSetMembersV2

func (c *Client) GetGameCenterLeaderboardSetMembersV2(ctx context.Context, setID string, opts ...GCLeaderboardSetMembersOption) (*GameCenterLeaderboardsResponse, error)

GetGameCenterLeaderboardSetMembersV2 retrieves the leaderboards in a v2 leaderboard set.

func (*Client) GetGameCenterLeaderboardSetRelease

func (c *Client) GetGameCenterLeaderboardSetRelease(ctx context.Context, releaseID string) (*GameCenterLeaderboardSetReleaseResponse, error)

GetGameCenterLeaderboardSetRelease retrieves a leaderboard set release by ID.

func (*Client) GetGameCenterLeaderboardSetReleases

func (c *Client) GetGameCenterLeaderboardSetReleases(ctx context.Context, setID string, opts ...GCLeaderboardSetReleasesOption) (*GameCenterLeaderboardSetReleasesResponse, error)

GetGameCenterLeaderboardSetReleases retrieves the list of releases for a Game Center leaderboard set.

func (*Client) GetGameCenterLeaderboardSetReleasesRelationships

func (c *Client) GetGameCenterLeaderboardSetReleasesRelationships(ctx context.Context, setID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetGameCenterLeaderboardSetReleasesRelationships retrieves release linkages for a leaderboard set.

func (*Client) GetGameCenterLeaderboardSetV2

func (c *Client) GetGameCenterLeaderboardSetV2(ctx context.Context, setID string) (*GameCenterLeaderboardSetResponse, error)

GetGameCenterLeaderboardSetV2 retrieves a v2 leaderboard set by ID.

func (*Client) GetGameCenterLeaderboardSetVersion

func (c *Client) GetGameCenterLeaderboardSetVersion(ctx context.Context, versionID string) (*GameCenterLeaderboardSetVersionResponse, error)

GetGameCenterLeaderboardSetVersion retrieves a v2 leaderboard set version by ID.

func (*Client) GetGameCenterLeaderboardSetVersionLocalizations

func (c *Client) GetGameCenterLeaderboardSetVersionLocalizations(ctx context.Context, versionID string, opts ...GCLeaderboardSetLocalizationsOption) (*GameCenterLeaderboardSetLocalizationsResponse, error)

GetGameCenterLeaderboardSetVersionLocalizations retrieves localizations for a v2 leaderboard set version.

func (*Client) GetGameCenterLeaderboardSetVersionLocalizationsRelationships

func (c *Client) GetGameCenterLeaderboardSetVersionLocalizationsRelationships(ctx context.Context, versionID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetGameCenterLeaderboardSetVersionLocalizationsRelationships retrieves localization linkages for a v2 leaderboard set version.

func (*Client) GetGameCenterLeaderboardSetVersions

func (c *Client) GetGameCenterLeaderboardSetVersions(ctx context.Context, setID string, opts ...GCLeaderboardSetVersionsOption) (*GameCenterLeaderboardSetVersionsResponse, error)

GetGameCenterLeaderboardSetVersions retrieves versions for a v2 leaderboard set.

func (*Client) GetGameCenterLeaderboardSetVersionsRelationships

func (c *Client) GetGameCenterLeaderboardSetVersionsRelationships(ctx context.Context, setID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetGameCenterLeaderboardSetVersionsRelationships retrieves version linkages for a v2 leaderboard set.

func (*Client) GetGameCenterLeaderboardSets

func (c *Client) GetGameCenterLeaderboardSets(ctx context.Context, gcDetailID string, opts ...GCLeaderboardSetsOption) (*GameCenterLeaderboardSetsResponse, error)

GetGameCenterLeaderboardSets retrieves the list of Game Center leaderboard sets for a Game Center detail.

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 retrieves a v2 Game Center leaderboard by ID.

func (*Client) GetGameCenterLeaderboardVersion

func (c *Client) GetGameCenterLeaderboardVersion(ctx context.Context, versionID string) (*GameCenterLeaderboardVersionResponse, error)

GetGameCenterLeaderboardVersion retrieves a v2 leaderboard version by ID.

func (*Client) GetGameCenterLeaderboardVersionLocalizations

func (c *Client) GetGameCenterLeaderboardVersionLocalizations(ctx context.Context, versionID string, opts ...GCLeaderboardLocalizationsOption) (*GameCenterLeaderboardLocalizationsResponse, error)

GetGameCenterLeaderboardVersionLocalizations retrieves localizations for a v2 leaderboard version.

func (*Client) GetGameCenterLeaderboardVersionLocalizationsRelationships

func (c *Client) GetGameCenterLeaderboardVersionLocalizationsRelationships(ctx context.Context, versionID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetGameCenterLeaderboardVersionLocalizationsRelationships retrieves localization linkages for a v2 leaderboard version.

func (*Client) GetGameCenterLeaderboardVersions

func (c *Client) GetGameCenterLeaderboardVersions(ctx context.Context, leaderboardID string, opts ...GCLeaderboardVersionsOption) (*GameCenterLeaderboardVersionsResponse, error)

GetGameCenterLeaderboardVersions retrieves versions for a v2 leaderboard.

func (*Client) GetGameCenterLeaderboardVersionsRelationships

func (c *Client) GetGameCenterLeaderboardVersionsRelationships(ctx context.Context, leaderboardID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetGameCenterLeaderboardVersionsRelationships retrieves version linkages for a v2 leaderboard.

func (*Client) GetGameCenterLeaderboards

func (c *Client) GetGameCenterLeaderboards(ctx context.Context, gcDetailID string, opts ...GCLeaderboardsOption) (*GameCenterLeaderboardsResponse, error)

GetGameCenterLeaderboards retrieves the list of Game Center leaderboards for a Game Center detail.

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 retrieves boolean rule results metrics.

func (*Client) GetGameCenterMatchmakingNumberRuleResults

func (c *Client) GetGameCenterMatchmakingNumberRuleResults(ctx context.Context, ruleID string, opts ...GCMatchmakingMetricsOption) (*GameCenterMatchmakingNumberRuleResultsResponse, error)

GetGameCenterMatchmakingNumberRuleResults retrieves number rule results metrics.

func (*Client) GetGameCenterMatchmakingQueue

func (c *Client) GetGameCenterMatchmakingQueue(ctx context.Context, queueID string) (*GameCenterMatchmakingQueueResponse, error)

GetGameCenterMatchmakingQueue retrieves a matchmaking queue by ID.

func (*Client) GetGameCenterMatchmakingQueueExperimentRequests

func (c *Client) GetGameCenterMatchmakingQueueExperimentRequests(ctx context.Context, queueID string, opts ...GCMatchmakingMetricsOption) (*GameCenterMatchmakingQueueExperimentRequestsResponse, error)

GetGameCenterMatchmakingQueueExperimentRequests retrieves experiment queue requests metrics.

func (*Client) GetGameCenterMatchmakingQueueExperimentSizes

func (c *Client) GetGameCenterMatchmakingQueueExperimentSizes(ctx context.Context, queueID string, opts ...GCMatchmakingMetricsOption) (*GameCenterMatchmakingQueueExperimentSizesResponse, error)

GetGameCenterMatchmakingQueueExperimentSizes retrieves experiment queue sizes metrics.

func (*Client) GetGameCenterMatchmakingQueueRequests

func (c *Client) GetGameCenterMatchmakingQueueRequests(ctx context.Context, queueID string, opts ...GCMatchmakingMetricsOption) (*GameCenterMatchmakingQueueRequestsResponse, error)

GetGameCenterMatchmakingQueueRequests retrieves queue requests metrics.

func (*Client) GetGameCenterMatchmakingQueueSessions

func (c *Client) GetGameCenterMatchmakingQueueSessions(ctx context.Context, queueID string, opts ...GCMatchmakingMetricsOption) (*GameCenterMatchmakingQueueSessionsResponse, error)

GetGameCenterMatchmakingQueueSessions retrieves matchmaking sessions metrics.

func (*Client) GetGameCenterMatchmakingQueueSizes

func (c *Client) GetGameCenterMatchmakingQueueSizes(ctx context.Context, queueID string, opts ...GCMatchmakingMetricsOption) (*GameCenterMatchmakingQueueSizesResponse, error)

GetGameCenterMatchmakingQueueSizes retrieves queue sizes metrics.

func (*Client) GetGameCenterMatchmakingQueues

func (c *Client) GetGameCenterMatchmakingQueues(ctx context.Context, opts ...GCMatchmakingQueuesOption) (*GameCenterMatchmakingQueuesResponse, error)

GetGameCenterMatchmakingQueues retrieves the list of matchmaking queues.

func (*Client) GetGameCenterMatchmakingRuleErrors

func (c *Client) GetGameCenterMatchmakingRuleErrors(ctx context.Context, ruleID string, opts ...GCMatchmakingMetricsOption) (*GameCenterMatchmakingRuleErrorsResponse, error)

GetGameCenterMatchmakingRuleErrors retrieves rule errors metrics.

func (*Client) GetGameCenterMatchmakingRuleSet

func (c *Client) GetGameCenterMatchmakingRuleSet(ctx context.Context, ruleSetID string) (*GameCenterMatchmakingRuleSetResponse, error)

GetGameCenterMatchmakingRuleSet retrieves a matchmaking rule set by ID.

func (*Client) GetGameCenterMatchmakingRuleSetQueues

func (c *Client) GetGameCenterMatchmakingRuleSetQueues(ctx context.Context, ruleSetID string, opts ...GCMatchmakingQueuesOption) (*GameCenterMatchmakingQueuesResponse, error)

GetGameCenterMatchmakingRuleSetQueues retrieves the queues for a rule set.

func (*Client) GetGameCenterMatchmakingRuleSetQueuesRelationships

func (c *Client) GetGameCenterMatchmakingRuleSetQueuesRelationships(ctx context.Context, ruleSetID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetGameCenterMatchmakingRuleSetQueuesRelationships retrieves matchmaking queue linkages for a rule set.

func (*Client) GetGameCenterMatchmakingRuleSetRulesRelationships

func (c *Client) GetGameCenterMatchmakingRuleSetRulesRelationships(ctx context.Context, ruleSetID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetGameCenterMatchmakingRuleSetRulesRelationships retrieves rule linkages for a rule set.

func (*Client) GetGameCenterMatchmakingRuleSetTeamsRelationships

func (c *Client) GetGameCenterMatchmakingRuleSetTeamsRelationships(ctx context.Context, ruleSetID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetGameCenterMatchmakingRuleSetTeamsRelationships retrieves team linkages for a rule set.

func (*Client) GetGameCenterMatchmakingRuleSets

func (c *Client) GetGameCenterMatchmakingRuleSets(ctx context.Context, opts ...GCMatchmakingRuleSetsOption) (*GameCenterMatchmakingRuleSetsResponse, error)

GetGameCenterMatchmakingRuleSets retrieves the list of matchmaking rule sets.

func (*Client) GetGameCenterMatchmakingRules

func (c *Client) GetGameCenterMatchmakingRules(ctx context.Context, ruleSetID string, opts ...GCMatchmakingRulesOption) (*GameCenterMatchmakingRulesResponse, error)

GetGameCenterMatchmakingRules retrieves the list of rules for a rule set.

func (*Client) GetGameCenterMatchmakingTeams

func (c *Client) GetGameCenterMatchmakingTeams(ctx context.Context, ruleSetID string, opts ...GCMatchmakingTeamsOption) (*GameCenterMatchmakingTeamsResponse, error)

GetGameCenterMatchmakingTeams retrieves the list of teams for a rule set.

func (*Client) GetInAppPurchase

func (c *Client) GetInAppPurchase(ctx context.Context, iapID string) (*InAppPurchaseResponse, error)

GetInAppPurchase retrieves a legacy in-app purchase by ID.

func (*Client) GetInAppPurchaseAppStoreReviewScreenshot

func (c *Client) GetInAppPurchaseAppStoreReviewScreenshot(ctx context.Context, screenshotID string) (*InAppPurchaseAppStoreReviewScreenshotResponse, error)

GetInAppPurchaseAppStoreReviewScreenshot retrieves a review screenshot by ID.

func (*Client) GetInAppPurchaseAppStoreReviewScreenshotForIAP

func (c *Client) GetInAppPurchaseAppStoreReviewScreenshotForIAP(ctx context.Context, iapID string) (*InAppPurchaseAppStoreReviewScreenshotResponse, error)

GetInAppPurchaseAppStoreReviewScreenshotForIAP retrieves the review screenshot for an IAP.

func (*Client) GetInAppPurchaseAppStoreReviewScreenshotRelationship

func (c *Client) GetInAppPurchaseAppStoreReviewScreenshotRelationship(ctx context.Context, iapID string) (*InAppPurchaseAppStoreReviewScreenshotLinkageResponse, error)

GetInAppPurchaseAppStoreReviewScreenshotRelationship retrieves the app store review screenshot linkage for an IAP.

func (*Client) GetInAppPurchaseAvailability

func (c *Client) GetInAppPurchaseAvailability(ctx context.Context, iapID string) (*InAppPurchaseAvailabilityResponse, error)

GetInAppPurchaseAvailability retrieves availability for an in-app purchase.

func (*Client) GetInAppPurchaseAvailabilityAvailableTerritories

func (c *Client) GetInAppPurchaseAvailabilityAvailableTerritories(ctx context.Context, availabilityID string, opts ...IAPAvailabilityTerritoriesOption) (*TerritoriesResponse, error)

GetInAppPurchaseAvailabilityAvailableTerritories lists available territories for an availability.

func (*Client) GetInAppPurchaseAvailabilityAvailableTerritoriesRelationships

func (c *Client) GetInAppPurchaseAvailabilityAvailableTerritoriesRelationships(ctx context.Context, availabilityID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetInAppPurchaseAvailabilityAvailableTerritoriesRelationships retrieves available territory linkages for an IAP availability.

func (*Client) GetInAppPurchaseAvailabilityByID

func (c *Client) GetInAppPurchaseAvailabilityByID(ctx context.Context, availabilityID string) (*InAppPurchaseAvailabilityResponse, error)

GetInAppPurchaseAvailabilityByID retrieves an in-app purchase availability by ID.

func (*Client) GetInAppPurchaseContent

func (c *Client) GetInAppPurchaseContent(ctx context.Context, iapID string) (*InAppPurchaseContentResponse, error)

GetInAppPurchaseContent retrieves the content resource for an IAP.

func (*Client) GetInAppPurchaseContentByID

func (c *Client) GetInAppPurchaseContentByID(ctx context.Context, contentID string) (*InAppPurchaseContentResponse, error)

GetInAppPurchaseContentByID retrieves an in-app purchase content resource by ID.

func (*Client) GetInAppPurchaseContentRelationship

func (c *Client) GetInAppPurchaseContentRelationship(ctx context.Context, iapID string) (*InAppPurchaseContentLinkageResponse, error)

GetInAppPurchaseContentRelationship retrieves the content linkage for an IAP.

func (*Client) GetInAppPurchaseIapPriceScheduleRelationship

func (c *Client) GetInAppPurchaseIapPriceScheduleRelationship(ctx context.Context, iapID string) (*InAppPurchaseIapPriceScheduleLinkageResponse, error)

GetInAppPurchaseIapPriceScheduleRelationship retrieves the IAP price schedule linkage for an IAP.

func (*Client) GetInAppPurchaseImage

func (c *Client) GetInAppPurchaseImage(ctx context.Context, imageID string) (*InAppPurchaseImageResponse, error)

GetInAppPurchaseImage retrieves an in-app purchase image by ID.

func (*Client) GetInAppPurchaseImages

func (c *Client) GetInAppPurchaseImages(ctx context.Context, iapID string, opts ...IAPImagesOption) (*InAppPurchaseImagesResponse, error)

GetInAppPurchaseImages retrieves images for an in-app purchase.

func (*Client) GetInAppPurchaseImagesRelationships

func (c *Client) GetInAppPurchaseImagesRelationships(ctx context.Context, iapID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetInAppPurchaseImagesRelationships retrieves image linkages for an IAP.

func (*Client) GetInAppPurchaseInAppPurchaseAvailabilityRelationship

func (c *Client) GetInAppPurchaseInAppPurchaseAvailabilityRelationship(ctx context.Context, iapID string) (*InAppPurchaseInAppPurchaseAvailabilityLinkageResponse, error)

GetInAppPurchaseInAppPurchaseAvailabilityRelationship retrieves the availability linkage for an IAP.

func (*Client) GetInAppPurchaseInAppPurchaseLocalizationsRelationships

func (c *Client) GetInAppPurchaseInAppPurchaseLocalizationsRelationships(ctx context.Context, iapID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetInAppPurchaseInAppPurchaseLocalizationsRelationships retrieves localization linkages for an IAP.

func (*Client) GetInAppPurchaseLocalization

func (c *Client) GetInAppPurchaseLocalization(ctx context.Context, localizationID string) (*InAppPurchaseLocalizationResponse, error)

GetInAppPurchaseLocalization retrieves an IAP localization by ID.

func (*Client) GetInAppPurchaseLocalizations

func (c *Client) GetInAppPurchaseLocalizations(ctx context.Context, iapID string, opts ...IAPLocalizationsOption) (*InAppPurchaseLocalizationsResponse, error)

GetInAppPurchaseLocalizations fetches localizations for an IAP.

func (*Client) GetInAppPurchaseOfferCode

func (c *Client) GetInAppPurchaseOfferCode(ctx context.Context, offerCodeID string) (*InAppPurchaseOfferCodeResponse, error)

GetInAppPurchaseOfferCode retrieves an offer code by ID.

func (*Client) GetInAppPurchaseOfferCodeCustomCode

func (c *Client) GetInAppPurchaseOfferCodeCustomCode(ctx context.Context, customCodeID string) (*InAppPurchaseOfferCodeCustomCodeResponse, error)

GetInAppPurchaseOfferCodeCustomCode retrieves a custom code by ID.

func (*Client) GetInAppPurchaseOfferCodeCustomCodes

func (c *Client) GetInAppPurchaseOfferCodeCustomCodes(ctx context.Context, offerCodeID string, opts ...IAPOfferCodeCustomCodesOption) (*InAppPurchaseOfferCodeCustomCodesResponse, error)

GetInAppPurchaseOfferCodeCustomCodes retrieves custom codes for an offer code.

func (*Client) GetInAppPurchaseOfferCodeCustomCodesRelationships

func (c *Client) GetInAppPurchaseOfferCodeCustomCodesRelationships(ctx context.Context, offerCodeID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetInAppPurchaseOfferCodeCustomCodesRelationships retrieves custom code linkages for an IAP offer code.

func (*Client) GetInAppPurchaseOfferCodeOneTimeUseCode

func (c *Client) GetInAppPurchaseOfferCodeOneTimeUseCode(ctx context.Context, oneTimeUseCodeID string) (*InAppPurchaseOfferCodeOneTimeUseCodeResponse, error)

GetInAppPurchaseOfferCodeOneTimeUseCode retrieves a one-time use code batch by ID.

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 retrieves one-time use codes for an offer code.

func (*Client) GetInAppPurchaseOfferCodeOneTimeUseCodesRelationships

func (c *Client) GetInAppPurchaseOfferCodeOneTimeUseCodesRelationships(ctx context.Context, offerCodeID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetInAppPurchaseOfferCodeOneTimeUseCodesRelationships retrieves one-time use code linkages for an IAP offer code.

func (*Client) GetInAppPurchaseOfferCodePrices

func (c *Client) GetInAppPurchaseOfferCodePrices(ctx context.Context, offerCodeID string, opts ...IAPOfferCodePricesOption) (*InAppPurchaseOfferPricesResponse, error)

GetInAppPurchaseOfferCodePrices retrieves prices for an offer code.

func (*Client) GetInAppPurchaseOfferCodePricesRelationships

func (c *Client) GetInAppPurchaseOfferCodePricesRelationships(ctx context.Context, offerCodeID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetInAppPurchaseOfferCodePricesRelationships retrieves price linkages for an IAP offer code.

func (*Client) GetInAppPurchaseOfferCodes

func (c *Client) GetInAppPurchaseOfferCodes(ctx context.Context, iapID string, opts ...IAPOfferCodesOption) (*InAppPurchaseOfferCodesResponse, error)

GetInAppPurchaseOfferCodes retrieves offer codes for an in-app purchase.

func (*Client) GetInAppPurchaseOfferCodesRelationships

func (c *Client) GetInAppPurchaseOfferCodesRelationships(ctx context.Context, iapID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetInAppPurchaseOfferCodesRelationships retrieves offer code linkages for an IAP.

func (*Client) GetInAppPurchasePricePointEqualizations

func (c *Client) GetInAppPurchasePricePointEqualizations(ctx context.Context, pricePointID string, opts ...IAPPricePointsOption) (*InAppPurchasePricePointsResponse, error)

GetInAppPurchasePricePointEqualizations retrieves equalized price points for a price point.

func (*Client) GetInAppPurchasePricePointEqualizationsRelationships

func (c *Client) GetInAppPurchasePricePointEqualizationsRelationships(ctx context.Context, pricePointID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetInAppPurchasePricePointEqualizationsRelationships retrieves equalization linkages for an IAP price point.

func (*Client) GetInAppPurchasePricePoints

func (c *Client) GetInAppPurchasePricePoints(ctx context.Context, iapID string, opts ...IAPPricePointsOption) (*InAppPurchasePricePointsResponse, error)

GetInAppPurchasePricePoints retrieves price points for an in-app purchase.

func (*Client) GetInAppPurchasePricePointsRelationships

func (c *Client) GetInAppPurchasePricePointsRelationships(ctx context.Context, iapID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetInAppPurchasePricePointsRelationships retrieves price point linkages for an IAP.

func (*Client) GetInAppPurchasePriceSchedule

func (c *Client) GetInAppPurchasePriceSchedule(ctx context.Context, iapID string, opts ...IAPPriceScheduleOption) (*InAppPurchasePriceScheduleResponse, error)

GetInAppPurchasePriceSchedule retrieves the price schedule for an IAP.

func (*Client) GetInAppPurchasePriceScheduleAutomaticPrices

func (c *Client) GetInAppPurchasePriceScheduleAutomaticPrices(ctx context.Context, scheduleID string, opts ...IAPPriceSchedulePricesOption) (*InAppPurchasePricesResponse, error)

GetInAppPurchasePriceScheduleAutomaticPrices retrieves automatic prices for a schedule.

func (*Client) GetInAppPurchasePriceScheduleAutomaticPricesRelationships

func (c *Client) GetInAppPurchasePriceScheduleAutomaticPricesRelationships(ctx context.Context, scheduleID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetInAppPurchasePriceScheduleAutomaticPricesRelationships retrieves automatic price linkages for an IAP price schedule.

func (*Client) GetInAppPurchasePriceScheduleBaseTerritory

func (c *Client) GetInAppPurchasePriceScheduleBaseTerritory(ctx context.Context, scheduleID string) (*TerritoryResponse, error)

GetInAppPurchasePriceScheduleBaseTerritory retrieves base territory for a schedule.

func (*Client) GetInAppPurchasePriceScheduleBaseTerritoryRelationship

func (c *Client) GetInAppPurchasePriceScheduleBaseTerritoryRelationship(ctx context.Context, scheduleID string) (*InAppPurchasePriceScheduleBaseTerritoryLinkageResponse, error)

GetInAppPurchasePriceScheduleBaseTerritoryRelationship retrieves the base territory linkage for an IAP price schedule.

func (*Client) GetInAppPurchasePriceScheduleByID

func (c *Client) GetInAppPurchasePriceScheduleByID(ctx context.Context, scheduleID string, opts ...IAPPriceScheduleOption) (*InAppPurchasePriceScheduleResponse, error)

GetInAppPurchasePriceScheduleByID retrieves an in-app purchase price schedule by ID.

func (*Client) GetInAppPurchasePriceScheduleManualPrices

func (c *Client) GetInAppPurchasePriceScheduleManualPrices(ctx context.Context, scheduleID string, opts ...IAPPriceSchedulePricesOption) (*InAppPurchasePricesResponse, error)

GetInAppPurchasePriceScheduleManualPrices retrieves manual prices for a schedule.

func (*Client) GetInAppPurchasePriceScheduleManualPricesRelationships

func (c *Client) GetInAppPurchasePriceScheduleManualPricesRelationships(ctx context.Context, scheduleID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetInAppPurchasePriceScheduleManualPricesRelationships retrieves manual price linkages for an IAP price schedule.

func (*Client) GetInAppPurchasePromotedPurchase

func (c *Client) GetInAppPurchasePromotedPurchase(ctx context.Context, iapID string) (*PromotedPurchaseResponse, error)

GetInAppPurchasePromotedPurchase retrieves the promoted purchase for an in-app purchase.

func (*Client) GetInAppPurchasePromotedPurchaseRelationship

func (c *Client) GetInAppPurchasePromotedPurchaseRelationship(ctx context.Context, iapID string) (*InAppPurchasePromotedPurchaseLinkageResponse, error)

GetInAppPurchasePromotedPurchaseRelationship retrieves the promoted purchase linkage for an IAP.

func (*Client) GetInAppPurchaseV2

func (c *Client) GetInAppPurchaseV2(ctx context.Context, iapID string) (*InAppPurchaseV2Response, error)

GetInAppPurchaseV2 retrieves an in-app purchase by ID.

func (*Client) GetInAppPurchases

func (c *Client) GetInAppPurchases(ctx context.Context, appID string, opts ...IAPOption) (*InAppPurchasesResponse, error)

GetInAppPurchases retrieves the legacy list of in-app purchases for an app.

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) GetMarketplaceSearchDetailForApp

func (c *Client) GetMarketplaceSearchDetailForApp(ctx context.Context, appID string, fields []string) (*MarketplaceSearchDetailResponse, error)

GetMarketplaceSearchDetailForApp retrieves marketplace search details for an app.

func (*Client) GetMarketplaceWebhook

func (c *Client) GetMarketplaceWebhook(ctx context.Context, webhookID string) (*MarketplaceWebhookResponse, error)

GetMarketplaceWebhook retrieves a marketplace webhook by ID.

func (*Client) GetMarketplaceWebhooks

func (c *Client) GetMarketplaceWebhooks(ctx context.Context, opts ...MarketplaceWebhooksOption) (*MarketplaceWebhooksResponse, error)

GetMarketplaceWebhooks retrieves marketplace webhooks.

func (*Client) GetMerchantID

func (c *Client) GetMerchantID(ctx context.Context, id string, opts ...MerchantIDsOption) (*MerchantIDResponse, error)

GetMerchantID retrieves a single merchant ID by ID.

func (*Client) GetMerchantIDCertificates

func (c *Client) GetMerchantIDCertificates(ctx context.Context, merchantID string, opts ...MerchantIDCertificatesOption) (*CertificatesResponse, error)

GetMerchantIDCertificates retrieves certificates for a merchant ID.

func (*Client) GetMerchantIDCertificatesRelationships

func (c *Client) GetMerchantIDCertificatesRelationships(ctx context.Context, merchantID string, opts ...LinkagesOption) (*MerchantIDCertificatesLinkagesResponse, error)

GetMerchantIDCertificatesRelationships retrieves certificate linkages for a merchant ID.

func (*Client) GetMerchantIDs

func (c *Client) GetMerchantIDs(ctx context.Context, opts ...MerchantIDsOption) (*MerchantIDsResponse, error)

GetMerchantIDs retrieves the list of merchant IDs.

func (*Client) GetNomination

func (c *Client) GetNomination(ctx context.Context, nominationID string, opts ...NominationsOption) (*NominationResponse, error)

GetNomination retrieves a nomination by ID.

func (*Client) GetNominations

func (c *Client) GetNominations(ctx context.Context, opts ...NominationsOption) (*NominationsResponse, error)

GetNominations retrieves nominations with optional filters.

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 retrieves a single pass type ID by ID.

func (*Client) GetPassTypeIDCertificates

func (c *Client) GetPassTypeIDCertificates(ctx context.Context, passTypeID string, opts ...PassTypeIDCertificatesOption) (*CertificatesResponse, error)

GetPassTypeIDCertificates retrieves certificates for a pass type ID.

func (*Client) GetPassTypeIDCertificatesRelationships

func (c *Client) GetPassTypeIDCertificatesRelationships(ctx context.Context, passTypeID string, opts ...LinkagesOption) (*PassTypeIDCertificatesLinkagesResponse, error)

GetPassTypeIDCertificatesRelationships retrieves certificate linkages for a pass type ID.

func (*Client) GetPassTypeIDs

func (c *Client) GetPassTypeIDs(ctx context.Context, opts ...PassTypeIDsOption) (*PassTypeIDsResponse, error)

GetPassTypeIDs retrieves the list of pass type IDs.

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) GetPreReleaseVersion

func (c *Client) GetPreReleaseVersion(ctx context.Context, id string) (*PreReleaseVersionResponse, error)

GetPreReleaseVersion retrieves a TestFlight pre-release version by ID.

func (*Client) GetPreReleaseVersionApp

func (c *Client) GetPreReleaseVersionApp(ctx context.Context, versionID string) (*AppResponse, error)

GetPreReleaseVersionApp retrieves the app for a pre-release version.

func (*Client) GetPreReleaseVersionAppRelationship

func (c *Client) GetPreReleaseVersionAppRelationship(ctx context.Context, versionID string) (*PreReleaseVersionAppLinkageResponse, error)

GetPreReleaseVersionAppRelationship retrieves the app linkage for a pre-release version.

func (*Client) GetPreReleaseVersionBuilds

func (c *Client) GetPreReleaseVersionBuilds(ctx context.Context, versionID string, opts ...PreReleaseVersionBuildsOption) (*BuildsResponse, error)

GetPreReleaseVersionBuilds retrieves builds for a pre-release version.

func (*Client) GetPreReleaseVersionBuildsRelationships

func (c *Client) GetPreReleaseVersionBuildsRelationships(ctx context.Context, versionID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetPreReleaseVersionBuildsRelationships retrieves build linkages for a pre-release version.

func (*Client) GetPreReleaseVersions

func (c *Client) GetPreReleaseVersions(ctx context.Context, appID string, opts ...PreReleaseVersionsOption) (*PreReleaseVersionsResponse, error)

GetPreReleaseVersions retrieves TestFlight pre-release versions for an app.

func (*Client) GetProfile

func (c *Client) GetProfile(ctx context.Context, id string, opts ...ProfilesOption) (*ProfileResponse, error)

GetProfile retrieves a single profile by ID.

func (*Client) GetProfileBundleID

func (c *Client) GetProfileBundleID(ctx context.Context, profileID string) (*BundleIDResponse, error)

GetProfileBundleID retrieves the bundle ID for a profile.

func (*Client) GetProfileBundleIDRelationship

func (c *Client) GetProfileBundleIDRelationship(ctx context.Context, profileID string) (*ProfileBundleIDLinkageResponse, error)

GetProfileBundleIDRelationship retrieves the bundle ID linkage for a profile.

func (*Client) GetProfileCertificates

func (c *Client) GetProfileCertificates(ctx context.Context, profileID string, opts ...ProfileCertificatesOption) (*CertificatesResponse, error)

GetProfileCertificates retrieves certificates for a profile.

func (*Client) GetProfileCertificatesRelationships

func (c *Client) GetProfileCertificatesRelationships(ctx context.Context, profileID string, opts ...LinkagesOption) (*ProfileCertificatesLinkagesResponse, error)

GetProfileCertificatesRelationships retrieves certificate linkages for a profile.

func (*Client) GetProfileDevices

func (c *Client) GetProfileDevices(ctx context.Context, profileID string, opts ...ProfileDevicesOption) (*DevicesResponse, error)

GetProfileDevices retrieves devices for a profile.

func (*Client) GetProfileDevicesRelationships

func (c *Client) GetProfileDevicesRelationships(ctx context.Context, profileID string, opts ...LinkagesOption) (*ProfileDevicesLinkagesResponse, error)

GetProfileDevicesRelationships retrieves device linkages for a profile.

func (*Client) GetProfiles

func (c *Client) GetProfiles(ctx context.Context, opts ...ProfilesOption) (*ProfilesResponse, error)

GetProfiles retrieves the list of profiles.

func (*Client) GetPromotedPurchase

func (c *Client) GetPromotedPurchase(ctx context.Context, promotedPurchaseID string) (*PromotedPurchaseResponse, error)

GetPromotedPurchase retrieves a promoted purchase by ID.

func (*Client) GetReviewSubmission

func (c *Client) GetReviewSubmission(ctx context.Context, submissionID string) (*ReviewSubmissionResponse, error)

GetReviewSubmission retrieves a review submission by ID.

func (*Client) GetReviewSubmissionItem

func (c *Client) GetReviewSubmissionItem(ctx context.Context, itemID string) (*ReviewSubmissionItemResponse, error)

GetReviewSubmissionItem retrieves a review submission item 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) GetReviewSubmissions

func (c *Client) GetReviewSubmissions(ctx context.Context, appID string, opts ...ReviewSubmissionsOption) (*ReviewSubmissionsResponse, error)

GetReviewSubmissions retrieves review submissions for an app.

func (*Client) GetReviews

func (c *Client) GetReviews(ctx context.Context, appID string, opts ...ReviewOption) (*ReviewsResponse, error)

GetReviews retrieves App Store reviews

func (*Client) GetRoutingAppCoverage

func (c *Client) GetRoutingAppCoverage(ctx context.Context, coverageID string) (*RoutingAppCoverageResponse, error)

GetRoutingAppCoverage retrieves routing app coverage by ID.

func (*Client) GetRoutingAppCoverageForVersion

func (c *Client) GetRoutingAppCoverageForVersion(ctx context.Context, versionID string) (*RoutingAppCoverageResponse, error)

GetRoutingAppCoverageForVersion retrieves routing app coverage for an app store version.

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 retrieves a git reference by ID.

func (*Client) GetScmGitReferences

func (c *Client) GetScmGitReferences(ctx context.Context, repositoryID string, opts ...ScmGitReferencesOption) (*ScmGitReferencesResponse, error)

GetScmGitReferences retrieves git references for a repository.

func (*Client) GetScmProvider

func (c *Client) GetScmProvider(ctx context.Context, providerID string) (*ScmProviderResponse, error)

GetScmProvider retrieves an SCM provider by ID.

func (*Client) GetScmProviderRepositories

func (c *Client) GetScmProviderRepositories(ctx context.Context, providerID string, opts ...ScmRepositoriesOption) (*ScmRepositoriesResponse, error)

GetScmProviderRepositories retrieves repositories for an SCM provider.

func (*Client) GetScmProviderRepositoriesRelationships

func (c *Client) GetScmProviderRepositoriesRelationships(ctx context.Context, providerID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetScmProviderRepositoriesRelationships retrieves repository linkages for an SCM provider.

func (*Client) GetScmProviders

func (c *Client) GetScmProviders(ctx context.Context, opts ...ScmProvidersOption) (*ScmProvidersResponse, error)

GetScmProviders retrieves SCM providers.

func (*Client) GetScmPullRequest

func (c *Client) GetScmPullRequest(ctx context.Context, pullRequestID string) (*ScmPullRequestResponse, error)

GetScmPullRequest retrieves a pull request by ID.

func (*Client) GetScmRepositories

func (c *Client) GetScmRepositories(ctx context.Context, opts ...ScmRepositoriesOption) (*ScmRepositoriesResponse, error)

GetScmRepositories retrieves SCM repositories.

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 retrieves git reference linkages for a repository.

func (*Client) GetScmRepositoryPullRequests

func (c *Client) GetScmRepositoryPullRequests(ctx context.Context, repositoryID string, opts ...ScmPullRequestsOption) (*ScmPullRequestsResponse, error)

GetScmRepositoryPullRequests retrieves pull requests for a repository.

func (*Client) GetScmRepositoryPullRequestsRelationships

func (c *Client) GetScmRepositoryPullRequestsRelationships(ctx context.Context, repositoryID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetScmRepositoryPullRequestsRelationships retrieves pull request linkages for a repository.

func (*Client) GetSubscription

func (c *Client) GetSubscription(ctx context.Context, subID string) (*SubscriptionResponse, error)

GetSubscription retrieves a subscription by ID.

func (*Client) GetSubscriptionAppStoreReviewScreenshot

func (c *Client) GetSubscriptionAppStoreReviewScreenshot(ctx context.Context, screenshotID string) (*SubscriptionAppStoreReviewScreenshotResponse, error)

GetSubscriptionAppStoreReviewScreenshot retrieves a review screenshot by ID.

func (*Client) GetSubscriptionAppStoreReviewScreenshotForSubscription

func (c *Client) GetSubscriptionAppStoreReviewScreenshotForSubscription(ctx context.Context, subID string) (*SubscriptionAppStoreReviewScreenshotResponse, error)

GetSubscriptionAppStoreReviewScreenshotForSubscription retrieves the review screenshot for a subscription.

func (*Client) GetSubscriptionAppStoreReviewScreenshotRelationship

func (c *Client) GetSubscriptionAppStoreReviewScreenshotRelationship(ctx context.Context, subID string) (*SubscriptionAppStoreReviewScreenshotLinkageResponse, error)

GetSubscriptionAppStoreReviewScreenshotRelationship retrieves the review screenshot linkage for a subscription.

func (*Client) GetSubscriptionAvailability

func (c *Client) GetSubscriptionAvailability(ctx context.Context, availabilityID string) (*SubscriptionAvailabilityResponse, error)

GetSubscriptionAvailability retrieves a subscription availability by ID.

func (*Client) GetSubscriptionAvailabilityAvailableTerritories

func (c *Client) GetSubscriptionAvailabilityAvailableTerritories(ctx context.Context, availabilityID string, opts ...SubscriptionAvailabilityTerritoriesOption) (*TerritoriesResponse, error)

GetSubscriptionAvailabilityAvailableTerritories lists available territories for an availability.

func (*Client) GetSubscriptionAvailabilityAvailableTerritoriesRelationships

func (c *Client) GetSubscriptionAvailabilityAvailableTerritoriesRelationships(ctx context.Context, availabilityID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetSubscriptionAvailabilityAvailableTerritoriesRelationships retrieves available territory linkages for an availability.

func (*Client) GetSubscriptionAvailabilityForSubscription

func (c *Client) GetSubscriptionAvailabilityForSubscription(ctx context.Context, subID string) (*SubscriptionAvailabilityResponse, error)

GetSubscriptionAvailabilityForSubscription retrieves availability for a subscription.

func (*Client) GetSubscriptionGracePeriod

func (c *Client) GetSubscriptionGracePeriod(ctx context.Context, gracePeriodID string) (*SubscriptionGracePeriodResponse, error)

GetSubscriptionGracePeriod retrieves a subscription grace period by ID.

func (*Client) GetSubscriptionGroup

func (c *Client) GetSubscriptionGroup(ctx context.Context, groupID string) (*SubscriptionGroupResponse, error)

GetSubscriptionGroup retrieves a subscription group by ID.

func (*Client) GetSubscriptionGroupLocalization

func (c *Client) GetSubscriptionGroupLocalization(ctx context.Context, localizationID string) (*SubscriptionGroupLocalizationResponse, error)

GetSubscriptionGroupLocalization retrieves a subscription group localization by ID.

func (*Client) GetSubscriptionGroupLocalizations

func (c *Client) GetSubscriptionGroupLocalizations(ctx context.Context, groupID string, opts ...SubscriptionGroupLocalizationsOption) (*SubscriptionGroupLocalizationsResponse, error)

GetSubscriptionGroupLocalizations retrieves subscription group localizations for a group.

func (*Client) GetSubscriptionGroupSubscriptionGroupLocalizationsRelationships

func (c *Client) GetSubscriptionGroupSubscriptionGroupLocalizationsRelationships(ctx context.Context, groupID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetSubscriptionGroupSubscriptionGroupLocalizationsRelationships retrieves localization linkages for a subscription group.

func (*Client) GetSubscriptionGroupSubscriptionsRelationships

func (c *Client) GetSubscriptionGroupSubscriptionsRelationships(ctx context.Context, groupID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetSubscriptionGroupSubscriptionsRelationships retrieves subscription linkages for a subscription group.

func (*Client) GetSubscriptionGroups

func (c *Client) GetSubscriptionGroups(ctx context.Context, appID string, opts ...SubscriptionGroupsOption) (*SubscriptionGroupsResponse, error)

GetSubscriptionGroups retrieves the list of subscription groups for an app.

func (*Client) GetSubscriptionImage

func (c *Client) GetSubscriptionImage(ctx context.Context, imageID string) (*SubscriptionImageResponse, error)

GetSubscriptionImage retrieves a subscription image by ID.

func (*Client) GetSubscriptionImages

func (c *Client) GetSubscriptionImages(ctx context.Context, subscriptionID string, opts ...SubscriptionImagesOption) (*SubscriptionImagesResponse, error)

GetSubscriptionImages retrieves subscription images for a subscription.

func (*Client) GetSubscriptionImagesRelationships

func (c *Client) GetSubscriptionImagesRelationships(ctx context.Context, subID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetSubscriptionImagesRelationships retrieves image linkages for a subscription.

func (*Client) GetSubscriptionIntroductoryOffer

func (c *Client) GetSubscriptionIntroductoryOffer(ctx context.Context, offerID string) (*SubscriptionIntroductoryOfferResponse, error)

GetSubscriptionIntroductoryOffer retrieves an introductory offer by 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) GetSubscriptionIntroductoryOffersRelationships

func (c *Client) GetSubscriptionIntroductoryOffersRelationships(ctx context.Context, subID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetSubscriptionIntroductoryOffersRelationships retrieves introductory offer linkages for a subscription.

func (*Client) GetSubscriptionLocalization

func (c *Client) GetSubscriptionLocalization(ctx context.Context, localizationID string) (*SubscriptionLocalizationResponse, error)

GetSubscriptionLocalization retrieves a subscription localization by ID.

func (*Client) GetSubscriptionLocalizations

func (c *Client) GetSubscriptionLocalizations(ctx context.Context, subscriptionID string, opts ...SubscriptionLocalizationsOption) (*SubscriptionLocalizationsResponse, error)

GetSubscriptionLocalizations retrieves subscription localizations for a subscription.

func (*Client) GetSubscriptionOfferCode

func (c *Client) GetSubscriptionOfferCode(ctx context.Context, offerCodeID string) (*SubscriptionOfferCodeResponse, error)

GetSubscriptionOfferCode retrieves an offer code by ID.

func (*Client) GetSubscriptionOfferCodeCustomCode

func (c *Client) GetSubscriptionOfferCodeCustomCode(ctx context.Context, customCodeID string) (*SubscriptionOfferCodeCustomCodeResponse, error)

GetSubscriptionOfferCodeCustomCode retrieves a custom code by ID.

func (*Client) GetSubscriptionOfferCodeCustomCodes

func (c *Client) GetSubscriptionOfferCodeCustomCodes(ctx context.Context, offerCodeID string, opts ...SubscriptionOfferCodeCustomCodesOption) (*SubscriptionOfferCodeCustomCodesResponse, error)

GetSubscriptionOfferCodeCustomCodes retrieves custom codes for an offer code.

func (*Client) GetSubscriptionOfferCodeCustomCodesRelationships

func (c *Client) GetSubscriptionOfferCodeCustomCodesRelationships(ctx context.Context, offerCodeID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetSubscriptionOfferCodeCustomCodesRelationships retrieves custom code linkages for a subscription offer code.

func (*Client) GetSubscriptionOfferCodeOneTimeUseCode

func (c *Client) GetSubscriptionOfferCodeOneTimeUseCode(ctx context.Context, oneTimeUseCodeID string) (*SubscriptionOfferCodeOneTimeUseCodeResponse, error)

GetSubscriptionOfferCodeOneTimeUseCode retrieves a one-time use offer code batch by ID.

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 retrieves one-time use offer code batches for an offer code.

func (*Client) GetSubscriptionOfferCodeOneTimeUseCodesRelationships

func (c *Client) GetSubscriptionOfferCodeOneTimeUseCodesRelationships(ctx context.Context, offerCodeID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetSubscriptionOfferCodeOneTimeUseCodesRelationships retrieves one-time use code linkages for a subscription offer code.

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) GetSubscriptionOfferCodePricesRelationships

func (c *Client) GetSubscriptionOfferCodePricesRelationships(ctx context.Context, offerCodeID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetSubscriptionOfferCodePricesRelationships retrieves price linkages for a subscription 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) GetSubscriptionOfferCodesRelationships

func (c *Client) GetSubscriptionOfferCodesRelationships(ctx context.Context, subID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetSubscriptionOfferCodesRelationships retrieves offer code linkages for a subscription.

func (*Client) GetSubscriptionPricePoint

func (c *Client) GetSubscriptionPricePoint(ctx context.Context, pricePointID string) (*SubscriptionPricePointResponse, error)

GetSubscriptionPricePoint retrieves a subscription price point by ID.

func (*Client) GetSubscriptionPricePointEqualizations

func (c *Client) GetSubscriptionPricePointEqualizations(ctx context.Context, pricePointID string, opts ...SubscriptionPricePointsOption) (*SubscriptionPricePointsResponse, error)

GetSubscriptionPricePointEqualizations retrieves equalizations for a price point.

func (*Client) GetSubscriptionPricePointEqualizationsRelationships

func (c *Client) GetSubscriptionPricePointEqualizationsRelationships(ctx context.Context, pricePointID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetSubscriptionPricePointEqualizationsRelationships retrieves equalization linkages for a subscription 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) GetSubscriptionPricePointsRelationships

func (c *Client) GetSubscriptionPricePointsRelationships(ctx context.Context, subID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetSubscriptionPricePointsRelationships retrieves price point linkages for a subscription.

func (*Client) GetSubscriptionPrices

func (c *Client) GetSubscriptionPrices(ctx context.Context, subscriptionID string, opts ...SubscriptionPricesOption) (*SubscriptionPricesResponse, error)

GetSubscriptionPrices retrieves prices for a subscription.

func (*Client) GetSubscriptionPricesRelationships

func (c *Client) GetSubscriptionPricesRelationships(ctx context.Context, subID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetSubscriptionPricesRelationships retrieves price linkages for a subscription.

func (*Client) GetSubscriptionPromotedPurchase

func (c *Client) GetSubscriptionPromotedPurchase(ctx context.Context, subID string) (*PromotedPurchaseResponse, error)

GetSubscriptionPromotedPurchase retrieves the promoted purchase for a subscription.

func (*Client) GetSubscriptionPromotedPurchaseRelationship

func (c *Client) GetSubscriptionPromotedPurchaseRelationship(ctx context.Context, subID string) (*SubscriptionPromotedPurchaseLinkageResponse, error)

GetSubscriptionPromotedPurchaseRelationship retrieves the promoted purchase linkage for a subscription.

func (*Client) GetSubscriptionPromotionalOffer

func (c *Client) GetSubscriptionPromotionalOffer(ctx context.Context, offerID string) (*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) GetSubscriptionPromotionalOfferPricesRelationships

func (c *Client) GetSubscriptionPromotionalOfferPricesRelationships(ctx context.Context, offerID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetSubscriptionPromotionalOfferPricesRelationships retrieves price linkages 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) GetSubscriptionPromotionalOffersRelationships

func (c *Client) GetSubscriptionPromotionalOffersRelationships(ctx context.Context, subID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetSubscriptionPromotionalOffersRelationships retrieves promotional offer linkages for a subscription.

func (*Client) GetSubscriptionSubscriptionAvailabilityRelationship

func (c *Client) GetSubscriptionSubscriptionAvailabilityRelationship(ctx context.Context, subID string) (*SubscriptionSubscriptionAvailabilityLinkageResponse, error)

GetSubscriptionSubscriptionAvailabilityRelationship retrieves the subscription availability linkage for a subscription.

func (*Client) GetSubscriptionSubscriptionLocalizationsRelationships

func (c *Client) GetSubscriptionSubscriptionLocalizationsRelationships(ctx context.Context, subID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetSubscriptionSubscriptionLocalizationsRelationships retrieves subscription localization linkages for a subscription.

func (*Client) GetSubscriptionWinBackOffers

func (c *Client) GetSubscriptionWinBackOffers(ctx context.Context, subscriptionID string, opts ...WinBackOffersOption) (*WinBackOffersResponse, error)

GetSubscriptionWinBackOffers retrieves win-back offers for a subscription.

func (*Client) GetSubscriptionWinBackOffersRelationships

func (c *Client) GetSubscriptionWinBackOffersRelationships(ctx context.Context, subscriptionID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetSubscriptionWinBackOffersRelationships retrieves win-back offer relationships for a subscription.

func (*Client) GetSubscriptions

func (c *Client) GetSubscriptions(ctx context.Context, groupID string, opts ...SubscriptionsOption) (*SubscriptionsResponse, error)

GetSubscriptions retrieves the list of subscriptions for a group.

func (*Client) GetTerritories

func (c *Client) GetTerritories(ctx context.Context, opts ...TerritoriesOption) (*TerritoriesResponse, error)

GetTerritories retrieves available territories.

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 retrieves a single user by ID.

func (*Client) GetUserInvitation

func (c *Client) GetUserInvitation(ctx context.Context, inviteID string) (*UserInvitationResponse, error)

GetUserInvitation retrieves a user invitation by ID.

func (*Client) GetUserInvitationVisibleApps

func (c *Client) GetUserInvitationVisibleApps(ctx context.Context, invitationID string, opts ...UserInvitationVisibleAppsOption) (*AppsResponse, error)

GetUserInvitationVisibleApps retrieves visible apps for a user invitation.

func (*Client) GetUserInvitationVisibleAppsRelationships

func (c *Client) GetUserInvitationVisibleAppsRelationships(ctx context.Context, invitationID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetUserInvitationVisibleAppsRelationships retrieves visible app linkages for a user invitation.

func (*Client) GetUserInvitations

func (c *Client) GetUserInvitations(ctx context.Context, opts ...UserInvitationsOption) (*UserInvitationsResponse, error)

GetUserInvitations retrieves the list of user invitations.

func (*Client) GetUserVisibleApps

func (c *Client) GetUserVisibleApps(ctx context.Context, userID string, opts ...UserVisibleAppsOption) (*AppsResponse, error)

GetUserVisibleApps retrieves the visible apps for a user.

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 retrieves the list of users.

func (*Client) GetWebhook

func (c *Client) GetWebhook(ctx context.Context, webhookID string) (*WebhookResponse, error)

GetWebhook retrieves a webhook by ID.

func (*Client) GetWebhookDeliveries

func (c *Client) GetWebhookDeliveries(ctx context.Context, webhookID string, opts ...WebhookDeliveriesOption) (*WebhookDeliveriesResponse, error)

GetWebhookDeliveries retrieves deliveries for a webhook.

func (*Client) GetWebhookDeliveriesRelationships

func (c *Client) GetWebhookDeliveriesRelationships(ctx context.Context, webhookID string, opts ...LinkagesOption) (*WebhookDeliveriesLinkagesResponse, error)

GetWebhookDeliveriesRelationships retrieves delivery relationships for a webhook.

func (*Client) GetWinBackOffer

func (c *Client) GetWinBackOffer(ctx context.Context, offerID string) (*WinBackOfferResponse, error)

GetWinBackOffer retrieves a win-back offer by ID.

func (*Client) GetWinBackOfferPrices

func (c *Client) GetWinBackOfferPrices(ctx context.Context, offerID string, opts ...WinBackOfferPricesOption) (*WinBackOfferPricesResponse, error)

GetWinBackOfferPrices retrieves prices for a win-back offer.

func (*Client) GetWinBackOfferPricesRelationships

func (c *Client) GetWinBackOfferPricesRelationships(ctx context.Context, offerID string, opts ...LinkagesOption) (*LinkagesResponse, error)

GetWinBackOfferPricesRelationships retrieves price relationships for a win-back offer.

func (*Client) ListBetaBuildLocalizations

func (c *Client) ListBetaBuildLocalizations(ctx context.Context, opts ...BetaBuildLocalizationsOption) (*BetaBuildLocalizationsResponse, error)

ListBetaBuildLocalizations retrieves beta build localizations using the top-level /v1/betaBuildLocalizations endpoint (global list).

func (*Client) ListBetaGroups

func (c *Client) ListBetaGroups(ctx context.Context, opts ...BetaGroupsOption) (*BetaGroupsResponse, error)

ListBetaGroups retrieves beta groups using the top-level /v1/betaGroups endpoint (global list).

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 retrieves review submissions using the top-level /v1/reviewSubmissions endpoint. App Store Connect requires filter[app] for this endpoint, so callers should pass WithReviewSubmissionsApps.

func (*Client) RegisterDevice

func (c *Client) RegisterDevice(ctx context.Context, attrs DeviceCreateAttributes) (*DeviceResponse, error)

RegisterDevice registers a new device.

func (*Client) RemoveBetaGroupsFromBuild

func (c *Client) RemoveBetaGroupsFromBuild(ctx context.Context, buildID string, groupIDs []string) error

RemoveBetaGroupsFromBuild removes beta groups from a build.

func (*Client) RemoveBetaTesterFromApps

func (c *Client) RemoveBetaTesterFromApps(ctx context.Context, testerID string, appIDs []string) error

RemoveBetaTesterFromApps removes a tester from multiple apps.

func (*Client) RemoveBetaTesterFromGroups

func (c *Client) RemoveBetaTesterFromGroups(ctx context.Context, testerID string, groupIDs []string) error

RemoveBetaTesterFromGroups removes a tester from multiple beta groups.

func (*Client) RemoveBetaTestersFromApp

func (c *Client) RemoveBetaTestersFromApp(ctx context.Context, appID string, testerIDs []string) error

RemoveBetaTestersFromApp removes beta testers from an app.

func (*Client) RemoveBetaTestersFromGroup

func (c *Client) RemoveBetaTestersFromGroup(ctx context.Context, groupID string, testerIDs []string) error

RemoveBetaTestersFromGroup removes testers from a beta group.

func (*Client) RemoveBuildsFromBetaGroup

func (c *Client) RemoveBuildsFromBetaGroup(ctx context.Context, groupID string, buildIDs []string) error

RemoveBuildsFromBetaGroup removes builds from a beta group.

func (*Client) RemoveBuildsFromBetaTester

func (c *Client) RemoveBuildsFromBetaTester(ctx context.Context, testerID string, buildIDs []string) error

RemoveBuildsFromBetaTester removes builds from a beta tester.

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) RemoveGameCenterAppVersionCompatibilityVersions

func (c *Client) RemoveGameCenterAppVersionCompatibilityVersions(ctx context.Context, appVersionID string, compatibleIDs []string) error

RemoveGameCenterAppVersionCompatibilityVersions removes compatibility versions from a Game Center app version.

func (*Client) RemoveGameCenterEnabledVersionCompatibleVersions

func (c *Client) RemoveGameCenterEnabledVersionCompatibleVersions(ctx context.Context, enabledVersionID string, compatibleIDs []string) error

RemoveGameCenterEnabledVersionCompatibleVersions removes compatible enabled versions.

func (*Client) RemoveGameCenterLeaderboardSetMembers

func (c *Client) RemoveGameCenterLeaderboardSetMembers(ctx context.Context, setID string, leaderboardIDs []string) error

RemoveGameCenterLeaderboardSetMembers removes leaderboards from a leaderboard set.

func (*Client) RemoveGameCenterLeaderboardSetMembersV2

func (c *Client) RemoveGameCenterLeaderboardSetMembersV2(ctx context.Context, setID string, leaderboardIDs []string) error

RemoveGameCenterLeaderboardSetMembersV2 removes leaderboards from a v2 leaderboard set.

func (*Client) RemoveIndividualTestersFromBuild

func (c *Client) RemoveIndividualTestersFromBuild(ctx context.Context, buildID string, testerIDs []string) error

RemoveIndividualTestersFromBuild removes individual testers from a build.

func (*Client) RemoveSubscriptionIntroductoryOffers

func (c *Client) RemoveSubscriptionIntroductoryOffers(ctx context.Context, subID string, offerIDs []string) error

RemoveSubscriptionIntroductoryOffers removes introductory offer relationships from a subscription.

func (*Client) RemoveSubscriptionPrices

func (c *Client) RemoveSubscriptionPrices(ctx context.Context, subID string, priceIDs []string) error

RemoveSubscriptionPrices removes price relationships from a subscription.

func (*Client) RemoveUserVisibleApps

func (c *Client) RemoveUserVisibleApps(ctx context.Context, userID string, appIDs []string) error

RemoveUserVisibleApps removes visible apps from a user.

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 revokes a certificate by ID.

func (*Client) SetAppPreviewFrameTimeCode added in v1.260325.0

func (c *Client) SetAppPreviewFrameTimeCode(ctx context.Context, previewID string, timeCode string) (*AppPreviewResponse, error)

SetAppPreviewFrameTimeCode sets the poster frame timecode for a preview.

func (*Client) SetAppPromotedPurchases

func (c *Client) SetAppPromotedPurchases(ctx context.Context, appID string, promotedPurchaseIDs []string) error

SetAppPromotedPurchases replaces promoted purchases for an app.

func (*Client) SetAppSearchKeywords

func (c *Client) SetAppSearchKeywords(ctx context.Context, appID string, keywords []string) error

SetAppSearchKeywords replaces the search keywords for an app.

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) SetUserVisibleApps

func (c *Client) SetUserVisibleApps(ctx context.Context, userID string, appIDs []string) error

SetUserVisibleApps replaces the visible apps list for a user.

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 updates an accessibility declaration by ID.

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 updates an existing mapping.

func (*Client) UpdateApp

func (c *Client) UpdateApp(ctx context.Context, appID string, attrs AppUpdateAttributes) (*AppResponse, error)

UpdateApp updates an app by ID.

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) (*AppClipAdvancedExperienceImageResponse, error)

UpdateAppClipAdvancedExperienceImage commits an upload.

func (*Client) UpdateAppClipAppStoreReviewDetail

func (c *Client) UpdateAppClipAppStoreReviewDetail(ctx context.Context, detailID string, attrs *AppClipAppStoreReviewDetailUpdateAttributes) (*AppClipAppStoreReviewDetailResponse, error)

UpdateAppClipAppStoreReviewDetail updates review detail by ID.

func (*Client) UpdateAppClipDefaultExperience

func (c *Client) UpdateAppClipDefaultExperience(ctx context.Context, experienceID string, attrs *AppClipDefaultExperienceUpdateAttributes, releaseVersionID string) (*AppClipDefaultExperienceResponse, error)

UpdateAppClipDefaultExperience updates a default experience.

func (*Client) UpdateAppClipDefaultExperienceLocalization

func (c *Client) UpdateAppClipDefaultExperienceLocalization(ctx context.Context, localizationID string, attrs *AppClipDefaultExperienceLocalizationUpdateAttributes) (*AppClipDefaultExperienceLocalizationResponse, error)

UpdateAppClipDefaultExperienceLocalization updates a localization.

func (*Client) UpdateAppClipDefaultExperienceReleaseWithAppStoreVersionRelationship

func (c *Client) UpdateAppClipDefaultExperienceReleaseWithAppStoreVersionRelationship(ctx context.Context, experienceID, versionID string) error

UpdateAppClipDefaultExperienceReleaseWithAppStoreVersionRelationship updates the releaseWithAppStoreVersion relationship.

func (*Client) UpdateAppClipHeaderImage

func (c *Client) UpdateAppClipHeaderImage(ctx context.Context, imageID string, uploaded bool) (*AppClipHeaderImageResponse, error)

UpdateAppClipHeaderImage commits a header image upload.

func (*Client) UpdateAppCustomProductPage

func (c *Client) UpdateAppCustomProductPage(ctx context.Context, pageID string, attrs AppCustomProductPageUpdateAttributes) (*AppCustomProductPageResponse, error)

UpdateAppCustomProductPage updates a custom product page.

func (*Client) UpdateAppCustomProductPageLocalization

func (c *Client) UpdateAppCustomProductPageLocalization(ctx context.Context, localizationID string, attrs AppCustomProductPageLocalizationUpdateAttributes) (*AppCustomProductPageLocalizationResponse, error)

UpdateAppCustomProductPageLocalization updates a custom product page localization.

func (*Client) UpdateAppCustomProductPageVersion

func (c *Client) UpdateAppCustomProductPageVersion(ctx context.Context, versionID string, attrs AppCustomProductPageVersionUpdateAttributes) (*AppCustomProductPageVersionResponse, error)

UpdateAppCustomProductPageVersion updates a custom product page version.

func (*Client) UpdateAppEncryptionDeclarationDocument

func (c *Client) UpdateAppEncryptionDeclarationDocument(ctx context.Context, documentID string, attrs AppEncryptionDeclarationDocumentUpdateAttributes) (*AppEncryptionDeclarationDocumentResponse, error)

UpdateAppEncryptionDeclarationDocument updates a document by ID.

func (*Client) UpdateAppEvent

func (c *Client) UpdateAppEvent(ctx context.Context, eventID string, attrs AppEventUpdateAttributes) (*AppEventResponse, error)

UpdateAppEvent updates an app event.

func (*Client) UpdateAppEventLocalization

func (c *Client) UpdateAppEventLocalization(ctx context.Context, localizationID string, attrs AppEventLocalizationUpdateAttributes) (*AppEventLocalizationResponse, error)

UpdateAppEventLocalization updates an app event localization.

func (*Client) UpdateAppEventScreenshot

func (c *Client) UpdateAppEventScreenshot(ctx context.Context, screenshotID string, uploaded bool) (*AppEventScreenshotResponse, error)

UpdateAppEventScreenshot updates an app event screenshot.

func (*Client) UpdateAppEventVideoClip

func (c *Client) UpdateAppEventVideoClip(ctx context.Context, clipID string, attrs AppEventVideoClipUpdateAttributes) (*AppEventVideoClipResponse, error)

UpdateAppEventVideoClip updates an app event video clip.

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, attributes AppInfoLocalizationAttributes) (*AppInfoLocalizationResponse, error)

UpdateAppInfoLocalization updates a localization for an app info resource.

func (*Client) UpdateAppPreview

func (c *Client) UpdateAppPreview(ctx context.Context, previewID string, uploaded bool, checksumHash string) (*AppPreviewResponse, error)

UpdateAppPreview updates a preview (used to commit upload).

func (*Client) UpdateAppPreviewSetAppPreviewsRelationship

func (c *Client) UpdateAppPreviewSetAppPreviewsRelationship(ctx context.Context, setID string, previewIDs []string) error

UpdateAppPreviewSetAppPreviewsRelationship replaces the previews on a preview set.

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 replaces the screenshots on a screenshot set.

func (*Client) UpdateAppStoreReviewAttachment

func (c *Client) UpdateAppStoreReviewAttachment(ctx context.Context, attachmentID string, attrs AppStoreReviewAttachmentUpdateAttributes) (*AppStoreReviewAttachmentResponse, error)

UpdateAppStoreReviewAttachment updates an attachment by ID.

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 updates an experiment (v1).

func (*Client) UpdateAppStoreVersionExperimentTreatment

func (c *Client) UpdateAppStoreVersionExperimentTreatment(ctx context.Context, treatmentID string, attrs AppStoreVersionExperimentTreatmentUpdateAttributes) (*AppStoreVersionExperimentTreatmentResponse, error)

UpdateAppStoreVersionExperimentTreatment updates a treatment.

func (*Client) UpdateAppStoreVersionExperimentV2

func (c *Client) UpdateAppStoreVersionExperimentV2(ctx context.Context, experimentID string, attrs AppStoreVersionExperimentV2UpdateAttributes) (*AppStoreVersionExperimentV2Response, error)

UpdateAppStoreVersionExperimentV2 updates an experiment (v2).

func (*Client) UpdateAppStoreVersionLocalization

func (c *Client) UpdateAppStoreVersionLocalization(ctx context.Context, localizationID string, attributes AppStoreVersionLocalizationAttributes) (*AppStoreVersionLocalizationResponse, error)

UpdateAppStoreVersionLocalization updates a localization for an app store version.

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) UpdateAppTag

func (c *Client) UpdateAppTag(ctx context.Context, tagID string, attrs AppTagUpdateAttributes) (*AppTagResponse, error)

UpdateAppTag updates an app tag by ID.

func (*Client) UpdateBackgroundAsset

func (c *Client) UpdateBackgroundAsset(ctx context.Context, id string, attrs BackgroundAssetUpdateAttributes) (*BackgroundAssetResponse, error)

UpdateBackgroundAsset updates a background asset by ID.

func (*Client) UpdateBackgroundAssetUploadFile

func (c *Client) UpdateBackgroundAssetUploadFile(ctx context.Context, uploadFileID string, attrs BackgroundAssetUploadFileUpdateAttributes) (*BackgroundAssetUploadFileResponse, error)

UpdateBackgroundAssetUploadFile updates a background asset upload file by ID.

func (*Client) UpdateBetaAppClipInvocation

func (c *Client) UpdateBetaAppClipInvocation(ctx context.Context, invocationID string, attrs *BetaAppClipInvocationUpdateAttributes) (*BetaAppClipInvocationResponse, error)

UpdateBetaAppClipInvocation updates a beta App Clip invocation.

func (*Client) UpdateBetaAppClipInvocationLocalization

func (c *Client) UpdateBetaAppClipInvocationLocalization(ctx context.Context, localizationID string, attrs *BetaAppClipInvocationLocalizationUpdateAttributes) (*BetaAppClipInvocationLocalizationResponse, error)

UpdateBetaAppClipInvocationLocalization updates a localization.

func (*Client) UpdateBetaAppLocalization

func (c *Client) UpdateBetaAppLocalization(ctx context.Context, localizationID string, attrs BetaAppLocalizationUpdateAttributes) (*BetaAppLocalizationResponse, error)

UpdateBetaAppLocalization updates a beta app localization by ID.

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, attributes BetaBuildLocalizationAttributes) (*BetaBuildLocalizationResponse, error)

UpdateBetaBuildLocalization updates a beta build localization by ID.

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) UpdateBuildAppEncryptionDeclarationRelationship

func (c *Client) UpdateBuildAppEncryptionDeclarationRelationship(ctx context.Context, buildID, declarationID string) error

UpdateBuildAppEncryptionDeclarationRelationship updates the app encryption declaration relationship on a build.

func (*Client) UpdateBuildBetaDetail

func (c *Client) UpdateBuildBetaDetail(ctx context.Context, detailID string, attrs BuildBetaDetailUpdateAttributes) (*BuildBetaDetailResponse, error)

UpdateBuildBetaDetail updates build beta details by ID.

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 updates an existing bundle ID.

func (*Client) UpdateBundleIDCapability

func (c *Client) UpdateBundleIDCapability(ctx context.Context, capabilityID string, attrs BundleIDCapabilityUpdateAttributes) (*BundleIDCapabilityResponse, error)

UpdateBundleIDCapability updates an existing bundle ID capability.

func (*Client) UpdateCertificate

func (c *Client) UpdateCertificate(ctx context.Context, id string, attrs CertificateUpdateAttributes) (*CertificateResponse, error)

UpdateCertificate updates a certificate's attributes.

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 updates a device by ID.

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 updates an existing Game Center achievement.

func (*Client) UpdateGameCenterAchievementActivityRelationship

func (c *Client) UpdateGameCenterAchievementActivityRelationship(ctx context.Context, achievementID, activityID string) error

UpdateGameCenterAchievementActivityRelationship updates the activity relationship on an achievement.

func (*Client) UpdateGameCenterAchievementActivityRelationshipV2

func (c *Client) UpdateGameCenterAchievementActivityRelationshipV2(ctx context.Context, achievementID, activityID string) error

UpdateGameCenterAchievementActivityRelationshipV2 updates the activity relationship on a v2 achievement.

func (*Client) UpdateGameCenterAchievementGroupAchievementRelationship

func (c *Client) UpdateGameCenterAchievementGroupAchievementRelationship(ctx context.Context, achievementID, groupAchievementID string) error

UpdateGameCenterAchievementGroupAchievementRelationship updates the groupAchievement relationship on an achievement.

func (*Client) UpdateGameCenterAchievementImage

func (c *Client) UpdateGameCenterAchievementImage(ctx context.Context, imageID string, uploaded bool) (*GameCenterAchievementImageResponse, error)

UpdateGameCenterAchievementImage updates a Game Center achievement image (used to commit upload).

func (*Client) UpdateGameCenterAchievementImageV2

func (c *Client) UpdateGameCenterAchievementImageV2(ctx context.Context, imageID string, uploaded bool) (*GameCenterAchievementImageResponse, error)

UpdateGameCenterAchievementImageV2 updates a v2 achievement image (used to commit upload).

func (*Client) UpdateGameCenterAchievementLocalization

func (c *Client) UpdateGameCenterAchievementLocalization(ctx context.Context, localizationID string, attrs GameCenterAchievementLocalizationUpdateAttributes) (*GameCenterAchievementLocalizationResponse, error)

UpdateGameCenterAchievementLocalization updates an existing Game Center achievement localization.

func (*Client) UpdateGameCenterAchievementLocalizationV2

func (c *Client) UpdateGameCenterAchievementLocalizationV2(ctx context.Context, localizationID string, attrs GameCenterAchievementLocalizationUpdateAttributes) (*GameCenterAchievementLocalizationResponse, error)

UpdateGameCenterAchievementLocalizationV2 updates a v2 achievement localization.

func (*Client) UpdateGameCenterAchievementV2

func (c *Client) UpdateGameCenterAchievementV2(ctx context.Context, achievementID string, attrs GameCenterAchievementUpdateAttributes) (*GameCenterAchievementResponse, error)

UpdateGameCenterAchievementV2 updates an existing v2 Game Center achievement.

func (*Client) UpdateGameCenterActivity

func (c *Client) UpdateGameCenterActivity(ctx context.Context, activityID string, attrs GameCenterActivityUpdateAttributes) (*GameCenterActivityResponse, error)

UpdateGameCenterActivity updates an existing Game Center activity.

func (*Client) UpdateGameCenterActivityImage

func (c *Client) UpdateGameCenterActivityImage(ctx context.Context, imageID string, uploaded bool) (*GameCenterActivityImageResponse, error)

UpdateGameCenterActivityImage commits an activity image upload.

func (*Client) UpdateGameCenterActivityLocalization

func (c *Client) UpdateGameCenterActivityLocalization(ctx context.Context, localizationID string, attrs GameCenterActivityLocalizationUpdateAttributes) (*GameCenterActivityLocalizationResponse, error)

UpdateGameCenterActivityLocalization updates an activity localization.

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 updates an existing Game Center challenge.

func (*Client) UpdateGameCenterChallengeImage

func (c *Client) UpdateGameCenterChallengeImage(ctx context.Context, imageID string, uploaded bool) (*GameCenterChallengeImageResponse, error)

UpdateGameCenterChallengeImage commits a challenge image upload.

func (*Client) UpdateGameCenterChallengeLeaderboardRelationship

func (c *Client) UpdateGameCenterChallengeLeaderboardRelationship(ctx context.Context, challengeID, leaderboardID string) error

UpdateGameCenterChallengeLeaderboardRelationship updates the leaderboard relationship on a challenge.

func (*Client) UpdateGameCenterChallengeLeaderboardV2Relationship

func (c *Client) UpdateGameCenterChallengeLeaderboardV2Relationship(ctx context.Context, challengeID, leaderboardID string) error

UpdateGameCenterChallengeLeaderboardV2Relationship updates the leaderboardV2 relationship on a challenge.

func (*Client) UpdateGameCenterChallengeLocalization

func (c *Client) UpdateGameCenterChallengeLocalization(ctx context.Context, localizationID string, attrs GameCenterChallengeLocalizationUpdateAttributes) (*GameCenterChallengeLocalizationResponse, error)

UpdateGameCenterChallengeLocalization updates a challenge localization.

func (*Client) UpdateGameCenterDetail

UpdateGameCenterDetail updates an existing Game Center detail.

func (*Client) UpdateGameCenterDetailChallengesMinimumPlatformVersionsRelationship

func (c *Client) UpdateGameCenterDetailChallengesMinimumPlatformVersionsRelationship(ctx context.Context, detailID string, versionIDs []string) error

UpdateGameCenterDetailChallengesMinimumPlatformVersionsRelationship replaces the challengesMinimumPlatformVersions relationship.

func (*Client) UpdateGameCenterDetailGameCenterAchievementsRelationship

func (c *Client) UpdateGameCenterDetailGameCenterAchievementsRelationship(ctx context.Context, detailID string, achievementIDs []string) error

UpdateGameCenterDetailGameCenterAchievementsRelationship replaces the gameCenterAchievements relationship.

func (*Client) UpdateGameCenterDetailGameCenterAchievementsV2Relationship

func (c *Client) UpdateGameCenterDetailGameCenterAchievementsV2Relationship(ctx context.Context, detailID string, achievementIDs []string) error

UpdateGameCenterDetailGameCenterAchievementsV2Relationship replaces the gameCenterAchievementsV2 relationship.

func (*Client) UpdateGameCenterDetailGameCenterLeaderboardSetsRelationship

func (c *Client) UpdateGameCenterDetailGameCenterLeaderboardSetsRelationship(ctx context.Context, detailID string, setIDs []string) error

UpdateGameCenterDetailGameCenterLeaderboardSetsRelationship replaces the gameCenterLeaderboardSets relationship.

func (*Client) UpdateGameCenterDetailGameCenterLeaderboardSetsV2Relationship

func (c *Client) UpdateGameCenterDetailGameCenterLeaderboardSetsV2Relationship(ctx context.Context, detailID string, setIDs []string) error

UpdateGameCenterDetailGameCenterLeaderboardSetsV2Relationship replaces the gameCenterLeaderboardSetsV2 relationship.

func (*Client) UpdateGameCenterDetailGameCenterLeaderboardsRelationship

func (c *Client) UpdateGameCenterDetailGameCenterLeaderboardsRelationship(ctx context.Context, detailID string, leaderboardIDs []string) error

UpdateGameCenterDetailGameCenterLeaderboardsRelationship replaces the gameCenterLeaderboards relationship.

func (*Client) UpdateGameCenterDetailGameCenterLeaderboardsV2Relationship

func (c *Client) UpdateGameCenterDetailGameCenterLeaderboardsV2Relationship(ctx context.Context, detailID string, leaderboardIDs []string) error

UpdateGameCenterDetailGameCenterLeaderboardsV2Relationship replaces the gameCenterLeaderboardsV2 relationship.

func (*Client) UpdateGameCenterEnabledVersionCompatibleVersionsRelationship

func (c *Client) UpdateGameCenterEnabledVersionCompatibleVersionsRelationship(ctx context.Context, enabledVersionID string, compatibleIDs []string) error

UpdateGameCenterEnabledVersionCompatibleVersionsRelationship replaces the compatibleVersions relationship.

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 replaces the group's achievements.

func (*Client) UpdateGameCenterGroupAchievementsV2

func (c *Client) UpdateGameCenterGroupAchievementsV2(ctx context.Context, groupID string, achievementIDs []string) error

UpdateGameCenterGroupAchievementsV2 replaces the group's v2 achievements.

func (*Client) UpdateGameCenterGroupChallenges

func (c *Client) UpdateGameCenterGroupChallenges(ctx context.Context, groupID string, challengeIDs []string) error

UpdateGameCenterGroupChallenges replaces the group's challenges.

func (*Client) UpdateGameCenterGroupGameCenterLeaderboardSetsRelationship

func (c *Client) UpdateGameCenterGroupGameCenterLeaderboardSetsRelationship(ctx context.Context, groupID string, setIDs []string) error

UpdateGameCenterGroupGameCenterLeaderboardSetsRelationship replaces the gameCenterLeaderboardSets relationship.

func (*Client) UpdateGameCenterGroupGameCenterLeaderboardSetsV2Relationship

func (c *Client) UpdateGameCenterGroupGameCenterLeaderboardSetsV2Relationship(ctx context.Context, groupID string, setIDs []string) error

UpdateGameCenterGroupGameCenterLeaderboardSetsV2Relationship replaces the gameCenterLeaderboardSetsV2 relationship.

func (*Client) UpdateGameCenterGroupLeaderboards

func (c *Client) UpdateGameCenterGroupLeaderboards(ctx context.Context, groupID string, leaderboardIDs []string) error

UpdateGameCenterGroupLeaderboards replaces the group's leaderboards.

func (*Client) UpdateGameCenterGroupLeaderboardsV2

func (c *Client) UpdateGameCenterGroupLeaderboardsV2(ctx context.Context, groupID string, leaderboardIDs []string) error

UpdateGameCenterGroupLeaderboardsV2 replaces the group's v2 leaderboards.

func (*Client) UpdateGameCenterLeaderboard

func (c *Client) UpdateGameCenterLeaderboard(ctx context.Context, leaderboardID string, attrs GameCenterLeaderboardUpdateAttributes) (*GameCenterLeaderboardResponse, error)

UpdateGameCenterLeaderboard updates an existing Game Center leaderboard.

func (*Client) UpdateGameCenterLeaderboardActivityRelationship

func (c *Client) UpdateGameCenterLeaderboardActivityRelationship(ctx context.Context, leaderboardID, activityID string) error

UpdateGameCenterLeaderboardActivityRelationship updates the activity relationship on a leaderboard.

func (*Client) UpdateGameCenterLeaderboardActivityRelationshipV2

func (c *Client) UpdateGameCenterLeaderboardActivityRelationshipV2(ctx context.Context, leaderboardID, activityID string) error

UpdateGameCenterLeaderboardActivityRelationshipV2 updates the activity relationship on a v2 leaderboard.

func (*Client) UpdateGameCenterLeaderboardChallengeRelationship

func (c *Client) UpdateGameCenterLeaderboardChallengeRelationship(ctx context.Context, leaderboardID, challengeID string) error

UpdateGameCenterLeaderboardChallengeRelationship updates the challenge relationship on a leaderboard.

func (*Client) UpdateGameCenterLeaderboardChallengeRelationshipV2

func (c *Client) UpdateGameCenterLeaderboardChallengeRelationshipV2(ctx context.Context, leaderboardID, challengeID string) error

UpdateGameCenterLeaderboardChallengeRelationshipV2 updates the challenge relationship on a v2 leaderboard.

func (*Client) UpdateGameCenterLeaderboardGroupLeaderboardRelationship

func (c *Client) UpdateGameCenterLeaderboardGroupLeaderboardRelationship(ctx context.Context, leaderboardID, groupLeaderboardID string) error

UpdateGameCenterLeaderboardGroupLeaderboardRelationship updates the groupLeaderboard relationship on a leaderboard.

func (*Client) UpdateGameCenterLeaderboardImage

func (c *Client) UpdateGameCenterLeaderboardImage(ctx context.Context, imageID string, uploaded bool) (*GameCenterLeaderboardImageResponse, error)

UpdateGameCenterLeaderboardImage commits an image upload.

func (*Client) UpdateGameCenterLeaderboardImageV2

func (c *Client) UpdateGameCenterLeaderboardImageV2(ctx context.Context, imageID string, uploaded bool) (*GameCenterLeaderboardImageResponse, error)

UpdateGameCenterLeaderboardImageV2 updates a v2 leaderboard image (used to commit upload).

func (*Client) UpdateGameCenterLeaderboardLocalization

func (c *Client) UpdateGameCenterLeaderboardLocalization(ctx context.Context, localizationID string, attrs GameCenterLeaderboardLocalizationUpdateAttributes) (*GameCenterLeaderboardLocalizationResponse, error)

UpdateGameCenterLeaderboardLocalization updates an existing Game Center leaderboard localization.

func (*Client) UpdateGameCenterLeaderboardLocalizationV2

func (c *Client) UpdateGameCenterLeaderboardLocalizationV2(ctx context.Context, localizationID string, attrs GameCenterLeaderboardLocalizationUpdateAttributes) (*GameCenterLeaderboardLocalizationResponse, error)

UpdateGameCenterLeaderboardLocalizationV2 updates a v2 leaderboard localization.

func (*Client) UpdateGameCenterLeaderboardSet

func (c *Client) UpdateGameCenterLeaderboardSet(ctx context.Context, setID string, attrs GameCenterLeaderboardSetUpdateAttributes) (*GameCenterLeaderboardSetResponse, error)

UpdateGameCenterLeaderboardSet updates an existing Game Center leaderboard set.

func (*Client) UpdateGameCenterLeaderboardSetGroupLeaderboardSetRelationship

func (c *Client) UpdateGameCenterLeaderboardSetGroupLeaderboardSetRelationship(ctx context.Context, setID, groupSetID string) error

UpdateGameCenterLeaderboardSetGroupLeaderboardSetRelationship updates the groupLeaderboardSet relationship on a leaderboard set.

func (*Client) UpdateGameCenterLeaderboardSetImage

func (c *Client) UpdateGameCenterLeaderboardSetImage(ctx context.Context, imageID string, uploaded bool) (*GameCenterLeaderboardSetImageResponse, error)

UpdateGameCenterLeaderboardSetImage commits an image upload (sets uploaded=true).

func (*Client) UpdateGameCenterLeaderboardSetImageV2

func (c *Client) UpdateGameCenterLeaderboardSetImageV2(ctx context.Context, imageID string, uploaded bool) (*GameCenterLeaderboardSetImageResponse, error)

UpdateGameCenterLeaderboardSetImageV2 updates a v2 leaderboard set image (used to commit upload).

func (*Client) UpdateGameCenterLeaderboardSetLocalization

func (c *Client) UpdateGameCenterLeaderboardSetLocalization(ctx context.Context, localizationID string, attrs GameCenterLeaderboardSetLocalizationUpdateAttributes) (*GameCenterLeaderboardSetLocalizationResponse, error)

UpdateGameCenterLeaderboardSetLocalization updates an existing Game Center leaderboard set localization.

func (*Client) UpdateGameCenterLeaderboardSetLocalizationV2

func (c *Client) UpdateGameCenterLeaderboardSetLocalizationV2(ctx context.Context, localizationID string, attrs GameCenterLeaderboardSetLocalizationUpdateAttributes) (*GameCenterLeaderboardSetLocalizationResponse, error)

UpdateGameCenterLeaderboardSetLocalizationV2 updates a v2 leaderboard set localization.

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 replaces all leaderboard members in a leaderboard set.

func (*Client) UpdateGameCenterLeaderboardSetMembersV2

func (c *Client) UpdateGameCenterLeaderboardSetMembersV2(ctx context.Context, setID string, leaderboardIDs []string) error

UpdateGameCenterLeaderboardSetMembersV2 replaces all leaderboard members in a v2 leaderboard set.

func (*Client) UpdateGameCenterLeaderboardSetV2

func (c *Client) UpdateGameCenterLeaderboardSetV2(ctx context.Context, setID string, attrs GameCenterLeaderboardSetUpdateAttributes) (*GameCenterLeaderboardSetResponse, error)

UpdateGameCenterLeaderboardSetV2 updates an existing v2 leaderboard set.

func (*Client) UpdateGameCenterLeaderboardV2

func (c *Client) UpdateGameCenterLeaderboardV2(ctx context.Context, leaderboardID string, attrs GameCenterLeaderboardUpdateAttributes) (*GameCenterLeaderboardResponse, error)

UpdateGameCenterLeaderboardV2 updates an existing v2 Game Center leaderboard.

func (*Client) UpdateGameCenterMatchmakingQueue

func (c *Client) UpdateGameCenterMatchmakingQueue(ctx context.Context, queueID string, attrs GameCenterMatchmakingQueueUpdateAttributes, ruleSetID string, experimentRuleSetID string) (*GameCenterMatchmakingQueueResponse, error)

UpdateGameCenterMatchmakingQueue updates a matchmaking queue.

func (*Client) UpdateGameCenterMatchmakingRule

func (c *Client) UpdateGameCenterMatchmakingRule(ctx context.Context, ruleID string, attrs GameCenterMatchmakingRuleUpdateAttributes) (*GameCenterMatchmakingRuleResponse, error)

UpdateGameCenterMatchmakingRule updates a matchmaking rule.

func (*Client) UpdateGameCenterMatchmakingRuleSet

func (c *Client) UpdateGameCenterMatchmakingRuleSet(ctx context.Context, ruleSetID string, attrs GameCenterMatchmakingRuleSetUpdateAttributes) (*GameCenterMatchmakingRuleSetResponse, error)

UpdateGameCenterMatchmakingRuleSet updates a matchmaking rule set.

func (*Client) UpdateGameCenterMatchmakingTeam

func (c *Client) UpdateGameCenterMatchmakingTeam(ctx context.Context, teamID string, attrs GameCenterMatchmakingTeamUpdateAttributes) (*GameCenterMatchmakingTeamResponse, error)

UpdateGameCenterMatchmakingTeam updates a matchmaking team.

func (*Client) UpdateInAppPurchaseAppStoreReviewScreenshot

func (c *Client) UpdateInAppPurchaseAppStoreReviewScreenshot(ctx context.Context, screenshotID string, attrs InAppPurchaseAppStoreReviewScreenshotUpdateAttributes) (*InAppPurchaseAppStoreReviewScreenshotResponse, error)

UpdateInAppPurchaseAppStoreReviewScreenshot updates a review screenshot.

func (*Client) UpdateInAppPurchaseImage

func (c *Client) UpdateInAppPurchaseImage(ctx context.Context, imageID string, attrs InAppPurchaseImageUpdateAttributes) (*InAppPurchaseImageResponse, error)

UpdateInAppPurchaseImage updates an in-app purchase image.

func (*Client) UpdateInAppPurchaseLocalization

func (c *Client) UpdateInAppPurchaseLocalization(ctx context.Context, localizationID string, attrs InAppPurchaseLocalizationUpdateAttributes) (*InAppPurchaseLocalizationResponse, error)

UpdateInAppPurchaseLocalization updates an IAP localization by ID.

func (*Client) UpdateInAppPurchaseOfferCode

func (c *Client) UpdateInAppPurchaseOfferCode(ctx context.Context, offerCodeID string, attrs InAppPurchaseOfferCodeUpdateAttributes) (*InAppPurchaseOfferCodeResponse, error)

UpdateInAppPurchaseOfferCode updates an offer code by ID.

func (*Client) UpdateInAppPurchaseOfferCodeCustomCode

func (c *Client) UpdateInAppPurchaseOfferCodeCustomCode(ctx context.Context, customCodeID string, attrs InAppPurchaseOfferCodeCustomCodeUpdateAttributes) (*InAppPurchaseOfferCodeCustomCodeResponse, error)

UpdateInAppPurchaseOfferCodeCustomCode updates a custom code by ID.

func (*Client) UpdateInAppPurchaseOfferCodeOneTimeUseCode

func (c *Client) UpdateInAppPurchaseOfferCodeOneTimeUseCode(ctx context.Context, oneTimeUseCodeID string, attrs InAppPurchaseOfferCodeOneTimeUseCodeUpdateAttributes) (*InAppPurchaseOfferCodeOneTimeUseCodeResponse, error)

UpdateInAppPurchaseOfferCodeOneTimeUseCode updates a one-time use code batch by ID.

func (*Client) UpdateInAppPurchaseV2

func (c *Client) UpdateInAppPurchaseV2(ctx context.Context, iapID string, attrs InAppPurchaseV2UpdateAttributes) (*InAppPurchaseV2Response, error)

UpdateInAppPurchaseV2 updates an existing in-app purchase.

func (*Client) UpdateMarketplaceSearchDetail

func (c *Client) UpdateMarketplaceSearchDetail(ctx context.Context, detailID string, attrs MarketplaceSearchDetailUpdateAttributes) (*MarketplaceSearchDetailResponse, error)

UpdateMarketplaceSearchDetail updates marketplace search details by ID.

func (*Client) UpdateMarketplaceWebhook

func (c *Client) UpdateMarketplaceWebhook(ctx context.Context, webhookID string, attrs MarketplaceWebhookUpdateAttributes) (*MarketplaceWebhookResponse, error)

UpdateMarketplaceWebhook updates a marketplace webhook by ID.

func (*Client) UpdateMerchantID

func (c *Client) UpdateMerchantID(ctx context.Context, id string, attrs MerchantIDUpdateAttributes) (*MerchantIDResponse, error)

UpdateMerchantID updates an existing merchant ID.

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 updates an existing pass type ID.

func (*Client) UpdatePromotedPurchase

func (c *Client) UpdatePromotedPurchase(ctx context.Context, promotedPurchaseID string, attrs PromotedPurchaseUpdateAttributes) (*PromotedPurchaseResponse, error)

UpdatePromotedPurchase updates a promoted purchase by ID.

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 updates routing app coverage by ID.

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 updates a subscription.

func (*Client) UpdateSubscriptionAppStoreReviewScreenshot

func (c *Client) UpdateSubscriptionAppStoreReviewScreenshot(ctx context.Context, screenshotID string, attrs SubscriptionAppStoreReviewScreenshotUpdateAttributes) (*SubscriptionAppStoreReviewScreenshotResponse, error)

UpdateSubscriptionAppStoreReviewScreenshot updates a review screenshot.

func (*Client) UpdateSubscriptionGracePeriod

func (c *Client) UpdateSubscriptionGracePeriod(ctx context.Context, gracePeriodID string, attrs SubscriptionGracePeriodUpdateAttributes) (*SubscriptionGracePeriodResponse, error)

UpdateSubscriptionGracePeriod updates a subscription grace period by ID.

func (*Client) UpdateSubscriptionGroup

func (c *Client) UpdateSubscriptionGroup(ctx context.Context, groupID string, attrs SubscriptionGroupUpdateAttributes) (*SubscriptionGroupResponse, error)

UpdateSubscriptionGroup updates a subscription group.

func (*Client) UpdateSubscriptionGroupLocalization

func (c *Client) UpdateSubscriptionGroupLocalization(ctx context.Context, localizationID string, attrs SubscriptionGroupLocalizationUpdateAttributes) (*SubscriptionGroupLocalizationResponse, error)

UpdateSubscriptionGroupLocalization updates a subscription group localization.

func (*Client) UpdateSubscriptionImage

func (c *Client) UpdateSubscriptionImage(ctx context.Context, imageID string, attrs SubscriptionImageUpdateAttributes) (*SubscriptionImageResponse, error)

UpdateSubscriptionImage updates a subscription image.

func (*Client) UpdateSubscriptionIntroductoryOffer

func (c *Client) UpdateSubscriptionIntroductoryOffer(ctx context.Context, offerID string, attrs SubscriptionIntroductoryOfferUpdateAttributes) (*SubscriptionIntroductoryOfferResponse, error)

UpdateSubscriptionIntroductoryOffer updates an introductory offer.

func (*Client) UpdateSubscriptionLocalization

func (c *Client) UpdateSubscriptionLocalization(ctx context.Context, localizationID string, attrs SubscriptionLocalizationUpdateAttributes) (*SubscriptionLocalizationResponse, error)

UpdateSubscriptionLocalization updates a subscription localization.

func (*Client) UpdateSubscriptionOfferCode

func (c *Client) UpdateSubscriptionOfferCode(ctx context.Context, offerCodeID string, attrs SubscriptionOfferCodeUpdateAttributes) (*SubscriptionOfferCodeResponse, error)

UpdateSubscriptionOfferCode updates an offer code.

func (*Client) UpdateSubscriptionOfferCodeCustomCode

func (c *Client) UpdateSubscriptionOfferCodeCustomCode(ctx context.Context, customCodeID string, attrs SubscriptionOfferCodeCustomCodeUpdateAttributes) (*SubscriptionOfferCodeCustomCodeResponse, error)

UpdateSubscriptionOfferCodeCustomCode updates a custom code.

func (*Client) UpdateSubscriptionOfferCodeOneTimeUseCode

func (c *Client) UpdateSubscriptionOfferCodeOneTimeUseCode(ctx context.Context, oneTimeUseCodeID string, attrs SubscriptionOfferCodeOneTimeUseCodeUpdateAttributes) (*SubscriptionOfferCodeOneTimeUseCodeResponse, error)

UpdateSubscriptionOfferCodeOneTimeUseCode updates a one-time use code batch.

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) (*UserResponse, error)

UpdateUser updates a user by ID.

func (*Client) UpdateWebhook

func (c *Client) UpdateWebhook(ctx context.Context, webhookID string, attrs WebhookUpdateAttributes) (*WebhookResponse, error)

UpdateWebhook updates a webhook by ID.

func (*Client) UpdateWinBackOffer

func (c *Client) UpdateWinBackOffer(ctx context.Context, offerID string, attrs WinBackOfferUpdateAttributes) (*WinBackOfferResponse, error)

UpdateWinBackOffer updates a win-back offer.

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) 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, 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, 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) WaitForBuildProcessing

func (c *Client) WaitForBuildProcessing(ctx context.Context, buildID string, pollInterval time.Duration) (*BuildResponse, error)

WaitForBuildProcessing polls a build until processing completes.

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 CrashAttributes

type CrashAttributes 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"`
}

CrashAttributes describes beta feedback crash submissions.

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 WithCrashLimit

func WithCrashLimit(limit int) CrashOption

WithCrashLimit sets the max number of crash items to return.

func WithCrashNextURL

func WithCrashNextURL(next string) CrashOption

WithCrashNextURL uses a next page URL directly.

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[CrashAttributes]

CrashesResponse is the response from beta feedback crashes endpoint.

type CustomProductPagePreviewUploadResult

type CustomProductPagePreviewUploadResult struct {
	CustomProductPageLocalizationID string                  `json:"customProductPageLocalizationId"`
	SetID                           string                  `json:"setId"`
	PreviewType                     string                  `json:"previewType"`
	Results                         []AssetUploadResultItem `json:"results"`
}

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 CustomerReviewResponse

type CustomerReviewResponse = SingleResponse[ReviewAttributes]

CustomerReviewResponse is the response from customer review detail endpoint.

type CustomerReviewResponseAttributes

type CustomerReviewResponseAttributes struct {
	ResponseBody string `json:"responseBody"`
	LastModified string `json:"lastModifiedDate,omitempty"`
	State        string `json:"state,omitempty"`
}

CustomerReviewResponseAttributes describes a customer review response.

type CustomerReviewResponseCreateAttributes

type CustomerReviewResponseCreateAttributes struct {
	ResponseBody string `json:"responseBody"`
}

CustomerReviewResponseCreateAttributes describes attributes for creating a review response.

type CustomerReviewResponseCreateData

type CustomerReviewResponseCreateData struct {
	Type          ResourceType                           `json:"type"`
	Attributes    CustomerReviewResponseCreateAttributes `json:"attributes"`
	Relationships *CustomerReviewResponseRelationships   `json:"relationships"`
}

CustomerReviewResponseCreateData is the data portion of a review response create request.

type CustomerReviewResponseCreateRequest

type CustomerReviewResponseCreateRequest struct {
	Data CustomerReviewResponseCreateData `json:"data"`
}

CustomerReviewResponseCreateRequest is a request to create a review response.

type CustomerReviewResponseDeleteResult

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

CustomerReviewResponseDeleteResult represents CLI output for review response deletions.

type CustomerReviewResponseLinkageResponse

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

CustomerReviewResponseLinkageResponse is the response for customer review response relationship.

type CustomerReviewResponseRelationships

type CustomerReviewResponseRelationships struct {
	Review *Relationship `json:"review"`
}

CustomerReviewResponseRelationships describes relationships for review response requests.

type CustomerReviewResponseResource

type CustomerReviewResponseResource struct {
	Type       ResourceType                     `json:"type"`
	ID         string                           `json:"id"`
	Attributes CustomerReviewResponseAttributes `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 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 is a functional option for review summarizations.

func WithCustomerReviewSummarizationsFields

func WithCustomerReviewSummarizationsFields(fields []string) CustomerReviewSummarizationsOption

WithCustomerReviewSummarizationsFields sets fields[customerReviewSummarizations] for responses.

func WithCustomerReviewSummarizationsInclude

func WithCustomerReviewSummarizationsInclude(include []string) CustomerReviewSummarizationsOption

WithCustomerReviewSummarizationsInclude sets include for review summarization responses.

func WithCustomerReviewSummarizationsLimit

func WithCustomerReviewSummarizationsLimit(limit int) CustomerReviewSummarizationsOption

WithCustomerReviewSummarizationsLimit sets the max number of review summarizations to return.

func WithCustomerReviewSummarizationsNextURL

func WithCustomerReviewSummarizationsNextURL(next string) CustomerReviewSummarizationsOption

WithCustomerReviewSummarizationsNextURL uses a next page URL directly.

func WithCustomerReviewSummarizationsPlatforms

func WithCustomerReviewSummarizationsPlatforms(platforms []string) CustomerReviewSummarizationsOption

WithCustomerReviewSummarizationsPlatforms filters review summarizations by platform(s).

func WithCustomerReviewSummarizationsTerritories

func WithCustomerReviewSummarizationsTerritories(territories []string) CustomerReviewSummarizationsOption

WithCustomerReviewSummarizationsTerritories filters review summarizations by territory(ies).

func WithCustomerReviewSummarizationsTerritoryFields

func WithCustomerReviewSummarizationsTerritoryFields(fields []string) CustomerReviewSummarizationsOption

WithCustomerReviewSummarizationsTerritoryFields sets fields[territories] for included 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 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 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 portion of a device create request.

type DeviceCreateRequest

type DeviceCreateRequest struct {
	Data DeviceCreateData `json:"data"`
}

DeviceCreateRequest is a request to create a device.

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 string

DevicePlatform represents the platform of a device.

const (
	DevicePlatformIOS   DevicePlatform = "IOS"
	DevicePlatformMacOS DevicePlatform = "MAC_OS"
)

type DeviceResponse

type DeviceResponse = SingleResponse[DeviceAttributes]

DeviceResponse is the response from device detail endpoint.

type DeviceStatus

type DeviceStatus string

DeviceStatus represents the status of a device.

const (
	DeviceStatusEnabled  DeviceStatus = "ENABLED"
	DeviceStatusDisabled DeviceStatus = "DISABLED"
)

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 portion of a device update request.

type DeviceUpdateRequest

type DeviceUpdateRequest struct {
	Data DeviceUpdateData `json:"data"`
}

DeviceUpdateRequest is a request to update a device.

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 WithDevicesFilterPlatforms

func WithDevicesFilterPlatforms(platforms []string) DevicesOption

WithDevicesFilterPlatforms filters devices by platform(s).

func WithDevicesFilterStatuses

func WithDevicesFilterStatuses(statuses []string) DevicesOption

WithDevicesFilterStatuses filters devices by status (e.g., ENABLED, DISABLED).

func WithDevicesFilterUDIDs

func WithDevicesFilterUDIDs(udids []string) DevicesOption

WithDevicesFilterUDIDs filters devices by UDID(s).

func WithDevicesIDs

func WithDevicesIDs(ids []string) DevicesOption

WithDevicesIDs filters devices by ID(s).

func WithDevicesLimit

func WithDevicesLimit(limit int) DevicesOption

WithDevicesLimit sets the max number of devices to return.

func WithDevicesNames

func WithDevicesNames(names []string) DevicesOption

WithDevicesNames filters devices by name(s).

func WithDevicesNextURL

func WithDevicesNextURL(next string) DevicesOption

WithDevicesNextURL uses a next page URL directly.

func WithDevicesPlatform

func WithDevicesPlatform(platform string) DevicesOption

WithDevicesPlatform filters devices by platform.

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 response from devices list endpoint.

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 is a functional option for diagnostic logs.

func WithDiagnosticLogsLimit

func WithDiagnosticLogsLimit(limit int) DiagnosticLogsOption

WithDiagnosticLogsLimit sets the max number of diagnostic logs to return.

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 is a functional option for diagnostic signatures.

func WithDiagnosticSignaturesDiagnosticTypes

func WithDiagnosticSignaturesDiagnosticTypes(types []string) DiagnosticSignaturesOption

WithDiagnosticSignaturesDiagnosticTypes filters diagnostic signatures by type.

func WithDiagnosticSignaturesFields

func WithDiagnosticSignaturesFields(fields []string) DiagnosticSignaturesOption

WithDiagnosticSignaturesFields sets fields[diagnosticSignatures] for diagnostic signatures.

func WithDiagnosticSignaturesLimit

func WithDiagnosticSignaturesLimit(limit int) DiagnosticSignaturesOption

WithDiagnosticSignaturesLimit sets the max number of diagnostic signatures to return.

func WithDiagnosticSignaturesNextURL

func WithDiagnosticSignaturesNextURL(next string) DiagnosticSignaturesOption

WithDiagnosticSignaturesNextURL uses a next page URL directly.

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 portion of a pre-order end request.

type EndAppAvailabilityPreOrderCreateRequest

type EndAppAvailabilityPreOrderCreateRequest struct {
	Data EndAppAvailabilityPreOrderCreateData `json:"data"`
}

EndAppAvailabilityPreOrderCreateRequest is a request to end app availability pre-orders.

type EndAppAvailabilityPreOrderRelationships

type EndAppAvailabilityPreOrderRelationships struct {
	TerritoryAvailabilities RelationshipList `json:"territoryAvailabilities"`
}

EndAppAvailabilityPreOrderRelationships describes pre-order end relationships.

type EndAppAvailabilityPreOrderResponse

type EndAppAvailabilityPreOrderResponse = SingleResponse[EndAppAvailabilityPreOrderAttributes]

EndAppAvailabilityPreOrderResponse is the response from end pre-order requests.

type EndUserLicenseAgreementAttributes

type EndUserLicenseAgreementAttributes struct {
	AgreementText string `json:"agreementText,omitempty"`
}

EndUserLicenseAgreementAttributes describes an EULA resource.

type EndUserLicenseAgreementCreateAttributes

type EndUserLicenseAgreementCreateAttributes struct {
	AgreementText string `json:"agreementText"`
}

EndUserLicenseAgreementCreateAttributes describes attributes for creating an EULA.

type EndUserLicenseAgreementCreateData

type EndUserLicenseAgreementCreateData struct {
	Type          ResourceType                               `json:"type"`
	Attributes    EndUserLicenseAgreementCreateAttributes    `json:"attributes"`
	Relationships EndUserLicenseAgreementCreateRelationships `json:"relationships"`
}

EndUserLicenseAgreementCreateData is the data portion of an EULA create request.

type EndUserLicenseAgreementCreateRelationships

type EndUserLicenseAgreementCreateRelationships struct {
	App         Relationship     `json:"app"`
	Territories RelationshipList `json:"territories"`
}

EndUserLicenseAgreementCreateRelationships describes relationships for EULA creation.

type EndUserLicenseAgreementCreateRequest

type EndUserLicenseAgreementCreateRequest struct {
	Data EndUserLicenseAgreementCreateData `json:"data"`
}

EndUserLicenseAgreementCreateRequest is a request to create an EULA.

type EndUserLicenseAgreementDeleteResult

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

EndUserLicenseAgreementDeleteResult represents CLI output for EULA deletions.

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 is a functional option for EULA territory lists.

func WithEndUserLicenseAgreementTerritoriesLimit

func WithEndUserLicenseAgreementTerritoriesLimit(limit int) EndUserLicenseAgreementTerritoriesOption

WithEndUserLicenseAgreementTerritoriesLimit sets the max number of territories to return.

func WithEndUserLicenseAgreementTerritoriesNextURL

func WithEndUserLicenseAgreementTerritoriesNextURL(next string) EndUserLicenseAgreementTerritoriesOption

WithEndUserLicenseAgreementTerritoriesNextURL uses a next page URL directly.

type EndUserLicenseAgreementUpdateAttributes

type EndUserLicenseAgreementUpdateAttributes struct {
	AgreementText *string `json:"agreementText,omitempty"`
}

EndUserLicenseAgreementUpdateAttributes describes attributes for updating an EULA.

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 portion of an EULA update request.

type EndUserLicenseAgreementUpdateRelationships

type EndUserLicenseAgreementUpdateRelationships struct {
	Territories *RelationshipList `json:"territories,omitempty"`
}

EndUserLicenseAgreementUpdateRelationships describes relationships for updating an EULA.

type EndUserLicenseAgreementUpdateRequest

type EndUserLicenseAgreementUpdateRequest struct {
	Data EndUserLicenseAgreementUpdateData `json:"data"`
}

EndUserLicenseAgreementUpdateRequest is a request to update an EULA.

type ErrorDetail

type ErrorDetail struct {
	Code    string `json:"code,omitempty"`
	Message string `json:"message,omitempty"`
}

ErrorDetail describes an asset error detail.

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 FeedbackAttributes

type FeedbackAttributes 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"`
}

FeedbackAttributes describes beta feedback screenshot submissions.

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 WithFeedbackIncludeScreenshots

func WithFeedbackIncludeScreenshots() FeedbackOption

WithFeedbackIncludeScreenshots includes screenshot URLs in feedback responses.

func WithFeedbackLimit

func WithFeedbackLimit(limit int) FeedbackOption

WithFeedbackLimit sets the max number of feedback items to return.

func WithFeedbackNextURL

func WithFeedbackNextURL(next string) FeedbackOption

WithFeedbackNextURL uses a next page URL directly.

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[FeedbackAttributes]

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 is a functional option for GetGameCenterAchievementLocalizations.

func WithGCAchievementLocalizationsLimit

func WithGCAchievementLocalizationsLimit(limit int) GCAchievementLocalizationsOption

WithGCAchievementLocalizationsLimit sets the max number of localizations to return.

func WithGCAchievementLocalizationsNextURL

func WithGCAchievementLocalizationsNextURL(next string) GCAchievementLocalizationsOption

WithGCAchievementLocalizationsNextURL uses a next page URL directly.

type GCAchievementReleasesOption

type GCAchievementReleasesOption func(*gcAchievementReleasesQuery)

GCAchievementReleasesOption is a functional option for GetGameCenterAchievementReleases.

func WithGCAchievementReleasesLimit

func WithGCAchievementReleasesLimit(limit int) GCAchievementReleasesOption

WithGCAchievementReleasesLimit sets the max number of achievement releases to return.

func WithGCAchievementReleasesNextURL

func WithGCAchievementReleasesNextURL(next string) GCAchievementReleasesOption

WithGCAchievementReleasesNextURL uses a next page URL directly.

type GCAchievementVersionsOption

type GCAchievementVersionsOption func(*gcAchievementVersionsQuery)

GCAchievementVersionsOption is a functional option for GetGameCenterAchievementVersions.

func WithGCAchievementVersionsLimit

func WithGCAchievementVersionsLimit(limit int) GCAchievementVersionsOption

WithGCAchievementVersionsLimit sets the max number of versions to return.

func WithGCAchievementVersionsNextURL

func WithGCAchievementVersionsNextURL(next string) GCAchievementVersionsOption

WithGCAchievementVersionsNextURL uses a next page URL directly.

type GCAchievementsOption

type GCAchievementsOption func(*gcAchievementsQuery)

GCAchievementsOption is a functional option for GetGameCenterAchievements.

func WithGCAchievementsLimit

func WithGCAchievementsLimit(limit int) GCAchievementsOption

WithGCAchievementsLimit sets the max number of achievements to return.

func WithGCAchievementsNextURL

func WithGCAchievementsNextURL(next string) GCAchievementsOption

WithGCAchievementsNextURL uses a next page URL directly.

type GCActivitiesOption

type GCActivitiesOption func(*gcActivitiesQuery)

GCActivitiesOption is a functional option for GetGameCenterActivities.

func WithGCActivitiesLimit

func WithGCActivitiesLimit(limit int) GCActivitiesOption

WithGCActivitiesLimit sets the max number of activities to return.

func WithGCActivitiesNextURL

func WithGCActivitiesNextURL(next string) GCActivitiesOption

WithGCActivitiesNextURL uses a next page URL directly.

type GCActivityLocalizationsOption

type GCActivityLocalizationsOption func(*gcActivityLocalizationsQuery)

GCActivityLocalizationsOption is a functional option for GetGameCenterActivityLocalizations.

func WithGCActivityLocalizationsLimit

func WithGCActivityLocalizationsLimit(limit int) GCActivityLocalizationsOption

WithGCActivityLocalizationsLimit sets the max number of localizations to return.

func WithGCActivityLocalizationsNextURL

func WithGCActivityLocalizationsNextURL(next string) GCActivityLocalizationsOption

WithGCActivityLocalizationsNextURL uses a next page URL directly.

type GCActivityVersionReleasesOption

type GCActivityVersionReleasesOption func(*gcActivityVersionReleasesQuery)

GCActivityVersionReleasesOption is a functional option for GetGameCenterActivityVersionReleases.

func WithGCActivityVersionReleasesLimit

func WithGCActivityVersionReleasesLimit(limit int) GCActivityVersionReleasesOption

WithGCActivityVersionReleasesLimit sets the max number of releases to return.

func WithGCActivityVersionReleasesNextURL

func WithGCActivityVersionReleasesNextURL(next string) GCActivityVersionReleasesOption

WithGCActivityVersionReleasesNextURL uses a next page URL directly.

type GCActivityVersionsOption

type GCActivityVersionsOption func(*gcActivityVersionsQuery)

GCActivityVersionsOption is a functional option for GetGameCenterActivityVersions.

func WithGCActivityVersionsLimit

func WithGCActivityVersionsLimit(limit int) GCActivityVersionsOption

WithGCActivityVersionsLimit sets the max number of versions to return.

func WithGCActivityVersionsNextURL

func WithGCActivityVersionsNextURL(next string) GCActivityVersionsOption

WithGCActivityVersionsNextURL uses a next page URL directly.

type GCAppVersionsOption

type GCAppVersionsOption func(*gcAppVersionsQuery)

GCAppVersionsOption is a functional option for Game Center app version queries.

func WithGCAppVersionsEnabled

func WithGCAppVersionsEnabled(enabled bool) GCAppVersionsOption

WithGCAppVersionsEnabled filters by enabled status.

func WithGCAppVersionsLimit

func WithGCAppVersionsLimit(limit int) GCAppVersionsOption

WithGCAppVersionsLimit sets the max number of app versions to return.

func WithGCAppVersionsNextURL

func WithGCAppVersionsNextURL(next string) GCAppVersionsOption

WithGCAppVersionsNextURL uses a next page URL directly.

type GCChallengeLocalizationsOption

type GCChallengeLocalizationsOption func(*gcChallengeLocalizationsQuery)

GCChallengeLocalizationsOption is a functional option for GetGameCenterChallengeLocalizations.

func WithGCChallengeLocalizationsLimit

func WithGCChallengeLocalizationsLimit(limit int) GCChallengeLocalizationsOption

WithGCChallengeLocalizationsLimit sets the max number of localizations to return.

func WithGCChallengeLocalizationsNextURL

func WithGCChallengeLocalizationsNextURL(next string) GCChallengeLocalizationsOption

WithGCChallengeLocalizationsNextURL uses a next page URL directly.

type GCChallengeVersionReleasesOption

type GCChallengeVersionReleasesOption func(*gcChallengeVersionReleasesQuery)

GCChallengeVersionReleasesOption is a functional option for GetGameCenterChallengeVersionReleases.

func WithGCChallengeVersionReleasesLimit

func WithGCChallengeVersionReleasesLimit(limit int) GCChallengeVersionReleasesOption

WithGCChallengeVersionReleasesLimit sets the max number of releases to return.

func WithGCChallengeVersionReleasesNextURL

func WithGCChallengeVersionReleasesNextURL(next string) GCChallengeVersionReleasesOption

WithGCChallengeVersionReleasesNextURL uses a next page URL directly.

type GCChallengeVersionsOption

type GCChallengeVersionsOption func(*gcChallengeVersionsQuery)

GCChallengeVersionsOption is a functional option for GetGameCenterChallengeVersions.

func WithGCChallengeVersionsLimit

func WithGCChallengeVersionsLimit(limit int) GCChallengeVersionsOption

WithGCChallengeVersionsLimit sets the max number of versions to return.

func WithGCChallengeVersionsNextURL

func WithGCChallengeVersionsNextURL(next string) GCChallengeVersionsOption

WithGCChallengeVersionsNextURL uses a next page URL directly.

type GCChallengesOption

type GCChallengesOption func(*gcChallengesQuery)

GCChallengesOption is a functional option for GetGameCenterChallenges.

func WithGCChallengesLimit

func WithGCChallengesLimit(limit int) GCChallengesOption

WithGCChallengesLimit sets the max number of challenges to return.

func WithGCChallengesNextURL

func WithGCChallengesNextURL(next string) GCChallengesOption

WithGCChallengesNextURL uses a next page URL directly.

type GCDetailsOption

type GCDetailsOption func(*gcDetailsQuery)

GCDetailsOption is a functional option for Game Center detail queries.

func WithGCDetailsLimit

func WithGCDetailsLimit(limit int) GCDetailsOption

WithGCDetailsLimit sets the max number of details to return.

func WithGCDetailsNextURL

func WithGCDetailsNextURL(next string) GCDetailsOption

WithGCDetailsNextURL uses a next page URL directly.

type GCEnabledVersionsOption

type GCEnabledVersionsOption func(*gcEnabledVersionsQuery)

GCEnabledVersionsOption is a functional option for Game Center enabled version queries.

func WithGCEnabledVersionsIDs

func WithGCEnabledVersionsIDs(ids []string) GCEnabledVersionsOption

WithGCEnabledVersionsIDs filters enabled versions by ID.

func WithGCEnabledVersionsLimit

func WithGCEnabledVersionsLimit(limit int) GCEnabledVersionsOption

WithGCEnabledVersionsLimit sets the max number of enabled versions to return.

func WithGCEnabledVersionsNextURL

func WithGCEnabledVersionsNextURL(next string) GCEnabledVersionsOption

WithGCEnabledVersionsNextURL uses a next page URL directly.

func WithGCEnabledVersionsPlatforms

func WithGCEnabledVersionsPlatforms(platforms []string) GCEnabledVersionsOption

WithGCEnabledVersionsPlatforms filters enabled versions by platform.

func WithGCEnabledVersionsSort

func WithGCEnabledVersionsSort(values []string) GCEnabledVersionsOption

WithGCEnabledVersionsSort sets the sort fields.

func WithGCEnabledVersionsVersionStrings

func WithGCEnabledVersionsVersionStrings(versions []string) GCEnabledVersionsOption

WithGCEnabledVersionsVersionStrings filters enabled versions by version string.

type GCGroupsOption

type GCGroupsOption func(*gcGroupsQuery)

GCGroupsOption is a functional option for GetGameCenterGroups.

func WithGCGroupsGameCenterDetailIDs

func WithGCGroupsGameCenterDetailIDs(detailIDs []string) GCGroupsOption

WithGCGroupsGameCenterDetailIDs filters groups by Game Center detail IDs.

func WithGCGroupsLimit

func WithGCGroupsLimit(limit int) GCGroupsOption

WithGCGroupsLimit sets the max number of groups to return.

func WithGCGroupsNextURL

func WithGCGroupsNextURL(next string) GCGroupsOption

WithGCGroupsNextURL uses a next page URL directly.

type GCLeaderboardLocalizationsOption

type GCLeaderboardLocalizationsOption func(*gcLeaderboardLocalizationsQuery)

GCLeaderboardLocalizationsOption is a functional option for GetGameCenterLeaderboardLocalizations.

func WithGCLeaderboardLocalizationsLimit

func WithGCLeaderboardLocalizationsLimit(limit int) GCLeaderboardLocalizationsOption

WithGCLeaderboardLocalizationsLimit sets the max number of localizations to return.

func WithGCLeaderboardLocalizationsNextURL

func WithGCLeaderboardLocalizationsNextURL(next string) GCLeaderboardLocalizationsOption

WithGCLeaderboardLocalizationsNextURL uses a next page URL directly.

type GCLeaderboardReleasesOption

type GCLeaderboardReleasesOption func(*gcLeaderboardReleasesQuery)

GCLeaderboardReleasesOption is a functional option for GetGameCenterLeaderboardReleases.

func WithGCLeaderboardReleasesLimit

func WithGCLeaderboardReleasesLimit(limit int) GCLeaderboardReleasesOption

WithGCLeaderboardReleasesLimit sets the max number of leaderboard releases to return.

func WithGCLeaderboardReleasesNextURL

func WithGCLeaderboardReleasesNextURL(next string) GCLeaderboardReleasesOption

WithGCLeaderboardReleasesNextURL uses a next page URL directly.

type GCLeaderboardSetLocalizationsOption

type GCLeaderboardSetLocalizationsOption func(*gcLeaderboardSetLocalizationsQuery)

GCLeaderboardSetLocalizationsOption is a functional option for GetGameCenterLeaderboardSetLocalizations.

func WithGCLeaderboardSetLocalizationsLimit

func WithGCLeaderboardSetLocalizationsLimit(limit int) GCLeaderboardSetLocalizationsOption

WithGCLeaderboardSetLocalizationsLimit sets the max number of leaderboard set localizations to return.

func WithGCLeaderboardSetLocalizationsNextURL

func WithGCLeaderboardSetLocalizationsNextURL(next string) GCLeaderboardSetLocalizationsOption

WithGCLeaderboardSetLocalizationsNextURL uses a next page URL directly.

type GCLeaderboardSetMemberLocalizationsOption

type GCLeaderboardSetMemberLocalizationsOption func(*gcLeaderboardSetMemberLocalizationsQuery)

GCLeaderboardSetMemberLocalizationsOption is a functional option for GetGameCenterLeaderboardSetMemberLocalizations.

func WithGCLeaderboardSetMemberLocalizationsLeaderboardIDs

func WithGCLeaderboardSetMemberLocalizationsLeaderboardIDs(ids []string) GCLeaderboardSetMemberLocalizationsOption

WithGCLeaderboardSetMemberLocalizationsLeaderboardIDs filters by leaderboard IDs.

func WithGCLeaderboardSetMemberLocalizationsLeaderboardSetIDs

func WithGCLeaderboardSetMemberLocalizationsLeaderboardSetIDs(ids []string) GCLeaderboardSetMemberLocalizationsOption

WithGCLeaderboardSetMemberLocalizationsLeaderboardSetIDs filters by leaderboard set IDs.

func WithGCLeaderboardSetMemberLocalizationsLimit

func WithGCLeaderboardSetMemberLocalizationsLimit(limit int) GCLeaderboardSetMemberLocalizationsOption

WithGCLeaderboardSetMemberLocalizationsLimit sets the max number of localizations to return.

func WithGCLeaderboardSetMemberLocalizationsNextURL

func WithGCLeaderboardSetMemberLocalizationsNextURL(next string) GCLeaderboardSetMemberLocalizationsOption

WithGCLeaderboardSetMemberLocalizationsNextURL uses a next page URL directly.

type GCLeaderboardSetMembersOption

type GCLeaderboardSetMembersOption func(*gcLeaderboardSetMembersQuery)

GCLeaderboardSetMembersOption is a functional option for GetGameCenterLeaderboardSetMembers.

func WithGCLeaderboardSetMembersLimit

func WithGCLeaderboardSetMembersLimit(limit int) GCLeaderboardSetMembersOption

WithGCLeaderboardSetMembersLimit sets the max number of members to return.

func WithGCLeaderboardSetMembersNextURL

func WithGCLeaderboardSetMembersNextURL(next string) GCLeaderboardSetMembersOption

WithGCLeaderboardSetMembersNextURL uses a next page URL directly.

type GCLeaderboardSetReleasesOption

type GCLeaderboardSetReleasesOption func(*gcLeaderboardSetReleasesQuery)

GCLeaderboardSetReleasesOption is a functional option for GetGameCenterLeaderboardSetReleases.

func WithGCLeaderboardSetReleasesLimit

func WithGCLeaderboardSetReleasesLimit(limit int) GCLeaderboardSetReleasesOption

WithGCLeaderboardSetReleasesLimit sets the max number of leaderboard set releases to return.

func WithGCLeaderboardSetReleasesNextURL

func WithGCLeaderboardSetReleasesNextURL(next string) GCLeaderboardSetReleasesOption

WithGCLeaderboardSetReleasesNextURL uses a next page URL directly.

type GCLeaderboardSetVersionsOption

type GCLeaderboardSetVersionsOption func(*gcLeaderboardSetVersionsQuery)

GCLeaderboardSetVersionsOption is a functional option for GetGameCenterLeaderboardSetVersions.

func WithGCLeaderboardSetVersionsLimit

func WithGCLeaderboardSetVersionsLimit(limit int) GCLeaderboardSetVersionsOption

WithGCLeaderboardSetVersionsLimit sets the max number of versions to return.

func WithGCLeaderboardSetVersionsNextURL

func WithGCLeaderboardSetVersionsNextURL(next string) GCLeaderboardSetVersionsOption

WithGCLeaderboardSetVersionsNextURL uses a next page URL directly.

type GCLeaderboardSetsOption

type GCLeaderboardSetsOption func(*gcLeaderboardSetsQuery)

GCLeaderboardSetsOption is a functional option for GetGameCenterLeaderboardSets.

func WithGCLeaderboardSetsLimit

func WithGCLeaderboardSetsLimit(limit int) GCLeaderboardSetsOption

WithGCLeaderboardSetsLimit sets the max number of leaderboard sets to return.

func WithGCLeaderboardSetsNextURL

func WithGCLeaderboardSetsNextURL(next string) GCLeaderboardSetsOption

WithGCLeaderboardSetsNextURL uses a next page URL directly.

type GCLeaderboardVersionsOption

type GCLeaderboardVersionsOption func(*gcLeaderboardVersionsQuery)

GCLeaderboardVersionsOption is a functional option for GetGameCenterLeaderboardVersions.

func WithGCLeaderboardVersionsLimit

func WithGCLeaderboardVersionsLimit(limit int) GCLeaderboardVersionsOption

WithGCLeaderboardVersionsLimit sets the max number of versions to return.

func WithGCLeaderboardVersionsNextURL

func WithGCLeaderboardVersionsNextURL(next string) GCLeaderboardVersionsOption

WithGCLeaderboardVersionsNextURL uses a next page URL directly.

type GCLeaderboardsOption

type GCLeaderboardsOption func(*gcLeaderboardsQuery)

GCLeaderboardsOption is a functional option for GetGameCenterLeaderboards.

func WithGCLeaderboardsLimit

func WithGCLeaderboardsLimit(limit int) GCLeaderboardsOption

WithGCLeaderboardsLimit sets the max number of leaderboards to return.

func WithGCLeaderboardsNextURL

func WithGCLeaderboardsNextURL(next string) GCLeaderboardsOption

WithGCLeaderboardsNextURL uses a next page URL directly.

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 WithGCMatchmakingMetricsLimit

func WithGCMatchmakingMetricsLimit(limit int) GCMatchmakingMetricsOption

WithGCMatchmakingMetricsLimit sets the max number of groups to return.

func WithGCMatchmakingMetricsNextURL

func WithGCMatchmakingMetricsNextURL(next string) GCMatchmakingMetricsOption

WithGCMatchmakingMetricsNextURL uses a next page URL directly.

func WithGCMatchmakingMetricsSort

func WithGCMatchmakingMetricsSort(sort []string) GCMatchmakingMetricsOption

WithGCMatchmakingMetricsSort sets the sort fields.

type GCMatchmakingQueuesOption

type GCMatchmakingQueuesOption func(*gcMatchmakingQueuesQuery)

GCMatchmakingQueuesOption is a functional option for GetGameCenterMatchmakingQueues.

func WithGCMatchmakingQueuesLimit

func WithGCMatchmakingQueuesLimit(limit int) GCMatchmakingQueuesOption

WithGCMatchmakingQueuesLimit sets the max number of queues to return.

func WithGCMatchmakingQueuesNextURL

func WithGCMatchmakingQueuesNextURL(next string) GCMatchmakingQueuesOption

WithGCMatchmakingQueuesNextURL uses a next page URL directly.

type GCMatchmakingRuleSetsOption

type GCMatchmakingRuleSetsOption func(*gcMatchmakingRuleSetsQuery)

GCMatchmakingRuleSetsOption is a functional option for GetGameCenterMatchmakingRuleSets.

func WithGCMatchmakingRuleSetsLimit

func WithGCMatchmakingRuleSetsLimit(limit int) GCMatchmakingRuleSetsOption

WithGCMatchmakingRuleSetsLimit sets the max number of rule sets to return.

func WithGCMatchmakingRuleSetsNextURL

func WithGCMatchmakingRuleSetsNextURL(next string) GCMatchmakingRuleSetsOption

WithGCMatchmakingRuleSetsNextURL uses a next page URL directly.

type GCMatchmakingRulesOption

type GCMatchmakingRulesOption func(*gcMatchmakingRulesQuery)

GCMatchmakingRulesOption is a functional option for GetGameCenterMatchmakingRules.

func WithGCMatchmakingRulesLimit

func WithGCMatchmakingRulesLimit(limit int) GCMatchmakingRulesOption

WithGCMatchmakingRulesLimit sets the max number of rules to return.

func WithGCMatchmakingRulesNextURL

func WithGCMatchmakingRulesNextURL(next string) GCMatchmakingRulesOption

WithGCMatchmakingRulesNextURL uses a next page URL directly.

type GCMatchmakingTeamsOption

type GCMatchmakingTeamsOption func(*gcMatchmakingTeamsQuery)

GCMatchmakingTeamsOption is a functional option for GetGameCenterMatchmakingTeams.

func WithGCMatchmakingTeamsLimit

func WithGCMatchmakingTeamsLimit(limit int) GCMatchmakingTeamsOption

WithGCMatchmakingTeamsLimit sets the max number of teams to return.

func WithGCMatchmakingTeamsNextURL

func WithGCMatchmakingTeamsNextURL(next string) GCMatchmakingTeamsOption

WithGCMatchmakingTeamsNextURL uses a next page URL directly.

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,omitempty"`
}

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 portion of an achievement create request.

type GameCenterAchievementCreateRequest

type GameCenterAchievementCreateRequest struct {
	Data GameCenterAchievementCreateData `json:"data"`
}

GameCenterAchievementCreateRequest is a request to create an achievement.

type GameCenterAchievementDeleteResult

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

GameCenterAchievementDeleteResult represents CLI output for achievement deletions.

type GameCenterAchievementGroupAchievementLinkageResponse

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

GameCenterAchievementGroupAchievementLinkageResponse is the response for groupAchievement relationships.

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 portion of an image create (reserve) request.

type GameCenterAchievementImageCreateRequest

type GameCenterAchievementImageCreateRequest struct {
	Data GameCenterAchievementImageCreateData `json:"data"`
}

GameCenterAchievementImageCreateRequest is a request to reserve an image upload.

type GameCenterAchievementImageDeleteResult

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

GameCenterAchievementImageDeleteResult represents CLI output for image deletions.

type GameCenterAchievementImageRelationships

type GameCenterAchievementImageRelationships struct {
	GameCenterAchievementLocalization *Relationship `json:"gameCenterAchievementLocalization"`
}

GameCenterAchievementImageRelationships describes relationships for achievement images.

type GameCenterAchievementImageResponse

type GameCenterAchievementImageResponse = SingleResponse[GameCenterAchievementImageAttributes]

GameCenterAchievementImageResponse is the response from achievement image detail endpoints.

type GameCenterAchievementImageUpdateAttributes

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

GameCenterAchievementImageUpdateAttributes describes attributes for committing an image upload.

type GameCenterAchievementImageUpdateData

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

GameCenterAchievementImageUpdateData is the data portion of an image update (commit) request.

type GameCenterAchievementImageUpdateRequest

type GameCenterAchievementImageUpdateRequest struct {
	Data GameCenterAchievementImageUpdateData `json:"data"`
}

GameCenterAchievementImageUpdateRequest is a request to commit an image upload.

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 a request to reserve a v2 image upload.

type GameCenterAchievementImageV2Relationships

type GameCenterAchievementImageV2Relationships struct {
	Localization *Relationship `json:"localization"`
}

GameCenterAchievementImageV2Relationships describes relationships for v2 achievement images.

type GameCenterAchievementImagesResponse

type GameCenterAchievementImagesResponse = Response[GameCenterAchievementImageAttributes]

GameCenterAchievementImagesResponse is the response from achievement image list endpoints.

type GameCenterAchievementLocalizationAchievementLinkageResponse

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

GameCenterAchievementLocalizationAchievementLinkageResponse is the response for achievement localization achievement relationships.

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 describes attributes for creating a localization.

type GameCenterAchievementLocalizationCreateData

type GameCenterAchievementLocalizationCreateData struct {
	Type          ResourceType                                      `json:"type"`
	Attributes    GameCenterAchievementLocalizationCreateAttributes `json:"attributes"`
	Relationships *GameCenterAchievementLocalizationRelationships   `json:"relationships,omitempty"`
}

GameCenterAchievementLocalizationCreateData is the data portion of a localization create request.

type GameCenterAchievementLocalizationCreateRequest

type GameCenterAchievementLocalizationCreateRequest struct {
	Data GameCenterAchievementLocalizationCreateData `json:"data"`
}

GameCenterAchievementLocalizationCreateRequest is a request to create a localization.

type GameCenterAchievementLocalizationDeleteResult

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

GameCenterAchievementLocalizationDeleteResult represents CLI output for localization deletions.

type GameCenterAchievementLocalizationImageLinkageResponse

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

GameCenterAchievementLocalizationImageLinkageResponse is the response for achievement localization image relationships.

type GameCenterAchievementLocalizationRelationships

type GameCenterAchievementLocalizationRelationships struct {
	GameCenterAchievement *Relationship `json:"gameCenterAchievement"`
}

GameCenterAchievementLocalizationRelationships describes relationships for achievement localizations.

type GameCenterAchievementLocalizationResponse

type GameCenterAchievementLocalizationResponse = SingleResponse[GameCenterAchievementLocalizationAttributes]

GameCenterAchievementLocalizationResponse is the response from achievement localization detail endpoints.

type GameCenterAchievementLocalizationUpdateAttributes

type GameCenterAchievementLocalizationUpdateAttributes struct {
	Name                    *string `json:"name,omitempty"`
	BeforeEarnedDescription *string `json:"beforeEarnedDescription,omitempty"`
	AfterEarnedDescription  *string `json:"afterEarnedDescription,omitempty"`
}

GameCenterAchievementLocalizationUpdateAttributes describes attributes for updating a localization.

type GameCenterAchievementLocalizationUpdateData

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

GameCenterAchievementLocalizationUpdateData is the data portion of a localization update request.

type GameCenterAchievementLocalizationUpdateRequest

type GameCenterAchievementLocalizationUpdateRequest struct {
	Data GameCenterAchievementLocalizationUpdateData `json:"data"`
}

GameCenterAchievementLocalizationUpdateRequest is a request to update a localization.

type GameCenterAchievementLocalizationV2CreateData

type GameCenterAchievementLocalizationV2CreateData struct {
	Type          ResourceType                                      `json:"type"`
	Attributes    GameCenterAchievementLocalizationCreateAttributes `json:"attributes"`
	Relationships *GameCenterAchievementLocalizationV2Relationships `json:"relationships,omitempty"`
}

GameCenterAchievementLocalizationV2CreateData is the data portion of a v2 localization create request.

type GameCenterAchievementLocalizationV2CreateRequest

type GameCenterAchievementLocalizationV2CreateRequest struct {
	Data GameCenterAchievementLocalizationV2CreateData `json:"data"`
}

GameCenterAchievementLocalizationV2CreateRequest is a request to create a v2 localization.

type GameCenterAchievementLocalizationV2ImageLinkageResponse

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

GameCenterAchievementLocalizationV2ImageLinkageResponse is the response for v2 achievement localization image relationship.

type GameCenterAchievementLocalizationV2Relationships

type GameCenterAchievementLocalizationV2Relationships struct {
	Version *Relationship `json:"version"`
}

GameCenterAchievementLocalizationV2Relationships describes relationships for v2 achievement localizations.

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 portion of an achievement release create request.

type GameCenterAchievementReleaseCreateRequest

type GameCenterAchievementReleaseCreateRequest struct {
	Data GameCenterAchievementReleaseCreateData `json:"data"`
}

GameCenterAchievementReleaseCreateRequest is a request to create an achievement release.

type GameCenterAchievementReleaseDeleteResult

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

GameCenterAchievementReleaseDeleteResult represents CLI output for achievement release deletions.

type GameCenterAchievementReleaseRelationships

type GameCenterAchievementReleaseRelationships struct {
	GameCenterDetail      *Relationship `json:"gameCenterDetail"`
	GameCenterAchievement *Relationship `json:"gameCenterAchievement"`
}

GameCenterAchievementReleaseRelationships describes relationships for achievement releases.

type GameCenterAchievementReleaseResponse

type GameCenterAchievementReleaseResponse = SingleResponse[GameCenterAchievementReleaseAttributes]

GameCenterAchievementReleaseResponse is the response from achievement release detail endpoints.

type GameCenterAchievementReleasesResponse

type GameCenterAchievementReleasesResponse = Response[GameCenterAchievementReleaseAttributes]

GameCenterAchievementReleasesResponse is the response from achievement release list endpoints.

type GameCenterAchievementResponse

type GameCenterAchievementResponse = SingleResponse[GameCenterAchievementAttributes]

GameCenterAchievementResponse is the response from achievement detail endpoints.

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,omitempty"`
}

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 portion of an achievement update request.

type GameCenterAchievementUpdateRequest

type GameCenterAchievementUpdateRequest struct {
	Data GameCenterAchievementUpdateData `json:"data"`
}

GameCenterAchievementUpdateRequest is a request to update an achievement.

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"`
}

GameCenterAchievementV2CreateRequest is a request to create a v2 achievement.

type GameCenterAchievementV2Relationships

type GameCenterAchievementV2Relationships struct {
	GameCenterDetail *Relationship `json:"gameCenterDetail,omitempty"`
	GameCenterGroup  *Relationship `json:"gameCenterGroup,omitempty"`
}

GameCenterAchievementV2Relationships describes relationships for v2 achievements.

type GameCenterAchievementVersionAttributes

type GameCenterAchievementVersionAttributes struct {
	Version int                    `json:"version,omitempty"`
	State   GameCenterVersionState `json:"state,omitempty"`
}

GameCenterAchievementVersionAttributes represents a v2 achievement version resource.

type GameCenterAchievementVersionCreateData

type GameCenterAchievementVersionCreateData struct {
	Type          ResourceType                               `json:"type"`
	Relationships *GameCenterAchievementVersionRelationships `json:"relationships,omitempty"`
}

GameCenterAchievementVersionCreateData is the data portion of a version create request.

type GameCenterAchievementVersionCreateRequest

type GameCenterAchievementVersionCreateRequest struct {
	Data GameCenterAchievementVersionCreateData `json:"data"`
}

GameCenterAchievementVersionCreateRequest is a request to create an achievement version.

type GameCenterAchievementVersionRelationships

type GameCenterAchievementVersionRelationships struct {
	Achievement *Relationship `json:"achievement,omitempty"`
}

GameCenterAchievementVersionRelationships describes relationships for achievement versions.

type GameCenterAchievementVersionResponse

type GameCenterAchievementVersionResponse = SingleResponse[GameCenterAchievementVersionAttributes]

GameCenterAchievementVersionResponse is the response from achievement version detail endpoints.

type GameCenterAchievementVersionsResponse

type GameCenterAchievementVersionsResponse = Response[GameCenterAchievementVersionAttributes]

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,omitempty"`
}

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 portion of an activity create request.

type GameCenterActivityCreateRequest

type GameCenterActivityCreateRequest struct {
	Data     GameCenterActivityCreateData            `json:"data"`
	Included []GameCenterActivityVersionInlineCreate `json:"included,omitempty"`
}

GameCenterActivityCreateRequest is a request to create an activity.

type GameCenterActivityDeleteResult

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

GameCenterActivityDeleteResult represents CLI output for activity deletions.

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 portion of an image create request.

type GameCenterActivityImageCreateRequest

type GameCenterActivityImageCreateRequest struct {
	Data GameCenterActivityImageCreateData `json:"data"`
}

GameCenterActivityImageCreateRequest is a request to reserve an image upload.

type GameCenterActivityImageDeleteResult

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

GameCenterActivityImageDeleteResult represents CLI output for image deletions.

type GameCenterActivityImageRelationships

type GameCenterActivityImageRelationships struct {
	Localization *Relationship `json:"localization"`
}

GameCenterActivityImageRelationships describes relationships for activity images.

type GameCenterActivityImageResponse

type GameCenterActivityImageResponse = SingleResponse[GameCenterActivityImageAttributes]

GameCenterActivityImageResponse is the response from activity image detail endpoints.

type GameCenterActivityImageUpdateAttributes

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

GameCenterActivityImageUpdateAttributes describes attributes for committing an image upload.

type GameCenterActivityImageUpdateData

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

GameCenterActivityImageUpdateData is the data portion of an image update (commit) request.

type GameCenterActivityImageUpdateRequest

type GameCenterActivityImageUpdateRequest struct {
	Data GameCenterActivityImageUpdateData `json:"data"`
}

GameCenterActivityImageUpdateRequest is a request to commit an image upload.

type GameCenterActivityImageUploadResult

type GameCenterActivityImageUploadResult 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"`
}

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 portion of a localization create request.

type GameCenterActivityLocalizationCreateRequest

type GameCenterActivityLocalizationCreateRequest struct {
	Data GameCenterActivityLocalizationCreateData `json:"data"`
}

GameCenterActivityLocalizationCreateRequest is a request to create a localization.

type GameCenterActivityLocalizationDeleteResult

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

GameCenterActivityLocalizationDeleteResult represents CLI output for localization deletions.

type GameCenterActivityLocalizationImageLinkageResponse

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

GameCenterActivityLocalizationImageLinkageResponse is the response for activity localization image relationships.

type GameCenterActivityLocalizationRelationships

type GameCenterActivityLocalizationRelationships struct {
	Version *Relationship `json:"version"`
}

GameCenterActivityLocalizationRelationships describes relationships for activity localizations.

type GameCenterActivityLocalizationResponse

type GameCenterActivityLocalizationResponse = SingleResponse[GameCenterActivityLocalizationAttributes]

GameCenterActivityLocalizationResponse is the response from localization detail endpoints.

type GameCenterActivityLocalizationUpdateAttributes

type GameCenterActivityLocalizationUpdateAttributes struct {
	Name        *string `json:"name,omitempty"`
	Description *string `json:"description,omitempty"`
}

GameCenterActivityLocalizationUpdateAttributes describes attributes for updating a localization.

type GameCenterActivityLocalizationUpdateData

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

GameCenterActivityLocalizationUpdateData is the data portion of a localization update request.

type GameCenterActivityLocalizationUpdateRequest

type GameCenterActivityLocalizationUpdateRequest struct {
	Data GameCenterActivityLocalizationUpdateData `json:"data"`
}

GameCenterActivityLocalizationUpdateRequest is a request to update a localization.

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 describes relationships for activities.

type GameCenterActivityResponse

type GameCenterActivityResponse = SingleResponse[GameCenterActivityAttributes]

GameCenterActivityResponse is the response from activity detail endpoints.

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,omitempty"`
}

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 portion of an activity update request.

type GameCenterActivityUpdateRequest

type GameCenterActivityUpdateRequest struct {
	Data GameCenterActivityUpdateData `json:"data"`
}

GameCenterActivityUpdateRequest is a request to update an activity.

type GameCenterActivityVersionAttributes

type GameCenterActivityVersionAttributes struct {
	Version     int                    `json:"version,omitempty"`
	State       GameCenterVersionState `json:"state,omitempty"`
	FallbackURL string                 `json:"fallbackUrl,omitempty"`
}

GameCenterActivityVersionAttributes represents a Game Center activity version resource.

type GameCenterActivityVersionCreateAttributes

type GameCenterActivityVersionCreateAttributes struct {
	FallbackURL *string `json:"fallbackUrl,omitempty"`
}

GameCenterActivityVersionCreateAttributes describes attributes for creating a version.

type GameCenterActivityVersionCreateData

type GameCenterActivityVersionCreateData struct {
	Type          ResourceType                               `json:"type"`
	Attributes    *GameCenterActivityVersionCreateAttributes `json:"attributes,omitempty"`
	Relationships *GameCenterActivityVersionRelationships    `json:"relationships,omitempty"`
}

GameCenterActivityVersionCreateData is the data portion of a version create request.

type GameCenterActivityVersionCreateRequest

type GameCenterActivityVersionCreateRequest struct {
	Data GameCenterActivityVersionCreateData `json:"data"`
}

GameCenterActivityVersionCreateRequest is a request to create an activity version.

type GameCenterActivityVersionDefaultImageLinkageResponse

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

GameCenterActivityVersionDefaultImageLinkageResponse is the response for activity version defaultImage relationships.

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 portion of a release create request.

type GameCenterActivityVersionReleaseCreateRequest

type GameCenterActivityVersionReleaseCreateRequest struct {
	Data GameCenterActivityVersionReleaseCreateData `json:"data"`
}

GameCenterActivityVersionReleaseCreateRequest is a request to create a release.

type GameCenterActivityVersionReleaseDeleteResult

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

GameCenterActivityVersionReleaseDeleteResult represents CLI output for release deletions.

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 response from release detail endpoints.

type GameCenterActivityVersionReleasesResponse

type GameCenterActivityVersionReleasesResponse = Response[GameCenterActivityVersionReleaseAttributes]

GameCenterActivityVersionReleasesResponse is the response from release list endpoints.

type GameCenterActivityVersionResponse

type GameCenterActivityVersionResponse = SingleResponse[GameCenterActivityVersionAttributes]

GameCenterActivityVersionResponse is the response from version detail endpoints.

type GameCenterActivityVersionUpdateAttributes

type GameCenterActivityVersionUpdateAttributes struct {
	FallbackURL *string `json:"fallbackUrl,omitempty"`
}

GameCenterActivityVersionUpdateAttributes describes attributes for updating a version.

type GameCenterActivityVersionUpdateData

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

GameCenterActivityVersionUpdateData is the data portion of a version update request.

type GameCenterActivityVersionUpdateRequest

type GameCenterActivityVersionUpdateRequest struct {
	Data GameCenterActivityVersionUpdateData `json:"data"`
}

GameCenterActivityVersionUpdateRequest is a request to update an activity version.

type GameCenterActivityVersionsResponse

type GameCenterActivityVersionsResponse = Response[GameCenterActivityVersionAttributes]

GameCenterActivityVersionsResponse is the response from version list endpoints.

type GameCenterAppVersionAppStoreVersionLinkageResponse

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

GameCenterAppVersionAppStoreVersionLinkageResponse is the response for appStoreVersion relationships.

type GameCenterAppVersionAttributes

type GameCenterAppVersionAttributes struct {
	Enabled bool `json:"enabled,omitempty"`
}

GameCenterAppVersionAttributes represents a Game Center app version resource.

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 a request to create a Game Center app version.

type GameCenterAppVersionRelationships

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

GameCenterAppVersionRelationships describes relationships for Game Center app versions.

type GameCenterAppVersionResponse

type GameCenterAppVersionResponse = SingleResponse[GameCenterAppVersionAttributes]

GameCenterAppVersionResponse is the response from app version detail endpoints.

type GameCenterAppVersionUpdateAttributes

type GameCenterAppVersionUpdateAttributes struct {
	Enabled *bool `json:"enabled,omitempty"`
}

GameCenterAppVersionUpdateAttributes describes attributes for updating a Game Center app version.

type GameCenterAppVersionUpdateData

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

GameCenterAppVersionUpdateData is the data portion of an app version update request.

type GameCenterAppVersionUpdateRequest

type GameCenterAppVersionUpdateRequest struct {
	Data GameCenterAppVersionUpdateData `json:"data"`
}

GameCenterAppVersionUpdateRequest is a request to update a Game Center app version.

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 describes attributes for creating a challenge.

type GameCenterChallengeCreateData

type GameCenterChallengeCreateData struct {
	Type          ResourceType                        `json:"type"`
	Attributes    GameCenterChallengeCreateAttributes `json:"attributes"`
	Relationships *GameCenterChallengeRelationships   `json:"relationships,omitempty"`
}

GameCenterChallengeCreateData is the data portion of a challenge create request.

type GameCenterChallengeCreateRequest

type GameCenterChallengeCreateRequest struct {
	Data     GameCenterChallengeCreateData            `json:"data"`
	Included []GameCenterChallengeVersionInlineCreate `json:"included,omitempty"`
}

GameCenterChallengeCreateRequest is a request to create a challenge.

type GameCenterChallengeDeleteResult

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

GameCenterChallengeDeleteResult represents CLI output for challenge deletions.

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 portion of an image create request.

type GameCenterChallengeImageCreateRequest

type GameCenterChallengeImageCreateRequest struct {
	Data GameCenterChallengeImageCreateData `json:"data"`
}

GameCenterChallengeImageCreateRequest is a request to reserve an image upload.

type GameCenterChallengeImageDeleteResult

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

GameCenterChallengeImageDeleteResult represents CLI output for image deletions.

type GameCenterChallengeImageRelationships

type GameCenterChallengeImageRelationships struct {
	Localization *Relationship `json:"localization"`
}

GameCenterChallengeImageRelationships describes relationships for challenge images.

type GameCenterChallengeImageResponse

type GameCenterChallengeImageResponse = SingleResponse[GameCenterChallengeImageAttributes]

GameCenterChallengeImageResponse is the response from challenge image detail endpoints.

type GameCenterChallengeImageUpdateAttributes

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

GameCenterChallengeImageUpdateAttributes describes attributes for committing an image upload.

type GameCenterChallengeImageUpdateData

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

GameCenterChallengeImageUpdateData is the data portion of an image update (commit) request.

type GameCenterChallengeImageUpdateRequest

type GameCenterChallengeImageUpdateRequest struct {
	Data GameCenterChallengeImageUpdateData `json:"data"`
}

GameCenterChallengeImageUpdateRequest is a request to commit an image upload.

type GameCenterChallengeImageUploadResult

type GameCenterChallengeImageUploadResult 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"`
}

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 portion of a localization create request.

type GameCenterChallengeLocalizationCreateRequest

type GameCenterChallengeLocalizationCreateRequest struct {
	Data GameCenterChallengeLocalizationCreateData `json:"data"`
}

GameCenterChallengeLocalizationCreateRequest is a request to create a localization.

type GameCenterChallengeLocalizationDeleteResult

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

GameCenterChallengeLocalizationDeleteResult represents CLI output for localization deletions.

type GameCenterChallengeLocalizationImageLinkageResponse

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

GameCenterChallengeLocalizationImageLinkageResponse is the response for challenge localization image relationships.

type GameCenterChallengeLocalizationRelationships

type GameCenterChallengeLocalizationRelationships struct {
	Version *Relationship `json:"version"`
}

GameCenterChallengeLocalizationRelationships describes relationships for challenge localizations.

type GameCenterChallengeLocalizationResponse

type GameCenterChallengeLocalizationResponse = SingleResponse[GameCenterChallengeLocalizationAttributes]

GameCenterChallengeLocalizationResponse is the response from localization detail endpoints.

type GameCenterChallengeLocalizationUpdateAttributes

type GameCenterChallengeLocalizationUpdateAttributes struct {
	Name        *string `json:"name,omitempty"`
	Description *string `json:"description,omitempty"`
}

GameCenterChallengeLocalizationUpdateAttributes describes attributes for updating a localization.

type GameCenterChallengeLocalizationUpdateData

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

GameCenterChallengeLocalizationUpdateData is the data portion of a localization update request.

type GameCenterChallengeLocalizationUpdateRequest

type GameCenterChallengeLocalizationUpdateRequest struct {
	Data GameCenterChallengeLocalizationUpdateData `json:"data"`
}

GameCenterChallengeLocalizationUpdateRequest is a request to update a localization.

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 response from challenge detail endpoints.

type GameCenterChallengeUpdateAttributes

type GameCenterChallengeUpdateAttributes struct {
	ReferenceName *string `json:"referenceName,omitempty"`
	Archived      *bool   `json:"archived,omitempty"`
	Repeatable    *bool   `json:"repeatable,omitempty"`
}

GameCenterChallengeUpdateAttributes describes attributes for updating a challenge.

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 portion of a challenge update request.

type GameCenterChallengeUpdateRelationships

type GameCenterChallengeUpdateRelationships struct {
	Leaderboard   *Relationship `json:"leaderboard,omitempty"`
	LeaderboardV2 *Relationship `json:"leaderboardV2,omitempty"`
}

GameCenterChallengeUpdateRelationships describes relationships for challenge updates.

type GameCenterChallengeUpdateRequest

type GameCenterChallengeUpdateRequest struct {
	Data GameCenterChallengeUpdateData `json:"data"`
}

GameCenterChallengeUpdateRequest is a request to update a challenge.

type GameCenterChallengeVersionAttributes

type GameCenterChallengeVersionAttributes struct {
	Version int                    `json:"version,omitempty"`
	State   GameCenterVersionState `json:"state,omitempty"`
}

GameCenterChallengeVersionAttributes represents a Game Center challenge version resource.

type GameCenterChallengeVersionCreateData

type GameCenterChallengeVersionCreateData struct {
	Type          ResourceType                             `json:"type"`
	Relationships *GameCenterChallengeVersionRelationships `json:"relationships,omitempty"`
}

GameCenterChallengeVersionCreateData is the data portion of a version create request.

type GameCenterChallengeVersionCreateRequest

type GameCenterChallengeVersionCreateRequest struct {
	Data GameCenterChallengeVersionCreateData `json:"data"`
}

GameCenterChallengeVersionCreateRequest is a request to create a challenge version.

type GameCenterChallengeVersionDefaultImageLinkageResponse

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

GameCenterChallengeVersionDefaultImageLinkageResponse is the response for challenge version defaultImage relationships.

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 portion of a release create request.

type GameCenterChallengeVersionReleaseCreateRequest

type GameCenterChallengeVersionReleaseCreateRequest struct {
	Data GameCenterChallengeVersionReleaseCreateData `json:"data"`
}

GameCenterChallengeVersionReleaseCreateRequest is a request to create a release.

type GameCenterChallengeVersionReleaseDeleteResult

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

GameCenterChallengeVersionReleaseDeleteResult represents CLI output for release deletions.

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 response from release detail endpoints.

type GameCenterChallengeVersionReleasesResponse

type GameCenterChallengeVersionReleasesResponse = Response[GameCenterChallengeVersionReleaseAttributes]

GameCenterChallengeVersionReleasesResponse is the response from release list endpoints.

type GameCenterChallengeVersionResponse

type GameCenterChallengeVersionResponse = SingleResponse[GameCenterChallengeVersionAttributes]

GameCenterChallengeVersionResponse is the response from version detail endpoints.

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 describes attributes for creating a Game Center detail.

type GameCenterDetailCreateData

type GameCenterDetailCreateData struct {
	Type          ResourceType                         `json:"type"`
	Attributes    *GameCenterDetailCreateAttributes    `json:"attributes,omitempty"`
	Relationships *GameCenterDetailCreateRelationships `json:"relationships"`
}

GameCenterDetailCreateData is the data portion of a detail create request.

type GameCenterDetailCreateRelationships

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

GameCenterDetailCreateRelationships describes relationships for creating a Game Center detail.

type GameCenterDetailCreateRequest

type GameCenterDetailCreateRequest struct {
	Data GameCenterDetailCreateData `json:"data"`
}

GameCenterDetailCreateRequest is a request to create a Game Center detail.

type GameCenterDetailGameCenterGroupLinkageResponse

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

GameCenterDetailGameCenterGroupLinkageResponse is the response for gameCenterGroup relationships on a detail.

type GameCenterDetailResponse

type GameCenterDetailResponse = SingleResponse[GameCenterDetailAttributes]

GameCenterDetailResponse is the response from Game Center detail endpoints.

type GameCenterDetailUpdateAttributes

type GameCenterDetailUpdateAttributes struct {
	ChallengeEnabled *bool `json:"challengeEnabled,omitempty"`
}

GameCenterDetailUpdateAttributes describes attributes for updating a Game Center detail.

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 portion of a detail update request.

type GameCenterDetailUpdateRelationships

type GameCenterDetailUpdateRelationships struct {
	GameCenterGroup    *Relationship `json:"gameCenterGroup,omitempty"`
	DefaultLeaderboard *Relationship `json:"defaultLeaderboard,omitempty"`
}

GameCenterDetailUpdateRelationships describes relationships for updating a Game Center detail.

type GameCenterDetailUpdateRequest

type GameCenterDetailUpdateRequest struct {
	Data GameCenterDetailUpdateData `json:"data"`
}

GameCenterDetailUpdateRequest is a request to update a Game Center detail.

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 represents a Game Center group resource.

type GameCenterGroupCreateAttributes

type GameCenterGroupCreateAttributes struct {
	ReferenceName *string `json:"referenceName,omitempty"`
}

GameCenterGroupCreateAttributes describes attributes for creating a group.

type GameCenterGroupCreateData

type GameCenterGroupCreateData struct {
	Type       ResourceType                     `json:"type"`
	Attributes *GameCenterGroupCreateAttributes `json:"attributes,omitempty"`
}

GameCenterGroupCreateData is the data portion of a group create request.

type GameCenterGroupCreateRequest

type GameCenterGroupCreateRequest struct {
	Data GameCenterGroupCreateData `json:"data"`
}

GameCenterGroupCreateRequest is a request to create a group.

type GameCenterGroupDeleteResult

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

GameCenterGroupDeleteResult represents CLI output for group deletions.

type GameCenterGroupResponse

type GameCenterGroupResponse = SingleResponse[GameCenterGroupAttributes]

GameCenterGroupResponse is the response from group detail endpoints.

type GameCenterGroupUpdateAttributes

type GameCenterGroupUpdateAttributes struct {
	ReferenceName *string `json:"referenceName,omitempty"`
}

GameCenterGroupUpdateAttributes describes attributes for updating a group.

type GameCenterGroupUpdateData

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

GameCenterGroupUpdateData is the data portion of a group update request.

type GameCenterGroupUpdateRequest

type GameCenterGroupUpdateRequest struct {
	Data GameCenterGroupUpdateData `json:"data"`
}

GameCenterGroupUpdateRequest is a request to update a group.

type GameCenterGroupsResponse

type GameCenterGroupsResponse = Response[GameCenterGroupAttributes]

GameCenterGroupsResponse is the response from group list endpoints.

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,omitempty"`
	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 portion of a leaderboard create request.

type GameCenterLeaderboardCreateRequest

type GameCenterLeaderboardCreateRequest struct {
	Data GameCenterLeaderboardCreateData `json:"data"`
}

GameCenterLeaderboardCreateRequest is a request to create a leaderboard.

type GameCenterLeaderboardDeleteResult

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

GameCenterLeaderboardDeleteResult represents CLI output for leaderboard deletions.

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 a request to submit a leaderboard entry.

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 GameCenterLeaderboardGroupLeaderboardLinkageResponse

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

GameCenterLeaderboardGroupLeaderboardLinkageResponse is the response for groupLeaderboard relationships.

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 portion of an image create (reserve) request.

type GameCenterLeaderboardImageCreateRequest

type GameCenterLeaderboardImageCreateRequest struct {
	Data GameCenterLeaderboardImageCreateData `json:"data"`
}

GameCenterLeaderboardImageCreateRequest is a request to reserve an image upload.

type GameCenterLeaderboardImageDeleteResult

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

GameCenterLeaderboardImageDeleteResult represents CLI output for image deletions.

type GameCenterLeaderboardImageRelationships

type GameCenterLeaderboardImageRelationships struct {
	GameCenterLeaderboardLocalization *Relationship `json:"gameCenterLeaderboardLocalization"`
}

GameCenterLeaderboardImageRelationships describes relationships for leaderboard images.

type GameCenterLeaderboardImageResponse

type GameCenterLeaderboardImageResponse = SingleResponse[GameCenterLeaderboardImageAttributes]

GameCenterLeaderboardImageResponse is the response from leaderboard image detail endpoints.

type GameCenterLeaderboardImageUpdateAttributes

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

GameCenterLeaderboardImageUpdateAttributes describes attributes for committing an image upload.

type GameCenterLeaderboardImageUpdateData

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

GameCenterLeaderboardImageUpdateData is the data portion of an image update (commit) request.

type GameCenterLeaderboardImageUpdateRequest

type GameCenterLeaderboardImageUpdateRequest struct {
	Data GameCenterLeaderboardImageUpdateData `json:"data"`
}

GameCenterLeaderboardImageUpdateRequest is a request to commit an image upload.

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 a request to reserve a v2 image upload.

type GameCenterLeaderboardImageV2Relationships

type GameCenterLeaderboardImageV2Relationships struct {
	Localization *Relationship `json:"localization"`
}

GameCenterLeaderboardImageV2Relationships describes relationships for v2 leaderboard images.

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 describes attributes for creating a localization.

type GameCenterLeaderboardLocalizationCreateData

type GameCenterLeaderboardLocalizationCreateData struct {
	Type          ResourceType                                      `json:"type"`
	Attributes    GameCenterLeaderboardLocalizationCreateAttributes `json:"attributes"`
	Relationships *GameCenterLeaderboardLocalizationRelationships   `json:"relationships,omitempty"`
}

GameCenterLeaderboardLocalizationCreateData is the data portion of a localization create request.

type GameCenterLeaderboardLocalizationCreateRequest

type GameCenterLeaderboardLocalizationCreateRequest struct {
	Data GameCenterLeaderboardLocalizationCreateData `json:"data"`
}

GameCenterLeaderboardLocalizationCreateRequest is a request to create a localization.

type GameCenterLeaderboardLocalizationDeleteResult

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

GameCenterLeaderboardLocalizationDeleteResult represents CLI output for localization deletions.

type GameCenterLeaderboardLocalizationImageLinkageResponse

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

GameCenterLeaderboardLocalizationImageLinkageResponse is the response for leaderboard localization image relationships.

type GameCenterLeaderboardLocalizationRelationships

type GameCenterLeaderboardLocalizationRelationships struct {
	GameCenterLeaderboard *Relationship `json:"gameCenterLeaderboard"`
}

GameCenterLeaderboardLocalizationRelationships describes relationships for leaderboard localizations.

type GameCenterLeaderboardLocalizationResponse

type GameCenterLeaderboardLocalizationResponse = SingleResponse[GameCenterLeaderboardLocalizationAttributes]

GameCenterLeaderboardLocalizationResponse is the response from leaderboard localization detail endpoints.

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 describes attributes for updating a localization.

type GameCenterLeaderboardLocalizationUpdateData

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

GameCenterLeaderboardLocalizationUpdateData is the data portion of a localization update request.

type GameCenterLeaderboardLocalizationUpdateRequest

type GameCenterLeaderboardLocalizationUpdateRequest struct {
	Data GameCenterLeaderboardLocalizationUpdateData `json:"data"`
}

GameCenterLeaderboardLocalizationUpdateRequest is a request to update a localization.

type GameCenterLeaderboardLocalizationV2CreateData

type GameCenterLeaderboardLocalizationV2CreateData struct {
	Type          ResourceType                                      `json:"type"`
	Attributes    GameCenterLeaderboardLocalizationCreateAttributes `json:"attributes"`
	Relationships *GameCenterLeaderboardLocalizationV2Relationships `json:"relationships,omitempty"`
}

GameCenterLeaderboardLocalizationV2CreateData is the data portion of a v2 localization create request.

type GameCenterLeaderboardLocalizationV2CreateRequest

type GameCenterLeaderboardLocalizationV2CreateRequest struct {
	Data GameCenterLeaderboardLocalizationV2CreateData `json:"data"`
}

GameCenterLeaderboardLocalizationV2CreateRequest is a request to create a v2 localization.

type GameCenterLeaderboardLocalizationV2ImageLinkageResponse

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

GameCenterLeaderboardLocalizationV2ImageLinkageResponse is the response for v2 leaderboard localization image relationship.

type GameCenterLeaderboardLocalizationV2Relationships

type GameCenterLeaderboardLocalizationV2Relationships struct {
	Version *Relationship `json:"version"`
}

GameCenterLeaderboardLocalizationV2Relationships describes relationships for v2 leaderboard localizations.

type GameCenterLeaderboardLocalizationsResponse

type GameCenterLeaderboardLocalizationsResponse = Response[GameCenterLeaderboardLocalizationAttributes]

GameCenterLeaderboardLocalizationsResponse is the response from leaderboard localization list endpoints.

type GameCenterLeaderboardRelationships

type GameCenterLeaderboardRelationships struct {
	GameCenterDetail *Relationship `json:"gameCenterDetail"`
}

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 portion of a leaderboard release create request.

type GameCenterLeaderboardReleaseCreateRequest

type GameCenterLeaderboardReleaseCreateRequest struct {
	Data GameCenterLeaderboardReleaseCreateData `json:"data"`
}

GameCenterLeaderboardReleaseCreateRequest is a request to create a leaderboard release.

type GameCenterLeaderboardReleaseDeleteResult

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

GameCenterLeaderboardReleaseDeleteResult represents CLI output for leaderboard release deletions.

type GameCenterLeaderboardReleaseRelationships

type GameCenterLeaderboardReleaseRelationships struct {
	GameCenterDetail      *Relationship `json:"gameCenterDetail"`
	GameCenterLeaderboard *Relationship `json:"gameCenterLeaderboard"`
}

GameCenterLeaderboardReleaseRelationships describes relationships for leaderboard releases.

type GameCenterLeaderboardReleaseResponse

type GameCenterLeaderboardReleaseResponse = SingleResponse[GameCenterLeaderboardReleaseAttributes]

GameCenterLeaderboardReleaseResponse is the response from leaderboard release detail endpoints.

type GameCenterLeaderboardReleasesResponse

type GameCenterLeaderboardReleasesResponse = Response[GameCenterLeaderboardReleaseAttributes]

GameCenterLeaderboardReleasesResponse is the response from leaderboard release list endpoints.

type GameCenterLeaderboardResponse

type GameCenterLeaderboardResponse = SingleResponse[GameCenterLeaderboardAttributes]

GameCenterLeaderboardResponse is the response from leaderboard detail endpoints.

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 describes attributes for creating a leaderboard set.

type GameCenterLeaderboardSetCreateData

type GameCenterLeaderboardSetCreateData struct {
	Type          ResourceType                             `json:"type"`
	Attributes    GameCenterLeaderboardSetCreateAttributes `json:"attributes"`
	Relationships *GameCenterLeaderboardSetRelationships   `json:"relationships,omitempty"`
}

GameCenterLeaderboardSetCreateData is the data portion of a leaderboard set create request.

type GameCenterLeaderboardSetCreateRequest

type GameCenterLeaderboardSetCreateRequest struct {
	Data GameCenterLeaderboardSetCreateData `json:"data"`
}

GameCenterLeaderboardSetCreateRequest is a request to create a leaderboard set.

type GameCenterLeaderboardSetDeleteResult

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

GameCenterLeaderboardSetDeleteResult represents CLI output for leaderboard set deletions.

type GameCenterLeaderboardSetGroupLeaderboardSetLinkageResponse

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

GameCenterLeaderboardSetGroupLeaderboardSetLinkageResponse is the response for groupLeaderboardSet relationships.

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 portion of an image create (reserve) request.

type GameCenterLeaderboardSetImageCreateRequest

type GameCenterLeaderboardSetImageCreateRequest struct {
	Data GameCenterLeaderboardSetImageCreateData `json:"data"`
}

GameCenterLeaderboardSetImageCreateRequest is a request to reserve an image upload.

type GameCenterLeaderboardSetImageDeleteResult

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

GameCenterLeaderboardSetImageDeleteResult represents CLI output for leaderboard set image deletions.

type GameCenterLeaderboardSetImageRelationships

type GameCenterLeaderboardSetImageRelationships struct {
	GameCenterLeaderboardSetLocalization *Relationship `json:"gameCenterLeaderboardSetLocalization"`
}

GameCenterLeaderboardSetImageRelationships describes relationships for leaderboard set images.

type GameCenterLeaderboardSetImageResponse

type GameCenterLeaderboardSetImageResponse = SingleResponse[GameCenterLeaderboardSetImageAttributes]

GameCenterLeaderboardSetImageResponse is the response from leaderboard set image detail endpoints.

type GameCenterLeaderboardSetImageUpdateAttributes

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

GameCenterLeaderboardSetImageUpdateAttributes describes attributes for committing an image upload.

type GameCenterLeaderboardSetImageUpdateData

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

GameCenterLeaderboardSetImageUpdateData is the data portion of an image update (commit) request.

type GameCenterLeaderboardSetImageUpdateRequest

type GameCenterLeaderboardSetImageUpdateRequest struct {
	Data GameCenterLeaderboardSetImageUpdateData `json:"data"`
}

GameCenterLeaderboardSetImageUpdateRequest is a request to update a leaderboard set image.

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 a request to reserve a v2 image upload.

type GameCenterLeaderboardSetImageV2Relationships

type GameCenterLeaderboardSetImageV2Relationships struct {
	Localization *Relationship `json:"localization"`
}

GameCenterLeaderboardSetImageV2Relationships describes relationships for v2 leaderboard set images.

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 describes attributes for creating a leaderboard set localization.

type GameCenterLeaderboardSetLocalizationCreateData

type GameCenterLeaderboardSetLocalizationCreateData struct {
	Type          ResourceType                                         `json:"type"`
	Attributes    GameCenterLeaderboardSetLocalizationCreateAttributes `json:"attributes"`
	Relationships *GameCenterLeaderboardSetLocalizationRelationships   `json:"relationships,omitempty"`
}

GameCenterLeaderboardSetLocalizationCreateData is the data portion of a leaderboard set localization create request.

type GameCenterLeaderboardSetLocalizationCreateRequest

type GameCenterLeaderboardSetLocalizationCreateRequest struct {
	Data GameCenterLeaderboardSetLocalizationCreateData `json:"data"`
}

GameCenterLeaderboardSetLocalizationCreateRequest is a request to create a leaderboard set localization.

type GameCenterLeaderboardSetLocalizationDeleteResult

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

GameCenterLeaderboardSetLocalizationDeleteResult represents CLI output for leaderboard set localization deletions.

type GameCenterLeaderboardSetLocalizationImageLinkageResponse

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

GameCenterLeaderboardSetLocalizationImageLinkageResponse is the response for leaderboard set localization image relationship.

type GameCenterLeaderboardSetLocalizationRelationships

type GameCenterLeaderboardSetLocalizationRelationships struct {
	GameCenterLeaderboardSet *Relationship `json:"gameCenterLeaderboardSet"`
}

GameCenterLeaderboardSetLocalizationRelationships describes relationships for leaderboard set localizations.

type GameCenterLeaderboardSetLocalizationResponse

type GameCenterLeaderboardSetLocalizationResponse = SingleResponse[GameCenterLeaderboardSetLocalizationAttributes]

GameCenterLeaderboardSetLocalizationResponse is the response from leaderboard set localization detail endpoints.

type GameCenterLeaderboardSetLocalizationUpdateAttributes

type GameCenterLeaderboardSetLocalizationUpdateAttributes struct {
	Name *string `json:"name,omitempty"`
}

GameCenterLeaderboardSetLocalizationUpdateAttributes describes attributes for updating a leaderboard set localization.

type GameCenterLeaderboardSetLocalizationUpdateData

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

GameCenterLeaderboardSetLocalizationUpdateData is the data portion of a leaderboard set localization update request.

type GameCenterLeaderboardSetLocalizationUpdateRequest

type GameCenterLeaderboardSetLocalizationUpdateRequest struct {
	Data GameCenterLeaderboardSetLocalizationUpdateData `json:"data"`
}

GameCenterLeaderboardSetLocalizationUpdateRequest is a request to update a leaderboard set localization.

type GameCenterLeaderboardSetLocalizationV2CreateData

type GameCenterLeaderboardSetLocalizationV2CreateData struct {
	Type          ResourceType                                         `json:"type"`
	Attributes    GameCenterLeaderboardSetLocalizationCreateAttributes `json:"attributes"`
	Relationships *GameCenterLeaderboardSetLocalizationV2Relationships `json:"relationships,omitempty"`
}

GameCenterLeaderboardSetLocalizationV2CreateData is the data portion of a v2 localization create request.

type GameCenterLeaderboardSetLocalizationV2CreateRequest

type GameCenterLeaderboardSetLocalizationV2CreateRequest struct {
	Data GameCenterLeaderboardSetLocalizationV2CreateData `json:"data"`
}

GameCenterLeaderboardSetLocalizationV2CreateRequest is a request to create a v2 localization.

type GameCenterLeaderboardSetLocalizationV2ImageLinkageResponse

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

GameCenterLeaderboardSetLocalizationV2ImageLinkageResponse is the response for v2 leaderboard set localization image relationship.

type GameCenterLeaderboardSetLocalizationV2Relationships

type GameCenterLeaderboardSetLocalizationV2Relationships struct {
	Version *Relationship `json:"version"`
}

GameCenterLeaderboardSetLocalizationV2Relationships describes relationships for v2 leaderboard set localizations.

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 a request to create a member localization.

type GameCenterLeaderboardSetMemberLocalizationDeleteResult

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

GameCenterLeaderboardSetMemberLocalizationDeleteResult represents CLI output for member localization deletions.

type GameCenterLeaderboardSetMemberLocalizationLeaderboardLinkageResponse

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

GameCenterLeaderboardSetMemberLocalizationLeaderboardLinkageResponse is the response for member localization leaderboard relationships.

type GameCenterLeaderboardSetMemberLocalizationLeaderboardSetLinkageResponse

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

GameCenterLeaderboardSetMemberLocalizationLeaderboardSetLinkageResponse is the response for member localization leaderboard set relationships.

type GameCenterLeaderboardSetMemberLocalizationRelationships

type GameCenterLeaderboardSetMemberLocalizationRelationships struct {
	GameCenterLeaderboardSet *Relationship `json:"gameCenterLeaderboardSet"`
	GameCenterLeaderboard    *Relationship `json:"gameCenterLeaderboard"`
}

GameCenterLeaderboardSetMemberLocalizationRelationships describes relationships for member localizations.

type GameCenterLeaderboardSetMemberLocalizationResponse

type GameCenterLeaderboardSetMemberLocalizationResponse = SingleResponse[GameCenterLeaderboardSetMemberLocalizationAttributes]

GameCenterLeaderboardSetMemberLocalizationResponse is the response from member localization detail endpoints.

type GameCenterLeaderboardSetMemberLocalizationUpdateAttributes

type GameCenterLeaderboardSetMemberLocalizationUpdateAttributes struct {
	Name *string `json:"name,omitempty"`
}

GameCenterLeaderboardSetMemberLocalizationUpdateAttributes describes attributes for updating a member localization.

type GameCenterLeaderboardSetMemberLocalizationUpdateData

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

GameCenterLeaderboardSetMemberLocalizationUpdateData is the data portion of a member localization update request.

type GameCenterLeaderboardSetMemberLocalizationUpdateRequest

type GameCenterLeaderboardSetMemberLocalizationUpdateRequest struct {
	Data GameCenterLeaderboardSetMemberLocalizationUpdateData `json:"data"`
}

GameCenterLeaderboardSetMemberLocalizationUpdateRequest is a request to update a member localization.

type GameCenterLeaderboardSetMemberLocalizationsResponse

type GameCenterLeaderboardSetMemberLocalizationsResponse = Response[GameCenterLeaderboardSetMemberLocalizationAttributes]

GameCenterLeaderboardSetMemberLocalizationsResponse is the response from member localization list endpoints.

type GameCenterLeaderboardSetMembersUpdateRequest

type GameCenterLeaderboardSetMembersUpdateRequest struct {
	Data []RelationshipData `json:"data"`
}

GameCenterLeaderboardSetMembersUpdateRequest is a request to replace leaderboard set members.

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"`
}

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 portion of a leaderboard set release create request.

type GameCenterLeaderboardSetReleaseCreateRequest

type GameCenterLeaderboardSetReleaseCreateRequest struct {
	Data GameCenterLeaderboardSetReleaseCreateData `json:"data"`
}

GameCenterLeaderboardSetReleaseCreateRequest is a request to create a leaderboard set release.

type GameCenterLeaderboardSetReleaseDeleteResult

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

GameCenterLeaderboardSetReleaseDeleteResult represents CLI output for leaderboard set release deletions.

type GameCenterLeaderboardSetReleaseRelationships

type GameCenterLeaderboardSetReleaseRelationships struct {
	GameCenterDetail         *Relationship `json:"gameCenterDetail"`
	GameCenterLeaderboardSet *Relationship `json:"gameCenterLeaderboardSet"`
}

GameCenterLeaderboardSetReleaseRelationships describes relationships for leaderboard set releases.

type GameCenterLeaderboardSetReleaseResponse

type GameCenterLeaderboardSetReleaseResponse = SingleResponse[GameCenterLeaderboardSetReleaseAttributes]

GameCenterLeaderboardSetReleaseResponse is the response from leaderboard set release detail endpoints.

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 response from leaderboard set detail endpoints.

type GameCenterLeaderboardSetUpdateAttributes

type GameCenterLeaderboardSetUpdateAttributes struct {
	ReferenceName *string `json:"referenceName,omitempty"`
}

GameCenterLeaderboardSetUpdateAttributes describes attributes for updating a leaderboard set.

type GameCenterLeaderboardSetUpdateData

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

GameCenterLeaderboardSetUpdateData is the data portion of a leaderboard set update request.

type GameCenterLeaderboardSetUpdateRequest

type GameCenterLeaderboardSetUpdateRequest struct {
	Data GameCenterLeaderboardSetUpdateData `json:"data"`
}

GameCenterLeaderboardSetUpdateRequest is a request to update a leaderboard set.

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"`
}

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"`
}

GameCenterLeaderboardSetV2Relationships describes relationships for v2 leaderboard sets.

type GameCenterLeaderboardSetVersionAttributes

type GameCenterLeaderboardSetVersionAttributes struct {
	Version int                    `json:"version,omitempty"`
	State   GameCenterVersionState `json:"state,omitempty"`
}

GameCenterLeaderboardSetVersionAttributes represents a v2 leaderboard set version resource.

type GameCenterLeaderboardSetVersionCreateData

type GameCenterLeaderboardSetVersionCreateData struct {
	Type          ResourceType                                  `json:"type"`
	Relationships *GameCenterLeaderboardSetVersionRelationships `json:"relationships,omitempty"`
}

GameCenterLeaderboardSetVersionCreateData is the data portion of a version create request.

type GameCenterLeaderboardSetVersionCreateRequest

type GameCenterLeaderboardSetVersionCreateRequest struct {
	Data GameCenterLeaderboardSetVersionCreateData `json:"data"`
}

GameCenterLeaderboardSetVersionCreateRequest is a request to create a 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[GameCenterLeaderboardSetVersionAttributes]

GameCenterLeaderboardSetVersionResponse is the response from leaderboard set version detail endpoints.

type GameCenterLeaderboardSetVersionsResponse

type GameCenterLeaderboardSetVersionsResponse = Response[GameCenterLeaderboardSetVersionAttributes]

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,omitempty"`
	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 portion of a leaderboard update request.

type GameCenterLeaderboardUpdateRequest

type GameCenterLeaderboardUpdateRequest struct {
	Data GameCenterLeaderboardUpdateData `json:"data"`
}

GameCenterLeaderboardUpdateRequest is a request to update a leaderboard.

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"`
}

GameCenterLeaderboardV2CreateRequest is a request to create a v2 leaderboard.

type GameCenterLeaderboardV2Relationships

type GameCenterLeaderboardV2Relationships struct {
	GameCenterDetail *Relationship `json:"gameCenterDetail,omitempty"`
	GameCenterGroup  *Relationship `json:"gameCenterGroup,omitempty"`
}

GameCenterLeaderboardV2Relationships describes relationships for v2 leaderboards.

type GameCenterLeaderboardVersionAttributes

type GameCenterLeaderboardVersionAttributes struct {
	Version int                    `json:"version,omitempty"`
	State   GameCenterVersionState `json:"state,omitempty"`
}

GameCenterLeaderboardVersionAttributes represents a v2 leaderboard version resource.

type GameCenterLeaderboardVersionCreateData

type GameCenterLeaderboardVersionCreateData struct {
	Type          ResourceType                               `json:"type"`
	Relationships *GameCenterLeaderboardVersionRelationships `json:"relationships,omitempty"`
}

GameCenterLeaderboardVersionCreateData is the data portion of a version create request.

type GameCenterLeaderboardVersionCreateRequest

type GameCenterLeaderboardVersionCreateRequest struct {
	Data GameCenterLeaderboardVersionCreateData `json:"data"`
}

GameCenterLeaderboardVersionCreateRequest is a request to create a leaderboard version.

type GameCenterLeaderboardVersionRelationships

type GameCenterLeaderboardVersionRelationships struct {
	Leaderboard *Relationship `json:"leaderboard,omitempty"`
}

GameCenterLeaderboardVersionRelationships describes relationships for leaderboard versions.

type GameCenterLeaderboardVersionResponse

type GameCenterLeaderboardVersionResponse = SingleResponse[GameCenterLeaderboardVersionAttributes]

GameCenterLeaderboardVersionResponse is the response from leaderboard version detail endpoints.

type GameCenterLeaderboardVersionsResponse

type GameCenterLeaderboardVersionsResponse = Response[GameCenterLeaderboardVersionAttributes]

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 describes attributes for creating a queue.

type GameCenterMatchmakingQueueCreateData

type GameCenterMatchmakingQueueCreateData struct {
	Type          ResourceType                               `json:"type"`
	Attributes    GameCenterMatchmakingQueueCreateAttributes `json:"attributes"`
	Relationships *GameCenterMatchmakingQueueRelationships   `json:"relationships,omitempty"`
}

GameCenterMatchmakingQueueCreateData is the data portion of a queue create request.

type GameCenterMatchmakingQueueCreateRequest

type GameCenterMatchmakingQueueCreateRequest struct {
	Data GameCenterMatchmakingQueueCreateData `json:"data"`
}

GameCenterMatchmakingQueueCreateRequest is a request to create a queue.

type GameCenterMatchmakingQueueDeleteResult

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

GameCenterMatchmakingQueueDeleteResult represents CLI output for queue deletions.

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 response from queue detail endpoints.

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 describes attributes for updating a queue.

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 portion of a queue update request.

type GameCenterMatchmakingQueueUpdateRequest

type GameCenterMatchmakingQueueUpdateRequest struct {
	Data GameCenterMatchmakingQueueUpdateData `json:"data"`
}

GameCenterMatchmakingQueueUpdateRequest is a request to update a queue.

type GameCenterMatchmakingQueuesResponse

type GameCenterMatchmakingQueuesResponse = Response[GameCenterMatchmakingQueueAttributes]

GameCenterMatchmakingQueuesResponse is the response from queue list endpoints.

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 describes attributes for creating a rule.

type GameCenterMatchmakingRuleCreateData

type GameCenterMatchmakingRuleCreateData struct {
	Type          ResourceType                              `json:"type"`
	Attributes    GameCenterMatchmakingRuleCreateAttributes `json:"attributes"`
	Relationships *GameCenterMatchmakingRuleRelationships   `json:"relationships,omitempty"`
}

GameCenterMatchmakingRuleCreateData is the data portion of a rule create request.

type GameCenterMatchmakingRuleCreateRequest

type GameCenterMatchmakingRuleCreateRequest struct {
	Data GameCenterMatchmakingRuleCreateData `json:"data"`
}

GameCenterMatchmakingRuleCreateRequest is a request to create a rule.

type GameCenterMatchmakingRuleDeleteResult

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

GameCenterMatchmakingRuleDeleteResult represents CLI output for rule deletions.

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 response from rule detail endpoints.

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 describes attributes for creating a rule set.

type GameCenterMatchmakingRuleSetCreateData

type GameCenterMatchmakingRuleSetCreateData struct {
	Type       ResourceType                                 `json:"type"`
	Attributes GameCenterMatchmakingRuleSetCreateAttributes `json:"attributes"`
}

GameCenterMatchmakingRuleSetCreateData is the data portion of a rule set create request.

type GameCenterMatchmakingRuleSetCreateRequest

type GameCenterMatchmakingRuleSetCreateRequest struct {
	Data GameCenterMatchmakingRuleSetCreateData `json:"data"`
}

GameCenterMatchmakingRuleSetCreateRequest is a request to create a rule set.

type GameCenterMatchmakingRuleSetDeleteResult

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

GameCenterMatchmakingRuleSetDeleteResult represents CLI output for rule set deletions.

type GameCenterMatchmakingRuleSetResponse

type GameCenterMatchmakingRuleSetResponse = SingleResponse[GameCenterMatchmakingRuleSetAttributes]

GameCenterMatchmakingRuleSetResponse is the response from rule set detail endpoints.

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 response for a rule set test.

type GameCenterMatchmakingRuleSetUpdateAttributes

type GameCenterMatchmakingRuleSetUpdateAttributes struct {
	MinPlayers *int `json:"minPlayers,omitempty"`
	MaxPlayers *int `json:"maxPlayers,omitempty"`
}

GameCenterMatchmakingRuleSetUpdateAttributes describes attributes for updating a rule set.

type GameCenterMatchmakingRuleSetUpdateData

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

GameCenterMatchmakingRuleSetUpdateData is the data portion of a rule set update request.

type GameCenterMatchmakingRuleSetUpdateRequest

type GameCenterMatchmakingRuleSetUpdateRequest struct {
	Data GameCenterMatchmakingRuleSetUpdateData `json:"data"`
}

GameCenterMatchmakingRuleSetUpdateRequest is a request to update a rule set.

type GameCenterMatchmakingRuleSetsResponse

type GameCenterMatchmakingRuleSetsResponse = Response[GameCenterMatchmakingRuleSetAttributes]

GameCenterMatchmakingRuleSetsResponse is the response from rule set list endpoints.

type GameCenterMatchmakingRuleUpdateAttributes

type GameCenterMatchmakingRuleUpdateAttributes struct {
	Description *string  `json:"description,omitempty"`
	Expression  *string  `json:"expression,omitempty"`
	Weight      *float64 `json:"weight,omitempty"`
}

GameCenterMatchmakingRuleUpdateAttributes describes attributes for updating a rule.

type GameCenterMatchmakingRuleUpdateData

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

GameCenterMatchmakingRuleUpdateData is the data portion of a rule update request.

type GameCenterMatchmakingRuleUpdateRequest

type GameCenterMatchmakingRuleUpdateRequest struct {
	Data GameCenterMatchmakingRuleUpdateData `json:"data"`
}

GameCenterMatchmakingRuleUpdateRequest is a request to update a rule.

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 describes attributes for creating a team.

type GameCenterMatchmakingTeamCreateData

type GameCenterMatchmakingTeamCreateData struct {
	Type          ResourceType                              `json:"type"`
	Attributes    GameCenterMatchmakingTeamCreateAttributes `json:"attributes"`
	Relationships *GameCenterMatchmakingTeamRelationships   `json:"relationships,omitempty"`
}

GameCenterMatchmakingTeamCreateData is the data portion of a team create request.

type GameCenterMatchmakingTeamCreateRequest

type GameCenterMatchmakingTeamCreateRequest struct {
	Data GameCenterMatchmakingTeamCreateData `json:"data"`
}

GameCenterMatchmakingTeamCreateRequest is a request to create a team.

type GameCenterMatchmakingTeamDeleteResult

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

GameCenterMatchmakingTeamDeleteResult represents CLI output for team deletions.

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 response from team detail endpoints.

type GameCenterMatchmakingTeamUpdateAttributes

type GameCenterMatchmakingTeamUpdateAttributes struct {
	MinPlayers *int `json:"minPlayers,omitempty"`
	MaxPlayers *int `json:"maxPlayers,omitempty"`
}

GameCenterMatchmakingTeamUpdateAttributes describes attributes for updating a team.

type GameCenterMatchmakingTeamUpdateData

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

GameCenterMatchmakingTeamUpdateData is the data portion of a team update request.

type GameCenterMatchmakingTeamUpdateRequest

type GameCenterMatchmakingTeamUpdateRequest struct {
	Data GameCenterMatchmakingTeamUpdateData `json:"data"`
}

GameCenterMatchmakingTeamUpdateRequest is a request to update a team.

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 a request to submit player achievements.

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 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)

func WithIAPAvailabilityTerritoriesLimit

func WithIAPAvailabilityTerritoriesLimit(limit int) IAPAvailabilityTerritoriesOption

func WithIAPAvailabilityTerritoriesNextURL

func WithIAPAvailabilityTerritoriesNextURL(next string) IAPAvailabilityTerritoriesOption

type IAPImagesOption

type IAPImagesOption func(*iapImagesQuery)

func WithIAPImagesLimit

func WithIAPImagesLimit(limit int) IAPImagesOption

func WithIAPImagesNextURL

func WithIAPImagesNextURL(next string) IAPImagesOption

type IAPLocalizationsOption

type IAPLocalizationsOption func(*iapLocalizationsQuery)

IAPLocalizationsOption is a functional option for GetInAppPurchaseLocalizations.

func WithIAPLocalizationsLimit

func WithIAPLocalizationsLimit(limit int) IAPLocalizationsOption

WithIAPLocalizationsLimit sets the max number of localizations to return.

func WithIAPLocalizationsNextURL

func WithIAPLocalizationsNextURL(next string) IAPLocalizationsOption

WithIAPLocalizationsNextURL uses a next page URL directly.

type IAPOfferCodeCustomCodesOption

type IAPOfferCodeCustomCodesOption func(*iapOfferCodeCustomCodesQuery)

func WithIAPOfferCodeCustomCodesLimit

func WithIAPOfferCodeCustomCodesLimit(limit int) IAPOfferCodeCustomCodesOption

func WithIAPOfferCodeCustomCodesNextURL

func WithIAPOfferCodeCustomCodesNextURL(next string) IAPOfferCodeCustomCodesOption

type IAPOfferCodeOneTimeUseCodesOption

type IAPOfferCodeOneTimeUseCodesOption func(*iapOfferCodeOneTimeUseCodesQuery)

func WithIAPOfferCodeOneTimeUseCodesLimit

func WithIAPOfferCodeOneTimeUseCodesLimit(limit int) IAPOfferCodeOneTimeUseCodesOption

func WithIAPOfferCodeOneTimeUseCodesNextURL

func WithIAPOfferCodeOneTimeUseCodesNextURL(next string) IAPOfferCodeOneTimeUseCodesOption

type IAPOfferCodePricesOption

type IAPOfferCodePricesOption func(*iapOfferCodePricesQuery)

func WithIAPOfferCodePricesLimit

func WithIAPOfferCodePricesLimit(limit int) IAPOfferCodePricesOption

func WithIAPOfferCodePricesNextURL

func WithIAPOfferCodePricesNextURL(next string) IAPOfferCodePricesOption

type IAPOfferCodesOption

type IAPOfferCodesOption func(*iapOfferCodesQuery)

func WithIAPOfferCodesLimit

func WithIAPOfferCodesLimit(limit int) IAPOfferCodesOption

func WithIAPOfferCodesNextURL

func WithIAPOfferCodesNextURL(next string) IAPOfferCodesOption

type IAPOption

type IAPOption func(*inAppPurchasesQuery)

IAPOption is a functional option for GetInAppPurchasesV2.

func WithIAPLimit

func WithIAPLimit(limit int) IAPOption

WithIAPLimit sets the max number of IAPs to return.

func WithIAPNames added in v1.260404.0

func WithIAPNames(names []string) IAPOption

WithIAPNames filters in-app purchases by current name.

func WithIAPNextURL

func WithIAPNextURL(next string) IAPOption

WithIAPNextURL uses a next page URL directly.

func WithIAPProductIDs added in v1.260404.0

func WithIAPProductIDs(productIDs []string) IAPOption

WithIAPProductIDs filters in-app purchases by product ID.

type IAPPricePointsOption

type IAPPricePointsOption func(*iapPricePointsQuery)

func WithIAPPricePointsFields

func WithIAPPricePointsFields(fields []string) IAPPricePointsOption

func WithIAPPricePointsInclude

func WithIAPPricePointsInclude(include []string) IAPPricePointsOption

func WithIAPPricePointsLimit

func WithIAPPricePointsLimit(limit int) IAPPricePointsOption

func WithIAPPricePointsNextURL

func WithIAPPricePointsNextURL(next string) IAPPricePointsOption

func WithIAPPricePointsTerritory

func WithIAPPricePointsTerritory(territory string) IAPPricePointsOption

func WithIAPPricePointsTerritoryFields

func WithIAPPricePointsTerritoryFields(fields []string) IAPPricePointsOption

type IAPPriceScheduleOption

type IAPPriceScheduleOption func(*iapPriceScheduleQuery)

func WithIAPPriceScheduleAutomaticPricesLimit

func WithIAPPriceScheduleAutomaticPricesLimit(limit int) IAPPriceScheduleOption

func WithIAPPriceScheduleFields

func WithIAPPriceScheduleFields(fields []string) IAPPriceScheduleOption

func WithIAPPriceScheduleInclude

func WithIAPPriceScheduleInclude(include []string) IAPPriceScheduleOption

func WithIAPPriceScheduleManualPricesLimit

func WithIAPPriceScheduleManualPricesLimit(limit int) IAPPriceScheduleOption

func WithIAPPriceSchedulePriceFields

func WithIAPPriceSchedulePriceFields(fields []string) IAPPriceScheduleOption

func WithIAPPriceScheduleTerritoryFields

func WithIAPPriceScheduleTerritoryFields(fields []string) IAPPriceScheduleOption

type IAPPriceSchedulePricesOption

type IAPPriceSchedulePricesOption func(*iapPriceSchedulePricesQuery)

func WithIAPPriceSchedulePricesFields

func WithIAPPriceSchedulePricesFields(fields []string) IAPPriceSchedulePricesOption

func WithIAPPriceSchedulePricesInclude

func WithIAPPriceSchedulePricesInclude(include []string) IAPPriceSchedulePricesOption

func WithIAPPriceSchedulePricesLimit

func WithIAPPriceSchedulePricesLimit(limit int) IAPPriceSchedulePricesOption

func WithIAPPriceSchedulePricesNextURL

func WithIAPPriceSchedulePricesNextURL(next string) IAPPriceSchedulePricesOption

func WithIAPPriceSchedulePricesPricePointFields

func WithIAPPriceSchedulePricesPricePointFields(fields []string) IAPPriceSchedulePricesOption

func WithIAPPriceSchedulePricesTerritoryFields

func WithIAPPriceSchedulePricesTerritoryFields(fields []string) IAPPriceSchedulePricesOption

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 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.

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"`
}

In-app purchase App Store review screenshots.

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"`
}

type InAppPurchaseAppStoreReviewScreenshotCreateRequest

type InAppPurchaseAppStoreReviewScreenshotCreateRequest struct {
	Data InAppPurchaseAppStoreReviewScreenshotCreateData `json:"data"`
}

type InAppPurchaseAppStoreReviewScreenshotLinkageResponse

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

InAppPurchaseAppStoreReviewScreenshotLinkageResponse is the response for app store review screenshot relationship endpoints.

type InAppPurchaseAppStoreReviewScreenshotRelationships

type InAppPurchaseAppStoreReviewScreenshotRelationships struct {
	InAppPurchaseV2 Relationship `json:"inAppPurchaseV2"`
}

type InAppPurchaseAppStoreReviewScreenshotResponse

type InAppPurchaseAppStoreReviewScreenshotResponse = SingleResponse[InAppPurchaseAppStoreReviewScreenshotAttributes]

type InAppPurchaseAppStoreReviewScreenshotUpdateAttributes

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

type InAppPurchaseAppStoreReviewScreenshotUpdateData

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

type InAppPurchaseAppStoreReviewScreenshotUpdateRequest

type InAppPurchaseAppStoreReviewScreenshotUpdateRequest struct {
	Data InAppPurchaseAppStoreReviewScreenshotUpdateData `json:"data"`
}

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"`
}

type InAppPurchaseAvailabilityCreateData

type InAppPurchaseAvailabilityCreateData struct {
	Type          ResourceType                                 `json:"type"`
	Attributes    InAppPurchaseAvailabilityCreateAttributes    `json:"attributes"`
	Relationships InAppPurchaseAvailabilityCreateRelationships `json:"relationships"`
}

type InAppPurchaseAvailabilityCreateRelationships

type InAppPurchaseAvailabilityCreateRelationships struct {
	InAppPurchase        Relationship     `json:"inAppPurchase"`
	AvailableTerritories RelationshipList `json:"availableTerritories"`
}

type InAppPurchaseAvailabilityCreateRequest

type InAppPurchaseAvailabilityCreateRequest struct {
	Data InAppPurchaseAvailabilityCreateData `json:"data"`
}

type InAppPurchaseAvailabilityResponse

type InAppPurchaseAvailabilityResponse = SingleResponse[InAppPurchaseAvailabilityAttributes]

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 InAppPurchaseContentLinkageResponse

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

InAppPurchaseContentLinkageResponse is the response for content relationship endpoints.

type InAppPurchaseContentResponse

type InAppPurchaseContentResponse = SingleResponse[InAppPurchaseContentAttributes]

type InAppPurchaseDeleteResult

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

InAppPurchaseDeleteResult represents CLI output for IAP deletions.

type InAppPurchaseIapPriceScheduleLinkageResponse

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

InAppPurchaseIapPriceScheduleLinkageResponse is the response for IAP price schedule relationship endpoints.

type InAppPurchaseImageAttributes

type InAppPurchaseImageAttributes 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"`
}

In-app purchase images.

type InAppPurchaseImageCreateAttributes

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

type InAppPurchaseImageCreateData

type InAppPurchaseImageCreateData struct {
	Type          ResourceType                       `json:"type"`
	Attributes    InAppPurchaseImageCreateAttributes `json:"attributes"`
	Relationships InAppPurchaseImageRelationships    `json:"relationships"`
}

type InAppPurchaseImageCreateRequest

type InAppPurchaseImageCreateRequest struct {
	Data InAppPurchaseImageCreateData `json:"data"`
}

type InAppPurchaseImageRelationships

type InAppPurchaseImageRelationships struct {
	InAppPurchase Relationship `json:"inAppPurchase"`
}

type InAppPurchaseImageResponse

type InAppPurchaseImageResponse = SingleResponse[InAppPurchaseImageAttributes]

type InAppPurchaseImageUpdateAttributes

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

type InAppPurchaseImageUpdateData

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

type InAppPurchaseImageUpdateRequest

type InAppPurchaseImageUpdateRequest struct {
	Data InAppPurchaseImageUpdateData `json:"data"`
}

type InAppPurchaseImagesResponse

type InAppPurchaseImagesResponse = Response[InAppPurchaseImageAttributes]

type InAppPurchaseInAppPurchaseAvailabilityLinkageResponse

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

InAppPurchaseInAppPurchaseAvailabilityLinkageResponse is the response for availability relationship endpoints.

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"`
}

type InAppPurchaseLocalizationCreateRelationships

type InAppPurchaseLocalizationCreateRelationships struct {
	InAppPurchaseV2 Relationship `json:"inAppPurchaseV2"`
}

type InAppPurchaseLocalizationCreateRequest

type InAppPurchaseLocalizationCreateRequest struct {
	Data InAppPurchaseLocalizationCreateData `json:"data"`
}

type InAppPurchaseLocalizationResponse

type InAppPurchaseLocalizationResponse = SingleResponse[InAppPurchaseLocalizationAttributes]

type InAppPurchaseLocalizationUpdateAttributes

type InAppPurchaseLocalizationUpdateAttributes struct {
	Name        *string `json:"name,omitempty"`
	Description *string `json:"description,omitempty"`
}

type InAppPurchaseLocalizationUpdateData

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

type InAppPurchaseLocalizationUpdateRequest

type InAppPurchaseLocalizationUpdateRequest struct {
	Data InAppPurchaseLocalizationUpdateData `json:"data"`
}

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"`
}

In-app purchase offer codes.

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"`
}

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"`
}

Offer code custom codes and one-time use codes.

type InAppPurchaseOfferCodeCustomCodeCreateAttributes

type InAppPurchaseOfferCodeCustomCodeCreateAttributes struct {
	CustomCode     string  `json:"customCode"`
	NumberOfCodes  int     `json:"numberOfCodes"`
	ExpirationDate *string `json:"expirationDate,omitempty"`
}

InAppPurchaseOfferCodeCustomCodeCreateAttributes describes attributes for creating custom codes.

type InAppPurchaseOfferCodeCustomCodeCreateData

type InAppPurchaseOfferCodeCustomCodeCreateData struct {
	Type          ResourceType                                        `json:"type"`
	Attributes    InAppPurchaseOfferCodeCustomCodeCreateAttributes    `json:"attributes"`
	Relationships InAppPurchaseOfferCodeCustomCodeCreateRelationships `json:"relationships"`
}

InAppPurchaseOfferCodeCustomCodeCreateData is the data portion of a create request.

type InAppPurchaseOfferCodeCustomCodeCreateRelationships

type InAppPurchaseOfferCodeCustomCodeCreateRelationships struct {
	OfferCode Relationship `json:"offerCode"`
}

InAppPurchaseOfferCodeCustomCodeCreateRelationships describes relationships for creating custom codes.

type InAppPurchaseOfferCodeCustomCodeCreateRequest

type InAppPurchaseOfferCodeCustomCodeCreateRequest struct {
	Data InAppPurchaseOfferCodeCustomCodeCreateData `json:"data"`
}

InAppPurchaseOfferCodeCustomCodeCreateRequest is a request to create custom codes.

type InAppPurchaseOfferCodeCustomCodeResponse

type InAppPurchaseOfferCodeCustomCodeResponse = SingleResponse[InAppPurchaseOfferCodeCustomCodeAttributes]

type InAppPurchaseOfferCodeCustomCodeUpdateAttributes

type InAppPurchaseOfferCodeCustomCodeUpdateAttributes struct {
	Active *bool `json:"active,omitempty"`
}

InAppPurchaseOfferCodeCustomCodeUpdateAttributes describes attributes for updating custom codes.

type InAppPurchaseOfferCodeCustomCodeUpdateData

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

InAppPurchaseOfferCodeCustomCodeUpdateData is the data portion of an update request.

type InAppPurchaseOfferCodeCustomCodeUpdateRequest

type InAppPurchaseOfferCodeCustomCodeUpdateRequest struct {
	Data InAppPurchaseOfferCodeCustomCodeUpdateData `json:"data"`
}

InAppPurchaseOfferCodeCustomCodeUpdateRequest is a request to update custom codes.

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"`
}

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 portion of a create request.

type InAppPurchaseOfferCodeOneTimeUseCodeCreateRelationships

type InAppPurchaseOfferCodeOneTimeUseCodeCreateRelationships struct {
	OfferCode Relationship `json:"offerCode"`
}

InAppPurchaseOfferCodeOneTimeUseCodeCreateRelationships describes relationships for creating one-time use codes.

type InAppPurchaseOfferCodeOneTimeUseCodeCreateRequest

type InAppPurchaseOfferCodeOneTimeUseCodeCreateRequest struct {
	Data InAppPurchaseOfferCodeOneTimeUseCodeCreateData `json:"data"`
}

InAppPurchaseOfferCodeOneTimeUseCodeCreateRequest is a request to generate one-time use codes.

type InAppPurchaseOfferCodeOneTimeUseCodeResponse

type InAppPurchaseOfferCodeOneTimeUseCodeResponse = SingleResponse[InAppPurchaseOfferCodeOneTimeUseCodeAttributes]

type InAppPurchaseOfferCodeOneTimeUseCodeUpdateAttributes

type InAppPurchaseOfferCodeOneTimeUseCodeUpdateAttributes struct {
	Active *bool `json:"active,omitempty"`
}

InAppPurchaseOfferCodeOneTimeUseCodeUpdateAttributes describes attributes for updating one-time use codes.

type InAppPurchaseOfferCodeOneTimeUseCodeUpdateData

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

InAppPurchaseOfferCodeOneTimeUseCodeUpdateData is the data portion of an update request.

type InAppPurchaseOfferCodeOneTimeUseCodeUpdateRequest

type InAppPurchaseOfferCodeOneTimeUseCodeUpdateRequest struct {
	Data InAppPurchaseOfferCodeOneTimeUseCodeUpdateData `json:"data"`
}

InAppPurchaseOfferCodeOneTimeUseCodeUpdateRequest is a request to update one-time use codes.

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"`
}

type InAppPurchaseOfferCodeUpdateData

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

type InAppPurchaseOfferCodeUpdateRequest

type InAppPurchaseOfferCodeUpdateRequest struct {
	Data InAppPurchaseOfferCodeUpdateData `json:"data"`
}

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"`
}

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 InAppPurchasePriceScheduleBaseTerritoryLinkageResponse

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

InAppPurchasePriceScheduleBaseTerritoryLinkageResponse is the response for base territory relationship endpoints.

type InAppPurchasePriceScheduleCreateAttributes

type InAppPurchasePriceScheduleCreateAttributes struct {
	BaseTerritoryID string
	Prices          []InAppPurchasePriceSchedulePrice
}

type InAppPurchasePriceScheduleCreateData

type InAppPurchasePriceScheduleCreateData struct {
	Type          ResourceType                                  `json:"type"`
	Relationships InAppPurchasePriceScheduleCreateRelationships `json:"relationships"`
}

type InAppPurchasePriceScheduleCreateRelationships

type InAppPurchasePriceScheduleCreateRelationships struct {
	InAppPurchase Relationship     `json:"inAppPurchase"`
	BaseTerritory Relationship     `json:"baseTerritory"`
	ManualPrices  RelationshipList `json:"manualPrices"`
}

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]

type InAppPurchasePricesResponse

type InAppPurchasePricesResponse = Response[InAppPurchasePriceAttributes]

type InAppPurchasePromotedPurchaseLinkageResponse

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

InAppPurchasePromotedPurchaseLinkageResponse is the response for promoted purchase relationship endpoints.

type InAppPurchaseResponse

type InAppPurchaseResponse = SingleResponse[InAppPurchaseAttributes]

InAppPurchaseResponse is the response from legacy in-app purchase detail endpoints.

type InAppPurchaseSubmissionAttributes

type InAppPurchaseSubmissionAttributes struct{}

type InAppPurchaseSubmissionCreateData

type InAppPurchaseSubmissionCreateData struct {
	Type          ResourceType                         `json:"type"`
	Relationships InAppPurchaseSubmissionRelationships `json:"relationships"`
}

type InAppPurchaseSubmissionCreateRequest

type InAppPurchaseSubmissionCreateRequest struct {
	Data InAppPurchaseSubmissionCreateData `json:"data"`
}

type InAppPurchaseSubmissionRelationships

type InAppPurchaseSubmissionRelationships struct {
	InAppPurchaseV2 Relationship `json:"inAppPurchaseV2"`
}

type InAppPurchaseSubmissionResponse

type InAppPurchaseSubmissionResponse = SingleResponse[InAppPurchaseSubmissionAttributes]

In-app purchase submissions.

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"`
}

InAppPurchaseV2Attributes represents an in-app purchase resource.

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 portion of an IAP create request.

type InAppPurchaseV2CreateRequest

type InAppPurchaseV2CreateRequest struct {
	Data InAppPurchaseV2CreateData `json:"data"`
}

InAppPurchaseV2CreateRequest is a request to create an IAP.

type InAppPurchaseV2Relationships

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

InAppPurchaseV2Relationships describes relationships for IAPs.

type InAppPurchaseV2Response

type InAppPurchaseV2Response = SingleResponse[InAppPurchaseV2Attributes]

InAppPurchaseV2Response is the response from in-app purchase detail endpoints.

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 portion of an IAP update request.

type InAppPurchaseV2UpdateRequest

type InAppPurchaseV2UpdateRequest struct {
	Data InAppPurchaseV2UpdateData `json:"data"`
}

InAppPurchaseV2UpdateRequest is a request to update an IAP.

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 IntegerRange

type IntegerRange struct {
	Minimum *int `json:"minimum,omitempty"`
	Maximum *int `json:"maximum,omitempty"`
}

IntegerRange represents an inclusive integer range.

func NewIntegerRange

func NewIntegerRange(minimum, maximum int) IntegerRange

NewIntegerRange builds an IntegerRange with both bounds set.

type LinkagesOption

type LinkagesOption func(*linkagesQuery)

LinkagesOption is a functional option for linkages endpoints.

func WithLinkagesLimit

func WithLinkagesLimit(limit int) LinkagesOption

WithLinkagesLimit sets the max number of linkages to return.

func WithLinkagesNextURL

func WithLinkagesNextURL(next string) LinkagesOption

WithLinkagesNextURL uses a next page URL directly.

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 LocalizationUploadLocaleResult

type LocalizationUploadLocaleResult struct {
	Locale         string `json:"locale"`
	Action         string `json:"action"`
	LocalizationID string `json:"localizationId,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"`
	Results   []LocalizationUploadLocaleResult `json:"results"`
}

LocalizationUploadResult represents CLI output for localization uploads.

type MarketplaceSearchDetailAttributes

type MarketplaceSearchDetailAttributes struct {
	CatalogURL string `json:"catalogUrl,omitempty"`
}

MarketplaceSearchDetailAttributes describes marketplace search detail attributes.

type MarketplaceSearchDetailCreateAttributes

type MarketplaceSearchDetailCreateAttributes struct {
	CatalogURL string `json:"catalogUrl"`
}

MarketplaceSearchDetailCreateAttributes describes attributes for creating search details.

type MarketplaceSearchDetailCreateData

type MarketplaceSearchDetailCreateData struct {
	Type          ResourceType                                `json:"type"`
	Attributes    MarketplaceSearchDetailCreateAttributes     `json:"attributes"`
	Relationships *MarketplaceSearchDetailCreateRelationships `json:"relationships"`
}

MarketplaceSearchDetailCreateData is the data payload for create requests.

type MarketplaceSearchDetailCreateRelationships

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

MarketplaceSearchDetailCreateRelationships describes relationships for create requests.

type MarketplaceSearchDetailCreateRequest

type MarketplaceSearchDetailCreateRequest struct {
	Data MarketplaceSearchDetailCreateData `json:"data"`
}

MarketplaceSearchDetailCreateRequest is a request to create search details.

type MarketplaceSearchDetailDeleteResult

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

MarketplaceSearchDetailDeleteResult represents CLI output for search detail deletions.

type MarketplaceSearchDetailResponse

type MarketplaceSearchDetailResponse = SingleResponse[MarketplaceSearchDetailAttributes]

MarketplaceSearchDetailResponse is the response for marketplace search detail endpoints.

type MarketplaceSearchDetailUpdateAttributes

type MarketplaceSearchDetailUpdateAttributes struct {
	CatalogURL *string `json:"catalogUrl,omitempty"`
}

MarketplaceSearchDetailUpdateAttributes describes fields for updating search details.

type MarketplaceSearchDetailUpdateData

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

MarketplaceSearchDetailUpdateData is the data payload for update requests.

type MarketplaceSearchDetailUpdateRequest

type MarketplaceSearchDetailUpdateRequest struct {
	Data MarketplaceSearchDetailUpdateData `json:"data"`
}

MarketplaceSearchDetailUpdateRequest is a request to update search details.

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 describes marketplace webhook attributes.

type MarketplaceWebhookCreateAttributes

type MarketplaceWebhookCreateAttributes struct {
	EndpointURL string `json:"endpointUrl"`
	Secret      string `json:"secret"`
}

MarketplaceWebhookCreateAttributes describes attributes for creating a webhook.

type MarketplaceWebhookCreateData

type MarketplaceWebhookCreateData struct {
	Type       ResourceType                       `json:"type"`
	Attributes MarketplaceWebhookCreateAttributes `json:"attributes"`
}

MarketplaceWebhookCreateData is the data payload for create requests.

type MarketplaceWebhookCreateRequest

type MarketplaceWebhookCreateRequest struct {
	Data MarketplaceWebhookCreateData `json:"data"`
}

MarketplaceWebhookCreateRequest is a request to create a webhook.

type MarketplaceWebhookDeleteResult

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

MarketplaceWebhookDeleteResult represents CLI output for webhook deletions.

type MarketplaceWebhookResponse

type MarketplaceWebhookResponse = SingleResponse[MarketplaceWebhookAttributes]

MarketplaceWebhookResponse is the response from marketplace webhook detail endpoint.

type MarketplaceWebhookUpdateAttributes

type MarketplaceWebhookUpdateAttributes struct {
	EndpointURL *string `json:"endpointUrl,omitempty"`
	Secret      *string `json:"secret,omitempty"`
}

MarketplaceWebhookUpdateAttributes describes fields for updating a webhook.

type MarketplaceWebhookUpdateData

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

MarketplaceWebhookUpdateData is the data payload for update requests.

type MarketplaceWebhookUpdateRequest

type MarketplaceWebhookUpdateRequest struct {
	Data MarketplaceWebhookUpdateData `json:"data"`
}

MarketplaceWebhookUpdateRequest is a request to update a webhook.

type MarketplaceWebhooksOption

type MarketplaceWebhooksOption func(*marketplaceWebhooksQuery)

MarketplaceWebhooksOption is a functional option for marketplace webhooks.

func WithMarketplaceWebhooksFields

func WithMarketplaceWebhooksFields(fields []string) MarketplaceWebhooksOption

WithMarketplaceWebhooksFields sets fields[marketplaceWebhooks] for webhook responses.

func WithMarketplaceWebhooksLimit

func WithMarketplaceWebhooksLimit(limit int) MarketplaceWebhooksOption

WithMarketplaceWebhooksLimit sets the max number of marketplace webhooks to return.

func WithMarketplaceWebhooksNextURL

func WithMarketplaceWebhooksNextURL(next string) MarketplaceWebhooksOption

WithMarketplaceWebhooksNextURL uses a next page URL directly.

type MarketplaceWebhooksResponse

type MarketplaceWebhooksResponse = Response[MarketplaceWebhookAttributes]

MarketplaceWebhooksResponse is the response from marketplace webhooks list endpoint.

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 WithMerchantIDCertificatesLimit

func WithMerchantIDCertificatesLimit(limit int) MerchantIDCertificatesOption

WithMerchantIDCertificatesLimit sets the max number of certificates to return.

func WithMerchantIDCertificatesNextURL

func WithMerchantIDCertificatesNextURL(next string) MerchantIDCertificatesOption

WithMerchantIDCertificatesNextURL uses a next page URL directly.

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 describes attributes for creating a merchant ID.

type MerchantIDCreateData

type MerchantIDCreateData struct {
	Type       ResourceType               `json:"type"`
	Attributes MerchantIDCreateAttributes `json:"attributes"`
}

MerchantIDCreateData is the data portion of a merchant ID create request.

type MerchantIDCreateRequest

type MerchantIDCreateRequest struct {
	Data MerchantIDCreateData `json:"data"`
}

MerchantIDCreateRequest is a request to create a merchant ID.

type MerchantIDDeleteResult

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

MerchantIDDeleteResult represents CLI output for merchant ID deletions.

type MerchantIDResponse

type MerchantIDResponse = SingleResponse[MerchantIDAttributes]

MerchantIDResponse is the response from merchant ID detail endpoint.

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 portion of a merchant ID update request.

type MerchantIDUpdateRequest

type MerchantIDUpdateRequest struct {
	Data MerchantIDUpdateData `json:"data"`
}

MerchantIDUpdateRequest is a request to update a merchant ID.

type MerchantIDsOption

type MerchantIDsOption func(*merchantIDsQuery)

MerchantIDsOption is a functional option for GetMerchantIDs.

func WithMerchantIDsCertificateFields

func WithMerchantIDsCertificateFields(fields []string) MerchantIDsOption

WithMerchantIDsCertificateFields sets fields[certificates] for included certificates.

func WithMerchantIDsCertificatesLimit

func WithMerchantIDsCertificatesLimit(limit int) MerchantIDsOption

WithMerchantIDsCertificatesLimit sets limit[certificates] for included certificates.

func WithMerchantIDsFields

func WithMerchantIDsFields(fields []string) MerchantIDsOption

WithMerchantIDsFields sets fields[merchantIds] for merchant ID responses.

func WithMerchantIDsFilterIdentifier

func WithMerchantIDsFilterIdentifier(identifier string) MerchantIDsOption

WithMerchantIDsFilterIdentifier filters merchant IDs by identifier (supports CSV).

func WithMerchantIDsFilterName

func WithMerchantIDsFilterName(name string) MerchantIDsOption

WithMerchantIDsFilterName filters merchant IDs by name (supports CSV).

func WithMerchantIDsInclude

func WithMerchantIDsInclude(include []string) MerchantIDsOption

WithMerchantIDsInclude sets include for merchant ID responses.

func WithMerchantIDsLimit

func WithMerchantIDsLimit(limit int) MerchantIDsOption

WithMerchantIDsLimit sets the max number of merchant IDs to return.

func WithMerchantIDsNextURL

func WithMerchantIDsNextURL(next string) MerchantIDsOption

WithMerchantIDsNextURL uses a next page URL directly.

func WithMerchantIDsSort

func WithMerchantIDsSort(sort string) MerchantIDsOption

WithMerchantIDsSort sets the sort order for merchant IDs.

type MerchantIDsResponse

type MerchantIDsResponse = Response[MerchantIDAttributes]

MerchantIDsResponse is the response from merchant IDs list endpoint.

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 portion of a nomination create request.

type NominationCreateRequest

type NominationCreateRequest struct {
	Data NominationCreateData `json:"data"`
}

NominationCreateRequest is a request to create a nomination.

type NominationDeleteResult

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

NominationDeleteResult represents CLI output for deletions.

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 response from nominations detail endpoints.

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 portion of a nomination update request.

type NominationUpdateRequest

type NominationUpdateRequest struct {
	Data NominationUpdateData `json:"data"`
}

NominationUpdateRequest is a request to update a nomination.

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 WithNominationsLimit

func WithNominationsLimit(limit int) NominationsOption

WithNominationsLimit sets the max number of nominations to return.

func WithNominationsNextURL

func WithNominationsNextURL(next string) NominationsOption

WithNominationsNextURL uses a next page URL directly.

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 response from nominations list endpoints.

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 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 WithPassTypeIDCertificatesInclude

func WithPassTypeIDCertificatesInclude(include []string) PassTypeIDCertificatesOption

WithPassTypeIDCertificatesInclude sets include for certificate responses.

func WithPassTypeIDCertificatesLimit

func WithPassTypeIDCertificatesLimit(limit int) PassTypeIDCertificatesOption

WithPassTypeIDCertificatesLimit sets the max number of certificates to return.

func WithPassTypeIDCertificatesNextURL

func WithPassTypeIDCertificatesNextURL(next string) PassTypeIDCertificatesOption

WithPassTypeIDCertificatesNextURL uses a next page URL directly.

func WithPassTypeIDCertificatesPassTypeIDFields

func WithPassTypeIDCertificatesPassTypeIDFields(fields []string) PassTypeIDCertificatesOption

WithPassTypeIDCertificatesPassTypeIDFields sets fields[passTypeIds] for included pass type IDs.

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 describes attributes for creating a pass type ID.

type PassTypeIDCreateData

type PassTypeIDCreateData struct {
	Type       ResourceType               `json:"type"`
	Attributes PassTypeIDCreateAttributes `json:"attributes"`
}

PassTypeIDCreateData is the data portion of a pass type ID create request.

type PassTypeIDCreateRequest

type PassTypeIDCreateRequest struct {
	Data PassTypeIDCreateData `json:"data"`
}

PassTypeIDCreateRequest is a request to create a pass type ID.

type PassTypeIDDeleteResult

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

PassTypeIDDeleteResult represents CLI output for pass type ID deletions.

type PassTypeIDOption

type PassTypeIDOption func(*passTypeIDQuery)

PassTypeIDOption is a functional option for GetPassTypeID.

func WithPassTypeIDCertificateFields

func WithPassTypeIDCertificateFields(fields []string) PassTypeIDOption

WithPassTypeIDCertificateFields sets fields[certificates] for included certificates.

func WithPassTypeIDCertificatesIncludeLimit

func WithPassTypeIDCertificatesIncludeLimit(limit int) PassTypeIDOption

WithPassTypeIDCertificatesIncludeLimit sets limit[certificates] for included certificates.

func WithPassTypeIDFields

func WithPassTypeIDFields(fields []string) PassTypeIDOption

WithPassTypeIDFields sets fields[passTypeIds] for pass type ID responses.

func WithPassTypeIDInclude

func WithPassTypeIDInclude(include []string) PassTypeIDOption

WithPassTypeIDInclude sets include for pass type ID responses.

type PassTypeIDResponse

type PassTypeIDResponse = SingleResponse[PassTypeIDAttributes]

PassTypeIDResponse is the response from pass type ID detail endpoint.

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 portion of a pass type ID update request.

type PassTypeIDUpdateRequest

type PassTypeIDUpdateRequest struct {
	Data PassTypeIDUpdateData `json:"data"`
}

PassTypeIDUpdateRequest is a request to update a pass type ID.

type PassTypeIDsOption

type PassTypeIDsOption func(*passTypeIDsQuery)

PassTypeIDsOption is a functional option for GetPassTypeIDs.

func WithPassTypeIDsCertificateFields

func WithPassTypeIDsCertificateFields(fields []string) PassTypeIDsOption

WithPassTypeIDsCertificateFields sets fields[certificates] for included certificates.

func WithPassTypeIDsCertificatesLimit

func WithPassTypeIDsCertificatesLimit(limit int) PassTypeIDsOption

WithPassTypeIDsCertificatesLimit sets limit[certificates] for included certificates.

func WithPassTypeIDsFields

func WithPassTypeIDsFields(fields []string) PassTypeIDsOption

WithPassTypeIDsFields sets fields[passTypeIds] for pass type ID responses.

func WithPassTypeIDsFilterIDs

func WithPassTypeIDsFilterIDs(ids []string) PassTypeIDsOption

WithPassTypeIDsFilterIDs filters pass type IDs by ID(s).

func WithPassTypeIDsFilterIdentifier

func WithPassTypeIDsFilterIdentifier(identifier string) PassTypeIDsOption

WithPassTypeIDsFilterIdentifier filters pass type IDs by identifier (supports CSV).

func WithPassTypeIDsFilterName

func WithPassTypeIDsFilterName(name string) PassTypeIDsOption

WithPassTypeIDsFilterName filters pass type IDs by name (supports CSV).

func WithPassTypeIDsInclude

func WithPassTypeIDsInclude(include []string) PassTypeIDsOption

WithPassTypeIDsInclude sets include for pass type ID responses.

func WithPassTypeIDsLimit

func WithPassTypeIDsLimit(limit int) PassTypeIDsOption

WithPassTypeIDsLimit sets the max number of pass type IDs to return.

func WithPassTypeIDsNextURL

func WithPassTypeIDsNextURL(next string) PassTypeIDsOption

WithPassTypeIDsNextURL uses a next page URL directly.

func WithPassTypeIDsSort

func WithPassTypeIDsSort(sort string) PassTypeIDsOption

WithPassTypeIDsSort sets the sort order for pass type IDs.

type PassTypeIDsResponse

type PassTypeIDsResponse = Response[PassTypeIDAttributes]

PassTypeIDsResponse is the response from pass type IDs list endpoint.

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"
)

type PerfPowerMetricsOption

type PerfPowerMetricsOption func(*perfPowerMetricsQuery)

PerfPowerMetricsOption is a functional option for performance/power metrics.

func WithPerfPowerMetricsDeviceTypes

func WithPerfPowerMetricsDeviceTypes(types []string) PerfPowerMetricsOption

WithPerfPowerMetricsDeviceTypes filters metrics by device type(s).

func WithPerfPowerMetricsMetricTypes

func WithPerfPowerMetricsMetricTypes(types []string) PerfPowerMetricsOption

WithPerfPowerMetricsMetricTypes filters metrics by metric type(s).

func WithPerfPowerMetricsPlatforms

func WithPerfPowerMetricsPlatforms(platforms []string) PerfPowerMetricsOption

WithPerfPowerMetricsPlatforms filters metrics by platform(s).

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 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 PreReleaseVersion

type PreReleaseVersion struct {
	Type       ResourceType                `json:"type"`
	ID         string                      `json:"id"`
	Attributes PreReleaseVersionAttributes `json:"attributes"`
}

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 PreReleaseVersionAttributes

type PreReleaseVersionAttributes struct {
	Version  string   `json:"version,omitempty"`
	Platform Platform `json:"platform,omitempty"`
}

PreReleaseVersionAttributes describes TestFlight pre-release version metadata.

type PreReleaseVersionBuildsOption

type PreReleaseVersionBuildsOption func(*listQuery)

PreReleaseVersionBuildsOption is a functional option for GetPreReleaseVersionBuilds.

func WithPreReleaseVersionBuildsLimit

func WithPreReleaseVersionBuildsLimit(limit int) PreReleaseVersionBuildsOption

WithPreReleaseVersionBuildsLimit sets the max number of builds to return.

func WithPreReleaseVersionBuildsNextURL

func WithPreReleaseVersionBuildsNextURL(next string) PreReleaseVersionBuildsOption

WithPreReleaseVersionBuildsNextURL uses a next page URL directly.

type PreReleaseVersionResponse

type PreReleaseVersionResponse struct {
	Data  PreReleaseVersion `json:"data"`
	Links Links             `json:"links"`
}

PreReleaseVersionResponse is the response from pre-release version detail.

type PreReleaseVersionsOption

type PreReleaseVersionsOption func(*preReleaseVersionsQuery)

PreReleaseVersionsOption is a functional option for GetPreReleaseVersions.

func WithPreReleaseVersionsLimit

func WithPreReleaseVersionsLimit(limit int) PreReleaseVersionsOption

WithPreReleaseVersionsLimit sets the max number of pre-release versions to return.

func WithPreReleaseVersionsNextURL

func WithPreReleaseVersionsNextURL(next string) PreReleaseVersionsOption

WithPreReleaseVersionsNextURL uses a next page URL directly.

func WithPreReleaseVersionsPlatform

func WithPreReleaseVersionsPlatform(platform string) PreReleaseVersionsOption

WithPreReleaseVersionsPlatform filters pre-release versions by platform.

func WithPreReleaseVersionsVersion

func WithPreReleaseVersionsVersion(version string) PreReleaseVersionsOption

WithPreReleaseVersionsVersion filters pre-release versions by version string.

type PreReleaseVersionsResponse

type PreReleaseVersionsResponse struct {
	Data  []PreReleaseVersion `json:"data"`
	Links Links               `json:"links"`
}

PreReleaseVersionsResponse is the response from pre-release versions endpoints.

func (*PreReleaseVersionsResponse) GetData

func (r *PreReleaseVersionsResponse) GetData() any

GetData returns the data field for aggregation.

func (r *PreReleaseVersionsResponse) GetLinks() *Links

GetLinks returns the links field for pagination.

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 WithPricePointsLimit

func WithPricePointsLimit(limit int) PricePointsOption

WithPricePointsLimit sets the max number of price points to return.

func WithPricePointsNextURL

func WithPricePointsNextURL(next string) PricePointsOption

WithPricePointsNextURL uses a next page URL directly.

func WithPricePointsTerritory

func WithPricePointsTerritory(territory string) PricePointsOption

WithPricePointsTerritory filters app price points by territory.

type ProfileAttributes

type ProfileAttributes struct {
	Name           string       `json:"name"`
	Platform       Platform     `json:"platform,omitempty"`
	ProfileType    string       `json:"profileType"`
	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"`
}

ProfileAttributes describes a profile resource.

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 is a functional option for GetProfileCertificates.

func WithProfileCertificatesLimit

func WithProfileCertificatesLimit(limit int) ProfileCertificatesOption

WithProfileCertificatesLimit sets the max number of profile certificates to return.

func WithProfileCertificatesNextURL

func WithProfileCertificatesNextURL(next string) ProfileCertificatesOption

WithProfileCertificatesNextURL uses a next page URL directly.

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 portion of a profile create request.

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 a request to create a profile.

type ProfileDeleteResult

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

ProfileDeleteResult represents CLI output for profile deletions.

type ProfileDevicesLinkagesResponse

type ProfileDevicesLinkagesResponse = LinkagesResponse

ProfileDevicesLinkagesResponse is the response from profile devices linkage endpoint.

type ProfileDevicesOption

type ProfileDevicesOption func(*profileDevicesQuery)

ProfileDevicesOption is a functional option for GetProfileDevices.

func WithProfileDevicesLimit

func WithProfileDevicesLimit(limit int) ProfileDevicesOption

WithProfileDevicesLimit sets the max number of profile devices to return.

func WithProfileDevicesNextURL

func WithProfileDevicesNextURL(next string) ProfileDevicesOption

WithProfileDevicesNextURL uses a next page URL directly.

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 response from profile detail endpoint.

type ProfileState

type ProfileState string

ProfileState represents profile state values.

const (
	ProfileStateActive ProfileState = "ACTIVE"
)

type ProfilesOption

type ProfilesOption func(*profilesQuery)

ProfilesOption is a functional option for GetProfiles.

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 WithProfilesLimit

func WithProfilesLimit(limit int) ProfilesOption

WithProfilesLimit sets the max number of profiles to return.

func WithProfilesNextURL

func WithProfilesNextURL(next string) ProfilesOption

WithProfilesNextURL uses a next page URL directly.

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.

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 describes attributes for creating a promoted purchase.

type PromotedPurchaseCreateData

type PromotedPurchaseCreateData struct {
	Type          ResourceType                        `json:"type"`
	Attributes    PromotedPurchaseCreateAttributes    `json:"attributes"`
	Relationships PromotedPurchaseCreateRelationships `json:"relationships"`
}

PromotedPurchaseCreateData is the data portion of a promoted purchase create request.

type PromotedPurchaseCreateRelationships

type PromotedPurchaseCreateRelationships struct {
	App             Relationship  `json:"app"`
	InAppPurchaseV2 *Relationship `json:"inAppPurchaseV2,omitempty"`
	Subscription    *Relationship `json:"subscription,omitempty"`
}

PromotedPurchaseCreateRelationships describes relationships for creating a promoted purchase.

type PromotedPurchaseCreateRequest

type PromotedPurchaseCreateRequest struct {
	Data PromotedPurchaseCreateData `json:"data"`
}

PromotedPurchaseCreateRequest is a request to create a promoted purchase.

type PromotedPurchaseDeleteResult

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

PromotedPurchaseDeleteResult represents CLI output for promoted purchase deletions.

type PromotedPurchaseResponse

type PromotedPurchaseResponse = SingleResponse[PromotedPurchaseAttributes]

PromotedPurchaseResponse is the response from promoted purchase detail endpoints.

type PromotedPurchaseUpdateAttributes

type PromotedPurchaseUpdateAttributes struct {
	VisibleForAllUsers *bool `json:"visibleForAllUsers,omitempty"`
	Enabled            *bool `json:"enabled,omitempty"`
}

PromotedPurchaseUpdateAttributes describes attributes for updating a promoted purchase.

type PromotedPurchaseUpdateData

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

PromotedPurchaseUpdateData is the data portion of a promoted purchase update request.

type PromotedPurchaseUpdateRequest

type PromotedPurchaseUpdateRequest struct {
	Data PromotedPurchaseUpdateData `json:"data"`
}

PromotedPurchaseUpdateRequest is a request to update a promoted purchase.

type PromotedPurchasesOption

type PromotedPurchasesOption func(*promotedPurchasesQuery)

PromotedPurchasesOption is a functional option for promoted purchases endpoints.

func WithPromotedPurchasesLimit

func WithPromotedPurchasesLimit(limit int) PromotedPurchasesOption

WithPromotedPurchasesLimit sets the max number of promoted purchases to return.

func WithPromotedPurchasesNextURL

func WithPromotedPurchasesNextURL(next string) PromotedPurchasesOption

WithPromotedPurchasesNextURL uses a next page URL directly.

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"`
	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"
	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 Relationship

type Relationship = types.Relationship

Core types — aliases to types package.

type RelationshipData

type RelationshipData = types.RelationshipData

Core types — aliases to types package.

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 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.

type Response

type Response[T any] = types.Response[T]

Generic resource types — aliases to types package.

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.

func ResolveRetryOptions

func ResolveRetryOptions() RetryOptions

ResolveRetryOptions returns retry options, optionally overridden by config/env.

type RetryableError

type RetryableError struct {
	Err        error
	RetryAfter time.Duration
}

RetryableError is returned when a request can be retried (e.g., rate limiting).

func (*RetryableError) Error

func (e *RetryableError) Error() string

func (*RetryableError) Unwrap

func (e *RetryableError) Unwrap() error

type ReviewAttributes

type ReviewAttributes 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"`
}

ReviewAttributes describes App Store customer reviews.

type ReviewOption

type ReviewOption func(*reviewQuery)

ReviewOption is a functional option for GetReviews.

func WithLimit

func WithLimit(limit int) ReviewOption

WithLimit sets the max number of reviews to return.

func WithNextURL

func WithNextURL(next string) ReviewOption

WithNextURL uses a next page URL directly.

func WithRating

func WithRating(rating int) ReviewOption

WithRating filters reviews by star rating (1-5).

func WithReviewSort

func WithReviewSort(sort string) ReviewOption

WithReviewSort sets the sort order for reviews.

func WithTerritory

func WithTerritory(territory string) ReviewOption

WithTerritory filters reviews by territory code (e.g. US, GBR).

type ReviewSubmissionAttributes

type ReviewSubmissionAttributes struct {
	Platform        Platform              `json:"platform,omitempty"`
	SubmissionState ReviewSubmissionState `json:"state,omitempty"`
	SubmittedDate   string                `json:"submittedDate,omitempty"`
}

ReviewSubmissionAttributes describes review submission attributes.

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 ReviewSubmissionCreateRelationships

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

ReviewSubmissionCreateRelationships describes relationships for create requests.

type ReviewSubmissionCreateRequest

type ReviewSubmissionCreateRequest struct {
	Data ReviewSubmissionCreateData `json:"data"`
}

ReviewSubmissionCreateRequest is a request to create a review submission.

type ReviewSubmissionItemAttributes

type ReviewSubmissionItemAttributes struct {
	State string `json:"state,omitempty"`
}

ReviewSubmissionItemAttributes describes review submission item attributes.

type ReviewSubmissionItemCreateData

type ReviewSubmissionItemCreateData struct {
	Type          ResourceType                            `json:"type"`
	Relationships ReviewSubmissionItemCreateRelationships `json:"relationships"`
}

ReviewSubmissionItemCreateData is the data portion of a review submission item create request.

type ReviewSubmissionItemCreateRelationships

type ReviewSubmissionItemCreateRelationships struct {
	ReviewSubmission                   *Relationship `json:"reviewSubmission"`
	AppStoreVersion                    *Relationship `json:"appStoreVersion,omitempty"`
	AppCustomProductPageVersion        *Relationship `json:"appCustomProductPageVersion,omitempty"`
	AppEvent                           *Relationship `json:"appEvent,omitempty"`
	AppStoreVersionExperiment          *Relationship `json:"appStoreVersionExperiment,omitempty"`
	AppStoreVersionExperimentTreatment *Relationship `json:"appStoreVersionExperimentTreatment,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"`
}

ReviewSubmissionItemCreateRelationships describes relationships for create requests.

type ReviewSubmissionItemCreateRequest

type ReviewSubmissionItemCreateRequest struct {
	Data ReviewSubmissionItemCreateData `json:"data"`
}

ReviewSubmissionItemCreateRequest is a request to create a review submission item.

type ReviewSubmissionItemDeleteResult

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

ReviewSubmissionItemDeleteResult represents CLI output for review submission item deletions.

type ReviewSubmissionItemRelationships

type ReviewSubmissionItemRelationships struct {
	ReviewSubmission                   *Relationship `json:"reviewSubmission,omitempty"`
	AppStoreVersion                    *Relationship `json:"appStoreVersion,omitempty"`
	AppCustomProductPageVersion        *Relationship `json:"appCustomProductPageVersion,omitempty"`
	AppCustomProductPage               *Relationship `json:"appCustomProductPage,omitempty"`
	AppEvent                           *Relationship `json:"appEvent,omitempty"`
	AppStoreVersionExperiment          *Relationship `json:"appStoreVersionExperiment,omitempty"`
	AppStoreVersionExperimentV2        *Relationship `json:"appStoreVersionExperimentV2,omitempty"`
	AppStoreVersionExperimentTreatment *Relationship `json:"appStoreVersionExperimentTreatment,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"`
}

ReviewSubmissionItemRelationships describes review submission item relationships.

type ReviewSubmissionItemResource

type ReviewSubmissionItemResource struct {
	Type          ResourceType                       `json:"type"`
	ID            string                             `json:"id"`
	Attributes    ReviewSubmissionItemAttributes     `json:"attributes"`
	Relationships *ReviewSubmissionItemRelationships `json:"relationships,omitempty"`
}

ReviewSubmissionItemResource represents a review submission item resource.

type ReviewSubmissionItemResponse

type ReviewSubmissionItemResponse struct {
	Data  ReviewSubmissionItemResource `json:"data"`
	Links Links                        `json:"links"`
}

ReviewSubmissionItemResponse is the response from review submission item detail endpoints.

type ReviewSubmissionItemType

type ReviewSubmissionItemType string

ReviewSubmissionItemType describes supported review submission item types.

const (
	ReviewSubmissionItemTypeAppStoreVersion                    ReviewSubmissionItemType = "appStoreVersions"
	ReviewSubmissionItemTypeAppCustomProductPageVersion        ReviewSubmissionItemType = "appCustomProductPageVersions"
	ReviewSubmissionItemTypeAppCustomProductPage               ReviewSubmissionItemType = "appCustomProductPages"
	ReviewSubmissionItemTypeAppEvent                           ReviewSubmissionItemType = "appEvents"
	ReviewSubmissionItemTypeAppStoreVersionExperiment          ReviewSubmissionItemType = "appStoreVersionExperiments"
	ReviewSubmissionItemTypeAppStoreVersionExperimentTreatment ReviewSubmissionItemType = "appStoreVersionExperimentTreatments"
	ReviewSubmissionItemTypeBackgroundAssetVersion             ReviewSubmissionItemType = "backgroundAssetVersions"
	ReviewSubmissionItemTypeGameCenterAchievementVersion       ReviewSubmissionItemType = "gameCenterAchievementVersions"
	ReviewSubmissionItemTypeGameCenterActivityVersion          ReviewSubmissionItemType = "gameCenterActivityVersions"
	ReviewSubmissionItemTypeGameCenterChallengeVersion         ReviewSubmissionItemType = "gameCenterChallengeVersions"
	ReviewSubmissionItemTypeGameCenterLeaderboardSetVersion    ReviewSubmissionItemType = "gameCenterLeaderboardSetVersions"
	ReviewSubmissionItemTypeGameCenterLeaderboardVersion       ReviewSubmissionItemType = "gameCenterLeaderboardVersions"
)

func ParseReviewSubmissionItemType

func ParseReviewSubmissionItemType(value string) (ReviewSubmissionItemType, bool)

ParseReviewSubmissionItemType returns the canonical item type for a CLI value.

type ReviewSubmissionItemUpdateAttributes

type ReviewSubmissionItemUpdateAttributes struct {
	State    *string `json:"state,omitempty"`
	Resolved *bool   `json:"resolved,omitempty"`
	Removed  *bool   `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 a request to update a review submission item.

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 WithReviewSubmissionItemsInclude

func WithReviewSubmissionItemsInclude(include []string) ReviewSubmissionItemsOption

WithReviewSubmissionItemsInclude sets include for item responses.

func WithReviewSubmissionItemsLimit

func WithReviewSubmissionItemsLimit(limit int) ReviewSubmissionItemsOption

WithReviewSubmissionItemsLimit sets the max number of review submission items to return.

func WithReviewSubmissionItemsNextURL

func WithReviewSubmissionItemsNextURL(next string) ReviewSubmissionItemsOption

WithReviewSubmissionItemsNextURL uses a next page URL directly.

type ReviewSubmissionItemsResponse

type ReviewSubmissionItemsResponse struct {
	Data  []ReviewSubmissionItemResource `json:"data"`
	Links Links                          `json:"links"`
}

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 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"`
}

ReviewSubmissionRelationships describes review submission relationships.

type ReviewSubmissionResource

type ReviewSubmissionResource struct {
	Type          ResourceType                   `json:"type"`
	ID            string                         `json:"id"`
	Attributes    ReviewSubmissionAttributes     `json:"attributes"`
	Relationships *ReviewSubmissionRelationships `json:"relationships,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 {
	Submitted *bool `json:"submitted,omitempty"`
	Canceled  *bool `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 a request to update a review submission.

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 WithReviewSubmissionsLimit

func WithReviewSubmissionsLimit(limit int) ReviewSubmissionsOption

WithReviewSubmissionsLimit sets the max number of review submissions to return.

func WithReviewSubmissionsNextURL

func WithReviewSubmissionsNextURL(next string) ReviewSubmissionsOption

WithReviewSubmissionsNextURL uses a next page URL directly.

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"`
}

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[ReviewAttributes]

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 portion of a create request.

type RoutingAppCoverageCreateRequest

type RoutingAppCoverageCreateRequest struct {
	Data RoutingAppCoverageCreateData `json:"data"`
}

RoutingAppCoverageCreateRequest is a request to create routing app coverage.

type RoutingAppCoverageDeleteResult

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

RoutingAppCoverageDeleteResult represents CLI output for deletions.

type RoutingAppCoverageRelationships

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

RoutingAppCoverageRelationships describes routing app coverage relationships.

type RoutingAppCoverageResponse

type RoutingAppCoverageResponse = SingleResponse[RoutingAppCoverageAttributes]

RoutingAppCoverageResponse is the response for routing app coverage endpoints.

type RoutingAppCoverageUpdateAttributes

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

RoutingAppCoverageUpdateAttributes describes update attributes.

type RoutingAppCoverageUpdateData

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

RoutingAppCoverageUpdateData is the data portion of an update request.

type RoutingAppCoverageUpdateRequest

type RoutingAppCoverageUpdateRequest struct {
	Data RoutingAppCoverageUpdateData `json:"data"`
}

RoutingAppCoverageUpdateRequest is a request to update routing app coverage.

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"`
	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"
)

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"
)

type SalesReportVersion

type SalesReportVersion string

SalesReportVersion represents the report format version.

const (
	SalesReportVersion1_0 SalesReportVersion = "1_0"
	SalesReportVersion1_1 SalesReportVersion = "1_1"
	SalesReportVersion1_3 SalesReportVersion = "1_3"
)

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 WithSandboxTestersLimit

func WithSandboxTestersLimit(limit int) SandboxTestersOption

WithSandboxTestersLimit sets the max number of sandbox testers to return.

func WithSandboxTestersNextURL

func WithSandboxTestersNextURL(next string) SandboxTestersOption

WithSandboxTestersNextURL uses a next page URL directly.

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"` // BRANCH or TAG
}

ScmGitReferenceAttributes describes an SCM git reference resource.

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 is a functional option for GetScmGitReferences.

func WithScmGitReferencesLimit

func WithScmGitReferencesLimit(limit int) ScmGitReferencesOption

WithScmGitReferencesLimit sets the max number of git references to return.

func WithScmGitReferencesNextURL

func WithScmGitReferencesNextURL(next string) ScmGitReferencesOption

WithScmGitReferencesNextURL uses a next page URL directly.

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 describes an SCM provider resource.

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 is a functional option for GetScmProviders.

func WithScmProvidersLimit

func WithScmProvidersLimit(limit int) ScmProvidersOption

WithScmProvidersLimit sets the max number of SCM providers to return.

func WithScmProvidersNextURL

func WithScmProvidersNextURL(next string) ScmProvidersOption

WithScmProvidersNextURL uses a next page URL directly.

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 describes an SCM pull request resource.

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 is a functional option for GetScmRepositoryPullRequests.

func WithScmPullRequestsLimit

func WithScmPullRequestsLimit(limit int) ScmPullRequestsOption

WithScmPullRequestsLimit sets the max number of pull requests to return.

func WithScmPullRequestsNextURL

func WithScmPullRequestsNextURL(next string) ScmPullRequestsOption

WithScmPullRequestsNextURL uses a next page URL directly.

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 is a functional option for GetScmRepositories.

func WithScmRepositoriesLimit

func WithScmRepositoriesLimit(limit int) ScmRepositoriesOption

WithScmRepositoriesLimit sets the max number of SCM repositories to return.

func WithScmRepositoriesNextURL

func WithScmRepositoriesNextURL(next string) ScmRepositoriesOption

WithScmRepositoriesNextURL uses a next page URL directly.

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 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 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"`
}

SigningFetchResult represents CLI output for signing fetch.

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.

type StateDetail

type StateDetail struct {
	Code    string `json:"code,omitempty"`
	Message string `json:"message,omitempty"`
}

StateDetail represents details about a state (errors, warnings, infos).

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"`
	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 portion of a create request.

type SubscriptionAppStoreReviewScreenshotCreateRequest

type SubscriptionAppStoreReviewScreenshotCreateRequest struct {
	Data SubscriptionAppStoreReviewScreenshotCreateData `json:"data"`
}

SubscriptionAppStoreReviewScreenshotCreateRequest is a request to create review screenshots.

type SubscriptionAppStoreReviewScreenshotLinkageResponse

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

SubscriptionAppStoreReviewScreenshotLinkageResponse is the response for app store review screenshot relationship endpoints.

type SubscriptionAppStoreReviewScreenshotRelationships

type SubscriptionAppStoreReviewScreenshotRelationships struct {
	Subscription *Relationship `json:"subscription"`
}

SubscriptionAppStoreReviewScreenshotRelationships describes relationships for review screenshots.

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 describes attributes for updating review screenshots.

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 a request to update review screenshots.

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"`
}

SubscriptionAttributes describes a subscription resource.

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 a request to create availability.

type SubscriptionAvailabilityRelationships

type SubscriptionAvailabilityRelationships struct {
	Subscription         *Relationship     `json:"subscription"`
	AvailableTerritories *RelationshipList `json:"availableTerritories"`
}

SubscriptionAvailabilityRelationships describes relationships for availability.

type SubscriptionAvailabilityResponse

type SubscriptionAvailabilityResponse = SingleResponse[SubscriptionAvailabilityAttributes]

SubscriptionAvailabilityResponse is the response from availability endpoints.

type SubscriptionAvailabilityTerritoriesOption

type SubscriptionAvailabilityTerritoriesOption func(*subscriptionAvailabilityTerritoriesQuery)

SubscriptionAvailabilityTerritoriesOption is a functional option for availability territory listings.

func WithSubscriptionAvailabilityTerritoriesLimit

func WithSubscriptionAvailabilityTerritoriesLimit(limit int) SubscriptionAvailabilityTerritoriesOption

WithSubscriptionAvailabilityTerritoriesLimit sets the max number of territories to return.

func WithSubscriptionAvailabilityTerritoriesNextURL

func WithSubscriptionAvailabilityTerritoriesNextURL(next string) SubscriptionAvailabilityTerritoriesOption

WithSubscriptionAvailabilityTerritoriesNextURL uses a next page URL directly.

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 portion of a subscription create request.

type SubscriptionCreateRequest

type SubscriptionCreateRequest struct {
	Data SubscriptionCreateData `json:"data"`
}

SubscriptionCreateRequest is a request to create a subscription.

type SubscriptionCustomerEligibility

type SubscriptionCustomerEligibility string

SubscriptionCustomerEligibility represents eligible customer types for offers.

const (
	SubscriptionCustomerEligibilityNew      SubscriptionCustomerEligibility = "NEW"
	SubscriptionCustomerEligibilityExisting SubscriptionCustomerEligibility = "EXISTING"
	SubscriptionCustomerEligibilityExpired  SubscriptionCustomerEligibility = "EXPIRED"
)

type SubscriptionDeleteResult

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

SubscriptionDeleteResult represents CLI output for subscription deletions.

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 describes a subscription grace period resource.

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 response for subscription grace period endpoints.

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 describes a subscription grace period update payload.

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 a request to update a grace period.

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 describes attributes for creating a group.

type SubscriptionGroupCreateData

type SubscriptionGroupCreateData struct {
	Type          ResourceType                      `json:"type"`
	Attributes    SubscriptionGroupCreateAttributes `json:"attributes"`
	Relationships *SubscriptionGroupRelationships   `json:"relationships,omitempty"`
}

SubscriptionGroupCreateData is the data portion of a group create request.

type SubscriptionGroupCreateRequest

type SubscriptionGroupCreateRequest struct {
	Data SubscriptionGroupCreateData `json:"data"`
}

SubscriptionGroupCreateRequest is a request to create a group.

type SubscriptionGroupDeleteResult

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

SubscriptionGroupDeleteResult represents CLI output for group deletions.

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 describes a subscription group localization.

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 portion of a group localization create request.

type SubscriptionGroupLocalizationCreateRequest

type SubscriptionGroupLocalizationCreateRequest struct {
	Data SubscriptionGroupLocalizationCreateData `json:"data"`
}

SubscriptionGroupLocalizationCreateRequest is a request to create group localizations.

type SubscriptionGroupLocalizationRelationships

type SubscriptionGroupLocalizationRelationships struct {
	SubscriptionGroup *Relationship `json:"subscriptionGroup"`
}

SubscriptionGroupLocalizationRelationships describes group localization relationships.

type SubscriptionGroupLocalizationResponse

type SubscriptionGroupLocalizationResponse = SingleResponse[SubscriptionGroupLocalizationAttributes]

Response types for subscription resources.

type SubscriptionGroupLocalizationUpdateAttributes

type SubscriptionGroupLocalizationUpdateAttributes struct {
	Name          *string `json:"name,omitempty"`
	CustomAppName *string `json:"customAppName,omitempty"`
}

SubscriptionGroupLocalizationUpdateAttributes describes attributes for updating group localizations.

type SubscriptionGroupLocalizationUpdateData

type SubscriptionGroupLocalizationUpdateData struct {
	Type       ResourceType                                  `json:"type"`
	ID         string                                        `json:"id"`
	Attributes SubscriptionGroupLocalizationUpdateAttributes `json:"attributes"`
}

SubscriptionGroupLocalizationUpdateData is the data portion of a group localization update request.

type SubscriptionGroupLocalizationUpdateRequest

type SubscriptionGroupLocalizationUpdateRequest struct {
	Data SubscriptionGroupLocalizationUpdateData `json:"data"`
}

SubscriptionGroupLocalizationUpdateRequest is a request to update group localizations.

type SubscriptionGroupLocalizationsOption

type SubscriptionGroupLocalizationsOption func(*subscriptionGroupLocalizationsQuery)

SubscriptionGroupLocalizationsOption is a functional option for subscription group localization list endpoints.

func WithSubscriptionGroupLocalizationsLimit

func WithSubscriptionGroupLocalizationsLimit(limit int) SubscriptionGroupLocalizationsOption

WithSubscriptionGroupLocalizationsLimit sets the max number of group localizations to return.

func WithSubscriptionGroupLocalizationsNextURL

func WithSubscriptionGroupLocalizationsNextURL(next string) SubscriptionGroupLocalizationsOption

WithSubscriptionGroupLocalizationsNextURL uses a next page URL directly.

type SubscriptionGroupLocalizationsResponse

type SubscriptionGroupLocalizationsResponse = Response[SubscriptionGroupLocalizationAttributes]

Response types for subscription resources.

type SubscriptionGroupRelationships

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

SubscriptionGroupRelationships describes relationships for groups.

type SubscriptionGroupResponse

type SubscriptionGroupResponse = SingleResponse[SubscriptionGroupAttributes]

SubscriptionGroupResponse is the response from subscription group detail endpoints.

type SubscriptionGroupSubmissionAttributes

type SubscriptionGroupSubmissionAttributes struct{}

SubscriptionGroupSubmissionAttributes describes a subscription group submission resource.

type SubscriptionGroupSubmissionCreateData

type SubscriptionGroupSubmissionCreateData struct {
	Type          ResourceType                              `json:"type"`
	Relationships *SubscriptionGroupSubmissionRelationships `json:"relationships"`
}

SubscriptionGroupSubmissionCreateData is the data portion of a group submission create request.

type SubscriptionGroupSubmissionCreateRequest

type SubscriptionGroupSubmissionCreateRequest struct {
	Data SubscriptionGroupSubmissionCreateData `json:"data"`
}

SubscriptionGroupSubmissionCreateRequest is a request to create a group submission.

type SubscriptionGroupSubmissionRelationships

type SubscriptionGroupSubmissionRelationships struct {
	SubscriptionGroup *Relationship `json:"subscriptionGroup"`
}

SubscriptionGroupSubmissionRelationships describes group submission relationships.

type SubscriptionGroupSubmissionResponse

type SubscriptionGroupSubmissionResponse = SingleResponse[SubscriptionGroupSubmissionAttributes]

Response types for subscription resources.

type SubscriptionGroupUpdateAttributes

type SubscriptionGroupUpdateAttributes struct {
	ReferenceName *string `json:"referenceName,omitempty"`
}

SubscriptionGroupUpdateAttributes describes attributes for updating a group.

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 a request to update a group.

type SubscriptionGroupsOption

type SubscriptionGroupsOption func(*subscriptionGroupsQuery)

SubscriptionGroupsOption is a functional option for GetSubscriptionGroups.

func WithSubscriptionGroupsLimit

func WithSubscriptionGroupsLimit(limit int) SubscriptionGroupsOption

WithSubscriptionGroupsLimit sets the max number of groups to return.

func WithSubscriptionGroupsNextURL

func WithSubscriptionGroupsNextURL(next string) SubscriptionGroupsOption

WithSubscriptionGroupsNextURL uses a next page URL directly.

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 SubscriptionImageCreateAttributes

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

SubscriptionImageCreateAttributes describes attributes for creating a subscription image.

type SubscriptionImageCreateData

type SubscriptionImageCreateData struct {
	Type          ResourceType                      `json:"type"`
	Attributes    SubscriptionImageCreateAttributes `json:"attributes"`
	Relationships *SubscriptionImageRelationships   `json:"relationships,omitempty"`
}

SubscriptionImageCreateData is the data portion of a subscription image create request.

type SubscriptionImageCreateRequest

type SubscriptionImageCreateRequest struct {
	Data SubscriptionImageCreateData `json:"data"`
}

SubscriptionImageCreateRequest is a request to create a subscription image.

type SubscriptionImageRelationships

type SubscriptionImageRelationships struct {
	Subscription *Relationship `json:"subscription"`
}

SubscriptionImageRelationships describes relationships for subscription images.

type SubscriptionImageResponse

type SubscriptionImageResponse = SingleResponse[SubscriptionImageAttributes]

Response types for subscription resources.

type SubscriptionImageUpdateAttributes

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

SubscriptionImageUpdateAttributes describes attributes for updating a subscription image.

type SubscriptionImageUpdateData

type SubscriptionImageUpdateData struct {
	Type       ResourceType                      `json:"type"`
	ID         string                            `json:"id"`
	Attributes SubscriptionImageUpdateAttributes `json:"attributes"`
}

SubscriptionImageUpdateData is the data portion of a subscription image update request.

type SubscriptionImageUpdateRequest

type SubscriptionImageUpdateRequest struct {
	Data SubscriptionImageUpdateData `json:"data"`
}

SubscriptionImageUpdateRequest is a request to update a subscription image.

type SubscriptionImagesOption

type SubscriptionImagesOption func(*subscriptionImagesQuery)

SubscriptionImagesOption is a functional option for subscription images list endpoints.

func WithSubscriptionImagesLimit

func WithSubscriptionImagesLimit(limit int) SubscriptionImagesOption

WithSubscriptionImagesLimit sets the max number of images to return.

func WithSubscriptionImagesNextURL

func WithSubscriptionImagesNextURL(next string) SubscriptionImagesOption

WithSubscriptionImagesNextURL uses a next page URL directly.

type SubscriptionImagesResponse

type SubscriptionImagesResponse = Response[SubscriptionImageAttributes]

Response types for subscription resources.

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"`
}

SubscriptionIntroductoryOfferAttributes describes a subscription introductory offer.

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"`
}

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 portion of an introductory offer create request.

type SubscriptionIntroductoryOfferCreateRequest

type SubscriptionIntroductoryOfferCreateRequest struct {
	Data SubscriptionIntroductoryOfferCreateData `json:"data"`
}

SubscriptionIntroductoryOfferCreateRequest is a request to create an introductory offer.

type SubscriptionIntroductoryOfferRelationships

type SubscriptionIntroductoryOfferRelationships struct {
	Subscription           *Relationship `json:"subscription"`
	Territory              *Relationship `json:"territory,omitempty"`
	SubscriptionPricePoint *Relationship `json:"subscriptionPricePoint,omitempty"`
}

SubscriptionIntroductoryOfferRelationships describes relationships for introductory offers.

type SubscriptionIntroductoryOfferResponse

type SubscriptionIntroductoryOfferResponse = SingleResponse[SubscriptionIntroductoryOfferAttributes]

Response types for subscription resources.

type SubscriptionIntroductoryOfferUpdateAttributes

type SubscriptionIntroductoryOfferUpdateAttributes struct {
	EndDate *string `json:"endDate,omitempty"`
}

SubscriptionIntroductoryOfferUpdateAttributes describes attributes for updating an introductory offer.

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 a request to update an introductory offer.

type SubscriptionIntroductoryOffersOption

type SubscriptionIntroductoryOffersOption func(*subscriptionIntroductoryOffersQuery)

SubscriptionIntroductoryOffersOption is a functional option for introductory offers list endpoints.

func WithSubscriptionIntroductoryOffersLimit

func WithSubscriptionIntroductoryOffersLimit(limit int) SubscriptionIntroductoryOffersOption

WithSubscriptionIntroductoryOffersLimit sets the max number of offers to return.

func WithSubscriptionIntroductoryOffersNextURL

func WithSubscriptionIntroductoryOffersNextURL(next string) SubscriptionIntroductoryOffersOption

WithSubscriptionIntroductoryOffersNextURL uses a next page URL directly.

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 describes a subscription localization resource.

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 portion of a localization create request.

type SubscriptionLocalizationCreateRequest

type SubscriptionLocalizationCreateRequest struct {
	Data SubscriptionLocalizationCreateData `json:"data"`
}

SubscriptionLocalizationCreateRequest is a request to create a localization.

type SubscriptionLocalizationRelationships

type SubscriptionLocalizationRelationships struct {
	Subscription *Relationship `json:"subscription"`
}

SubscriptionLocalizationRelationships describes relationships for localizations.

type SubscriptionLocalizationResponse

type SubscriptionLocalizationResponse = SingleResponse[SubscriptionLocalizationAttributes]

Response types for subscription resources.

type SubscriptionLocalizationUpdateAttributes

type SubscriptionLocalizationUpdateAttributes struct {
	Name        *string `json:"name,omitempty"`
	Description *string `json:"description,omitempty"`
}

SubscriptionLocalizationUpdateAttributes describes attributes for updating a localization.

type SubscriptionLocalizationUpdateData

type SubscriptionLocalizationUpdateData struct {
	Type       ResourceType                             `json:"type"`
	ID         string                                   `json:"id"`
	Attributes SubscriptionLocalizationUpdateAttributes `json:"attributes"`
}

SubscriptionLocalizationUpdateData is the data portion of a localization update request.

type SubscriptionLocalizationUpdateRequest

type SubscriptionLocalizationUpdateRequest struct {
	Data SubscriptionLocalizationUpdateData `json:"data"`
}

SubscriptionLocalizationUpdateRequest is a request to update a localization.

type SubscriptionLocalizationsOption

type SubscriptionLocalizationsOption func(*subscriptionLocalizationsQuery)

SubscriptionLocalizationsOption is a functional option for subscription localizations list endpoints.

func WithSubscriptionLocalizationsLimit

func WithSubscriptionLocalizationsLimit(limit int) SubscriptionLocalizationsOption

WithSubscriptionLocalizationsLimit sets the max number of localizations to return.

func WithSubscriptionLocalizationsNextURL

func WithSubscriptionLocalizationsNextURL(next string) SubscriptionLocalizationsOption

WithSubscriptionLocalizationsNextURL uses a next page URL directly.

type SubscriptionLocalizationsResponse

type SubscriptionLocalizationsResponse = Response[SubscriptionLocalizationAttributes]

Response types for subscription resources.

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"`
}

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"`
}

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 portion of an offer code create request.

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 describes custom offer codes.

type SubscriptionOfferCodeCustomCodeCreateAttributes

type SubscriptionOfferCodeCustomCodeCreateAttributes struct {
	CustomCode     string  `json:"customCode"`
	NumberOfCodes  int     `json:"numberOfCodes"`
	ExpirationDate *string `json:"expirationDate,omitempty"`
}

SubscriptionOfferCodeCustomCodeCreateAttributes describes attributes for creating custom codes.

type SubscriptionOfferCodeCustomCodeCreateData

type SubscriptionOfferCodeCustomCodeCreateData struct {
	Type          ResourceType                                       `json:"type"`
	Attributes    SubscriptionOfferCodeCustomCodeCreateAttributes    `json:"attributes"`
	Relationships SubscriptionOfferCodeCustomCodeCreateRelationships `json:"relationships"`
}

SubscriptionOfferCodeCustomCodeCreateData is the data portion of a create request.

type SubscriptionOfferCodeCustomCodeCreateRelationships

type SubscriptionOfferCodeCustomCodeCreateRelationships struct {
	OfferCode Relationship `json:"offerCode"`
}

SubscriptionOfferCodeCustomCodeCreateRelationships describes relationships for creating custom codes.

type SubscriptionOfferCodeCustomCodeCreateRequest

type SubscriptionOfferCodeCustomCodeCreateRequest struct {
	Data SubscriptionOfferCodeCustomCodeCreateData `json:"data"`
}

SubscriptionOfferCodeCustomCodeCreateRequest is a request to create custom codes.

type SubscriptionOfferCodeCustomCodeResponse

type SubscriptionOfferCodeCustomCodeResponse = SingleResponse[SubscriptionOfferCodeCustomCodeAttributes]

SubscriptionOfferCodeCustomCodeResponse is the response from detail endpoints.

type SubscriptionOfferCodeCustomCodeUpdateAttributes

type SubscriptionOfferCodeCustomCodeUpdateAttributes struct {
	Active *bool `json:"active,omitempty"`
}

SubscriptionOfferCodeCustomCodeUpdateAttributes describes attributes for updating custom codes.

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 a request to update custom codes.

type SubscriptionOfferCodeCustomCodesOption

type SubscriptionOfferCodeCustomCodesOption func(*subscriptionOfferCodeCustomCodesQuery)

SubscriptionOfferCodeCustomCodesOption is a functional option for offer code custom codes list endpoints.

func WithSubscriptionOfferCodeCustomCodesLimit

func WithSubscriptionOfferCodeCustomCodesLimit(limit int) SubscriptionOfferCodeCustomCodesOption

WithSubscriptionOfferCodeCustomCodesLimit sets the max number of custom codes to return.

func WithSubscriptionOfferCodeCustomCodesNextURL

func WithSubscriptionOfferCodeCustomCodesNextURL(next string) SubscriptionOfferCodeCustomCodesOption

WithSubscriptionOfferCodeCustomCodesNextURL uses a next page URL directly.

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"`
}

SubscriptionOfferCodeOneTimeUseCodeAttributes describes a one-time use offer code batch.

type SubscriptionOfferCodeOneTimeUseCodeCreateAttributes

type SubscriptionOfferCodeOneTimeUseCodeCreateAttributes struct {
	NumberOfCodes  int    `json:"numberOfCodes"`
	ExpirationDate string `json:"expirationDate"`
}

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 portion of a create request.

type SubscriptionOfferCodeOneTimeUseCodeCreateRelationships

type SubscriptionOfferCodeOneTimeUseCodeCreateRelationships struct {
	OfferCode Relationship `json:"offerCode"`
}

SubscriptionOfferCodeOneTimeUseCodeCreateRelationships describes relationships for offer code creation.

type SubscriptionOfferCodeOneTimeUseCodeCreateRequest

type SubscriptionOfferCodeOneTimeUseCodeCreateRequest struct {
	Data SubscriptionOfferCodeOneTimeUseCodeCreateData `json:"data"`
}

SubscriptionOfferCodeOneTimeUseCodeCreateRequest is a request to generate offer codes.

type SubscriptionOfferCodeOneTimeUseCodeResponse

type SubscriptionOfferCodeOneTimeUseCodeResponse = SingleResponse[SubscriptionOfferCodeOneTimeUseCodeAttributes]

SubscriptionOfferCodeOneTimeUseCodeResponse is the response from detail endpoints.

type SubscriptionOfferCodeOneTimeUseCodeUpdateAttributes

type SubscriptionOfferCodeOneTimeUseCodeUpdateAttributes struct {
	Active *bool `json:"active,omitempty"`
}

SubscriptionOfferCodeOneTimeUseCodeUpdateAttributes describes attributes for updating one-time use codes.

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 a request to update one-time use codes.

type SubscriptionOfferCodeOneTimeUseCodesOption

type SubscriptionOfferCodeOneTimeUseCodesOption func(*subscriptionOfferCodeOneTimeUseCodesQuery)

SubscriptionOfferCodeOneTimeUseCodesOption is a functional option for GetSubscriptionOfferCodeOneTimeUseCodes.

func WithSubscriptionOfferCodeOneTimeUseCodesLimit

func WithSubscriptionOfferCodeOneTimeUseCodesLimit(limit int) SubscriptionOfferCodeOneTimeUseCodesOption

WithSubscriptionOfferCodeOneTimeUseCodesLimit sets the max number of offer code batches to return.

func WithSubscriptionOfferCodeOneTimeUseCodesNextURL

func WithSubscriptionOfferCodeOneTimeUseCodesNextURL(next string) SubscriptionOfferCodeOneTimeUseCodesOption

WithSubscriptionOfferCodeOneTimeUseCodesNextURL uses a next page URL directly.

type SubscriptionOfferCodeOneTimeUseCodesResponse

type SubscriptionOfferCodeOneTimeUseCodesResponse = Response[SubscriptionOfferCodeOneTimeUseCodeAttributes]

SubscriptionOfferCodeOneTimeUseCodesResponse is the response from list endpoints.

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"`
}

SubscriptionOfferCodePriceRelationships describes price relationships.

type SubscriptionOfferCodePricesOption

type SubscriptionOfferCodePricesOption func(*subscriptionOfferCodePricesQuery)

SubscriptionOfferCodePricesOption is a functional option for offer code prices list endpoints.

func WithSubscriptionOfferCodePricesLimit

func WithSubscriptionOfferCodePricesLimit(limit int) SubscriptionOfferCodePricesOption

WithSubscriptionOfferCodePricesLimit sets the max number of prices to return.

func WithSubscriptionOfferCodePricesNextURL

func WithSubscriptionOfferCodePricesNextURL(next string) SubscriptionOfferCodePricesOption

WithSubscriptionOfferCodePricesNextURL uses a next page URL directly.

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 describes relationships for offer codes.

type SubscriptionOfferCodeResponse

type SubscriptionOfferCodeResponse = SingleResponse[SubscriptionOfferCodeAttributes]

Response types for subscription resources.

type SubscriptionOfferCodeUpdateAttributes

type SubscriptionOfferCodeUpdateAttributes struct {
	Active *bool `json:"active,omitempty"`
}

SubscriptionOfferCodeUpdateAttributes describes attributes for updating an offer code.

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 a request to update an offer code.

type SubscriptionOfferCodesOption

type SubscriptionOfferCodesOption func(*subscriptionOfferCodesQuery)

SubscriptionOfferCodesOption is a functional option for offer codes list endpoints.

func WithSubscriptionOfferCodesLimit

func WithSubscriptionOfferCodesLimit(limit int) SubscriptionOfferCodesOption

WithSubscriptionOfferCodesLimit sets the max number of offer codes to return.

func WithSubscriptionOfferCodesNextURL

func WithSubscriptionOfferCodesNextURL(next string) SubscriptionOfferCodesOption

WithSubscriptionOfferCodesNextURL uses a next page URL directly.

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 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 SubscriptionPriceAttributes

type SubscriptionPriceAttributes struct {
	StartDate string `json:"startDate,omitempty"`
	Preserved bool   `json:"preserved,omitempty"`
}

SubscriptionPriceAttributes describes a subscription price resource.

type SubscriptionPriceCreateAttributes

type SubscriptionPriceCreateAttributes struct {
	StartDate string `json:"startDate,omitempty"`
	Preserved *bool  `json:"preserveCurrentPrice,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 portion of a price create request.

type SubscriptionPriceCreateRequest

type SubscriptionPriceCreateRequest struct {
	Data SubscriptionPriceCreateData `json:"data"`
}

SubscriptionPriceCreateRequest is a request to create a price.

type SubscriptionPriceDeleteResult

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

SubscriptionPriceDeleteResult represents CLI output for subscription price deletions.

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 describes subscription price points.

type SubscriptionPricePointResponse

type SubscriptionPricePointResponse = SingleResponse[SubscriptionPricePointAttributes]

Response types for subscription resources.

type SubscriptionPricePointsOption

type SubscriptionPricePointsOption func(*subscriptionPricePointsQuery)

SubscriptionPricePointsOption is a functional option for subscription price point list endpoints.

func WithSubscriptionPricePointsFields

func WithSubscriptionPricePointsFields(fields []string) SubscriptionPricePointsOption

WithSubscriptionPricePointsFields sets fields for returned subscriptionPricePoints resources.

func WithSubscriptionPricePointsInclude

func WithSubscriptionPricePointsInclude(include []string) SubscriptionPricePointsOption

WithSubscriptionPricePointsInclude sets the relationships to include (e.g., "territory").

func WithSubscriptionPricePointsLimit

func WithSubscriptionPricePointsLimit(limit int) SubscriptionPricePointsOption

WithSubscriptionPricePointsLimit sets the max number of price points to return.

func WithSubscriptionPricePointsNextURL

func WithSubscriptionPricePointsNextURL(next string) SubscriptionPricePointsOption

WithSubscriptionPricePointsNextURL uses a next page URL directly.

func WithSubscriptionPricePointsTerritory

func WithSubscriptionPricePointsTerritory(territory string) SubscriptionPricePointsOption

WithSubscriptionPricePointsTerritory filters price points by territory (e.g., "USA").

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 response from subscription price create endpoints.

type SubscriptionPricesOption

type SubscriptionPricesOption func(*subscriptionPricesQuery)

SubscriptionPricesOption is a functional option for subscription price list endpoints.

func WithSubscriptionPricesInclude

func WithSubscriptionPricesInclude(include []string) SubscriptionPricesOption

WithSubscriptionPricesInclude sets the relationships to include (e.g., "subscriptionPricePoint", "territory").

func WithSubscriptionPricesLimit

func WithSubscriptionPricesLimit(limit int) SubscriptionPricesOption

WithSubscriptionPricesLimit sets the max number of prices to return.

func WithSubscriptionPricesNextURL

func WithSubscriptionPricesNextURL(next string) SubscriptionPricesOption

WithSubscriptionPricesNextURL uses a next page URL directly.

func WithSubscriptionPricesPricePointFields

func WithSubscriptionPricesPricePointFields(fields []string) SubscriptionPricesOption

WithSubscriptionPricesPricePointFields sets fields for included subscriptionPricePoints.

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 SubscriptionPromotedPurchaseLinkageResponse

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

SubscriptionPromotedPurchaseLinkageResponse is the response for promoted purchase relationship endpoints.

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"`
}

SubscriptionPromotionalOfferAttributes describes a subscription promotional offer.

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"`
}

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 portion of a promotional offer create request.

type SubscriptionPromotionalOfferCreateRequest

type SubscriptionPromotionalOfferCreateRequest struct {
	Data SubscriptionPromotionalOfferCreateData `json:"data"`
}

SubscriptionPromotionalOfferCreateRequest is a request to create a promotional offer.

type SubscriptionPromotionalOfferPriceAttributes

type SubscriptionPromotionalOfferPriceAttributes struct{}

SubscriptionPromotionalOfferPriceAttributes describes promotional offer price resources.

type SubscriptionPromotionalOfferPricesOption

type SubscriptionPromotionalOfferPricesOption func(*subscriptionPromotionalOfferPricesQuery)

SubscriptionPromotionalOfferPricesOption is a functional option for promotional offer prices list endpoints.

func WithSubscriptionPromotionalOfferPricesLimit

func WithSubscriptionPromotionalOfferPricesLimit(limit int) SubscriptionPromotionalOfferPricesOption

WithSubscriptionPromotionalOfferPricesLimit sets the max number of prices to return.

func WithSubscriptionPromotionalOfferPricesNextURL

func WithSubscriptionPromotionalOfferPricesNextURL(next string) SubscriptionPromotionalOfferPricesOption

WithSubscriptionPromotionalOfferPricesNextURL uses a next page URL directly.

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 describes relationships for promotional offers.

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 portion of a promotional offer update request.

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 a request to update a promotional offer.

type SubscriptionPromotionalOffersOption

type SubscriptionPromotionalOffersOption func(*subscriptionPromotionalOffersQuery)

SubscriptionPromotionalOffersOption is a functional option for promotional offers list endpoints.

func WithSubscriptionPromotionalOffersLimit

func WithSubscriptionPromotionalOffersLimit(limit int) SubscriptionPromotionalOffersOption

WithSubscriptionPromotionalOffersLimit sets the max number of offers to return.

func WithSubscriptionPromotionalOffersNextURL

func WithSubscriptionPromotionalOffersNextURL(next string) SubscriptionPromotionalOffersOption

WithSubscriptionPromotionalOffersNextURL uses a next page URL directly.

type SubscriptionPromotionalOffersResponse

type SubscriptionPromotionalOffersResponse = Response[SubscriptionPromotionalOfferAttributes]

Response types for subscription resources.

type SubscriptionRelationships

type SubscriptionRelationships struct {
	Group *Relationship `json:"group"`
}

SubscriptionRelationships describes relationships for subscriptions.

type SubscriptionResponse

type SubscriptionResponse = SingleResponse[SubscriptionAttributes]

SubscriptionResponse is the response from subscription detail endpoints.

type SubscriptionSubmissionAttributes

type SubscriptionSubmissionAttributes struct{}

SubscriptionSubmissionAttributes describes a subscription submission resource.

type SubscriptionSubmissionCreateData

type SubscriptionSubmissionCreateData struct {
	Type          ResourceType                         `json:"type"`
	Relationships *SubscriptionSubmissionRelationships `json:"relationships"`
}

SubscriptionSubmissionCreateData is the data portion of a submission create request.

type SubscriptionSubmissionCreateRequest

type SubscriptionSubmissionCreateRequest struct {
	Data SubscriptionSubmissionCreateData `json:"data"`
}

SubscriptionSubmissionCreateRequest is a request to create a submission.

type SubscriptionSubmissionRelationships

type SubscriptionSubmissionRelationships struct {
	Subscription *Relationship `json:"subscription"`
}

SubscriptionSubmissionRelationships describes submission relationships.

type SubscriptionSubmissionResponse

type SubscriptionSubmissionResponse = SingleResponse[SubscriptionSubmissionAttributes]

Response types for subscription resources.

type SubscriptionSubscriptionAvailabilityLinkageResponse

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

SubscriptionSubscriptionAvailabilityLinkageResponse is the response for subscription availability relationship endpoints.

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"`
}

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 SubscriptionsOption

type SubscriptionsOption func(*subscriptionsQuery)

SubscriptionsOption is a functional option for GetSubscriptions.

func WithSubscriptionsLimit

func WithSubscriptionsLimit(limit int) SubscriptionsOption

WithSubscriptionsLimit sets the max number of subscriptions to return.

func WithSubscriptionsNames added in v1.260404.0

func WithSubscriptionsNames(names []string) SubscriptionsOption

WithSubscriptionsNames filters subscriptions by current name.

func WithSubscriptionsNextURL

func WithSubscriptionsNextURL(next string) SubscriptionsOption

WithSubscriptionsNextURL uses a next page URL directly.

func WithSubscriptionsProductIDs added in v1.260404.0

func WithSubscriptionsProductIDs(productIDs []string) SubscriptionsOption

WithSubscriptionsProductIDs filters subscriptions by product ID.

type SubscriptionsResponse

type SubscriptionsResponse = Response[SubscriptionAttributes]

SubscriptionsResponse is the response from subscriptions list endpoints.

type TerritoriesOption

type TerritoriesOption func(*territoriesQuery)

TerritoriesOption is a functional option for GetTerritories.

func WithTerritoriesFields

func WithTerritoriesFields(fields []string) TerritoriesOption

WithTerritoriesFields sets fields[territories] for territory responses.

func WithTerritoriesLimit

func WithTerritoriesLimit(limit int) TerritoriesOption

WithTerritoriesLimit sets the max number of territories to return.

func WithTerritoriesNextURL

func WithTerritoriesNextURL(next string) TerritoriesOption

WithTerritoriesNextURL uses a next page URL directly.

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 is a functional option for territory age ratings.

func WithTerritoryAgeRatingsFields

func WithTerritoryAgeRatingsFields(fields []string) TerritoryAgeRatingsOption

WithTerritoryAgeRatingsFields sets fields[territoryAgeRatings].

func WithTerritoryAgeRatingsInclude

func WithTerritoryAgeRatingsInclude(include []string) TerritoryAgeRatingsOption

WithTerritoryAgeRatingsInclude sets include values for territory age ratings.

func WithTerritoryAgeRatingsLimit

func WithTerritoryAgeRatingsLimit(limit int) TerritoryAgeRatingsOption

WithTerritoryAgeRatingsLimit sets the max number of territory age ratings to return.

func WithTerritoryAgeRatingsNextURL

func WithTerritoryAgeRatingsNextURL(next string) TerritoryAgeRatingsOption

WithTerritoryAgeRatingsNextURL uses a next page URL directly.

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 describes a territory resource.

type TerritoryAvailabilitiesOption

type TerritoryAvailabilitiesOption func(*territoryAvailabilitiesQuery)

TerritoryAvailabilitiesOption is a functional option for GetTerritoryAvailabilities.

func WithTerritoryAvailabilitiesLimit

func WithTerritoryAvailabilitiesLimit(limit int) TerritoryAvailabilitiesOption

WithTerritoryAvailabilitiesLimit sets the max number of territory availabilities to return.

func WithTerritoryAvailabilitiesNextURL

func WithTerritoryAvailabilitiesNextURL(next string) TerritoryAvailabilitiesOption

WithTerritoryAvailabilitiesNextURL uses a next page URL directly.

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"`
}

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 portion of an availability update request.

type TerritoryAvailabilityUpdateRequest

type TerritoryAvailabilityUpdateRequest struct {
	Data TerritoryAvailabilityUpdateData `json:"data"`
}

TerritoryAvailabilityUpdateRequest is a request to update a territory availability.

type TerritoryResponse

type TerritoryResponse = SingleResponse[TerritoryAttributes]

Response types

type TestFlightPublishResult

type TestFlightPublishResult struct {
	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"`
	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"`
	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 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.

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"`
}

UserAttributes describes an App Store Connect user.

type UserDeleteResult

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

UserDeleteResult represents CLI output for user deletion.

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"`
	ProvisioningAllowed bool     `json:"provisioningAllowed"`
	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 portion of a user invitation create request.

type UserInvitationCreateRelationships

type UserInvitationCreateRelationships struct {
	VisibleApps *RelationshipList `json:"visibleApps,omitempty"`
}

UserInvitationCreateRelationships describes relationships for creating a user invitation.

type UserInvitationCreateRequest

type UserInvitationCreateRequest struct {
	Data UserInvitationCreateData `json:"data"`
}

UserInvitationCreateRequest is a request to create a user invitation.

type UserInvitationResponse

type UserInvitationResponse = SingleResponse[UserInvitationAttributes]

UserInvitationResponse is the response from user invitation detail endpoint.

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 is a functional option for GetUserInvitationVisibleApps.

func WithUserInvitationVisibleAppsLimit

func WithUserInvitationVisibleAppsLimit(limit int) UserInvitationVisibleAppsOption

WithUserInvitationVisibleAppsLimit sets the max number of invitation-visible apps to return.

func WithUserInvitationVisibleAppsNextURL

func WithUserInvitationVisibleAppsNextURL(next string) UserInvitationVisibleAppsOption

WithUserInvitationVisibleAppsNextURL uses a next page URL directly.

type UserInvitationsOption

type UserInvitationsOption func(*userInvitationsQuery)

UserInvitationsOption is a functional option for GetUserInvitations.

func WithUserInvitationsLimit

func WithUserInvitationsLimit(limit int) UserInvitationsOption

WithUserInvitationsLimit sets the max number of invitations to return.

func WithUserInvitationsNextURL

func WithUserInvitationsNextURL(next string) UserInvitationsOption

WithUserInvitationsNextURL uses a next page URL directly.

type UserInvitationsResponse

type UserInvitationsResponse = Response[UserInvitationAttributes]

UserInvitationsResponse is the response from user invitations endpoint.

type UserResponse

type UserResponse = SingleResponse[UserAttributes]

UserResponse is the response from user detail endpoint.

type UserUpdateAttributes

type UserUpdateAttributes struct {
	Roles               []string `json:"roles,omitempty"`
	AllAppsVisible      *bool    `json:"allAppsVisible,omitempty"`
	ProvisioningAllowed *bool    `json:"provisioningAllowed,omitempty"`
}

UserUpdateAttributes describes attributes for updating a user.

type UserUpdateData

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

UserUpdateData is the data portion of a user update request.

type UserUpdateRequest

type UserUpdateRequest struct {
	Data UserUpdateData `json:"data"`
}

UserUpdateRequest is a request to update a user.

type UserVisibleAppsLinkagesResponse

type UserVisibleAppsLinkagesResponse = LinkagesResponse

UserVisibleAppsLinkagesResponse is the response from user visible apps linkage endpoint.

type UserVisibleAppsOption

type UserVisibleAppsOption func(*userVisibleAppsQuery)

UserVisibleAppsOption is a functional option for GetUserVisibleApps.

func WithUserVisibleAppsLimit

func WithUserVisibleAppsLimit(limit int) UserVisibleAppsOption

WithUserVisibleAppsLimit sets the max number of visible apps to return.

func WithUserVisibleAppsNextURL

func WithUserVisibleAppsNextURL(next string) UserVisibleAppsOption

WithUserVisibleAppsNextURL uses a next page URL directly.

type UsersOption

type UsersOption func(*usersQuery)

UsersOption is a functional option for GetUsers.

func WithUsersEmail

func WithUsersEmail(email string) UsersOption

WithUsersEmail filters users by email/username.

func WithUsersInclude

func WithUsersInclude(include []string) UsersOption

WithUsersInclude sets include for user responses.

func WithUsersLimit

func WithUsersLimit(limit int) UsersOption

WithUsersLimit sets the max number of users to return.

func WithUsersNextURL

func WithUsersNextURL(next string) UsersOption

WithUsersNextURL uses a next page URL directly.

func WithUsersRoles

func WithUsersRoles(roles []string) UsersOption

WithUsersRoles filters users by roles.

type UsersResponse

type UsersResponse = Response[UserAttributes]

UsersResponse is the response from users endpoint.

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 describes a webhook resource.

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 describes attributes for creating a webhook.

type WebhookCreateData

type WebhookCreateData struct {
	Type          ResourceType               `json:"type"`
	Attributes    WebhookCreateAttributes    `json:"attributes"`
	Relationships WebhookCreateRelationships `json:"relationships"`
}

WebhookCreateData is the data portion of a webhook create request.

type WebhookCreateRelationships

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

WebhookCreateRelationships describes relationships for creating a webhook.

type WebhookCreateRequest

type WebhookCreateRequest struct {
	Data WebhookCreateData `json:"data"`
}

WebhookCreateRequest is a request to create a webhook.

type WebhookDeleteResult

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

WebhookDeleteResult represents CLI output for webhook deletions.

type WebhookDeliveriesLinkagesResponse

type WebhookDeliveriesLinkagesResponse = LinkagesResponse

WebhookDeliveriesLinkagesResponse is the response from webhook delivery relationship endpoints.

type WebhookDeliveriesOption

type WebhookDeliveriesOption func(*webhookDeliveriesQuery)

WebhookDeliveriesOption is a functional option for webhook deliveries endpoints.

func WithWebhookDeliveriesCreatedAfter

func WithWebhookDeliveriesCreatedAfter(values []string) WebhookDeliveriesOption

WithWebhookDeliveriesCreatedAfter filters deliveries created after or equal to a timestamp.

func WithWebhookDeliveriesCreatedBefore

func WithWebhookDeliveriesCreatedBefore(values []string) WebhookDeliveriesOption

WithWebhookDeliveriesCreatedBefore filters deliveries created before a timestamp.

func WithWebhookDeliveriesDeliveryStates

func WithWebhookDeliveriesDeliveryStates(states []string) WebhookDeliveriesOption

WithWebhookDeliveriesDeliveryStates filters deliveries by state.

func WithWebhookDeliveriesLimit

func WithWebhookDeliveriesLimit(limit int) WebhookDeliveriesOption

WithWebhookDeliveriesLimit sets the max number of webhook deliveries to return.

func WithWebhookDeliveriesNextURL

func WithWebhookDeliveriesNextURL(next string) WebhookDeliveriesOption

WithWebhookDeliveriesNextURL uses a next page URL directly.

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 portion of a webhook delivery create request.

type WebhookDeliveryCreateRelationships

type WebhookDeliveryCreateRelationships struct {
	Template Relationship `json:"template"`
}

WebhookDeliveryCreateRelationships describes relationships for delivery create requests.

type WebhookDeliveryCreateRequest

type WebhookDeliveryCreateRequest struct {
	Data WebhookDeliveryCreateData `json:"data"`
}

WebhookDeliveryCreateRequest is a request to create a webhook delivery.

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 response from webhook delivery endpoints.

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 portion of a webhook ping request.

type WebhookPingCreateRelationships

type WebhookPingCreateRelationships struct {
	Webhook Relationship `json:"webhook"`
}

WebhookPingCreateRelationships describes relationships for ping requests.

type WebhookPingCreateRequest

type WebhookPingCreateRequest struct {
	Data WebhookPingCreateData `json:"data"`
}

WebhookPingCreateRequest is a request to create a webhook ping.

type WebhookPingResponse

type WebhookPingResponse = SingleResponse[struct{}]

WebhookPingResponse is the response from webhook ping endpoints.

type WebhookResponse

type WebhookResponse = SingleResponse[WebhookAttributes]

WebhookResponse is the response from webhook detail endpoints.

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 describes attributes for updating a webhook.

type WebhookUpdateData

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

WebhookUpdateData is the data portion of a webhook update request.

type WebhookUpdateRequest

type WebhookUpdateRequest struct {
	Data WebhookUpdateData `json:"data"`
}

WebhookUpdateRequest is a request to update a webhook.

type WebhooksOption

type WebhooksOption func(*webhooksQuery)

WebhooksOption is a functional option for webhooks list endpoints.

func WithWebhooksAppFields

func WithWebhooksAppFields(fields []string) WebhooksOption

WithWebhooksAppFields sets fields[apps] for webhook responses.

func WithWebhooksFields

func WithWebhooksFields(fields []string) WebhooksOption

WithWebhooksFields sets fields[webhooks] for webhook responses.

func WithWebhooksInclude

func WithWebhooksInclude(include []string) WebhooksOption

WithWebhooksInclude sets include for webhook responses.

func WithWebhooksLimit

func WithWebhooksLimit(limit int) WebhooksOption

WithWebhooksLimit sets the max number of webhooks to return.

func WithWebhooksNextURL

func WithWebhooksNextURL(next string) WebhooksOption

WithWebhooksNextURL uses a next page URL directly.

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"`
}

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"`
}

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 portion of a create request.

type WinBackOfferCreateRelationships

type WinBackOfferCreateRelationships struct {
	Subscription Relationship     `json:"subscription"`
	Prices       RelationshipList `json:"prices"`
}

WinBackOfferCreateRelationships describes relationships for win-back offers.

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 WinBackOfferDeleteResult

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

WinBackOfferDeleteResult represents CLI output for win-back offer deletions.

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"`
}

WinBackOfferPriceInlineCreate describes inline creation data for prices.

type WinBackOfferPriceRelationships

type WinBackOfferPriceRelationships struct {
	Territory              Relationship `json:"territory"`
	SubscriptionPricePoint Relationship `json:"subscriptionPricePoint"`
}

WinBackOfferPriceRelationships describes price relationships.

type WinBackOfferPricesOption

type WinBackOfferPricesOption func(*winBackOfferPricesQuery)

WinBackOfferPricesOption is a functional option for win-back offer prices list endpoints.

func WithWinBackOfferPricesFields

func WithWinBackOfferPricesFields(fields []string) WinBackOfferPricesOption

WithWinBackOfferPricesFields sets fields[winBackOfferPrices] for price responses.

func WithWinBackOfferPricesInclude

func WithWinBackOfferPricesInclude(include []string) WinBackOfferPricesOption

WithWinBackOfferPricesInclude sets include for win-back offer price responses.

func WithWinBackOfferPricesLimit

func WithWinBackOfferPricesLimit(limit int) WinBackOfferPricesOption

WithWinBackOfferPricesLimit sets the max number of win-back offer prices to return.

func WithWinBackOfferPricesNextURL

func WithWinBackOfferPricesNextURL(next string) WinBackOfferPricesOption

WithWinBackOfferPricesNextURL uses a next page URL directly.

func WithWinBackOfferPricesSubscriptionPricePointFields

func WithWinBackOfferPricesSubscriptionPricePointFields(fields []string) WinBackOfferPricesOption

WithWinBackOfferPricesSubscriptionPricePointFields sets fields[subscriptionPricePoints] for included price points.

func WithWinBackOfferPricesTerritoryFields

func WithWinBackOfferPricesTerritoryFields(fields []string) WinBackOfferPricesOption

WithWinBackOfferPricesTerritoryFields sets fields[territories] for included territories.

func WithWinBackOfferPricesTerritoryFilter

func WithWinBackOfferPricesTerritoryFilter(ids []string) WinBackOfferPricesOption

WithWinBackOfferPricesTerritoryFilter filters win-back offer prices by territory ID(s).

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 response from detail endpoints.

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 a request to update a win-back offer.

type WinBackOffersOption

type WinBackOffersOption func(*winBackOffersQuery)

WinBackOffersOption is a functional option for win-back offer list endpoints.

func WithWinBackOffersFields

func WithWinBackOffersFields(fields []string) WinBackOffersOption

WithWinBackOffersFields sets fields[winBackOffers] for win-back offer responses.

func WithWinBackOffersInclude

func WithWinBackOffersInclude(include []string) WinBackOffersOption

WithWinBackOffersInclude sets include for win-back offer responses.

func WithWinBackOffersLimit

func WithWinBackOffersLimit(limit int) WinBackOffersOption

WithWinBackOffersLimit sets the max number of win-back offers to return.

func WithWinBackOffersNextURL

func WithWinBackOffersNextURL(next string) WinBackOffersOption

WithWinBackOffersNextURL uses a next page URL directly.

func WithWinBackOffersPriceFields

func WithWinBackOffersPriceFields(fields []string) WinBackOffersOption

WithWinBackOffersPriceFields sets fields[winBackOfferPrices] for included prices.

func WithWinBackOffersPricesLimit

func WithWinBackOffersPricesLimit(limit int) WinBackOffersOption

WithWinBackOffersPricesLimit sets limit[prices] for included prices.

type WinBackOffersResponse

type WinBackOffersResponse = Response[WinBackOfferAttributes]

WinBackOffersResponse is the response from list endpoints.

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.

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