@scaleway/sdk-dedibox 2.2.0 → 2.3.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/README.md +1 -1
- package/dist/_virtual/_rolldown/runtime.js +11 -0
- package/dist/index.gen.js +2 -4
- package/dist/v1/api.gen.js +911 -1452
- package/dist/v1/content.gen.js +28 -41
- package/dist/v1/index.gen.js +104 -102
- package/dist/v1/marshalling.gen.js +845 -1363
- package/dist/v1/validation-rules.gen.js +276 -586
- package/package.json +4 -4
package/dist/v1/content.gen.js
CHANGED
|
@@ -1,49 +1,36 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
];
|
|
1
|
+
/** Lists transient statutes of the enum {@link BMCAccessStatus}. */
|
|
2
|
+
const BMC_ACCESS_TRANSIENT_STATUSES = ["creating", "deleting"];
|
|
3
|
+
/** Lists transient statutes of the enum {@link IPv6BlockDelegationStatus}. */
|
|
5
4
|
const I_PV6_BLOCK_DELEGATION_TRANSIENT_STATUSES = ["updating"];
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
];
|
|
10
|
-
|
|
11
|
-
"creating",
|
|
12
|
-
"deleting"
|
|
13
|
-
];
|
|
5
|
+
/** Lists transient statutes of the enum {@link RpnGroupMemberStatus}. */
|
|
6
|
+
const RPN_GROUP_MEMBER_TRANSIENT_STATUSES = ["creating", "deleting"];
|
|
7
|
+
/** Lists transient statutes of the enum {@link RpnSanStatus}. */
|
|
8
|
+
const RPN_SAN_TRANSIENT_STATUSES = ["creating", "deleting"];
|
|
9
|
+
/** Lists transient statutes of the enum {@link RpnV2GroupStatus}. */
|
|
14
10
|
const RPN_V2_GROUP_TRANSIENT_STATUSES = [
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
11
|
+
"creating",
|
|
12
|
+
"updating",
|
|
13
|
+
"deleting"
|
|
18
14
|
];
|
|
15
|
+
/** Lists transient statutes of the enum {@link RpnV2MemberStatus}. */
|
|
19
16
|
const RPN_V2_MEMBER_TRANSIENT_STATUSES = [
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
17
|
+
"creating",
|
|
18
|
+
"updating",
|
|
19
|
+
"deleting"
|
|
23
20
|
];
|
|
21
|
+
/** Lists transient statutes of the enum {@link ServerInstallStatus}. */
|
|
24
22
|
const SERVER_INSTALL_TRANSIENT_STATUSES = [
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
];
|
|
34
|
-
const SERVER_TRANSIENT_STATUSES = [
|
|
35
|
-
"delivering",
|
|
36
|
-
"installing"
|
|
23
|
+
"booting",
|
|
24
|
+
"setting_up_raid",
|
|
25
|
+
"partitioning",
|
|
26
|
+
"formatting",
|
|
27
|
+
"installing",
|
|
28
|
+
"configuring",
|
|
29
|
+
"configuring_bootloader",
|
|
30
|
+
"rebooting"
|
|
37
31
|
];
|
|
32
|
+
/** Lists transient statutes of the enum {@link ServerStatus}. */
|
|
33
|
+
const SERVER_TRANSIENT_STATUSES = ["delivering", "installing"];
|
|
34
|
+
/** Lists transient statutes of the enum {@link ServiceProvisioningStatus}. */
|
|
38
35
|
const SERVICE_PROVISIONING_TRANSIENT_STATUSES = ["delivering", "expiring"];
|
|
39
|
-
export {
|
|
40
|
-
BMC_ACCESS_TRANSIENT_STATUSES,
|
|
41
|
-
I_PV6_BLOCK_DELEGATION_TRANSIENT_STATUSES,
|
|
42
|
-
RPN_GROUP_MEMBER_TRANSIENT_STATUSES,
|
|
43
|
-
RPN_SAN_TRANSIENT_STATUSES,
|
|
44
|
-
RPN_V2_GROUP_TRANSIENT_STATUSES,
|
|
45
|
-
RPN_V2_MEMBER_TRANSIENT_STATUSES,
|
|
46
|
-
SERVER_INSTALL_TRANSIENT_STATUSES,
|
|
47
|
-
SERVER_TRANSIENT_STATUSES,
|
|
48
|
-
SERVICE_PROVISIONING_TRANSIENT_STATUSES
|
|
49
|
-
};
|
|
36
|
+
export { BMC_ACCESS_TRANSIENT_STATUSES, I_PV6_BLOCK_DELEGATION_TRANSIENT_STATUSES, RPN_GROUP_MEMBER_TRANSIENT_STATUSES, RPN_SAN_TRANSIENT_STATUSES, RPN_V2_GROUP_TRANSIENT_STATUSES, RPN_V2_MEMBER_TRANSIENT_STATUSES, SERVER_INSTALL_TRANSIENT_STATUSES, SERVER_TRANSIENT_STATUSES, SERVICE_PROVISIONING_TRANSIENT_STATUSES };
|
package/dist/v1/index.gen.js
CHANGED
|
@@ -1,104 +1,106 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { __exportAll } from "../_virtual/_rolldown/runtime.js";
|
|
2
2
|
import { BMC_ACCESS_TRANSIENT_STATUSES, I_PV6_BLOCK_DELEGATION_TRANSIENT_STATUSES, RPN_GROUP_MEMBER_TRANSIENT_STATUSES, RPN_SAN_TRANSIENT_STATUSES, RPN_V2_GROUP_TRANSIENT_STATUSES, RPN_V2_MEMBER_TRANSIENT_STATUSES, SERVER_INSTALL_TRANSIENT_STATUSES, SERVER_TRANSIENT_STATUSES, SERVICE_PROVISIONING_TRANSIENT_STATUSES } from "./content.gen.js";
|
|
3
3
|
import { marshalAttachFailoverIPToMacAddressRequest, marshalAttachFailoverIPsRequest, marshalCreateFailoverIPsRequest, marshalCreateServerRequest, marshalDetachFailoverIPsRequest, marshalIPv6BlockApiCreateIPv6BlockRequest, marshalIPv6BlockApiCreateIPv6BlockSubnetRequest, marshalIPv6BlockApiUpdateIPv6BlockRequest, marshalInstallServerRequest, marshalRpnSanApiAddIpRequest, marshalRpnSanApiCreateRpnSanRequest, marshalRpnSanApiRemoveIpRequest, marshalRpnV1ApiAddRpnGroupMembersRequest, marshalRpnV1ApiCreateRpnGroupRequest, marshalRpnV1ApiDeleteRpnGroupMembersRequest, marshalRpnV1ApiLeaveRpnGroupRequest, marshalRpnV1ApiRpnGroupInviteRequest, marshalRpnV1ApiUpdateRpnGroupNameRequest, marshalRpnV2ApiAddRpnV2MembersRequest, marshalRpnV2ApiCreateRpnV2GroupRequest, marshalRpnV2ApiDeleteRpnV2MembersRequest, marshalRpnV2ApiEnableRpnV2GroupCompatibilityRequest, marshalRpnV2ApiUpdateRpnV2GroupNameRequest, marshalRpnV2ApiUpdateRpnV2VlanForMembersRequest, marshalStartBMCAccessRequest, marshalStartRescueRequest, marshalSubscribeServerOptionRequest, marshalSubscribeStorageOptionsRequest, marshalUpdateRaidRequest, marshalUpdateReverseRequest, marshalUpdateServerBackupRequest, marshalUpdateServerRequest, marshalUpdateServerTagsRequest, unmarshalBMCAccess, unmarshalBackup, unmarshalCanOrderResponse, unmarshalCreateFailoverIPsResponse, unmarshalFailoverIP, unmarshalGetIPv6BlockQuotasResponse, unmarshalGetRemainingQuotaResponse, unmarshalGetRpnStatusResponse, unmarshalIP, unmarshalIPv6Block, unmarshalInvoice, unmarshalListFailoverIPsResponse, unmarshalListIPv6BlockSubnetsAvailableResponse, unmarshalListIPv6BlocksResponse, unmarshalListInvoicesResponse, unmarshalListIpsResponse, unmarshalListOSResponse, unmarshalListOffersResponse, unmarshalListRefundsResponse, unmarshalListRpnCapableSanServersResponse, unmarshalListRpnCapableServersResponse, unmarshalListRpnGroupMembersResponse, unmarshalListRpnGroupsResponse, unmarshalListRpnInvitesResponse, unmarshalListRpnSansResponse, unmarshalListRpnServerCapabilitiesResponse, unmarshalListRpnV2CapableResourcesResponse, unmarshalListRpnV2GroupLogsResponse, unmarshalListRpnV2GroupsResponse, unmarshalListRpnV2MembersResponse, unmarshalListServerDisksResponse, unmarshalListServerEventsResponse, unmarshalListServersResponse, unmarshalListServicesResponse, unmarshalListSubscribableServerOptionsResponse, unmarshalOS, unmarshalOffer, unmarshalRaid, unmarshalRefund, unmarshalRescue, unmarshalRpnGroup, unmarshalRpnSan, unmarshalRpnV2Group, unmarshalServer, unmarshalServerDefaultPartitioning, unmarshalServerInstall, unmarshalService, unmarshalSubscribeStorageOptionsResponse } from "./marshalling.gen.js";
|
|
4
|
-
import
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
4
|
+
import { API, BillingAPI, IPv6BlockAPI, RpnAPI, RpnSanAPI, RpnV1API, RpnV2API } from "./api.gen.js";
|
|
5
|
+
import { validation_rules_gen_exports } from "./validation-rules.gen.js";
|
|
6
|
+
var index_gen_exports = /* @__PURE__ */ __exportAll({
|
|
7
|
+
API: () => API,
|
|
8
|
+
BMC_ACCESS_TRANSIENT_STATUSES: () => BMC_ACCESS_TRANSIENT_STATUSES,
|
|
9
|
+
BillingAPI: () => BillingAPI,
|
|
10
|
+
IPv6BlockAPI: () => IPv6BlockAPI,
|
|
11
|
+
I_PV6_BLOCK_DELEGATION_TRANSIENT_STATUSES: () => I_PV6_BLOCK_DELEGATION_TRANSIENT_STATUSES,
|
|
12
|
+
RPN_GROUP_MEMBER_TRANSIENT_STATUSES: () => RPN_GROUP_MEMBER_TRANSIENT_STATUSES,
|
|
13
|
+
RPN_SAN_TRANSIENT_STATUSES: () => RPN_SAN_TRANSIENT_STATUSES,
|
|
14
|
+
RPN_V2_GROUP_TRANSIENT_STATUSES: () => RPN_V2_GROUP_TRANSIENT_STATUSES,
|
|
15
|
+
RPN_V2_MEMBER_TRANSIENT_STATUSES: () => RPN_V2_MEMBER_TRANSIENT_STATUSES,
|
|
16
|
+
RpnAPI: () => RpnAPI,
|
|
17
|
+
RpnSanAPI: () => RpnSanAPI,
|
|
18
|
+
RpnV1API: () => RpnV1API,
|
|
19
|
+
RpnV2API: () => RpnV2API,
|
|
20
|
+
SERVER_INSTALL_TRANSIENT_STATUSES: () => SERVER_INSTALL_TRANSIENT_STATUSES,
|
|
21
|
+
SERVER_TRANSIENT_STATUSES: () => SERVER_TRANSIENT_STATUSES,
|
|
22
|
+
SERVICE_PROVISIONING_TRANSIENT_STATUSES: () => SERVICE_PROVISIONING_TRANSIENT_STATUSES,
|
|
23
|
+
ValidationRules: () => validation_rules_gen_exports,
|
|
24
|
+
marshalAttachFailoverIPToMacAddressRequest: () => marshalAttachFailoverIPToMacAddressRequest,
|
|
25
|
+
marshalAttachFailoverIPsRequest: () => marshalAttachFailoverIPsRequest,
|
|
26
|
+
marshalCreateFailoverIPsRequest: () => marshalCreateFailoverIPsRequest,
|
|
27
|
+
marshalCreateServerRequest: () => marshalCreateServerRequest,
|
|
28
|
+
marshalDetachFailoverIPsRequest: () => marshalDetachFailoverIPsRequest,
|
|
29
|
+
marshalIPv6BlockApiCreateIPv6BlockRequest: () => marshalIPv6BlockApiCreateIPv6BlockRequest,
|
|
30
|
+
marshalIPv6BlockApiCreateIPv6BlockSubnetRequest: () => marshalIPv6BlockApiCreateIPv6BlockSubnetRequest,
|
|
31
|
+
marshalIPv6BlockApiUpdateIPv6BlockRequest: () => marshalIPv6BlockApiUpdateIPv6BlockRequest,
|
|
32
|
+
marshalInstallServerRequest: () => marshalInstallServerRequest,
|
|
33
|
+
marshalRpnSanApiAddIpRequest: () => marshalRpnSanApiAddIpRequest,
|
|
34
|
+
marshalRpnSanApiCreateRpnSanRequest: () => marshalRpnSanApiCreateRpnSanRequest,
|
|
35
|
+
marshalRpnSanApiRemoveIpRequest: () => marshalRpnSanApiRemoveIpRequest,
|
|
36
|
+
marshalRpnV1ApiAddRpnGroupMembersRequest: () => marshalRpnV1ApiAddRpnGroupMembersRequest,
|
|
37
|
+
marshalRpnV1ApiCreateRpnGroupRequest: () => marshalRpnV1ApiCreateRpnGroupRequest,
|
|
38
|
+
marshalRpnV1ApiDeleteRpnGroupMembersRequest: () => marshalRpnV1ApiDeleteRpnGroupMembersRequest,
|
|
39
|
+
marshalRpnV1ApiLeaveRpnGroupRequest: () => marshalRpnV1ApiLeaveRpnGroupRequest,
|
|
40
|
+
marshalRpnV1ApiRpnGroupInviteRequest: () => marshalRpnV1ApiRpnGroupInviteRequest,
|
|
41
|
+
marshalRpnV1ApiUpdateRpnGroupNameRequest: () => marshalRpnV1ApiUpdateRpnGroupNameRequest,
|
|
42
|
+
marshalRpnV2ApiAddRpnV2MembersRequest: () => marshalRpnV2ApiAddRpnV2MembersRequest,
|
|
43
|
+
marshalRpnV2ApiCreateRpnV2GroupRequest: () => marshalRpnV2ApiCreateRpnV2GroupRequest,
|
|
44
|
+
marshalRpnV2ApiDeleteRpnV2MembersRequest: () => marshalRpnV2ApiDeleteRpnV2MembersRequest,
|
|
45
|
+
marshalRpnV2ApiEnableRpnV2GroupCompatibilityRequest: () => marshalRpnV2ApiEnableRpnV2GroupCompatibilityRequest,
|
|
46
|
+
marshalRpnV2ApiUpdateRpnV2GroupNameRequest: () => marshalRpnV2ApiUpdateRpnV2GroupNameRequest,
|
|
47
|
+
marshalRpnV2ApiUpdateRpnV2VlanForMembersRequest: () => marshalRpnV2ApiUpdateRpnV2VlanForMembersRequest,
|
|
48
|
+
marshalStartBMCAccessRequest: () => marshalStartBMCAccessRequest,
|
|
49
|
+
marshalStartRescueRequest: () => marshalStartRescueRequest,
|
|
50
|
+
marshalSubscribeServerOptionRequest: () => marshalSubscribeServerOptionRequest,
|
|
51
|
+
marshalSubscribeStorageOptionsRequest: () => marshalSubscribeStorageOptionsRequest,
|
|
52
|
+
marshalUpdateRaidRequest: () => marshalUpdateRaidRequest,
|
|
53
|
+
marshalUpdateReverseRequest: () => marshalUpdateReverseRequest,
|
|
54
|
+
marshalUpdateServerBackupRequest: () => marshalUpdateServerBackupRequest,
|
|
55
|
+
marshalUpdateServerRequest: () => marshalUpdateServerRequest,
|
|
56
|
+
marshalUpdateServerTagsRequest: () => marshalUpdateServerTagsRequest,
|
|
57
|
+
unmarshalBMCAccess: () => unmarshalBMCAccess,
|
|
58
|
+
unmarshalBackup: () => unmarshalBackup,
|
|
59
|
+
unmarshalCanOrderResponse: () => unmarshalCanOrderResponse,
|
|
60
|
+
unmarshalCreateFailoverIPsResponse: () => unmarshalCreateFailoverIPsResponse,
|
|
61
|
+
unmarshalFailoverIP: () => unmarshalFailoverIP,
|
|
62
|
+
unmarshalGetIPv6BlockQuotasResponse: () => unmarshalGetIPv6BlockQuotasResponse,
|
|
63
|
+
unmarshalGetRemainingQuotaResponse: () => unmarshalGetRemainingQuotaResponse,
|
|
64
|
+
unmarshalGetRpnStatusResponse: () => unmarshalGetRpnStatusResponse,
|
|
65
|
+
unmarshalIP: () => unmarshalIP,
|
|
66
|
+
unmarshalIPv6Block: () => unmarshalIPv6Block,
|
|
67
|
+
unmarshalInvoice: () => unmarshalInvoice,
|
|
68
|
+
unmarshalListFailoverIPsResponse: () => unmarshalListFailoverIPsResponse,
|
|
69
|
+
unmarshalListIPv6BlockSubnetsAvailableResponse: () => unmarshalListIPv6BlockSubnetsAvailableResponse,
|
|
70
|
+
unmarshalListIPv6BlocksResponse: () => unmarshalListIPv6BlocksResponse,
|
|
71
|
+
unmarshalListInvoicesResponse: () => unmarshalListInvoicesResponse,
|
|
72
|
+
unmarshalListIpsResponse: () => unmarshalListIpsResponse,
|
|
73
|
+
unmarshalListOSResponse: () => unmarshalListOSResponse,
|
|
74
|
+
unmarshalListOffersResponse: () => unmarshalListOffersResponse,
|
|
75
|
+
unmarshalListRefundsResponse: () => unmarshalListRefundsResponse,
|
|
76
|
+
unmarshalListRpnCapableSanServersResponse: () => unmarshalListRpnCapableSanServersResponse,
|
|
77
|
+
unmarshalListRpnCapableServersResponse: () => unmarshalListRpnCapableServersResponse,
|
|
78
|
+
unmarshalListRpnGroupMembersResponse: () => unmarshalListRpnGroupMembersResponse,
|
|
79
|
+
unmarshalListRpnGroupsResponse: () => unmarshalListRpnGroupsResponse,
|
|
80
|
+
unmarshalListRpnInvitesResponse: () => unmarshalListRpnInvitesResponse,
|
|
81
|
+
unmarshalListRpnSansResponse: () => unmarshalListRpnSansResponse,
|
|
82
|
+
unmarshalListRpnServerCapabilitiesResponse: () => unmarshalListRpnServerCapabilitiesResponse,
|
|
83
|
+
unmarshalListRpnV2CapableResourcesResponse: () => unmarshalListRpnV2CapableResourcesResponse,
|
|
84
|
+
unmarshalListRpnV2GroupLogsResponse: () => unmarshalListRpnV2GroupLogsResponse,
|
|
85
|
+
unmarshalListRpnV2GroupsResponse: () => unmarshalListRpnV2GroupsResponse,
|
|
86
|
+
unmarshalListRpnV2MembersResponse: () => unmarshalListRpnV2MembersResponse,
|
|
87
|
+
unmarshalListServerDisksResponse: () => unmarshalListServerDisksResponse,
|
|
88
|
+
unmarshalListServerEventsResponse: () => unmarshalListServerEventsResponse,
|
|
89
|
+
unmarshalListServersResponse: () => unmarshalListServersResponse,
|
|
90
|
+
unmarshalListServicesResponse: () => unmarshalListServicesResponse,
|
|
91
|
+
unmarshalListSubscribableServerOptionsResponse: () => unmarshalListSubscribableServerOptionsResponse,
|
|
92
|
+
unmarshalOS: () => unmarshalOS,
|
|
93
|
+
unmarshalOffer: () => unmarshalOffer,
|
|
94
|
+
unmarshalRaid: () => unmarshalRaid,
|
|
95
|
+
unmarshalRefund: () => unmarshalRefund,
|
|
96
|
+
unmarshalRescue: () => unmarshalRescue,
|
|
97
|
+
unmarshalRpnGroup: () => unmarshalRpnGroup,
|
|
98
|
+
unmarshalRpnSan: () => unmarshalRpnSan,
|
|
99
|
+
unmarshalRpnV2Group: () => unmarshalRpnV2Group,
|
|
100
|
+
unmarshalServer: () => unmarshalServer,
|
|
101
|
+
unmarshalServerDefaultPartitioning: () => unmarshalServerDefaultPartitioning,
|
|
102
|
+
unmarshalServerInstall: () => unmarshalServerInstall,
|
|
103
|
+
unmarshalService: () => unmarshalService,
|
|
104
|
+
unmarshalSubscribeStorageOptionsResponse: () => unmarshalSubscribeStorageOptionsResponse
|
|
105
|
+
});
|
|
106
|
+
export { index_gen_exports };
|