@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,4 +1,4 @@
|
|
|
1
|
-
import type { Money, Region as ScwRegion } from '
|
|
1
|
+
import type { Money, Region as ScwRegion } from '@scaleway/sdk-client';
|
|
2
2
|
import type { LanguageCode as StdLanguageCode } from '../../std/types.gen';
|
|
3
3
|
export type DnsRecordStatus = 'unknown_status' | 'valid' | 'invalid';
|
|
4
4
|
export type DnsRecordType = 'unknown_type' | 'a' | 'cname' | 'mx' | 'txt' | 'ns' | 'aaaa';
|
|
@@ -22,36 +22,57 @@ export type OfferOptionName = 'unknown_name' | 'domain_count' | 'email_count' |
|
|
|
22
22
|
export type OfferOptionWarning = 'unknown_warning' | 'quota_exceeded_warning' | 'usage_low_warning';
|
|
23
23
|
export type PlatformPlatformGroup = 'unknown_group' | 'default' | 'premium';
|
|
24
24
|
export interface PlatformControlPanelUrls {
|
|
25
|
-
/**
|
|
25
|
+
/**
|
|
26
|
+
* URL to connect to the hosting control panel dashboard.
|
|
27
|
+
*/
|
|
26
28
|
dashboard: string;
|
|
27
|
-
/**
|
|
29
|
+
/**
|
|
30
|
+
* URL to connect to the hosting Webmail interface.
|
|
31
|
+
*/
|
|
28
32
|
webmail: string;
|
|
29
33
|
}
|
|
30
34
|
export interface OfferOption {
|
|
31
|
-
/**
|
|
35
|
+
/**
|
|
36
|
+
* Option ID.
|
|
37
|
+
*/
|
|
32
38
|
id: string;
|
|
33
|
-
/**
|
|
39
|
+
/**
|
|
40
|
+
* Name of the option.
|
|
41
|
+
*/
|
|
34
42
|
name: OfferOptionName;
|
|
35
|
-
/**
|
|
43
|
+
/**
|
|
44
|
+
* Unique identifier used for billing.
|
|
45
|
+
*/
|
|
36
46
|
billingOperationPath: string;
|
|
37
|
-
/**
|
|
47
|
+
/**
|
|
48
|
+
* Minimum value for the option in the offer.
|
|
49
|
+
*/
|
|
38
50
|
minValue: number;
|
|
39
51
|
/**
|
|
40
|
-
* If a hosting_id was specified in the call, defines the current value of the
|
|
41
|
-
* option in the hosting.
|
|
52
|
+
* If a hosting_id was specified in the call, defines the current value of the option in the hosting.
|
|
42
53
|
*/
|
|
43
54
|
currentValue: number;
|
|
44
|
-
/**
|
|
55
|
+
/**
|
|
56
|
+
* Maximum value for the option in the offer.
|
|
57
|
+
*/
|
|
45
58
|
maxValue: number;
|
|
46
|
-
/**
|
|
59
|
+
/**
|
|
60
|
+
* Defines a warning if the maximum value for the option has been reached.
|
|
61
|
+
*/
|
|
47
62
|
quotaWarning: OfferOptionWarning;
|
|
48
|
-
/**
|
|
63
|
+
/**
|
|
64
|
+
* Price of the option for 1 value.
|
|
65
|
+
*/
|
|
49
66
|
price?: Money;
|
|
50
67
|
}
|
|
51
68
|
export interface PlatformControlPanel {
|
|
52
|
-
/**
|
|
69
|
+
/**
|
|
70
|
+
* Name of the control panel.
|
|
71
|
+
*/
|
|
53
72
|
name: string;
|
|
54
|
-
/**
|
|
73
|
+
/**
|
|
74
|
+
* URL to connect to cPanel dashboard and to Webmail interface.
|
|
75
|
+
*/
|
|
55
76
|
urls?: PlatformControlPanelUrls;
|
|
56
77
|
}
|
|
57
78
|
export interface CreateDatabaseRequestUser {
|
|
@@ -59,20 +80,24 @@ export interface CreateDatabaseRequestUser {
|
|
|
59
80
|
password: string;
|
|
60
81
|
}
|
|
61
82
|
export interface AutoConfigDomainDns {
|
|
62
|
-
/**
|
|
83
|
+
/**
|
|
84
|
+
* Whether or not to synchronize domain nameservers.
|
|
85
|
+
*/
|
|
63
86
|
nameservers: boolean;
|
|
64
|
-
/**
|
|
87
|
+
/**
|
|
88
|
+
* Whether or not to synchronize web records.
|
|
89
|
+
*/
|
|
65
90
|
webRecords: boolean;
|
|
66
|
-
/**
|
|
91
|
+
/**
|
|
92
|
+
* Whether or not to synchronize mail records.
|
|
93
|
+
*/
|
|
67
94
|
mailRecords: boolean;
|
|
68
95
|
/**
|
|
69
|
-
* Whether or not to synchronize all types of records. Takes priority over the
|
|
70
|
-
* other fields.
|
|
96
|
+
* Whether or not to synchronize all types of records. Takes priority over the other fields.
|
|
71
97
|
*/
|
|
72
98
|
allRecords: boolean;
|
|
73
99
|
/**
|
|
74
|
-
* No automatic domain configuration. Users must configure their domain for
|
|
75
|
-
* the Web Hosting to work.
|
|
100
|
+
* No automatic domain configuration. Users must configure their domain for the Web Hosting to work.
|
|
76
101
|
*/
|
|
77
102
|
none: boolean;
|
|
78
103
|
}
|
|
@@ -83,9 +108,13 @@ export interface CreateHostingRequestDomainConfiguration {
|
|
|
83
108
|
updateAllRecords: boolean;
|
|
84
109
|
}
|
|
85
110
|
export interface OfferOptionRequest {
|
|
86
|
-
/**
|
|
111
|
+
/**
|
|
112
|
+
* Offer option ID.
|
|
113
|
+
*/
|
|
87
114
|
id: string;
|
|
88
|
-
/**
|
|
115
|
+
/**
|
|
116
|
+
* The option requested quantity to set for the Web Hosting plan.
|
|
117
|
+
*/
|
|
89
118
|
quantity: number;
|
|
90
119
|
}
|
|
91
120
|
export interface SyncDomainDnsRecordsRequestRecord {
|
|
@@ -93,216 +122,339 @@ export interface SyncDomainDnsRecordsRequestRecord {
|
|
|
93
122
|
type: DnsRecordType;
|
|
94
123
|
}
|
|
95
124
|
export interface DnsRecord {
|
|
96
|
-
/**
|
|
125
|
+
/**
|
|
126
|
+
* Record name.
|
|
127
|
+
*/
|
|
97
128
|
name: string;
|
|
98
|
-
/**
|
|
129
|
+
/**
|
|
130
|
+
* Record type.
|
|
131
|
+
*/
|
|
99
132
|
type: DnsRecordType;
|
|
100
|
-
/**
|
|
133
|
+
/**
|
|
134
|
+
* Record time-to-live.
|
|
135
|
+
*/
|
|
101
136
|
ttl: number;
|
|
102
|
-
/**
|
|
137
|
+
/**
|
|
138
|
+
* Record value.
|
|
139
|
+
*/
|
|
103
140
|
value: string;
|
|
104
|
-
/**
|
|
141
|
+
/**
|
|
142
|
+
* Record priority level.
|
|
143
|
+
*/
|
|
105
144
|
priority?: number;
|
|
106
|
-
/**
|
|
145
|
+
/**
|
|
146
|
+
* Record status.
|
|
147
|
+
*/
|
|
107
148
|
status: DnsRecordStatus;
|
|
108
149
|
/**
|
|
109
|
-
* Record representation as it appears in the zone file or DNS management
|
|
110
|
-
* system.
|
|
150
|
+
* Record representation as it appears in the zone file or DNS management system.
|
|
111
151
|
*/
|
|
112
152
|
rawData: string;
|
|
113
153
|
}
|
|
114
154
|
export interface Nameserver {
|
|
115
|
-
/**
|
|
155
|
+
/**
|
|
156
|
+
* Hostname of the nameserver.
|
|
157
|
+
*/
|
|
116
158
|
hostname: string;
|
|
117
|
-
/**
|
|
159
|
+
/**
|
|
160
|
+
* Status of the nameserver.
|
|
161
|
+
*/
|
|
118
162
|
status: NameserverStatus;
|
|
119
|
-
/**
|
|
163
|
+
/**
|
|
164
|
+
* Defines whether the nameserver is the default one.
|
|
165
|
+
*/
|
|
120
166
|
isDefault: boolean;
|
|
121
167
|
}
|
|
122
168
|
export interface HostingUser {
|
|
123
|
-
/**
|
|
169
|
+
/**
|
|
170
|
+
* Main Web Hosting cPanel username.
|
|
171
|
+
*/
|
|
124
172
|
username: string;
|
|
125
173
|
/**
|
|
126
|
-
* One-time-password used for the first login or reset password, empty after
|
|
127
|
-
* first use.
|
|
174
|
+
* One-time-password used for the first login or reset password, empty after first use.
|
|
128
175
|
*/
|
|
129
176
|
oneTimePassword?: string;
|
|
130
|
-
/**
|
|
177
|
+
/**
|
|
178
|
+
* Contact email used for the hosting.
|
|
179
|
+
*/
|
|
131
180
|
contactEmail: string;
|
|
132
181
|
}
|
|
133
182
|
export interface Offer {
|
|
134
|
-
/**
|
|
183
|
+
/**
|
|
184
|
+
* Offer ID.
|
|
185
|
+
*/
|
|
135
186
|
id: string;
|
|
136
|
-
/**
|
|
187
|
+
/**
|
|
188
|
+
* Offer name.
|
|
189
|
+
*/
|
|
137
190
|
name: string;
|
|
138
|
-
/**
|
|
191
|
+
/**
|
|
192
|
+
* Unique identifier used for billing.
|
|
193
|
+
*/
|
|
139
194
|
billingOperationPath: string;
|
|
140
|
-
/**
|
|
195
|
+
/**
|
|
196
|
+
* Options available for the offer.
|
|
197
|
+
*/
|
|
141
198
|
options: OfferOption[];
|
|
142
|
-
/**
|
|
199
|
+
/**
|
|
200
|
+
* Price of the offer.
|
|
201
|
+
*/
|
|
143
202
|
price?: Money;
|
|
144
203
|
/**
|
|
145
|
-
* If a hosting_id was specified in the call, defines whether the offer is
|
|
146
|
-
* available for a specified hosting plan to migrate (update) to.
|
|
204
|
+
* If a hosting_id was specified in the call, defines whether the offer is available for a specified hosting plan to migrate (update) to.
|
|
147
205
|
*/
|
|
148
206
|
available: boolean;
|
|
149
|
-
/**
|
|
207
|
+
/**
|
|
208
|
+
* Name of the control panel.
|
|
209
|
+
*/
|
|
150
210
|
controlPanelName: string;
|
|
151
|
-
/**
|
|
211
|
+
/**
|
|
212
|
+
* Indicates if the offer has reached its end of life.
|
|
213
|
+
*/
|
|
152
214
|
endOfLife: boolean;
|
|
153
215
|
/**
|
|
154
|
-
* Defines a warning if the maximum value for an option in the offer is
|
|
155
|
-
* exceeded.
|
|
216
|
+
* Defines a warning if the maximum value for an option in the offer is exceeded.
|
|
156
217
|
*/
|
|
157
218
|
quotaWarning: OfferOptionWarning;
|
|
158
219
|
}
|
|
159
220
|
export interface Platform {
|
|
160
|
-
/**
|
|
221
|
+
/**
|
|
222
|
+
* Hostname of the host platform.
|
|
223
|
+
*/
|
|
161
224
|
hostname: string;
|
|
162
|
-
/**
|
|
225
|
+
/**
|
|
226
|
+
* Number of the host platform.
|
|
227
|
+
*/
|
|
163
228
|
number: number;
|
|
164
|
-
/**
|
|
229
|
+
/**
|
|
230
|
+
* Group name of the hosting's host platform.
|
|
231
|
+
*/
|
|
165
232
|
groupName: PlatformPlatformGroup;
|
|
166
|
-
/**
|
|
233
|
+
/**
|
|
234
|
+
* IPv4 address of the hosting's host platform.
|
|
235
|
+
*/
|
|
167
236
|
ipv4: string;
|
|
168
|
-
/**
|
|
237
|
+
/**
|
|
238
|
+
* IPv6 address of the hosting's host platform.
|
|
239
|
+
*/
|
|
169
240
|
ipv6: string;
|
|
170
|
-
/**
|
|
241
|
+
/**
|
|
242
|
+
* Details of the platform control panel.
|
|
243
|
+
*/
|
|
171
244
|
controlPanel?: PlatformControlPanel;
|
|
172
245
|
}
|
|
173
246
|
export interface ControlPanel {
|
|
174
|
-
/**
|
|
247
|
+
/**
|
|
248
|
+
* Control panel name.
|
|
249
|
+
*/
|
|
175
250
|
name: string;
|
|
176
|
-
/**
|
|
251
|
+
/**
|
|
252
|
+
* Define if the control panel type is available to order.
|
|
253
|
+
*/
|
|
177
254
|
available: boolean;
|
|
178
|
-
/**
|
|
255
|
+
/**
|
|
256
|
+
* URL of the control panel's logo.
|
|
257
|
+
*/
|
|
179
258
|
logoUrl: string;
|
|
180
|
-
/**
|
|
259
|
+
/**
|
|
260
|
+
* List of available languages for the control panel.
|
|
261
|
+
*/
|
|
181
262
|
availableLanguages: StdLanguageCode[];
|
|
182
263
|
}
|
|
183
264
|
export interface DatabaseUser {
|
|
184
|
-
/**
|
|
265
|
+
/**
|
|
266
|
+
* Name of the database user.
|
|
267
|
+
*/
|
|
185
268
|
username: string;
|
|
186
|
-
/**
|
|
269
|
+
/**
|
|
270
|
+
* List of databases accessible by the user.
|
|
271
|
+
*/
|
|
187
272
|
databases: string[];
|
|
188
273
|
}
|
|
189
274
|
export interface Database {
|
|
190
|
-
/**
|
|
275
|
+
/**
|
|
276
|
+
* Name of the database.
|
|
277
|
+
*/
|
|
191
278
|
databaseName: string;
|
|
192
|
-
/**
|
|
279
|
+
/**
|
|
280
|
+
* List of users who have access to the database.
|
|
281
|
+
*/
|
|
193
282
|
users: string[];
|
|
194
283
|
}
|
|
195
284
|
export interface FtpAccount {
|
|
196
|
-
/**
|
|
285
|
+
/**
|
|
286
|
+
* The username of the FTP account.
|
|
287
|
+
*/
|
|
197
288
|
username: string;
|
|
198
|
-
/**
|
|
289
|
+
/**
|
|
290
|
+
* The path associated with the FTP account.
|
|
291
|
+
*/
|
|
199
292
|
path: string;
|
|
200
293
|
}
|
|
201
294
|
export interface HostingSummary {
|
|
202
|
-
/**
|
|
295
|
+
/**
|
|
296
|
+
* ID of the Web Hosting plan.
|
|
297
|
+
*/
|
|
203
298
|
id: string;
|
|
204
|
-
/**
|
|
299
|
+
/**
|
|
300
|
+
* ID of the Scaleway Project the Web Hosting plan belongs to.
|
|
301
|
+
*/
|
|
205
302
|
projectId: string;
|
|
206
|
-
/**
|
|
303
|
+
/**
|
|
304
|
+
* Date on which the Web Hosting plan was created.
|
|
305
|
+
*/
|
|
207
306
|
createdAt?: Date;
|
|
208
|
-
/**
|
|
307
|
+
/**
|
|
308
|
+
* Date on which the Web Hosting plan was last updated.
|
|
309
|
+
*/
|
|
209
310
|
updatedAt?: Date;
|
|
210
|
-
/**
|
|
311
|
+
/**
|
|
312
|
+
* Status of the Web Hosting plan.
|
|
313
|
+
*/
|
|
211
314
|
status: HostingStatus;
|
|
212
|
-
/**
|
|
315
|
+
/**
|
|
316
|
+
* Main domain associated with the Web Hosting plan.
|
|
317
|
+
*/
|
|
213
318
|
domain: string;
|
|
214
|
-
/**
|
|
319
|
+
/**
|
|
320
|
+
* Whether the hosting is protected or not.
|
|
321
|
+
*/
|
|
215
322
|
protected: boolean;
|
|
216
|
-
/**
|
|
323
|
+
/**
|
|
324
|
+
* @deprecated DNS status of the Web Hosting plan.
|
|
325
|
+
*/
|
|
217
326
|
dnsStatus?: DnsRecordsStatus;
|
|
218
|
-
/**
|
|
327
|
+
/**
|
|
328
|
+
* Name of the active offer for the Web Hosting plan.
|
|
329
|
+
*/
|
|
219
330
|
offerName: string;
|
|
220
|
-
/**
|
|
331
|
+
/**
|
|
332
|
+
* Main domain status of the Web Hosting plan.
|
|
333
|
+
*/
|
|
221
334
|
domainStatus: DomainStatus;
|
|
222
|
-
/**
|
|
335
|
+
/**
|
|
336
|
+
* Region where the Web Hosting plan is hosted.
|
|
337
|
+
*/
|
|
223
338
|
region: ScwRegion;
|
|
224
339
|
}
|
|
225
340
|
export interface MailAccount {
|
|
226
|
-
/**
|
|
341
|
+
/**
|
|
342
|
+
* Domain part of the mail account address.
|
|
343
|
+
*/
|
|
227
344
|
domain: string;
|
|
228
|
-
/**
|
|
345
|
+
/**
|
|
346
|
+
* Username part address of the mail account address.
|
|
347
|
+
*/
|
|
229
348
|
username: string;
|
|
230
349
|
}
|
|
231
350
|
export interface Website {
|
|
232
|
-
/**
|
|
351
|
+
/**
|
|
352
|
+
* The domain of the website.
|
|
353
|
+
*/
|
|
233
354
|
domain: string;
|
|
234
|
-
/**
|
|
355
|
+
/**
|
|
356
|
+
* The directory path of the website.
|
|
357
|
+
*/
|
|
235
358
|
path: string;
|
|
236
|
-
/**
|
|
359
|
+
/**
|
|
360
|
+
* The SSL status of the website.
|
|
361
|
+
*/
|
|
237
362
|
sslStatus: boolean;
|
|
238
363
|
}
|
|
239
364
|
export interface DomainAvailability {
|
|
240
|
-
/**
|
|
365
|
+
/**
|
|
366
|
+
* Fully qualified domain name (FQDN).
|
|
367
|
+
*/
|
|
241
368
|
name: string;
|
|
242
|
-
/**
|
|
369
|
+
/**
|
|
370
|
+
* DNS zone associated with the domain.
|
|
371
|
+
*/
|
|
243
372
|
zoneName: string;
|
|
244
|
-
/**
|
|
373
|
+
/**
|
|
374
|
+
* Availability status of the domain.
|
|
375
|
+
*/
|
|
245
376
|
status: DomainAvailabilityStatus;
|
|
246
|
-
/**
|
|
377
|
+
/**
|
|
378
|
+
* A list of actions that can be performed on the domain.
|
|
379
|
+
*/
|
|
247
380
|
availableActions: DomainAvailabilityAction[];
|
|
248
|
-
/**
|
|
381
|
+
/**
|
|
382
|
+
* Whether a hosting can be created for this domain.
|
|
383
|
+
*/
|
|
249
384
|
canCreateHosting: boolean;
|
|
250
|
-
/**
|
|
385
|
+
/**
|
|
386
|
+
* Price for registering the domain.
|
|
387
|
+
*/
|
|
251
388
|
price?: Money;
|
|
252
389
|
}
|
|
253
390
|
export interface CheckUserOwnsDomainResponse {
|
|
254
|
-
/**
|
|
391
|
+
/**
|
|
392
|
+
* Indicates whether the specified project owns the domain.
|
|
393
|
+
*/
|
|
255
394
|
ownsDomain: boolean;
|
|
256
395
|
}
|
|
257
396
|
export type ControlPanelApiListControlPanelsRequest = {
|
|
258
397
|
/**
|
|
259
|
-
* Region to target. If none is passed will use default region from the
|
|
260
|
-
* config.
|
|
398
|
+
* Region to target. If none is passed will use default region from the config.
|
|
261
399
|
*/
|
|
262
400
|
region?: ScwRegion;
|
|
263
|
-
/**
|
|
401
|
+
/**
|
|
402
|
+
* Page number (must be a positive integer).
|
|
403
|
+
*/
|
|
264
404
|
page?: number;
|
|
265
405
|
/**
|
|
266
|
-
* Number of control panels to return (must be a positive integer lower or
|
|
267
|
-
* equal to 100).
|
|
406
|
+
* Number of control panels to return (must be a positive integer lower or equal to 100).
|
|
268
407
|
*/
|
|
269
408
|
pageSize?: number;
|
|
270
409
|
};
|
|
271
410
|
export type DatabaseApiAssignDatabaseUserRequest = {
|
|
272
411
|
/**
|
|
273
|
-
* Region to target. If none is passed will use default region from the
|
|
274
|
-
* config.
|
|
412
|
+
* Region to target. If none is passed will use default region from the config.
|
|
275
413
|
*/
|
|
276
414
|
region?: ScwRegion;
|
|
277
|
-
/**
|
|
415
|
+
/**
|
|
416
|
+
* UUID of the hosting plan.
|
|
417
|
+
*/
|
|
278
418
|
hostingId: string;
|
|
279
|
-
/**
|
|
419
|
+
/**
|
|
420
|
+
* Name of the database to be assigned.
|
|
421
|
+
*/
|
|
280
422
|
databaseName: string;
|
|
281
|
-
/**
|
|
423
|
+
/**
|
|
424
|
+
* Name of the user to assign.
|
|
425
|
+
*/
|
|
282
426
|
username: string;
|
|
283
427
|
};
|
|
284
428
|
export type DatabaseApiChangeDatabaseUserPasswordRequest = {
|
|
285
429
|
/**
|
|
286
|
-
* Region to target. If none is passed will use default region from the
|
|
287
|
-
* config.
|
|
430
|
+
* Region to target. If none is passed will use default region from the config.
|
|
288
431
|
*/
|
|
289
432
|
region?: ScwRegion;
|
|
290
|
-
/**
|
|
433
|
+
/**
|
|
434
|
+
* UUID of the hosting plan.
|
|
435
|
+
*/
|
|
291
436
|
hostingId: string;
|
|
292
|
-
/**
|
|
437
|
+
/**
|
|
438
|
+
* Name of the user to update.
|
|
439
|
+
*/
|
|
293
440
|
username: string;
|
|
294
|
-
/**
|
|
441
|
+
/**
|
|
442
|
+
* New password.
|
|
443
|
+
*/
|
|
295
444
|
password: string;
|
|
296
445
|
};
|
|
297
446
|
export type DatabaseApiCreateDatabaseRequest = {
|
|
298
447
|
/**
|
|
299
|
-
* Region to target. If none is passed will use default region from the
|
|
300
|
-
* config.
|
|
448
|
+
* Region to target. If none is passed will use default region from the config.
|
|
301
449
|
*/
|
|
302
450
|
region?: ScwRegion;
|
|
303
|
-
/**
|
|
451
|
+
/**
|
|
452
|
+
* UUID of the hosting plan where the database will be created.
|
|
453
|
+
*/
|
|
304
454
|
hostingId: string;
|
|
305
|
-
/**
|
|
455
|
+
/**
|
|
456
|
+
* Name of the database to be created.
|
|
457
|
+
*/
|
|
306
458
|
databaseName: string;
|
|
307
459
|
/**
|
|
308
460
|
* (Optional) Username and password to create a user and link to the database.
|
|
@@ -319,636 +471,833 @@ export type DatabaseApiCreateDatabaseRequest = {
|
|
|
319
471
|
};
|
|
320
472
|
export type DatabaseApiCreateDatabaseUserRequest = {
|
|
321
473
|
/**
|
|
322
|
-
* Region to target. If none is passed will use default region from the
|
|
323
|
-
* config.
|
|
474
|
+
* Region to target. If none is passed will use default region from the config.
|
|
324
475
|
*/
|
|
325
476
|
region?: ScwRegion;
|
|
326
|
-
/**
|
|
477
|
+
/**
|
|
478
|
+
* UUID of the hosting plan.
|
|
479
|
+
*/
|
|
327
480
|
hostingId: string;
|
|
328
|
-
/**
|
|
481
|
+
/**
|
|
482
|
+
* Name of the user to create.
|
|
483
|
+
*/
|
|
329
484
|
username: string;
|
|
330
|
-
/**
|
|
485
|
+
/**
|
|
486
|
+
* Password of the user to create.
|
|
487
|
+
*/
|
|
331
488
|
password: string;
|
|
332
489
|
};
|
|
333
490
|
export type DatabaseApiDeleteDatabaseRequest = {
|
|
334
491
|
/**
|
|
335
|
-
* Region to target. If none is passed will use default region from the
|
|
336
|
-
* config.
|
|
492
|
+
* Region to target. If none is passed will use default region from the config.
|
|
337
493
|
*/
|
|
338
494
|
region?: ScwRegion;
|
|
339
|
-
/**
|
|
495
|
+
/**
|
|
496
|
+
* UUID of the hosting plan.
|
|
497
|
+
*/
|
|
340
498
|
hostingId: string;
|
|
341
|
-
/**
|
|
499
|
+
/**
|
|
500
|
+
* Name of the database to delete.
|
|
501
|
+
*/
|
|
342
502
|
databaseName: string;
|
|
343
503
|
};
|
|
344
504
|
export type DatabaseApiDeleteDatabaseUserRequest = {
|
|
345
505
|
/**
|
|
346
|
-
* Region to target. If none is passed will use default region from the
|
|
347
|
-
* config.
|
|
506
|
+
* Region to target. If none is passed will use default region from the config.
|
|
348
507
|
*/
|
|
349
508
|
region?: ScwRegion;
|
|
350
|
-
/**
|
|
509
|
+
/**
|
|
510
|
+
* UUID of the hosting plan.
|
|
511
|
+
*/
|
|
351
512
|
hostingId: string;
|
|
352
|
-
/**
|
|
513
|
+
/**
|
|
514
|
+
* Name of the database user to delete.
|
|
515
|
+
*/
|
|
353
516
|
username: string;
|
|
354
517
|
};
|
|
355
518
|
export type DatabaseApiGetDatabaseRequest = {
|
|
356
519
|
/**
|
|
357
|
-
* Region to target. If none is passed will use default region from the
|
|
358
|
-
* config.
|
|
520
|
+
* Region to target. If none is passed will use default region from the config.
|
|
359
521
|
*/
|
|
360
522
|
region?: ScwRegion;
|
|
361
|
-
/**
|
|
523
|
+
/**
|
|
524
|
+
* UUID of the hosting plan.
|
|
525
|
+
*/
|
|
362
526
|
hostingId: string;
|
|
363
|
-
/**
|
|
527
|
+
/**
|
|
528
|
+
* Name of the database.
|
|
529
|
+
*/
|
|
364
530
|
databaseName: string;
|
|
365
531
|
};
|
|
366
532
|
export type DatabaseApiGetDatabaseUserRequest = {
|
|
367
533
|
/**
|
|
368
|
-
* Region to target. If none is passed will use default region from the
|
|
369
|
-
* config.
|
|
534
|
+
* Region to target. If none is passed will use default region from the config.
|
|
370
535
|
*/
|
|
371
536
|
region?: ScwRegion;
|
|
372
|
-
/**
|
|
537
|
+
/**
|
|
538
|
+
* UUID of the hosting plan.
|
|
539
|
+
*/
|
|
373
540
|
hostingId: string;
|
|
374
|
-
/**
|
|
541
|
+
/**
|
|
542
|
+
* Name of the database user to retrieve details.
|
|
543
|
+
*/
|
|
375
544
|
username: string;
|
|
376
545
|
};
|
|
377
546
|
export type DatabaseApiListDatabaseUsersRequest = {
|
|
378
547
|
/**
|
|
379
|
-
* Region to target. If none is passed will use default region from the
|
|
380
|
-
* config.
|
|
548
|
+
* Region to target. If none is passed will use default region from the config.
|
|
381
549
|
*/
|
|
382
550
|
region?: ScwRegion;
|
|
383
|
-
/**
|
|
551
|
+
/**
|
|
552
|
+
* UUID of the hosting plan.
|
|
553
|
+
*/
|
|
384
554
|
hostingId: string;
|
|
385
|
-
/**
|
|
555
|
+
/**
|
|
556
|
+
* Page number (must be a positive integer).
|
|
557
|
+
*/
|
|
386
558
|
page?: number;
|
|
387
559
|
/**
|
|
388
|
-
* Number of database users to return (must be a positive integer lower or
|
|
389
|
-
* equal to 100).
|
|
560
|
+
* Number of database users to return (must be a positive integer lower or equal to 100).
|
|
390
561
|
*/
|
|
391
562
|
pageSize?: number;
|
|
392
|
-
/**
|
|
563
|
+
/**
|
|
564
|
+
* Sort order of database users in the response.
|
|
565
|
+
*/
|
|
393
566
|
orderBy?: ListDatabaseUsersRequestOrderBy;
|
|
394
567
|
};
|
|
395
568
|
export type DatabaseApiListDatabasesRequest = {
|
|
396
569
|
/**
|
|
397
|
-
* Region to target. If none is passed will use default region from the
|
|
398
|
-
* config.
|
|
570
|
+
* Region to target. If none is passed will use default region from the config.
|
|
399
571
|
*/
|
|
400
572
|
region?: ScwRegion;
|
|
401
|
-
/**
|
|
573
|
+
/**
|
|
574
|
+
* UUID of the hosting plan.
|
|
575
|
+
*/
|
|
402
576
|
hostingId: string;
|
|
403
|
-
/**
|
|
577
|
+
/**
|
|
578
|
+
* Page number (must be a positive integer).
|
|
579
|
+
*/
|
|
404
580
|
page?: number;
|
|
405
581
|
/**
|
|
406
|
-
* Number of databases to return (must be a positive integer lower or equal to
|
|
407
|
-
* 100).
|
|
582
|
+
* Number of databases to return (must be a positive integer lower or equal to 100).
|
|
408
583
|
*/
|
|
409
584
|
pageSize?: number;
|
|
410
|
-
/**
|
|
585
|
+
/**
|
|
586
|
+
* Sort order of databases in the response.
|
|
587
|
+
*/
|
|
411
588
|
orderBy?: ListDatabasesRequestOrderBy;
|
|
412
589
|
};
|
|
413
590
|
export type DatabaseApiUnassignDatabaseUserRequest = {
|
|
414
591
|
/**
|
|
415
|
-
* Region to target. If none is passed will use default region from the
|
|
416
|
-
* config.
|
|
592
|
+
* Region to target. If none is passed will use default region from the config.
|
|
417
593
|
*/
|
|
418
594
|
region?: ScwRegion;
|
|
419
|
-
/**
|
|
595
|
+
/**
|
|
596
|
+
* UUID of the hosting plan.
|
|
597
|
+
*/
|
|
420
598
|
hostingId: string;
|
|
421
|
-
/**
|
|
599
|
+
/**
|
|
600
|
+
* Name of the database to be unassigned.
|
|
601
|
+
*/
|
|
422
602
|
databaseName: string;
|
|
423
|
-
/**
|
|
603
|
+
/**
|
|
604
|
+
* Name of the user to unassign.
|
|
605
|
+
*/
|
|
424
606
|
username: string;
|
|
425
607
|
};
|
|
426
608
|
export type DnsApiCheckUserOwnsDomainRequest = {
|
|
427
609
|
/**
|
|
428
|
-
* Region to target. If none is passed will use default region from the
|
|
429
|
-
* config.
|
|
610
|
+
* Region to target. If none is passed will use default region from the config.
|
|
430
611
|
*/
|
|
431
612
|
region?: ScwRegion;
|
|
432
|
-
/**
|
|
613
|
+
/**
|
|
614
|
+
* Domain for which ownership is to be verified.
|
|
615
|
+
*/
|
|
433
616
|
domain: string;
|
|
434
|
-
/**
|
|
617
|
+
/**
|
|
618
|
+
* ID of the project currently in use.
|
|
619
|
+
*/
|
|
435
620
|
projectId?: string;
|
|
436
621
|
};
|
|
437
622
|
export type DnsApiGetDomainDnsRecordsRequest = {
|
|
438
623
|
/**
|
|
439
|
-
* Region to target. If none is passed will use default region from the
|
|
440
|
-
* config.
|
|
624
|
+
* Region to target. If none is passed will use default region from the config.
|
|
441
625
|
*/
|
|
442
626
|
region?: ScwRegion;
|
|
443
|
-
/**
|
|
627
|
+
/**
|
|
628
|
+
* Domain associated with the DNS records.
|
|
629
|
+
*/
|
|
444
630
|
domain: string;
|
|
445
631
|
};
|
|
446
632
|
export type DnsApiGetDomainRequest = {
|
|
447
633
|
/**
|
|
448
|
-
* Region to target. If none is passed will use default region from the
|
|
449
|
-
* config.
|
|
634
|
+
* Region to target. If none is passed will use default region from the config.
|
|
450
635
|
*/
|
|
451
636
|
region?: ScwRegion;
|
|
452
|
-
/**
|
|
637
|
+
/**
|
|
638
|
+
* Domain name to get.
|
|
639
|
+
*/
|
|
453
640
|
domainName: string;
|
|
454
641
|
/**
|
|
455
|
-
* ID of the Scaleway Project in which to get the domain to create the Web
|
|
456
|
-
* Hosting plan.
|
|
642
|
+
* ID of the Scaleway Project in which to get the domain to create the Web Hosting plan.
|
|
457
643
|
*/
|
|
458
644
|
projectId?: string;
|
|
459
645
|
};
|
|
460
646
|
export type DnsApiSearchDomainsRequest = {
|
|
461
647
|
/**
|
|
462
|
-
* Region to target. If none is passed will use default region from the
|
|
463
|
-
* config.
|
|
648
|
+
* Region to target. If none is passed will use default region from the config.
|
|
464
649
|
*/
|
|
465
650
|
region?: ScwRegion;
|
|
466
|
-
/**
|
|
651
|
+
/**
|
|
652
|
+
* Domain name to search.
|
|
653
|
+
*/
|
|
467
654
|
domainName: string;
|
|
468
655
|
/**
|
|
469
|
-
* ID of the Scaleway Project in which to search the domain to create the Web
|
|
470
|
-
* Hosting plan.
|
|
656
|
+
* ID of the Scaleway Project in which to search the domain to create the Web Hosting plan.
|
|
471
657
|
*/
|
|
472
658
|
projectId?: string;
|
|
473
659
|
};
|
|
474
660
|
export type DnsApiSyncDomainDnsRecordsRequest = {
|
|
475
661
|
/**
|
|
476
|
-
* Region to target. If none is passed will use default region from the
|
|
477
|
-
* config.
|
|
662
|
+
* Region to target. If none is passed will use default region from the config.
|
|
478
663
|
*/
|
|
479
664
|
region?: ScwRegion;
|
|
480
|
-
/**
|
|
665
|
+
/**
|
|
666
|
+
* Domain for which the DNS records will be synchronized.
|
|
667
|
+
*/
|
|
481
668
|
domain: string;
|
|
482
669
|
/**
|
|
483
|
-
* @deprecated Whether or not to synchronize the web records (deprecated, use
|
|
484
|
-
* auto_config_domain_dns).
|
|
670
|
+
* @deprecated Whether or not to synchronize the web records (deprecated, use auto_config_domain_dns).
|
|
485
671
|
*/
|
|
486
672
|
updateWebRecords?: boolean;
|
|
487
673
|
/**
|
|
488
|
-
* @deprecated Whether or not to synchronize the mail records (deprecated, use
|
|
489
|
-
* auto_config_domain_dns).
|
|
674
|
+
* @deprecated Whether or not to synchronize the mail records (deprecated, use auto_config_domain_dns).
|
|
490
675
|
*/
|
|
491
676
|
updateMailRecords?: boolean;
|
|
492
677
|
/**
|
|
493
|
-
* @deprecated Whether or not to synchronize all types of records. This one
|
|
494
|
-
* has priority (deprecated, use auto_config_domain_dns).
|
|
678
|
+
* @deprecated Whether or not to synchronize all types of records. This one has priority (deprecated, use auto_config_domain_dns).
|
|
495
679
|
*/
|
|
496
680
|
updateAllRecords?: boolean;
|
|
497
681
|
/**
|
|
498
|
-
* @deprecated Whether or not to synchronize domain nameservers (deprecated,
|
|
499
|
-
* use auto_config_domain_dns).
|
|
682
|
+
* @deprecated Whether or not to synchronize domain nameservers (deprecated, use auto_config_domain_dns).
|
|
500
683
|
*/
|
|
501
684
|
updateNameservers?: boolean;
|
|
502
|
-
/**
|
|
685
|
+
/**
|
|
686
|
+
* @deprecated Custom records to synchronize.
|
|
687
|
+
*/
|
|
503
688
|
customRecords?: SyncDomainDnsRecordsRequestRecord[];
|
|
504
|
-
/**
|
|
689
|
+
/**
|
|
690
|
+
* Whether or not to synchronize each types of records.
|
|
691
|
+
*/
|
|
505
692
|
autoConfigDomainDns?: AutoConfigDomainDns;
|
|
506
693
|
};
|
|
507
694
|
export interface DnsRecords {
|
|
508
|
-
/**
|
|
695
|
+
/**
|
|
696
|
+
* List of DNS records.
|
|
697
|
+
*/
|
|
509
698
|
records: DnsRecord[];
|
|
510
|
-
/**
|
|
699
|
+
/**
|
|
700
|
+
* List of nameservers.
|
|
701
|
+
*/
|
|
511
702
|
nameServers: Nameserver[];
|
|
512
|
-
/**
|
|
703
|
+
/**
|
|
704
|
+
* Status of the records.
|
|
705
|
+
*/
|
|
513
706
|
status: DnsRecordsStatus;
|
|
514
707
|
/**
|
|
515
|
-
* @deprecated Records dns auto configuration settings (deprecated, use
|
|
516
|
-
* auto_config_domain_dns).
|
|
708
|
+
* @deprecated Records dns auto configuration settings (deprecated, use auto_config_domain_dns).
|
|
517
709
|
*/
|
|
518
710
|
dnsConfig?: DomainDnsAction[];
|
|
519
|
-
/**
|
|
711
|
+
/**
|
|
712
|
+
* Whether or not to synchronize each types of records.
|
|
713
|
+
*/
|
|
520
714
|
autoConfigDomainDns?: AutoConfigDomainDns;
|
|
521
715
|
}
|
|
522
716
|
export interface Domain {
|
|
523
|
-
/**
|
|
717
|
+
/**
|
|
718
|
+
* Name of the domain.
|
|
719
|
+
*/
|
|
524
720
|
name: string;
|
|
525
|
-
/**
|
|
721
|
+
/**
|
|
722
|
+
* Current status of the domain.
|
|
723
|
+
*/
|
|
526
724
|
status: DomainStatus;
|
|
527
|
-
/**
|
|
725
|
+
/**
|
|
726
|
+
* Zone owner of the domain.
|
|
727
|
+
*/
|
|
528
728
|
owner: DomainZoneOwner;
|
|
529
|
-
/**
|
|
729
|
+
/**
|
|
730
|
+
* A list of actions that can be performed on the domain.
|
|
731
|
+
*/
|
|
530
732
|
availableActions: DomainAction[];
|
|
531
733
|
/**
|
|
532
|
-
* @deprecated A list of DNS-related actions that can be auto configured for
|
|
533
|
-
* the domain (deprecated, use auto_config_domain_dns instead).
|
|
734
|
+
* @deprecated A list of DNS-related actions that can be auto configured for the domain (deprecated, use auto_config_domain_dns instead).
|
|
534
735
|
*/
|
|
535
736
|
availableDnsActions?: DomainDnsAction[];
|
|
536
|
-
/**
|
|
737
|
+
/**
|
|
738
|
+
* Whether or not to synchronize each type of record.
|
|
739
|
+
*/
|
|
537
740
|
autoConfigDomainDns?: AutoConfigDomainDns;
|
|
538
741
|
}
|
|
539
742
|
export type FtpAccountApiChangeFtpAccountPasswordRequest = {
|
|
540
743
|
/**
|
|
541
|
-
* Region to target. If none is passed will use default region from the
|
|
542
|
-
* config.
|
|
744
|
+
* Region to target. If none is passed will use default region from the config.
|
|
543
745
|
*/
|
|
544
746
|
region?: ScwRegion;
|
|
545
|
-
/**
|
|
747
|
+
/**
|
|
748
|
+
* UUID of the hosting plan.
|
|
749
|
+
*/
|
|
546
750
|
hostingId: string;
|
|
547
|
-
/**
|
|
751
|
+
/**
|
|
752
|
+
* Username of the FTP account.
|
|
753
|
+
*/
|
|
548
754
|
username: string;
|
|
549
|
-
/**
|
|
755
|
+
/**
|
|
756
|
+
* New password for the FTP account.
|
|
757
|
+
*/
|
|
550
758
|
password: string;
|
|
551
759
|
};
|
|
552
760
|
export type FtpAccountApiCreateFtpAccountRequest = {
|
|
553
761
|
/**
|
|
554
|
-
* Region to target. If none is passed will use default region from the
|
|
555
|
-
* config.
|
|
762
|
+
* Region to target. If none is passed will use default region from the config.
|
|
556
763
|
*/
|
|
557
764
|
region?: ScwRegion;
|
|
558
|
-
/**
|
|
765
|
+
/**
|
|
766
|
+
* UUID of the hosting plan.
|
|
767
|
+
*/
|
|
559
768
|
hostingId: string;
|
|
560
|
-
/**
|
|
769
|
+
/**
|
|
770
|
+
* Username for the new FTP account.
|
|
771
|
+
*/
|
|
561
772
|
username: string;
|
|
562
|
-
/**
|
|
773
|
+
/**
|
|
774
|
+
* Path for the new FTP account.
|
|
775
|
+
*/
|
|
563
776
|
path: string;
|
|
564
|
-
/**
|
|
777
|
+
/**
|
|
778
|
+
* Password for the new FTP account.
|
|
779
|
+
*/
|
|
565
780
|
password: string;
|
|
566
781
|
};
|
|
567
782
|
export type FtpAccountApiListFtpAccountsRequest = {
|
|
568
783
|
/**
|
|
569
|
-
* Region to target. If none is passed will use default region from the
|
|
570
|
-
* config.
|
|
784
|
+
* Region to target. If none is passed will use default region from the config.
|
|
571
785
|
*/
|
|
572
786
|
region?: ScwRegion;
|
|
573
|
-
/**
|
|
787
|
+
/**
|
|
788
|
+
* UUID of the hosting plan.
|
|
789
|
+
*/
|
|
574
790
|
hostingId: string;
|
|
575
|
-
/**
|
|
791
|
+
/**
|
|
792
|
+
* Page number (must be a positive integer).
|
|
793
|
+
*/
|
|
576
794
|
page?: number;
|
|
577
795
|
/**
|
|
578
|
-
* Number of FTP accounts to return (must be a positive integer lower or equal
|
|
579
|
-
* to 100).
|
|
796
|
+
* Number of FTP accounts to return (must be a positive integer lower or equal to 100).
|
|
580
797
|
*/
|
|
581
798
|
pageSize?: number;
|
|
582
|
-
/**
|
|
799
|
+
/**
|
|
800
|
+
* Sort order of FTP accounts in the response.
|
|
801
|
+
*/
|
|
583
802
|
orderBy?: ListFtpAccountsRequestOrderBy;
|
|
584
|
-
/**
|
|
803
|
+
/**
|
|
804
|
+
* Domain to filter the FTP accounts.
|
|
805
|
+
*/
|
|
585
806
|
domain?: string;
|
|
586
807
|
};
|
|
587
808
|
export type FtpAccountApiRemoveFtpAccountRequest = {
|
|
588
809
|
/**
|
|
589
|
-
* Region to target. If none is passed will use default region from the
|
|
590
|
-
* config.
|
|
810
|
+
* Region to target. If none is passed will use default region from the config.
|
|
591
811
|
*/
|
|
592
812
|
region?: ScwRegion;
|
|
593
|
-
/**
|
|
813
|
+
/**
|
|
814
|
+
* UUID of the hosting plan.
|
|
815
|
+
*/
|
|
594
816
|
hostingId: string;
|
|
595
|
-
/**
|
|
817
|
+
/**
|
|
818
|
+
* Username of the FTP account to be deleted.
|
|
819
|
+
*/
|
|
596
820
|
username: string;
|
|
597
821
|
};
|
|
598
822
|
export interface Hosting {
|
|
599
|
-
/**
|
|
823
|
+
/**
|
|
824
|
+
* ID of the Web Hosting plan.
|
|
825
|
+
*/
|
|
600
826
|
id: string;
|
|
601
|
-
/**
|
|
827
|
+
/**
|
|
828
|
+
* ID of the Scaleway Project the Web Hosting plan belongs to.
|
|
829
|
+
*/
|
|
602
830
|
projectId: string;
|
|
603
|
-
/**
|
|
831
|
+
/**
|
|
832
|
+
* Date on which the Web Hosting plan was last updated.
|
|
833
|
+
*/
|
|
604
834
|
updatedAt?: Date;
|
|
605
|
-
/**
|
|
835
|
+
/**
|
|
836
|
+
* Date on which the Web Hosting plan was created.
|
|
837
|
+
*/
|
|
606
838
|
createdAt?: Date;
|
|
607
|
-
/**
|
|
839
|
+
/**
|
|
840
|
+
* Status of the Web Hosting plan.
|
|
841
|
+
*/
|
|
608
842
|
status: HostingStatus;
|
|
609
|
-
/**
|
|
843
|
+
/**
|
|
844
|
+
* Main domain associated with the Web Hosting plan.
|
|
845
|
+
*/
|
|
610
846
|
domain: string;
|
|
611
|
-
/**
|
|
847
|
+
/**
|
|
848
|
+
* Details of the Web Hosting plan offer and options.
|
|
849
|
+
*/
|
|
612
850
|
offer?: Offer;
|
|
613
|
-
/**
|
|
851
|
+
/**
|
|
852
|
+
* Details of the hosting platform.
|
|
853
|
+
*/
|
|
614
854
|
platform?: Platform;
|
|
615
|
-
/**
|
|
855
|
+
/**
|
|
856
|
+
* List of tags associated with the Web Hosting plan.
|
|
857
|
+
*/
|
|
616
858
|
tags: string[];
|
|
617
|
-
/**
|
|
859
|
+
/**
|
|
860
|
+
* @deprecated DNS status of the Web Hosting plan.
|
|
861
|
+
*/
|
|
618
862
|
dnsStatus?: DnsRecordsStatus;
|
|
619
|
-
/**
|
|
863
|
+
/**
|
|
864
|
+
* Current IPv4 address of the hosting.
|
|
865
|
+
*/
|
|
620
866
|
ipv4: string;
|
|
621
|
-
/**
|
|
867
|
+
/**
|
|
868
|
+
* Whether the hosting is protected or not.
|
|
869
|
+
*/
|
|
622
870
|
protected: boolean;
|
|
623
|
-
/**
|
|
871
|
+
/**
|
|
872
|
+
* Details of the hosting user.
|
|
873
|
+
*/
|
|
624
874
|
user?: HostingUser;
|
|
625
|
-
/**
|
|
875
|
+
/**
|
|
876
|
+
* Main domain status of the Web Hosting plan.
|
|
877
|
+
*/
|
|
626
878
|
domainStatus: DomainStatus;
|
|
627
|
-
/**
|
|
879
|
+
/**
|
|
880
|
+
* Region where the Web Hosting plan is hosted.
|
|
881
|
+
*/
|
|
628
882
|
region: ScwRegion;
|
|
629
883
|
}
|
|
630
884
|
export type HostingApiCreateHostingRequest = {
|
|
631
885
|
/**
|
|
632
|
-
* Region to target. If none is passed will use default region from the
|
|
633
|
-
* config.
|
|
886
|
+
* Region to target. If none is passed will use default region from the config.
|
|
634
887
|
*/
|
|
635
888
|
region?: ScwRegion;
|
|
636
|
-
/**
|
|
889
|
+
/**
|
|
890
|
+
* ID of the selected offer for the Web Hosting plan.
|
|
891
|
+
*/
|
|
637
892
|
offerId: string;
|
|
638
|
-
/**
|
|
893
|
+
/**
|
|
894
|
+
* ID of the Scaleway Project in which to create the Web Hosting plan.
|
|
895
|
+
*/
|
|
639
896
|
projectId?: string;
|
|
640
|
-
/**
|
|
897
|
+
/**
|
|
898
|
+
* Contact email for the Web Hosting client.
|
|
899
|
+
*/
|
|
641
900
|
email: string;
|
|
642
|
-
/**
|
|
901
|
+
/**
|
|
902
|
+
* List of tags for the Web Hosting plan.
|
|
903
|
+
*/
|
|
643
904
|
tags?: string[];
|
|
644
905
|
/**
|
|
645
|
-
* Domain name to link to the Web Hosting plan. You must already own this
|
|
646
|
-
* domain name, and have completed the DNS validation process beforehand.
|
|
906
|
+
* Domain name to link to the Web Hosting plan. You must already own this domain name, and have completed the DNS validation process beforehand.
|
|
647
907
|
*/
|
|
648
908
|
domain: string;
|
|
649
|
-
/**
|
|
909
|
+
/**
|
|
910
|
+
* List of the Web Hosting plan options IDs with their quantities.
|
|
911
|
+
*/
|
|
650
912
|
offerOptions?: OfferOptionRequest[];
|
|
651
|
-
/**
|
|
913
|
+
/**
|
|
914
|
+
* Default language for the control panel interface.
|
|
915
|
+
*/
|
|
652
916
|
language?: StdLanguageCode;
|
|
653
917
|
/**
|
|
654
|
-
* @deprecated Indicates whether to update hosting domain name servers and DNS
|
|
655
|
-
* records for domains managed by Scaleway Elements (deprecated, use
|
|
656
|
-
* auto_config_domain_dns instead).
|
|
918
|
+
* @deprecated Indicates whether to update hosting domain name servers and DNS records for domains managed by Scaleway Elements (deprecated, use auto_config_domain_dns instead).
|
|
657
919
|
*/
|
|
658
920
|
domainConfiguration?: CreateHostingRequestDomainConfiguration;
|
|
659
921
|
/**
|
|
660
|
-
* Indicates whether to skip a welcome email to the contact email containing
|
|
661
|
-
* hosting info.
|
|
922
|
+
* Indicates whether to skip a welcome email to the contact email containing hosting info.
|
|
662
923
|
*/
|
|
663
924
|
skipWelcomeEmail?: boolean;
|
|
664
925
|
/**
|
|
665
|
-
* Indicates whether to update hosting domain name servers and DNS records for
|
|
666
|
-
* domains managed by Scaleway Elements (deprecated, use auto_update_* fields
|
|
667
|
-
* instead).
|
|
926
|
+
* Indicates whether to update hosting domain name servers and DNS records for domains managed by Scaleway Elements (deprecated, use auto_update_* fields instead).
|
|
668
927
|
*/
|
|
669
928
|
autoConfigDomainDns?: AutoConfigDomainDns;
|
|
670
929
|
};
|
|
671
930
|
export type HostingApiCreateSessionRequest = {
|
|
672
931
|
/**
|
|
673
|
-
* Region to target. If none is passed will use default region from the
|
|
674
|
-
* config.
|
|
932
|
+
* Region to target. If none is passed will use default region from the config.
|
|
675
933
|
*/
|
|
676
934
|
region?: ScwRegion;
|
|
677
|
-
/**
|
|
935
|
+
/**
|
|
936
|
+
* Hosting ID.
|
|
937
|
+
*/
|
|
678
938
|
hostingId: string;
|
|
679
939
|
};
|
|
680
940
|
export type HostingApiDeleteHostingRequest = {
|
|
681
941
|
/**
|
|
682
|
-
* Region to target. If none is passed will use default region from the
|
|
683
|
-
* config.
|
|
942
|
+
* Region to target. If none is passed will use default region from the config.
|
|
684
943
|
*/
|
|
685
944
|
region?: ScwRegion;
|
|
686
|
-
/**
|
|
945
|
+
/**
|
|
946
|
+
* Hosting ID.
|
|
947
|
+
*/
|
|
687
948
|
hostingId: string;
|
|
688
949
|
};
|
|
689
950
|
export type HostingApiGetHostingRequest = {
|
|
690
951
|
/**
|
|
691
|
-
* Region to target. If none is passed will use default region from the
|
|
692
|
-
* config.
|
|
952
|
+
* Region to target. If none is passed will use default region from the config.
|
|
693
953
|
*/
|
|
694
954
|
region?: ScwRegion;
|
|
695
|
-
/**
|
|
955
|
+
/**
|
|
956
|
+
* Hosting ID.
|
|
957
|
+
*/
|
|
696
958
|
hostingId: string;
|
|
697
959
|
};
|
|
698
960
|
export type HostingApiGetResourceSummaryRequest = {
|
|
699
961
|
/**
|
|
700
|
-
* Region to target. If none is passed will use default region from the
|
|
701
|
-
* config.
|
|
962
|
+
* Region to target. If none is passed will use default region from the config.
|
|
702
963
|
*/
|
|
703
964
|
region?: ScwRegion;
|
|
704
|
-
/**
|
|
965
|
+
/**
|
|
966
|
+
* Hosting ID.
|
|
967
|
+
*/
|
|
705
968
|
hostingId: string;
|
|
706
969
|
};
|
|
707
970
|
export type HostingApiListHostingsRequest = {
|
|
708
971
|
/**
|
|
709
|
-
* Region to target. If none is passed will use default region from the
|
|
710
|
-
* config.
|
|
972
|
+
* Region to target. If none is passed will use default region from the config.
|
|
711
973
|
*/
|
|
712
974
|
region?: ScwRegion;
|
|
713
975
|
/**
|
|
714
|
-
* Page number to return, from the paginated results (must be a positive
|
|
715
|
-
* integer).
|
|
976
|
+
* Page number to return, from the paginated results (must be a positive integer).
|
|
716
977
|
*/
|
|
717
978
|
page?: number;
|
|
718
979
|
/**
|
|
719
|
-
* Number of Web Hosting plans to return (must be a positive integer lower or
|
|
720
|
-
* equal to 100).
|
|
980
|
+
* Number of Web Hosting plans to return (must be a positive integer lower or equal to 100).
|
|
721
981
|
*/
|
|
722
982
|
pageSize?: number;
|
|
723
|
-
/**
|
|
983
|
+
/**
|
|
984
|
+
* Sort order for Web Hosting plans in the response.
|
|
985
|
+
*/
|
|
724
986
|
orderBy?: ListHostingsRequestOrderBy;
|
|
725
987
|
/**
|
|
726
|
-
* Tags to filter for, only Web Hosting plans with matching tags will be
|
|
727
|
-
* returned.
|
|
988
|
+
* Tags to filter for, only Web Hosting plans with matching tags will be returned.
|
|
728
989
|
*/
|
|
729
990
|
tags?: string[];
|
|
730
991
|
/**
|
|
731
|
-
* Statuses to filter for, only Web Hosting plans with matching statuses will
|
|
732
|
-
* be returned.
|
|
992
|
+
* Statuses to filter for, only Web Hosting plans with matching statuses will be returned.
|
|
733
993
|
*/
|
|
734
994
|
statuses?: HostingStatus[];
|
|
735
995
|
/**
|
|
736
|
-
* Domain to filter for, only Web Hosting plans associated with this domain
|
|
737
|
-
* will be returned.
|
|
996
|
+
* Domain to filter for, only Web Hosting plans associated with this domain will be returned.
|
|
738
997
|
*/
|
|
739
998
|
domain?: string;
|
|
740
999
|
/**
|
|
741
|
-
* Project ID to filter for, only Web Hosting plans from this Project will be
|
|
742
|
-
* returned.
|
|
1000
|
+
* Project ID to filter for, only Web Hosting plans from this Project will be returned.
|
|
743
1001
|
*/
|
|
744
1002
|
projectId?: string;
|
|
745
1003
|
/**
|
|
746
|
-
* Organization ID to filter for, only Web Hosting plans from this
|
|
747
|
-
* Organization will be returned.
|
|
1004
|
+
* Organization ID to filter for, only Web Hosting plans from this Organization will be returned.
|
|
748
1005
|
*/
|
|
749
1006
|
organizationId?: string;
|
|
750
1007
|
/**
|
|
751
|
-
* Name of the control panel to filter for, only Web Hosting plans from this
|
|
752
|
-
* control panel will be returned.
|
|
1008
|
+
* Name of the control panel to filter for, only Web Hosting plans from this control panel will be returned.
|
|
753
1009
|
*/
|
|
754
1010
|
controlPanels?: string[];
|
|
755
1011
|
};
|
|
756
1012
|
export type HostingApiResetHostingPasswordRequest = {
|
|
757
1013
|
/**
|
|
758
|
-
* Region to target. If none is passed will use default region from the
|
|
759
|
-
* config.
|
|
1014
|
+
* Region to target. If none is passed will use default region from the config.
|
|
760
1015
|
*/
|
|
761
1016
|
region?: ScwRegion;
|
|
762
|
-
/**
|
|
1017
|
+
/**
|
|
1018
|
+
* UUID of the hosting.
|
|
1019
|
+
*/
|
|
763
1020
|
hostingId: string;
|
|
764
1021
|
};
|
|
765
1022
|
export type HostingApiUpdateHostingRequest = {
|
|
766
1023
|
/**
|
|
767
|
-
* Region to target. If none is passed will use default region from the
|
|
768
|
-
* config.
|
|
1024
|
+
* Region to target. If none is passed will use default region from the config.
|
|
769
1025
|
*/
|
|
770
1026
|
region?: ScwRegion;
|
|
771
|
-
/**
|
|
1027
|
+
/**
|
|
1028
|
+
* Hosting ID.
|
|
1029
|
+
*/
|
|
772
1030
|
hostingId: string;
|
|
773
|
-
/**
|
|
1031
|
+
/**
|
|
1032
|
+
* New contact email for the Web Hosting plan.
|
|
1033
|
+
*/
|
|
774
1034
|
email?: string;
|
|
775
|
-
/**
|
|
1035
|
+
/**
|
|
1036
|
+
* New tags for the Web Hosting plan.
|
|
1037
|
+
*/
|
|
776
1038
|
tags?: string[];
|
|
777
|
-
/**
|
|
1039
|
+
/**
|
|
1040
|
+
* List of the Web Hosting plan options IDs with their quantities.
|
|
1041
|
+
*/
|
|
778
1042
|
offerOptions?: OfferOptionRequest[];
|
|
779
|
-
/**
|
|
1043
|
+
/**
|
|
1044
|
+
* ID of the new offer for the Web Hosting plan.
|
|
1045
|
+
*/
|
|
780
1046
|
offerId?: string;
|
|
781
|
-
/**
|
|
1047
|
+
/**
|
|
1048
|
+
* Whether the hosting is protected or not.
|
|
1049
|
+
*/
|
|
782
1050
|
protected?: boolean;
|
|
783
1051
|
};
|
|
784
1052
|
export interface ListControlPanelsResponse {
|
|
785
|
-
/**
|
|
1053
|
+
/**
|
|
1054
|
+
* Number of control panels returned.
|
|
1055
|
+
*/
|
|
786
1056
|
totalCount: number;
|
|
787
|
-
/**
|
|
1057
|
+
/**
|
|
1058
|
+
* List of control panels.
|
|
1059
|
+
*/
|
|
788
1060
|
controlPanels: ControlPanel[];
|
|
789
1061
|
}
|
|
790
1062
|
export interface ListDatabaseUsersResponse {
|
|
791
|
-
/**
|
|
1063
|
+
/**
|
|
1064
|
+
* Total number of database users.
|
|
1065
|
+
*/
|
|
792
1066
|
totalCount: number;
|
|
793
|
-
/**
|
|
1067
|
+
/**
|
|
1068
|
+
* List of database users.
|
|
1069
|
+
*/
|
|
794
1070
|
users: DatabaseUser[];
|
|
795
1071
|
}
|
|
796
1072
|
export interface ListDatabasesResponse {
|
|
797
|
-
/**
|
|
1073
|
+
/**
|
|
1074
|
+
* Total number of databases.
|
|
1075
|
+
*/
|
|
798
1076
|
totalCount: number;
|
|
799
|
-
/**
|
|
1077
|
+
/**
|
|
1078
|
+
* List of databases.
|
|
1079
|
+
*/
|
|
800
1080
|
databases: Database[];
|
|
801
1081
|
}
|
|
802
1082
|
export interface ListFtpAccountsResponse {
|
|
803
|
-
/**
|
|
1083
|
+
/**
|
|
1084
|
+
* Total number of FTP accounts.
|
|
1085
|
+
*/
|
|
804
1086
|
totalCount: number;
|
|
805
|
-
/**
|
|
1087
|
+
/**
|
|
1088
|
+
* List of FTP accounts.
|
|
1089
|
+
*/
|
|
806
1090
|
ftpAccounts: FtpAccount[];
|
|
807
1091
|
}
|
|
808
1092
|
export interface ListHostingsResponse {
|
|
809
|
-
/**
|
|
1093
|
+
/**
|
|
1094
|
+
* Number of Web Hosting plans returned.
|
|
1095
|
+
*/
|
|
810
1096
|
totalCount: number;
|
|
811
|
-
/**
|
|
1097
|
+
/**
|
|
1098
|
+
* List of Web Hosting plans.
|
|
1099
|
+
*/
|
|
812
1100
|
hostings: HostingSummary[];
|
|
813
1101
|
}
|
|
814
1102
|
export interface ListMailAccountsResponse {
|
|
815
|
-
/**
|
|
1103
|
+
/**
|
|
1104
|
+
* Total number of mail accounts.
|
|
1105
|
+
*/
|
|
816
1106
|
totalCount: number;
|
|
817
|
-
/**
|
|
1107
|
+
/**
|
|
1108
|
+
* List of mail accounts.
|
|
1109
|
+
*/
|
|
818
1110
|
mailAccounts: MailAccount[];
|
|
819
1111
|
}
|
|
820
1112
|
export interface ListOffersResponse {
|
|
821
|
-
/**
|
|
1113
|
+
/**
|
|
1114
|
+
* Total number of offers.
|
|
1115
|
+
*/
|
|
822
1116
|
totalCount: number;
|
|
823
|
-
/**
|
|
1117
|
+
/**
|
|
1118
|
+
* List of offers.
|
|
1119
|
+
*/
|
|
824
1120
|
offers: Offer[];
|
|
825
1121
|
}
|
|
826
1122
|
export interface ListWebsitesResponse {
|
|
827
|
-
/**
|
|
1123
|
+
/**
|
|
1124
|
+
* Total number of websites.
|
|
1125
|
+
*/
|
|
828
1126
|
totalCount: number;
|
|
829
|
-
/**
|
|
1127
|
+
/**
|
|
1128
|
+
* List of websites.
|
|
1129
|
+
*/
|
|
830
1130
|
websites: Website[];
|
|
831
1131
|
}
|
|
832
1132
|
export type MailAccountApiChangeMailAccountPasswordRequest = {
|
|
833
1133
|
/**
|
|
834
|
-
* Region to target. If none is passed will use default region from the
|
|
835
|
-
* config.
|
|
1134
|
+
* Region to target. If none is passed will use default region from the config.
|
|
836
1135
|
*/
|
|
837
1136
|
region?: ScwRegion;
|
|
838
|
-
/**
|
|
1137
|
+
/**
|
|
1138
|
+
* UUID of the hosting plan.
|
|
1139
|
+
*/
|
|
839
1140
|
hostingId: string;
|
|
840
|
-
/**
|
|
1141
|
+
/**
|
|
1142
|
+
* Domain part of the mail account address.
|
|
1143
|
+
*/
|
|
841
1144
|
domain: string;
|
|
842
|
-
/**
|
|
1145
|
+
/**
|
|
1146
|
+
* Username part of the mail account address.
|
|
1147
|
+
*/
|
|
843
1148
|
username: string;
|
|
844
|
-
/**
|
|
1149
|
+
/**
|
|
1150
|
+
* New password for the mail account.
|
|
1151
|
+
*/
|
|
845
1152
|
password: string;
|
|
846
1153
|
};
|
|
847
1154
|
export type MailAccountApiCreateMailAccountRequest = {
|
|
848
1155
|
/**
|
|
849
|
-
* Region to target. If none is passed will use default region from the
|
|
850
|
-
* config.
|
|
1156
|
+
* Region to target. If none is passed will use default region from the config.
|
|
851
1157
|
*/
|
|
852
1158
|
region?: ScwRegion;
|
|
853
|
-
/**
|
|
1159
|
+
/**
|
|
1160
|
+
* UUID of the hosting plan.
|
|
1161
|
+
*/
|
|
854
1162
|
hostingId: string;
|
|
855
|
-
/**
|
|
1163
|
+
/**
|
|
1164
|
+
* Domain part of the mail account address.
|
|
1165
|
+
*/
|
|
856
1166
|
domain: string;
|
|
857
|
-
/**
|
|
1167
|
+
/**
|
|
1168
|
+
* Username part address of the mail account address.
|
|
1169
|
+
*/
|
|
858
1170
|
username: string;
|
|
859
|
-
/**
|
|
1171
|
+
/**
|
|
1172
|
+
* Password for the new mail account.
|
|
1173
|
+
*/
|
|
860
1174
|
password: string;
|
|
861
1175
|
};
|
|
862
1176
|
export type MailAccountApiListMailAccountsRequest = {
|
|
863
1177
|
/**
|
|
864
|
-
* Region to target. If none is passed will use default region from the
|
|
865
|
-
* config.
|
|
1178
|
+
* Region to target. If none is passed will use default region from the config.
|
|
866
1179
|
*/
|
|
867
1180
|
region?: ScwRegion;
|
|
868
|
-
/**
|
|
1181
|
+
/**
|
|
1182
|
+
* UUID of the hosting plan.
|
|
1183
|
+
*/
|
|
869
1184
|
hostingId: string;
|
|
870
|
-
/**
|
|
1185
|
+
/**
|
|
1186
|
+
* Page number (must be a positive integer).
|
|
1187
|
+
*/
|
|
871
1188
|
page?: number;
|
|
872
1189
|
/**
|
|
873
|
-
* Number of mail accounts to return (must be a positive integer lower or
|
|
874
|
-
* equal to 100).
|
|
1190
|
+
* Number of mail accounts to return (must be a positive integer lower or equal to 100).
|
|
875
1191
|
*/
|
|
876
1192
|
pageSize?: number;
|
|
877
|
-
/**
|
|
1193
|
+
/**
|
|
1194
|
+
* Sort order of mail accounts in the response.
|
|
1195
|
+
*/
|
|
878
1196
|
orderBy?: ListMailAccountsRequestOrderBy;
|
|
879
|
-
/**
|
|
1197
|
+
/**
|
|
1198
|
+
* Domain to filter the mail accounts.
|
|
1199
|
+
*/
|
|
880
1200
|
domain?: string;
|
|
881
1201
|
};
|
|
882
1202
|
export type MailAccountApiRemoveMailAccountRequest = {
|
|
883
1203
|
/**
|
|
884
|
-
* Region to target. If none is passed will use default region from the
|
|
885
|
-
* config.
|
|
1204
|
+
* Region to target. If none is passed will use default region from the config.
|
|
886
1205
|
*/
|
|
887
1206
|
region?: ScwRegion;
|
|
888
|
-
/**
|
|
1207
|
+
/**
|
|
1208
|
+
* UUID of the hosting plan.
|
|
1209
|
+
*/
|
|
889
1210
|
hostingId: string;
|
|
890
|
-
/**
|
|
1211
|
+
/**
|
|
1212
|
+
* Domain part of the mail account address.
|
|
1213
|
+
*/
|
|
891
1214
|
domain: string;
|
|
892
|
-
/**
|
|
1215
|
+
/**
|
|
1216
|
+
* Username part of the mail account address.
|
|
1217
|
+
*/
|
|
893
1218
|
username: string;
|
|
894
1219
|
};
|
|
895
1220
|
export type OfferApiListOffersRequest = {
|
|
896
1221
|
/**
|
|
897
|
-
* Region to target. If none is passed will use default region from the
|
|
898
|
-
* config.
|
|
1222
|
+
* Region to target. If none is passed will use default region from the config.
|
|
899
1223
|
*/
|
|
900
1224
|
region?: ScwRegion;
|
|
901
|
-
/**
|
|
1225
|
+
/**
|
|
1226
|
+
* Page number (must be a positive integer).
|
|
1227
|
+
*/
|
|
902
1228
|
page?: number;
|
|
903
1229
|
/**
|
|
904
|
-
* Number of websites to return (must be a positive integer lower or equal to
|
|
905
|
-
* 100).
|
|
1230
|
+
* Number of websites to return (must be a positive integer lower or equal to 100).
|
|
906
1231
|
*/
|
|
907
1232
|
pageSize?: number;
|
|
908
|
-
/**
|
|
1233
|
+
/**
|
|
1234
|
+
* Sort order for Web Hosting offers in the response.
|
|
1235
|
+
*/
|
|
909
1236
|
orderBy?: ListOffersRequestOrderBy;
|
|
910
|
-
/**
|
|
1237
|
+
/**
|
|
1238
|
+
* UUID of the hosting plan.
|
|
1239
|
+
*/
|
|
911
1240
|
hostingId?: string;
|
|
912
|
-
/**
|
|
1241
|
+
/**
|
|
1242
|
+
* Name of the control panel(s) to filter for.
|
|
1243
|
+
*/
|
|
913
1244
|
controlPanels?: string[];
|
|
914
1245
|
};
|
|
915
1246
|
export interface ResetHostingPasswordResponse {
|
|
916
|
-
/**
|
|
1247
|
+
/**
|
|
1248
|
+
* New temporary password.
|
|
1249
|
+
*/
|
|
917
1250
|
oneTimePassword: string;
|
|
918
1251
|
}
|
|
919
1252
|
export interface ResourceSummary {
|
|
920
|
-
/**
|
|
1253
|
+
/**
|
|
1254
|
+
* Total number of active databases in the Web Hosting plan.
|
|
1255
|
+
*/
|
|
921
1256
|
databasesCount: number;
|
|
922
|
-
/**
|
|
1257
|
+
/**
|
|
1258
|
+
* Total number of active email accounts in the Web Hosting plan.
|
|
1259
|
+
*/
|
|
923
1260
|
mailAccountsCount: number;
|
|
924
|
-
/**
|
|
1261
|
+
/**
|
|
1262
|
+
* Total number of active FTP accounts in the Web Hosting plan.
|
|
1263
|
+
*/
|
|
925
1264
|
ftpAccountsCount: number;
|
|
926
|
-
/**
|
|
1265
|
+
/**
|
|
1266
|
+
* Total number of active domains in the Web Hosting plan.
|
|
1267
|
+
*/
|
|
927
1268
|
websitesCount: number;
|
|
928
1269
|
}
|
|
929
1270
|
export interface SearchDomainsResponse {
|
|
930
|
-
/**
|
|
1271
|
+
/**
|
|
1272
|
+
* List of domains availability.
|
|
1273
|
+
*/
|
|
931
1274
|
domainsAvailable: DomainAvailability[];
|
|
932
1275
|
}
|
|
933
1276
|
export interface Session {
|
|
934
|
-
/**
|
|
1277
|
+
/**
|
|
1278
|
+
* Logged user's session URL.
|
|
1279
|
+
*/
|
|
935
1280
|
url: string;
|
|
936
1281
|
}
|
|
937
1282
|
export type WebsiteApiListWebsitesRequest = {
|
|
938
1283
|
/**
|
|
939
|
-
* Region to target. If none is passed will use default region from the
|
|
940
|
-
* config.
|
|
1284
|
+
* Region to target. If none is passed will use default region from the config.
|
|
941
1285
|
*/
|
|
942
1286
|
region?: ScwRegion;
|
|
943
|
-
/**
|
|
1287
|
+
/**
|
|
1288
|
+
* UUID of the hosting plan.
|
|
1289
|
+
*/
|
|
944
1290
|
hostingId: string;
|
|
945
|
-
/**
|
|
1291
|
+
/**
|
|
1292
|
+
* Page number (must be a positive integer).
|
|
1293
|
+
*/
|
|
946
1294
|
page?: number;
|
|
947
1295
|
/**
|
|
948
|
-
* Number of websites to return (must be a positive integer lower or equal to
|
|
949
|
-
* 100).
|
|
1296
|
+
* Number of websites to return (must be a positive integer lower or equal to 100).
|
|
950
1297
|
*/
|
|
951
1298
|
pageSize?: number;
|
|
952
|
-
/**
|
|
1299
|
+
/**
|
|
1300
|
+
* Sort order for Web Hosting websites in the response.
|
|
1301
|
+
*/
|
|
953
1302
|
orderBy?: ListWebsitesRequestOrderBy;
|
|
954
1303
|
};
|