@cirrobio/api-client 0.2.10 → 0.2.12

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.10 --save
39
+ npm install @cirrobio/api-client@0.2.12 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -28,6 +28,12 @@ export interface GovernanceFileAccessRequest {
28
28
  * @memberof GovernanceFileAccessRequest
29
29
  */
30
30
  fulfillmentId?: string | null;
31
+ /**
32
+ *
33
+ * @type {string}
34
+ * @memberof GovernanceFileAccessRequest
35
+ */
36
+ projectId?: string | null;
31
37
  /**
32
38
  *
33
39
  * @type {number}
@@ -36,6 +36,7 @@ function GovernanceFileAccessRequestFromJSONTyped(json, ignoreDiscriminator) {
36
36
  return {
37
37
  'accessType': (0, GovernanceAccessType_1.GovernanceAccessTypeFromJSON)(json['accessType']),
38
38
  'fulfillmentId': !(0, runtime_1.exists)(json, 'fulfillmentId') ? undefined : json['fulfillmentId'],
39
+ 'projectId': !(0, runtime_1.exists)(json, 'projectId') ? undefined : json['projectId'],
39
40
  'tokenLifetimeHours': !(0, runtime_1.exists)(json, 'tokenLifetimeHours') ? undefined : json['tokenLifetimeHours'],
40
41
  };
41
42
  }
@@ -50,6 +51,7 @@ function GovernanceFileAccessRequestToJSON(value) {
50
51
  return {
51
52
  'accessType': (0, GovernanceAccessType_1.GovernanceAccessTypeToJSON)(value.accessType),
52
53
  'fulfillmentId': value.fulfillmentId,
54
+ 'projectId': value.projectId,
53
55
  'tokenLifetimeHours': value.tokenLifetimeHours,
54
56
  };
55
57
  }
@@ -82,6 +82,12 @@ export interface ProjectSettings {
82
82
  * @memberof ProjectSettings
83
83
  */
84
84
  retentionPolicyDays?: number;
85
+ /**
86
+ * Days to keep temporary storage space (workflow executor cache)
87
+ * @type {number}
88
+ * @memberof ProjectSettings
89
+ */
90
+ temporaryStorageLifetimeDays?: number;
85
91
  /**
86
92
  * List of service connections to enable
87
93
  * @type {Array<string>}
@@ -46,6 +46,7 @@ function ProjectSettingsFromJSONTyped(json, ignoreDiscriminator) {
46
46
  'maxSpotVCPU': !(0, runtime_1.exists)(json, 'maxSpotVCPU') ? undefined : json['maxSpotVCPU'],
47
47
  'maxGPUVCPU': !(0, runtime_1.exists)(json, 'maxGPUVCPU') ? undefined : json['maxGPUVCPU'],
48
48
  'retentionPolicyDays': !(0, runtime_1.exists)(json, 'retentionPolicyDays') ? undefined : json['retentionPolicyDays'],
49
+ 'temporaryStorageLifetimeDays': !(0, runtime_1.exists)(json, 'temporaryStorageLifetimeDays') ? undefined : json['temporaryStorageLifetimeDays'],
49
50
  'serviceConnections': !(0, runtime_1.exists)(json, 'serviceConnections') ? undefined : json['serviceConnections'],
50
51
  'vpcId': !(0, runtime_1.exists)(json, 'vpcId') ? undefined : json['vpcId'],
51
52
  'batchSubnets': !(0, runtime_1.exists)(json, 'batchSubnets') ? undefined : json['batchSubnets'],
@@ -75,6 +76,7 @@ function ProjectSettingsToJSON(value) {
75
76
  'maxSpotVCPU': value.maxSpotVCPU,
76
77
  'maxGPUVCPU': value.maxGPUVCPU,
77
78
  'retentionPolicyDays': value.retentionPolicyDays,
79
+ 'temporaryStorageLifetimeDays': value.temporaryStorageLifetimeDays,
78
80
  'serviceConnections': value.serviceConnections,
79
81
  'vpcId': value.vpcId,
80
82
  'batchSubnets': value.batchSubnets,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cirrobio/api-client",
3
- "version": "0.2.10",
3
+ "version": "0.2.12",
4
4
  "description": "API client for Cirro",
5
5
  "author": "CirroBio",
6
6
  "repository": {
@@ -38,6 +38,12 @@ export interface GovernanceFileAccessRequest {
38
38
  * @memberof GovernanceFileAccessRequest
39
39
  */
40
40
  fulfillmentId?: string | null;
41
+ /**
42
+ *
43
+ * @type {string}
44
+ * @memberof GovernanceFileAccessRequest
45
+ */
46
+ projectId?: string | null;
41
47
  /**
42
48
  *
43
49
  * @type {number}
@@ -68,6 +74,7 @@ export function GovernanceFileAccessRequestFromJSONTyped(json: any, ignoreDiscri
68
74
 
69
75
  'accessType': GovernanceAccessTypeFromJSON(json['accessType']),
70
76
  'fulfillmentId': !exists(json, 'fulfillmentId') ? undefined : json['fulfillmentId'],
77
+ 'projectId': !exists(json, 'projectId') ? undefined : json['projectId'],
71
78
  'tokenLifetimeHours': !exists(json, 'tokenLifetimeHours') ? undefined : json['tokenLifetimeHours'],
72
79
  };
73
80
  }
@@ -83,6 +90,7 @@ export function GovernanceFileAccessRequestToJSON(value?: GovernanceFileAccessRe
83
90
 
84
91
  'accessType': GovernanceAccessTypeToJSON(value.accessType),
85
92
  'fulfillmentId': value.fulfillmentId,
93
+ 'projectId': value.projectId,
86
94
  'tokenLifetimeHours': value.tokenLifetimeHours,
87
95
  };
88
96
  }
@@ -92,6 +92,12 @@ export interface ProjectSettings {
92
92
  * @memberof ProjectSettings
93
93
  */
94
94
  retentionPolicyDays?: number;
95
+ /**
96
+ * Days to keep temporary storage space (workflow executor cache)
97
+ * @type {number}
98
+ * @memberof ProjectSettings
99
+ */
100
+ temporaryStorageLifetimeDays?: number;
95
101
  /**
96
102
  * List of service connections to enable
97
103
  * @type {Array<string>}
@@ -168,6 +174,7 @@ export function ProjectSettingsFromJSONTyped(json: any, ignoreDiscriminator: boo
168
174
  'maxSpotVCPU': !exists(json, 'maxSpotVCPU') ? undefined : json['maxSpotVCPU'],
169
175
  'maxGPUVCPU': !exists(json, 'maxGPUVCPU') ? undefined : json['maxGPUVCPU'],
170
176
  'retentionPolicyDays': !exists(json, 'retentionPolicyDays') ? undefined : json['retentionPolicyDays'],
177
+ 'temporaryStorageLifetimeDays': !exists(json, 'temporaryStorageLifetimeDays') ? undefined : json['temporaryStorageLifetimeDays'],
171
178
  'serviceConnections': !exists(json, 'serviceConnections') ? undefined : json['serviceConnections'],
172
179
  'vpcId': !exists(json, 'vpcId') ? undefined : json['vpcId'],
173
180
  'batchSubnets': !exists(json, 'batchSubnets') ? undefined : json['batchSubnets'],
@@ -198,6 +205,7 @@ export function ProjectSettingsToJSON(value?: ProjectSettings | null): any {
198
205
  'maxSpotVCPU': value.maxSpotVCPU,
199
206
  'maxGPUVCPU': value.maxGPUVCPU,
200
207
  'retentionPolicyDays': value.retentionPolicyDays,
208
+ 'temporaryStorageLifetimeDays': value.temporaryStorageLifetimeDays,
201
209
  'serviceConnections': value.serviceConnections,
202
210
  'vpcId': value.vpcId,
203
211
  'batchSubnets': value.batchSubnets,