@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
|
@@ -243,102 +243,205 @@ interface ProjectPlanReady {
|
|
|
243
243
|
conversationId?: string;
|
|
244
244
|
}
|
|
245
245
|
interface AcquireWorkerReportingRequest {
|
|
246
|
-
/**
|
|
246
|
+
/**
|
|
247
|
+
* Project ID.
|
|
248
|
+
* @format GUID
|
|
249
|
+
*/
|
|
247
250
|
projectId?: string;
|
|
248
|
-
/**
|
|
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
|
-
/**
|
|
260
|
+
/**
|
|
261
|
+
* Reporting credential. Specify it in later calls to this service.
|
|
262
|
+
* @maxLength 256
|
|
263
|
+
*/
|
|
253
264
|
credential?: string;
|
|
254
|
-
/**
|
|
265
|
+
/**
|
|
266
|
+
* ID of the reporting session.
|
|
267
|
+
* @format GUID
|
|
268
|
+
*/
|
|
255
269
|
sessionId?: string;
|
|
256
|
-
/**
|
|
270
|
+
/**
|
|
271
|
+
* Project ID.
|
|
272
|
+
* @format GUID
|
|
273
|
+
*/
|
|
257
274
|
projectId?: string;
|
|
258
|
-
/**
|
|
275
|
+
/**
|
|
276
|
+
* ID of the Wix site that the project belongs to.
|
|
277
|
+
* @format GUID
|
|
278
|
+
*/
|
|
259
279
|
metaSiteId?: string;
|
|
260
|
-
/**
|
|
280
|
+
/**
|
|
281
|
+
* ID of the site user who started the work.
|
|
282
|
+
* @format GUID
|
|
283
|
+
*/
|
|
261
284
|
initiatingUserId?: string;
|
|
262
|
-
/**
|
|
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
|
-
/**
|
|
294
|
+
/**
|
|
295
|
+
* Project ID.
|
|
296
|
+
* @format GUID
|
|
297
|
+
*/
|
|
268
298
|
projectId?: string;
|
|
269
|
-
/**
|
|
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
|
-
/**
|
|
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
|
-
/**
|
|
317
|
+
/**
|
|
318
|
+
* ID of the project job to link the run to.
|
|
319
|
+
* @format GUID
|
|
320
|
+
*/
|
|
280
321
|
jobId?: string;
|
|
281
|
-
/**
|
|
322
|
+
/**
|
|
323
|
+
* Project ID.
|
|
324
|
+
* @format GUID
|
|
325
|
+
*/
|
|
282
326
|
projectId?: string;
|
|
283
|
-
/**
|
|
327
|
+
/**
|
|
328
|
+
* Reporting credential.
|
|
329
|
+
* @maxLength 256
|
|
330
|
+
*/
|
|
284
331
|
credential?: string;
|
|
285
|
-
/**
|
|
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
|
-
/**
|
|
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
|
-
/**
|
|
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
|
-
/**
|
|
352
|
+
/**
|
|
353
|
+
* ID of the run.
|
|
354
|
+
* @format GUID
|
|
355
|
+
*/
|
|
297
356
|
runId?: string;
|
|
298
|
-
/**
|
|
357
|
+
/**
|
|
358
|
+
* Project ID.
|
|
359
|
+
* @format GUID
|
|
360
|
+
*/
|
|
299
361
|
projectId?: string;
|
|
300
|
-
/**
|
|
362
|
+
/**
|
|
363
|
+
* ID of the Wix site that the project belongs to.
|
|
364
|
+
* @format GUID
|
|
365
|
+
*/
|
|
301
366
|
metaSiteId?: string;
|
|
302
|
-
/**
|
|
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
|
-
/**
|
|
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
|
-
/**
|
|
382
|
+
/**
|
|
383
|
+
* Project ID.
|
|
384
|
+
* @format GUID
|
|
385
|
+
*/
|
|
312
386
|
projectId?: string;
|
|
313
|
-
/**
|
|
387
|
+
/**
|
|
388
|
+
* Reporting credential.
|
|
389
|
+
* @maxLength 256
|
|
390
|
+
*/
|
|
314
391
|
credential?: string;
|
|
315
|
-
/**
|
|
392
|
+
/**
|
|
393
|
+
* ID of the run to link.
|
|
394
|
+
* @format GUID
|
|
395
|
+
*/
|
|
316
396
|
runId?: string;
|
|
317
|
-
/**
|
|
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
|
-
/**
|
|
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
|
-
/**
|
|
411
|
+
/**
|
|
412
|
+
* Project ID.
|
|
413
|
+
* @format GUID
|
|
414
|
+
*/
|
|
326
415
|
projectId?: string;
|
|
327
|
-
/**
|
|
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
|
-
/**
|
|
431
|
+
/**
|
|
432
|
+
* Project ID.
|
|
433
|
+
* @format GUID
|
|
434
|
+
*/
|
|
338
435
|
projectId?: string;
|
|
339
|
-
/**
|
|
436
|
+
/**
|
|
437
|
+
* ID of the reporting run.
|
|
438
|
+
* @format GUID
|
|
439
|
+
*/
|
|
340
440
|
runId?: string;
|
|
341
|
-
/**
|
|
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. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/auto_sdk_containers_projects",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.26",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/",
|
|
@@ -50,5 +50,5 @@
|
|
|
50
50
|
"fqdn": "wix.containers.projects.v1.project"
|
|
51
51
|
}
|
|
52
52
|
},
|
|
53
|
-
"falconPackageHash": "
|
|
53
|
+
"falconPackageHash": "ee7ee333724aece11e5bebb85d7158e64f013c67e049947db5366485"
|
|
54
54
|
}
|