@scaleway/sdk 2.39.0 → 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/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 +1 -0
- package/dist/api/secret/v1beta1/api.gen.js +1 -0
- package/dist/api/secret/v1beta1/marshalling.gen.cjs +1 -0
- package/dist/api/secret/v1beta1/marshalling.gen.js +1 -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
|
@@ -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 { HUB_TRANSIENT_STATUSES } from "./content.gen.js";
|
|
6
7
|
import { unmarshalListHubsResponse, marshalCreateHubRequest, unmarshalHub, marshalUpdateHubRequest, unmarshalGetHubMetricsResponse, marshalSetHubCARequest, unmarshalGetHubCAResponse, unmarshalListDevicesResponse, marshalCreateDeviceRequest, unmarshalCreateDeviceResponse, unmarshalDevice, marshalUpdateDeviceRequest, unmarshalRenewDeviceCertificateResponse, marshalSetDeviceCertificateRequest, unmarshalSetDeviceCertificateResponse, unmarshalGetDeviceCertificateResponse, unmarshalGetDeviceMetricsResponse, unmarshalListRoutesResponse, marshalCreateRouteRequest, unmarshalRoute, marshalUpdateRouteRequest, unmarshalListNetworksResponse, marshalCreateNetworkRequest, unmarshalCreateNetworkResponse, unmarshalNetwork, unmarshalTwinDocument, marshalPutTwinDocumentRequest, marshalPatchTwinDocumentRequest, unmarshalListTwinDocumentsResponse } 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 { validatePathParam, urlParams, resolveOneOf } from "../../../helpers/marshalling.js";
|
|
3
|
+
import "../../../vendor/base64/index.js";
|
|
3
4
|
import { enrichForPagination } from "../../../scw/fetch/resource-paginator.js";
|
|
4
5
|
import { marshalBookIPRequest, unmarshalIP, marshalReleaseIPSetRequest, marshalUpdateIPRequest, unmarshalListIPsResponse } 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 unmarshalResource = (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 unmarshalResource = (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 } from "../../../helpers/marshalling.js";
|
|
4
|
+
import "../../../vendor/base64/index.js";
|
|
4
5
|
import { enrichForPagination } from "../../../scw/fetch/resource-paginator.js";
|
|
5
6
|
import { PIN_TRANSIENT_STATUSES, NAME_TRANSIENT_STATUSES } from "./content.gen.js";
|
|
6
7
|
import { marshalCreateVolumeRequest, unmarshalVolume, unmarshalListVolumesResponse, marshalUpdateVolumeRequest, marshalCreatePinByURLRequest, unmarshalPin, marshalCreatePinByCIDRequest, marshalReplacePinRequest, unmarshalReplacePinResponse, unmarshalListPinsResponse, marshalIpnsApiCreateNameRequest, unmarshalName, unmarshalListNamesResponse, marshalIpnsApiUpdateNameRequest, unmarshalExportKeyNameResponse, marshalIpnsApiImportKeyNameRequest } 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 unmarshalName = (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 unmarshalName = (data) => {
|
|
4
5
|
if (!isJSONObject(data)) {
|
|
5
6
|
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 { marshalCreateJobDefinitionRequest, unmarshalJobDefinition, unmarshalListJobDefinitionsResponse, marshalUpdateJobDefinitionRequest, marshalStartJobDefinitionRequest, unmarshalStartJobDefinitionResponse, unmarshalJobRun, unmarshalListJobRunsResponse, unmarshalListJobsResourcesResponse } 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 unmarshalCronSchedule = (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 unmarshalCronSchedule = (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 { CLUSTER_TRANSIENT_STATUSES, POOL_TRANSIENT_STATUSES, NODE_TRANSIENT_STATUSES } from "./content.gen.js";
|
|
6
7
|
import { unmarshalListClustersResponse, marshalCreateClusterRequest, unmarshalCluster, marshalUpdateClusterRequest, marshalUpgradeClusterRequest, marshalSetClusterTypeRequest, unmarshalListClusterAvailableVersionsResponse, unmarshalListClusterAvailableTypesResponse, unmarshalListPoolsResponse, marshalCreatePoolRequest, unmarshalPool, marshalUpgradePoolRequest, marshalUpdatePoolRequest, unmarshalExternalNode, unmarshalListNodesResponse, unmarshalNode, unmarshalListVersionsResponse, unmarshalVersion, unmarshalListClusterTypesResponse } 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 unmarshalPoolUpgradePolicy = (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 unmarshalPoolUpgradePolicy = (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 { marshalCreateKeyRequest, unmarshalKey, marshalUpdateKeyRequest, unmarshalListKeysResponse, marshalGenerateDataKeyRequest, unmarshalDataKey, marshalEncryptRequest, unmarshalEncryptResponse, marshalDecryptRequest, unmarshalDecryptResponse } 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 unmarshalKeyRotationPolicy = (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 unmarshalKeyRotationPolicy = (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 } from "../../../helpers/marshalling.js";
|
|
4
|
+
import "../../../vendor/base64/index.js";
|
|
4
5
|
import { enrichForPagination } from "../../../scw/fetch/resource-paginator.js";
|
|
5
6
|
import { LB_TRANSIENT_STATUSES, CERTIFICATE_TRANSIENT_STATUSES } from "./content.gen.js";
|
|
6
7
|
import { unmarshalListLbsResponse, marshalZonedApiCreateLbRequest, unmarshalLb, marshalZonedApiUpdateLbRequest, marshalZonedApiMigrateLbRequest, unmarshalListIpsResponse, marshalZonedApiCreateIpRequest, unmarshalIp, marshalZonedApiUpdateIpRequest, unmarshalListBackendsResponse, marshalZonedApiCreateBackendRequest, unmarshalBackend, marshalZonedApiUpdateBackendRequest, marshalZonedApiAddBackendServersRequest, marshalZonedApiRemoveBackendServersRequest, marshalZonedApiSetBackendServersRequest, marshalZonedApiUpdateHealthCheckRequest, unmarshalHealthCheck, unmarshalListFrontendsResponse, marshalZonedApiCreateFrontendRequest, unmarshalFrontend, marshalZonedApiUpdateFrontendRequest, unmarshalListRoutesResponse, marshalZonedApiCreateRouteRequest, unmarshalRoute, marshalZonedApiUpdateRouteRequest, unmarshalLbStats, unmarshalListBackendStatsResponse, unmarshalListAclResponse, marshalZonedApiCreateAclRequest, unmarshalAcl, marshalZonedApiUpdateAclRequest, marshalZonedApiSetAclsRequest, unmarshalSetAclsResponse, marshalZonedApiCreateCertificateRequest, unmarshalCertificate, unmarshalListCertificatesResponse, marshalZonedApiUpdateCertificateRequest, unmarshalListLbTypesResponse, marshalZonedApiCreateSubscriberRequest, unmarshalSubscriber, unmarshalListSubscriberResponse, marshalZonedApiUpdateSubscriberRequest, marshalZonedApiSubscribeToLbRequest, unmarshalListLbPrivateNetworksResponse, marshalZonedApiAttachPrivateNetworkRequest, unmarshalPrivateNetwork, marshalCreateLbRequest, marshalUpdateLbRequest, marshalMigrateLbRequest, marshalCreateIpRequest, marshalUpdateIpRequest, marshalCreateBackendRequest, marshalUpdateBackendRequest, marshalAddBackendServersRequest, marshalRemoveBackendServersRequest, marshalSetBackendServersRequest, marshalUpdateHealthCheckRequest, marshalCreateFrontendRequest, marshalUpdateFrontendRequest, marshalCreateRouteRequest, marshalUpdateRouteRequest, marshalCreateAclRequest, marshalUpdateAclRequest, marshalCreateCertificateRequest, marshalUpdateCertificateRequest, marshalCreateSubscriberRequest, marshalUpdateSubscriberRequest, marshalSubscribeToLbRequest, marshalAttachPrivateNetworkRequest } 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 unmarshalIp = (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 unmarshalIp = (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 { DEPLOYMENT_TRANSIENT_STATUSES } from "./content.gen.js";
|
|
6
7
|
import { unmarshalListDeploymentsResponse, unmarshalDeployment, marshalCreateDeploymentRequest, marshalUpdateDeploymentRequest, marshalCreateEndpointRequest, unmarshalEndpoint, marshalUpdateEndpointRequest, unmarshalListDeploymentACLRulesResponse, marshalAddDeploymentACLRulesRequest, unmarshalAddDeploymentACLRulesResponse, marshalSetDeploymentACLRulesRequest, unmarshalSetDeploymentACLRulesResponse, unmarshalListModelsResponse, unmarshalModel, unmarshalEula, unmarshalListNodeTypesResponse } 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 unmarshalEndpointPrivateNetworkDetails = (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 unmarshalEndpointPrivateNetworkDetails = (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
|
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, resolveOneOf } from "../../../helpers/marshalling.js";
|
|
3
|
+
import "../../../vendor/base64/index.js";
|
|
3
4
|
import { enrichForPagination } from "../../../scw/fetch/resource-paginator.js";
|
|
4
5
|
import { unmarshalListImagesResponse, unmarshalImage, unmarshalListVersionsResponse, unmarshalVersion, unmarshalListLocalImagesResponse, unmarshalLocalImage, unmarshalListCategoriesResponse, unmarshalCategory } 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 json = require("../../../helpers/json.cjs");
|
|
4
4
|
const marshalling = require("../../../helpers/marshalling.cjs");
|
|
5
|
+
require("../../../vendor/base64/index.cjs");
|
|
5
6
|
const unmarshalCategory = (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 unmarshalCategory = (data) => {
|
|
4
5
|
if (!isJSONObject(data)) {
|
|
5
6
|
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 { marshalNatsApiCreateNatsAccountRequest, unmarshalNatsAccount, marshalNatsApiUpdateNatsAccountRequest, unmarshalListNatsAccountsResponse, marshalNatsApiCreateNatsCredentialsRequest, unmarshalNatsCredentials, unmarshalListNatsCredentialsResponse, marshalSnsApiActivateSnsRequest, unmarshalSnsInfo, marshalSnsApiDeactivateSnsRequest, marshalSnsApiCreateSnsCredentialsRequest, unmarshalSnsCredentials, marshalSnsApiUpdateSnsCredentialsRequest, unmarshalListSnsCredentialsResponse, marshalSqsApiActivateSqsRequest, unmarshalSqsInfo, marshalSqsApiDeactivateSqsRequest, marshalSqsApiCreateSqsCredentialsRequest, unmarshalSqsCredentials, marshalSqsApiUpdateSqsCredentialsRequest, unmarshalListSqsCredentialsResponse } 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 unmarshalNatsAccount = (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 unmarshalNatsAccount = (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 { DATABASE_BACKUP_TRANSIENT_STATUSES, INSTANCE_TRANSIENT_STATUSES, READ_REPLICA_TRANSIENT_STATUSES, INSTANCE_LOG_TRANSIENT_STATUSES, SNAPSHOT_TRANSIENT_STATUSES } from "./content.gen.js";
|
|
6
7
|
import { unmarshalListDatabaseEnginesResponse, unmarshalListNodeTypesResponse, unmarshalListDatabaseBackupsResponse, marshalCreateDatabaseBackupRequest, unmarshalDatabaseBackup, marshalUpdateDatabaseBackupRequest, marshalRestoreDatabaseBackupRequest, marshalUpgradeInstanceRequest, unmarshalInstance, unmarshalListInstancesResponse, marshalCreateInstanceRequest, marshalUpdateInstanceRequest, marshalCloneInstanceRequest, unmarshalInstanceMetrics, marshalCreateReadReplicaRequest, unmarshalReadReplica, marshalCreateReadReplicaEndpointRequest, marshalPrepareInstanceLogsRequest, unmarshalPrepareInstanceLogsResponse, 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");
|
|
@@ -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 { CLUSTER_TRANSIENT_STATUSES } from "./content.gen.js";
|
|
6
7
|
import { marshalCreateClusterRequest, unmarshalCluster, marshalUpdateClusterRequest, unmarshalListClustersResponse, marshalMigrateClusterRequest, unmarshalClusterMetricsResponse, unmarshalListNodeTypesResponse, unmarshalListClusterVersionsResponse, marshalAddClusterSettingsRequest, unmarshalClusterSettingsResponse, marshalSetClusterSettingsRequest, marshalSetAclRulesRequest, unmarshalSetAclRulesResponse, marshalAddAclRulesRequest, unmarshalAddAclRulesResponse, unmarshalACLRule, marshalSetEndpointsRequest, unmarshalSetEndpointsResponse, marshalAddEndpointsRequest, unmarshalAddEndpointsResponse, unmarshalEndpoint, marshalUpdateEndpointRequest } 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 { NAMESPACE_TRANSIENT_STATUSES, IMAGE_TRANSIENT_STATUSES, TAG_TRANSIENT_STATUSES } from "./content.gen.js";
|
|
6
7
|
import { unmarshalListNamespacesResponse, unmarshalNamespace, marshalCreateNamespaceRequest, marshalUpdateNamespaceRequest, unmarshalListImagesResponse, unmarshalImage, marshalUpdateImageRequest, unmarshalListTagsResponse, unmarshalTag } 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 unmarshalImage = (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 unmarshalImage = (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 { marshalCreateSecretRequest, unmarshalSecret, marshalCreateFolderRequest, unmarshalFolder, marshalUpdateSecretRequest, unmarshalListSecretsResponse, unmarshalListFoldersResponse, marshalAddSecretOwnerRequest, marshalCreateSecretVersionRequest, unmarshalSecretVersion, marshalGeneratePasswordRequest, marshalUpdateSecretVersionRequest, unmarshalListSecretVersionsResponse, unmarshalAccessSecretVersionResponse, unmarshalListTagsResponse } 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 unmarshalFolder = (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 unmarshalFolder = (data) => {
|
|
4
5
|
if (!isJSONObject(data)) {
|
|
5
6
|
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 { marshalCreateSecretRequest, unmarshalSecret, marshalUpdateSecretRequest, unmarshalListSecretsResponse, unmarshalBrowseSecretsResponse, marshalAddSecretOwnerRequest, marshalCreateSecretVersionRequest, unmarshalSecretVersion, marshalUpdateSecretVersionRequest, unmarshalListSecretVersionsResponse, unmarshalAccessSecretVersionResponse, unmarshalListTagsResponse, unmarshalListSecretTypesResponse } 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 unmarshalEphemeralProperties = (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 unmarshalEphemeralProperties = (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 } from "../../../helpers/marshalling.js";
|
|
4
|
+
import "../../../vendor/base64/index.js";
|
|
4
5
|
import { enrichForPagination } from "../../../scw/fetch/resource-paginator.js";
|
|
5
6
|
import { DATABASE_TRANSIENT_STATUSES } from "./content.gen.js";
|
|
6
7
|
import { marshalCreateDatabaseRequest, unmarshalDatabase, unmarshalListDatabasesResponse, marshalUpdateDatabaseRequest, marshalRestoreDatabaseFromBackupRequest, unmarshalDatabaseBackup, unmarshalListDatabaseBackupsResponse } 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 unmarshalDatabaseBackup = (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 unmarshalDatabaseBackup = (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 } from "../../../helpers/marshalling.js";
|
|
4
|
+
import "../../../vendor/base64/index.js";
|
|
4
5
|
import { enrichForPagination } from "../../../scw/fetch/resource-paginator.js";
|
|
5
6
|
import { EMAIL_TRANSIENT_STATUSES, DOMAIN_TRANSIENT_STATUSES } from "./content.gen.js";
|
|
6
7
|
import { marshalCreateEmailRequest, unmarshalCreateEmailResponse, unmarshalEmail, unmarshalListEmailsResponse, unmarshalStatistics, marshalCreateDomainRequest, unmarshalDomain, unmarshalListDomainsResponse, unmarshalDomainLastStatus, unmarshalListWebhooksResponse, marshalUpdateWebhookRequest, unmarshalWebhook, unmarshalListWebhookEventsResponse } 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 unmarshalEmailTry = (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 unmarshalEmailTry = (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 { HUMAN_TRANSIENT_STATUSES } from "./content.gen.js";
|
|
6
7
|
import { marshalRegisterRequest, unmarshalRegisterResponse, unmarshalListHumansResponse, unmarshalHuman, marshalCreateHumanRequest, marshalUpdateHumanRequest } from "./marshalling.gen.js";
|