@scaleway/sdk 1.17.0 → 1.18.0

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.
@@ -3,7 +3,7 @@ import { API as API$1 } from '../../../scw/api.js';
3
3
  import { validatePathParam, urlParams } from '../../../helpers/marshalling.js';
4
4
  import { enrichForPagination } from '../../../scw/fetch/resource-paginator.js';
5
5
  import { CLUSTER_TRANSIENT_STATUSES, POOL_TRANSIENT_STATUSES, NODE_TRANSIENT_STATUSES } from './content.gen.js';
6
- import { unmarshalListClustersResponse, marshalCreateClusterRequest, unmarshalCluster, marshalUpdateClusterRequest, marshalUpgradeClusterRequest, marshalSetClusterTypeRequest, unmarshalListClusterAvailableVersionsResponse, marshalMigrateToPrivateNetworkClusterRequest, unmarshalListPoolsResponse, marshalCreatePoolRequest, unmarshalPool, marshalUpgradePoolRequest, marshalUpdatePoolRequest, unmarshalExternalNode, unmarshalListNodesResponse, unmarshalNode, unmarshalListVersionsResponse, unmarshalVersion, unmarshalListClusterTypesResponse } from './marshalling.gen.js';
6
+ import { unmarshalListClustersResponse, marshalCreateClusterRequest, unmarshalCluster, marshalUpdateClusterRequest, marshalUpgradeClusterRequest, marshalSetClusterTypeRequest, unmarshalListClusterAvailableVersionsResponse, unmarshalListClusterAvailableTypesResponse, marshalMigrateToPrivateNetworkClusterRequest, unmarshalListPoolsResponse, marshalCreatePoolRequest, unmarshalPool, marshalUpgradePoolRequest, marshalUpdatePoolRequest, unmarshalExternalNode, unmarshalListNodesResponse, unmarshalNode, unmarshalListVersionsResponse, unmarshalVersion, unmarshalListClusterTypesResponse } from './marshalling.gen.js';
7
7
 
8
8
  // This file was automatically generated. DO NOT EDIT.
9
9
  // If you have any remark or suggestion do not hesitate to open an issue.
@@ -148,6 +148,18 @@ class API extends API$1 {
148
148
  method: 'GET',
149
149
  path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/clusters/${validatePathParam('clusterId', request.clusterId)}/available-versions`
150
150
  }, unmarshalListClusterAvailableVersionsResponse);
151
+
152
+ /**
153
+ * List available cluster types for a cluster. List the cluster types that a
154
+ * specific Kubernetes cluster is allowed to switch to.
155
+ *
156
+ * @param request - The request {@link ListClusterAvailableTypesRequest}
157
+ * @returns A Promise of ListClusterAvailableTypesResponse
158
+ */
159
+ listClusterAvailableTypes = request => this.client.fetch({
160
+ method: 'GET',
161
+ path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/clusters/${validatePathParam('clusterId', request.clusterId)}/available-types`
162
+ }, unmarshalListClusterAvailableTypesResponse);
151
163
  _getClusterKubeConfig = request => this.client.fetch({
152
164
  method: 'GET',
153
165
  path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/clusters/${validatePathParam('clusterId', request.clusterId)}/kubeconfig`,
@@ -73,6 +73,7 @@ const unmarshalCluster = data => {
73
73
  autoUpgrade: data.auto_upgrade ? unmarshalClusterAutoUpgrade(data.auto_upgrade) : undefined,
74
74
  clusterUrl: data.cluster_url,
75
75
  cni: data.cni,
76
+ commitmentEndsAt: unmarshalDate(data.commitment_ends_at),
76
77
  createdAt: unmarshalDate(data.created_at),
77
78
  dashboardEnabled: data.dashboard_enabled,
78
79
  description: data.description,
@@ -100,6 +101,8 @@ const unmarshalClusterType = data => {
100
101
  }
101
102
  return {
102
103
  availability: data.availability,
104
+ commitmentDelay: data.commitment_delay,
105
+ maxNodes: data.max_nodes,
103
106
  name: data.name
104
107
  };
105
108
  };
@@ -183,6 +186,15 @@ const unmarshalExternalNode = data => {
183
186
  poolVersion: data.pool_version
184
187
  };
185
188
  };
189
+ const unmarshalListClusterAvailableTypesResponse = data => {
190
+ if (!isJSONObject(data)) {
191
+ throw new TypeError(`Unmarshalling the type 'ListClusterAvailableTypesResponse' failed as data isn't a dictionary.`);
192
+ }
193
+ return {
194
+ clusterTypes: unmarshalArrayOfObject(data.cluster_types, unmarshalClusterType),
195
+ totalCount: data.total_count
196
+ };
197
+ };
186
198
  const unmarshalListClusterAvailableVersionsResponse = data => {
187
199
  if (!isJSONObject(data)) {
188
200
  throw new TypeError(`Unmarshalling the type 'ListClusterAvailableVersionsResponse' failed as data isn't a dictionary.`);
@@ -399,4 +411,4 @@ const marshalUpgradePoolRequest = (request, defaults) => ({
399
411
  version: request.version
400
412
  });
401
413
 
402
- export { marshalCreateClusterRequest, marshalCreatePoolRequest, marshalMigrateToPrivateNetworkClusterRequest, marshalSetClusterTypeRequest, marshalUpdateClusterRequest, marshalUpdatePoolRequest, marshalUpgradeClusterRequest, marshalUpgradePoolRequest, unmarshalCluster, unmarshalExternalNode, unmarshalListClusterAvailableVersionsResponse, unmarshalListClusterTypesResponse, unmarshalListClustersResponse, unmarshalListNodesResponse, unmarshalListPoolsResponse, unmarshalListVersionsResponse, unmarshalNode, unmarshalPool, unmarshalVersion };
414
+ export { marshalCreateClusterRequest, marshalCreatePoolRequest, marshalMigrateToPrivateNetworkClusterRequest, marshalSetClusterTypeRequest, marshalUpdateClusterRequest, marshalUpdatePoolRequest, marshalUpgradeClusterRequest, marshalUpgradePoolRequest, unmarshalCluster, unmarshalExternalNode, unmarshalListClusterAvailableTypesResponse, unmarshalListClusterAvailableVersionsResponse, unmarshalListClusterTypesResponse, unmarshalListClustersResponse, unmarshalListNodesResponse, unmarshalListPoolsResponse, unmarshalListVersionsResponse, unmarshalNode, unmarshalPool, unmarshalVersion };
@@ -114,6 +114,35 @@ class API extends API$1 {
114
114
  path: `/secret-manager/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/secrets/${validatePathParam('secretId', request.secretId)}`
115
115
  });
116
116
 
117
+ /**
118
+ * Protect a secret. Protect a given secret specified by the `secret_id`
119
+ * parameter. A protected secret can be read and modified but cannot be
120
+ * deleted.
121
+ *
122
+ * @param request - The request {@link ProtectSecretRequest}
123
+ * @returns A Promise of Secret
124
+ */
125
+ protectSecret = request => this.client.fetch({
126
+ body: '{}',
127
+ headers: jsonContentHeaders,
128
+ method: 'POST',
129
+ path: `/secret-manager/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/secrets/${validatePathParam('secretId', request.secretId)}/protect`
130
+ }, unmarshalSecret);
131
+
132
+ /**
133
+ * Unprotect a secret. Unprotect a given secret specified by the `secret_id`
134
+ * parameter. An unprotected secret can be read, modified and deleted.
135
+ *
136
+ * @param request - The request {@link UnprotectSecretRequest}
137
+ * @returns A Promise of Secret
138
+ */
139
+ unprotectSecret = request => this.client.fetch({
140
+ body: '{}',
141
+ headers: jsonContentHeaders,
142
+ method: 'POST',
143
+ path: `/secret-manager/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/secrets/${validatePathParam('secretId', request.secretId)}/unprotect`
144
+ }, unmarshalSecret);
145
+
117
146
  /**
118
147
  * Allow a product to use the secret.
119
148
  *
@@ -12,6 +12,7 @@ const unmarshalSecret = data => {
12
12
  description: data.description,
13
13
  id: data.id,
14
14
  isManaged: data.is_managed,
15
+ isProtected: data.is_protected,
15
16
  name: data.name,
16
17
  projectId: data.project_id,
17
18
  region: data.region,
package/dist/index.cjs CHANGED
@@ -497,7 +497,7 @@ const assertValidSettings = obj => {
497
497
  }
498
498
  };
499
499
 
500
- const version = 'v1.16.0';
500
+ const version = 'v1.17.0';
501
501
  const userAgent = `scaleway-sdk-js/${version}`;
502
502
 
503
503
  const isBrowser = () => typeof window !== 'undefined' && typeof window.document !== 'undefined';
@@ -13273,6 +13273,7 @@ const unmarshalCluster$1 = data => {
13273
13273
  autoUpgrade: data.auto_upgrade ? unmarshalClusterAutoUpgrade(data.auto_upgrade) : undefined,
13274
13274
  clusterUrl: data.cluster_url,
13275
13275
  cni: data.cni,
13276
+ commitmentEndsAt: unmarshalDate(data.commitment_ends_at),
13276
13277
  createdAt: unmarshalDate(data.created_at),
13277
13278
  dashboardEnabled: data.dashboard_enabled,
13278
13279
  description: data.description,
@@ -13300,6 +13301,8 @@ const unmarshalClusterType = data => {
13300
13301
  }
13301
13302
  return {
13302
13303
  availability: data.availability,
13304
+ commitmentDelay: data.commitment_delay,
13305
+ maxNodes: data.max_nodes,
13303
13306
  name: data.name
13304
13307
  };
13305
13308
  };
@@ -13383,6 +13386,15 @@ const unmarshalExternalNode = data => {
13383
13386
  poolVersion: data.pool_version
13384
13387
  };
13385
13388
  };
13389
+ const unmarshalListClusterAvailableTypesResponse = data => {
13390
+ if (!isJSONObject(data)) {
13391
+ throw new TypeError(`Unmarshalling the type 'ListClusterAvailableTypesResponse' failed as data isn't a dictionary.`);
13392
+ }
13393
+ return {
13394
+ clusterTypes: unmarshalArrayOfObject(data.cluster_types, unmarshalClusterType),
13395
+ totalCount: data.total_count
13396
+ };
13397
+ };
13386
13398
  const unmarshalListClusterAvailableVersionsResponse = data => {
13387
13399
  if (!isJSONObject(data)) {
13388
13400
  throw new TypeError(`Unmarshalling the type 'ListClusterAvailableVersionsResponse' failed as data isn't a dictionary.`);
@@ -13726,6 +13738,18 @@ let API$e = class API extends API$s {
13726
13738
  method: 'GET',
13727
13739
  path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/clusters/${validatePathParam('clusterId', request.clusterId)}/available-versions`
13728
13740
  }, unmarshalListClusterAvailableVersionsResponse);
13741
+
13742
+ /**
13743
+ * List available cluster types for a cluster. List the cluster types that a
13744
+ * specific Kubernetes cluster is allowed to switch to.
13745
+ *
13746
+ * @param request - The request {@link ListClusterAvailableTypesRequest}
13747
+ * @returns A Promise of ListClusterAvailableTypesResponse
13748
+ */
13749
+ listClusterAvailableTypes = request => this.client.fetch({
13750
+ method: 'GET',
13751
+ path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/clusters/${validatePathParam('clusterId', request.clusterId)}/available-types`
13752
+ }, unmarshalListClusterAvailableTypesResponse);
13729
13753
  _getClusterKubeConfig = request => this.client.fetch({
13730
13754
  method: 'GET',
13731
13755
  path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/clusters/${validatePathParam('clusterId', request.clusterId)}/kubeconfig`,
@@ -20049,6 +20073,7 @@ const unmarshalSecret = data => {
20049
20073
  description: data.description,
20050
20074
  id: data.id,
20051
20075
  isManaged: data.is_managed,
20076
+ isProtected: data.is_protected,
20052
20077
  name: data.name,
20053
20078
  projectId: data.project_id,
20054
20079
  region: data.region,
@@ -20252,6 +20277,35 @@ let API$6 = class API extends API$s {
20252
20277
  path: `/secret-manager/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/secrets/${validatePathParam('secretId', request.secretId)}`
20253
20278
  });
20254
20279
 
20280
+ /**
20281
+ * Protect a secret. Protect a given secret specified by the `secret_id`
20282
+ * parameter. A protected secret can be read and modified but cannot be
20283
+ * deleted.
20284
+ *
20285
+ * @param request - The request {@link ProtectSecretRequest}
20286
+ * @returns A Promise of Secret
20287
+ */
20288
+ protectSecret = request => this.client.fetch({
20289
+ body: '{}',
20290
+ headers: jsonContentHeaders$6,
20291
+ method: 'POST',
20292
+ path: `/secret-manager/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/secrets/${validatePathParam('secretId', request.secretId)}/protect`
20293
+ }, unmarshalSecret);
20294
+
20295
+ /**
20296
+ * Unprotect a secret. Unprotect a given secret specified by the `secret_id`
20297
+ * parameter. An unprotected secret can be read, modified and deleted.
20298
+ *
20299
+ * @param request - The request {@link UnprotectSecretRequest}
20300
+ * @returns A Promise of Secret
20301
+ */
20302
+ unprotectSecret = request => this.client.fetch({
20303
+ body: '{}',
20304
+ headers: jsonContentHeaders$6,
20305
+ method: 'POST',
20306
+ path: `/secret-manager/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/secrets/${validatePathParam('secretId', request.secretId)}/unprotect`
20307
+ }, unmarshalSecret);
20308
+
20255
20309
  /**
20256
20310
  * Allow a product to use the secret.
20257
20311
  *
package/dist/index.d.ts CHANGED
@@ -14617,6 +14617,8 @@ interface Cluster$1 {
14617
14617
  apiserverCertSans: string[];
14618
14618
  /** Private network ID for internal cluster communication. */
14619
14619
  privateNetworkId?: string;
14620
+ /** Date on which it will be possible to switch to a smaller offer. */
14621
+ commitmentEndsAt?: Date;
14620
14622
  }
14621
14623
  /** Cluster. auto upgrade. */
14622
14624
  interface ClusterAutoUpgrade {
@@ -14710,6 +14712,10 @@ interface ClusterType {
14710
14712
  name: string;
14711
14713
  /** Cluster type availability. */
14712
14714
  availability: ClusterTypeAvailability;
14715
+ /** Maximum number of nodes supported by the offer. */
14716
+ maxNodes: number;
14717
+ /** Time period during which you can no longer switch to a lower offer. */
14718
+ commitmentDelay?: string;
14713
14719
  }
14714
14720
  /** Create cluster request. auto upgrade. */
14715
14721
  interface CreateClusterRequestAutoUpgrade {
@@ -14875,6 +14881,13 @@ interface ExternalNode {
14875
14881
  kubeletConfig: string;
14876
14882
  externalIp: string;
14877
14883
  }
14884
+ /** List cluster available types response. */
14885
+ interface ListClusterAvailableTypesResponse {
14886
+ /** Available cluster types for the cluster. */
14887
+ clusterTypes: ClusterType[];
14888
+ /** Total number of types. */
14889
+ totalCount: number;
14890
+ }
14878
14891
  /** List cluster available versions response. */
14879
14892
  interface ListClusterAvailableVersionsResponse {
14880
14893
  /** Available Kubernetes versions for the cluster. */
@@ -15352,6 +15365,15 @@ type ListClusterAvailableVersionsRequest = {
15352
15365
  /** Cluster ID for which the available Kubernetes versions will be listed. */
15353
15366
  clusterId: string;
15354
15367
  };
15368
+ type ListClusterAvailableTypesRequest = {
15369
+ /**
15370
+ * Region to target. If none is passed will use default region from the
15371
+ * config.
15372
+ */
15373
+ region?: Region;
15374
+ /** Cluster ID for which the available Kubernetes types will be listed. */
15375
+ clusterId: string;
15376
+ };
15355
15377
  type ResetClusterAdminTokenRequest = {
15356
15378
  /**
15357
15379
  * Region to target. If none is passed will use default region from the
@@ -15705,6 +15727,14 @@ declare class API$e extends API$s {
15705
15727
  * @returns A Promise of ListClusterAvailableVersionsResponse
15706
15728
  */
15707
15729
  listClusterAvailableVersions: (request: Readonly<ListClusterAvailableVersionsRequest>) => Promise<ListClusterAvailableVersionsResponse>;
15730
+ /**
15731
+ * List available cluster types for a cluster. List the cluster types that a
15732
+ * specific Kubernetes cluster is allowed to switch to.
15733
+ *
15734
+ * @param request - The request {@link ListClusterAvailableTypesRequest}
15735
+ * @returns A Promise of ListClusterAvailableTypesResponse
15736
+ */
15737
+ listClusterAvailableTypes: (request: Readonly<ListClusterAvailableTypesRequest>) => Promise<ListClusterAvailableTypesResponse>;
15708
15738
  protected _getClusterKubeConfig: (request: Readonly<GetClusterKubeConfigRequest>) => Promise<Blob>;
15709
15739
  /**
15710
15740
  * Reset the admin token of a Cluster. Reset the admin token for a specific
@@ -16042,6 +16072,8 @@ type index$e_GetClusterKubeConfigRequest = GetClusterKubeConfigRequest;
16042
16072
  type index$e_GetNodeRequest = GetNodeRequest;
16043
16073
  type index$e_GetPoolRequest = GetPoolRequest;
16044
16074
  type index$e_Ingress = Ingress;
16075
+ type index$e_ListClusterAvailableTypesRequest = ListClusterAvailableTypesRequest;
16076
+ type index$e_ListClusterAvailableTypesResponse = ListClusterAvailableTypesResponse;
16045
16077
  type index$e_ListClusterAvailableVersionsRequest = ListClusterAvailableVersionsRequest;
16046
16078
  type index$e_ListClusterAvailableVersionsResponse = ListClusterAvailableVersionsResponse;
16047
16079
  type index$e_ListClusterTypesResponse = ListClusterTypesResponse;
@@ -16103,6 +16135,8 @@ declare namespace index$e {
16103
16135
  index$e_GetPoolRequest as GetPoolRequest,
16104
16136
  GetVersionRequest$2 as GetVersionRequest,
16105
16137
  index$e_Ingress as Ingress,
16138
+ index$e_ListClusterAvailableTypesRequest as ListClusterAvailableTypesRequest,
16139
+ index$e_ListClusterAvailableTypesResponse as ListClusterAvailableTypesResponse,
16106
16140
  index$e_ListClusterAvailableVersionsRequest as ListClusterAvailableVersionsRequest,
16107
16141
  index$e_ListClusterAvailableVersionsResponse as ListClusterAvailableVersionsResponse,
16108
16142
  ListClusterTypesRequest$1 as ListClusterTypesRequest,
@@ -24866,8 +24900,9 @@ interface Secret {
24866
24900
  /** Name of the secret. */
24867
24901
  name: string;
24868
24902
  /**
24869
- * Current status of the secret. `ready`: the secret is ready. `locked`: the
24870
- * secret is locked.
24903
+ * Current status of the secret. `ready`: the secret can be read, modified and
24904
+ * deleted. `locked`: no action can be performed on the secret. This status
24905
+ * can only be applied and removed by Scaleway.
24871
24906
  */
24872
24907
  status: SecretStatus;
24873
24908
  /** Date and time of the secret's creation. */
@@ -24882,6 +24917,8 @@ interface Secret {
24882
24917
  description?: string;
24883
24918
  /** Returns `true` for secrets that are managed by another product. */
24884
24919
  isManaged: boolean;
24920
+ /** Returns `true` for protected secrets that cannot be deleted. */
24921
+ isProtected: boolean;
24885
24922
  /** Type of the secret. See `Secret.Type` enum for description of values. */
24886
24923
  type: SecretType;
24887
24924
  /** Region of the secret. */
@@ -24999,6 +25036,24 @@ type DeleteSecretRequest = {
24999
25036
  /** ID of the secret. */
25000
25037
  secretId: string;
25001
25038
  };
25039
+ type ProtectSecretRequest = {
25040
+ /**
25041
+ * Region to target. If none is passed will use default region from the
25042
+ * config.
25043
+ */
25044
+ region?: Region;
25045
+ /** ID of the secret to protect. */
25046
+ secretId: string;
25047
+ };
25048
+ type UnprotectSecretRequest = {
25049
+ /**
25050
+ * Region to target. If none is passed will use default region from the
25051
+ * config.
25052
+ */
25053
+ region?: Region;
25054
+ /** ID of the secret to unprotect. */
25055
+ secretId: string;
25056
+ };
25002
25057
  type AddSecretOwnerRequest = {
25003
25058
  /**
25004
25059
  * Region to target. If none is passed will use default region from the
@@ -25316,6 +25371,23 @@ declare class API$6 extends API$s {
25316
25371
  * @param request - The request {@link DeleteSecretRequest}
25317
25372
  */
25318
25373
  deleteSecret: (request: Readonly<DeleteSecretRequest>) => Promise<void>;
25374
+ /**
25375
+ * Protect a secret. Protect a given secret specified by the `secret_id`
25376
+ * parameter. A protected secret can be read and modified but cannot be
25377
+ * deleted.
25378
+ *
25379
+ * @param request - The request {@link ProtectSecretRequest}
25380
+ * @returns A Promise of Secret
25381
+ */
25382
+ protectSecret: (request: Readonly<ProtectSecretRequest>) => Promise<Secret>;
25383
+ /**
25384
+ * Unprotect a secret. Unprotect a given secret specified by the `secret_id`
25385
+ * parameter. An unprotected secret can be read, modified and deleted.
25386
+ *
25387
+ * @param request - The request {@link UnprotectSecretRequest}
25388
+ * @returns A Promise of Secret
25389
+ */
25390
+ unprotectSecret: (request: Readonly<UnprotectSecretRequest>) => Promise<Secret>;
25319
25391
  /**
25320
25392
  * Allow a product to use the secret.
25321
25393
  *
@@ -25471,11 +25543,13 @@ type index_gen$6_ListTagsRequest = ListTagsRequest;
25471
25543
  type index_gen$6_ListTagsResponse = ListTagsResponse;
25472
25544
  type index_gen$6_PasswordGenerationParams = PasswordGenerationParams;
25473
25545
  type index_gen$6_Product = Product;
25546
+ type index_gen$6_ProtectSecretRequest = ProtectSecretRequest;
25474
25547
  type index_gen$6_Secret = Secret;
25475
25548
  type index_gen$6_SecretStatus = SecretStatus;
25476
25549
  type index_gen$6_SecretType = SecretType;
25477
25550
  type index_gen$6_SecretVersion = SecretVersion;
25478
25551
  type index_gen$6_SecretVersionStatus = SecretVersionStatus;
25552
+ type index_gen$6_UnprotectSecretRequest = UnprotectSecretRequest;
25479
25553
  type index_gen$6_UpdateSecretRequest = UpdateSecretRequest;
25480
25554
  type index_gen$6_UpdateSecretVersionRequest = UpdateSecretVersionRequest;
25481
25555
  declare namespace index_gen$6 {
@@ -25506,11 +25580,13 @@ declare namespace index_gen$6 {
25506
25580
  index_gen$6_ListTagsResponse as ListTagsResponse,
25507
25581
  index_gen$6_PasswordGenerationParams as PasswordGenerationParams,
25508
25582
  index_gen$6_Product as Product,
25583
+ index_gen$6_ProtectSecretRequest as ProtectSecretRequest,
25509
25584
  index_gen$6_Secret as Secret,
25510
25585
  index_gen$6_SecretStatus as SecretStatus,
25511
25586
  index_gen$6_SecretType as SecretType,
25512
25587
  index_gen$6_SecretVersion as SecretVersion,
25513
25588
  index_gen$6_SecretVersionStatus as SecretVersionStatus,
25589
+ index_gen$6_UnprotectSecretRequest as UnprotectSecretRequest,
25514
25590
  index_gen$6_UpdateSecretRequest as UpdateSecretRequest,
25515
25591
  index_gen$6_UpdateSecretVersionRequest as UpdateSecretVersionRequest,
25516
25592
  };
@@ -1,4 +1,4 @@
1
- const version = 'v1.16.0';
1
+ const version = 'v1.17.0';
2
2
  const userAgent = `scaleway-sdk-js/${version}`;
3
3
 
4
4
  export { userAgent, version };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scaleway/sdk",
3
- "version": "1.17.0",
3
+ "version": "1.18.0",
4
4
  "license": "Apache-2.0",
5
5
  "description": "Scaleway SDK.",
6
6
  "keywords": [
@@ -35,5 +35,5 @@
35
35
  "bundledDependencies": [
36
36
  "@scaleway/random-name"
37
37
  ],
38
- "gitHead": "8c068299f4bbdfc08159636b09dc878e676cd856"
38
+ "gitHead": "2e9fb39ce71f2d32d2b9fa47bd23a2897756089c"
39
39
  }