@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.
- package/dist/api/account/v2/api.gen.cjs +1 -0
- package/dist/api/account/v2/api.gen.js +1 -0
- package/dist/api/account/v2/marshalling.gen.cjs +1 -0
- package/dist/api/account/v2/marshalling.gen.js +1 -0
- package/dist/api/account/v3/api.gen.cjs +1 -0
- package/dist/api/account/v3/api.gen.js +1 -0
- package/dist/api/account/v3/marshalling.gen.cjs +1 -0
- package/dist/api/account/v3/marshalling.gen.js +1 -0
- package/dist/api/applesilicon/v1alpha1/api.gen.cjs +1 -0
- package/dist/api/applesilicon/v1alpha1/api.gen.js +1 -0
- package/dist/api/applesilicon/v1alpha1/marshalling.gen.cjs +1 -0
- package/dist/api/applesilicon/v1alpha1/marshalling.gen.js +1 -0
- package/dist/api/baremetal/v1/api.gen.cjs +1 -0
- package/dist/api/baremetal/v1/api.gen.js +1 -0
- package/dist/api/billing/v2alpha1/api.gen.cjs +1 -0
- package/dist/api/billing/v2alpha1/api.gen.js +1 -0
- package/dist/api/billing/v2beta1/api.gen.cjs +1 -0
- package/dist/api/billing/v2beta1/api.gen.js +1 -0
- package/dist/api/block/v1alpha1/api.gen.cjs +1 -0
- package/dist/api/block/v1alpha1/api.gen.js +1 -0
- package/dist/api/cockpit/v1/api.gen.cjs +1 -0
- package/dist/api/cockpit/v1/api.gen.js +1 -0
- package/dist/api/cockpit/v1/marshalling.gen.cjs +1 -0
- package/dist/api/cockpit/v1/marshalling.gen.js +1 -0
- package/dist/api/cockpit/v1beta1/api.gen.cjs +1 -0
- package/dist/api/cockpit/v1beta1/api.gen.js +1 -0
- package/dist/api/container/v1beta1/api.gen.cjs +1 -0
- package/dist/api/container/v1beta1/api.gen.js +1 -0
- package/dist/api/container/v1beta1/marshalling.gen.cjs +1 -0
- package/dist/api/container/v1beta1/marshalling.gen.js +1 -0
- package/dist/api/dedibox/v1/api.gen.cjs +1 -0
- package/dist/api/dedibox/v1/api.gen.js +1 -0
- package/dist/api/document_db/v1beta1/api.gen.cjs +1 -0
- package/dist/api/document_db/v1beta1/api.gen.js +1 -0
- package/dist/api/domain/v2beta1/api.gen.cjs +4 -2
- package/dist/api/domain/v2beta1/api.gen.d.ts +3 -2
- package/dist/api/domain/v2beta1/api.gen.js +4 -2
- package/dist/api/edge_services/v1alpha1/types.gen.d.ts +10 -0
- package/dist/api/flexibleip/v1alpha1/api.gen.cjs +1 -0
- package/dist/api/flexibleip/v1alpha1/api.gen.js +1 -0
- package/dist/api/flexibleip/v1alpha1/marshalling.gen.cjs +1 -0
- package/dist/api/flexibleip/v1alpha1/marshalling.gen.js +1 -0
- package/dist/api/function/v1beta1/api.gen.cjs +1 -0
- package/dist/api/function/v1beta1/api.gen.js +1 -0
- package/dist/api/function/v1beta1/marshalling.gen.cjs +1 -0
- package/dist/api/function/v1beta1/marshalling.gen.js +1 -0
- package/dist/api/iam/v1alpha1/api.gen.cjs +1 -0
- package/dist/api/iam/v1alpha1/api.gen.js +1 -0
- package/dist/api/iam/v1alpha1/marshalling.gen.cjs +1 -0
- package/dist/api/iam/v1alpha1/marshalling.gen.js +1 -0
- package/dist/api/instance/v1/api.gen.cjs +1 -0
- package/dist/api/instance/v1/api.gen.js +1 -0
- package/dist/api/instance/v1/api.utils.cjs +1 -0
- package/dist/api/instance/v1/api.utils.js +1 -0
- package/dist/api/instance/v1/marshalling.gen.cjs +1 -0
- package/dist/api/instance/v1/marshalling.gen.js +1 -0
- package/dist/api/iot/v1/api.gen.cjs +1 -0
- package/dist/api/iot/v1/api.gen.js +1 -0
- package/dist/api/ipam/v1/api.gen.cjs +1 -0
- package/dist/api/ipam/v1/api.gen.js +1 -0
- package/dist/api/ipam/v1/marshalling.gen.cjs +1 -0
- package/dist/api/ipam/v1/marshalling.gen.js +1 -0
- package/dist/api/ipfs/v1alpha1/api.gen.cjs +1 -0
- package/dist/api/ipfs/v1alpha1/api.gen.js +1 -0
- package/dist/api/ipfs/v1alpha1/marshalling.gen.cjs +1 -0
- package/dist/api/ipfs/v1alpha1/marshalling.gen.js +1 -0
- package/dist/api/jobs/v1alpha1/api.gen.cjs +1 -0
- package/dist/api/jobs/v1alpha1/api.gen.js +1 -0
- package/dist/api/jobs/v1alpha1/marshalling.gen.cjs +1 -0
- package/dist/api/jobs/v1alpha1/marshalling.gen.js +1 -0
- package/dist/api/jobs/v1alpha1/types.gen.d.ts +1 -0
- package/dist/api/k8s/v1/api.gen.cjs +1 -0
- package/dist/api/k8s/v1/api.gen.js +1 -0
- package/dist/api/k8s/v1/marshalling.gen.cjs +1 -0
- package/dist/api/k8s/v1/marshalling.gen.js +1 -0
- package/dist/api/key_manager/v1alpha1/api.gen.cjs +1 -0
- package/dist/api/key_manager/v1alpha1/api.gen.js +1 -0
- package/dist/api/key_manager/v1alpha1/marshalling.gen.cjs +1 -0
- package/dist/api/key_manager/v1alpha1/marshalling.gen.js +1 -0
- package/dist/api/lb/v1/api.gen.cjs +1 -0
- package/dist/api/lb/v1/api.gen.js +1 -0
- package/dist/api/lb/v1/marshalling.gen.cjs +1 -0
- package/dist/api/lb/v1/marshalling.gen.js +1 -0
- package/dist/api/llm_inference/v1beta1/api.gen.cjs +1 -0
- package/dist/api/llm_inference/v1beta1/api.gen.js +1 -0
- package/dist/api/llm_inference/v1beta1/marshalling.gen.cjs +1 -0
- package/dist/api/llm_inference/v1beta1/marshalling.gen.js +1 -0
- package/dist/api/marketplace/v2/api.gen.cjs +1 -0
- package/dist/api/marketplace/v2/api.gen.js +1 -0
- package/dist/api/marketplace/v2/marshalling.gen.cjs +1 -0
- package/dist/api/marketplace/v2/marshalling.gen.js +1 -0
- package/dist/api/mnq/v1beta1/api.gen.cjs +1 -0
- package/dist/api/mnq/v1beta1/api.gen.js +1 -0
- package/dist/api/mnq/v1beta1/marshalling.gen.cjs +1 -0
- package/dist/api/mnq/v1beta1/marshalling.gen.js +1 -0
- package/dist/api/rdb/v1/api.gen.cjs +1 -0
- package/dist/api/rdb/v1/api.gen.js +1 -0
- package/dist/api/redis/v1/api.gen.cjs +1 -0
- package/dist/api/redis/v1/api.gen.js +1 -0
- package/dist/api/registry/v1/api.gen.cjs +1 -0
- package/dist/api/registry/v1/api.gen.js +1 -0
- package/dist/api/registry/v1/marshalling.gen.cjs +1 -0
- package/dist/api/registry/v1/marshalling.gen.js +1 -0
- package/dist/api/secret/v1alpha1/api.gen.cjs +1 -0
- package/dist/api/secret/v1alpha1/api.gen.js +1 -0
- package/dist/api/secret/v1alpha1/marshalling.gen.cjs +1 -0
- package/dist/api/secret/v1alpha1/marshalling.gen.js +1 -0
- package/dist/api/secret/v1beta1/api.gen.cjs +3 -1
- package/dist/api/secret/v1beta1/api.gen.js +3 -1
- package/dist/api/secret/v1beta1/marshalling.gen.cjs +1 -0
- package/dist/api/secret/v1beta1/marshalling.gen.js +1 -0
- package/dist/api/secret/v1beta1/types.gen.d.ts +2 -0
- package/dist/api/serverless_sqldb/v1alpha1/api.gen.cjs +1 -0
- package/dist/api/serverless_sqldb/v1alpha1/api.gen.js +1 -0
- package/dist/api/serverless_sqldb/v1alpha1/marshalling.gen.cjs +1 -0
- package/dist/api/serverless_sqldb/v1alpha1/marshalling.gen.js +1 -0
- package/dist/api/tem/v1alpha1/api.gen.cjs +1 -0
- package/dist/api/tem/v1alpha1/api.gen.js +1 -0
- package/dist/api/tem/v1alpha1/marshalling.gen.cjs +1 -0
- package/dist/api/tem/v1alpha1/marshalling.gen.js +1 -0
- package/dist/api/test/v1/api.gen.cjs +1 -0
- package/dist/api/test/v1/api.gen.js +1 -0
- package/dist/api/test/v1/marshalling.gen.cjs +1 -0
- package/dist/api/test/v1/marshalling.gen.js +1 -0
- package/dist/api/vpc/v1/api.gen.cjs +1 -0
- package/dist/api/vpc/v1/api.gen.js +1 -0
- package/dist/api/vpc/v1/marshalling.gen.cjs +1 -0
- package/dist/api/vpc/v1/marshalling.gen.js +1 -0
- package/dist/api/vpc/v2/api.gen.cjs +1 -0
- package/dist/api/vpc/v2/api.gen.js +1 -0
- package/dist/api/vpc/v2/marshalling.gen.cjs +1 -0
- package/dist/api/vpc/v2/marshalling.gen.js +1 -0
- package/dist/api/vpcgw/v1/api.gen.cjs +1 -0
- package/dist/api/vpcgw/v1/api.gen.js +1 -0
- package/dist/api/vpcgw/v1/marshalling.gen.cjs +1 -0
- package/dist/api/vpcgw/v1/marshalling.gen.js +1 -0
- package/dist/api/webhosting/v1alpha1/api.gen.cjs +1 -0
- package/dist/api/webhosting/v1alpha1/api.gen.js +1 -0
- package/dist/bridge.d.ts +1 -1
- package/dist/index.cjs +1 -0
- package/dist/index.js +2 -1
- package/dist/internals.d.ts +1 -1
- package/dist/scw/constants.cjs +1 -1
- package/dist/scw/constants.d.ts +2 -2
- package/dist/scw/constants.js +1 -1
- package/dist/scw/custom-marshalling.cjs +7 -0
- package/dist/scw/custom-marshalling.d.ts +6 -0
- package/dist/scw/custom-marshalling.js +7 -0
- package/dist/vendor/base64/index.cjs +42 -0
- package/dist/vendor/base64/index.js +42 -0
- 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
|
|
895
|
-
*
|
|
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
|
|
452
|
-
*
|
|
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
|
|
893
|
-
*
|
|
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");
|