@scaleway/sdk-applesilicon 1.3.0 → 1.4.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.
@@ -2,4 +2,4 @@
2
2
  * This file is automatically generated
3
3
  * PLEASE DO NOT EDIT HERE
4
4
  */
5
- export * as Applesiliconv1alpha1 from './v1alpha1/index.gen';
5
+ export * as Applesiliconv1alpha1 from './v1alpha1/index.gen.js';
@@ -1,6 +1,6 @@
1
- import type { ApiLocality, WaitForOptions } from '@scaleway/sdk-client';
2
1
  import { API as ParentAPI } from '@scaleway/sdk-client';
3
- import type { BatchCreateServersRequest, BatchCreateServersResponse, ConnectivityDiagnostic, CreateServerRequest, DeleteServerRequest, GetConnectivityDiagnosticRequest, GetOSRequest, GetServerRequest, GetServerTypeRequest, ListOSRequest, ListOSResponse, ListServerPrivateNetworksResponse, ListServersRequest, ListServersResponse, ListServerTypesRequest, ListServerTypesResponse, OS, PrivateNetworkApiAddServerPrivateNetworkRequest, PrivateNetworkApiDeleteServerPrivateNetworkRequest, PrivateNetworkApiGetServerPrivateNetworkRequest, PrivateNetworkApiListServerPrivateNetworksRequest, PrivateNetworkApiSetServerPrivateNetworksRequest, RebootServerRequest, ReinstallServerRequest, Server, ServerPrivateNetwork, ServerType, SetServerPrivateNetworksResponse, StartConnectivityDiagnosticRequest, StartConnectivityDiagnosticResponse, UpdateServerRequest } from './types.gen';
2
+ import type { ApiLocality, WaitForOptions } from '@scaleway/sdk-client';
3
+ import type { BatchCreateServersRequest, BatchCreateServersResponse, ConnectivityDiagnostic, CreateServerRequest, DeleteServerRequest, GetConnectivityDiagnosticRequest, GetOSRequest, GetServerRequest, GetServerTypeRequest, ListOSRequest, ListOSResponse, ListServerPrivateNetworksResponse, ListServerTypesRequest, ListServerTypesResponse, ListServersRequest, ListServersResponse, OS, PrivateNetworkApiAddServerPrivateNetworkRequest, PrivateNetworkApiDeleteServerPrivateNetworkRequest, PrivateNetworkApiGetServerPrivateNetworkRequest, PrivateNetworkApiListServerPrivateNetworksRequest, PrivateNetworkApiSetServerPrivateNetworksRequest, RebootServerRequest, ReinstallServerRequest, Server, ServerPrivateNetwork, ServerType, SetServerPrivateNetworksResponse, StartConnectivityDiagnosticRequest, StartConnectivityDiagnosticResponse, UpdateServerRequest } from './types.gen.js';
4
4
  /**
5
5
  * Apple silicon API.
6
6
 
@@ -1,4 +1,4 @@
1
- import type { ServerPrivateNetworkServerStatus, ServerPrivateNetworkStatus, ServerStatus } from './types.gen';
1
+ import type { ServerPrivateNetworkServerStatus, ServerPrivateNetworkStatus, ServerStatus } from './types.gen.js';
2
2
  /** Lists transient statutes of the enum {@link ServerPrivateNetworkServerStatus}. */
3
3
  export declare const SERVER_PRIVATE_NETWORK_SERVER_TRANSIENT_STATUSES: ServerPrivateNetworkServerStatus[];
4
4
  /** Lists transient statutes of the enum {@link ServerPrivateNetworkStatus}. */
@@ -1,4 +1,4 @@
1
- export { API, PrivateNetworkAPI, } from './api.gen';
2
- export * from './content.gen';
3
- export * from './marshalling.gen';
4
- export type { BatchCreateServersRequest, BatchCreateServersRequestBatchInnerCreateServerRequest, BatchCreateServersResponse, Commitment, CommitmentType, CommitmentTypeValue, ConnectivityDiagnostic, ConnectivityDiagnosticActionType, ConnectivityDiagnosticDiagnosticStatus, ConnectivityDiagnosticServerHealth, CreateServerRequest, DeleteServerRequest, GetConnectivityDiagnosticRequest, GetOSRequest, GetServerRequest, GetServerTypeRequest, ListOSRequest, ListOSResponse, ListServerPrivateNetworksRequestOrderBy, ListServerPrivateNetworksResponse, ListServersRequest, ListServersRequestOrderBy, ListServersResponse, ListServerTypesRequest, ListServerTypesResponse, OS, PrivateNetworkApiAddServerPrivateNetworkRequest, PrivateNetworkApiDeleteServerPrivateNetworkRequest, PrivateNetworkApiGetServerPrivateNetworkRequest, PrivateNetworkApiListServerPrivateNetworksRequest, PrivateNetworkApiSetServerPrivateNetworksRequest, RebootServerRequest, ReinstallServerRequest, Server, ServerPrivateNetwork, ServerPrivateNetworkServerStatus, ServerPrivateNetworkStatus, ServerStatus, ServerType, ServerTypeCPU, ServerTypeDisk, ServerTypeGPU, ServerTypeMemory, ServerTypeNetwork, ServerTypeStock, SetServerPrivateNetworksResponse, StartConnectivityDiagnosticRequest, StartConnectivityDiagnosticResponse, UpdateServerRequest, } from './types.gen';
1
+ export { API, PrivateNetworkAPI, } from './api.gen.js';
2
+ export * from './content.gen.js';
3
+ export * from './marshalling.gen.js';
4
+ export type { BatchCreateServersRequest, BatchCreateServersRequestBatchInnerCreateServerRequest, BatchCreateServersResponse, Commitment, CommitmentType, CommitmentTypeValue, ConnectivityDiagnostic, ConnectivityDiagnosticActionType, ConnectivityDiagnosticDiagnosticStatus, ConnectivityDiagnosticServerHealth, CreateServerRequest, DeleteServerRequest, GetConnectivityDiagnosticRequest, GetOSRequest, GetServerRequest, GetServerTypeRequest, ListOSRequest, ListOSResponse, ListServerPrivateNetworksRequestOrderBy, ListServerPrivateNetworksResponse, ListServerTypesRequest, ListServerTypesResponse, ListServersRequest, ListServersRequestOrderBy, ListServersResponse, OS, OSSupportedServerType, PrivateNetworkApiAddServerPrivateNetworkRequest, PrivateNetworkApiDeleteServerPrivateNetworkRequest, PrivateNetworkApiGetServerPrivateNetworkRequest, PrivateNetworkApiListServerPrivateNetworksRequest, PrivateNetworkApiSetServerPrivateNetworksRequest, RebootServerRequest, ReinstallServerRequest, RunnerConfiguration, RunnerConfigurationProvider, Server, ServerPrivateNetwork, ServerPrivateNetworkServerStatus, ServerPrivateNetworkStatus, ServerStatus, ServerType, ServerTypeCPU, ServerTypeDisk, ServerTypeGPU, ServerTypeMemory, ServerTypeNPU, ServerTypeNetwork, ServerTypeStock, SetServerPrivateNetworksResponse, StartConnectivityDiagnosticRequest, StartConnectivityDiagnosticResponse, UpdateServerRequest, } from './types.gen.js';
@@ -2,6 +2,17 @@
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const randomName = require("@scaleway/random-name");
4
4
  const sdkClient = require("@scaleway/sdk-client");
5
+ const unmarshalOSSupportedServerType = (data) => {
6
+ if (!sdkClient.isJSONObject(data)) {
7
+ throw new TypeError(
8
+ `Unmarshalling the type 'OSSupportedServerType' failed as data isn't a dictionary.`
9
+ );
10
+ }
11
+ return {
12
+ fastDeliveryAvailable: data.fast_delivery_available,
13
+ serverType: data.server_type
14
+ };
15
+ };
5
16
  const unmarshalOS = (data) => {
6
17
  if (!sdkClient.isJSONObject(data)) {
7
18
  throw new TypeError(
@@ -9,13 +20,20 @@ const unmarshalOS = (data) => {
9
20
  );
10
21
  }
11
22
  return {
12
- compatibleServerTypes: data.compatible_server_types,
23
+ compatibleServerTypes: data.compatible_server_types ? data.compatible_server_types : void 0,
24
+ description: data.description,
13
25
  family: data.family,
14
26
  id: data.id,
15
27
  imageUrl: data.image_url,
16
28
  isBeta: data.is_beta,
17
29
  label: data.label,
18
30
  name: data.name,
31
+ releaseNotesUrl: data.release_notes_url,
32
+ supportedServerTypes: sdkClient.unmarshalArrayOfObject(
33
+ data.supported_server_types,
34
+ unmarshalOSSupportedServerType
35
+ ),
36
+ tags: data.tags,
19
37
  version: data.version,
20
38
  xcodeVersion: data.xcode_version
21
39
  };
@@ -31,6 +49,19 @@ const unmarshalCommitment = (data) => {
31
49
  type: data.type
32
50
  };
33
51
  };
52
+ const unmarshalRunnerConfiguration = (data) => {
53
+ if (!sdkClient.isJSONObject(data)) {
54
+ throw new TypeError(
55
+ `Unmarshalling the type 'RunnerConfiguration' failed as data isn't a dictionary.`
56
+ );
57
+ }
58
+ return {
59
+ name: data.name,
60
+ provider: data.provider,
61
+ token: data.token,
62
+ url: data.url
63
+ };
64
+ };
34
65
  const unmarshalServer = (data) => {
35
66
  if (!sdkClient.isJSONObject(data)) {
36
67
  throw new TypeError(
@@ -50,9 +81,11 @@ const unmarshalServer = (data) => {
50
81
  os: data.os ? unmarshalOS(data.os) : void 0,
51
82
  projectId: data.project_id,
52
83
  publicBandwidthBps: data.public_bandwidth_bps,
84
+ runnerConfiguration: data.runner_configuration ? unmarshalRunnerConfiguration(data.runner_configuration) : void 0,
53
85
  sshUsername: data.ssh_username,
54
86
  status: data.status,
55
87
  sudoPassword: data.sudo_password,
88
+ tags: data.tags,
56
89
  type: data.type,
57
90
  updatedAt: sdkClient.unmarshalDate(data.updated_at),
58
91
  vncPort: data.vnc_port,
@@ -88,7 +121,9 @@ const unmarshalServerTypeCPU = (data) => {
88
121
  return {
89
122
  coreCount: data.core_count,
90
123
  frequency: data.frequency,
91
- name: data.name
124
+ name: data.name,
125
+ sockets: data.sockets,
126
+ threadsPerCore: data.threads_per_core
92
127
  };
93
128
  };
94
129
  const unmarshalServerTypeDisk = (data) => {
@@ -123,6 +158,16 @@ const unmarshalServerTypeMemory = (data) => {
123
158
  type: data.type
124
159
  };
125
160
  };
161
+ const unmarshalServerTypeNPU = (data) => {
162
+ if (!sdkClient.isJSONObject(data)) {
163
+ throw new TypeError(
164
+ `Unmarshalling the type 'ServerTypeNPU' failed as data isn't a dictionary.`
165
+ );
166
+ }
167
+ return {
168
+ count: data.count
169
+ };
170
+ };
126
171
  const unmarshalServerTypeNetwork = (data) => {
127
172
  if (!sdkClient.isJSONObject(data)) {
128
173
  throw new TypeError(
@@ -130,6 +175,7 @@ const unmarshalServerTypeNetwork = (data) => {
130
175
  );
131
176
  }
132
177
  return {
178
+ defaultPublicBandwidth: data.default_public_bandwidth,
133
179
  publicBandwidthBps: data.public_bandwidth_bps,
134
180
  supportedBandwidth: data.supported_bandwidth
135
181
  };
@@ -149,6 +195,7 @@ const unmarshalServerType = (data) => {
149
195
  minimumLeaseDuration: data.minimum_lease_duration,
150
196
  name: data.name,
151
197
  network: data.network ? unmarshalServerTypeNetwork(data.network) : void 0,
198
+ npu: data.npu ? unmarshalServerTypeNPU(data.npu) : void 0,
152
199
  stock: data.stock
153
200
  };
154
201
  };
@@ -277,6 +324,12 @@ const marshalBatchCreateServersRequest = (request, defaults) => ({
277
324
  ) : void 0,
278
325
  type: request.type
279
326
  });
327
+ const marshalRunnerConfiguration = (request, defaults) => ({
328
+ name: request.name,
329
+ provider: request.provider,
330
+ token: request.token,
331
+ url: request.url
332
+ });
280
333
  const marshalCreateServerRequest = (request, defaults) => ({
281
334
  commitment_type: request.commitmentType,
282
335
  enable_vpc: request.enableVpc,
@@ -284,6 +337,7 @@ const marshalCreateServerRequest = (request, defaults) => ({
284
337
  os_id: request.osId,
285
338
  project_id: request.projectId ?? defaults.defaultProjectId,
286
339
  public_bandwidth_bps: request.publicBandwidthBps,
340
+ runner_configuration: request.runnerConfiguration !== void 0 ? marshalRunnerConfiguration(request.runnerConfiguration) : void 0,
287
341
  type: request.type
288
342
  });
289
343
  const marshalPrivateNetworkApiAddServerPrivateNetworkRequest = (request, defaults) => ({
@@ -1,5 +1,5 @@
1
1
  import type { DefaultValues } from '@scaleway/sdk-client';
2
- import type { BatchCreateServersRequest, BatchCreateServersResponse, ConnectivityDiagnostic, CreateServerRequest, ListOSResponse, ListServerPrivateNetworksResponse, ListServersResponse, ListServerTypesResponse, OS, PrivateNetworkApiAddServerPrivateNetworkRequest, PrivateNetworkApiSetServerPrivateNetworksRequest, ReinstallServerRequest, Server, ServerPrivateNetwork, ServerType, SetServerPrivateNetworksResponse, StartConnectivityDiagnosticRequest, StartConnectivityDiagnosticResponse, UpdateServerRequest } from './types.gen';
2
+ import type { BatchCreateServersRequest, BatchCreateServersResponse, ConnectivityDiagnostic, CreateServerRequest, ListOSResponse, ListServerPrivateNetworksResponse, ListServerTypesResponse, ListServersResponse, OS, PrivateNetworkApiAddServerPrivateNetworkRequest, PrivateNetworkApiSetServerPrivateNetworksRequest, ReinstallServerRequest, Server, ServerPrivateNetwork, ServerType, SetServerPrivateNetworksResponse, StartConnectivityDiagnosticRequest, StartConnectivityDiagnosticResponse, UpdateServerRequest } from './types.gen.js';
3
3
  export declare const unmarshalOS: (data: unknown) => OS;
4
4
  export declare const unmarshalServer: (data: unknown) => Server;
5
5
  export declare const unmarshalServerPrivateNetwork: (data: unknown) => ServerPrivateNetwork;
@@ -1,5 +1,16 @@
1
1
  import randomName from "@scaleway/random-name";
2
2
  import { isJSONObject, unmarshalArrayOfObject, unmarshalDate } from "@scaleway/sdk-client";
3
+ const unmarshalOSSupportedServerType = (data) => {
4
+ if (!isJSONObject(data)) {
5
+ throw new TypeError(
6
+ `Unmarshalling the type 'OSSupportedServerType' failed as data isn't a dictionary.`
7
+ );
8
+ }
9
+ return {
10
+ fastDeliveryAvailable: data.fast_delivery_available,
11
+ serverType: data.server_type
12
+ };
13
+ };
3
14
  const unmarshalOS = (data) => {
4
15
  if (!isJSONObject(data)) {
5
16
  throw new TypeError(
@@ -7,13 +18,20 @@ const unmarshalOS = (data) => {
7
18
  );
8
19
  }
9
20
  return {
10
- compatibleServerTypes: data.compatible_server_types,
21
+ compatibleServerTypes: data.compatible_server_types ? data.compatible_server_types : void 0,
22
+ description: data.description,
11
23
  family: data.family,
12
24
  id: data.id,
13
25
  imageUrl: data.image_url,
14
26
  isBeta: data.is_beta,
15
27
  label: data.label,
16
28
  name: data.name,
29
+ releaseNotesUrl: data.release_notes_url,
30
+ supportedServerTypes: unmarshalArrayOfObject(
31
+ data.supported_server_types,
32
+ unmarshalOSSupportedServerType
33
+ ),
34
+ tags: data.tags,
17
35
  version: data.version,
18
36
  xcodeVersion: data.xcode_version
19
37
  };
@@ -29,6 +47,19 @@ const unmarshalCommitment = (data) => {
29
47
  type: data.type
30
48
  };
31
49
  };
50
+ const unmarshalRunnerConfiguration = (data) => {
51
+ if (!isJSONObject(data)) {
52
+ throw new TypeError(
53
+ `Unmarshalling the type 'RunnerConfiguration' failed as data isn't a dictionary.`
54
+ );
55
+ }
56
+ return {
57
+ name: data.name,
58
+ provider: data.provider,
59
+ token: data.token,
60
+ url: data.url
61
+ };
62
+ };
32
63
  const unmarshalServer = (data) => {
33
64
  if (!isJSONObject(data)) {
34
65
  throw new TypeError(
@@ -48,9 +79,11 @@ const unmarshalServer = (data) => {
48
79
  os: data.os ? unmarshalOS(data.os) : void 0,
49
80
  projectId: data.project_id,
50
81
  publicBandwidthBps: data.public_bandwidth_bps,
82
+ runnerConfiguration: data.runner_configuration ? unmarshalRunnerConfiguration(data.runner_configuration) : void 0,
51
83
  sshUsername: data.ssh_username,
52
84
  status: data.status,
53
85
  sudoPassword: data.sudo_password,
86
+ tags: data.tags,
54
87
  type: data.type,
55
88
  updatedAt: unmarshalDate(data.updated_at),
56
89
  vncPort: data.vnc_port,
@@ -86,7 +119,9 @@ const unmarshalServerTypeCPU = (data) => {
86
119
  return {
87
120
  coreCount: data.core_count,
88
121
  frequency: data.frequency,
89
- name: data.name
122
+ name: data.name,
123
+ sockets: data.sockets,
124
+ threadsPerCore: data.threads_per_core
90
125
  };
91
126
  };
92
127
  const unmarshalServerTypeDisk = (data) => {
@@ -121,6 +156,16 @@ const unmarshalServerTypeMemory = (data) => {
121
156
  type: data.type
122
157
  };
123
158
  };
159
+ const unmarshalServerTypeNPU = (data) => {
160
+ if (!isJSONObject(data)) {
161
+ throw new TypeError(
162
+ `Unmarshalling the type 'ServerTypeNPU' failed as data isn't a dictionary.`
163
+ );
164
+ }
165
+ return {
166
+ count: data.count
167
+ };
168
+ };
124
169
  const unmarshalServerTypeNetwork = (data) => {
125
170
  if (!isJSONObject(data)) {
126
171
  throw new TypeError(
@@ -128,6 +173,7 @@ const unmarshalServerTypeNetwork = (data) => {
128
173
  );
129
174
  }
130
175
  return {
176
+ defaultPublicBandwidth: data.default_public_bandwidth,
131
177
  publicBandwidthBps: data.public_bandwidth_bps,
132
178
  supportedBandwidth: data.supported_bandwidth
133
179
  };
@@ -147,6 +193,7 @@ const unmarshalServerType = (data) => {
147
193
  minimumLeaseDuration: data.minimum_lease_duration,
148
194
  name: data.name,
149
195
  network: data.network ? unmarshalServerTypeNetwork(data.network) : void 0,
196
+ npu: data.npu ? unmarshalServerTypeNPU(data.npu) : void 0,
150
197
  stock: data.stock
151
198
  };
152
199
  };
@@ -275,6 +322,12 @@ const marshalBatchCreateServersRequest = (request, defaults) => ({
275
322
  ) : void 0,
276
323
  type: request.type
277
324
  });
325
+ const marshalRunnerConfiguration = (request, defaults) => ({
326
+ name: request.name,
327
+ provider: request.provider,
328
+ token: request.token,
329
+ url: request.url
330
+ });
278
331
  const marshalCreateServerRequest = (request, defaults) => ({
279
332
  commitment_type: request.commitmentType,
280
333
  enable_vpc: request.enableVpc,
@@ -282,6 +335,7 @@ const marshalCreateServerRequest = (request, defaults) => ({
282
335
  os_id: request.osId,
283
336
  project_id: request.projectId ?? defaults.defaultProjectId,
284
337
  public_bandwidth_bps: request.publicBandwidthBps,
338
+ runner_configuration: request.runnerConfiguration !== void 0 ? marshalRunnerConfiguration(request.runnerConfiguration) : void 0,
285
339
  type: request.type
286
340
  });
287
341
  const marshalPrivateNetworkApiAddServerPrivateNetworkRequest = (request, defaults) => ({
@@ -4,10 +4,15 @@ export type ConnectivityDiagnosticActionType = 'reboot_server' | 'reinstall_serv
4
4
  export type ConnectivityDiagnosticDiagnosticStatus = 'unknown_status' | 'processing' | 'error' | 'completed';
5
5
  export type ListServerPrivateNetworksRequestOrderBy = 'created_at_asc' | 'created_at_desc' | 'updated_at_asc' | 'updated_at_desc';
6
6
  export type ListServersRequestOrderBy = 'created_at_asc' | 'created_at_desc';
7
+ export type RunnerConfigurationProvider = 'unknown_provider' | 'github' | 'gitlab';
7
8
  export type ServerPrivateNetworkServerStatus = 'unknown_status' | 'attaching' | 'attached' | 'error' | 'detaching' | 'locked';
8
9
  export type ServerPrivateNetworkStatus = 'vpc_unknown_status' | 'vpc_enabled' | 'vpc_updating' | 'vpc_disabled';
9
10
  export type ServerStatus = 'unknown_status' | 'starting' | 'ready' | 'error' | 'rebooting' | 'updating' | 'locking' | 'locked' | 'unlocking' | 'reinstalling' | 'busy';
10
11
  export type ServerTypeStock = 'unknown_stock' | 'no_stock' | 'low_stock' | 'high_stock';
12
+ export interface OSSupportedServerType {
13
+ serverType: string;
14
+ fastDeliveryAvailable: boolean;
15
+ }
11
16
  export interface Commitment {
12
17
  type: CommitmentType;
13
18
  cancelled: boolean;
@@ -46,14 +51,38 @@ export interface OS {
46
51
  */
47
52
  xcodeVersion: string;
48
53
  /**
49
- * List of compatible server types.
54
+ * @deprecated List of compatible server types. Deprecated.
55
+ */
56
+ compatibleServerTypes?: string[];
57
+ /**
58
+ * Url of the release notes for the OS image or softwares pre-installed.
59
+ */
60
+ releaseNotesUrl: string;
61
+ /**
62
+ * A summary of the OS image content and configuration.
63
+ */
64
+ description: string;
65
+ /**
66
+ * List of tags for the OS configuration.
50
67
  */
51
- compatibleServerTypes: string[];
68
+ tags: string[];
69
+ /**
70
+ * List of server types which supports the OS configuration. Also gives information about immediate stock availability.
71
+ */
72
+ supportedServerTypes: OSSupportedServerType[];
73
+ }
74
+ export interface RunnerConfiguration {
75
+ name: string;
76
+ url: string;
77
+ token: string;
78
+ provider: RunnerConfigurationProvider;
52
79
  }
53
80
  export interface ServerTypeCPU {
54
81
  name: string;
55
82
  coreCount: number;
56
83
  frequency: number;
84
+ sockets: number;
85
+ threadsPerCore: number;
57
86
  }
58
87
  export interface ServerTypeDisk {
59
88
  capacity: number;
@@ -66,9 +95,13 @@ export interface ServerTypeMemory {
66
95
  capacity: number;
67
96
  type: string;
68
97
  }
98
+ export interface ServerTypeNPU {
99
+ count: number;
100
+ }
69
101
  export interface ServerTypeNetwork {
70
102
  publicBandwidthBps: number;
71
103
  supportedBandwidth: number[];
104
+ defaultPublicBandwidth: number;
72
105
  }
73
106
  export interface BatchCreateServersRequestBatchInnerCreateServerRequest {
74
107
  name: string;
@@ -158,6 +191,14 @@ export interface Server {
158
191
  * Public bandwidth configured for this server. Expressed in bits per second.
159
192
  */
160
193
  publicBandwidthBps: number;
194
+ /**
195
+ * Current runner configuration, empty if none is installed.
196
+ */
197
+ runnerConfiguration?: RunnerConfiguration;
198
+ /**
199
+ * A list of tags attached to the server.
200
+ */
201
+ tags: string[];
161
202
  }
162
203
  export interface ConnectivityDiagnosticServerHealth {
163
204
  lastCheckinDate?: Date;
@@ -242,6 +283,10 @@ export interface ServerType {
242
283
  * The default OS for this server type.
243
284
  */
244
285
  defaultOs?: OS;
286
+ /**
287
+ * NPU description.
288
+ */
289
+ npu?: ServerTypeNPU;
245
290
  }
246
291
  export interface CommitmentTypeValue {
247
292
  commitmentType: CommitmentType;
@@ -327,6 +372,10 @@ export type CreateServerRequest = {
327
372
  * Public bandwidth to configure for this server. This defaults to the minimum bandwidth for this server type. For compatible server types, the bandwidth can be increased which incurs additional costs.
328
373
  */
329
374
  publicBandwidthBps: number;
375
+ /**
376
+ * Specify the configuration to install an optional CICD runner on the server during installation.
377
+ */
378
+ runnerConfiguration?: RunnerConfiguration;
330
379
  };
331
380
  export type DeleteServerRequest = {
332
381
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scaleway/sdk-applesilicon",
3
- "version": "1.3.0",
3
+ "version": "1.4.0",
4
4
  "description": "Scaleway SDK applesilicon",
5
5
  "license": "Apache-2.0",
6
6
  "files": [
@@ -30,13 +30,13 @@
30
30
  },
31
31
  "dependencies": {
32
32
  "@scaleway/random-name": "5.1.2",
33
- "@scaleway/sdk-std": "1.0.6"
33
+ "@scaleway/sdk-std": "1.1.0"
34
34
  },
35
35
  "peerDependencies": {
36
- "@scaleway/sdk-client": "^1.3.1"
36
+ "@scaleway/sdk-client": "^1.3.2"
37
37
  },
38
38
  "devDependencies": {
39
- "@scaleway/sdk-client": "^1.3.1"
39
+ "@scaleway/sdk-client": "^1.3.2"
40
40
  },
41
41
  "scripts": {
42
42
  "package:check": "pnpm publint",