@scaleway/sdk 2.71.1 → 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/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 +49 -163
- package/dist/api/iam/v1alpha1/api.gen.d.ts +47 -163
- package/dist/api/iam/v1alpha1/api.gen.js +49 -163
- 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 +979 -372
- 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/{package.json.cjs → client/dist/package.json.cjs} +7 -16
- package/dist/{package.json.js → client/dist/package.json.js} +7 -16
- package/dist/client/dist/scw/constants.cjs +7 -0
- 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/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 -4
- package/dist/helpers/is-browser.cjs +0 -7
- package/dist/helpers/is-browser.js +0 -7
- /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}/constants.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/constants.cjs +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/constants.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,7 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import "../../../
|
|
4
|
-
import
|
|
1
|
+
import "../../../client/dist/internal/logger/index.js";
|
|
2
|
+
import { API as API$1 } from "../../../client/dist/scw/api.js";
|
|
3
|
+
import { urlParams, validatePathParam, resolveOneOf } from "../../../client/dist/helpers/marshalling.js";
|
|
4
|
+
import "../../../client/dist/vendor/base64/index.js";
|
|
5
|
+
import { enrichForPagination } from "../../../client/dist/scw/fetch/resource-paginator.js";
|
|
5
6
|
import { unmarshalListSSHKeysResponse, marshalCreateSSHKeyRequest, unmarshalSSHKey, marshalUpdateSSHKeyRequest, unmarshalListUsersResponse, unmarshalUser, marshalUpdateUserRequest, marshalCreateUserRequest, marshalUpdateUserUsernameRequest, marshalUpdateUserPasswordRequest, unmarshalMFAOTP, marshalValidateUserMFAOTPRequest, unmarshalValidateUserMFAOTPResponse, unmarshalListGracePeriodsResponse, unmarshalGetUserConnectionsResponse, unmarshalListApplicationsResponse, marshalCreateApplicationRequest, unmarshalApplication, marshalUpdateApplicationRequest, unmarshalListGroupsResponse, marshalCreateGroupRequest, unmarshalGroup, marshalUpdateGroupRequest, marshalSetGroupMembersRequest, marshalAddGroupMemberRequest, marshalAddGroupMembersRequest, marshalRemoveGroupMemberRequest, unmarshalListPoliciesResponse, marshalCreatePolicyRequest, unmarshalPolicy, marshalUpdatePolicyRequest, marshalSetRulesRequest, unmarshalSetRulesResponse, unmarshalListRulesResponse, unmarshalListPermissionSetsResponse, unmarshalListAPIKeysResponse, marshalCreateAPIKeyRequest, unmarshalAPIKey, marshalUpdateAPIKeyRequest, unmarshalListQuotaResponse, unmarshalQuotum, unmarshalListJWTsResponse, marshalCreateJWTRequest, unmarshalEncodedJWT, unmarshalJWT, unmarshalListLogsResponse, unmarshalLog, unmarshalOrganizationSecuritySettings, marshalUpdateOrganizationSecuritySettingsRequest } from "./marshalling.gen.js";
|
|
6
7
|
const jsonContentHeaders = {
|
|
7
8
|
"Content-Type": "application/json; charset=utf-8"
|
|
@@ -27,18 +28,14 @@ class API extends API$1 {
|
|
|
27
28
|
unmarshalListSSHKeysResponse
|
|
28
29
|
);
|
|
29
30
|
/**
|
|
30
|
-
* List SSH keys. List SSH keys. By default, the SSH keys listed are ordered
|
|
31
|
-
* by creation date in ascending order. This can be modified via the
|
|
32
|
-
* `order_by` field. You can define additional parameters for your query such
|
|
33
|
-
* as `organization_id`, `name`, `project_id` and `disabled`.
|
|
31
|
+
* 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`.
|
|
34
32
|
*
|
|
35
33
|
* @param request - The request {@link ListSSHKeysRequest}
|
|
36
34
|
* @returns A Promise of ListSSHKeysResponse
|
|
37
35
|
*/
|
|
38
36
|
listSSHKeys = (request = {}) => enrichForPagination("sshKeys", this.pageOfListSSHKeys, request);
|
|
39
37
|
/**
|
|
40
|
-
* Create an SSH key. Add a new SSH key to a Scaleway Project. You must
|
|
41
|
-
* specify the `name`, `public_key` and `project_id`.
|
|
38
|
+
* Create an SSH key. Add a new SSH key to a Scaleway Project. You must specify the `name`, `public_key` and `project_id`.
|
|
42
39
|
*
|
|
43
40
|
* @param request - The request {@link CreateSSHKeyRequest}
|
|
44
41
|
* @returns A Promise of SSHKey
|
|
@@ -55,9 +52,7 @@ class API extends API$1 {
|
|
|
55
52
|
unmarshalSSHKey
|
|
56
53
|
);
|
|
57
54
|
/**
|
|
58
|
-
* Get an SSH key. Retrieve information about a given SSH key, specified by
|
|
59
|
-
* the `ssh_key_id` parameter. The SSH key's full details, including `id`,
|
|
60
|
-
* `name`, `public_key`, and `project_id` are returned in the response.
|
|
55
|
+
* 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.
|
|
61
56
|
*
|
|
62
57
|
* @param request - The request {@link GetSSHKeyRequest}
|
|
63
58
|
* @returns A Promise of SSHKey
|
|
@@ -70,8 +65,7 @@ class API extends API$1 {
|
|
|
70
65
|
unmarshalSSHKey
|
|
71
66
|
);
|
|
72
67
|
/**
|
|
73
|
-
* Update an SSH key. Update the parameters of an SSH key, including `name`
|
|
74
|
-
* and `disable`.
|
|
68
|
+
* Update an SSH key. Update the parameters of an SSH key, including `name` and `disable`.
|
|
75
69
|
*
|
|
76
70
|
* @param request - The request {@link UpdateSSHKeyRequest}
|
|
77
71
|
* @returns A Promise of SSHKey
|
|
@@ -88,9 +82,7 @@ class API extends API$1 {
|
|
|
88
82
|
unmarshalSSHKey
|
|
89
83
|
);
|
|
90
84
|
/**
|
|
91
|
-
* Delete an SSH key. Delete a given SSH key, specified by the `ssh_key_id`.
|
|
92
|
-
* Deleting an SSH is permanent, and cannot be undone. Note that you might
|
|
93
|
-
* need to update any configurations that used the SSH key.
|
|
85
|
+
* 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.
|
|
94
86
|
*
|
|
95
87
|
* @param request - The request {@link DeleteSSHKeyRequest}
|
|
96
88
|
*/
|
|
@@ -122,20 +114,14 @@ class API extends API$1 {
|
|
|
122
114
|
unmarshalListUsersResponse
|
|
123
115
|
);
|
|
124
116
|
/**
|
|
125
|
-
* List users of an Organization. List the users of an Organization. By
|
|
126
|
-
* default, the users listed are ordered by creation date in ascending order.
|
|
127
|
-
* This can be modified via the `order_by` field. You must define the
|
|
128
|
-
* `organization_id` in the query path of your request. You can also define
|
|
129
|
-
* additional parameters for your query such as `user_ids`.
|
|
117
|
+
* 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`.
|
|
130
118
|
*
|
|
131
119
|
* @param request - The request {@link ListUsersRequest}
|
|
132
120
|
* @returns A Promise of ListUsersResponse
|
|
133
121
|
*/
|
|
134
122
|
listUsers = (request = {}) => enrichForPagination("users", this.pageOfListUsers, request);
|
|
135
123
|
/**
|
|
136
|
-
* Get a given user. Retrieve information about a user, specified by the
|
|
137
|
-
* `user_id` parameter. The user's full details, including `id`, `email`,
|
|
138
|
-
* `organization_id`, `status` and `mfa` are returned in the response.
|
|
124
|
+
* 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.
|
|
139
125
|
*
|
|
140
126
|
* @param request - The request {@link GetUserRequest}
|
|
141
127
|
* @returns A Promise of User
|
|
@@ -165,11 +151,7 @@ class API extends API$1 {
|
|
|
165
151
|
unmarshalUser
|
|
166
152
|
);
|
|
167
153
|
/**
|
|
168
|
-
* Delete a guest user from an Organization. Remove a user from an
|
|
169
|
-
* Organization in which they are a guest. You must define the `user_id` in
|
|
170
|
-
* your request. Note that removing a user from an Organization automatically
|
|
171
|
-
* deletes their API keys, and any policies directly attached to them become
|
|
172
|
-
* orphaned.
|
|
154
|
+
* 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.
|
|
173
155
|
*
|
|
174
156
|
* @param request - The request {@link DeleteUserRequest}
|
|
175
157
|
*/
|
|
@@ -178,8 +160,7 @@ class API extends API$1 {
|
|
|
178
160
|
path: `/iam/v1alpha1/users/${validatePathParam("userId", request.userId)}`
|
|
179
161
|
});
|
|
180
162
|
/**
|
|
181
|
-
* Create a new user. Create a new user. You must define the `organization_id`
|
|
182
|
-
* and the `email` in your request.
|
|
163
|
+
* 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.
|
|
183
164
|
*
|
|
184
165
|
* @param request - The request {@link CreateUserRequest}
|
|
185
166
|
* @returns A Promise of User
|
|
@@ -273,8 +254,7 @@ class API extends API$1 {
|
|
|
273
254
|
path: `/iam/v1alpha1/users/${validatePathParam("userId", request.userId)}/mfa-otp`
|
|
274
255
|
});
|
|
275
256
|
/**
|
|
276
|
-
* Lock a member. Lock a member. A locked member cannot log in or use API keys
|
|
277
|
-
* until the locked status is removed.
|
|
257
|
+
* Lock a member. Lock a member. A locked member cannot log in or use API keys until the locked status is removed.
|
|
278
258
|
*
|
|
279
259
|
* @param request - The request {@link LockUserRequest}
|
|
280
260
|
* @returns A Promise of User
|
|
@@ -348,20 +328,14 @@ class API extends API$1 {
|
|
|
348
328
|
unmarshalListApplicationsResponse
|
|
349
329
|
);
|
|
350
330
|
/**
|
|
351
|
-
* List applications of an Organization. List the applications of an
|
|
352
|
-
* Organization. By default, the applications listed are ordered by creation
|
|
353
|
-
* date in ascending order. This can be modified via the `order_by` field. You
|
|
354
|
-
* must define the `organization_id` in the query path of your request. You
|
|
355
|
-
* can also define additional parameters for your query such as
|
|
356
|
-
* `application_ids`.
|
|
331
|
+
* 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`.
|
|
357
332
|
*
|
|
358
333
|
* @param request - The request {@link ListApplicationsRequest}
|
|
359
334
|
* @returns A Promise of ListApplicationsResponse
|
|
360
335
|
*/
|
|
361
336
|
listApplications = (request = {}) => enrichForPagination("applications", this.pageOfListApplications, request);
|
|
362
337
|
/**
|
|
363
|
-
* Create a new application. Create a new application. You must define the
|
|
364
|
-
* `name` parameter in the request.
|
|
338
|
+
* Create a new application. Create a new application. You must define the `name` parameter in the request.
|
|
365
339
|
*
|
|
366
340
|
* @param request - The request {@link CreateApplicationRequest}
|
|
367
341
|
* @returns A Promise of Application
|
|
@@ -378,10 +352,7 @@ class API extends API$1 {
|
|
|
378
352
|
unmarshalApplication
|
|
379
353
|
);
|
|
380
354
|
/**
|
|
381
|
-
* Get a given application. Retrieve information about an application,
|
|
382
|
-
* specified by the `application_id` parameter. The application's full
|
|
383
|
-
* details, including `id`, `email`, `organization_id`, `status` and
|
|
384
|
-
* `two_factor_enabled` are returned in the response.
|
|
355
|
+
* 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.
|
|
385
356
|
*
|
|
386
357
|
* @param request - The request {@link GetApplicationRequest}
|
|
387
358
|
* @returns A Promise of Application
|
|
@@ -394,8 +365,7 @@ class API extends API$1 {
|
|
|
394
365
|
unmarshalApplication
|
|
395
366
|
);
|
|
396
367
|
/**
|
|
397
|
-
* Update an application. Update the parameters of an application, including
|
|
398
|
-
* `name` and `description`.
|
|
368
|
+
* Update an application. Update the parameters of an application, including `name` and `description`.
|
|
399
369
|
*
|
|
400
370
|
* @param request - The request {@link UpdateApplicationRequest}
|
|
401
371
|
* @returns A Promise of Application
|
|
@@ -412,10 +382,7 @@ class API extends API$1 {
|
|
|
412
382
|
unmarshalApplication
|
|
413
383
|
);
|
|
414
384
|
/**
|
|
415
|
-
* Delete an application. Delete an application. Note that this action is
|
|
416
|
-
* irreversible and will automatically delete the application's API keys.
|
|
417
|
-
* Policies attached to users and applications via this group will no longer
|
|
418
|
-
* apply.
|
|
385
|
+
* 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.
|
|
419
386
|
*
|
|
420
387
|
* @param request - The request {@link DeleteApplicationRequest}
|
|
421
388
|
*/
|
|
@@ -448,19 +415,14 @@ class API extends API$1 {
|
|
|
448
415
|
unmarshalListGroupsResponse
|
|
449
416
|
);
|
|
450
417
|
/**
|
|
451
|
-
* List groups. List groups. By default, the groups listed are ordered by
|
|
452
|
-
* creation date in ascending order. This can be modified via the `order_by`
|
|
453
|
-
* field. You can define additional parameters to filter your query. Use
|
|
454
|
-
* `user_ids` or `application_ids` to list all groups certain users or
|
|
455
|
-
* applications belong to.
|
|
418
|
+
* 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.
|
|
456
419
|
*
|
|
457
420
|
* @param request - The request {@link ListGroupsRequest}
|
|
458
421
|
* @returns A Promise of ListGroupsResponse
|
|
459
422
|
*/
|
|
460
423
|
listGroups = (request = {}) => enrichForPagination("groups", this.pageOfListGroups, request);
|
|
461
424
|
/**
|
|
462
|
-
* Create a group. Create a new group. You must define the `name` and
|
|
463
|
-
* `organization_id` parameters in the request.
|
|
425
|
+
* Create a group. Create a new group. You must define the `name` and `organization_id` parameters in the request.
|
|
464
426
|
*
|
|
465
427
|
* @param request - The request {@link CreateGroupRequest}
|
|
466
428
|
* @returns A Promise of Group
|
|
@@ -477,9 +439,7 @@ class API extends API$1 {
|
|
|
477
439
|
unmarshalGroup
|
|
478
440
|
);
|
|
479
441
|
/**
|
|
480
|
-
* Get a group. Retrive information about a given group, specified by the
|
|
481
|
-
* `group_id` parameter. The group's full details, including `user_ids` and
|
|
482
|
-
* `application_ids` are returned in the response.
|
|
442
|
+
* 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.
|
|
483
443
|
*
|
|
484
444
|
* @param request - The request {@link GetGroupRequest}
|
|
485
445
|
* @returns A Promise of Group
|
|
@@ -492,8 +452,7 @@ class API extends API$1 {
|
|
|
492
452
|
unmarshalGroup
|
|
493
453
|
);
|
|
494
454
|
/**
|
|
495
|
-
* Update a group. Update the parameters of group, including `name` and
|
|
496
|
-
* `description`.
|
|
455
|
+
* Update a group. Update the parameters of group, including `name` and `description`.
|
|
497
456
|
*
|
|
498
457
|
* @param request - The request {@link UpdateGroupRequest}
|
|
499
458
|
* @returns A Promise of Group
|
|
@@ -510,9 +469,7 @@ class API extends API$1 {
|
|
|
510
469
|
unmarshalGroup
|
|
511
470
|
);
|
|
512
471
|
/**
|
|
513
|
-
* Overwrite users and applications of a group. Overwrite users and
|
|
514
|
-
* applications configuration in a group. Any information that you add using
|
|
515
|
-
* this command will overwrite the previous configuration.
|
|
472
|
+
* 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.
|
|
516
473
|
*
|
|
517
474
|
* @param request - The request {@link SetGroupMembersRequest}
|
|
518
475
|
* @returns A Promise of Group
|
|
@@ -529,9 +486,7 @@ class API extends API$1 {
|
|
|
529
486
|
unmarshalGroup
|
|
530
487
|
);
|
|
531
488
|
/**
|
|
532
|
-
* Add a user or an application to a group. Add a user or an application to a
|
|
533
|
-
* group. You can specify a `user_id` and and `application_id` in the body of
|
|
534
|
-
* your request. Note that you can only add one of each per request.
|
|
489
|
+
* 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.
|
|
535
490
|
*
|
|
536
491
|
* @param request - The request {@link AddGroupMemberRequest}
|
|
537
492
|
* @returns A Promise of Group
|
|
@@ -548,12 +503,7 @@ class API extends API$1 {
|
|
|
548
503
|
unmarshalGroup
|
|
549
504
|
);
|
|
550
505
|
/**
|
|
551
|
-
* Add multiple users and applications to a group. Add multiple users and
|
|
552
|
-
* applications to a group in a single call. You can specify an array of
|
|
553
|
-
* `user_id`s and `application_id`s. Note that any existing users and
|
|
554
|
-
* applications in the group will remain. To add new users/applications and
|
|
555
|
-
* delete pre-existing ones, use the [Overwrite users and applications of a
|
|
556
|
-
* group](#path-groups-overwrite-users-and-applications-of-a-group) method.
|
|
506
|
+
* 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.
|
|
557
507
|
*
|
|
558
508
|
* @param request - The request {@link AddGroupMembersRequest}
|
|
559
509
|
* @returns A Promise of Group
|
|
@@ -570,13 +520,7 @@ class API extends API$1 {
|
|
|
570
520
|
unmarshalGroup
|
|
571
521
|
);
|
|
572
522
|
/**
|
|
573
|
-
* Remove a user or an application from a group. Remove a user or an
|
|
574
|
-
* application from a group. You can specify a `user_id` and and
|
|
575
|
-
* `application_id` in the body of your request. Note that you can only remove
|
|
576
|
-
* one of each per request. Removing a user from a group means that any
|
|
577
|
-
* permissions given to them via the group (i.e. from an attached policy) will
|
|
578
|
-
* no longer apply. Be sure you want to remove these permissions from the user
|
|
579
|
-
* before proceeding.
|
|
523
|
+
* 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.
|
|
580
524
|
*
|
|
581
525
|
* @param request - The request {@link RemoveGroupMemberRequest}
|
|
582
526
|
* @returns A Promise of Group
|
|
@@ -593,9 +537,7 @@ class API extends API$1 {
|
|
|
593
537
|
unmarshalGroup
|
|
594
538
|
);
|
|
595
539
|
/**
|
|
596
|
-
* Delete a group. Delete a group. Note that this action is irreversible and
|
|
597
|
-
* could delete permissions for group members. Policies attached to users and
|
|
598
|
-
* applications via this group will no longer apply.
|
|
540
|
+
* 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.
|
|
599
541
|
*
|
|
600
542
|
* @param request - The request {@link DeleteGroupRequest}
|
|
601
543
|
*/
|
|
@@ -631,22 +573,14 @@ class API extends API$1 {
|
|
|
631
573
|
unmarshalListPoliciesResponse
|
|
632
574
|
);
|
|
633
575
|
/**
|
|
634
|
-
* List policies of an Organization. List the policies of an Organization. By
|
|
635
|
-
* default, the policies listed are ordered by creation date in ascending
|
|
636
|
-
* order. This can be modified via the `order_by` field. You must define the
|
|
637
|
-
* `organization_id` in the query path of your request. You can also define
|
|
638
|
-
* additional parameters to filter your query, such as `user_ids`,
|
|
639
|
-
* `groups_ids`, `application_ids`, and `policy_name`.
|
|
576
|
+
* 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`.
|
|
640
577
|
*
|
|
641
578
|
* @param request - The request {@link ListPoliciesRequest}
|
|
642
579
|
* @returns A Promise of ListPoliciesResponse
|
|
643
580
|
*/
|
|
644
581
|
listPolicies = (request = {}) => enrichForPagination("policies", this.pageOfListPolicies, request);
|
|
645
582
|
/**
|
|
646
|
-
* Create a new policy. Create a new application. You must define the `name`
|
|
647
|
-
* parameter in the request. You can specify parameters such as `user_id`,
|
|
648
|
-
* `groups_id`, `application_id`, `no_principal`, `rules` and its child
|
|
649
|
-
* attributes.
|
|
583
|
+
* 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.
|
|
650
584
|
*
|
|
651
585
|
* @param request - The request {@link CreatePolicyRequest}
|
|
652
586
|
* @returns A Promise of Policy
|
|
@@ -663,10 +597,7 @@ class API extends API$1 {
|
|
|
663
597
|
unmarshalPolicy
|
|
664
598
|
);
|
|
665
599
|
/**
|
|
666
|
-
* Get an existing policy. Retrieve information about a policy, speficified by
|
|
667
|
-
* the `policy_id` parameter. The policy's full details, including `id`,
|
|
668
|
-
* `name`, `organization_id`, `nb_rules` and `nb_scopes`, `nb_permission_sets`
|
|
669
|
-
* are returned in the response.
|
|
600
|
+
* 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.
|
|
670
601
|
*
|
|
671
602
|
* @param request - The request {@link GetPolicyRequest}
|
|
672
603
|
* @returns A Promise of Policy
|
|
@@ -679,9 +610,7 @@ class API extends API$1 {
|
|
|
679
610
|
unmarshalPolicy
|
|
680
611
|
);
|
|
681
612
|
/**
|
|
682
|
-
* Update an existing policy. Update the parameters of a policy, including
|
|
683
|
-
* `name`, `description`, `user_id`, `group_id`, `application_id` and
|
|
684
|
-
* `no_principal`.
|
|
613
|
+
* Update an existing policy. Update the parameters of a policy, including `name`, `description`, `user_id`, `group_id`, `application_id` and `no_principal`.
|
|
685
614
|
*
|
|
686
615
|
* @param request - The request {@link UpdatePolicyRequest}
|
|
687
616
|
* @returns A Promise of Policy
|
|
@@ -698,10 +627,7 @@ class API extends API$1 {
|
|
|
698
627
|
unmarshalPolicy
|
|
699
628
|
);
|
|
700
629
|
/**
|
|
701
|
-
* Delete a policy. Delete a policy. You must define specify the `policy_id`
|
|
702
|
-
* parameter in your request. Note that when deleting a policy, all
|
|
703
|
-
* permissions it gives to its principal (user, group or application) will be
|
|
704
|
-
* revoked.
|
|
630
|
+
* 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.
|
|
705
631
|
*
|
|
706
632
|
* @param request - The request {@link DeletePolicyRequest}
|
|
707
633
|
*/
|
|
@@ -710,8 +636,7 @@ class API extends API$1 {
|
|
|
710
636
|
path: `/iam/v1alpha1/policies/${validatePathParam("policyId", request.policyId)}`
|
|
711
637
|
});
|
|
712
638
|
/**
|
|
713
|
-
* Clone a policy. Clone a policy. You must define specify the `policy_id`
|
|
714
|
-
* parameter in your request.
|
|
639
|
+
* Clone a policy. Clone a policy. You must define specify the `policy_id` parameter in your request.
|
|
715
640
|
*
|
|
716
641
|
* @param request - The request {@link ClonePolicyRequest}
|
|
717
642
|
* @returns A Promise of Policy
|
|
@@ -726,12 +651,7 @@ class API extends API$1 {
|
|
|
726
651
|
unmarshalPolicy
|
|
727
652
|
);
|
|
728
653
|
/**
|
|
729
|
-
* Set rules of a given policy. Overwrite the rules of a given policy. Any
|
|
730
|
-
* information that you add using this command will overwrite the previous
|
|
731
|
-
* configuration. If you include some of the rules you already had in your
|
|
732
|
-
* previous configuration in your new one, but you change their order, the new
|
|
733
|
-
* order of display will apply. While policy rules are ordered, they have no
|
|
734
|
-
* impact on the access logic of IAM because rules are allow-only.
|
|
654
|
+
* 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.
|
|
735
655
|
*
|
|
736
656
|
* @param request - The request {@link SetRulesRequest}
|
|
737
657
|
* @returns A Promise of SetRulesResponse
|
|
@@ -763,10 +683,7 @@ class API extends API$1 {
|
|
|
763
683
|
unmarshalListRulesResponse
|
|
764
684
|
);
|
|
765
685
|
/**
|
|
766
|
-
* List rules of a given policy. List the rules of a given policy. By default,
|
|
767
|
-
* the rules listed are ordered by creation date in ascending order. This can
|
|
768
|
-
* be modified via the `order_by` field. You must define the `policy_id` in
|
|
769
|
-
* the query path of your request.
|
|
686
|
+
* 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.
|
|
770
687
|
*
|
|
771
688
|
* @param request - The request {@link ListRulesRequest}
|
|
772
689
|
* @returns A Promise of ListRulesResponse
|
|
@@ -792,9 +709,7 @@ class API extends API$1 {
|
|
|
792
709
|
unmarshalListPermissionSetsResponse
|
|
793
710
|
);
|
|
794
711
|
/**
|
|
795
|
-
* List permission sets. List permission sets available for given
|
|
796
|
-
* Organization. You must define the `organization_id` in the query path of
|
|
797
|
-
* your request.
|
|
712
|
+
* List permission sets. List permission sets available for given Organization. You must define the `organization_id` in the query path of your request.
|
|
798
713
|
*
|
|
799
714
|
* @param request - The request {@link ListPermissionSetsRequest}
|
|
800
715
|
* @returns A Promise of ListPermissionSetsResponse
|
|
@@ -837,22 +752,14 @@ class API extends API$1 {
|
|
|
837
752
|
unmarshalListAPIKeysResponse
|
|
838
753
|
);
|
|
839
754
|
/**
|
|
840
|
-
* List API keys. List API keys. By default, the API keys listed are ordered
|
|
841
|
-
* by creation date in ascending order. This can be modified via the
|
|
842
|
-
* `order_by` field. You can define additional parameters for your query such
|
|
843
|
-
* as `editable`, `expired`, `access_key` and `bearer_id`.
|
|
755
|
+
* 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`.
|
|
844
756
|
*
|
|
845
757
|
* @param request - The request {@link ListAPIKeysRequest}
|
|
846
758
|
* @returns A Promise of ListAPIKeysResponse
|
|
847
759
|
*/
|
|
848
760
|
listAPIKeys = (request = {}) => enrichForPagination("apiKeys", this.pageOfListAPIKeys, request);
|
|
849
761
|
/**
|
|
850
|
-
* Create an API key. Create an API key. You must specify the `application_id`
|
|
851
|
-
* or the `user_id` and the description. You can also specify the
|
|
852
|
-
* `default_project_id`, which is the Project ID of your preferred Project, to
|
|
853
|
-
* use with Object Storage. The `access_key` and `secret_key` values are
|
|
854
|
-
* returned in the response. Note that the secret key is only shown once. Make
|
|
855
|
-
* sure that you copy and store both keys somewhere safe.
|
|
762
|
+
* 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.
|
|
856
763
|
*
|
|
857
764
|
* @param request - The request {@link CreateAPIKeyRequest}
|
|
858
765
|
* @returns A Promise of APIKey
|
|
@@ -869,12 +776,7 @@ class API extends API$1 {
|
|
|
869
776
|
unmarshalAPIKey
|
|
870
777
|
);
|
|
871
778
|
/**
|
|
872
|
-
* Get an API key. Retrive information about an API key, specified by the
|
|
873
|
-
* `access_key` parameter. The API key's details, including either the
|
|
874
|
-
* `user_id` or `application_id` of its bearer are returned in the response.
|
|
875
|
-
* Note that the string value for the `secret_key` is nullable, and therefore
|
|
876
|
-
* is not displayed in the response. The `secret_key` value is only displayed
|
|
877
|
-
* upon API key creation.
|
|
779
|
+
* 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.
|
|
878
780
|
*
|
|
879
781
|
* @param request - The request {@link GetAPIKeyRequest}
|
|
880
782
|
* @returns A Promise of APIKey
|
|
@@ -887,8 +789,7 @@ class API extends API$1 {
|
|
|
887
789
|
unmarshalAPIKey
|
|
888
790
|
);
|
|
889
791
|
/**
|
|
890
|
-
* Update an API key. Update the parameters of an API key, including
|
|
891
|
-
* `default_project_id` and `description`.
|
|
792
|
+
* Update an API key. Update the parameters of an API key, including `default_project_id` and `description`.
|
|
892
793
|
*
|
|
893
794
|
* @param request - The request {@link UpdateAPIKeyRequest}
|
|
894
795
|
* @returns A Promise of APIKey
|
|
@@ -905,9 +806,7 @@ class API extends API$1 {
|
|
|
905
806
|
unmarshalAPIKey
|
|
906
807
|
);
|
|
907
808
|
/**
|
|
908
|
-
* Delete an API key. Delete an API key. Note that this action is irreversible
|
|
909
|
-
* and cannot be undone. Make sure you update any configurations using the API
|
|
910
|
-
* keys you delete.
|
|
809
|
+
* 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.
|
|
911
810
|
*
|
|
912
811
|
* @param request - The request {@link DeleteAPIKeyRequest}
|
|
913
812
|
*/
|
|
@@ -936,20 +835,14 @@ class API extends API$1 {
|
|
|
936
835
|
unmarshalListQuotaResponse
|
|
937
836
|
);
|
|
938
837
|
/**
|
|
939
|
-
* List all quotas in the Organization. List all product and features quota
|
|
940
|
-
* for an Organization, with their associated limits. By default, the quota
|
|
941
|
-
* listed are ordered by creation date in ascending order. This can be
|
|
942
|
-
* modified via the `order_by` field. You must define the `organization_id` in
|
|
943
|
-
* the query path of your request.
|
|
838
|
+
* 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.
|
|
944
839
|
*
|
|
945
840
|
* @param request - The request {@link ListQuotaRequest}
|
|
946
841
|
* @returns A Promise of ListQuotaResponse
|
|
947
842
|
*/
|
|
948
843
|
listQuota = (request = {}) => enrichForPagination("quota", this.pageOfListQuota, request);
|
|
949
844
|
/**
|
|
950
|
-
* Get a quota in the Organization. Retrieve information about a resource
|
|
951
|
-
* quota, specified by the `quotum_name` parameter. The quota's `limit`, or
|
|
952
|
-
* whether it is unlimited, is returned in the response.
|
|
845
|
+
* 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.
|
|
953
846
|
*
|
|
954
847
|
* @param request - The request {@link GetQuotumRequest}
|
|
955
848
|
* @returns A Promise of Quotum
|
|
@@ -1053,18 +946,14 @@ class API extends API$1 {
|
|
|
1053
946
|
unmarshalListLogsResponse
|
|
1054
947
|
);
|
|
1055
948
|
/**
|
|
1056
|
-
* List logs. List logs available for given Organization. You must define the
|
|
1057
|
-
* `organization_id` in the query path of your request.
|
|
949
|
+
* List logs. List logs available for given Organization. You must define the `organization_id` in the query path of your request.
|
|
1058
950
|
*
|
|
1059
951
|
* @param request - The request {@link ListLogsRequest}
|
|
1060
952
|
* @returns A Promise of ListLogsResponse
|
|
1061
953
|
*/
|
|
1062
954
|
listLogs = (request = {}) => enrichForPagination("logs", this.pageOfListLogs, request);
|
|
1063
955
|
/**
|
|
1064
|
-
* Get a log. Retrieve information about a log, specified by the `log_id`
|
|
1065
|
-
* parameter. The log's full details, including `id`, `ip`, `user_agent`,
|
|
1066
|
-
* `action`, `bearer_id`, `resource_type` and `resource_id` are returned in
|
|
1067
|
-
* the response.
|
|
956
|
+
* 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.
|
|
1068
957
|
*
|
|
1069
958
|
* @param request - The request {@link GetLogRequest}
|
|
1070
959
|
* @returns A Promise of Log
|
|
@@ -1077,9 +966,7 @@ class API extends API$1 {
|
|
|
1077
966
|
unmarshalLog
|
|
1078
967
|
);
|
|
1079
968
|
/**
|
|
1080
|
-
* Get security settings of an Organization. Retrieve information about the
|
|
1081
|
-
* security settings of an Organization, specified by the `organization_id`
|
|
1082
|
-
* parameter.
|
|
969
|
+
* Get security settings of an Organization. Retrieve information about the security settings of an Organization, specified by the `organization_id` parameter.
|
|
1083
970
|
*
|
|
1084
971
|
* @param request - The request {@link GetOrganizationSecuritySettingsRequest}
|
|
1085
972
|
* @returns A Promise of OrganizationSecuritySettings
|
|
@@ -1094,8 +981,7 @@ class API extends API$1 {
|
|
|
1094
981
|
/**
|
|
1095
982
|
* Update the security settings of an Organization.
|
|
1096
983
|
*
|
|
1097
|
-
* @param request - The request
|
|
1098
|
-
* {@link UpdateOrganizationSecuritySettingsRequest}
|
|
984
|
+
* @param request - The request {@link UpdateOrganizationSecuritySettingsRequest}
|
|
1099
985
|
* @returns A Promise of OrganizationSecuritySettings
|
|
1100
986
|
*/
|
|
1101
987
|
updateOrganizationSecuritySettings = (request = {}) => this.client.fetch(
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const randomName = require("@scaleway/random-name");
|
|
4
|
-
|
|
5
|
-
const
|
|
6
|
-
require("../../../
|
|
4
|
+
require("../../../client/dist/internal/logger/index.cjs");
|
|
5
|
+
const json = require("../../../client/dist/helpers/json.cjs");
|
|
6
|
+
const marshalling = require("../../../client/dist/helpers/marshalling.cjs");
|
|
7
|
+
require("../../../client/dist/vendor/base64/index.cjs");
|
|
7
8
|
const unmarshalJWT = (data) => {
|
|
8
9
|
if (!json.isJSONObject(data)) {
|
|
9
10
|
throw new TypeError(
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { DefaultValues } from '
|
|
1
|
+
import type { DefaultValues } from '@scaleway/sdk-client';
|
|
2
2
|
import type { APIKey, AddGroupMemberRequest, AddGroupMembersRequest, Application, CreateAPIKeyRequest, CreateApplicationRequest, CreateGroupRequest, CreateJWTRequest, CreatePolicyRequest, CreateSSHKeyRequest, CreateUserRequest, EncodedJWT, GetUserConnectionsResponse, Group, JWT, ListAPIKeysResponse, ListApplicationsResponse, ListGracePeriodsResponse, ListGroupsResponse, ListJWTsResponse, ListLogsResponse, ListPermissionSetsResponse, ListPoliciesResponse, ListQuotaResponse, ListRulesResponse, ListSSHKeysResponse, ListUsersResponse, Log, MFAOTP, OrganizationSecuritySettings, Policy, Quotum, RemoveGroupMemberRequest, SSHKey, SetGroupMembersRequest, SetRulesRequest, SetRulesResponse, UpdateAPIKeyRequest, UpdateApplicationRequest, UpdateGroupRequest, UpdateOrganizationSecuritySettingsRequest, UpdatePolicyRequest, UpdateSSHKeyRequest, UpdateUserPasswordRequest, UpdateUserRequest, UpdateUserUsernameRequest, User, ValidateUserMFAOTPRequest, ValidateUserMFAOTPResponse } from './types.gen';
|
|
3
3
|
export declare const unmarshalJWT: (data: unknown) => JWT;
|
|
4
4
|
export declare const unmarshalAPIKey: (data: unknown) => APIKey;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import randomName from "@scaleway/random-name";
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import "../../../
|
|
2
|
+
import "../../../client/dist/internal/logger/index.js";
|
|
3
|
+
import { isJSONObject } from "../../../client/dist/helpers/json.js";
|
|
4
|
+
import { unmarshalDate, unmarshalArrayOfObject, resolveOneOf } from "../../../client/dist/helpers/marshalling.js";
|
|
5
|
+
import "../../../client/dist/vendor/base64/index.js";
|
|
5
6
|
const unmarshalJWT = (data) => {
|
|
6
7
|
if (!isJSONObject(data)) {
|
|
7
8
|
throw new TypeError(
|