@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.
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +233 -66
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +221 -58
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +233 -66
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +221 -58
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +233 -66
- package/build/internal/cjs/meta.d.ts +221 -58
- package/build/internal/es/index.typings.d.mts +233 -66
- package/build/internal/es/meta.d.mts +221 -58
- package/package.json +2 -2
|
@@ -90,8 +90,9 @@ interface Project {
|
|
|
90
90
|
*/
|
|
91
91
|
headReleaseId?: string | null;
|
|
92
92
|
/**
|
|
93
|
-
*
|
|
94
|
-
*
|
|
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
|
-
/**
|
|
135
|
+
/** Migration details of a project. */
|
|
135
136
|
interface OneAppMigration {
|
|
137
|
+
/** Migration state. */
|
|
136
138
|
state?: OneAppMigrationStateWithLiterals;
|
|
137
139
|
/**
|
|
138
|
-
*
|
|
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
|
-
/**
|
|
146
|
+
/**
|
|
147
|
+
* ID of the Wix site that the project was migrated from.
|
|
148
|
+
* @format GUID
|
|
149
|
+
*/
|
|
143
150
|
sourceMetaSiteId?: string;
|
|
144
|
-
/**
|
|
151
|
+
/**
|
|
152
|
+
* ID of the migration job that's currently running.
|
|
153
|
+
* @format GUID
|
|
154
|
+
*/
|
|
145
155
|
activeJobId?: string | null;
|
|
146
|
-
/**
|
|
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
|
-
/**
|
|
163
|
+
/** Date and time until which a running migration job can still write to the project. */
|
|
150
164
|
workerWriteDrainUntil?: Date | null;
|
|
151
|
-
/**
|
|
165
|
+
/**
|
|
166
|
+
* Type of the migration job that's currently running.
|
|
167
|
+
* @maxLength 50
|
|
168
|
+
*/
|
|
152
169
|
activeJobType?: string;
|
|
153
|
-
/**
|
|
170
|
+
/**
|
|
171
|
+
* ID of the request that started the running migration job.
|
|
172
|
+
* @format GUID
|
|
173
|
+
*/
|
|
154
174
|
activeRequestId?: string | null;
|
|
155
175
|
/**
|
|
156
|
-
*
|
|
176
|
+
* Fingerprint of the request that started the running migration job.
|
|
157
177
|
* @maxLength 64
|
|
158
178
|
*/
|
|
159
179
|
activeRequestFingerprint?: string;
|
|
160
|
-
/**
|
|
180
|
+
/**
|
|
181
|
+
* ID of the earlier migration job that the running job retries.
|
|
182
|
+
* @format GUID
|
|
183
|
+
*/
|
|
161
184
|
activeRetryOfJobId?: string | null;
|
|
162
|
-
/**
|
|
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
|
-
/**
|
|
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
|
-
*
|
|
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
|
-
/**
|
|
245
|
+
/**
|
|
246
|
+
* Project ID.
|
|
247
|
+
* @format GUID
|
|
248
|
+
*/
|
|
211
249
|
projectId?: string;
|
|
212
|
-
/**
|
|
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
|
-
/**
|
|
259
|
+
/**
|
|
260
|
+
* Reporting credential. Specify it in later calls to this service.
|
|
261
|
+
* @maxLength 256
|
|
262
|
+
*/
|
|
217
263
|
credential?: string;
|
|
218
|
-
/**
|
|
264
|
+
/**
|
|
265
|
+
* ID of the reporting session.
|
|
266
|
+
* @format GUID
|
|
267
|
+
*/
|
|
219
268
|
sessionId?: string;
|
|
220
|
-
/**
|
|
269
|
+
/**
|
|
270
|
+
* Project ID.
|
|
271
|
+
* @format GUID
|
|
272
|
+
*/
|
|
221
273
|
projectId?: string;
|
|
222
|
-
/**
|
|
274
|
+
/**
|
|
275
|
+
* ID of the Wix site that the project belongs to.
|
|
276
|
+
* @format GUID
|
|
277
|
+
*/
|
|
223
278
|
metaSiteId?: string;
|
|
224
|
-
/**
|
|
279
|
+
/**
|
|
280
|
+
* ID of the site user who started the work.
|
|
281
|
+
* @format GUID
|
|
282
|
+
*/
|
|
225
283
|
initiatingUserId?: string;
|
|
226
|
-
/**
|
|
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
|
-
/**
|
|
293
|
+
/**
|
|
294
|
+
* Project ID.
|
|
295
|
+
* @format GUID
|
|
296
|
+
*/
|
|
232
297
|
projectId?: string;
|
|
233
|
-
/**
|
|
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
|
-
/**
|
|
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
|
-
/**
|
|
316
|
+
/**
|
|
317
|
+
* ID of the project job to link the run to.
|
|
318
|
+
* @format GUID
|
|
319
|
+
*/
|
|
244
320
|
jobId?: string;
|
|
245
|
-
/**
|
|
321
|
+
/**
|
|
322
|
+
* Project ID.
|
|
323
|
+
* @format GUID
|
|
324
|
+
*/
|
|
246
325
|
projectId?: string;
|
|
247
|
-
/**
|
|
326
|
+
/**
|
|
327
|
+
* Reporting credential.
|
|
328
|
+
* @maxLength 256
|
|
329
|
+
*/
|
|
248
330
|
credential?: string;
|
|
249
|
-
/**
|
|
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
|
-
/**
|
|
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
|
-
/**
|
|
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
|
-
/**
|
|
351
|
+
/**
|
|
352
|
+
* ID of the run.
|
|
353
|
+
* @format GUID
|
|
354
|
+
*/
|
|
261
355
|
runId?: string;
|
|
262
|
-
/**
|
|
356
|
+
/**
|
|
357
|
+
* Project ID.
|
|
358
|
+
* @format GUID
|
|
359
|
+
*/
|
|
263
360
|
projectId?: string;
|
|
264
|
-
/**
|
|
361
|
+
/**
|
|
362
|
+
* ID of the Wix site that the project belongs to.
|
|
363
|
+
* @format GUID
|
|
364
|
+
*/
|
|
265
365
|
metaSiteId?: string;
|
|
266
|
-
/**
|
|
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
|
-
/**
|
|
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
|
-
/**
|
|
381
|
+
/**
|
|
382
|
+
* Project ID.
|
|
383
|
+
* @format GUID
|
|
384
|
+
*/
|
|
276
385
|
projectId?: string;
|
|
277
|
-
/**
|
|
386
|
+
/**
|
|
387
|
+
* Reporting credential.
|
|
388
|
+
* @maxLength 256
|
|
389
|
+
*/
|
|
278
390
|
credential?: string;
|
|
279
|
-
/**
|
|
391
|
+
/**
|
|
392
|
+
* ID of the run to link.
|
|
393
|
+
* @format GUID
|
|
394
|
+
*/
|
|
280
395
|
runId?: string;
|
|
281
|
-
/**
|
|
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
|
-
/**
|
|
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
|
-
/**
|
|
410
|
+
/**
|
|
411
|
+
* Project ID.
|
|
412
|
+
* @format GUID
|
|
413
|
+
*/
|
|
290
414
|
projectId?: string;
|
|
291
|
-
/**
|
|
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
|
-
/**
|
|
430
|
+
/**
|
|
431
|
+
* Project ID.
|
|
432
|
+
* @format GUID
|
|
433
|
+
*/
|
|
302
434
|
projectId?: string;
|
|
303
|
-
/**
|
|
435
|
+
/**
|
|
436
|
+
* ID of the reporting run.
|
|
437
|
+
* @format GUID
|
|
438
|
+
*/
|
|
304
439
|
runId?: string;
|
|
305
|
-
/**
|
|
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. */
|
|
@@ -2613,24 +2773,27 @@ interface StartMobileBuildRequest {
|
|
|
2613
2773
|
*/
|
|
2614
2774
|
canonicalApp?: string;
|
|
2615
2775
|
/**
|
|
2616
|
-
* Android only. Kind of file to build.
|
|
2776
|
+
* Android only. Kind of file to build.
|
|
2617
2777
|
*
|
|
2618
|
-
* `AAB` builds the file to upload to Google Play, under the package name saved for the app
|
|
2619
|
-
*
|
|
2778
|
+
* `AAB` builds the file to upload to Google Play, under the package name saved for the app. With
|
|
2779
|
+
* `AAB`, `platforms` must contain only `ANDROID`, and `ownerAuthorization` is required.
|
|
2780
|
+
*
|
|
2781
|
+
* Default: `APK`
|
|
2620
2782
|
*/
|
|
2621
2783
|
androidFormat?: AndroidFormatWithLiterals;
|
|
2622
2784
|
/**
|
|
2623
2785
|
* The site owner's dashboard authorization: the signed `Authorization` header of this request.
|
|
2624
|
-
*
|
|
2786
|
+
*
|
|
2787
|
+
* Required when `androidFormat` is `AAB`, to confirm that the caller owns the site.
|
|
2625
2788
|
*
|
|
2626
2789
|
* Used for this call only. It isn't stored or returned.
|
|
2627
2790
|
* @maxLength 4096
|
|
2628
2791
|
*/
|
|
2629
2792
|
ownerAuthorization?: string;
|
|
2630
2793
|
/**
|
|
2631
|
-
* Kind of build.
|
|
2794
|
+
* Kind of build.
|
|
2632
2795
|
*
|
|
2633
|
-
* `
|
|
2796
|
+
* Default: `STORE`
|
|
2634
2797
|
*/
|
|
2635
2798
|
buildKind?: BuildKindWithLiterals;
|
|
2636
2799
|
}
|
|
@@ -2656,7 +2819,7 @@ type AndroidFormatWithLiterals = AndroidFormat | 'APK' | 'AAB';
|
|
|
2656
2819
|
declare enum BuildKind {
|
|
2657
2820
|
/** A build of the owner's app, to install and test or to submit to a store. */
|
|
2658
2821
|
STORE = "STORE",
|
|
2659
|
-
/**
|
|
2822
|
+
/** Debug build. */
|
|
2660
2823
|
INTERNAL_DEBUG = "INTERNAL_DEBUG"
|
|
2661
2824
|
}
|
|
2662
2825
|
/** @enumType */
|
|
@@ -2732,7 +2895,7 @@ interface MobileBuild {
|
|
|
2732
2895
|
androidFormat?: AndroidFormatWithLiterals;
|
|
2733
2896
|
/**
|
|
2734
2897
|
* Android `AAB` builds only. URL of an `.apk` file of the same build, to install on a phone and test.
|
|
2735
|
-
* Returned only when `status` is `SUCCEEDED`. Can be empty. Expires with `
|
|
2898
|
+
* Returned only when `status` is `SUCCEEDED`. Can be empty. Expires with `downloadUrl`.
|
|
2736
2899
|
* @format WEB_URL
|
|
2737
2900
|
*/
|
|
2738
2901
|
apkDownloadUrl?: string;
|
|
@@ -2793,15 +2956,15 @@ interface GetLatestMobileBuildsRequest {
|
|
|
2793
2956
|
}
|
|
2794
2957
|
interface GetLatestMobileBuildsResponse {
|
|
2795
2958
|
/**
|
|
2796
|
-
* Latest builds for each platform: iOS first, then Android.
|
|
2797
|
-
* entry follows for each platform that has a debug build.
|
|
2959
|
+
* Latest builds for each platform: iOS first, then Android.
|
|
2798
2960
|
* @maxSize 4
|
|
2799
2961
|
*/
|
|
2800
2962
|
platforms?: PlatformMobileBuilds[];
|
|
2801
2963
|
/** Whether refreshing builds in progress failed. When `true`, the stored state is returned. */
|
|
2802
2964
|
refreshFailed?: boolean;
|
|
2803
2965
|
/**
|
|
2804
|
-
* Kinds of build that
|
|
2966
|
+
* Kinds of build that the caller can start with
|
|
2967
|
+
* [Start Mobile Build](https://dev.wix.com/docs/api-reference/mobile/containers-app/containers-projects/project-v1/start-mobile-build).
|
|
2805
2968
|
* @maxSize 2
|
|
2806
2969
|
*/
|
|
2807
2970
|
supportedBuildKinds?: BuildKindWithLiterals[];
|
|
@@ -2946,8 +3109,9 @@ interface UpdateProject {
|
|
|
2946
3109
|
*/
|
|
2947
3110
|
headReleaseId?: string | null;
|
|
2948
3111
|
/**
|
|
2949
|
-
*
|
|
2950
|
-
*
|
|
3112
|
+
* Migration details of the project.
|
|
3113
|
+
*
|
|
3114
|
+
* Returned only for projects that were created by a migration.
|
|
2951
3115
|
* @readonly
|
|
2952
3116
|
*/
|
|
2953
3117
|
oneAppMigration?: OneAppMigration;
|
|
@@ -3164,24 +3328,27 @@ interface StartMobileBuildOptions {
|
|
|
3164
3328
|
*/
|
|
3165
3329
|
canonicalApp?: string;
|
|
3166
3330
|
/**
|
|
3167
|
-
* Android only. Kind of file to build.
|
|
3331
|
+
* Android only. Kind of file to build.
|
|
3168
3332
|
*
|
|
3169
|
-
* `AAB` builds the file to upload to Google Play, under the package name saved for the app
|
|
3170
|
-
*
|
|
3333
|
+
* `AAB` builds the file to upload to Google Play, under the package name saved for the app. With
|
|
3334
|
+
* `AAB`, `platforms` must contain only `ANDROID`, and `ownerAuthorization` is required.
|
|
3335
|
+
*
|
|
3336
|
+
* Default: `APK`
|
|
3171
3337
|
*/
|
|
3172
3338
|
androidFormat?: AndroidFormatWithLiterals;
|
|
3173
3339
|
/**
|
|
3174
3340
|
* The site owner's dashboard authorization: the signed `Authorization` header of this request.
|
|
3175
|
-
*
|
|
3341
|
+
*
|
|
3342
|
+
* Required when `androidFormat` is `AAB`, to confirm that the caller owns the site.
|
|
3176
3343
|
*
|
|
3177
3344
|
* Used for this call only. It isn't stored or returned.
|
|
3178
3345
|
* @maxLength 4096
|
|
3179
3346
|
*/
|
|
3180
3347
|
ownerAuthorization?: string;
|
|
3181
3348
|
/**
|
|
3182
|
-
* Kind of build.
|
|
3349
|
+
* Kind of build.
|
|
3183
3350
|
*
|
|
3184
|
-
* `
|
|
3351
|
+
* Default: `STORE`
|
|
3185
3352
|
*/
|
|
3186
3353
|
buildKind?: BuildKindWithLiterals;
|
|
3187
3354
|
}
|