@cirrobio/api-client 0.11.5 → 0.12.1

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.11.5 --save
39
+ npm install @cirrobio/api-client@1.0.0 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -39,6 +39,12 @@ export interface FeatureFlags {
39
39
  * @memberof FeatureFlags
40
40
  */
41
41
  workspacesEnabled: boolean;
42
+ /**
43
+ *
44
+ * @type {boolean}
45
+ * @memberof FeatureFlags
46
+ */
47
+ driveEnabled: boolean;
42
48
  }
43
49
  /**
44
50
  * Check if a given object implements the FeatureFlags interface.
@@ -20,6 +20,7 @@ export function instanceOfFeatureFlags(value) {
20
20
  isInstance = isInstance && "governanceEnabled" in value;
21
21
  isInstance = isInstance && "projectRequestsEnabled" in value;
22
22
  isInstance = isInstance && "workspacesEnabled" in value;
23
+ isInstance = isInstance && "driveEnabled" in value;
23
24
  return isInstance;
24
25
  }
25
26
  export function FeatureFlagsFromJSON(json) {
@@ -34,6 +35,7 @@ export function FeatureFlagsFromJSONTyped(json, ignoreDiscriminator) {
34
35
  'governanceEnabled': json['governanceEnabled'],
35
36
  'projectRequestsEnabled': json['projectRequestsEnabled'],
36
37
  'workspacesEnabled': json['workspacesEnabled'],
38
+ 'driveEnabled': json['driveEnabled'],
37
39
  };
38
40
  }
39
41
  export function FeatureFlagsToJSON(value) {
@@ -48,5 +50,6 @@ export function FeatureFlagsToJSON(value) {
48
50
  'governanceEnabled': value.governanceEnabled,
49
51
  'projectRequestsEnabled': value.projectRequestsEnabled,
50
52
  'workspacesEnabled': value.workspacesEnabled,
53
+ 'driveEnabled': value.driveEnabled,
51
54
  };
52
55
  }
@@ -165,6 +165,12 @@ export interface ProjectRequirement {
165
165
  * @memberof ProjectRequirement
166
166
  */
167
167
  fulfillmentPath?: string | null;
168
+ /**
169
+ * Whether this requirement requires the user to fulfill (it is active, requires fulfillment, and user has not fulfilled
170
+ * @type {boolean}
171
+ * @memberof ProjectRequirement
172
+ */
173
+ requiresUserFulfillment?: boolean;
168
174
  }
169
175
  /**
170
176
  * Check if a given object implements the ProjectRequirement interface.
@@ -68,6 +68,7 @@ export function ProjectRequirementFromJSONTyped(json, ignoreDiscriminator) {
68
68
  'fulfillmentDate': !exists(json, 'fulfillmentDate') ? undefined : (json['fulfillmentDate'] === null ? null : new Date(json['fulfillmentDate'])),
69
69
  'fulfillmentFile': !exists(json, 'fulfillmentFile') ? undefined : json['fulfillmentFile'],
70
70
  'fulfillmentPath': !exists(json, 'fulfillmentPath') ? undefined : json['fulfillmentPath'],
71
+ 'requiresUserFulfillment': !exists(json, 'requiresUserFulfillment') ? undefined : json['requiresUserFulfillment'],
71
72
  };
72
73
  }
73
74
  export function ProjectRequirementToJSON(value) {
@@ -102,5 +103,6 @@ export function ProjectRequirementToJSON(value) {
102
103
  'fulfillmentDate': value.fulfillmentDate === undefined ? undefined : (value.fulfillmentDate === null ? null : value.fulfillmentDate.toISOString()),
103
104
  'fulfillmentFile': value.fulfillmentFile,
104
105
  'fulfillmentPath': value.fulfillmentPath,
106
+ 'requiresUserFulfillment': value.requiresUserFulfillment,
105
107
  };
106
108
  }
@@ -28,24 +28,6 @@ export interface ProjectSettings {
28
28
  * @memberof ProjectSettings
29
29
  */
30
30
  budgetPeriod: BudgetPeriod;
31
- /**
32
- * AMI ID for the DRAGEN compute environment (if enabled)
33
- * @type {string}
34
- * @memberof ProjectSettings
35
- */
36
- dragenAmi?: string | null;
37
- /**
38
- * Enables the default compute environment
39
- * @type {boolean}
40
- * @memberof ProjectSettings
41
- */
42
- enableCompute?: boolean;
43
- /**
44
- * Enables the DRAGEN compute environment
45
- * @type {boolean}
46
- * @memberof ProjectSettings
47
- */
48
- enableDragen?: boolean;
49
31
  /**
50
32
  * Enables the AWS Backup service for S3
51
33
  * @type {boolean}
@@ -59,23 +41,17 @@ export interface ProjectSettings {
59
41
  */
60
42
  enableSftp?: boolean;
61
43
  /**
62
- * Service quota limit for On Demand F1 instances
63
- * @type {number}
64
- * @memberof ProjectSettings
65
- */
66
- maxF1VCPU?: number;
67
- /**
68
- * Service quota limit for Spot instances
69
- * @type {number}
44
+ * List of service connections to enable
45
+ * @type {Array<string>}
70
46
  * @memberof ProjectSettings
71
47
  */
72
- maxSpotVCPU?: number;
48
+ serviceConnections?: Array<string>;
73
49
  /**
74
- * Service quota limit for GPU Spot instances
75
- * @type {number}
50
+ * KMS Key ARN to encrypt S3 objects, if not provided, default bucket encryption will be used
51
+ * @type {string}
76
52
  * @memberof ProjectSettings
77
53
  */
78
- maxGPUVCPU?: number;
54
+ kmsArn?: string | null;
79
55
  /**
80
56
  * Days to keep deleted datasets before being permanently erased
81
57
  * @type {number}
@@ -88,12 +64,6 @@ export interface ProjectSettings {
88
64
  * @memberof ProjectSettings
89
65
  */
90
66
  temporaryStorageLifetimeDays?: number;
91
- /**
92
- * List of service connections to enable
93
- * @type {Array<string>}
94
- * @memberof ProjectSettings
95
- */
96
- serviceConnections?: Array<string>;
97
67
  /**
98
68
  * VPC that the compute environment will use
99
69
  * @type {string}
@@ -101,7 +71,7 @@ export interface ProjectSettings {
101
71
  */
102
72
  vpcId?: string | null;
103
73
  /**
104
- * List of subnets that the compute environment will use
74
+ * List of subnets that the pipeline compute environment will use
105
75
  * @type {Array<string>}
106
76
  * @memberof ProjectSettings
107
77
  */
@@ -110,14 +80,63 @@ export interface ProjectSettings {
110
80
  * List of subnets that the sagemaker instances will use
111
81
  * @type {Array<string>}
112
82
  * @memberof ProjectSettings
83
+ * @deprecated
113
84
  */
114
85
  sagemakerSubnets?: Array<string> | null;
115
86
  /**
116
- * KMS Key ARN to encrypt S3 objects, if not provided, default bucket encryption will be used
87
+ * List of subnets that workspace instances will use
88
+ * @type {Array<string>}
89
+ * @memberof ProjectSettings
90
+ */
91
+ workspaceSubnets?: Array<string> | null;
92
+ /**
93
+ * vCPU service quota limit for standard spot instances (pipelines)
94
+ * @type {number}
95
+ * @memberof ProjectSettings
96
+ */
97
+ maxSpotVCPU?: number;
98
+ /**
99
+ * vCPU service quota limit for FPGA-enabled instances (pipelines)
100
+ * @type {number}
101
+ * @memberof ProjectSettings
102
+ */
103
+ maxFPGAVCPU?: number;
104
+ /**
105
+ * vCPU service quota limit for GPU-enabled spot instances (pipelines)
106
+ * @type {number}
107
+ * @memberof ProjectSettings
108
+ */
109
+ maxGPUVCPU?: number;
110
+ /**
111
+ * Enables the DRAGEN compute environment (pipelines)
112
+ * @type {boolean}
113
+ * @memberof ProjectSettings
114
+ */
115
+ enableDragen?: boolean;
116
+ /**
117
+ * AMI ID for the DRAGEN compute environment, if enabled (pipelines)
117
118
  * @type {string}
118
119
  * @memberof ProjectSettings
119
120
  */
120
- kmsArn?: string | null;
121
+ dragenAmi?: string | null;
122
+ /**
123
+ * vCPU service quota limit for standard instances (workspaces)
124
+ * @type {number}
125
+ * @memberof ProjectSettings
126
+ */
127
+ maxWorkspacesVCPU?: number;
128
+ /**
129
+ * vCPU service quota limit for GPU-enabled instances (workspaces)
130
+ * @type {number}
131
+ * @memberof ProjectSettings
132
+ */
133
+ maxWorkspacesGPUVCPU?: number;
134
+ /**
135
+ * Maximum number of workspaces per user (workspaces)
136
+ * @type {number}
137
+ * @memberof ProjectSettings
138
+ */
139
+ maxWorkspacesPerUser?: number;
121
140
  /**
122
141
  * Enables the project to be discoverable by other users
123
142
  * @type {boolean}
@@ -130,6 +149,18 @@ export interface ProjectSettings {
130
149
  * @memberof ProjectSettings
131
150
  */
132
151
  isShareable?: boolean | null;
152
+ /**
153
+ * (Read-only) Whether this project has pipelines enabled
154
+ * @type {boolean}
155
+ * @memberof ProjectSettings
156
+ */
157
+ hasPipelinesEnabled?: boolean | null;
158
+ /**
159
+ * (Read-only) Whether this project has workspaces enabled
160
+ * @type {boolean}
161
+ * @memberof ProjectSettings
162
+ */
163
+ hasWorkspacesEnabled?: boolean | null;
133
164
  }
134
165
  /**
135
166
  * Check if a given object implements the ProjectSettings interface.
@@ -32,23 +32,28 @@ export function ProjectSettingsFromJSONTyped(json, ignoreDiscriminator) {
32
32
  return {
33
33
  'budgetAmount': json['budgetAmount'],
34
34
  'budgetPeriod': BudgetPeriodFromJSON(json['budgetPeriod']),
35
- 'dragenAmi': !exists(json, 'dragenAmi') ? undefined : json['dragenAmi'],
36
- 'enableCompute': !exists(json, 'enableCompute') ? undefined : json['enableCompute'],
37
- 'enableDragen': !exists(json, 'enableDragen') ? undefined : json['enableDragen'],
38
35
  'enableBackup': !exists(json, 'enableBackup') ? undefined : json['enableBackup'],
39
36
  'enableSftp': !exists(json, 'enableSftp') ? undefined : json['enableSftp'],
40
- 'maxF1VCPU': !exists(json, 'maxF1VCPU') ? undefined : json['maxF1VCPU'],
41
- 'maxSpotVCPU': !exists(json, 'maxSpotVCPU') ? undefined : json['maxSpotVCPU'],
42
- 'maxGPUVCPU': !exists(json, 'maxGPUVCPU') ? undefined : json['maxGPUVCPU'],
37
+ 'serviceConnections': !exists(json, 'serviceConnections') ? undefined : json['serviceConnections'],
38
+ 'kmsArn': !exists(json, 'kmsArn') ? undefined : json['kmsArn'],
43
39
  'retentionPolicyDays': !exists(json, 'retentionPolicyDays') ? undefined : json['retentionPolicyDays'],
44
40
  'temporaryStorageLifetimeDays': !exists(json, 'temporaryStorageLifetimeDays') ? undefined : json['temporaryStorageLifetimeDays'],
45
- 'serviceConnections': !exists(json, 'serviceConnections') ? undefined : json['serviceConnections'],
46
41
  'vpcId': !exists(json, 'vpcId') ? undefined : json['vpcId'],
47
42
  'batchSubnets': !exists(json, 'batchSubnets') ? undefined : json['batchSubnets'],
48
43
  'sagemakerSubnets': !exists(json, 'sagemakerSubnets') ? undefined : json['sagemakerSubnets'],
49
- 'kmsArn': !exists(json, 'kmsArn') ? undefined : json['kmsArn'],
44
+ 'workspaceSubnets': !exists(json, 'workspaceSubnets') ? undefined : json['workspaceSubnets'],
45
+ 'maxSpotVCPU': !exists(json, 'maxSpotVCPU') ? undefined : json['maxSpotVCPU'],
46
+ 'maxFPGAVCPU': !exists(json, 'maxFPGAVCPU') ? undefined : json['maxFPGAVCPU'],
47
+ 'maxGPUVCPU': !exists(json, 'maxGPUVCPU') ? undefined : json['maxGPUVCPU'],
48
+ 'enableDragen': !exists(json, 'enableDragen') ? undefined : json['enableDragen'],
49
+ 'dragenAmi': !exists(json, 'dragenAmi') ? undefined : json['dragenAmi'],
50
+ 'maxWorkspacesVCPU': !exists(json, 'maxWorkspacesVCPU') ? undefined : json['maxWorkspacesVCPU'],
51
+ 'maxWorkspacesGPUVCPU': !exists(json, 'maxWorkspacesGPUVCPU') ? undefined : json['maxWorkspacesGPUVCPU'],
52
+ 'maxWorkspacesPerUser': !exists(json, 'maxWorkspacesPerUser') ? undefined : json['maxWorkspacesPerUser'],
50
53
  'isDiscoverable': !exists(json, 'isDiscoverable') ? undefined : json['isDiscoverable'],
51
54
  'isShareable': !exists(json, 'isShareable') ? undefined : json['isShareable'],
55
+ 'hasPipelinesEnabled': !exists(json, 'hasPipelinesEnabled') ? undefined : json['hasPipelinesEnabled'],
56
+ 'hasWorkspacesEnabled': !exists(json, 'hasWorkspacesEnabled') ? undefined : json['hasWorkspacesEnabled'],
52
57
  };
53
58
  }
54
59
  export function ProjectSettingsToJSON(value) {
@@ -61,22 +66,27 @@ export function ProjectSettingsToJSON(value) {
61
66
  return {
62
67
  'budgetAmount': value.budgetAmount,
63
68
  'budgetPeriod': BudgetPeriodToJSON(value.budgetPeriod),
64
- 'dragenAmi': value.dragenAmi,
65
- 'enableCompute': value.enableCompute,
66
- 'enableDragen': value.enableDragen,
67
69
  'enableBackup': value.enableBackup,
68
70
  'enableSftp': value.enableSftp,
69
- 'maxF1VCPU': value.maxF1VCPU,
70
- 'maxSpotVCPU': value.maxSpotVCPU,
71
- 'maxGPUVCPU': value.maxGPUVCPU,
71
+ 'serviceConnections': value.serviceConnections,
72
+ 'kmsArn': value.kmsArn,
72
73
  'retentionPolicyDays': value.retentionPolicyDays,
73
74
  'temporaryStorageLifetimeDays': value.temporaryStorageLifetimeDays,
74
- 'serviceConnections': value.serviceConnections,
75
75
  'vpcId': value.vpcId,
76
76
  'batchSubnets': value.batchSubnets,
77
77
  'sagemakerSubnets': value.sagemakerSubnets,
78
- 'kmsArn': value.kmsArn,
78
+ 'workspaceSubnets': value.workspaceSubnets,
79
+ 'maxSpotVCPU': value.maxSpotVCPU,
80
+ 'maxFPGAVCPU': value.maxFPGAVCPU,
81
+ 'maxGPUVCPU': value.maxGPUVCPU,
82
+ 'enableDragen': value.enableDragen,
83
+ 'dragenAmi': value.dragenAmi,
84
+ 'maxWorkspacesVCPU': value.maxWorkspacesVCPU,
85
+ 'maxWorkspacesGPUVCPU': value.maxWorkspacesGPUVCPU,
86
+ 'maxWorkspacesPerUser': value.maxWorkspacesPerUser,
79
87
  'isDiscoverable': value.isDiscoverable,
80
88
  'isShareable': value.isShareable,
89
+ 'hasPipelinesEnabled': value.hasPipelinesEnabled,
90
+ 'hasWorkspacesEnabled': value.hasWorkspacesEnabled,
81
91
  };
82
92
  }
@@ -39,6 +39,12 @@ export interface FeatureFlags {
39
39
  * @memberof FeatureFlags
40
40
  */
41
41
  workspacesEnabled: boolean;
42
+ /**
43
+ *
44
+ * @type {boolean}
45
+ * @memberof FeatureFlags
46
+ */
47
+ driveEnabled: boolean;
42
48
  }
43
49
  /**
44
50
  * Check if a given object implements the FeatureFlags interface.
@@ -23,6 +23,7 @@ function instanceOfFeatureFlags(value) {
23
23
  isInstance = isInstance && "governanceEnabled" in value;
24
24
  isInstance = isInstance && "projectRequestsEnabled" in value;
25
25
  isInstance = isInstance && "workspacesEnabled" in value;
26
+ isInstance = isInstance && "driveEnabled" in value;
26
27
  return isInstance;
27
28
  }
28
29
  exports.instanceOfFeatureFlags = instanceOfFeatureFlags;
@@ -39,6 +40,7 @@ function FeatureFlagsFromJSONTyped(json, ignoreDiscriminator) {
39
40
  'governanceEnabled': json['governanceEnabled'],
40
41
  'projectRequestsEnabled': json['projectRequestsEnabled'],
41
42
  'workspacesEnabled': json['workspacesEnabled'],
43
+ 'driveEnabled': json['driveEnabled'],
42
44
  };
43
45
  }
44
46
  exports.FeatureFlagsFromJSONTyped = FeatureFlagsFromJSONTyped;
@@ -54,6 +56,7 @@ function FeatureFlagsToJSON(value) {
54
56
  'governanceEnabled': value.governanceEnabled,
55
57
  'projectRequestsEnabled': value.projectRequestsEnabled,
56
58
  'workspacesEnabled': value.workspacesEnabled,
59
+ 'driveEnabled': value.driveEnabled,
57
60
  };
58
61
  }
59
62
  exports.FeatureFlagsToJSON = FeatureFlagsToJSON;
@@ -165,6 +165,12 @@ export interface ProjectRequirement {
165
165
  * @memberof ProjectRequirement
166
166
  */
167
167
  fulfillmentPath?: string | null;
168
+ /**
169
+ * Whether this requirement requires the user to fulfill (it is active, requires fulfillment, and user has not fulfilled
170
+ * @type {boolean}
171
+ * @memberof ProjectRequirement
172
+ */
173
+ requiresUserFulfillment?: boolean;
168
174
  }
169
175
  /**
170
176
  * Check if a given object implements the ProjectRequirement interface.
@@ -73,6 +73,7 @@ function ProjectRequirementFromJSONTyped(json, ignoreDiscriminator) {
73
73
  'fulfillmentDate': !(0, runtime_1.exists)(json, 'fulfillmentDate') ? undefined : (json['fulfillmentDate'] === null ? null : new Date(json['fulfillmentDate'])),
74
74
  'fulfillmentFile': !(0, runtime_1.exists)(json, 'fulfillmentFile') ? undefined : json['fulfillmentFile'],
75
75
  'fulfillmentPath': !(0, runtime_1.exists)(json, 'fulfillmentPath') ? undefined : json['fulfillmentPath'],
76
+ 'requiresUserFulfillment': !(0, runtime_1.exists)(json, 'requiresUserFulfillment') ? undefined : json['requiresUserFulfillment'],
76
77
  };
77
78
  }
78
79
  exports.ProjectRequirementFromJSONTyped = ProjectRequirementFromJSONTyped;
@@ -108,6 +109,7 @@ function ProjectRequirementToJSON(value) {
108
109
  'fulfillmentDate': value.fulfillmentDate === undefined ? undefined : (value.fulfillmentDate === null ? null : value.fulfillmentDate.toISOString()),
109
110
  'fulfillmentFile': value.fulfillmentFile,
110
111
  'fulfillmentPath': value.fulfillmentPath,
112
+ 'requiresUserFulfillment': value.requiresUserFulfillment,
111
113
  };
112
114
  }
113
115
  exports.ProjectRequirementToJSON = ProjectRequirementToJSON;
@@ -28,24 +28,6 @@ export interface ProjectSettings {
28
28
  * @memberof ProjectSettings
29
29
  */
30
30
  budgetPeriod: BudgetPeriod;
31
- /**
32
- * AMI ID for the DRAGEN compute environment (if enabled)
33
- * @type {string}
34
- * @memberof ProjectSettings
35
- */
36
- dragenAmi?: string | null;
37
- /**
38
- * Enables the default compute environment
39
- * @type {boolean}
40
- * @memberof ProjectSettings
41
- */
42
- enableCompute?: boolean;
43
- /**
44
- * Enables the DRAGEN compute environment
45
- * @type {boolean}
46
- * @memberof ProjectSettings
47
- */
48
- enableDragen?: boolean;
49
31
  /**
50
32
  * Enables the AWS Backup service for S3
51
33
  * @type {boolean}
@@ -59,23 +41,17 @@ export interface ProjectSettings {
59
41
  */
60
42
  enableSftp?: boolean;
61
43
  /**
62
- * Service quota limit for On Demand F1 instances
63
- * @type {number}
64
- * @memberof ProjectSettings
65
- */
66
- maxF1VCPU?: number;
67
- /**
68
- * Service quota limit for Spot instances
69
- * @type {number}
44
+ * List of service connections to enable
45
+ * @type {Array<string>}
70
46
  * @memberof ProjectSettings
71
47
  */
72
- maxSpotVCPU?: number;
48
+ serviceConnections?: Array<string>;
73
49
  /**
74
- * Service quota limit for GPU Spot instances
75
- * @type {number}
50
+ * KMS Key ARN to encrypt S3 objects, if not provided, default bucket encryption will be used
51
+ * @type {string}
76
52
  * @memberof ProjectSettings
77
53
  */
78
- maxGPUVCPU?: number;
54
+ kmsArn?: string | null;
79
55
  /**
80
56
  * Days to keep deleted datasets before being permanently erased
81
57
  * @type {number}
@@ -88,12 +64,6 @@ export interface ProjectSettings {
88
64
  * @memberof ProjectSettings
89
65
  */
90
66
  temporaryStorageLifetimeDays?: number;
91
- /**
92
- * List of service connections to enable
93
- * @type {Array<string>}
94
- * @memberof ProjectSettings
95
- */
96
- serviceConnections?: Array<string>;
97
67
  /**
98
68
  * VPC that the compute environment will use
99
69
  * @type {string}
@@ -101,7 +71,7 @@ export interface ProjectSettings {
101
71
  */
102
72
  vpcId?: string | null;
103
73
  /**
104
- * List of subnets that the compute environment will use
74
+ * List of subnets that the pipeline compute environment will use
105
75
  * @type {Array<string>}
106
76
  * @memberof ProjectSettings
107
77
  */
@@ -110,14 +80,63 @@ export interface ProjectSettings {
110
80
  * List of subnets that the sagemaker instances will use
111
81
  * @type {Array<string>}
112
82
  * @memberof ProjectSettings
83
+ * @deprecated
113
84
  */
114
85
  sagemakerSubnets?: Array<string> | null;
115
86
  /**
116
- * KMS Key ARN to encrypt S3 objects, if not provided, default bucket encryption will be used
87
+ * List of subnets that workspace instances will use
88
+ * @type {Array<string>}
89
+ * @memberof ProjectSettings
90
+ */
91
+ workspaceSubnets?: Array<string> | null;
92
+ /**
93
+ * vCPU service quota limit for standard spot instances (pipelines)
94
+ * @type {number}
95
+ * @memberof ProjectSettings
96
+ */
97
+ maxSpotVCPU?: number;
98
+ /**
99
+ * vCPU service quota limit for FPGA-enabled instances (pipelines)
100
+ * @type {number}
101
+ * @memberof ProjectSettings
102
+ */
103
+ maxFPGAVCPU?: number;
104
+ /**
105
+ * vCPU service quota limit for GPU-enabled spot instances (pipelines)
106
+ * @type {number}
107
+ * @memberof ProjectSettings
108
+ */
109
+ maxGPUVCPU?: number;
110
+ /**
111
+ * Enables the DRAGEN compute environment (pipelines)
112
+ * @type {boolean}
113
+ * @memberof ProjectSettings
114
+ */
115
+ enableDragen?: boolean;
116
+ /**
117
+ * AMI ID for the DRAGEN compute environment, if enabled (pipelines)
117
118
  * @type {string}
118
119
  * @memberof ProjectSettings
119
120
  */
120
- kmsArn?: string | null;
121
+ dragenAmi?: string | null;
122
+ /**
123
+ * vCPU service quota limit for standard instances (workspaces)
124
+ * @type {number}
125
+ * @memberof ProjectSettings
126
+ */
127
+ maxWorkspacesVCPU?: number;
128
+ /**
129
+ * vCPU service quota limit for GPU-enabled instances (workspaces)
130
+ * @type {number}
131
+ * @memberof ProjectSettings
132
+ */
133
+ maxWorkspacesGPUVCPU?: number;
134
+ /**
135
+ * Maximum number of workspaces per user (workspaces)
136
+ * @type {number}
137
+ * @memberof ProjectSettings
138
+ */
139
+ maxWorkspacesPerUser?: number;
121
140
  /**
122
141
  * Enables the project to be discoverable by other users
123
142
  * @type {boolean}
@@ -130,6 +149,18 @@ export interface ProjectSettings {
130
149
  * @memberof ProjectSettings
131
150
  */
132
151
  isShareable?: boolean | null;
152
+ /**
153
+ * (Read-only) Whether this project has pipelines enabled
154
+ * @type {boolean}
155
+ * @memberof ProjectSettings
156
+ */
157
+ hasPipelinesEnabled?: boolean | null;
158
+ /**
159
+ * (Read-only) Whether this project has workspaces enabled
160
+ * @type {boolean}
161
+ * @memberof ProjectSettings
162
+ */
163
+ hasWorkspacesEnabled?: boolean | null;
133
164
  }
134
165
  /**
135
166
  * Check if a given object implements the ProjectSettings interface.
@@ -37,23 +37,28 @@ function ProjectSettingsFromJSONTyped(json, ignoreDiscriminator) {
37
37
  return {
38
38
  'budgetAmount': json['budgetAmount'],
39
39
  'budgetPeriod': (0, BudgetPeriod_1.BudgetPeriodFromJSON)(json['budgetPeriod']),
40
- 'dragenAmi': !(0, runtime_1.exists)(json, 'dragenAmi') ? undefined : json['dragenAmi'],
41
- 'enableCompute': !(0, runtime_1.exists)(json, 'enableCompute') ? undefined : json['enableCompute'],
42
- 'enableDragen': !(0, runtime_1.exists)(json, 'enableDragen') ? undefined : json['enableDragen'],
43
40
  'enableBackup': !(0, runtime_1.exists)(json, 'enableBackup') ? undefined : json['enableBackup'],
44
41
  'enableSftp': !(0, runtime_1.exists)(json, 'enableSftp') ? undefined : json['enableSftp'],
45
- 'maxF1VCPU': !(0, runtime_1.exists)(json, 'maxF1VCPU') ? undefined : json['maxF1VCPU'],
46
- 'maxSpotVCPU': !(0, runtime_1.exists)(json, 'maxSpotVCPU') ? undefined : json['maxSpotVCPU'],
47
- 'maxGPUVCPU': !(0, runtime_1.exists)(json, 'maxGPUVCPU') ? undefined : json['maxGPUVCPU'],
42
+ 'serviceConnections': !(0, runtime_1.exists)(json, 'serviceConnections') ? undefined : json['serviceConnections'],
43
+ 'kmsArn': !(0, runtime_1.exists)(json, 'kmsArn') ? undefined : json['kmsArn'],
48
44
  'retentionPolicyDays': !(0, runtime_1.exists)(json, 'retentionPolicyDays') ? undefined : json['retentionPolicyDays'],
49
45
  'temporaryStorageLifetimeDays': !(0, runtime_1.exists)(json, 'temporaryStorageLifetimeDays') ? undefined : json['temporaryStorageLifetimeDays'],
50
- 'serviceConnections': !(0, runtime_1.exists)(json, 'serviceConnections') ? undefined : json['serviceConnections'],
51
46
  'vpcId': !(0, runtime_1.exists)(json, 'vpcId') ? undefined : json['vpcId'],
52
47
  'batchSubnets': !(0, runtime_1.exists)(json, 'batchSubnets') ? undefined : json['batchSubnets'],
53
48
  'sagemakerSubnets': !(0, runtime_1.exists)(json, 'sagemakerSubnets') ? undefined : json['sagemakerSubnets'],
54
- 'kmsArn': !(0, runtime_1.exists)(json, 'kmsArn') ? undefined : json['kmsArn'],
49
+ 'workspaceSubnets': !(0, runtime_1.exists)(json, 'workspaceSubnets') ? undefined : json['workspaceSubnets'],
50
+ 'maxSpotVCPU': !(0, runtime_1.exists)(json, 'maxSpotVCPU') ? undefined : json['maxSpotVCPU'],
51
+ 'maxFPGAVCPU': !(0, runtime_1.exists)(json, 'maxFPGAVCPU') ? undefined : json['maxFPGAVCPU'],
52
+ 'maxGPUVCPU': !(0, runtime_1.exists)(json, 'maxGPUVCPU') ? undefined : json['maxGPUVCPU'],
53
+ 'enableDragen': !(0, runtime_1.exists)(json, 'enableDragen') ? undefined : json['enableDragen'],
54
+ 'dragenAmi': !(0, runtime_1.exists)(json, 'dragenAmi') ? undefined : json['dragenAmi'],
55
+ 'maxWorkspacesVCPU': !(0, runtime_1.exists)(json, 'maxWorkspacesVCPU') ? undefined : json['maxWorkspacesVCPU'],
56
+ 'maxWorkspacesGPUVCPU': !(0, runtime_1.exists)(json, 'maxWorkspacesGPUVCPU') ? undefined : json['maxWorkspacesGPUVCPU'],
57
+ 'maxWorkspacesPerUser': !(0, runtime_1.exists)(json, 'maxWorkspacesPerUser') ? undefined : json['maxWorkspacesPerUser'],
55
58
  'isDiscoverable': !(0, runtime_1.exists)(json, 'isDiscoverable') ? undefined : json['isDiscoverable'],
56
59
  'isShareable': !(0, runtime_1.exists)(json, 'isShareable') ? undefined : json['isShareable'],
60
+ 'hasPipelinesEnabled': !(0, runtime_1.exists)(json, 'hasPipelinesEnabled') ? undefined : json['hasPipelinesEnabled'],
61
+ 'hasWorkspacesEnabled': !(0, runtime_1.exists)(json, 'hasWorkspacesEnabled') ? undefined : json['hasWorkspacesEnabled'],
57
62
  };
58
63
  }
59
64
  exports.ProjectSettingsFromJSONTyped = ProjectSettingsFromJSONTyped;
@@ -67,23 +72,28 @@ function ProjectSettingsToJSON(value) {
67
72
  return {
68
73
  'budgetAmount': value.budgetAmount,
69
74
  'budgetPeriod': (0, BudgetPeriod_1.BudgetPeriodToJSON)(value.budgetPeriod),
70
- 'dragenAmi': value.dragenAmi,
71
- 'enableCompute': value.enableCompute,
72
- 'enableDragen': value.enableDragen,
73
75
  'enableBackup': value.enableBackup,
74
76
  'enableSftp': value.enableSftp,
75
- 'maxF1VCPU': value.maxF1VCPU,
76
- 'maxSpotVCPU': value.maxSpotVCPU,
77
- 'maxGPUVCPU': value.maxGPUVCPU,
77
+ 'serviceConnections': value.serviceConnections,
78
+ 'kmsArn': value.kmsArn,
78
79
  'retentionPolicyDays': value.retentionPolicyDays,
79
80
  'temporaryStorageLifetimeDays': value.temporaryStorageLifetimeDays,
80
- 'serviceConnections': value.serviceConnections,
81
81
  'vpcId': value.vpcId,
82
82
  'batchSubnets': value.batchSubnets,
83
83
  'sagemakerSubnets': value.sagemakerSubnets,
84
- 'kmsArn': value.kmsArn,
84
+ 'workspaceSubnets': value.workspaceSubnets,
85
+ 'maxSpotVCPU': value.maxSpotVCPU,
86
+ 'maxFPGAVCPU': value.maxFPGAVCPU,
87
+ 'maxGPUVCPU': value.maxGPUVCPU,
88
+ 'enableDragen': value.enableDragen,
89
+ 'dragenAmi': value.dragenAmi,
90
+ 'maxWorkspacesVCPU': value.maxWorkspacesVCPU,
91
+ 'maxWorkspacesGPUVCPU': value.maxWorkspacesGPUVCPU,
92
+ 'maxWorkspacesPerUser': value.maxWorkspacesPerUser,
85
93
  'isDiscoverable': value.isDiscoverable,
86
94
  'isShareable': value.isShareable,
95
+ 'hasPipelinesEnabled': value.hasPipelinesEnabled,
96
+ 'hasWorkspacesEnabled': value.hasWorkspacesEnabled,
87
97
  };
88
98
  }
89
99
  exports.ProjectSettingsToJSON = ProjectSettingsToJSON;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cirrobio/api-client",
3
- "version": "0.11.5",
3
+ "version": "0.12.1",
4
4
  "description": "API client for Cirro",
5
5
  "author": "CirroBio",
6
6
  "repository": {