@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 */
@@ -2663,24 +2698,27 @@ interface StartMobileBuildRequest {
2663
2698
  */
2664
2699
  canonicalApp?: string;
2665
2700
  /**
2666
- * Android only. Kind of file to build. Default: `APK`.
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 in
2669
- * Himalaya. With `AAB`, `platforms` must be only `ANDROID`, and `owner_authorization` is required.
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
- * Required with `android_format: AAB`: Himalaya checks that whoever starts a Google Play file owns the site.
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. Default: `STORE`.
2719
+ * Kind of build.
2682
2720
  *
2683
- * `INTERNAL_DEBUG` is for Wix staff only, and can't be combined with `androidFormat: AAB`.
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
- /** A debug build, for Wix staff only. */
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 `download_url`.
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. For Wix staff, an `INTERNAL_DEBUG`
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 Start Mobile Build supports. Returned on every read.
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[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/auto_sdk_containers_projects",
3
- "version": "1.0.24",
3
+ "version": "1.0.25",
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": "ebc5fd3ec55d16e0de405e753645151d2321405bd1a7b7e21ba865ba"
53
+ "falconPackageHash": "822ed6fa91736a06cdfc6c82f61e8eaf1e026f164830dcd865ddab88"
54
54
  }