@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 */
|
|
@@ -2618,24 +2653,27 @@ interface StartMobileBuildRequest {
|
|
|
2618
2653
|
*/
|
|
2619
2654
|
canonicalApp?: string;
|
|
2620
2655
|
/**
|
|
2621
|
-
* Android only. Kind of file to build.
|
|
2656
|
+
* Android only. Kind of file to build.
|
|
2622
2657
|
*
|
|
2623
|
-
* `AAB` builds the file to upload to Google Play, under the package name saved for the app
|
|
2624
|
-
*
|
|
2658
|
+
* `AAB` builds the file to upload to Google Play, under the package name saved for the app. With
|
|
2659
|
+
* `AAB`, `platforms` must contain only `ANDROID`, and `ownerAuthorization` is required.
|
|
2660
|
+
*
|
|
2661
|
+
* Default: `APK`
|
|
2625
2662
|
*/
|
|
2626
2663
|
androidFormat?: AndroidFormatWithLiterals;
|
|
2627
2664
|
/**
|
|
2628
2665
|
* The site owner's dashboard authorization: the signed `Authorization` header of this request.
|
|
2629
|
-
*
|
|
2666
|
+
*
|
|
2667
|
+
* Required when `androidFormat` is `AAB`, to confirm that the caller owns the site.
|
|
2630
2668
|
*
|
|
2631
2669
|
* Used for this call only. It isn't stored or returned.
|
|
2632
2670
|
* @maxLength 4096
|
|
2633
2671
|
*/
|
|
2634
2672
|
ownerAuthorization?: string;
|
|
2635
2673
|
/**
|
|
2636
|
-
* Kind of build.
|
|
2674
|
+
* Kind of build.
|
|
2637
2675
|
*
|
|
2638
|
-
* `
|
|
2676
|
+
* Default: `STORE`
|
|
2639
2677
|
*/
|
|
2640
2678
|
buildKind?: BuildKindWithLiterals;
|
|
2641
2679
|
}
|
|
@@ -2661,7 +2699,7 @@ type AndroidFormatWithLiterals = AndroidFormat | 'APK' | 'AAB';
|
|
|
2661
2699
|
declare enum BuildKind {
|
|
2662
2700
|
/** A build of the owner's app, to install and test or to submit to a store. */
|
|
2663
2701
|
STORE = "STORE",
|
|
2664
|
-
/**
|
|
2702
|
+
/** Debug build. */
|
|
2665
2703
|
INTERNAL_DEBUG = "INTERNAL_DEBUG"
|
|
2666
2704
|
}
|
|
2667
2705
|
/** @enumType */
|
|
@@ -2737,7 +2775,7 @@ interface MobileBuild {
|
|
|
2737
2775
|
androidFormat?: AndroidFormatWithLiterals;
|
|
2738
2776
|
/**
|
|
2739
2777
|
* Android `AAB` builds only. URL of an `.apk` file of the same build, to install on a phone and test.
|
|
2740
|
-
* Returned only when `status` is `SUCCEEDED`. Can be empty. Expires with `
|
|
2778
|
+
* Returned only when `status` is `SUCCEEDED`. Can be empty. Expires with `downloadUrl`.
|
|
2741
2779
|
* @format WEB_URL
|
|
2742
2780
|
*/
|
|
2743
2781
|
apkDownloadUrl?: string;
|
|
@@ -2798,15 +2836,15 @@ interface GetLatestMobileBuildsRequest {
|
|
|
2798
2836
|
}
|
|
2799
2837
|
interface GetLatestMobileBuildsResponse {
|
|
2800
2838
|
/**
|
|
2801
|
-
* Latest builds for each platform: iOS first, then Android.
|
|
2802
|
-
* entry follows for each platform that has a debug build.
|
|
2839
|
+
* Latest builds for each platform: iOS first, then Android.
|
|
2803
2840
|
* @maxSize 4
|
|
2804
2841
|
*/
|
|
2805
2842
|
platforms?: PlatformMobileBuilds[];
|
|
2806
2843
|
/** Whether refreshing builds in progress failed. When `true`, the stored state is returned. */
|
|
2807
2844
|
refreshFailed?: boolean;
|
|
2808
2845
|
/**
|
|
2809
|
-
* Kinds of build that
|
|
2846
|
+
* Kinds of build that the caller can start with
|
|
2847
|
+
* [Start Mobile Build](https://dev.wix.com/docs/api-reference/mobile/containers-app/containers-projects/project-v1/start-mobile-build).
|
|
2810
2848
|
* @maxSize 2
|
|
2811
2849
|
*/
|
|
2812
2850
|
supportedBuildKinds?: BuildKindWithLiterals[];
|
|
@@ -2983,8 +3021,9 @@ interface UpdateProject {
|
|
|
2983
3021
|
*/
|
|
2984
3022
|
headReleaseId?: string | null;
|
|
2985
3023
|
/**
|
|
2986
|
-
*
|
|
2987
|
-
*
|
|
3024
|
+
* Migration details of the project.
|
|
3025
|
+
*
|
|
3026
|
+
* Returned only for projects that were created by a migration.
|
|
2988
3027
|
* @readonly
|
|
2989
3028
|
*/
|
|
2990
3029
|
oneAppMigration?: OneAppMigration;
|
|
@@ -3250,24 +3289,27 @@ interface StartMobileBuildOptions {
|
|
|
3250
3289
|
*/
|
|
3251
3290
|
canonicalApp?: string;
|
|
3252
3291
|
/**
|
|
3253
|
-
* Android only. Kind of file to build.
|
|
3292
|
+
* Android only. Kind of file to build.
|
|
3254
3293
|
*
|
|
3255
|
-
* `AAB` builds the file to upload to Google Play, under the package name saved for the app
|
|
3256
|
-
*
|
|
3294
|
+
* `AAB` builds the file to upload to Google Play, under the package name saved for the app. With
|
|
3295
|
+
* `AAB`, `platforms` must contain only `ANDROID`, and `ownerAuthorization` is required.
|
|
3296
|
+
*
|
|
3297
|
+
* Default: `APK`
|
|
3257
3298
|
*/
|
|
3258
3299
|
androidFormat?: AndroidFormatWithLiterals;
|
|
3259
3300
|
/**
|
|
3260
3301
|
* The site owner's dashboard authorization: the signed `Authorization` header of this request.
|
|
3261
|
-
*
|
|
3302
|
+
*
|
|
3303
|
+
* Required when `androidFormat` is `AAB`, to confirm that the caller owns the site.
|
|
3262
3304
|
*
|
|
3263
3305
|
* Used for this call only. It isn't stored or returned.
|
|
3264
3306
|
* @maxLength 4096
|
|
3265
3307
|
*/
|
|
3266
3308
|
ownerAuthorization?: string;
|
|
3267
3309
|
/**
|
|
3268
|
-
* Kind of build.
|
|
3310
|
+
* Kind of build.
|
|
3269
3311
|
*
|
|
3270
|
-
* `
|
|
3312
|
+
* Default: `STORE`
|
|
3271
3313
|
*/
|
|
3272
3314
|
buildKind?: BuildKindWithLiterals;
|
|
3273
3315
|
}
|
|
@@ -91,8 +91,9 @@ interface Project {
|
|
|
91
91
|
*/
|
|
92
92
|
headReleaseId?: string | null;
|
|
93
93
|
/**
|
|
94
|
-
*
|
|
95
|
-
*
|
|
94
|
+
* Migration details of the project.
|
|
95
|
+
*
|
|
96
|
+
* Returned only for projects that were created by a migration.
|
|
96
97
|
* @readonly
|
|
97
98
|
*/
|
|
98
99
|
oneAppMigration?: OneAppMigration;
|
|
@@ -132,47 +133,81 @@ declare enum V1Platform {
|
|
|
132
133
|
}
|
|
133
134
|
/** @enumType */
|
|
134
135
|
type V1PlatformWithLiterals = V1Platform | 'IOS' | 'ANDROID' | 'HIMALAYA_MOBILE';
|
|
135
|
-
/**
|
|
136
|
+
/** Migration details of a project. */
|
|
136
137
|
interface OneAppMigration {
|
|
138
|
+
/** Migration state. */
|
|
137
139
|
state?: OneAppMigrationStateWithLiterals;
|
|
138
140
|
/**
|
|
139
|
-
*
|
|
141
|
+
* ID of the release that was offered to the site owner.
|
|
142
|
+
*
|
|
143
|
+
* Returned only when `state` is `OFFERED` or `ACCEPTED`.
|
|
140
144
|
* @maxLength 200
|
|
141
145
|
*/
|
|
142
146
|
offeredReleaseId?: string | null;
|
|
143
|
-
/**
|
|
147
|
+
/**
|
|
148
|
+
* ID of the Wix site that the project was migrated from.
|
|
149
|
+
* @format GUID
|
|
150
|
+
*/
|
|
144
151
|
sourceMetaSiteId?: string;
|
|
145
|
-
/**
|
|
152
|
+
/**
|
|
153
|
+
* ID of the migration job that's currently running.
|
|
154
|
+
* @format GUID
|
|
155
|
+
*/
|
|
146
156
|
activeJobId?: string | null;
|
|
147
|
-
/**
|
|
157
|
+
/**
|
|
158
|
+
* ID of the release that the running migration job started from.
|
|
159
|
+
* @maxLength 200
|
|
160
|
+
*/
|
|
148
161
|
activeBaseReleaseId?: string | null;
|
|
162
|
+
/** Whether the migrated project is reserved to be offered to the site owner. */
|
|
149
163
|
offerReserved?: boolean;
|
|
150
|
-
/**
|
|
164
|
+
/** Date and time until which a running migration job can still write to the project. */
|
|
151
165
|
workerWriteDrainUntil?: Date | null;
|
|
152
|
-
/**
|
|
166
|
+
/**
|
|
167
|
+
* Type of the migration job that's currently running.
|
|
168
|
+
* @maxLength 50
|
|
169
|
+
*/
|
|
153
170
|
activeJobType?: string;
|
|
154
|
-
/**
|
|
171
|
+
/**
|
|
172
|
+
* ID of the request that started the running migration job.
|
|
173
|
+
* @format GUID
|
|
174
|
+
*/
|
|
155
175
|
activeRequestId?: string | null;
|
|
156
176
|
/**
|
|
157
|
-
*
|
|
177
|
+
* Fingerprint of the request that started the running migration job.
|
|
158
178
|
* @maxLength 64
|
|
159
179
|
*/
|
|
160
180
|
activeRequestFingerprint?: string;
|
|
161
|
-
/**
|
|
181
|
+
/**
|
|
182
|
+
* ID of the earlier migration job that the running job retries.
|
|
183
|
+
* @format GUID
|
|
184
|
+
*/
|
|
162
185
|
activeRetryOfJobId?: string | null;
|
|
163
|
-
/**
|
|
186
|
+
/**
|
|
187
|
+
* ID of the release that the last migration job produced and that was verified.
|
|
188
|
+
* @maxLength 200
|
|
189
|
+
*/
|
|
164
190
|
verifiedReleaseId?: string | null;
|
|
165
|
-
/**
|
|
191
|
+
/**
|
|
192
|
+
* Hash of the email address of the developer who started the running migration job.
|
|
193
|
+
* @maxLength 64
|
|
194
|
+
*/
|
|
166
195
|
activeDeveloperEmailSha256?: string;
|
|
167
196
|
/**
|
|
168
|
-
*
|
|
197
|
+
* Date and time the migration failed to start.
|
|
198
|
+
*
|
|
199
|
+
* Returned only when the migration failed before its first job was recorded.
|
|
169
200
|
* @readonly
|
|
170
201
|
*/
|
|
171
202
|
startupFailedAt?: Date | null;
|
|
172
203
|
}
|
|
204
|
+
/** Migration state of a project. */
|
|
173
205
|
declare enum OneAppMigrationState {
|
|
206
|
+
/** The migrated project is a draft that isn't offered to the site owner yet. */
|
|
174
207
|
DRAFT = "DRAFT",
|
|
208
|
+
/** The migrated project is offered to the site owner. */
|
|
175
209
|
OFFERED = "OFFERED",
|
|
210
|
+
/** The site owner accepted the migrated project. */
|
|
176
211
|
ACCEPTED = "ACCEPTED"
|
|
177
212
|
}
|
|
178
213
|
/** @enumType */
|
|
@@ -2663,24 +2698,27 @@ interface StartMobileBuildRequest {
|
|
|
2663
2698
|
*/
|
|
2664
2699
|
canonicalApp?: string;
|
|
2665
2700
|
/**
|
|
2666
|
-
* Android only. Kind of file to build.
|
|
2701
|
+
* Android only. Kind of file to build.
|
|
2667
2702
|
*
|
|
2668
|
-
* `AAB` builds the file to upload to Google Play, under the package name saved for the app
|
|
2669
|
-
*
|
|
2703
|
+
* `AAB` builds the file to upload to Google Play, under the package name saved for the app. With
|
|
2704
|
+
* `AAB`, `platforms` must contain only `ANDROID`, and `ownerAuthorization` is required.
|
|
2705
|
+
*
|
|
2706
|
+
* Default: `APK`
|
|
2670
2707
|
*/
|
|
2671
2708
|
androidFormat?: AndroidFormatWithLiterals;
|
|
2672
2709
|
/**
|
|
2673
2710
|
* The site owner's dashboard authorization: the signed `Authorization` header of this request.
|
|
2674
|
-
*
|
|
2711
|
+
*
|
|
2712
|
+
* Required when `androidFormat` is `AAB`, to confirm that the caller owns the site.
|
|
2675
2713
|
*
|
|
2676
2714
|
* Used for this call only. It isn't stored or returned.
|
|
2677
2715
|
* @maxLength 4096
|
|
2678
2716
|
*/
|
|
2679
2717
|
ownerAuthorization?: string;
|
|
2680
2718
|
/**
|
|
2681
|
-
* Kind of build.
|
|
2719
|
+
* Kind of build.
|
|
2682
2720
|
*
|
|
2683
|
-
* `
|
|
2721
|
+
* Default: `STORE`
|
|
2684
2722
|
*/
|
|
2685
2723
|
buildKind?: BuildKindWithLiterals;
|
|
2686
2724
|
}
|
|
@@ -2706,7 +2744,7 @@ type AndroidFormatWithLiterals = AndroidFormat | 'APK' | 'AAB';
|
|
|
2706
2744
|
declare enum BuildKind {
|
|
2707
2745
|
/** A build of the owner's app, to install and test or to submit to a store. */
|
|
2708
2746
|
STORE = "STORE",
|
|
2709
|
-
/**
|
|
2747
|
+
/** Debug build. */
|
|
2710
2748
|
INTERNAL_DEBUG = "INTERNAL_DEBUG"
|
|
2711
2749
|
}
|
|
2712
2750
|
/** @enumType */
|
|
@@ -2782,7 +2820,7 @@ interface MobileBuild {
|
|
|
2782
2820
|
androidFormat?: AndroidFormatWithLiterals;
|
|
2783
2821
|
/**
|
|
2784
2822
|
* Android `AAB` builds only. URL of an `.apk` file of the same build, to install on a phone and test.
|
|
2785
|
-
* Returned only when `status` is `SUCCEEDED`. Can be empty. Expires with `
|
|
2823
|
+
* Returned only when `status` is `SUCCEEDED`. Can be empty. Expires with `downloadUrl`.
|
|
2786
2824
|
* @format WEB_URL
|
|
2787
2825
|
*/
|
|
2788
2826
|
apkDownloadUrl?: string;
|
|
@@ -2843,15 +2881,15 @@ interface GetLatestMobileBuildsRequest {
|
|
|
2843
2881
|
}
|
|
2844
2882
|
interface GetLatestMobileBuildsResponse {
|
|
2845
2883
|
/**
|
|
2846
|
-
* Latest builds for each platform: iOS first, then Android.
|
|
2847
|
-
* entry follows for each platform that has a debug build.
|
|
2884
|
+
* Latest builds for each platform: iOS first, then Android.
|
|
2848
2885
|
* @maxSize 4
|
|
2849
2886
|
*/
|
|
2850
2887
|
platforms?: PlatformMobileBuilds[];
|
|
2851
2888
|
/** Whether refreshing builds in progress failed. When `true`, the stored state is returned. */
|
|
2852
2889
|
refreshFailed?: boolean;
|
|
2853
2890
|
/**
|
|
2854
|
-
* Kinds of build that
|
|
2891
|
+
* Kinds of build that the caller can start with
|
|
2892
|
+
* [Start Mobile Build](https://dev.wix.com/docs/api-reference/mobile/containers-app/containers-projects/project-v1/start-mobile-build).
|
|
2855
2893
|
* @maxSize 2
|
|
2856
2894
|
*/
|
|
2857
2895
|
supportedBuildKinds?: BuildKindWithLiterals[];
|
|
@@ -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 */
|
|
@@ -2618,24 +2653,27 @@ interface StartMobileBuildRequest {
|
|
|
2618
2653
|
*/
|
|
2619
2654
|
canonicalApp?: string;
|
|
2620
2655
|
/**
|
|
2621
|
-
* Android only. Kind of file to build.
|
|
2656
|
+
* Android only. Kind of file to build.
|
|
2622
2657
|
*
|
|
2623
|
-
* `AAB` builds the file to upload to Google Play, under the package name saved for the app
|
|
2624
|
-
*
|
|
2658
|
+
* `AAB` builds the file to upload to Google Play, under the package name saved for the app. With
|
|
2659
|
+
* `AAB`, `platforms` must contain only `ANDROID`, and `ownerAuthorization` is required.
|
|
2660
|
+
*
|
|
2661
|
+
* Default: `APK`
|
|
2625
2662
|
*/
|
|
2626
2663
|
androidFormat?: AndroidFormatWithLiterals;
|
|
2627
2664
|
/**
|
|
2628
2665
|
* The site owner's dashboard authorization: the signed `Authorization` header of this request.
|
|
2629
|
-
*
|
|
2666
|
+
*
|
|
2667
|
+
* Required when `androidFormat` is `AAB`, to confirm that the caller owns the site.
|
|
2630
2668
|
*
|
|
2631
2669
|
* Used for this call only. It isn't stored or returned.
|
|
2632
2670
|
* @maxLength 4096
|
|
2633
2671
|
*/
|
|
2634
2672
|
ownerAuthorization?: string;
|
|
2635
2673
|
/**
|
|
2636
|
-
* Kind of build.
|
|
2674
|
+
* Kind of build.
|
|
2637
2675
|
*
|
|
2638
|
-
* `
|
|
2676
|
+
* Default: `STORE`
|
|
2639
2677
|
*/
|
|
2640
2678
|
buildKind?: BuildKindWithLiterals;
|
|
2641
2679
|
}
|
|
@@ -2661,7 +2699,7 @@ type AndroidFormatWithLiterals = AndroidFormat | 'APK' | 'AAB';
|
|
|
2661
2699
|
declare enum BuildKind {
|
|
2662
2700
|
/** A build of the owner's app, to install and test or to submit to a store. */
|
|
2663
2701
|
STORE = "STORE",
|
|
2664
|
-
/**
|
|
2702
|
+
/** Debug build. */
|
|
2665
2703
|
INTERNAL_DEBUG = "INTERNAL_DEBUG"
|
|
2666
2704
|
}
|
|
2667
2705
|
/** @enumType */
|
|
@@ -2737,7 +2775,7 @@ interface MobileBuild {
|
|
|
2737
2775
|
androidFormat?: AndroidFormatWithLiterals;
|
|
2738
2776
|
/**
|
|
2739
2777
|
* Android `AAB` builds only. URL of an `.apk` file of the same build, to install on a phone and test.
|
|
2740
|
-
* Returned only when `status` is `SUCCEEDED`. Can be empty. Expires with `
|
|
2778
|
+
* Returned only when `status` is `SUCCEEDED`. Can be empty. Expires with `downloadUrl`.
|
|
2741
2779
|
* @format WEB_URL
|
|
2742
2780
|
*/
|
|
2743
2781
|
apkDownloadUrl?: string;
|
|
@@ -2798,15 +2836,15 @@ interface GetLatestMobileBuildsRequest {
|
|
|
2798
2836
|
}
|
|
2799
2837
|
interface GetLatestMobileBuildsResponse {
|
|
2800
2838
|
/**
|
|
2801
|
-
* Latest builds for each platform: iOS first, then Android.
|
|
2802
|
-
* entry follows for each platform that has a debug build.
|
|
2839
|
+
* Latest builds for each platform: iOS first, then Android.
|
|
2803
2840
|
* @maxSize 4
|
|
2804
2841
|
*/
|
|
2805
2842
|
platforms?: PlatformMobileBuilds[];
|
|
2806
2843
|
/** Whether refreshing builds in progress failed. When `true`, the stored state is returned. */
|
|
2807
2844
|
refreshFailed?: boolean;
|
|
2808
2845
|
/**
|
|
2809
|
-
* Kinds of build that
|
|
2846
|
+
* Kinds of build that the caller can start with
|
|
2847
|
+
* [Start Mobile Build](https://dev.wix.com/docs/api-reference/mobile/containers-app/containers-projects/project-v1/start-mobile-build).
|
|
2810
2848
|
* @maxSize 2
|
|
2811
2849
|
*/
|
|
2812
2850
|
supportedBuildKinds?: BuildKindWithLiterals[];
|
|
@@ -2983,8 +3021,9 @@ interface UpdateProject {
|
|
|
2983
3021
|
*/
|
|
2984
3022
|
headReleaseId?: string | null;
|
|
2985
3023
|
/**
|
|
2986
|
-
*
|
|
2987
|
-
*
|
|
3024
|
+
* Migration details of the project.
|
|
3025
|
+
*
|
|
3026
|
+
* Returned only for projects that were created by a migration.
|
|
2988
3027
|
* @readonly
|
|
2989
3028
|
*/
|
|
2990
3029
|
oneAppMigration?: OneAppMigration;
|
|
@@ -3250,24 +3289,27 @@ interface StartMobileBuildOptions {
|
|
|
3250
3289
|
*/
|
|
3251
3290
|
canonicalApp?: string;
|
|
3252
3291
|
/**
|
|
3253
|
-
* Android only. Kind of file to build.
|
|
3292
|
+
* Android only. Kind of file to build.
|
|
3254
3293
|
*
|
|
3255
|
-
* `AAB` builds the file to upload to Google Play, under the package name saved for the app
|
|
3256
|
-
*
|
|
3294
|
+
* `AAB` builds the file to upload to Google Play, under the package name saved for the app. With
|
|
3295
|
+
* `AAB`, `platforms` must contain only `ANDROID`, and `ownerAuthorization` is required.
|
|
3296
|
+
*
|
|
3297
|
+
* Default: `APK`
|
|
3257
3298
|
*/
|
|
3258
3299
|
androidFormat?: AndroidFormatWithLiterals;
|
|
3259
3300
|
/**
|
|
3260
3301
|
* The site owner's dashboard authorization: the signed `Authorization` header of this request.
|
|
3261
|
-
*
|
|
3302
|
+
*
|
|
3303
|
+
* Required when `androidFormat` is `AAB`, to confirm that the caller owns the site.
|
|
3262
3304
|
*
|
|
3263
3305
|
* Used for this call only. It isn't stored or returned.
|
|
3264
3306
|
* @maxLength 4096
|
|
3265
3307
|
*/
|
|
3266
3308
|
ownerAuthorization?: string;
|
|
3267
3309
|
/**
|
|
3268
|
-
* Kind of build.
|
|
3310
|
+
* Kind of build.
|
|
3269
3311
|
*
|
|
3270
|
-
* `
|
|
3312
|
+
* Default: `STORE`
|
|
3271
3313
|
*/
|
|
3272
3314
|
buildKind?: BuildKindWithLiterals;
|
|
3273
3315
|
}
|