@cirrobio/api-client 0.12.20 → 0.12.21

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.
@@ -13,6 +13,7 @@ import type { CustomPipelineSettings } from './CustomPipelineSettings';
13
13
  import type { Executor } from './Executor';
14
14
  import type { FileMappingRule } from './FileMappingRule';
15
15
  import type { PipelineCode } from './PipelineCode';
16
+ import type { Tag } from './Tag';
16
17
  /**
17
18
  *
18
19
  * @export
@@ -121,6 +122,12 @@ export interface CustomProcessInput {
121
122
  * @memberof CustomProcessInput
122
123
  */
123
124
  fileMappingRules?: Array<FileMappingRule> | null;
125
+ /**
126
+ *
127
+ * @type {Array<Tag>}
128
+ * @memberof CustomProcessInput
129
+ */
130
+ tags?: Array<Tag> | null;
124
131
  }
125
132
  /**
126
133
  * Check if a given object implements the CustomProcessInput interface.
@@ -16,6 +16,7 @@ import { CustomPipelineSettingsFromJSON, CustomPipelineSettingsToJSON, } from '.
16
16
  import { ExecutorFromJSON, ExecutorToJSON, } from './Executor';
17
17
  import { FileMappingRuleFromJSON, FileMappingRuleToJSON, } from './FileMappingRule';
18
18
  import { PipelineCodeFromJSON, PipelineCodeToJSON, } from './PipelineCode';
19
+ import { TagFromJSON, TagToJSON, } from './Tag';
19
20
  /**
20
21
  * Check if a given object implements the CustomProcessInput interface.
21
22
  */
@@ -55,6 +56,7 @@ export function CustomProcessInputFromJSONTyped(json, ignoreDiscriminator) {
55
56
  'usesSampleSheet': !exists(json, 'usesSampleSheet') ? undefined : json['usesSampleSheet'],
56
57
  'customSettings': !exists(json, 'customSettings') ? undefined : CustomPipelineSettingsFromJSON(json['customSettings']),
57
58
  'fileMappingRules': !exists(json, 'fileMappingRules') ? undefined : (json['fileMappingRules'] === null ? null : json['fileMappingRules'].map(FileMappingRuleFromJSON)),
59
+ 'tags': !exists(json, 'tags') ? undefined : (json['tags'] === null ? null : json['tags'].map(TagFromJSON)),
58
60
  };
59
61
  }
60
62
  export function CustomProcessInputToJSON(value) {
@@ -82,5 +84,6 @@ export function CustomProcessInputToJSON(value) {
82
84
  'usesSampleSheet': value.usesSampleSheet,
83
85
  'customSettings': CustomPipelineSettingsToJSON(value.customSettings),
84
86
  'fileMappingRules': value.fileMappingRules === undefined ? undefined : (value.fileMappingRules === null ? null : value.fileMappingRules.map(FileMappingRuleToJSON)),
87
+ 'tags': value.tags === undefined ? undefined : (value.tags === null ? null : value.tags.map(TagToJSON)),
85
88
  };
86
89
  }
@@ -10,6 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import type { Executor } from './Executor';
13
+ import type { Tag } from './Tag';
13
14
  /**
14
15
  * Identifies a data type or pipeline in Cirro
15
16
  * @export
@@ -130,6 +131,12 @@ export interface Process {
130
131
  * @memberof Process
131
132
  */
132
133
  updatedAt?: Date;
134
+ /**
135
+ *
136
+ * @type {Array<Tag>}
137
+ * @memberof Process
138
+ */
139
+ tags: Array<Tag>;
133
140
  }
134
141
  /**
135
142
  * Check if a given object implements the Process interface.
@@ -13,6 +13,7 @@
13
13
  */
14
14
  import { exists } from '../runtime';
15
15
  import { ExecutorFromJSON, ExecutorToJSON, } from './Executor';
16
+ import { TagFromJSON, TagToJSON, } from './Tag';
16
17
  /**
17
18
  * Check if a given object implements the Process interface.
18
19
  */
@@ -30,6 +31,7 @@ export function instanceOfProcess(value) {
30
31
  isInstance = isInstance && "allowMultipleSources" in value;
31
32
  isInstance = isInstance && "usesSampleSheet" in value;
32
33
  isInstance = isInstance && "isArchived" in value;
34
+ isInstance = isInstance && "tags" in value;
33
35
  return isInstance;
34
36
  }
35
37
  export function ProcessFromJSON(json) {
@@ -59,6 +61,7 @@ export function ProcessFromJSONTyped(json, ignoreDiscriminator) {
59
61
  'isArchived': json['isArchived'],
60
62
  'createdAt': !exists(json, 'createdAt') ? undefined : (new Date(json['createdAt'])),
61
63
  'updatedAt': !exists(json, 'updatedAt') ? undefined : (new Date(json['updatedAt'])),
64
+ 'tags': (json['tags'].map(TagFromJSON)),
62
65
  };
63
66
  }
64
67
  export function ProcessToJSON(value) {
@@ -88,5 +91,6 @@ export function ProcessToJSON(value) {
88
91
  'isArchived': value.isArchived,
89
92
  'createdAt': value.createdAt === undefined ? undefined : (value.createdAt.toISOString()),
90
93
  'updatedAt': value.updatedAt === undefined ? undefined : (value.updatedAt.toISOString()),
94
+ 'tags': (value.tags.map(TagToJSON)),
91
95
  };
92
96
  }
@@ -13,6 +13,7 @@ import type { CustomPipelineSettings } from './CustomPipelineSettings';
13
13
  import type { Executor } from './Executor';
14
14
  import type { FileMappingRule } from './FileMappingRule';
15
15
  import type { PipelineCode } from './PipelineCode';
16
+ import type { Tag } from './Tag';
16
17
  /**
17
18
  * Identifies a data type or pipeline in Cirro
18
19
  * @export
@@ -151,6 +152,12 @@ export interface ProcessDetail {
151
152
  * @memberof ProcessDetail
152
153
  */
153
154
  updatedAt?: Date;
155
+ /**
156
+ *
157
+ * @type {Array<Tag>}
158
+ * @memberof ProcessDetail
159
+ */
160
+ tags: Array<Tag>;
154
161
  }
155
162
  /**
156
163
  * Check if a given object implements the ProcessDetail interface.
@@ -16,6 +16,7 @@ import { CustomPipelineSettingsFromJSON, CustomPipelineSettingsToJSON, } from '.
16
16
  import { ExecutorFromJSON, ExecutorToJSON, } from './Executor';
17
17
  import { FileMappingRuleFromJSON, FileMappingRuleToJSON, } from './FileMappingRule';
18
18
  import { PipelineCodeFromJSON, PipelineCodeToJSON, } from './PipelineCode';
19
+ import { TagFromJSON, TagToJSON, } from './Tag';
19
20
  /**
20
21
  * Check if a given object implements the ProcessDetail interface.
21
22
  */
@@ -33,6 +34,7 @@ export function instanceOfProcessDetail(value) {
33
34
  isInstance = isInstance && "allowMultipleSources" in value;
34
35
  isInstance = isInstance && "usesSampleSheet" in value;
35
36
  isInstance = isInstance && "isArchived" in value;
37
+ isInstance = isInstance && "tags" in value;
36
38
  return isInstance;
37
39
  }
38
40
  export function ProcessDetailFromJSON(json) {
@@ -65,6 +67,7 @@ export function ProcessDetailFromJSONTyped(json, ignoreDiscriminator) {
65
67
  'fileMappingRules': !exists(json, 'fileMappingRules') ? undefined : (json['fileMappingRules'] === null ? null : json['fileMappingRules'].map(FileMappingRuleFromJSON)),
66
68
  'createdAt': !exists(json, 'createdAt') ? undefined : (new Date(json['createdAt'])),
67
69
  'updatedAt': !exists(json, 'updatedAt') ? undefined : (new Date(json['updatedAt'])),
70
+ 'tags': (json['tags'].map(TagFromJSON)),
68
71
  };
69
72
  }
70
73
  export function ProcessDetailToJSON(value) {
@@ -97,5 +100,6 @@ export function ProcessDetailToJSON(value) {
97
100
  'fileMappingRules': value.fileMappingRules === undefined ? undefined : (value.fileMappingRules === null ? null : value.fileMappingRules.map(FileMappingRuleToJSON)),
98
101
  'createdAt': value.createdAt === undefined ? undefined : (value.createdAt.toISOString()),
99
102
  'updatedAt': value.updatedAt === undefined ? undefined : (value.updatedAt.toISOString()),
103
+ 'tags': (value.tags.map(TagToJSON)),
100
104
  };
101
105
  }
@@ -13,6 +13,7 @@ import type { CustomPipelineSettings } from './CustomPipelineSettings';
13
13
  import type { Executor } from './Executor';
14
14
  import type { FileMappingRule } from './FileMappingRule';
15
15
  import type { PipelineCode } from './PipelineCode';
16
+ import type { Tag } from './Tag';
16
17
  /**
17
18
  *
18
19
  * @export
@@ -121,6 +122,12 @@ export interface CustomProcessInput {
121
122
  * @memberof CustomProcessInput
122
123
  */
123
124
  fileMappingRules?: Array<FileMappingRule> | null;
125
+ /**
126
+ *
127
+ * @type {Array<Tag>}
128
+ * @memberof CustomProcessInput
129
+ */
130
+ tags?: Array<Tag> | null;
124
131
  }
125
132
  /**
126
133
  * Check if a given object implements the CustomProcessInput interface.
@@ -19,6 +19,7 @@ const CustomPipelineSettings_1 = require("./CustomPipelineSettings");
19
19
  const Executor_1 = require("./Executor");
20
20
  const FileMappingRule_1 = require("./FileMappingRule");
21
21
  const PipelineCode_1 = require("./PipelineCode");
22
+ const Tag_1 = require("./Tag");
22
23
  /**
23
24
  * Check if a given object implements the CustomProcessInput interface.
24
25
  */
@@ -60,6 +61,7 @@ function CustomProcessInputFromJSONTyped(json, ignoreDiscriminator) {
60
61
  'usesSampleSheet': !(0, runtime_1.exists)(json, 'usesSampleSheet') ? undefined : json['usesSampleSheet'],
61
62
  'customSettings': !(0, runtime_1.exists)(json, 'customSettings') ? undefined : (0, CustomPipelineSettings_1.CustomPipelineSettingsFromJSON)(json['customSettings']),
62
63
  'fileMappingRules': !(0, runtime_1.exists)(json, 'fileMappingRules') ? undefined : (json['fileMappingRules'] === null ? null : json['fileMappingRules'].map(FileMappingRule_1.FileMappingRuleFromJSON)),
64
+ 'tags': !(0, runtime_1.exists)(json, 'tags') ? undefined : (json['tags'] === null ? null : json['tags'].map(Tag_1.TagFromJSON)),
63
65
  };
64
66
  }
65
67
  exports.CustomProcessInputFromJSONTyped = CustomProcessInputFromJSONTyped;
@@ -88,6 +90,7 @@ function CustomProcessInputToJSON(value) {
88
90
  'usesSampleSheet': value.usesSampleSheet,
89
91
  'customSettings': (0, CustomPipelineSettings_1.CustomPipelineSettingsToJSON)(value.customSettings),
90
92
  'fileMappingRules': value.fileMappingRules === undefined ? undefined : (value.fileMappingRules === null ? null : value.fileMappingRules.map(FileMappingRule_1.FileMappingRuleToJSON)),
93
+ 'tags': value.tags === undefined ? undefined : (value.tags === null ? null : value.tags.map(Tag_1.TagToJSON)),
91
94
  };
92
95
  }
93
96
  exports.CustomProcessInputToJSON = CustomProcessInputToJSON;
@@ -10,6 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import type { Executor } from './Executor';
13
+ import type { Tag } from './Tag';
13
14
  /**
14
15
  * Identifies a data type or pipeline in Cirro
15
16
  * @export
@@ -130,6 +131,12 @@ export interface Process {
130
131
  * @memberof Process
131
132
  */
132
133
  updatedAt?: Date;
134
+ /**
135
+ *
136
+ * @type {Array<Tag>}
137
+ * @memberof Process
138
+ */
139
+ tags: Array<Tag>;
133
140
  }
134
141
  /**
135
142
  * Check if a given object implements the Process interface.
@@ -16,6 +16,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.ProcessToJSON = exports.ProcessFromJSONTyped = exports.ProcessFromJSON = exports.instanceOfProcess = void 0;
17
17
  const runtime_1 = require("../runtime");
18
18
  const Executor_1 = require("./Executor");
19
+ const Tag_1 = require("./Tag");
19
20
  /**
20
21
  * Check if a given object implements the Process interface.
21
22
  */
@@ -33,6 +34,7 @@ function instanceOfProcess(value) {
33
34
  isInstance = isInstance && "allowMultipleSources" in value;
34
35
  isInstance = isInstance && "usesSampleSheet" in value;
35
36
  isInstance = isInstance && "isArchived" in value;
37
+ isInstance = isInstance && "tags" in value;
36
38
  return isInstance;
37
39
  }
38
40
  exports.instanceOfProcess = instanceOfProcess;
@@ -64,6 +66,7 @@ function ProcessFromJSONTyped(json, ignoreDiscriminator) {
64
66
  'isArchived': json['isArchived'],
65
67
  'createdAt': !(0, runtime_1.exists)(json, 'createdAt') ? undefined : (new Date(json['createdAt'])),
66
68
  'updatedAt': !(0, runtime_1.exists)(json, 'updatedAt') ? undefined : (new Date(json['updatedAt'])),
69
+ 'tags': (json['tags'].map(Tag_1.TagFromJSON)),
67
70
  };
68
71
  }
69
72
  exports.ProcessFromJSONTyped = ProcessFromJSONTyped;
@@ -94,6 +97,7 @@ function ProcessToJSON(value) {
94
97
  'isArchived': value.isArchived,
95
98
  'createdAt': value.createdAt === undefined ? undefined : (value.createdAt.toISOString()),
96
99
  'updatedAt': value.updatedAt === undefined ? undefined : (value.updatedAt.toISOString()),
100
+ 'tags': (value.tags.map(Tag_1.TagToJSON)),
97
101
  };
98
102
  }
99
103
  exports.ProcessToJSON = ProcessToJSON;
@@ -13,6 +13,7 @@ import type { CustomPipelineSettings } from './CustomPipelineSettings';
13
13
  import type { Executor } from './Executor';
14
14
  import type { FileMappingRule } from './FileMappingRule';
15
15
  import type { PipelineCode } from './PipelineCode';
16
+ import type { Tag } from './Tag';
16
17
  /**
17
18
  * Identifies a data type or pipeline in Cirro
18
19
  * @export
@@ -151,6 +152,12 @@ export interface ProcessDetail {
151
152
  * @memberof ProcessDetail
152
153
  */
153
154
  updatedAt?: Date;
155
+ /**
156
+ *
157
+ * @type {Array<Tag>}
158
+ * @memberof ProcessDetail
159
+ */
160
+ tags: Array<Tag>;
154
161
  }
155
162
  /**
156
163
  * Check if a given object implements the ProcessDetail interface.
@@ -19,6 +19,7 @@ const CustomPipelineSettings_1 = require("./CustomPipelineSettings");
19
19
  const Executor_1 = require("./Executor");
20
20
  const FileMappingRule_1 = require("./FileMappingRule");
21
21
  const PipelineCode_1 = require("./PipelineCode");
22
+ const Tag_1 = require("./Tag");
22
23
  /**
23
24
  * Check if a given object implements the ProcessDetail interface.
24
25
  */
@@ -36,6 +37,7 @@ function instanceOfProcessDetail(value) {
36
37
  isInstance = isInstance && "allowMultipleSources" in value;
37
38
  isInstance = isInstance && "usesSampleSheet" in value;
38
39
  isInstance = isInstance && "isArchived" in value;
40
+ isInstance = isInstance && "tags" in value;
39
41
  return isInstance;
40
42
  }
41
43
  exports.instanceOfProcessDetail = instanceOfProcessDetail;
@@ -70,6 +72,7 @@ function ProcessDetailFromJSONTyped(json, ignoreDiscriminator) {
70
72
  'fileMappingRules': !(0, runtime_1.exists)(json, 'fileMappingRules') ? undefined : (json['fileMappingRules'] === null ? null : json['fileMappingRules'].map(FileMappingRule_1.FileMappingRuleFromJSON)),
71
73
  'createdAt': !(0, runtime_1.exists)(json, 'createdAt') ? undefined : (new Date(json['createdAt'])),
72
74
  'updatedAt': !(0, runtime_1.exists)(json, 'updatedAt') ? undefined : (new Date(json['updatedAt'])),
75
+ 'tags': (json['tags'].map(Tag_1.TagFromJSON)),
73
76
  };
74
77
  }
75
78
  exports.ProcessDetailFromJSONTyped = ProcessDetailFromJSONTyped;
@@ -103,6 +106,7 @@ function ProcessDetailToJSON(value) {
103
106
  'fileMappingRules': value.fileMappingRules === undefined ? undefined : (value.fileMappingRules === null ? null : value.fileMappingRules.map(FileMappingRule_1.FileMappingRuleToJSON)),
104
107
  'createdAt': value.createdAt === undefined ? undefined : (value.createdAt.toISOString()),
105
108
  'updatedAt': value.updatedAt === undefined ? undefined : (value.updatedAt.toISOString()),
109
+ 'tags': (value.tags.map(Tag_1.TagToJSON)),
106
110
  };
107
111
  }
108
112
  exports.ProcessDetailToJSON = ProcessDetailToJSON;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cirrobio/api-client",
3
- "version": "0.12.20",
3
+ "version": "0.12.21",
4
4
  "description": "API client for Cirro",
5
5
  "author": "CirroBio",
6
6
  "repository": {