@proofhound/api-client 0.1.7 → 0.1.9

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.
@@ -10,11 +10,12 @@ export declare const annotationClient: {
10
10
  id: string;
11
11
  projectId: string;
12
12
  name: string;
13
- scope: "canary" | "online";
13
+ scope: "canary" | "online" | "all";
14
14
  releaseLineId: string;
15
15
  releaseLineName: string;
16
- releaseVariantId: string;
17
- releaseVariantLabel: string;
16
+ releaseVersionId: string;
17
+ releaseVersionLabel: string;
18
+ releaseVersionScope: "exact" | "journey";
18
19
  promptName: string;
19
20
  promptVersionId: string;
20
21
  promptVersionNumber: number | null;
@@ -23,7 +24,7 @@ export declare const annotationClient: {
23
24
  modelId: string;
24
25
  modelName: string | null;
25
26
  modelProvider: string | null;
26
- status: "active" | "completed" | "archived";
27
+ status: "active" | "archived" | "completed";
27
28
  progress: {
28
29
  total: number;
29
30
  pending: number;
@@ -48,10 +49,14 @@ export declare const annotationClient: {
48
49
  status: string;
49
50
  promptName: string;
50
51
  inputConnectorName: string | null;
51
- variants: {
52
+ versions: {
52
53
  id: string;
53
54
  releaseLineId: string;
54
55
  label: string;
56
+ kind: "production" | "candidate";
57
+ productionVersionNumber: number | null;
58
+ targetProductionVersionNumber: number;
59
+ candidateNumber: number | null;
55
60
  promptVersionId: string;
56
61
  promptVersionNumber: number | null;
57
62
  promptVersionLabel: string | null;
@@ -59,8 +64,16 @@ export declare const annotationClient: {
59
64
  modelId: string;
60
65
  modelName: string | null;
61
66
  modelProvider: string | null;
67
+ runResultCount: number;
62
68
  canaryCount: number;
63
69
  onlineCount: number;
70
+ journeyCanaryCount: number;
71
+ journeyOnlineCount: number;
72
+ journeyCompatible: boolean;
73
+ categoryCounts: {
74
+ category: string;
75
+ count: number;
76
+ }[];
64
77
  }[];
65
78
  }[];
66
79
  total: number;
@@ -69,11 +82,12 @@ export declare const annotationClient: {
69
82
  id: string;
70
83
  projectId: string;
71
84
  name: string;
72
- scope: "canary" | "online";
85
+ scope: "canary" | "online" | "all";
73
86
  releaseLineId: string;
74
87
  releaseLineName: string;
75
- releaseVariantId: string;
76
- releaseVariantLabel: string;
88
+ releaseVersionId: string;
89
+ releaseVersionLabel: string;
90
+ releaseVersionScope: "exact" | "journey";
77
91
  promptName: string;
78
92
  promptVersionId: string;
79
93
  promptVersionNumber: number | null;
@@ -82,7 +96,7 @@ export declare const annotationClient: {
82
96
  modelId: string;
83
97
  modelName: string | null;
84
98
  modelProvider: string | null;
85
- status: "active" | "completed" | "archived";
99
+ status: "active" | "archived" | "completed";
86
100
  progress: {
87
101
  total: number;
88
102
  pending: number;
@@ -102,11 +116,12 @@ export declare const annotationClient: {
102
116
  id: string;
103
117
  projectId: string;
104
118
  name: string;
105
- scope: "canary" | "online";
119
+ scope: "canary" | "online" | "all";
106
120
  releaseLineId: string;
107
121
  releaseLineName: string;
108
- releaseVariantId: string;
109
- releaseVariantLabel: string;
122
+ releaseVersionId: string;
123
+ releaseVersionLabel: string;
124
+ releaseVersionScope: "exact" | "journey";
110
125
  promptName: string;
111
126
  promptVersionId: string;
112
127
  promptVersionNumber: number | null;
@@ -115,7 +130,7 @@ export declare const annotationClient: {
115
130
  modelId: string;
116
131
  modelName: string | null;
117
132
  modelProvider: string | null;
118
- status: "active" | "completed" | "archived";
133
+ status: "active" | "archived" | "completed";
119
134
  progress: {
120
135
  total: number;
121
136
  pending: number;
@@ -1 +1 @@
1
- {"version":3,"file":"annotation.d.ts","sourceRoot":"","sources":["../src/annotation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAGV,yBAAyB,EAIzB,8BAA8B,EAE9B,4BAA4B,EAC5B,+BAA+B,EAC/B,8BAA8B,EAC/B,MAAM,oBAAoB,CAAC;AAG5B,MAAM,WAAW,yBAAyB;IACxC,MAAM,CAAC,EAAE,yBAAyB,CAAC;IACnC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,e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;;;;;;;+BAKxD,MAAM,UAAU,MAAM,QAAQ,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+BAK5D,MAAM,UAAU,MAAM,QAAQ,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;gCAG3D,MAAM,UAAU,MAAM,QAAQ,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;CAE1F,CAAC"}
@@ -37,9 +37,9 @@ export declare const canaryReleaseClient: {
37
37
  stopConditions: {
38
38
  maxDurationSeconds: number | null;
39
39
  maxSamples: number | null;
40
- maxFailureRate: number | null;
41
40
  } | null;
42
- recordMode: "all" | "correct_only";
41
+ recordMode: "all" | "selected_categories" | "correct_only";
42
+ recordCategories: string[];
43
43
  filterRules: import("@proofhound/shared").CanaryReleaseFilterNodeDto | null;
44
44
  variableMapping: {
45
45
  source: string;
@@ -66,6 +66,10 @@ export declare const canaryReleaseClient: {
66
66
  tpmLimit: number;
67
67
  concurrency: number;
68
68
  temperature: number;
69
+ stopConditions?: {
70
+ maxDurationSeconds: number | null;
71
+ maxSamples: number | null;
72
+ } | null | undefined;
69
73
  };
70
74
  totalReceived: number;
71
75
  totalProcessed: number;
@@ -93,9 +97,8 @@ export declare const canaryReleaseClient: {
93
97
  targetDatasetName: string | null;
94
98
  createdByName: string | null;
95
99
  annotationTaskId: string | null;
96
- releaseVariantId: string | null;
97
- releaseVariantNumber: number | null;
98
- releaseVariantLabel: string | null;
100
+ releaseVersionId: string | null;
101
+ releaseVersionLabel: string | null;
99
102
  }>;
100
103
  create: (projectId: string, body: CreateCanaryReleaseInputDto) => Promise<{
101
104
  id: string;
@@ -116,9 +119,9 @@ export declare const canaryReleaseClient: {
116
119
  stopConditions: {
117
120
  maxDurationSeconds: number | null;
118
121
  maxSamples: number | null;
119
- maxFailureRate: number | null;
120
122
  } | null;
121
- recordMode: "all" | "correct_only";
123
+ recordMode: "all" | "selected_categories" | "correct_only";
124
+ recordCategories: string[];
122
125
  filterRules: import("@proofhound/shared").CanaryReleaseFilterNodeDto | null;
123
126
  variableMapping: {
124
127
  source: string;
@@ -145,6 +148,10 @@ export declare const canaryReleaseClient: {
145
148
  tpmLimit: number;
146
149
  concurrency: number;
147
150
  temperature: number;
151
+ stopConditions?: {
152
+ maxDurationSeconds: number | null;
153
+ maxSamples: number | null;
154
+ } | null | undefined;
148
155
  };
149
156
  totalReceived: number;
150
157
  totalProcessed: number;
@@ -172,9 +179,8 @@ export declare const canaryReleaseClient: {
172
179
  targetDatasetName: string | null;
173
180
  createdByName: string | null;
174
181
  annotationTaskId: string | null;
175
- releaseVariantId: string | null;
176
- releaseVariantNumber: number | null;
177
- releaseVariantLabel: string | null;
182
+ releaseVersionId: string | null;
183
+ releaseVersionLabel: string | null;
178
184
  }>;
179
185
  start: (projectId: string, canaryId: string) => Promise<{
180
186
  id: string;
@@ -195,9 +201,9 @@ export declare const canaryReleaseClient: {
195
201
  stopConditions: {
196
202
  maxDurationSeconds: number | null;
197
203
  maxSamples: number | null;
198
- maxFailureRate: number | null;
199
204
  } | null;
200
- recordMode: "all" | "correct_only";
205
+ recordMode: "all" | "selected_categories" | "correct_only";
206
+ recordCategories: string[];
201
207
  filterRules: import("@proofhound/shared").CanaryReleaseFilterNodeDto | null;
202
208
  variableMapping: {
203
209
  source: string;
@@ -224,6 +230,10 @@ export declare const canaryReleaseClient: {
224
230
  tpmLimit: number;
225
231
  concurrency: number;
226
232
  temperature: number;
233
+ stopConditions?: {
234
+ maxDurationSeconds: number | null;
235
+ maxSamples: number | null;
236
+ } | null | undefined;
227
237
  };
228
238
  totalReceived: number;
229
239
  totalProcessed: number;
@@ -251,9 +261,8 @@ export declare const canaryReleaseClient: {
251
261
  targetDatasetName: string | null;
252
262
  createdByName: string | null;
253
263
  annotationTaskId: string | null;
254
- releaseVariantId: string | null;
255
- releaseVariantNumber: number | null;
256
- releaseVariantLabel: string | null;
264
+ releaseVersionId: string | null;
265
+ releaseVersionLabel: string | null;
257
266
  }>;
258
267
  stop: (projectId: string, canaryId: string) => Promise<{
259
268
  id: string;
@@ -274,9 +283,9 @@ export declare const canaryReleaseClient: {
274
283
  stopConditions: {
275
284
  maxDurationSeconds: number | null;
276
285
  maxSamples: number | null;
277
- maxFailureRate: number | null;
278
286
  } | null;
279
- recordMode: "all" | "correct_only";
287
+ recordMode: "all" | "selected_categories" | "correct_only";
288
+ recordCategories: string[];
280
289
  filterRules: import("@proofhound/shared").CanaryReleaseFilterNodeDto | null;
281
290
  variableMapping: {
282
291
  source: string;
@@ -303,6 +312,10 @@ export declare const canaryReleaseClient: {
303
312
  tpmLimit: number;
304
313
  concurrency: number;
305
314
  temperature: number;
315
+ stopConditions?: {
316
+ maxDurationSeconds: number | null;
317
+ maxSamples: number | null;
318
+ } | null | undefined;
306
319
  };
307
320
  totalReceived: number;
308
321
  totalProcessed: number;
@@ -330,9 +343,8 @@ export declare const canaryReleaseClient: {
330
343
  targetDatasetName: string | null;
331
344
  createdByName: string | null;
332
345
  annotationTaskId: string | null;
333
- releaseVariantId: string | null;
334
- releaseVariantNumber: number | null;
335
- releaseVariantLabel: string | null;
346
+ releaseVersionId: string | null;
347
+ releaseVersionLabel: string | null;
336
348
  }>;
337
349
  resume: (projectId: string, canaryId: string) => Promise<{
338
350
  id: string;
@@ -353,9 +365,9 @@ export declare const canaryReleaseClient: {
353
365
  stopConditions: {
354
366
  maxDurationSeconds: number | null;
355
367
  maxSamples: number | null;
356
- maxFailureRate: number | null;
357
368
  } | null;
358
- recordMode: "all" | "correct_only";
369
+ recordMode: "all" | "selected_categories" | "correct_only";
370
+ recordCategories: string[];
359
371
  filterRules: import("@proofhound/shared").CanaryReleaseFilterNodeDto | null;
360
372
  variableMapping: {
361
373
  source: string;
@@ -382,6 +394,10 @@ export declare const canaryReleaseClient: {
382
394
  tpmLimit: number;
383
395
  concurrency: number;
384
396
  temperature: number;
397
+ stopConditions?: {
398
+ maxDurationSeconds: number | null;
399
+ maxSamples: number | null;
400
+ } | null | undefined;
385
401
  };
386
402
  totalReceived: number;
387
403
  totalProcessed: number;
@@ -409,9 +425,8 @@ export declare const canaryReleaseClient: {
409
425
  targetDatasetName: string | null;
410
426
  createdByName: string | null;
411
427
  annotationTaskId: string | null;
412
- releaseVariantId: string | null;
413
- releaseVariantNumber: number | null;
414
- releaseVariantLabel: string | null;
428
+ releaseVersionId: string | null;
429
+ releaseVersionLabel: string | null;
415
430
  }>;
416
431
  cancel: (projectId: string, canaryId: string) => Promise<{
417
432
  id: string;
@@ -432,9 +447,9 @@ export declare const canaryReleaseClient: {
432
447
  stopConditions: {
433
448
  maxDurationSeconds: number | null;
434
449
  maxSamples: number | null;
435
- maxFailureRate: number | null;
436
450
  } | null;
437
- recordMode: "all" | "correct_only";
451
+ recordMode: "all" | "selected_categories" | "correct_only";
452
+ recordCategories: string[];
438
453
  filterRules: import("@proofhound/shared").CanaryReleaseFilterNodeDto | null;
439
454
  variableMapping: {
440
455
  source: string;
@@ -461,6 +476,10 @@ export declare const canaryReleaseClient: {
461
476
  tpmLimit: number;
462
477
  concurrency: number;
463
478
  temperature: number;
479
+ stopConditions?: {
480
+ maxDurationSeconds: number | null;
481
+ maxSamples: number | null;
482
+ } | null | undefined;
464
483
  };
465
484
  totalReceived: number;
466
485
  totalProcessed: number;
@@ -488,9 +507,8 @@ export declare const canaryReleaseClient: {
488
507
  targetDatasetName: string | null;
489
508
  createdByName: string | null;
490
509
  annotationTaskId: string | null;
491
- releaseVariantId: string | null;
492
- releaseVariantNumber: number | null;
493
- releaseVariantLabel: string | null;
510
+ releaseVersionId: string | null;
511
+ releaseVersionLabel: string | null;
494
512
  }>;
495
513
  updateTrafficRatio: (projectId: string, canaryId: string, body: UpdateCanaryTrafficRatioInputDto) => Promise<{
496
514
  id: string;
@@ -511,9 +529,9 @@ export declare const canaryReleaseClient: {
511
529
  stopConditions: {
512
530
  maxDurationSeconds: number | null;
513
531
  maxSamples: number | null;
514
- maxFailureRate: number | null;
515
532
  } | null;
516
- recordMode: "all" | "correct_only";
533
+ recordMode: "all" | "selected_categories" | "correct_only";
534
+ recordCategories: string[];
517
535
  filterRules: import("@proofhound/shared").CanaryReleaseFilterNodeDto | null;
518
536
  variableMapping: {
519
537
  source: string;
@@ -540,6 +558,10 @@ export declare const canaryReleaseClient: {
540
558
  tpmLimit: number;
541
559
  concurrency: number;
542
560
  temperature: number;
561
+ stopConditions?: {
562
+ maxDurationSeconds: number | null;
563
+ maxSamples: number | null;
564
+ } | null | undefined;
543
565
  };
544
566
  totalReceived: number;
545
567
  totalProcessed: number;
@@ -567,9 +589,8 @@ export declare const canaryReleaseClient: {
567
589
  targetDatasetName: string | null;
568
590
  createdByName: string | null;
569
591
  annotationTaskId: string | null;
570
- releaseVariantId: string | null;
571
- releaseVariantNumber: number | null;
572
- releaseVariantLabel: string | null;
592
+ releaseVersionId: string | null;
593
+ releaseVersionLabel: string | null;
573
594
  }>;
574
595
  softDelete: (projectId: string, canaryId: string, options?: {
575
596
  force?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"canary-release.d.ts","sourceRoot":"","sources":["../src/canary-release.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,mBAAmB,EAEnB,wBAAwB,EACxB,8BAA8B,EAC9B,2BAA2B,EAC3B,+BAA+B,EAC/B,8BAA8B,EAC9B,gCAAgC,EACjC,MAAM,oBAAoB,CAAC;AAG5B,MAAM,WAAW,4BAA4B;IAC3C,IAAI,EAAE,wBAAwB,EAAE,CAAC;IACjC,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,+BAA+B;IAC9C,IAAI,EAAE,mBAAmB,EAAE,CAAC;IAC5B,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,iCAAiC;IAChD,IAAI,EAAE,mBAAmB,EAAE,CAAC;IAC5B,YAAY,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,yBAAyB;IACxC,MAAM,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,WAAW,CAAC;IAC7C,KAAK,CAAC,EAAE,M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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBAKtB,MAAM,YAAY,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBAKxB,MAAM,YAAY,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCAM/B,MAAM,YACP,MAAM,QACV,gCAAgC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4BAO3B,MAAM,YACP,MAAM,YACN;QAAE,KAAK,CAAC,EAAE,OAAO,CAAC;QAAC,MAAM,CAAC,EAAE,MAAM,CAAA;KAAE;YAG9B,IAAI;;iCAKO,MAAM,YAAY,MAAM,UAAU,yBAAyB;kCAS3E,MAAM,YACP,MAAM,QACV,8BAA8B;kCAUzB,MAAM,YACP,MAAM,QACV,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;mCAUzB,MAAM,YACP,MAAM,QACV,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;CAQxC,CAAC"}
@@ -39,6 +39,7 @@ export declare const datasetImportClient: {
39
39
  id: string;
40
40
  projectId: string;
41
41
  name: string;
42
+ status: "active" | "archived";
42
43
  description: string | null;
43
44
  sampleCount: number;
44
45
  fieldSchema: {
@@ -64,6 +65,7 @@ export declare const datasetImportClient: {
64
65
  createdByDisplayName: string | null;
65
66
  createdAt: string;
66
67
  updatedAt: string;
68
+ archivedAt: string | null;
67
69
  deletedAt: string | null;
68
70
  };
69
71
  sampleCount: number;
@@ -1 +1 @@
1
- {"version":3,"file":"dataset-import.d.ts","sourceRoot":"","sources":["../src/dataset-import.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAEV,sBAAsB,EACtB,qBAAqB,EAGtB,MAAM,oBAAoB,CAAC;AAI5B,eAAO,MAAM,mBAAmB;kCACA,MAAM,YAAY,MAAM;;;;;;;;;;;;;;;qCAErB,MAAM,QAAQ,sBAAsB;;;;;;;;;;;;;;;0CAE/B,MAAM,YAAY,MAAM,QAAQ,qBAAqB;;;;uCAIxD,MAAM,YAAY,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCAI3B,MAAM,YAAY,MAAM;0CAKlB,MAAM,YAAY,MAAM,KAAG,OAAO;CAIzE,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG,OAAO,mBAAmB,CAAC"}
1
+ {"version":3,"file":"dataset-import.d.ts","sourceRoot":"","sources":["../src/dataset-import.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAEV,sBAAsB,EACtB,qBAAqB,EAGtB,MAAM,oBAAoB,CAAC;AAI5B,eAAO,MAAM,mBAAmB;kCACA,MAAM,YAAY,MAAM;;;;;;;;;;;;;;;qCAErB,MAAM,QAAQ,sBAAsB;;;;;;;;;;;;;;;0CAE/B,MAAM,YAAY,MAAM,QAAQ,qBAAqB;;;;uCAIxD,MAAM,YAAY,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCAI3B,MAAM,YAAY,MAAM;0CAKlB,MAAM,YAAY,MAAM,KAAG,OAAO;CAIzE,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG,OAAO,mBAAmB,CAAC"}
package/dist/dataset.d.ts CHANGED
@@ -20,6 +20,7 @@ export declare const datasetClient: {
20
20
  id: string;
21
21
  projectId: string;
22
22
  name: string;
23
+ status: "active" | "archived";
23
24
  description: string | null;
24
25
  sampleCount: number;
25
26
  fieldSchema: {
@@ -45,8 +46,35 @@ export declare const datasetClient: {
45
46
  createdByDisplayName: string | null;
46
47
  createdAt: string;
47
48
  updatedAt: string;
49
+ archivedAt: string | null;
48
50
  deletedAt: string | null;
49
51
  }>;
52
+ getDatasetDeleteImpact: (projectId: string, datasetId: string) => Promise<{
53
+ datasetId: string;
54
+ experiments: {
55
+ id: string;
56
+ kind: "experiment" | "optimization";
57
+ name: string | null;
58
+ status: string | null;
59
+ datasetId: string | null;
60
+ promptId: string | null;
61
+ promptVersionId: string | null;
62
+ promptVersionNumber: number | null;
63
+ createdAt: string | null;
64
+ }[];
65
+ optimizations: {
66
+ id: string;
67
+ kind: "experiment" | "optimization";
68
+ name: string | null;
69
+ status: string | null;
70
+ datasetId: string | null;
71
+ promptId: string | null;
72
+ promptVersionId: string | null;
73
+ promptVersionNumber: number | null;
74
+ createdAt: string | null;
75
+ }[];
76
+ total: number;
77
+ }>;
50
78
  listDatasetSamples: (projectId: string, datasetId: string, query?: {
51
79
  page?: number;
52
80
  pageSize?: number;
@@ -67,6 +95,7 @@ export declare const datasetClient: {
67
95
  id: string;
68
96
  projectId: string;
69
97
  name: string;
98
+ status: "active" | "archived";
70
99
  description: string | null;
71
100
  sampleCount: number;
72
101
  fieldSchema: {
@@ -92,6 +121,7 @@ export declare const datasetClient: {
92
121
  createdByDisplayName: string | null;
93
122
  createdAt: string;
94
123
  updatedAt: string;
124
+ archivedAt: string | null;
95
125
  deletedAt: string | null;
96
126
  };
97
127
  sampleCount: number;
@@ -100,6 +130,73 @@ export declare const datasetClient: {
100
130
  id: string;
101
131
  projectId: string;
102
132
  name: string;
133
+ status: "active" | "archived";
134
+ description: string | null;
135
+ sampleCount: number;
136
+ fieldSchema: {
137
+ name: string;
138
+ role: "text" | "metadata" | "image" | "image_url" | "image_base64" | "expected_output";
139
+ type: "string" | "number" | "boolean" | "object" | "unknown" | "null" | "array";
140
+ }[];
141
+ categoryDistribution: {
142
+ field: string | null;
143
+ total: number;
144
+ categories: {
145
+ label: string;
146
+ count: number;
147
+ }[];
148
+ };
149
+ references: {
150
+ experiments: number;
151
+ optimizations: number;
152
+ };
153
+ hasImages: boolean;
154
+ storagePrefix: string | null;
155
+ createdBy: string;
156
+ createdByDisplayName: string | null;
157
+ createdAt: string;
158
+ updatedAt: string;
159
+ archivedAt: string | null;
160
+ deletedAt: string | null;
161
+ }>;
162
+ archiveDataset: (projectId: string, datasetId: string) => Promise<{
163
+ id: string;
164
+ projectId: string;
165
+ name: string;
166
+ status: "active" | "archived";
167
+ description: string | null;
168
+ sampleCount: number;
169
+ fieldSchema: {
170
+ name: string;
171
+ role: "text" | "metadata" | "image" | "image_url" | "image_base64" | "expected_output";
172
+ type: "string" | "number" | "boolean" | "object" | "unknown" | "null" | "array";
173
+ }[];
174
+ categoryDistribution: {
175
+ field: string | null;
176
+ total: number;
177
+ categories: {
178
+ label: string;
179
+ count: number;
180
+ }[];
181
+ };
182
+ references: {
183
+ experiments: number;
184
+ optimizations: number;
185
+ };
186
+ hasImages: boolean;
187
+ storagePrefix: string | null;
188
+ createdBy: string;
189
+ createdByDisplayName: string | null;
190
+ createdAt: string;
191
+ updatedAt: string;
192
+ archivedAt: string | null;
193
+ deletedAt: string | null;
194
+ }>;
195
+ restoreDataset: (projectId: string, datasetId: string) => Promise<{
196
+ id: string;
197
+ projectId: string;
198
+ name: string;
199
+ status: "active" | "archived";
103
200
  description: string | null;
104
201
  sampleCount: number;
105
202
  fieldSchema: {
@@ -125,6 +222,7 @@ export declare const datasetClient: {
125
222
  createdByDisplayName: string | null;
126
223
  createdAt: string;
127
224
  updatedAt: string;
225
+ archivedAt: string | null;
128
226
  deletedAt: string | null;
129
227
  }>;
130
228
  downloadDataset: (projectId: string, datasetId: string, format: DatasetExportFormatDto, options?: DatasetTransferOptions) => Promise<DatasetDownloadResult>;
@@ -1 +1 @@
1
- {"version":3,"file":"dataset.d.ts","sourceRoot":"","sources":["../src/dataset.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,gBAAgB,EAEhB,sBAAsB,EACtB,kBAAkB,EAElB,uBAAuB,EAEvB,wBAAwB,EACzB,MAAM,oBAAoB,CAAC;AAI5B,MAAM,WAAW,uBAAuB;IACtC,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,GAA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D;AAED,MAAM,WAAW,qBAAqB;IACpC,IAAI,EAAE,IAAI,CAAC;IACX,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;CACrB;AAyBD,eAAO,MAAM,aAAa;8BACE,MAAM;cAEf,kBAAkB,EAAE;eAAS,MAAM;;4BAE5B,MAAM,aAAa,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAEb,MAAM,aAAa,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;oCAGhD,MAAM,aACN,MAAM,UACT;QAAE,IAAI,CAAC,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;QAAC,MAAM,CAAC,EAAE,MAAM,CAAA;KAAE;;;;;;;;;;;+BAOpC,MAAM,QAAQ,gBAAgB,YAAY,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+BAMhE,MAAM,aAAa,MAAM,QAAQ,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gCAIxD,MAAM,aAAa,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gCAEzB,MAAM,aAAa,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCAGxC,MAAM,aACN,MAAM,UACT,sBAAsB,YACpB,sBAAsB;+BAuBP,MAAM,aAAa,MAAM;sCAElB,MAAM,aAAa,MAAM,QAAQ,uBAAuB;;;CAI3F,CAAC"}
package/dist/dataset.js CHANGED
@@ -28,6 +28,7 @@ exports.datasetClient = {
28
28
  .get(`/datasets`)
29
29
  .then((r) => r.data),
30
30
  getDataset: (projectId, datasetId) => http_1.httpClient.get(`/datasets/${datasetId}`).then((r) => r.data),
31
+ getDatasetDeleteImpact: (projectId, datasetId) => http_1.httpClient.get(`/datasets/${datasetId}/delete-impact`).then((r) => r.data),
31
32
  listDatasetSamples: (projectId, datasetId, query) => http_1.httpClient
32
33
  .get(`/datasets/${datasetId}/samples`, {
33
34
  params: { page: query?.page, pageSize: query?.pageSize, search: query?.search || undefined },
@@ -41,6 +42,8 @@ exports.datasetClient = {
41
42
  updateDataset: (projectId, datasetId, body) => http_1.httpClient
42
43
  .patch(`/datasets/${datasetId}`, body)
43
44
  .then((r) => r.data),
45
+ archiveDataset: (projectId, datasetId) => http_1.httpClient.patch(`/datasets/${datasetId}/archive`).then((r) => r.data),
46
+ restoreDataset: (projectId, datasetId) => http_1.httpClient.patch(`/datasets/${datasetId}/restore`).then((r) => r.data),
44
47
  downloadDataset: (projectId, datasetId, format, options) => http_1.httpClient
45
48
  .get(`/datasets/${datasetId}/export`, {
46
49
  params: { format },
@@ -1 +1 @@
1
- {"version":3,"file":"dataset.js","sourceRoot":"","sources":["../src/dataset.ts"],"names":[],"mappings":";;;AAWA,iCAAoC;AAiBpC,SAAS,kBAAkB,CAAC,KAAyB;IACnD,OAAO;QACL,WAAW,EAAE,KAAK,CAAC,MAAM;QACzB,UAAU,EAAE,OAAO,KAAK,CAAC,KAAK,KAAK,QAAQ,IAAI,MAAM,CAAC,QAAQ,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI;KACjG,CAAC;AACJ,CAAC;AAED,SAAS,0BAA0B,CAAC,WAA+B,EAAE,QAAgB;IACnF,IAAI,CAAC,WAAW;QAAE,OAAO,QAAQ,CAAC;IAElC,MAAM,SAAS,GAAG,6BAA6B,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;IAClE,IAAI,SAAS,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;QACnB,IAAI,CAAC;YACH,OAAO,kBAAkB,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC;QAC1C,CAAC;QAAC,MAAM,CAAC;YACP,OAAO,SAAS,CAAC,CAAC,CAAC,CAAC;QACtB,CAAC;IACH,CAAC;IAED,MAAM,UAAU,GAAG,yBAAyB,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;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C,CAAC,0BAA0B,CAAC;QAC3G,OAAO;YACL,IAAI,EAAE,CAAC,CAAC,IAAI;YACZ,WAAW;YACX,QAAQ,EAAE,0BAA0B,CAClC,OAAO,iBAAiB,KAAK,QAAQ,CAAC,CAAC,CAAC,iBAAiB,CAAC,CAAC,CAAC,SAAS,EACrE,WAAW,SAAS,IAAI,MAAM,EAAE,CACjC;SACF,CAAC;IACJ,CAAC,CAAC;IACN,aAAa,EAAE,CAAC,SAAiB,EAAE,SAAiB,EAAE,EAAE,CACtD,iBAAU,CAAC,MAAM,CAAO,aAAa,SAAS,EAAE,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,SAAS,CAAC;IACzE,oBAAoB,EAAE,CAAC,SAAiB,EAAE,SAAiB,EAAE,IAA6B,EAAE,EAAE,CAC5F,iBAAU;SACP,MAAM,CAAkC,aAAa,SAAS,UAAU,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;SACzF,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC;CACzB,CAAC"}
@@ -26,7 +26,8 @@ export declare const productionReleaseClient: {
26
26
  };
27
27
  variableMapping: Record<string, string>;
28
28
  filterRules: Record<string, unknown> | null;
29
- recordMode: "all" | "correct_only";
29
+ recordMode: "all" | "selected_categories" | "correct_only";
30
+ recordCategories: string[];
30
31
  externalIdField: string | null;
31
32
  retentionDays: number | null;
32
33
  status: "failed" | "running" | "stopped" | "success";
@@ -62,7 +63,8 @@ export declare const productionReleaseClient: {
62
63
  };
63
64
  variableMapping: Record<string, string>;
64
65
  filterRules: Record<string, unknown> | null;
65
- recordMode: "all" | "correct_only";
66
+ recordMode: "all" | "selected_categories" | "correct_only";
67
+ recordCategories: string[];
66
68
  externalIdField: string | null;
67
69
  retentionDays: number | null;
68
70
  status: "failed" | "running" | "stopped" | "success";
@@ -98,7 +100,8 @@ export declare const productionReleaseClient: {
98
100
  };
99
101
  variableMapping: Record<string, string>;
100
102
  filterRules: Record<string, unknown> | null;
101
- recordMode: "all" | "correct_only";
103
+ recordMode: "all" | "selected_categories" | "correct_only";
104
+ recordCategories: string[];
102
105
  externalIdField: string | null;
103
106
  retentionDays: number | null;
104
107
  status: "failed" | "running" | "stopped" | "success";
@@ -1 +1 @@
1
- {"version":3,"file":"production-release.d.ts","sourceRoot":"","sources":["../src/production-release.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,+BAA+B,EAE/B,+BAA+B,EAC/B,4BAA4B,EAC5B,6BAA6B,EAC9B,MAAM,oBAAoB,CAAC;AAG5B,MAAM,WAAW,gCAAgC;IAC/C,IAAI,EAAE,4BAA4B,EAAE,CAAC;IACrC,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,mCAAmC;IAClD,IAAI,EAAE,+BAA+B,EAAE,CAAC;IACxC,KAAK,EAAE,MAAM,CAAC;CACf;AAED,eAAO,MAAM,uBAAuB;sBAChB,MAAM;qBAKP,MAAM,WAAW,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBAKpB,MAAM,QAAQ,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAK/C,MAAM,WAAW,MAAM,QAAQ,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4BAQtD,MAAM,YAAY,MAAM;CAMjD,CAAC"}
1
+ {"version":3,"file":"production-release.d.ts","sourceRoot":"","sources":["../src/production-release.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,+BAA+B,EAE/B,+BAA+B,EAC/B,4BAA4B,EAC5B,6BAA6B,EAC9B,MAAM,oBAAoB,CAAC;AAG5B,MAAM,WAAW,gCAAgC;IAC/C,IAAI,EAAE,4BAA4B,EAAE,CAAC;IACrC,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,mCAAmC;IAClD,IAAI,EAAE,+BAA+B,EAAE,CAAC;IACxC,KAAK,EAAE,MAAM,CAAC;C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