@wix/auto_sdk_containers_projects 1.0.24 → 1.0.25
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.js.map +1 -1
- package/build/cjs/index.typings.d.ts +76 -34
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +64 -26
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +76 -34
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +64 -26
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +76 -34
- package/build/internal/cjs/meta.d.ts +64 -26
- package/build/internal/es/index.typings.d.mts +76 -34
- package/build/internal/es/meta.d.mts +64 -26
- package/package.json +2 -2
|
@@ -90,8 +90,9 @@ interface Project {
|
|
|
90
90
|
*/
|
|
91
91
|
headReleaseId?: string | null;
|
|
92
92
|
/**
|
|
93
|
-
*
|
|
94
|
-
*
|
|
93
|
+
* Migration details of the project.
|
|
94
|
+
*
|
|
95
|
+
* Returned only for projects that were created by a migration.
|
|
95
96
|
* @readonly
|
|
96
97
|
*/
|
|
97
98
|
oneAppMigration?: OneAppMigration;
|
|
@@ -131,47 +132,81 @@ declare enum V1Platform {
|
|
|
131
132
|
}
|
|
132
133
|
/** @enumType */
|
|
133
134
|
type V1PlatformWithLiterals = V1Platform | 'IOS' | 'ANDROID' | 'HIMALAYA_MOBILE';
|
|
134
|
-
/**
|
|
135
|
+
/** Migration details of a project. */
|
|
135
136
|
interface OneAppMigration {
|
|
137
|
+
/** Migration state. */
|
|
136
138
|
state?: OneAppMigrationStateWithLiterals;
|
|
137
139
|
/**
|
|
138
|
-
*
|
|
140
|
+
* ID of the release that was offered to the site owner.
|
|
141
|
+
*
|
|
142
|
+
* Returned only when `state` is `OFFERED` or `ACCEPTED`.
|
|
139
143
|
* @maxLength 200
|
|
140
144
|
*/
|
|
141
145
|
offeredReleaseId?: string | null;
|
|
142
|
-
/**
|
|
146
|
+
/**
|
|
147
|
+
* ID of the Wix site that the project was migrated from.
|
|
148
|
+
* @format GUID
|
|
149
|
+
*/
|
|
143
150
|
sourceMetaSiteId?: string;
|
|
144
|
-
/**
|
|
151
|
+
/**
|
|
152
|
+
* ID of the migration job that's currently running.
|
|
153
|
+
* @format GUID
|
|
154
|
+
*/
|
|
145
155
|
activeJobId?: string | null;
|
|
146
|
-
/**
|
|
156
|
+
/**
|
|
157
|
+
* ID of the release that the running migration job started from.
|
|
158
|
+
* @maxLength 200
|
|
159
|
+
*/
|
|
147
160
|
activeBaseReleaseId?: string | null;
|
|
161
|
+
/** Whether the migrated project is reserved to be offered to the site owner. */
|
|
148
162
|
offerReserved?: boolean;
|
|
149
|
-
/**
|
|
163
|
+
/** Date and time until which a running migration job can still write to the project. */
|
|
150
164
|
workerWriteDrainUntil?: Date | null;
|
|
151
|
-
/**
|
|
165
|
+
/**
|
|
166
|
+
* Type of the migration job that's currently running.
|
|
167
|
+
* @maxLength 50
|
|
168
|
+
*/
|
|
152
169
|
activeJobType?: string;
|
|
153
|
-
/**
|
|
170
|
+
/**
|
|
171
|
+
* ID of the request that started the running migration job.
|
|
172
|
+
* @format GUID
|
|
173
|
+
*/
|
|
154
174
|
activeRequestId?: string | null;
|
|
155
175
|
/**
|
|
156
|
-
*
|
|
176
|
+
* Fingerprint of the request that started the running migration job.
|
|
157
177
|
* @maxLength 64
|
|
158
178
|
*/
|
|
159
179
|
activeRequestFingerprint?: string;
|
|
160
|
-
/**
|
|
180
|
+
/**
|
|
181
|
+
* ID of the earlier migration job that the running job retries.
|
|
182
|
+
* @format GUID
|
|
183
|
+
*/
|
|
161
184
|
activeRetryOfJobId?: string | null;
|
|
162
|
-
/**
|
|
185
|
+
/**
|
|
186
|
+
* ID of the release that the last migration job produced and that was verified.
|
|
187
|
+
* @maxLength 200
|
|
188
|
+
*/
|
|
163
189
|
verifiedReleaseId?: string | null;
|
|
164
|
-
/**
|
|
190
|
+
/**
|
|
191
|
+
* Hash of the email address of the developer who started the running migration job.
|
|
192
|
+
* @maxLength 64
|
|
193
|
+
*/
|
|
165
194
|
activeDeveloperEmailSha256?: string;
|
|
166
195
|
/**
|
|
167
|
-
*
|
|
196
|
+
* Date and time the migration failed to start.
|
|
197
|
+
*
|
|
198
|
+
* Returned only when the migration failed before its first job was recorded.
|
|
168
199
|
* @readonly
|
|
169
200
|
*/
|
|
170
201
|
startupFailedAt?: Date | null;
|
|
171
202
|
}
|
|
203
|
+
/** Migration state of a project. */
|
|
172
204
|
declare enum OneAppMigrationState {
|
|
205
|
+
/** The migrated project is a draft that isn't offered to the site owner yet. */
|
|
173
206
|
DRAFT = "DRAFT",
|
|
207
|
+
/** The migrated project is offered to the site owner. */
|
|
174
208
|
OFFERED = "OFFERED",
|
|
209
|
+
/** The site owner accepted the migrated project. */
|
|
175
210
|
ACCEPTED = "ACCEPTED"
|
|
176
211
|
}
|
|
177
212
|
/** @enumType */
|
|
@@ -2613,24 +2648,27 @@ interface StartMobileBuildRequest {
|
|
|
2613
2648
|
*/
|
|
2614
2649
|
canonicalApp?: string;
|
|
2615
2650
|
/**
|
|
2616
|
-
* Android only. Kind of file to build.
|
|
2651
|
+
* Android only. Kind of file to build.
|
|
2617
2652
|
*
|
|
2618
|
-
* `AAB` builds the file to upload to Google Play, under the package name saved for the app
|
|
2619
|
-
*
|
|
2653
|
+
* `AAB` builds the file to upload to Google Play, under the package name saved for the app. With
|
|
2654
|
+
* `AAB`, `platforms` must contain only `ANDROID`, and `ownerAuthorization` is required.
|
|
2655
|
+
*
|
|
2656
|
+
* Default: `APK`
|
|
2620
2657
|
*/
|
|
2621
2658
|
androidFormat?: AndroidFormatWithLiterals;
|
|
2622
2659
|
/**
|
|
2623
2660
|
* The site owner's dashboard authorization: the signed `Authorization` header of this request.
|
|
2624
|
-
*
|
|
2661
|
+
*
|
|
2662
|
+
* Required when `androidFormat` is `AAB`, to confirm that the caller owns the site.
|
|
2625
2663
|
*
|
|
2626
2664
|
* Used for this call only. It isn't stored or returned.
|
|
2627
2665
|
* @maxLength 4096
|
|
2628
2666
|
*/
|
|
2629
2667
|
ownerAuthorization?: string;
|
|
2630
2668
|
/**
|
|
2631
|
-
* Kind of build.
|
|
2669
|
+
* Kind of build.
|
|
2632
2670
|
*
|
|
2633
|
-
* `
|
|
2671
|
+
* Default: `STORE`
|
|
2634
2672
|
*/
|
|
2635
2673
|
buildKind?: BuildKindWithLiterals;
|
|
2636
2674
|
}
|
|
@@ -2656,7 +2694,7 @@ type AndroidFormatWithLiterals = AndroidFormat | 'APK' | 'AAB';
|
|
|
2656
2694
|
declare enum BuildKind {
|
|
2657
2695
|
/** A build of the owner's app, to install and test or to submit to a store. */
|
|
2658
2696
|
STORE = "STORE",
|
|
2659
|
-
/**
|
|
2697
|
+
/** Debug build. */
|
|
2660
2698
|
INTERNAL_DEBUG = "INTERNAL_DEBUG"
|
|
2661
2699
|
}
|
|
2662
2700
|
/** @enumType */
|
|
@@ -2732,7 +2770,7 @@ interface MobileBuild {
|
|
|
2732
2770
|
androidFormat?: AndroidFormatWithLiterals;
|
|
2733
2771
|
/**
|
|
2734
2772
|
* Android `AAB` builds only. URL of an `.apk` file of the same build, to install on a phone and test.
|
|
2735
|
-
* Returned only when `status` is `SUCCEEDED`. Can be empty. Expires with `
|
|
2773
|
+
* Returned only when `status` is `SUCCEEDED`. Can be empty. Expires with `downloadUrl`.
|
|
2736
2774
|
* @format WEB_URL
|
|
2737
2775
|
*/
|
|
2738
2776
|
apkDownloadUrl?: string;
|
|
@@ -2793,15 +2831,15 @@ interface GetLatestMobileBuildsRequest {
|
|
|
2793
2831
|
}
|
|
2794
2832
|
interface GetLatestMobileBuildsResponse {
|
|
2795
2833
|
/**
|
|
2796
|
-
* Latest builds for each platform: iOS first, then Android.
|
|
2797
|
-
* entry follows for each platform that has a debug build.
|
|
2834
|
+
* Latest builds for each platform: iOS first, then Android.
|
|
2798
2835
|
* @maxSize 4
|
|
2799
2836
|
*/
|
|
2800
2837
|
platforms?: PlatformMobileBuilds[];
|
|
2801
2838
|
/** Whether refreshing builds in progress failed. When `true`, the stored state is returned. */
|
|
2802
2839
|
refreshFailed?: boolean;
|
|
2803
2840
|
/**
|
|
2804
|
-
* Kinds of build that
|
|
2841
|
+
* Kinds of build that the caller can start with
|
|
2842
|
+
* [Start Mobile Build](https://dev.wix.com/docs/api-reference/mobile/containers-app/containers-projects/project-v1/start-mobile-build).
|
|
2805
2843
|
* @maxSize 2
|
|
2806
2844
|
*/
|
|
2807
2845
|
supportedBuildKinds?: BuildKindWithLiterals[];
|
|
@@ -2946,8 +2984,9 @@ interface UpdateProject {
|
|
|
2946
2984
|
*/
|
|
2947
2985
|
headReleaseId?: string | null;
|
|
2948
2986
|
/**
|
|
2949
|
-
*
|
|
2950
|
-
*
|
|
2987
|
+
* Migration details of the project.
|
|
2988
|
+
*
|
|
2989
|
+
* Returned only for projects that were created by a migration.
|
|
2951
2990
|
* @readonly
|
|
2952
2991
|
*/
|
|
2953
2992
|
oneAppMigration?: OneAppMigration;
|
|
@@ -3164,24 +3203,27 @@ interface StartMobileBuildOptions {
|
|
|
3164
3203
|
*/
|
|
3165
3204
|
canonicalApp?: string;
|
|
3166
3205
|
/**
|
|
3167
|
-
* Android only. Kind of file to build.
|
|
3206
|
+
* Android only. Kind of file to build.
|
|
3168
3207
|
*
|
|
3169
|
-
* `AAB` builds the file to upload to Google Play, under the package name saved for the app
|
|
3170
|
-
*
|
|
3208
|
+
* `AAB` builds the file to upload to Google Play, under the package name saved for the app. With
|
|
3209
|
+
* `AAB`, `platforms` must contain only `ANDROID`, and `ownerAuthorization` is required.
|
|
3210
|
+
*
|
|
3211
|
+
* Default: `APK`
|
|
3171
3212
|
*/
|
|
3172
3213
|
androidFormat?: AndroidFormatWithLiterals;
|
|
3173
3214
|
/**
|
|
3174
3215
|
* The site owner's dashboard authorization: the signed `Authorization` header of this request.
|
|
3175
|
-
*
|
|
3216
|
+
*
|
|
3217
|
+
* Required when `androidFormat` is `AAB`, to confirm that the caller owns the site.
|
|
3176
3218
|
*
|
|
3177
3219
|
* Used for this call only. It isn't stored or returned.
|
|
3178
3220
|
* @maxLength 4096
|
|
3179
3221
|
*/
|
|
3180
3222
|
ownerAuthorization?: string;
|
|
3181
3223
|
/**
|
|
3182
|
-
* Kind of build.
|
|
3224
|
+
* Kind of build.
|
|
3183
3225
|
*
|
|
3184
|
-
* `
|
|
3226
|
+
* Default: `STORE`
|
|
3185
3227
|
*/
|
|
3186
3228
|
buildKind?: BuildKindWithLiterals;
|
|
3187
3229
|
}
|