@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
package/build/es/meta.d.mts
CHANGED
|
@@ -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 */
|
|
@@ -2616,24 +2651,27 @@ interface StartMobileBuildRequest {
|
|
|
2616
2651
|
*/
|
|
2617
2652
|
canonicalApp?: string;
|
|
2618
2653
|
/**
|
|
2619
|
-
* Android only. Kind of file to build.
|
|
2654
|
+
* Android only. Kind of file to build.
|
|
2620
2655
|
*
|
|
2621
|
-
* `AAB` builds the file to upload to Google Play, under the package name saved for the app
|
|
2622
|
-
*
|
|
2656
|
+
* `AAB` builds the file to upload to Google Play, under the package name saved for the app. With
|
|
2657
|
+
* `AAB`, `platforms` must contain only `ANDROID`, and `ownerAuthorization` is required.
|
|
2658
|
+
*
|
|
2659
|
+
* Default: `APK`
|
|
2623
2660
|
*/
|
|
2624
2661
|
androidFormat?: AndroidFormatWithLiterals;
|
|
2625
2662
|
/**
|
|
2626
2663
|
* The site owner's dashboard authorization: the signed `Authorization` header of this request.
|
|
2627
|
-
*
|
|
2664
|
+
*
|
|
2665
|
+
* Required when `androidFormat` is `AAB`, to confirm that the caller owns the site.
|
|
2628
2666
|
*
|
|
2629
2667
|
* Used for this call only. It isn't stored or returned.
|
|
2630
2668
|
* @maxLength 4096
|
|
2631
2669
|
*/
|
|
2632
2670
|
ownerAuthorization?: string;
|
|
2633
2671
|
/**
|
|
2634
|
-
* Kind of build.
|
|
2672
|
+
* Kind of build.
|
|
2635
2673
|
*
|
|
2636
|
-
* `
|
|
2674
|
+
* Default: `STORE`
|
|
2637
2675
|
*/
|
|
2638
2676
|
buildKind?: BuildKindWithLiterals;
|
|
2639
2677
|
}
|
|
@@ -2659,7 +2697,7 @@ type AndroidFormatWithLiterals = AndroidFormat | 'APK' | 'AAB';
|
|
|
2659
2697
|
declare enum BuildKind {
|
|
2660
2698
|
/** A build of the owner's app, to install and test or to submit to a store. */
|
|
2661
2699
|
STORE = "STORE",
|
|
2662
|
-
/**
|
|
2700
|
+
/** Debug build. */
|
|
2663
2701
|
INTERNAL_DEBUG = "INTERNAL_DEBUG"
|
|
2664
2702
|
}
|
|
2665
2703
|
/** @enumType */
|
|
@@ -2735,7 +2773,7 @@ interface MobileBuild {
|
|
|
2735
2773
|
androidFormat?: AndroidFormatWithLiterals;
|
|
2736
2774
|
/**
|
|
2737
2775
|
* Android `AAB` builds only. URL of an `.apk` file of the same build, to install on a phone and test.
|
|
2738
|
-
* Returned only when `status` is `SUCCEEDED`. Can be empty. Expires with `
|
|
2776
|
+
* Returned only when `status` is `SUCCEEDED`. Can be empty. Expires with `downloadUrl`.
|
|
2739
2777
|
* @format WEB_URL
|
|
2740
2778
|
*/
|
|
2741
2779
|
apkDownloadUrl?: string;
|
|
@@ -2796,15 +2834,15 @@ interface GetLatestMobileBuildsRequest {
|
|
|
2796
2834
|
}
|
|
2797
2835
|
interface GetLatestMobileBuildsResponse {
|
|
2798
2836
|
/**
|
|
2799
|
-
* Latest builds for each platform: iOS first, then Android.
|
|
2800
|
-
* entry follows for each platform that has a debug build.
|
|
2837
|
+
* Latest builds for each platform: iOS first, then Android.
|
|
2801
2838
|
* @maxSize 4
|
|
2802
2839
|
*/
|
|
2803
2840
|
platforms?: PlatformMobileBuilds[];
|
|
2804
2841
|
/** Whether refreshing builds in progress failed. When `true`, the stored state is returned. */
|
|
2805
2842
|
refreshFailed?: boolean;
|
|
2806
2843
|
/**
|
|
2807
|
-
* Kinds of build that
|
|
2844
|
+
* Kinds of build that the caller can start with
|
|
2845
|
+
* [Start Mobile Build](https://dev.wix.com/docs/api-reference/mobile/containers-app/containers-projects/project-v1/start-mobile-build).
|
|
2808
2846
|
* @maxSize 2
|
|
2809
2847
|
*/
|
|
2810
2848
|
supportedBuildKinds?: BuildKindWithLiterals[];
|