@cirrobio/api-client 0.1.17 → 0.1.18

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.1.17 --save
39
+ npm install @cirrobio/api-client@0.1.18 --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 { CloudAccount } from './CloudAccount';
12
13
  import type { Contact } from './Contact';
13
14
  import type { ProjectSettings } from './ProjectSettings';
14
15
  import type { Status } from './Status';
@@ -61,6 +62,12 @@ export interface ProjectDetail {
61
62
  * @memberof ProjectDetail
62
63
  */
63
64
  settings: ProjectSettings;
65
+ /**
66
+ *
67
+ * @type {CloudAccount}
68
+ * @memberof ProjectDetail
69
+ */
70
+ account?: CloudAccount | null;
64
71
  /**
65
72
  *
66
73
  * @type {string}
@@ -14,6 +14,8 @@
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.ProjectDetailToJSON = exports.ProjectDetailFromJSONTyped = exports.ProjectDetailFromJSON = exports.instanceOfProjectDetail = void 0;
17
+ var runtime_1 = require("../runtime");
18
+ var CloudAccount_1 = require("./CloudAccount");
17
19
  var Contact_1 = require("./Contact");
18
20
  var ProjectSettings_1 = require("./ProjectSettings");
19
21
  var Status_1 = require("./Status");
@@ -54,6 +56,7 @@ function ProjectDetailFromJSONTyped(json, ignoreDiscriminator) {
54
56
  'contacts': (json['contacts'].map(Contact_1.ContactFromJSON)),
55
57
  'status': (0, Status_1.StatusFromJSON)(json['status']),
56
58
  'settings': (0, ProjectSettings_1.ProjectSettingsFromJSON)(json['settings']),
59
+ 'account': !(0, runtime_1.exists)(json, 'account') ? undefined : (0, CloudAccount_1.CloudAccountFromJSON)(json['account']),
57
60
  'statusMessage': json['statusMessage'],
58
61
  'tags': (json['tags'].map(Tag_1.TagFromJSON)),
59
62
  'createdBy': json['createdBy'],
@@ -77,6 +80,7 @@ function ProjectDetailToJSON(value) {
77
80
  'contacts': (value.contacts.map(Contact_1.ContactToJSON)),
78
81
  'status': (0, Status_1.StatusToJSON)(value.status),
79
82
  'settings': (0, ProjectSettings_1.ProjectSettingsToJSON)(value.settings),
83
+ 'account': (0, CloudAccount_1.CloudAccountToJSON)(value.account),
80
84
  'statusMessage': value.statusMessage,
81
85
  'tags': (value.tags.map(Tag_1.TagToJSON)),
82
86
  'createdBy': value.createdBy,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cirrobio/api-client",
3
- "version": "0.1.17",
3
+ "version": "0.1.18",
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 { CloudAccount } from './CloudAccount';
17
+ import {
18
+ CloudAccountFromJSON,
19
+ CloudAccountFromJSONTyped,
20
+ CloudAccountToJSON,
21
+ } from './CloudAccount';
16
22
  import type { Contact } from './Contact';
17
23
  import {
18
24
  ContactFromJSON,
@@ -86,6 +92,12 @@ export interface ProjectDetail {
86
92
  * @memberof ProjectDetail
87
93
  */
88
94
  settings: ProjectSettings;
95
+ /**
96
+ *
97
+ * @type {CloudAccount}
98
+ * @memberof ProjectDetail
99
+ */
100
+ account?: CloudAccount | null;
89
101
  /**
90
102
  *
91
103
  * @type {string}
@@ -156,6 +168,7 @@ export function ProjectDetailFromJSONTyped(json: any, ignoreDiscriminator: boole
156
168
  'contacts': ((json['contacts'] as Array<any>).map(ContactFromJSON)),
157
169
  'status': StatusFromJSON(json['status']),
158
170
  'settings': ProjectSettingsFromJSON(json['settings']),
171
+ 'account': !exists(json, 'account') ? undefined : CloudAccountFromJSON(json['account']),
159
172
  'statusMessage': json['statusMessage'],
160
173
  'tags': ((json['tags'] as Array<any>).map(TagFromJSON)),
161
174
  'createdBy': json['createdBy'],
@@ -180,6 +193,7 @@ export function ProjectDetailToJSON(value?: ProjectDetail | null): any {
180
193
  'contacts': ((value.contacts as Array<any>).map(ContactToJSON)),
181
194
  'status': StatusToJSON(value.status),
182
195
  'settings': ProjectSettingsToJSON(value.settings),
196
+ 'account': CloudAccountToJSON(value.account),
183
197
  'statusMessage': value.statusMessage,
184
198
  'tags': ((value.tags as Array<any>).map(TagToJSON)),
185
199
  'createdBy': value.createdBy,