@cirrobio/api-client 0.2.12 → 0.2.13

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.13 --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,
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.13",
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,