@scaleway/sdk 2.71.0 → 2.72.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/README.md +6 -5
- package/dist/api/account/index.gen.d.ts +2 -2
- package/dist/api/account/v2/api.gen.cjs +5 -4
- package/dist/api/account/v2/api.gen.d.ts +1 -1
- package/dist/api/account/v2/api.gen.js +5 -4
- package/dist/api/account/v2/marshalling.gen.cjs +4 -3
- package/dist/api/account/v2/marshalling.gen.d.ts +1 -1
- package/dist/api/account/v2/marshalling.gen.js +4 -3
- package/dist/api/account/v3/api.gen.cjs +5 -4
- package/dist/api/account/v3/api.gen.d.ts +1 -1
- package/dist/api/account/v3/api.gen.js +5 -4
- package/dist/api/account/v3/index.gen.d.ts +1 -1
- package/dist/api/account/v3/marshalling.gen.cjs +4 -3
- package/dist/api/account/v3/marshalling.gen.d.ts +1 -1
- package/dist/api/account/v3/marshalling.gen.js +4 -3
- package/dist/api/applesilicon/index.gen.d.ts +2 -2
- package/dist/api/applesilicon/v1alpha1/api.gen.cjs +6 -5
- package/dist/api/applesilicon/v1alpha1/api.gen.d.ts +2 -2
- package/dist/api/applesilicon/v1alpha1/api.gen.js +6 -5
- package/dist/api/applesilicon/v1alpha1/index.gen.d.ts +1 -1
- package/dist/api/applesilicon/v1alpha1/marshalling.gen.cjs +4 -3
- package/dist/api/applesilicon/v1alpha1/marshalling.gen.d.ts +1 -1
- package/dist/api/applesilicon/v1alpha1/marshalling.gen.js +4 -3
- package/dist/api/applesilicon/v1alpha1/types.gen.d.ts +1 -1
- package/dist/api/audit_trail/index.gen.d.ts +2 -2
- package/dist/api/audit_trail/v1alpha1/api.gen.cjs +4 -3
- package/dist/api/audit_trail/v1alpha1/api.gen.d.ts +2 -2
- package/dist/api/audit_trail/v1alpha1/api.gen.js +4 -3
- package/dist/api/audit_trail/v1alpha1/marshalling.gen.cjs +4 -3
- package/dist/api/audit_trail/v1alpha1/marshalling.gen.js +4 -3
- package/dist/api/audit_trail/v1alpha1/types.gen.d.ts +1 -1
- package/dist/api/baremetal/index.gen.d.ts +2 -2
- package/dist/api/baremetal/v1/api.gen.cjs +6 -5
- package/dist/api/baremetal/v1/api.gen.d.ts +2 -2
- package/dist/api/baremetal/v1/api.gen.js +6 -5
- package/dist/api/baremetal/v1/api.utils.cjs +3 -1
- package/dist/api/baremetal/v1/api.utils.d.ts +1 -1
- package/dist/api/baremetal/v1/api.utils.js +3 -1
- package/dist/api/baremetal/v1/index.gen.d.ts +1 -1
- package/dist/api/baremetal/v1/marshalling.gen.cjs +4 -3
- package/dist/api/baremetal/v1/marshalling.gen.d.ts +1 -1
- package/dist/api/baremetal/v1/marshalling.gen.js +4 -3
- package/dist/api/baremetal/v1/types.gen.d.ts +65 -65
- package/dist/api/baremetal/v3/api.gen.cjs +5 -4
- package/dist/api/baremetal/v3/api.gen.d.ts +2 -2
- package/dist/api/baremetal/v3/api.gen.js +5 -4
- package/dist/api/baremetal/v3/marshalling.gen.cjs +4 -3
- package/dist/api/baremetal/v3/marshalling.gen.d.ts +1 -1
- package/dist/api/baremetal/v3/marshalling.gen.js +4 -3
- package/dist/api/baremetal/v3/types.gen.d.ts +1 -1
- package/dist/api/billing/index.gen.d.ts +2 -2
- package/dist/api/billing/v2alpha1/api.gen.cjs +5 -4
- package/dist/api/billing/v2alpha1/api.gen.d.ts +1 -1
- package/dist/api/billing/v2alpha1/api.gen.js +5 -4
- package/dist/api/billing/v2alpha1/marshalling.gen.cjs +4 -3
- package/dist/api/billing/v2alpha1/marshalling.gen.js +4 -3
- package/dist/api/billing/v2alpha1/types.gen.d.ts +1 -1
- package/dist/api/billing/v2beta1/api.gen.cjs +5 -4
- package/dist/api/billing/v2beta1/api.gen.d.ts +1 -1
- package/dist/api/billing/v2beta1/api.gen.js +5 -4
- package/dist/api/billing/v2beta1/marshalling.gen.cjs +4 -3
- package/dist/api/billing/v2beta1/marshalling.gen.js +4 -3
- package/dist/api/billing/v2beta1/types.gen.d.ts +1 -1
- package/dist/api/block/index.gen.d.ts +2 -2
- package/dist/api/block/v1/api.gen.cjs +6 -5
- package/dist/api/block/v1/api.gen.d.ts +2 -2
- package/dist/api/block/v1/api.gen.js +6 -5
- package/dist/api/block/v1/marshalling.gen.cjs +4 -3
- package/dist/api/block/v1/marshalling.gen.d.ts +1 -1
- package/dist/api/block/v1/marshalling.gen.js +4 -3
- package/dist/api/block/v1/types.gen.d.ts +1 -1
- package/dist/api/block/v1alpha1/api.gen.cjs +6 -5
- package/dist/api/block/v1alpha1/api.gen.d.ts +2 -2
- package/dist/api/block/v1alpha1/api.gen.js +6 -5
- package/dist/api/block/v1alpha1/marshalling.gen.cjs +4 -3
- package/dist/api/block/v1alpha1/marshalling.gen.d.ts +1 -1
- package/dist/api/block/v1alpha1/marshalling.gen.js +4 -3
- package/dist/api/block/v1alpha1/types.gen.d.ts +1 -1
- package/dist/api/cockpit/index.gen.d.ts +2 -2
- package/dist/api/cockpit/v1/api.gen.cjs +5 -4
- package/dist/api/cockpit/v1/api.gen.d.ts +2 -2
- package/dist/api/cockpit/v1/api.gen.js +5 -4
- package/dist/api/cockpit/v1/index.gen.d.ts +1 -1
- package/dist/api/cockpit/v1/marshalling.gen.cjs +4 -3
- package/dist/api/cockpit/v1/marshalling.gen.d.ts +1 -1
- package/dist/api/cockpit/v1/marshalling.gen.js +4 -3
- package/dist/api/cockpit/v1/types.gen.d.ts +1 -1
- package/dist/api/cockpit/v1beta1/api.gen.cjs +6 -5
- package/dist/api/cockpit/v1beta1/api.gen.d.ts +2 -2
- package/dist/api/cockpit/v1beta1/api.gen.js +6 -5
- package/dist/api/cockpit/v1beta1/marshalling.gen.cjs +4 -3
- package/dist/api/cockpit/v1beta1/marshalling.gen.d.ts +1 -1
- package/dist/api/cockpit/v1beta1/marshalling.gen.js +4 -3
- package/dist/api/cockpit/v1beta1/types.gen.d.ts +1 -1
- package/dist/api/container/index.gen.d.ts +2 -2
- package/dist/api/container/v1beta1/api.gen.cjs +6 -5
- package/dist/api/container/v1beta1/api.gen.d.ts +2 -2
- package/dist/api/container/v1beta1/api.gen.js +6 -5
- package/dist/api/container/v1beta1/marshalling.gen.cjs +4 -3
- package/dist/api/container/v1beta1/marshalling.gen.d.ts +1 -1
- package/dist/api/container/v1beta1/marshalling.gen.js +4 -3
- package/dist/api/container/v1beta1/types.gen.d.ts +1 -1
- package/dist/api/dedibox/index.gen.d.ts +2 -2
- package/dist/api/dedibox/v1/api.gen.cjs +6 -5
- package/dist/api/dedibox/v1/api.gen.d.ts +2 -2
- package/dist/api/dedibox/v1/api.gen.js +6 -5
- package/dist/api/dedibox/v1/marshalling.gen.cjs +4 -3
- package/dist/api/dedibox/v1/marshalling.gen.d.ts +1 -1
- package/dist/api/dedibox/v1/marshalling.gen.js +4 -3
- package/dist/api/dedibox/v1/types.gen.d.ts +1 -1
- package/dist/api/document_db/index.gen.d.ts +2 -2
- package/dist/api/document_db/v1beta1/api.gen.cjs +6 -5
- package/dist/api/document_db/v1beta1/api.gen.d.ts +2 -2
- package/dist/api/document_db/v1beta1/api.gen.js +6 -5
- package/dist/api/document_db/v1beta1/marshalling.gen.cjs +4 -3
- package/dist/api/document_db/v1beta1/marshalling.gen.d.ts +1 -1
- package/dist/api/document_db/v1beta1/marshalling.gen.js +4 -3
- package/dist/api/document_db/v1beta1/types.gen.d.ts +1 -1
- package/dist/api/domain/index.gen.d.ts +2 -2
- package/dist/api/domain/v2beta1/api.gen.cjs +6 -5
- package/dist/api/domain/v2beta1/api.gen.d.ts +2 -2
- package/dist/api/domain/v2beta1/api.gen.js +6 -5
- package/dist/api/domain/v2beta1/index.gen.d.ts +1 -1
- package/dist/api/domain/v2beta1/marshalling.gen.cjs +4 -3
- package/dist/api/domain/v2beta1/marshalling.gen.d.ts +1 -1
- package/dist/api/domain/v2beta1/marshalling.gen.js +4 -3
- package/dist/api/domain/v2beta1/types.gen.d.ts +1 -1
- package/dist/api/edge_services/index.gen.d.ts +2 -2
- package/dist/api/edge_services/v1alpha1/api.gen.cjs +6 -5
- package/dist/api/edge_services/v1alpha1/api.gen.d.ts +2 -2
- package/dist/api/edge_services/v1alpha1/api.gen.js +6 -5
- package/dist/api/edge_services/v1alpha1/marshalling.gen.cjs +4 -3
- package/dist/api/edge_services/v1alpha1/marshalling.gen.d.ts +1 -1
- package/dist/api/edge_services/v1alpha1/marshalling.gen.js +4 -3
- package/dist/api/edge_services/v1alpha1/types.gen.d.ts +1 -1
- package/dist/api/edge_services/v1beta1/api.gen.cjs +49 -136
- package/dist/api/edge_services/v1beta1/api.gen.d.ts +48 -134
- package/dist/api/edge_services/v1beta1/api.gen.js +49 -136
- package/dist/api/edge_services/v1beta1/marshalling.gen.cjs +4 -3
- package/dist/api/edge_services/v1beta1/marshalling.gen.d.ts +1 -1
- package/dist/api/edge_services/v1beta1/marshalling.gen.js +4 -3
- package/dist/api/edge_services/v1beta1/types.gen.d.ts +584 -380
- package/dist/api/flexibleip/index.gen.d.ts +2 -2
- package/dist/api/flexibleip/v1alpha1/api.gen.cjs +6 -5
- package/dist/api/flexibleip/v1alpha1/api.gen.d.ts +2 -2
- package/dist/api/flexibleip/v1alpha1/api.gen.js +6 -5
- package/dist/api/flexibleip/v1alpha1/marshalling.gen.cjs +4 -3
- package/dist/api/flexibleip/v1alpha1/marshalling.gen.d.ts +1 -1
- package/dist/api/flexibleip/v1alpha1/marshalling.gen.js +4 -3
- package/dist/api/flexibleip/v1alpha1/types.gen.d.ts +1 -1
- package/dist/api/function/index.gen.d.ts +2 -2
- package/dist/api/function/v1beta1/api.gen.cjs +20 -33
- package/dist/api/function/v1beta1/api.gen.d.ts +18 -32
- package/dist/api/function/v1beta1/api.gen.js +20 -33
- package/dist/api/function/v1beta1/marshalling.gen.cjs +4 -3
- package/dist/api/function/v1beta1/marshalling.gen.d.ts +1 -1
- package/dist/api/function/v1beta1/marshalling.gen.js +4 -3
- package/dist/api/function/v1beta1/types.gen.d.ts +617 -288
- package/dist/api/iam/index.gen.d.ts +2 -2
- package/dist/api/iam/v1alpha1/api.gen.cjs +56 -176
- package/dist/api/iam/v1alpha1/api.gen.d.ts +54 -176
- package/dist/api/iam/v1alpha1/api.gen.js +56 -176
- package/dist/api/iam/v1alpha1/marshalling.gen.cjs +4 -3
- package/dist/api/iam/v1alpha1/marshalling.gen.d.ts +1 -1
- package/dist/api/iam/v1alpha1/marshalling.gen.js +4 -3
- package/dist/api/iam/v1alpha1/types.gen.d.ts +980 -373
- package/dist/api/index.gen.d.ts +2 -2
- package/dist/api/inference/index.gen.d.ts +2 -2
- package/dist/api/inference/v1/api.gen.cjs +6 -5
- package/dist/api/inference/v1/api.gen.d.ts +2 -2
- package/dist/api/inference/v1/api.gen.js +6 -5
- package/dist/api/inference/v1/marshalling.gen.cjs +4 -3
- package/dist/api/inference/v1/marshalling.gen.d.ts +1 -1
- package/dist/api/inference/v1/marshalling.gen.js +4 -3
- package/dist/api/inference/v1/types.gen.d.ts +1 -1
- package/dist/api/inference/v1beta1/api.gen.cjs +6 -5
- package/dist/api/inference/v1beta1/api.gen.d.ts +2 -2
- package/dist/api/inference/v1beta1/api.gen.js +6 -5
- package/dist/api/inference/v1beta1/marshalling.gen.cjs +4 -3
- package/dist/api/inference/v1beta1/marshalling.gen.d.ts +1 -1
- package/dist/api/inference/v1beta1/marshalling.gen.js +4 -3
- package/dist/api/inference/v1beta1/types.gen.d.ts +1 -1
- package/dist/api/instance/index.gen.d.ts +2 -2
- package/dist/api/instance/v1/api.gen.cjs +5 -4
- package/dist/api/instance/v1/api.gen.d.ts +2 -2
- package/dist/api/instance/v1/api.gen.js +5 -4
- package/dist/api/instance/v1/api.utils.cjs +4 -3
- package/dist/api/instance/v1/api.utils.d.ts +1 -1
- package/dist/api/instance/v1/api.utils.js +4 -3
- package/dist/api/instance/v1/marshalling.gen.cjs +4 -3
- package/dist/api/instance/v1/marshalling.gen.d.ts +1 -1
- package/dist/api/instance/v1/marshalling.gen.js +4 -3
- package/dist/api/instance/v1/marshalling.utils.d.ts +1 -1
- package/dist/api/instance/v1/types.gen.d.ts +1 -1
- package/dist/api/instance/v1/types.private.gen.d.ts +1 -1
- package/dist/api/instance/v1/types.utils.d.ts +1 -1
- package/dist/api/interlink/index.gen.d.ts +2 -2
- package/dist/api/interlink/v1beta1/api.gen.cjs +101 -11
- package/dist/api/interlink/v1beta1/api.gen.d.ts +50 -10
- package/dist/api/interlink/v1beta1/api.gen.js +102 -12
- package/dist/api/interlink/v1beta1/content.gen.cjs +6 -0
- package/dist/api/interlink/v1beta1/content.gen.d.ts +5 -0
- package/dist/api/interlink/v1beta1/content.gen.js +6 -0
- package/dist/api/interlink/v1beta1/index.gen.cjs +3 -0
- package/dist/api/interlink/v1beta1/index.gen.d.ts +2 -1
- package/dist/api/interlink/v1beta1/index.gen.js +3 -0
- package/dist/api/interlink/v1beta1/marshalling.gen.cjs +82 -8
- package/dist/api/interlink/v1beta1/marshalling.gen.d.ts +4 -2
- package/dist/api/interlink/v1beta1/marshalling.gen.js +82 -8
- package/dist/api/interlink/v1beta1/types.gen.d.ts +145 -43
- package/dist/api/interlink/v1beta1/validation-rules.gen.cjs +17 -0
- package/dist/api/interlink/v1beta1/validation-rules.gen.d.ts +15 -0
- package/dist/api/interlink/v1beta1/validation-rules.gen.js +17 -0
- package/dist/api/iot/index.gen.d.ts +2 -2
- package/dist/api/iot/v1/api.gen.cjs +6 -5
- package/dist/api/iot/v1/api.gen.d.ts +2 -2
- package/dist/api/iot/v1/api.gen.js +6 -5
- package/dist/api/iot/v1/marshalling.gen.cjs +4 -3
- package/dist/api/iot/v1/marshalling.gen.d.ts +1 -1
- package/dist/api/iot/v1/marshalling.gen.js +4 -3
- package/dist/api/iot/v1/types.gen.d.ts +1 -1
- package/dist/api/ipam/index.gen.d.ts +2 -2
- package/dist/api/ipam/v1/api.gen.cjs +5 -4
- package/dist/api/ipam/v1/api.gen.d.ts +2 -2
- package/dist/api/ipam/v1/api.gen.js +5 -4
- package/dist/api/ipam/v1/marshalling.gen.cjs +4 -3
- package/dist/api/ipam/v1/marshalling.gen.d.ts +1 -1
- package/dist/api/ipam/v1/marshalling.gen.js +4 -3
- package/dist/api/ipam/v1/types.gen.d.ts +1 -1
- package/dist/api/ipfs/index.gen.d.ts +2 -2
- package/dist/api/ipfs/v1alpha1/api.gen.cjs +6 -5
- package/dist/api/ipfs/v1alpha1/api.gen.d.ts +2 -2
- package/dist/api/ipfs/v1alpha1/api.gen.js +6 -5
- package/dist/api/ipfs/v1alpha1/marshalling.gen.cjs +4 -3
- package/dist/api/ipfs/v1alpha1/marshalling.gen.d.ts +1 -1
- package/dist/api/ipfs/v1alpha1/marshalling.gen.js +4 -3
- package/dist/api/ipfs/v1alpha1/types.gen.d.ts +1 -1
- package/dist/api/jobs/index.gen.d.ts +2 -2
- package/dist/api/jobs/v1alpha1/api.gen.cjs +5 -4
- package/dist/api/jobs/v1alpha1/api.gen.d.ts +2 -2
- package/dist/api/jobs/v1alpha1/api.gen.js +5 -4
- package/dist/api/jobs/v1alpha1/marshalling.gen.cjs +4 -3
- package/dist/api/jobs/v1alpha1/marshalling.gen.d.ts +1 -1
- package/dist/api/jobs/v1alpha1/marshalling.gen.js +4 -3
- package/dist/api/jobs/v1alpha1/types.gen.d.ts +1 -1
- package/dist/api/k8s/index.gen.d.ts +2 -2
- package/dist/api/k8s/v1/api.gen.cjs +6 -5
- package/dist/api/k8s/v1/api.gen.d.ts +2 -2
- package/dist/api/k8s/v1/api.gen.js +6 -5
- package/dist/api/k8s/v1/marshalling.gen.cjs +4 -3
- package/dist/api/k8s/v1/marshalling.gen.d.ts +1 -1
- package/dist/api/k8s/v1/marshalling.gen.js +4 -3
- package/dist/api/k8s/v1/types.gen.d.ts +1 -1
- package/dist/api/key_manager/index.gen.d.ts +2 -2
- package/dist/api/key_manager/v1alpha1/api.gen.cjs +5 -4
- package/dist/api/key_manager/v1alpha1/api.gen.d.ts +2 -2
- package/dist/api/key_manager/v1alpha1/api.gen.js +5 -4
- package/dist/api/key_manager/v1alpha1/marshalling.gen.cjs +4 -3
- package/dist/api/key_manager/v1alpha1/marshalling.gen.d.ts +1 -1
- package/dist/api/key_manager/v1alpha1/marshalling.gen.js +4 -3
- package/dist/api/key_manager/v1alpha1/types.gen.d.ts +1 -1
- package/dist/api/lb/index.gen.d.ts +2 -2
- package/dist/api/lb/v1/api.gen.cjs +68 -178
- package/dist/api/lb/v1/api.gen.d.ts +60 -176
- package/dist/api/lb/v1/api.gen.js +69 -179
- package/dist/api/lb/v1/api.utils.cjs +3 -1
- package/dist/api/lb/v1/api.utils.d.ts +1 -1
- package/dist/api/lb/v1/api.utils.js +3 -1
- package/dist/api/lb/v1/index.gen.d.ts +1 -1
- package/dist/api/lb/v1/marshalling.gen.cjs +9 -3
- package/dist/api/lb/v1/marshalling.gen.d.ts +3 -2
- package/dist/api/lb/v1/marshalling.gen.js +9 -3
- package/dist/api/lb/v1/types.gen.d.ts +1835 -1117
- package/dist/api/lb/v1/types.utils.d.ts +1 -1
- package/dist/api/llm_inference/index.gen.d.ts +2 -2
- package/dist/api/llm_inference/v1beta1/api.gen.cjs +6 -5
- package/dist/api/llm_inference/v1beta1/api.gen.d.ts +2 -2
- package/dist/api/llm_inference/v1beta1/api.gen.js +6 -5
- package/dist/api/llm_inference/v1beta1/marshalling.gen.cjs +4 -3
- package/dist/api/llm_inference/v1beta1/marshalling.gen.d.ts +1 -1
- package/dist/api/llm_inference/v1beta1/marshalling.gen.js +4 -3
- package/dist/api/llm_inference/v1beta1/types.gen.d.ts +1 -1
- package/dist/api/marketplace/index.gen.d.ts +2 -2
- package/dist/api/marketplace/v2/api.gen.cjs +5 -4
- package/dist/api/marketplace/v2/api.gen.d.ts +1 -1
- package/dist/api/marketplace/v2/api.gen.js +5 -4
- package/dist/api/marketplace/v2/marshalling.gen.cjs +4 -3
- package/dist/api/marketplace/v2/marshalling.gen.js +4 -3
- package/dist/api/marketplace/v2/types.gen.d.ts +1 -1
- package/dist/api/mnq/index.gen.d.ts +2 -2
- package/dist/api/mnq/v1beta1/api.gen.cjs +5 -4
- package/dist/api/mnq/v1beta1/api.gen.d.ts +2 -2
- package/dist/api/mnq/v1beta1/api.gen.js +5 -4
- package/dist/api/mnq/v1beta1/index.gen.d.ts +1 -1
- package/dist/api/mnq/v1beta1/marshalling.gen.cjs +4 -3
- package/dist/api/mnq/v1beta1/marshalling.gen.d.ts +1 -1
- package/dist/api/mnq/v1beta1/marshalling.gen.js +4 -3
- package/dist/api/mnq/v1beta1/types.gen.d.ts +1 -1
- package/dist/api/mongodb/index.gen.d.ts +2 -2
- package/dist/api/mongodb/v1alpha1/api.gen.cjs +6 -5
- package/dist/api/mongodb/v1alpha1/api.gen.d.ts +2 -2
- package/dist/api/mongodb/v1alpha1/api.gen.js +6 -5
- package/dist/api/mongodb/v1alpha1/marshalling.gen.cjs +4 -3
- package/dist/api/mongodb/v1alpha1/marshalling.gen.d.ts +1 -1
- package/dist/api/mongodb/v1alpha1/marshalling.gen.js +4 -3
- package/dist/api/mongodb/v1alpha1/types.gen.d.ts +1 -1
- package/dist/api/qaas/index.gen.d.ts +2 -2
- package/dist/api/qaas/v1alpha1/api.gen.cjs +6 -5
- package/dist/api/qaas/v1alpha1/api.gen.d.ts +2 -2
- package/dist/api/qaas/v1alpha1/api.gen.js +6 -5
- package/dist/api/qaas/v1alpha1/marshalling.gen.cjs +4 -3
- package/dist/api/qaas/v1alpha1/marshalling.gen.d.ts +1 -1
- package/dist/api/qaas/v1alpha1/marshalling.gen.js +4 -3
- package/dist/api/qaas/v1alpha1/types.gen.d.ts +1 -1
- package/dist/api/rdb/index.gen.d.ts +2 -2
- package/dist/api/rdb/v1/api.gen.cjs +6 -5
- package/dist/api/rdb/v1/api.gen.d.ts +2 -2
- package/dist/api/rdb/v1/api.gen.js +6 -5
- package/dist/api/rdb/v1/marshalling.gen.cjs +4 -3
- package/dist/api/rdb/v1/marshalling.gen.d.ts +1 -1
- package/dist/api/rdb/v1/marshalling.gen.js +4 -3
- package/dist/api/rdb/v1/types.gen.d.ts +1 -1
- package/dist/api/redis/index.gen.d.ts +2 -2
- package/dist/api/redis/v1/api.gen.cjs +6 -5
- package/dist/api/redis/v1/api.gen.d.ts +2 -2
- package/dist/api/redis/v1/api.gen.js +6 -5
- package/dist/api/redis/v1/marshalling.gen.cjs +4 -3
- package/dist/api/redis/v1/marshalling.gen.d.ts +1 -1
- package/dist/api/redis/v1/marshalling.gen.js +4 -3
- package/dist/api/redis/v1/types.gen.d.ts +1 -1
- package/dist/api/registry/index.gen.d.ts +2 -2
- package/dist/api/registry/v1/api.gen.cjs +6 -5
- package/dist/api/registry/v1/api.gen.d.ts +2 -2
- package/dist/api/registry/v1/api.gen.js +6 -5
- package/dist/api/registry/v1/marshalling.gen.cjs +4 -3
- package/dist/api/registry/v1/marshalling.gen.d.ts +1 -1
- package/dist/api/registry/v1/marshalling.gen.js +4 -3
- package/dist/api/registry/v1/types.gen.d.ts +1 -1
- package/dist/api/secret/index.gen.d.ts +2 -2
- package/dist/api/secret/v1alpha1/api.gen.cjs +5 -4
- package/dist/api/secret/v1alpha1/api.gen.d.ts +2 -2
- package/dist/api/secret/v1alpha1/api.gen.js +5 -4
- package/dist/api/secret/v1alpha1/marshalling.gen.cjs +4 -3
- package/dist/api/secret/v1alpha1/marshalling.gen.d.ts +1 -1
- package/dist/api/secret/v1alpha1/marshalling.gen.js +4 -3
- package/dist/api/secret/v1alpha1/types.gen.d.ts +1 -1
- package/dist/api/secret/v1beta1/api.gen.cjs +5 -4
- package/dist/api/secret/v1beta1/api.gen.d.ts +2 -2
- package/dist/api/secret/v1beta1/api.gen.js +5 -4
- package/dist/api/secret/v1beta1/marshalling.gen.cjs +4 -3
- package/dist/api/secret/v1beta1/marshalling.gen.d.ts +1 -1
- package/dist/api/secret/v1beta1/marshalling.gen.js +4 -3
- package/dist/api/secret/v1beta1/types.gen.d.ts +1 -1
- package/dist/api/serverless_sqldb/index.gen.d.ts +2 -2
- package/dist/api/serverless_sqldb/v1alpha1/api.gen.cjs +6 -5
- package/dist/api/serverless_sqldb/v1alpha1/api.gen.d.ts +2 -2
- package/dist/api/serverless_sqldb/v1alpha1/api.gen.js +6 -5
- package/dist/api/serverless_sqldb/v1alpha1/marshalling.gen.cjs +4 -3
- package/dist/api/serverless_sqldb/v1alpha1/marshalling.gen.d.ts +1 -1
- package/dist/api/serverless_sqldb/v1alpha1/marshalling.gen.js +4 -3
- package/dist/api/serverless_sqldb/v1alpha1/types.gen.d.ts +1 -1
- package/dist/api/tem/index.gen.d.ts +2 -2
- package/dist/api/tem/v1alpha1/api.gen.cjs +6 -5
- package/dist/api/tem/v1alpha1/api.gen.d.ts +2 -2
- package/dist/api/tem/v1alpha1/api.gen.js +6 -5
- package/dist/api/tem/v1alpha1/marshalling.gen.cjs +4 -3
- package/dist/api/tem/v1alpha1/marshalling.gen.d.ts +1 -1
- package/dist/api/tem/v1alpha1/marshalling.gen.js +4 -3
- package/dist/api/tem/v1alpha1/types.gen.d.ts +1 -1
- package/dist/api/test/index.gen.d.ts +2 -2
- package/dist/api/test/v1/api.gen.cjs +6 -5
- package/dist/api/test/v1/api.gen.d.ts +2 -2
- package/dist/api/test/v1/api.gen.js +6 -5
- package/dist/api/test/v1/marshalling.gen.cjs +4 -3
- package/dist/api/test/v1/marshalling.gen.d.ts +1 -1
- package/dist/api/test/v1/marshalling.gen.js +4 -3
- package/dist/api/vpc/index.gen.d.ts +2 -2
- package/dist/api/vpc/v1/api.gen.cjs +5 -4
- package/dist/api/vpc/v1/api.gen.d.ts +2 -2
- package/dist/api/vpc/v1/api.gen.js +5 -4
- package/dist/api/vpc/v1/marshalling.gen.cjs +4 -3
- package/dist/api/vpc/v1/marshalling.gen.d.ts +1 -1
- package/dist/api/vpc/v1/marshalling.gen.js +4 -3
- package/dist/api/vpc/v1/types.gen.d.ts +1 -1
- package/dist/api/vpc/v2/api.gen.cjs +18 -53
- package/dist/api/vpc/v2/api.gen.d.ts +18 -45
- package/dist/api/vpc/v2/api.gen.js +19 -54
- package/dist/api/vpc/v2/index.gen.d.ts +1 -1
- package/dist/api/vpc/v2/marshalling.gen.cjs +4 -18
- package/dist/api/vpc/v2/marshalling.gen.d.ts +2 -4
- package/dist/api/vpc/v2/marshalling.gen.js +4 -18
- package/dist/api/vpc/v2/types.gen.d.ts +333 -200
- package/dist/api/vpcgw/index.gen.d.ts +2 -2
- package/dist/api/vpcgw/v1/api.gen.cjs +42 -140
- package/dist/api/vpcgw/v1/api.gen.d.ts +40 -139
- package/dist/api/vpcgw/v1/api.gen.js +42 -140
- package/dist/api/vpcgw/v1/marshalling.gen.cjs +4 -3
- package/dist/api/vpcgw/v1/marshalling.gen.d.ts +1 -1
- package/dist/api/vpcgw/v1/marshalling.gen.js +4 -3
- package/dist/api/vpcgw/v1/types.gen.d.ts +784 -366
- package/dist/api/vpcgw/v2/api.gen.cjs +33 -93
- package/dist/api/vpcgw/v2/api.gen.d.ts +31 -92
- package/dist/api/vpcgw/v2/api.gen.js +33 -93
- package/dist/api/vpcgw/v2/marshalling.gen.cjs +4 -3
- package/dist/api/vpcgw/v2/marshalling.gen.d.ts +1 -1
- package/dist/api/vpcgw/v2/marshalling.gen.js +4 -3
- package/dist/api/vpcgw/v2/types.gen.d.ts +546 -197
- package/dist/api/webhosting/index.gen.d.ts +2 -2
- package/dist/api/webhosting/v1/api.gen.cjs +28 -55
- package/dist/api/webhosting/v1/api.gen.d.ts +40 -71
- package/dist/api/webhosting/v1/api.gen.js +28 -55
- package/dist/api/webhosting/v1/marshalling.gen.cjs +4 -3
- package/dist/api/webhosting/v1/marshalling.gen.d.ts +1 -1
- package/dist/api/webhosting/v1/marshalling.gen.js +4 -3
- package/dist/api/webhosting/v1/types.gen.d.ts +700 -351
- package/dist/client/dist/helpers/is-browser.cjs +4 -0
- package/dist/client/dist/helpers/is-browser.js +4 -0
- package/dist/client/dist/package.json.cjs +67 -0
- package/dist/client/dist/package.json.js +67 -0
- package/dist/client/dist/scw/constants.cjs +7 -0
- package/dist/{scw → client/dist/scw}/constants.js +2 -1
- package/dist/{vendor → client/dist/vendor}/base64/index.cjs +8 -4
- package/dist/{vendor → client/dist/vendor}/base64/index.js +8 -4
- package/dist/index.cjs +16 -16
- package/dist/index.d.ts +1 -15
- package/dist/index.js +13 -13
- package/node_modules/@scaleway/sdk-client/LICENSE +191 -0
- package/node_modules/@scaleway/sdk-client/README.md +36 -0
- package/node_modules/@scaleway/sdk-client/dist/helpers/is-browser.cjs +4 -0
- package/node_modules/@scaleway/sdk-client/dist/helpers/is-browser.js +4 -0
- package/node_modules/@scaleway/sdk-client/dist/helpers/is-response.cjs +4 -0
- package/node_modules/@scaleway/sdk-client/dist/helpers/is-response.js +4 -0
- package/node_modules/@scaleway/sdk-client/dist/helpers/json.cjs +7 -0
- package/{dist → node_modules/@scaleway/sdk-client/dist}/helpers/json.d.ts +2 -2
- package/node_modules/@scaleway/sdk-client/dist/helpers/json.js +7 -0
- package/node_modules/@scaleway/sdk-client/dist/helpers/marshalling.cjs +76 -0
- package/node_modules/@scaleway/sdk-client/dist/helpers/marshalling.js +76 -0
- package/node_modules/@scaleway/sdk-client/dist/index.cjs +52 -0
- package/node_modules/@scaleway/sdk-client/dist/index.d.ts +15 -0
- package/node_modules/@scaleway/sdk-client/dist/index.js +52 -0
- package/node_modules/@scaleway/sdk-client/dist/internal/async/interval-retrier.cjs +53 -0
- package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/async/interval-retrier.d.ts +2 -2
- package/node_modules/@scaleway/sdk-client/dist/internal/async/interval-retrier.js +53 -0
- package/node_modules/@scaleway/sdk-client/dist/internal/async/sleep.cjs +6 -0
- package/node_modules/@scaleway/sdk-client/dist/internal/async/sleep.js +6 -0
- package/node_modules/@scaleway/sdk-client/dist/internal/interceptors/composer.cjs +25 -0
- package/node_modules/@scaleway/sdk-client/dist/internal/interceptors/composer.js +25 -0
- package/node_modules/@scaleway/sdk-client/dist/internal/interceptors/helpers.cjs +12 -0
- package/node_modules/@scaleway/sdk-client/dist/internal/interceptors/helpers.js +12 -0
- package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/interceptors/types.d.ts +2 -2
- package/node_modules/@scaleway/sdk-client/dist/internal/logger/console-logger.cjs +24 -0
- package/node_modules/@scaleway/sdk-client/dist/internal/logger/console-logger.js +24 -0
- package/node_modules/@scaleway/sdk-client/dist/internal/logger/index.cjs +12 -0
- package/node_modules/@scaleway/sdk-client/dist/internal/logger/index.js +12 -0
- package/node_modules/@scaleway/sdk-client/dist/internal/logger/level-resolver.cjs +13 -0
- package/node_modules/@scaleway/sdk-client/dist/internal/logger/level-resolver.js +13 -0
- package/node_modules/@scaleway/sdk-client/dist/internal/validations/string-validation.cjs +30 -0
- package/node_modules/@scaleway/sdk-client/dist/internal/validations/string-validation.js +30 -0
- package/node_modules/@scaleway/sdk-client/dist/package.json.cjs +67 -0
- package/node_modules/@scaleway/sdk-client/dist/package.json.js +67 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/api.cjs +8 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/api.js +8 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/auth.cjs +26 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/auth.js +26 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/client-ini-factory.cjs +66 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/client-ini-factory.js +66 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/client-ini-profile.cjs +23 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/client-ini-profile.js +23 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/client-settings.cjs +51 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/client-settings.js +51 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/client.cjs +31 -0
- package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/client.d.ts +2 -2
- package/node_modules/@scaleway/sdk-client/dist/scw/client.js +31 -0
- package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/constants.cjs +2 -1
- package/node_modules/@scaleway/sdk-client/dist/scw/constants.d.ts +2 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/constants.js +7 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/custom-marshalling.cjs +126 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/custom-marshalling.js +126 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/custom-types.cjs +11 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/custom-types.js +11 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/error-parser.cjs +76 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/error-parser.js +76 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/non-standard/invalid-request-mapper.cjs +36 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/non-standard/invalid-request-mapper.js +36 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/non-standard/unknown-resource-mapper.cjs +23 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/non-standard/unknown-resource-mapper.js +23 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/scw-error.cjs +43 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/scw-error.js +43 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/already-exists-error.cjs +31 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/already-exists-error.js +31 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/denied-authentication-error.cjs +37 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/denied-authentication-error.js +37 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/index.cjs +28 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/index.js +28 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/invalid-arguments-error.cjs +54 -0
- package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/invalid-arguments-error.d.ts +2 -2
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/invalid-arguments-error.js +54 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/out-of-stock-error.cjs +17 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/out-of-stock-error.js +17 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/permissions-denied-error.cjs +29 -0
- package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/permissions-denied-error.d.ts +2 -2
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/permissions-denied-error.js +29 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/precondition-failed-error.cjs +32 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/precondition-failed-error.js +32 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/quotas-exceeded-error.cjs +43 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/quotas-exceeded-error.js +43 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/resource-expired-error.cjs +31 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/resource-expired-error.js +31 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/resource-locked-error.cjs +20 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/resource-locked-error.js +20 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/resource-not-found-error.cjs +24 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/resource-not-found-error.js +24 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/too-many-requests-error.cjs +58 -0
- package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/too-many-requests-error.d.ts +2 -2
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/too-many-requests-error.js +58 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/transient-state-error.cjs +31 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/transient-state-error.js +31 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/types.cjs +15 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/types.js +15 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/fetch/build-fetcher.cjs +60 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/fetch/build-fetcher.js +60 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/fetch/http-dumper.cjs +20 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/fetch/http-dumper.js +20 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/fetch/http-interceptors.cjs +43 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/fetch/http-interceptors.js +43 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/fetch/resource-paginator.cjs +36 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/fetch/resource-paginator.js +36 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/fetch/response-parser.cjs +55 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/fetch/response-parser.js +55 -0
- package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/fetch/types.d.ts +2 -2
- package/node_modules/@scaleway/sdk-client/dist/vendor/base64/index.cjs +46 -0
- package/node_modules/@scaleway/sdk-client/dist/vendor/base64/index.js +46 -0
- package/node_modules/@scaleway/sdk-client/package.json +37 -0
- package/package.json +6 -5
- package/dist/helpers/is-browser.cjs +0 -7
- package/dist/helpers/is-browser.js +0 -7
- package/dist/scw/constants.d.ts +0 -2
- /package/dist/{helpers → client/dist/helpers}/is-response.cjs +0 -0
- /package/dist/{helpers → client/dist/helpers}/is-response.js +0 -0
- /package/dist/{helpers → client/dist/helpers}/json.cjs +0 -0
- /package/dist/{helpers → client/dist/helpers}/json.js +0 -0
- /package/dist/{helpers → client/dist/helpers}/marshalling.cjs +0 -0
- /package/dist/{helpers → client/dist/helpers}/marshalling.js +0 -0
- /package/dist/{internal → client/dist/internal}/async/interval-retrier.cjs +0 -0
- /package/dist/{internal → client/dist/internal}/async/interval-retrier.js +0 -0
- /package/dist/{internal → client/dist/internal}/async/sleep.cjs +0 -0
- /package/dist/{internal → client/dist/internal}/async/sleep.js +0 -0
- /package/dist/{internal → client/dist/internal}/interceptors/composer.cjs +0 -0
- /package/dist/{internal → client/dist/internal}/interceptors/composer.js +0 -0
- /package/dist/{internal → client/dist/internal}/interceptors/helpers.cjs +0 -0
- /package/dist/{internal → client/dist/internal}/interceptors/helpers.js +0 -0
- /package/dist/{internal → client/dist/internal}/logger/console-logger.cjs +0 -0
- /package/dist/{internal → client/dist/internal}/logger/console-logger.js +0 -0
- /package/dist/{internal → client/dist/internal}/logger/index.cjs +0 -0
- /package/dist/{internal → client/dist/internal}/logger/index.js +0 -0
- /package/dist/{internal → client/dist/internal}/logger/level-resolver.cjs +0 -0
- /package/dist/{internal → client/dist/internal}/logger/level-resolver.js +0 -0
- /package/dist/{internal → client/dist/internal}/validations/string-validation.cjs +0 -0
- /package/dist/{internal → client/dist/internal}/validations/string-validation.js +0 -0
- /package/dist/{scw → client/dist/scw}/api.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/api.js +0 -0
- /package/dist/{scw → client/dist/scw}/auth.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/auth.js +0 -0
- /package/dist/{scw → client/dist/scw}/client-ini-factory.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/client-ini-factory.js +0 -0
- /package/dist/{scw → client/dist/scw}/client-ini-profile.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/client-ini-profile.js +0 -0
- /package/dist/{scw → client/dist/scw}/client-settings.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/client-settings.js +0 -0
- /package/dist/{scw → client/dist/scw}/client.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/client.js +0 -0
- /package/dist/{scw → client/dist/scw}/custom-marshalling.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/custom-marshalling.js +0 -0
- /package/dist/{scw → client/dist/scw}/custom-types.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/custom-types.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/error-parser.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/error-parser.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/non-standard/invalid-request-mapper.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/non-standard/invalid-request-mapper.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/non-standard/unknown-resource-mapper.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/non-standard/unknown-resource-mapper.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/scw-error.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/scw-error.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/already-exists-error.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/already-exists-error.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/denied-authentication-error.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/denied-authentication-error.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/index.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/index.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/invalid-arguments-error.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/invalid-arguments-error.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/out-of-stock-error.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/out-of-stock-error.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/permissions-denied-error.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/permissions-denied-error.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/precondition-failed-error.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/precondition-failed-error.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/quotas-exceeded-error.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/quotas-exceeded-error.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/resource-expired-error.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/resource-expired-error.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/resource-locked-error.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/resource-locked-error.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/resource-not-found-error.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/resource-not-found-error.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/too-many-requests-error.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/too-many-requests-error.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/transient-state-error.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/transient-state-error.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/types.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/types.js +0 -0
- /package/dist/{scw → client/dist/scw}/fetch/build-fetcher.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/fetch/build-fetcher.js +0 -0
- /package/dist/{scw → client/dist/scw}/fetch/http-dumper.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/fetch/http-dumper.js +0 -0
- /package/dist/{scw → client/dist/scw}/fetch/http-interceptors.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/fetch/http-interceptors.js +0 -0
- /package/dist/{scw → client/dist/scw}/fetch/resource-paginator.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/fetch/resource-paginator.js +0 -0
- /package/dist/{scw → client/dist/scw}/fetch/response-parser.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/fetch/response-parser.js +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/bridge.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/helpers/is-browser.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/helpers/is-response.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/helpers/marshalling.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/async/sleep.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/interceptors/composer.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/interceptors/helpers.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/logger/console-logger.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/logger/index.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/logger/level-resolver.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/logger/logger.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/validations/string-validation.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/internals.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/api.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/auth.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/client-ini-factory.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/client-ini-profile.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/client-settings.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/custom-marshalling.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/custom-types.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/error-parser.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/non-standard/invalid-request-mapper.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/non-standard/unknown-resource-mapper.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/scw-error-from-json.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/scw-error.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/already-exists-error.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/denied-authentication-error.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/index.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/out-of-stock-error.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/precondition-failed-error.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/quotas-exceeded-error.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/resource-expired-error.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/resource-locked-error.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/resource-not-found-error.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/transient-state-error.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/types.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/fetch/build-fetcher.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/fetch/http-dumper.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/fetch/http-interceptors.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/fetch/resource-paginator.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/fetch/response-parser.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/locality.d.ts +0 -0
|
@@ -1,144 +1,227 @@
|
|
|
1
|
-
import type { Region as ScwRegion } from '
|
|
1
|
+
import type { Region as ScwRegion } from '@scaleway/sdk-client';
|
|
2
2
|
export type AclRuleProtocol = 'ANY' | 'TCP' | 'UDP' | 'ICMP';
|
|
3
3
|
export type Action = 'unknown_action' | 'accept' | 'drop';
|
|
4
4
|
export type ListPrivateNetworksRequestOrderBy = 'created_at_asc' | 'created_at_desc' | 'name_asc' | 'name_desc';
|
|
5
5
|
export type ListSubnetsRequestOrderBy = 'created_at_asc' | 'created_at_desc';
|
|
6
6
|
export type ListVPCsRequestOrderBy = 'created_at_asc' | 'created_at_desc' | 'name_asc' | 'name_desc';
|
|
7
7
|
export interface Subnet {
|
|
8
|
-
/**
|
|
8
|
+
/**
|
|
9
|
+
* ID of the subnet.
|
|
10
|
+
*/
|
|
9
11
|
id: string;
|
|
10
|
-
/**
|
|
12
|
+
/**
|
|
13
|
+
* Subnet creation date.
|
|
14
|
+
*/
|
|
11
15
|
createdAt?: Date;
|
|
12
|
-
/**
|
|
16
|
+
/**
|
|
17
|
+
* Subnet last modification date.
|
|
18
|
+
*/
|
|
13
19
|
updatedAt?: Date;
|
|
14
|
-
/**
|
|
20
|
+
/**
|
|
21
|
+
* Subnet CIDR.
|
|
22
|
+
*/
|
|
15
23
|
subnet: string;
|
|
16
|
-
/**
|
|
24
|
+
/**
|
|
25
|
+
* Scaleway Project the subnet belongs to.
|
|
26
|
+
*/
|
|
17
27
|
projectId: string;
|
|
18
|
-
/**
|
|
28
|
+
/**
|
|
29
|
+
* Private Network the subnet belongs to.
|
|
30
|
+
*/
|
|
19
31
|
privateNetworkId: string;
|
|
20
|
-
/**
|
|
32
|
+
/**
|
|
33
|
+
* VPC the subnet belongs to.
|
|
34
|
+
*/
|
|
21
35
|
vpcId: string;
|
|
22
36
|
}
|
|
23
37
|
export interface PrivateNetwork {
|
|
24
|
-
/**
|
|
38
|
+
/**
|
|
39
|
+
* Private Network ID.
|
|
40
|
+
*/
|
|
25
41
|
id: string;
|
|
26
|
-
/**
|
|
42
|
+
/**
|
|
43
|
+
* Private Network name.
|
|
44
|
+
*/
|
|
27
45
|
name: string;
|
|
28
|
-
/**
|
|
46
|
+
/**
|
|
47
|
+
* Scaleway Organization the Private Network belongs to.
|
|
48
|
+
*/
|
|
29
49
|
organizationId: string;
|
|
30
|
-
/**
|
|
50
|
+
/**
|
|
51
|
+
* Scaleway Project the Private Network belongs to.
|
|
52
|
+
*/
|
|
31
53
|
projectId: string;
|
|
32
|
-
/**
|
|
54
|
+
/**
|
|
55
|
+
* Region in which the Private Network is available.
|
|
56
|
+
*/
|
|
33
57
|
region: ScwRegion;
|
|
34
|
-
/**
|
|
58
|
+
/**
|
|
59
|
+
* Tags of the Private Network.
|
|
60
|
+
*/
|
|
35
61
|
tags: string[];
|
|
36
|
-
/**
|
|
62
|
+
/**
|
|
63
|
+
* Date the Private Network was created.
|
|
64
|
+
*/
|
|
37
65
|
createdAt?: Date;
|
|
38
|
-
/**
|
|
66
|
+
/**
|
|
67
|
+
* Date the Private Network was last modified.
|
|
68
|
+
*/
|
|
39
69
|
updatedAt?: Date;
|
|
40
|
-
/**
|
|
70
|
+
/**
|
|
71
|
+
* Private Network subnets.
|
|
72
|
+
*/
|
|
41
73
|
subnets: Subnet[];
|
|
42
|
-
/**
|
|
74
|
+
/**
|
|
75
|
+
* VPC the Private Network belongs to.
|
|
76
|
+
*/
|
|
43
77
|
vpcId: string;
|
|
44
|
-
/**
|
|
78
|
+
/**
|
|
79
|
+
* Defines whether managed DHCP is enabled for this Private Network.
|
|
80
|
+
*/
|
|
45
81
|
dhcpEnabled: boolean;
|
|
46
82
|
}
|
|
47
83
|
export interface Route {
|
|
48
|
-
/**
|
|
84
|
+
/**
|
|
85
|
+
* Route ID.
|
|
86
|
+
*/
|
|
49
87
|
id: string;
|
|
50
|
-
/**
|
|
88
|
+
/**
|
|
89
|
+
* Route description.
|
|
90
|
+
*/
|
|
51
91
|
description: string;
|
|
52
|
-
/**
|
|
92
|
+
/**
|
|
93
|
+
* Tags of the Route.
|
|
94
|
+
*/
|
|
53
95
|
tags: string[];
|
|
54
|
-
/**
|
|
96
|
+
/**
|
|
97
|
+
* VPC the Route belongs to.
|
|
98
|
+
*/
|
|
55
99
|
vpcId: string;
|
|
56
|
-
/**
|
|
100
|
+
/**
|
|
101
|
+
* Destination of the Route.
|
|
102
|
+
*/
|
|
57
103
|
destination: string;
|
|
58
|
-
/**
|
|
104
|
+
/**
|
|
105
|
+
* ID of the nexthop resource.
|
|
106
|
+
*/
|
|
59
107
|
nexthopResourceId?: string;
|
|
60
|
-
/**
|
|
108
|
+
/**
|
|
109
|
+
* ID of the nexthop private network.
|
|
110
|
+
*/
|
|
61
111
|
nexthopPrivateNetworkId?: string;
|
|
62
|
-
/**
|
|
112
|
+
/**
|
|
113
|
+
* Date the Route was created.
|
|
114
|
+
*/
|
|
63
115
|
createdAt?: Date;
|
|
64
|
-
/**
|
|
116
|
+
/**
|
|
117
|
+
* Date the Route was last modified.
|
|
118
|
+
*/
|
|
65
119
|
updatedAt?: Date;
|
|
66
|
-
/**
|
|
120
|
+
/**
|
|
121
|
+
* Defines whether the route can be modified or deleted by the user.
|
|
122
|
+
*/
|
|
67
123
|
isReadOnly: boolean;
|
|
68
|
-
/**
|
|
124
|
+
/**
|
|
125
|
+
* Region of the Route.
|
|
126
|
+
*/
|
|
69
127
|
region: ScwRegion;
|
|
70
128
|
}
|
|
71
129
|
export interface AclRule {
|
|
72
|
-
/**
|
|
130
|
+
/**
|
|
131
|
+
* Protocol to which this rule applies.
|
|
132
|
+
*/
|
|
73
133
|
protocol: AclRuleProtocol;
|
|
74
134
|
/**
|
|
75
|
-
* Source IP range to which this rule applies (CIDR notation with subnet
|
|
76
|
-
* mask).
|
|
135
|
+
* Source IP range to which this rule applies (CIDR notation with subnet mask).
|
|
77
136
|
*/
|
|
78
137
|
source: string;
|
|
79
138
|
/**
|
|
80
|
-
* Starting port of the source port range to which this rule applies
|
|
81
|
-
* (inclusive).
|
|
139
|
+
* Starting port of the source port range to which this rule applies (inclusive).
|
|
82
140
|
*/
|
|
83
141
|
srcPortLow: number;
|
|
84
142
|
/**
|
|
85
|
-
* Ending port of the source port range to which this rule applies
|
|
86
|
-
* (inclusive).
|
|
143
|
+
* Ending port of the source port range to which this rule applies (inclusive).
|
|
87
144
|
*/
|
|
88
145
|
srcPortHigh: number;
|
|
89
146
|
/**
|
|
90
|
-
* Destination IP range to which this rule applies (CIDR notation with subnet
|
|
91
|
-
* mask).
|
|
147
|
+
* Destination IP range to which this rule applies (CIDR notation with subnet mask).
|
|
92
148
|
*/
|
|
93
149
|
destination: string;
|
|
94
150
|
/**
|
|
95
|
-
* Starting port of the destination port range to which this rule applies
|
|
96
|
-
* (inclusive).
|
|
151
|
+
* Starting port of the destination port range to which this rule applies (inclusive).
|
|
97
152
|
*/
|
|
98
153
|
dstPortLow: number;
|
|
99
154
|
/**
|
|
100
|
-
* Ending port of the destination port range to which this rule applies
|
|
101
|
-
* (inclusive).
|
|
155
|
+
* Ending port of the destination port range to which this rule applies (inclusive).
|
|
102
156
|
*/
|
|
103
157
|
dstPortHigh: number;
|
|
104
|
-
/**
|
|
158
|
+
/**
|
|
159
|
+
* Policy to apply to the packet.
|
|
160
|
+
*/
|
|
105
161
|
action: Action;
|
|
106
|
-
/**
|
|
162
|
+
/**
|
|
163
|
+
* Rule description.
|
|
164
|
+
*/
|
|
107
165
|
description?: string;
|
|
108
166
|
}
|
|
109
167
|
export interface VPC {
|
|
110
|
-
/**
|
|
168
|
+
/**
|
|
169
|
+
* VPC ID.
|
|
170
|
+
*/
|
|
111
171
|
id: string;
|
|
112
|
-
/**
|
|
172
|
+
/**
|
|
173
|
+
* VPC name.
|
|
174
|
+
*/
|
|
113
175
|
name: string;
|
|
114
|
-
/**
|
|
176
|
+
/**
|
|
177
|
+
* Scaleway Organization the VPC belongs to.
|
|
178
|
+
*/
|
|
115
179
|
organizationId: string;
|
|
116
|
-
/**
|
|
180
|
+
/**
|
|
181
|
+
* Scaleway Project the VPC belongs to.
|
|
182
|
+
*/
|
|
117
183
|
projectId: string;
|
|
118
|
-
/**
|
|
184
|
+
/**
|
|
185
|
+
* Region of the VPC.
|
|
186
|
+
*/
|
|
119
187
|
region: ScwRegion;
|
|
120
|
-
/**
|
|
188
|
+
/**
|
|
189
|
+
* Tags for the VPC.
|
|
190
|
+
*/
|
|
121
191
|
tags: string[];
|
|
122
|
-
/**
|
|
192
|
+
/**
|
|
193
|
+
* Defines whether the VPC is the default one for its Project.
|
|
194
|
+
*/
|
|
123
195
|
isDefault: boolean;
|
|
124
|
-
/**
|
|
196
|
+
/**
|
|
197
|
+
* Date the VPC was created.
|
|
198
|
+
*/
|
|
125
199
|
createdAt?: Date;
|
|
126
|
-
/**
|
|
200
|
+
/**
|
|
201
|
+
* Date the VPC was last modified.
|
|
202
|
+
*/
|
|
127
203
|
updatedAt?: Date;
|
|
128
|
-
/**
|
|
204
|
+
/**
|
|
205
|
+
* Number of Private Networks within this VPC.
|
|
206
|
+
*/
|
|
129
207
|
privateNetworkCount: number;
|
|
130
|
-
/**
|
|
208
|
+
/**
|
|
209
|
+
* Defines whether the VPC routes traffic between its Private Networks.
|
|
210
|
+
*/
|
|
131
211
|
routingEnabled: boolean;
|
|
132
212
|
}
|
|
133
213
|
export type AddSubnetsRequest = {
|
|
134
214
|
/**
|
|
135
|
-
* Region to target. If none is passed will use default region from the
|
|
136
|
-
* config.
|
|
215
|
+
* Region to target. If none is passed will use default region from the config.
|
|
137
216
|
*/
|
|
138
217
|
region?: ScwRegion;
|
|
139
|
-
/**
|
|
218
|
+
/**
|
|
219
|
+
* Private Network ID.
|
|
220
|
+
*/
|
|
140
221
|
privateNetworkId: string;
|
|
141
|
-
/**
|
|
222
|
+
/**
|
|
223
|
+
* Private Network subnets CIDR.
|
|
224
|
+
*/
|
|
142
225
|
subnets?: string[];
|
|
143
226
|
};
|
|
144
227
|
export interface AddSubnetsResponse {
|
|
@@ -146,82 +229,114 @@ export interface AddSubnetsResponse {
|
|
|
146
229
|
}
|
|
147
230
|
export type CreatePrivateNetworkRequest = {
|
|
148
231
|
/**
|
|
149
|
-
* Region to target. If none is passed will use default region from the
|
|
150
|
-
* config.
|
|
232
|
+
* Region to target. If none is passed will use default region from the config.
|
|
151
233
|
*/
|
|
152
234
|
region?: ScwRegion;
|
|
153
|
-
/**
|
|
235
|
+
/**
|
|
236
|
+
* Name for the Private Network.
|
|
237
|
+
*/
|
|
154
238
|
name?: string;
|
|
155
|
-
/**
|
|
239
|
+
/**
|
|
240
|
+
* Scaleway Project in which to create the Private Network.
|
|
241
|
+
*/
|
|
156
242
|
projectId?: string;
|
|
157
|
-
/**
|
|
243
|
+
/**
|
|
244
|
+
* Tags for the Private Network.
|
|
245
|
+
*/
|
|
158
246
|
tags?: string[];
|
|
159
|
-
/**
|
|
247
|
+
/**
|
|
248
|
+
* Private Network subnets CIDR.
|
|
249
|
+
*/
|
|
160
250
|
subnets?: string[];
|
|
161
|
-
/**
|
|
251
|
+
/**
|
|
252
|
+
* VPC in which to create the Private Network.
|
|
253
|
+
*/
|
|
162
254
|
vpcId?: string;
|
|
163
255
|
};
|
|
164
256
|
export type CreateRouteRequest = {
|
|
165
257
|
/**
|
|
166
|
-
* Region to target. If none is passed will use default region from the
|
|
167
|
-
* config.
|
|
258
|
+
* Region to target. If none is passed will use default region from the config.
|
|
168
259
|
*/
|
|
169
260
|
region?: ScwRegion;
|
|
170
|
-
/**
|
|
261
|
+
/**
|
|
262
|
+
* Route description.
|
|
263
|
+
*/
|
|
171
264
|
description: string;
|
|
172
|
-
/**
|
|
265
|
+
/**
|
|
266
|
+
* Tags of the Route.
|
|
267
|
+
*/
|
|
173
268
|
tags?: string[];
|
|
174
|
-
/**
|
|
269
|
+
/**
|
|
270
|
+
* VPC the Route belongs to.
|
|
271
|
+
*/
|
|
175
272
|
vpcId: string;
|
|
176
|
-
/**
|
|
273
|
+
/**
|
|
274
|
+
* Destination of the Route.
|
|
275
|
+
*/
|
|
177
276
|
destination: string;
|
|
178
|
-
/**
|
|
277
|
+
/**
|
|
278
|
+
* ID of the nexthop resource.
|
|
279
|
+
*/
|
|
179
280
|
nexthopResourceId?: string;
|
|
180
|
-
/**
|
|
281
|
+
/**
|
|
282
|
+
* ID of the nexthop private network.
|
|
283
|
+
*/
|
|
181
284
|
nexthopPrivateNetworkId?: string;
|
|
182
285
|
};
|
|
183
286
|
export type CreateVPCRequest = {
|
|
184
287
|
/**
|
|
185
|
-
* Region to target. If none is passed will use default region from the
|
|
186
|
-
* config.
|
|
288
|
+
* Region to target. If none is passed will use default region from the config.
|
|
187
289
|
*/
|
|
188
290
|
region?: ScwRegion;
|
|
189
|
-
/**
|
|
291
|
+
/**
|
|
292
|
+
* Name for the VPC.
|
|
293
|
+
*/
|
|
190
294
|
name?: string;
|
|
191
|
-
/**
|
|
295
|
+
/**
|
|
296
|
+
* Scaleway Project in which to create the VPC.
|
|
297
|
+
*/
|
|
192
298
|
projectId?: string;
|
|
193
|
-
/**
|
|
299
|
+
/**
|
|
300
|
+
* Tags for the VPC.
|
|
301
|
+
*/
|
|
194
302
|
tags?: string[];
|
|
195
|
-
/**
|
|
303
|
+
/**
|
|
304
|
+
* Enable routing between Private Networks in the VPC.
|
|
305
|
+
*/
|
|
196
306
|
enableRouting: boolean;
|
|
197
307
|
};
|
|
198
308
|
export type DeletePrivateNetworkRequest = {
|
|
199
309
|
/**
|
|
200
|
-
* Region to target. If none is passed will use default region from the
|
|
201
|
-
* config.
|
|
310
|
+
* Region to target. If none is passed will use default region from the config.
|
|
202
311
|
*/
|
|
203
312
|
region?: ScwRegion;
|
|
204
|
-
/**
|
|
313
|
+
/**
|
|
314
|
+
* Private Network ID.
|
|
315
|
+
*/
|
|
205
316
|
privateNetworkId: string;
|
|
206
317
|
};
|
|
207
318
|
export type DeleteRouteRequest = {
|
|
208
319
|
/**
|
|
209
|
-
* Region to target. If none is passed will use default region from the
|
|
210
|
-
* config.
|
|
320
|
+
* Region to target. If none is passed will use default region from the config.
|
|
211
321
|
*/
|
|
212
322
|
region?: ScwRegion;
|
|
213
|
-
/**
|
|
323
|
+
/**
|
|
324
|
+
* Route ID.
|
|
325
|
+
*/
|
|
214
326
|
routeId: string;
|
|
215
327
|
};
|
|
216
328
|
export type DeleteSubnetsRequest = {
|
|
217
329
|
/**
|
|
218
|
-
* Region to target. If none is passed will use default region from the
|
|
219
|
-
* config.
|
|
330
|
+
* Region to target. If none is passed will use default region from the config.
|
|
220
331
|
*/
|
|
221
332
|
region?: ScwRegion;
|
|
222
|
-
/**
|
|
333
|
+
/**
|
|
334
|
+
* Private Network ID.
|
|
335
|
+
*/
|
|
223
336
|
privateNetworkId: string;
|
|
224
|
-
/**
|
|
337
|
+
/**
|
|
338
|
+
* Private Network subnets CIDR.
|
|
339
|
+
*/
|
|
225
340
|
subnets?: string[];
|
|
226
341
|
};
|
|
227
342
|
export interface DeleteSubnetsResponse {
|
|
@@ -229,42 +344,45 @@ export interface DeleteSubnetsResponse {
|
|
|
229
344
|
}
|
|
230
345
|
export type DeleteVPCRequest = {
|
|
231
346
|
/**
|
|
232
|
-
* Region to target. If none is passed will use default region from the
|
|
233
|
-
* config.
|
|
347
|
+
* Region to target. If none is passed will use default region from the config.
|
|
234
348
|
*/
|
|
235
349
|
region?: ScwRegion;
|
|
236
|
-
/**
|
|
350
|
+
/**
|
|
351
|
+
* VPC ID.
|
|
352
|
+
*/
|
|
237
353
|
vpcId: string;
|
|
238
354
|
};
|
|
239
355
|
export type EnableDHCPRequest = {
|
|
240
356
|
/**
|
|
241
|
-
* Region to target. If none is passed will use default region from the
|
|
242
|
-
* config.
|
|
357
|
+
* Region to target. If none is passed will use default region from the config.
|
|
243
358
|
*/
|
|
244
359
|
region?: ScwRegion;
|
|
245
|
-
/**
|
|
360
|
+
/**
|
|
361
|
+
* Private Network ID.
|
|
362
|
+
*/
|
|
246
363
|
privateNetworkId: string;
|
|
247
364
|
};
|
|
248
365
|
export type EnableRoutingRequest = {
|
|
249
366
|
/**
|
|
250
|
-
* Region to target. If none is passed will use default region from the
|
|
251
|
-
* config.
|
|
367
|
+
* Region to target. If none is passed will use default region from the config.
|
|
252
368
|
*/
|
|
253
369
|
region?: ScwRegion;
|
|
254
|
-
/**
|
|
370
|
+
/**
|
|
371
|
+
* VPC ID.
|
|
372
|
+
*/
|
|
255
373
|
vpcId: string;
|
|
256
374
|
};
|
|
257
375
|
export type GetAclRequest = {
|
|
258
376
|
/**
|
|
259
|
-
* Region to target. If none is passed will use default region from the
|
|
260
|
-
* config.
|
|
377
|
+
* Region to target. If none is passed will use default region from the config.
|
|
261
378
|
*/
|
|
262
379
|
region?: ScwRegion;
|
|
263
|
-
/**
|
|
380
|
+
/**
|
|
381
|
+
* ID of the Network ACL's VPC.
|
|
382
|
+
*/
|
|
264
383
|
vpcId: string;
|
|
265
384
|
/**
|
|
266
|
-
* Defines whether this set of ACL rules is for IPv6 (false = IPv4). Each
|
|
267
|
-
* Network ACL can have rules for only one IP type.
|
|
385
|
+
* Defines whether this set of ACL rules is for IPv6 (false = IPv4). Each Network ACL can have rules for only one IP type.
|
|
268
386
|
*/
|
|
269
387
|
isIpv6: boolean;
|
|
270
388
|
};
|
|
@@ -274,76 +392,77 @@ export interface GetAclResponse {
|
|
|
274
392
|
}
|
|
275
393
|
export type GetPrivateNetworkRequest = {
|
|
276
394
|
/**
|
|
277
|
-
* Region to target. If none is passed will use default region from the
|
|
278
|
-
* config.
|
|
395
|
+
* Region to target. If none is passed will use default region from the config.
|
|
279
396
|
*/
|
|
280
397
|
region?: ScwRegion;
|
|
281
|
-
/**
|
|
398
|
+
/**
|
|
399
|
+
* Private Network ID.
|
|
400
|
+
*/
|
|
282
401
|
privateNetworkId: string;
|
|
283
402
|
};
|
|
284
403
|
export type GetRouteRequest = {
|
|
285
404
|
/**
|
|
286
|
-
* Region to target. If none is passed will use default region from the
|
|
287
|
-
* config.
|
|
405
|
+
* Region to target. If none is passed will use default region from the config.
|
|
288
406
|
*/
|
|
289
407
|
region?: ScwRegion;
|
|
290
|
-
/**
|
|
408
|
+
/**
|
|
409
|
+
* Route ID.
|
|
410
|
+
*/
|
|
291
411
|
routeId: string;
|
|
292
412
|
};
|
|
293
413
|
export type GetVPCRequest = {
|
|
294
414
|
/**
|
|
295
|
-
* Region to target. If none is passed will use default region from the
|
|
296
|
-
* config.
|
|
415
|
+
* Region to target. If none is passed will use default region from the config.
|
|
297
416
|
*/
|
|
298
417
|
region?: ScwRegion;
|
|
299
|
-
/**
|
|
418
|
+
/**
|
|
419
|
+
* VPC ID.
|
|
420
|
+
*/
|
|
300
421
|
vpcId: string;
|
|
301
422
|
};
|
|
302
423
|
export type ListPrivateNetworksRequest = {
|
|
303
424
|
/**
|
|
304
|
-
* Region to target. If none is passed will use default region from the
|
|
305
|
-
* config.
|
|
425
|
+
* Region to target. If none is passed will use default region from the config.
|
|
306
426
|
*/
|
|
307
427
|
region?: ScwRegion;
|
|
308
|
-
/**
|
|
428
|
+
/**
|
|
429
|
+
* Sort order of the returned Private Networks.
|
|
430
|
+
*/
|
|
309
431
|
orderBy?: ListPrivateNetworksRequestOrderBy;
|
|
310
|
-
/**
|
|
432
|
+
/**
|
|
433
|
+
* Page number to return, from the paginated results.
|
|
434
|
+
*/
|
|
311
435
|
page?: number;
|
|
312
|
-
/**
|
|
436
|
+
/**
|
|
437
|
+
* Maximum number of Private Networks to return per page.
|
|
438
|
+
*/
|
|
313
439
|
pageSize?: number;
|
|
314
440
|
/**
|
|
315
|
-
* Name to filter for. Only Private Networks with names containing this string
|
|
316
|
-
* will be returned.
|
|
441
|
+
* Name to filter for. Only Private Networks with names containing this string will be returned.
|
|
317
442
|
*/
|
|
318
443
|
name?: string;
|
|
319
444
|
/**
|
|
320
|
-
* Tags to filter for. Only Private Networks with one or more matching tags
|
|
321
|
-
* will be returned.
|
|
445
|
+
* Tags to filter for. Only Private Networks with one or more matching tags will be returned.
|
|
322
446
|
*/
|
|
323
447
|
tags?: string[];
|
|
324
448
|
/**
|
|
325
|
-
* Organization ID to filter for. Only Private Networks belonging to this
|
|
326
|
-
* Organization will be returned.
|
|
449
|
+
* Organization ID to filter for. Only Private Networks belonging to this Organization will be returned.
|
|
327
450
|
*/
|
|
328
451
|
organizationId?: string;
|
|
329
452
|
/**
|
|
330
|
-
* Project ID to filter for. Only Private Networks belonging to this Project
|
|
331
|
-
* will be returned.
|
|
453
|
+
* Project ID to filter for. Only Private Networks belonging to this Project will be returned.
|
|
332
454
|
*/
|
|
333
455
|
projectId?: string;
|
|
334
456
|
/**
|
|
335
|
-
* Private Network IDs to filter for. Only Private Networks with one of these
|
|
336
|
-
* IDs will be returned.
|
|
457
|
+
* Private Network IDs to filter for. Only Private Networks with one of these IDs will be returned.
|
|
337
458
|
*/
|
|
338
459
|
privateNetworkIds?: string[];
|
|
339
460
|
/**
|
|
340
|
-
* VPC ID to filter for. Only Private Networks belonging to this VPC will be
|
|
341
|
-
* returned.
|
|
461
|
+
* VPC ID to filter for. Only Private Networks belonging to this VPC will be returned.
|
|
342
462
|
*/
|
|
343
463
|
vpcId?: string;
|
|
344
464
|
/**
|
|
345
|
-
* DHCP status to filter for. When true, only Private Networks with managed
|
|
346
|
-
* DHCP enabled will be returned.
|
|
465
|
+
* DHCP status to filter for. When true, only Private Networks with managed DHCP enabled will be returned.
|
|
347
466
|
*/
|
|
348
467
|
dhcpEnabled?: boolean;
|
|
349
468
|
};
|
|
@@ -353,32 +472,36 @@ export interface ListPrivateNetworksResponse {
|
|
|
353
472
|
}
|
|
354
473
|
export type ListSubnetsRequest = {
|
|
355
474
|
/**
|
|
356
|
-
* Region to target. If none is passed will use default region from the
|
|
357
|
-
* config.
|
|
475
|
+
* Region to target. If none is passed will use default region from the config.
|
|
358
476
|
*/
|
|
359
477
|
region?: ScwRegion;
|
|
360
|
-
/**
|
|
478
|
+
/**
|
|
479
|
+
* Sort order of the returned subnets.
|
|
480
|
+
*/
|
|
361
481
|
orderBy?: ListSubnetsRequestOrderBy;
|
|
362
|
-
/**
|
|
482
|
+
/**
|
|
483
|
+
* Page number to return, from the paginated results.
|
|
484
|
+
*/
|
|
363
485
|
page?: number;
|
|
364
|
-
/**
|
|
486
|
+
/**
|
|
487
|
+
* Maximum number of Private Networks to return per page.
|
|
488
|
+
*/
|
|
365
489
|
pageSize?: number;
|
|
366
490
|
/**
|
|
367
|
-
* Organization ID to filter for. Only subnets belonging to this Organization
|
|
368
|
-
* will be returned.
|
|
491
|
+
* Organization ID to filter for. Only subnets belonging to this Organization will be returned.
|
|
369
492
|
*/
|
|
370
493
|
organizationId?: string;
|
|
371
494
|
/**
|
|
372
|
-
* Project ID to filter for. Only subnets belonging to this Project will be
|
|
373
|
-
* returned.
|
|
495
|
+
* Project ID to filter for. Only subnets belonging to this Project will be returned.
|
|
374
496
|
*/
|
|
375
497
|
projectId?: string;
|
|
376
498
|
/**
|
|
377
|
-
* Subnet IDs to filter for. Only subnets matching the specified IDs will be
|
|
378
|
-
* returned.
|
|
499
|
+
* Subnet IDs to filter for. Only subnets matching the specified IDs will be returned.
|
|
379
500
|
*/
|
|
380
501
|
subnetIds?: string[];
|
|
381
|
-
/**
|
|
502
|
+
/**
|
|
503
|
+
* VPC ID to filter for. Only subnets belonging to this VPC will be returned.
|
|
504
|
+
*/
|
|
382
505
|
vpcId?: string;
|
|
383
506
|
};
|
|
384
507
|
export interface ListSubnetsResponse {
|
|
@@ -387,44 +510,43 @@ export interface ListSubnetsResponse {
|
|
|
387
510
|
}
|
|
388
511
|
export type ListVPCsRequest = {
|
|
389
512
|
/**
|
|
390
|
-
* Region to target. If none is passed will use default region from the
|
|
391
|
-
* config.
|
|
513
|
+
* Region to target. If none is passed will use default region from the config.
|
|
392
514
|
*/
|
|
393
515
|
region?: ScwRegion;
|
|
394
|
-
/**
|
|
516
|
+
/**
|
|
517
|
+
* Sort order of the returned VPCs.
|
|
518
|
+
*/
|
|
395
519
|
orderBy?: ListVPCsRequestOrderBy;
|
|
396
|
-
/**
|
|
520
|
+
/**
|
|
521
|
+
* Page number to return, from the paginated results.
|
|
522
|
+
*/
|
|
397
523
|
page?: number;
|
|
398
|
-
/**
|
|
524
|
+
/**
|
|
525
|
+
* Maximum number of VPCs to return per page.
|
|
526
|
+
*/
|
|
399
527
|
pageSize?: number;
|
|
400
528
|
/**
|
|
401
|
-
* Name to filter for. Only VPCs with names containing this string will be
|
|
402
|
-
* returned.
|
|
529
|
+
* Name to filter for. Only VPCs with names containing this string will be returned.
|
|
403
530
|
*/
|
|
404
531
|
name?: string;
|
|
405
532
|
/**
|
|
406
|
-
* Tags to filter for. Only VPCs with one
|
|
407
|
-
* returned.
|
|
533
|
+
* Tags to filter for. Only VPCs with one or more matching tags will be returned.
|
|
408
534
|
*/
|
|
409
535
|
tags?: string[];
|
|
410
536
|
/**
|
|
411
|
-
* Organization ID to filter for. Only VPCs belonging to this Organization
|
|
412
|
-
* will be returned.
|
|
537
|
+
* Organization ID to filter for. Only VPCs belonging to this Organization will be returned.
|
|
413
538
|
*/
|
|
414
539
|
organizationId?: string;
|
|
415
540
|
/**
|
|
416
|
-
* Project ID to filter for. Only VPCs belonging to this Project will be
|
|
417
|
-
* returned.
|
|
541
|
+
* Project ID to filter for. Only VPCs belonging to this Project will be returned.
|
|
418
542
|
*/
|
|
419
543
|
projectId?: string;
|
|
420
544
|
/**
|
|
421
|
-
* Defines whether to filter only for VPCs which are the default one for their
|
|
422
|
-
* Project.
|
|
545
|
+
* Defines whether to filter only for VPCs which are the default one for their Project.
|
|
423
546
|
*/
|
|
424
547
|
isDefault?: boolean;
|
|
425
548
|
/**
|
|
426
|
-
* Defines whether to filter only for VPCs which route traffic between their
|
|
427
|
-
* Private Networks.
|
|
549
|
+
* Defines whether to filter only for VPCs which route traffic between their Private Networks.
|
|
428
550
|
*/
|
|
429
551
|
routingEnabled?: boolean;
|
|
430
552
|
};
|
|
@@ -434,82 +556,93 @@ export interface ListVPCsResponse {
|
|
|
434
556
|
}
|
|
435
557
|
export type SetAclRequest = {
|
|
436
558
|
/**
|
|
437
|
-
* Region to target. If none is passed will use default region from the
|
|
438
|
-
* config.
|
|
559
|
+
* Region to target. If none is passed will use default region from the config.
|
|
439
560
|
*/
|
|
440
561
|
region?: ScwRegion;
|
|
441
|
-
/**
|
|
562
|
+
/**
|
|
563
|
+
* ID of the Network ACL's VPC.
|
|
564
|
+
*/
|
|
442
565
|
vpcId: string;
|
|
443
|
-
/**
|
|
566
|
+
/**
|
|
567
|
+
* List of Network ACL rules.
|
|
568
|
+
*/
|
|
444
569
|
rules: AclRule[];
|
|
445
570
|
/**
|
|
446
|
-
* Defines whether this set of ACL rules is for IPv6 (false = IPv4). Each
|
|
447
|
-
* Network ACL can have rules for only one IP type.
|
|
571
|
+
* Defines whether this set of ACL rules is for IPv6 (false = IPv4). Each Network ACL can have rules for only one IP type.
|
|
448
572
|
*/
|
|
449
573
|
isIpv6: boolean;
|
|
450
|
-
/**
|
|
574
|
+
/**
|
|
575
|
+
* Action to take for packets which do not match any rules.
|
|
576
|
+
*/
|
|
451
577
|
defaultPolicy: Action;
|
|
452
578
|
};
|
|
453
579
|
export interface SetAclResponse {
|
|
454
580
|
rules: AclRule[];
|
|
455
581
|
defaultPolicy: Action;
|
|
456
582
|
}
|
|
457
|
-
export type
|
|
583
|
+
export type UpdatePrivateNetworkRequest = {
|
|
458
584
|
/**
|
|
459
|
-
* Region to target. If none is passed will use default region from the
|
|
460
|
-
* config.
|
|
585
|
+
* Region to target. If none is passed will use default region from the config.
|
|
461
586
|
*/
|
|
462
587
|
region?: ScwRegion;
|
|
463
|
-
/** Private Network ID. */
|
|
464
|
-
privateNetworkId: string;
|
|
465
|
-
/** Private Network subnets CIDR. */
|
|
466
|
-
subnets?: string[];
|
|
467
|
-
};
|
|
468
|
-
export interface SetSubnetsResponse {
|
|
469
|
-
subnets: string[];
|
|
470
|
-
}
|
|
471
|
-
export type UpdatePrivateNetworkRequest = {
|
|
472
588
|
/**
|
|
473
|
-
*
|
|
474
|
-
* config.
|
|
589
|
+
* Private Network ID.
|
|
475
590
|
*/
|
|
476
|
-
region?: ScwRegion;
|
|
477
|
-
/** Private Network ID. */
|
|
478
591
|
privateNetworkId: string;
|
|
479
|
-
/**
|
|
592
|
+
/**
|
|
593
|
+
* Name for the Private Network.
|
|
594
|
+
*/
|
|
480
595
|
name?: string;
|
|
481
|
-
/**
|
|
596
|
+
/**
|
|
597
|
+
* Tags for the Private Network.
|
|
598
|
+
*/
|
|
482
599
|
tags?: string[];
|
|
483
600
|
};
|
|
484
601
|
export type UpdateRouteRequest = {
|
|
485
602
|
/**
|
|
486
|
-
* Region to target. If none is passed will use default region from the
|
|
487
|
-
* config.
|
|
603
|
+
* Region to target. If none is passed will use default region from the config.
|
|
488
604
|
*/
|
|
489
605
|
region?: ScwRegion;
|
|
490
|
-
/**
|
|
606
|
+
/**
|
|
607
|
+
* Route ID.
|
|
608
|
+
*/
|
|
491
609
|
routeId: string;
|
|
492
|
-
/**
|
|
610
|
+
/**
|
|
611
|
+
* Route description.
|
|
612
|
+
*/
|
|
493
613
|
description?: string;
|
|
494
|
-
/**
|
|
614
|
+
/**
|
|
615
|
+
* Tags of the Route.
|
|
616
|
+
*/
|
|
495
617
|
tags?: string[];
|
|
496
|
-
/**
|
|
618
|
+
/**
|
|
619
|
+
* Destination of the Route.
|
|
620
|
+
*/
|
|
497
621
|
destination?: string;
|
|
498
|
-
/**
|
|
622
|
+
/**
|
|
623
|
+
* ID of the nexthop resource.
|
|
624
|
+
*/
|
|
499
625
|
nexthopResourceId?: string;
|
|
500
|
-
/**
|
|
626
|
+
/**
|
|
627
|
+
* ID of the nexthop private network.
|
|
628
|
+
*/
|
|
501
629
|
nexthopPrivateNetworkId?: string;
|
|
502
630
|
};
|
|
503
631
|
export type UpdateVPCRequest = {
|
|
504
632
|
/**
|
|
505
|
-
* Region to target. If none is passed will use default region from the
|
|
506
|
-
* config.
|
|
633
|
+
* Region to target. If none is passed will use default region from the config.
|
|
507
634
|
*/
|
|
508
635
|
region?: ScwRegion;
|
|
509
|
-
/**
|
|
636
|
+
/**
|
|
637
|
+
* VPC ID.
|
|
638
|
+
*/
|
|
510
639
|
vpcId: string;
|
|
511
|
-
/**
|
|
640
|
+
/**
|
|
641
|
+
* Name for the VPC.
|
|
642
|
+
*/
|
|
512
643
|
name?: string;
|
|
513
|
-
/**
|
|
644
|
+
/**
|
|
645
|
+
* Tags for the VPC.
|
|
646
|
+
*/
|
|
514
647
|
tags?: string[];
|
|
515
648
|
};
|