@scaleway/sdk-baremetal 2.10.0 → 2.11.1
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/v1/constants.gen.d.ts +41 -0
- package/dist/v1/constants.gen.js +138 -0
- package/dist/v1/index.gen.d.ts +1 -0
- package/dist/v1/index.gen.js +22 -1
- package/dist/v3/constants.gen.d.ts +5 -0
- package/dist/v3/constants.gen.js +19 -0
- package/dist/v3/index.gen.d.ts +1 -0
- package/dist/v3/index.gen.js +4 -1
- package/package.json +4 -4
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import type { IPReverseStatus, IPVersion, ListServerEventsRequestOrderBy, ListServerPrivateNetworksRequestOrderBy, ListServersRequestOrderBy, ListSettingsRequestOrderBy, MemoryEccType, OfferStock, OfferSubscriptionPeriod, SchemaFilesystemFormat, SchemaPartitionLabel, SchemaPoolType, SchemaRAIDLevel, ServerBootType, ServerInstallStatus, ServerOptionOptionStatus, ServerPingStatus, ServerPrivateNetworkStatus, ServerStatus, SettingType } from './types.gen.js';
|
|
2
|
+
/** Lists all values of the enum {@link IPReverseStatus}. */
|
|
3
|
+
export declare const IP_REVERSE_STATUSES: IPReverseStatus[];
|
|
4
|
+
/** Lists all values of the enum {@link IPVersion}. */
|
|
5
|
+
export declare const IP_VERSIONS: IPVersion[];
|
|
6
|
+
/** Lists all values of the enum {@link ListServerEventsRequestOrderBy}. */
|
|
7
|
+
export declare const LIST_SERVER_EVENTS_REQUEST_ORDER_BIES: ListServerEventsRequestOrderBy[];
|
|
8
|
+
/** Lists all values of the enum {@link ListServerPrivateNetworksRequestOrderBy}. */
|
|
9
|
+
export declare const LIST_SERVER_PRIVATE_NETWORKS_REQUEST_ORDER_BIES: ListServerPrivateNetworksRequestOrderBy[];
|
|
10
|
+
/** Lists all values of the enum {@link ListServersRequestOrderBy}. */
|
|
11
|
+
export declare const LIST_SERVERS_REQUEST_ORDER_BIES: ListServersRequestOrderBy[];
|
|
12
|
+
/** Lists all values of the enum {@link ListSettingsRequestOrderBy}. */
|
|
13
|
+
export declare const LIST_SETTINGS_REQUEST_ORDER_BIES: ListSettingsRequestOrderBy[];
|
|
14
|
+
/** Lists all values of the enum {@link MemoryEccType}. */
|
|
15
|
+
export declare const MEMORY_ECC_TYPES: MemoryEccType[];
|
|
16
|
+
/** Lists all values of the enum {@link OfferStock}. */
|
|
17
|
+
export declare const OFFER_STOCKS: OfferStock[];
|
|
18
|
+
/** Lists all values of the enum {@link OfferSubscriptionPeriod}. */
|
|
19
|
+
export declare const OFFER_SUBSCRIPTION_PERIODS: OfferSubscriptionPeriod[];
|
|
20
|
+
/** Lists all values of the enum {@link SchemaFilesystemFormat}. */
|
|
21
|
+
export declare const SCHEMA_FILESYSTEM_FORMATS: SchemaFilesystemFormat[];
|
|
22
|
+
/** Lists all values of the enum {@link SchemaPartitionLabel}. */
|
|
23
|
+
export declare const SCHEMA_PARTITION_LABELS: SchemaPartitionLabel[];
|
|
24
|
+
/** Lists all values of the enum {@link SchemaPoolType}. */
|
|
25
|
+
export declare const SCHEMA_POOL_TYPES: SchemaPoolType[];
|
|
26
|
+
/** Lists all values of the enum {@link SchemaRAIDLevel}. */
|
|
27
|
+
export declare const SCHEMA_RAID_LEVELS: SchemaRAIDLevel[];
|
|
28
|
+
/** Lists all values of the enum {@link ServerBootType}. */
|
|
29
|
+
export declare const SERVER_BOOT_TYPES: ServerBootType[];
|
|
30
|
+
/** Lists all values of the enum {@link ServerInstallStatus}. */
|
|
31
|
+
export declare const SERVER_INSTALL_STATUSES: ServerInstallStatus[];
|
|
32
|
+
/** Lists all values of the enum {@link ServerOptionOptionStatus}. */
|
|
33
|
+
export declare const SERVER_OPTION_OPTION_STATUSES: ServerOptionOptionStatus[];
|
|
34
|
+
/** Lists all values of the enum {@link ServerPingStatus}. */
|
|
35
|
+
export declare const SERVER_PING_STATUSES: ServerPingStatus[];
|
|
36
|
+
/** Lists all values of the enum {@link ServerPrivateNetworkStatus}. */
|
|
37
|
+
export declare const SERVER_PRIVATE_NETWORK_STATUSES: ServerPrivateNetworkStatus[];
|
|
38
|
+
/** Lists all values of the enum {@link ServerStatus}. */
|
|
39
|
+
export declare const SERVER_STATUSES: ServerStatus[];
|
|
40
|
+
/** Lists all values of the enum {@link SettingType}. */
|
|
41
|
+
export declare const SETTING_TYPES: SettingType[];
|
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
//#region src/v1/constants.gen.ts
|
|
2
|
+
/** Lists all values of the enum {@link IPReverseStatus}. */
|
|
3
|
+
const IP_REVERSE_STATUSES = [
|
|
4
|
+
"unknown",
|
|
5
|
+
"pending",
|
|
6
|
+
"active",
|
|
7
|
+
"error"
|
|
8
|
+
];
|
|
9
|
+
/** Lists all values of the enum {@link IPVersion}. */
|
|
10
|
+
const IP_VERSIONS = ["IPv4", "IPv6"];
|
|
11
|
+
/** Lists all values of the enum {@link ListServerEventsRequestOrderBy}. */
|
|
12
|
+
const LIST_SERVER_EVENTS_REQUEST_ORDER_BIES = ["created_at_asc", "created_at_desc"];
|
|
13
|
+
/** Lists all values of the enum {@link ListServerPrivateNetworksRequestOrderBy}. */
|
|
14
|
+
const LIST_SERVER_PRIVATE_NETWORKS_REQUEST_ORDER_BIES = [
|
|
15
|
+
"created_at_asc",
|
|
16
|
+
"created_at_desc",
|
|
17
|
+
"updated_at_asc",
|
|
18
|
+
"updated_at_desc"
|
|
19
|
+
];
|
|
20
|
+
/** Lists all values of the enum {@link ListServersRequestOrderBy}. */
|
|
21
|
+
const LIST_SERVERS_REQUEST_ORDER_BIES = ["created_at_asc", "created_at_desc"];
|
|
22
|
+
/** Lists all values of the enum {@link ListSettingsRequestOrderBy}. */
|
|
23
|
+
const LIST_SETTINGS_REQUEST_ORDER_BIES = ["created_at_asc", "created_at_desc"];
|
|
24
|
+
/** Lists all values of the enum {@link MemoryEccType}. */
|
|
25
|
+
const MEMORY_ECC_TYPES = [
|
|
26
|
+
"unknown_ecc_type",
|
|
27
|
+
"none",
|
|
28
|
+
"standard",
|
|
29
|
+
"on_die"
|
|
30
|
+
];
|
|
31
|
+
/** Lists all values of the enum {@link OfferStock}. */
|
|
32
|
+
const OFFER_STOCKS = [
|
|
33
|
+
"empty",
|
|
34
|
+
"low",
|
|
35
|
+
"available"
|
|
36
|
+
];
|
|
37
|
+
/** Lists all values of the enum {@link OfferSubscriptionPeriod}. */
|
|
38
|
+
const OFFER_SUBSCRIPTION_PERIODS = [
|
|
39
|
+
"unknown_subscription_period",
|
|
40
|
+
"hourly",
|
|
41
|
+
"monthly"
|
|
42
|
+
];
|
|
43
|
+
/** Lists all values of the enum {@link SchemaFilesystemFormat}. */
|
|
44
|
+
const SCHEMA_FILESYSTEM_FORMATS = [
|
|
45
|
+
"unknown_format",
|
|
46
|
+
"fat32",
|
|
47
|
+
"ext4",
|
|
48
|
+
"swap",
|
|
49
|
+
"zfs",
|
|
50
|
+
"xfs"
|
|
51
|
+
];
|
|
52
|
+
/** Lists all values of the enum {@link SchemaPartitionLabel}. */
|
|
53
|
+
const SCHEMA_PARTITION_LABELS = [
|
|
54
|
+
"unknown_partition_label",
|
|
55
|
+
"uefi",
|
|
56
|
+
"legacy",
|
|
57
|
+
"root",
|
|
58
|
+
"boot",
|
|
59
|
+
"swap",
|
|
60
|
+
"data",
|
|
61
|
+
"home",
|
|
62
|
+
"raid",
|
|
63
|
+
"zfs"
|
|
64
|
+
];
|
|
65
|
+
/** Lists all values of the enum {@link SchemaPoolType}. */
|
|
66
|
+
const SCHEMA_POOL_TYPES = [
|
|
67
|
+
"unknown_type",
|
|
68
|
+
"no_raid",
|
|
69
|
+
"mirror",
|
|
70
|
+
"raidz1",
|
|
71
|
+
"raidz2"
|
|
72
|
+
];
|
|
73
|
+
/** Lists all values of the enum {@link SchemaRAIDLevel}. */
|
|
74
|
+
const SCHEMA_RAID_LEVELS = [
|
|
75
|
+
"unknown_raid_level",
|
|
76
|
+
"raid_level_0",
|
|
77
|
+
"raid_level_1",
|
|
78
|
+
"raid_level_5",
|
|
79
|
+
"raid_level_6",
|
|
80
|
+
"raid_level_10"
|
|
81
|
+
];
|
|
82
|
+
/** Lists all values of the enum {@link ServerBootType}. */
|
|
83
|
+
const SERVER_BOOT_TYPES = [
|
|
84
|
+
"unknown_boot_type",
|
|
85
|
+
"normal",
|
|
86
|
+
"rescue"
|
|
87
|
+
];
|
|
88
|
+
/** Lists all values of the enum {@link ServerInstallStatus}. */
|
|
89
|
+
const SERVER_INSTALL_STATUSES = [
|
|
90
|
+
"unknown",
|
|
91
|
+
"to_install",
|
|
92
|
+
"installing",
|
|
93
|
+
"completed",
|
|
94
|
+
"error"
|
|
95
|
+
];
|
|
96
|
+
/** Lists all values of the enum {@link ServerOptionOptionStatus}. */
|
|
97
|
+
const SERVER_OPTION_OPTION_STATUSES = [
|
|
98
|
+
"option_status_unknown",
|
|
99
|
+
"option_status_enable",
|
|
100
|
+
"option_status_enabling",
|
|
101
|
+
"option_status_disabling",
|
|
102
|
+
"option_status_error"
|
|
103
|
+
];
|
|
104
|
+
/** Lists all values of the enum {@link ServerPingStatus}. */
|
|
105
|
+
const SERVER_PING_STATUSES = [
|
|
106
|
+
"ping_status_unknown",
|
|
107
|
+
"ping_status_up",
|
|
108
|
+
"ping_status_down"
|
|
109
|
+
];
|
|
110
|
+
/** Lists all values of the enum {@link ServerPrivateNetworkStatus}. */
|
|
111
|
+
const SERVER_PRIVATE_NETWORK_STATUSES = [
|
|
112
|
+
"unknown",
|
|
113
|
+
"attaching",
|
|
114
|
+
"attached",
|
|
115
|
+
"error",
|
|
116
|
+
"detaching",
|
|
117
|
+
"locked"
|
|
118
|
+
];
|
|
119
|
+
/** Lists all values of the enum {@link ServerStatus}. */
|
|
120
|
+
const SERVER_STATUSES = [
|
|
121
|
+
"unknown",
|
|
122
|
+
"delivering",
|
|
123
|
+
"ready",
|
|
124
|
+
"stopping",
|
|
125
|
+
"stopped",
|
|
126
|
+
"starting",
|
|
127
|
+
"error",
|
|
128
|
+
"deleting",
|
|
129
|
+
"locked",
|
|
130
|
+
"out_of_stock",
|
|
131
|
+
"ordered",
|
|
132
|
+
"resetting",
|
|
133
|
+
"migrating"
|
|
134
|
+
];
|
|
135
|
+
/** Lists all values of the enum {@link SettingType}. */
|
|
136
|
+
const SETTING_TYPES = ["unknown", "smtp"];
|
|
137
|
+
//#endregion
|
|
138
|
+
export { IP_REVERSE_STATUSES, IP_VERSIONS, LIST_SERVERS_REQUEST_ORDER_BIES, LIST_SERVER_EVENTS_REQUEST_ORDER_BIES, LIST_SERVER_PRIVATE_NETWORKS_REQUEST_ORDER_BIES, LIST_SETTINGS_REQUEST_ORDER_BIES, MEMORY_ECC_TYPES, OFFER_STOCKS, OFFER_SUBSCRIPTION_PERIODS, SCHEMA_FILESYSTEM_FORMATS, SCHEMA_PARTITION_LABELS, SCHEMA_POOL_TYPES, SCHEMA_RAID_LEVELS, SERVER_BOOT_TYPES, SERVER_INSTALL_STATUSES, SERVER_OPTION_OPTION_STATUSES, SERVER_PING_STATUSES, SERVER_PRIVATE_NETWORK_STATUSES, SERVER_STATUSES, SETTING_TYPES };
|
package/dist/v1/index.gen.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export { API, PrivateNetworkAPI, } from './api.gen.js';
|
|
2
2
|
export * from './content.gen.js';
|
|
3
|
+
export * from './constants.gen.js';
|
|
3
4
|
export * from './marshalling.gen.js';
|
|
4
5
|
export type { AddOptionServerRequest, BMCAccess, BatchCreateServersRequest, BatchCreateServersRequestServerConfig, BatchCreateServersResponse, CPU, CertificationOption, CreateServerRequest, CreateServerRequestInstall, DeleteOptionServerRequest, DeleteServerRequest, Disk, GPU, GetBMCAccessRequest, GetDefaultPartitioningSchemaRequest, GetOSRequest, GetOfferRequest, GetOptionRequest, GetServerMetricsRequest, GetServerMetricsResponse, GetServerRequest, IP, IPReverseStatus, IPVersion, InstallServerRequest, LicenseOption, ListOSRequest, ListOSResponse, ListOffersRequest, ListOffersResponse, ListOptionsRequest, ListOptionsResponse, ListServerEventsRequest, ListServerEventsRequestOrderBy, ListServerEventsResponse, ListServerPrivateNetworksRequestOrderBy, ListServerPrivateNetworksResponse, ListServersRequest, ListServersRequestOrderBy, ListServersResponse, ListSettingsRequest, ListSettingsRequestOrderBy, ListSettingsResponse, Memory, MemoryEccType, MigrateServerToMonthlyOfferRequest, OS, OSOSField, Offer, OfferOptionOffer, OfferStock, OfferSubscriptionPeriod, Option, PersistentMemory, PrivateNetworkApiAddServerPrivateNetworkRequest, PrivateNetworkApiDeleteServerPrivateNetworkRequest, PrivateNetworkApiListServerPrivateNetworksRequest, PrivateNetworkApiSetServerPrivateNetworksRequest, PrivateNetworkOption, PublicBandwidthOption, RaidController, RebootServerRequest, RemoteAccessOption, Schema, SchemaDisk, SchemaFilesystem, SchemaFilesystemFormat, SchemaPartition, SchemaPartitionLabel, SchemaPool, SchemaPoolType, SchemaRAID, SchemaRAIDLevel, SchemaZFS, Server, ServerBootType, ServerEvent, ServerInstall, ServerInstallStatus, ServerOption, ServerOptionOptionStatus, ServerPingStatus, ServerPrivateNetwork, ServerPrivateNetworkStatus, ServerRescueServer, ServerStatus, SetServerPrivateNetworksResponse, Setting, SettingType, StartBMCAccessRequest, StartServerRequest, StopBMCAccessRequest, StopServerRequest, UpdateIPRequest, UpdateServerRequest, UpdateSettingRequest, ValidatePartitioningSchemaRequest, } from './types.gen.js';
|
|
5
6
|
export * as ValidationRules from './validation-rules.gen.js';
|
package/dist/v1/index.gen.js
CHANGED
|
@@ -2,14 +2,35 @@ import { __exportAll } from "../_virtual/_rolldown/runtime.js";
|
|
|
2
2
|
import { SERVER_INSTALL_TRANSIENT_STATUSES, SERVER_PRIVATE_NETWORK_TRANSIENT_STATUSES, SERVER_TRANSIENT_STATUSES } from "./content.gen.js";
|
|
3
3
|
import { marshalAddOptionServerRequest, marshalBatchCreateServersRequest, marshalCreateServerRequest, marshalInstallServerRequest, marshalPrivateNetworkApiAddServerPrivateNetworkRequest, marshalPrivateNetworkApiSetServerPrivateNetworksRequest, marshalRebootServerRequest, marshalSchema, marshalStartBMCAccessRequest, marshalStartServerRequest, marshalUpdateIPRequest, marshalUpdateServerRequest, marshalUpdateSettingRequest, marshalValidatePartitioningSchemaRequest, unmarshalBMCAccess, unmarshalBatchCreateServersResponse, unmarshalGetServerMetricsResponse, unmarshalIP, unmarshalListOSResponse, unmarshalListOffersResponse, unmarshalListOptionsResponse, unmarshalListServerEventsResponse, unmarshalListServerPrivateNetworksResponse, unmarshalListServersResponse, unmarshalListSettingsResponse, unmarshalOS, unmarshalOffer, unmarshalOption, unmarshalSchema, unmarshalServer, unmarshalServerPrivateNetwork, unmarshalSetServerPrivateNetworksResponse, unmarshalSetting } from "./marshalling.gen.js";
|
|
4
4
|
import { API, PrivateNetworkAPI } from "./api.gen.js";
|
|
5
|
+
import { IP_REVERSE_STATUSES, IP_VERSIONS, LIST_SERVERS_REQUEST_ORDER_BIES, LIST_SERVER_EVENTS_REQUEST_ORDER_BIES, LIST_SERVER_PRIVATE_NETWORKS_REQUEST_ORDER_BIES, LIST_SETTINGS_REQUEST_ORDER_BIES, MEMORY_ECC_TYPES, OFFER_STOCKS, OFFER_SUBSCRIPTION_PERIODS, SCHEMA_FILESYSTEM_FORMATS, SCHEMA_PARTITION_LABELS, SCHEMA_POOL_TYPES, SCHEMA_RAID_LEVELS, SERVER_BOOT_TYPES, SERVER_INSTALL_STATUSES, SERVER_OPTION_OPTION_STATUSES, SERVER_PING_STATUSES, SERVER_PRIVATE_NETWORK_STATUSES, SERVER_STATUSES, SETTING_TYPES } from "./constants.gen.js";
|
|
5
6
|
import { validation_rules_gen_exports } from "./validation-rules.gen.js";
|
|
6
7
|
//#region src/v1/index.gen.ts
|
|
7
8
|
var index_gen_exports = /* @__PURE__ */ __exportAll({
|
|
8
9
|
API: () => API,
|
|
10
|
+
IP_REVERSE_STATUSES: () => IP_REVERSE_STATUSES,
|
|
11
|
+
IP_VERSIONS: () => IP_VERSIONS,
|
|
12
|
+
LIST_SERVERS_REQUEST_ORDER_BIES: () => LIST_SERVERS_REQUEST_ORDER_BIES,
|
|
13
|
+
LIST_SERVER_EVENTS_REQUEST_ORDER_BIES: () => LIST_SERVER_EVENTS_REQUEST_ORDER_BIES,
|
|
14
|
+
LIST_SERVER_PRIVATE_NETWORKS_REQUEST_ORDER_BIES: () => LIST_SERVER_PRIVATE_NETWORKS_REQUEST_ORDER_BIES,
|
|
15
|
+
LIST_SETTINGS_REQUEST_ORDER_BIES: () => LIST_SETTINGS_REQUEST_ORDER_BIES,
|
|
16
|
+
MEMORY_ECC_TYPES: () => MEMORY_ECC_TYPES,
|
|
17
|
+
OFFER_STOCKS: () => OFFER_STOCKS,
|
|
18
|
+
OFFER_SUBSCRIPTION_PERIODS: () => OFFER_SUBSCRIPTION_PERIODS,
|
|
9
19
|
PrivateNetworkAPI: () => PrivateNetworkAPI,
|
|
20
|
+
SCHEMA_FILESYSTEM_FORMATS: () => SCHEMA_FILESYSTEM_FORMATS,
|
|
21
|
+
SCHEMA_PARTITION_LABELS: () => SCHEMA_PARTITION_LABELS,
|
|
22
|
+
SCHEMA_POOL_TYPES: () => SCHEMA_POOL_TYPES,
|
|
23
|
+
SCHEMA_RAID_LEVELS: () => SCHEMA_RAID_LEVELS,
|
|
24
|
+
SERVER_BOOT_TYPES: () => SERVER_BOOT_TYPES,
|
|
25
|
+
SERVER_INSTALL_STATUSES: () => SERVER_INSTALL_STATUSES,
|
|
10
26
|
SERVER_INSTALL_TRANSIENT_STATUSES: () => SERVER_INSTALL_TRANSIENT_STATUSES,
|
|
27
|
+
SERVER_OPTION_OPTION_STATUSES: () => SERVER_OPTION_OPTION_STATUSES,
|
|
28
|
+
SERVER_PING_STATUSES: () => SERVER_PING_STATUSES,
|
|
29
|
+
SERVER_PRIVATE_NETWORK_STATUSES: () => SERVER_PRIVATE_NETWORK_STATUSES,
|
|
11
30
|
SERVER_PRIVATE_NETWORK_TRANSIENT_STATUSES: () => SERVER_PRIVATE_NETWORK_TRANSIENT_STATUSES,
|
|
31
|
+
SERVER_STATUSES: () => SERVER_STATUSES,
|
|
12
32
|
SERVER_TRANSIENT_STATUSES: () => SERVER_TRANSIENT_STATUSES,
|
|
33
|
+
SETTING_TYPES: () => SETTING_TYPES,
|
|
13
34
|
ValidationRules: () => validation_rules_gen_exports,
|
|
14
35
|
marshalAddOptionServerRequest: () => marshalAddOptionServerRequest,
|
|
15
36
|
marshalBatchCreateServersRequest: () => marshalBatchCreateServersRequest,
|
|
@@ -46,4 +67,4 @@ var index_gen_exports = /* @__PURE__ */ __exportAll({
|
|
|
46
67
|
unmarshalSetting: () => unmarshalSetting
|
|
47
68
|
});
|
|
48
69
|
//#endregion
|
|
49
|
-
export { API, PrivateNetworkAPI, SERVER_INSTALL_TRANSIENT_STATUSES, SERVER_PRIVATE_NETWORK_TRANSIENT_STATUSES, SERVER_TRANSIENT_STATUSES, validation_rules_gen_exports as ValidationRules, index_gen_exports, marshalAddOptionServerRequest, marshalBatchCreateServersRequest, marshalCreateServerRequest, marshalInstallServerRequest, marshalPrivateNetworkApiAddServerPrivateNetworkRequest, marshalPrivateNetworkApiSetServerPrivateNetworksRequest, marshalRebootServerRequest, marshalSchema, marshalStartBMCAccessRequest, marshalStartServerRequest, marshalUpdateIPRequest, marshalUpdateServerRequest, marshalUpdateSettingRequest, marshalValidatePartitioningSchemaRequest, unmarshalBMCAccess, unmarshalBatchCreateServersResponse, unmarshalGetServerMetricsResponse, unmarshalIP, unmarshalListOSResponse, unmarshalListOffersResponse, unmarshalListOptionsResponse, unmarshalListServerEventsResponse, unmarshalListServerPrivateNetworksResponse, unmarshalListServersResponse, unmarshalListSettingsResponse, unmarshalOS, unmarshalOffer, unmarshalOption, unmarshalSchema, unmarshalServer, unmarshalServerPrivateNetwork, unmarshalSetServerPrivateNetworksResponse, unmarshalSetting };
|
|
70
|
+
export { API, IP_REVERSE_STATUSES, IP_VERSIONS, LIST_SERVERS_REQUEST_ORDER_BIES, LIST_SERVER_EVENTS_REQUEST_ORDER_BIES, LIST_SERVER_PRIVATE_NETWORKS_REQUEST_ORDER_BIES, LIST_SETTINGS_REQUEST_ORDER_BIES, MEMORY_ECC_TYPES, OFFER_STOCKS, OFFER_SUBSCRIPTION_PERIODS, PrivateNetworkAPI, SCHEMA_FILESYSTEM_FORMATS, SCHEMA_PARTITION_LABELS, SCHEMA_POOL_TYPES, SCHEMA_RAID_LEVELS, SERVER_BOOT_TYPES, SERVER_INSTALL_STATUSES, SERVER_INSTALL_TRANSIENT_STATUSES, SERVER_OPTION_OPTION_STATUSES, SERVER_PING_STATUSES, SERVER_PRIVATE_NETWORK_STATUSES, SERVER_PRIVATE_NETWORK_TRANSIENT_STATUSES, SERVER_STATUSES, SERVER_TRANSIENT_STATUSES, SETTING_TYPES, validation_rules_gen_exports as ValidationRules, index_gen_exports, marshalAddOptionServerRequest, marshalBatchCreateServersRequest, marshalCreateServerRequest, marshalInstallServerRequest, marshalPrivateNetworkApiAddServerPrivateNetworkRequest, marshalPrivateNetworkApiSetServerPrivateNetworksRequest, marshalRebootServerRequest, marshalSchema, marshalStartBMCAccessRequest, marshalStartServerRequest, marshalUpdateIPRequest, marshalUpdateServerRequest, marshalUpdateSettingRequest, marshalValidatePartitioningSchemaRequest, unmarshalBMCAccess, unmarshalBatchCreateServersResponse, unmarshalGetServerMetricsResponse, unmarshalIP, unmarshalListOSResponse, unmarshalListOffersResponse, unmarshalListOptionsResponse, unmarshalListServerEventsResponse, unmarshalListServerPrivateNetworksResponse, unmarshalListServersResponse, unmarshalListSettingsResponse, unmarshalOS, unmarshalOffer, unmarshalOption, unmarshalSchema, unmarshalServer, unmarshalServerPrivateNetwork, unmarshalSetServerPrivateNetworksResponse, unmarshalSetting };
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { ListServerPrivateNetworksRequestOrderBy, ServerPrivateNetworkStatus } from './types.gen.js';
|
|
2
|
+
/** Lists all values of the enum {@link ListServerPrivateNetworksRequestOrderBy}. */
|
|
3
|
+
export declare const LIST_SERVER_PRIVATE_NETWORKS_REQUEST_ORDER_BIES: ListServerPrivateNetworksRequestOrderBy[];
|
|
4
|
+
/** Lists all values of the enum {@link ServerPrivateNetworkStatus}. */
|
|
5
|
+
export declare const SERVER_PRIVATE_NETWORK_STATUSES: ServerPrivateNetworkStatus[];
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
//#region src/v3/constants.gen.ts
|
|
2
|
+
/** Lists all values of the enum {@link ListServerPrivateNetworksRequestOrderBy}. */
|
|
3
|
+
const LIST_SERVER_PRIVATE_NETWORKS_REQUEST_ORDER_BIES = [
|
|
4
|
+
"created_at_asc",
|
|
5
|
+
"created_at_desc",
|
|
6
|
+
"updated_at_asc",
|
|
7
|
+
"updated_at_desc"
|
|
8
|
+
];
|
|
9
|
+
/** Lists all values of the enum {@link ServerPrivateNetworkStatus}. */
|
|
10
|
+
const SERVER_PRIVATE_NETWORK_STATUSES = [
|
|
11
|
+
"unknown_status",
|
|
12
|
+
"attaching",
|
|
13
|
+
"attached",
|
|
14
|
+
"error",
|
|
15
|
+
"detaching",
|
|
16
|
+
"locked"
|
|
17
|
+
];
|
|
18
|
+
//#endregion
|
|
19
|
+
export { LIST_SERVER_PRIVATE_NETWORKS_REQUEST_ORDER_BIES, SERVER_PRIVATE_NETWORK_STATUSES };
|
package/dist/v3/index.gen.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export { PrivateNetworkAPI, } from './api.gen.js';
|
|
2
2
|
export * from './content.gen.js';
|
|
3
|
+
export * from './constants.gen.js';
|
|
3
4
|
export * from './marshalling.gen.js';
|
|
4
5
|
export type { ListServerPrivateNetworksRequestOrderBy, ListServerPrivateNetworksResponse, PrivateNetworkApiAddServerPrivateNetworkRequest, PrivateNetworkApiDeleteServerPrivateNetworkRequest, PrivateNetworkApiListServerPrivateNetworksRequest, PrivateNetworkApiSetServerPrivateNetworksRequest, ServerPrivateNetwork, ServerPrivateNetworkStatus, SetServerPrivateNetworksResponse, } from './types.gen.js';
|
package/dist/v3/index.gen.js
CHANGED
|
@@ -2,9 +2,12 @@ import { __exportAll } from "../_virtual/_rolldown/runtime.js";
|
|
|
2
2
|
import { marshalPrivateNetworkApiAddServerPrivateNetworkRequest, marshalPrivateNetworkApiSetServerPrivateNetworksRequest, unmarshalListServerPrivateNetworksResponse, unmarshalServerPrivateNetwork, unmarshalSetServerPrivateNetworksResponse } from "./marshalling.gen.js";
|
|
3
3
|
import { PrivateNetworkAPI } from "./api.gen.js";
|
|
4
4
|
import { SERVER_PRIVATE_NETWORK_TRANSIENT_STATUSES } from "./content.gen.js";
|
|
5
|
+
import { LIST_SERVER_PRIVATE_NETWORKS_REQUEST_ORDER_BIES, SERVER_PRIVATE_NETWORK_STATUSES } from "./constants.gen.js";
|
|
5
6
|
//#region src/v3/index.gen.ts
|
|
6
7
|
var index_gen_exports = /* @__PURE__ */ __exportAll({
|
|
8
|
+
LIST_SERVER_PRIVATE_NETWORKS_REQUEST_ORDER_BIES: () => LIST_SERVER_PRIVATE_NETWORKS_REQUEST_ORDER_BIES,
|
|
7
9
|
PrivateNetworkAPI: () => PrivateNetworkAPI,
|
|
10
|
+
SERVER_PRIVATE_NETWORK_STATUSES: () => SERVER_PRIVATE_NETWORK_STATUSES,
|
|
8
11
|
SERVER_PRIVATE_NETWORK_TRANSIENT_STATUSES: () => SERVER_PRIVATE_NETWORK_TRANSIENT_STATUSES,
|
|
9
12
|
marshalPrivateNetworkApiAddServerPrivateNetworkRequest: () => marshalPrivateNetworkApiAddServerPrivateNetworkRequest,
|
|
10
13
|
marshalPrivateNetworkApiSetServerPrivateNetworksRequest: () => marshalPrivateNetworkApiSetServerPrivateNetworksRequest,
|
|
@@ -13,4 +16,4 @@ var index_gen_exports = /* @__PURE__ */ __exportAll({
|
|
|
13
16
|
unmarshalSetServerPrivateNetworksResponse: () => unmarshalSetServerPrivateNetworksResponse
|
|
14
17
|
});
|
|
15
18
|
//#endregion
|
|
16
|
-
export { PrivateNetworkAPI, SERVER_PRIVATE_NETWORK_TRANSIENT_STATUSES, index_gen_exports, marshalPrivateNetworkApiAddServerPrivateNetworkRequest, marshalPrivateNetworkApiSetServerPrivateNetworksRequest, unmarshalListServerPrivateNetworksResponse, unmarshalServerPrivateNetwork, unmarshalSetServerPrivateNetworksResponse };
|
|
19
|
+
export { LIST_SERVER_PRIVATE_NETWORKS_REQUEST_ORDER_BIES, PrivateNetworkAPI, SERVER_PRIVATE_NETWORK_STATUSES, SERVER_PRIVATE_NETWORK_TRANSIENT_STATUSES, index_gen_exports, marshalPrivateNetworkApiAddServerPrivateNetworkRequest, marshalPrivateNetworkApiSetServerPrivateNetworksRequest, unmarshalListServerPrivateNetworksResponse, unmarshalServerPrivateNetwork, unmarshalSetServerPrivateNetworksResponse };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scaleway/sdk-baremetal",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.11.1",
|
|
4
4
|
"description": "Scaleway SDK baremetal",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -33,14 +33,14 @@
|
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@scaleway/random-name": "6.0.2",
|
|
36
|
-
"@scaleway/sdk-std": "2.
|
|
36
|
+
"@scaleway/sdk-std": "2.7.1"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
39
|
"@repo/configs": "^0.1.1",
|
|
40
|
-
"@scaleway/sdk-client": "^2.
|
|
40
|
+
"@scaleway/sdk-client": "^2.7.0"
|
|
41
41
|
},
|
|
42
42
|
"peerDependencies": {
|
|
43
|
-
"@scaleway/sdk-client": "^2.
|
|
43
|
+
"@scaleway/sdk-client": "^2.7.0"
|
|
44
44
|
},
|
|
45
45
|
"engines": {
|
|
46
46
|
"node": ">=20.20.2"
|