@scaleway/sdk-dedibox 2.3.1 → 2.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.
@@ -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 };
@@ -1,11 +1,12 @@
1
1
  import { BMC_ACCESS_TRANSIENT_STATUSES, RPN_SAN_TRANSIENT_STATUSES, RPN_V2_GROUP_TRANSIENT_STATUSES, SERVER_INSTALL_TRANSIENT_STATUSES, SERVER_TRANSIENT_STATUSES } from "./content.gen.js";
2
2
  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";
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/v1/api.gen.ts
4
5
  var jsonContentHeaders = { "Content-Type": "application/json; charset=utf-8" };
5
6
  /**
6
7
  * Dedibox Phoenix API.
7
8
  */
8
- var API$1 = class extends API {
9
+ var API = class extends API$1 {
9
10
  /**
10
11
  * Locality of this API.
11
12
  * type ∈ {'zone','region','global','unspecified'}
@@ -527,7 +528,7 @@ var API$1 = class extends API {
527
528
  /**
528
529
  * Dedibox Phoenix Billing API.
529
530
  */
530
- var BillingAPI = class extends API {
531
+ var BillingAPI = class extends API$1 {
531
532
  pageOfListInvoices = (request = {}) => this.client.fetch({
532
533
  method: "GET",
533
534
  path: `/dedibox/v1/invoices`,
@@ -569,7 +570,7 @@ var BillingAPI = class extends API {
569
570
  /**
570
571
  * Dedibox Phoenix IPv6 Block API.
571
572
  */
572
- var IPv6BlockAPI = class extends API {
573
+ var IPv6BlockAPI = class extends API$1 {
573
574
  /**
574
575
  * Get IPv6 block quota. Get IPv6 block quota with the given project ID.
575
576
  /48 one per organization.
@@ -668,7 +669,7 @@ var IPv6BlockAPI = class extends API {
668
669
  /**
669
670
  * Dedibox Phoenix RPN API.
670
671
  */
671
- var RpnAPI = class extends API {
672
+ var RpnAPI = class extends API$1 {
672
673
  pageOfListRpnServerCapabilities = (request = {}) => this.client.fetch({
673
674
  method: "GET",
674
675
  path: `/dedibox/v1/rpn/server-capabilities`,
@@ -684,7 +685,7 @@ var RpnAPI = class extends API {
684
685
  /**
685
686
  * Dedibox Phoenix RPN SAN API.
686
687
  */
687
- var RpnSanAPI = class extends API {
688
+ var RpnSanAPI = class extends API$1 {
688
689
  pageOfListRpnSans = (request = {}) => this.client.fetch({
689
690
  method: "GET",
690
691
  path: `/dedibox/v1/rpn-sans`,
@@ -739,7 +740,7 @@ var RpnSanAPI = class extends API {
739
740
  /**
740
741
  * Dedibox Phoenix RPN v1 API.
741
742
  */
742
- var RpnV1API = class extends API {
743
+ var RpnV1API = class extends API$1 {
743
744
  pageOfListRpnGroups = (request = {}) => this.client.fetch({
744
745
  method: "GET",
745
746
  path: `/dedibox/v1/rpnv1/groups`,
@@ -826,7 +827,7 @@ var RpnV1API = class extends API {
826
827
  /**
827
828
  * Dedibox Phoenix RPN v2 API.
828
829
  */
829
- var RpnV2API = class extends API {
830
+ var RpnV2API = class extends API$1 {
830
831
  pageOfListRpnV2Groups = (request = {}) => this.client.fetch({
831
832
  method: "GET",
832
833
  path: `/dedibox/v1/rpnv2/groups`,
@@ -910,4 +911,5 @@ var RpnV2API = class extends API {
910
911
  path: `/dedibox/v1/rpnv2/groups/${validatePathParam("groupId", request.groupId)}/disable-compatibility`
911
912
  });
912
913
  };
913
- export { API$1 as API, BillingAPI, IPv6BlockAPI, RpnAPI, RpnSanAPI, RpnV1API, RpnV2API };
914
+ //#endregion
915
+ export { API, BillingAPI, IPv6BlockAPI, RpnAPI, RpnSanAPI, RpnV1API, RpnV2API };
@@ -1,25 +1,26 @@
1
+ //#region src/v1/content.gen.ts
1
2
  /** Lists transient statutes of the enum {@link BMCAccessStatus}. */
2
- const BMC_ACCESS_TRANSIENT_STATUSES = ["creating", "deleting"];
3
+ var BMC_ACCESS_TRANSIENT_STATUSES = ["creating", "deleting"];
3
4
  /** Lists transient statutes of the enum {@link IPv6BlockDelegationStatus}. */
4
- const I_PV6_BLOCK_DELEGATION_TRANSIENT_STATUSES = ["updating"];
5
+ var I_PV6_BLOCK_DELEGATION_TRANSIENT_STATUSES = ["updating"];
5
6
  /** Lists transient statutes of the enum {@link RpnGroupMemberStatus}. */
6
- const RPN_GROUP_MEMBER_TRANSIENT_STATUSES = ["creating", "deleting"];
7
+ var RPN_GROUP_MEMBER_TRANSIENT_STATUSES = ["creating", "deleting"];
7
8
  /** Lists transient statutes of the enum {@link RpnSanStatus}. */
8
- const RPN_SAN_TRANSIENT_STATUSES = ["creating", "deleting"];
9
+ var RPN_SAN_TRANSIENT_STATUSES = ["creating", "deleting"];
9
10
  /** Lists transient statutes of the enum {@link RpnV2GroupStatus}. */
10
- const RPN_V2_GROUP_TRANSIENT_STATUSES = [
11
+ var RPN_V2_GROUP_TRANSIENT_STATUSES = [
11
12
  "creating",
12
13
  "updating",
13
14
  "deleting"
14
15
  ];
15
16
  /** Lists transient statutes of the enum {@link RpnV2MemberStatus}. */
16
- const RPN_V2_MEMBER_TRANSIENT_STATUSES = [
17
+ var RPN_V2_MEMBER_TRANSIENT_STATUSES = [
17
18
  "creating",
18
19
  "updating",
19
20
  "deleting"
20
21
  ];
21
22
  /** Lists transient statutes of the enum {@link ServerInstallStatus}. */
22
- const SERVER_INSTALL_TRANSIENT_STATUSES = [
23
+ var SERVER_INSTALL_TRANSIENT_STATUSES = [
23
24
  "booting",
24
25
  "setting_up_raid",
25
26
  "partitioning",
@@ -30,7 +31,8 @@ const SERVER_INSTALL_TRANSIENT_STATUSES = [
30
31
  "rebooting"
31
32
  ];
32
33
  /** Lists transient statutes of the enum {@link ServerStatus}. */
33
- const SERVER_TRANSIENT_STATUSES = ["delivering", "installing"];
34
+ var SERVER_TRANSIENT_STATUSES = ["delivering", "installing"];
34
35
  /** Lists transient statutes of the enum {@link ServiceProvisioningStatus}. */
35
- const SERVICE_PROVISIONING_TRANSIENT_STATUSES = ["delivering", "expiring"];
36
+ var SERVICE_PROVISIONING_TRANSIENT_STATUSES = ["delivering", "expiring"];
37
+ //#endregion
36
38
  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 };
@@ -3,6 +3,7 @@ import { BMC_ACCESS_TRANSIENT_STATUSES, I_PV6_BLOCK_DELEGATION_TRANSIENT_STATUSE
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
4
  import { API, BillingAPI, IPv6BlockAPI, RpnAPI, RpnSanAPI, RpnV1API, RpnV2API } from "./api.gen.js";
5
5
  import { validation_rules_gen_exports } from "./validation-rules.gen.js";
6
+ //#region src/v1/index.gen.ts
6
7
  var index_gen_exports = /* @__PURE__ */ __exportAll({
7
8
  API: () => API,
8
9
  BMC_ACCESS_TRANSIENT_STATUSES: () => BMC_ACCESS_TRANSIENT_STATUSES,
@@ -103,4 +104,5 @@ var index_gen_exports = /* @__PURE__ */ __exportAll({
103
104
  unmarshalService: () => unmarshalService,
104
105
  unmarshalSubscribeStorageOptionsResponse: () => unmarshalSubscribeStorageOptionsResponse
105
106
  });
106
- export { index_gen_exports };
107
+ //#endregion
108
+ export { API, BMC_ACCESS_TRANSIENT_STATUSES, BillingAPI, IPv6BlockAPI, 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, RpnAPI, RpnSanAPI, RpnV1API, RpnV2API, SERVER_INSTALL_TRANSIENT_STATUSES, SERVER_TRANSIENT_STATUSES, SERVICE_PROVISIONING_TRANSIENT_STATUSES, validation_rules_gen_exports as ValidationRules, index_gen_exports, 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 };