@narrative.io/data-collaboration-sdk-ts 2.31.0 → 2.33.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.
@@ -7,7 +7,7 @@ export interface OutputModel {
7
7
  license_id?: string;
8
8
  }
9
9
  export interface TrainModelRequest {
10
- base_model_id: string;
10
+ base_model_id: number;
11
11
  dataset_id: number;
12
12
  training_config: ModelTrainingConfig;
13
13
  output_model: OutputModel;
@@ -5,7 +5,7 @@ export interface ModelCollaborators {
5
5
  deploy: CollaboratorList | GeneralCollaborator;
6
6
  }
7
7
  export interface Model {
8
- id: string;
8
+ id: number;
9
9
  company_id: number;
10
10
  name: string;
11
11
  license_id: string;
@@ -16,11 +16,11 @@ export interface Model {
16
16
  collaborators: ModelCollaborators;
17
17
  description?: string;
18
18
  tags: string[];
19
- base_model_id: string;
19
+ base_model_id: number | null;
20
20
  created_at: string;
21
- updated_at?: string;
22
- archived_at?: string;
23
- version: string;
21
+ updated_at: string | null;
22
+ archived_at: string | null;
23
+ version: number;
24
24
  status: string;
25
25
  }
26
26
  export interface CreateModelRequest {
@@ -30,7 +30,7 @@ export interface CreateModelRequest {
30
30
  collaborators: ModelCollaborators;
31
31
  description?: string;
32
32
  tags?: string[];
33
- base_model_id?: string;
33
+ base_model_id?: number;
34
34
  }
35
35
  export interface UpdateModelRequest {
36
36
  description?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@narrative.io/data-collaboration-sdk-ts",
3
- "version": "2.31.0",
3
+ "version": "2.33.0",
4
4
  "main": "build/index.js",
5
5
  "repository": "github:narrative-io/data-collaboration-sdk-ts",
6
6
  "source": "src/index.ts",