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