@scaleway/sdk 2.61.0 → 2.62.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/index.gen.d.ts +2 -2
- package/dist/api/account/v2/index.gen.d.ts +1 -1
- package/dist/api/account/v3/api.gen.cjs +106 -0
- package/dist/api/account/v3/api.gen.d.ts +53 -1
- package/dist/api/account/v3/api.gen.js +108 -2
- package/dist/api/account/v3/index.gen.cjs +1 -0
- package/dist/api/account/v3/index.gen.d.ts +3 -3
- package/dist/api/account/v3/index.gen.js +2 -1
- package/dist/api/account/v3/marshalling.gen.cjs +71 -0
- package/dist/api/account/v3/marshalling.gen.d.ts +6 -1
- package/dist/api/account/v3/marshalling.gen.js +71 -0
- package/dist/api/account/v3/types.gen.d.ts +81 -0
- package/dist/api/account/v3/validation-rules.gen.cjs +22 -0
- package/dist/api/account/v3/validation-rules.gen.d.ts +19 -0
- package/dist/api/account/v3/validation-rules.gen.js +22 -0
- package/dist/api/applesilicon/index.gen.d.ts +1 -1
- package/dist/api/applesilicon/v1alpha1/index.gen.d.ts +2 -2
- package/dist/api/audit_trail/index.gen.d.ts +1 -1
- package/dist/api/audit_trail/v1alpha1/index.gen.d.ts +2 -2
- package/dist/api/baremetal/index.gen.d.ts +2 -2
- package/dist/api/baremetal/v1/api.utils.d.ts +2 -2
- package/dist/api/baremetal/v1/index.d.ts +4 -4
- package/dist/api/baremetal/v1/index.gen.d.ts +3 -3
- package/dist/api/baremetal/v3/index.gen.d.ts +2 -2
- package/dist/api/billing/index.gen.d.ts +2 -2
- package/dist/api/billing/v2alpha1/index.gen.d.ts +1 -1
- package/dist/api/billing/v2beta1/index.gen.d.ts +1 -1
- package/dist/api/block/index.gen.d.ts +1 -1
- package/dist/api/block/v1alpha1/index.gen.d.ts +3 -3
- package/dist/api/cockpit/index.gen.d.ts +2 -2
- package/dist/api/cockpit/v1/index.gen.d.ts +2 -2
- package/dist/api/cockpit/v1beta1/index.gen.d.ts +2 -2
- package/dist/api/container/index.gen.d.ts +1 -1
- package/dist/api/container/v1beta1/index.gen.d.ts +3 -3
- package/dist/api/dedibox/index.gen.d.ts +1 -1
- package/dist/api/dedibox/v1/index.gen.d.ts +3 -3
- package/dist/api/document_db/index.gen.d.ts +1 -1
- package/dist/api/document_db/v1beta1/index.gen.d.ts +3 -3
- package/dist/api/domain/index.gen.d.ts +1 -1
- package/dist/api/domain/v2beta1/index.gen.d.ts +2 -2
- package/dist/api/edge_services/index.gen.d.ts +1 -1
- package/dist/api/edge_services/v1alpha1/index.gen.d.ts +2 -2
- package/dist/api/flexibleip/index.gen.d.ts +1 -1
- package/dist/api/flexibleip/v1alpha1/index.gen.d.ts +3 -3
- package/dist/api/function/index.gen.d.ts +1 -1
- package/dist/api/function/v1beta1/index.gen.d.ts +3 -3
- package/dist/api/iam/index.gen.d.ts +1 -1
- package/dist/api/iam/v1alpha1/api.gen.cjs +46 -0
- package/dist/api/iam/v1alpha1/api.gen.d.ts +24 -1
- package/dist/api/iam/v1alpha1/api.gen.js +47 -1
- package/dist/api/iam/v1alpha1/index.gen.d.ts +3 -3
- package/dist/api/iam/v1alpha1/marshalling.gen.cjs +27 -2
- package/dist/api/iam/v1alpha1/marshalling.gen.d.ts +4 -1
- package/dist/api/iam/v1alpha1/marshalling.gen.js +28 -3
- package/dist/api/iam/v1alpha1/types.gen.d.ts +21 -5
- package/dist/api/iam/v1alpha1/validation-rules.gen.cjs +6 -0
- package/dist/api/iam/v1alpha1/validation-rules.gen.d.ts +5 -0
- package/dist/api/iam/v1alpha1/validation-rules.gen.js +7 -1
- package/dist/api/index.d.ts +16 -16
- package/dist/api/index.gen.d.ts +41 -41
- package/dist/api/inference/index.gen.d.ts +1 -1
- package/dist/api/inference/v1beta1/index.gen.d.ts +3 -3
- package/dist/api/instance/index.gen.d.ts +1 -1
- package/dist/api/instance/v1/api.utils.d.ts +2 -2
- package/dist/api/instance/v1/index.d.ts +2 -2
- package/dist/api/instance/v1/index.gen.d.ts +2 -2
- package/dist/api/interlink/index.gen.d.ts +1 -1
- package/dist/api/interlink/v1beta1/index.gen.d.ts +2 -2
- package/dist/api/iot/index.gen.d.ts +1 -1
- package/dist/api/iot/v1/index.gen.d.ts +2 -2
- package/dist/api/ipam/index.gen.d.ts +1 -1
- package/dist/api/ipam/v1/index.gen.d.ts +2 -2
- package/dist/api/ipfs/index.gen.d.ts +1 -1
- package/dist/api/ipfs/v1alpha1/index.gen.d.ts +2 -2
- package/dist/api/jobs/index.gen.d.ts +1 -1
- package/dist/api/jobs/v1alpha1/api.gen.cjs +2 -1
- package/dist/api/jobs/v1alpha1/api.gen.js +2 -1
- package/dist/api/jobs/v1alpha1/index.gen.d.ts +3 -3
- package/dist/api/jobs/v1alpha1/types.gen.d.ts +1 -0
- package/dist/api/k8s/index.gen.d.ts +1 -1
- package/dist/api/k8s/v1/api.utils.d.ts +1 -1
- package/dist/api/k8s/v1/index.d.ts +3 -3
- package/dist/api/k8s/v1/index.gen.d.ts +3 -3
- package/dist/api/key_manager/index.gen.d.ts +1 -1
- package/dist/api/key_manager/v1alpha1/index.gen.d.ts +1 -1
- package/dist/api/lb/index.gen.d.ts +1 -1
- package/dist/api/lb/v1/api.utils.d.ts +2 -2
- package/dist/api/lb/v1/index.d.ts +2 -2
- package/dist/api/lb/v1/index.gen.d.ts +2 -2
- package/dist/api/llm_inference/index.gen.d.ts +1 -1
- package/dist/api/llm_inference/v1beta1/index.gen.d.ts +3 -3
- package/dist/api/marketplace/index.gen.d.ts +1 -1
- package/dist/api/marketplace/v2/index.gen.d.ts +1 -1
- package/dist/api/mnq/index.gen.d.ts +1 -1
- package/dist/api/mnq/v1beta1/index.gen.d.ts +2 -2
- package/dist/api/mongodb/index.gen.d.ts +1 -1
- package/dist/api/mongodb/v1alpha1/index.gen.d.ts +3 -3
- package/dist/api/qaas/index.gen.d.ts +1 -1
- package/dist/api/qaas/v1alpha1/index.gen.d.ts +3 -3
- package/dist/api/rdb/index.gen.d.ts +1 -1
- package/dist/api/rdb/v1/index.gen.d.ts +3 -3
- package/dist/api/redis/index.gen.d.ts +1 -1
- package/dist/api/redis/v1/index.gen.d.ts +2 -2
- package/dist/api/registry/index.gen.d.ts +1 -1
- package/dist/api/registry/v1/index.gen.d.ts +2 -2
- package/dist/api/secret/index.gen.d.ts +2 -2
- package/dist/api/secret/v1alpha1/index.gen.d.ts +1 -1
- package/dist/api/secret/v1beta1/index.gen.d.ts +2 -2
- package/dist/api/serverless_sqldb/index.gen.d.ts +1 -1
- package/dist/api/serverless_sqldb/v1alpha1/index.gen.d.ts +3 -3
- package/dist/api/tem/index.gen.d.ts +1 -1
- package/dist/api/tem/v1alpha1/api.gen.cjs +54 -0
- package/dist/api/tem/v1alpha1/api.gen.d.ts +27 -1
- package/dist/api/tem/v1alpha1/api.gen.js +55 -1
- package/dist/api/tem/v1alpha1/index.gen.d.ts +4 -4
- package/dist/api/tem/v1alpha1/marshalling.gen.cjs +48 -0
- package/dist/api/tem/v1alpha1/marshalling.gen.d.ts +4 -1
- package/dist/api/tem/v1alpha1/marshalling.gen.js +48 -0
- package/dist/api/tem/v1alpha1/types.gen.d.ts +84 -1
- package/dist/api/tem/v1alpha1/validation-rules.gen.cjs +16 -0
- package/dist/api/tem/v1alpha1/validation-rules.gen.d.ts +14 -0
- package/dist/api/tem/v1alpha1/validation-rules.gen.js +16 -0
- package/dist/api/test/index.gen.d.ts +1 -1
- package/dist/api/test/v1/index.gen.d.ts +2 -2
- package/dist/api/vpc/index.gen.d.ts +2 -2
- package/dist/api/vpc/v1/index.gen.d.ts +1 -1
- package/dist/api/vpc/v2/index.gen.d.ts +2 -2
- package/dist/api/vpcgw/index.gen.d.ts +2 -2
- package/dist/api/vpcgw/v1/index.gen.d.ts +2 -2
- package/dist/api/vpcgw/v2/index.gen.d.ts +2 -2
- package/dist/api/webhosting/index.gen.d.ts +2 -2
- package/dist/api/webhosting/v1/index.gen.d.ts +3 -3
- package/dist/api/webhosting/v1alpha1/index.gen.d.ts +3 -3
- package/dist/bridge.d.ts +10 -10
- package/dist/index.d.ts +11 -11
- package/dist/internal/logger/console-logger.d.ts +1 -1
- package/dist/internal/logger/index.d.ts +1 -1
- package/dist/internal/logger/logger.d.ts +1 -1
- package/dist/internals.d.ts +10 -10
- package/dist/scw/api.d.ts +1 -1
- package/dist/scw/auth.d.ts +1 -1
- package/dist/scw/client-ini-factory.d.ts +3 -3
- package/dist/scw/client-settings.d.ts +1 -1
- package/dist/scw/client.d.ts +3 -3
- 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.d.ts +2 -2
- package/dist/scw/errors/error-parser.d.ts +2 -2
- package/dist/scw/errors/non-standard/invalid-request-mapper.d.ts +4 -4
- package/dist/scw/errors/non-standard/unknown-resource-mapper.d.ts +3 -3
- package/dist/scw/errors/scw-error-from-json.d.ts +2 -2
- package/dist/scw/errors/scw-error.d.ts +1 -1
- package/dist/scw/errors/standard/already-exists-error.d.ts +2 -2
- package/dist/scw/errors/standard/denied-authentication-error.d.ts +2 -2
- package/dist/scw/errors/standard/index.d.ts +17 -17
- package/dist/scw/errors/standard/invalid-arguments-error.d.ts +2 -2
- package/dist/scw/errors/standard/out-of-stock-error.d.ts +2 -2
- package/dist/scw/errors/standard/permissions-denied-error.d.ts +2 -2
- package/dist/scw/errors/standard/precondition-failed-error.d.ts +2 -2
- package/dist/scw/errors/standard/quotas-exceeded-error.d.ts +2 -2
- package/dist/scw/errors/standard/resource-expired-error.d.ts +2 -2
- package/dist/scw/errors/standard/resource-locked-error.d.ts +2 -2
- package/dist/scw/errors/standard/resource-not-found-error.d.ts +2 -2
- package/dist/scw/errors/standard/too-many-requests-error.d.ts +2 -2
- package/dist/scw/errors/standard/transient-state-error.d.ts +2 -2
- package/dist/scw/fetch/build-fetcher.d.ts +1 -1
- package/package.json +3 -3
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { JSONObject } from '../../../helpers/json';
|
|
2
|
-
import { ScalewayError } from '../scw-error';
|
|
1
|
+
import type { JSONObject } from '../../../helpers/json.js';
|
|
2
|
+
import { ScalewayError } from '../scw-error.js';
|
|
3
3
|
/**
|
|
4
4
|
* OutOfStock error happens when stocks are empty for the resource.
|
|
5
5
|
*
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { JSONObject } from '../../../helpers/json';
|
|
2
|
-
import { ScalewayError } from '../scw-error';
|
|
1
|
+
import type { JSONObject } from '../../../helpers/json.js';
|
|
2
|
+
import { ScalewayError } from '../scw-error.js';
|
|
3
3
|
/**
|
|
4
4
|
* Details of an {@link PermissionsDeniedError} error.
|
|
5
5
|
*
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { JSONObject } from '../../../helpers/json';
|
|
2
|
-
import { ScalewayError } from '../scw-error';
|
|
1
|
+
import type { JSONObject } from '../../../helpers/json.js';
|
|
2
|
+
import { ScalewayError } from '../scw-error.js';
|
|
3
3
|
/**
|
|
4
4
|
* PreconditionFailed error is used when a precondition is not respected.
|
|
5
5
|
*
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { JSONObject } from '../../../helpers/json';
|
|
2
|
-
import { ScalewayError } from '../scw-error';
|
|
1
|
+
import type { JSONObject } from '../../../helpers/json.js';
|
|
2
|
+
import { ScalewayError } from '../scw-error.js';
|
|
3
3
|
/**
|
|
4
4
|
* Scope of an {@link QuotasExceededErrorDetails} error.
|
|
5
5
|
*
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { JSONObject } from '../../../helpers/json';
|
|
2
|
-
import { ScalewayError } from '../scw-error';
|
|
1
|
+
import type { JSONObject } from '../../../helpers/json.js';
|
|
2
|
+
import { ScalewayError } from '../scw-error.js';
|
|
3
3
|
/**
|
|
4
4
|
* ResourceExpired error happens when trying to access a resource that has expired.
|
|
5
5
|
*
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { JSONObject } from '../../../helpers/json';
|
|
2
|
-
import { ScalewayError } from '../scw-error';
|
|
1
|
+
import type { JSONObject } from '../../../helpers/json.js';
|
|
2
|
+
import { ScalewayError } from '../scw-error.js';
|
|
3
3
|
/**
|
|
4
4
|
* ResourceLocked error happens when a resource is locked by trust and safety.
|
|
5
5
|
*
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { JSONObject } from '../../../helpers/json';
|
|
2
|
-
import { ScalewayError } from '../scw-error';
|
|
1
|
+
import type { JSONObject } from '../../../helpers/json.js';
|
|
2
|
+
import { ScalewayError } from '../scw-error.js';
|
|
3
3
|
/**
|
|
4
4
|
* ResourceNotFound error happens when getting a resource that does not exist anymore.
|
|
5
5
|
*
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { JSONObject } from '../../../helpers/json';
|
|
2
|
-
import { ScalewayError } from '../scw-error';
|
|
1
|
+
import type { JSONObject } from '../../../helpers/json.js';
|
|
2
|
+
import { ScalewayError } from '../scw-error.js';
|
|
3
3
|
/**
|
|
4
4
|
* Quota policy of {@link TooManyRequestsError}.
|
|
5
5
|
*
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { JSONObject } from '../../../helpers/json';
|
|
2
|
-
import { ScalewayError } from '../scw-error';
|
|
1
|
+
import type { JSONObject } from '../../../helpers/json.js';
|
|
2
|
+
import { ScalewayError } from '../scw-error.js';
|
|
3
3
|
/**
|
|
4
4
|
* TransientState error happens when trying to perform an action on a resource in a transient state.
|
|
5
5
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scaleway/sdk",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.62.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"description": "Scaleway SDK.",
|
|
6
6
|
"keywords": [
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"version": "./scripts/update-constants-file.sh",
|
|
16
16
|
"typecheck": "tsc --noEmit",
|
|
17
17
|
"type:generate": "tsc --declaration -p tsconfig.build.json",
|
|
18
|
-
"build": "vite build --config ../../vite.config.ts && pnpm run type:generate",
|
|
18
|
+
"build": "vite build --config ../../vite.config.ts && pnpm run type:generate && tsc-alias -p tsconfig.build.json",
|
|
19
19
|
"build:profile": "npx vite-bundle-visualizer -c ../../vite.config.ts"
|
|
20
20
|
},
|
|
21
21
|
"files": [
|
|
@@ -39,5 +39,5 @@
|
|
|
39
39
|
"bundledDependencies": [
|
|
40
40
|
"@scaleway/random-name"
|
|
41
41
|
],
|
|
42
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "873dce905e291a5592434bc43da3c85c57e82c10"
|
|
43
43
|
}
|