openlayer 0.21.1 → 0.22.0

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.
Files changed (42) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/client.d.mts +2 -2
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +2 -2
  5. package/client.d.ts.map +1 -1
  6. package/client.js.map +1 -1
  7. package/client.mjs +1 -1
  8. package/client.mjs.map +1 -1
  9. package/package.json +1 -1
  10. package/resources/commits/test-results.d.mts +61 -0
  11. package/resources/commits/test-results.d.mts.map +1 -1
  12. package/resources/commits/test-results.d.ts +61 -0
  13. package/resources/commits/test-results.d.ts.map +1 -1
  14. package/resources/index.d.mts +1 -1
  15. package/resources/index.d.mts.map +1 -1
  16. package/resources/index.d.ts +1 -1
  17. package/resources/index.d.ts.map +1 -1
  18. package/resources/index.js.map +1 -1
  19. package/resources/index.mjs +1 -1
  20. package/resources/index.mjs.map +1 -1
  21. package/resources/inference-pipelines/test-results.d.mts +61 -0
  22. package/resources/inference-pipelines/test-results.d.mts.map +1 -1
  23. package/resources/inference-pipelines/test-results.d.ts +61 -0
  24. package/resources/inference-pipelines/test-results.d.ts.map +1 -1
  25. package/resources/tests.d.mts +518 -1
  26. package/resources/tests.d.mts.map +1 -1
  27. package/resources/tests.d.ts +518 -1
  28. package/resources/tests.d.ts.map +1 -1
  29. package/resources/tests.js +13 -0
  30. package/resources/tests.js.map +1 -1
  31. package/resources/tests.mjs +13 -0
  32. package/resources/tests.mjs.map +1 -1
  33. package/src/client.ts +9 -1
  34. package/src/resources/commits/test-results.ts +85 -0
  35. package/src/resources/index.ts +7 -1
  36. package/src/resources/inference-pipelines/test-results.ts +85 -0
  37. package/src/resources/tests.ts +820 -1
  38. package/src/version.ts +1 -1
  39. package/version.d.mts +1 -1
  40. package/version.d.ts +1 -1
  41. package/version.js +1 -1
  42. package/version.mjs +1 -1
@@ -69,15 +69,44 @@ export namespace TestResultListResponse {
69
69
  */
70
70
  statusMessage: string | null;
71
71
 
72
+ expectedValues?: Array<Item.ExpectedValue>;
73
+
72
74
  goal?: Item.Goal;
73
75
 
74
76
  /**
75
77
  * The test id.
76
78
  */
77
79
  goalId?: string | null;
80
+
81
+ /**
82
+ * The URL to the rows of the test result.
83
+ */
84
+ rows?: string;
85
+
86
+ /**
87
+ * The body of the rows request.
88
+ */
89
+ rowsBody?: Item.RowsBody | null;
78
90
  }
79
91
 
80
92
  export namespace Item {
93
+ export interface ExpectedValue {
94
+ /**
95
+ * the lower threshold for the expected value
96
+ */
97
+ lowerThreshold?: number | null;
98
+
99
+ /**
100
+ * One of the `measurement` values in the test's thresholds
101
+ */
102
+ measurement?: string;
103
+
104
+ /**
105
+ * The upper threshold for the expected value
106
+ */
107
+ upperThreshold?: number | null;
108
+ }
109
+
81
110
  export interface Goal {
82
111
  /**
83
112
  * The test id.
@@ -309,6 +338,62 @@ export namespace TestResultListResponse {
309
338
  }
310
339
  }
311
340
  }
341
+
342
+ /**
343
+ * The body of the rows request.
344
+ */
345
+ export interface RowsBody {
346
+ columnFilters?: Array<
347
+ RowsBody.SetColumnFilter | RowsBody.NumericColumnFilter | RowsBody.StringColumnFilter
348
+ > | null;
349
+
350
+ excludeRowIdList?: Array<number> | null;
351
+
352
+ notSearchQueryAnd?: Array<string> | null;
353
+
354
+ notSearchQueryOr?: Array<string> | null;
355
+
356
+ rowIdList?: Array<number> | null;
357
+
358
+ searchQueryAnd?: Array<string> | null;
359
+
360
+ searchQueryOr?: Array<string> | null;
361
+ }
362
+
363
+ export namespace RowsBody {
364
+ export interface SetColumnFilter {
365
+ /**
366
+ * The name of the column.
367
+ */
368
+ measurement: string;
369
+
370
+ operator: 'contains_none' | 'contains_any' | 'contains_all' | 'one_of' | 'none_of';
371
+
372
+ value: Array<string | number>;
373
+ }
374
+
375
+ export interface NumericColumnFilter {
376
+ /**
377
+ * The name of the column.
378
+ */
379
+ measurement: string;
380
+
381
+ operator: '>' | '>=' | 'is' | '<' | '<=' | '!=';
382
+
383
+ value: number | null;
384
+ }
385
+
386
+ export interface StringColumnFilter {
387
+ /**
388
+ * The name of the column.
389
+ */
390
+ measurement: string;
391
+
392
+ operator: 'is' | '!=';
393
+
394
+ value: string | boolean;
395
+ }
396
+ }
312
397
  }
313
398
  }
314
399
 
@@ -16,7 +16,13 @@ export {
16
16
  type ProjectListParams,
17
17
  } from './projects/projects';
18
18
  export { Storage } from './storage/storage';
19
- export { Tests, type TestEvaluateResponse, type TestEvaluateParams } from './tests';
19
+ export {
20
+ Tests,
21
+ type TestEvaluateResponse,
22
+ type TestListResultsResponse,
23
+ type TestEvaluateParams,
24
+ type TestListResultsParams,
25
+ } from './tests';
20
26
  export {
21
27
  Workspaces,
22
28
  type WorkspaceRetrieveResponse,
@@ -77,15 +77,44 @@ export namespace TestResultListResponse {
77
77
  */
78
78
  statusMessage: string | null;
79
79
 
80
+ expectedValues?: Array<Item.ExpectedValue>;
81
+
80
82
  goal?: Item.Goal;
81
83
 
82
84
  /**
83
85
  * The test id.
84
86
  */
85
87
  goalId?: string | null;
88
+
89
+ /**
90
+ * The URL to the rows of the test result.
91
+ */
92
+ rows?: string;
93
+
94
+ /**
95
+ * The body of the rows request.
96
+ */
97
+ rowsBody?: Item.RowsBody | null;
86
98
  }
87
99
 
88
100
  export namespace Item {
101
+ export interface ExpectedValue {
102
+ /**
103
+ * the lower threshold for the expected value
104
+ */
105
+ lowerThreshold?: number | null;
106
+
107
+ /**
108
+ * One of the `measurement` values in the test's thresholds
109
+ */
110
+ measurement?: string;
111
+
112
+ /**
113
+ * The upper threshold for the expected value
114
+ */
115
+ upperThreshold?: number | null;
116
+ }
117
+
89
118
  export interface Goal {
90
119
  /**
91
120
  * The test id.
@@ -317,6 +346,62 @@ export namespace TestResultListResponse {
317
346
  }
318
347
  }
319
348
  }
349
+
350
+ /**
351
+ * The body of the rows request.
352
+ */
353
+ export interface RowsBody {
354
+ columnFilters?: Array<
355
+ RowsBody.SetColumnFilter | RowsBody.NumericColumnFilter | RowsBody.StringColumnFilter
356
+ > | null;
357
+
358
+ excludeRowIdList?: Array<number> | null;
359
+
360
+ notSearchQueryAnd?: Array<string> | null;
361
+
362
+ notSearchQueryOr?: Array<string> | null;
363
+
364
+ rowIdList?: Array<number> | null;
365
+
366
+ searchQueryAnd?: Array<string> | null;
367
+
368
+ searchQueryOr?: Array<string> | null;
369
+ }
370
+
371
+ export namespace RowsBody {
372
+ export interface SetColumnFilter {
373
+ /**
374
+ * The name of the column.
375
+ */
376
+ measurement: string;
377
+
378
+ operator: 'contains_none' | 'contains_any' | 'contains_all' | 'one_of' | 'none_of';
379
+
380
+ value: Array<string | number>;
381
+ }
382
+
383
+ export interface NumericColumnFilter {
384
+ /**
385
+ * The name of the column.
386
+ */
387
+ measurement: string;
388
+
389
+ operator: '>' | '>=' | 'is' | '<' | '<=' | '!=';
390
+
391
+ value: number | null;
392
+ }
393
+
394
+ export interface StringColumnFilter {
395
+ /**
396
+ * The name of the column.
397
+ */
398
+ measurement: string;
399
+
400
+ operator: 'is' | '!=';
401
+
402
+ value: string | boolean;
403
+ }
404
+ }
320
405
  }
321
406
  }
322
407