@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,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
|
|
@@ -275,8 +256,7 @@ class API extends api.API {
|
|
|
275
256
|
path: `/iam/v1alpha1/users/${marshalling.validatePathParam("userId", request.userId)}/mfa-otp`
|
|
276
257
|
});
|
|
277
258
|
/**
|
|
278
|
-
* Lock a member. Lock a member. A locked member cannot log in or use API keys
|
|
279
|
-
* until the locked status is removed.
|
|
259
|
+
* Lock a member. Lock a member. A locked member cannot log in or use API keys until the locked status is removed.
|
|
280
260
|
*
|
|
281
261
|
* @param request - The request {@link LockUserRequest}
|
|
282
262
|
* @returns A Promise of User
|
|
@@ -350,20 +330,14 @@ class API extends api.API {
|
|
|
350
330
|
marshalling_gen.unmarshalListApplicationsResponse
|
|
351
331
|
);
|
|
352
332
|
/**
|
|
353
|
-
* List applications of an Organization. List the applications of an
|
|
354
|
-
* Organization. By default, the applications listed are ordered by creation
|
|
355
|
-
* date in ascending order. This can be modified via the `order_by` field. You
|
|
356
|
-
* must define the `organization_id` in the query path of your request. You
|
|
357
|
-
* can also define additional parameters for your query such as
|
|
358
|
-
* `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`.
|
|
359
334
|
*
|
|
360
335
|
* @param request - The request {@link ListApplicationsRequest}
|
|
361
336
|
* @returns A Promise of ListApplicationsResponse
|
|
362
337
|
*/
|
|
363
338
|
listApplications = (request = {}) => resourcePaginator.enrichForPagination("applications", this.pageOfListApplications, request);
|
|
364
339
|
/**
|
|
365
|
-
* Create a new application. Create a new application. You must define the
|
|
366
|
-
* `name` parameter in the request.
|
|
340
|
+
* Create a new application. Create a new application. You must define the `name` parameter in the request.
|
|
367
341
|
*
|
|
368
342
|
* @param request - The request {@link CreateApplicationRequest}
|
|
369
343
|
* @returns A Promise of Application
|
|
@@ -380,10 +354,7 @@ class API extends api.API {
|
|
|
380
354
|
marshalling_gen.unmarshalApplication
|
|
381
355
|
);
|
|
382
356
|
/**
|
|
383
|
-
* Get a given application. Retrieve information about an application,
|
|
384
|
-
* specified by the `application_id` parameter. The application's full
|
|
385
|
-
* details, including `id`, `email`, `organization_id`, `status` and
|
|
386
|
-
* `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.
|
|
387
358
|
*
|
|
388
359
|
* @param request - The request {@link GetApplicationRequest}
|
|
389
360
|
* @returns A Promise of Application
|
|
@@ -396,8 +367,7 @@ class API extends api.API {
|
|
|
396
367
|
marshalling_gen.unmarshalApplication
|
|
397
368
|
);
|
|
398
369
|
/**
|
|
399
|
-
* Update an application. Update the parameters of an application, including
|
|
400
|
-
* `name` and `description`.
|
|
370
|
+
* Update an application. Update the parameters of an application, including `name` and `description`.
|
|
401
371
|
*
|
|
402
372
|
* @param request - The request {@link UpdateApplicationRequest}
|
|
403
373
|
* @returns A Promise of Application
|
|
@@ -414,10 +384,7 @@ class API extends api.API {
|
|
|
414
384
|
marshalling_gen.unmarshalApplication
|
|
415
385
|
);
|
|
416
386
|
/**
|
|
417
|
-
* Delete an application. Delete an application. Note that this action is
|
|
418
|
-
* irreversible and will automatically delete the application's API keys.
|
|
419
|
-
* Policies attached to users and applications via this group will no longer
|
|
420
|
-
* 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.
|
|
421
388
|
*
|
|
422
389
|
* @param request - The request {@link DeleteApplicationRequest}
|
|
423
390
|
*/
|
|
@@ -450,19 +417,14 @@ class API extends api.API {
|
|
|
450
417
|
marshalling_gen.unmarshalListGroupsResponse
|
|
451
418
|
);
|
|
452
419
|
/**
|
|
453
|
-
* List groups. List groups. By default, the groups listed are ordered by
|
|
454
|
-
* creation date in ascending order. This can be modified via the `order_by`
|
|
455
|
-
* field. You can define additional parameters to filter your query. Use
|
|
456
|
-
* `user_ids` or `application_ids` to list all groups certain users or
|
|
457
|
-
* 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.
|
|
458
421
|
*
|
|
459
422
|
* @param request - The request {@link ListGroupsRequest}
|
|
460
423
|
* @returns A Promise of ListGroupsResponse
|
|
461
424
|
*/
|
|
462
425
|
listGroups = (request = {}) => resourcePaginator.enrichForPagination("groups", this.pageOfListGroups, request);
|
|
463
426
|
/**
|
|
464
|
-
* Create a group. Create a new group. You must define the `name` and
|
|
465
|
-
* `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.
|
|
466
428
|
*
|
|
467
429
|
* @param request - The request {@link CreateGroupRequest}
|
|
468
430
|
* @returns A Promise of Group
|
|
@@ -479,9 +441,7 @@ class API extends api.API {
|
|
|
479
441
|
marshalling_gen.unmarshalGroup
|
|
480
442
|
);
|
|
481
443
|
/**
|
|
482
|
-
* Get a group. Retrive information about a given group, specified by the
|
|
483
|
-
* `group_id` parameter. The group's full details, including `user_ids` and
|
|
484
|
-
* `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.
|
|
485
445
|
*
|
|
486
446
|
* @param request - The request {@link GetGroupRequest}
|
|
487
447
|
* @returns A Promise of Group
|
|
@@ -494,8 +454,7 @@ class API extends api.API {
|
|
|
494
454
|
marshalling_gen.unmarshalGroup
|
|
495
455
|
);
|
|
496
456
|
/**
|
|
497
|
-
* Update a group. Update the parameters of group, including `name` and
|
|
498
|
-
* `description`.
|
|
457
|
+
* Update a group. Update the parameters of group, including `name` and `description`.
|
|
499
458
|
*
|
|
500
459
|
* @param request - The request {@link UpdateGroupRequest}
|
|
501
460
|
* @returns A Promise of Group
|
|
@@ -512,9 +471,7 @@ class API extends api.API {
|
|
|
512
471
|
marshalling_gen.unmarshalGroup
|
|
513
472
|
);
|
|
514
473
|
/**
|
|
515
|
-
* Overwrite users and applications of a group. Overwrite users and
|
|
516
|
-
* applications configuration in a group. Any information that you add using
|
|
517
|
-
* 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.
|
|
518
475
|
*
|
|
519
476
|
* @param request - The request {@link SetGroupMembersRequest}
|
|
520
477
|
* @returns A Promise of Group
|
|
@@ -531,9 +488,7 @@ class API extends api.API {
|
|
|
531
488
|
marshalling_gen.unmarshalGroup
|
|
532
489
|
);
|
|
533
490
|
/**
|
|
534
|
-
* Add a user or an application to a group. Add a user or an application to a
|
|
535
|
-
* group. You can specify a `user_id` and and `application_id` in the body of
|
|
536
|
-
* 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.
|
|
537
492
|
*
|
|
538
493
|
* @param request - The request {@link AddGroupMemberRequest}
|
|
539
494
|
* @returns A Promise of Group
|
|
@@ -550,12 +505,7 @@ class API extends api.API {
|
|
|
550
505
|
marshalling_gen.unmarshalGroup
|
|
551
506
|
);
|
|
552
507
|
/**
|
|
553
|
-
* Add multiple users and applications to a group. Add multiple users and
|
|
554
|
-
* applications to a group in a single call. You can specify an array of
|
|
555
|
-
* `user_id`s and `application_id`s. Note that any existing users and
|
|
556
|
-
* applications in the group will remain. To add new users/applications and
|
|
557
|
-
* delete pre-existing ones, use the [Overwrite users and applications of a
|
|
558
|
-
* 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.
|
|
559
509
|
*
|
|
560
510
|
* @param request - The request {@link AddGroupMembersRequest}
|
|
561
511
|
* @returns A Promise of Group
|
|
@@ -572,13 +522,7 @@ class API extends api.API {
|
|
|
572
522
|
marshalling_gen.unmarshalGroup
|
|
573
523
|
);
|
|
574
524
|
/**
|
|
575
|
-
* Remove a user or an application from a group. Remove a user or an
|
|
576
|
-
* application from a group. You can specify a `user_id` and and
|
|
577
|
-
* `application_id` in the body of your request. Note that you can only remove
|
|
578
|
-
* one of each per request. Removing a user from a group means that any
|
|
579
|
-
* permissions given to them via the group (i.e. from an attached policy) will
|
|
580
|
-
* no longer apply. Be sure you want to remove these permissions from the user
|
|
581
|
-
* 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.
|
|
582
526
|
*
|
|
583
527
|
* @param request - The request {@link RemoveGroupMemberRequest}
|
|
584
528
|
* @returns A Promise of Group
|
|
@@ -595,9 +539,7 @@ class API extends api.API {
|
|
|
595
539
|
marshalling_gen.unmarshalGroup
|
|
596
540
|
);
|
|
597
541
|
/**
|
|
598
|
-
* Delete a group. Delete a group. Note that this action is irreversible and
|
|
599
|
-
* could delete permissions for group members. Policies attached to users and
|
|
600
|
-
* 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.
|
|
601
543
|
*
|
|
602
544
|
* @param request - The request {@link DeleteGroupRequest}
|
|
603
545
|
*/
|
|
@@ -633,22 +575,14 @@ class API extends api.API {
|
|
|
633
575
|
marshalling_gen.unmarshalListPoliciesResponse
|
|
634
576
|
);
|
|
635
577
|
/**
|
|
636
|
-
* List policies of an Organization. List the policies of an Organization. By
|
|
637
|
-
* default, the policies listed are ordered by creation date in ascending
|
|
638
|
-
* order. This can be modified via the `order_by` field. You must define the
|
|
639
|
-
* `organization_id` in the query path of your request. You can also define
|
|
640
|
-
* additional parameters to filter your query, such as `user_ids`,
|
|
641
|
-
* `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`.
|
|
642
579
|
*
|
|
643
580
|
* @param request - The request {@link ListPoliciesRequest}
|
|
644
581
|
* @returns A Promise of ListPoliciesResponse
|
|
645
582
|
*/
|
|
646
583
|
listPolicies = (request = {}) => resourcePaginator.enrichForPagination("policies", this.pageOfListPolicies, request);
|
|
647
584
|
/**
|
|
648
|
-
* Create a new policy. Create a new application. You must define the `name`
|
|
649
|
-
* parameter in the request. You can specify parameters such as `user_id`,
|
|
650
|
-
* `groups_id`, `application_id`, `no_principal`, `rules` and its child
|
|
651
|
-
* 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.
|
|
652
586
|
*
|
|
653
587
|
* @param request - The request {@link CreatePolicyRequest}
|
|
654
588
|
* @returns A Promise of Policy
|
|
@@ -665,10 +599,7 @@ class API extends api.API {
|
|
|
665
599
|
marshalling_gen.unmarshalPolicy
|
|
666
600
|
);
|
|
667
601
|
/**
|
|
668
|
-
* Get an existing policy. Retrieve information about a policy, speficified by
|
|
669
|
-
* the `policy_id` parameter. The policy's full details, including `id`,
|
|
670
|
-
* `name`, `organization_id`, `nb_rules` and `nb_scopes`, `nb_permission_sets`
|
|
671
|
-
* 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.
|
|
672
603
|
*
|
|
673
604
|
* @param request - The request {@link GetPolicyRequest}
|
|
674
605
|
* @returns A Promise of Policy
|
|
@@ -681,9 +612,7 @@ class API extends api.API {
|
|
|
681
612
|
marshalling_gen.unmarshalPolicy
|
|
682
613
|
);
|
|
683
614
|
/**
|
|
684
|
-
* Update an existing policy. Update the parameters of a policy, including
|
|
685
|
-
* `name`, `description`, `user_id`, `group_id`, `application_id` and
|
|
686
|
-
* `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`.
|
|
687
616
|
*
|
|
688
617
|
* @param request - The request {@link UpdatePolicyRequest}
|
|
689
618
|
* @returns A Promise of Policy
|
|
@@ -700,10 +629,7 @@ class API extends api.API {
|
|
|
700
629
|
marshalling_gen.unmarshalPolicy
|
|
701
630
|
);
|
|
702
631
|
/**
|
|
703
|
-
* Delete a policy. Delete a policy. You must define specify the `policy_id`
|
|
704
|
-
* parameter in your request. Note that when deleting a policy, all
|
|
705
|
-
* permissions it gives to its principal (user, group or application) will be
|
|
706
|
-
* 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.
|
|
707
633
|
*
|
|
708
634
|
* @param request - The request {@link DeletePolicyRequest}
|
|
709
635
|
*/
|
|
@@ -712,8 +638,7 @@ class API extends api.API {
|
|
|
712
638
|
path: `/iam/v1alpha1/policies/${marshalling.validatePathParam("policyId", request.policyId)}`
|
|
713
639
|
});
|
|
714
640
|
/**
|
|
715
|
-
* Clone a policy. Clone a policy. You must define specify the `policy_id`
|
|
716
|
-
* parameter in your request.
|
|
641
|
+
* Clone a policy. Clone a policy. You must define specify the `policy_id` parameter in your request.
|
|
717
642
|
*
|
|
718
643
|
* @param request - The request {@link ClonePolicyRequest}
|
|
719
644
|
* @returns A Promise of Policy
|
|
@@ -728,12 +653,7 @@ class API extends api.API {
|
|
|
728
653
|
marshalling_gen.unmarshalPolicy
|
|
729
654
|
);
|
|
730
655
|
/**
|
|
731
|
-
* Set rules of a given policy. Overwrite the rules of a given policy. Any
|
|
732
|
-
* information that you add using this command will overwrite the previous
|
|
733
|
-
* configuration. If you include some of the rules you already had in your
|
|
734
|
-
* previous configuration in your new one, but you change their order, the new
|
|
735
|
-
* order of display will apply. While policy rules are ordered, they have no
|
|
736
|
-
* 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.
|
|
737
657
|
*
|
|
738
658
|
* @param request - The request {@link SetRulesRequest}
|
|
739
659
|
* @returns A Promise of SetRulesResponse
|
|
@@ -765,10 +685,7 @@ class API extends api.API {
|
|
|
765
685
|
marshalling_gen.unmarshalListRulesResponse
|
|
766
686
|
);
|
|
767
687
|
/**
|
|
768
|
-
* List rules of a given policy. List the rules of a given policy. By default,
|
|
769
|
-
* the rules listed are ordered by creation date in ascending order. This can
|
|
770
|
-
* be modified via the `order_by` field. You must define the `policy_id` in
|
|
771
|
-
* 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.
|
|
772
689
|
*
|
|
773
690
|
* @param request - The request {@link ListRulesRequest}
|
|
774
691
|
* @returns A Promise of ListRulesResponse
|
|
@@ -794,9 +711,7 @@ class API extends api.API {
|
|
|
794
711
|
marshalling_gen.unmarshalListPermissionSetsResponse
|
|
795
712
|
);
|
|
796
713
|
/**
|
|
797
|
-
* List permission sets. List permission sets available for given
|
|
798
|
-
* Organization. You must define the `organization_id` in the query path of
|
|
799
|
-
* 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.
|
|
800
715
|
*
|
|
801
716
|
* @param request - The request {@link ListPermissionSetsRequest}
|
|
802
717
|
* @returns A Promise of ListPermissionSetsResponse
|
|
@@ -839,22 +754,14 @@ class API extends api.API {
|
|
|
839
754
|
marshalling_gen.unmarshalListAPIKeysResponse
|
|
840
755
|
);
|
|
841
756
|
/**
|
|
842
|
-
* List API keys. List API keys. By default, the API keys listed are ordered
|
|
843
|
-
* by creation date in ascending order. This can be modified via the
|
|
844
|
-
* `order_by` field. You can define additional parameters for your query such
|
|
845
|
-
* 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`.
|
|
846
758
|
*
|
|
847
759
|
* @param request - The request {@link ListAPIKeysRequest}
|
|
848
760
|
* @returns A Promise of ListAPIKeysResponse
|
|
849
761
|
*/
|
|
850
762
|
listAPIKeys = (request = {}) => resourcePaginator.enrichForPagination("apiKeys", this.pageOfListAPIKeys, request);
|
|
851
763
|
/**
|
|
852
|
-
* Create an API key. Create an API key. You must specify the `application_id`
|
|
853
|
-
* or the `user_id` and the description. You can also specify the
|
|
854
|
-
* `default_project_id`, which is the Project ID of your preferred Project, to
|
|
855
|
-
* use with Object Storage. The `access_key` and `secret_key` values are
|
|
856
|
-
* returned in the response. Note that the secret key is only shown once. Make
|
|
857
|
-
* 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.
|
|
858
765
|
*
|
|
859
766
|
* @param request - The request {@link CreateAPIKeyRequest}
|
|
860
767
|
* @returns A Promise of APIKey
|
|
@@ -871,12 +778,7 @@ class API extends api.API {
|
|
|
871
778
|
marshalling_gen.unmarshalAPIKey
|
|
872
779
|
);
|
|
873
780
|
/**
|
|
874
|
-
* Get an API key. Retrive information about an API key, specified by the
|
|
875
|
-
* `access_key` parameter. The API key's details, including either the
|
|
876
|
-
* `user_id` or `application_id` of its bearer are returned in the response.
|
|
877
|
-
* Note that the string value for the `secret_key` is nullable, and therefore
|
|
878
|
-
* is not displayed in the response. The `secret_key` value is only displayed
|
|
879
|
-
* 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.
|
|
880
782
|
*
|
|
881
783
|
* @param request - The request {@link GetAPIKeyRequest}
|
|
882
784
|
* @returns A Promise of APIKey
|
|
@@ -889,8 +791,7 @@ class API extends api.API {
|
|
|
889
791
|
marshalling_gen.unmarshalAPIKey
|
|
890
792
|
);
|
|
891
793
|
/**
|
|
892
|
-
* Update an API key. Update the parameters of an API key, including
|
|
893
|
-
* `default_project_id` and `description`.
|
|
794
|
+
* Update an API key. Update the parameters of an API key, including `default_project_id` and `description`.
|
|
894
795
|
*
|
|
895
796
|
* @param request - The request {@link UpdateAPIKeyRequest}
|
|
896
797
|
* @returns A Promise of APIKey
|
|
@@ -907,9 +808,7 @@ class API extends api.API {
|
|
|
907
808
|
marshalling_gen.unmarshalAPIKey
|
|
908
809
|
);
|
|
909
810
|
/**
|
|
910
|
-
* Delete an API key. Delete an API key. Note that this action is irreversible
|
|
911
|
-
* and cannot be undone. Make sure you update any configurations using the API
|
|
912
|
-
* 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.
|
|
913
812
|
*
|
|
914
813
|
* @param request - The request {@link DeleteAPIKeyRequest}
|
|
915
814
|
*/
|
|
@@ -938,20 +837,14 @@ class API extends api.API {
|
|
|
938
837
|
marshalling_gen.unmarshalListQuotaResponse
|
|
939
838
|
);
|
|
940
839
|
/**
|
|
941
|
-
* List all quotas in the Organization. List all product and features quota
|
|
942
|
-
* for an Organization, with their associated limits. By default, the quota
|
|
943
|
-
* listed are ordered by creation date in ascending order. This can be
|
|
944
|
-
* modified via the `order_by` field. You must define the `organization_id` in
|
|
945
|
-
* 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.
|
|
946
841
|
*
|
|
947
842
|
* @param request - The request {@link ListQuotaRequest}
|
|
948
843
|
* @returns A Promise of ListQuotaResponse
|
|
949
844
|
*/
|
|
950
845
|
listQuota = (request = {}) => resourcePaginator.enrichForPagination("quota", this.pageOfListQuota, request);
|
|
951
846
|
/**
|
|
952
|
-
* Get a quota in the Organization. Retrieve information about a resource
|
|
953
|
-
* quota, specified by the `quotum_name` parameter. The quota's `limit`, or
|
|
954
|
-
* 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.
|
|
955
848
|
*
|
|
956
849
|
* @param request - The request {@link GetQuotumRequest}
|
|
957
850
|
* @returns A Promise of Quotum
|
|
@@ -1055,18 +948,14 @@ class API extends api.API {
|
|
|
1055
948
|
marshalling_gen.unmarshalListLogsResponse
|
|
1056
949
|
);
|
|
1057
950
|
/**
|
|
1058
|
-
* List logs. List logs available for given Organization. You must define the
|
|
1059
|
-
* `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.
|
|
1060
952
|
*
|
|
1061
953
|
* @param request - The request {@link ListLogsRequest}
|
|
1062
954
|
* @returns A Promise of ListLogsResponse
|
|
1063
955
|
*/
|
|
1064
956
|
listLogs = (request = {}) => resourcePaginator.enrichForPagination("logs", this.pageOfListLogs, request);
|
|
1065
957
|
/**
|
|
1066
|
-
* Get a log. Retrieve information about a log, specified by the `log_id`
|
|
1067
|
-
* parameter. The log's full details, including `id`, `ip`, `user_agent`,
|
|
1068
|
-
* `action`, `bearer_id`, `resource_type` and `resource_id` are returned in
|
|
1069
|
-
* 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.
|
|
1070
959
|
*
|
|
1071
960
|
* @param request - The request {@link GetLogRequest}
|
|
1072
961
|
* @returns A Promise of Log
|
|
@@ -1079,9 +968,7 @@ class API extends api.API {
|
|
|
1079
968
|
marshalling_gen.unmarshalLog
|
|
1080
969
|
);
|
|
1081
970
|
/**
|
|
1082
|
-
* Get security settings of an Organization. Retrieve information about the
|
|
1083
|
-
* security settings of an Organization, specified by the `organization_id`
|
|
1084
|
-
* parameter.
|
|
971
|
+
* Get security settings of an Organization. Retrieve information about the security settings of an Organization, specified by the `organization_id` parameter.
|
|
1085
972
|
*
|
|
1086
973
|
* @param request - The request {@link GetOrganizationSecuritySettingsRequest}
|
|
1087
974
|
* @returns A Promise of OrganizationSecuritySettings
|
|
@@ -1096,8 +983,7 @@ class API extends api.API {
|
|
|
1096
983
|
/**
|
|
1097
984
|
* Update the security settings of an Organization.
|
|
1098
985
|
*
|
|
1099
|
-
* @param request - The request
|
|
1100
|
-
* {@link UpdateOrganizationSecuritySettingsRequest}
|
|
986
|
+
* @param request - The request {@link UpdateOrganizationSecuritySettingsRequest}
|
|
1101
987
|
* @returns A Promise of OrganizationSecuritySettings
|
|
1102
988
|
*/
|
|
1103
989
|
updateOrganizationSecuritySettings = (request = {}) => this.client.fetch(
|