@wix/auto_sdk_containers_projects 1.0.27 → 1.0.29

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2848,7 +2848,13 @@ interface StartMobileBuildRequest {
2848
2848
  releaseId?: string;
2849
2849
  /**
2850
2850
  * Version label for the builds, for example `1.2.0`. It's stored with the builds and returned by
2851
- * Get Latest Mobile Builds. It isn't written into the app.
2851
+ * Get Latest Mobile Builds.
2852
+ *
2853
+ * When `androidFormat` is `AAB`, it's also written into the Google Play file as its version name,
2854
+ * so Google Play shows it. It must then be 1 to 3 numbers separated by dots, for example `1.0.2`;
2855
+ * otherwise the build isn't started and the error's `himalayaCode` is `store_build_version_invalid`.
2856
+ * When not specified, the file keeps the build system's own version. Other builds don't write it
2857
+ * into the app.
2852
2858
  * @maxLength 50
2853
2859
  */
2854
2860
  appVersion?: string;
@@ -2998,6 +3004,18 @@ interface MobileBuild {
2998
3004
  apkDownloadUrl?: string;
2999
3005
  /** Kind of build. Builds started before the field existed are `STORE`. */
3000
3006
  buildKind?: BuildKindWithLiterals;
3007
+ /**
3008
+ * App name that the build shows on the home screen: the project's `name` when the build was started.
3009
+ * Empty for builds started before the field existed, and for `INTERNAL_DEBUG` builds.
3010
+ * @maxLength 200
3011
+ */
3012
+ appName?: string;
3013
+ /**
3014
+ * URL of the app icon that the build carries: the project's `appIconUrl` when the build was started.
3015
+ * Empty for builds started before the field existed, and for `INTERNAL_DEBUG` builds.
3016
+ * @maxLength 2000
3017
+ */
3018
+ appIconUrl?: string;
3001
3019
  }
3002
3020
  /** Status of an app-file build. */
3003
3021
  declare enum Status {
@@ -3108,6 +3126,10 @@ type StartMobileBuildApplicationErrors = {
3108
3126
  code?: 'INTERNAL_DEBUG_STAFF_ONLY';
3109
3127
  description?: string;
3110
3128
  data?: Record<string, any>;
3129
+ } | {
3130
+ code?: 'APP_INFO_MISSING';
3131
+ description?: string;
3132
+ data?: Record<string, any>;
3111
3133
  };
3112
3134
  /**
3113
3135
  * Retrieves a project.
@@ -3392,7 +3414,7 @@ declare function getHimalayaAuthorization(projectId: string): Promise<NonNullabl
3392
3414
  * @applicableIdentity APP
3393
3415
  * @fqn wix.containers.projects.v1.ContainersProjects.StartMobileBuild
3394
3416
  */
3395
- declare function startMobileBuild(projectId: string, platforms: PlatformWithLiterals[], options?: NonNullablePaths<StartMobileBuildOptions, `himalayaControlToken`, 0>): Promise<NonNullablePaths<StartMobileBuildResponse, `builds` | `builds.${number}.jobId` | `builds.${number}.platform` | `builds.${number}.releaseId` | `builds.${number}.appVersion` | `builds.${number}.status` | `builds.${number}.failureKind` | `builds.${number}.himalayaStatus` | `builds.${number}.errorMessage` | `builds.${number}.downloadUrl` | `builds.${number}.installPageUrl` | `builds.${number}.downloadExpired` | `builds.${number}.androidFormat` | `builds.${number}.apkDownloadUrl` | `builds.${number}.buildKind` | `failedPlatforms` | `failedPlatforms.${number}.platform` | `failedPlatforms.${number}.errorCode` | `failedPlatforms.${number}.errorMessage`, 2> & {
3417
+ declare function startMobileBuild(projectId: string, platforms: PlatformWithLiterals[], options?: NonNullablePaths<StartMobileBuildOptions, `himalayaControlToken`, 0>): Promise<NonNullablePaths<StartMobileBuildResponse, `builds` | `builds.${number}.jobId` | `builds.${number}.platform` | `builds.${number}.releaseId` | `builds.${number}.appVersion` | `builds.${number}.status` | `builds.${number}.failureKind` | `builds.${number}.himalayaStatus` | `builds.${number}.errorMessage` | `builds.${number}.downloadUrl` | `builds.${number}.installPageUrl` | `builds.${number}.downloadExpired` | `builds.${number}.androidFormat` | `builds.${number}.apkDownloadUrl` | `builds.${number}.buildKind` | `builds.${number}.appName` | `builds.${number}.appIconUrl` | `failedPlatforms` | `failedPlatforms.${number}.platform` | `failedPlatforms.${number}.errorCode` | `failedPlatforms.${number}.errorMessage`, 2> & {
3396
3418
  __applicationErrorsType?: StartMobileBuildApplicationErrors;
3397
3419
  }>;
3398
3420
  interface StartMobileBuildOptions {
@@ -3403,7 +3425,13 @@ interface StartMobileBuildOptions {
3403
3425
  releaseId?: string;
3404
3426
  /**
3405
3427
  * Version label for the builds, for example `1.2.0`. It's stored with the builds and returned by
3406
- * Get Latest Mobile Builds. It isn't written into the app.
3428
+ * Get Latest Mobile Builds.
3429
+ *
3430
+ * When `androidFormat` is `AAB`, it's also written into the Google Play file as its version name,
3431
+ * so Google Play shows it. It must then be 1 to 3 numbers separated by dots, for example `1.0.2`;
3432
+ * otherwise the build isn't started and the error's `himalayaCode` is `store_build_version_invalid`.
3433
+ * When not specified, the file keeps the build system's own version. Other builds don't write it
3434
+ * into the app.
3407
3435
  * @maxLength 50
3408
3436
  */
3409
3437
  appVersion?: string;
@@ -3466,7 +3494,7 @@ interface StartMobileBuildOptions {
3466
3494
  * @applicableIdentity APP
3467
3495
  * @fqn wix.containers.projects.v1.ContainersProjects.GetLatestMobileBuilds
3468
3496
  */
3469
- declare function getLatestMobileBuilds(projectId: string, options?: GetLatestMobileBuildsOptions): Promise<NonNullablePaths<GetLatestMobileBuildsResponse, `platforms` | `platforms.${number}.platform` | `platforms.${number}.lastAttempt.jobId` | `platforms.${number}.lastAttempt.platform` | `platforms.${number}.lastAttempt.releaseId` | `platforms.${number}.lastAttempt.appVersion` | `platforms.${number}.lastAttempt.status` | `platforms.${number}.lastAttempt.failureKind` | `platforms.${number}.lastAttempt.himalayaStatus` | `platforms.${number}.lastAttempt.errorMessage` | `platforms.${number}.lastAttempt.downloadUrl` | `platforms.${number}.lastAttempt.installPageUrl` | `platforms.${number}.lastAttempt.downloadExpired` | `platforms.${number}.lastAttempt.androidFormat` | `platforms.${number}.lastAttempt.apkDownloadUrl` | `platforms.${number}.lastAttempt.buildKind` | `platforms.${number}.buildKind` | `refreshFailed` | `supportedBuildKinds`, 3>>;
3497
+ declare function getLatestMobileBuilds(projectId: string, options?: GetLatestMobileBuildsOptions): Promise<NonNullablePaths<GetLatestMobileBuildsResponse, `platforms` | `platforms.${number}.platform` | `platforms.${number}.lastAttempt.jobId` | `platforms.${number}.lastAttempt.platform` | `platforms.${number}.lastAttempt.releaseId` | `platforms.${number}.lastAttempt.appVersion` | `platforms.${number}.lastAttempt.status` | `platforms.${number}.lastAttempt.failureKind` | `platforms.${number}.lastAttempt.himalayaStatus` | `platforms.${number}.lastAttempt.errorMessage` | `platforms.${number}.lastAttempt.downloadUrl` | `platforms.${number}.lastAttempt.installPageUrl` | `platforms.${number}.lastAttempt.downloadExpired` | `platforms.${number}.lastAttempt.androidFormat` | `platforms.${number}.lastAttempt.apkDownloadUrl` | `platforms.${number}.lastAttempt.buildKind` | `platforms.${number}.lastAttempt.appName` | `platforms.${number}.lastAttempt.appIconUrl` | `platforms.${number}.buildKind` | `refreshFailed` | `supportedBuildKinds`, 3>>;
3470
3498
  interface GetLatestMobileBuildsOptions {
3471
3499
  /**
3472
3500
  * Short-lived control credential for the project's app.