@wix/auto_sdk_containers_projects 1.0.25 → 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 +157 -32
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +157 -32
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +157 -32
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +157 -32
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +157 -32
- package/build/internal/cjs/meta.d.ts +157 -32
- package/build/internal/es/index.typings.d.mts +157 -32
- package/build/internal/es/meta.d.mts +157 -32
- package/package.json +2 -2
|
@@ -242,102 +242,205 @@ interface ProjectPlanReady {
|
|
|
242
242
|
conversationId?: string;
|
|
243
243
|
}
|
|
244
244
|
interface AcquireWorkerReportingRequest {
|
|
245
|
-
/**
|
|
245
|
+
/**
|
|
246
|
+
* Project ID.
|
|
247
|
+
* @format GUID
|
|
248
|
+
*/
|
|
246
249
|
projectId?: string;
|
|
247
|
-
/**
|
|
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
|
+
*/
|
|
248
256
|
bootstrapToken?: string;
|
|
249
257
|
}
|
|
250
258
|
interface AcquireWorkerReportingResponse {
|
|
251
|
-
/**
|
|
259
|
+
/**
|
|
260
|
+
* Reporting credential. Specify it in later calls to this service.
|
|
261
|
+
* @maxLength 256
|
|
262
|
+
*/
|
|
252
263
|
credential?: string;
|
|
253
|
-
/**
|
|
264
|
+
/**
|
|
265
|
+
* ID of the reporting session.
|
|
266
|
+
* @format GUID
|
|
267
|
+
*/
|
|
254
268
|
sessionId?: string;
|
|
255
|
-
/**
|
|
269
|
+
/**
|
|
270
|
+
* Project ID.
|
|
271
|
+
* @format GUID
|
|
272
|
+
*/
|
|
256
273
|
projectId?: string;
|
|
257
|
-
/**
|
|
274
|
+
/**
|
|
275
|
+
* ID of the Wix site that the project belongs to.
|
|
276
|
+
* @format GUID
|
|
277
|
+
*/
|
|
258
278
|
metaSiteId?: string;
|
|
259
|
-
/**
|
|
279
|
+
/**
|
|
280
|
+
* ID of the site user who started the work.
|
|
281
|
+
* @format GUID
|
|
282
|
+
*/
|
|
260
283
|
initiatingUserId?: string;
|
|
261
|
-
/**
|
|
284
|
+
/**
|
|
285
|
+
* Identity that reports are created under.
|
|
286
|
+
* @maxLength 256
|
|
287
|
+
*/
|
|
262
288
|
reporterPrincipal?: string;
|
|
289
|
+
/** Number of seconds until the credential expires. */
|
|
263
290
|
expiresIn?: string;
|
|
264
291
|
}
|
|
265
292
|
interface RenewWorkerReportingRequest {
|
|
266
|
-
/**
|
|
293
|
+
/**
|
|
294
|
+
* Project ID.
|
|
295
|
+
* @format GUID
|
|
296
|
+
*/
|
|
267
297
|
projectId?: string;
|
|
268
|
-
/**
|
|
298
|
+
/**
|
|
299
|
+
* Reporting credential to renew.
|
|
300
|
+
* @maxLength 256
|
|
301
|
+
*/
|
|
269
302
|
credential?: string;
|
|
270
303
|
}
|
|
271
304
|
interface RenewWorkerReportingResponse {
|
|
305
|
+
/** Number of seconds until the renewed credential expires. */
|
|
272
306
|
expiresIn?: string;
|
|
273
|
-
/**
|
|
307
|
+
/**
|
|
308
|
+
* Site access token for the user who started the work.
|
|
309
|
+
* @maxLength 4096
|
|
310
|
+
*/
|
|
274
311
|
siteAccessToken?: string;
|
|
312
|
+
/** Number of seconds until the site access token expires. */
|
|
275
313
|
siteTokenExpiresIn?: string;
|
|
276
314
|
}
|
|
277
315
|
interface BeginWorkerReportingRunRequest extends BeginWorkerReportingRunRequestJobIdPresenceOneOf {
|
|
278
|
-
/**
|
|
316
|
+
/**
|
|
317
|
+
* ID of the project job to link the run to.
|
|
318
|
+
* @format GUID
|
|
319
|
+
*/
|
|
279
320
|
jobId?: string;
|
|
280
|
-
/**
|
|
321
|
+
/**
|
|
322
|
+
* Project ID.
|
|
323
|
+
* @format GUID
|
|
324
|
+
*/
|
|
281
325
|
projectId?: string;
|
|
282
|
-
/**
|
|
326
|
+
/**
|
|
327
|
+
* Reporting credential.
|
|
328
|
+
* @maxLength 256
|
|
329
|
+
*/
|
|
283
330
|
credential?: string;
|
|
284
|
-
/**
|
|
331
|
+
/**
|
|
332
|
+
* ID of the run to start.
|
|
333
|
+
* @format GUID
|
|
334
|
+
*/
|
|
285
335
|
runId?: string;
|
|
286
336
|
}
|
|
287
337
|
/** @oneof */
|
|
288
338
|
interface BeginWorkerReportingRunRequestJobIdPresenceOneOf {
|
|
289
|
-
/**
|
|
339
|
+
/**
|
|
340
|
+
* ID of the project job to link the run to.
|
|
341
|
+
* @format GUID
|
|
342
|
+
*/
|
|
290
343
|
jobId?: string;
|
|
291
344
|
}
|
|
292
345
|
interface BeginWorkerReportingRunResponse extends BeginWorkerReportingRunResponseJobIdPresenceOneOf {
|
|
293
|
-
/**
|
|
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
|
+
*/
|
|
294
350
|
jobId?: string;
|
|
295
|
-
/**
|
|
351
|
+
/**
|
|
352
|
+
* ID of the run.
|
|
353
|
+
* @format GUID
|
|
354
|
+
*/
|
|
296
355
|
runId?: string;
|
|
297
|
-
/**
|
|
356
|
+
/**
|
|
357
|
+
* Project ID.
|
|
358
|
+
* @format GUID
|
|
359
|
+
*/
|
|
298
360
|
projectId?: string;
|
|
299
|
-
/**
|
|
361
|
+
/**
|
|
362
|
+
* ID of the Wix site that the project belongs to.
|
|
363
|
+
* @format GUID
|
|
364
|
+
*/
|
|
300
365
|
metaSiteId?: string;
|
|
301
|
-
/**
|
|
366
|
+
/**
|
|
367
|
+
* ID of the site user who started the work.
|
|
368
|
+
* @format GUID
|
|
369
|
+
*/
|
|
302
370
|
initiatingUserId?: string;
|
|
303
371
|
}
|
|
304
372
|
/** @oneof */
|
|
305
373
|
interface BeginWorkerReportingRunResponseJobIdPresenceOneOf {
|
|
306
|
-
/**
|
|
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
|
+
*/
|
|
307
378
|
jobId?: string;
|
|
308
379
|
}
|
|
309
380
|
interface BindWorkerReportingJobRequest {
|
|
310
|
-
/**
|
|
381
|
+
/**
|
|
382
|
+
* Project ID.
|
|
383
|
+
* @format GUID
|
|
384
|
+
*/
|
|
311
385
|
projectId?: string;
|
|
312
|
-
/**
|
|
386
|
+
/**
|
|
387
|
+
* Reporting credential.
|
|
388
|
+
* @maxLength 256
|
|
389
|
+
*/
|
|
313
390
|
credential?: string;
|
|
314
|
-
/**
|
|
391
|
+
/**
|
|
392
|
+
* ID of the run to link.
|
|
393
|
+
* @format GUID
|
|
394
|
+
*/
|
|
315
395
|
runId?: string;
|
|
316
|
-
/**
|
|
396
|
+
/**
|
|
397
|
+
* ID of the project job to link the run to.
|
|
398
|
+
* @format GUID
|
|
399
|
+
*/
|
|
317
400
|
jobId?: string;
|
|
318
401
|
}
|
|
319
402
|
interface BindWorkerReportingJobResponse {
|
|
320
|
-
/**
|
|
403
|
+
/**
|
|
404
|
+
* ID of the project job that the run is linked to.
|
|
405
|
+
* @format GUID
|
|
406
|
+
*/
|
|
321
407
|
jobId?: string;
|
|
322
408
|
}
|
|
323
409
|
interface RevokeWorkerReportingRequest {
|
|
324
|
-
/**
|
|
410
|
+
/**
|
|
411
|
+
* Project ID.
|
|
412
|
+
* @format GUID
|
|
413
|
+
*/
|
|
325
414
|
projectId?: string;
|
|
326
|
-
/**
|
|
415
|
+
/**
|
|
416
|
+
* Reporting credential to revoke.
|
|
417
|
+
* @maxLength 256
|
|
418
|
+
*/
|
|
327
419
|
credential?: string;
|
|
328
420
|
}
|
|
329
421
|
interface RevokeWorkerReportingResponse {
|
|
330
422
|
}
|
|
331
423
|
interface CreateWorkerReportRequest {
|
|
424
|
+
/** Run that the operation belongs to, and the credential that authenticates it. */
|
|
332
425
|
scope?: WorkerReportingScope;
|
|
426
|
+
/** Operation to perform. */
|
|
333
427
|
operation?: CreateReportRequest;
|
|
334
428
|
}
|
|
335
429
|
interface WorkerReportingScope {
|
|
336
|
-
/**
|
|
430
|
+
/**
|
|
431
|
+
* Project ID.
|
|
432
|
+
* @format GUID
|
|
433
|
+
*/
|
|
337
434
|
projectId?: string;
|
|
338
|
-
/**
|
|
435
|
+
/**
|
|
436
|
+
* ID of the reporting run.
|
|
437
|
+
* @format GUID
|
|
438
|
+
*/
|
|
339
439
|
runId?: string;
|
|
340
|
-
/**
|
|
440
|
+
/**
|
|
441
|
+
* Reporting credential returned by Acquire Worker Reporting.
|
|
442
|
+
* @maxLength 256
|
|
443
|
+
*/
|
|
341
444
|
credential?: string;
|
|
342
445
|
}
|
|
343
446
|
/** CreateReport request. */
|
|
@@ -579,6 +682,7 @@ declare enum RelationType {
|
|
|
579
682
|
/** @enumType */
|
|
580
683
|
type RelationTypeWithLiterals = RelationType | 'ADDITIONAL_DATA' | 'CORRECTION';
|
|
581
684
|
interface CreateWorkerReportResponse {
|
|
685
|
+
/** Result of the operation. */
|
|
582
686
|
result?: CreateReportResponse;
|
|
583
687
|
}
|
|
584
688
|
/** CreateReport response. */
|
|
@@ -587,7 +691,9 @@ interface CreateReportResponse {
|
|
|
587
691
|
report?: Report;
|
|
588
692
|
}
|
|
589
693
|
interface GetWorkerReportRequest {
|
|
694
|
+
/** Run that the operation belongs to, and the credential that authenticates it. */
|
|
590
695
|
scope?: WorkerReportingScope;
|
|
696
|
+
/** Operation to perform. */
|
|
591
697
|
operation?: GetReportRequest;
|
|
592
698
|
}
|
|
593
699
|
/** GetReport request. */
|
|
@@ -599,6 +705,7 @@ interface GetReportRequest {
|
|
|
599
705
|
reportId?: string;
|
|
600
706
|
}
|
|
601
707
|
interface GetWorkerReportResponse {
|
|
708
|
+
/** Result of the operation. */
|
|
602
709
|
result?: GetReportResponse;
|
|
603
710
|
}
|
|
604
711
|
/** GetReport response. */
|
|
@@ -607,7 +714,9 @@ interface GetReportResponse {
|
|
|
607
714
|
report?: Report;
|
|
608
715
|
}
|
|
609
716
|
interface AddWorkerReportUpdateRequest {
|
|
717
|
+
/** Run that the operation belongs to, and the credential that authenticates it. */
|
|
610
718
|
scope?: WorkerReportingScope;
|
|
719
|
+
/** Operation to perform. */
|
|
611
720
|
operation?: AddReportUpdateRequest;
|
|
612
721
|
}
|
|
613
722
|
/** AddReportUpdate request. */
|
|
@@ -701,6 +810,7 @@ declare enum UpdateAction {
|
|
|
701
810
|
/** @enumType */
|
|
702
811
|
type UpdateActionWithLiterals = UpdateAction | 'CREATED' | 'REPAIR_ATTEMPT' | 'EXPLANATION_CORRECTION' | 'EVIDENCE_ADDED' | 'CLASSIFICATION_CHANGED' | 'CONTENT_FINISHED' | 'JOB_ATTACHED' | 'EXPIRATION_CHANGED';
|
|
703
812
|
interface AddWorkerReportUpdateResponse {
|
|
813
|
+
/** Result of the operation. */
|
|
704
814
|
result?: AddReportUpdateResponse;
|
|
705
815
|
}
|
|
706
816
|
/** AddReportUpdate response. */
|
|
@@ -778,7 +888,9 @@ interface ReportUpdateAttachedJobIdPresenceOneOf {
|
|
|
778
888
|
attachedJobId?: string;
|
|
779
889
|
}
|
|
780
890
|
interface FinishWorkerReportRequest {
|
|
891
|
+
/** Run that the operation belongs to, and the credential that authenticates it. */
|
|
781
892
|
scope?: WorkerReportingScope;
|
|
893
|
+
/** Operation to perform. */
|
|
782
894
|
operation?: FinishReportRequest;
|
|
783
895
|
}
|
|
784
896
|
/** FinishReport request. */
|
|
@@ -797,6 +909,7 @@ interface FinishReportRequest {
|
|
|
797
909
|
expectedRevision?: string;
|
|
798
910
|
}
|
|
799
911
|
interface FinishWorkerReportResponse {
|
|
912
|
+
/** Result of the operation. */
|
|
800
913
|
result?: FinishReportResponse;
|
|
801
914
|
}
|
|
802
915
|
/** FinishReport response. */
|
|
@@ -805,7 +918,9 @@ interface FinishReportResponse {
|
|
|
805
918
|
report?: Report;
|
|
806
919
|
}
|
|
807
920
|
interface AttachWorkerReportToJobRequest {
|
|
921
|
+
/** Run that the operation belongs to, and the credential that authenticates it. */
|
|
808
922
|
scope?: WorkerReportingScope;
|
|
923
|
+
/** Operation to perform. */
|
|
809
924
|
operation?: AttachReportToJobRequest;
|
|
810
925
|
}
|
|
811
926
|
/** AttachReportToJob request. */
|
|
@@ -829,6 +944,7 @@ interface AttachReportToJobRequest {
|
|
|
829
944
|
jobId?: string;
|
|
830
945
|
}
|
|
831
946
|
interface AttachWorkerReportToJobResponse {
|
|
947
|
+
/** Result of the operation. */
|
|
832
948
|
result?: AttachReportToJobResponse;
|
|
833
949
|
}
|
|
834
950
|
/** AttachReportToJob response. */
|
|
@@ -837,7 +953,9 @@ interface AttachReportToJobResponse {
|
|
|
837
953
|
report?: Report;
|
|
838
954
|
}
|
|
839
955
|
interface BeginWorkerReportContentRequest {
|
|
956
|
+
/** Run that the operation belongs to, and the credential that authenticates it. */
|
|
840
957
|
scope?: WorkerReportingScope;
|
|
958
|
+
/** Operation to perform. */
|
|
841
959
|
operation?: BeginReportContentRequest;
|
|
842
960
|
}
|
|
843
961
|
/** BeginReportContent request. */
|
|
@@ -901,6 +1019,7 @@ declare enum ContentKind {
|
|
|
901
1019
|
/** @enumType */
|
|
902
1020
|
type ContentKindWithLiterals = ContentKind | 'PROMPT' | 'CONVERSATION' | 'LOG' | 'METADATA';
|
|
903
1021
|
interface BeginWorkerReportContentResponse {
|
|
1022
|
+
/** Result of the operation. */
|
|
904
1023
|
result?: BeginReportContentResponse;
|
|
905
1024
|
}
|
|
906
1025
|
/** BeginReportContent response. */
|
|
@@ -951,7 +1070,9 @@ declare enum UploadState {
|
|
|
951
1070
|
/** @enumType */
|
|
952
1071
|
type UploadStateWithLiterals = UploadState | 'UPLOADING' | 'COMPLETE' | 'TRANSFER_FAILED';
|
|
953
1072
|
interface UploadWorkerReportContentChunkRequest {
|
|
1073
|
+
/** Run that the operation belongs to, and the credential that authenticates it. */
|
|
954
1074
|
scope?: WorkerReportingScope;
|
|
1075
|
+
/** Operation to perform. */
|
|
955
1076
|
operation?: UploadReportContentChunkRequest;
|
|
956
1077
|
}
|
|
957
1078
|
/** UploadReportContentChunk request. */
|
|
@@ -972,6 +1093,7 @@ interface UploadReportContentChunkRequest {
|
|
|
972
1093
|
data?: Uint8Array;
|
|
973
1094
|
}
|
|
974
1095
|
interface UploadWorkerReportContentChunkResponse {
|
|
1096
|
+
/** Result of the operation. */
|
|
975
1097
|
result?: UploadReportContentChunkResponse;
|
|
976
1098
|
}
|
|
977
1099
|
/** UploadReportContentChunk response. */
|
|
@@ -980,7 +1102,9 @@ interface UploadReportContentChunkResponse {
|
|
|
980
1102
|
content?: ReportContent;
|
|
981
1103
|
}
|
|
982
1104
|
interface CompleteWorkerReportContentRequest {
|
|
1105
|
+
/** Run that the operation belongs to, and the credential that authenticates it. */
|
|
983
1106
|
scope?: WorkerReportingScope;
|
|
1107
|
+
/** Operation to perform. */
|
|
984
1108
|
operation?: CompleteReportContentRequest;
|
|
985
1109
|
}
|
|
986
1110
|
/** CompleteReportContent request. */
|
|
@@ -997,6 +1121,7 @@ interface CompleteReportContentRequest {
|
|
|
997
1121
|
requestId?: string;
|
|
998
1122
|
}
|
|
999
1123
|
interface CompleteWorkerReportContentResponse {
|
|
1124
|
+
/** Result of the operation. */
|
|
1000
1125
|
result?: CompleteReportContentResponse;
|
|
1001
1126
|
}
|
|
1002
1127
|
/** CompleteReportContent response. */
|