web

package
v1.260816.0 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2026 License: MIT Imports: 36 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DisableControllingTTYForTesting added in v1.260807.0

func DisableControllingTTYForTesting() func()

DisableControllingTTYForTesting prevents tests from opening the process's controlling terminal. The returned function restores the previous behavior.

func RunAppsCreate added in v1.260328.0

func RunAppsCreate(ctx context.Context, opts AppsCreateRunOptions) error

RunAppsCreate executes the canonical web-backed app-create flow.

func SetLookupWebAuthKey

func SetLookupWebAuthKey(fn func(context.Context, *webcore.Client, string) (*webcore.APIKeyRoleLookup, error)) func()

func SetNewWebAuthClient

func SetNewWebAuthClient(fn func(*webcore.AuthSession) *webcore.Client) func()

func SetResolveWebAuthCredentials

func SetResolveWebAuthCredentials(fn func(string) (shared.ResolvedAuthCredentials, error)) func()

func SetResolveWebSession

func SetResolveWebSession(fn any) func()

func WebAPIKeysCommand added in v1.260807.0

func WebAPIKeysCommand() *ffcli.Command

WebAPIKeysCommand returns the web-session API keys command group.

func WebAPIKeysCreateCommand added in v1.260807.0

func WebAPIKeysCreateCommand() *ffcli.Command

WebAPIKeysCreateCommand creates a team API key and saves its one-time P8.

func WebAnalyticsAppClipsCommand added in v1.260328.0

func WebAnalyticsAppClipsCommand() *ffcli.Command

WebAnalyticsAppClipsCommand explains App Clip tab availability for the app.

func WebAnalyticsBenchmarksCommand added in v1.260328.0

func WebAnalyticsBenchmarksCommand() *ffcli.Command

WebAnalyticsBenchmarksCommand recreates the Benchmarks summary page.

func WebAnalyticsCampaignsCommand added in v1.260328.0

func WebAnalyticsCampaignsCommand() *ffcli.Command

WebAnalyticsCampaignsCommand recreates the Acquisition > Campaigns page.

func WebAnalyticsCohortsCommand added in v1.260328.0

func WebAnalyticsCohortsCommand() *ffcli.Command

WebAnalyticsCohortsCommand queries analytics cohorts directly.

func WebAnalyticsCommand added in v1.260328.0

func WebAnalyticsCommand() *ffcli.Command

WebAnalyticsCommand returns the analytics command group under `asc web`.

func WebAnalyticsInAppEventsCommand added in v1.260328.0

func WebAnalyticsInAppEventsCommand() *ffcli.Command

WebAnalyticsInAppEventsCommand recreates the Acquisition > In-App Events page.

func WebAnalyticsMetricsCommand added in v1.260328.0

func WebAnalyticsMetricsCommand() *ffcli.Command

WebAnalyticsMetricsCommand queries analytics measure series directly.

func WebAnalyticsOffersCommand added in v1.260328.0

func WebAnalyticsOffersCommand() *ffcli.Command

WebAnalyticsOffersCommand explains Offers tab capability for the app.

func WebAnalyticsOverviewCommand added in v1.260328.0

func WebAnalyticsOverviewCommand() *ffcli.Command

WebAnalyticsOverviewCommand recreates the analytics overview dashboard.

func WebAnalyticsProductPagesCommand added in v1.260328.0

func WebAnalyticsProductPagesCommand() *ffcli.Command

WebAnalyticsProductPagesCommand explains Product Pages availability for the app.

func WebAnalyticsRetentionCommand added in v1.260328.0

func WebAnalyticsRetentionCommand() *ffcli.Command

WebAnalyticsRetentionCommand queries analytics retention data.

func WebAnalyticsSalesCommand added in v1.260328.0

func WebAnalyticsSalesCommand() *ffcli.Command

WebAnalyticsSalesCommand recreates the Monetization > Sales page.

func WebAnalyticsSourcesCommand added in v1.260328.0

func WebAnalyticsSourcesCommand() *ffcli.Command

WebAnalyticsSourcesCommand recreates the Acquisition > Sources page.

func WebAnalyticsSubscriptionsCommand added in v1.260328.0

func WebAnalyticsSubscriptionsCommand() *ffcli.Command

WebAnalyticsSubscriptionsCommand recreates the subscriptions summary dashboard.

func WebAppGroupsAssignCommand added in v1.260816.0

func WebAppGroupsAssignCommand() *ffcli.Command

WebAppGroupsAssignCommand assigns an App Group to a Bundle ID.

func WebAppGroupsCommand added in v1.260816.0

func WebAppGroupsCommand() *ffcli.Command

WebAppGroupsCommand returns the Developer Portal App Groups command group.

func WebAppGroupsCreateCommand added in v1.260816.0

func WebAppGroupsCreateCommand() *ffcli.Command

WebAppGroupsCreateCommand registers an App Group identifier.

func WebAppGroupsListCommand added in v1.260816.0

func WebAppGroupsListCommand() *ffcli.Command

WebAppGroupsListCommand lists App Groups for the selected Developer Portal team.

func WebAppsAvailabilityCommand

func WebAppsAvailabilityCommand() *ffcli.Command

WebAppsAvailabilityCommand returns the web app availability command group.

func WebAppsAvailabilityCreateCommand

func WebAppsAvailabilityCreateCommand() *ffcli.Command

WebAppsAvailabilityCreateCommand bootstraps missing app availability via the internal web API.

func WebAppsCommand

func WebAppsCommand() *ffcli.Command

WebAppsCommand returns the detached web apps command group.

func WebAppsCompatibilityCommand added in v1.260531.0

func WebAppsCompatibilityCommand() *ffcli.Command

WebAppsCompatibilityCommand returns the web app compatibility command group.

func WebAppsCompatibilityEditCommand added in v1.260531.0

func WebAppsCompatibilityEditCommand() *ffcli.Command

WebAppsCompatibilityEditCommand returns the compatibility edit command.

func WebAppsCompatibilityViewCommand added in v1.260531.0

func WebAppsCompatibilityViewCommand() *ffcli.Command

WebAppsCompatibilityViewCommand returns the compatibility view command.

func WebAppsCreateCommand

func WebAppsCreateCommand() *ffcli.Command

WebAppsCreateCommand creates apps using the internal web API.

func WebAppsDeleteCommand added in v1.260707.0

func WebAppsDeleteCommand() *ffcli.Command

WebAppsDeleteCommand removes apps using the internal web API.

func WebAppsMedicalDeviceCommand added in v1.260331.0

func WebAppsMedicalDeviceCommand() *ffcli.Command

WebAppsMedicalDeviceCommand returns the regulated medical device command group.

func WebAppsMedicalDeviceSetCommand added in v1.260331.0

func WebAppsMedicalDeviceSetCommand() *ffcli.Command

WebAppsMedicalDeviceSetCommand sets the regulated medical device declaration.

func WebAuthCapabilitiesCommand

func WebAuthCapabilitiesCommand() *ffcli.Command

WebAuthCapabilitiesCommand returns exact key-role lookup via App Store Connect web-session endpoints.

func WebAuthCommand

func WebAuthCommand() *ffcli.Command

WebAuthCommand returns the detached web auth command group.

func WebAuthLoginCommand

func WebAuthLoginCommand() *ffcli.Command

WebAuthLoginCommand creates or refreshes a web session.

func WebAuthLogoutCommand

func WebAuthLogoutCommand() *ffcli.Command

WebAuthLogoutCommand clears cached web sessions.

func WebAuthStatusCommand

func WebAuthStatusCommand() *ffcli.Command

WebAuthStatusCommand checks whether a cached session is currently valid.

func WebBundleIDCapabilitiesCommand added in v1.260601.0

func WebBundleIDCapabilitiesCommand() *ffcli.Command

WebBundleIDCapabilitiesCommand returns the Bundle ID capabilities group.

func WebBundleIDCapabilitiesEnableCommand added in v1.260810.0

func WebBundleIDCapabilitiesEnableCommand() *ffcli.Command

WebBundleIDCapabilitiesEnableCommand enables a Developer Portal-only Bundle ID capability while preserving all existing capability relationships.

func WebBundleIDCapabilitiesSyncAppClipCommand added in v1.260601.0

func WebBundleIDCapabilitiesSyncAppClipCommand() *ffcli.Command

WebBundleIDCapabilitiesSyncAppClipCommand syncs one App Clip capability relationship.

func WebBundleIDsCommand added in v1.260601.0

func WebBundleIDsCommand() *ffcli.Command

WebBundleIDsCommand returns the Bundle ID command group.

func WebCommand

func WebCommand() *ffcli.Command

WebCommand returns the web command group.

func WebPrivacyApplyCommand

func WebPrivacyApplyCommand() *ffcli.Command

WebPrivacyApplyCommand applies local declaration changes to remote app data usages.

func WebPrivacyCatalogCommand

func WebPrivacyCatalogCommand() *ffcli.Command

WebPrivacyCatalogCommand lists available privacy declaration catalog values.

func WebPrivacyCommand

func WebPrivacyCommand() *ffcli.Command

WebPrivacyCommand returns the detached web privacy command group.

func WebPrivacyPlanCommand

func WebPrivacyPlanCommand() *ffcli.Command

WebPrivacyPlanCommand compares local declaration file with remote state.

func WebPrivacyPublishCommand

func WebPrivacyPublishCommand() *ffcli.Command

WebPrivacyPublishCommand explicitly publishes app data usage declarations.

func WebPrivacyPullCommand

func WebPrivacyPullCommand() *ffcli.Command

WebPrivacyPullCommand pulls remote app privacy declarations into canonical JSON.

func WebRemovedAppsCommand added in v1.260707.0

func WebRemovedAppsCommand() *ffcli.Command

WebRemovedAppsCommand returns the removed apps command group.

func WebRemovedAppsListCommand added in v1.260707.0

func WebRemovedAppsListCommand() *ffcli.Command

WebRemovedAppsListCommand lists removed apps using the internal web API.

func WebReviewCommand

func WebReviewCommand() *ffcli.Command

WebReviewCommand returns the detached web review command group.

func WebReviewIAPsAttachCommand added in v1.260531.0

func WebReviewIAPsAttachCommand() *ffcli.Command

WebReviewIAPsAttachCommand attaches a non-renewing IAP to the next app version review via the iris endpoint.

func WebReviewIAPsCommand added in v1.260531.0

func WebReviewIAPsCommand() *ffcli.Command

WebReviewIAPsCommand groups iris-API operations that attach a non-renewing in-app purchase to the next app version review. Mirrors `asc web review subscriptions` but routes to the IAP iris endpoint.

func WebReviewListCommand

func WebReviewListCommand() *ffcli.Command

WebReviewListCommand lists review submissions for an app.

func WebReviewShowCommand

func WebReviewShowCommand() *ffcli.Command

WebReviewShowCommand shows a submission with full review context and downloads screenshots.

func WebReviewSubscriptionsAttachCommand

func WebReviewSubscriptionsAttachCommand() *ffcli.Command

WebReviewSubscriptionsAttachCommand attaches a subscription to the next app version review.

func WebReviewSubscriptionsAttachGroupCommand

func WebReviewSubscriptionsAttachGroupCommand() *ffcli.Command

WebReviewSubscriptionsAttachGroupCommand attaches every READY_TO_SUBMIT subscription in one group.

func WebReviewSubscriptionsCommand

func WebReviewSubscriptionsCommand() *ffcli.Command

WebReviewSubscriptionsCommand returns the app-version subscription attach helpers.

func WebReviewSubscriptionsListCommand

func WebReviewSubscriptionsListCommand() *ffcli.Command

WebReviewSubscriptionsListCommand lists review-scoped subscriptions for an app.

func WebReviewSubscriptionsRemoveCommand

func WebReviewSubscriptionsRemoveCommand() *ffcli.Command

WebReviewSubscriptionsRemoveCommand removes a subscription from the next app version review.

func WebReviewSubscriptionsRemoveGroupCommand

func WebReviewSubscriptionsRemoveGroupCommand() *ffcli.Command

WebReviewSubscriptionsRemoveGroupCommand removes all attached subscriptions in one group.

func WebSandboxCommand added in v1.260328.0

func WebSandboxCommand() *ffcli.Command

WebSandboxCommand returns the detached web sandbox command group.

func WebSandboxCreateCommand added in v1.260328.0

func WebSandboxCreateCommand() *ffcli.Command

WebSandboxCreateCommand creates a sandbox tester via App Store Connect's web session endpoints.

func WebSubscriptionsAvailabilityCommand added in v1.260519.0

func WebSubscriptionsAvailabilityCommand() *ffcli.Command

WebSubscriptionsAvailabilityCommand returns the web subscription availability command group.

func WebSubscriptionsAvailabilityRemoveFromSaleCommand added in v1.260519.0

func WebSubscriptionsAvailabilityRemoveFromSaleCommand() *ffcli.Command

WebSubscriptionsAvailabilityRemoveFromSaleCommand removes an approved subscription from sale.

func WebSubscriptionsCommand added in v1.260519.0

func WebSubscriptionsCommand() *ffcli.Command

WebSubscriptionsCommand returns the web subscriptions command group.

func WebSubscriptionsPricingAdjustedEqualizationsCommand added in v1.260616.0

func WebSubscriptionsPricingAdjustedEqualizationsCommand() *ffcli.Command

WebSubscriptionsPricingAdjustedEqualizationsCommand returns the adjusted equalizations group.

func WebSubscriptionsPricingAdjustedEqualizationsViewCommand added in v1.260616.0

func WebSubscriptionsPricingAdjustedEqualizationsViewCommand() *ffcli.Command

WebSubscriptionsPricingAdjustedEqualizationsViewCommand inspects one price point.

func WebSubscriptionsPricingCommand added in v1.260616.0

func WebSubscriptionsPricingCommand() *ffcli.Command

WebSubscriptionsPricingCommand returns the web subscription pricing command group.

func WebSubscriptionsPricingMonthlyCommitmentBootstrapCommand added in v1.260616.0

func WebSubscriptionsPricingMonthlyCommitmentBootstrapCommand() *ffcli.Command

WebSubscriptionsPricingMonthlyCommitmentBootstrapCommand creates availability and prices.

func WebSubscriptionsPricingMonthlyCommitmentCommand added in v1.260616.0

func WebSubscriptionsPricingMonthlyCommitmentCommand() *ffcli.Command

WebSubscriptionsPricingMonthlyCommitmentCommand returns the monthly commitment group.

func WebXcodeCloudCommand

func WebXcodeCloudCommand() *ffcli.Command

WebXcodeCloudCommand returns the xcode-cloud command group.

Types

type AppsCreateRunOptions added in v1.260328.0

type AppsCreateRunOptions struct {
	Name          string
	BundleID      string
	SKU           string
	PrimaryLocale string
	Platform      string
	Version       string
	CompanyName   string

	AppleID              string
	Password             string
	TwoFactorCode        string
	TwoFactorCodeCommand string

	AutoRename bool
	Output     string
	Pretty     bool

	// Deprecated shim compatibility: when a direct password is provided without an
	// Apple ID, preserve the old behavior of prompting for account selection
	// instead of silently reusing the last cached session.
	PromptForAppleIDWithPassword bool

	// Deprecated shim compatibility: preserve the old apps-create contract and
	// avoid official ASC bundle-ID preflight side effects.
	DisableBundleIDPreflight bool
}

AppsCreateRunOptions configures the canonical web-backed app-create flow.

type CIEnvVarsDeleteResult

type CIEnvVarsDeleteResult struct {
	WorkflowID   string `json:"workflow_id"`
	WorkflowName string `json:"workflow_name"`
	Name         string `json:"name"`
}

CIEnvVarsDeleteResult is the output type for the env-vars delete command.

type CIEnvVarsListResult

type CIEnvVarsListResult struct {
	WorkflowID string                          `json:"workflow_id"`
	Variables  []webcore.CIEnvironmentVariable `json:"variables"`
}

CIEnvVarsListResult is the output type for the env-vars list command.

type CIEnvVarsSetResult

type CIEnvVarsSetResult struct {
	WorkflowID   string `json:"workflow_id"`
	WorkflowName string `json:"workflow_name"`
	Name         string `json:"name"`
	Type         string `json:"type"`
	Action       string `json:"action"`
}

CIEnvVarsSetResult is the output type for the env-vars set command.

type CISharedEnvVarsDeleteResult

type CISharedEnvVarsDeleteResult struct {
	ProductID string `json:"product_id"`
	Name      string `json:"name"`
}

CISharedEnvVarsDeleteResult is the output type for the env-vars shared delete command.

type CISharedEnvVarsListResult

type CISharedEnvVarsListResult struct {
	ProductID string                                 `json:"product_id"`
	Variables []webcore.CIProductEnvironmentVariable `json:"variables"`
}

CISharedEnvVarsListResult is the output type for the env-vars shared list command.

type CISharedEnvVarsSetResult

type CISharedEnvVarsSetResult struct {
	ProductID string `json:"product_id"`
	Name      string `json:"name"`
	Type      string `json:"type"`
	Locked    bool   `json:"locked"`
	Action    string `json:"action"`
}

CISharedEnvVarsSetResult is the output type for the env-vars shared set command.

type CIUsageAlertMonth

type CIUsageAlertMonth struct {
	Year    int `json:"year"`
	Month   int `json:"month"`
	Minutes int `json:"minutes"`
	Builds  int `json:"builds"`
}

CIUsageAlertMonth is one monthly usage datapoint.

type CIUsageAlertNotification

type CIUsageAlertNotification struct {
	Channel    string `json:"channel"`
	Triggered  bool   `json:"triggered"`
	Delivered  bool   `json:"delivered"`
	StatusCode int    `json:"status_code,omitempty"`
	Error      string `json:"error,omitempty"`
}

CIUsageAlertNotification captures delivery status for outbound notifications.

type CIUsageAlertPlan

type CIUsageAlertPlan struct {
	Name          string `json:"name"`
	Used          int    `json:"used"`
	Available     int    `json:"available"`
	Total         int    `json:"total"`
	UsedPercent   int    `json:"used_percent"`
	ResetDate     string `json:"reset_date,omitempty"`
	ResetDateTime string `json:"reset_date_time,omitempty"`
	ManageURL     string `json:"manage_url,omitempty"`
}

CIUsageAlertPlan captures plan quota and calculated usage percentage.

type CIUsageAlertResult

type CIUsageAlertResult struct {
	TeamID        string                     `json:"team_id"`
	EvaluatedAt   string                     `json:"evaluated_at"`
	Severity      usageAlertSeverity         `json:"severity"`
	Message       string                     `json:"message"`
	FailOn        usageAlertFailOn           `json:"fail_on"`
	NotifyOn      usageAlertNotifyOn         `json:"notify_on"`
	Thresholds    CIUsageAlertThresholds     `json:"thresholds"`
	Plan          CIUsageAlertPlan           `json:"plan"`
	Trend         *CIUsageAlertTrend         `json:"trend,omitempty"`
	Notifications []CIUsageAlertNotification `json:"notifications,omitempty"`
}

CIUsageAlertResult is the output payload for usage alert evaluation.

type CIUsageAlertThresholds

type CIUsageAlertThresholds struct {
	WarnAt     int `json:"warn_at"`
	CriticalAt int `json:"critical_at"`
}

CIUsageAlertThresholds captures warning and critical threshold percentages.

type CIUsageAlertTrend

type CIUsageAlertTrend struct {
	RequestedMonths   int                 `json:"requested_months"`
	Available         bool                `json:"available"`
	UnavailableReason string              `json:"unavailable_reason,omitempty"`
	AverageMinutes    int                 `json:"average_minutes,omitempty"`
	PeakMinutes       int                 `json:"peak_minutes,omitempty"`
	Months            []CIUsageAlertMonth `json:"months,omitempty"`
}

CIUsageAlertTrend carries monthly usage context.

type CIWorkflowCreateResult

type CIWorkflowCreateResult struct {
	CIWorkflowDescribeResult
	Created bool `json:"created"`
}

CIWorkflowCreateResult is the output type for workflows create.

type CIWorkflowDescribeResult

type CIWorkflowDescribeResult struct {
	ProductID                   string          `json:"product_id"`
	WorkflowID                  string          `json:"workflow_id"`
	Name                        string          `json:"name"`
	Description                 string          `json:"description,omitempty"`
	Disabled                    bool            `json:"disabled"`
	Locked                      bool            `json:"locked"`
	XcodeVersion                json.RawMessage `json:"xcode_version,omitempty"`
	MacOSVersion                json.RawMessage `json:"macos_version,omitempty"`
	Clean                       json.RawMessage `json:"clean,omitempty"`
	ContainerFilePath           string          `json:"container_file_path,omitempty"`
	ProductEnvironmentVariables []string        `json:"product_environment_variables,omitempty"`
	StartConditions             json.RawMessage `json:"start_conditions,omitempty"`
	Actions                     json.RawMessage `json:"actions,omitempty"`
	PostActions                 json.RawMessage `json:"post_actions,omitempty"`
	Repo                        json.RawMessage `json:"repo,omitempty"`
}

CIWorkflowDescribeResult is the output type for workflows describe.

type CIWorkflowEditResult

type CIWorkflowEditResult struct {
	CIWorkflowDescribeResult
	Changed bool `json:"changed"`
}

CIWorkflowEditResult is the output type for workflows edit.

type CIWorkflowToggleResult

type CIWorkflowToggleResult struct {
	ProductID      string `json:"product_id"`
	WorkflowID     string `json:"workflow_id"`
	WorkflowName   string `json:"workflow_name"`
	Action         string `json:"action"`
	DisabledBefore bool   `json:"disabled_before"`
	DisabledAfter  bool   `json:"disabled_after"`
	Changed        bool   `json:"changed"`
}

CIWorkflowToggleResult is the output type for workflows enable/disable.

type CIWorkflowsResult

type CIWorkflowsResult struct {
	ProductID string                    `json:"product_id"`
	Start     string                    `json:"start"`
	End       string                    `json:"end"`
	Workflows []webcore.CIWorkflowUsage `json:"workflows"`
}

CIWorkflowsResult is the output type for the workflows command. It wraps the workflow usage data with product context for clean JSON output.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL