@scaleway/sdk 2.38.1 → 2.40.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.
Files changed (151) hide show
  1. package/dist/api/account/v2/api.gen.cjs +1 -0
  2. package/dist/api/account/v2/api.gen.js +1 -0
  3. package/dist/api/account/v2/marshalling.gen.cjs +1 -0
  4. package/dist/api/account/v2/marshalling.gen.js +1 -0
  5. package/dist/api/account/v3/api.gen.cjs +1 -0
  6. package/dist/api/account/v3/api.gen.js +1 -0
  7. package/dist/api/account/v3/marshalling.gen.cjs +1 -0
  8. package/dist/api/account/v3/marshalling.gen.js +1 -0
  9. package/dist/api/applesilicon/v1alpha1/api.gen.cjs +1 -0
  10. package/dist/api/applesilicon/v1alpha1/api.gen.js +1 -0
  11. package/dist/api/applesilicon/v1alpha1/marshalling.gen.cjs +1 -0
  12. package/dist/api/applesilicon/v1alpha1/marshalling.gen.js +1 -0
  13. package/dist/api/baremetal/v1/api.gen.cjs +1 -0
  14. package/dist/api/baremetal/v1/api.gen.js +1 -0
  15. package/dist/api/billing/v2alpha1/api.gen.cjs +1 -0
  16. package/dist/api/billing/v2alpha1/api.gen.js +1 -0
  17. package/dist/api/billing/v2beta1/api.gen.cjs +1 -0
  18. package/dist/api/billing/v2beta1/api.gen.js +1 -0
  19. package/dist/api/block/v1alpha1/api.gen.cjs +1 -0
  20. package/dist/api/block/v1alpha1/api.gen.js +1 -0
  21. package/dist/api/cockpit/v1/api.gen.cjs +1 -0
  22. package/dist/api/cockpit/v1/api.gen.js +1 -0
  23. package/dist/api/cockpit/v1/marshalling.gen.cjs +1 -0
  24. package/dist/api/cockpit/v1/marshalling.gen.js +1 -0
  25. package/dist/api/cockpit/v1beta1/api.gen.cjs +1 -0
  26. package/dist/api/cockpit/v1beta1/api.gen.js +1 -0
  27. package/dist/api/container/v1beta1/api.gen.cjs +1 -0
  28. package/dist/api/container/v1beta1/api.gen.js +1 -0
  29. package/dist/api/container/v1beta1/marshalling.gen.cjs +1 -0
  30. package/dist/api/container/v1beta1/marshalling.gen.js +1 -0
  31. package/dist/api/dedibox/v1/api.gen.cjs +1 -0
  32. package/dist/api/dedibox/v1/api.gen.js +1 -0
  33. package/dist/api/document_db/v1beta1/api.gen.cjs +1 -0
  34. package/dist/api/document_db/v1beta1/api.gen.js +1 -0
  35. package/dist/api/domain/v2beta1/api.gen.cjs +4 -2
  36. package/dist/api/domain/v2beta1/api.gen.d.ts +3 -2
  37. package/dist/api/domain/v2beta1/api.gen.js +4 -2
  38. package/dist/api/edge_services/v1alpha1/types.gen.d.ts +10 -0
  39. package/dist/api/flexibleip/v1alpha1/api.gen.cjs +1 -0
  40. package/dist/api/flexibleip/v1alpha1/api.gen.js +1 -0
  41. package/dist/api/flexibleip/v1alpha1/marshalling.gen.cjs +1 -0
  42. package/dist/api/flexibleip/v1alpha1/marshalling.gen.js +1 -0
  43. package/dist/api/function/v1beta1/api.gen.cjs +1 -0
  44. package/dist/api/function/v1beta1/api.gen.js +1 -0
  45. package/dist/api/function/v1beta1/marshalling.gen.cjs +1 -0
  46. package/dist/api/function/v1beta1/marshalling.gen.js +1 -0
  47. package/dist/api/iam/v1alpha1/api.gen.cjs +1 -0
  48. package/dist/api/iam/v1alpha1/api.gen.js +1 -0
  49. package/dist/api/iam/v1alpha1/marshalling.gen.cjs +1 -0
  50. package/dist/api/iam/v1alpha1/marshalling.gen.js +1 -0
  51. package/dist/api/instance/v1/api.gen.cjs +1 -0
  52. package/dist/api/instance/v1/api.gen.js +1 -0
  53. package/dist/api/instance/v1/api.utils.cjs +1 -0
  54. package/dist/api/instance/v1/api.utils.js +1 -0
  55. package/dist/api/instance/v1/marshalling.gen.cjs +1 -0
  56. package/dist/api/instance/v1/marshalling.gen.js +1 -0
  57. package/dist/api/iot/v1/api.gen.cjs +1 -0
  58. package/dist/api/iot/v1/api.gen.js +1 -0
  59. package/dist/api/ipam/v1/api.gen.cjs +1 -0
  60. package/dist/api/ipam/v1/api.gen.js +1 -0
  61. package/dist/api/ipam/v1/marshalling.gen.cjs +1 -0
  62. package/dist/api/ipam/v1/marshalling.gen.js +1 -0
  63. package/dist/api/ipfs/v1alpha1/api.gen.cjs +1 -0
  64. package/dist/api/ipfs/v1alpha1/api.gen.js +1 -0
  65. package/dist/api/ipfs/v1alpha1/marshalling.gen.cjs +1 -0
  66. package/dist/api/ipfs/v1alpha1/marshalling.gen.js +1 -0
  67. package/dist/api/jobs/v1alpha1/api.gen.cjs +1 -0
  68. package/dist/api/jobs/v1alpha1/api.gen.js +1 -0
  69. package/dist/api/jobs/v1alpha1/marshalling.gen.cjs +1 -0
  70. package/dist/api/jobs/v1alpha1/marshalling.gen.js +1 -0
  71. package/dist/api/jobs/v1alpha1/types.gen.d.ts +1 -0
  72. package/dist/api/k8s/v1/api.gen.cjs +1 -0
  73. package/dist/api/k8s/v1/api.gen.js +1 -0
  74. package/dist/api/k8s/v1/marshalling.gen.cjs +1 -0
  75. package/dist/api/k8s/v1/marshalling.gen.js +1 -0
  76. package/dist/api/key_manager/v1alpha1/api.gen.cjs +1 -0
  77. package/dist/api/key_manager/v1alpha1/api.gen.js +1 -0
  78. package/dist/api/key_manager/v1alpha1/marshalling.gen.cjs +1 -0
  79. package/dist/api/key_manager/v1alpha1/marshalling.gen.js +1 -0
  80. package/dist/api/lb/v1/api.gen.cjs +1 -0
  81. package/dist/api/lb/v1/api.gen.js +1 -0
  82. package/dist/api/lb/v1/marshalling.gen.cjs +1 -0
  83. package/dist/api/lb/v1/marshalling.gen.js +1 -0
  84. package/dist/api/llm_inference/v1beta1/api.gen.cjs +1 -0
  85. package/dist/api/llm_inference/v1beta1/api.gen.js +1 -0
  86. package/dist/api/llm_inference/v1beta1/marshalling.gen.cjs +1 -0
  87. package/dist/api/llm_inference/v1beta1/marshalling.gen.js +1 -0
  88. package/dist/api/marketplace/v2/api.gen.cjs +1 -0
  89. package/dist/api/marketplace/v2/api.gen.js +1 -0
  90. package/dist/api/marketplace/v2/marshalling.gen.cjs +1 -0
  91. package/dist/api/marketplace/v2/marshalling.gen.js +1 -0
  92. package/dist/api/mnq/v1beta1/api.gen.cjs +1 -0
  93. package/dist/api/mnq/v1beta1/api.gen.js +1 -0
  94. package/dist/api/mnq/v1beta1/marshalling.gen.cjs +1 -0
  95. package/dist/api/mnq/v1beta1/marshalling.gen.js +1 -0
  96. package/dist/api/rdb/v1/api.gen.cjs +1 -0
  97. package/dist/api/rdb/v1/api.gen.js +1 -0
  98. package/dist/api/redis/v1/api.gen.cjs +1 -0
  99. package/dist/api/redis/v1/api.gen.js +1 -0
  100. package/dist/api/registry/v1/api.gen.cjs +1 -0
  101. package/dist/api/registry/v1/api.gen.js +1 -0
  102. package/dist/api/registry/v1/marshalling.gen.cjs +1 -0
  103. package/dist/api/registry/v1/marshalling.gen.js +1 -0
  104. package/dist/api/secret/v1alpha1/api.gen.cjs +1 -0
  105. package/dist/api/secret/v1alpha1/api.gen.js +1 -0
  106. package/dist/api/secret/v1alpha1/marshalling.gen.cjs +1 -0
  107. package/dist/api/secret/v1alpha1/marshalling.gen.js +1 -0
  108. package/dist/api/secret/v1beta1/api.gen.cjs +3 -1
  109. package/dist/api/secret/v1beta1/api.gen.js +3 -1
  110. package/dist/api/secret/v1beta1/marshalling.gen.cjs +1 -0
  111. package/dist/api/secret/v1beta1/marshalling.gen.js +1 -0
  112. package/dist/api/secret/v1beta1/types.gen.d.ts +2 -0
  113. package/dist/api/serverless_sqldb/v1alpha1/api.gen.cjs +1 -0
  114. package/dist/api/serverless_sqldb/v1alpha1/api.gen.js +1 -0
  115. package/dist/api/serverless_sqldb/v1alpha1/marshalling.gen.cjs +1 -0
  116. package/dist/api/serverless_sqldb/v1alpha1/marshalling.gen.js +1 -0
  117. package/dist/api/tem/v1alpha1/api.gen.cjs +1 -0
  118. package/dist/api/tem/v1alpha1/api.gen.js +1 -0
  119. package/dist/api/tem/v1alpha1/marshalling.gen.cjs +1 -0
  120. package/dist/api/tem/v1alpha1/marshalling.gen.js +1 -0
  121. package/dist/api/test/v1/api.gen.cjs +1 -0
  122. package/dist/api/test/v1/api.gen.js +1 -0
  123. package/dist/api/test/v1/marshalling.gen.cjs +1 -0
  124. package/dist/api/test/v1/marshalling.gen.js +1 -0
  125. package/dist/api/vpc/v1/api.gen.cjs +1 -0
  126. package/dist/api/vpc/v1/api.gen.js +1 -0
  127. package/dist/api/vpc/v1/marshalling.gen.cjs +1 -0
  128. package/dist/api/vpc/v1/marshalling.gen.js +1 -0
  129. package/dist/api/vpc/v2/api.gen.cjs +1 -0
  130. package/dist/api/vpc/v2/api.gen.js +1 -0
  131. package/dist/api/vpc/v2/marshalling.gen.cjs +1 -0
  132. package/dist/api/vpc/v2/marshalling.gen.js +1 -0
  133. package/dist/api/vpcgw/v1/api.gen.cjs +1 -0
  134. package/dist/api/vpcgw/v1/api.gen.js +1 -0
  135. package/dist/api/vpcgw/v1/marshalling.gen.cjs +1 -0
  136. package/dist/api/vpcgw/v1/marshalling.gen.js +1 -0
  137. package/dist/api/webhosting/v1alpha1/api.gen.cjs +1 -0
  138. package/dist/api/webhosting/v1alpha1/api.gen.js +1 -0
  139. package/dist/bridge.d.ts +1 -1
  140. package/dist/index.cjs +1 -0
  141. package/dist/index.js +2 -1
  142. package/dist/internals.d.ts +1 -1
  143. package/dist/scw/constants.cjs +1 -1
  144. package/dist/scw/constants.d.ts +2 -2
  145. package/dist/scw/constants.js +1 -1
  146. package/dist/scw/custom-marshalling.cjs +7 -0
  147. package/dist/scw/custom-marshalling.d.ts +6 -0
  148. package/dist/scw/custom-marshalling.js +7 -0
  149. package/dist/vendor/base64/index.cjs +42 -0
  150. package/dist/vendor/base64/index.js +42 -0
  151. package/package.json +2 -2
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const api = require("../../../scw/api.cjs");
4
4
  const marshalling = require("../../../helpers/marshalling.cjs");
5
+ require("../../../vendor/base64/index.cjs");
5
6
  const resourcePaginator = require("../../../scw/fetch/resource-paginator.cjs");
6
7
  const marshalling_gen = require("./marshalling.gen.cjs");
7
8
  const jsonContentHeaders = {
@@ -1,5 +1,6 @@
1
1
  import { API as API$1 } from "../../../scw/api.js";
2
2
  import { urlParams, validatePathParam } from "../../../helpers/marshalling.js";
3
+ import "../../../vendor/base64/index.js";
3
4
  import { enrichForPagination } from "../../../scw/fetch/resource-paginator.js";
4
5
  import { marshalCreateProjectRequest, unmarshalProject, unmarshalListProjectsResponse, marshalUpdateProjectRequest } from "./marshalling.gen.js";
5
6
  const jsonContentHeaders = {
@@ -3,6 +3,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const randomName = require("@scaleway/random-name");
4
4
  const json = require("../../../helpers/json.cjs");
5
5
  const marshalling = require("../../../helpers/marshalling.cjs");
6
+ require("../../../vendor/base64/index.cjs");
6
7
  const unmarshalProject = (data) => {
7
8
  if (!json.isJSONObject(data)) {
8
9
  throw new TypeError(
@@ -1,6 +1,7 @@
1
1
  import randomName from "@scaleway/random-name";
2
2
  import { isJSONObject } from "../../../helpers/json.js";
3
3
  import { unmarshalDate, unmarshalArrayOfObject } from "../../../helpers/marshalling.js";
4
+ import "../../../vendor/base64/index.js";
4
5
  const unmarshalProject = (data) => {
5
6
  if (!isJSONObject(data)) {
6
7
  throw new TypeError(
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const api = require("../../../scw/api.cjs");
4
4
  const marshalling = require("../../../helpers/marshalling.cjs");
5
+ require("../../../vendor/base64/index.cjs");
5
6
  const resourcePaginator = require("../../../scw/fetch/resource-paginator.cjs");
6
7
  const marshalling_gen = require("./marshalling.gen.cjs");
7
8
  const jsonContentHeaders = {
@@ -1,5 +1,6 @@
1
1
  import { API as API$1 } from "../../../scw/api.js";
2
2
  import { urlParams, validatePathParam } from "../../../helpers/marshalling.js";
3
+ import "../../../vendor/base64/index.js";
3
4
  import { enrichForPagination } from "../../../scw/fetch/resource-paginator.js";
4
5
  import { marshalProjectApiCreateProjectRequest, unmarshalProject, unmarshalListProjectsResponse, marshalProjectApiUpdateProjectRequest } from "./marshalling.gen.js";
5
6
  const jsonContentHeaders = {
@@ -3,6 +3,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const randomName = require("@scaleway/random-name");
4
4
  const json = require("../../../helpers/json.cjs");
5
5
  const marshalling = require("../../../helpers/marshalling.cjs");
6
+ require("../../../vendor/base64/index.cjs");
6
7
  const unmarshalProject = (data) => {
7
8
  if (!json.isJSONObject(data)) {
8
9
  throw new TypeError(
@@ -1,6 +1,7 @@
1
1
  import randomName from "@scaleway/random-name";
2
2
  import { isJSONObject } from "../../../helpers/json.js";
3
3
  import { unmarshalDate, unmarshalArrayOfObject } from "../../../helpers/marshalling.js";
4
+ import "../../../vendor/base64/index.js";
4
5
  const unmarshalProject = (data) => {
5
6
  if (!isJSONObject(data)) {
6
7
  throw new TypeError(
@@ -3,6 +3,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const intervalRetrier = require("../../../internal/async/interval-retrier.cjs");
4
4
  const api = require("../../../scw/api.cjs");
5
5
  const marshalling = require("../../../helpers/marshalling.cjs");
6
+ require("../../../vendor/base64/index.cjs");
6
7
  const resourcePaginator = require("../../../scw/fetch/resource-paginator.cjs");
7
8
  const content_gen = require("./content.gen.cjs");
8
9
  const marshalling_gen = require("./marshalling.gen.cjs");
@@ -1,6 +1,7 @@
1
1
  import { waitForResource } from "../../../internal/async/interval-retrier.js";
2
2
  import { API as API$1 } from "../../../scw/api.js";
3
3
  import { validatePathParam, urlParams } from "../../../helpers/marshalling.js";
4
+ import "../../../vendor/base64/index.js";
4
5
  import { enrichForPagination } from "../../../scw/fetch/resource-paginator.js";
5
6
  import { SERVER_TRANSIENT_STATUSES } from "./content.gen.js";
6
7
  import { unmarshalListServerTypesResponse, unmarshalServerType, marshalCreateServerRequest, unmarshalServer, unmarshalListServersResponse, unmarshalListOSResponse, unmarshalOS, marshalUpdateServerRequest, marshalReinstallServerRequest } from "./marshalling.gen.js";
@@ -3,6 +3,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const randomName = require("@scaleway/random-name");
4
4
  const json = require("../../../helpers/json.cjs");
5
5
  const marshalling = require("../../../helpers/marshalling.cjs");
6
+ require("../../../vendor/base64/index.cjs");
6
7
  const unmarshalOS = (data) => {
7
8
  if (!json.isJSONObject(data)) {
8
9
  throw new TypeError(
@@ -1,6 +1,7 @@
1
1
  import randomName from "@scaleway/random-name";
2
2
  import { isJSONObject } from "../../../helpers/json.js";
3
3
  import { unmarshalDate, unmarshalArrayOfObject } from "../../../helpers/marshalling.js";
4
+ import "../../../vendor/base64/index.js";
4
5
  const unmarshalOS = (data) => {
5
6
  if (!isJSONObject(data)) {
6
7
  throw new TypeError(
@@ -3,6 +3,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const intervalRetrier = require("../../../internal/async/interval-retrier.cjs");
4
4
  const api = require("../../../scw/api.cjs");
5
5
  const marshalling = require("../../../helpers/marshalling.cjs");
6
+ require("../../../vendor/base64/index.cjs");
6
7
  const resourcePaginator = require("../../../scw/fetch/resource-paginator.cjs");
7
8
  const content_gen = require("./content.gen.cjs");
8
9
  const marshalling_gen = require("./marshalling.gen.cjs");
@@ -1,6 +1,7 @@
1
1
  import { waitForResource } from "../../../internal/async/interval-retrier.js";
2
2
  import { API as API$1 } from "../../../scw/api.js";
3
3
  import { validatePathParam, urlParams } from "../../../helpers/marshalling.js";
4
+ import "../../../vendor/base64/index.js";
4
5
  import { enrichForPagination } from "../../../scw/fetch/resource-paginator.js";
5
6
  import { SERVER_TRANSIENT_STATUSES } from "./content.gen.js";
6
7
  import { marshalPrivateNetworkApiAddServerPrivateNetworkRequest, unmarshalServerPrivateNetwork, marshalPrivateNetworkApiSetServerPrivateNetworksRequest, unmarshalSetServerPrivateNetworksResponse, unmarshalListServerPrivateNetworksResponse, unmarshalListServersResponse, unmarshalServer, marshalCreateServerRequest, marshalUpdateServerRequest, marshalInstallServerRequest, unmarshalGetServerMetricsResponse, marshalRebootServerRequest, marshalStartServerRequest, unmarshalListServerEventsResponse, marshalStartBMCAccessRequest, unmarshalBMCAccess, marshalUpdateIPRequest, unmarshalIP, marshalAddOptionServerRequest, unmarshalListOffersResponse, unmarshalOffer, unmarshalOption, unmarshalListOptionsResponse, unmarshalListSettingsResponse, marshalUpdateSettingRequest, unmarshalSetting, unmarshalListOSResponse, unmarshalOS } from "./marshalling.gen.js";
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const api = require("../../../scw/api.cjs");
4
4
  const marshalling = require("../../../helpers/marshalling.cjs");
5
+ require("../../../vendor/base64/index.cjs");
5
6
  const resourcePaginator = require("../../../scw/fetch/resource-paginator.cjs");
6
7
  const marshalling_gen = require("./marshalling.gen.cjs");
7
8
  class API extends api.API {
@@ -1,5 +1,6 @@
1
1
  import { API as API$1 } from "../../../scw/api.js";
2
2
  import { urlParams, validatePathParam } from "../../../helpers/marshalling.js";
3
+ import "../../../vendor/base64/index.js";
3
4
  import { enrichForPagination } from "../../../scw/fetch/resource-paginator.js";
4
5
  import { unmarshalGetConsumptionResponse, unmarshalListInvoicesResponse, unmarshalListDiscountsResponse } from "./marshalling.gen.js";
5
6
  class API extends API$1 {
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const api = require("../../../scw/api.cjs");
4
4
  const marshalling = require("../../../helpers/marshalling.cjs");
5
+ require("../../../vendor/base64/index.cjs");
5
6
  const resourcePaginator = require("../../../scw/fetch/resource-paginator.cjs");
6
7
  const marshalling_gen = require("./marshalling.gen.cjs");
7
8
  class API extends api.API {
@@ -1,5 +1,6 @@
1
1
  import { API as API$1 } from "../../../scw/api.js";
2
2
  import { urlParams, resolveOneOf, validatePathParam } from "../../../helpers/marshalling.js";
3
+ import "../../../vendor/base64/index.js";
3
4
  import { enrichForPagination } from "../../../scw/fetch/resource-paginator.js";
4
5
  import { unmarshalListConsumptionsResponse, unmarshalListTaxesResponse, unmarshalListInvoicesResponse, unmarshalInvoice, unmarshalListDiscountsResponse } from "./marshalling.gen.js";
5
6
  class API extends API$1 {
@@ -3,6 +3,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const intervalRetrier = require("../../../internal/async/interval-retrier.cjs");
4
4
  const api = require("../../../scw/api.cjs");
5
5
  const marshalling = require("../../../helpers/marshalling.cjs");
6
+ require("../../../vendor/base64/index.cjs");
6
7
  const resourcePaginator = require("../../../scw/fetch/resource-paginator.cjs");
7
8
  const content_gen = require("./content.gen.cjs");
8
9
  const marshalling_gen = require("./marshalling.gen.cjs");
@@ -1,6 +1,7 @@
1
1
  import { waitForResource } from "../../../internal/async/interval-retrier.js";
2
2
  import { API as API$1 } from "../../../scw/api.js";
3
3
  import { validatePathParam, urlParams } from "../../../helpers/marshalling.js";
4
+ import "../../../vendor/base64/index.js";
4
5
  import { enrichForPagination } from "../../../scw/fetch/resource-paginator.js";
5
6
  import { VOLUME_TRANSIENT_STATUSES, SNAPSHOT_TRANSIENT_STATUSES } from "./content.gen.js";
6
7
  import { unmarshalListVolumeTypesResponse, unmarshalListVolumesResponse, marshalCreateVolumeRequest, unmarshalVolume, marshalUpdateVolumeRequest, unmarshalListSnapshotsResponse, unmarshalSnapshot, marshalCreateSnapshotRequest, marshalImportSnapshotFromS3Request, marshalImportSnapshotFromObjectStorageRequest, marshalExportSnapshotToObjectStorageRequest, marshalUpdateSnapshotRequest } from "./marshalling.gen.js";
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const api = require("../../../scw/api.cjs");
4
4
  const marshalling = require("../../../helpers/marshalling.cjs");
5
+ require("../../../vendor/base64/index.cjs");
5
6
  const resourcePaginator = require("../../../scw/fetch/resource-paginator.cjs");
6
7
  const marshalling_gen = require("./marshalling.gen.cjs");
7
8
  const jsonContentHeaders = {
@@ -1,5 +1,6 @@
1
1
  import { API as API$1 } from "../../../scw/api.js";
2
2
  import { urlParams, validatePathParam } from "../../../helpers/marshalling.js";
3
+ import "../../../vendor/base64/index.js";
3
4
  import { enrichForPagination } from "../../../scw/fetch/resource-paginator.js";
4
5
  import { unmarshalGrafana, marshalGlobalApiSyncGrafanaDataSourcesRequest, marshalGlobalApiCreateGrafanaUserRequest, unmarshalGrafanaUser, unmarshalListGrafanaUsersResponse, marshalGlobalApiResetGrafanaUserPasswordRequest, unmarshalListGrafanaProductDashboardsResponse, unmarshalGrafanaProductDashboard, unmarshalListPlansResponse, marshalGlobalApiSelectPlanRequest, unmarshalPlan, marshalRegionalApiCreateDataSourceRequest, unmarshalDataSource, unmarshalListDataSourcesResponse, marshalRegionalApiUpdateDataSourceRequest, unmarshalUsageOverview, marshalRegionalApiCreateTokenRequest, unmarshalToken, unmarshalListTokensResponse, unmarshalAlertManager, marshalRegionalApiEnableAlertManagerRequest, marshalRegionalApiDisableAlertManagerRequest, marshalRegionalApiCreateContactPointRequest, unmarshalContactPoint, unmarshalListContactPointsResponse, marshalRegionalApiDeleteContactPointRequest, unmarshalListManagedAlertsResponse, marshalRegionalApiEnableManagedAlertsRequest, marshalRegionalApiDisableManagedAlertsRequest, marshalRegionalApiTriggerTestAlertRequest } from "./marshalling.gen.js";
5
6
  const jsonContentHeaders = {
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const json = require("../../../helpers/json.cjs");
4
4
  const marshalling = require("../../../helpers/marshalling.cjs");
5
+ require("../../../vendor/base64/index.cjs");
5
6
  const unmarshalContactPointEmail = (data) => {
6
7
  if (!json.isJSONObject(data)) {
7
8
  throw new TypeError(
@@ -1,5 +1,6 @@
1
1
  import { isJSONObject } from "../../../helpers/json.js";
2
2
  import { unmarshalDate, unmarshalArrayOfObject, resolveOneOf } from "../../../helpers/marshalling.js";
3
+ import "../../../vendor/base64/index.js";
3
4
  const unmarshalContactPointEmail = (data) => {
4
5
  if (!isJSONObject(data)) {
5
6
  throw new TypeError(
@@ -3,6 +3,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const intervalRetrier = require("../../../internal/async/interval-retrier.cjs");
4
4
  const api = require("../../../scw/api.cjs");
5
5
  const marshalling = require("../../../helpers/marshalling.cjs");
6
+ require("../../../vendor/base64/index.cjs");
6
7
  const resourcePaginator = require("../../../scw/fetch/resource-paginator.cjs");
7
8
  const content_gen = require("./content.gen.cjs");
8
9
  const marshalling_gen = require("./marshalling.gen.cjs");
@@ -1,6 +1,7 @@
1
1
  import { waitForResource } from "../../../internal/async/interval-retrier.js";
2
2
  import { API as API$1 } from "../../../scw/api.js";
3
3
  import { urlParams, validatePathParam } from "../../../helpers/marshalling.js";
4
+ import "../../../vendor/base64/index.js";
4
5
  import { enrichForPagination } from "../../../scw/fetch/resource-paginator.js";
5
6
  import { COCKPIT_TRANSIENT_STATUSES } from "./content.gen.js";
6
7
  import { marshalActivateCockpitRequest, unmarshalCockpit, unmarshalCockpitMetrics, marshalDeactivateCockpitRequest, marshalCreateDatasourceRequest, unmarshalDatasource, unmarshalListDatasourcesResponse, marshalCreateTokenRequest, unmarshalToken, unmarshalListTokensResponse, marshalCreateContactPointRequest, unmarshalContactPoint, unmarshalListContactPointsResponse, marshalDeleteContactPointRequest, marshalEnableManagedAlertsRequest, marshalDisableManagedAlertsRequest, marshalTriggerTestAlertRequest, marshalCreateGrafanaUserRequest, unmarshalGrafanaUser, unmarshalListGrafanaUsersResponse, marshalDeleteGrafanaUserRequest, marshalResetGrafanaUserPasswordRequest, unmarshalListPlansResponse, marshalSelectPlanRequest, unmarshalSelectPlanResponse, unmarshalListGrafanaProductDashboardsResponse, unmarshalGrafanaProductDashboard } from "./marshalling.gen.js";
@@ -3,6 +3,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const intervalRetrier = require("../../../internal/async/interval-retrier.cjs");
4
4
  const api = require("../../../scw/api.cjs");
5
5
  const marshalling = require("../../../helpers/marshalling.cjs");
6
+ require("../../../vendor/base64/index.cjs");
6
7
  const resourcePaginator = require("../../../scw/fetch/resource-paginator.cjs");
7
8
  const content_gen = require("./content.gen.cjs");
8
9
  const marshalling_gen = require("./marshalling.gen.cjs");
@@ -1,6 +1,7 @@
1
1
  import { waitForResource } from "../../../internal/async/interval-retrier.js";
2
2
  import { API as API$1 } from "../../../scw/api.js";
3
3
  import { validatePathParam, urlParams, resolveOneOf } from "../../../helpers/marshalling.js";
4
+ import "../../../vendor/base64/index.js";
4
5
  import { enrichForPagination } from "../../../scw/fetch/resource-paginator.js";
5
6
  import { NAMESPACE_TRANSIENT_STATUSES, CONTAINER_TRANSIENT_STATUSES, CRON_TRANSIENT_STATUSES, DOMAIN_TRANSIENT_STATUSES, TOKEN_TRANSIENT_STATUSES, TRIGGER_TRANSIENT_STATUSES } from "./content.gen.js";
6
7
  import { unmarshalListNamespacesResponse, unmarshalNamespace, marshalCreateNamespaceRequest, marshalUpdateNamespaceRequest, unmarshalListContainersResponse, unmarshalContainer, marshalCreateContainerRequest, marshalUpdateContainerRequest, unmarshalListCronsResponse, unmarshalCron, marshalCreateCronRequest, marshalUpdateCronRequest, unmarshalListDomainsResponse, unmarshalDomain, marshalCreateDomainRequest, unmarshalToken, marshalCreateTokenRequest, unmarshalListTokensResponse, marshalCreateTriggerRequest, unmarshalTrigger, unmarshalListTriggersResponse, marshalUpdateTriggerRequest } from "./marshalling.gen.js";
@@ -3,6 +3,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const randomName = require("@scaleway/random-name");
4
4
  const json = require("../../../helpers/json.cjs");
5
5
  const marshalling = require("../../../helpers/marshalling.cjs");
6
+ require("../../../vendor/base64/index.cjs");
6
7
  const unmarshalSecretHashedValue = (data) => {
7
8
  if (!json.isJSONObject(data)) {
8
9
  throw new TypeError(
@@ -1,6 +1,7 @@
1
1
  import randomName from "@scaleway/random-name";
2
2
  import { isJSONObject } from "../../../helpers/json.js";
3
3
  import { unmarshalArrayOfObject, unmarshalDate, resolveOneOf } from "../../../helpers/marshalling.js";
4
+ import "../../../vendor/base64/index.js";
4
5
  const unmarshalSecretHashedValue = (data) => {
5
6
  if (!isJSONObject(data)) {
6
7
  throw new TypeError(
@@ -3,6 +3,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const intervalRetrier = require("../../../internal/async/interval-retrier.cjs");
4
4
  const api = require("../../../scw/api.cjs");
5
5
  const marshalling = require("../../../helpers/marshalling.cjs");
6
+ require("../../../vendor/base64/index.cjs");
6
7
  const resourcePaginator = require("../../../scw/fetch/resource-paginator.cjs");
7
8
  const content_gen = require("./content.gen.cjs");
8
9
  const marshalling_gen = require("./marshalling.gen.cjs");
@@ -1,6 +1,7 @@
1
1
  import { waitForResource } from "../../../internal/async/interval-retrier.js";
2
2
  import { API as API$1 } from "../../../scw/api.js";
3
3
  import { validatePathParam, urlParams } from "../../../helpers/marshalling.js";
4
+ import "../../../vendor/base64/index.js";
4
5
  import { enrichForPagination } from "../../../scw/fetch/resource-paginator.js";
5
6
  import { SERVER_TRANSIENT_STATUSES, SERVER_INSTALL_TRANSIENT_STATUSES, BMC_ACCESS_TRANSIENT_STATUSES, RPN_SAN_TRANSIENT_STATUSES, RPN_V2_GROUP_TRANSIENT_STATUSES } from "./content.gen.js";
6
7
  import { unmarshalListServersResponse, unmarshalServer, unmarshalBackup, marshalUpdateServerBackupRequest, unmarshalListSubscribableServerOptionsResponse, marshalSubscribeServerOptionRequest, unmarshalService, marshalCreateServerRequest, marshalSubscribeStorageOptionsRequest, unmarshalSubscribeStorageOptionsResponse, marshalUpdateServerRequest, marshalUpdateServerTagsRequest, unmarshalListServerEventsResponse, unmarshalListServerDisksResponse, unmarshalListServicesResponse, marshalInstallServerRequest, unmarshalServerInstall, unmarshalServerDefaultPartitioning, marshalStartBMCAccessRequest, unmarshalBMCAccess, unmarshalListOffersResponse, unmarshalOffer, unmarshalListOSResponse, unmarshalOS, marshalUpdateReverseRequest, unmarshalIP, marshalCreateFailoverIPsRequest, unmarshalCreateFailoverIPsResponse, marshalAttachFailoverIPsRequest, marshalDetachFailoverIPsRequest, marshalAttachFailoverIPToMacAddressRequest, unmarshalListFailoverIPsResponse, unmarshalFailoverIP, unmarshalGetRemainingQuotaResponse, unmarshalRaid, marshalUpdateRaidRequest, marshalStartRescueRequest, unmarshalRescue, unmarshalListInvoicesResponse, unmarshalInvoice, unmarshalListRefundsResponse, unmarshalRefund, unmarshalCanOrderResponse, unmarshalGetIPv6BlockQuotasResponse, marshalIPv6BlockApiCreateIPv6BlockRequest, unmarshalIPv6Block, marshalIPv6BlockApiUpdateIPv6BlockRequest, marshalIPv6BlockApiCreateIPv6BlockSubnetRequest, unmarshalListIPv6BlockSubnetsAvailableResponse, unmarshalListRpnServerCapabilitiesResponse, unmarshalGetRpnStatusResponse, unmarshalListRpnSansResponse, unmarshalRpnSan, marshalRpnSanApiCreateRpnSanRequest, unmarshalListIpsResponse, marshalRpnSanApiAddIpRequest, marshalRpnSanApiRemoveIpRequest, unmarshalListRpnGroupsResponse, unmarshalRpnGroup, marshalRpnV1ApiCreateRpnGroupRequest, marshalRpnV1ApiUpdateRpnGroupNameRequest, unmarshalListRpnGroupMembersResponse, marshalRpnV1ApiRpnGroupInviteRequest, marshalRpnV1ApiLeaveRpnGroupRequest, marshalRpnV1ApiAddRpnGroupMembersRequest, marshalRpnV1ApiDeleteRpnGroupMembersRequest, unmarshalListRpnCapableServersResponse, unmarshalListRpnCapableSanServersResponse, unmarshalListRpnInvitesResponse, unmarshalListRpnV2GroupsResponse, unmarshalListRpnV2MembersResponse, unmarshalRpnV2Group, marshalRpnV2ApiCreateRpnV2GroupRequest, marshalRpnV2ApiUpdateRpnV2GroupNameRequest, marshalRpnV2ApiAddRpnV2MembersRequest, marshalRpnV2ApiDeleteRpnV2MembersRequest, unmarshalListRpnV2CapableResourcesResponse, unmarshalListRpnV2GroupLogsResponse, marshalRpnV2ApiUpdateRpnV2VlanForMembersRequest, marshalRpnV2ApiEnableRpnV2GroupCompatibilityRequest } from "./marshalling.gen.js";
@@ -3,6 +3,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const intervalRetrier = require("../../../internal/async/interval-retrier.cjs");
4
4
  const api = require("../../../scw/api.cjs");
5
5
  const marshalling = require("../../../helpers/marshalling.cjs");
6
+ require("../../../vendor/base64/index.cjs");
6
7
  const resourcePaginator = require("../../../scw/fetch/resource-paginator.cjs");
7
8
  const content_gen = require("./content.gen.cjs");
8
9
  const marshalling_gen = require("./marshalling.gen.cjs");
@@ -1,6 +1,7 @@
1
1
  import { waitForResource } from "../../../internal/async/interval-retrier.js";
2
2
  import { API as API$1 } from "../../../scw/api.js";
3
3
  import { validatePathParam, urlParams } from "../../../helpers/marshalling.js";
4
+ import "../../../vendor/base64/index.js";
4
5
  import { enrichForPagination } from "../../../scw/fetch/resource-paginator.js";
5
6
  import { INSTANCE_TRANSIENT_STATUSES, READ_REPLICA_TRANSIENT_STATUSES, INSTANCE_LOG_TRANSIENT_STATUSES, SNAPSHOT_TRANSIENT_STATUSES } from "./content.gen.js";
6
7
  import { unmarshalListDatabaseEnginesResponse, unmarshalListNodeTypesResponse, marshalUpgradeInstanceRequest, unmarshalInstance, unmarshalListInstancesResponse, marshalCreateInstanceRequest, marshalUpdateInstanceRequest, marshalCloneInstanceRequest, unmarshalInstanceMetrics, marshalCreateReadReplicaRequest, unmarshalReadReplica, marshalCreateReadReplicaEndpointRequest, unmarshalListInstanceLogsResponse, unmarshalInstanceLog, marshalPurgeInstanceLogsRequest, unmarshalListInstanceLogsDetailsResponse, marshalAddInstanceSettingsRequest, unmarshalAddInstanceSettingsResponse, marshalDeleteInstanceSettingsRequest, unmarshalDeleteInstanceSettingsResponse, marshalSetInstanceSettingsRequest, unmarshalSetInstanceSettingsResponse, unmarshalListInstanceACLRulesResponse, marshalAddInstanceACLRulesRequest, unmarshalAddInstanceACLRulesResponse, marshalSetInstanceACLRulesRequest, unmarshalSetInstanceACLRulesResponse, marshalDeleteInstanceACLRulesRequest, unmarshalDeleteInstanceACLRulesResponse, unmarshalListUsersResponse, marshalCreateUserRequest, unmarshalUser, marshalUpdateUserRequest, unmarshalListDatabasesResponse, marshalCreateDatabaseRequest, unmarshalDatabase, unmarshalListPrivilegesResponse, marshalSetPrivilegeRequest, unmarshalPrivilege, unmarshalListSnapshotsResponse, unmarshalSnapshot, marshalCreateSnapshotRequest, marshalUpdateSnapshotRequest, marshalCreateInstanceFromSnapshotRequest, marshalCreateEndpointRequest, unmarshalEndpoint, marshalMigrateEndpointRequest, unmarshalMaintenance } from "./marshalling.gen.js";
@@ -3,6 +3,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const intervalRetrier = require("../../../internal/async/interval-retrier.cjs");
4
4
  const api = require("../../../scw/api.cjs");
5
5
  const marshalling = require("../../../helpers/marshalling.cjs");
6
+ require("../../../vendor/base64/index.cjs");
6
7
  const resourcePaginator = require("../../../scw/fetch/resource-paginator.cjs");
7
8
  const content_gen = require("./content.gen.cjs");
8
9
  const marshalling_gen = require("./marshalling.gen.cjs");
@@ -891,8 +892,9 @@ class RegistrarAPI extends api.API {
891
892
  marshalling_gen.unmarshalGetDomainAuthCodeResponse
892
893
  );
893
894
  /**
894
- * Update domain DNSSEC. If your domain has the default Scaleway NS and uses
895
- * another registrar, you have to update the DS record manually.
895
+ * Update domain DNSSEC. If your domain uses another registrar and has the
896
+ * default Scaleway NS, you have to **update the DS record at your
897
+ * registrar**.
896
898
  *
897
899
  * @param request - The request {@link RegistrarApiEnableDomainDNSSECRequest}
898
900
  * @returns A Promise of Domain
@@ -448,8 +448,9 @@ export declare class RegistrarAPI extends ParentAPI {
448
448
  */
449
449
  getDomainAuthCode: (request: Readonly<RegistrarApiGetDomainAuthCodeRequest>) => Promise<GetDomainAuthCodeResponse>;
450
450
  /**
451
- * Update domain DNSSEC. If your domain has the default Scaleway NS and uses
452
- * another registrar, you have to update the DS record manually.
451
+ * Update domain DNSSEC. If your domain uses another registrar and has the
452
+ * default Scaleway NS, you have to **update the DS record at your
453
+ * registrar**.
453
454
  *
454
455
  * @param request - The request {@link RegistrarApiEnableDomainDNSSECRequest}
455
456
  * @returns A Promise of Domain
@@ -1,6 +1,7 @@
1
1
  import { waitForResource } from "../../../internal/async/interval-retrier.js";
2
2
  import { API as API$1 } from "../../../scw/api.js";
3
3
  import { urlParams, validatePathParam } from "../../../helpers/marshalling.js";
4
+ import "../../../vendor/base64/index.js";
4
5
  import { enrichForPagination } from "../../../scw/fetch/resource-paginator.js";
5
6
  import { SSL_CERTIFICATE_TRANSIENT_STATUSES, DOMAIN_TRANSIENT_STATUSES } from "./content.gen.js";
6
7
  import { unmarshalListDNSZonesResponse, marshalCreateDNSZoneRequest, unmarshalDNSZone, marshalUpdateDNSZoneRequest, marshalCloneDNSZoneRequest, unmarshalDeleteDNSZoneResponse, unmarshalListDNSZoneRecordsResponse, marshalUpdateDNSZoneRecordsRequest, unmarshalUpdateDNSZoneRecordsResponse, unmarshalListDNSZoneNameserversResponse, marshalUpdateDNSZoneNameserversRequest, unmarshalUpdateDNSZoneNameserversResponse, unmarshalClearDNSZoneRecordsResponse, marshalImportRawDNSZoneRequest, unmarshalImportRawDNSZoneResponse, marshalImportProviderDNSZoneRequest, unmarshalImportProviderDNSZoneResponse, marshalRefreshDNSZoneRequest, unmarshalRefreshDNSZoneResponse, unmarshalListDNSZoneVersionsResponse, unmarshalListDNSZoneVersionRecordsResponse, unmarshalGetDNSZoneVersionDiffResponse, unmarshalRestoreDNSZoneVersionResponse, unmarshalSSLCertificate, marshalCreateSSLCertificateRequest, unmarshalListSSLCertificatesResponse, unmarshalDeleteSSLCertificateResponse, unmarshalGetDNSZoneTsigKeyResponse, unmarshalListTasksResponse, marshalRegistrarApiBuyDomainsRequest, unmarshalOrderResponse, marshalRegistrarApiRenewDomainsRequest, marshalRegistrarApiTransferInDomainRequest, marshalRegistrarApiTradeDomainRequest, marshalRegistrarApiRegisterExternalDomainRequest, unmarshalRegisterExternalDomainResponse, unmarshalDeleteExternalDomainResponse, marshalRegistrarApiCheckContactsCompatibilityRequest, unmarshalCheckContactsCompatibilityResponse, unmarshalListContactsResponse, unmarshalContact, marshalRegistrarApiUpdateContactRequest, unmarshalListDomainsResponse, unmarshalListRenewableDomainsResponse, unmarshalDomain, marshalRegistrarApiUpdateDomainRequest, unmarshalGetDomainAuthCodeResponse, marshalRegistrarApiEnableDomainDNSSECRequest, unmarshalSearchAvailableDomainsResponse, unmarshalListTldsResponse, marshalRegistrarApiCreateDomainHostRequest, unmarshalHost, unmarshalListDomainHostsResponse, marshalRegistrarApiUpdateDomainHostRequest } from "./marshalling.gen.js";
@@ -889,8 +890,9 @@ class RegistrarAPI extends API$1 {
889
890
  unmarshalGetDomainAuthCodeResponse
890
891
  );
891
892
  /**
892
- * Update domain DNSSEC. If your domain has the default Scaleway NS and uses
893
- * another registrar, you have to update the DS record manually.
893
+ * Update domain DNSSEC. If your domain uses another registrar and has the
894
+ * default Scaleway NS, you have to **update the DS record at your
895
+ * registrar**.
894
896
  *
895
897
  * @param request - The request {@link RegistrarApiEnableDomainDNSSECRequest}
896
898
  * @returns A Promise of Domain
@@ -439,6 +439,11 @@ export type ListBackendStagesRequest = {
439
439
  * region will be returned.
440
440
  */
441
441
  bucketRegion?: string;
442
+ /**
443
+ * Load Balancer ID to filter for, only backend stages with this Load Balancer
444
+ * will be returned.
445
+ */
446
+ lbId?: string;
442
447
  };
443
448
  export interface ListBackendStagesResponse {
444
449
  /** Paginated list of backend stages. */
@@ -521,6 +526,11 @@ export type ListPipelinesRequest = {
521
526
  * returned.
522
527
  */
523
528
  projectId?: string;
529
+ /**
530
+ * Filter on backend stage, only pipelines with a Load Balancer origin will be
531
+ * returned.
532
+ */
533
+ hasBackendStageLb?: boolean;
524
534
  };
525
535
  export interface ListPipelinesResponse {
526
536
  /** Paginated list of pipelines. */
@@ -3,6 +3,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const intervalRetrier = require("../../../internal/async/interval-retrier.cjs");
4
4
  const api = require("../../../scw/api.cjs");
5
5
  const marshalling = require("../../../helpers/marshalling.cjs");
6
+ require("../../../vendor/base64/index.cjs");
6
7
  const resourcePaginator = require("../../../scw/fetch/resource-paginator.cjs");
7
8
  const content_gen = require("./content.gen.cjs");
8
9
  const marshalling_gen = require("./marshalling.gen.cjs");
@@ -1,6 +1,7 @@
1
1
  import { waitForResource } from "../../../internal/async/interval-retrier.js";
2
2
  import { API as API$1 } from "../../../scw/api.js";
3
3
  import { validatePathParam, urlParams } from "../../../helpers/marshalling.js";
4
+ import "../../../vendor/base64/index.js";
4
5
  import { enrichForPagination } from "../../../scw/fetch/resource-paginator.js";
5
6
  import { FLEXIBLE_IP_TRANSIENT_STATUSES } from "./content.gen.js";
6
7
  import { marshalCreateFlexibleIPRequest, unmarshalFlexibleIP, unmarshalListFlexibleIPsResponse, marshalUpdateFlexibleIPRequest, marshalAttachFlexibleIPRequest, unmarshalAttachFlexibleIPsResponse, marshalDetachFlexibleIPRequest, unmarshalDetachFlexibleIPsResponse, marshalGenerateMACAddrRequest, marshalDuplicateMACAddrRequest, marshalMoveMACAddrRequest } from "./marshalling.gen.js";
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const json = require("../../../helpers/json.cjs");
4
4
  const marshalling = require("../../../helpers/marshalling.cjs");
5
+ require("../../../vendor/base64/index.cjs");
5
6
  const unmarshalMACAddress = (data) => {
6
7
  if (!json.isJSONObject(data)) {
7
8
  throw new TypeError(
@@ -1,5 +1,6 @@
1
1
  import { isJSONObject } from "../../../helpers/json.js";
2
2
  import { unmarshalDate, unmarshalArrayOfObject } from "../../../helpers/marshalling.js";
3
+ import "../../../vendor/base64/index.js";
3
4
  const unmarshalMACAddress = (data) => {
4
5
  if (!isJSONObject(data)) {
5
6
  throw new TypeError(
@@ -3,6 +3,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const intervalRetrier = require("../../../internal/async/interval-retrier.cjs");
4
4
  const api = require("../../../scw/api.cjs");
5
5
  const marshalling = require("../../../helpers/marshalling.cjs");
6
+ require("../../../vendor/base64/index.cjs");
6
7
  const resourcePaginator = require("../../../scw/fetch/resource-paginator.cjs");
7
8
  const content_gen = require("./content.gen.cjs");
8
9
  const marshalling_gen = require("./marshalling.gen.cjs");
@@ -1,6 +1,7 @@
1
1
  import { waitForResource } from "../../../internal/async/interval-retrier.js";
2
2
  import { API as API$1 } from "../../../scw/api.js";
3
3
  import { validatePathParam, urlParams, resolveOneOf } from "../../../helpers/marshalling.js";
4
+ import "../../../vendor/base64/index.js";
4
5
  import { enrichForPagination } from "../../../scw/fetch/resource-paginator.js";
5
6
  import { NAMESPACE_TRANSIENT_STATUSES, FUNCTION_TRANSIENT_STATUSES, CRON_TRANSIENT_STATUSES, DOMAIN_TRANSIENT_STATUSES, TOKEN_TRANSIENT_STATUSES, TRIGGER_TRANSIENT_STATUSES } from "./content.gen.js";
6
7
  import { unmarshalListNamespacesResponse, unmarshalNamespace, marshalCreateNamespaceRequest, marshalUpdateNamespaceRequest, unmarshalListFunctionsResponse, unmarshalFunction, marshalCreateFunctionRequest, marshalUpdateFunctionRequest, unmarshalListFunctionRuntimesResponse, unmarshalUploadURL, unmarshalDownloadURL, unmarshalListCronsResponse, unmarshalCron, marshalCreateCronRequest, marshalUpdateCronRequest, unmarshalListDomainsResponse, unmarshalDomain, marshalCreateDomainRequest, unmarshalToken, marshalCreateTokenRequest, unmarshalListTokensResponse, marshalCreateTriggerRequest, unmarshalTrigger, unmarshalListTriggersResponse, marshalUpdateTriggerRequest } from "./marshalling.gen.js";
@@ -3,6 +3,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const randomName = require("@scaleway/random-name");
4
4
  const json = require("../../../helpers/json.cjs");
5
5
  const marshalling = require("../../../helpers/marshalling.cjs");
6
+ require("../../../vendor/base64/index.cjs");
6
7
  const unmarshalCron = (data) => {
7
8
  if (!json.isJSONObject(data)) {
8
9
  throw new TypeError(
@@ -1,6 +1,7 @@
1
1
  import randomName from "@scaleway/random-name";
2
2
  import { isJSONObject } from "../../../helpers/json.js";
3
3
  import { unmarshalArrayOfObject, unmarshalDate, resolveOneOf } from "../../../helpers/marshalling.js";
4
+ import "../../../vendor/base64/index.js";
4
5
  const unmarshalCron = (data) => {
5
6
  if (!isJSONObject(data)) {
6
7
  throw new TypeError(
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const api = require("../../../scw/api.cjs");
4
4
  const marshalling = require("../../../helpers/marshalling.cjs");
5
+ require("../../../vendor/base64/index.cjs");
5
6
  const resourcePaginator = require("../../../scw/fetch/resource-paginator.cjs");
6
7
  const marshalling_gen = require("./marshalling.gen.cjs");
7
8
  const jsonContentHeaders = {
@@ -1,5 +1,6 @@
1
1
  import { API as API$1 } from "../../../scw/api.js";
2
2
  import { urlParams, validatePathParam, resolveOneOf } from "../../../helpers/marshalling.js";
3
+ import "../../../vendor/base64/index.js";
3
4
  import { enrichForPagination } from "../../../scw/fetch/resource-paginator.js";
4
5
  import { unmarshalListSSHKeysResponse, marshalCreateSSHKeyRequest, unmarshalSSHKey, marshalUpdateSSHKeyRequest, unmarshalListUsersResponse, unmarshalUser, marshalUpdateUserRequest, marshalCreateUserRequest, unmarshalListApplicationsResponse, marshalCreateApplicationRequest, unmarshalApplication, marshalUpdateApplicationRequest, unmarshalListGroupsResponse, marshalCreateGroupRequest, unmarshalGroup, marshalUpdateGroupRequest, marshalSetGroupMembersRequest, marshalAddGroupMemberRequest, marshalAddGroupMembersRequest, marshalRemoveGroupMemberRequest, unmarshalListPoliciesResponse, marshalCreatePolicyRequest, unmarshalPolicy, marshalUpdatePolicyRequest, marshalSetRulesRequest, unmarshalSetRulesResponse, unmarshalListRulesResponse, unmarshalListPermissionSetsResponse, unmarshalListAPIKeysResponse, marshalCreateAPIKeyRequest, unmarshalAPIKey, marshalUpdateAPIKeyRequest, unmarshalListQuotaResponse, unmarshalQuotum, unmarshalListJWTsResponse, marshalCreateJWTRequest, unmarshalEncodedJWT, unmarshalJWT, unmarshalListLogsResponse, unmarshalLog } from "./marshalling.gen.js";
5
6
  const jsonContentHeaders = {
@@ -3,6 +3,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const randomName = require("@scaleway/random-name");
4
4
  const json = require("../../../helpers/json.cjs");
5
5
  const marshalling = require("../../../helpers/marshalling.cjs");
6
+ require("../../../vendor/base64/index.cjs");
6
7
  const unmarshalJWT = (data) => {
7
8
  if (!json.isJSONObject(data)) {
8
9
  throw new TypeError(
@@ -1,6 +1,7 @@
1
1
  import randomName from "@scaleway/random-name";
2
2
  import { isJSONObject } from "../../../helpers/json.js";
3
3
  import { unmarshalDate, unmarshalArrayOfObject, resolveOneOf } from "../../../helpers/marshalling.js";
4
+ import "../../../vendor/base64/index.js";
4
5
  const unmarshalJWT = (data) => {
5
6
  if (!isJSONObject(data)) {
6
7
  throw new TypeError(
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const api = require("../../../scw/api.cjs");
4
4
  const marshalling = require("../../../helpers/marshalling.cjs");
5
+ require("../../../vendor/base64/index.cjs");
5
6
  const resourcePaginator = require("../../../scw/fetch/resource-paginator.cjs");
6
7
  const marshalling_gen = require("./marshalling.gen.cjs");
7
8
  const jsonContentHeaders = {
@@ -1,5 +1,6 @@
1
1
  import { API as API$1 } from "../../../scw/api.js";
2
2
  import { validatePathParam, urlParams } from "../../../helpers/marshalling.js";
3
+ import "../../../vendor/base64/index.js";
3
4
  import { enrichForPagination } from "../../../scw/fetch/resource-paginator.js";
4
5
  import { unmarshalGetServerTypesAvailabilityResponse, unmarshalListServersTypesResponse, unmarshalListVolumesTypesResponse, unmarshalListServersResponse, marshalCreateServerRequest, unmarshalCreateServerResponse, unmarshalGetServerResponse, marshalSetServerRequest, unmarshalSetServerResponse, marshalUpdateServerRequest, unmarshalUpdateServerResponse, unmarshalListServerActionsResponse, marshalServerActionRequest, unmarshalServerActionResponse, unmarshalListServerUserDataResponse, marshalAttachServerVolumeRequest, unmarshalAttachServerVolumeResponse, marshalDetachServerVolumeRequest, unmarshalDetachServerVolumeResponse, unmarshalListImagesResponse, unmarshalGetImageResponse, marshalCreateImageRequest, unmarshalCreateImageResponse, marshalSetImageRequest, unmarshalSetImageResponse, marshalUpdateImageRequest, unmarshalUpdateImageResponse, unmarshalListSnapshotsResponse, marshalCreateSnapshotRequest, unmarshalCreateSnapshotResponse, unmarshalGetSnapshotResponse, marshalSetSnapshotRequest, unmarshalSetSnapshotResponse, marshalUpdateSnapshotRequest, unmarshalUpdateSnapshotResponse, marshalExportSnapshotRequest, unmarshalExportSnapshotResponse, unmarshalListVolumesResponse, marshalCreateVolumeRequest, unmarshalCreateVolumeResponse, unmarshalGetVolumeResponse, marshalUpdateVolumeRequest, unmarshalUpdateVolumeResponse, unmarshalListSecurityGroupsResponse, marshalCreateSecurityGroupRequest, unmarshalCreateSecurityGroupResponse, unmarshalGetSecurityGroupResponse, marshalSetSecurityGroupRequest, unmarshalSetSecurityGroupResponse, marshalUpdateSecurityGroupRequest, unmarshalUpdateSecurityGroupResponse, unmarshalListSecurityGroupRulesResponse, marshalCreateSecurityGroupRuleRequest, unmarshalCreateSecurityGroupRuleResponse, marshalSetSecurityGroupRulesRequest, unmarshalSetSecurityGroupRulesResponse, unmarshalGetSecurityGroupRuleResponse, marshalSetSecurityGroupRuleRequest, unmarshalSetSecurityGroupRuleResponse, marshalUpdateSecurityGroupRuleRequest, unmarshalUpdateSecurityGroupRuleResponse, unmarshalListPlacementGroupsResponse, marshalCreatePlacementGroupRequest, unmarshalCreatePlacementGroupResponse, unmarshalGetPlacementGroupResponse, marshalSetPlacementGroupRequest, unmarshalSetPlacementGroupResponse, marshalUpdatePlacementGroupRequest, unmarshalUpdatePlacementGroupResponse, unmarshalGetPlacementGroupServersResponse, marshalSetPlacementGroupServersRequest, unmarshalSetPlacementGroupServersResponse, marshalUpdatePlacementGroupServersRequest, unmarshalUpdatePlacementGroupServersResponse, unmarshalListIpsResponse, marshalCreateIpRequest, unmarshalCreateIpResponse, unmarshalGetIpResponse, marshalUpdateIpRequest, unmarshalUpdateIpResponse, unmarshalListPrivateNICsResponse, marshalCreatePrivateNICRequest, unmarshalCreatePrivateNICResponse, unmarshalGetPrivateNICResponse, marshalUpdatePrivateNICRequest, unmarshalPrivateNIC, unmarshalListBootscriptsResponse, unmarshalGetBootscriptResponse, unmarshalGetDashboardResponse, marshalPlanBlockMigrationRequest, unmarshalMigrationPlan, marshalApplyBlockMigrationRequest } from "./marshalling.gen.js";
5
6
  const jsonContentHeaders = {
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const intervalRetrier = require("../../../internal/async/interval-retrier.cjs");
4
4
  const marshalling = require("../../../helpers/marshalling.cjs");
5
+ require("../../../vendor/base64/index.cjs");
5
6
  const api_gen = require("./api.gen.cjs");
6
7
  const content_gen = require("./content.gen.cjs");
7
8
  const validateNotUndefined = (obj) => {
@@ -1,5 +1,6 @@
1
1
  import { tryAtIntervals, createExponentialBackoffStrategy } from "../../../internal/async/interval-retrier.js";
2
2
  import { validatePathParam } from "../../../helpers/marshalling.js";
3
+ import "../../../vendor/base64/index.js";
3
4
  import { API } from "./api.gen.js";
4
5
  import { IMAGE_TRANSIENT_STATUSES, PRIVATE_NIC_TRANSIENT_STATUSES, SERVER_TRANSIENT_STATUSES, SNAPSHOT_TRANSIENT_STATUSES, VOLUME_TRANSIENT_STATUSES } from "./content.gen.js";
5
6
  const validateNotUndefined = (obj) => {
@@ -3,6 +3,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const randomName = require("@scaleway/random-name");
4
4
  const json = require("../../../helpers/json.cjs");
5
5
  const marshalling = require("../../../helpers/marshalling.cjs");
6
+ require("../../../vendor/base64/index.cjs");
6
7
  const unmarshalPrivateNIC = (data) => {
7
8
  if (!json.isJSONObject(data)) {
8
9
  throw new TypeError(
@@ -1,6 +1,7 @@
1
1
  import randomName from "@scaleway/random-name";
2
2
  import { isJSONObject } from "../../../helpers/json.js";
3
3
  import { unmarshalArrayOfObject, unmarshalMapOfObject, resolveOneOf, unmarshalDate } from "../../../helpers/marshalling.js";
4
+ import "../../../vendor/base64/index.js";
4
5
  const unmarshalPrivateNIC = (data) => {
5
6
  if (!isJSONObject(data)) {
6
7
  throw new TypeError(
@@ -3,6 +3,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const intervalRetrier = require("../../../internal/async/interval-retrier.cjs");
4
4
  const api = require("../../../scw/api.cjs");
5
5
  const marshalling = require("../../../helpers/marshalling.cjs");
6
+ require("../../../vendor/base64/index.cjs");
6
7
  const resourcePaginator = require("../../../scw/fetch/resource-paginator.cjs");
7
8
  const content_gen = require("./content.gen.cjs");
8
9
  const marshalling_gen = require("./marshalling.gen.cjs");