@cirrobio/api-client 0.2.12 → 0.2.14

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.
package/README.md CHANGED
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
36
36
  _published:_
37
37
 
38
38
  ```
39
- npm install @cirrobio/api-client@0.2.12 --save
39
+ npm install @cirrobio/api-client@0.2.14 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import type { RepositoryType } from './RepositoryType';
12
13
  import type { SyncStatus } from './SyncStatus';
13
14
  /**
14
15
  * Used to describe the location of the process definition dependencies
@@ -34,6 +35,12 @@ export interface CustomPipelineSettings {
34
35
  * @memberof CustomPipelineSettings
35
36
  */
36
37
  folder?: string;
38
+ /**
39
+ *
40
+ * @type {RepositoryType}
41
+ * @memberof CustomPipelineSettings
42
+ */
43
+ repositoryType?: RepositoryType | null;
37
44
  /**
38
45
  * Time of last sync
39
46
  * @type {Date}
@@ -15,6 +15,7 @@
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.CustomPipelineSettingsToJSON = exports.CustomPipelineSettingsFromJSONTyped = exports.CustomPipelineSettingsFromJSON = exports.instanceOfCustomPipelineSettings = void 0;
17
17
  var runtime_1 = require("../runtime");
18
+ var RepositoryType_1 = require("./RepositoryType");
18
19
  var SyncStatus_1 = require("./SyncStatus");
19
20
  /**
20
21
  * Check if a given object implements the CustomPipelineSettings interface.
@@ -37,6 +38,7 @@ function CustomPipelineSettingsFromJSONTyped(json, ignoreDiscriminator) {
37
38
  'repository': json['repository'],
38
39
  'branch': !(0, runtime_1.exists)(json, 'branch') ? undefined : json['branch'],
39
40
  'folder': !(0, runtime_1.exists)(json, 'folder') ? undefined : json['folder'],
41
+ 'repositoryType': !(0, runtime_1.exists)(json, 'repositoryType') ? undefined : (0, RepositoryType_1.RepositoryTypeFromJSON)(json['repositoryType']),
40
42
  'lastSync': !(0, runtime_1.exists)(json, 'lastSync') ? undefined : (json['lastSync'] === null ? null : new Date(json['lastSync'])),
41
43
  'syncStatus': !(0, runtime_1.exists)(json, 'syncStatus') ? undefined : (0, SyncStatus_1.SyncStatusFromJSON)(json['syncStatus']),
42
44
  'commitHash': !(0, runtime_1.exists)(json, 'commitHash') ? undefined : json['commitHash'],
@@ -55,6 +57,7 @@ function CustomPipelineSettingsToJSON(value) {
55
57
  'repository': value.repository,
56
58
  'branch': value.branch,
57
59
  'folder': value.folder,
60
+ 'repositoryType': (0, RepositoryType_1.RepositoryTypeToJSON)(value.repositoryType),
58
61
  'lastSync': value.lastSync === undefined ? undefined : (value.lastSync === null ? null : value.lastSync.toISOString()),
59
62
  'syncStatus': (0, SyncStatus_1.SyncStatusToJSON)(value.syncStatus),
60
63
  'commitHash': value.commitHash,
@@ -17,7 +17,8 @@
17
17
  export declare enum DatasetConditionField {
18
18
  DatasetId = "DATASET_ID",
19
19
  Tag = "TAG",
20
- ProcessId = "PROCESS_ID"
20
+ ProcessId = "PROCESS_ID",
21
+ CreatedBy = "CREATED_BY"
21
22
  }
22
23
  export declare function DatasetConditionFieldFromJSON(json: any): DatasetConditionField;
23
24
  export declare function DatasetConditionFieldFromJSONTyped(json: any, ignoreDiscriminator: boolean): DatasetConditionField;
@@ -24,6 +24,7 @@ var DatasetConditionField;
24
24
  DatasetConditionField["DatasetId"] = "DATASET_ID";
25
25
  DatasetConditionField["Tag"] = "TAG";
26
26
  DatasetConditionField["ProcessId"] = "PROCESS_ID";
27
+ DatasetConditionField["CreatedBy"] = "CREATED_BY";
27
28
  })(DatasetConditionField = exports.DatasetConditionField || (exports.DatasetConditionField = {}));
28
29
  function DatasetConditionFieldFromJSON(json) {
29
30
  return DatasetConditionFieldFromJSONTyped(json, false);
@@ -123,6 +123,12 @@ export interface ProjectRequirement {
123
123
  * @memberof ProjectRequirement
124
124
  */
125
125
  isFulfilled: boolean;
126
+ /**
127
+ * The id for the requirement fulfillment
128
+ * @type {string}
129
+ * @memberof ProjectRequirement
130
+ */
131
+ fulfillmentId?: string | null;
126
132
  /**
127
133
  * The date the requirement was fulfilled by the user
128
134
  * @type {Date}
@@ -135,6 +141,12 @@ export interface ProjectRequirement {
135
141
  * @memberof ProjectRequirement
136
142
  */
137
143
  fulfillmentFile?: string | null;
144
+ /**
145
+ * The path to the optional fulfillment file
146
+ * @type {string}
147
+ * @memberof ProjectRequirement
148
+ */
149
+ fulfillmentPath?: string | null;
138
150
  }
139
151
  /**
140
152
  * Check if a given object implements the ProjectRequirement interface.
@@ -63,8 +63,10 @@ function ProjectRequirementFromJSONTyped(json, ignoreDiscriminator) {
63
63
  'authorship': !(0, runtime_1.exists)(json, 'authorship') ? undefined : (0, GovernanceScope_1.GovernanceScopeFromJSON)(json['authorship']),
64
64
  'verificationMethod': !(0, runtime_1.exists)(json, 'verificationMethod') ? undefined : (0, GovernanceTrainingVerification_1.GovernanceTrainingVerificationFromJSON)(json['verificationMethod']),
65
65
  'isFulfilled': json['isFulfilled'],
66
+ 'fulfillmentId': !(0, runtime_1.exists)(json, 'fulfillmentId') ? undefined : json['fulfillmentId'],
66
67
  'fulfillmentDate': !(0, runtime_1.exists)(json, 'fulfillmentDate') ? undefined : (json['fulfillmentDate'] === null ? null : new Date(json['fulfillmentDate'])),
67
68
  'fulfillmentFile': !(0, runtime_1.exists)(json, 'fulfillmentFile') ? undefined : json['fulfillmentFile'],
69
+ 'fulfillmentPath': !(0, runtime_1.exists)(json, 'fulfillmentPath') ? undefined : json['fulfillmentPath'],
68
70
  };
69
71
  }
70
72
  exports.ProjectRequirementFromJSONTyped = ProjectRequirementFromJSONTyped;
@@ -93,8 +95,10 @@ function ProjectRequirementToJSON(value) {
93
95
  'authorship': (0, GovernanceScope_1.GovernanceScopeToJSON)(value.authorship),
94
96
  'verificationMethod': (0, GovernanceTrainingVerification_1.GovernanceTrainingVerificationToJSON)(value.verificationMethod),
95
97
  'isFulfilled': value.isFulfilled,
98
+ 'fulfillmentId': value.fulfillmentId,
96
99
  'fulfillmentDate': value.fulfillmentDate === undefined ? undefined : (value.fulfillmentDate === null ? null : value.fulfillmentDate.toISOString()),
97
100
  'fulfillmentFile': value.fulfillmentFile,
101
+ 'fulfillmentPath': value.fulfillmentPath,
98
102
  };
99
103
  }
100
104
  exports.ProjectRequirementToJSON = ProjectRequirementToJSON;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cirrobio/api-client",
3
- "version": "0.2.12",
3
+ "version": "0.2.14",
4
4
  "description": "API client for Cirro",
5
5
  "author": "CirroBio",
6
6
  "repository": {
@@ -13,6 +13,12 @@
13
13
  */
14
14
 
15
15
  import { exists, mapValues } from '../runtime';
16
+ import type { RepositoryType } from './RepositoryType';
17
+ import {
18
+ RepositoryTypeFromJSON,
19
+ RepositoryTypeFromJSONTyped,
20
+ RepositoryTypeToJSON,
21
+ } from './RepositoryType';
16
22
  import type { SyncStatus } from './SyncStatus';
17
23
  import {
18
24
  SyncStatusFromJSON,
@@ -44,6 +50,12 @@ export interface CustomPipelineSettings {
44
50
  * @memberof CustomPipelineSettings
45
51
  */
46
52
  folder?: string;
53
+ /**
54
+ *
55
+ * @type {RepositoryType}
56
+ * @memberof CustomPipelineSettings
57
+ */
58
+ repositoryType?: RepositoryType | null;
47
59
  /**
48
60
  * Time of last sync
49
61
  * @type {Date}
@@ -93,6 +105,7 @@ export function CustomPipelineSettingsFromJSONTyped(json: any, ignoreDiscriminat
93
105
  'repository': json['repository'],
94
106
  'branch': !exists(json, 'branch') ? undefined : json['branch'],
95
107
  'folder': !exists(json, 'folder') ? undefined : json['folder'],
108
+ 'repositoryType': !exists(json, 'repositoryType') ? undefined : RepositoryTypeFromJSON(json['repositoryType']),
96
109
  'lastSync': !exists(json, 'lastSync') ? undefined : (json['lastSync'] === null ? null : new Date(json['lastSync'])),
97
110
  'syncStatus': !exists(json, 'syncStatus') ? undefined : SyncStatusFromJSON(json['syncStatus']),
98
111
  'commitHash': !exists(json, 'commitHash') ? undefined : json['commitHash'],
@@ -112,6 +125,7 @@ export function CustomPipelineSettingsToJSON(value?: CustomPipelineSettings | nu
112
125
  'repository': value.repository,
113
126
  'branch': value.branch,
114
127
  'folder': value.folder,
128
+ 'repositoryType': RepositoryTypeToJSON(value.repositoryType),
115
129
  'lastSync': value.lastSync === undefined ? undefined : (value.lastSync === null ? null : value.lastSync.toISOString()),
116
130
  'syncStatus': SyncStatusToJSON(value.syncStatus),
117
131
  'commitHash': value.commitHash,
@@ -20,7 +20,8 @@
20
20
  export enum DatasetConditionField {
21
21
  DatasetId = 'DATASET_ID',
22
22
  Tag = 'TAG',
23
- ProcessId = 'PROCESS_ID'
23
+ ProcessId = 'PROCESS_ID',
24
+ CreatedBy = 'CREATED_BY'
24
25
  }
25
26
 
26
27
 
@@ -158,6 +158,12 @@ export interface ProjectRequirement {
158
158
  * @memberof ProjectRequirement
159
159
  */
160
160
  isFulfilled: boolean;
161
+ /**
162
+ * The id for the requirement fulfillment
163
+ * @type {string}
164
+ * @memberof ProjectRequirement
165
+ */
166
+ fulfillmentId?: string | null;
161
167
  /**
162
168
  * The date the requirement was fulfilled by the user
163
169
  * @type {Date}
@@ -170,6 +176,12 @@ export interface ProjectRequirement {
170
176
  * @memberof ProjectRequirement
171
177
  */
172
178
  fulfillmentFile?: string | null;
179
+ /**
180
+ * The path to the optional fulfillment file
181
+ * @type {string}
182
+ * @memberof ProjectRequirement
183
+ */
184
+ fulfillmentPath?: string | null;
173
185
  }
174
186
 
175
187
  /**
@@ -216,8 +228,10 @@ export function ProjectRequirementFromJSONTyped(json: any, ignoreDiscriminator:
216
228
  'authorship': !exists(json, 'authorship') ? undefined : GovernanceScopeFromJSON(json['authorship']),
217
229
  'verificationMethod': !exists(json, 'verificationMethod') ? undefined : GovernanceTrainingVerificationFromJSON(json['verificationMethod']),
218
230
  'isFulfilled': json['isFulfilled'],
231
+ 'fulfillmentId': !exists(json, 'fulfillmentId') ? undefined : json['fulfillmentId'],
219
232
  'fulfillmentDate': !exists(json, 'fulfillmentDate') ? undefined : (json['fulfillmentDate'] === null ? null : new Date(json['fulfillmentDate'])),
220
233
  'fulfillmentFile': !exists(json, 'fulfillmentFile') ? undefined : json['fulfillmentFile'],
234
+ 'fulfillmentPath': !exists(json, 'fulfillmentPath') ? undefined : json['fulfillmentPath'],
221
235
  };
222
236
  }
223
237
 
@@ -247,8 +261,10 @@ export function ProjectRequirementToJSON(value?: ProjectRequirement | null): any
247
261
  'authorship': GovernanceScopeToJSON(value.authorship),
248
262
  'verificationMethod': GovernanceTrainingVerificationToJSON(value.verificationMethod),
249
263
  'isFulfilled': value.isFulfilled,
264
+ 'fulfillmentId': value.fulfillmentId,
250
265
  'fulfillmentDate': value.fulfillmentDate === undefined ? undefined : (value.fulfillmentDate === null ? null : value.fulfillmentDate.toISOString()),
251
266
  'fulfillmentFile': value.fulfillmentFile,
267
+ 'fulfillmentPath': value.fulfillmentPath,
252
268
  };
253
269
  }
254
270