openlayer 0.2.2 → 0.4.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 (70) hide show
  1. package/CHANGELOG.md +26 -0
  2. package/README.md +1 -9
  3. package/package.json +1 -1
  4. package/resources/commits/test-results.d.ts +3 -3
  5. package/resources/commits/test-results.d.ts.map +1 -1
  6. package/resources/commits/test-results.js +3 -3
  7. package/resources/commits/test-results.js.map +1 -1
  8. package/resources/commits/test-results.mjs +3 -3
  9. package/resources/commits/test-results.mjs.map +1 -1
  10. package/resources/inference-pipelines/data.d.ts +4 -4
  11. package/resources/inference-pipelines/data.d.ts.map +1 -1
  12. package/resources/inference-pipelines/data.js +3 -3
  13. package/resources/inference-pipelines/data.js.map +1 -1
  14. package/resources/inference-pipelines/data.mjs +3 -3
  15. package/resources/inference-pipelines/data.mjs.map +1 -1
  16. package/resources/inference-pipelines/index.d.ts +1 -0
  17. package/resources/inference-pipelines/index.d.ts.map +1 -1
  18. package/resources/inference-pipelines/index.js +3 -1
  19. package/resources/inference-pipelines/index.js.map +1 -1
  20. package/resources/inference-pipelines/index.mjs +1 -0
  21. package/resources/inference-pipelines/index.mjs.map +1 -1
  22. package/resources/inference-pipelines/inference-pipelines.d.ts +5 -0
  23. package/resources/inference-pipelines/inference-pipelines.d.ts.map +1 -1
  24. package/resources/inference-pipelines/inference-pipelines.js +3 -0
  25. package/resources/inference-pipelines/inference-pipelines.js.map +1 -1
  26. package/resources/inference-pipelines/inference-pipelines.mjs +3 -0
  27. package/resources/inference-pipelines/inference-pipelines.mjs.map +1 -1
  28. package/resources/inference-pipelines/rows.d.ts +58 -0
  29. package/resources/inference-pipelines/rows.d.ts.map +1 -0
  30. package/resources/inference-pipelines/rows.js +22 -0
  31. package/resources/inference-pipelines/rows.js.map +1 -0
  32. package/resources/inference-pipelines/rows.mjs +18 -0
  33. package/resources/inference-pipelines/rows.mjs.map +1 -0
  34. package/resources/inference-pipelines/test-results.d.ts +3 -7
  35. package/resources/inference-pipelines/test-results.d.ts.map +1 -1
  36. package/resources/inference-pipelines/test-results.js +3 -3
  37. package/resources/inference-pipelines/test-results.js.map +1 -1
  38. package/resources/inference-pipelines/test-results.mjs +3 -3
  39. package/resources/inference-pipelines/test-results.mjs.map +1 -1
  40. package/resources/projects/commits.d.ts +3 -3
  41. package/resources/projects/commits.d.ts.map +1 -1
  42. package/resources/projects/commits.js +3 -3
  43. package/resources/projects/commits.js.map +1 -1
  44. package/resources/projects/commits.mjs +3 -3
  45. package/resources/projects/commits.mjs.map +1 -1
  46. package/resources/projects/inference-pipelines.d.ts +4 -20
  47. package/resources/projects/inference-pipelines.d.ts.map +1 -1
  48. package/resources/projects/inference-pipelines.js +6 -6
  49. package/resources/projects/inference-pipelines.js.map +1 -1
  50. package/resources/projects/inference-pipelines.mjs +6 -6
  51. package/resources/projects/inference-pipelines.mjs.map +1 -1
  52. package/resources/projects/projects.d.ts +2 -63
  53. package/resources/projects/projects.d.ts.map +1 -1
  54. package/resources/projects/projects.js +1 -1
  55. package/resources/projects/projects.js.map +1 -1
  56. package/resources/projects/projects.mjs +1 -1
  57. package/resources/projects/projects.mjs.map +1 -1
  58. package/src/resources/commits/test-results.ts +6 -6
  59. package/src/resources/inference-pipelines/data.ts +5 -5
  60. package/src/resources/inference-pipelines/index.ts +1 -0
  61. package/src/resources/inference-pipelines/inference-pipelines.ts +5 -0
  62. package/src/resources/inference-pipelines/rows.ts +81 -0
  63. package/src/resources/inference-pipelines/test-results.ts +6 -11
  64. package/src/resources/projects/commits.ts +6 -6
  65. package/src/resources/projects/inference-pipelines.ts +8 -28
  66. package/src/resources/projects/projects.ts +2 -81
  67. package/src/version.ts +1 -1
  68. package/version.d.ts +1 -1
  69. package/version.js +1 -1
  70. package/version.mjs +1 -1
@@ -7,34 +7,34 @@ import * as InferencePipelinesAPI from './inference-pipelines';
7
7
 
8
8
  export class InferencePipelines extends APIResource {
9
9
  /**
10
- * Create an inference pipeline under a project.
10
+ * Create an inference pipeline in a project.
11
11
  */
12
12
  create(
13
- id: string,
13
+ projectId: string,
14
14
  body: InferencePipelineCreateParams,
15
15
  options?: Core.RequestOptions,
16
16
  ): Core.APIPromise<InferencePipelineCreateResponse> {
17
- return this._client.post(`/projects/${id}/inference-pipelines`, { body, ...options });
17
+ return this._client.post(`/projects/${projectId}/inference-pipelines`, { body, ...options });
18
18
  }
19
19
 
20
20
  /**
21
21
  * List the inference pipelines in a project.
22
22
  */
23
23
  list(
24
- id: string,
24
+ projectId: string,
25
25
  query?: InferencePipelineListParams,
26
26
  options?: Core.RequestOptions,
27
27
  ): Core.APIPromise<InferencePipelineListResponse>;
28
- list(id: string, options?: Core.RequestOptions): Core.APIPromise<InferencePipelineListResponse>;
28
+ list(projectId: string, options?: Core.RequestOptions): Core.APIPromise<InferencePipelineListResponse>;
29
29
  list(
30
- id: string,
30
+ projectId: string,
31
31
  query: InferencePipelineListParams | Core.RequestOptions = {},
32
32
  options?: Core.RequestOptions,
33
33
  ): Core.APIPromise<InferencePipelineListResponse> {
34
34
  if (isRequestOptions(query)) {
35
- return this.list(id, {}, query);
35
+ return this.list(projectId, {}, query);
36
36
  }
37
- return this._client.get(`/projects/${id}/inference-pipelines`, { query, ...options });
37
+ return this._client.get(`/projects/${projectId}/inference-pipelines`, { query, ...options });
38
38
  }
39
39
  }
40
40
 
@@ -110,11 +110,6 @@ export interface InferencePipelineCreateResponse {
110
110
  * The total number of tests.
111
111
  */
112
112
  totalGoalCount: number;
113
-
114
- /**
115
- * The storage type.
116
- */
117
- storageType?: 'local' | 's3' | 'gcs' | 'azure';
118
113
  }
119
114
 
120
115
  export namespace InferencePipelineCreateResponse {
@@ -224,11 +219,6 @@ export namespace InferencePipelineListResponse {
224
219
  * The total number of tests.
225
220
  */
226
221
  totalGoalCount: number;
227
-
228
- /**
229
- * The storage type.
230
- */
231
- storageType?: 'local' | 's3' | 'gcs' | 'azure';
232
222
  }
233
223
 
234
224
  export namespace Item {
@@ -248,16 +238,6 @@ export interface InferencePipelineCreateParams {
248
238
  * The inference pipeline name.
249
239
  */
250
240
  name: string;
251
-
252
- /**
253
- * The reference dataset URI.
254
- */
255
- referenceDatasetUri?: string | null;
256
-
257
- /**
258
- * The storage type.
259
- */
260
- storageType?: 'local' | 's3' | 'gcs' | 'azure';
261
241
  }
262
242
 
263
243
  export interface InferencePipelineListParams {
@@ -14,14 +14,14 @@ export class Projects extends APIResource {
14
14
  );
15
15
 
16
16
  /**
17
- * Create a project under the current workspace.
17
+ * Create a project in your workspace.
18
18
  */
19
19
  create(body: ProjectCreateParams, options?: Core.RequestOptions): Core.APIPromise<ProjectCreateResponse> {
20
20
  return this._client.post('/projects', { body, ...options });
21
21
  }
22
22
 
23
23
  /**
24
- * List the projects in a user's workspace.
24
+ * List your workspace's projects.
25
25
  */
26
26
  list(query?: ProjectListParams, options?: Core.RequestOptions): Core.APIPromise<ProjectListResponse>;
27
27
  list(options?: Core.RequestOptions): Core.APIPromise<ProjectListResponse>;
@@ -87,11 +87,6 @@ export interface ProjectCreateResponse {
87
87
  */
88
88
  name: string;
89
89
 
90
- /**
91
- * Whether the project is a sample project or a user-created project.
92
- */
93
- sample: boolean;
94
-
95
90
  /**
96
91
  * The source of the project.
97
92
  */
@@ -118,26 +113,6 @@ export interface ProjectCreateResponse {
118
113
  description?: string | null;
119
114
 
120
115
  gitRepo?: ProjectCreateResponse.GitRepo | null;
121
-
122
- /**
123
- * The slack channel id connected to the project.
124
- */
125
- slackChannelId?: string | null;
126
-
127
- /**
128
- * The slack channel connected to the project.
129
- */
130
- slackChannelName?: string | null;
131
-
132
- /**
133
- * Whether slack channel notifications are enabled for the project.
134
- */
135
- slackChannelNotificationsEnabled?: boolean;
136
-
137
- /**
138
- * The number of unread notifications in the project.
139
- */
140
- unreadNotificationCount?: number;
141
116
  }
142
117
 
143
118
  export namespace ProjectCreateResponse {
@@ -255,11 +230,6 @@ export namespace ProjectListResponse {
255
230
  */
256
231
  name: string;
257
232
 
258
- /**
259
- * Whether the project is a sample project or a user-created project.
260
- */
261
- sample: boolean;
262
-
263
233
  /**
264
234
  * The source of the project.
265
235
  */
@@ -286,26 +256,6 @@ export namespace ProjectListResponse {
286
256
  description?: string | null;
287
257
 
288
258
  gitRepo?: Item.GitRepo | null;
289
-
290
- /**
291
- * The slack channel id connected to the project.
292
- */
293
- slackChannelId?: string | null;
294
-
295
- /**
296
- * The slack channel connected to the project.
297
- */
298
- slackChannelName?: string | null;
299
-
300
- /**
301
- * Whether slack channel notifications are enabled for the project.
302
- */
303
- slackChannelNotificationsEnabled?: boolean;
304
-
305
- /**
306
- * The number of unread notifications in the project.
307
- */
308
- unreadNotificationCount?: number;
309
259
  }
310
260
 
311
261
  export namespace Item {
@@ -359,35 +309,6 @@ export interface ProjectCreateParams {
359
309
  * The project description.
360
310
  */
361
311
  description?: string | null;
362
-
363
- gitRepo?: ProjectCreateParams.GitRepo | null;
364
-
365
- /**
366
- * The slack channel id connected to the project.
367
- */
368
- slackChannelId?: string | null;
369
-
370
- /**
371
- * The slack channel connected to the project.
372
- */
373
- slackChannelName?: string | null;
374
-
375
- /**
376
- * Whether slack channel notifications are enabled for the project.
377
- */
378
- slackChannelNotificationsEnabled?: boolean;
379
- }
380
-
381
- export namespace ProjectCreateParams {
382
- export interface GitRepo {
383
- gitAccountId: string;
384
-
385
- gitId: number;
386
-
387
- branch?: string;
388
-
389
- rootDir?: string;
390
- }
391
312
  }
392
313
 
393
314
  export interface ProjectListParams {
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '0.2.2'; // x-release-please-version
1
+ export const VERSION = '0.4.0'; // x-release-please-version
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.2.2";
1
+ export declare const VERSION = "0.4.0";
2
2
  //# sourceMappingURL=version.d.ts.map
package/version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
- exports.VERSION = '0.2.2'; // x-release-please-version
4
+ exports.VERSION = '0.4.0'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '0.2.2'; // x-release-please-version
1
+ export const VERSION = '0.4.0'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map