@wix/auto_sdk_containers_projects 1.0.24 → 1.0.26

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 */
@@ -208,102 +243,205 @@ interface ProjectPlanReady {
208
243
  conversationId?: string;
209
244
  }
210
245
  interface AcquireWorkerReportingRequest {
211
- /** @format GUID */
246
+ /**
247
+ * Project ID.
248
+ * @format GUID
249
+ */
212
250
  projectId?: string;
213
- /** @maxLength 4096 */
251
+ /**
252
+ * Token that the worker received when it started. Valid until it expires.
253
+ *
254
+ * Each exchange returns a new credential and invalidates the previous one.
255
+ * @maxLength 4096
256
+ */
214
257
  bootstrapToken?: string;
215
258
  }
216
259
  interface AcquireWorkerReportingResponse {
217
- /** @maxLength 256 */
260
+ /**
261
+ * Reporting credential. Specify it in later calls to this service.
262
+ * @maxLength 256
263
+ */
218
264
  credential?: string;
219
- /** @format GUID */
265
+ /**
266
+ * ID of the reporting session.
267
+ * @format GUID
268
+ */
220
269
  sessionId?: string;
221
- /** @format GUID */
270
+ /**
271
+ * Project ID.
272
+ * @format GUID
273
+ */
222
274
  projectId?: string;
223
- /** @format GUID */
275
+ /**
276
+ * ID of the Wix site that the project belongs to.
277
+ * @format GUID
278
+ */
224
279
  metaSiteId?: string;
225
- /** @format GUID */
280
+ /**
281
+ * ID of the site user who started the work.
282
+ * @format GUID
283
+ */
226
284
  initiatingUserId?: string;
227
- /** @maxLength 256 */
285
+ /**
286
+ * Identity that reports are created under.
287
+ * @maxLength 256
288
+ */
228
289
  reporterPrincipal?: string;
290
+ /** Number of seconds until the credential expires. */
229
291
  expiresIn?: string;
230
292
  }
231
293
  interface RenewWorkerReportingRequest {
232
- /** @format GUID */
294
+ /**
295
+ * Project ID.
296
+ * @format GUID
297
+ */
233
298
  projectId?: string;
234
- /** @maxLength 256 */
299
+ /**
300
+ * Reporting credential to renew.
301
+ * @maxLength 256
302
+ */
235
303
  credential?: string;
236
304
  }
237
305
  interface RenewWorkerReportingResponse {
306
+ /** Number of seconds until the renewed credential expires. */
238
307
  expiresIn?: string;
239
- /** @maxLength 4096 */
308
+ /**
309
+ * Site access token for the user who started the work.
310
+ * @maxLength 4096
311
+ */
240
312
  siteAccessToken?: string;
313
+ /** Number of seconds until the site access token expires. */
241
314
  siteTokenExpiresIn?: string;
242
315
  }
243
316
  interface BeginWorkerReportingRunRequest extends BeginWorkerReportingRunRequestJobIdPresenceOneOf {
244
- /** @format GUID */
317
+ /**
318
+ * ID of the project job to link the run to.
319
+ * @format GUID
320
+ */
245
321
  jobId?: string;
246
- /** @format GUID */
322
+ /**
323
+ * Project ID.
324
+ * @format GUID
325
+ */
247
326
  projectId?: string;
248
- /** @maxLength 256 */
327
+ /**
328
+ * Reporting credential.
329
+ * @maxLength 256
330
+ */
249
331
  credential?: string;
250
- /** @format GUID */
332
+ /**
333
+ * ID of the run to start.
334
+ * @format GUID
335
+ */
251
336
  runId?: string;
252
337
  }
253
338
  /** @oneof */
254
339
  interface BeginWorkerReportingRunRequestJobIdPresenceOneOf {
255
- /** @format GUID */
340
+ /**
341
+ * ID of the project job to link the run to.
342
+ * @format GUID
343
+ */
256
344
  jobId?: string;
257
345
  }
258
346
  interface BeginWorkerReportingRunResponse extends BeginWorkerReportingRunResponseJobIdPresenceOneOf {
259
- /** @format GUID */
347
+ /**
348
+ * ID of the project job that the run is linked to. Returned only when the run is linked to a job.
349
+ * @format GUID
350
+ */
260
351
  jobId?: string;
261
- /** @format GUID */
352
+ /**
353
+ * ID of the run.
354
+ * @format GUID
355
+ */
262
356
  runId?: string;
263
- /** @format GUID */
357
+ /**
358
+ * Project ID.
359
+ * @format GUID
360
+ */
264
361
  projectId?: string;
265
- /** @format GUID */
362
+ /**
363
+ * ID of the Wix site that the project belongs to.
364
+ * @format GUID
365
+ */
266
366
  metaSiteId?: string;
267
- /** @format GUID */
367
+ /**
368
+ * ID of the site user who started the work.
369
+ * @format GUID
370
+ */
268
371
  initiatingUserId?: string;
269
372
  }
270
373
  /** @oneof */
271
374
  interface BeginWorkerReportingRunResponseJobIdPresenceOneOf {
272
- /** @format GUID */
375
+ /**
376
+ * ID of the project job that the run is linked to. Returned only when the run is linked to a job.
377
+ * @format GUID
378
+ */
273
379
  jobId?: string;
274
380
  }
275
381
  interface BindWorkerReportingJobRequest {
276
- /** @format GUID */
382
+ /**
383
+ * Project ID.
384
+ * @format GUID
385
+ */
277
386
  projectId?: string;
278
- /** @maxLength 256 */
387
+ /**
388
+ * Reporting credential.
389
+ * @maxLength 256
390
+ */
279
391
  credential?: string;
280
- /** @format GUID */
392
+ /**
393
+ * ID of the run to link.
394
+ * @format GUID
395
+ */
281
396
  runId?: string;
282
- /** @format GUID */
397
+ /**
398
+ * ID of the project job to link the run to.
399
+ * @format GUID
400
+ */
283
401
  jobId?: string;
284
402
  }
285
403
  interface BindWorkerReportingJobResponse {
286
- /** @format GUID */
404
+ /**
405
+ * ID of the project job that the run is linked to.
406
+ * @format GUID
407
+ */
287
408
  jobId?: string;
288
409
  }
289
410
  interface RevokeWorkerReportingRequest {
290
- /** @format GUID */
411
+ /**
412
+ * Project ID.
413
+ * @format GUID
414
+ */
291
415
  projectId?: string;
292
- /** @maxLength 256 */
416
+ /**
417
+ * Reporting credential to revoke.
418
+ * @maxLength 256
419
+ */
293
420
  credential?: string;
294
421
  }
295
422
  interface RevokeWorkerReportingResponse {
296
423
  }
297
424
  interface CreateWorkerReportRequest {
425
+ /** Run that the operation belongs to, and the credential that authenticates it. */
298
426
  scope?: WorkerReportingScope;
427
+ /** Operation to perform. */
299
428
  operation?: CreateReportRequest;
300
429
  }
301
430
  interface WorkerReportingScope {
302
- /** @format GUID */
431
+ /**
432
+ * Project ID.
433
+ * @format GUID
434
+ */
303
435
  projectId?: string;
304
- /** @format GUID */
436
+ /**
437
+ * ID of the reporting run.
438
+ * @format GUID
439
+ */
305
440
  runId?: string;
306
- /** @maxLength 256 */
441
+ /**
442
+ * Reporting credential returned by Acquire Worker Reporting.
443
+ * @maxLength 256
444
+ */
307
445
  credential?: string;
308
446
  }
309
447
  /** CreateReport request. */
@@ -545,6 +683,7 @@ declare enum RelationType {
545
683
  /** @enumType */
546
684
  type RelationTypeWithLiterals = RelationType | 'ADDITIONAL_DATA' | 'CORRECTION';
547
685
  interface CreateWorkerReportResponse {
686
+ /** Result of the operation. */
548
687
  result?: CreateReportResponse;
549
688
  }
550
689
  /** CreateReport response. */
@@ -553,7 +692,9 @@ interface CreateReportResponse {
553
692
  report?: Report;
554
693
  }
555
694
  interface GetWorkerReportRequest {
695
+ /** Run that the operation belongs to, and the credential that authenticates it. */
556
696
  scope?: WorkerReportingScope;
697
+ /** Operation to perform. */
557
698
  operation?: GetReportRequest;
558
699
  }
559
700
  /** GetReport request. */
@@ -565,6 +706,7 @@ interface GetReportRequest {
565
706
  reportId?: string;
566
707
  }
567
708
  interface GetWorkerReportResponse {
709
+ /** Result of the operation. */
568
710
  result?: GetReportResponse;
569
711
  }
570
712
  /** GetReport response. */
@@ -573,7 +715,9 @@ interface GetReportResponse {
573
715
  report?: Report;
574
716
  }
575
717
  interface AddWorkerReportUpdateRequest {
718
+ /** Run that the operation belongs to, and the credential that authenticates it. */
576
719
  scope?: WorkerReportingScope;
720
+ /** Operation to perform. */
577
721
  operation?: AddReportUpdateRequest;
578
722
  }
579
723
  /** AddReportUpdate request. */
@@ -667,6 +811,7 @@ declare enum UpdateAction {
667
811
  /** @enumType */
668
812
  type UpdateActionWithLiterals = UpdateAction | 'CREATED' | 'REPAIR_ATTEMPT' | 'EXPLANATION_CORRECTION' | 'EVIDENCE_ADDED' | 'CLASSIFICATION_CHANGED' | 'CONTENT_FINISHED' | 'JOB_ATTACHED' | 'EXPIRATION_CHANGED';
669
813
  interface AddWorkerReportUpdateResponse {
814
+ /** Result of the operation. */
670
815
  result?: AddReportUpdateResponse;
671
816
  }
672
817
  /** AddReportUpdate response. */
@@ -744,7 +889,9 @@ interface ReportUpdateAttachedJobIdPresenceOneOf {
744
889
  attachedJobId?: string;
745
890
  }
746
891
  interface FinishWorkerReportRequest {
892
+ /** Run that the operation belongs to, and the credential that authenticates it. */
747
893
  scope?: WorkerReportingScope;
894
+ /** Operation to perform. */
748
895
  operation?: FinishReportRequest;
749
896
  }
750
897
  /** FinishReport request. */
@@ -763,6 +910,7 @@ interface FinishReportRequest {
763
910
  expectedRevision?: string;
764
911
  }
765
912
  interface FinishWorkerReportResponse {
913
+ /** Result of the operation. */
766
914
  result?: FinishReportResponse;
767
915
  }
768
916
  /** FinishReport response. */
@@ -771,7 +919,9 @@ interface FinishReportResponse {
771
919
  report?: Report;
772
920
  }
773
921
  interface AttachWorkerReportToJobRequest {
922
+ /** Run that the operation belongs to, and the credential that authenticates it. */
774
923
  scope?: WorkerReportingScope;
924
+ /** Operation to perform. */
775
925
  operation?: AttachReportToJobRequest;
776
926
  }
777
927
  /** AttachReportToJob request. */
@@ -795,6 +945,7 @@ interface AttachReportToJobRequest {
795
945
  jobId?: string;
796
946
  }
797
947
  interface AttachWorkerReportToJobResponse {
948
+ /** Result of the operation. */
798
949
  result?: AttachReportToJobResponse;
799
950
  }
800
951
  /** AttachReportToJob response. */
@@ -803,7 +954,9 @@ interface AttachReportToJobResponse {
803
954
  report?: Report;
804
955
  }
805
956
  interface BeginWorkerReportContentRequest {
957
+ /** Run that the operation belongs to, and the credential that authenticates it. */
806
958
  scope?: WorkerReportingScope;
959
+ /** Operation to perform. */
807
960
  operation?: BeginReportContentRequest;
808
961
  }
809
962
  /** BeginReportContent request. */
@@ -867,6 +1020,7 @@ declare enum ContentKind {
867
1020
  /** @enumType */
868
1021
  type ContentKindWithLiterals = ContentKind | 'PROMPT' | 'CONVERSATION' | 'LOG' | 'METADATA';
869
1022
  interface BeginWorkerReportContentResponse {
1023
+ /** Result of the operation. */
870
1024
  result?: BeginReportContentResponse;
871
1025
  }
872
1026
  /** BeginReportContent response. */
@@ -917,7 +1071,9 @@ declare enum UploadState {
917
1071
  /** @enumType */
918
1072
  type UploadStateWithLiterals = UploadState | 'UPLOADING' | 'COMPLETE' | 'TRANSFER_FAILED';
919
1073
  interface UploadWorkerReportContentChunkRequest {
1074
+ /** Run that the operation belongs to, and the credential that authenticates it. */
920
1075
  scope?: WorkerReportingScope;
1076
+ /** Operation to perform. */
921
1077
  operation?: UploadReportContentChunkRequest;
922
1078
  }
923
1079
  /** UploadReportContentChunk request. */
@@ -938,6 +1094,7 @@ interface UploadReportContentChunkRequest {
938
1094
  data?: Uint8Array;
939
1095
  }
940
1096
  interface UploadWorkerReportContentChunkResponse {
1097
+ /** Result of the operation. */
941
1098
  result?: UploadReportContentChunkResponse;
942
1099
  }
943
1100
  /** UploadReportContentChunk response. */
@@ -946,7 +1103,9 @@ interface UploadReportContentChunkResponse {
946
1103
  content?: ReportContent;
947
1104
  }
948
1105
  interface CompleteWorkerReportContentRequest {
1106
+ /** Run that the operation belongs to, and the credential that authenticates it. */
949
1107
  scope?: WorkerReportingScope;
1108
+ /** Operation to perform. */
950
1109
  operation?: CompleteReportContentRequest;
951
1110
  }
952
1111
  /** CompleteReportContent request. */
@@ -963,6 +1122,7 @@ interface CompleteReportContentRequest {
963
1122
  requestId?: string;
964
1123
  }
965
1124
  interface CompleteWorkerReportContentResponse {
1125
+ /** Result of the operation. */
966
1126
  result?: CompleteReportContentResponse;
967
1127
  }
968
1128
  /** CompleteReportContent response. */
@@ -2616,24 +2776,27 @@ interface StartMobileBuildRequest {
2616
2776
  */
2617
2777
  canonicalApp?: string;
2618
2778
  /**
2619
- * Android only. Kind of file to build. Default: `APK`.
2779
+ * Android only. Kind of file to build.
2620
2780
  *
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.
2781
+ * `AAB` builds the file to upload to Google Play, under the package name saved for the app. With
2782
+ * `AAB`, `platforms` must contain only `ANDROID`, and `ownerAuthorization` is required.
2783
+ *
2784
+ * Default: `APK`
2623
2785
  */
2624
2786
  androidFormat?: AndroidFormatWithLiterals;
2625
2787
  /**
2626
2788
  * 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.
2789
+ *
2790
+ * Required when `androidFormat` is `AAB`, to confirm that the caller owns the site.
2628
2791
  *
2629
2792
  * Used for this call only. It isn't stored or returned.
2630
2793
  * @maxLength 4096
2631
2794
  */
2632
2795
  ownerAuthorization?: string;
2633
2796
  /**
2634
- * Kind of build. Default: `STORE`.
2797
+ * Kind of build.
2635
2798
  *
2636
- * `INTERNAL_DEBUG` is for Wix staff only, and can't be combined with `androidFormat: AAB`.
2799
+ * Default: `STORE`
2637
2800
  */
2638
2801
  buildKind?: BuildKindWithLiterals;
2639
2802
  }
@@ -2659,7 +2822,7 @@ type AndroidFormatWithLiterals = AndroidFormat | 'APK' | 'AAB';
2659
2822
  declare enum BuildKind {
2660
2823
  /** A build of the owner's app, to install and test or to submit to a store. */
2661
2824
  STORE = "STORE",
2662
- /** A debug build, for Wix staff only. */
2825
+ /** Debug build. */
2663
2826
  INTERNAL_DEBUG = "INTERNAL_DEBUG"
2664
2827
  }
2665
2828
  /** @enumType */
@@ -2735,7 +2898,7 @@ interface MobileBuild {
2735
2898
  androidFormat?: AndroidFormatWithLiterals;
2736
2899
  /**
2737
2900
  * 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`.
2901
+ * Returned only when `status` is `SUCCEEDED`. Can be empty. Expires with `downloadUrl`.
2739
2902
  * @format WEB_URL
2740
2903
  */
2741
2904
  apkDownloadUrl?: string;
@@ -2796,15 +2959,15 @@ interface GetLatestMobileBuildsRequest {
2796
2959
  }
2797
2960
  interface GetLatestMobileBuildsResponse {
2798
2961
  /**
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.
2962
+ * Latest builds for each platform: iOS first, then Android.
2801
2963
  * @maxSize 4
2802
2964
  */
2803
2965
  platforms?: PlatformMobileBuilds[];
2804
2966
  /** Whether refreshing builds in progress failed. When `true`, the stored state is returned. */
2805
2967
  refreshFailed?: boolean;
2806
2968
  /**
2807
- * Kinds of build that Start Mobile Build supports. Returned on every read.
2969
+ * Kinds of build that the caller can start with
2970
+ * [Start Mobile Build](https://dev.wix.com/docs/api-reference/mobile/containers-app/containers-projects/project-v1/start-mobile-build).
2808
2971
  * @maxSize 2
2809
2972
  */
2810
2973
  supportedBuildKinds?: BuildKindWithLiterals[];