@nexgencloud/hyperstack-sdk-typescript 1.50.2-alpha → 1.51.1-alpha

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
@@ -1,4 +1,4 @@
1
- ## @nexgencloud/hyperstack-sdk-typescript@v1.50.2-alpha
1
+ ## @nexgencloud/hyperstack-sdk-typescript@v1.51.1-alpha
2
2
 
3
3
  This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
4
4
 
@@ -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 @nexgencloud/hyperstack-sdk-typescript@v1.50.2-alpha --save
39
+ npm install @nexgencloud/hyperstack-sdk-typescript@v1.51.1-alpha --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
package/api.ts CHANGED
@@ -1237,6 +1237,18 @@ export interface ClusterNodeGroupFields {
1237
1237
  * @memberof ClusterNodeGroupFields
1238
1238
  */
1239
1239
  'created_at'?: string;
1240
+ /**
1241
+ *
1242
+ * @type {Array<number>}
1243
+ * @memberof ClusterNodeGroupFields
1244
+ */
1245
+ 'firewall_ids'?: Array<number>;
1246
+ /**
1247
+ *
1248
+ * @type {Array<ClusterNodeGroupFirewallFields>}
1249
+ * @memberof ClusterNodeGroupFields
1250
+ */
1251
+ 'firewalls'?: Array<ClusterNodeGroupFirewallFields>;
1240
1252
  /**
1241
1253
  *
1242
1254
  * @type {ClusterFlavorFields}
@@ -1280,6 +1292,31 @@ export interface ClusterNodeGroupFields {
1280
1292
  */
1281
1293
  'updated_at'?: string;
1282
1294
  }
1295
+ /**
1296
+ *
1297
+ * @export
1298
+ * @interface ClusterNodeGroupFirewallFields
1299
+ */
1300
+ export interface ClusterNodeGroupFirewallFields {
1301
+ /**
1302
+ *
1303
+ * @type {number}
1304
+ * @memberof ClusterNodeGroupFirewallFields
1305
+ */
1306
+ 'id'?: number;
1307
+ /**
1308
+ *
1309
+ * @type {string}
1310
+ * @memberof ClusterNodeGroupFirewallFields
1311
+ */
1312
+ 'name'?: string;
1313
+ /**
1314
+ *
1315
+ * @type {string}
1316
+ * @memberof ClusterNodeGroupFirewallFields
1317
+ */
1318
+ 'status'?: string;
1319
+ }
1283
1320
  /**
1284
1321
  *
1285
1322
  * @export
@@ -2060,6 +2097,12 @@ export interface CreateClusterNodeGroupPayload {
2060
2097
  * @memberof CreateClusterNodeGroupPayload
2061
2098
  */
2062
2099
  'count'?: number;
2100
+ /**
2101
+ * IDs of the firewalls to apply to all nodes in this node group
2102
+ * @type {Array<number>}
2103
+ * @memberof CreateClusterNodeGroupPayload
2104
+ */
2105
+ 'firewall_ids'?: Array<number>;
2063
2106
  /**
2064
2107
  *
2065
2108
  * @type {string}
@@ -6962,6 +7005,12 @@ export interface RegionFields {
6962
7005
  * @memberof RegionFields
6963
7006
  */
6964
7007
  'description'?: string;
7008
+ /**
7009
+ *
7010
+ * @type {object}
7011
+ * @memberof RegionFields
7012
+ */
7013
+ 'features'?: object;
6965
7014
  /**
6966
7015
  * Green status
6967
7016
  * @type {string}
@@ -9038,6 +9087,12 @@ export interface URIs {
9038
9087
  * @interface UpdateClusterNodeGroupPayload
9039
9088
  */
9040
9089
  export interface UpdateClusterNodeGroupPayload {
9090
+ /**
9091
+ * IDs of the firewalls to apply to all nodes in this node group
9092
+ * @type {Array<number>}
9093
+ * @memberof UpdateClusterNodeGroupPayload
9094
+ */
9095
+ 'firewall_ids'?: Array<number>;
9041
9096
  /**
9042
9097
  *
9043
9098
  * @type {number}
@@ -11082,7 +11137,7 @@ export const AuthApiAxiosParamCreator = function (configuration?: Configuration)
11082
11137
  baseOptions = configuration.baseOptions;
11083
11138
  }
11084
11139
 
11085
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
11140
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
11086
11141
  const localVarHeaderParameter = {} as any;
11087
11142
  const localVarQueryParameter = {} as any;
11088
11143
 
package/dist/api.d.ts CHANGED
@@ -1221,6 +1221,18 @@ export interface ClusterNodeGroupFields {
1221
1221
  * @memberof ClusterNodeGroupFields
1222
1222
  */
1223
1223
  'created_at'?: string;
1224
+ /**
1225
+ *
1226
+ * @type {Array<number>}
1227
+ * @memberof ClusterNodeGroupFields
1228
+ */
1229
+ 'firewall_ids'?: Array<number>;
1230
+ /**
1231
+ *
1232
+ * @type {Array<ClusterNodeGroupFirewallFields>}
1233
+ * @memberof ClusterNodeGroupFields
1234
+ */
1235
+ 'firewalls'?: Array<ClusterNodeGroupFirewallFields>;
1224
1236
  /**
1225
1237
  *
1226
1238
  * @type {ClusterFlavorFields}
@@ -1264,6 +1276,31 @@ export interface ClusterNodeGroupFields {
1264
1276
  */
1265
1277
  'updated_at'?: string;
1266
1278
  }
1279
+ /**
1280
+ *
1281
+ * @export
1282
+ * @interface ClusterNodeGroupFirewallFields
1283
+ */
1284
+ export interface ClusterNodeGroupFirewallFields {
1285
+ /**
1286
+ *
1287
+ * @type {number}
1288
+ * @memberof ClusterNodeGroupFirewallFields
1289
+ */
1290
+ 'id'?: number;
1291
+ /**
1292
+ *
1293
+ * @type {string}
1294
+ * @memberof ClusterNodeGroupFirewallFields
1295
+ */
1296
+ 'name'?: string;
1297
+ /**
1298
+ *
1299
+ * @type {string}
1300
+ * @memberof ClusterNodeGroupFirewallFields
1301
+ */
1302
+ 'status'?: string;
1303
+ }
1267
1304
  /**
1268
1305
  *
1269
1306
  * @export
@@ -2041,6 +2078,12 @@ export interface CreateClusterNodeGroupPayload {
2041
2078
  * @memberof CreateClusterNodeGroupPayload
2042
2079
  */
2043
2080
  'count'?: number;
2081
+ /**
2082
+ * IDs of the firewalls to apply to all nodes in this node group
2083
+ * @type {Array<number>}
2084
+ * @memberof CreateClusterNodeGroupPayload
2085
+ */
2086
+ 'firewall_ids'?: Array<number>;
2044
2087
  /**
2045
2088
  *
2046
2089
  * @type {string}
@@ -6915,6 +6958,12 @@ export interface RegionFields {
6915
6958
  * @memberof RegionFields
6916
6959
  */
6917
6960
  'description'?: string;
6961
+ /**
6962
+ *
6963
+ * @type {object}
6964
+ * @memberof RegionFields
6965
+ */
6966
+ 'features'?: object;
6918
6967
  /**
6919
6968
  * Green status
6920
6969
  * @type {string}
@@ -8990,6 +9039,12 @@ export interface URIs {
8990
9039
  * @interface UpdateClusterNodeGroupPayload
8991
9040
  */
8992
9041
  export interface UpdateClusterNodeGroupPayload {
9042
+ /**
9043
+ * IDs of the firewalls to apply to all nodes in this node group
9044
+ * @type {Array<number>}
9045
+ * @memberof UpdateClusterNodeGroupPayload
9046
+ */
9047
+ 'firewall_ids'?: Array<number>;
8993
9048
  /**
8994
9049
  *
8995
9050
  * @type {number}
package/dist/api.js CHANGED
@@ -1089,7 +1089,7 @@ const AuthApiAxiosParamCreator = function (configuration) {
1089
1089
  if (configuration) {
1090
1090
  baseOptions = configuration.baseOptions;
1091
1091
  }
1092
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
1092
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
1093
1093
  const localVarHeaderParameter = {};
1094
1094
  const localVarQueryParameter = {};
1095
1095
  // authentication apiKey required
package/dist/esm/api.d.ts CHANGED
@@ -1221,6 +1221,18 @@ export interface ClusterNodeGroupFields {
1221
1221
  * @memberof ClusterNodeGroupFields
1222
1222
  */
1223
1223
  'created_at'?: string;
1224
+ /**
1225
+ *
1226
+ * @type {Array<number>}
1227
+ * @memberof ClusterNodeGroupFields
1228
+ */
1229
+ 'firewall_ids'?: Array<number>;
1230
+ /**
1231
+ *
1232
+ * @type {Array<ClusterNodeGroupFirewallFields>}
1233
+ * @memberof ClusterNodeGroupFields
1234
+ */
1235
+ 'firewalls'?: Array<ClusterNodeGroupFirewallFields>;
1224
1236
  /**
1225
1237
  *
1226
1238
  * @type {ClusterFlavorFields}
@@ -1264,6 +1276,31 @@ export interface ClusterNodeGroupFields {
1264
1276
  */
1265
1277
  'updated_at'?: string;
1266
1278
  }
1279
+ /**
1280
+ *
1281
+ * @export
1282
+ * @interface ClusterNodeGroupFirewallFields
1283
+ */
1284
+ export interface ClusterNodeGroupFirewallFields {
1285
+ /**
1286
+ *
1287
+ * @type {number}
1288
+ * @memberof ClusterNodeGroupFirewallFields
1289
+ */
1290
+ 'id'?: number;
1291
+ /**
1292
+ *
1293
+ * @type {string}
1294
+ * @memberof ClusterNodeGroupFirewallFields
1295
+ */
1296
+ 'name'?: string;
1297
+ /**
1298
+ *
1299
+ * @type {string}
1300
+ * @memberof ClusterNodeGroupFirewallFields
1301
+ */
1302
+ 'status'?: string;
1303
+ }
1267
1304
  /**
1268
1305
  *
1269
1306
  * @export
@@ -2041,6 +2078,12 @@ export interface CreateClusterNodeGroupPayload {
2041
2078
  * @memberof CreateClusterNodeGroupPayload
2042
2079
  */
2043
2080
  'count'?: number;
2081
+ /**
2082
+ * IDs of the firewalls to apply to all nodes in this node group
2083
+ * @type {Array<number>}
2084
+ * @memberof CreateClusterNodeGroupPayload
2085
+ */
2086
+ 'firewall_ids'?: Array<number>;
2044
2087
  /**
2045
2088
  *
2046
2089
  * @type {string}
@@ -6915,6 +6958,12 @@ export interface RegionFields {
6915
6958
  * @memberof RegionFields
6916
6959
  */
6917
6960
  'description'?: string;
6961
+ /**
6962
+ *
6963
+ * @type {object}
6964
+ * @memberof RegionFields
6965
+ */
6966
+ 'features'?: object;
6918
6967
  /**
6919
6968
  * Green status
6920
6969
  * @type {string}
@@ -8990,6 +9039,12 @@ export interface URIs {
8990
9039
  * @interface UpdateClusterNodeGroupPayload
8991
9040
  */
8992
9041
  export interface UpdateClusterNodeGroupPayload {
9042
+ /**
9043
+ * IDs of the firewalls to apply to all nodes in this node group
9044
+ * @type {Array<number>}
9045
+ * @memberof UpdateClusterNodeGroupPayload
9046
+ */
9047
+ 'firewall_ids'?: Array<number>;
8993
9048
  /**
8994
9049
  *
8995
9050
  * @type {number}
package/dist/esm/api.js CHANGED
@@ -1066,7 +1066,7 @@ export const AuthApiAxiosParamCreator = function (configuration) {
1066
1066
  if (configuration) {
1067
1067
  baseOptions = configuration.baseOptions;
1068
1068
  }
1069
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
1069
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
1070
1070
  const localVarHeaderParameter = {};
1071
1071
  const localVarQueryParameter = {};
1072
1072
  // authentication apiKey required
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nexgencloud/hyperstack-sdk-typescript",
3
- "version": "v1.50.2-alpha",
3
+ "version": "v1.51.1-alpha",
4
4
  "description": "Leverage the Infrahub API and Hyperstack platform to easily create, manage, and scale powerful GPU virtual machines and their associated resources. Access this SDK to automate the deployment of your workloads and streamline your infrastructure management. To contribute, please raise an issue with a bug report, feature request, feedback, or general inquiry.",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {