@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.
@@ -90,8 +90,9 @@ interface Project {
90
90
  */
91
91
  headReleaseId?: string | null;
92
92
  /**
93
- * Internal migration lifecycle. Absent for ordinary projects. Only dedicated migration
94
- * operations may set this field; standard create and update requests cannot change it.
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
- /** Tracks the exact draft offered to the site owner. */
135
+ /** Migration details of a project. */
135
136
  interface OneAppMigration {
137
+ /** Migration state. */
136
138
  state?: OneAppMigrationStateWithLiterals;
137
139
  /**
138
- * Present in OFFERED and ACCEPTED; remains fixed after the offer.
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
- /** @format GUID */
146
+ /**
147
+ * ID of the Wix site that the project was migrated from.
148
+ * @format GUID
149
+ */
143
150
  sourceMetaSiteId?: string;
144
- /** @format GUID */
151
+ /**
152
+ * ID of the migration job that's currently running.
153
+ * @format GUID
154
+ */
145
155
  activeJobId?: string | null;
146
- /** @maxLength 200 */
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
- /** Includes the expiry of already-issued worker keys, Himi control-token lifetime and clock skew. */
163
+ /** Date and time until which a running migration job can still write to the project. */
150
164
  workerWriteDrainUntil?: Date | null;
151
- /** @maxLength 50 */
165
+ /**
166
+ * Type of the migration job that's currently running.
167
+ * @maxLength 50
168
+ */
152
169
  activeJobType?: string;
153
- /** @format GUID */
170
+ /**
171
+ * ID of the request that started the running migration job.
172
+ * @format GUID
173
+ */
154
174
  activeRequestId?: string | null;
155
175
  /**
156
- * SHA-256 of the trusted operation, site, instructions and retry reference. No prompt is kept here.
176
+ * Fingerprint of the request that started the running migration job.
157
177
  * @maxLength 64
158
178
  */
159
179
  activeRequestFingerprint?: string;
160
- /** @format GUID */
180
+ /**
181
+ * ID of the earlier migration job that the running job retries.
182
+ * @format GUID
183
+ */
161
184
  activeRetryOfJobId?: string | null;
162
- /** @maxLength 200 */
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
- /** @maxLength 64 */
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
- * Set only when initial Start failed before the Jobs row was recorded.
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 */
@@ -207,102 +242,205 @@ interface ProjectPlanReady {
207
242
  conversationId?: string;
208
243
  }
209
244
  interface AcquireWorkerReportingRequest {
210
- /** @format GUID */
245
+ /**
246
+ * Project ID.
247
+ * @format GUID
248
+ */
211
249
  projectId?: string;
212
- /** @maxLength 4096 */
250
+ /**
251
+ * Token that the worker received when it started. Valid until it expires.
252
+ *
253
+ * Each exchange returns a new credential and invalidates the previous one.
254
+ * @maxLength 4096
255
+ */
213
256
  bootstrapToken?: string;
214
257
  }
215
258
  interface AcquireWorkerReportingResponse {
216
- /** @maxLength 256 */
259
+ /**
260
+ * Reporting credential. Specify it in later calls to this service.
261
+ * @maxLength 256
262
+ */
217
263
  credential?: string;
218
- /** @format GUID */
264
+ /**
265
+ * ID of the reporting session.
266
+ * @format GUID
267
+ */
219
268
  sessionId?: string;
220
- /** @format GUID */
269
+ /**
270
+ * Project ID.
271
+ * @format GUID
272
+ */
221
273
  projectId?: string;
222
- /** @format GUID */
274
+ /**
275
+ * ID of the Wix site that the project belongs to.
276
+ * @format GUID
277
+ */
223
278
  metaSiteId?: string;
224
- /** @format GUID */
279
+ /**
280
+ * ID of the site user who started the work.
281
+ * @format GUID
282
+ */
225
283
  initiatingUserId?: string;
226
- /** @maxLength 256 */
284
+ /**
285
+ * Identity that reports are created under.
286
+ * @maxLength 256
287
+ */
227
288
  reporterPrincipal?: string;
289
+ /** Number of seconds until the credential expires. */
228
290
  expiresIn?: string;
229
291
  }
230
292
  interface RenewWorkerReportingRequest {
231
- /** @format GUID */
293
+ /**
294
+ * Project ID.
295
+ * @format GUID
296
+ */
232
297
  projectId?: string;
233
- /** @maxLength 256 */
298
+ /**
299
+ * Reporting credential to renew.
300
+ * @maxLength 256
301
+ */
234
302
  credential?: string;
235
303
  }
236
304
  interface RenewWorkerReportingResponse {
305
+ /** Number of seconds until the renewed credential expires. */
237
306
  expiresIn?: string;
238
- /** @maxLength 4096 */
307
+ /**
308
+ * Site access token for the user who started the work.
309
+ * @maxLength 4096
310
+ */
239
311
  siteAccessToken?: string;
312
+ /** Number of seconds until the site access token expires. */
240
313
  siteTokenExpiresIn?: string;
241
314
  }
242
315
  interface BeginWorkerReportingRunRequest extends BeginWorkerReportingRunRequestJobIdPresenceOneOf {
243
- /** @format GUID */
316
+ /**
317
+ * ID of the project job to link the run to.
318
+ * @format GUID
319
+ */
244
320
  jobId?: string;
245
- /** @format GUID */
321
+ /**
322
+ * Project ID.
323
+ * @format GUID
324
+ */
246
325
  projectId?: string;
247
- /** @maxLength 256 */
326
+ /**
327
+ * Reporting credential.
328
+ * @maxLength 256
329
+ */
248
330
  credential?: string;
249
- /** @format GUID */
331
+ /**
332
+ * ID of the run to start.
333
+ * @format GUID
334
+ */
250
335
  runId?: string;
251
336
  }
252
337
  /** @oneof */
253
338
  interface BeginWorkerReportingRunRequestJobIdPresenceOneOf {
254
- /** @format GUID */
339
+ /**
340
+ * ID of the project job to link the run to.
341
+ * @format GUID
342
+ */
255
343
  jobId?: string;
256
344
  }
257
345
  interface BeginWorkerReportingRunResponse extends BeginWorkerReportingRunResponseJobIdPresenceOneOf {
258
- /** @format GUID */
346
+ /**
347
+ * ID of the project job that the run is linked to. Returned only when the run is linked to a job.
348
+ * @format GUID
349
+ */
259
350
  jobId?: string;
260
- /** @format GUID */
351
+ /**
352
+ * ID of the run.
353
+ * @format GUID
354
+ */
261
355
  runId?: string;
262
- /** @format GUID */
356
+ /**
357
+ * Project ID.
358
+ * @format GUID
359
+ */
263
360
  projectId?: string;
264
- /** @format GUID */
361
+ /**
362
+ * ID of the Wix site that the project belongs to.
363
+ * @format GUID
364
+ */
265
365
  metaSiteId?: string;
266
- /** @format GUID */
366
+ /**
367
+ * ID of the site user who started the work.
368
+ * @format GUID
369
+ */
267
370
  initiatingUserId?: string;
268
371
  }
269
372
  /** @oneof */
270
373
  interface BeginWorkerReportingRunResponseJobIdPresenceOneOf {
271
- /** @format GUID */
374
+ /**
375
+ * ID of the project job that the run is linked to. Returned only when the run is linked to a job.
376
+ * @format GUID
377
+ */
272
378
  jobId?: string;
273
379
  }
274
380
  interface BindWorkerReportingJobRequest {
275
- /** @format GUID */
381
+ /**
382
+ * Project ID.
383
+ * @format GUID
384
+ */
276
385
  projectId?: string;
277
- /** @maxLength 256 */
386
+ /**
387
+ * Reporting credential.
388
+ * @maxLength 256
389
+ */
278
390
  credential?: string;
279
- /** @format GUID */
391
+ /**
392
+ * ID of the run to link.
393
+ * @format GUID
394
+ */
280
395
  runId?: string;
281
- /** @format GUID */
396
+ /**
397
+ * ID of the project job to link the run to.
398
+ * @format GUID
399
+ */
282
400
  jobId?: string;
283
401
  }
284
402
  interface BindWorkerReportingJobResponse {
285
- /** @format GUID */
403
+ /**
404
+ * ID of the project job that the run is linked to.
405
+ * @format GUID
406
+ */
286
407
  jobId?: string;
287
408
  }
288
409
  interface RevokeWorkerReportingRequest {
289
- /** @format GUID */
410
+ /**
411
+ * Project ID.
412
+ * @format GUID
413
+ */
290
414
  projectId?: string;
291
- /** @maxLength 256 */
415
+ /**
416
+ * Reporting credential to revoke.
417
+ * @maxLength 256
418
+ */
292
419
  credential?: string;
293
420
  }
294
421
  interface RevokeWorkerReportingResponse {
295
422
  }
296
423
  interface CreateWorkerReportRequest {
424
+ /** Run that the operation belongs to, and the credential that authenticates it. */
297
425
  scope?: WorkerReportingScope;
426
+ /** Operation to perform. */
298
427
  operation?: CreateReportRequest;
299
428
  }
300
429
  interface WorkerReportingScope {
301
- /** @format GUID */
430
+ /**
431
+ * Project ID.
432
+ * @format GUID
433
+ */
302
434
  projectId?: string;
303
- /** @format GUID */
435
+ /**
436
+ * ID of the reporting run.
437
+ * @format GUID
438
+ */
304
439
  runId?: string;
305
- /** @maxLength 256 */
440
+ /**
441
+ * Reporting credential returned by Acquire Worker Reporting.
442
+ * @maxLength 256
443
+ */
306
444
  credential?: string;
307
445
  }
308
446
  /** CreateReport request. */
@@ -544,6 +682,7 @@ declare enum RelationType {
544
682
  /** @enumType */
545
683
  type RelationTypeWithLiterals = RelationType | 'ADDITIONAL_DATA' | 'CORRECTION';
546
684
  interface CreateWorkerReportResponse {
685
+ /** Result of the operation. */
547
686
  result?: CreateReportResponse;
548
687
  }
549
688
  /** CreateReport response. */
@@ -552,7 +691,9 @@ interface CreateReportResponse {
552
691
  report?: Report;
553
692
  }
554
693
  interface GetWorkerReportRequest {
694
+ /** Run that the operation belongs to, and the credential that authenticates it. */
555
695
  scope?: WorkerReportingScope;
696
+ /** Operation to perform. */
556
697
  operation?: GetReportRequest;
557
698
  }
558
699
  /** GetReport request. */
@@ -564,6 +705,7 @@ interface GetReportRequest {
564
705
  reportId?: string;
565
706
  }
566
707
  interface GetWorkerReportResponse {
708
+ /** Result of the operation. */
567
709
  result?: GetReportResponse;
568
710
  }
569
711
  /** GetReport response. */
@@ -572,7 +714,9 @@ interface GetReportResponse {
572
714
  report?: Report;
573
715
  }
574
716
  interface AddWorkerReportUpdateRequest {
717
+ /** Run that the operation belongs to, and the credential that authenticates it. */
575
718
  scope?: WorkerReportingScope;
719
+ /** Operation to perform. */
576
720
  operation?: AddReportUpdateRequest;
577
721
  }
578
722
  /** AddReportUpdate request. */
@@ -666,6 +810,7 @@ declare enum UpdateAction {
666
810
  /** @enumType */
667
811
  type UpdateActionWithLiterals = UpdateAction | 'CREATED' | 'REPAIR_ATTEMPT' | 'EXPLANATION_CORRECTION' | 'EVIDENCE_ADDED' | 'CLASSIFICATION_CHANGED' | 'CONTENT_FINISHED' | 'JOB_ATTACHED' | 'EXPIRATION_CHANGED';
668
812
  interface AddWorkerReportUpdateResponse {
813
+ /** Result of the operation. */
669
814
  result?: AddReportUpdateResponse;
670
815
  }
671
816
  /** AddReportUpdate response. */
@@ -743,7 +888,9 @@ interface ReportUpdateAttachedJobIdPresenceOneOf {
743
888
  attachedJobId?: string;
744
889
  }
745
890
  interface FinishWorkerReportRequest {
891
+ /** Run that the operation belongs to, and the credential that authenticates it. */
746
892
  scope?: WorkerReportingScope;
893
+ /** Operation to perform. */
747
894
  operation?: FinishReportRequest;
748
895
  }
749
896
  /** FinishReport request. */
@@ -762,6 +909,7 @@ interface FinishReportRequest {
762
909
  expectedRevision?: string;
763
910
  }
764
911
  interface FinishWorkerReportResponse {
912
+ /** Result of the operation. */
765
913
  result?: FinishReportResponse;
766
914
  }
767
915
  /** FinishReport response. */
@@ -770,7 +918,9 @@ interface FinishReportResponse {
770
918
  report?: Report;
771
919
  }
772
920
  interface AttachWorkerReportToJobRequest {
921
+ /** Run that the operation belongs to, and the credential that authenticates it. */
773
922
  scope?: WorkerReportingScope;
923
+ /** Operation to perform. */
774
924
  operation?: AttachReportToJobRequest;
775
925
  }
776
926
  /** AttachReportToJob request. */
@@ -794,6 +944,7 @@ interface AttachReportToJobRequest {
794
944
  jobId?: string;
795
945
  }
796
946
  interface AttachWorkerReportToJobResponse {
947
+ /** Result of the operation. */
797
948
  result?: AttachReportToJobResponse;
798
949
  }
799
950
  /** AttachReportToJob response. */
@@ -802,7 +953,9 @@ interface AttachReportToJobResponse {
802
953
  report?: Report;
803
954
  }
804
955
  interface BeginWorkerReportContentRequest {
956
+ /** Run that the operation belongs to, and the credential that authenticates it. */
805
957
  scope?: WorkerReportingScope;
958
+ /** Operation to perform. */
806
959
  operation?: BeginReportContentRequest;
807
960
  }
808
961
  /** BeginReportContent request. */
@@ -866,6 +1019,7 @@ declare enum ContentKind {
866
1019
  /** @enumType */
867
1020
  type ContentKindWithLiterals = ContentKind | 'PROMPT' | 'CONVERSATION' | 'LOG' | 'METADATA';
868
1021
  interface BeginWorkerReportContentResponse {
1022
+ /** Result of the operation. */
869
1023
  result?: BeginReportContentResponse;
870
1024
  }
871
1025
  /** BeginReportContent response. */
@@ -916,7 +1070,9 @@ declare enum UploadState {
916
1070
  /** @enumType */
917
1071
  type UploadStateWithLiterals = UploadState | 'UPLOADING' | 'COMPLETE' | 'TRANSFER_FAILED';
918
1072
  interface UploadWorkerReportContentChunkRequest {
1073
+ /** Run that the operation belongs to, and the credential that authenticates it. */
919
1074
  scope?: WorkerReportingScope;
1075
+ /** Operation to perform. */
920
1076
  operation?: UploadReportContentChunkRequest;
921
1077
  }
922
1078
  /** UploadReportContentChunk request. */
@@ -937,6 +1093,7 @@ interface UploadReportContentChunkRequest {
937
1093
  data?: Uint8Array;
938
1094
  }
939
1095
  interface UploadWorkerReportContentChunkResponse {
1096
+ /** Result of the operation. */
940
1097
  result?: UploadReportContentChunkResponse;
941
1098
  }
942
1099
  /** UploadReportContentChunk response. */
@@ -945,7 +1102,9 @@ interface UploadReportContentChunkResponse {
945
1102
  content?: ReportContent;
946
1103
  }
947
1104
  interface CompleteWorkerReportContentRequest {
1105
+ /** Run that the operation belongs to, and the credential that authenticates it. */
948
1106
  scope?: WorkerReportingScope;
1107
+ /** Operation to perform. */
949
1108
  operation?: CompleteReportContentRequest;
950
1109
  }
951
1110
  /** CompleteReportContent request. */
@@ -962,6 +1121,7 @@ interface CompleteReportContentRequest {
962
1121
  requestId?: string;
963
1122
  }
964
1123
  interface CompleteWorkerReportContentResponse {
1124
+ /** Result of the operation. */
965
1125
  result?: CompleteReportContentResponse;
966
1126
  }
967
1127
  /** CompleteReportContent response. */
@@ -2618,24 +2778,27 @@ interface StartMobileBuildRequest {
2618
2778
  */
2619
2779
  canonicalApp?: string;
2620
2780
  /**
2621
- * Android only. Kind of file to build. Default: `APK`.
2781
+ * Android only. Kind of file to build.
2622
2782
  *
2623
- * `AAB` builds the file to upload to Google Play, under the package name saved for the app in
2624
- * Himalaya. With `AAB`, `platforms` must be only `ANDROID`, and `owner_authorization` is required.
2783
+ * `AAB` builds the file to upload to Google Play, under the package name saved for the app. With
2784
+ * `AAB`, `platforms` must contain only `ANDROID`, and `ownerAuthorization` is required.
2785
+ *
2786
+ * Default: `APK`
2625
2787
  */
2626
2788
  androidFormat?: AndroidFormatWithLiterals;
2627
2789
  /**
2628
2790
  * The site owner's dashboard authorization: the signed `Authorization` header of this request.
2629
- * Required with `android_format: AAB`: Himalaya checks that whoever starts a Google Play file owns the site.
2791
+ *
2792
+ * Required when `androidFormat` is `AAB`, to confirm that the caller owns the site.
2630
2793
  *
2631
2794
  * Used for this call only. It isn't stored or returned.
2632
2795
  * @maxLength 4096
2633
2796
  */
2634
2797
  ownerAuthorization?: string;
2635
2798
  /**
2636
- * Kind of build. Default: `STORE`.
2799
+ * Kind of build.
2637
2800
  *
2638
- * `INTERNAL_DEBUG` is for Wix staff only, and can't be combined with `androidFormat: AAB`.
2801
+ * Default: `STORE`
2639
2802
  */
2640
2803
  buildKind?: BuildKindWithLiterals;
2641
2804
  }
@@ -2661,7 +2824,7 @@ type AndroidFormatWithLiterals = AndroidFormat | 'APK' | 'AAB';
2661
2824
  declare enum BuildKind {
2662
2825
  /** A build of the owner's app, to install and test or to submit to a store. */
2663
2826
  STORE = "STORE",
2664
- /** A debug build, for Wix staff only. */
2827
+ /** Debug build. */
2665
2828
  INTERNAL_DEBUG = "INTERNAL_DEBUG"
2666
2829
  }
2667
2830
  /** @enumType */
@@ -2737,7 +2900,7 @@ interface MobileBuild {
2737
2900
  androidFormat?: AndroidFormatWithLiterals;
2738
2901
  /**
2739
2902
  * 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 `download_url`.
2903
+ * Returned only when `status` is `SUCCEEDED`. Can be empty. Expires with `downloadUrl`.
2741
2904
  * @format WEB_URL
2742
2905
  */
2743
2906
  apkDownloadUrl?: string;
@@ -2798,15 +2961,15 @@ interface GetLatestMobileBuildsRequest {
2798
2961
  }
2799
2962
  interface GetLatestMobileBuildsResponse {
2800
2963
  /**
2801
- * Latest builds for each platform: iOS first, then Android. For Wix staff, an `INTERNAL_DEBUG`
2802
- * entry follows for each platform that has a debug build.
2964
+ * Latest builds for each platform: iOS first, then Android.
2803
2965
  * @maxSize 4
2804
2966
  */
2805
2967
  platforms?: PlatformMobileBuilds[];
2806
2968
  /** Whether refreshing builds in progress failed. When `true`, the stored state is returned. */
2807
2969
  refreshFailed?: boolean;
2808
2970
  /**
2809
- * Kinds of build that Start Mobile Build supports. Returned on every read.
2971
+ * Kinds of build that the caller can start with
2972
+ * [Start Mobile Build](https://dev.wix.com/docs/api-reference/mobile/containers-app/containers-projects/project-v1/start-mobile-build).
2810
2973
  * @maxSize 2
2811
2974
  */
2812
2975
  supportedBuildKinds?: BuildKindWithLiterals[];
@@ -2983,8 +3146,9 @@ interface UpdateProject {
2983
3146
  */
2984
3147
  headReleaseId?: string | null;
2985
3148
  /**
2986
- * Internal migration lifecycle. Absent for ordinary projects. Only dedicated migration
2987
- * operations may set this field; standard create and update requests cannot change it.
3149
+ * Migration details of the project.
3150
+ *
3151
+ * Returned only for projects that were created by a migration.
2988
3152
  * @readonly
2989
3153
  */
2990
3154
  oneAppMigration?: OneAppMigration;
@@ -3250,24 +3414,27 @@ interface StartMobileBuildOptions {
3250
3414
  */
3251
3415
  canonicalApp?: string;
3252
3416
  /**
3253
- * Android only. Kind of file to build. Default: `APK`.
3417
+ * Android only. Kind of file to build.
3254
3418
  *
3255
- * `AAB` builds the file to upload to Google Play, under the package name saved for the app in
3256
- * Himalaya. With `AAB`, `platforms` must be only `ANDROID`, and `owner_authorization` is required.
3419
+ * `AAB` builds the file to upload to Google Play, under the package name saved for the app. With
3420
+ * `AAB`, `platforms` must contain only `ANDROID`, and `ownerAuthorization` is required.
3421
+ *
3422
+ * Default: `APK`
3257
3423
  */
3258
3424
  androidFormat?: AndroidFormatWithLiterals;
3259
3425
  /**
3260
3426
  * The site owner's dashboard authorization: the signed `Authorization` header of this request.
3261
- * Required with `android_format: AAB`: Himalaya checks that whoever starts a Google Play file owns the site.
3427
+ *
3428
+ * Required when `androidFormat` is `AAB`, to confirm that the caller owns the site.
3262
3429
  *
3263
3430
  * Used for this call only. It isn't stored or returned.
3264
3431
  * @maxLength 4096
3265
3432
  */
3266
3433
  ownerAuthorization?: string;
3267
3434
  /**
3268
- * Kind of build. Default: `STORE`.
3435
+ * Kind of build.
3269
3436
  *
3270
- * `INTERNAL_DEBUG` is for Wix staff only, and can't be combined with `androidFormat: AAB`.
3437
+ * Default: `STORE`
3271
3438
  */
3272
3439
  buildKind?: BuildKindWithLiterals;
3273
3440
  }