@scaleway/sdk-applesilicon 2.4.1 → 2.5.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.
- package/dist/_virtual/_rolldown/runtime.js +2 -0
- package/dist/v1alpha1/api.gen.js +6 -4
- package/dist/v1alpha1/content.gen.js +6 -4
- package/dist/v1alpha1/index.gen.js +3 -1
- package/dist/v1alpha1/marshalling.gen.js +25 -23
- package/dist/v1alpha1/metadata.gen.d.ts +123 -0
- package/dist/v1alpha1/metadata.gen.js +135 -0
- package/dist/v1alpha1/types.gen.js +0 -0
- package/dist/v1alpha1/validation-rules.gen.js +4 -2
- package/package.json +5 -5
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
//#region \0rolldown/runtime.js
|
|
1
2
|
var __defProp = Object.defineProperty;
|
|
2
3
|
var __exportAll = (all, no_symbols) => {
|
|
3
4
|
let target = {};
|
|
@@ -8,4 +9,5 @@ var __exportAll = (all, no_symbols) => {
|
|
|
8
9
|
if (!no_symbols) __defProp(target, Symbol.toStringTag, { value: "Module" });
|
|
9
10
|
return target;
|
|
10
11
|
};
|
|
12
|
+
//#endregion
|
|
11
13
|
export { __exportAll };
|
package/dist/v1alpha1/api.gen.js
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import { RUNNER_TRANSIENT_STATUSES, SERVER_PRIVATE_NETWORK_SERVER_TRANSIENT_STATUSES, SERVER_TRANSIENT_STATUSES } from "./content.gen.js";
|
|
2
2
|
import { marshalBatchCreateServersRequest, marshalCreateRunnerRequest, marshalCreateServerRequest, marshalPrivateNetworkApiAddServerPrivateNetworkRequest, marshalPrivateNetworkApiSetServerPrivateNetworksRequest, marshalReinstallServerRequest, marshalStartConnectivityDiagnosticRequest, marshalUpdateRunnerRequest, marshalUpdateServerRequest, unmarshalBatchCreateServersResponse, unmarshalConnectivityDiagnostic, unmarshalListOSResponse, unmarshalListRunnersResponse, unmarshalListServerPrivateNetworksResponse, unmarshalListServerTypesResponse, unmarshalListServersResponse, unmarshalOS, unmarshalRunner, unmarshalServer, unmarshalServerPrivateNetwork, unmarshalServerType, unmarshalSetServerPrivateNetworksResponse, unmarshalStartConnectivityDiagnosticResponse } from "./marshalling.gen.js";
|
|
3
|
-
import { API, enrichForPagination, toApiLocality, urlParams, validatePathParam, waitForResource } from "@scaleway/sdk-client";
|
|
3
|
+
import { API as API$1, enrichForPagination, toApiLocality, urlParams, validatePathParam, waitForResource } from "@scaleway/sdk-client";
|
|
4
|
+
//#region src/v1alpha1/api.gen.ts
|
|
4
5
|
var jsonContentHeaders = { "Content-Type": "application/json; charset=utf-8" };
|
|
5
6
|
/**
|
|
6
7
|
* Apple silicon API.
|
|
7
8
|
|
|
8
9
|
This API allows you to manage your Apple silicon machines.
|
|
9
10
|
*/
|
|
10
|
-
var API
|
|
11
|
+
var API = class extends API$1 {
|
|
11
12
|
/**
|
|
12
13
|
* Locality of this API.
|
|
13
14
|
* type ∈ {'zone','region','global','unspecified'}
|
|
@@ -231,7 +232,7 @@ var API$1 = class extends API {
|
|
|
231
232
|
/**
|
|
232
233
|
* Apple silicon - Private Networks API.
|
|
233
234
|
*/
|
|
234
|
-
var PrivateNetworkAPI = class extends API {
|
|
235
|
+
var PrivateNetworkAPI = class extends API$1 {
|
|
235
236
|
/**
|
|
236
237
|
* Locality of this API.
|
|
237
238
|
* type ∈ {'zone','region','global','unspecified'}
|
|
@@ -295,4 +296,5 @@ var PrivateNetworkAPI = class extends API {
|
|
|
295
296
|
path: `/apple-silicon/v1alpha1/zones/${validatePathParam("zone", request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam("serverId", request.serverId)}/private-networks/${validatePathParam("privateNetworkId", request.privateNetworkId)}`
|
|
296
297
|
});
|
|
297
298
|
};
|
|
298
|
-
|
|
299
|
+
//#endregion
|
|
300
|
+
export { API, PrivateNetworkAPI };
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
+
//#region src/v1alpha1/content.gen.ts
|
|
1
2
|
/** Lists transient statutes of the enum {@link RunnerStatus}. */
|
|
2
|
-
|
|
3
|
+
var RUNNER_TRANSIENT_STATUSES = ["waiting"];
|
|
3
4
|
/** Lists transient statutes of the enum {@link ServerPrivateNetworkServerStatus}. */
|
|
4
|
-
|
|
5
|
+
var SERVER_PRIVATE_NETWORK_SERVER_TRANSIENT_STATUSES = ["attaching", "detaching"];
|
|
5
6
|
/** Lists transient statutes of the enum {@link ServerPrivateNetworkStatus}. */
|
|
6
|
-
|
|
7
|
+
var SERVER_PRIVATE_NETWORK_TRANSIENT_STATUSES = ["vpc_updating"];
|
|
7
8
|
/** Lists transient statutes of the enum {@link ServerStatus}. */
|
|
8
|
-
|
|
9
|
+
var SERVER_TRANSIENT_STATUSES = [
|
|
9
10
|
"starting",
|
|
10
11
|
"rebooting",
|
|
11
12
|
"updating",
|
|
@@ -14,4 +15,5 @@ const SERVER_TRANSIENT_STATUSES = [
|
|
|
14
15
|
"reinstalling",
|
|
15
16
|
"busy"
|
|
16
17
|
];
|
|
18
|
+
//#endregion
|
|
17
19
|
export { RUNNER_TRANSIENT_STATUSES, SERVER_PRIVATE_NETWORK_SERVER_TRANSIENT_STATUSES, SERVER_PRIVATE_NETWORK_TRANSIENT_STATUSES, SERVER_TRANSIENT_STATUSES };
|
|
@@ -3,6 +3,7 @@ import { RUNNER_TRANSIENT_STATUSES, SERVER_PRIVATE_NETWORK_SERVER_TRANSIENT_STAT
|
|
|
3
3
|
import { marshalBatchCreateServersRequest, marshalCreateRunnerRequest, marshalCreateServerRequest, marshalPrivateNetworkApiAddServerPrivateNetworkRequest, marshalPrivateNetworkApiSetServerPrivateNetworksRequest, marshalReinstallServerRequest, marshalStartConnectivityDiagnosticRequest, marshalUpdateRunnerRequest, marshalUpdateServerRequest, unmarshalBatchCreateServersResponse, unmarshalConnectivityDiagnostic, unmarshalListOSResponse, unmarshalListRunnersResponse, unmarshalListServerPrivateNetworksResponse, unmarshalListServerTypesResponse, unmarshalListServersResponse, unmarshalOS, unmarshalRunner, unmarshalServer, unmarshalServerPrivateNetwork, unmarshalServerType, unmarshalSetServerPrivateNetworksResponse, unmarshalStartConnectivityDiagnosticResponse } from "./marshalling.gen.js";
|
|
4
4
|
import { API, PrivateNetworkAPI } from "./api.gen.js";
|
|
5
5
|
import { validation_rules_gen_exports } from "./validation-rules.gen.js";
|
|
6
|
+
//#region src/v1alpha1/index.gen.ts
|
|
6
7
|
var index_gen_exports = /* @__PURE__ */ __exportAll({
|
|
7
8
|
API: () => API,
|
|
8
9
|
PrivateNetworkAPI: () => PrivateNetworkAPI,
|
|
@@ -35,4 +36,5 @@ var index_gen_exports = /* @__PURE__ */ __exportAll({
|
|
|
35
36
|
unmarshalSetServerPrivateNetworksResponse: () => unmarshalSetServerPrivateNetworksResponse,
|
|
36
37
|
unmarshalStartConnectivityDiagnosticResponse: () => unmarshalStartConnectivityDiagnosticResponse
|
|
37
38
|
});
|
|
38
|
-
|
|
39
|
+
//#endregion
|
|
40
|
+
export { API, PrivateNetworkAPI, RUNNER_TRANSIENT_STATUSES, SERVER_PRIVATE_NETWORK_SERVER_TRANSIENT_STATUSES, SERVER_PRIVATE_NETWORK_TRANSIENT_STATUSES, SERVER_TRANSIENT_STATUSES, validation_rules_gen_exports as ValidationRules, index_gen_exports, marshalBatchCreateServersRequest, marshalCreateRunnerRequest, marshalCreateServerRequest, marshalPrivateNetworkApiAddServerPrivateNetworkRequest, marshalPrivateNetworkApiSetServerPrivateNetworksRequest, marshalReinstallServerRequest, marshalStartConnectivityDiagnosticRequest, marshalUpdateRunnerRequest, marshalUpdateServerRequest, unmarshalBatchCreateServersResponse, unmarshalConnectivityDiagnostic, unmarshalListOSResponse, unmarshalListRunnersResponse, unmarshalListServerPrivateNetworksResponse, unmarshalListServerTypesResponse, unmarshalListServersResponse, unmarshalOS, unmarshalRunner, unmarshalServer, unmarshalServerPrivateNetwork, unmarshalServerType, unmarshalSetServerPrivateNetworksResponse, unmarshalStartConnectivityDiagnosticResponse };
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { isJSONObject, resolveOneOf, unmarshalArrayOfObject, unmarshalDate } from "@scaleway/sdk-client";
|
|
2
2
|
import randomName from "@scaleway/random-name";
|
|
3
|
+
//#region src/v1alpha1/marshalling.gen.ts
|
|
3
4
|
var unmarshalOSSupportedServerType = (data) => {
|
|
4
5
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'OSSupportedServerType' failed as data isn't a dictionary.`);
|
|
5
6
|
return {
|
|
@@ -7,7 +8,7 @@ var unmarshalOSSupportedServerType = (data) => {
|
|
|
7
8
|
serverType: data.server_type
|
|
8
9
|
};
|
|
9
10
|
};
|
|
10
|
-
|
|
11
|
+
var unmarshalOS = (data) => {
|
|
11
12
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'OS' failed as data isn't a dictionary.`);
|
|
12
13
|
return {
|
|
13
14
|
compatibleServerTypes: data.compatible_server_types ? data.compatible_server_types : void 0,
|
|
@@ -41,7 +42,7 @@ var unmarshalRunnerConfiguration = (data) => {
|
|
|
41
42
|
url: data.url
|
|
42
43
|
};
|
|
43
44
|
};
|
|
44
|
-
|
|
45
|
+
var unmarshalServer = (data) => {
|
|
45
46
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'Server' failed as data isn't a dictionary.`);
|
|
46
47
|
return {
|
|
47
48
|
appliedRunnerConfigurationIds: data.applied_runner_configuration_ids,
|
|
@@ -94,7 +95,7 @@ var unmarshalRunnerConfigurationV2 = (data) => {
|
|
|
94
95
|
provider: data.provider
|
|
95
96
|
};
|
|
96
97
|
};
|
|
97
|
-
|
|
98
|
+
var unmarshalRunner = (data) => {
|
|
98
99
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'Runner' failed as data isn't a dictionary.`);
|
|
99
100
|
return {
|
|
100
101
|
configuration: data.configuration ? unmarshalRunnerConfigurationV2(data.configuration) : void 0,
|
|
@@ -103,7 +104,7 @@ const unmarshalRunner = (data) => {
|
|
|
103
104
|
status: data.status
|
|
104
105
|
};
|
|
105
106
|
};
|
|
106
|
-
|
|
107
|
+
var unmarshalServerPrivateNetwork = (data) => {
|
|
107
108
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ServerPrivateNetwork' failed as data isn't a dictionary.`);
|
|
108
109
|
return {
|
|
109
110
|
createdAt: unmarshalDate(data.created_at),
|
|
@@ -157,7 +158,7 @@ var unmarshalServerTypeNetwork = (data) => {
|
|
|
157
158
|
supportedBandwidth: data.supported_bandwidth
|
|
158
159
|
};
|
|
159
160
|
};
|
|
160
|
-
|
|
161
|
+
var unmarshalServerType = (data) => {
|
|
161
162
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ServerType' failed as data isn't a dictionary.`);
|
|
162
163
|
return {
|
|
163
164
|
cpu: data.cpu ? unmarshalServerTypeCPU(data.cpu) : void 0,
|
|
@@ -172,7 +173,7 @@ const unmarshalServerType = (data) => {
|
|
|
172
173
|
stock: data.stock
|
|
173
174
|
};
|
|
174
175
|
};
|
|
175
|
-
|
|
176
|
+
var unmarshalBatchCreateServersResponse = (data) => {
|
|
176
177
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'BatchCreateServersResponse' failed as data isn't a dictionary.`);
|
|
177
178
|
return { servers: unmarshalArrayOfObject(data.servers, unmarshalServer) };
|
|
178
179
|
};
|
|
@@ -187,7 +188,7 @@ var unmarshalConnectivityDiagnosticServerHealth = (data) => {
|
|
|
187
188
|
lastCheckinDate: unmarshalDate(data.last_checkin_date)
|
|
188
189
|
};
|
|
189
190
|
};
|
|
190
|
-
|
|
191
|
+
var unmarshalConnectivityDiagnostic = (data) => {
|
|
191
192
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ConnectivityDiagnostic' failed as data isn't a dictionary.`);
|
|
192
193
|
return {
|
|
193
194
|
errorMessage: data.error_message,
|
|
@@ -198,48 +199,48 @@ const unmarshalConnectivityDiagnostic = (data) => {
|
|
|
198
199
|
supportedActions: data.supported_actions
|
|
199
200
|
};
|
|
200
201
|
};
|
|
201
|
-
|
|
202
|
+
var unmarshalListOSResponse = (data) => {
|
|
202
203
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ListOSResponse' failed as data isn't a dictionary.`);
|
|
203
204
|
return {
|
|
204
205
|
os: unmarshalArrayOfObject(data.os, unmarshalOS),
|
|
205
206
|
totalCount: data.total_count
|
|
206
207
|
};
|
|
207
208
|
};
|
|
208
|
-
|
|
209
|
+
var unmarshalListRunnersResponse = (data) => {
|
|
209
210
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ListRunnersResponse' failed as data isn't a dictionary.`);
|
|
210
211
|
return {
|
|
211
212
|
runners: unmarshalArrayOfObject(data.runners, unmarshalRunner),
|
|
212
213
|
totalCount: data.total_count
|
|
213
214
|
};
|
|
214
215
|
};
|
|
215
|
-
|
|
216
|
+
var unmarshalListServerPrivateNetworksResponse = (data) => {
|
|
216
217
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ListServerPrivateNetworksResponse' failed as data isn't a dictionary.`);
|
|
217
218
|
return {
|
|
218
219
|
serverPrivateNetworks: unmarshalArrayOfObject(data.server_private_networks, unmarshalServerPrivateNetwork),
|
|
219
220
|
totalCount: data.total_count
|
|
220
221
|
};
|
|
221
222
|
};
|
|
222
|
-
|
|
223
|
+
var unmarshalListServerTypesResponse = (data) => {
|
|
223
224
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ListServerTypesResponse' failed as data isn't a dictionary.`);
|
|
224
225
|
return { serverTypes: unmarshalArrayOfObject(data.server_types, unmarshalServerType) };
|
|
225
226
|
};
|
|
226
|
-
|
|
227
|
+
var unmarshalListServersResponse = (data) => {
|
|
227
228
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ListServersResponse' failed as data isn't a dictionary.`);
|
|
228
229
|
return {
|
|
229
230
|
servers: unmarshalArrayOfObject(data.servers, unmarshalServer),
|
|
230
231
|
totalCount: data.total_count
|
|
231
232
|
};
|
|
232
233
|
};
|
|
233
|
-
|
|
234
|
+
var unmarshalSetServerPrivateNetworksResponse = (data) => {
|
|
234
235
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'SetServerPrivateNetworksResponse' failed as data isn't a dictionary.`);
|
|
235
236
|
return { serverPrivateNetworks: unmarshalArrayOfObject(data.server_private_networks, unmarshalServerPrivateNetwork) };
|
|
236
237
|
};
|
|
237
|
-
|
|
238
|
+
var unmarshalStartConnectivityDiagnosticResponse = (data) => {
|
|
238
239
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'StartConnectivityDiagnosticResponse' failed as data isn't a dictionary.`);
|
|
239
240
|
return { diagnosticId: data.diagnostic_id };
|
|
240
241
|
};
|
|
241
242
|
var marshalBatchCreateServersRequestBatchInnerCreateServerRequest = (request, defaults) => ({ name: request.name });
|
|
242
|
-
|
|
243
|
+
var marshalBatchCreateServersRequest = (request, defaults) => ({
|
|
243
244
|
commitment_type: request.commitmentType,
|
|
244
245
|
enable_kext: request.enableKext,
|
|
245
246
|
enable_vpc: request.enableVpc,
|
|
@@ -269,7 +270,7 @@ var marshalRunnerConfigurationV2 = (request, defaults) => ({
|
|
|
269
270
|
value: request.gitlabConfiguration !== void 0 ? marshalGitlabRunnerConfiguration(request.gitlabConfiguration, defaults) : void 0
|
|
270
271
|
}])
|
|
271
272
|
});
|
|
272
|
-
|
|
273
|
+
var marshalCreateRunnerRequest = (request, defaults) => ({
|
|
273
274
|
project_id: request.projectId ?? defaults.defaultProjectId,
|
|
274
275
|
runner_configuration: marshalRunnerConfigurationV2(request.runnerConfiguration, defaults)
|
|
275
276
|
});
|
|
@@ -280,7 +281,7 @@ var marshalRunnerConfiguration = (request, defaults) => ({
|
|
|
280
281
|
token: request.token,
|
|
281
282
|
url: request.url
|
|
282
283
|
});
|
|
283
|
-
|
|
284
|
+
var marshalCreateServerRequest = (request, defaults) => ({
|
|
284
285
|
applied_runner_configurations: request.appliedRunnerConfigurations !== void 0 ? marshalAppliedRunnerConfigurations(request.appliedRunnerConfigurations, defaults) : void 0,
|
|
285
286
|
commitment_type: request.commitmentType,
|
|
286
287
|
enable_kext: request.enableKext,
|
|
@@ -292,19 +293,19 @@ const marshalCreateServerRequest = (request, defaults) => ({
|
|
|
292
293
|
runner_configuration: request.runnerConfiguration !== void 0 ? marshalRunnerConfiguration(request.runnerConfiguration, defaults) : void 0,
|
|
293
294
|
type: request.type
|
|
294
295
|
});
|
|
295
|
-
|
|
296
|
+
var marshalPrivateNetworkApiAddServerPrivateNetworkRequest = (request, defaults) => ({
|
|
296
297
|
ipam_ip_ids: request.ipamIpIds,
|
|
297
298
|
private_network_id: request.privateNetworkId
|
|
298
299
|
});
|
|
299
|
-
|
|
300
|
-
|
|
300
|
+
var marshalPrivateNetworkApiSetServerPrivateNetworksRequest = (request, defaults) => ({ per_private_network_ipam_ip_ids: request.perPrivateNetworkIpamIpIds });
|
|
301
|
+
var marshalReinstallServerRequest = (request, defaults) => ({
|
|
301
302
|
enable_kext: request.enableKext,
|
|
302
303
|
os_id: request.osId
|
|
303
304
|
});
|
|
304
|
-
|
|
305
|
-
|
|
305
|
+
var marshalStartConnectivityDiagnosticRequest = (request, defaults) => ({ server_id: request.serverId });
|
|
306
|
+
var marshalUpdateRunnerRequest = (request, defaults) => ({ runner_configuration: marshalRunnerConfigurationV2(request.runnerConfiguration, defaults) });
|
|
306
307
|
var marshalCommitmentTypeValue = (request, defaults) => ({ commitment_type: request.commitmentType });
|
|
307
|
-
|
|
308
|
+
var marshalUpdateServerRequest = (request, defaults) => ({
|
|
308
309
|
applied_runner_configurations: request.appliedRunnerConfigurations !== void 0 ? marshalAppliedRunnerConfigurations(request.appliedRunnerConfigurations, defaults) : void 0,
|
|
309
310
|
commitment_type: request.commitmentType !== void 0 ? marshalCommitmentTypeValue(request.commitmentType, defaults) : void 0,
|
|
310
311
|
enable_vpc: request.enableVpc,
|
|
@@ -312,4 +313,5 @@ const marshalUpdateServerRequest = (request, defaults) => ({
|
|
|
312
313
|
public_bandwidth_bps: request.publicBandwidthBps,
|
|
313
314
|
schedule_deletion: request.scheduleDeletion
|
|
314
315
|
});
|
|
316
|
+
//#endregion
|
|
315
317
|
export { marshalBatchCreateServersRequest, marshalCreateRunnerRequest, marshalCreateServerRequest, marshalPrivateNetworkApiAddServerPrivateNetworkRequest, marshalPrivateNetworkApiSetServerPrivateNetworksRequest, marshalReinstallServerRequest, marshalStartConnectivityDiagnosticRequest, marshalUpdateRunnerRequest, marshalUpdateServerRequest, unmarshalBatchCreateServersResponse, unmarshalConnectivityDiagnostic, unmarshalListOSResponse, unmarshalListRunnersResponse, unmarshalListServerPrivateNetworksResponse, unmarshalListServerTypesResponse, unmarshalListServersResponse, unmarshalOS, unmarshalRunner, unmarshalServer, unmarshalServerPrivateNetwork, unmarshalServerType, unmarshalSetServerPrivateNetworksResponse, unmarshalStartConnectivityDiagnosticResponse };
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
export declare const queriesMetadata: {
|
|
2
|
+
readonly namespace: "applesilicon";
|
|
3
|
+
readonly version: "v1alpha1";
|
|
4
|
+
readonly folderName: "applesiliconv1alpha1";
|
|
5
|
+
readonly services: readonly [{
|
|
6
|
+
readonly apiClass: "API";
|
|
7
|
+
readonly methods: readonly [{
|
|
8
|
+
readonly methodName: "listServerTypes";
|
|
9
|
+
readonly protoName: "ListServerTypes";
|
|
10
|
+
readonly paramsType: "ListServerTypesRequest";
|
|
11
|
+
readonly returnType: "ListServerTypesResponse";
|
|
12
|
+
readonly isList: false;
|
|
13
|
+
readonly paginationType: "none";
|
|
14
|
+
readonly isPrivate: false;
|
|
15
|
+
readonly description: "\"";
|
|
16
|
+
}, {
|
|
17
|
+
readonly methodName: "getServerType";
|
|
18
|
+
readonly protoName: "GetServerType";
|
|
19
|
+
readonly paramsType: "GetServerTypeRequest";
|
|
20
|
+
readonly returnType: "ServerType";
|
|
21
|
+
readonly isList: false;
|
|
22
|
+
readonly paginationType: "none";
|
|
23
|
+
readonly isPrivate: false;
|
|
24
|
+
readonly description: "\"";
|
|
25
|
+
}, {
|
|
26
|
+
readonly methodName: "listServers";
|
|
27
|
+
readonly protoName: "ListServers";
|
|
28
|
+
readonly paramsType: "ListServersRequest";
|
|
29
|
+
readonly returnType: "ListServersResponse";
|
|
30
|
+
readonly isList: true;
|
|
31
|
+
readonly paginationType: "offset";
|
|
32
|
+
readonly pageParamKey: "page";
|
|
33
|
+
readonly listItemType: "Server";
|
|
34
|
+
readonly isPrivate: false;
|
|
35
|
+
readonly description: "\"";
|
|
36
|
+
}, {
|
|
37
|
+
readonly methodName: "listOS";
|
|
38
|
+
readonly protoName: "ListOS";
|
|
39
|
+
readonly paramsType: "ListOSRequest";
|
|
40
|
+
readonly returnType: "ListOSResponse";
|
|
41
|
+
readonly isList: true;
|
|
42
|
+
readonly paginationType: "offset";
|
|
43
|
+
readonly pageParamKey: "page";
|
|
44
|
+
readonly listItemType: "OS";
|
|
45
|
+
readonly isPrivate: false;
|
|
46
|
+
readonly description: "\"";
|
|
47
|
+
}, {
|
|
48
|
+
readonly methodName: "getOS";
|
|
49
|
+
readonly protoName: "GetOS";
|
|
50
|
+
readonly paramsType: "GetOSRequest";
|
|
51
|
+
readonly returnType: "OS";
|
|
52
|
+
readonly isList: false;
|
|
53
|
+
readonly paginationType: "none";
|
|
54
|
+
readonly isPrivate: false;
|
|
55
|
+
readonly description: "\"";
|
|
56
|
+
}, {
|
|
57
|
+
readonly methodName: "getServer";
|
|
58
|
+
readonly protoName: "GetServer";
|
|
59
|
+
readonly paramsType: "GetServerRequest";
|
|
60
|
+
readonly returnType: "Server";
|
|
61
|
+
readonly isList: false;
|
|
62
|
+
readonly paginationType: "none";
|
|
63
|
+
readonly isPrivate: false;
|
|
64
|
+
readonly description: "\"";
|
|
65
|
+
readonly hasWaiter: true;
|
|
66
|
+
}, {
|
|
67
|
+
readonly methodName: "getConnectivityDiagnostic";
|
|
68
|
+
readonly protoName: "GetConnectivityDiagnostic";
|
|
69
|
+
readonly paramsType: "GetConnectivityDiagnosticRequest";
|
|
70
|
+
readonly returnType: "ConnectivityDiagnostic";
|
|
71
|
+
readonly isList: false;
|
|
72
|
+
readonly paginationType: "none";
|
|
73
|
+
readonly isPrivate: false;
|
|
74
|
+
readonly description: "\"";
|
|
75
|
+
}, {
|
|
76
|
+
readonly methodName: "getRunner";
|
|
77
|
+
readonly protoName: "GetRunner";
|
|
78
|
+
readonly paramsType: "GetRunnerRequest";
|
|
79
|
+
readonly returnType: "Runner";
|
|
80
|
+
readonly isList: false;
|
|
81
|
+
readonly paginationType: "none";
|
|
82
|
+
readonly isPrivate: false;
|
|
83
|
+
readonly description: "\"";
|
|
84
|
+
readonly hasWaiter: true;
|
|
85
|
+
}, {
|
|
86
|
+
readonly methodName: "listRunners";
|
|
87
|
+
readonly protoName: "ListRunners";
|
|
88
|
+
readonly paramsType: "ListRunnersRequest";
|
|
89
|
+
readonly returnType: "ListRunnersResponse";
|
|
90
|
+
readonly isList: true;
|
|
91
|
+
readonly paginationType: "offset";
|
|
92
|
+
readonly pageParamKey: "page";
|
|
93
|
+
readonly listItemType: "Runner";
|
|
94
|
+
readonly isPrivate: false;
|
|
95
|
+
readonly description: "\"";
|
|
96
|
+
}];
|
|
97
|
+
}, {
|
|
98
|
+
readonly apiClass: "PrivateNetworkAPI";
|
|
99
|
+
readonly methods: readonly [{
|
|
100
|
+
readonly methodName: "getServerPrivateNetwork";
|
|
101
|
+
readonly protoName: "GetServerPrivateNetwork";
|
|
102
|
+
readonly paramsType: "PrivateNetworkApiGetServerPrivateNetworkRequest";
|
|
103
|
+
readonly returnType: "ServerPrivateNetwork";
|
|
104
|
+
readonly isList: false;
|
|
105
|
+
readonly paginationType: "none";
|
|
106
|
+
readonly isPrivate: false;
|
|
107
|
+
readonly description: "\"";
|
|
108
|
+
readonly hasWaiter: true;
|
|
109
|
+
}, {
|
|
110
|
+
readonly methodName: "listServerPrivateNetworks";
|
|
111
|
+
readonly protoName: "ListServerPrivateNetworks";
|
|
112
|
+
readonly paramsType: "PrivateNetworkApiListServerPrivateNetworksRequest";
|
|
113
|
+
readonly returnType: "ListServerPrivateNetworksResponse";
|
|
114
|
+
readonly isList: true;
|
|
115
|
+
readonly paginationType: "offset";
|
|
116
|
+
readonly pageParamKey: "page";
|
|
117
|
+
readonly listItemType: "ServerPrivateNetwork";
|
|
118
|
+
readonly isPrivate: false;
|
|
119
|
+
readonly description: "\"";
|
|
120
|
+
}];
|
|
121
|
+
}];
|
|
122
|
+
};
|
|
123
|
+
export type QueriesMetadata = typeof queriesMetadata;
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
//#region src/v1alpha1/metadata.gen.ts
|
|
2
|
+
var queriesMetadata = {
|
|
3
|
+
namespace: "applesilicon",
|
|
4
|
+
version: "v1alpha1",
|
|
5
|
+
folderName: "applesiliconv1alpha1",
|
|
6
|
+
services: [{
|
|
7
|
+
apiClass: "API",
|
|
8
|
+
methods: [
|
|
9
|
+
{
|
|
10
|
+
methodName: "listServerTypes",
|
|
11
|
+
protoName: "ListServerTypes",
|
|
12
|
+
paramsType: "ListServerTypesRequest",
|
|
13
|
+
returnType: "ListServerTypesResponse",
|
|
14
|
+
isList: false,
|
|
15
|
+
paginationType: "none",
|
|
16
|
+
isPrivate: false,
|
|
17
|
+
description: "\""
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
methodName: "getServerType",
|
|
21
|
+
protoName: "GetServerType",
|
|
22
|
+
paramsType: "GetServerTypeRequest",
|
|
23
|
+
returnType: "ServerType",
|
|
24
|
+
isList: false,
|
|
25
|
+
paginationType: "none",
|
|
26
|
+
isPrivate: false,
|
|
27
|
+
description: "\""
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
methodName: "listServers",
|
|
31
|
+
protoName: "ListServers",
|
|
32
|
+
paramsType: "ListServersRequest",
|
|
33
|
+
returnType: "ListServersResponse",
|
|
34
|
+
isList: true,
|
|
35
|
+
paginationType: "offset",
|
|
36
|
+
pageParamKey: "page",
|
|
37
|
+
listItemType: "Server",
|
|
38
|
+
isPrivate: false,
|
|
39
|
+
description: "\""
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
methodName: "listOS",
|
|
43
|
+
protoName: "ListOS",
|
|
44
|
+
paramsType: "ListOSRequest",
|
|
45
|
+
returnType: "ListOSResponse",
|
|
46
|
+
isList: true,
|
|
47
|
+
paginationType: "offset",
|
|
48
|
+
pageParamKey: "page",
|
|
49
|
+
listItemType: "OS",
|
|
50
|
+
isPrivate: false,
|
|
51
|
+
description: "\""
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
methodName: "getOS",
|
|
55
|
+
protoName: "GetOS",
|
|
56
|
+
paramsType: "GetOSRequest",
|
|
57
|
+
returnType: "OS",
|
|
58
|
+
isList: false,
|
|
59
|
+
paginationType: "none",
|
|
60
|
+
isPrivate: false,
|
|
61
|
+
description: "\""
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
methodName: "getServer",
|
|
65
|
+
protoName: "GetServer",
|
|
66
|
+
paramsType: "GetServerRequest",
|
|
67
|
+
returnType: "Server",
|
|
68
|
+
isList: false,
|
|
69
|
+
paginationType: "none",
|
|
70
|
+
isPrivate: false,
|
|
71
|
+
description: "\"",
|
|
72
|
+
hasWaiter: true
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
methodName: "getConnectivityDiagnostic",
|
|
76
|
+
protoName: "GetConnectivityDiagnostic",
|
|
77
|
+
paramsType: "GetConnectivityDiagnosticRequest",
|
|
78
|
+
returnType: "ConnectivityDiagnostic",
|
|
79
|
+
isList: false,
|
|
80
|
+
paginationType: "none",
|
|
81
|
+
isPrivate: false,
|
|
82
|
+
description: "\""
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
methodName: "getRunner",
|
|
86
|
+
protoName: "GetRunner",
|
|
87
|
+
paramsType: "GetRunnerRequest",
|
|
88
|
+
returnType: "Runner",
|
|
89
|
+
isList: false,
|
|
90
|
+
paginationType: "none",
|
|
91
|
+
isPrivate: false,
|
|
92
|
+
description: "\"",
|
|
93
|
+
hasWaiter: true
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
methodName: "listRunners",
|
|
97
|
+
protoName: "ListRunners",
|
|
98
|
+
paramsType: "ListRunnersRequest",
|
|
99
|
+
returnType: "ListRunnersResponse",
|
|
100
|
+
isList: true,
|
|
101
|
+
paginationType: "offset",
|
|
102
|
+
pageParamKey: "page",
|
|
103
|
+
listItemType: "Runner",
|
|
104
|
+
isPrivate: false,
|
|
105
|
+
description: "\""
|
|
106
|
+
}
|
|
107
|
+
]
|
|
108
|
+
}, {
|
|
109
|
+
apiClass: "PrivateNetworkAPI",
|
|
110
|
+
methods: [{
|
|
111
|
+
methodName: "getServerPrivateNetwork",
|
|
112
|
+
protoName: "GetServerPrivateNetwork",
|
|
113
|
+
paramsType: "PrivateNetworkApiGetServerPrivateNetworkRequest",
|
|
114
|
+
returnType: "ServerPrivateNetwork",
|
|
115
|
+
isList: false,
|
|
116
|
+
paginationType: "none",
|
|
117
|
+
isPrivate: false,
|
|
118
|
+
description: "\"",
|
|
119
|
+
hasWaiter: true
|
|
120
|
+
}, {
|
|
121
|
+
methodName: "listServerPrivateNetworks",
|
|
122
|
+
protoName: "ListServerPrivateNetworks",
|
|
123
|
+
paramsType: "PrivateNetworkApiListServerPrivateNetworksRequest",
|
|
124
|
+
returnType: "ListServerPrivateNetworksResponse",
|
|
125
|
+
isList: true,
|
|
126
|
+
paginationType: "offset",
|
|
127
|
+
pageParamKey: "page",
|
|
128
|
+
listItemType: "ServerPrivateNetwork",
|
|
129
|
+
isPrivate: false,
|
|
130
|
+
description: "\""
|
|
131
|
+
}]
|
|
132
|
+
}]
|
|
133
|
+
};
|
|
134
|
+
//#endregion
|
|
135
|
+
export { queriesMetadata };
|
|
File without changes
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { __exportAll } from "../_virtual/_rolldown/runtime.js";
|
|
2
|
+
//#region src/v1alpha1/validation-rules.gen.ts
|
|
2
3
|
var validation_rules_gen_exports = /* @__PURE__ */ __exportAll({ RunnerConfigurationV2: () => RunnerConfigurationV2 });
|
|
3
|
-
|
|
4
|
+
var RunnerConfigurationV2 = { name: {
|
|
4
5
|
maxLength: 255,
|
|
5
6
|
minLength: 1
|
|
6
7
|
} };
|
|
7
|
-
|
|
8
|
+
//#endregion
|
|
9
|
+
export { RunnerConfigurationV2, validation_rules_gen_exports };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scaleway/sdk-applesilicon",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.5.0",
|
|
4
4
|
"description": "Scaleway SDK applesilicon",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"files": [
|
|
@@ -26,14 +26,14 @@
|
|
|
26
26
|
"node": ">=20.19.6"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@scaleway/random-name": "5.1.
|
|
30
|
-
"@scaleway/sdk-std": "2.2.
|
|
29
|
+
"@scaleway/random-name": "5.1.4",
|
|
30
|
+
"@scaleway/sdk-std": "2.2.2"
|
|
31
31
|
},
|
|
32
32
|
"peerDependencies": {
|
|
33
|
-
"@scaleway/sdk-client": "^2.2.
|
|
33
|
+
"@scaleway/sdk-client": "^2.2.2"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
|
-
"@scaleway/sdk-client": "^2.2.
|
|
36
|
+
"@scaleway/sdk-client": "^2.2.2"
|
|
37
37
|
},
|
|
38
38
|
"scripts": {
|
|
39
39
|
"package:check": "pnpm publint",
|