@cirrobio/api-client 0.1.25 → 0.1.26

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.25 --save
39
+ npm install @cirrobio/api-client@0.1.26 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -50,6 +50,12 @@ export interface ProjectDetail {
50
50
  * @memberof ProjectDetail
51
51
  */
52
52
  contacts: Array<Contact>;
53
+ /**
54
+ *
55
+ * @type {string}
56
+ * @memberof ProjectDetail
57
+ */
58
+ organization: string;
53
59
  /**
54
60
  *
55
61
  * @type {Status}
@@ -30,6 +30,7 @@ function instanceOfProjectDetail(value) {
30
30
  isInstance = isInstance && "description" in value;
31
31
  isInstance = isInstance && "billingAccountId" in value;
32
32
  isInstance = isInstance && "contacts" in value;
33
+ isInstance = isInstance && "organization" in value;
33
34
  isInstance = isInstance && "status" in value;
34
35
  isInstance = isInstance && "settings" in value;
35
36
  isInstance = isInstance && "statusMessage" in value;
@@ -55,6 +56,7 @@ function ProjectDetailFromJSONTyped(json, ignoreDiscriminator) {
55
56
  'description': json['description'],
56
57
  'billingAccountId': json['billingAccountId'],
57
58
  'contacts': (json['contacts'].map(Contact_1.ContactFromJSON)),
59
+ 'organization': json['organization'],
58
60
  'status': (0, Status_1.StatusFromJSON)(json['status']),
59
61
  'settings': (0, ProjectSettings_1.ProjectSettingsFromJSON)(json['settings']),
60
62
  'account': !(0, runtime_1.exists)(json, 'account') ? undefined : (0, CloudAccount_1.CloudAccountFromJSON)(json['account']),
@@ -80,6 +82,7 @@ function ProjectDetailToJSON(value) {
80
82
  'description': value.description,
81
83
  'billingAccountId': value.billingAccountId,
82
84
  'contacts': (value.contacts.map(Contact_1.ContactToJSON)),
85
+ 'organization': value.organization,
83
86
  'status': (0, Status_1.StatusToJSON)(value.status),
84
87
  'settings': (0, ProjectSettings_1.ProjectSettingsToJSON)(value.settings),
85
88
  'account': (0, CloudAccount_1.CloudAccountToJSON)(value.account),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cirrobio/api-client",
3
- "version": "0.1.25",
3
+ "version": "0.1.26",
4
4
  "description": "API client for Cirro",
5
5
  "author": "CirroBio",
6
6
  "repository": {
@@ -80,6 +80,12 @@ export interface ProjectDetail {
80
80
  * @memberof ProjectDetail
81
81
  */
82
82
  contacts: Array<Contact>;
83
+ /**
84
+ *
85
+ * @type {string}
86
+ * @memberof ProjectDetail
87
+ */
88
+ organization: string;
83
89
  /**
84
90
  *
85
91
  * @type {Status}
@@ -146,6 +152,7 @@ export function instanceOfProjectDetail(value: object): boolean {
146
152
  isInstance = isInstance && "description" in value;
147
153
  isInstance = isInstance && "billingAccountId" in value;
148
154
  isInstance = isInstance && "contacts" in value;
155
+ isInstance = isInstance && "organization" in value;
149
156
  isInstance = isInstance && "status" in value;
150
157
  isInstance = isInstance && "settings" in value;
151
158
  isInstance = isInstance && "statusMessage" in value;
@@ -173,6 +180,7 @@ export function ProjectDetailFromJSONTyped(json: any, ignoreDiscriminator: boole
173
180
  'description': json['description'],
174
181
  'billingAccountId': json['billingAccountId'],
175
182
  'contacts': ((json['contacts'] as Array<any>).map(ContactFromJSON)),
183
+ 'organization': json['organization'],
176
184
  'status': StatusFromJSON(json['status']),
177
185
  'settings': ProjectSettingsFromJSON(json['settings']),
178
186
  'account': !exists(json, 'account') ? undefined : CloudAccountFromJSON(json['account']),
@@ -199,6 +207,7 @@ export function ProjectDetailToJSON(value?: ProjectDetail | null): any {
199
207
  'description': value.description,
200
208
  'billingAccountId': value.billingAccountId,
201
209
  'contacts': ((value.contacts as Array<any>).map(ContactToJSON)),
210
+ 'organization': value.organization,
202
211
  'status': StatusToJSON(value.status),
203
212
  'settings': ProjectSettingsToJSON(value.settings),
204
213
  'account': CloudAccountToJSON(value.account),