@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.
@@ -91,8 +91,9 @@ interface Project {
91
91
  */
92
92
  headReleaseId?: string | null;
93
93
  /**
94
- * Internal migration lifecycle. Absent for ordinary projects. Only dedicated migration
95
- * operations may set this field; standard create and update requests cannot change it.
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
- /** Tracks the exact draft offered to the site owner. */
136
+ /** Migration details of a project. */
136
137
  interface OneAppMigration {
138
+ /** Migration state. */
137
139
  state?: OneAppMigrationStateWithLiterals;
138
140
  /**
139
- * Present in OFFERED and ACCEPTED; remains fixed after the offer.
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
- /** @format GUID */
147
+ /**
148
+ * ID of the Wix site that the project was migrated from.
149
+ * @format GUID
150
+ */
144
151
  sourceMetaSiteId?: string;
145
- /** @format GUID */
152
+ /**
153
+ * ID of the migration job that's currently running.
154
+ * @format GUID
155
+ */
146
156
  activeJobId?: string | null;
147
- /** @maxLength 200 */
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
- /** Includes the expiry of already-issued worker keys, Himi control-token lifetime and clock skew. */
164
+ /** Date and time until which a running migration job can still write to the project. */
151
165
  workerWriteDrainUntil?: Date | null;
152
- /** @maxLength 50 */
166
+ /**
167
+ * Type of the migration job that's currently running.
168
+ * @maxLength 50
169
+ */
153
170
  activeJobType?: string;
154
- /** @format GUID */
171
+ /**
172
+ * ID of the request that started the running migration job.
173
+ * @format GUID
174
+ */
155
175
  activeRequestId?: string | null;
156
176
  /**
157
- * SHA-256 of the trusted operation, site, instructions and retry reference. No prompt is kept here.
177
+ * Fingerprint of the request that started the running migration job.
158
178
  * @maxLength 64
159
179
  */
160
180
  activeRequestFingerprint?: string;
161
- /** @format GUID */
181
+ /**
182
+ * ID of the earlier migration job that the running job retries.
183
+ * @format GUID
184
+ */
162
185
  activeRetryOfJobId?: string | null;
163
- /** @maxLength 200 */
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
- /** @maxLength 64 */
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
- * Set only when initial Start failed before the Jobs row was recorded.
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. Default: `APK`.
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 in
2622
- * Himalaya. With `AAB`, `platforms` must be only `ANDROID`, and `owner_authorization` is required.
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
- * Required with `android_format: AAB`: Himalaya checks that whoever starts a Google Play file owns the site.
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. Default: `STORE`.
2672
+ * Kind of build.
2635
2673
  *
2636
- * `INTERNAL_DEBUG` is for Wix staff only, and can't be combined with `androidFormat: AAB`.
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
- /** A debug build, for Wix staff only. */
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 `download_url`.
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. For Wix staff, an `INTERNAL_DEBUG`
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 Start Mobile Build supports. Returned on every read.
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[];