submit

package
v1.260419.0 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2026 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LookupExistingSubmissionForVersion added in v1.260410.0

func LookupExistingSubmissionForVersion(ctx context.Context, client *asc.Client, versionID string, requestTimeout time.Duration) (string, error)

LookupExistingSubmissionForVersion returns the existing legacy submission ID for an App Store version, if one already exists.

func RemovedSubmitCreateCommand added in v1.260404.0

func RemovedSubmitCreateCommand() *ffcli.Command

func RemovedSubmitPreflightCommand added in v1.260404.0

func RemovedSubmitPreflightCommand() *ffcli.Command

func SubmissionLocalizationPreflight added in v1.260331.0

func SubmissionLocalizationPreflight(ctx context.Context, client *asc.Client, appID, versionID, platform, retryCommand string) error

SubmissionLocalizationPreflight runs the submission-blocking localization preflight used by submit-style App Store review flows.

func SubmissionLocalizationPreflightWithTimeout added in v1.260331.0

func SubmissionLocalizationPreflightWithTimeout(
	ctx context.Context,
	client *asc.Client,
	appID, versionID, platform string,
	requestTimeout time.Duration,
	retryCommand string,
) error

SubmissionLocalizationPreflightWithTimeout runs localization preflight with an explicit request budget when the caller needs a per-phase timeout.

func SubmissionSubscriptionPreflight added in v1.260331.0

func SubmissionSubscriptionPreflight(ctx context.Context, client *asc.Client, appID, retryCommand string)

SubmissionSubscriptionPreflight runs the advisory subscription preflight used by submit-style App Store review flows.

func SubmissionSubscriptionPreflightWithTimeout added in v1.260331.0

func SubmissionSubscriptionPreflightWithTimeout(
	ctx context.Context,
	client *asc.Client,
	appID string,
	requestTimeout time.Duration,
	retryCommand string,
)

SubmissionSubscriptionPreflightWithTimeout runs subscription preflight with an explicit request budget when the caller needs a per-phase timeout.

func SubmitCancelCommand

func SubmitCancelCommand() *ffcli.Command

func SubmitCommand

func SubmitCommand() *ffcli.Command

func SubmitCreateCommand

func SubmitCreateCommand() *ffcli.Command

func SubmitPreflightCommand

func SubmitPreflightCommand() *ffcli.Command

SubmitPreflightCommand returns the "submit preflight" subcommand.

func SubmitStatusCommand

func SubmitStatusCommand() *ffcli.Command

Types

type BuildAttachmentResult added in v1.260331.0

type BuildAttachmentResult struct {
	VersionID       string `json:"versionId"`
	BuildID         string `json:"buildId"`
	CurrentBuildID  string `json:"currentBuildId,omitempty"`
	Attached        bool   `json:"attached,omitempty"`
	AlreadyAttached bool   `json:"alreadyAttached,omitempty"`
	WouldAttach     bool   `json:"wouldAttach,omitempty"`
}

BuildAttachmentResult captures the resolved state of ensuring a build is attached to an App Store version.

func EnsureBuildAttached added in v1.260331.0

func EnsureBuildAttached(ctx context.Context, client *asc.Client, versionID, buildID string, dryRun bool) (BuildAttachmentResult, error)

EnsureBuildAttached ensures the target build is attached to the resolved App Store version. In dry-run mode it reports the planned change without mutating.

type SubmitResolvedVersionOptions added in v1.260331.0

type SubmitResolvedVersionOptions struct {
	AppID                    string
	VersionID                string
	BuildID                  string
	Platform                 string
	RequestTimeout           time.Duration
	EnsureBuildAttached      bool
	LookupExistingSubmission bool
	DryRun                   bool
	Emit                     func(string)
}

SubmitResolvedVersionOptions configures the shared App Store submission flow used by submit, release, and publish surfaces.

type SubmitResolvedVersionResult added in v1.260331.0

type SubmitResolvedVersionResult struct {
	SubmissionID     string                 `json:"submissionId,omitempty"`
	SubmittedDate    string                 `json:"submittedDate,omitempty"`
	AlreadySubmitted bool                   `json:"alreadySubmitted,omitempty"`
	WouldSubmit      bool                   `json:"wouldSubmit,omitempty"`
	BuildAttachment  *BuildAttachmentResult `json:"buildAttachment,omitempty"`
	Messages         []string               `json:"messages,omitempty"`
}

SubmitResolvedVersionResult captures the outcome of creating/submitting a review submission for an already-resolved version.

func SubmitResolvedVersion added in v1.260331.0

func SubmitResolvedVersion(ctx context.Context, client *asc.Client, opts SubmitResolvedVersionOptions) (SubmitResolvedVersionResult, error)

SubmitResolvedVersion runs the shared modern review-submission flow for an already-resolved version ID.

Jump to

Keyboard shortcuts

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