@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,9 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
|
|
4
|
-
const
|
|
5
|
-
require("../../../
|
|
6
|
-
|
|
3
|
+
require("../../../client/dist/internal/logger/index.cjs");
|
|
4
|
+
const api = require("../../../client/dist/scw/api.cjs");
|
|
5
|
+
const marshalling = require("../../../client/dist/helpers/marshalling.cjs");
|
|
6
|
+
require("../../../client/dist/vendor/base64/index.cjs");
|
|
7
|
+
const resourcePaginator = require("../../../client/dist/scw/fetch/resource-paginator.cjs");
|
|
7
8
|
const marshalling_gen = require("./marshalling.gen.cjs");
|
|
8
9
|
const jsonContentHeaders = {
|
|
9
10
|
"Content-Type": "application/json; charset=utf-8"
|
|
@@ -29,18 +30,14 @@ class API extends api.API {
|
|
|
29
30
|
marshalling_gen.unmarshalListSSHKeysResponse
|
|
30
31
|
);
|
|
31
32
|
/**
|
|
32
|
-
* List SSH keys. List SSH keys. By default, the SSH keys listed are ordered
|
|
33
|
-
* by creation date in ascending order. This can be modified via the
|
|
34
|
-
* `order_by` field. You can define additional parameters for your query such
|
|
35
|
-
* as `organization_id`, `name`, `project_id` and `disabled`.
|
|
33
|
+
* List SSH keys. List SSH keys. By default, the SSH keys listed are ordered by creation date in ascending order. This can be modified via the `order_by` field. You can define additional parameters for your query such as `organization_id`, `name`, `project_id` and `disabled`.
|
|
36
34
|
*
|
|
37
35
|
* @param request - The request {@link ListSSHKeysRequest}
|
|
38
36
|
* @returns A Promise of ListSSHKeysResponse
|
|
39
37
|
*/
|
|
40
38
|
listSSHKeys = (request = {}) => resourcePaginator.enrichForPagination("sshKeys", this.pageOfListSSHKeys, request);
|
|
41
39
|
/**
|
|
42
|
-
* Create an SSH key. Add a new SSH key to a Scaleway Project. You must
|
|
43
|
-
* specify the `name`, `public_key` and `project_id`.
|
|
40
|
+
* Create an SSH key. Add a new SSH key to a Scaleway Project. You must specify the `name`, `public_key` and `project_id`.
|
|
44
41
|
*
|
|
45
42
|
* @param request - The request {@link CreateSSHKeyRequest}
|
|
46
43
|
* @returns A Promise of SSHKey
|
|
@@ -57,9 +54,7 @@ class API extends api.API {
|
|
|
57
54
|
marshalling_gen.unmarshalSSHKey
|
|
58
55
|
);
|
|
59
56
|
/**
|
|
60
|
-
* Get an SSH key. Retrieve information about a given SSH key, specified by
|
|
61
|
-
* the `ssh_key_id` parameter. The SSH key's full details, including `id`,
|
|
62
|
-
* `name`, `public_key`, and `project_id` are returned in the response.
|
|
57
|
+
* Get an SSH key. Retrieve information about a given SSH key, specified by the `ssh_key_id` parameter. The SSH key's full details, including `id`, `name`, `public_key`, and `project_id` are returned in the response.
|
|
63
58
|
*
|
|
64
59
|
* @param request - The request {@link GetSSHKeyRequest}
|
|
65
60
|
* @returns A Promise of SSHKey
|
|
@@ -72,8 +67,7 @@ class API extends api.API {
|
|
|
72
67
|
marshalling_gen.unmarshalSSHKey
|
|
73
68
|
);
|
|
74
69
|
/**
|
|
75
|
-
* Update an SSH key. Update the parameters of an SSH key, including `name`
|
|
76
|
-
* and `disable`.
|
|
70
|
+
* Update an SSH key. Update the parameters of an SSH key, including `name` and `disable`.
|
|
77
71
|
*
|
|
78
72
|
* @param request - The request {@link UpdateSSHKeyRequest}
|
|
79
73
|
* @returns A Promise of SSHKey
|
|
@@ -90,9 +84,7 @@ class API extends api.API {
|
|
|
90
84
|
marshalling_gen.unmarshalSSHKey
|
|
91
85
|
);
|
|
92
86
|
/**
|
|
93
|
-
* Delete an SSH key. Delete a given SSH key, specified by the `ssh_key_id`.
|
|
94
|
-
* Deleting an SSH is permanent, and cannot be undone. Note that you might
|
|
95
|
-
* need to update any configurations that used the SSH key.
|
|
87
|
+
* Delete an SSH key. Delete a given SSH key, specified by the `ssh_key_id`. Deleting an SSH is permanent, and cannot be undone. Note that you might need to update any configurations that used the SSH key.
|
|
96
88
|
*
|
|
97
89
|
* @param request - The request {@link DeleteSSHKeyRequest}
|
|
98
90
|
*/
|
|
@@ -124,20 +116,14 @@ class API extends api.API {
|
|
|
124
116
|
marshalling_gen.unmarshalListUsersResponse
|
|
125
117
|
);
|
|
126
118
|
/**
|
|
127
|
-
* List users of an Organization. List the users of an Organization. By
|
|
128
|
-
* default, the users listed are ordered by creation date in ascending order.
|
|
129
|
-
* This can be modified via the `order_by` field. You must define the
|
|
130
|
-
* `organization_id` in the query path of your request. You can also define
|
|
131
|
-
* additional parameters for your query such as `user_ids`.
|
|
119
|
+
* List users of an Organization. List the users of an Organization. By default, the users listed are ordered by creation date in ascending order. This can be modified via the `order_by` field. You must define the `organization_id` in the query path of your request. You can also define additional parameters for your query such as `user_ids`.
|
|
132
120
|
*
|
|
133
121
|
* @param request - The request {@link ListUsersRequest}
|
|
134
122
|
* @returns A Promise of ListUsersResponse
|
|
135
123
|
*/
|
|
136
124
|
listUsers = (request = {}) => resourcePaginator.enrichForPagination("users", this.pageOfListUsers, request);
|
|
137
125
|
/**
|
|
138
|
-
* Get a given user. Retrieve information about a user, specified by the
|
|
139
|
-
* `user_id` parameter. The user's full details, including `id`, `email`,
|
|
140
|
-
* `organization_id`, `status` and `mfa` are returned in the response.
|
|
126
|
+
* Get a given user. Retrieve information about a user, specified by the `user_id` parameter. The user's full details, including `id`, `email`, `organization_id`, `status` and `mfa` are returned in the response.
|
|
141
127
|
*
|
|
142
128
|
* @param request - The request {@link GetUserRequest}
|
|
143
129
|
* @returns A Promise of User
|
|
@@ -167,11 +153,7 @@ class API extends api.API {
|
|
|
167
153
|
marshalling_gen.unmarshalUser
|
|
168
154
|
);
|
|
169
155
|
/**
|
|
170
|
-
* Delete a guest user from an Organization. Remove a user from an
|
|
171
|
-
* Organization in which they are a guest. You must define the `user_id` in
|
|
172
|
-
* your request. Note that removing a user from an Organization automatically
|
|
173
|
-
* deletes their API keys, and any policies directly attached to them become
|
|
174
|
-
* orphaned.
|
|
156
|
+
* Delete a guest user from an Organization. Remove a user from an Organization in which they are a guest. You must define the `user_id` in your request. Note that removing a user from an Organization automatically deletes their API keys, and any policies directly attached to them become orphaned.
|
|
175
157
|
*
|
|
176
158
|
* @param request - The request {@link DeleteUserRequest}
|
|
177
159
|
*/
|
|
@@ -180,8 +162,7 @@ class API extends api.API {
|
|
|
180
162
|
path: `/iam/v1alpha1/users/${marshalling.validatePathParam("userId", request.userId)}`
|
|
181
163
|
});
|
|
182
164
|
/**
|
|
183
|
-
* Create a new user. Create a new user. You must define the `organization_id`
|
|
184
|
-
* and the `email` in your request.
|
|
165
|
+
* Create a new user. Create a new user. You must define the `organization_id` in your request. If you are adding a member, enter the member's details. If you are adding a guest, you must define the `email` and not add the member attribute.
|
|
185
166
|
*
|
|
186
167
|
* @param request - The request {@link CreateUserRequest}
|
|
187
168
|
* @returns A Promise of User
|
|
@@ -198,8 +179,7 @@ class API extends api.API {
|
|
|
198
179
|
marshalling_gen.unmarshalUser
|
|
199
180
|
);
|
|
200
181
|
/**
|
|
201
|
-
* Update an user's username
|
|
202
|
-
* username. Private Beta feature.
|
|
182
|
+
* Update an user's username.. Update an user's username.
|
|
203
183
|
*
|
|
204
184
|
* @param request - The request {@link UpdateUserUsernameRequest}
|
|
205
185
|
* @returns A Promise of User
|
|
@@ -216,8 +196,7 @@ class API extends api.API {
|
|
|
216
196
|
marshalling_gen.unmarshalUser
|
|
217
197
|
);
|
|
218
198
|
/**
|
|
219
|
-
* Update an user's password
|
|
220
|
-
* password. Private Beta feature.
|
|
199
|
+
* Update an user's password.. Update an user's password.
|
|
221
200
|
*
|
|
222
201
|
* @param request - The request {@link UpdateUserPasswordRequest}
|
|
223
202
|
* @returns A Promise of User
|
|
@@ -234,8 +213,7 @@ class API extends api.API {
|
|
|
234
213
|
marshalling_gen.unmarshalUser
|
|
235
214
|
);
|
|
236
215
|
/**
|
|
237
|
-
* Create a MFA OTP
|
|
238
|
-
* feature.
|
|
216
|
+
* Create a MFA OTP.. Create a MFA OTP.
|
|
239
217
|
*
|
|
240
218
|
* @param request - The request {@link CreateUserMFAOTPRequest}
|
|
241
219
|
* @returns A Promise of MFAOTP
|
|
@@ -250,8 +228,7 @@ class API extends api.API {
|
|
|
250
228
|
marshalling_gen.unmarshalMFAOTP
|
|
251
229
|
);
|
|
252
230
|
/**
|
|
253
|
-
* Validate a MFA OTP
|
|
254
|
-
* feature.
|
|
231
|
+
* Validate a MFA OTP.. Validate a MFA OTP.
|
|
255
232
|
*
|
|
256
233
|
* @param request - The request {@link ValidateUserMFAOTPRequest}
|
|
257
234
|
* @returns A Promise of ValidateUserMFAOTPResponse
|
|
@@ -268,8 +245,7 @@ class API extends api.API {
|
|
|
268
245
|
marshalling_gen.unmarshalValidateUserMFAOTPResponse
|
|
269
246
|
);
|
|
270
247
|
/**
|
|
271
|
-
* Delete a MFA OTP
|
|
272
|
-
* feature.
|
|
248
|
+
* Delete a MFA OTP.. Delete a MFA OTP.
|
|
273
249
|
*
|
|
274
250
|
* @param request - The request {@link DeleteUserMFAOTPRequest}
|
|
275
251
|
*/
|
|
@@ -280,8 +256,7 @@ class API extends api.API {
|
|
|
280
256
|
path: `/iam/v1alpha1/users/${marshalling.validatePathParam("userId", request.userId)}/mfa-otp`
|
|
281
257
|
});
|
|
282
258
|
/**
|
|
283
|
-
* Lock a member. Lock a member. A locked member cannot log in or use API keys
|
|
284
|
-
* until the locked status is removed. Private Beta feature.
|
|
259
|
+
* Lock a member. Lock a member. A locked member cannot log in or use API keys until the locked status is removed.
|
|
285
260
|
*
|
|
286
261
|
* @param request - The request {@link LockUserRequest}
|
|
287
262
|
* @returns A Promise of User
|
|
@@ -296,7 +271,7 @@ class API extends api.API {
|
|
|
296
271
|
marshalling_gen.unmarshalUser
|
|
297
272
|
);
|
|
298
273
|
/**
|
|
299
|
-
* Unlock a member.
|
|
274
|
+
* Unlock a member.
|
|
300
275
|
*
|
|
301
276
|
* @param request - The request {@link UnlockUserRequest}
|
|
302
277
|
* @returns A Promise of User
|
|
@@ -311,8 +286,7 @@ class API extends api.API {
|
|
|
311
286
|
marshalling_gen.unmarshalUser
|
|
312
287
|
);
|
|
313
288
|
/**
|
|
314
|
-
* List grace periods of a member. List the grace periods of a member.
|
|
315
|
-
* Beta feature.
|
|
289
|
+
* List grace periods of a member. List the grace periods of a member.
|
|
316
290
|
*
|
|
317
291
|
* @param request - The request {@link ListGracePeriodsRequest}
|
|
318
292
|
* @returns A Promise of ListGracePeriodsResponse
|
|
@@ -356,20 +330,14 @@ class API extends api.API {
|
|
|
356
330
|
marshalling_gen.unmarshalListApplicationsResponse
|
|
357
331
|
);
|
|
358
332
|
/**
|
|
359
|
-
* List applications of an Organization. List the applications of an
|
|
360
|
-
* Organization. By default, the applications listed are ordered by creation
|
|
361
|
-
* date in ascending order. This can be modified via the `order_by` field. You
|
|
362
|
-
* must define the `organization_id` in the query path of your request. You
|
|
363
|
-
* can also define additional parameters for your query such as
|
|
364
|
-
* `application_ids`.
|
|
333
|
+
* List applications of an Organization. List the applications of an Organization. By default, the applications listed are ordered by creation date in ascending order. This can be modified via the `order_by` field. You must define the `organization_id` in the query path of your request. You can also define additional parameters for your query such as `application_ids`.
|
|
365
334
|
*
|
|
366
335
|
* @param request - The request {@link ListApplicationsRequest}
|
|
367
336
|
* @returns A Promise of ListApplicationsResponse
|
|
368
337
|
*/
|
|
369
338
|
listApplications = (request = {}) => resourcePaginator.enrichForPagination("applications", this.pageOfListApplications, request);
|
|
370
339
|
/**
|
|
371
|
-
* Create a new application. Create a new application. You must define the
|
|
372
|
-
* `name` parameter in the request.
|
|
340
|
+
* Create a new application. Create a new application. You must define the `name` parameter in the request.
|
|
373
341
|
*
|
|
374
342
|
* @param request - The request {@link CreateApplicationRequest}
|
|
375
343
|
* @returns A Promise of Application
|
|
@@ -386,10 +354,7 @@ class API extends api.API {
|
|
|
386
354
|
marshalling_gen.unmarshalApplication
|
|
387
355
|
);
|
|
388
356
|
/**
|
|
389
|
-
* Get a given application. Retrieve information about an application,
|
|
390
|
-
* specified by the `application_id` parameter. The application's full
|
|
391
|
-
* details, including `id`, `email`, `organization_id`, `status` and
|
|
392
|
-
* `two_factor_enabled` are returned in the response.
|
|
357
|
+
* Get a given application. Retrieve information about an application, specified by the `application_id` parameter. The application's full details, including `id`, `email`, `organization_id`, `status` and `two_factor_enabled` are returned in the response.
|
|
393
358
|
*
|
|
394
359
|
* @param request - The request {@link GetApplicationRequest}
|
|
395
360
|
* @returns A Promise of Application
|
|
@@ -402,8 +367,7 @@ class API extends api.API {
|
|
|
402
367
|
marshalling_gen.unmarshalApplication
|
|
403
368
|
);
|
|
404
369
|
/**
|
|
405
|
-
* Update an application. Update the parameters of an application, including
|
|
406
|
-
* `name` and `description`.
|
|
370
|
+
* Update an application. Update the parameters of an application, including `name` and `description`.
|
|
407
371
|
*
|
|
408
372
|
* @param request - The request {@link UpdateApplicationRequest}
|
|
409
373
|
* @returns A Promise of Application
|
|
@@ -420,10 +384,7 @@ class API extends api.API {
|
|
|
420
384
|
marshalling_gen.unmarshalApplication
|
|
421
385
|
);
|
|
422
386
|
/**
|
|
423
|
-
* Delete an application. Delete an application. Note that this action is
|
|
424
|
-
* irreversible and will automatically delete the application's API keys.
|
|
425
|
-
* Policies attached to users and applications via this group will no longer
|
|
426
|
-
* apply.
|
|
387
|
+
* Delete an application. Delete an application. Note that this action is irreversible and will automatically delete the application's API keys. Policies attached to users and applications via this group will no longer apply.
|
|
427
388
|
*
|
|
428
389
|
* @param request - The request {@link DeleteApplicationRequest}
|
|
429
390
|
*/
|
|
@@ -456,19 +417,14 @@ class API extends api.API {
|
|
|
456
417
|
marshalling_gen.unmarshalListGroupsResponse
|
|
457
418
|
);
|
|
458
419
|
/**
|
|
459
|
-
* List groups. List groups. By default, the groups listed are ordered by
|
|
460
|
-
* creation date in ascending order. This can be modified via the `order_by`
|
|
461
|
-
* field. You can define additional parameters to filter your query. Use
|
|
462
|
-
* `user_ids` or `application_ids` to list all groups certain users or
|
|
463
|
-
* applications belong to.
|
|
420
|
+
* List groups. List groups. By default, the groups listed are ordered by creation date in ascending order. This can be modified via the `order_by` field. You can define additional parameters to filter your query. Use `user_ids` or `application_ids` to list all groups certain users or applications belong to.
|
|
464
421
|
*
|
|
465
422
|
* @param request - The request {@link ListGroupsRequest}
|
|
466
423
|
* @returns A Promise of ListGroupsResponse
|
|
467
424
|
*/
|
|
468
425
|
listGroups = (request = {}) => resourcePaginator.enrichForPagination("groups", this.pageOfListGroups, request);
|
|
469
426
|
/**
|
|
470
|
-
* Create a group. Create a new group. You must define the `name` and
|
|
471
|
-
* `organization_id` parameters in the request.
|
|
427
|
+
* Create a group. Create a new group. You must define the `name` and `organization_id` parameters in the request.
|
|
472
428
|
*
|
|
473
429
|
* @param request - The request {@link CreateGroupRequest}
|
|
474
430
|
* @returns A Promise of Group
|
|
@@ -485,9 +441,7 @@ class API extends api.API {
|
|
|
485
441
|
marshalling_gen.unmarshalGroup
|
|
486
442
|
);
|
|
487
443
|
/**
|
|
488
|
-
* Get a group. Retrive information about a given group, specified by the
|
|
489
|
-
* `group_id` parameter. The group's full details, including `user_ids` and
|
|
490
|
-
* `application_ids` are returned in the response.
|
|
444
|
+
* Get a group. Retrive information about a given group, specified by the `group_id` parameter. The group's full details, including `user_ids` and `application_ids` are returned in the response.
|
|
491
445
|
*
|
|
492
446
|
* @param request - The request {@link GetGroupRequest}
|
|
493
447
|
* @returns A Promise of Group
|
|
@@ -500,8 +454,7 @@ class API extends api.API {
|
|
|
500
454
|
marshalling_gen.unmarshalGroup
|
|
501
455
|
);
|
|
502
456
|
/**
|
|
503
|
-
* Update a group. Update the parameters of group, including `name` and
|
|
504
|
-
* `description`.
|
|
457
|
+
* Update a group. Update the parameters of group, including `name` and `description`.
|
|
505
458
|
*
|
|
506
459
|
* @param request - The request {@link UpdateGroupRequest}
|
|
507
460
|
* @returns A Promise of Group
|
|
@@ -518,9 +471,7 @@ class API extends api.API {
|
|
|
518
471
|
marshalling_gen.unmarshalGroup
|
|
519
472
|
);
|
|
520
473
|
/**
|
|
521
|
-
* Overwrite users and applications of a group. Overwrite users and
|
|
522
|
-
* applications configuration in a group. Any information that you add using
|
|
523
|
-
* this command will overwrite the previous configuration.
|
|
474
|
+
* Overwrite users and applications of a group. Overwrite users and applications configuration in a group. Any information that you add using this command will overwrite the previous configuration.
|
|
524
475
|
*
|
|
525
476
|
* @param request - The request {@link SetGroupMembersRequest}
|
|
526
477
|
* @returns A Promise of Group
|
|
@@ -537,9 +488,7 @@ class API extends api.API {
|
|
|
537
488
|
marshalling_gen.unmarshalGroup
|
|
538
489
|
);
|
|
539
490
|
/**
|
|
540
|
-
* Add a user or an application to a group. Add a user or an application to a
|
|
541
|
-
* group. You can specify a `user_id` and and `application_id` in the body of
|
|
542
|
-
* your request. Note that you can only add one of each per request.
|
|
491
|
+
* Add a user or an application to a group. Add a user or an application to a group. You can specify a `user_id` and `application_id` in the body of your request. Note that you can only add one of each per request.
|
|
543
492
|
*
|
|
544
493
|
* @param request - The request {@link AddGroupMemberRequest}
|
|
545
494
|
* @returns A Promise of Group
|
|
@@ -556,12 +505,7 @@ class API extends api.API {
|
|
|
556
505
|
marshalling_gen.unmarshalGroup
|
|
557
506
|
);
|
|
558
507
|
/**
|
|
559
|
-
* Add multiple users and applications to a group. Add multiple users and
|
|
560
|
-
* applications to a group in a single call. You can specify an array of
|
|
561
|
-
* `user_id`s and `application_id`s. Note that any existing users and
|
|
562
|
-
* applications in the group will remain. To add new users/applications and
|
|
563
|
-
* delete pre-existing ones, use the [Overwrite users and applications of a
|
|
564
|
-
* group](#path-groups-overwrite-users-and-applications-of-a-group) method.
|
|
508
|
+
* Add multiple users and applications to a group. Add multiple users and applications to a group in a single call. You can specify an array of `user_id`s and `application_id`s. Note that any existing users and applications in the group will remain. To add new users/applications and delete pre-existing ones, use the [Overwrite users and applications of a group](#path-groups-overwrite-users-and-applications-of-a-group) method.
|
|
565
509
|
*
|
|
566
510
|
* @param request - The request {@link AddGroupMembersRequest}
|
|
567
511
|
* @returns A Promise of Group
|
|
@@ -578,13 +522,7 @@ class API extends api.API {
|
|
|
578
522
|
marshalling_gen.unmarshalGroup
|
|
579
523
|
);
|
|
580
524
|
/**
|
|
581
|
-
* Remove a user or an application from a group. Remove a user or an
|
|
582
|
-
* application from a group. You can specify a `user_id` and and
|
|
583
|
-
* `application_id` in the body of your request. Note that you can only remove
|
|
584
|
-
* one of each per request. Removing a user from a group means that any
|
|
585
|
-
* permissions given to them via the group (i.e. from an attached policy) will
|
|
586
|
-
* no longer apply. Be sure you want to remove these permissions from the user
|
|
587
|
-
* before proceeding.
|
|
525
|
+
* Remove a user or an application from a group. Remove a user or an application from a group. You can specify a `user_id` and `application_id` in the body of your request. Note that you can only remove one of each per request. Removing a user from a group means that any permissions given to them via the group (i.e. from an attached policy) will no longer apply. Be sure you want to remove these permissions from the user before proceeding.
|
|
588
526
|
*
|
|
589
527
|
* @param request - The request {@link RemoveGroupMemberRequest}
|
|
590
528
|
* @returns A Promise of Group
|
|
@@ -601,9 +539,7 @@ class API extends api.API {
|
|
|
601
539
|
marshalling_gen.unmarshalGroup
|
|
602
540
|
);
|
|
603
541
|
/**
|
|
604
|
-
* Delete a group. Delete a group. Note that this action is irreversible and
|
|
605
|
-
* could delete permissions for group members. Policies attached to users and
|
|
606
|
-
* applications via this group will no longer apply.
|
|
542
|
+
* Delete a group. Delete a group. Note that this action is irreversible and could delete permissions for group members. Policies attached to users and applications via this group will no longer apply.
|
|
607
543
|
*
|
|
608
544
|
* @param request - The request {@link DeleteGroupRequest}
|
|
609
545
|
*/
|
|
@@ -639,22 +575,14 @@ class API extends api.API {
|
|
|
639
575
|
marshalling_gen.unmarshalListPoliciesResponse
|
|
640
576
|
);
|
|
641
577
|
/**
|
|
642
|
-
* List policies of an Organization. List the policies of an Organization. By
|
|
643
|
-
* default, the policies listed are ordered by creation date in ascending
|
|
644
|
-
* order. This can be modified via the `order_by` field. You must define the
|
|
645
|
-
* `organization_id` in the query path of your request. You can also define
|
|
646
|
-
* additional parameters to filter your query, such as `user_ids`,
|
|
647
|
-
* `groups_ids`, `application_ids`, and `policy_name`.
|
|
578
|
+
* List policies of an Organization. List the policies of an Organization. By default, the policies listed are ordered by creation date in ascending order. This can be modified via the `order_by` field. You must define the `organization_id` in the query path of your request. You can also define additional parameters to filter your query, such as `user_ids`, `groups_ids`, `application_ids`, and `policy_name`.
|
|
648
579
|
*
|
|
649
580
|
* @param request - The request {@link ListPoliciesRequest}
|
|
650
581
|
* @returns A Promise of ListPoliciesResponse
|
|
651
582
|
*/
|
|
652
583
|
listPolicies = (request = {}) => resourcePaginator.enrichForPagination("policies", this.pageOfListPolicies, request);
|
|
653
584
|
/**
|
|
654
|
-
* Create a new policy. Create a new application. You must define the `name`
|
|
655
|
-
* parameter in the request. You can specify parameters such as `user_id`,
|
|
656
|
-
* `groups_id`, `application_id`, `no_principal`, `rules` and its child
|
|
657
|
-
* attributes.
|
|
585
|
+
* Create a new policy. Create a new application. You must define the `name` parameter in the request. You can specify parameters such as `user_id`, `groups_id`, `application_id`, `no_principal`, `rules` and its child attributes.
|
|
658
586
|
*
|
|
659
587
|
* @param request - The request {@link CreatePolicyRequest}
|
|
660
588
|
* @returns A Promise of Policy
|
|
@@ -671,10 +599,7 @@ class API extends api.API {
|
|
|
671
599
|
marshalling_gen.unmarshalPolicy
|
|
672
600
|
);
|
|
673
601
|
/**
|
|
674
|
-
* Get an existing policy. Retrieve information about a policy, speficified by
|
|
675
|
-
* the `policy_id` parameter. The policy's full details, including `id`,
|
|
676
|
-
* `name`, `organization_id`, `nb_rules` and `nb_scopes`, `nb_permission_sets`
|
|
677
|
-
* are returned in the response.
|
|
602
|
+
* Get an existing policy. Retrieve information about a policy, speficified by the `policy_id` parameter. The policy's full details, including `id`, `name`, `organization_id`, `nb_rules` and `nb_scopes`, `nb_permission_sets` are returned in the response.
|
|
678
603
|
*
|
|
679
604
|
* @param request - The request {@link GetPolicyRequest}
|
|
680
605
|
* @returns A Promise of Policy
|
|
@@ -687,9 +612,7 @@ class API extends api.API {
|
|
|
687
612
|
marshalling_gen.unmarshalPolicy
|
|
688
613
|
);
|
|
689
614
|
/**
|
|
690
|
-
* Update an existing policy. Update the parameters of a policy, including
|
|
691
|
-
* `name`, `description`, `user_id`, `group_id`, `application_id` and
|
|
692
|
-
* `no_principal`.
|
|
615
|
+
* Update an existing policy. Update the parameters of a policy, including `name`, `description`, `user_id`, `group_id`, `application_id` and `no_principal`.
|
|
693
616
|
*
|
|
694
617
|
* @param request - The request {@link UpdatePolicyRequest}
|
|
695
618
|
* @returns A Promise of Policy
|
|
@@ -706,10 +629,7 @@ class API extends api.API {
|
|
|
706
629
|
marshalling_gen.unmarshalPolicy
|
|
707
630
|
);
|
|
708
631
|
/**
|
|
709
|
-
* Delete a policy. Delete a policy. You must define specify the `policy_id`
|
|
710
|
-
* parameter in your request. Note that when deleting a policy, all
|
|
711
|
-
* permissions it gives to its principal (user, group or application) will be
|
|
712
|
-
* revoked.
|
|
632
|
+
* Delete a policy. Delete a policy. You must define specify the `policy_id` parameter in your request. Note that when deleting a policy, all permissions it gives to its principal (user, group or application) will be revoked.
|
|
713
633
|
*
|
|
714
634
|
* @param request - The request {@link DeletePolicyRequest}
|
|
715
635
|
*/
|
|
@@ -718,8 +638,7 @@ class API extends api.API {
|
|
|
718
638
|
path: `/iam/v1alpha1/policies/${marshalling.validatePathParam("policyId", request.policyId)}`
|
|
719
639
|
});
|
|
720
640
|
/**
|
|
721
|
-
* Clone a policy. Clone a policy. You must define specify the `policy_id`
|
|
722
|
-
* parameter in your request.
|
|
641
|
+
* Clone a policy. Clone a policy. You must define specify the `policy_id` parameter in your request.
|
|
723
642
|
*
|
|
724
643
|
* @param request - The request {@link ClonePolicyRequest}
|
|
725
644
|
* @returns A Promise of Policy
|
|
@@ -734,12 +653,7 @@ class API extends api.API {
|
|
|
734
653
|
marshalling_gen.unmarshalPolicy
|
|
735
654
|
);
|
|
736
655
|
/**
|
|
737
|
-
* Set rules of a given policy. Overwrite the rules of a given policy. Any
|
|
738
|
-
* information that you add using this command will overwrite the previous
|
|
739
|
-
* configuration. If you include some of the rules you already had in your
|
|
740
|
-
* previous configuration in your new one, but you change their order, the new
|
|
741
|
-
* order of display will apply. While policy rules are ordered, they have no
|
|
742
|
-
* impact on the access logic of IAM because rules are allow-only.
|
|
656
|
+
* Set rules of a given policy. Overwrite the rules of a given policy. Any information that you add using this command will overwrite the previous configuration. If you include some of the rules you already had in your previous configuration in your new one, but you change their order, the new order of display will apply. While policy rules are ordered, they have no impact on the access logic of IAM because rules are allow-only.
|
|
743
657
|
*
|
|
744
658
|
* @param request - The request {@link SetRulesRequest}
|
|
745
659
|
* @returns A Promise of SetRulesResponse
|
|
@@ -771,10 +685,7 @@ class API extends api.API {
|
|
|
771
685
|
marshalling_gen.unmarshalListRulesResponse
|
|
772
686
|
);
|
|
773
687
|
/**
|
|
774
|
-
* List rules of a given policy. List the rules of a given policy. By default,
|
|
775
|
-
* the rules listed are ordered by creation date in ascending order. This can
|
|
776
|
-
* be modified via the `order_by` field. You must define the `policy_id` in
|
|
777
|
-
* the query path of your request.
|
|
688
|
+
* List rules of a given policy. List the rules of a given policy. By default, the rules listed are ordered by creation date in ascending order. This can be modified via the `order_by` field. You must define the `policy_id` in the query path of your request.
|
|
778
689
|
*
|
|
779
690
|
* @param request - The request {@link ListRulesRequest}
|
|
780
691
|
* @returns A Promise of ListRulesResponse
|
|
@@ -800,9 +711,7 @@ class API extends api.API {
|
|
|
800
711
|
marshalling_gen.unmarshalListPermissionSetsResponse
|
|
801
712
|
);
|
|
802
713
|
/**
|
|
803
|
-
* List permission sets. List permission sets available for given
|
|
804
|
-
* Organization. You must define the `organization_id` in the query path of
|
|
805
|
-
* your request.
|
|
714
|
+
* List permission sets. List permission sets available for given Organization. You must define the `organization_id` in the query path of your request.
|
|
806
715
|
*
|
|
807
716
|
* @param request - The request {@link ListPermissionSetsRequest}
|
|
808
717
|
* @returns A Promise of ListPermissionSetsResponse
|
|
@@ -845,22 +754,14 @@ class API extends api.API {
|
|
|
845
754
|
marshalling_gen.unmarshalListAPIKeysResponse
|
|
846
755
|
);
|
|
847
756
|
/**
|
|
848
|
-
* List API keys. List API keys. By default, the API keys listed are ordered
|
|
849
|
-
* by creation date in ascending order. This can be modified via the
|
|
850
|
-
* `order_by` field. You can define additional parameters for your query such
|
|
851
|
-
* as `editable`, `expired`, `access_key` and `bearer_id`.
|
|
757
|
+
* List API keys. List API keys. By default, the API keys listed are ordered by creation date in ascending order. This can be modified via the `order_by` field. You can define additional parameters for your query such as `editable`, `expired`, `access_key` and `bearer_id`.
|
|
852
758
|
*
|
|
853
759
|
* @param request - The request {@link ListAPIKeysRequest}
|
|
854
760
|
* @returns A Promise of ListAPIKeysResponse
|
|
855
761
|
*/
|
|
856
762
|
listAPIKeys = (request = {}) => resourcePaginator.enrichForPagination("apiKeys", this.pageOfListAPIKeys, request);
|
|
857
763
|
/**
|
|
858
|
-
* Create an API key. Create an API key. You must specify the `application_id`
|
|
859
|
-
* or the `user_id` and the description. You can also specify the
|
|
860
|
-
* `default_project_id`, which is the Project ID of your preferred Project, to
|
|
861
|
-
* use with Object Storage. The `access_key` and `secret_key` values are
|
|
862
|
-
* returned in the response. Note that the secret key is only shown once. Make
|
|
863
|
-
* sure that you copy and store both keys somewhere safe.
|
|
764
|
+
* Create an API key. Create an API key. You must specify the `application_id` or the `user_id` and the description. You can also specify the `default_project_id`, which is the Project ID of your preferred Project, to use with Object Storage. The `access_key` and `secret_key` values are returned in the response. Note that the secret key is only shown once. Make sure that you copy and store both keys somewhere safe.
|
|
864
765
|
*
|
|
865
766
|
* @param request - The request {@link CreateAPIKeyRequest}
|
|
866
767
|
* @returns A Promise of APIKey
|
|
@@ -877,12 +778,7 @@ class API extends api.API {
|
|
|
877
778
|
marshalling_gen.unmarshalAPIKey
|
|
878
779
|
);
|
|
879
780
|
/**
|
|
880
|
-
* Get an API key. Retrive information about an API key, specified by the
|
|
881
|
-
* `access_key` parameter. The API key's details, including either the
|
|
882
|
-
* `user_id` or `application_id` of its bearer are returned in the response.
|
|
883
|
-
* Note that the string value for the `secret_key` is nullable, and therefore
|
|
884
|
-
* is not displayed in the response. The `secret_key` value is only displayed
|
|
885
|
-
* upon API key creation.
|
|
781
|
+
* Get an API key. Retrive information about an API key, specified by the `access_key` parameter. The API key's details, including either the `user_id` or `application_id` of its bearer are returned in the response. Note that the string value for the `secret_key` is nullable, and therefore is not displayed in the response. The `secret_key` value is only displayed upon API key creation.
|
|
886
782
|
*
|
|
887
783
|
* @param request - The request {@link GetAPIKeyRequest}
|
|
888
784
|
* @returns A Promise of APIKey
|
|
@@ -895,8 +791,7 @@ class API extends api.API {
|
|
|
895
791
|
marshalling_gen.unmarshalAPIKey
|
|
896
792
|
);
|
|
897
793
|
/**
|
|
898
|
-
* Update an API key. Update the parameters of an API key, including
|
|
899
|
-
* `default_project_id` and `description`.
|
|
794
|
+
* Update an API key. Update the parameters of an API key, including `default_project_id` and `description`.
|
|
900
795
|
*
|
|
901
796
|
* @param request - The request {@link UpdateAPIKeyRequest}
|
|
902
797
|
* @returns A Promise of APIKey
|
|
@@ -913,9 +808,7 @@ class API extends api.API {
|
|
|
913
808
|
marshalling_gen.unmarshalAPIKey
|
|
914
809
|
);
|
|
915
810
|
/**
|
|
916
|
-
* Delete an API key. Delete an API key. Note that this action is irreversible
|
|
917
|
-
* and cannot be undone. Make sure you update any configurations using the API
|
|
918
|
-
* keys you delete.
|
|
811
|
+
* Delete an API key. Delete an API key. Note that this action is irreversible and cannot be undone. Make sure you update any configurations using the API keys you delete.
|
|
919
812
|
*
|
|
920
813
|
* @param request - The request {@link DeleteAPIKeyRequest}
|
|
921
814
|
*/
|
|
@@ -944,20 +837,14 @@ class API extends api.API {
|
|
|
944
837
|
marshalling_gen.unmarshalListQuotaResponse
|
|
945
838
|
);
|
|
946
839
|
/**
|
|
947
|
-
* List all quotas in the Organization. List all product and features quota
|
|
948
|
-
* for an Organization, with their associated limits. By default, the quota
|
|
949
|
-
* listed are ordered by creation date in ascending order. This can be
|
|
950
|
-
* modified via the `order_by` field. You must define the `organization_id` in
|
|
951
|
-
* the query path of your request.
|
|
840
|
+
* List all quotas in the Organization. List all product and features quota for an Organization, with their associated limits. By default, the quota listed are ordered by creation date in ascending order. This can be modified via the `order_by` field. You must define the `organization_id` in the query path of your request.
|
|
952
841
|
*
|
|
953
842
|
* @param request - The request {@link ListQuotaRequest}
|
|
954
843
|
* @returns A Promise of ListQuotaResponse
|
|
955
844
|
*/
|
|
956
845
|
listQuota = (request = {}) => resourcePaginator.enrichForPagination("quota", this.pageOfListQuota, request);
|
|
957
846
|
/**
|
|
958
|
-
* Get a quota in the Organization. Retrieve information about a resource
|
|
959
|
-
* quota, specified by the `quotum_name` parameter. The quota's `limit`, or
|
|
960
|
-
* whether it is unlimited, is returned in the response.
|
|
847
|
+
* Get a quota in the Organization. Retrieve information about a resource quota, specified by the `quotum_name` parameter. The quota's `limit`, or whether it is unlimited, is returned in the response.
|
|
961
848
|
*
|
|
962
849
|
* @param request - The request {@link GetQuotumRequest}
|
|
963
850
|
* @returns A Promise of Quotum
|
|
@@ -1061,18 +948,14 @@ class API extends api.API {
|
|
|
1061
948
|
marshalling_gen.unmarshalListLogsResponse
|
|
1062
949
|
);
|
|
1063
950
|
/**
|
|
1064
|
-
* List logs. List logs available for given Organization. You must define the
|
|
1065
|
-
* `organization_id` in the query path of your request.
|
|
951
|
+
* List logs. List logs available for given Organization. You must define the `organization_id` in the query path of your request.
|
|
1066
952
|
*
|
|
1067
953
|
* @param request - The request {@link ListLogsRequest}
|
|
1068
954
|
* @returns A Promise of ListLogsResponse
|
|
1069
955
|
*/
|
|
1070
956
|
listLogs = (request = {}) => resourcePaginator.enrichForPagination("logs", this.pageOfListLogs, request);
|
|
1071
957
|
/**
|
|
1072
|
-
* Get a log. Retrieve information about a log, specified by the `log_id`
|
|
1073
|
-
* parameter. The log's full details, including `id`, `ip`, `user_agent`,
|
|
1074
|
-
* `action`, `bearer_id`, `resource_type` and `resource_id` are returned in
|
|
1075
|
-
* the response.
|
|
958
|
+
* Get a log. Retrieve information about a log, specified by the `log_id` parameter. The log's full details, including `id`, `ip`, `user_agent`, `action`, `bearer_id`, `resource_type` and `resource_id` are returned in the response.
|
|
1076
959
|
*
|
|
1077
960
|
* @param request - The request {@link GetLogRequest}
|
|
1078
961
|
* @returns A Promise of Log
|
|
@@ -1085,9 +968,7 @@ class API extends api.API {
|
|
|
1085
968
|
marshalling_gen.unmarshalLog
|
|
1086
969
|
);
|
|
1087
970
|
/**
|
|
1088
|
-
* Get security settings of an Organization. Retrieve information about the
|
|
1089
|
-
* security settings of an Organization, specified by the `organization_id`
|
|
1090
|
-
* parameter.
|
|
971
|
+
* Get security settings of an Organization. Retrieve information about the security settings of an Organization, specified by the `organization_id` parameter.
|
|
1091
972
|
*
|
|
1092
973
|
* @param request - The request {@link GetOrganizationSecuritySettingsRequest}
|
|
1093
974
|
* @returns A Promise of OrganizationSecuritySettings
|
|
@@ -1102,8 +983,7 @@ class API extends api.API {
|
|
|
1102
983
|
/**
|
|
1103
984
|
* Update the security settings of an Organization.
|
|
1104
985
|
*
|
|
1105
|
-
* @param request - The request
|
|
1106
|
-
* {@link UpdateOrganizationSecuritySettingsRequest}
|
|
986
|
+
* @param request - The request {@link UpdateOrganizationSecuritySettingsRequest}
|
|
1107
987
|
* @returns A Promise of OrganizationSecuritySettings
|
|
1108
988
|
*/
|
|
1109
989
|
updateOrganizationSecuritySettings = (request = {}) => this.client.fetch(
|