@scaleway/sdk 2.25.0 → 2.26.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 { SERVER_TRANSIENT_STATUSES } from './content.gen.js';
6
- import { unmarshalListServerTypesResponse, unmarshalServerType, marshalCreateServerRequest, unmarshalServer, unmarshalListServersResponse, unmarshalListOSResponse, unmarshalOS, marshalUpdateServerRequest } from './marshalling.gen.js';
6
+ import { unmarshalListServerTypesResponse, unmarshalServerType, marshalCreateServerRequest, unmarshalServer, unmarshalListServersResponse, unmarshalListOSResponse, unmarshalOS, marshalUpdateServerRequest, marshalReinstallServerRequest } 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.
@@ -170,7 +170,7 @@ class API extends API$1 {
170
170
  * @returns A Promise of Server
171
171
  */
172
172
  reinstallServer = request => this.client.fetch({
173
- body: '{}',
173
+ body: JSON.stringify(marshalReinstallServerRequest(request, this.client.settings)),
174
174
  headers: jsonContentHeaders,
175
175
  method: 'POST',
176
176
  path: `/apple-silicon/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/reinstall`
@@ -10,10 +10,14 @@ const unmarshalOS = data => {
10
10
  }
11
11
  return {
12
12
  compatibleServerTypes: data.compatible_server_types,
13
+ family: data.family,
13
14
  id: data.id,
14
15
  imageUrl: data.image_url,
16
+ isBeta: data.is_beta,
15
17
  label: data.label,
16
- name: data.name
18
+ name: data.name,
19
+ version: data.version,
20
+ xcodeVersion: data.xcode_version
17
21
  };
18
22
  };
19
23
  const unmarshalServerTypeCPU = data => {
@@ -49,6 +53,7 @@ const unmarshalServerType = data => {
49
53
  }
50
54
  return {
51
55
  cpu: data.cpu ? unmarshalServerTypeCPU(data.cpu) : undefined,
56
+ defaultOs: data.default_os ? unmarshalOS(data.default_os) : undefined,
52
57
  disk: data.disk ? unmarshalServerTypeDisk(data.disk) : undefined,
53
58
  memory: data.memory ? unmarshalServerTypeMemory(data.memory) : undefined,
54
59
  minimumLeaseDuration: data.minimum_lease_duration,
@@ -67,6 +72,7 @@ const unmarshalServer = data => {
67
72
  ip: data.ip,
68
73
  name: data.name,
69
74
  organizationId: data.organization_id,
75
+ os: data.os ? unmarshalOS(data.os) : undefined,
70
76
  projectId: data.project_id,
71
77
  status: data.status,
72
78
  type: data.type,
@@ -103,11 +109,15 @@ const unmarshalListServersResponse = data => {
103
109
  };
104
110
  const marshalCreateServerRequest = (request, defaults) => ({
105
111
  name: request.name || randomName('as'),
112
+ os_id: request.osId,
106
113
  project_id: request.projectId ?? defaults.defaultProjectId,
107
114
  type: request.type
108
115
  });
116
+ const marshalReinstallServerRequest = (request, defaults) => ({
117
+ os_id: request.osId
118
+ });
109
119
  const marshalUpdateServerRequest = (request, defaults) => ({
110
120
  name: request.name
111
121
  });
112
122
 
113
- export { marshalCreateServerRequest, marshalUpdateServerRequest, unmarshalListOSResponse, unmarshalListServerTypesResponse, unmarshalListServersResponse, unmarshalOS, unmarshalServer, unmarshalServerType };
123
+ export { marshalCreateServerRequest, marshalReinstallServerRequest, marshalUpdateServerRequest, unmarshalListOSResponse, unmarshalListServerTypesResponse, unmarshalListServersResponse, unmarshalOS, unmarshalServer, unmarshalServerType };
@@ -824,12 +824,13 @@ class API extends API$1 {
824
824
 
825
825
  /**
826
826
  * Get a volume or snapshot's migration plan. Given a volume or snapshot,
827
- * returns the migration plan for a call to the RPC ApplyBlockMigration. This
828
- * plan will include zero or one volume, and zero or more snapshots, which
829
- * will need to be migrated together. This RPC does not perform the actual
830
- * migration itself, ApplyBlockMigration must be used. The validation_key
831
- * value returned by this call must be provided to the ApplyBlockMigration
832
- * call to confirm that all resources listed in the plan should be migrated.
827
+ * returns the migration plan for a call to the "Apply a migration plan"
828
+ * endpoint. This plan will include zero or one volume, and zero or more
829
+ * snapshots, which will need to be migrated together. This endpoint does not
830
+ * perform the actual migration itself, the "Apply a migration plan" endpoint
831
+ * must be used. The validation_key value returned by this endpoint must be
832
+ * provided to the call to the "Apply a migration plan" endpoint to confirm
833
+ * that all resources listed in the plan should be migrated.
833
834
  *
834
835
  * @param request - The request {@link PlanBlockMigrationRequest}
835
836
  * @returns A Promise of MigrationPlan
@@ -843,9 +844,9 @@ class API extends API$1 {
843
844
 
844
845
  /**
845
846
  * Migrate a volume and/or snapshots to SBS (Scaleway Block Storage). To be
846
- * used, this RPC must be preceded by a call to PlanBlockMigration. To migrate
847
- * all resources mentioned in the MigrationPlan, the validation_key returned
848
- * in the MigrationPlan must be provided.
847
+ * used, the call to this endpoint must be preceded by a call to the "Plan a
848
+ * migration" endpoint. To migrate all resources mentioned in the migration
849
+ * plan, the validation_key returned in the plan must be provided.
849
850
  *
850
851
  * @param request - The request {@link ApplyBlockMigrationRequest}
851
852
  */
@@ -183,6 +183,20 @@ class API extends API$1 {
183
183
  method: 'POST',
184
184
  path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/clusters/${validatePathParam('clusterId', request.clusterId)}/migrate-to-private-network`
185
185
  }, unmarshalCluster);
186
+
187
+ /**
188
+ * Migrate a cluster to Routed IPs. Migrate the nodes of an existing cluster
189
+ * to Routed IPs and enable Routed IPs for all future nodes.
190
+ *
191
+ * @param request - The request {@link MigrateClusterToRoutedIPsRequest}
192
+ * @returns A Promise of Cluster
193
+ */
194
+ migrateClusterToRoutedIPs = request => this.client.fetch({
195
+ body: '{}',
196
+ headers: jsonContentHeaders,
197
+ method: 'POST',
198
+ path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/clusters/${validatePathParam('clusterId', request.clusterId)}/migrate-to-routed-ips`
199
+ }, unmarshalCluster);
186
200
  pageOfListPools = request => this.client.fetch({
187
201
  method: 'GET',
188
202
  path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/clusters/${validatePathParam('clusterId', request.clusterId)}/pools`,
@@ -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 { HOSTING_TRANSIENT_STATUSES } from './content.gen.js';
6
- import { marshalCreateHostingRequest, unmarshalHosting, unmarshalListHostingsResponse, marshalUpdateHostingRequest, unmarshalDnsRecords, unmarshalListOffersResponse, unmarshalListControlPanelsResponse } from './marshalling.gen.js';
6
+ import { marshalCreateHostingRequest, unmarshalHosting, unmarshalListHostingsResponse, marshalUpdateHostingRequest, unmarshalDnsRecords, unmarshalListOffersResponse, unmarshalListControlPanelsResponse, unmarshalSession, unmarshalResetHostingPasswordResponse } 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.
@@ -144,13 +144,31 @@ class API extends API$1 {
144
144
  }, unmarshalListControlPanelsResponse);
145
145
 
146
146
  /**
147
- * List all control panels type. List the control panels type: cpanel or
148
- * plesk.
147
+ * "List the control panels type: cpanel or plesk.".
149
148
  *
150
149
  * @param request - The request {@link ListControlPanelsRequest}
151
150
  * @returns A Promise of ListControlPanelsResponse
152
151
  */
153
152
  listControlPanels = (request = {}) => enrichForPagination('controlPanels', this.pageOfListControlPanels, request);
153
+
154
+ /**
155
+ * Create a user session.
156
+ *
157
+ * @param request - The request {@link CreateSessionRequest}
158
+ * @returns A Promise of Session
159
+ */
160
+ createSession = request => this.client.fetch({
161
+ body: '{}',
162
+ headers: jsonContentHeaders,
163
+ method: 'POST',
164
+ path: `/webhosting/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/hostings/${validatePathParam('hostingId', request.hostingId)}/sessions`
165
+ }, unmarshalSession);
166
+ resetHostingPassword = request => this.client.fetch({
167
+ body: '{}',
168
+ headers: jsonContentHeaders,
169
+ method: 'POST',
170
+ path: `/webhosting/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/hostings/${validatePathParam('hostingId', request.hostingId)}/reset-password`
171
+ }, unmarshalResetHostingPasswordResponse);
154
172
  }
155
173
 
156
174
  export { API };
@@ -154,6 +154,22 @@ const unmarshalListOffersResponse = data => {
154
154
  offers: unmarshalArrayOfObject(data.offers, unmarshalOffer)
155
155
  };
156
156
  };
157
+ const unmarshalResetHostingPasswordResponse = data => {
158
+ if (!isJSONObject(data)) {
159
+ throw new TypeError(`Unmarshalling the type 'ResetHostingPasswordResponse' failed as data isn't a dictionary.`);
160
+ }
161
+ return {
162
+ password: data.password
163
+ };
164
+ };
165
+ const unmarshalSession = data => {
166
+ if (!isJSONObject(data)) {
167
+ throw new TypeError(`Unmarshalling the type 'Session' failed as data isn't a dictionary.`);
168
+ }
169
+ return {
170
+ url: data.url
171
+ };
172
+ };
157
173
  const marshalCreateHostingRequestDomainConfiguration = (request, defaults) => ({
158
174
  update_all_records: request.updateAllRecords,
159
175
  update_mail_record: request.updateMailRecord,
@@ -178,4 +194,4 @@ const marshalUpdateHostingRequest = (request, defaults) => ({
178
194
  tags: request.tags
179
195
  });
180
196
 
181
- export { marshalCreateHostingRequest, marshalUpdateHostingRequest, unmarshalDnsRecords, unmarshalHosting, unmarshalListControlPanelsResponse, unmarshalListHostingsResponse, unmarshalListOffersResponse };
197
+ export { marshalCreateHostingRequest, marshalUpdateHostingRequest, unmarshalDnsRecords, unmarshalHosting, unmarshalListControlPanelsResponse, unmarshalListHostingsResponse, unmarshalListOffersResponse, unmarshalResetHostingPasswordResponse, unmarshalSession };
package/dist/index.cjs CHANGED
@@ -497,7 +497,7 @@ const assertValidSettings = obj => {
497
497
  }
498
498
  };
499
499
 
500
- const version = 'v2.24.0';
500
+ const version = 'v2.25.0';
501
501
  const userAgent = `scaleway-sdk-js/${version}`;
502
502
 
503
503
  const isBrowser = () =>
@@ -2358,10 +2358,14 @@ const unmarshalOS$2 = data => {
2358
2358
  }
2359
2359
  return {
2360
2360
  compatibleServerTypes: data.compatible_server_types,
2361
+ family: data.family,
2361
2362
  id: data.id,
2362
2363
  imageUrl: data.image_url,
2364
+ isBeta: data.is_beta,
2363
2365
  label: data.label,
2364
- name: data.name
2366
+ name: data.name,
2367
+ version: data.version,
2368
+ xcodeVersion: data.xcode_version
2365
2369
  };
2366
2370
  };
2367
2371
  const unmarshalServerTypeCPU = data => {
@@ -2397,6 +2401,7 @@ const unmarshalServerType$1 = data => {
2397
2401
  }
2398
2402
  return {
2399
2403
  cpu: data.cpu ? unmarshalServerTypeCPU(data.cpu) : undefined,
2404
+ defaultOs: data.default_os ? unmarshalOS$2(data.default_os) : undefined,
2400
2405
  disk: data.disk ? unmarshalServerTypeDisk(data.disk) : undefined,
2401
2406
  memory: data.memory ? unmarshalServerTypeMemory(data.memory) : undefined,
2402
2407
  minimumLeaseDuration: data.minimum_lease_duration,
@@ -2415,6 +2420,7 @@ const unmarshalServer$3 = data => {
2415
2420
  ip: data.ip,
2416
2421
  name: data.name,
2417
2422
  organizationId: data.organization_id,
2423
+ os: data.os ? unmarshalOS$2(data.os) : undefined,
2418
2424
  projectId: data.project_id,
2419
2425
  status: data.status,
2420
2426
  type: data.type,
@@ -2451,9 +2457,13 @@ const unmarshalListServersResponse$3 = data => {
2451
2457
  };
2452
2458
  const marshalCreateServerRequest$3 = (request, defaults) => ({
2453
2459
  name: request.name || randomName('as'),
2460
+ os_id: request.osId,
2454
2461
  project_id: request.projectId ?? defaults.defaultProjectId,
2455
2462
  type: request.type
2456
2463
  });
2464
+ const marshalReinstallServerRequest = (request, defaults) => ({
2465
+ os_id: request.osId
2466
+ });
2457
2467
  const marshalUpdateServerRequest$3 = (request, defaults) => ({
2458
2468
  name: request.name
2459
2469
  });
@@ -2623,7 +2633,7 @@ let API$x = class API extends API$z {
2623
2633
  * @returns A Promise of Server
2624
2634
  */
2625
2635
  reinstallServer = request => this.client.fetch({
2626
- body: '{}',
2636
+ body: JSON.stringify(marshalReinstallServerRequest(request, this.client.settings)),
2627
2637
  headers: jsonContentHeaders$w,
2628
2638
  method: 'POST',
2629
2639
  path: `/apple-silicon/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/reinstall`
@@ -18024,12 +18034,13 @@ let API$k = class API extends API$z {
18024
18034
 
18025
18035
  /**
18026
18036
  * Get a volume or snapshot's migration plan. Given a volume or snapshot,
18027
- * returns the migration plan for a call to the RPC ApplyBlockMigration. This
18028
- * plan will include zero or one volume, and zero or more snapshots, which
18029
- * will need to be migrated together. This RPC does not perform the actual
18030
- * migration itself, ApplyBlockMigration must be used. The validation_key
18031
- * value returned by this call must be provided to the ApplyBlockMigration
18032
- * call to confirm that all resources listed in the plan should be migrated.
18037
+ * returns the migration plan for a call to the "Apply a migration plan"
18038
+ * endpoint. This plan will include zero or one volume, and zero or more
18039
+ * snapshots, which will need to be migrated together. This endpoint does not
18040
+ * perform the actual migration itself, the "Apply a migration plan" endpoint
18041
+ * must be used. The validation_key value returned by this endpoint must be
18042
+ * provided to the call to the "Apply a migration plan" endpoint to confirm
18043
+ * that all resources listed in the plan should be migrated.
18033
18044
  *
18034
18045
  * @param request - The request {@link PlanBlockMigrationRequest}
18035
18046
  * @returns A Promise of MigrationPlan
@@ -18043,9 +18054,9 @@ let API$k = class API extends API$z {
18043
18054
 
18044
18055
  /**
18045
18056
  * Migrate a volume and/or snapshots to SBS (Scaleway Block Storage). To be
18046
- * used, this RPC must be preceded by a call to PlanBlockMigration. To migrate
18047
- * all resources mentioned in the MigrationPlan, the validation_key returned
18048
- * in the MigrationPlan must be provided.
18057
+ * used, the call to this endpoint must be preceded by a call to the "Plan a
18058
+ * migration" endpoint. To migrate all resources mentioned in the migration
18059
+ * plan, the validation_key returned in the plan must be provided.
18049
18060
  *
18050
18061
  * @param request - The request {@link ApplyBlockMigrationRequest}
18051
18062
  */
@@ -20977,6 +20988,20 @@ let API$f = class API extends API$z {
20977
20988
  method: 'POST',
20978
20989
  path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/clusters/${validatePathParam('clusterId', request.clusterId)}/migrate-to-private-network`
20979
20990
  }, unmarshalCluster$1);
20991
+
20992
+ /**
20993
+ * Migrate a cluster to Routed IPs. Migrate the nodes of an existing cluster
20994
+ * to Routed IPs and enable Routed IPs for all future nodes.
20995
+ *
20996
+ * @param request - The request {@link MigrateClusterToRoutedIPsRequest}
20997
+ * @returns A Promise of Cluster
20998
+ */
20999
+ migrateClusterToRoutedIPs = request => this.client.fetch({
21000
+ body: '{}',
21001
+ headers: jsonContentHeaders$f,
21002
+ method: 'POST',
21003
+ path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/clusters/${validatePathParam('clusterId', request.clusterId)}/migrate-to-routed-ips`
21004
+ }, unmarshalCluster$1);
20980
21005
  pageOfListPools = request => this.client.fetch({
20981
21006
  method: 'GET',
20982
21007
  path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/clusters/${validatePathParam('clusterId', request.clusterId)}/pools`,
@@ -31751,6 +31776,22 @@ const unmarshalListOffersResponse = data => {
31751
31776
  offers: unmarshalArrayOfObject(data.offers, unmarshalOffer)
31752
31777
  };
31753
31778
  };
31779
+ const unmarshalResetHostingPasswordResponse = data => {
31780
+ if (!isJSONObject(data)) {
31781
+ throw new TypeError(`Unmarshalling the type 'ResetHostingPasswordResponse' failed as data isn't a dictionary.`);
31782
+ }
31783
+ return {
31784
+ password: data.password
31785
+ };
31786
+ };
31787
+ const unmarshalSession = data => {
31788
+ if (!isJSONObject(data)) {
31789
+ throw new TypeError(`Unmarshalling the type 'Session' failed as data isn't a dictionary.`);
31790
+ }
31791
+ return {
31792
+ url: data.url
31793
+ };
31794
+ };
31754
31795
  const marshalCreateHostingRequestDomainConfiguration = (request, defaults) => ({
31755
31796
  update_all_records: request.updateAllRecords,
31756
31797
  update_mail_record: request.updateMailRecord,
@@ -31914,13 +31955,31 @@ class API extends API$z {
31914
31955
  }, unmarshalListControlPanelsResponse);
31915
31956
 
31916
31957
  /**
31917
- * List all control panels type. List the control panels type: cpanel or
31918
- * plesk.
31958
+ * "List the control panels type: cpanel or plesk.".
31919
31959
  *
31920
31960
  * @param request - The request {@link ListControlPanelsRequest}
31921
31961
  * @returns A Promise of ListControlPanelsResponse
31922
31962
  */
31923
31963
  listControlPanels = (request = {}) => enrichForPagination('controlPanels', this.pageOfListControlPanels, request);
31964
+
31965
+ /**
31966
+ * Create a user session.
31967
+ *
31968
+ * @param request - The request {@link CreateSessionRequest}
31969
+ * @returns A Promise of Session
31970
+ */
31971
+ createSession = request => this.client.fetch({
31972
+ body: '{}',
31973
+ headers: jsonContentHeaders,
31974
+ method: 'POST',
31975
+ path: `/webhosting/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/hostings/${validatePathParam('hostingId', request.hostingId)}/sessions`
31976
+ }, unmarshalSession);
31977
+ resetHostingPassword = request => this.client.fetch({
31978
+ body: '{}',
31979
+ headers: jsonContentHeaders,
31980
+ method: 'POST',
31981
+ path: `/webhosting/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/hostings/${validatePathParam('hostingId', request.hostingId)}/reset-password`
31982
+ }, unmarshalResetHostingPasswordResponse);
31924
31983
  }
31925
31984
 
31926
31985
  // This file was automatically generated. DO NOT EDIT.
package/dist/index.d.ts CHANGED
@@ -1398,18 +1398,6 @@ declare namespace index$A {
1398
1398
  type ListServersRequestOrderBy$2 = 'created_at_asc' | 'created_at_desc';
1399
1399
  type ServerStatus$2 = 'unknown_status' | 'starting' | 'ready' | 'error' | 'rebooting' | 'updating' | 'locking' | 'locked' | 'unlocking' | 'reinstalling';
1400
1400
  type ServerTypeStock = 'unknown_stock' | 'no_stock' | 'low_stock' | 'high_stock';
1401
- interface ServerTypeCPU {
1402
- name: string;
1403
- coreCount: number;
1404
- }
1405
- interface ServerTypeDisk {
1406
- capacity: number;
1407
- type: string;
1408
- }
1409
- interface ServerTypeMemory {
1410
- capacity: number;
1411
- type: string;
1412
- }
1413
1401
  interface OS$2 {
1414
1402
  /** Unique ID of the OS. */
1415
1403
  id: string;
@@ -1419,9 +1407,29 @@ interface OS$2 {
1419
1407
  label: string;
1420
1408
  /** URL of the image. */
1421
1409
  imageUrl: string;
1410
+ /** The OS family to which this OS belongs, eg. 13 or 14. */
1411
+ family: string;
1412
+ /** Describes if the OS is in beta. */
1413
+ isBeta: boolean;
1414
+ /** The OS version number, eg. Sonoma has version number 14.3. */
1415
+ version: string;
1416
+ /** The current xcode version for this OS. */
1417
+ xcodeVersion: string;
1422
1418
  /** List of compatible server types. */
1423
1419
  compatibleServerTypes: string[];
1424
1420
  }
1421
+ interface ServerTypeCPU {
1422
+ name: string;
1423
+ coreCount: number;
1424
+ }
1425
+ interface ServerTypeDisk {
1426
+ capacity: number;
1427
+ type: string;
1428
+ }
1429
+ interface ServerTypeMemory {
1430
+ capacity: number;
1431
+ type: string;
1432
+ }
1425
1433
  interface ServerType$1 {
1426
1434
  /** CPU description. */
1427
1435
  cpu?: ServerTypeCPU;
@@ -1435,6 +1443,8 @@ interface ServerType$1 {
1435
1443
  stock: ServerTypeStock;
1436
1444
  /** Minimum duration of the lease in seconds (example. 3.4s). */
1437
1445
  minimumLeaseDuration?: string;
1446
+ /** The default OS for this server type. */
1447
+ defaultOs?: OS$2;
1438
1448
  }
1439
1449
  interface Server$3 {
1440
1450
  /** UUID of the server. */
@@ -1451,6 +1461,11 @@ interface Server$3 {
1451
1461
  ip: string;
1452
1462
  /** URL of the VNC. */
1453
1463
  vncUrl: string;
1464
+ /**
1465
+ * Initially installed OS, this does not necessarily reflect the current OS
1466
+ * version.
1467
+ */
1468
+ os?: OS$2;
1454
1469
  /** Current status of the server. */
1455
1470
  status: ServerStatus$2;
1456
1471
  /** Date on which the server was created. */
@@ -1471,6 +1486,12 @@ type CreateServerRequest$4 = {
1471
1486
  projectId?: string;
1472
1487
  /** Create a server of the given type. */
1473
1488
  type: string;
1489
+ /**
1490
+ * Create a server & install the given os_id, when no os_id provided the
1491
+ * default OS for this server type is chosen. Requesting a non-default OS will
1492
+ * induce an extended delivery time.
1493
+ */
1494
+ osId?: string;
1474
1495
  };
1475
1496
  type DeleteServerRequest$4 = {
1476
1497
  /** Zone to target. If none is passed will use default zone from the config. */
@@ -1562,6 +1583,11 @@ type ReinstallServerRequest = {
1562
1583
  zone?: Zone;
1563
1584
  /** UUID of the server you want to reinstall. */
1564
1585
  serverId: string;
1586
+ /**
1587
+ * Reinstall the server with the target OS, when no os_id provided the default
1588
+ * OS for the server type is used.
1589
+ */
1590
+ osId?: string;
1565
1591
  };
1566
1592
  type UpdateServerRequest$5 = {
1567
1593
  /** Zone to target. If none is passed will use default zone from the config. */
@@ -3438,7 +3464,10 @@ interface Reference$1 {
3438
3464
  createdAt?: Date;
3439
3465
  /** Type of reference (link, exclusive, read_only). */
3440
3466
  type: ReferenceType;
3441
- /** Status of reference (attaching, attached, detaching). */
3467
+ /**
3468
+ * Status of the reference. Statuses include `attaching`, `attached`, and
3469
+ * `detaching`.
3470
+ */
3442
3471
  status: ReferenceStatus;
3443
3472
  }
3444
3473
  interface SnapshotParentVolume {
@@ -17465,21 +17494,24 @@ type ApplyBlockMigrationRequest = {
17465
17494
  zone?: Zone;
17466
17495
  /**
17467
17496
  * The volume to migrate, along with potentially other resources, according to
17468
- * the migration plan generated with a call to PlanBlockMigration.
17497
+ * the migration plan generated with a call to the "Plan a migration"
17498
+ * endpoint.
17469
17499
  *
17470
17500
  * One-of ('resource'): at most one of 'volumeId', 'snapshotId' could be set.
17471
17501
  */
17472
17502
  volumeId?: string;
17473
17503
  /**
17474
17504
  * The snapshot to migrate, along with potentially other resources, according
17475
- * to the migration plan generated with a call to PlanBlockMigration.
17505
+ * to the migration plan generated with a call to the "Plan a migration"
17506
+ * endpoint.
17476
17507
  *
17477
17508
  * One-of ('resource'): at most one of 'volumeId', 'snapshotId' could be set.
17478
17509
  */
17479
17510
  snapshotId?: string;
17480
17511
  /**
17481
- * A value to be retrieved from a call to PlanBlockMigration, to confirm that
17482
- * the volume and/or snapshots specified in said plan should be migrated.
17512
+ * A value to be retrieved from a call to the "Plan a migration" endpoint, to
17513
+ * confirm that the volume and/or snapshots specified in said plan should be
17514
+ * migrated.
17483
17515
  */
17484
17516
  validationKey: string;
17485
17517
  };
@@ -18353,8 +18385,8 @@ interface MigrationPlan {
18353
18385
  */
18354
18386
  snapshots: Snapshot$1[];
18355
18387
  /**
18356
- * A value to be passed to ApplyBlockMigrationRequest, to confirm that the
18357
- * execution of the plan is being requested.
18388
+ * A value to be passed to the call to the "Apply a migration plan" endpoint,
18389
+ * to confirm that the execution of the plan is being requested.
18358
18390
  */
18359
18391
  validationKey: string;
18360
18392
  }
@@ -19330,12 +19362,13 @@ declare class API$k extends API$z {
19330
19362
  getDashboard: (request?: Readonly<GetDashboardRequest>) => Promise<GetDashboardResponse>;
19331
19363
  /**
19332
19364
  * Get a volume or snapshot's migration plan. Given a volume or snapshot,
19333
- * returns the migration plan for a call to the RPC ApplyBlockMigration. This
19334
- * plan will include zero or one volume, and zero or more snapshots, which
19335
- * will need to be migrated together. This RPC does not perform the actual
19336
- * migration itself, ApplyBlockMigration must be used. The validation_key
19337
- * value returned by this call must be provided to the ApplyBlockMigration
19338
- * call to confirm that all resources listed in the plan should be migrated.
19365
+ * returns the migration plan for a call to the "Apply a migration plan"
19366
+ * endpoint. This plan will include zero or one volume, and zero or more
19367
+ * snapshots, which will need to be migrated together. This endpoint does not
19368
+ * perform the actual migration itself, the "Apply a migration plan" endpoint
19369
+ * must be used. The validation_key value returned by this endpoint must be
19370
+ * provided to the call to the "Apply a migration plan" endpoint to confirm
19371
+ * that all resources listed in the plan should be migrated.
19339
19372
  *
19340
19373
  * @param request - The request {@link PlanBlockMigrationRequest}
19341
19374
  * @returns A Promise of MigrationPlan
@@ -19343,9 +19376,9 @@ declare class API$k extends API$z {
19343
19376
  planBlockMigration: (request?: Readonly<PlanBlockMigrationRequest>) => Promise<MigrationPlan>;
19344
19377
  /**
19345
19378
  * Migrate a volume and/or snapshots to SBS (Scaleway Block Storage). To be
19346
- * used, this RPC must be preceded by a call to PlanBlockMigration. To migrate
19347
- * all resources mentioned in the MigrationPlan, the validation_key returned
19348
- * in the MigrationPlan must be provided.
19379
+ * used, the call to this endpoint must be preceded by a call to the "Plan a
19380
+ * migration" endpoint. To migrate all resources mentioned in the migration
19381
+ * plan, the validation_key returned in the plan must be provided.
19349
19382
  *
19350
19383
  * @param request - The request {@link ApplyBlockMigrationRequest}
19351
19384
  */
@@ -23224,6 +23257,14 @@ interface ListVersionsResponse$1 {
23224
23257
  /** Available Kubernetes versions. */
23225
23258
  versions: Version$1[];
23226
23259
  }
23260
+ type MigrateClusterToRoutedIPsRequest = {
23261
+ /**
23262
+ * Region to target. If none is passed will use default region from the
23263
+ * config.
23264
+ */
23265
+ region?: Region;
23266
+ clusterId: string;
23267
+ };
23227
23268
  type MigrateToPrivateNetworkClusterRequest = {
23228
23269
  /**
23229
23270
  * Region to target. If none is passed will use default region from the
@@ -23483,6 +23524,14 @@ declare class API$f extends API$z {
23483
23524
  * @returns A Promise of Cluster
23484
23525
  */
23485
23526
  migrateToPrivateNetworkCluster: (request: Readonly<MigrateToPrivateNetworkClusterRequest>) => Promise<Cluster$1>;
23527
+ /**
23528
+ * Migrate a cluster to Routed IPs. Migrate the nodes of an existing cluster
23529
+ * to Routed IPs and enable Routed IPs for all future nodes.
23530
+ *
23531
+ * @param request - The request {@link MigrateClusterToRoutedIPsRequest}
23532
+ * @returns A Promise of Cluster
23533
+ */
23534
+ migrateClusterToRoutedIPs: (request: Readonly<MigrateClusterToRoutedIPsRequest>) => Promise<Cluster$1>;
23486
23535
  protected pageOfListPools: (request: Readonly<ListPoolsRequest$1>) => Promise<ListPoolsResponse>;
23487
23536
  /**
23488
23537
  * List Pools in a Cluster. List all the existing pools for a specific
@@ -23799,6 +23848,7 @@ type index$g_ListNodesResponse = ListNodesResponse;
23799
23848
  type index$g_ListPoolsRequestOrderBy = ListPoolsRequestOrderBy;
23800
23849
  type index$g_ListPoolsResponse = ListPoolsResponse;
23801
23850
  type index$g_MaintenanceWindowDayOfTheWeek = MaintenanceWindowDayOfTheWeek;
23851
+ type index$g_MigrateClusterToRoutedIPsRequest = MigrateClusterToRoutedIPsRequest;
23802
23852
  type index$g_MigrateToPrivateNetworkClusterRequest = MigrateToPrivateNetworkClusterRequest;
23803
23853
  declare const index$g_NODE_TRANSIENT_STATUSES: typeof NODE_TRANSIENT_STATUSES;
23804
23854
  type index$g_Node = Node;
@@ -23820,7 +23870,7 @@ type index$g_UpdatePoolRequestUpgradePolicy = UpdatePoolRequestUpgradePolicy;
23820
23870
  type index$g_UpgradeClusterRequest = UpgradeClusterRequest;
23821
23871
  type index$g_UpgradePoolRequest = UpgradePoolRequest;
23822
23872
  declare namespace index$g {
23823
- export { K8SUtilsAPI as API, type index$g_AutoscalerEstimator as AutoscalerEstimator, type index$g_AutoscalerExpander as AutoscalerExpander, CLUSTER_TRANSIENT_STATUSES$1 as CLUSTER_TRANSIENT_STATUSES, type index$g_CNI as CNI, type Cluster$1 as Cluster, type index$g_ClusterAutoUpgrade as ClusterAutoUpgrade, type index$g_ClusterAutoscalerConfig as ClusterAutoscalerConfig, type index$g_ClusterOpenIDConnectConfig as ClusterOpenIDConnectConfig, type ClusterStatus$1 as ClusterStatus, type index$g_ClusterType as ClusterType, type index$g_ClusterTypeAvailability as ClusterTypeAvailability, type index$g_ClusterTypeResiliency as ClusterTypeResiliency, type CreateClusterRequest$2 as CreateClusterRequest, type index$g_CreateClusterRequestAutoUpgrade as CreateClusterRequestAutoUpgrade, type CreateClusterRequestAutoscalerConfig$1 as CreateClusterRequestAutoscalerConfig, type CreateClusterRequestOpenIDConnectConfig$1 as CreateClusterRequestOpenIDConnectConfig, type CreateClusterRequestPoolConfig$1 as CreateClusterRequestPoolConfig, type index$g_CreateClusterRequestPoolConfigUpgradePolicy as CreateClusterRequestPoolConfigUpgradePolicy, type index$g_CreateExternalNodeRequest as CreateExternalNodeRequest, type CreatePoolRequest$1 as CreatePoolRequest, type index$g_CreatePoolRequestUpgradePolicy as CreatePoolRequestUpgradePolicy, type DeleteClusterRequest$1 as DeleteClusterRequest, type index$g_DeleteNodeRequest as DeleteNodeRequest, type index$g_DeletePoolRequest as DeletePoolRequest, type index$g_ExternalNode as ExternalNode, type index$g_ExternalNodeCoreV1Taint as ExternalNodeCoreV1Taint, type index$g_GetClusterKubeConfigRequest as GetClusterKubeConfigRequest, type GetClusterRequest$1 as GetClusterRequest, type index$g_GetNodeRequest as GetNodeRequest, type index$g_GetPoolRequest as GetPoolRequest, type GetVersionRequest$1 as GetVersionRequest, type index$g_ListClusterAvailableTypesRequest as ListClusterAvailableTypesRequest, type index$g_ListClusterAvailableTypesResponse as ListClusterAvailableTypesResponse, type index$g_ListClusterAvailableVersionsRequest as ListClusterAvailableVersionsRequest, type index$g_ListClusterAvailableVersionsResponse as ListClusterAvailableVersionsResponse, type ListClusterTypesRequest$1 as ListClusterTypesRequest, type index$g_ListClusterTypesResponse as ListClusterTypesResponse, type ListClustersRequest$2 as ListClustersRequest, type ListClustersRequestOrderBy$1 as ListClustersRequestOrderBy, type ListClustersResponse$1 as ListClustersResponse, type ListNodesRequest$1 as ListNodesRequest, type index$g_ListNodesRequestOrderBy as ListNodesRequestOrderBy, type index$g_ListNodesResponse as ListNodesResponse, type ListPoolsRequest$1 as ListPoolsRequest, type index$g_ListPoolsRequestOrderBy as ListPoolsRequestOrderBy, type index$g_ListPoolsResponse as ListPoolsResponse, type ListVersionsRequest$1 as ListVersionsRequest, type ListVersionsResponse$1 as ListVersionsResponse, type MaintenanceWindow$1 as MaintenanceWindow, type index$g_MaintenanceWindowDayOfTheWeek as MaintenanceWindowDayOfTheWeek, type index$g_MigrateToPrivateNetworkClusterRequest as MigrateToPrivateNetworkClusterRequest, index$g_NODE_TRANSIENT_STATUSES as NODE_TRANSIENT_STATUSES, type index$g_Node as Node, type index$g_NodeStatus as NodeStatus, index$g_POOL_TRANSIENT_STATUSES as POOL_TRANSIENT_STATUSES, type index$g_Pool as Pool, type index$g_PoolStatus as PoolStatus, type index$g_PoolUpgradePolicy as PoolUpgradePolicy, type index$g_PoolVolumeType as PoolVolumeType, type index$g_RebootNodeRequest as RebootNodeRequest, type index$g_ReplaceNodeRequest as ReplaceNodeRequest, type index$g_ResetClusterAdminTokenRequest as ResetClusterAdminTokenRequest, type index$g_Runtime as Runtime, type index$g_SetClusterTypeRequest as SetClusterTypeRequest, type UpdateClusterRequest$2 as UpdateClusterRequest, type index$g_UpdateClusterRequestAutoUpgrade as UpdateClusterRequestAutoUpgrade, type UpdateClusterRequestAutoscalerConfig$1 as UpdateClusterRequestAutoscalerConfig, type index$g_UpdateClusterRequestOpenIDConnectConfig as UpdateClusterRequestOpenIDConnectConfig, type index$g_UpdatePoolRequest as UpdatePoolRequest, type index$g_UpdatePoolRequestUpgradePolicy as UpdatePoolRequestUpgradePolicy, type index$g_UpgradeClusterRequest as UpgradeClusterRequest, type index$g_UpgradePoolRequest as UpgradePoolRequest, validationRules_gen$6 as ValidationRules, type Version$1 as Version };
23873
+ export { K8SUtilsAPI as API, type index$g_AutoscalerEstimator as AutoscalerEstimator, type index$g_AutoscalerExpander as AutoscalerExpander, CLUSTER_TRANSIENT_STATUSES$1 as CLUSTER_TRANSIENT_STATUSES, type index$g_CNI as CNI, type Cluster$1 as Cluster, type index$g_ClusterAutoUpgrade as ClusterAutoUpgrade, type index$g_ClusterAutoscalerConfig as ClusterAutoscalerConfig, type index$g_ClusterOpenIDConnectConfig as ClusterOpenIDConnectConfig, type ClusterStatus$1 as ClusterStatus, type index$g_ClusterType as ClusterType, type index$g_ClusterTypeAvailability as ClusterTypeAvailability, type index$g_ClusterTypeResiliency as ClusterTypeResiliency, type CreateClusterRequest$2 as CreateClusterRequest, type index$g_CreateClusterRequestAutoUpgrade as CreateClusterRequestAutoUpgrade, type CreateClusterRequestAutoscalerConfig$1 as CreateClusterRequestAutoscalerConfig, type CreateClusterRequestOpenIDConnectConfig$1 as CreateClusterRequestOpenIDConnectConfig, type CreateClusterRequestPoolConfig$1 as CreateClusterRequestPoolConfig, type index$g_CreateClusterRequestPoolConfigUpgradePolicy as CreateClusterRequestPoolConfigUpgradePolicy, type index$g_CreateExternalNodeRequest as CreateExternalNodeRequest, type CreatePoolRequest$1 as CreatePoolRequest, type index$g_CreatePoolRequestUpgradePolicy as CreatePoolRequestUpgradePolicy, type DeleteClusterRequest$1 as DeleteClusterRequest, type index$g_DeleteNodeRequest as DeleteNodeRequest, type index$g_DeletePoolRequest as DeletePoolRequest, type index$g_ExternalNode as ExternalNode, type index$g_ExternalNodeCoreV1Taint as ExternalNodeCoreV1Taint, type index$g_GetClusterKubeConfigRequest as GetClusterKubeConfigRequest, type GetClusterRequest$1 as GetClusterRequest, type index$g_GetNodeRequest as GetNodeRequest, type index$g_GetPoolRequest as GetPoolRequest, type GetVersionRequest$1 as GetVersionRequest, type index$g_ListClusterAvailableTypesRequest as ListClusterAvailableTypesRequest, type index$g_ListClusterAvailableTypesResponse as ListClusterAvailableTypesResponse, type index$g_ListClusterAvailableVersionsRequest as ListClusterAvailableVersionsRequest, type index$g_ListClusterAvailableVersionsResponse as ListClusterAvailableVersionsResponse, type ListClusterTypesRequest$1 as ListClusterTypesRequest, type index$g_ListClusterTypesResponse as ListClusterTypesResponse, type ListClustersRequest$2 as ListClustersRequest, type ListClustersRequestOrderBy$1 as ListClustersRequestOrderBy, type ListClustersResponse$1 as ListClustersResponse, type ListNodesRequest$1 as ListNodesRequest, type index$g_ListNodesRequestOrderBy as ListNodesRequestOrderBy, type index$g_ListNodesResponse as ListNodesResponse, type ListPoolsRequest$1 as ListPoolsRequest, type index$g_ListPoolsRequestOrderBy as ListPoolsRequestOrderBy, type index$g_ListPoolsResponse as ListPoolsResponse, type ListVersionsRequest$1 as ListVersionsRequest, type ListVersionsResponse$1 as ListVersionsResponse, type MaintenanceWindow$1 as MaintenanceWindow, type index$g_MaintenanceWindowDayOfTheWeek as MaintenanceWindowDayOfTheWeek, type index$g_MigrateClusterToRoutedIPsRequest as MigrateClusterToRoutedIPsRequest, type index$g_MigrateToPrivateNetworkClusterRequest as MigrateToPrivateNetworkClusterRequest, index$g_NODE_TRANSIENT_STATUSES as NODE_TRANSIENT_STATUSES, type index$g_Node as Node, type index$g_NodeStatus as NodeStatus, index$g_POOL_TRANSIENT_STATUSES as POOL_TRANSIENT_STATUSES, type index$g_Pool as Pool, type index$g_PoolStatus as PoolStatus, type index$g_PoolUpgradePolicy as PoolUpgradePolicy, type index$g_PoolVolumeType as PoolVolumeType, type index$g_RebootNodeRequest as RebootNodeRequest, type index$g_ReplaceNodeRequest as ReplaceNodeRequest, type index$g_ResetClusterAdminTokenRequest as ResetClusterAdminTokenRequest, type index$g_Runtime as Runtime, type index$g_SetClusterTypeRequest as SetClusterTypeRequest, type UpdateClusterRequest$2 as UpdateClusterRequest, type index$g_UpdateClusterRequestAutoUpgrade as UpdateClusterRequestAutoUpgrade, type UpdateClusterRequestAutoscalerConfig$1 as UpdateClusterRequestAutoscalerConfig, type index$g_UpdateClusterRequestOpenIDConnectConfig as UpdateClusterRequestOpenIDConnectConfig, type index$g_UpdatePoolRequest as UpdatePoolRequest, type index$g_UpdatePoolRequestUpgradePolicy as UpdatePoolRequestUpgradePolicy, type index$g_UpgradeClusterRequest as UpgradeClusterRequest, type index$g_UpgradePoolRequest as UpgradePoolRequest, validationRules_gen$6 as ValidationRules, type Version$1 as Version };
23824
23874
  }
23825
23875
 
23826
23876
  declare namespace index$f {
@@ -35538,11 +35588,15 @@ type ListDomainsRequest = {
35538
35588
  region?: Region;
35539
35589
  /** Requested page number. Value must be greater or equal to 1. */
35540
35590
  page?: number;
35541
- /** Page size. */
35591
+ /** Requested page size. Value must be between 1 and 1000. */
35542
35592
  pageSize?: number;
35593
+ /** (Optional) ID of the Project in which to list the domains. */
35543
35594
  projectId?: string;
35595
+ /** (Optional) List domains under specific statuses. */
35544
35596
  status?: DomainStatus[];
35597
+ /** (Optional) ID of the Organization in which to list the domains. */
35545
35598
  organizationId?: string;
35599
+ /** (Optional) Names of the domains to list. */
35546
35600
  name?: string;
35547
35601
  };
35548
35602
  interface ListDomainsResponse {
@@ -38028,6 +38082,15 @@ type CreateHostingRequest = {
38028
38082
  */
38029
38083
  domainConfiguration?: CreateHostingRequestDomainConfiguration;
38030
38084
  };
38085
+ type CreateSessionRequest = {
38086
+ /**
38087
+ * Region to target. If none is passed will use default region from the
38088
+ * config.
38089
+ */
38090
+ region?: Region;
38091
+ /** Hosting ID. */
38092
+ hostingId: string;
38093
+ };
38031
38094
  type DeleteHostingRequest = {
38032
38095
  /**
38033
38096
  * Region to target. If none is passed will use default region from the
@@ -38171,6 +38234,19 @@ interface ListOffersResponse {
38171
38234
  /** List of offers. */
38172
38235
  offers: Offer[];
38173
38236
  }
38237
+ type ResetHostingPasswordRequest = {
38238
+ /**
38239
+ * Region to target. If none is passed will use default region from the
38240
+ * config.
38241
+ */
38242
+ region?: Region;
38243
+ /** UUID of the hosting. */
38244
+ hostingId: string;
38245
+ };
38246
+ interface ResetHostingPasswordResponse {
38247
+ /** New password. */
38248
+ password: string;
38249
+ }
38174
38250
  type RestoreHostingRequest = {
38175
38251
  /**
38176
38252
  * Region to target. If none is passed will use default region from the
@@ -38180,6 +38256,10 @@ type RestoreHostingRequest = {
38180
38256
  /** Hosting ID. */
38181
38257
  hostingId: string;
38182
38258
  };
38259
+ interface Session {
38260
+ /** Logged user's session URL. */
38261
+ url: string;
38262
+ }
38183
38263
  type UpdateHostingRequest = {
38184
38264
  /**
38185
38265
  * Region to target. If none is passed will use default region from the
@@ -38290,8 +38370,7 @@ declare class API extends API$z {
38290
38370
  listOffers: (request: Readonly<ListOffersRequest>) => Promise<ListOffersResponse>;
38291
38371
  protected pageOfListControlPanels: (request?: Readonly<ListControlPanelsRequest$1>) => Promise<ListControlPanelsResponse>;
38292
38372
  /**
38293
- * List all control panels type. List the control panels type: cpanel or
38294
- * plesk.
38373
+ * "List the control panels type: cpanel or plesk.".
38295
38374
  *
38296
38375
  * @param request - The request {@link ListControlPanelsRequest}
38297
38376
  * @returns A Promise of ListControlPanelsResponse
@@ -38300,6 +38379,14 @@ declare class API extends API$z {
38300
38379
  all: () => Promise<ControlPanel[]>;
38301
38380
  [Symbol.asyncIterator]: () => AsyncGenerator<ControlPanel[], void, void>;
38302
38381
  };
38382
+ /**
38383
+ * Create a user session.
38384
+ *
38385
+ * @param request - The request {@link CreateSessionRequest}
38386
+ * @returns A Promise of Session
38387
+ */
38388
+ createSession: (request: Readonly<CreateSessionRequest>) => Promise<Session>;
38389
+ resetHostingPassword: (request: Readonly<ResetHostingPasswordRequest>) => Promise<ResetHostingPasswordResponse>;
38303
38390
  }
38304
38391
 
38305
38392
  /** Lists transient statutes of the enum {@link HostingStatus}. */
@@ -38335,6 +38422,7 @@ declare const index_gen_API: typeof API;
38335
38422
  type index_gen_ControlPanel = ControlPanel;
38336
38423
  type index_gen_CreateHostingRequest = CreateHostingRequest;
38337
38424
  type index_gen_CreateHostingRequestDomainConfiguration = CreateHostingRequestDomainConfiguration;
38425
+ type index_gen_CreateSessionRequest = CreateSessionRequest;
38338
38426
  type index_gen_DeleteHostingRequest = DeleteHostingRequest;
38339
38427
  type index_gen_DnsRecord = DnsRecord;
38340
38428
  type index_gen_DnsRecordStatus = DnsRecordStatus;
@@ -38360,10 +38448,13 @@ type index_gen_NameserverStatus = NameserverStatus;
38360
38448
  type index_gen_Offer = Offer;
38361
38449
  type index_gen_OfferProduct = OfferProduct;
38362
38450
  type index_gen_OfferQuotaWarning = OfferQuotaWarning;
38451
+ type index_gen_ResetHostingPasswordRequest = ResetHostingPasswordRequest;
38452
+ type index_gen_ResetHostingPasswordResponse = ResetHostingPasswordResponse;
38363
38453
  type index_gen_RestoreHostingRequest = RestoreHostingRequest;
38454
+ type index_gen_Session = Session;
38364
38455
  type index_gen_UpdateHostingRequest = UpdateHostingRequest;
38365
38456
  declare namespace index_gen {
38366
- export { index_gen_API as API, type index_gen_ControlPanel as ControlPanel, type index_gen_CreateHostingRequest as CreateHostingRequest, type index_gen_CreateHostingRequestDomainConfiguration as CreateHostingRequestDomainConfiguration, type index_gen_DeleteHostingRequest as DeleteHostingRequest, type index_gen_DnsRecord as DnsRecord, type index_gen_DnsRecordStatus as DnsRecordStatus, type index_gen_DnsRecordType as DnsRecordType, type index_gen_DnsRecords as DnsRecords, type index_gen_DnsRecordsStatus as DnsRecordsStatus, type index_gen_GetDomainDnsRecordsRequest as GetDomainDnsRecordsRequest, type index_gen_GetHostingRequest as GetHostingRequest, index_gen_HOSTING_TRANSIENT_STATUSES as HOSTING_TRANSIENT_STATUSES, type index_gen_Hosting as Hosting, type index_gen_HostingCpanelUrls as HostingCpanelUrls, type index_gen_HostingDnsStatus as HostingDnsStatus, type index_gen_HostingOption as HostingOption, type index_gen_HostingStatus as HostingStatus, type ListControlPanelsRequest$1 as ListControlPanelsRequest, type index_gen_ListControlPanelsResponse as ListControlPanelsResponse, type ListHostingsRequest$1 as ListHostingsRequest, type index_gen_ListHostingsRequestOrderBy as ListHostingsRequestOrderBy, type index_gen_ListHostingsResponse as ListHostingsResponse, type index_gen_ListOffersRequest as ListOffersRequest, type index_gen_ListOffersRequestOrderBy as ListOffersRequestOrderBy, type index_gen_ListOffersResponse as ListOffersResponse, type index_gen_Nameserver as Nameserver, type index_gen_NameserverStatus as NameserverStatus, type index_gen_Offer as Offer, type index_gen_OfferProduct as OfferProduct, type index_gen_OfferQuotaWarning as OfferQuotaWarning, type index_gen_RestoreHostingRequest as RestoreHostingRequest, type index_gen_UpdateHostingRequest as UpdateHostingRequest, validationRules_gen as ValidationRules };
38457
+ export { index_gen_API as API, type index_gen_ControlPanel as ControlPanel, type index_gen_CreateHostingRequest as CreateHostingRequest, type index_gen_CreateHostingRequestDomainConfiguration as CreateHostingRequestDomainConfiguration, type index_gen_CreateSessionRequest as CreateSessionRequest, type index_gen_DeleteHostingRequest as DeleteHostingRequest, type index_gen_DnsRecord as DnsRecord, type index_gen_DnsRecordStatus as DnsRecordStatus, type index_gen_DnsRecordType as DnsRecordType, type index_gen_DnsRecords as DnsRecords, type index_gen_DnsRecordsStatus as DnsRecordsStatus, type index_gen_GetDomainDnsRecordsRequest as GetDomainDnsRecordsRequest, type index_gen_GetHostingRequest as GetHostingRequest, index_gen_HOSTING_TRANSIENT_STATUSES as HOSTING_TRANSIENT_STATUSES, type index_gen_Hosting as Hosting, type index_gen_HostingCpanelUrls as HostingCpanelUrls, type index_gen_HostingDnsStatus as HostingDnsStatus, type index_gen_HostingOption as HostingOption, type index_gen_HostingStatus as HostingStatus, type ListControlPanelsRequest$1 as ListControlPanelsRequest, type index_gen_ListControlPanelsResponse as ListControlPanelsResponse, type ListHostingsRequest$1 as ListHostingsRequest, type index_gen_ListHostingsRequestOrderBy as ListHostingsRequestOrderBy, type index_gen_ListHostingsResponse as ListHostingsResponse, type index_gen_ListOffersRequest as ListOffersRequest, type index_gen_ListOffersRequestOrderBy as ListOffersRequestOrderBy, type index_gen_ListOffersResponse as ListOffersResponse, type index_gen_Nameserver as Nameserver, type index_gen_NameserverStatus as NameserverStatus, type index_gen_Offer as Offer, type index_gen_OfferProduct as OfferProduct, type index_gen_OfferQuotaWarning as OfferQuotaWarning, type index_gen_ResetHostingPasswordRequest as ResetHostingPasswordRequest, type index_gen_ResetHostingPasswordResponse as ResetHostingPasswordResponse, type index_gen_RestoreHostingRequest as RestoreHostingRequest, type index_gen_Session as Session, type index_gen_UpdateHostingRequest as UpdateHostingRequest, validationRules_gen as ValidationRules };
38367
38458
  }
38368
38459
 
38369
38460
  declare namespace index {
@@ -1,4 +1,4 @@
1
- const version = 'v2.24.0';
1
+ const version = 'v2.25.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": "2.25.0",
3
+ "version": "2.26.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": "07fef29fd86ca3221bf7e02d0295da9ffacde65b"
38
+ "gitHead": "845204da501951b48aa002f1715b343ffe15a1dd"
39
39
  }