@scaleway/sdk 2.71.0 → 2.72.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -5
- package/dist/api/account/index.gen.d.ts +2 -2
- package/dist/api/account/v2/api.gen.cjs +5 -4
- package/dist/api/account/v2/api.gen.d.ts +1 -1
- package/dist/api/account/v2/api.gen.js +5 -4
- package/dist/api/account/v2/marshalling.gen.cjs +4 -3
- package/dist/api/account/v2/marshalling.gen.d.ts +1 -1
- package/dist/api/account/v2/marshalling.gen.js +4 -3
- package/dist/api/account/v3/api.gen.cjs +5 -4
- package/dist/api/account/v3/api.gen.d.ts +1 -1
- package/dist/api/account/v3/api.gen.js +5 -4
- package/dist/api/account/v3/index.gen.d.ts +1 -1
- package/dist/api/account/v3/marshalling.gen.cjs +4 -3
- package/dist/api/account/v3/marshalling.gen.d.ts +1 -1
- package/dist/api/account/v3/marshalling.gen.js +4 -3
- package/dist/api/applesilicon/index.gen.d.ts +2 -2
- package/dist/api/applesilicon/v1alpha1/api.gen.cjs +6 -5
- package/dist/api/applesilicon/v1alpha1/api.gen.d.ts +2 -2
- package/dist/api/applesilicon/v1alpha1/api.gen.js +6 -5
- package/dist/api/applesilicon/v1alpha1/index.gen.d.ts +1 -1
- package/dist/api/applesilicon/v1alpha1/marshalling.gen.cjs +4 -3
- package/dist/api/applesilicon/v1alpha1/marshalling.gen.d.ts +1 -1
- package/dist/api/applesilicon/v1alpha1/marshalling.gen.js +4 -3
- package/dist/api/applesilicon/v1alpha1/types.gen.d.ts +1 -1
- package/dist/api/audit_trail/index.gen.d.ts +2 -2
- package/dist/api/audit_trail/v1alpha1/api.gen.cjs +4 -3
- package/dist/api/audit_trail/v1alpha1/api.gen.d.ts +2 -2
- package/dist/api/audit_trail/v1alpha1/api.gen.js +4 -3
- package/dist/api/audit_trail/v1alpha1/marshalling.gen.cjs +4 -3
- package/dist/api/audit_trail/v1alpha1/marshalling.gen.js +4 -3
- package/dist/api/audit_trail/v1alpha1/types.gen.d.ts +1 -1
- package/dist/api/baremetal/index.gen.d.ts +2 -2
- package/dist/api/baremetal/v1/api.gen.cjs +6 -5
- package/dist/api/baremetal/v1/api.gen.d.ts +2 -2
- package/dist/api/baremetal/v1/api.gen.js +6 -5
- package/dist/api/baremetal/v1/api.utils.cjs +3 -1
- package/dist/api/baremetal/v1/api.utils.d.ts +1 -1
- package/dist/api/baremetal/v1/api.utils.js +3 -1
- package/dist/api/baremetal/v1/index.gen.d.ts +1 -1
- package/dist/api/baremetal/v1/marshalling.gen.cjs +4 -3
- package/dist/api/baremetal/v1/marshalling.gen.d.ts +1 -1
- package/dist/api/baremetal/v1/marshalling.gen.js +4 -3
- package/dist/api/baremetal/v1/types.gen.d.ts +65 -65
- package/dist/api/baremetal/v3/api.gen.cjs +5 -4
- package/dist/api/baremetal/v3/api.gen.d.ts +2 -2
- package/dist/api/baremetal/v3/api.gen.js +5 -4
- package/dist/api/baremetal/v3/marshalling.gen.cjs +4 -3
- package/dist/api/baremetal/v3/marshalling.gen.d.ts +1 -1
- package/dist/api/baremetal/v3/marshalling.gen.js +4 -3
- package/dist/api/baremetal/v3/types.gen.d.ts +1 -1
- package/dist/api/billing/index.gen.d.ts +2 -2
- package/dist/api/billing/v2alpha1/api.gen.cjs +5 -4
- package/dist/api/billing/v2alpha1/api.gen.d.ts +1 -1
- package/dist/api/billing/v2alpha1/api.gen.js +5 -4
- package/dist/api/billing/v2alpha1/marshalling.gen.cjs +4 -3
- package/dist/api/billing/v2alpha1/marshalling.gen.js +4 -3
- package/dist/api/billing/v2alpha1/types.gen.d.ts +1 -1
- package/dist/api/billing/v2beta1/api.gen.cjs +5 -4
- package/dist/api/billing/v2beta1/api.gen.d.ts +1 -1
- package/dist/api/billing/v2beta1/api.gen.js +5 -4
- package/dist/api/billing/v2beta1/marshalling.gen.cjs +4 -3
- package/dist/api/billing/v2beta1/marshalling.gen.js +4 -3
- package/dist/api/billing/v2beta1/types.gen.d.ts +1 -1
- package/dist/api/block/index.gen.d.ts +2 -2
- package/dist/api/block/v1/api.gen.cjs +6 -5
- package/dist/api/block/v1/api.gen.d.ts +2 -2
- package/dist/api/block/v1/api.gen.js +6 -5
- package/dist/api/block/v1/marshalling.gen.cjs +4 -3
- package/dist/api/block/v1/marshalling.gen.d.ts +1 -1
- package/dist/api/block/v1/marshalling.gen.js +4 -3
- package/dist/api/block/v1/types.gen.d.ts +1 -1
- package/dist/api/block/v1alpha1/api.gen.cjs +6 -5
- package/dist/api/block/v1alpha1/api.gen.d.ts +2 -2
- package/dist/api/block/v1alpha1/api.gen.js +6 -5
- package/dist/api/block/v1alpha1/marshalling.gen.cjs +4 -3
- package/dist/api/block/v1alpha1/marshalling.gen.d.ts +1 -1
- package/dist/api/block/v1alpha1/marshalling.gen.js +4 -3
- package/dist/api/block/v1alpha1/types.gen.d.ts +1 -1
- package/dist/api/cockpit/index.gen.d.ts +2 -2
- package/dist/api/cockpit/v1/api.gen.cjs +5 -4
- package/dist/api/cockpit/v1/api.gen.d.ts +2 -2
- package/dist/api/cockpit/v1/api.gen.js +5 -4
- package/dist/api/cockpit/v1/index.gen.d.ts +1 -1
- package/dist/api/cockpit/v1/marshalling.gen.cjs +4 -3
- package/dist/api/cockpit/v1/marshalling.gen.d.ts +1 -1
- package/dist/api/cockpit/v1/marshalling.gen.js +4 -3
- package/dist/api/cockpit/v1/types.gen.d.ts +1 -1
- package/dist/api/cockpit/v1beta1/api.gen.cjs +6 -5
- package/dist/api/cockpit/v1beta1/api.gen.d.ts +2 -2
- package/dist/api/cockpit/v1beta1/api.gen.js +6 -5
- package/dist/api/cockpit/v1beta1/marshalling.gen.cjs +4 -3
- package/dist/api/cockpit/v1beta1/marshalling.gen.d.ts +1 -1
- package/dist/api/cockpit/v1beta1/marshalling.gen.js +4 -3
- package/dist/api/cockpit/v1beta1/types.gen.d.ts +1 -1
- package/dist/api/container/index.gen.d.ts +2 -2
- package/dist/api/container/v1beta1/api.gen.cjs +6 -5
- package/dist/api/container/v1beta1/api.gen.d.ts +2 -2
- package/dist/api/container/v1beta1/api.gen.js +6 -5
- package/dist/api/container/v1beta1/marshalling.gen.cjs +4 -3
- package/dist/api/container/v1beta1/marshalling.gen.d.ts +1 -1
- package/dist/api/container/v1beta1/marshalling.gen.js +4 -3
- package/dist/api/container/v1beta1/types.gen.d.ts +1 -1
- package/dist/api/dedibox/index.gen.d.ts +2 -2
- package/dist/api/dedibox/v1/api.gen.cjs +6 -5
- package/dist/api/dedibox/v1/api.gen.d.ts +2 -2
- package/dist/api/dedibox/v1/api.gen.js +6 -5
- package/dist/api/dedibox/v1/marshalling.gen.cjs +4 -3
- package/dist/api/dedibox/v1/marshalling.gen.d.ts +1 -1
- package/dist/api/dedibox/v1/marshalling.gen.js +4 -3
- package/dist/api/dedibox/v1/types.gen.d.ts +1 -1
- package/dist/api/document_db/index.gen.d.ts +2 -2
- package/dist/api/document_db/v1beta1/api.gen.cjs +6 -5
- package/dist/api/document_db/v1beta1/api.gen.d.ts +2 -2
- package/dist/api/document_db/v1beta1/api.gen.js +6 -5
- package/dist/api/document_db/v1beta1/marshalling.gen.cjs +4 -3
- package/dist/api/document_db/v1beta1/marshalling.gen.d.ts +1 -1
- package/dist/api/document_db/v1beta1/marshalling.gen.js +4 -3
- package/dist/api/document_db/v1beta1/types.gen.d.ts +1 -1
- package/dist/api/domain/index.gen.d.ts +2 -2
- package/dist/api/domain/v2beta1/api.gen.cjs +6 -5
- package/dist/api/domain/v2beta1/api.gen.d.ts +2 -2
- package/dist/api/domain/v2beta1/api.gen.js +6 -5
- package/dist/api/domain/v2beta1/index.gen.d.ts +1 -1
- package/dist/api/domain/v2beta1/marshalling.gen.cjs +4 -3
- package/dist/api/domain/v2beta1/marshalling.gen.d.ts +1 -1
- package/dist/api/domain/v2beta1/marshalling.gen.js +4 -3
- package/dist/api/domain/v2beta1/types.gen.d.ts +1 -1
- package/dist/api/edge_services/index.gen.d.ts +2 -2
- package/dist/api/edge_services/v1alpha1/api.gen.cjs +6 -5
- package/dist/api/edge_services/v1alpha1/api.gen.d.ts +2 -2
- package/dist/api/edge_services/v1alpha1/api.gen.js +6 -5
- package/dist/api/edge_services/v1alpha1/marshalling.gen.cjs +4 -3
- package/dist/api/edge_services/v1alpha1/marshalling.gen.d.ts +1 -1
- package/dist/api/edge_services/v1alpha1/marshalling.gen.js +4 -3
- package/dist/api/edge_services/v1alpha1/types.gen.d.ts +1 -1
- package/dist/api/edge_services/v1beta1/api.gen.cjs +49 -136
- package/dist/api/edge_services/v1beta1/api.gen.d.ts +48 -134
- package/dist/api/edge_services/v1beta1/api.gen.js +49 -136
- package/dist/api/edge_services/v1beta1/marshalling.gen.cjs +4 -3
- package/dist/api/edge_services/v1beta1/marshalling.gen.d.ts +1 -1
- package/dist/api/edge_services/v1beta1/marshalling.gen.js +4 -3
- package/dist/api/edge_services/v1beta1/types.gen.d.ts +584 -380
- package/dist/api/flexibleip/index.gen.d.ts +2 -2
- package/dist/api/flexibleip/v1alpha1/api.gen.cjs +6 -5
- package/dist/api/flexibleip/v1alpha1/api.gen.d.ts +2 -2
- package/dist/api/flexibleip/v1alpha1/api.gen.js +6 -5
- package/dist/api/flexibleip/v1alpha1/marshalling.gen.cjs +4 -3
- package/dist/api/flexibleip/v1alpha1/marshalling.gen.d.ts +1 -1
- package/dist/api/flexibleip/v1alpha1/marshalling.gen.js +4 -3
- package/dist/api/flexibleip/v1alpha1/types.gen.d.ts +1 -1
- package/dist/api/function/index.gen.d.ts +2 -2
- package/dist/api/function/v1beta1/api.gen.cjs +20 -33
- package/dist/api/function/v1beta1/api.gen.d.ts +18 -32
- package/dist/api/function/v1beta1/api.gen.js +20 -33
- package/dist/api/function/v1beta1/marshalling.gen.cjs +4 -3
- package/dist/api/function/v1beta1/marshalling.gen.d.ts +1 -1
- package/dist/api/function/v1beta1/marshalling.gen.js +4 -3
- package/dist/api/function/v1beta1/types.gen.d.ts +617 -288
- package/dist/api/iam/index.gen.d.ts +2 -2
- package/dist/api/iam/v1alpha1/api.gen.cjs +56 -176
- package/dist/api/iam/v1alpha1/api.gen.d.ts +54 -176
- package/dist/api/iam/v1alpha1/api.gen.js +56 -176
- package/dist/api/iam/v1alpha1/marshalling.gen.cjs +4 -3
- package/dist/api/iam/v1alpha1/marshalling.gen.d.ts +1 -1
- package/dist/api/iam/v1alpha1/marshalling.gen.js +4 -3
- package/dist/api/iam/v1alpha1/types.gen.d.ts +980 -373
- package/dist/api/index.gen.d.ts +2 -2
- package/dist/api/inference/index.gen.d.ts +2 -2
- package/dist/api/inference/v1/api.gen.cjs +6 -5
- package/dist/api/inference/v1/api.gen.d.ts +2 -2
- package/dist/api/inference/v1/api.gen.js +6 -5
- package/dist/api/inference/v1/marshalling.gen.cjs +4 -3
- package/dist/api/inference/v1/marshalling.gen.d.ts +1 -1
- package/dist/api/inference/v1/marshalling.gen.js +4 -3
- package/dist/api/inference/v1/types.gen.d.ts +1 -1
- package/dist/api/inference/v1beta1/api.gen.cjs +6 -5
- package/dist/api/inference/v1beta1/api.gen.d.ts +2 -2
- package/dist/api/inference/v1beta1/api.gen.js +6 -5
- package/dist/api/inference/v1beta1/marshalling.gen.cjs +4 -3
- package/dist/api/inference/v1beta1/marshalling.gen.d.ts +1 -1
- package/dist/api/inference/v1beta1/marshalling.gen.js +4 -3
- package/dist/api/inference/v1beta1/types.gen.d.ts +1 -1
- package/dist/api/instance/index.gen.d.ts +2 -2
- package/dist/api/instance/v1/api.gen.cjs +5 -4
- package/dist/api/instance/v1/api.gen.d.ts +2 -2
- package/dist/api/instance/v1/api.gen.js +5 -4
- package/dist/api/instance/v1/api.utils.cjs +4 -3
- package/dist/api/instance/v1/api.utils.d.ts +1 -1
- package/dist/api/instance/v1/api.utils.js +4 -3
- package/dist/api/instance/v1/marshalling.gen.cjs +4 -3
- package/dist/api/instance/v1/marshalling.gen.d.ts +1 -1
- package/dist/api/instance/v1/marshalling.gen.js +4 -3
- package/dist/api/instance/v1/marshalling.utils.d.ts +1 -1
- package/dist/api/instance/v1/types.gen.d.ts +1 -1
- package/dist/api/instance/v1/types.private.gen.d.ts +1 -1
- package/dist/api/instance/v1/types.utils.d.ts +1 -1
- package/dist/api/interlink/index.gen.d.ts +2 -2
- package/dist/api/interlink/v1beta1/api.gen.cjs +101 -11
- package/dist/api/interlink/v1beta1/api.gen.d.ts +50 -10
- package/dist/api/interlink/v1beta1/api.gen.js +102 -12
- package/dist/api/interlink/v1beta1/content.gen.cjs +6 -0
- package/dist/api/interlink/v1beta1/content.gen.d.ts +5 -0
- package/dist/api/interlink/v1beta1/content.gen.js +6 -0
- package/dist/api/interlink/v1beta1/index.gen.cjs +3 -0
- package/dist/api/interlink/v1beta1/index.gen.d.ts +2 -1
- package/dist/api/interlink/v1beta1/index.gen.js +3 -0
- package/dist/api/interlink/v1beta1/marshalling.gen.cjs +82 -8
- package/dist/api/interlink/v1beta1/marshalling.gen.d.ts +4 -2
- package/dist/api/interlink/v1beta1/marshalling.gen.js +82 -8
- package/dist/api/interlink/v1beta1/types.gen.d.ts +145 -43
- package/dist/api/interlink/v1beta1/validation-rules.gen.cjs +17 -0
- package/dist/api/interlink/v1beta1/validation-rules.gen.d.ts +15 -0
- package/dist/api/interlink/v1beta1/validation-rules.gen.js +17 -0
- package/dist/api/iot/index.gen.d.ts +2 -2
- package/dist/api/iot/v1/api.gen.cjs +6 -5
- package/dist/api/iot/v1/api.gen.d.ts +2 -2
- package/dist/api/iot/v1/api.gen.js +6 -5
- package/dist/api/iot/v1/marshalling.gen.cjs +4 -3
- package/dist/api/iot/v1/marshalling.gen.d.ts +1 -1
- package/dist/api/iot/v1/marshalling.gen.js +4 -3
- package/dist/api/iot/v1/types.gen.d.ts +1 -1
- package/dist/api/ipam/index.gen.d.ts +2 -2
- package/dist/api/ipam/v1/api.gen.cjs +5 -4
- package/dist/api/ipam/v1/api.gen.d.ts +2 -2
- package/dist/api/ipam/v1/api.gen.js +5 -4
- package/dist/api/ipam/v1/marshalling.gen.cjs +4 -3
- package/dist/api/ipam/v1/marshalling.gen.d.ts +1 -1
- package/dist/api/ipam/v1/marshalling.gen.js +4 -3
- package/dist/api/ipam/v1/types.gen.d.ts +1 -1
- package/dist/api/ipfs/index.gen.d.ts +2 -2
- package/dist/api/ipfs/v1alpha1/api.gen.cjs +6 -5
- package/dist/api/ipfs/v1alpha1/api.gen.d.ts +2 -2
- package/dist/api/ipfs/v1alpha1/api.gen.js +6 -5
- package/dist/api/ipfs/v1alpha1/marshalling.gen.cjs +4 -3
- package/dist/api/ipfs/v1alpha1/marshalling.gen.d.ts +1 -1
- package/dist/api/ipfs/v1alpha1/marshalling.gen.js +4 -3
- package/dist/api/ipfs/v1alpha1/types.gen.d.ts +1 -1
- package/dist/api/jobs/index.gen.d.ts +2 -2
- package/dist/api/jobs/v1alpha1/api.gen.cjs +5 -4
- package/dist/api/jobs/v1alpha1/api.gen.d.ts +2 -2
- package/dist/api/jobs/v1alpha1/api.gen.js +5 -4
- package/dist/api/jobs/v1alpha1/marshalling.gen.cjs +4 -3
- package/dist/api/jobs/v1alpha1/marshalling.gen.d.ts +1 -1
- package/dist/api/jobs/v1alpha1/marshalling.gen.js +4 -3
- package/dist/api/jobs/v1alpha1/types.gen.d.ts +1 -1
- package/dist/api/k8s/index.gen.d.ts +2 -2
- package/dist/api/k8s/v1/api.gen.cjs +6 -5
- package/dist/api/k8s/v1/api.gen.d.ts +2 -2
- package/dist/api/k8s/v1/api.gen.js +6 -5
- package/dist/api/k8s/v1/marshalling.gen.cjs +4 -3
- package/dist/api/k8s/v1/marshalling.gen.d.ts +1 -1
- package/dist/api/k8s/v1/marshalling.gen.js +4 -3
- package/dist/api/k8s/v1/types.gen.d.ts +1 -1
- package/dist/api/key_manager/index.gen.d.ts +2 -2
- package/dist/api/key_manager/v1alpha1/api.gen.cjs +5 -4
- package/dist/api/key_manager/v1alpha1/api.gen.d.ts +2 -2
- package/dist/api/key_manager/v1alpha1/api.gen.js +5 -4
- package/dist/api/key_manager/v1alpha1/marshalling.gen.cjs +4 -3
- package/dist/api/key_manager/v1alpha1/marshalling.gen.d.ts +1 -1
- package/dist/api/key_manager/v1alpha1/marshalling.gen.js +4 -3
- package/dist/api/key_manager/v1alpha1/types.gen.d.ts +1 -1
- package/dist/api/lb/index.gen.d.ts +2 -2
- package/dist/api/lb/v1/api.gen.cjs +68 -178
- package/dist/api/lb/v1/api.gen.d.ts +60 -176
- package/dist/api/lb/v1/api.gen.js +69 -179
- package/dist/api/lb/v1/api.utils.cjs +3 -1
- package/dist/api/lb/v1/api.utils.d.ts +1 -1
- package/dist/api/lb/v1/api.utils.js +3 -1
- package/dist/api/lb/v1/index.gen.d.ts +1 -1
- package/dist/api/lb/v1/marshalling.gen.cjs +9 -3
- package/dist/api/lb/v1/marshalling.gen.d.ts +3 -2
- package/dist/api/lb/v1/marshalling.gen.js +9 -3
- package/dist/api/lb/v1/types.gen.d.ts +1835 -1117
- package/dist/api/lb/v1/types.utils.d.ts +1 -1
- package/dist/api/llm_inference/index.gen.d.ts +2 -2
- package/dist/api/llm_inference/v1beta1/api.gen.cjs +6 -5
- package/dist/api/llm_inference/v1beta1/api.gen.d.ts +2 -2
- package/dist/api/llm_inference/v1beta1/api.gen.js +6 -5
- package/dist/api/llm_inference/v1beta1/marshalling.gen.cjs +4 -3
- package/dist/api/llm_inference/v1beta1/marshalling.gen.d.ts +1 -1
- package/dist/api/llm_inference/v1beta1/marshalling.gen.js +4 -3
- package/dist/api/llm_inference/v1beta1/types.gen.d.ts +1 -1
- package/dist/api/marketplace/index.gen.d.ts +2 -2
- package/dist/api/marketplace/v2/api.gen.cjs +5 -4
- package/dist/api/marketplace/v2/api.gen.d.ts +1 -1
- package/dist/api/marketplace/v2/api.gen.js +5 -4
- package/dist/api/marketplace/v2/marshalling.gen.cjs +4 -3
- package/dist/api/marketplace/v2/marshalling.gen.js +4 -3
- package/dist/api/marketplace/v2/types.gen.d.ts +1 -1
- package/dist/api/mnq/index.gen.d.ts +2 -2
- package/dist/api/mnq/v1beta1/api.gen.cjs +5 -4
- package/dist/api/mnq/v1beta1/api.gen.d.ts +2 -2
- package/dist/api/mnq/v1beta1/api.gen.js +5 -4
- package/dist/api/mnq/v1beta1/index.gen.d.ts +1 -1
- package/dist/api/mnq/v1beta1/marshalling.gen.cjs +4 -3
- package/dist/api/mnq/v1beta1/marshalling.gen.d.ts +1 -1
- package/dist/api/mnq/v1beta1/marshalling.gen.js +4 -3
- package/dist/api/mnq/v1beta1/types.gen.d.ts +1 -1
- package/dist/api/mongodb/index.gen.d.ts +2 -2
- package/dist/api/mongodb/v1alpha1/api.gen.cjs +6 -5
- package/dist/api/mongodb/v1alpha1/api.gen.d.ts +2 -2
- package/dist/api/mongodb/v1alpha1/api.gen.js +6 -5
- package/dist/api/mongodb/v1alpha1/marshalling.gen.cjs +4 -3
- package/dist/api/mongodb/v1alpha1/marshalling.gen.d.ts +1 -1
- package/dist/api/mongodb/v1alpha1/marshalling.gen.js +4 -3
- package/dist/api/mongodb/v1alpha1/types.gen.d.ts +1 -1
- package/dist/api/qaas/index.gen.d.ts +2 -2
- package/dist/api/qaas/v1alpha1/api.gen.cjs +6 -5
- package/dist/api/qaas/v1alpha1/api.gen.d.ts +2 -2
- package/dist/api/qaas/v1alpha1/api.gen.js +6 -5
- package/dist/api/qaas/v1alpha1/marshalling.gen.cjs +4 -3
- package/dist/api/qaas/v1alpha1/marshalling.gen.d.ts +1 -1
- package/dist/api/qaas/v1alpha1/marshalling.gen.js +4 -3
- package/dist/api/qaas/v1alpha1/types.gen.d.ts +1 -1
- package/dist/api/rdb/index.gen.d.ts +2 -2
- package/dist/api/rdb/v1/api.gen.cjs +6 -5
- package/dist/api/rdb/v1/api.gen.d.ts +2 -2
- package/dist/api/rdb/v1/api.gen.js +6 -5
- package/dist/api/rdb/v1/marshalling.gen.cjs +4 -3
- package/dist/api/rdb/v1/marshalling.gen.d.ts +1 -1
- package/dist/api/rdb/v1/marshalling.gen.js +4 -3
- package/dist/api/rdb/v1/types.gen.d.ts +1 -1
- package/dist/api/redis/index.gen.d.ts +2 -2
- package/dist/api/redis/v1/api.gen.cjs +6 -5
- package/dist/api/redis/v1/api.gen.d.ts +2 -2
- package/dist/api/redis/v1/api.gen.js +6 -5
- package/dist/api/redis/v1/marshalling.gen.cjs +4 -3
- package/dist/api/redis/v1/marshalling.gen.d.ts +1 -1
- package/dist/api/redis/v1/marshalling.gen.js +4 -3
- package/dist/api/redis/v1/types.gen.d.ts +1 -1
- package/dist/api/registry/index.gen.d.ts +2 -2
- package/dist/api/registry/v1/api.gen.cjs +6 -5
- package/dist/api/registry/v1/api.gen.d.ts +2 -2
- package/dist/api/registry/v1/api.gen.js +6 -5
- package/dist/api/registry/v1/marshalling.gen.cjs +4 -3
- package/dist/api/registry/v1/marshalling.gen.d.ts +1 -1
- package/dist/api/registry/v1/marshalling.gen.js +4 -3
- package/dist/api/registry/v1/types.gen.d.ts +1 -1
- package/dist/api/secret/index.gen.d.ts +2 -2
- package/dist/api/secret/v1alpha1/api.gen.cjs +5 -4
- package/dist/api/secret/v1alpha1/api.gen.d.ts +2 -2
- package/dist/api/secret/v1alpha1/api.gen.js +5 -4
- package/dist/api/secret/v1alpha1/marshalling.gen.cjs +4 -3
- package/dist/api/secret/v1alpha1/marshalling.gen.d.ts +1 -1
- package/dist/api/secret/v1alpha1/marshalling.gen.js +4 -3
- package/dist/api/secret/v1alpha1/types.gen.d.ts +1 -1
- package/dist/api/secret/v1beta1/api.gen.cjs +5 -4
- package/dist/api/secret/v1beta1/api.gen.d.ts +2 -2
- package/dist/api/secret/v1beta1/api.gen.js +5 -4
- package/dist/api/secret/v1beta1/marshalling.gen.cjs +4 -3
- package/dist/api/secret/v1beta1/marshalling.gen.d.ts +1 -1
- package/dist/api/secret/v1beta1/marshalling.gen.js +4 -3
- package/dist/api/secret/v1beta1/types.gen.d.ts +1 -1
- package/dist/api/serverless_sqldb/index.gen.d.ts +2 -2
- package/dist/api/serverless_sqldb/v1alpha1/api.gen.cjs +6 -5
- package/dist/api/serverless_sqldb/v1alpha1/api.gen.d.ts +2 -2
- package/dist/api/serverless_sqldb/v1alpha1/api.gen.js +6 -5
- package/dist/api/serverless_sqldb/v1alpha1/marshalling.gen.cjs +4 -3
- package/dist/api/serverless_sqldb/v1alpha1/marshalling.gen.d.ts +1 -1
- package/dist/api/serverless_sqldb/v1alpha1/marshalling.gen.js +4 -3
- package/dist/api/serverless_sqldb/v1alpha1/types.gen.d.ts +1 -1
- package/dist/api/tem/index.gen.d.ts +2 -2
- package/dist/api/tem/v1alpha1/api.gen.cjs +6 -5
- package/dist/api/tem/v1alpha1/api.gen.d.ts +2 -2
- package/dist/api/tem/v1alpha1/api.gen.js +6 -5
- package/dist/api/tem/v1alpha1/marshalling.gen.cjs +4 -3
- package/dist/api/tem/v1alpha1/marshalling.gen.d.ts +1 -1
- package/dist/api/tem/v1alpha1/marshalling.gen.js +4 -3
- package/dist/api/tem/v1alpha1/types.gen.d.ts +1 -1
- package/dist/api/test/index.gen.d.ts +2 -2
- package/dist/api/test/v1/api.gen.cjs +6 -5
- package/dist/api/test/v1/api.gen.d.ts +2 -2
- package/dist/api/test/v1/api.gen.js +6 -5
- package/dist/api/test/v1/marshalling.gen.cjs +4 -3
- package/dist/api/test/v1/marshalling.gen.d.ts +1 -1
- package/dist/api/test/v1/marshalling.gen.js +4 -3
- package/dist/api/vpc/index.gen.d.ts +2 -2
- package/dist/api/vpc/v1/api.gen.cjs +5 -4
- package/dist/api/vpc/v1/api.gen.d.ts +2 -2
- package/dist/api/vpc/v1/api.gen.js +5 -4
- package/dist/api/vpc/v1/marshalling.gen.cjs +4 -3
- package/dist/api/vpc/v1/marshalling.gen.d.ts +1 -1
- package/dist/api/vpc/v1/marshalling.gen.js +4 -3
- package/dist/api/vpc/v1/types.gen.d.ts +1 -1
- package/dist/api/vpc/v2/api.gen.cjs +18 -53
- package/dist/api/vpc/v2/api.gen.d.ts +18 -45
- package/dist/api/vpc/v2/api.gen.js +19 -54
- package/dist/api/vpc/v2/index.gen.d.ts +1 -1
- package/dist/api/vpc/v2/marshalling.gen.cjs +4 -18
- package/dist/api/vpc/v2/marshalling.gen.d.ts +2 -4
- package/dist/api/vpc/v2/marshalling.gen.js +4 -18
- package/dist/api/vpc/v2/types.gen.d.ts +333 -200
- package/dist/api/vpcgw/index.gen.d.ts +2 -2
- package/dist/api/vpcgw/v1/api.gen.cjs +42 -140
- package/dist/api/vpcgw/v1/api.gen.d.ts +40 -139
- package/dist/api/vpcgw/v1/api.gen.js +42 -140
- package/dist/api/vpcgw/v1/marshalling.gen.cjs +4 -3
- package/dist/api/vpcgw/v1/marshalling.gen.d.ts +1 -1
- package/dist/api/vpcgw/v1/marshalling.gen.js +4 -3
- package/dist/api/vpcgw/v1/types.gen.d.ts +784 -366
- package/dist/api/vpcgw/v2/api.gen.cjs +33 -93
- package/dist/api/vpcgw/v2/api.gen.d.ts +31 -92
- package/dist/api/vpcgw/v2/api.gen.js +33 -93
- package/dist/api/vpcgw/v2/marshalling.gen.cjs +4 -3
- package/dist/api/vpcgw/v2/marshalling.gen.d.ts +1 -1
- package/dist/api/vpcgw/v2/marshalling.gen.js +4 -3
- package/dist/api/vpcgw/v2/types.gen.d.ts +546 -197
- package/dist/api/webhosting/index.gen.d.ts +2 -2
- package/dist/api/webhosting/v1/api.gen.cjs +28 -55
- package/dist/api/webhosting/v1/api.gen.d.ts +40 -71
- package/dist/api/webhosting/v1/api.gen.js +28 -55
- package/dist/api/webhosting/v1/marshalling.gen.cjs +4 -3
- package/dist/api/webhosting/v1/marshalling.gen.d.ts +1 -1
- package/dist/api/webhosting/v1/marshalling.gen.js +4 -3
- package/dist/api/webhosting/v1/types.gen.d.ts +700 -351
- package/dist/client/dist/helpers/is-browser.cjs +4 -0
- package/dist/client/dist/helpers/is-browser.js +4 -0
- package/dist/client/dist/package.json.cjs +67 -0
- package/dist/client/dist/package.json.js +67 -0
- package/dist/client/dist/scw/constants.cjs +7 -0
- package/dist/{scw → client/dist/scw}/constants.js +2 -1
- package/dist/{vendor → client/dist/vendor}/base64/index.cjs +8 -4
- package/dist/{vendor → client/dist/vendor}/base64/index.js +8 -4
- package/dist/index.cjs +16 -16
- package/dist/index.d.ts +1 -15
- package/dist/index.js +13 -13
- package/node_modules/@scaleway/sdk-client/LICENSE +191 -0
- package/node_modules/@scaleway/sdk-client/README.md +36 -0
- package/node_modules/@scaleway/sdk-client/dist/helpers/is-browser.cjs +4 -0
- package/node_modules/@scaleway/sdk-client/dist/helpers/is-browser.js +4 -0
- package/node_modules/@scaleway/sdk-client/dist/helpers/is-response.cjs +4 -0
- package/node_modules/@scaleway/sdk-client/dist/helpers/is-response.js +4 -0
- package/node_modules/@scaleway/sdk-client/dist/helpers/json.cjs +7 -0
- package/{dist → node_modules/@scaleway/sdk-client/dist}/helpers/json.d.ts +2 -2
- package/node_modules/@scaleway/sdk-client/dist/helpers/json.js +7 -0
- package/node_modules/@scaleway/sdk-client/dist/helpers/marshalling.cjs +76 -0
- package/node_modules/@scaleway/sdk-client/dist/helpers/marshalling.js +76 -0
- package/node_modules/@scaleway/sdk-client/dist/index.cjs +52 -0
- package/node_modules/@scaleway/sdk-client/dist/index.d.ts +15 -0
- package/node_modules/@scaleway/sdk-client/dist/index.js +52 -0
- package/node_modules/@scaleway/sdk-client/dist/internal/async/interval-retrier.cjs +53 -0
- package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/async/interval-retrier.d.ts +2 -2
- package/node_modules/@scaleway/sdk-client/dist/internal/async/interval-retrier.js +53 -0
- package/node_modules/@scaleway/sdk-client/dist/internal/async/sleep.cjs +6 -0
- package/node_modules/@scaleway/sdk-client/dist/internal/async/sleep.js +6 -0
- package/node_modules/@scaleway/sdk-client/dist/internal/interceptors/composer.cjs +25 -0
- package/node_modules/@scaleway/sdk-client/dist/internal/interceptors/composer.js +25 -0
- package/node_modules/@scaleway/sdk-client/dist/internal/interceptors/helpers.cjs +12 -0
- package/node_modules/@scaleway/sdk-client/dist/internal/interceptors/helpers.js +12 -0
- package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/interceptors/types.d.ts +2 -2
- package/node_modules/@scaleway/sdk-client/dist/internal/logger/console-logger.cjs +24 -0
- package/node_modules/@scaleway/sdk-client/dist/internal/logger/console-logger.js +24 -0
- package/node_modules/@scaleway/sdk-client/dist/internal/logger/index.cjs +12 -0
- package/node_modules/@scaleway/sdk-client/dist/internal/logger/index.js +12 -0
- package/node_modules/@scaleway/sdk-client/dist/internal/logger/level-resolver.cjs +13 -0
- package/node_modules/@scaleway/sdk-client/dist/internal/logger/level-resolver.js +13 -0
- package/node_modules/@scaleway/sdk-client/dist/internal/validations/string-validation.cjs +30 -0
- package/node_modules/@scaleway/sdk-client/dist/internal/validations/string-validation.js +30 -0
- package/node_modules/@scaleway/sdk-client/dist/package.json.cjs +67 -0
- package/node_modules/@scaleway/sdk-client/dist/package.json.js +67 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/api.cjs +8 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/api.js +8 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/auth.cjs +26 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/auth.js +26 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/client-ini-factory.cjs +66 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/client-ini-factory.js +66 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/client-ini-profile.cjs +23 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/client-ini-profile.js +23 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/client-settings.cjs +51 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/client-settings.js +51 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/client.cjs +31 -0
- package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/client.d.ts +2 -2
- package/node_modules/@scaleway/sdk-client/dist/scw/client.js +31 -0
- package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/constants.cjs +2 -1
- package/node_modules/@scaleway/sdk-client/dist/scw/constants.d.ts +2 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/constants.js +7 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/custom-marshalling.cjs +126 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/custom-marshalling.js +126 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/custom-types.cjs +11 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/custom-types.js +11 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/error-parser.cjs +76 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/error-parser.js +76 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/non-standard/invalid-request-mapper.cjs +36 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/non-standard/invalid-request-mapper.js +36 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/non-standard/unknown-resource-mapper.cjs +23 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/non-standard/unknown-resource-mapper.js +23 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/scw-error.cjs +43 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/scw-error.js +43 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/already-exists-error.cjs +31 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/already-exists-error.js +31 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/denied-authentication-error.cjs +37 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/denied-authentication-error.js +37 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/index.cjs +28 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/index.js +28 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/invalid-arguments-error.cjs +54 -0
- package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/invalid-arguments-error.d.ts +2 -2
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/invalid-arguments-error.js +54 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/out-of-stock-error.cjs +17 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/out-of-stock-error.js +17 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/permissions-denied-error.cjs +29 -0
- package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/permissions-denied-error.d.ts +2 -2
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/permissions-denied-error.js +29 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/precondition-failed-error.cjs +32 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/precondition-failed-error.js +32 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/quotas-exceeded-error.cjs +43 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/quotas-exceeded-error.js +43 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/resource-expired-error.cjs +31 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/resource-expired-error.js +31 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/resource-locked-error.cjs +20 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/resource-locked-error.js +20 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/resource-not-found-error.cjs +24 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/resource-not-found-error.js +24 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/too-many-requests-error.cjs +58 -0
- package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/too-many-requests-error.d.ts +2 -2
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/too-many-requests-error.js +58 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/transient-state-error.cjs +31 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/transient-state-error.js +31 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/types.cjs +15 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/types.js +15 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/fetch/build-fetcher.cjs +60 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/fetch/build-fetcher.js +60 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/fetch/http-dumper.cjs +20 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/fetch/http-dumper.js +20 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/fetch/http-interceptors.cjs +43 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/fetch/http-interceptors.js +43 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/fetch/resource-paginator.cjs +36 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/fetch/resource-paginator.js +36 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/fetch/response-parser.cjs +55 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/fetch/response-parser.js +55 -0
- package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/fetch/types.d.ts +2 -2
- package/node_modules/@scaleway/sdk-client/dist/vendor/base64/index.cjs +46 -0
- package/node_modules/@scaleway/sdk-client/dist/vendor/base64/index.js +46 -0
- package/node_modules/@scaleway/sdk-client/package.json +37 -0
- package/package.json +6 -5
- package/dist/helpers/is-browser.cjs +0 -7
- package/dist/helpers/is-browser.js +0 -7
- package/dist/scw/constants.d.ts +0 -2
- /package/dist/{helpers → client/dist/helpers}/is-response.cjs +0 -0
- /package/dist/{helpers → client/dist/helpers}/is-response.js +0 -0
- /package/dist/{helpers → client/dist/helpers}/json.cjs +0 -0
- /package/dist/{helpers → client/dist/helpers}/json.js +0 -0
- /package/dist/{helpers → client/dist/helpers}/marshalling.cjs +0 -0
- /package/dist/{helpers → client/dist/helpers}/marshalling.js +0 -0
- /package/dist/{internal → client/dist/internal}/async/interval-retrier.cjs +0 -0
- /package/dist/{internal → client/dist/internal}/async/interval-retrier.js +0 -0
- /package/dist/{internal → client/dist/internal}/async/sleep.cjs +0 -0
- /package/dist/{internal → client/dist/internal}/async/sleep.js +0 -0
- /package/dist/{internal → client/dist/internal}/interceptors/composer.cjs +0 -0
- /package/dist/{internal → client/dist/internal}/interceptors/composer.js +0 -0
- /package/dist/{internal → client/dist/internal}/interceptors/helpers.cjs +0 -0
- /package/dist/{internal → client/dist/internal}/interceptors/helpers.js +0 -0
- /package/dist/{internal → client/dist/internal}/logger/console-logger.cjs +0 -0
- /package/dist/{internal → client/dist/internal}/logger/console-logger.js +0 -0
- /package/dist/{internal → client/dist/internal}/logger/index.cjs +0 -0
- /package/dist/{internal → client/dist/internal}/logger/index.js +0 -0
- /package/dist/{internal → client/dist/internal}/logger/level-resolver.cjs +0 -0
- /package/dist/{internal → client/dist/internal}/logger/level-resolver.js +0 -0
- /package/dist/{internal → client/dist/internal}/validations/string-validation.cjs +0 -0
- /package/dist/{internal → client/dist/internal}/validations/string-validation.js +0 -0
- /package/dist/{scw → client/dist/scw}/api.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/api.js +0 -0
- /package/dist/{scw → client/dist/scw}/auth.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/auth.js +0 -0
- /package/dist/{scw → client/dist/scw}/client-ini-factory.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/client-ini-factory.js +0 -0
- /package/dist/{scw → client/dist/scw}/client-ini-profile.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/client-ini-profile.js +0 -0
- /package/dist/{scw → client/dist/scw}/client-settings.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/client-settings.js +0 -0
- /package/dist/{scw → client/dist/scw}/client.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/client.js +0 -0
- /package/dist/{scw → client/dist/scw}/custom-marshalling.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/custom-marshalling.js +0 -0
- /package/dist/{scw → client/dist/scw}/custom-types.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/custom-types.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/error-parser.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/error-parser.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/non-standard/invalid-request-mapper.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/non-standard/invalid-request-mapper.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/non-standard/unknown-resource-mapper.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/non-standard/unknown-resource-mapper.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/scw-error.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/scw-error.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/already-exists-error.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/already-exists-error.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/denied-authentication-error.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/denied-authentication-error.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/index.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/index.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/invalid-arguments-error.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/invalid-arguments-error.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/out-of-stock-error.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/out-of-stock-error.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/permissions-denied-error.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/permissions-denied-error.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/precondition-failed-error.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/precondition-failed-error.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/quotas-exceeded-error.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/quotas-exceeded-error.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/resource-expired-error.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/resource-expired-error.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/resource-locked-error.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/resource-locked-error.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/resource-not-found-error.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/resource-not-found-error.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/too-many-requests-error.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/too-many-requests-error.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/transient-state-error.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/transient-state-error.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/types.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/types.js +0 -0
- /package/dist/{scw → client/dist/scw}/fetch/build-fetcher.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/fetch/build-fetcher.js +0 -0
- /package/dist/{scw → client/dist/scw}/fetch/http-dumper.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/fetch/http-dumper.js +0 -0
- /package/dist/{scw → client/dist/scw}/fetch/http-interceptors.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/fetch/http-interceptors.js +0 -0
- /package/dist/{scw → client/dist/scw}/fetch/resource-paginator.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/fetch/resource-paginator.js +0 -0
- /package/dist/{scw → client/dist/scw}/fetch/response-parser.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/fetch/response-parser.js +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/bridge.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/helpers/is-browser.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/helpers/is-response.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/helpers/marshalling.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/async/sleep.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/interceptors/composer.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/interceptors/helpers.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/logger/console-logger.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/logger/index.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/logger/level-resolver.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/logger/logger.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/validations/string-validation.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/internals.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/api.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/auth.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/client-ini-factory.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/client-ini-profile.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/client-settings.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/custom-marshalling.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/custom-types.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/error-parser.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/non-standard/invalid-request-mapper.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/non-standard/unknown-resource-mapper.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/scw-error-from-json.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/scw-error.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/already-exists-error.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/denied-authentication-error.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/index.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/out-of-stock-error.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/precondition-failed-error.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/quotas-exceeded-error.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/resource-expired-error.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/resource-locked-error.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/resource-not-found-error.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/transient-state-error.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/types.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/fetch/build-fetcher.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/fetch/http-dumper.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/fetch/http-interceptors.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/fetch/resource-paginator.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/fetch/response-parser.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/locality.d.ts +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Region as ScwRegion, Zone as ScwZone } from '
|
|
1
|
+
import type { Region as ScwRegion, Zone as ScwZone } from '@scaleway/sdk-client';
|
|
2
2
|
export type BearerType = 'unknown_bearer_type' | 'user' | 'application';
|
|
3
3
|
export type GracePeriodType = 'unknown_grace_period_type' | 'update_password' | 'set_mfa';
|
|
4
4
|
export type ListAPIKeysRequestOrderBy = 'created_at_asc' | 'created_at_desc' | 'updated_at_asc' | 'updated_at_desc' | 'expires_at_asc' | 'expires_at_desc' | 'access_key_asc' | 'access_key_desc';
|
|
@@ -31,22 +31,19 @@ export interface QuotumLimit {
|
|
|
31
31
|
/**
|
|
32
32
|
* Whether or not the limit is applied globally.
|
|
33
33
|
*
|
|
34
|
-
* One-of ('locality'): at most one of 'global', 'region', 'zone' could be
|
|
35
|
-
* set.
|
|
34
|
+
* One-of ('locality'): at most one of 'global', 'region', 'zone' could be set.
|
|
36
35
|
*/
|
|
37
36
|
global?: boolean;
|
|
38
37
|
/**
|
|
39
38
|
* The region on which the limit is applied.
|
|
40
39
|
*
|
|
41
|
-
* One-of ('locality'): at most one of 'global', 'region', 'zone' could be
|
|
42
|
-
* set.
|
|
40
|
+
* One-of ('locality'): at most one of 'global', 'region', 'zone' could be set.
|
|
43
41
|
*/
|
|
44
42
|
region?: ScwRegion;
|
|
45
43
|
/**
|
|
46
44
|
* The zone on which the limit is applied.
|
|
47
45
|
*
|
|
48
|
-
* One-of ('locality'): at most one of 'global', 'region', 'zone' could be
|
|
49
|
-
* set.
|
|
46
|
+
* One-of ('locality'): at most one of 'global', 'region', 'zone' could be set.
|
|
50
47
|
*/
|
|
51
48
|
zone?: ScwZone;
|
|
52
49
|
/**
|
|
@@ -63,76 +60,117 @@ export interface QuotumLimit {
|
|
|
63
60
|
unlimited?: boolean;
|
|
64
61
|
}
|
|
65
62
|
export interface JWT {
|
|
66
|
-
/**
|
|
63
|
+
/**
|
|
64
|
+
* JWT ID.
|
|
65
|
+
*/
|
|
67
66
|
jti: string;
|
|
68
|
-
/**
|
|
67
|
+
/**
|
|
68
|
+
* ID of the user who issued the JWT.
|
|
69
|
+
*/
|
|
69
70
|
issuerId: string;
|
|
70
|
-
/**
|
|
71
|
+
/**
|
|
72
|
+
* ID of the user targeted by the JWT.
|
|
73
|
+
*/
|
|
71
74
|
audienceId: string;
|
|
72
|
-
/**
|
|
75
|
+
/**
|
|
76
|
+
* Creation date of the JWT.
|
|
77
|
+
*/
|
|
73
78
|
createdAt?: Date;
|
|
74
|
-
/**
|
|
79
|
+
/**
|
|
80
|
+
* Last update date of the JWT.
|
|
81
|
+
*/
|
|
75
82
|
updatedAt?: Date;
|
|
76
|
-
/**
|
|
83
|
+
/**
|
|
84
|
+
* Expiration date of the JWT.
|
|
85
|
+
*/
|
|
77
86
|
expiresAt?: Date;
|
|
78
|
-
/**
|
|
87
|
+
/**
|
|
88
|
+
* IP address used during the creation of the JWT.
|
|
89
|
+
*/
|
|
79
90
|
ip: string;
|
|
80
|
-
/**
|
|
91
|
+
/**
|
|
92
|
+
* User-agent used during the creation of the JWT.
|
|
93
|
+
*/
|
|
81
94
|
userAgent: string;
|
|
82
95
|
}
|
|
83
96
|
export interface RuleSpecs {
|
|
84
|
-
/**
|
|
97
|
+
/**
|
|
98
|
+
* Names of permission sets bound to the rule.
|
|
99
|
+
*/
|
|
85
100
|
permissionSetNames?: string[];
|
|
86
|
-
/**
|
|
101
|
+
/**
|
|
102
|
+
* Condition expression to evaluate.
|
|
103
|
+
*/
|
|
87
104
|
condition: string;
|
|
88
105
|
/**
|
|
89
106
|
* List of Project IDs the rule is scoped to.
|
|
90
107
|
*
|
|
91
|
-
* One-of ('scope'): at most one of 'projectIds', 'organizationId' could be
|
|
92
|
-
* set.
|
|
108
|
+
* One-of ('scope'): at most one of 'projectIds', 'organizationId' could be set.
|
|
93
109
|
*/
|
|
94
110
|
projectIds?: string[];
|
|
95
111
|
/**
|
|
96
112
|
* ID of Organization the rule is scoped to.
|
|
97
113
|
*
|
|
98
|
-
* One-of ('scope'): at most one of 'projectIds', 'organizationId' could be
|
|
99
|
-
* set.
|
|
114
|
+
* One-of ('scope'): at most one of 'projectIds', 'organizationId' could be set.
|
|
100
115
|
*/
|
|
101
116
|
organizationId?: string;
|
|
102
117
|
}
|
|
103
118
|
export interface CreateUserRequestMember {
|
|
104
|
-
/**
|
|
119
|
+
/**
|
|
120
|
+
* Email of the user to create.
|
|
121
|
+
*/
|
|
105
122
|
email: string;
|
|
106
|
-
/**
|
|
123
|
+
/**
|
|
124
|
+
* Whether or not to send an email containing the member's password.
|
|
125
|
+
*/
|
|
107
126
|
sendPasswordEmail: boolean;
|
|
108
127
|
/**
|
|
109
|
-
* Whether or not to send a welcome email that includes onboarding
|
|
110
|
-
* information.
|
|
128
|
+
* Whether or not to send a welcome email that includes onboarding information.
|
|
111
129
|
*/
|
|
112
130
|
sendWelcomeEmail: boolean;
|
|
113
|
-
/**
|
|
131
|
+
/**
|
|
132
|
+
* The member's username.
|
|
133
|
+
*/
|
|
114
134
|
username: string;
|
|
115
|
-
/**
|
|
135
|
+
/**
|
|
136
|
+
* The member's password.
|
|
137
|
+
*/
|
|
116
138
|
password: string;
|
|
117
|
-
/**
|
|
139
|
+
/**
|
|
140
|
+
* The member's first name.
|
|
141
|
+
*/
|
|
118
142
|
firstName: string;
|
|
119
|
-
/**
|
|
143
|
+
/**
|
|
144
|
+
* The member's last name.
|
|
145
|
+
*/
|
|
120
146
|
lastName: string;
|
|
121
|
-
/**
|
|
147
|
+
/**
|
|
148
|
+
* The member's phone number.
|
|
149
|
+
*/
|
|
122
150
|
phoneNumber: string;
|
|
123
|
-
/**
|
|
151
|
+
/**
|
|
152
|
+
* The member's locale.
|
|
153
|
+
*/
|
|
124
154
|
locale: string;
|
|
125
155
|
}
|
|
126
156
|
export interface Connection {
|
|
127
|
-
/**
|
|
157
|
+
/**
|
|
158
|
+
* Information about the connected organization.
|
|
159
|
+
*/
|
|
128
160
|
organization?: ConnectionConnectedOrganization;
|
|
129
|
-
/**
|
|
161
|
+
/**
|
|
162
|
+
* Information about the connected user.
|
|
163
|
+
*/
|
|
130
164
|
user?: ConnectionConnectedUser;
|
|
131
165
|
}
|
|
132
166
|
export interface APIKey {
|
|
133
|
-
/**
|
|
167
|
+
/**
|
|
168
|
+
* Access key of the API key.
|
|
169
|
+
*/
|
|
134
170
|
accessKey: string;
|
|
135
|
-
/**
|
|
171
|
+
/**
|
|
172
|
+
* Secret key of the API Key.
|
|
173
|
+
*/
|
|
136
174
|
secretKey?: string;
|
|
137
175
|
/**
|
|
138
176
|
* ID of application that bears the API key.
|
|
@@ -146,293 +184,485 @@ export interface APIKey {
|
|
|
146
184
|
* One-of ('bearer'): at most one of 'applicationId', 'userId' could be set.
|
|
147
185
|
*/
|
|
148
186
|
userId?: string;
|
|
149
|
-
/**
|
|
187
|
+
/**
|
|
188
|
+
* Description of API key.
|
|
189
|
+
*/
|
|
150
190
|
description: string;
|
|
151
|
-
/**
|
|
191
|
+
/**
|
|
192
|
+
* Date and time of API key creation.
|
|
193
|
+
*/
|
|
152
194
|
createdAt?: Date;
|
|
153
|
-
/**
|
|
195
|
+
/**
|
|
196
|
+
* Date and time of last API key update.
|
|
197
|
+
*/
|
|
154
198
|
updatedAt?: Date;
|
|
155
|
-
/**
|
|
199
|
+
/**
|
|
200
|
+
* Date and time of API key expiration.
|
|
201
|
+
*/
|
|
156
202
|
expiresAt?: Date;
|
|
157
|
-
/**
|
|
203
|
+
/**
|
|
204
|
+
* Default Project ID specified for this API key.
|
|
205
|
+
*/
|
|
158
206
|
defaultProjectId: string;
|
|
159
|
-
/**
|
|
207
|
+
/**
|
|
208
|
+
* Defines whether or not the API key is editable.
|
|
209
|
+
*/
|
|
160
210
|
editable: boolean;
|
|
161
|
-
/**
|
|
211
|
+
/**
|
|
212
|
+
* Defines whether or not the API key is deletable.
|
|
213
|
+
*/
|
|
162
214
|
deletable: boolean;
|
|
163
|
-
/**
|
|
215
|
+
/**
|
|
216
|
+
* Defines whether or not the API key is managed.
|
|
217
|
+
*/
|
|
164
218
|
managed: boolean;
|
|
165
|
-
/**
|
|
219
|
+
/**
|
|
220
|
+
* IP address of the device that created the API key.
|
|
221
|
+
*/
|
|
166
222
|
creationIp: string;
|
|
167
223
|
}
|
|
168
224
|
export interface Application {
|
|
169
|
-
/**
|
|
225
|
+
/**
|
|
226
|
+
* ID of the application.
|
|
227
|
+
*/
|
|
170
228
|
id: string;
|
|
171
|
-
/**
|
|
229
|
+
/**
|
|
230
|
+
* Name of the application.
|
|
231
|
+
*/
|
|
172
232
|
name: string;
|
|
173
|
-
/**
|
|
233
|
+
/**
|
|
234
|
+
* Description of the application.
|
|
235
|
+
*/
|
|
174
236
|
description: string;
|
|
175
|
-
/**
|
|
237
|
+
/**
|
|
238
|
+
* Date and time application was created.
|
|
239
|
+
*/
|
|
176
240
|
createdAt?: Date;
|
|
177
|
-
/**
|
|
241
|
+
/**
|
|
242
|
+
* Date and time of last application update.
|
|
243
|
+
*/
|
|
178
244
|
updatedAt?: Date;
|
|
179
|
-
/**
|
|
245
|
+
/**
|
|
246
|
+
* ID of the Organization.
|
|
247
|
+
*/
|
|
180
248
|
organizationId: string;
|
|
181
|
-
/**
|
|
249
|
+
/**
|
|
250
|
+
* Defines whether or not the application is editable.
|
|
251
|
+
*/
|
|
182
252
|
editable: boolean;
|
|
183
|
-
/**
|
|
253
|
+
/**
|
|
254
|
+
* Defines whether or not the application is deletable.
|
|
255
|
+
*/
|
|
184
256
|
deletable: boolean;
|
|
185
|
-
/**
|
|
257
|
+
/**
|
|
258
|
+
* Defines whether or not the application is managed.
|
|
259
|
+
*/
|
|
186
260
|
managed: boolean;
|
|
187
|
-
/**
|
|
261
|
+
/**
|
|
262
|
+
* Number of API keys attributed to the application.
|
|
263
|
+
*/
|
|
188
264
|
nbApiKeys: number;
|
|
189
|
-
/**
|
|
265
|
+
/**
|
|
266
|
+
* Tags associated with the user.
|
|
267
|
+
*/
|
|
190
268
|
tags: string[];
|
|
191
269
|
}
|
|
192
270
|
export interface GracePeriod {
|
|
193
|
-
/**
|
|
271
|
+
/**
|
|
272
|
+
* Type of grace period.
|
|
273
|
+
*/
|
|
194
274
|
type: GracePeriodType;
|
|
195
|
-
/**
|
|
275
|
+
/**
|
|
276
|
+
* Date and time the grace period was created.
|
|
277
|
+
*/
|
|
196
278
|
createdAt?: Date;
|
|
197
|
-
/**
|
|
279
|
+
/**
|
|
280
|
+
* Date and time the grace period expires.
|
|
281
|
+
*/
|
|
198
282
|
expiresAt?: Date;
|
|
199
283
|
}
|
|
200
284
|
export interface Group {
|
|
201
|
-
/**
|
|
285
|
+
/**
|
|
286
|
+
* ID of the group.
|
|
287
|
+
*/
|
|
202
288
|
id: string;
|
|
203
|
-
/**
|
|
289
|
+
/**
|
|
290
|
+
* Date and time of group creation.
|
|
291
|
+
*/
|
|
204
292
|
createdAt?: Date;
|
|
205
|
-
/**
|
|
293
|
+
/**
|
|
294
|
+
* Date and time of last group update.
|
|
295
|
+
*/
|
|
206
296
|
updatedAt?: Date;
|
|
207
|
-
/**
|
|
297
|
+
/**
|
|
298
|
+
* ID of Organization linked to the group.
|
|
299
|
+
*/
|
|
208
300
|
organizationId: string;
|
|
209
|
-
/**
|
|
301
|
+
/**
|
|
302
|
+
* Name of the group.
|
|
303
|
+
*/
|
|
210
304
|
name: string;
|
|
211
|
-
/**
|
|
305
|
+
/**
|
|
306
|
+
* Description of the group.
|
|
307
|
+
*/
|
|
212
308
|
description: string;
|
|
213
|
-
/**
|
|
309
|
+
/**
|
|
310
|
+
* IDs of users attached to this group.
|
|
311
|
+
*/
|
|
214
312
|
userIds: string[];
|
|
215
|
-
/**
|
|
313
|
+
/**
|
|
314
|
+
* IDs of applications attached to this group.
|
|
315
|
+
*/
|
|
216
316
|
applicationIds: string[];
|
|
217
|
-
/**
|
|
317
|
+
/**
|
|
318
|
+
* Tags associated to the group.
|
|
319
|
+
*/
|
|
218
320
|
tags: string[];
|
|
219
|
-
/**
|
|
321
|
+
/**
|
|
322
|
+
* Defines whether or not the group is editable.
|
|
323
|
+
*/
|
|
220
324
|
editable: boolean;
|
|
221
|
-
/**
|
|
325
|
+
/**
|
|
326
|
+
* Defines whether or not the group is deletable.
|
|
327
|
+
*/
|
|
222
328
|
deletable: boolean;
|
|
223
|
-
/**
|
|
329
|
+
/**
|
|
330
|
+
* Defines whether or not the group is managed.
|
|
331
|
+
*/
|
|
224
332
|
managed: boolean;
|
|
225
333
|
}
|
|
226
334
|
export interface Log {
|
|
227
|
-
/**
|
|
335
|
+
/**
|
|
336
|
+
* Log ID.
|
|
337
|
+
*/
|
|
228
338
|
id: string;
|
|
229
|
-
/**
|
|
339
|
+
/**
|
|
340
|
+
* Creation date of the log.
|
|
341
|
+
*/
|
|
230
342
|
createdAt?: Date;
|
|
231
|
-
/**
|
|
343
|
+
/**
|
|
344
|
+
* IP address of the HTTP request linked to the log.
|
|
345
|
+
*/
|
|
232
346
|
ip: string;
|
|
233
|
-
/**
|
|
347
|
+
/**
|
|
348
|
+
* User-Agent of the HTTP request linked to the log.
|
|
349
|
+
*/
|
|
234
350
|
userAgent: string;
|
|
235
|
-
/**
|
|
351
|
+
/**
|
|
352
|
+
* Action linked to the log.
|
|
353
|
+
*/
|
|
236
354
|
action: LogAction;
|
|
237
|
-
/**
|
|
355
|
+
/**
|
|
356
|
+
* ID of the principal at the origin of the log.
|
|
357
|
+
*/
|
|
238
358
|
bearerId: string;
|
|
239
|
-
/**
|
|
359
|
+
/**
|
|
360
|
+
* ID of Organization linked to the log.
|
|
361
|
+
*/
|
|
240
362
|
organizationId: string;
|
|
241
|
-
/**
|
|
363
|
+
/**
|
|
364
|
+
* Type of the resource linked to the log.
|
|
365
|
+
*/
|
|
242
366
|
resourceType: LogResourceType;
|
|
243
|
-
/**
|
|
367
|
+
/**
|
|
368
|
+
* ID of the resource linked to the log.
|
|
369
|
+
*/
|
|
244
370
|
resourceId: string;
|
|
245
371
|
}
|
|
246
372
|
export interface PermissionSet {
|
|
247
|
-
/**
|
|
373
|
+
/**
|
|
374
|
+
* Id of the permission set.
|
|
375
|
+
*/
|
|
248
376
|
id: string;
|
|
249
|
-
/**
|
|
377
|
+
/**
|
|
378
|
+
* Name of the permission set.
|
|
379
|
+
*/
|
|
250
380
|
name: string;
|
|
251
|
-
/**
|
|
381
|
+
/**
|
|
382
|
+
* Scope of the permission set.
|
|
383
|
+
*/
|
|
252
384
|
scopeType: PermissionSetScopeType;
|
|
253
|
-
/**
|
|
385
|
+
/**
|
|
386
|
+
* Description of the permission set.
|
|
387
|
+
*/
|
|
254
388
|
description: string;
|
|
255
|
-
/**
|
|
389
|
+
/**
|
|
390
|
+
* Categories of the permission set.
|
|
391
|
+
*/
|
|
256
392
|
categories?: string[];
|
|
257
393
|
}
|
|
258
394
|
export interface Policy {
|
|
259
|
-
/**
|
|
395
|
+
/**
|
|
396
|
+
* Id of the policy.
|
|
397
|
+
*/
|
|
260
398
|
id: string;
|
|
261
|
-
/**
|
|
399
|
+
/**
|
|
400
|
+
* Name of the policy.
|
|
401
|
+
*/
|
|
262
402
|
name: string;
|
|
263
|
-
/**
|
|
403
|
+
/**
|
|
404
|
+
* Description of the policy.
|
|
405
|
+
*/
|
|
264
406
|
description: string;
|
|
265
|
-
/**
|
|
407
|
+
/**
|
|
408
|
+
* Organization ID of the policy.
|
|
409
|
+
*/
|
|
266
410
|
organizationId: string;
|
|
267
|
-
/**
|
|
411
|
+
/**
|
|
412
|
+
* Date and time of policy creation.
|
|
413
|
+
*/
|
|
268
414
|
createdAt?: Date;
|
|
269
|
-
/**
|
|
415
|
+
/**
|
|
416
|
+
* Date and time of last policy update.
|
|
417
|
+
*/
|
|
270
418
|
updatedAt?: Date;
|
|
271
|
-
/**
|
|
419
|
+
/**
|
|
420
|
+
* Defines whether or not a policy is editable.
|
|
421
|
+
*/
|
|
272
422
|
editable: boolean;
|
|
273
|
-
/**
|
|
423
|
+
/**
|
|
424
|
+
* Defines whether or not a policy is deletable.
|
|
425
|
+
*/
|
|
274
426
|
deletable: boolean;
|
|
275
|
-
/**
|
|
427
|
+
/**
|
|
428
|
+
* Defines whether or not a policy is managed.
|
|
429
|
+
*/
|
|
276
430
|
managed: boolean;
|
|
277
|
-
/**
|
|
431
|
+
/**
|
|
432
|
+
* Number of rules of the policy.
|
|
433
|
+
*/
|
|
278
434
|
nbRules: number;
|
|
279
|
-
/**
|
|
435
|
+
/**
|
|
436
|
+
* Number of policy scopes.
|
|
437
|
+
*/
|
|
280
438
|
nbScopes: number;
|
|
281
|
-
/**
|
|
439
|
+
/**
|
|
440
|
+
* Number of permission sets of the policy.
|
|
441
|
+
*/
|
|
282
442
|
nbPermissionSets: number;
|
|
283
|
-
/**
|
|
443
|
+
/**
|
|
444
|
+
* Tags associated with the policy.
|
|
445
|
+
*/
|
|
284
446
|
tags: string[];
|
|
285
447
|
/**
|
|
286
448
|
* ID of the user attributed to the policy.
|
|
287
449
|
*
|
|
288
|
-
* One-of ('principal'): at most one of 'userId', 'groupId', 'applicationId',
|
|
289
|
-
* 'noPrincipal' could be set.
|
|
450
|
+
* One-of ('principal'): at most one of 'userId', 'groupId', 'applicationId', 'noPrincipal' could be set.
|
|
290
451
|
*/
|
|
291
452
|
userId?: string;
|
|
292
453
|
/**
|
|
293
454
|
* ID of the group attributed to the policy.
|
|
294
455
|
*
|
|
295
|
-
* One-of ('principal'): at most one of 'userId', 'groupId', 'applicationId',
|
|
296
|
-
* 'noPrincipal' could be set.
|
|
456
|
+
* One-of ('principal'): at most one of 'userId', 'groupId', 'applicationId', 'noPrincipal' could be set.
|
|
297
457
|
*/
|
|
298
458
|
groupId?: string;
|
|
299
459
|
/**
|
|
300
460
|
* ID of the application attributed to the policy.
|
|
301
461
|
*
|
|
302
|
-
* One-of ('principal'): at most one of 'userId', 'groupId', 'applicationId',
|
|
303
|
-
* 'noPrincipal' could be set.
|
|
462
|
+
* One-of ('principal'): at most one of 'userId', 'groupId', 'applicationId', 'noPrincipal' could be set.
|
|
304
463
|
*/
|
|
305
464
|
applicationId?: string;
|
|
306
465
|
/**
|
|
307
466
|
* Defines whether or not a policy is attributed to a principal.
|
|
308
467
|
*
|
|
309
|
-
* One-of ('principal'): at most one of 'userId', 'groupId', 'applicationId',
|
|
310
|
-
* 'noPrincipal' could be set.
|
|
468
|
+
* One-of ('principal'): at most one of 'userId', 'groupId', 'applicationId', 'noPrincipal' could be set.
|
|
311
469
|
*/
|
|
312
470
|
noPrincipal?: boolean;
|
|
313
471
|
}
|
|
314
472
|
export interface Quotum {
|
|
315
|
-
/**
|
|
473
|
+
/**
|
|
474
|
+
* Name of the quota.
|
|
475
|
+
*/
|
|
316
476
|
name: string;
|
|
317
477
|
/**
|
|
318
478
|
* @deprecated Maximum limit of the quota.
|
|
319
479
|
*
|
|
320
|
-
*
|
|
480
|
+
* One-of ('value'): at most one of 'limit', 'unlimited' could be set.
|
|
321
481
|
*/
|
|
322
482
|
limit?: number;
|
|
323
483
|
/**
|
|
324
484
|
* @deprecated Defines whether or not the quota is unlimited.
|
|
325
485
|
*
|
|
326
|
-
*
|
|
486
|
+
* One-of ('value'): at most one of 'limit', 'unlimited' could be set.
|
|
327
487
|
*/
|
|
328
488
|
unlimited?: boolean;
|
|
329
|
-
/**
|
|
489
|
+
/**
|
|
490
|
+
* A human-readable name for the quota.
|
|
491
|
+
*/
|
|
330
492
|
prettyName: string;
|
|
331
|
-
/**
|
|
493
|
+
/**
|
|
494
|
+
* The unit in which the quota is expressed.
|
|
495
|
+
*/
|
|
332
496
|
unit: string;
|
|
333
|
-
/**
|
|
497
|
+
/**
|
|
498
|
+
* Details about the quota.
|
|
499
|
+
*/
|
|
334
500
|
description: string;
|
|
335
501
|
/**
|
|
336
|
-
* Whether this quotum is applied on at the zone level, region level, or
|
|
337
|
-
* globally.
|
|
502
|
+
* Whether this quotum is applied on at the zone level, region level, or globally.
|
|
338
503
|
*/
|
|
339
504
|
localityType: LocalityType;
|
|
340
|
-
/**
|
|
505
|
+
/**
|
|
506
|
+
* Limits per locality.
|
|
507
|
+
*/
|
|
341
508
|
limits: QuotumLimit[];
|
|
342
509
|
}
|
|
343
510
|
export interface Rule {
|
|
344
|
-
/**
|
|
511
|
+
/**
|
|
512
|
+
* Id of rule.
|
|
513
|
+
*/
|
|
345
514
|
id: string;
|
|
346
|
-
/**
|
|
515
|
+
/**
|
|
516
|
+
* Names of permission sets bound to the rule.
|
|
517
|
+
*/
|
|
347
518
|
permissionSetNames?: string[];
|
|
348
|
-
/**
|
|
519
|
+
/**
|
|
520
|
+
* Permission_set_names have the same scope_type.
|
|
521
|
+
*/
|
|
349
522
|
permissionSetsScopeType: PermissionSetScopeType;
|
|
350
|
-
/**
|
|
523
|
+
/**
|
|
524
|
+
* Condition expression to evaluate.
|
|
525
|
+
*/
|
|
351
526
|
condition: string;
|
|
352
527
|
/**
|
|
353
528
|
* List of Project IDs the rule is scoped to.
|
|
354
529
|
*
|
|
355
|
-
* One-of ('scope'): at most one of 'projectIds', 'organizationId',
|
|
356
|
-
* 'accountRootUserId' could be set.
|
|
530
|
+
* One-of ('scope'): at most one of 'projectIds', 'organizationId', 'accountRootUserId' could be set.
|
|
357
531
|
*/
|
|
358
532
|
projectIds?: string[];
|
|
359
533
|
/**
|
|
360
534
|
* ID of Organization the rule is scoped to.
|
|
361
535
|
*
|
|
362
|
-
* One-of ('scope'): at most one of 'projectIds', 'organizationId',
|
|
363
|
-
* 'accountRootUserId' could be set.
|
|
536
|
+
* One-of ('scope'): at most one of 'projectIds', 'organizationId', 'accountRootUserId' could be set.
|
|
364
537
|
*/
|
|
365
538
|
organizationId?: string;
|
|
366
539
|
/**
|
|
367
540
|
* ID of account root user the rule is scoped to.
|
|
368
541
|
*
|
|
369
|
-
* One-of ('scope'): at most one of 'projectIds', 'organizationId',
|
|
370
|
-
* 'accountRootUserId' could be set.
|
|
542
|
+
* One-of ('scope'): at most one of 'projectIds', 'organizationId', 'accountRootUserId' could be set.
|
|
371
543
|
*/
|
|
372
544
|
accountRootUserId?: string;
|
|
373
545
|
}
|
|
374
546
|
export interface SSHKey {
|
|
375
|
-
/**
|
|
547
|
+
/**
|
|
548
|
+
* ID of SSH key.
|
|
549
|
+
*/
|
|
376
550
|
id: string;
|
|
377
|
-
/**
|
|
551
|
+
/**
|
|
552
|
+
* Name of SSH key.
|
|
553
|
+
*/
|
|
378
554
|
name: string;
|
|
379
|
-
/**
|
|
555
|
+
/**
|
|
556
|
+
* Public key of SSH key.
|
|
557
|
+
*/
|
|
380
558
|
publicKey: string;
|
|
381
|
-
/**
|
|
559
|
+
/**
|
|
560
|
+
* Fingerprint of the SSH key.
|
|
561
|
+
*/
|
|
382
562
|
fingerprint: string;
|
|
383
|
-
/**
|
|
563
|
+
/**
|
|
564
|
+
* Creation date of SSH key.
|
|
565
|
+
*/
|
|
384
566
|
createdAt?: Date;
|
|
385
|
-
/**
|
|
567
|
+
/**
|
|
568
|
+
* Last update date of SSH key.
|
|
569
|
+
*/
|
|
386
570
|
updatedAt?: Date;
|
|
387
|
-
/**
|
|
571
|
+
/**
|
|
572
|
+
* ID of Organization linked to the SSH key.
|
|
573
|
+
*/
|
|
388
574
|
organizationId: string;
|
|
389
|
-
/**
|
|
575
|
+
/**
|
|
576
|
+
* ID of Project linked to the SSH key.
|
|
577
|
+
*/
|
|
390
578
|
projectId: string;
|
|
391
|
-
/**
|
|
579
|
+
/**
|
|
580
|
+
* SSH key status.
|
|
581
|
+
*/
|
|
392
582
|
disabled: boolean;
|
|
393
583
|
}
|
|
394
584
|
export interface User {
|
|
395
|
-
/**
|
|
585
|
+
/**
|
|
586
|
+
* ID of user.
|
|
587
|
+
*/
|
|
396
588
|
id: string;
|
|
397
|
-
/**
|
|
589
|
+
/**
|
|
590
|
+
* Email of user.
|
|
591
|
+
*/
|
|
398
592
|
email: string;
|
|
399
|
-
/**
|
|
593
|
+
/**
|
|
594
|
+
* User identifier unique to the Organization.
|
|
595
|
+
*/
|
|
400
596
|
username: string;
|
|
401
|
-
/**
|
|
597
|
+
/**
|
|
598
|
+
* First name of the user.
|
|
599
|
+
*/
|
|
402
600
|
firstName: string;
|
|
403
|
-
/**
|
|
601
|
+
/**
|
|
602
|
+
* Last name of the user.
|
|
603
|
+
*/
|
|
404
604
|
lastName: string;
|
|
405
|
-
/**
|
|
605
|
+
/**
|
|
606
|
+
* Phone number of the user.
|
|
607
|
+
*/
|
|
406
608
|
phoneNumber: string;
|
|
407
|
-
/**
|
|
609
|
+
/**
|
|
610
|
+
* Locale of the user.
|
|
611
|
+
*/
|
|
408
612
|
locale: string;
|
|
409
|
-
/**
|
|
613
|
+
/**
|
|
614
|
+
* Date user was created.
|
|
615
|
+
*/
|
|
410
616
|
createdAt?: Date;
|
|
411
|
-
/**
|
|
617
|
+
/**
|
|
618
|
+
* Date of last user update.
|
|
619
|
+
*/
|
|
412
620
|
updatedAt?: Date;
|
|
413
|
-
/**
|
|
621
|
+
/**
|
|
622
|
+
* ID of the Organization.
|
|
623
|
+
*/
|
|
414
624
|
organizationId: string;
|
|
415
|
-
/**
|
|
625
|
+
/**
|
|
626
|
+
* Deletion status of user. Owners cannot be deleted.
|
|
627
|
+
*/
|
|
416
628
|
deletable: boolean;
|
|
417
|
-
/**
|
|
629
|
+
/**
|
|
630
|
+
* Date of the last login.
|
|
631
|
+
*/
|
|
418
632
|
lastLoginAt?: Date;
|
|
419
|
-
/**
|
|
633
|
+
/**
|
|
634
|
+
* Type of user.
|
|
635
|
+
*/
|
|
420
636
|
type: UserType;
|
|
421
|
-
/**
|
|
637
|
+
/**
|
|
638
|
+
* @deprecated Deprecated, use "mfa" instead.
|
|
639
|
+
*/
|
|
422
640
|
twoFactorEnabled?: boolean;
|
|
423
|
-
/**
|
|
641
|
+
/**
|
|
642
|
+
* Status of user invitation.
|
|
643
|
+
*/
|
|
424
644
|
status: UserStatus;
|
|
425
|
-
/**
|
|
645
|
+
/**
|
|
646
|
+
* Defines whether MFA is enabled.
|
|
647
|
+
*/
|
|
426
648
|
mfa: boolean;
|
|
427
|
-
/**
|
|
649
|
+
/**
|
|
650
|
+
* ID of the account root user associated with the user.
|
|
651
|
+
*/
|
|
428
652
|
accountRootUserId: string;
|
|
429
|
-
/**
|
|
653
|
+
/**
|
|
654
|
+
* Tags associated with the user.
|
|
655
|
+
*/
|
|
430
656
|
tags: string[];
|
|
431
|
-
/**
|
|
657
|
+
/**
|
|
658
|
+
* Defines whether the user is locked.
|
|
659
|
+
*/
|
|
432
660
|
locked: boolean;
|
|
433
661
|
}
|
|
434
662
|
export type AddGroupMemberRequest = {
|
|
435
|
-
/**
|
|
663
|
+
/**
|
|
664
|
+
* ID of the group.
|
|
665
|
+
*/
|
|
436
666
|
groupId: string;
|
|
437
667
|
/**
|
|
438
668
|
* ID of the user to add.
|
|
@@ -448,11 +678,17 @@ export type AddGroupMemberRequest = {
|
|
|
448
678
|
applicationId?: string;
|
|
449
679
|
};
|
|
450
680
|
export type AddGroupMembersRequest = {
|
|
451
|
-
/**
|
|
681
|
+
/**
|
|
682
|
+
* ID of the group.
|
|
683
|
+
*/
|
|
452
684
|
groupId: string;
|
|
453
|
-
/**
|
|
685
|
+
/**
|
|
686
|
+
* IDs of the users to add.
|
|
687
|
+
*/
|
|
454
688
|
userIds?: string[];
|
|
455
|
-
/**
|
|
689
|
+
/**
|
|
690
|
+
* IDs of the applications to add.
|
|
691
|
+
*/
|
|
456
692
|
applicationIds?: string[];
|
|
457
693
|
};
|
|
458
694
|
export type ClonePolicyRequest = {
|
|
@@ -471,99 +707,135 @@ export type CreateAPIKeyRequest = {
|
|
|
471
707
|
* One-of ('bearer'): at most one of 'applicationId', 'userId' could be set.
|
|
472
708
|
*/
|
|
473
709
|
userId?: string;
|
|
474
|
-
/**
|
|
710
|
+
/**
|
|
711
|
+
* Expiration date of the API key.
|
|
712
|
+
*/
|
|
475
713
|
expiresAt?: Date;
|
|
476
|
-
/**
|
|
477
|
-
|
|
478
|
-
|
|
714
|
+
/**
|
|
715
|
+
* Default Project ID to use with Object Storage.
|
|
716
|
+
*/
|
|
717
|
+
defaultProjectId?: string;
|
|
718
|
+
/**
|
|
719
|
+
* Description of the API key (max length is 200 characters).
|
|
720
|
+
*/
|
|
479
721
|
description: string;
|
|
480
722
|
};
|
|
481
723
|
export type CreateApplicationRequest = {
|
|
482
|
-
/**
|
|
724
|
+
/**
|
|
725
|
+
* Name of the application to create (max length is 64 characters).
|
|
726
|
+
*/
|
|
483
727
|
name?: string;
|
|
484
|
-
/**
|
|
728
|
+
/**
|
|
729
|
+
* ID of the Organization.
|
|
730
|
+
*/
|
|
485
731
|
organizationId?: string;
|
|
486
|
-
/**
|
|
732
|
+
/**
|
|
733
|
+
* Description of the application (max length is 200 characters).
|
|
734
|
+
*/
|
|
487
735
|
description: string;
|
|
488
|
-
/**
|
|
736
|
+
/**
|
|
737
|
+
* Tags associated with the application (maximum of 10 tags).
|
|
738
|
+
*/
|
|
489
739
|
tags?: string[];
|
|
490
740
|
};
|
|
491
741
|
export type CreateGroupRequest = {
|
|
492
|
-
/**
|
|
742
|
+
/**
|
|
743
|
+
* ID of Organization linked to the group.
|
|
744
|
+
*/
|
|
493
745
|
organizationId?: string;
|
|
494
746
|
/**
|
|
495
|
-
* Name of the group to create (max length is 64 chars). MUST be unique inside
|
|
496
|
-
* an Organization.
|
|
747
|
+
* Name of the group to create (max length is 64 chars). MUST be unique inside an Organization.
|
|
497
748
|
*/
|
|
498
749
|
name?: string;
|
|
499
|
-
/**
|
|
750
|
+
/**
|
|
751
|
+
* Description of the group to create (max length is 200 chars).
|
|
752
|
+
*/
|
|
500
753
|
description: string;
|
|
501
|
-
/**
|
|
754
|
+
/**
|
|
755
|
+
* Tags associated with the group (maximum of 10 tags).
|
|
756
|
+
*/
|
|
502
757
|
tags?: string[];
|
|
503
758
|
};
|
|
504
759
|
export type CreateJWTRequest = {
|
|
505
|
-
/**
|
|
760
|
+
/**
|
|
761
|
+
* ID of the user the JWT will be created for.
|
|
762
|
+
*/
|
|
506
763
|
userId: string;
|
|
507
|
-
/**
|
|
764
|
+
/**
|
|
765
|
+
* Referrer of the JWT.
|
|
766
|
+
*/
|
|
508
767
|
referrer: string;
|
|
509
768
|
};
|
|
510
769
|
export type CreatePolicyRequest = {
|
|
511
|
-
/**
|
|
770
|
+
/**
|
|
771
|
+
* Name of the policy to create (max length is 64 characters).
|
|
772
|
+
*/
|
|
512
773
|
name?: string;
|
|
513
|
-
/**
|
|
774
|
+
/**
|
|
775
|
+
* Description of the policy to create (max length is 200 characters).
|
|
776
|
+
*/
|
|
514
777
|
description: string;
|
|
515
|
-
/**
|
|
778
|
+
/**
|
|
779
|
+
* ID of the Organization.
|
|
780
|
+
*/
|
|
516
781
|
organizationId?: string;
|
|
517
|
-
/**
|
|
782
|
+
/**
|
|
783
|
+
* Rules of the policy to create.
|
|
784
|
+
*/
|
|
518
785
|
rules?: RuleSpecs[];
|
|
519
|
-
/**
|
|
786
|
+
/**
|
|
787
|
+
* Tags associated with the policy (maximum of 10 tags).
|
|
788
|
+
*/
|
|
520
789
|
tags?: string[];
|
|
521
790
|
/**
|
|
522
791
|
* ID of user attributed to the policy.
|
|
523
792
|
*
|
|
524
|
-
* One-of ('principal'): at most one of 'userId', 'groupId', 'applicationId',
|
|
525
|
-
* 'noPrincipal' could be set.
|
|
793
|
+
* One-of ('principal'): at most one of 'userId', 'groupId', 'applicationId', 'noPrincipal' could be set.
|
|
526
794
|
*/
|
|
527
795
|
userId?: string;
|
|
528
796
|
/**
|
|
529
797
|
* ID of group attributed to the policy.
|
|
530
798
|
*
|
|
531
|
-
* One-of ('principal'): at most one of 'userId', 'groupId', 'applicationId',
|
|
532
|
-
* 'noPrincipal' could be set.
|
|
799
|
+
* One-of ('principal'): at most one of 'userId', 'groupId', 'applicationId', 'noPrincipal' could be set.
|
|
533
800
|
*/
|
|
534
801
|
groupId?: string;
|
|
535
802
|
/**
|
|
536
803
|
* ID of application attributed to the policy.
|
|
537
804
|
*
|
|
538
|
-
* One-of ('principal'): at most one of 'userId', 'groupId', 'applicationId',
|
|
539
|
-
* 'noPrincipal' could be set.
|
|
805
|
+
* One-of ('principal'): at most one of 'userId', 'groupId', 'applicationId', 'noPrincipal' could be set.
|
|
540
806
|
*/
|
|
541
807
|
applicationId?: string;
|
|
542
808
|
/**
|
|
543
809
|
* Defines whether or not a policy is attributed to a principal.
|
|
544
810
|
*
|
|
545
|
-
* One-of ('principal'): at most one of 'userId', 'groupId', 'applicationId',
|
|
546
|
-
* 'noPrincipal' could be set.
|
|
811
|
+
* One-of ('principal'): at most one of 'userId', 'groupId', 'applicationId', 'noPrincipal' could be set.
|
|
547
812
|
*/
|
|
548
813
|
noPrincipal?: boolean;
|
|
549
814
|
};
|
|
550
815
|
export type CreateSSHKeyRequest = {
|
|
551
|
-
/**
|
|
816
|
+
/**
|
|
817
|
+
* Name of the SSH key. Max length is 1000.
|
|
818
|
+
*/
|
|
552
819
|
name?: string;
|
|
553
820
|
/**
|
|
554
|
-
* SSH public key. Currently only the ssh-rsa, ssh-dss (DSA), ssh-ed25519 and
|
|
555
|
-
* ecdsa keys with NIST curves are supported. Max length is 65000.
|
|
821
|
+
* SSH public key. Currently only the ssh-rsa, ssh-dss (DSA), ssh-ed25519 and ecdsa keys with NIST curves are supported. Max length is 65000.
|
|
556
822
|
*/
|
|
557
823
|
publicKey: string;
|
|
558
|
-
/**
|
|
824
|
+
/**
|
|
825
|
+
* Project the resource is attributed to.
|
|
826
|
+
*/
|
|
559
827
|
projectId?: string;
|
|
560
828
|
};
|
|
561
829
|
export type CreateUserMFAOTPRequest = {
|
|
562
|
-
/**
|
|
830
|
+
/**
|
|
831
|
+
* User ID of the MFA OTP.
|
|
832
|
+
*/
|
|
563
833
|
userId: string;
|
|
564
834
|
};
|
|
565
835
|
export type CreateUserRequest = {
|
|
566
|
-
/**
|
|
836
|
+
/**
|
|
837
|
+
* ID of the Organization.
|
|
838
|
+
*/
|
|
567
839
|
organizationId?: string;
|
|
568
840
|
/**
|
|
569
841
|
* Email of the user.
|
|
@@ -571,214 +843,344 @@ export type CreateUserRequest = {
|
|
|
571
843
|
* One-of ('type'): at most one of 'email', 'member' could be set.
|
|
572
844
|
*/
|
|
573
845
|
email?: string;
|
|
574
|
-
/**
|
|
846
|
+
/**
|
|
847
|
+
* Tags associated with the user.
|
|
848
|
+
*/
|
|
575
849
|
tags?: string[];
|
|
576
850
|
/**
|
|
577
|
-
* Details of IAM member.
|
|
851
|
+
* Details of IAM member.
|
|
578
852
|
*
|
|
579
853
|
* One-of ('type'): at most one of 'email', 'member' could be set.
|
|
580
854
|
*/
|
|
581
855
|
member?: CreateUserRequestMember;
|
|
582
856
|
};
|
|
583
857
|
export type DeleteAPIKeyRequest = {
|
|
584
|
-
/**
|
|
858
|
+
/**
|
|
859
|
+
* Access key to delete.
|
|
860
|
+
*/
|
|
585
861
|
accessKey: string;
|
|
586
862
|
};
|
|
587
863
|
export type DeleteApplicationRequest = {
|
|
588
|
-
/**
|
|
864
|
+
/**
|
|
865
|
+
* ID of the application to delete.
|
|
866
|
+
*/
|
|
589
867
|
applicationId: string;
|
|
590
868
|
};
|
|
591
869
|
export type DeleteGroupRequest = {
|
|
592
|
-
/**
|
|
870
|
+
/**
|
|
871
|
+
* ID of the group to delete.
|
|
872
|
+
*/
|
|
593
873
|
groupId: string;
|
|
594
874
|
};
|
|
595
875
|
export type DeleteJWTRequest = {
|
|
596
|
-
/**
|
|
876
|
+
/**
|
|
877
|
+
* JWT ID of the JWT to delete.
|
|
878
|
+
*/
|
|
597
879
|
jti: string;
|
|
598
880
|
};
|
|
599
881
|
export type DeletePolicyRequest = {
|
|
600
|
-
/**
|
|
882
|
+
/**
|
|
883
|
+
* Id of policy to delete.
|
|
884
|
+
*/
|
|
601
885
|
policyId: string;
|
|
602
886
|
};
|
|
603
887
|
export type DeleteSSHKeyRequest = {
|
|
604
888
|
sshKeyId: string;
|
|
605
889
|
};
|
|
606
890
|
export type DeleteUserMFAOTPRequest = {
|
|
607
|
-
/**
|
|
891
|
+
/**
|
|
892
|
+
* User ID of the MFA OTP.
|
|
893
|
+
*/
|
|
608
894
|
userId: string;
|
|
609
895
|
};
|
|
610
896
|
export type DeleteUserRequest = {
|
|
611
|
-
/**
|
|
897
|
+
/**
|
|
898
|
+
* ID of the user to delete.
|
|
899
|
+
*/
|
|
612
900
|
userId: string;
|
|
613
901
|
};
|
|
614
902
|
export interface EncodedJWT {
|
|
615
|
-
/**
|
|
903
|
+
/**
|
|
904
|
+
* The renewed JWT.
|
|
905
|
+
*/
|
|
616
906
|
jwt?: JWT;
|
|
617
|
-
/**
|
|
907
|
+
/**
|
|
908
|
+
* The encoded token of the renewed JWT.
|
|
909
|
+
*/
|
|
618
910
|
token: string;
|
|
619
|
-
/**
|
|
911
|
+
/**
|
|
912
|
+
* The encoded renew token. This token is necessary to renew the JWT.
|
|
913
|
+
*/
|
|
620
914
|
renewToken: string;
|
|
621
915
|
}
|
|
622
916
|
export type GetAPIKeyRequest = {
|
|
623
|
-
/**
|
|
917
|
+
/**
|
|
918
|
+
* Access key to search for.
|
|
919
|
+
*/
|
|
624
920
|
accessKey: string;
|
|
625
921
|
};
|
|
626
922
|
export type GetApplicationRequest = {
|
|
627
|
-
/**
|
|
923
|
+
/**
|
|
924
|
+
* ID of the application to find.
|
|
925
|
+
*/
|
|
628
926
|
applicationId: string;
|
|
629
927
|
};
|
|
630
928
|
export type GetGroupRequest = {
|
|
631
|
-
/**
|
|
929
|
+
/**
|
|
930
|
+
* ID of the group.
|
|
931
|
+
*/
|
|
632
932
|
groupId: string;
|
|
633
933
|
};
|
|
634
934
|
export type GetJWTRequest = {
|
|
635
|
-
/**
|
|
935
|
+
/**
|
|
936
|
+
* JWT ID of the JWT to get.
|
|
937
|
+
*/
|
|
636
938
|
jti: string;
|
|
637
939
|
};
|
|
638
940
|
export type GetLogRequest = {
|
|
639
|
-
/**
|
|
941
|
+
/**
|
|
942
|
+
* ID of the log.
|
|
943
|
+
*/
|
|
640
944
|
logId: string;
|
|
641
945
|
};
|
|
642
946
|
export type GetOrganizationSecuritySettingsRequest = {
|
|
643
|
-
/**
|
|
947
|
+
/**
|
|
948
|
+
* ID of the Organization.
|
|
949
|
+
*/
|
|
644
950
|
organizationId?: string;
|
|
645
951
|
};
|
|
646
952
|
export type GetPolicyRequest = {
|
|
647
|
-
/**
|
|
953
|
+
/**
|
|
954
|
+
* Id of policy to search.
|
|
955
|
+
*/
|
|
648
956
|
policyId: string;
|
|
649
957
|
};
|
|
650
958
|
export type GetQuotumRequest = {
|
|
651
|
-
/**
|
|
959
|
+
/**
|
|
960
|
+
* Name of the quota to get.
|
|
961
|
+
*/
|
|
652
962
|
quotumName: string;
|
|
653
|
-
/**
|
|
963
|
+
/**
|
|
964
|
+
* ID of the Organization.
|
|
965
|
+
*/
|
|
654
966
|
organizationId?: string;
|
|
655
967
|
};
|
|
656
968
|
export type GetSSHKeyRequest = {
|
|
657
|
-
/**
|
|
969
|
+
/**
|
|
970
|
+
* ID of the SSH key.
|
|
971
|
+
*/
|
|
658
972
|
sshKeyId: string;
|
|
659
973
|
};
|
|
660
974
|
export type GetUserConnectionsRequest = {
|
|
661
|
-
/**
|
|
975
|
+
/**
|
|
976
|
+
* ID of the user to list connections for.
|
|
977
|
+
*/
|
|
662
978
|
userId: string;
|
|
663
979
|
};
|
|
664
980
|
export interface GetUserConnectionsResponse {
|
|
665
|
-
/**
|
|
981
|
+
/**
|
|
982
|
+
* List of connections.
|
|
983
|
+
*/
|
|
666
984
|
connections: Connection[];
|
|
667
985
|
}
|
|
668
986
|
export type GetUserRequest = {
|
|
669
|
-
/**
|
|
987
|
+
/**
|
|
988
|
+
* ID of the user to find.
|
|
989
|
+
*/
|
|
670
990
|
userId: string;
|
|
671
991
|
};
|
|
672
992
|
export type ListAPIKeysRequest = {
|
|
673
|
-
/**
|
|
993
|
+
/**
|
|
994
|
+
* Criteria for sorting results.
|
|
995
|
+
*/
|
|
674
996
|
orderBy?: ListAPIKeysRequestOrderBy;
|
|
675
|
-
/**
|
|
997
|
+
/**
|
|
998
|
+
* Page number. Value must be greater or equal to 1.
|
|
999
|
+
*/
|
|
676
1000
|
page?: number;
|
|
677
|
-
/**
|
|
1001
|
+
/**
|
|
1002
|
+
* Number of results per page. Value must be between 1 and 100.
|
|
1003
|
+
*/
|
|
678
1004
|
pageSize?: number;
|
|
679
|
-
/**
|
|
1005
|
+
/**
|
|
1006
|
+
* ID of Organization.
|
|
1007
|
+
*/
|
|
680
1008
|
organizationId?: string;
|
|
681
1009
|
/**
|
|
682
1010
|
* @deprecated ID of application that bears the API key.
|
|
683
1011
|
*
|
|
684
|
-
*
|
|
1012
|
+
* One-of ('bearer'): at most one of 'applicationId', 'userId' could be set.
|
|
685
1013
|
*/
|
|
686
1014
|
applicationId?: string;
|
|
687
1015
|
/**
|
|
688
1016
|
* @deprecated ID of user that bears the API key.
|
|
689
1017
|
*
|
|
690
|
-
*
|
|
1018
|
+
* One-of ('bearer'): at most one of 'applicationId', 'userId' could be set.
|
|
691
1019
|
*/
|
|
692
1020
|
userId?: string;
|
|
693
|
-
/**
|
|
1021
|
+
/**
|
|
1022
|
+
* Defines whether to filter out editable API keys or not.
|
|
1023
|
+
*/
|
|
694
1024
|
editable?: boolean;
|
|
695
|
-
/**
|
|
1025
|
+
/**
|
|
1026
|
+
* Defines whether to filter out expired API keys or not.
|
|
1027
|
+
*/
|
|
696
1028
|
expired?: boolean;
|
|
697
|
-
/**
|
|
1029
|
+
/**
|
|
1030
|
+
* @deprecated Filter by access key (deprecated in favor of `access_keys`).
|
|
1031
|
+
*/
|
|
698
1032
|
accessKey?: string;
|
|
699
|
-
/**
|
|
1033
|
+
/**
|
|
1034
|
+
* Filter by description.
|
|
1035
|
+
*/
|
|
700
1036
|
description?: string;
|
|
701
|
-
/**
|
|
1037
|
+
/**
|
|
1038
|
+
* Filter by bearer ID.
|
|
1039
|
+
*/
|
|
702
1040
|
bearerId?: string;
|
|
703
|
-
/**
|
|
1041
|
+
/**
|
|
1042
|
+
* Filter by type of bearer.
|
|
1043
|
+
*/
|
|
704
1044
|
bearerType?: BearerType;
|
|
705
|
-
/**
|
|
1045
|
+
/**
|
|
1046
|
+
* Filter by a list of access keys.
|
|
1047
|
+
*/
|
|
706
1048
|
accessKeys?: string[];
|
|
707
1049
|
};
|
|
708
1050
|
export interface ListAPIKeysResponse {
|
|
709
|
-
/**
|
|
1051
|
+
/**
|
|
1052
|
+
* List of API keys.
|
|
1053
|
+
*/
|
|
710
1054
|
apiKeys: APIKey[];
|
|
711
|
-
/**
|
|
1055
|
+
/**
|
|
1056
|
+
* Total count of API Keys.
|
|
1057
|
+
*/
|
|
712
1058
|
totalCount: number;
|
|
713
1059
|
}
|
|
714
1060
|
export type ListApplicationsRequest = {
|
|
715
|
-
/**
|
|
1061
|
+
/**
|
|
1062
|
+
* Criteria for sorting results.
|
|
1063
|
+
*/
|
|
716
1064
|
orderBy?: ListApplicationsRequestOrderBy;
|
|
717
|
-
/**
|
|
1065
|
+
/**
|
|
1066
|
+
* Number of results per page. Value must be between 1 and 100.
|
|
1067
|
+
*/
|
|
718
1068
|
pageSize?: number;
|
|
719
|
-
/**
|
|
1069
|
+
/**
|
|
1070
|
+
* Page number. Value must be greater than 1.
|
|
1071
|
+
*/
|
|
720
1072
|
page?: number;
|
|
721
|
-
/**
|
|
1073
|
+
/**
|
|
1074
|
+
* Name of the application to filter.
|
|
1075
|
+
*/
|
|
722
1076
|
name?: string;
|
|
723
|
-
/**
|
|
1077
|
+
/**
|
|
1078
|
+
* ID of the Organization to filter.
|
|
1079
|
+
*/
|
|
724
1080
|
organizationId?: string;
|
|
725
|
-
/**
|
|
1081
|
+
/**
|
|
1082
|
+
* Defines whether to filter out editable applications or not.
|
|
1083
|
+
*/
|
|
726
1084
|
editable?: boolean;
|
|
727
|
-
/**
|
|
1085
|
+
/**
|
|
1086
|
+
* Filter by list of IDs.
|
|
1087
|
+
*/
|
|
728
1088
|
applicationIds?: string[];
|
|
729
|
-
/**
|
|
1089
|
+
/**
|
|
1090
|
+
* Filter by tags containing a given string.
|
|
1091
|
+
*/
|
|
730
1092
|
tag?: string;
|
|
731
1093
|
};
|
|
732
1094
|
export interface ListApplicationsResponse {
|
|
733
|
-
/**
|
|
1095
|
+
/**
|
|
1096
|
+
* List of applications.
|
|
1097
|
+
*/
|
|
734
1098
|
applications: Application[];
|
|
735
|
-
/**
|
|
1099
|
+
/**
|
|
1100
|
+
* Total count of applications.
|
|
1101
|
+
*/
|
|
736
1102
|
totalCount: number;
|
|
737
1103
|
}
|
|
738
1104
|
export type ListGracePeriodsRequest = {
|
|
739
|
-
/**
|
|
1105
|
+
/**
|
|
1106
|
+
* ID of the user to list grace periods for.
|
|
1107
|
+
*/
|
|
740
1108
|
userId?: string;
|
|
741
1109
|
};
|
|
742
1110
|
export interface ListGracePeriodsResponse {
|
|
743
|
-
/**
|
|
1111
|
+
/**
|
|
1112
|
+
* List of grace periods.
|
|
1113
|
+
*/
|
|
744
1114
|
gracePeriods: GracePeriod[];
|
|
745
1115
|
}
|
|
746
1116
|
export type ListGroupsRequest = {
|
|
747
|
-
/**
|
|
1117
|
+
/**
|
|
1118
|
+
* Sort order of groups.
|
|
1119
|
+
*/
|
|
748
1120
|
orderBy?: ListGroupsRequestOrderBy;
|
|
749
|
-
/**
|
|
1121
|
+
/**
|
|
1122
|
+
* Requested page number. Value must be greater or equal to 1.
|
|
1123
|
+
*/
|
|
750
1124
|
page?: number;
|
|
751
|
-
/**
|
|
1125
|
+
/**
|
|
1126
|
+
* Number of items per page. Value must be between 1 and 100.
|
|
1127
|
+
*/
|
|
752
1128
|
pageSize?: number;
|
|
753
|
-
/**
|
|
1129
|
+
/**
|
|
1130
|
+
* Filter by Organization ID.
|
|
1131
|
+
*/
|
|
754
1132
|
organizationId?: string;
|
|
755
|
-
/**
|
|
1133
|
+
/**
|
|
1134
|
+
* Name of group to find.
|
|
1135
|
+
*/
|
|
756
1136
|
name?: string;
|
|
757
|
-
/**
|
|
1137
|
+
/**
|
|
1138
|
+
* Filter by a list of application IDs.
|
|
1139
|
+
*/
|
|
758
1140
|
applicationIds?: string[];
|
|
759
|
-
/**
|
|
1141
|
+
/**
|
|
1142
|
+
* Filter by a list of user IDs.
|
|
1143
|
+
*/
|
|
760
1144
|
userIds?: string[];
|
|
761
|
-
/**
|
|
1145
|
+
/**
|
|
1146
|
+
* Filter by a list of group IDs.
|
|
1147
|
+
*/
|
|
762
1148
|
groupIds?: string[];
|
|
763
|
-
/**
|
|
1149
|
+
/**
|
|
1150
|
+
* Filter by tags containing a given string.
|
|
1151
|
+
*/
|
|
764
1152
|
tag?: string;
|
|
765
1153
|
};
|
|
766
1154
|
export interface ListGroupsResponse {
|
|
767
|
-
/**
|
|
1155
|
+
/**
|
|
1156
|
+
* List of groups.
|
|
1157
|
+
*/
|
|
768
1158
|
groups: Group[];
|
|
769
|
-
/**
|
|
1159
|
+
/**
|
|
1160
|
+
* Total count of groups.
|
|
1161
|
+
*/
|
|
770
1162
|
totalCount: number;
|
|
771
1163
|
}
|
|
772
1164
|
export type ListJWTsRequest = {
|
|
773
|
-
/**
|
|
1165
|
+
/**
|
|
1166
|
+
* Criteria for sorting results.
|
|
1167
|
+
*/
|
|
774
1168
|
orderBy?: ListJWTsRequestOrderBy;
|
|
775
|
-
/**
|
|
1169
|
+
/**
|
|
1170
|
+
* ID of the user to search.
|
|
1171
|
+
*/
|
|
776
1172
|
audienceId?: string;
|
|
777
|
-
/**
|
|
1173
|
+
/**
|
|
1174
|
+
* Number of results per page. Value must be between 1 and 100.
|
|
1175
|
+
*/
|
|
778
1176
|
pageSize?: number;
|
|
779
|
-
/**
|
|
1177
|
+
/**
|
|
1178
|
+
* Page number. Value must be greater to 1.
|
|
1179
|
+
*/
|
|
780
1180
|
page?: number;
|
|
781
|
-
/**
|
|
1181
|
+
/**
|
|
1182
|
+
* Filter out expired JWTs or not.
|
|
1183
|
+
*/
|
|
782
1184
|
expired?: boolean;
|
|
783
1185
|
};
|
|
784
1186
|
export interface ListJWTsResponse {
|
|
@@ -786,174 +1188,308 @@ export interface ListJWTsResponse {
|
|
|
786
1188
|
totalCount: number;
|
|
787
1189
|
}
|
|
788
1190
|
export type ListLogsRequest = {
|
|
789
|
-
/**
|
|
1191
|
+
/**
|
|
1192
|
+
* Criteria for sorting results.
|
|
1193
|
+
*/
|
|
790
1194
|
orderBy?: ListLogsRequestOrderBy;
|
|
791
|
-
/**
|
|
1195
|
+
/**
|
|
1196
|
+
* Filter by Organization ID.
|
|
1197
|
+
*/
|
|
792
1198
|
organizationId?: string;
|
|
793
|
-
/**
|
|
1199
|
+
/**
|
|
1200
|
+
* Number of results per page. Value must be between 1 and 100.
|
|
1201
|
+
*/
|
|
794
1202
|
pageSize?: number;
|
|
795
|
-
/**
|
|
1203
|
+
/**
|
|
1204
|
+
* Page number. Value must be greater to 1.
|
|
1205
|
+
*/
|
|
796
1206
|
page?: number;
|
|
797
|
-
/**
|
|
1207
|
+
/**
|
|
1208
|
+
* Defined whether or not to filter out logs created after this timestamp.
|
|
1209
|
+
*/
|
|
798
1210
|
createdAfter?: Date;
|
|
799
|
-
/**
|
|
1211
|
+
/**
|
|
1212
|
+
* Defined whether or not to filter out logs created before this timestamp.
|
|
1213
|
+
*/
|
|
800
1214
|
createdBefore?: Date;
|
|
801
|
-
/**
|
|
1215
|
+
/**
|
|
1216
|
+
* Defined whether or not to filter out by a specific action.
|
|
1217
|
+
*/
|
|
802
1218
|
action?: LogAction;
|
|
803
|
-
/**
|
|
1219
|
+
/**
|
|
1220
|
+
* Defined whether or not to filter out by a specific type of resource.
|
|
1221
|
+
*/
|
|
804
1222
|
resourceType?: LogResourceType;
|
|
805
|
-
/**
|
|
1223
|
+
/**
|
|
1224
|
+
* Defined whether or not to filter out log by bearer ID or resource ID.
|
|
1225
|
+
*/
|
|
806
1226
|
search?: string;
|
|
807
1227
|
};
|
|
808
1228
|
export interface ListLogsResponse {
|
|
809
|
-
/**
|
|
1229
|
+
/**
|
|
1230
|
+
* List of logs.
|
|
1231
|
+
*/
|
|
810
1232
|
logs: Log[];
|
|
811
|
-
/**
|
|
1233
|
+
/**
|
|
1234
|
+
* Total count of logs.
|
|
1235
|
+
*/
|
|
812
1236
|
totalCount: number;
|
|
813
1237
|
}
|
|
814
1238
|
export type ListPermissionSetsRequest = {
|
|
815
|
-
/**
|
|
1239
|
+
/**
|
|
1240
|
+
* Criteria for sorting results.
|
|
1241
|
+
*/
|
|
816
1242
|
orderBy?: ListPermissionSetsRequestOrderBy;
|
|
817
|
-
/**
|
|
1243
|
+
/**
|
|
1244
|
+
* Number of results per page. Value must be between 1 and 100.
|
|
1245
|
+
*/
|
|
818
1246
|
pageSize?: number;
|
|
819
|
-
/**
|
|
1247
|
+
/**
|
|
1248
|
+
* Page number. Value must be greater than 1.
|
|
1249
|
+
*/
|
|
820
1250
|
page?: number;
|
|
821
|
-
/**
|
|
1251
|
+
/**
|
|
1252
|
+
* Filter by Organization ID.
|
|
1253
|
+
*/
|
|
822
1254
|
organizationId?: string;
|
|
823
1255
|
};
|
|
824
1256
|
export interface ListPermissionSetsResponse {
|
|
825
|
-
/**
|
|
1257
|
+
/**
|
|
1258
|
+
* List of permission sets.
|
|
1259
|
+
*/
|
|
826
1260
|
permissionSets: PermissionSet[];
|
|
827
|
-
/**
|
|
1261
|
+
/**
|
|
1262
|
+
* Total count of permission sets.
|
|
1263
|
+
*/
|
|
828
1264
|
totalCount: number;
|
|
829
1265
|
}
|
|
830
1266
|
export type ListPoliciesRequest = {
|
|
831
|
-
/**
|
|
1267
|
+
/**
|
|
1268
|
+
* Criteria for sorting results.
|
|
1269
|
+
*/
|
|
832
1270
|
orderBy?: ListPoliciesRequestOrderBy;
|
|
833
|
-
/**
|
|
1271
|
+
/**
|
|
1272
|
+
* Number of results per page. Value must be between 1 and 100.
|
|
1273
|
+
*/
|
|
834
1274
|
pageSize?: number;
|
|
835
|
-
/**
|
|
1275
|
+
/**
|
|
1276
|
+
* Page number. Value must be greater than 1.
|
|
1277
|
+
*/
|
|
836
1278
|
page?: number;
|
|
837
|
-
/**
|
|
1279
|
+
/**
|
|
1280
|
+
* ID of the Organization to filter.
|
|
1281
|
+
*/
|
|
838
1282
|
organizationId?: string;
|
|
839
|
-
/**
|
|
1283
|
+
/**
|
|
1284
|
+
* Defines whether or not filter out editable policies.
|
|
1285
|
+
*/
|
|
840
1286
|
editable?: boolean;
|
|
841
|
-
/**
|
|
1287
|
+
/**
|
|
1288
|
+
* Defines whether or not to filter by list of user IDs.
|
|
1289
|
+
*/
|
|
842
1290
|
userIds?: string[];
|
|
843
|
-
/**
|
|
1291
|
+
/**
|
|
1292
|
+
* Defines whether or not to filter by list of group IDs.
|
|
1293
|
+
*/
|
|
844
1294
|
groupIds?: string[];
|
|
845
|
-
/**
|
|
1295
|
+
/**
|
|
1296
|
+
* Filter by a list of application IDs.
|
|
1297
|
+
*/
|
|
846
1298
|
applicationIds?: string[];
|
|
847
|
-
/**
|
|
1299
|
+
/**
|
|
1300
|
+
* Defines whether or not the policy is attributed to a principal.
|
|
1301
|
+
*/
|
|
848
1302
|
noPrincipal?: boolean;
|
|
849
|
-
/**
|
|
1303
|
+
/**
|
|
1304
|
+
* Name of the policy to fetch.
|
|
1305
|
+
*/
|
|
850
1306
|
policyName?: string;
|
|
851
|
-
/**
|
|
1307
|
+
/**
|
|
1308
|
+
* Filter by tags containing a given string.
|
|
1309
|
+
*/
|
|
852
1310
|
tag?: string;
|
|
853
|
-
/**
|
|
1311
|
+
/**
|
|
1312
|
+
* Filter by a list of IDs.
|
|
1313
|
+
*/
|
|
854
1314
|
policyIds?: string[];
|
|
855
1315
|
};
|
|
856
1316
|
export interface ListPoliciesResponse {
|
|
857
|
-
/**
|
|
1317
|
+
/**
|
|
1318
|
+
* List of policies.
|
|
1319
|
+
*/
|
|
858
1320
|
policies: Policy[];
|
|
859
|
-
/**
|
|
1321
|
+
/**
|
|
1322
|
+
* Total count of policies.
|
|
1323
|
+
*/
|
|
860
1324
|
totalCount: number;
|
|
861
1325
|
}
|
|
862
1326
|
export type ListQuotaRequest = {
|
|
863
|
-
/**
|
|
1327
|
+
/**
|
|
1328
|
+
* Criteria for sorting results.
|
|
1329
|
+
*/
|
|
864
1330
|
orderBy?: ListQuotaRequestOrderBy;
|
|
865
|
-
/**
|
|
1331
|
+
/**
|
|
1332
|
+
* Number of results per page. Value must be between 1 and 100.
|
|
1333
|
+
*/
|
|
866
1334
|
pageSize?: number;
|
|
867
|
-
/**
|
|
1335
|
+
/**
|
|
1336
|
+
* Page number. Value must be greater than 1.
|
|
1337
|
+
*/
|
|
868
1338
|
page?: number;
|
|
869
|
-
/**
|
|
1339
|
+
/**
|
|
1340
|
+
* Filter by Organization ID.
|
|
1341
|
+
*/
|
|
870
1342
|
organizationId?: string;
|
|
871
|
-
/**
|
|
1343
|
+
/**
|
|
1344
|
+
* List of quotum names to filter from.
|
|
1345
|
+
*/
|
|
872
1346
|
quotumNames?: string[];
|
|
873
1347
|
};
|
|
874
1348
|
export interface ListQuotaResponse {
|
|
875
|
-
/**
|
|
1349
|
+
/**
|
|
1350
|
+
* List of quota.
|
|
1351
|
+
*/
|
|
876
1352
|
quota: Quotum[];
|
|
877
|
-
/**
|
|
1353
|
+
/**
|
|
1354
|
+
* Total count of quota.
|
|
1355
|
+
*/
|
|
878
1356
|
totalCount: number;
|
|
879
1357
|
}
|
|
880
1358
|
export type ListRulesRequest = {
|
|
881
|
-
/**
|
|
1359
|
+
/**
|
|
1360
|
+
* Id of policy to search.
|
|
1361
|
+
*/
|
|
882
1362
|
policyId: string;
|
|
883
|
-
/**
|
|
1363
|
+
/**
|
|
1364
|
+
* Number of results per page. Value must be between 1 and 100.
|
|
1365
|
+
*/
|
|
884
1366
|
pageSize?: number;
|
|
885
|
-
/**
|
|
1367
|
+
/**
|
|
1368
|
+
* Page number. Value must be greater than 1.
|
|
1369
|
+
*/
|
|
886
1370
|
page?: number;
|
|
887
1371
|
};
|
|
888
1372
|
export interface ListRulesResponse {
|
|
889
|
-
/**
|
|
1373
|
+
/**
|
|
1374
|
+
* Rules of the policy.
|
|
1375
|
+
*/
|
|
890
1376
|
rules: Rule[];
|
|
891
|
-
/**
|
|
1377
|
+
/**
|
|
1378
|
+
* Total count of rules.
|
|
1379
|
+
*/
|
|
892
1380
|
totalCount: number;
|
|
893
1381
|
}
|
|
894
1382
|
export type ListSSHKeysRequest = {
|
|
895
|
-
/**
|
|
1383
|
+
/**
|
|
1384
|
+
* Sort order of the SSH keys.
|
|
1385
|
+
*/
|
|
896
1386
|
orderBy?: ListSSHKeysRequestOrderBy;
|
|
897
|
-
/**
|
|
1387
|
+
/**
|
|
1388
|
+
* Requested page number. Value must be greater or equal to 1.
|
|
1389
|
+
*/
|
|
898
1390
|
page?: number;
|
|
899
|
-
/**
|
|
1391
|
+
/**
|
|
1392
|
+
* Number of items per page. Value must be between 1 and 100.
|
|
1393
|
+
*/
|
|
900
1394
|
pageSize?: number;
|
|
901
|
-
/**
|
|
1395
|
+
/**
|
|
1396
|
+
* Filter by Organization ID.
|
|
1397
|
+
*/
|
|
902
1398
|
organizationId?: string;
|
|
903
|
-
/**
|
|
1399
|
+
/**
|
|
1400
|
+
* Name of group to find.
|
|
1401
|
+
*/
|
|
904
1402
|
name?: string;
|
|
905
|
-
/**
|
|
1403
|
+
/**
|
|
1404
|
+
* Filter by Project ID.
|
|
1405
|
+
*/
|
|
906
1406
|
projectId?: string;
|
|
907
|
-
/**
|
|
1407
|
+
/**
|
|
1408
|
+
* Defines whether to include disabled SSH keys or not.
|
|
1409
|
+
*/
|
|
908
1410
|
disabled?: boolean;
|
|
909
1411
|
};
|
|
910
1412
|
export interface ListSSHKeysResponse {
|
|
911
|
-
/**
|
|
1413
|
+
/**
|
|
1414
|
+
* List of SSH keys.
|
|
1415
|
+
*/
|
|
912
1416
|
sshKeys: SSHKey[];
|
|
913
|
-
/**
|
|
1417
|
+
/**
|
|
1418
|
+
* Total count of SSH keys.
|
|
1419
|
+
*/
|
|
914
1420
|
totalCount: number;
|
|
915
1421
|
}
|
|
916
1422
|
export type ListUsersRequest = {
|
|
917
|
-
/**
|
|
1423
|
+
/**
|
|
1424
|
+
* Criteria for sorting results.
|
|
1425
|
+
*/
|
|
918
1426
|
orderBy?: ListUsersRequestOrderBy;
|
|
919
|
-
/**
|
|
1427
|
+
/**
|
|
1428
|
+
* Number of results per page. Value must be between 1 and 100.
|
|
1429
|
+
*/
|
|
920
1430
|
pageSize?: number;
|
|
921
|
-
/**
|
|
1431
|
+
/**
|
|
1432
|
+
* Page number. Value must be greater or equal to 1.
|
|
1433
|
+
*/
|
|
922
1434
|
page?: number;
|
|
923
|
-
/**
|
|
1435
|
+
/**
|
|
1436
|
+
* ID of the Organization to filter.
|
|
1437
|
+
*/
|
|
924
1438
|
organizationId?: string;
|
|
925
|
-
/**
|
|
1439
|
+
/**
|
|
1440
|
+
* Filter by list of IDs.
|
|
1441
|
+
*/
|
|
926
1442
|
userIds?: string[];
|
|
927
|
-
/**
|
|
1443
|
+
/**
|
|
1444
|
+
* Filter by MFA status.
|
|
1445
|
+
*/
|
|
928
1446
|
mfa?: boolean;
|
|
929
|
-
/**
|
|
1447
|
+
/**
|
|
1448
|
+
* Filter by tags containing a given string.
|
|
1449
|
+
*/
|
|
930
1450
|
tag?: string;
|
|
931
|
-
/**
|
|
1451
|
+
/**
|
|
1452
|
+
* Filter by user type.
|
|
1453
|
+
*/
|
|
932
1454
|
type?: UserType;
|
|
933
1455
|
};
|
|
934
1456
|
export interface ListUsersResponse {
|
|
935
|
-
/**
|
|
1457
|
+
/**
|
|
1458
|
+
* List of users.
|
|
1459
|
+
*/
|
|
936
1460
|
users: User[];
|
|
937
|
-
/**
|
|
1461
|
+
/**
|
|
1462
|
+
* Total count of users.
|
|
1463
|
+
*/
|
|
938
1464
|
totalCount: number;
|
|
939
1465
|
}
|
|
940
1466
|
export type LockUserRequest = {
|
|
941
|
-
/**
|
|
1467
|
+
/**
|
|
1468
|
+
* ID of the user to lock.
|
|
1469
|
+
*/
|
|
942
1470
|
userId: string;
|
|
943
1471
|
};
|
|
944
1472
|
export interface MFAOTP {
|
|
945
1473
|
secret: string;
|
|
946
1474
|
}
|
|
947
1475
|
export interface OrganizationSecuritySettings {
|
|
948
|
-
/**
|
|
1476
|
+
/**
|
|
1477
|
+
* Defines whether password renewal is enforced during first login.
|
|
1478
|
+
*/
|
|
949
1479
|
enforcePasswordRenewal: boolean;
|
|
950
|
-
/**
|
|
1480
|
+
/**
|
|
1481
|
+
* Duration of the grace period to renew password or enable MFA.
|
|
1482
|
+
*/
|
|
951
1483
|
gracePeriodDuration?: string;
|
|
952
|
-
/**
|
|
1484
|
+
/**
|
|
1485
|
+
* Number of login attempts before the account is locked.
|
|
1486
|
+
*/
|
|
953
1487
|
loginAttemptsBeforeLocked: number;
|
|
954
1488
|
}
|
|
955
1489
|
export type RemoveGroupMemberRequest = {
|
|
956
|
-
/**
|
|
1490
|
+
/**
|
|
1491
|
+
* ID of the group.
|
|
1492
|
+
*/
|
|
957
1493
|
groupId: string;
|
|
958
1494
|
/**
|
|
959
1495
|
* ID of the user to remove.
|
|
@@ -974,140 +1510,211 @@ export type SetGroupMembersRequest = {
|
|
|
974
1510
|
applicationIds: string[];
|
|
975
1511
|
};
|
|
976
1512
|
export type SetRulesRequest = {
|
|
977
|
-
/**
|
|
1513
|
+
/**
|
|
1514
|
+
* Id of policy to update.
|
|
1515
|
+
*/
|
|
978
1516
|
policyId: string;
|
|
979
|
-
/**
|
|
1517
|
+
/**
|
|
1518
|
+
* Rules of the policy to set.
|
|
1519
|
+
*/
|
|
980
1520
|
rules: RuleSpecs[];
|
|
981
1521
|
};
|
|
982
1522
|
export interface SetRulesResponse {
|
|
983
|
-
/**
|
|
1523
|
+
/**
|
|
1524
|
+
* Rules of the policy.
|
|
1525
|
+
*/
|
|
984
1526
|
rules: Rule[];
|
|
985
1527
|
}
|
|
986
1528
|
export type UnlockUserRequest = {
|
|
987
|
-
/**
|
|
1529
|
+
/**
|
|
1530
|
+
* ID of the user to unlock.
|
|
1531
|
+
*/
|
|
988
1532
|
userId: string;
|
|
989
1533
|
};
|
|
990
1534
|
export type UpdateAPIKeyRequest = {
|
|
991
|
-
/**
|
|
1535
|
+
/**
|
|
1536
|
+
* Access key to update.
|
|
1537
|
+
*/
|
|
992
1538
|
accessKey: string;
|
|
993
|
-
/**
|
|
1539
|
+
/**
|
|
1540
|
+
* New default Project ID to set.
|
|
1541
|
+
*/
|
|
994
1542
|
defaultProjectId?: string;
|
|
995
|
-
/**
|
|
1543
|
+
/**
|
|
1544
|
+
* New description to update.
|
|
1545
|
+
*/
|
|
996
1546
|
description?: string;
|
|
997
1547
|
};
|
|
998
1548
|
export type UpdateApplicationRequest = {
|
|
999
|
-
/**
|
|
1549
|
+
/**
|
|
1550
|
+
* ID of the application to update.
|
|
1551
|
+
*/
|
|
1000
1552
|
applicationId: string;
|
|
1001
|
-
/**
|
|
1553
|
+
/**
|
|
1554
|
+
* New name for the application (max length is 64 chars).
|
|
1555
|
+
*/
|
|
1002
1556
|
name?: string;
|
|
1003
|
-
/**
|
|
1557
|
+
/**
|
|
1558
|
+
* New description for the application (max length is 200 chars).
|
|
1559
|
+
*/
|
|
1004
1560
|
description?: string;
|
|
1005
|
-
/**
|
|
1561
|
+
/**
|
|
1562
|
+
* New tags for the application (maximum of 10 tags).
|
|
1563
|
+
*/
|
|
1006
1564
|
tags?: string[];
|
|
1007
1565
|
};
|
|
1008
1566
|
export type UpdateGroupRequest = {
|
|
1009
|
-
/**
|
|
1567
|
+
/**
|
|
1568
|
+
* ID of the group to update.
|
|
1569
|
+
*/
|
|
1010
1570
|
groupId: string;
|
|
1011
1571
|
/**
|
|
1012
|
-
* New name for the group (max length is 64 chars). MUST be unique inside an
|
|
1013
|
-
* Organization.
|
|
1572
|
+
* New name for the group (max length is 64 chars). MUST be unique inside an Organization.
|
|
1014
1573
|
*/
|
|
1015
1574
|
name?: string;
|
|
1016
|
-
/**
|
|
1575
|
+
/**
|
|
1576
|
+
* New description for the group (max length is 200 chars).
|
|
1577
|
+
*/
|
|
1017
1578
|
description?: string;
|
|
1018
|
-
/**
|
|
1579
|
+
/**
|
|
1580
|
+
* New tags for the group (maximum of 10 tags).
|
|
1581
|
+
*/
|
|
1019
1582
|
tags?: string[];
|
|
1020
1583
|
};
|
|
1021
1584
|
export type UpdateOrganizationSecuritySettingsRequest = {
|
|
1022
|
-
/**
|
|
1585
|
+
/**
|
|
1586
|
+
* ID of the Organization.
|
|
1587
|
+
*/
|
|
1023
1588
|
organizationId?: string;
|
|
1024
|
-
/**
|
|
1589
|
+
/**
|
|
1590
|
+
* Defines whether password renewal is enforced during first login.
|
|
1591
|
+
*/
|
|
1025
1592
|
enforcePasswordRenewal?: boolean;
|
|
1026
|
-
/**
|
|
1593
|
+
/**
|
|
1594
|
+
* Duration of the grace period to renew password or enable MFA.
|
|
1595
|
+
*/
|
|
1027
1596
|
gracePeriodDuration?: string;
|
|
1028
|
-
/**
|
|
1597
|
+
/**
|
|
1598
|
+
* Number of login attempts before the account is locked.
|
|
1599
|
+
*/
|
|
1029
1600
|
loginAttemptsBeforeLocked?: number;
|
|
1030
1601
|
};
|
|
1031
1602
|
export type UpdatePolicyRequest = {
|
|
1032
|
-
/**
|
|
1603
|
+
/**
|
|
1604
|
+
* Id of policy to update.
|
|
1605
|
+
*/
|
|
1033
1606
|
policyId: string;
|
|
1034
|
-
/**
|
|
1607
|
+
/**
|
|
1608
|
+
* New name for the policy (max length is 64 characters).
|
|
1609
|
+
*/
|
|
1035
1610
|
name?: string;
|
|
1036
|
-
/**
|
|
1611
|
+
/**
|
|
1612
|
+
* New description of policy (max length is 200 characters).
|
|
1613
|
+
*/
|
|
1037
1614
|
description?: string;
|
|
1038
|
-
/**
|
|
1615
|
+
/**
|
|
1616
|
+
* New tags for the policy (maximum of 10 tags).
|
|
1617
|
+
*/
|
|
1039
1618
|
tags?: string[];
|
|
1040
1619
|
/**
|
|
1041
1620
|
* New ID of user attributed to the policy.
|
|
1042
1621
|
*
|
|
1043
|
-
* One-of ('principal'): at most one of 'userId', 'groupId', 'applicationId',
|
|
1044
|
-
* 'noPrincipal' could be set.
|
|
1622
|
+
* One-of ('principal'): at most one of 'userId', 'groupId', 'applicationId', 'noPrincipal' could be set.
|
|
1045
1623
|
*/
|
|
1046
1624
|
userId?: string;
|
|
1047
1625
|
/**
|
|
1048
1626
|
* New ID of group attributed to the policy.
|
|
1049
1627
|
*
|
|
1050
|
-
* One-of ('principal'): at most one of 'userId', 'groupId', 'applicationId',
|
|
1051
|
-
* 'noPrincipal' could be set.
|
|
1628
|
+
* One-of ('principal'): at most one of 'userId', 'groupId', 'applicationId', 'noPrincipal' could be set.
|
|
1052
1629
|
*/
|
|
1053
1630
|
groupId?: string;
|
|
1054
1631
|
/**
|
|
1055
1632
|
* New ID of application attributed to the policy.
|
|
1056
1633
|
*
|
|
1057
|
-
* One-of ('principal'): at most one of 'userId', 'groupId', 'applicationId',
|
|
1058
|
-
* 'noPrincipal' could be set.
|
|
1634
|
+
* One-of ('principal'): at most one of 'userId', 'groupId', 'applicationId', 'noPrincipal' could be set.
|
|
1059
1635
|
*/
|
|
1060
1636
|
applicationId?: string;
|
|
1061
1637
|
/**
|
|
1062
1638
|
* Defines whether or not the policy is attributed to a principal.
|
|
1063
1639
|
*
|
|
1064
|
-
* One-of ('principal'): at most one of 'userId', 'groupId', 'applicationId',
|
|
1065
|
-
* 'noPrincipal' could be set.
|
|
1640
|
+
* One-of ('principal'): at most one of 'userId', 'groupId', 'applicationId', 'noPrincipal' could be set.
|
|
1066
1641
|
*/
|
|
1067
1642
|
noPrincipal?: boolean;
|
|
1068
1643
|
};
|
|
1069
1644
|
export type UpdateSSHKeyRequest = {
|
|
1070
1645
|
sshKeyId: string;
|
|
1071
|
-
/**
|
|
1646
|
+
/**
|
|
1647
|
+
* Name of the SSH key. Max length is 1000.
|
|
1648
|
+
*/
|
|
1072
1649
|
name?: string;
|
|
1073
|
-
/**
|
|
1650
|
+
/**
|
|
1651
|
+
* Enable or disable the SSH key.
|
|
1652
|
+
*/
|
|
1074
1653
|
disabled?: boolean;
|
|
1075
1654
|
};
|
|
1076
1655
|
export type UpdateUserPasswordRequest = {
|
|
1077
|
-
/**
|
|
1656
|
+
/**
|
|
1657
|
+
* ID of the user to update.
|
|
1658
|
+
*/
|
|
1078
1659
|
userId: string;
|
|
1079
|
-
/**
|
|
1660
|
+
/**
|
|
1661
|
+
* The new password.
|
|
1662
|
+
*/
|
|
1080
1663
|
password: string;
|
|
1081
1664
|
};
|
|
1082
1665
|
export type UpdateUserRequest = {
|
|
1083
|
-
/**
|
|
1666
|
+
/**
|
|
1667
|
+
* ID of the user to update.
|
|
1668
|
+
*/
|
|
1084
1669
|
userId: string;
|
|
1085
|
-
/**
|
|
1670
|
+
/**
|
|
1671
|
+
* New tags for the user (maximum of 10 tags).
|
|
1672
|
+
*/
|
|
1086
1673
|
tags?: string[];
|
|
1087
|
-
/**
|
|
1674
|
+
/**
|
|
1675
|
+
* IAM member email.
|
|
1676
|
+
*/
|
|
1088
1677
|
email?: string;
|
|
1089
|
-
/**
|
|
1678
|
+
/**
|
|
1679
|
+
* IAM member first name.
|
|
1680
|
+
*/
|
|
1090
1681
|
firstName?: string;
|
|
1091
|
-
/**
|
|
1682
|
+
/**
|
|
1683
|
+
* IAM member last name.
|
|
1684
|
+
*/
|
|
1092
1685
|
lastName?: string;
|
|
1093
|
-
/**
|
|
1686
|
+
/**
|
|
1687
|
+
* IAM member phone number.
|
|
1688
|
+
*/
|
|
1094
1689
|
phoneNumber?: string;
|
|
1095
|
-
/**
|
|
1690
|
+
/**
|
|
1691
|
+
* IAM member locale.
|
|
1692
|
+
*/
|
|
1096
1693
|
locale?: string;
|
|
1097
1694
|
};
|
|
1098
1695
|
export type UpdateUserUsernameRequest = {
|
|
1099
|
-
/**
|
|
1696
|
+
/**
|
|
1697
|
+
* ID of the user to update.
|
|
1698
|
+
*/
|
|
1100
1699
|
userId: string;
|
|
1101
|
-
/**
|
|
1700
|
+
/**
|
|
1701
|
+
* The new username.
|
|
1702
|
+
*/
|
|
1102
1703
|
username: string;
|
|
1103
1704
|
};
|
|
1104
1705
|
export type ValidateUserMFAOTPRequest = {
|
|
1105
|
-
/**
|
|
1706
|
+
/**
|
|
1707
|
+
* User ID of the MFA OTP.
|
|
1708
|
+
*/
|
|
1106
1709
|
userId: string;
|
|
1107
|
-
/**
|
|
1710
|
+
/**
|
|
1711
|
+
* A password generated using the OTP.
|
|
1712
|
+
*/
|
|
1108
1713
|
oneTimePassword: string;
|
|
1109
1714
|
};
|
|
1110
1715
|
export interface ValidateUserMFAOTPResponse {
|
|
1111
|
-
/**
|
|
1716
|
+
/**
|
|
1717
|
+
* List of recovery codes usable for this OTP method.
|
|
1718
|
+
*/
|
|
1112
1719
|
recoveryCodes: string[];
|
|
1113
1720
|
}
|