@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.
- package/build/cjs/index.d.ts +2 -2
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +32 -4
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +23 -1
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +2 -2
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +32 -4
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +23 -1
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +2 -2
- package/build/internal/cjs/index.typings.d.ts +32 -4
- package/build/internal/cjs/meta.d.ts +23 -1
- package/build/internal/es/index.d.mts +2 -2
- package/build/internal/es/index.typings.d.mts +32 -4
- package/build/internal/es/meta.d.mts +23 -1
- package/package.json +2 -2
|
@@ -181,7 +181,7 @@ interface StartMobileBuildSignature {
|
|
|
181
181
|
* @param - ID of the project to build.
|
|
182
182
|
* @param - Platforms to build. One build is started for each platform.
|
|
183
183
|
*/
|
|
184
|
-
(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> & {
|
|
184
|
+
(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> & {
|
|
185
185
|
__applicationErrorsType?: StartMobileBuildApplicationErrors;
|
|
186
186
|
}>;
|
|
187
187
|
}
|
|
@@ -198,7 +198,7 @@ interface GetLatestMobileBuildsSignature {
|
|
|
198
198
|
* before the response. Without it, the stored state is returned as is.
|
|
199
199
|
* @param - ID of the project.
|
|
200
200
|
*/
|
|
201
|
-
(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>>;
|
|
201
|
+
(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>>;
|
|
202
202
|
}
|
|
203
203
|
declare function claimHimalayaApp$1(httpClient: HttpClient): ClaimHimalayaAppSignature;
|
|
204
204
|
interface ClaimHimalayaAppSignature {
|
|
@@ -2853,7 +2853,13 @@ interface StartMobileBuildRequest {
|
|
|
2853
2853
|
releaseId?: string;
|
|
2854
2854
|
/**
|
|
2855
2855
|
* Version label for the builds, for example `1.2.0`. It's stored with the builds and returned by
|
|
2856
|
-
* Get Latest Mobile Builds.
|
|
2856
|
+
* Get Latest Mobile Builds.
|
|
2857
|
+
*
|
|
2858
|
+
* When `androidFormat` is `AAB`, it's also written into the Google Play file as its version name,
|
|
2859
|
+
* so Google Play shows it. It must then be 1 to 3 numbers separated by dots, for example `1.0.2`;
|
|
2860
|
+
* otherwise the build isn't started and the error's `himalayaCode` is `store_build_version_invalid`.
|
|
2861
|
+
* When not specified, the file keeps the build system's own version. Other builds don't write it
|
|
2862
|
+
* into the app.
|
|
2857
2863
|
* @maxLength 50
|
|
2858
2864
|
*/
|
|
2859
2865
|
appVersion?: string;
|
|
@@ -3003,6 +3009,18 @@ interface MobileBuild {
|
|
|
3003
3009
|
apkDownloadUrl?: string;
|
|
3004
3010
|
/** Kind of build. Builds started before the field existed are `STORE`. */
|
|
3005
3011
|
buildKind?: BuildKindWithLiterals;
|
|
3012
|
+
/**
|
|
3013
|
+
* App name that the build shows on the home screen: the project's `name` when the build was started.
|
|
3014
|
+
* Empty for builds started before the field existed, and for `INTERNAL_DEBUG` builds.
|
|
3015
|
+
* @maxLength 200
|
|
3016
|
+
*/
|
|
3017
|
+
appName?: string;
|
|
3018
|
+
/**
|
|
3019
|
+
* URL of the app icon that the build carries: the project's `appIconUrl` when the build was started.
|
|
3020
|
+
* Empty for builds started before the field existed, and for `INTERNAL_DEBUG` builds.
|
|
3021
|
+
* @maxLength 2000
|
|
3022
|
+
*/
|
|
3023
|
+
appIconUrl?: string;
|
|
3006
3024
|
}
|
|
3007
3025
|
/** Status of an app-file build. */
|
|
3008
3026
|
declare enum Status {
|
|
@@ -3113,6 +3131,10 @@ type StartMobileBuildApplicationErrors = {
|
|
|
3113
3131
|
code?: 'INTERNAL_DEBUG_STAFF_ONLY';
|
|
3114
3132
|
description?: string;
|
|
3115
3133
|
data?: Record<string, any>;
|
|
3134
|
+
} | {
|
|
3135
|
+
code?: 'APP_INFO_MISSING';
|
|
3136
|
+
description?: string;
|
|
3137
|
+
data?: Record<string, any>;
|
|
3116
3138
|
};
|
|
3117
3139
|
/**
|
|
3118
3140
|
* Creates a project from a template.
|
|
@@ -3478,7 +3500,7 @@ declare function getHimalayaAuthorization(projectId: string): Promise<NonNullabl
|
|
|
3478
3500
|
* @applicableIdentity APP
|
|
3479
3501
|
* @fqn wix.containers.projects.v1.ContainersProjects.StartMobileBuild
|
|
3480
3502
|
*/
|
|
3481
|
-
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> & {
|
|
3503
|
+
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> & {
|
|
3482
3504
|
__applicationErrorsType?: StartMobileBuildApplicationErrors;
|
|
3483
3505
|
}>;
|
|
3484
3506
|
interface StartMobileBuildOptions {
|
|
@@ -3489,7 +3511,13 @@ interface StartMobileBuildOptions {
|
|
|
3489
3511
|
releaseId?: string;
|
|
3490
3512
|
/**
|
|
3491
3513
|
* Version label for the builds, for example `1.2.0`. It's stored with the builds and returned by
|
|
3492
|
-
* Get Latest Mobile Builds.
|
|
3514
|
+
* Get Latest Mobile Builds.
|
|
3515
|
+
*
|
|
3516
|
+
* When `androidFormat` is `AAB`, it's also written into the Google Play file as its version name,
|
|
3517
|
+
* so Google Play shows it. It must then be 1 to 3 numbers separated by dots, for example `1.0.2`;
|
|
3518
|
+
* otherwise the build isn't started and the error's `himalayaCode` is `store_build_version_invalid`.
|
|
3519
|
+
* When not specified, the file keeps the build system's own version. Other builds don't write it
|
|
3520
|
+
* into the app.
|
|
3493
3521
|
* @maxLength 50
|
|
3494
3522
|
*/
|
|
3495
3523
|
appVersion?: string;
|
|
@@ -3552,7 +3580,7 @@ interface StartMobileBuildOptions {
|
|
|
3552
3580
|
* @applicableIdentity APP
|
|
3553
3581
|
* @fqn wix.containers.projects.v1.ContainersProjects.GetLatestMobileBuilds
|
|
3554
3582
|
*/
|
|
3555
|
-
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>>;
|
|
3583
|
+
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>>;
|
|
3556
3584
|
interface GetLatestMobileBuildsOptions {
|
|
3557
3585
|
/**
|
|
3558
3586
|
* Short-lived control credential for the project's app.
|
|
@@ -2898,7 +2898,13 @@ interface StartMobileBuildRequest {
|
|
|
2898
2898
|
releaseId?: string;
|
|
2899
2899
|
/**
|
|
2900
2900
|
* Version label for the builds, for example `1.2.0`. It's stored with the builds and returned by
|
|
2901
|
-
* Get Latest Mobile Builds.
|
|
2901
|
+
* Get Latest Mobile Builds.
|
|
2902
|
+
*
|
|
2903
|
+
* When `androidFormat` is `AAB`, it's also written into the Google Play file as its version name,
|
|
2904
|
+
* so Google Play shows it. It must then be 1 to 3 numbers separated by dots, for example `1.0.2`;
|
|
2905
|
+
* otherwise the build isn't started and the error's `himalayaCode` is `store_build_version_invalid`.
|
|
2906
|
+
* When not specified, the file keeps the build system's own version. Other builds don't write it
|
|
2907
|
+
* into the app.
|
|
2902
2908
|
* @maxLength 50
|
|
2903
2909
|
*/
|
|
2904
2910
|
appVersion?: string;
|
|
@@ -3048,6 +3054,18 @@ interface MobileBuild {
|
|
|
3048
3054
|
apkDownloadUrl?: string;
|
|
3049
3055
|
/** Kind of build. Builds started before the field existed are `STORE`. */
|
|
3050
3056
|
buildKind?: BuildKindWithLiterals;
|
|
3057
|
+
/**
|
|
3058
|
+
* App name that the build shows on the home screen: the project's `name` when the build was started.
|
|
3059
|
+
* Empty for builds started before the field existed, and for `INTERNAL_DEBUG` builds.
|
|
3060
|
+
* @maxLength 200
|
|
3061
|
+
*/
|
|
3062
|
+
appName?: string;
|
|
3063
|
+
/**
|
|
3064
|
+
* URL of the app icon that the build carries: the project's `appIconUrl` when the build was started.
|
|
3065
|
+
* Empty for builds started before the field existed, and for `INTERNAL_DEBUG` builds.
|
|
3066
|
+
* @maxLength 2000
|
|
3067
|
+
*/
|
|
3068
|
+
appIconUrl?: string;
|
|
3051
3069
|
}
|
|
3052
3070
|
/** Status of an app-file build. */
|
|
3053
3071
|
declare enum Status {
|
|
@@ -3158,6 +3176,10 @@ type StartMobileBuildApplicationErrors = {
|
|
|
3158
3176
|
code?: 'INTERNAL_DEBUG_STAFF_ONLY';
|
|
3159
3177
|
description?: string;
|
|
3160
3178
|
data?: Record<string, any>;
|
|
3179
|
+
} | {
|
|
3180
|
+
code?: 'APP_INFO_MISSING';
|
|
3181
|
+
description?: string;
|
|
3182
|
+
data?: Record<string, any>;
|
|
3161
3183
|
};
|
|
3162
3184
|
|
|
3163
3185
|
type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
@@ -181,7 +181,7 @@ interface StartMobileBuildSignature {
|
|
|
181
181
|
* @param - ID of the project to build.
|
|
182
182
|
* @param - Platforms to build. One build is started for each platform.
|
|
183
183
|
*/
|
|
184
|
-
(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> & {
|
|
184
|
+
(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> & {
|
|
185
185
|
__applicationErrorsType?: StartMobileBuildApplicationErrors;
|
|
186
186
|
}>;
|
|
187
187
|
}
|
|
@@ -198,7 +198,7 @@ interface GetLatestMobileBuildsSignature {
|
|
|
198
198
|
* before the response. Without it, the stored state is returned as is.
|
|
199
199
|
* @param - ID of the project.
|
|
200
200
|
*/
|
|
201
|
-
(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>>;
|
|
201
|
+
(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>>;
|
|
202
202
|
}
|
|
203
203
|
declare function claimHimalayaApp$1(httpClient: HttpClient): ClaimHimalayaAppSignature;
|
|
204
204
|
interface ClaimHimalayaAppSignature {
|
|
@@ -2853,7 +2853,13 @@ interface StartMobileBuildRequest {
|
|
|
2853
2853
|
releaseId?: string;
|
|
2854
2854
|
/**
|
|
2855
2855
|
* Version label for the builds, for example `1.2.0`. It's stored with the builds and returned by
|
|
2856
|
-
* Get Latest Mobile Builds.
|
|
2856
|
+
* Get Latest Mobile Builds.
|
|
2857
|
+
*
|
|
2858
|
+
* When `androidFormat` is `AAB`, it's also written into the Google Play file as its version name,
|
|
2859
|
+
* so Google Play shows it. It must then be 1 to 3 numbers separated by dots, for example `1.0.2`;
|
|
2860
|
+
* otherwise the build isn't started and the error's `himalayaCode` is `store_build_version_invalid`.
|
|
2861
|
+
* When not specified, the file keeps the build system's own version. Other builds don't write it
|
|
2862
|
+
* into the app.
|
|
2857
2863
|
* @maxLength 50
|
|
2858
2864
|
*/
|
|
2859
2865
|
appVersion?: string;
|
|
@@ -3003,6 +3009,18 @@ interface MobileBuild {
|
|
|
3003
3009
|
apkDownloadUrl?: string;
|
|
3004
3010
|
/** Kind of build. Builds started before the field existed are `STORE`. */
|
|
3005
3011
|
buildKind?: BuildKindWithLiterals;
|
|
3012
|
+
/**
|
|
3013
|
+
* App name that the build shows on the home screen: the project's `name` when the build was started.
|
|
3014
|
+
* Empty for builds started before the field existed, and for `INTERNAL_DEBUG` builds.
|
|
3015
|
+
* @maxLength 200
|
|
3016
|
+
*/
|
|
3017
|
+
appName?: string;
|
|
3018
|
+
/**
|
|
3019
|
+
* URL of the app icon that the build carries: the project's `appIconUrl` when the build was started.
|
|
3020
|
+
* Empty for builds started before the field existed, and for `INTERNAL_DEBUG` builds.
|
|
3021
|
+
* @maxLength 2000
|
|
3022
|
+
*/
|
|
3023
|
+
appIconUrl?: string;
|
|
3006
3024
|
}
|
|
3007
3025
|
/** Status of an app-file build. */
|
|
3008
3026
|
declare enum Status {
|
|
@@ -3113,6 +3131,10 @@ type StartMobileBuildApplicationErrors = {
|
|
|
3113
3131
|
code?: 'INTERNAL_DEBUG_STAFF_ONLY';
|
|
3114
3132
|
description?: string;
|
|
3115
3133
|
data?: Record<string, any>;
|
|
3134
|
+
} | {
|
|
3135
|
+
code?: 'APP_INFO_MISSING';
|
|
3136
|
+
description?: string;
|
|
3137
|
+
data?: Record<string, any>;
|
|
3116
3138
|
};
|
|
3117
3139
|
/**
|
|
3118
3140
|
* Creates a project from a template.
|
|
@@ -3478,7 +3500,7 @@ declare function getHimalayaAuthorization(projectId: string): Promise<NonNullabl
|
|
|
3478
3500
|
* @applicableIdentity APP
|
|
3479
3501
|
* @fqn wix.containers.projects.v1.ContainersProjects.StartMobileBuild
|
|
3480
3502
|
*/
|
|
3481
|
-
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> & {
|
|
3503
|
+
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> & {
|
|
3482
3504
|
__applicationErrorsType?: StartMobileBuildApplicationErrors;
|
|
3483
3505
|
}>;
|
|
3484
3506
|
interface StartMobileBuildOptions {
|
|
@@ -3489,7 +3511,13 @@ interface StartMobileBuildOptions {
|
|
|
3489
3511
|
releaseId?: string;
|
|
3490
3512
|
/**
|
|
3491
3513
|
* Version label for the builds, for example `1.2.0`. It's stored with the builds and returned by
|
|
3492
|
-
* Get Latest Mobile Builds.
|
|
3514
|
+
* Get Latest Mobile Builds.
|
|
3515
|
+
*
|
|
3516
|
+
* When `androidFormat` is `AAB`, it's also written into the Google Play file as its version name,
|
|
3517
|
+
* so Google Play shows it. It must then be 1 to 3 numbers separated by dots, for example `1.0.2`;
|
|
3518
|
+
* otherwise the build isn't started and the error's `himalayaCode` is `store_build_version_invalid`.
|
|
3519
|
+
* When not specified, the file keeps the build system's own version. Other builds don't write it
|
|
3520
|
+
* into the app.
|
|
3493
3521
|
* @maxLength 50
|
|
3494
3522
|
*/
|
|
3495
3523
|
appVersion?: string;
|
|
@@ -3552,7 +3580,7 @@ interface StartMobileBuildOptions {
|
|
|
3552
3580
|
* @applicableIdentity APP
|
|
3553
3581
|
* @fqn wix.containers.projects.v1.ContainersProjects.GetLatestMobileBuilds
|
|
3554
3582
|
*/
|
|
3555
|
-
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>>;
|
|
3583
|
+
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>>;
|
|
3556
3584
|
interface GetLatestMobileBuildsOptions {
|
|
3557
3585
|
/**
|
|
3558
3586
|
* Short-lived control credential for the project's app.
|
|
@@ -2898,7 +2898,13 @@ interface StartMobileBuildRequest {
|
|
|
2898
2898
|
releaseId?: string;
|
|
2899
2899
|
/**
|
|
2900
2900
|
* Version label for the builds, for example `1.2.0`. It's stored with the builds and returned by
|
|
2901
|
-
* Get Latest Mobile Builds.
|
|
2901
|
+
* Get Latest Mobile Builds.
|
|
2902
|
+
*
|
|
2903
|
+
* When `androidFormat` is `AAB`, it's also written into the Google Play file as its version name,
|
|
2904
|
+
* so Google Play shows it. It must then be 1 to 3 numbers separated by dots, for example `1.0.2`;
|
|
2905
|
+
* otherwise the build isn't started and the error's `himalayaCode` is `store_build_version_invalid`.
|
|
2906
|
+
* When not specified, the file keeps the build system's own version. Other builds don't write it
|
|
2907
|
+
* into the app.
|
|
2902
2908
|
* @maxLength 50
|
|
2903
2909
|
*/
|
|
2904
2910
|
appVersion?: string;
|
|
@@ -3048,6 +3054,18 @@ interface MobileBuild {
|
|
|
3048
3054
|
apkDownloadUrl?: string;
|
|
3049
3055
|
/** Kind of build. Builds started before the field existed are `STORE`. */
|
|
3050
3056
|
buildKind?: BuildKindWithLiterals;
|
|
3057
|
+
/**
|
|
3058
|
+
* App name that the build shows on the home screen: the project's `name` when the build was started.
|
|
3059
|
+
* Empty for builds started before the field existed, and for `INTERNAL_DEBUG` builds.
|
|
3060
|
+
* @maxLength 200
|
|
3061
|
+
*/
|
|
3062
|
+
appName?: string;
|
|
3063
|
+
/**
|
|
3064
|
+
* URL of the app icon that the build carries: the project's `appIconUrl` when the build was started.
|
|
3065
|
+
* Empty for builds started before the field existed, and for `INTERNAL_DEBUG` builds.
|
|
3066
|
+
* @maxLength 2000
|
|
3067
|
+
*/
|
|
3068
|
+
appIconUrl?: string;
|
|
3051
3069
|
}
|
|
3052
3070
|
/** Status of an app-file build. */
|
|
3053
3071
|
declare enum Status {
|
|
@@ -3158,6 +3176,10 @@ type StartMobileBuildApplicationErrors = {
|
|
|
3158
3176
|
code?: 'INTERNAL_DEBUG_STAFF_ONLY';
|
|
3159
3177
|
description?: string;
|
|
3160
3178
|
data?: Record<string, any>;
|
|
3179
|
+
} | {
|
|
3180
|
+
code?: 'APP_INFO_MISSING';
|
|
3181
|
+
description?: string;
|
|
3182
|
+
data?: Record<string, any>;
|
|
3161
3183
|
};
|
|
3162
3184
|
|
|
3163
3185
|
type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/auto_sdk_containers_projects",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.29",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/",
|
|
@@ -50,5 +50,5 @@
|
|
|
50
50
|
"fqdn": "wix.containers.projects.v1.project"
|
|
51
51
|
}
|
|
52
52
|
},
|
|
53
|
-
"falconPackageHash": "
|
|
53
|
+
"falconPackageHash": "abbe58c97147d93d2b644cabbe502686cb8589c1257001dfe90878fb"
|
|
54
54
|
}
|