@scaleway/sdk 2.71.1 → 2.72.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api/account/index.gen.d.ts +2 -2
- package/dist/api/account/v2/api.gen.cjs +5 -4
- package/dist/api/account/v2/api.gen.d.ts +1 -1
- package/dist/api/account/v2/api.gen.js +5 -4
- package/dist/api/account/v2/marshalling.gen.cjs +4 -3
- package/dist/api/account/v2/marshalling.gen.d.ts +1 -1
- package/dist/api/account/v2/marshalling.gen.js +4 -3
- package/dist/api/account/v3/api.gen.cjs +5 -4
- package/dist/api/account/v3/api.gen.d.ts +1 -1
- package/dist/api/account/v3/api.gen.js +5 -4
- package/dist/api/account/v3/index.gen.d.ts +1 -1
- package/dist/api/account/v3/marshalling.gen.cjs +4 -3
- package/dist/api/account/v3/marshalling.gen.d.ts +1 -1
- package/dist/api/account/v3/marshalling.gen.js +4 -3
- package/dist/api/applesilicon/index.gen.d.ts +2 -2
- package/dist/api/applesilicon/v1alpha1/api.gen.cjs +6 -5
- package/dist/api/applesilicon/v1alpha1/api.gen.d.ts +2 -2
- package/dist/api/applesilicon/v1alpha1/api.gen.js +6 -5
- package/dist/api/applesilicon/v1alpha1/index.gen.d.ts +1 -1
- package/dist/api/applesilicon/v1alpha1/marshalling.gen.cjs +4 -3
- package/dist/api/applesilicon/v1alpha1/marshalling.gen.d.ts +1 -1
- package/dist/api/applesilicon/v1alpha1/marshalling.gen.js +4 -3
- package/dist/api/applesilicon/v1alpha1/types.gen.d.ts +1 -1
- package/dist/api/audit_trail/index.gen.d.ts +2 -2
- package/dist/api/audit_trail/v1alpha1/api.gen.cjs +4 -3
- package/dist/api/audit_trail/v1alpha1/api.gen.d.ts +2 -2
- package/dist/api/audit_trail/v1alpha1/api.gen.js +4 -3
- package/dist/api/audit_trail/v1alpha1/marshalling.gen.cjs +4 -3
- package/dist/api/audit_trail/v1alpha1/marshalling.gen.js +4 -3
- package/dist/api/audit_trail/v1alpha1/types.gen.d.ts +1 -1
- package/dist/api/baremetal/index.gen.d.ts +2 -2
- package/dist/api/baremetal/v1/api.gen.cjs +6 -5
- package/dist/api/baremetal/v1/api.gen.d.ts +2 -2
- package/dist/api/baremetal/v1/api.gen.js +6 -5
- package/dist/api/baremetal/v1/api.utils.cjs +3 -1
- package/dist/api/baremetal/v1/api.utils.d.ts +1 -1
- package/dist/api/baremetal/v1/api.utils.js +3 -1
- package/dist/api/baremetal/v1/index.gen.d.ts +1 -1
- package/dist/api/baremetal/v1/marshalling.gen.cjs +4 -3
- package/dist/api/baremetal/v1/marshalling.gen.d.ts +1 -1
- package/dist/api/baremetal/v1/marshalling.gen.js +4 -3
- package/dist/api/baremetal/v1/types.gen.d.ts +65 -65
- package/dist/api/baremetal/v3/api.gen.cjs +5 -4
- package/dist/api/baremetal/v3/api.gen.d.ts +2 -2
- package/dist/api/baremetal/v3/api.gen.js +5 -4
- package/dist/api/baremetal/v3/marshalling.gen.cjs +4 -3
- package/dist/api/baremetal/v3/marshalling.gen.d.ts +1 -1
- package/dist/api/baremetal/v3/marshalling.gen.js +4 -3
- package/dist/api/baremetal/v3/types.gen.d.ts +1 -1
- package/dist/api/billing/index.gen.d.ts +2 -2
- package/dist/api/billing/v2alpha1/api.gen.cjs +5 -4
- package/dist/api/billing/v2alpha1/api.gen.d.ts +1 -1
- package/dist/api/billing/v2alpha1/api.gen.js +5 -4
- package/dist/api/billing/v2alpha1/marshalling.gen.cjs +4 -3
- package/dist/api/billing/v2alpha1/marshalling.gen.js +4 -3
- package/dist/api/billing/v2alpha1/types.gen.d.ts +1 -1
- package/dist/api/billing/v2beta1/api.gen.cjs +5 -4
- package/dist/api/billing/v2beta1/api.gen.d.ts +1 -1
- package/dist/api/billing/v2beta1/api.gen.js +5 -4
- package/dist/api/billing/v2beta1/marshalling.gen.cjs +4 -3
- package/dist/api/billing/v2beta1/marshalling.gen.js +4 -3
- package/dist/api/billing/v2beta1/types.gen.d.ts +1 -1
- package/dist/api/block/index.gen.d.ts +2 -2
- package/dist/api/block/v1/api.gen.cjs +6 -5
- package/dist/api/block/v1/api.gen.d.ts +2 -2
- package/dist/api/block/v1/api.gen.js +6 -5
- package/dist/api/block/v1/marshalling.gen.cjs +4 -3
- package/dist/api/block/v1/marshalling.gen.d.ts +1 -1
- package/dist/api/block/v1/marshalling.gen.js +4 -3
- package/dist/api/block/v1/types.gen.d.ts +1 -1
- package/dist/api/block/v1alpha1/api.gen.cjs +6 -5
- package/dist/api/block/v1alpha1/api.gen.d.ts +2 -2
- package/dist/api/block/v1alpha1/api.gen.js +6 -5
- package/dist/api/block/v1alpha1/marshalling.gen.cjs +4 -3
- package/dist/api/block/v1alpha1/marshalling.gen.d.ts +1 -1
- package/dist/api/block/v1alpha1/marshalling.gen.js +4 -3
- package/dist/api/block/v1alpha1/types.gen.d.ts +1 -1
- package/dist/api/cockpit/index.gen.d.ts +2 -2
- package/dist/api/cockpit/v1/api.gen.cjs +5 -4
- package/dist/api/cockpit/v1/api.gen.d.ts +2 -2
- package/dist/api/cockpit/v1/api.gen.js +5 -4
- package/dist/api/cockpit/v1/index.gen.d.ts +1 -1
- package/dist/api/cockpit/v1/marshalling.gen.cjs +4 -3
- package/dist/api/cockpit/v1/marshalling.gen.d.ts +1 -1
- package/dist/api/cockpit/v1/marshalling.gen.js +4 -3
- package/dist/api/cockpit/v1/types.gen.d.ts +1 -1
- package/dist/api/cockpit/v1beta1/api.gen.cjs +6 -5
- package/dist/api/cockpit/v1beta1/api.gen.d.ts +2 -2
- package/dist/api/cockpit/v1beta1/api.gen.js +6 -5
- package/dist/api/cockpit/v1beta1/marshalling.gen.cjs +4 -3
- package/dist/api/cockpit/v1beta1/marshalling.gen.d.ts +1 -1
- package/dist/api/cockpit/v1beta1/marshalling.gen.js +4 -3
- package/dist/api/cockpit/v1beta1/types.gen.d.ts +1 -1
- package/dist/api/container/index.gen.d.ts +2 -2
- package/dist/api/container/v1beta1/api.gen.cjs +6 -5
- package/dist/api/container/v1beta1/api.gen.d.ts +2 -2
- package/dist/api/container/v1beta1/api.gen.js +6 -5
- package/dist/api/container/v1beta1/marshalling.gen.cjs +4 -3
- package/dist/api/container/v1beta1/marshalling.gen.d.ts +1 -1
- package/dist/api/container/v1beta1/marshalling.gen.js +4 -3
- package/dist/api/container/v1beta1/types.gen.d.ts +1 -1
- package/dist/api/dedibox/index.gen.d.ts +2 -2
- package/dist/api/dedibox/v1/api.gen.cjs +6 -5
- package/dist/api/dedibox/v1/api.gen.d.ts +2 -2
- package/dist/api/dedibox/v1/api.gen.js +6 -5
- package/dist/api/dedibox/v1/marshalling.gen.cjs +4 -3
- package/dist/api/dedibox/v1/marshalling.gen.d.ts +1 -1
- package/dist/api/dedibox/v1/marshalling.gen.js +4 -3
- package/dist/api/dedibox/v1/types.gen.d.ts +1 -1
- package/dist/api/document_db/index.gen.d.ts +2 -2
- package/dist/api/document_db/v1beta1/api.gen.cjs +6 -5
- package/dist/api/document_db/v1beta1/api.gen.d.ts +2 -2
- package/dist/api/document_db/v1beta1/api.gen.js +6 -5
- package/dist/api/document_db/v1beta1/marshalling.gen.cjs +4 -3
- package/dist/api/document_db/v1beta1/marshalling.gen.d.ts +1 -1
- package/dist/api/document_db/v1beta1/marshalling.gen.js +4 -3
- package/dist/api/document_db/v1beta1/types.gen.d.ts +1 -1
- package/dist/api/domain/index.gen.d.ts +2 -2
- package/dist/api/domain/v2beta1/api.gen.cjs +6 -5
- package/dist/api/domain/v2beta1/api.gen.d.ts +2 -2
- package/dist/api/domain/v2beta1/api.gen.js +6 -5
- package/dist/api/domain/v2beta1/index.gen.d.ts +1 -1
- package/dist/api/domain/v2beta1/marshalling.gen.cjs +4 -3
- package/dist/api/domain/v2beta1/marshalling.gen.d.ts +1 -1
- package/dist/api/domain/v2beta1/marshalling.gen.js +4 -3
- package/dist/api/domain/v2beta1/types.gen.d.ts +1 -1
- package/dist/api/edge_services/index.gen.d.ts +2 -2
- package/dist/api/edge_services/v1alpha1/api.gen.cjs +6 -5
- package/dist/api/edge_services/v1alpha1/api.gen.d.ts +2 -2
- package/dist/api/edge_services/v1alpha1/api.gen.js +6 -5
- package/dist/api/edge_services/v1alpha1/marshalling.gen.cjs +4 -3
- package/dist/api/edge_services/v1alpha1/marshalling.gen.d.ts +1 -1
- package/dist/api/edge_services/v1alpha1/marshalling.gen.js +4 -3
- package/dist/api/edge_services/v1alpha1/types.gen.d.ts +1 -1
- package/dist/api/edge_services/v1beta1/api.gen.cjs +49 -136
- package/dist/api/edge_services/v1beta1/api.gen.d.ts +48 -134
- package/dist/api/edge_services/v1beta1/api.gen.js +49 -136
- package/dist/api/edge_services/v1beta1/marshalling.gen.cjs +4 -3
- package/dist/api/edge_services/v1beta1/marshalling.gen.d.ts +1 -1
- package/dist/api/edge_services/v1beta1/marshalling.gen.js +4 -3
- package/dist/api/edge_services/v1beta1/types.gen.d.ts +584 -380
- package/dist/api/flexibleip/index.gen.d.ts +2 -2
- package/dist/api/flexibleip/v1alpha1/api.gen.cjs +6 -5
- package/dist/api/flexibleip/v1alpha1/api.gen.d.ts +2 -2
- package/dist/api/flexibleip/v1alpha1/api.gen.js +6 -5
- package/dist/api/flexibleip/v1alpha1/marshalling.gen.cjs +4 -3
- package/dist/api/flexibleip/v1alpha1/marshalling.gen.d.ts +1 -1
- package/dist/api/flexibleip/v1alpha1/marshalling.gen.js +4 -3
- package/dist/api/flexibleip/v1alpha1/types.gen.d.ts +1 -1
- package/dist/api/function/index.gen.d.ts +2 -2
- package/dist/api/function/v1beta1/api.gen.cjs +20 -33
- package/dist/api/function/v1beta1/api.gen.d.ts +18 -32
- package/dist/api/function/v1beta1/api.gen.js +20 -33
- package/dist/api/function/v1beta1/marshalling.gen.cjs +4 -3
- package/dist/api/function/v1beta1/marshalling.gen.d.ts +1 -1
- package/dist/api/function/v1beta1/marshalling.gen.js +4 -3
- package/dist/api/function/v1beta1/types.gen.d.ts +617 -288
- package/dist/api/iam/index.gen.d.ts +2 -2
- package/dist/api/iam/v1alpha1/api.gen.cjs +49 -163
- package/dist/api/iam/v1alpha1/api.gen.d.ts +47 -163
- package/dist/api/iam/v1alpha1/api.gen.js +49 -163
- package/dist/api/iam/v1alpha1/marshalling.gen.cjs +4 -3
- package/dist/api/iam/v1alpha1/marshalling.gen.d.ts +1 -1
- package/dist/api/iam/v1alpha1/marshalling.gen.js +4 -3
- package/dist/api/iam/v1alpha1/types.gen.d.ts +979 -372
- package/dist/api/index.gen.d.ts +2 -2
- package/dist/api/inference/index.gen.d.ts +2 -2
- package/dist/api/inference/v1/api.gen.cjs +6 -5
- package/dist/api/inference/v1/api.gen.d.ts +2 -2
- package/dist/api/inference/v1/api.gen.js +6 -5
- package/dist/api/inference/v1/marshalling.gen.cjs +4 -3
- package/dist/api/inference/v1/marshalling.gen.d.ts +1 -1
- package/dist/api/inference/v1/marshalling.gen.js +4 -3
- package/dist/api/inference/v1/types.gen.d.ts +1 -1
- package/dist/api/inference/v1beta1/api.gen.cjs +6 -5
- package/dist/api/inference/v1beta1/api.gen.d.ts +2 -2
- package/dist/api/inference/v1beta1/api.gen.js +6 -5
- package/dist/api/inference/v1beta1/marshalling.gen.cjs +4 -3
- package/dist/api/inference/v1beta1/marshalling.gen.d.ts +1 -1
- package/dist/api/inference/v1beta1/marshalling.gen.js +4 -3
- package/dist/api/inference/v1beta1/types.gen.d.ts +1 -1
- package/dist/api/instance/index.gen.d.ts +2 -2
- package/dist/api/instance/v1/api.gen.cjs +5 -4
- package/dist/api/instance/v1/api.gen.d.ts +2 -2
- package/dist/api/instance/v1/api.gen.js +5 -4
- package/dist/api/instance/v1/api.utils.cjs +4 -3
- package/dist/api/instance/v1/api.utils.d.ts +1 -1
- package/dist/api/instance/v1/api.utils.js +4 -3
- package/dist/api/instance/v1/marshalling.gen.cjs +4 -3
- package/dist/api/instance/v1/marshalling.gen.d.ts +1 -1
- package/dist/api/instance/v1/marshalling.gen.js +4 -3
- package/dist/api/instance/v1/marshalling.utils.d.ts +1 -1
- package/dist/api/instance/v1/types.gen.d.ts +1 -1
- package/dist/api/instance/v1/types.private.gen.d.ts +1 -1
- package/dist/api/instance/v1/types.utils.d.ts +1 -1
- package/dist/api/interlink/index.gen.d.ts +2 -2
- package/dist/api/interlink/v1beta1/api.gen.cjs +101 -11
- package/dist/api/interlink/v1beta1/api.gen.d.ts +50 -10
- package/dist/api/interlink/v1beta1/api.gen.js +102 -12
- package/dist/api/interlink/v1beta1/content.gen.cjs +6 -0
- package/dist/api/interlink/v1beta1/content.gen.d.ts +5 -0
- package/dist/api/interlink/v1beta1/content.gen.js +6 -0
- package/dist/api/interlink/v1beta1/index.gen.cjs +3 -0
- package/dist/api/interlink/v1beta1/index.gen.d.ts +2 -1
- package/dist/api/interlink/v1beta1/index.gen.js +3 -0
- package/dist/api/interlink/v1beta1/marshalling.gen.cjs +82 -8
- package/dist/api/interlink/v1beta1/marshalling.gen.d.ts +4 -2
- package/dist/api/interlink/v1beta1/marshalling.gen.js +82 -8
- package/dist/api/interlink/v1beta1/types.gen.d.ts +145 -43
- package/dist/api/interlink/v1beta1/validation-rules.gen.cjs +17 -0
- package/dist/api/interlink/v1beta1/validation-rules.gen.d.ts +15 -0
- package/dist/api/interlink/v1beta1/validation-rules.gen.js +17 -0
- package/dist/api/iot/index.gen.d.ts +2 -2
- package/dist/api/iot/v1/api.gen.cjs +6 -5
- package/dist/api/iot/v1/api.gen.d.ts +2 -2
- package/dist/api/iot/v1/api.gen.js +6 -5
- package/dist/api/iot/v1/marshalling.gen.cjs +4 -3
- package/dist/api/iot/v1/marshalling.gen.d.ts +1 -1
- package/dist/api/iot/v1/marshalling.gen.js +4 -3
- package/dist/api/iot/v1/types.gen.d.ts +1 -1
- package/dist/api/ipam/index.gen.d.ts +2 -2
- package/dist/api/ipam/v1/api.gen.cjs +5 -4
- package/dist/api/ipam/v1/api.gen.d.ts +2 -2
- package/dist/api/ipam/v1/api.gen.js +5 -4
- package/dist/api/ipam/v1/marshalling.gen.cjs +4 -3
- package/dist/api/ipam/v1/marshalling.gen.d.ts +1 -1
- package/dist/api/ipam/v1/marshalling.gen.js +4 -3
- package/dist/api/ipam/v1/types.gen.d.ts +1 -1
- package/dist/api/ipfs/index.gen.d.ts +2 -2
- package/dist/api/ipfs/v1alpha1/api.gen.cjs +6 -5
- package/dist/api/ipfs/v1alpha1/api.gen.d.ts +2 -2
- package/dist/api/ipfs/v1alpha1/api.gen.js +6 -5
- package/dist/api/ipfs/v1alpha1/marshalling.gen.cjs +4 -3
- package/dist/api/ipfs/v1alpha1/marshalling.gen.d.ts +1 -1
- package/dist/api/ipfs/v1alpha1/marshalling.gen.js +4 -3
- package/dist/api/ipfs/v1alpha1/types.gen.d.ts +1 -1
- package/dist/api/jobs/index.gen.d.ts +2 -2
- package/dist/api/jobs/v1alpha1/api.gen.cjs +5 -4
- package/dist/api/jobs/v1alpha1/api.gen.d.ts +2 -2
- package/dist/api/jobs/v1alpha1/api.gen.js +5 -4
- package/dist/api/jobs/v1alpha1/marshalling.gen.cjs +4 -3
- package/dist/api/jobs/v1alpha1/marshalling.gen.d.ts +1 -1
- package/dist/api/jobs/v1alpha1/marshalling.gen.js +4 -3
- package/dist/api/jobs/v1alpha1/types.gen.d.ts +1 -1
- package/dist/api/k8s/index.gen.d.ts +2 -2
- package/dist/api/k8s/v1/api.gen.cjs +6 -5
- package/dist/api/k8s/v1/api.gen.d.ts +2 -2
- package/dist/api/k8s/v1/api.gen.js +6 -5
- package/dist/api/k8s/v1/marshalling.gen.cjs +4 -3
- package/dist/api/k8s/v1/marshalling.gen.d.ts +1 -1
- package/dist/api/k8s/v1/marshalling.gen.js +4 -3
- package/dist/api/k8s/v1/types.gen.d.ts +1 -1
- package/dist/api/key_manager/index.gen.d.ts +2 -2
- package/dist/api/key_manager/v1alpha1/api.gen.cjs +5 -4
- package/dist/api/key_manager/v1alpha1/api.gen.d.ts +2 -2
- package/dist/api/key_manager/v1alpha1/api.gen.js +5 -4
- package/dist/api/key_manager/v1alpha1/marshalling.gen.cjs +4 -3
- package/dist/api/key_manager/v1alpha1/marshalling.gen.d.ts +1 -1
- package/dist/api/key_manager/v1alpha1/marshalling.gen.js +4 -3
- package/dist/api/key_manager/v1alpha1/types.gen.d.ts +1 -1
- package/dist/api/lb/index.gen.d.ts +2 -2
- package/dist/api/lb/v1/api.gen.cjs +68 -178
- package/dist/api/lb/v1/api.gen.d.ts +60 -176
- package/dist/api/lb/v1/api.gen.js +69 -179
- package/dist/api/lb/v1/api.utils.cjs +3 -1
- package/dist/api/lb/v1/api.utils.d.ts +1 -1
- package/dist/api/lb/v1/api.utils.js +3 -1
- package/dist/api/lb/v1/index.gen.d.ts +1 -1
- package/dist/api/lb/v1/marshalling.gen.cjs +9 -3
- package/dist/api/lb/v1/marshalling.gen.d.ts +3 -2
- package/dist/api/lb/v1/marshalling.gen.js +9 -3
- package/dist/api/lb/v1/types.gen.d.ts +1835 -1117
- package/dist/api/lb/v1/types.utils.d.ts +1 -1
- package/dist/api/llm_inference/index.gen.d.ts +2 -2
- package/dist/api/llm_inference/v1beta1/api.gen.cjs +6 -5
- package/dist/api/llm_inference/v1beta1/api.gen.d.ts +2 -2
- package/dist/api/llm_inference/v1beta1/api.gen.js +6 -5
- package/dist/api/llm_inference/v1beta1/marshalling.gen.cjs +4 -3
- package/dist/api/llm_inference/v1beta1/marshalling.gen.d.ts +1 -1
- package/dist/api/llm_inference/v1beta1/marshalling.gen.js +4 -3
- package/dist/api/llm_inference/v1beta1/types.gen.d.ts +1 -1
- package/dist/api/marketplace/index.gen.d.ts +2 -2
- package/dist/api/marketplace/v2/api.gen.cjs +5 -4
- package/dist/api/marketplace/v2/api.gen.d.ts +1 -1
- package/dist/api/marketplace/v2/api.gen.js +5 -4
- package/dist/api/marketplace/v2/marshalling.gen.cjs +4 -3
- package/dist/api/marketplace/v2/marshalling.gen.js +4 -3
- package/dist/api/marketplace/v2/types.gen.d.ts +1 -1
- package/dist/api/mnq/index.gen.d.ts +2 -2
- package/dist/api/mnq/v1beta1/api.gen.cjs +5 -4
- package/dist/api/mnq/v1beta1/api.gen.d.ts +2 -2
- package/dist/api/mnq/v1beta1/api.gen.js +5 -4
- package/dist/api/mnq/v1beta1/index.gen.d.ts +1 -1
- package/dist/api/mnq/v1beta1/marshalling.gen.cjs +4 -3
- package/dist/api/mnq/v1beta1/marshalling.gen.d.ts +1 -1
- package/dist/api/mnq/v1beta1/marshalling.gen.js +4 -3
- package/dist/api/mnq/v1beta1/types.gen.d.ts +1 -1
- package/dist/api/mongodb/index.gen.d.ts +2 -2
- package/dist/api/mongodb/v1alpha1/api.gen.cjs +6 -5
- package/dist/api/mongodb/v1alpha1/api.gen.d.ts +2 -2
- package/dist/api/mongodb/v1alpha1/api.gen.js +6 -5
- package/dist/api/mongodb/v1alpha1/marshalling.gen.cjs +4 -3
- package/dist/api/mongodb/v1alpha1/marshalling.gen.d.ts +1 -1
- package/dist/api/mongodb/v1alpha1/marshalling.gen.js +4 -3
- package/dist/api/mongodb/v1alpha1/types.gen.d.ts +1 -1
- package/dist/api/qaas/index.gen.d.ts +2 -2
- package/dist/api/qaas/v1alpha1/api.gen.cjs +6 -5
- package/dist/api/qaas/v1alpha1/api.gen.d.ts +2 -2
- package/dist/api/qaas/v1alpha1/api.gen.js +6 -5
- package/dist/api/qaas/v1alpha1/marshalling.gen.cjs +4 -3
- package/dist/api/qaas/v1alpha1/marshalling.gen.d.ts +1 -1
- package/dist/api/qaas/v1alpha1/marshalling.gen.js +4 -3
- package/dist/api/qaas/v1alpha1/types.gen.d.ts +1 -1
- package/dist/api/rdb/index.gen.d.ts +2 -2
- package/dist/api/rdb/v1/api.gen.cjs +6 -5
- package/dist/api/rdb/v1/api.gen.d.ts +2 -2
- package/dist/api/rdb/v1/api.gen.js +6 -5
- package/dist/api/rdb/v1/marshalling.gen.cjs +4 -3
- package/dist/api/rdb/v1/marshalling.gen.d.ts +1 -1
- package/dist/api/rdb/v1/marshalling.gen.js +4 -3
- package/dist/api/rdb/v1/types.gen.d.ts +1 -1
- package/dist/api/redis/index.gen.d.ts +2 -2
- package/dist/api/redis/v1/api.gen.cjs +6 -5
- package/dist/api/redis/v1/api.gen.d.ts +2 -2
- package/dist/api/redis/v1/api.gen.js +6 -5
- package/dist/api/redis/v1/marshalling.gen.cjs +4 -3
- package/dist/api/redis/v1/marshalling.gen.d.ts +1 -1
- package/dist/api/redis/v1/marshalling.gen.js +4 -3
- package/dist/api/redis/v1/types.gen.d.ts +1 -1
- package/dist/api/registry/index.gen.d.ts +2 -2
- package/dist/api/registry/v1/api.gen.cjs +6 -5
- package/dist/api/registry/v1/api.gen.d.ts +2 -2
- package/dist/api/registry/v1/api.gen.js +6 -5
- package/dist/api/registry/v1/marshalling.gen.cjs +4 -3
- package/dist/api/registry/v1/marshalling.gen.d.ts +1 -1
- package/dist/api/registry/v1/marshalling.gen.js +4 -3
- package/dist/api/registry/v1/types.gen.d.ts +1 -1
- package/dist/api/secret/index.gen.d.ts +2 -2
- package/dist/api/secret/v1alpha1/api.gen.cjs +5 -4
- package/dist/api/secret/v1alpha1/api.gen.d.ts +2 -2
- package/dist/api/secret/v1alpha1/api.gen.js +5 -4
- package/dist/api/secret/v1alpha1/marshalling.gen.cjs +4 -3
- package/dist/api/secret/v1alpha1/marshalling.gen.d.ts +1 -1
- package/dist/api/secret/v1alpha1/marshalling.gen.js +4 -3
- package/dist/api/secret/v1alpha1/types.gen.d.ts +1 -1
- package/dist/api/secret/v1beta1/api.gen.cjs +5 -4
- package/dist/api/secret/v1beta1/api.gen.d.ts +2 -2
- package/dist/api/secret/v1beta1/api.gen.js +5 -4
- package/dist/api/secret/v1beta1/marshalling.gen.cjs +4 -3
- package/dist/api/secret/v1beta1/marshalling.gen.d.ts +1 -1
- package/dist/api/secret/v1beta1/marshalling.gen.js +4 -3
- package/dist/api/secret/v1beta1/types.gen.d.ts +1 -1
- package/dist/api/serverless_sqldb/index.gen.d.ts +2 -2
- package/dist/api/serverless_sqldb/v1alpha1/api.gen.cjs +6 -5
- package/dist/api/serverless_sqldb/v1alpha1/api.gen.d.ts +2 -2
- package/dist/api/serverless_sqldb/v1alpha1/api.gen.js +6 -5
- package/dist/api/serverless_sqldb/v1alpha1/marshalling.gen.cjs +4 -3
- package/dist/api/serverless_sqldb/v1alpha1/marshalling.gen.d.ts +1 -1
- package/dist/api/serverless_sqldb/v1alpha1/marshalling.gen.js +4 -3
- package/dist/api/serverless_sqldb/v1alpha1/types.gen.d.ts +1 -1
- package/dist/api/tem/index.gen.d.ts +2 -2
- package/dist/api/tem/v1alpha1/api.gen.cjs +6 -5
- package/dist/api/tem/v1alpha1/api.gen.d.ts +2 -2
- package/dist/api/tem/v1alpha1/api.gen.js +6 -5
- package/dist/api/tem/v1alpha1/marshalling.gen.cjs +4 -3
- package/dist/api/tem/v1alpha1/marshalling.gen.d.ts +1 -1
- package/dist/api/tem/v1alpha1/marshalling.gen.js +4 -3
- package/dist/api/tem/v1alpha1/types.gen.d.ts +1 -1
- package/dist/api/test/index.gen.d.ts +2 -2
- package/dist/api/test/v1/api.gen.cjs +6 -5
- package/dist/api/test/v1/api.gen.d.ts +2 -2
- package/dist/api/test/v1/api.gen.js +6 -5
- package/dist/api/test/v1/marshalling.gen.cjs +4 -3
- package/dist/api/test/v1/marshalling.gen.d.ts +1 -1
- package/dist/api/test/v1/marshalling.gen.js +4 -3
- package/dist/api/vpc/index.gen.d.ts +2 -2
- package/dist/api/vpc/v1/api.gen.cjs +5 -4
- package/dist/api/vpc/v1/api.gen.d.ts +2 -2
- package/dist/api/vpc/v1/api.gen.js +5 -4
- package/dist/api/vpc/v1/marshalling.gen.cjs +4 -3
- package/dist/api/vpc/v1/marshalling.gen.d.ts +1 -1
- package/dist/api/vpc/v1/marshalling.gen.js +4 -3
- package/dist/api/vpc/v1/types.gen.d.ts +1 -1
- package/dist/api/vpc/v2/api.gen.cjs +18 -53
- package/dist/api/vpc/v2/api.gen.d.ts +18 -45
- package/dist/api/vpc/v2/api.gen.js +19 -54
- package/dist/api/vpc/v2/index.gen.d.ts +1 -1
- package/dist/api/vpc/v2/marshalling.gen.cjs +4 -18
- package/dist/api/vpc/v2/marshalling.gen.d.ts +2 -4
- package/dist/api/vpc/v2/marshalling.gen.js +4 -18
- package/dist/api/vpc/v2/types.gen.d.ts +333 -200
- package/dist/api/vpcgw/index.gen.d.ts +2 -2
- package/dist/api/vpcgw/v1/api.gen.cjs +42 -140
- package/dist/api/vpcgw/v1/api.gen.d.ts +40 -139
- package/dist/api/vpcgw/v1/api.gen.js +42 -140
- package/dist/api/vpcgw/v1/marshalling.gen.cjs +4 -3
- package/dist/api/vpcgw/v1/marshalling.gen.d.ts +1 -1
- package/dist/api/vpcgw/v1/marshalling.gen.js +4 -3
- package/dist/api/vpcgw/v1/types.gen.d.ts +784 -366
- package/dist/api/vpcgw/v2/api.gen.cjs +33 -93
- package/dist/api/vpcgw/v2/api.gen.d.ts +31 -92
- package/dist/api/vpcgw/v2/api.gen.js +33 -93
- package/dist/api/vpcgw/v2/marshalling.gen.cjs +4 -3
- package/dist/api/vpcgw/v2/marshalling.gen.d.ts +1 -1
- package/dist/api/vpcgw/v2/marshalling.gen.js +4 -3
- package/dist/api/vpcgw/v2/types.gen.d.ts +546 -197
- package/dist/api/webhosting/index.gen.d.ts +2 -2
- package/dist/api/webhosting/v1/api.gen.cjs +28 -55
- package/dist/api/webhosting/v1/api.gen.d.ts +40 -71
- package/dist/api/webhosting/v1/api.gen.js +28 -55
- package/dist/api/webhosting/v1/marshalling.gen.cjs +4 -3
- package/dist/api/webhosting/v1/marshalling.gen.d.ts +1 -1
- package/dist/api/webhosting/v1/marshalling.gen.js +4 -3
- package/dist/api/webhosting/v1/types.gen.d.ts +700 -351
- package/dist/client/dist/helpers/is-browser.cjs +4 -0
- package/dist/client/dist/helpers/is-browser.js +4 -0
- package/dist/{package.json.cjs → client/dist/package.json.cjs} +7 -16
- package/dist/{package.json.js → client/dist/package.json.js} +7 -16
- package/dist/client/dist/scw/constants.cjs +7 -0
- package/dist/{vendor → client/dist/vendor}/base64/index.cjs +8 -4
- package/dist/{vendor → client/dist/vendor}/base64/index.js +8 -4
- package/dist/index.cjs +16 -16
- package/dist/index.d.ts +1 -15
- package/dist/index.js +13 -13
- package/node_modules/@scaleway/sdk-client/LICENSE +191 -0
- package/node_modules/@scaleway/sdk-client/README.md +36 -0
- package/node_modules/@scaleway/sdk-client/dist/helpers/is-browser.cjs +4 -0
- package/node_modules/@scaleway/sdk-client/dist/helpers/is-browser.js +4 -0
- package/node_modules/@scaleway/sdk-client/dist/helpers/is-response.cjs +4 -0
- package/node_modules/@scaleway/sdk-client/dist/helpers/is-response.js +4 -0
- package/node_modules/@scaleway/sdk-client/dist/helpers/json.cjs +7 -0
- package/{dist → node_modules/@scaleway/sdk-client/dist}/helpers/json.d.ts +2 -2
- package/node_modules/@scaleway/sdk-client/dist/helpers/json.js +7 -0
- package/node_modules/@scaleway/sdk-client/dist/helpers/marshalling.cjs +76 -0
- package/node_modules/@scaleway/sdk-client/dist/helpers/marshalling.js +76 -0
- package/node_modules/@scaleway/sdk-client/dist/index.cjs +52 -0
- package/node_modules/@scaleway/sdk-client/dist/index.d.ts +15 -0
- package/node_modules/@scaleway/sdk-client/dist/index.js +52 -0
- package/node_modules/@scaleway/sdk-client/dist/internal/async/interval-retrier.cjs +53 -0
- package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/async/interval-retrier.d.ts +2 -2
- package/node_modules/@scaleway/sdk-client/dist/internal/async/interval-retrier.js +53 -0
- package/node_modules/@scaleway/sdk-client/dist/internal/async/sleep.cjs +6 -0
- package/node_modules/@scaleway/sdk-client/dist/internal/async/sleep.js +6 -0
- package/node_modules/@scaleway/sdk-client/dist/internal/interceptors/composer.cjs +25 -0
- package/node_modules/@scaleway/sdk-client/dist/internal/interceptors/composer.js +25 -0
- package/node_modules/@scaleway/sdk-client/dist/internal/interceptors/helpers.cjs +12 -0
- package/node_modules/@scaleway/sdk-client/dist/internal/interceptors/helpers.js +12 -0
- package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/interceptors/types.d.ts +2 -2
- package/node_modules/@scaleway/sdk-client/dist/internal/logger/console-logger.cjs +24 -0
- package/node_modules/@scaleway/sdk-client/dist/internal/logger/console-logger.js +24 -0
- package/node_modules/@scaleway/sdk-client/dist/internal/logger/index.cjs +12 -0
- package/node_modules/@scaleway/sdk-client/dist/internal/logger/index.js +12 -0
- package/node_modules/@scaleway/sdk-client/dist/internal/logger/level-resolver.cjs +13 -0
- package/node_modules/@scaleway/sdk-client/dist/internal/logger/level-resolver.js +13 -0
- package/node_modules/@scaleway/sdk-client/dist/internal/validations/string-validation.cjs +30 -0
- package/node_modules/@scaleway/sdk-client/dist/internal/validations/string-validation.js +30 -0
- package/node_modules/@scaleway/sdk-client/dist/package.json.cjs +67 -0
- package/node_modules/@scaleway/sdk-client/dist/package.json.js +67 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/api.cjs +8 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/api.js +8 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/auth.cjs +26 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/auth.js +26 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/client-ini-factory.cjs +66 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/client-ini-factory.js +66 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/client-ini-profile.cjs +23 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/client-ini-profile.js +23 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/client-settings.cjs +51 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/client-settings.js +51 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/client.cjs +31 -0
- package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/client.d.ts +2 -2
- package/node_modules/@scaleway/sdk-client/dist/scw/client.js +31 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/constants.js +7 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/custom-marshalling.cjs +126 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/custom-marshalling.js +126 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/custom-types.cjs +11 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/custom-types.js +11 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/error-parser.cjs +76 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/error-parser.js +76 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/non-standard/invalid-request-mapper.cjs +36 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/non-standard/invalid-request-mapper.js +36 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/non-standard/unknown-resource-mapper.cjs +23 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/non-standard/unknown-resource-mapper.js +23 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/scw-error.cjs +43 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/scw-error.js +43 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/already-exists-error.cjs +31 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/already-exists-error.js +31 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/denied-authentication-error.cjs +37 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/denied-authentication-error.js +37 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/index.cjs +28 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/index.js +28 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/invalid-arguments-error.cjs +54 -0
- package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/invalid-arguments-error.d.ts +2 -2
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/invalid-arguments-error.js +54 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/out-of-stock-error.cjs +17 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/out-of-stock-error.js +17 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/permissions-denied-error.cjs +29 -0
- package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/permissions-denied-error.d.ts +2 -2
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/permissions-denied-error.js +29 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/precondition-failed-error.cjs +32 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/precondition-failed-error.js +32 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/quotas-exceeded-error.cjs +43 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/quotas-exceeded-error.js +43 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/resource-expired-error.cjs +31 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/resource-expired-error.js +31 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/resource-locked-error.cjs +20 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/resource-locked-error.js +20 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/resource-not-found-error.cjs +24 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/resource-not-found-error.js +24 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/too-many-requests-error.cjs +58 -0
- package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/too-many-requests-error.d.ts +2 -2
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/too-many-requests-error.js +58 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/transient-state-error.cjs +31 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/transient-state-error.js +31 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/types.cjs +15 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/types.js +15 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/fetch/build-fetcher.cjs +60 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/fetch/build-fetcher.js +60 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/fetch/http-dumper.cjs +20 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/fetch/http-dumper.js +20 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/fetch/http-interceptors.cjs +43 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/fetch/http-interceptors.js +43 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/fetch/resource-paginator.cjs +36 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/fetch/resource-paginator.js +36 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/fetch/response-parser.cjs +55 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/fetch/response-parser.js +55 -0
- package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/fetch/types.d.ts +2 -2
- package/node_modules/@scaleway/sdk-client/dist/vendor/base64/index.cjs +46 -0
- package/node_modules/@scaleway/sdk-client/dist/vendor/base64/index.js +46 -0
- package/node_modules/@scaleway/sdk-client/package.json +37 -0
- package/package.json +6 -4
- package/dist/helpers/is-browser.cjs +0 -7
- package/dist/helpers/is-browser.js +0 -7
- /package/dist/{helpers → client/dist/helpers}/is-response.cjs +0 -0
- /package/dist/{helpers → client/dist/helpers}/is-response.js +0 -0
- /package/dist/{helpers → client/dist/helpers}/json.cjs +0 -0
- /package/dist/{helpers → client/dist/helpers}/json.js +0 -0
- /package/dist/{helpers → client/dist/helpers}/marshalling.cjs +0 -0
- /package/dist/{helpers → client/dist/helpers}/marshalling.js +0 -0
- /package/dist/{internal → client/dist/internal}/async/interval-retrier.cjs +0 -0
- /package/dist/{internal → client/dist/internal}/async/interval-retrier.js +0 -0
- /package/dist/{internal → client/dist/internal}/async/sleep.cjs +0 -0
- /package/dist/{internal → client/dist/internal}/async/sleep.js +0 -0
- /package/dist/{internal → client/dist/internal}/interceptors/composer.cjs +0 -0
- /package/dist/{internal → client/dist/internal}/interceptors/composer.js +0 -0
- /package/dist/{internal → client/dist/internal}/interceptors/helpers.cjs +0 -0
- /package/dist/{internal → client/dist/internal}/interceptors/helpers.js +0 -0
- /package/dist/{internal → client/dist/internal}/logger/console-logger.cjs +0 -0
- /package/dist/{internal → client/dist/internal}/logger/console-logger.js +0 -0
- /package/dist/{internal → client/dist/internal}/logger/index.cjs +0 -0
- /package/dist/{internal → client/dist/internal}/logger/index.js +0 -0
- /package/dist/{internal → client/dist/internal}/logger/level-resolver.cjs +0 -0
- /package/dist/{internal → client/dist/internal}/logger/level-resolver.js +0 -0
- /package/dist/{internal → client/dist/internal}/validations/string-validation.cjs +0 -0
- /package/dist/{internal → client/dist/internal}/validations/string-validation.js +0 -0
- /package/dist/{scw → client/dist/scw}/api.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/api.js +0 -0
- /package/dist/{scw → client/dist/scw}/auth.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/auth.js +0 -0
- /package/dist/{scw → client/dist/scw}/client-ini-factory.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/client-ini-factory.js +0 -0
- /package/dist/{scw → client/dist/scw}/client-ini-profile.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/client-ini-profile.js +0 -0
- /package/dist/{scw → client/dist/scw}/client-settings.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/client-settings.js +0 -0
- /package/dist/{scw → client/dist/scw}/client.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/client.js +0 -0
- /package/dist/{scw → client/dist/scw}/constants.js +0 -0
- /package/dist/{scw → client/dist/scw}/custom-marshalling.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/custom-marshalling.js +0 -0
- /package/dist/{scw → client/dist/scw}/custom-types.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/custom-types.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/error-parser.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/error-parser.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/non-standard/invalid-request-mapper.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/non-standard/invalid-request-mapper.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/non-standard/unknown-resource-mapper.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/non-standard/unknown-resource-mapper.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/scw-error.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/scw-error.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/already-exists-error.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/already-exists-error.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/denied-authentication-error.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/denied-authentication-error.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/index.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/index.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/invalid-arguments-error.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/invalid-arguments-error.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/out-of-stock-error.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/out-of-stock-error.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/permissions-denied-error.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/permissions-denied-error.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/precondition-failed-error.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/precondition-failed-error.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/quotas-exceeded-error.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/quotas-exceeded-error.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/resource-expired-error.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/resource-expired-error.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/resource-locked-error.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/resource-locked-error.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/resource-not-found-error.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/resource-not-found-error.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/too-many-requests-error.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/too-many-requests-error.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/transient-state-error.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/transient-state-error.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/types.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/types.js +0 -0
- /package/dist/{scw → client/dist/scw}/fetch/build-fetcher.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/fetch/build-fetcher.js +0 -0
- /package/dist/{scw → client/dist/scw}/fetch/http-dumper.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/fetch/http-dumper.js +0 -0
- /package/dist/{scw → client/dist/scw}/fetch/http-interceptors.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/fetch/http-interceptors.js +0 -0
- /package/dist/{scw → client/dist/scw}/fetch/resource-paginator.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/fetch/resource-paginator.js +0 -0
- /package/dist/{scw → client/dist/scw}/fetch/response-parser.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/fetch/response-parser.js +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/bridge.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/helpers/is-browser.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/helpers/is-response.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/helpers/marshalling.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/async/sleep.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/interceptors/composer.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/interceptors/helpers.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/logger/console-logger.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/logger/index.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/logger/level-resolver.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/logger/logger.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/validations/string-validation.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/internals.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/api.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/auth.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/client-ini-factory.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/client-ini-profile.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/client-settings.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/constants.cjs +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/constants.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/custom-marshalling.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/custom-types.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/error-parser.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/non-standard/invalid-request-mapper.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/non-standard/unknown-resource-mapper.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/scw-error-from-json.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/scw-error.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/already-exists-error.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/denied-authentication-error.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/index.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/out-of-stock-error.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/precondition-failed-error.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/quotas-exceeded-error.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/resource-expired-error.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/resource-locked-error.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/resource-not-found-error.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/transient-state-error.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/types.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/fetch/build-fetcher.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/fetch/http-dumper.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/fetch/http-interceptors.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/fetch/resource-paginator.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/fetch/response-parser.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/locality.d.ts +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Region as ScwRegion } from '
|
|
1
|
+
import type { Region as ScwRegion } from '@scaleway/sdk-client';
|
|
2
2
|
export type CronStatus = 'unknown' | 'ready' | 'deleting' | 'error' | 'locked' | 'creating' | 'pending';
|
|
3
3
|
export type DomainStatus = 'unknown' | 'ready' | 'deleting' | 'error' | 'creating' | 'pending';
|
|
4
4
|
export type FunctionHttpOption = 'unknown_http_option' | 'enabled' | 'redirected';
|
|
@@ -22,30 +22,42 @@ export interface SecretHashedValue {
|
|
|
22
22
|
hashedValue: string;
|
|
23
23
|
}
|
|
24
24
|
export interface TriggerMnqNatsClientConfig {
|
|
25
|
-
/**
|
|
25
|
+
/**
|
|
26
|
+
* Name of the NATS subject the trigger listens to.
|
|
27
|
+
*/
|
|
26
28
|
subject: string;
|
|
27
|
-
/**
|
|
29
|
+
/**
|
|
30
|
+
* ID of the Messaging and Queuing NATS account.
|
|
31
|
+
*/
|
|
28
32
|
mnqNatsAccountId: string;
|
|
29
|
-
/**
|
|
33
|
+
/**
|
|
34
|
+
* ID of the Messaging and Queuing project.
|
|
35
|
+
*/
|
|
30
36
|
mnqProjectId: string;
|
|
31
|
-
/**
|
|
37
|
+
/**
|
|
38
|
+
* Currently, only the `fr-par` and `nl-ams` regions are available.
|
|
39
|
+
*/
|
|
32
40
|
mnqRegion: string;
|
|
33
41
|
/**
|
|
34
|
-
* ID of the Messaging and Queuing credentials used to subscribe to the NATS
|
|
35
|
-
* subject.
|
|
42
|
+
* ID of the Messaging and Queuing credentials used to subscribe to the NATS subject.
|
|
36
43
|
*/
|
|
37
44
|
mnqCredentialId?: string;
|
|
38
45
|
}
|
|
39
46
|
export interface TriggerMnqSqsClientConfig {
|
|
40
|
-
/**
|
|
47
|
+
/**
|
|
48
|
+
* Name of the SQS queue the trigger listens to.
|
|
49
|
+
*/
|
|
41
50
|
queue: string;
|
|
42
|
-
/**
|
|
51
|
+
/**
|
|
52
|
+
* ID of the Messaging and Queuing project.
|
|
53
|
+
*/
|
|
43
54
|
mnqProjectId: string;
|
|
44
|
-
/**
|
|
55
|
+
/**
|
|
56
|
+
* Currently, only the `fr-par` and `nl-ams` regions are available.
|
|
57
|
+
*/
|
|
45
58
|
mnqRegion: string;
|
|
46
59
|
/**
|
|
47
|
-
* ID of the Messaging and Queuing credentials used to read from the SQS
|
|
48
|
-
* queue.
|
|
60
|
+
* ID of the Messaging and Queuing credentials used to read from the SQS queue.
|
|
49
61
|
*/
|
|
50
62
|
mnqCredentialId?: string;
|
|
51
63
|
}
|
|
@@ -60,21 +72,35 @@ export interface Secret {
|
|
|
60
72
|
value?: string;
|
|
61
73
|
}
|
|
62
74
|
export interface CreateTriggerRequestMnqNatsClientConfig {
|
|
63
|
-
/**
|
|
75
|
+
/**
|
|
76
|
+
* Name of the NATS subject the trigger should listen to.
|
|
77
|
+
*/
|
|
64
78
|
subject: string;
|
|
65
|
-
/**
|
|
79
|
+
/**
|
|
80
|
+
* ID of the Messaging and Queuing NATS account.
|
|
81
|
+
*/
|
|
66
82
|
mnqNatsAccountId: string;
|
|
67
|
-
/**
|
|
83
|
+
/**
|
|
84
|
+
* ID of the Messaging and Queuing project.
|
|
85
|
+
*/
|
|
68
86
|
mnqProjectId: string;
|
|
69
|
-
/**
|
|
87
|
+
/**
|
|
88
|
+
* Currently, only the `fr-par` and `nl-ams` regions are available.
|
|
89
|
+
*/
|
|
70
90
|
mnqRegion: string;
|
|
71
91
|
}
|
|
72
92
|
export interface CreateTriggerRequestMnqSqsClientConfig {
|
|
73
|
-
/**
|
|
93
|
+
/**
|
|
94
|
+
* Name of the SQS queue the trigger should listen to.
|
|
95
|
+
*/
|
|
74
96
|
queue: string;
|
|
75
|
-
/**
|
|
97
|
+
/**
|
|
98
|
+
* You must have activated SQS on this project.
|
|
99
|
+
*/
|
|
76
100
|
mnqProjectId: string;
|
|
77
|
-
/**
|
|
101
|
+
/**
|
|
102
|
+
* Currently, only the `fr-par` and `nl-ams` regions are available.
|
|
103
|
+
*/
|
|
78
104
|
mnqRegion: string;
|
|
79
105
|
}
|
|
80
106
|
export interface CreateTriggerRequestSqsClientConfig {
|
|
@@ -84,31 +110,55 @@ export interface CreateTriggerRequestSqsClientConfig {
|
|
|
84
110
|
secretKey: string;
|
|
85
111
|
}
|
|
86
112
|
export interface Cron {
|
|
87
|
-
/**
|
|
113
|
+
/**
|
|
114
|
+
* UUID of the cron.
|
|
115
|
+
*/
|
|
88
116
|
id: string;
|
|
89
|
-
/**
|
|
117
|
+
/**
|
|
118
|
+
* UUID of the function the cron applies to.
|
|
119
|
+
*/
|
|
90
120
|
functionId: string;
|
|
91
|
-
/**
|
|
121
|
+
/**
|
|
122
|
+
* Schedule of the cron.
|
|
123
|
+
*/
|
|
92
124
|
schedule: string;
|
|
93
|
-
/**
|
|
125
|
+
/**
|
|
126
|
+
* Arguments to pass with the cron.
|
|
127
|
+
*/
|
|
94
128
|
args?: Record<string, unknown>;
|
|
95
|
-
/**
|
|
129
|
+
/**
|
|
130
|
+
* Status of the cron.
|
|
131
|
+
*/
|
|
96
132
|
status: CronStatus;
|
|
97
|
-
/**
|
|
133
|
+
/**
|
|
134
|
+
* Name of the cron.
|
|
135
|
+
*/
|
|
98
136
|
name: string;
|
|
99
137
|
}
|
|
100
138
|
export interface Domain {
|
|
101
|
-
/**
|
|
139
|
+
/**
|
|
140
|
+
* UUID of the domain.
|
|
141
|
+
*/
|
|
102
142
|
id: string;
|
|
103
|
-
/**
|
|
143
|
+
/**
|
|
144
|
+
* Hostname associated with the function.
|
|
145
|
+
*/
|
|
104
146
|
hostname: string;
|
|
105
|
-
/**
|
|
147
|
+
/**
|
|
148
|
+
* UUID of the function the domain is associated with.
|
|
149
|
+
*/
|
|
106
150
|
functionId: string;
|
|
107
|
-
/**
|
|
151
|
+
/**
|
|
152
|
+
* URL of the function.
|
|
153
|
+
*/
|
|
108
154
|
url: string;
|
|
109
|
-
/**
|
|
155
|
+
/**
|
|
156
|
+
* State of the doamin.
|
|
157
|
+
*/
|
|
110
158
|
status: DomainStatus;
|
|
111
|
-
/**
|
|
159
|
+
/**
|
|
160
|
+
* Error message if the domain is in "error" state.
|
|
161
|
+
*/
|
|
112
162
|
errorMessage?: string;
|
|
113
163
|
}
|
|
114
164
|
export interface Runtime {
|
|
@@ -124,98 +174,176 @@ export interface Runtime {
|
|
|
124
174
|
logoUrl: string;
|
|
125
175
|
}
|
|
126
176
|
export interface Function {
|
|
127
|
-
/**
|
|
177
|
+
/**
|
|
178
|
+
* UUID of the function.
|
|
179
|
+
*/
|
|
128
180
|
id: string;
|
|
129
|
-
/**
|
|
181
|
+
/**
|
|
182
|
+
* Name of the function.
|
|
183
|
+
*/
|
|
130
184
|
name: string;
|
|
131
|
-
/**
|
|
185
|
+
/**
|
|
186
|
+
* UUID of the namespace the function belongs to.
|
|
187
|
+
*/
|
|
132
188
|
namespaceId: string;
|
|
133
|
-
/**
|
|
189
|
+
/**
|
|
190
|
+
* Status of the function.
|
|
191
|
+
*/
|
|
134
192
|
status: FunctionStatus;
|
|
135
|
-
/**
|
|
193
|
+
/**
|
|
194
|
+
* Environment variables of the function.
|
|
195
|
+
*/
|
|
136
196
|
environmentVariables: Record<string, string>;
|
|
137
|
-
/**
|
|
197
|
+
/**
|
|
198
|
+
* Minimum number of instances to scale the function to.
|
|
199
|
+
*/
|
|
138
200
|
minScale: number;
|
|
139
|
-
/**
|
|
201
|
+
/**
|
|
202
|
+
* Maximum number of instances to scale the function to.
|
|
203
|
+
*/
|
|
140
204
|
maxScale: number;
|
|
141
|
-
/**
|
|
205
|
+
/**
|
|
206
|
+
* Runtime of the function.
|
|
207
|
+
*/
|
|
142
208
|
runtime: FunctionRuntime;
|
|
143
|
-
/**
|
|
209
|
+
/**
|
|
210
|
+
* Memory limit of the function in MB.
|
|
211
|
+
*/
|
|
144
212
|
memoryLimit: number;
|
|
145
|
-
/**
|
|
213
|
+
/**
|
|
214
|
+
* CPU limit of the function.
|
|
215
|
+
*/
|
|
146
216
|
cpuLimit: number;
|
|
147
|
-
/**
|
|
217
|
+
/**
|
|
218
|
+
* Request processing time limit for the function.
|
|
219
|
+
*/
|
|
148
220
|
timeout?: string;
|
|
149
|
-
/**
|
|
221
|
+
/**
|
|
222
|
+
* Handler to use for the function.
|
|
223
|
+
*/
|
|
150
224
|
handler: string;
|
|
151
|
-
/**
|
|
225
|
+
/**
|
|
226
|
+
* Error message if the function is in "error" state.
|
|
227
|
+
*/
|
|
152
228
|
errorMessage?: string;
|
|
153
|
-
/**
|
|
229
|
+
/**
|
|
230
|
+
* Description of the current build step.
|
|
231
|
+
*/
|
|
154
232
|
buildMessage?: string;
|
|
155
|
-
/**
|
|
233
|
+
/**
|
|
234
|
+
* Privacy setting of the function.
|
|
235
|
+
*/
|
|
156
236
|
privacy: FunctionPrivacy;
|
|
157
|
-
/**
|
|
237
|
+
/**
|
|
238
|
+
* Description of the function.
|
|
239
|
+
*/
|
|
158
240
|
description?: string;
|
|
159
|
-
/**
|
|
241
|
+
/**
|
|
242
|
+
* Domain name associated with the function.
|
|
243
|
+
*/
|
|
160
244
|
domainName: string;
|
|
161
|
-
/**
|
|
245
|
+
/**
|
|
246
|
+
* Secret environment variables of the function.
|
|
247
|
+
*/
|
|
162
248
|
secretEnvironmentVariables: SecretHashedValue[];
|
|
163
|
-
/**
|
|
249
|
+
/**
|
|
250
|
+
* Region in which the function is deployed.
|
|
251
|
+
*/
|
|
164
252
|
region: ScwRegion;
|
|
165
253
|
/**
|
|
166
254
|
* Possible values:
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
* to use HTTPS.
|
|
170
|
-
* - Enabled: Serve both HTTP and HTTPS traffic.
|
|
255
|
+
- redirected: Responds to HTTP request with a 301 redirect to ask the clients to use HTTPS.
|
|
256
|
+
- enabled: Serve both HTTP and HTTPS traffic.
|
|
171
257
|
*/
|
|
172
258
|
httpOption: FunctionHttpOption;
|
|
173
259
|
runtimeMessage: string;
|
|
174
|
-
/**
|
|
260
|
+
/**
|
|
261
|
+
* Execution environment of the function.
|
|
262
|
+
*/
|
|
175
263
|
sandbox: FunctionSandbox;
|
|
176
|
-
/**
|
|
264
|
+
/**
|
|
265
|
+
* Creation date of the function.
|
|
266
|
+
*/
|
|
177
267
|
createdAt?: Date;
|
|
178
|
-
/**
|
|
268
|
+
/**
|
|
269
|
+
* Last update date of the function.
|
|
270
|
+
*/
|
|
179
271
|
updatedAt?: Date;
|
|
180
|
-
/**
|
|
272
|
+
/**
|
|
273
|
+
* Last date when the function was successfully deployed and set to ready.
|
|
274
|
+
*/
|
|
181
275
|
readyAt?: Date;
|
|
182
276
|
}
|
|
183
277
|
export interface Namespace {
|
|
184
|
-
/**
|
|
278
|
+
/**
|
|
279
|
+
* UUID of the namespace.
|
|
280
|
+
*/
|
|
185
281
|
id: string;
|
|
186
|
-
/**
|
|
282
|
+
/**
|
|
283
|
+
* Name of the namespace.
|
|
284
|
+
*/
|
|
187
285
|
name: string;
|
|
188
|
-
/**
|
|
286
|
+
/**
|
|
287
|
+
* Environment variables of the namespace.
|
|
288
|
+
*/
|
|
189
289
|
environmentVariables: Record<string, string>;
|
|
190
|
-
/**
|
|
290
|
+
/**
|
|
291
|
+
* UUID of the Organization the namespace belongs to.
|
|
292
|
+
*/
|
|
191
293
|
organizationId: string;
|
|
192
|
-
/**
|
|
294
|
+
/**
|
|
295
|
+
* UUID of the Project the namespace belongs to.
|
|
296
|
+
*/
|
|
193
297
|
projectId: string;
|
|
194
|
-
/**
|
|
298
|
+
/**
|
|
299
|
+
* Status of the namespace.
|
|
300
|
+
*/
|
|
195
301
|
status: NamespaceStatus;
|
|
196
|
-
/**
|
|
302
|
+
/**
|
|
303
|
+
* UUID of the registry namespace.
|
|
304
|
+
*/
|
|
197
305
|
registryNamespaceId: string;
|
|
198
|
-
/**
|
|
306
|
+
/**
|
|
307
|
+
* Error message if the namespace is in "error" state.
|
|
308
|
+
*/
|
|
199
309
|
errorMessage?: string;
|
|
200
|
-
/**
|
|
310
|
+
/**
|
|
311
|
+
* Registry endpoint of the namespace.
|
|
312
|
+
*/
|
|
201
313
|
registryEndpoint: string;
|
|
202
|
-
/**
|
|
314
|
+
/**
|
|
315
|
+
* Description of the namespace.
|
|
316
|
+
*/
|
|
203
317
|
description?: string;
|
|
204
|
-
/**
|
|
318
|
+
/**
|
|
319
|
+
* Secret environment variables of the namespace.
|
|
320
|
+
*/
|
|
205
321
|
secretEnvironmentVariables: SecretHashedValue[];
|
|
206
|
-
/**
|
|
322
|
+
/**
|
|
323
|
+
* Region in which the namespace is located.
|
|
324
|
+
*/
|
|
207
325
|
region: ScwRegion;
|
|
208
|
-
/**
|
|
326
|
+
/**
|
|
327
|
+
* [ALPHA] List of tags applied to the Serverless Function Namespace.
|
|
328
|
+
*/
|
|
209
329
|
tags: string[];
|
|
210
|
-
/**
|
|
330
|
+
/**
|
|
331
|
+
* Creation date of the namespace.
|
|
332
|
+
*/
|
|
211
333
|
createdAt?: Date;
|
|
212
|
-
/**
|
|
334
|
+
/**
|
|
335
|
+
* Last update date of the namespace.
|
|
336
|
+
*/
|
|
213
337
|
updatedAt?: Date;
|
|
214
338
|
}
|
|
215
339
|
export interface Token {
|
|
216
|
-
/**
|
|
340
|
+
/**
|
|
341
|
+
* UUID of the token.
|
|
342
|
+
*/
|
|
217
343
|
id: string;
|
|
218
|
-
/**
|
|
344
|
+
/**
|
|
345
|
+
* String of the token.
|
|
346
|
+
*/
|
|
219
347
|
token: string;
|
|
220
348
|
/**
|
|
221
349
|
* UUID of the function the token is associated with.
|
|
@@ -229,49 +357,68 @@ export interface Token {
|
|
|
229
357
|
* One-of ('scope'): at most one of 'functionId', 'namespaceId' could be set.
|
|
230
358
|
*/
|
|
231
359
|
namespaceId?: string;
|
|
232
|
-
/**
|
|
360
|
+
/**
|
|
361
|
+
* @deprecated Public key of the token.
|
|
362
|
+
*/
|
|
233
363
|
publicKey?: string;
|
|
234
|
-
/**
|
|
364
|
+
/**
|
|
365
|
+
* Status of the token.
|
|
366
|
+
*/
|
|
235
367
|
status: TokenStatus;
|
|
236
|
-
/**
|
|
368
|
+
/**
|
|
369
|
+
* Description of the token.
|
|
370
|
+
*/
|
|
237
371
|
description?: string;
|
|
238
|
-
/**
|
|
372
|
+
/**
|
|
373
|
+
* Date on which the token expires.
|
|
374
|
+
*/
|
|
239
375
|
expiresAt?: Date;
|
|
240
376
|
}
|
|
241
377
|
export interface Trigger {
|
|
242
|
-
/**
|
|
378
|
+
/**
|
|
379
|
+
* ID of the trigger.
|
|
380
|
+
*/
|
|
243
381
|
id: string;
|
|
244
|
-
/**
|
|
382
|
+
/**
|
|
383
|
+
* Name of the trigger.
|
|
384
|
+
*/
|
|
245
385
|
name: string;
|
|
246
|
-
/**
|
|
386
|
+
/**
|
|
387
|
+
* Description of the trigger.
|
|
388
|
+
*/
|
|
247
389
|
description: string;
|
|
248
|
-
/**
|
|
390
|
+
/**
|
|
391
|
+
* ID of the function to trigger.
|
|
392
|
+
*/
|
|
249
393
|
functionId: string;
|
|
250
|
-
/**
|
|
394
|
+
/**
|
|
395
|
+
* Type of the input.
|
|
396
|
+
*/
|
|
251
397
|
inputType: TriggerInputType;
|
|
252
|
-
/**
|
|
398
|
+
/**
|
|
399
|
+
* Status of the trigger.
|
|
400
|
+
*/
|
|
253
401
|
status: TriggerStatus;
|
|
254
|
-
/**
|
|
402
|
+
/**
|
|
403
|
+
* Error message of the trigger.
|
|
404
|
+
*/
|
|
255
405
|
errorMessage?: string;
|
|
256
406
|
/**
|
|
257
407
|
* Configuration for a Scaleway Messaging and Queuing SQS queue.
|
|
258
408
|
*
|
|
259
|
-
* One-of ('config'): at most one of 'scwSqsConfig', 'scwNatsConfig',
|
|
260
|
-
* 'sqsConfig' could be set.
|
|
409
|
+
* One-of ('config'): at most one of 'scwSqsConfig', 'scwNatsConfig', 'sqsConfig' could be set.
|
|
261
410
|
*/
|
|
262
411
|
scwSqsConfig?: TriggerMnqSqsClientConfig;
|
|
263
412
|
/**
|
|
264
413
|
* Configuration for a Scaleway Messaging and Queuing NATS subject.
|
|
265
414
|
*
|
|
266
|
-
* One-of ('config'): at most one of 'scwSqsConfig', 'scwNatsConfig',
|
|
267
|
-
* 'sqsConfig' could be set.
|
|
415
|
+
* One-of ('config'): at most one of 'scwSqsConfig', 'scwNatsConfig', 'sqsConfig' could be set.
|
|
268
416
|
*/
|
|
269
417
|
scwNatsConfig?: TriggerMnqNatsClientConfig;
|
|
270
418
|
/**
|
|
271
419
|
* Configuration for an AWS SQS queue.
|
|
272
420
|
*
|
|
273
|
-
* One-of ('config'): at most one of 'scwSqsConfig', 'scwNatsConfig',
|
|
274
|
-
* 'sqsConfig' could be set.
|
|
421
|
+
* One-of ('config'): at most one of 'scwSqsConfig', 'scwNatsConfig', 'sqsConfig' could be set.
|
|
275
422
|
*/
|
|
276
423
|
sqsConfig?: TriggerSqsClientConfig;
|
|
277
424
|
}
|
|
@@ -281,92 +428,131 @@ export interface UpdateTriggerRequestSqsClientConfig {
|
|
|
281
428
|
}
|
|
282
429
|
export type CreateCronRequest = {
|
|
283
430
|
/**
|
|
284
|
-
* Region to target. If none is passed will use default region from the
|
|
285
|
-
* config.
|
|
431
|
+
* Region to target. If none is passed will use default region from the config.
|
|
286
432
|
*/
|
|
287
433
|
region?: ScwRegion;
|
|
288
|
-
/**
|
|
434
|
+
/**
|
|
435
|
+
* UUID of the function to use the cron with.
|
|
436
|
+
*/
|
|
289
437
|
functionId: string;
|
|
290
|
-
/**
|
|
438
|
+
/**
|
|
439
|
+
* Schedule of the cron in UNIX cron format.
|
|
440
|
+
*/
|
|
291
441
|
schedule: string;
|
|
292
|
-
/**
|
|
442
|
+
/**
|
|
443
|
+
* Arguments to use with the cron.
|
|
444
|
+
*/
|
|
293
445
|
args?: Record<string, unknown>;
|
|
294
|
-
/**
|
|
446
|
+
/**
|
|
447
|
+
* Name of the cron.
|
|
448
|
+
*/
|
|
295
449
|
name?: string;
|
|
296
450
|
};
|
|
297
451
|
export type CreateDomainRequest = {
|
|
298
452
|
/**
|
|
299
|
-
* Region to target. If none is passed will use default region from the
|
|
300
|
-
* config.
|
|
453
|
+
* Region to target. If none is passed will use default region from the config.
|
|
301
454
|
*/
|
|
302
455
|
region?: ScwRegion;
|
|
303
|
-
/**
|
|
456
|
+
/**
|
|
457
|
+
* Hostame to create.
|
|
458
|
+
*/
|
|
304
459
|
hostname: string;
|
|
305
|
-
/**
|
|
460
|
+
/**
|
|
461
|
+
* UUID of the function to associate the domain with.
|
|
462
|
+
*/
|
|
306
463
|
functionId: string;
|
|
307
464
|
};
|
|
308
465
|
export type CreateFunctionRequest = {
|
|
309
466
|
/**
|
|
310
|
-
* Region to target. If none is passed will use default region from the
|
|
311
|
-
* config.
|
|
467
|
+
* Region to target. If none is passed will use default region from the config.
|
|
312
468
|
*/
|
|
313
469
|
region?: ScwRegion;
|
|
314
|
-
/**
|
|
470
|
+
/**
|
|
471
|
+
* Name of the function to create.
|
|
472
|
+
*/
|
|
315
473
|
name?: string;
|
|
316
|
-
/**
|
|
474
|
+
/**
|
|
475
|
+
* UUID of the namespace the function will be created in.
|
|
476
|
+
*/
|
|
317
477
|
namespaceId: string;
|
|
318
|
-
/**
|
|
478
|
+
/**
|
|
479
|
+
* Environment variables of the function.
|
|
480
|
+
*/
|
|
319
481
|
environmentVariables?: Record<string, string>;
|
|
320
|
-
/**
|
|
482
|
+
/**
|
|
483
|
+
* Minumum number of instances to scale the function to.
|
|
484
|
+
*/
|
|
321
485
|
minScale?: number;
|
|
322
|
-
/**
|
|
486
|
+
/**
|
|
487
|
+
* Maximum number of instances to scale the function to.
|
|
488
|
+
*/
|
|
323
489
|
maxScale?: number;
|
|
324
|
-
/**
|
|
490
|
+
/**
|
|
491
|
+
* Runtime to use with the function.
|
|
492
|
+
*/
|
|
325
493
|
runtime?: FunctionRuntime;
|
|
326
|
-
/**
|
|
494
|
+
/**
|
|
495
|
+
* Memory limit of the function in MB.
|
|
496
|
+
*/
|
|
327
497
|
memoryLimit?: number;
|
|
328
|
-
/**
|
|
498
|
+
/**
|
|
499
|
+
* Request processing time limit for the function.
|
|
500
|
+
*/
|
|
329
501
|
timeout?: string;
|
|
330
|
-
/**
|
|
502
|
+
/**
|
|
503
|
+
* Handler to use with the function.
|
|
504
|
+
*/
|
|
331
505
|
handler?: string;
|
|
332
|
-
/**
|
|
506
|
+
/**
|
|
507
|
+
* Privacy setting of the function.
|
|
508
|
+
*/
|
|
333
509
|
privacy?: FunctionPrivacy;
|
|
334
|
-
/**
|
|
510
|
+
/**
|
|
511
|
+
* Description of the function.
|
|
512
|
+
*/
|
|
335
513
|
description?: string;
|
|
336
514
|
secretEnvironmentVariables?: Secret[];
|
|
337
515
|
/**
|
|
338
516
|
* Possible values:
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
* to use HTTPS.
|
|
342
|
-
* - Enabled: Serve both HTTP and HTTPS traffic.
|
|
517
|
+
- redirected: Responds to HTTP request with a 301 redirect to ask the clients to use HTTPS.
|
|
518
|
+
- enabled: Serve both HTTP and HTTPS traffic.
|
|
343
519
|
*/
|
|
344
520
|
httpOption?: FunctionHttpOption;
|
|
345
|
-
/**
|
|
521
|
+
/**
|
|
522
|
+
* Execution environment of the function.
|
|
523
|
+
*/
|
|
346
524
|
sandbox?: FunctionSandbox;
|
|
347
525
|
};
|
|
348
526
|
export type CreateNamespaceRequest = {
|
|
349
527
|
/**
|
|
350
|
-
* Region to target. If none is passed will use default region from the
|
|
351
|
-
* config.
|
|
528
|
+
* Region to target. If none is passed will use default region from the config.
|
|
352
529
|
*/
|
|
353
530
|
region?: ScwRegion;
|
|
354
531
|
name?: string;
|
|
355
|
-
/**
|
|
532
|
+
/**
|
|
533
|
+
* Environment variables of the namespace.
|
|
534
|
+
*/
|
|
356
535
|
environmentVariables?: Record<string, string>;
|
|
357
|
-
/**
|
|
536
|
+
/**
|
|
537
|
+
* UUID of the project in which the namespace will be created.
|
|
538
|
+
*/
|
|
358
539
|
projectId?: string;
|
|
359
|
-
/**
|
|
540
|
+
/**
|
|
541
|
+
* Description of the namespace.
|
|
542
|
+
*/
|
|
360
543
|
description?: string;
|
|
361
|
-
/**
|
|
544
|
+
/**
|
|
545
|
+
* Secret environment variables of the namespace.
|
|
546
|
+
*/
|
|
362
547
|
secretEnvironmentVariables?: Secret[];
|
|
363
|
-
/**
|
|
548
|
+
/**
|
|
549
|
+
* [ALPHA] Tags of the Serverless Function Namespace.
|
|
550
|
+
*/
|
|
364
551
|
tags?: string[];
|
|
365
552
|
};
|
|
366
553
|
export type CreateTokenRequest = {
|
|
367
554
|
/**
|
|
368
|
-
* Region to target. If none is passed will use default region from the
|
|
369
|
-
* config.
|
|
555
|
+
* Region to target. If none is passed will use default region from the config.
|
|
370
556
|
*/
|
|
371
557
|
region?: ScwRegion;
|
|
372
558
|
/**
|
|
@@ -381,106 +567,119 @@ export type CreateTokenRequest = {
|
|
|
381
567
|
* One-of ('scope'): at most one of 'functionId', 'namespaceId' could be set.
|
|
382
568
|
*/
|
|
383
569
|
namespaceId?: string;
|
|
384
|
-
/**
|
|
570
|
+
/**
|
|
571
|
+
* Description of the token.
|
|
572
|
+
*/
|
|
385
573
|
description?: string;
|
|
386
|
-
/**
|
|
574
|
+
/**
|
|
575
|
+
* Date on which the token expires.
|
|
576
|
+
*/
|
|
387
577
|
expiresAt?: Date;
|
|
388
578
|
};
|
|
389
579
|
export type CreateTriggerRequest = {
|
|
390
580
|
/**
|
|
391
|
-
* Region to target. If none is passed will use default region from the
|
|
392
|
-
* config.
|
|
581
|
+
* Region to target. If none is passed will use default region from the config.
|
|
393
582
|
*/
|
|
394
583
|
region?: ScwRegion;
|
|
395
|
-
/**
|
|
584
|
+
/**
|
|
585
|
+
* Name of the trigger.
|
|
586
|
+
*/
|
|
396
587
|
name: string;
|
|
397
|
-
/**
|
|
588
|
+
/**
|
|
589
|
+
* ID of the function to trigger.
|
|
590
|
+
*/
|
|
398
591
|
functionId: string;
|
|
399
|
-
/**
|
|
592
|
+
/**
|
|
593
|
+
* Description of the trigger.
|
|
594
|
+
*/
|
|
400
595
|
description?: string;
|
|
401
596
|
/**
|
|
402
597
|
* Configuration for a Scaleway Messaging and Queuing SQS queue.
|
|
403
598
|
*
|
|
404
|
-
* One-of ('config'): at most one of 'scwSqsConfig', 'scwNatsConfig',
|
|
405
|
-
* 'sqsConfig' could be set.
|
|
599
|
+
* One-of ('config'): at most one of 'scwSqsConfig', 'scwNatsConfig', 'sqsConfig' could be set.
|
|
406
600
|
*/
|
|
407
601
|
scwSqsConfig?: CreateTriggerRequestMnqSqsClientConfig;
|
|
408
602
|
/**
|
|
409
603
|
* Configuration for a Scaleway Messaging and Queuing NATS subject.
|
|
410
604
|
*
|
|
411
|
-
* One-of ('config'): at most one of 'scwSqsConfig', 'scwNatsConfig',
|
|
412
|
-
* 'sqsConfig' could be set.
|
|
605
|
+
* One-of ('config'): at most one of 'scwSqsConfig', 'scwNatsConfig', 'sqsConfig' could be set.
|
|
413
606
|
*/
|
|
414
607
|
scwNatsConfig?: CreateTriggerRequestMnqNatsClientConfig;
|
|
415
608
|
/**
|
|
416
609
|
* Configuration for an AWS SQS queue.
|
|
417
610
|
*
|
|
418
|
-
* One-of ('config'): at most one of 'scwSqsConfig', 'scwNatsConfig',
|
|
419
|
-
* 'sqsConfig' could be set.
|
|
611
|
+
* One-of ('config'): at most one of 'scwSqsConfig', 'scwNatsConfig', 'sqsConfig' could be set.
|
|
420
612
|
*/
|
|
421
613
|
sqsConfig?: CreateTriggerRequestSqsClientConfig;
|
|
422
614
|
};
|
|
423
615
|
export type DeleteCronRequest = {
|
|
424
616
|
/**
|
|
425
|
-
* Region to target. If none is passed will use default region from the
|
|
426
|
-
* config.
|
|
617
|
+
* Region to target. If none is passed will use default region from the config.
|
|
427
618
|
*/
|
|
428
619
|
region?: ScwRegion;
|
|
429
|
-
/**
|
|
620
|
+
/**
|
|
621
|
+
* UUID of the cron to delete.
|
|
622
|
+
*/
|
|
430
623
|
cronId: string;
|
|
431
624
|
};
|
|
432
625
|
export type DeleteDomainRequest = {
|
|
433
626
|
/**
|
|
434
|
-
* Region to target. If none is passed will use default region from the
|
|
435
|
-
* config.
|
|
627
|
+
* Region to target. If none is passed will use default region from the config.
|
|
436
628
|
*/
|
|
437
629
|
region?: ScwRegion;
|
|
438
|
-
/**
|
|
630
|
+
/**
|
|
631
|
+
* UUID of the domain to delete.
|
|
632
|
+
*/
|
|
439
633
|
domainId: string;
|
|
440
634
|
};
|
|
441
635
|
export type DeleteFunctionRequest = {
|
|
442
636
|
/**
|
|
443
|
-
* Region to target. If none is passed will use default region from the
|
|
444
|
-
* config.
|
|
637
|
+
* Region to target. If none is passed will use default region from the config.
|
|
445
638
|
*/
|
|
446
639
|
region?: ScwRegion;
|
|
447
|
-
/**
|
|
640
|
+
/**
|
|
641
|
+
* UUID of the function to delete.
|
|
642
|
+
*/
|
|
448
643
|
functionId: string;
|
|
449
644
|
};
|
|
450
645
|
export type DeleteNamespaceRequest = {
|
|
451
646
|
/**
|
|
452
|
-
* Region to target. If none is passed will use default region from the
|
|
453
|
-
* config.
|
|
647
|
+
* Region to target. If none is passed will use default region from the config.
|
|
454
648
|
*/
|
|
455
649
|
region?: ScwRegion;
|
|
456
|
-
/**
|
|
650
|
+
/**
|
|
651
|
+
* UUID of the namespace.
|
|
652
|
+
*/
|
|
457
653
|
namespaceId: string;
|
|
458
654
|
};
|
|
459
655
|
export type DeleteTokenRequest = {
|
|
460
656
|
/**
|
|
461
|
-
* Region to target. If none is passed will use default region from the
|
|
462
|
-
* config.
|
|
657
|
+
* Region to target. If none is passed will use default region from the config.
|
|
463
658
|
*/
|
|
464
659
|
region?: ScwRegion;
|
|
465
|
-
/**
|
|
660
|
+
/**
|
|
661
|
+
* UUID of the token to delete.
|
|
662
|
+
*/
|
|
466
663
|
tokenId: string;
|
|
467
664
|
};
|
|
468
665
|
export type DeleteTriggerRequest = {
|
|
469
666
|
/**
|
|
470
|
-
* Region to target. If none is passed will use default region from the
|
|
471
|
-
* config.
|
|
667
|
+
* Region to target. If none is passed will use default region from the config.
|
|
472
668
|
*/
|
|
473
669
|
region?: ScwRegion;
|
|
474
|
-
/**
|
|
670
|
+
/**
|
|
671
|
+
* ID of the trigger to delete.
|
|
672
|
+
*/
|
|
475
673
|
triggerId: string;
|
|
476
674
|
};
|
|
477
675
|
export type DeployFunctionRequest = {
|
|
478
676
|
/**
|
|
479
|
-
* Region to target. If none is passed will use default region from the
|
|
480
|
-
* config.
|
|
677
|
+
* Region to target. If none is passed will use default region from the config.
|
|
481
678
|
*/
|
|
482
679
|
region?: ScwRegion;
|
|
483
|
-
/**
|
|
680
|
+
/**
|
|
681
|
+
* UUID of the function to deploy.
|
|
682
|
+
*/
|
|
484
683
|
functionId: string;
|
|
485
684
|
};
|
|
486
685
|
export interface DownloadURL {
|
|
@@ -489,199 +688,273 @@ export interface DownloadURL {
|
|
|
489
688
|
}
|
|
490
689
|
export type GetCronRequest = {
|
|
491
690
|
/**
|
|
492
|
-
* Region to target. If none is passed will use default region from the
|
|
493
|
-
* config.
|
|
691
|
+
* Region to target. If none is passed will use default region from the config.
|
|
494
692
|
*/
|
|
495
693
|
region?: ScwRegion;
|
|
496
|
-
/**
|
|
694
|
+
/**
|
|
695
|
+
* UUID of the cron to get.
|
|
696
|
+
*/
|
|
497
697
|
cronId: string;
|
|
498
698
|
};
|
|
499
699
|
export type GetDomainRequest = {
|
|
500
700
|
/**
|
|
501
|
-
* Region to target. If none is passed will use default region from the
|
|
502
|
-
* config.
|
|
701
|
+
* Region to target. If none is passed will use default region from the config.
|
|
503
702
|
*/
|
|
504
703
|
region?: ScwRegion;
|
|
505
|
-
/**
|
|
704
|
+
/**
|
|
705
|
+
* UUID of the domain to get.
|
|
706
|
+
*/
|
|
506
707
|
domainId: string;
|
|
507
708
|
};
|
|
508
709
|
export type GetFunctionDownloadURLRequest = {
|
|
509
710
|
/**
|
|
510
|
-
* Region to target. If none is passed will use default region from the
|
|
511
|
-
* config.
|
|
711
|
+
* Region to target. If none is passed will use default region from the config.
|
|
512
712
|
*/
|
|
513
713
|
region?: ScwRegion;
|
|
514
|
-
/**
|
|
714
|
+
/**
|
|
715
|
+
* UUID of the function to get the download URL for.
|
|
716
|
+
*/
|
|
515
717
|
functionId: string;
|
|
516
718
|
};
|
|
517
719
|
export type GetFunctionRequest = {
|
|
518
720
|
/**
|
|
519
|
-
* Region to target. If none is passed will use default region from the
|
|
520
|
-
* config.
|
|
721
|
+
* Region to target. If none is passed will use default region from the config.
|
|
521
722
|
*/
|
|
522
723
|
region?: ScwRegion;
|
|
523
|
-
/**
|
|
724
|
+
/**
|
|
725
|
+
* UUID of the function.
|
|
726
|
+
*/
|
|
524
727
|
functionId: string;
|
|
525
728
|
};
|
|
526
729
|
export type GetFunctionUploadURLRequest = {
|
|
527
730
|
/**
|
|
528
|
-
* Region to target. If none is passed will use default region from the
|
|
529
|
-
* config.
|
|
731
|
+
* Region to target. If none is passed will use default region from the config.
|
|
530
732
|
*/
|
|
531
733
|
region?: ScwRegion;
|
|
532
|
-
/**
|
|
734
|
+
/**
|
|
735
|
+
* UUID of the function to get the upload URL for.
|
|
736
|
+
*/
|
|
533
737
|
functionId: string;
|
|
534
|
-
/**
|
|
738
|
+
/**
|
|
739
|
+
* Size of the archive to upload in bytes.
|
|
740
|
+
*/
|
|
535
741
|
contentLength: number;
|
|
536
742
|
};
|
|
537
743
|
export type GetNamespaceRequest = {
|
|
538
744
|
/**
|
|
539
|
-
* Region to target. If none is passed will use default region from the
|
|
540
|
-
* config.
|
|
745
|
+
* Region to target. If none is passed will use default region from the config.
|
|
541
746
|
*/
|
|
542
747
|
region?: ScwRegion;
|
|
543
|
-
/**
|
|
748
|
+
/**
|
|
749
|
+
* UUID of the namespace.
|
|
750
|
+
*/
|
|
544
751
|
namespaceId: string;
|
|
545
752
|
};
|
|
546
753
|
export type GetTokenRequest = {
|
|
547
754
|
/**
|
|
548
|
-
* Region to target. If none is passed will use default region from the
|
|
549
|
-
* config.
|
|
755
|
+
* Region to target. If none is passed will use default region from the config.
|
|
550
756
|
*/
|
|
551
757
|
region?: ScwRegion;
|
|
552
|
-
/**
|
|
758
|
+
/**
|
|
759
|
+
* UUID of the token to get.
|
|
760
|
+
*/
|
|
553
761
|
tokenId: string;
|
|
554
762
|
};
|
|
555
763
|
export type GetTriggerRequest = {
|
|
556
764
|
/**
|
|
557
|
-
* Region to target. If none is passed will use default region from the
|
|
558
|
-
* config.
|
|
765
|
+
* Region to target. If none is passed will use default region from the config.
|
|
559
766
|
*/
|
|
560
767
|
region?: ScwRegion;
|
|
561
|
-
/**
|
|
768
|
+
/**
|
|
769
|
+
* ID of the trigger to get.
|
|
770
|
+
*/
|
|
562
771
|
triggerId: string;
|
|
563
772
|
};
|
|
564
773
|
export type ListCronsRequest = {
|
|
565
774
|
/**
|
|
566
|
-
* Region to target. If none is passed will use default region from the
|
|
567
|
-
* config.
|
|
775
|
+
* Region to target. If none is passed will use default region from the config.
|
|
568
776
|
*/
|
|
569
777
|
region?: ScwRegion;
|
|
570
|
-
/**
|
|
778
|
+
/**
|
|
779
|
+
* Page number.
|
|
780
|
+
*/
|
|
571
781
|
page?: number;
|
|
572
|
-
/**
|
|
782
|
+
/**
|
|
783
|
+
* Number of crons per page.
|
|
784
|
+
*/
|
|
573
785
|
pageSize?: number;
|
|
574
|
-
/**
|
|
786
|
+
/**
|
|
787
|
+
* Order of the crons.
|
|
788
|
+
*/
|
|
575
789
|
orderBy?: ListCronsRequestOrderBy;
|
|
576
|
-
/**
|
|
790
|
+
/**
|
|
791
|
+
* UUID of the function.
|
|
792
|
+
*/
|
|
577
793
|
functionId: string;
|
|
578
794
|
};
|
|
579
795
|
export interface ListCronsResponse {
|
|
580
|
-
/**
|
|
796
|
+
/**
|
|
797
|
+
* Array of crons.
|
|
798
|
+
*/
|
|
581
799
|
crons: Cron[];
|
|
582
|
-
/**
|
|
800
|
+
/**
|
|
801
|
+
* Total number of crons.
|
|
802
|
+
*/
|
|
583
803
|
totalCount: number;
|
|
584
804
|
}
|
|
585
805
|
export type ListDomainsRequest = {
|
|
586
806
|
/**
|
|
587
|
-
* Region to target. If none is passed will use default region from the
|
|
588
|
-
* config.
|
|
807
|
+
* Region to target. If none is passed will use default region from the config.
|
|
589
808
|
*/
|
|
590
809
|
region?: ScwRegion;
|
|
591
|
-
/**
|
|
810
|
+
/**
|
|
811
|
+
* Page number.
|
|
812
|
+
*/
|
|
592
813
|
page?: number;
|
|
593
|
-
/**
|
|
814
|
+
/**
|
|
815
|
+
* Number of domains per page.
|
|
816
|
+
*/
|
|
594
817
|
pageSize?: number;
|
|
595
|
-
/**
|
|
818
|
+
/**
|
|
819
|
+
* Order of the domains.
|
|
820
|
+
*/
|
|
596
821
|
orderBy?: ListDomainsRequestOrderBy;
|
|
597
|
-
/**
|
|
822
|
+
/**
|
|
823
|
+
* UUID of the function the domain is assoicated with.
|
|
824
|
+
*/
|
|
598
825
|
functionId: string;
|
|
599
826
|
};
|
|
600
827
|
export interface ListDomainsResponse {
|
|
601
|
-
/**
|
|
828
|
+
/**
|
|
829
|
+
* Array of domains.
|
|
830
|
+
*/
|
|
602
831
|
domains: Domain[];
|
|
603
|
-
/**
|
|
832
|
+
/**
|
|
833
|
+
* Total number of domains.
|
|
834
|
+
*/
|
|
604
835
|
totalCount: number;
|
|
605
836
|
}
|
|
606
837
|
export type ListFunctionRuntimesRequest = {
|
|
607
838
|
/**
|
|
608
|
-
* Region to target. If none is passed will use default region from the
|
|
609
|
-
* config.
|
|
839
|
+
* Region to target. If none is passed will use default region from the config.
|
|
610
840
|
*/
|
|
611
841
|
region?: ScwRegion;
|
|
612
842
|
};
|
|
613
843
|
export interface ListFunctionRuntimesResponse {
|
|
614
|
-
/**
|
|
844
|
+
/**
|
|
845
|
+
* Array of runtimes available.
|
|
846
|
+
*/
|
|
615
847
|
runtimes: Runtime[];
|
|
616
|
-
/**
|
|
848
|
+
/**
|
|
849
|
+
* Total number of runtimes.
|
|
850
|
+
*/
|
|
617
851
|
totalCount: number;
|
|
618
852
|
}
|
|
619
853
|
export type ListFunctionsRequest = {
|
|
620
854
|
/**
|
|
621
|
-
* Region to target. If none is passed will use default region from the
|
|
622
|
-
* config.
|
|
855
|
+
* Region to target. If none is passed will use default region from the config.
|
|
623
856
|
*/
|
|
624
857
|
region?: ScwRegion;
|
|
625
|
-
/**
|
|
858
|
+
/**
|
|
859
|
+
* Page number.
|
|
860
|
+
*/
|
|
626
861
|
page?: number;
|
|
627
|
-
/**
|
|
862
|
+
/**
|
|
863
|
+
* Number of functions per page.
|
|
864
|
+
*/
|
|
628
865
|
pageSize?: number;
|
|
629
|
-
/**
|
|
866
|
+
/**
|
|
867
|
+
* Order of the functions.
|
|
868
|
+
*/
|
|
630
869
|
orderBy?: ListFunctionsRequestOrderBy;
|
|
631
|
-
/**
|
|
870
|
+
/**
|
|
871
|
+
* UUID of the namespace the function belongs to.
|
|
872
|
+
*/
|
|
632
873
|
namespaceId: string;
|
|
633
|
-
/**
|
|
874
|
+
/**
|
|
875
|
+
* Name of the function.
|
|
876
|
+
*/
|
|
634
877
|
name?: string;
|
|
635
|
-
/**
|
|
878
|
+
/**
|
|
879
|
+
* UUID of the Organziation the function belongs to.
|
|
880
|
+
*/
|
|
636
881
|
organizationId?: string;
|
|
637
|
-
/**
|
|
882
|
+
/**
|
|
883
|
+
* UUID of the Project the function belongs to.
|
|
884
|
+
*/
|
|
638
885
|
projectId?: string;
|
|
639
886
|
};
|
|
640
887
|
export interface ListFunctionsResponse {
|
|
641
|
-
/**
|
|
888
|
+
/**
|
|
889
|
+
* Array of functions.
|
|
890
|
+
*/
|
|
642
891
|
functions: Function[];
|
|
643
|
-
/**
|
|
892
|
+
/**
|
|
893
|
+
* Total number of functions.
|
|
894
|
+
*/
|
|
644
895
|
totalCount: number;
|
|
645
896
|
}
|
|
646
897
|
export type ListNamespacesRequest = {
|
|
647
898
|
/**
|
|
648
|
-
* Region to target. If none is passed will use default region from the
|
|
649
|
-
* config.
|
|
899
|
+
* Region to target. If none is passed will use default region from the config.
|
|
650
900
|
*/
|
|
651
901
|
region?: ScwRegion;
|
|
652
|
-
/**
|
|
902
|
+
/**
|
|
903
|
+
* Page number.
|
|
904
|
+
*/
|
|
653
905
|
page?: number;
|
|
654
|
-
/**
|
|
906
|
+
/**
|
|
907
|
+
* Number of namespaces per page.
|
|
908
|
+
*/
|
|
655
909
|
pageSize?: number;
|
|
656
|
-
/**
|
|
910
|
+
/**
|
|
911
|
+
* Order of the namespaces.
|
|
912
|
+
*/
|
|
657
913
|
orderBy?: ListNamespacesRequestOrderBy;
|
|
658
|
-
/**
|
|
914
|
+
/**
|
|
915
|
+
* Name of the namespace.
|
|
916
|
+
*/
|
|
659
917
|
name?: string;
|
|
660
|
-
/**
|
|
918
|
+
/**
|
|
919
|
+
* UUID of the Organization the namespace belongs to.
|
|
920
|
+
*/
|
|
661
921
|
organizationId?: string;
|
|
662
|
-
/**
|
|
922
|
+
/**
|
|
923
|
+
* UUID of the Project the namespace belongs to.
|
|
924
|
+
*/
|
|
663
925
|
projectId?: string;
|
|
664
926
|
};
|
|
665
927
|
export interface ListNamespacesResponse {
|
|
666
928
|
namespaces: Namespace[];
|
|
667
|
-
/**
|
|
929
|
+
/**
|
|
930
|
+
* Total number of namespaces.
|
|
931
|
+
*/
|
|
668
932
|
totalCount: number;
|
|
669
933
|
}
|
|
670
934
|
export type ListTokensRequest = {
|
|
671
935
|
/**
|
|
672
|
-
* Region to target. If none is passed will use default region from the
|
|
673
|
-
* config.
|
|
936
|
+
* Region to target. If none is passed will use default region from the config.
|
|
674
937
|
*/
|
|
675
938
|
region?: ScwRegion;
|
|
676
|
-
/**
|
|
939
|
+
/**
|
|
940
|
+
* Page number.
|
|
941
|
+
*/
|
|
677
942
|
page?: number;
|
|
678
|
-
/**
|
|
943
|
+
/**
|
|
944
|
+
* Number of tokens per page.
|
|
945
|
+
*/
|
|
679
946
|
pageSize?: number;
|
|
680
|
-
/**
|
|
947
|
+
/**
|
|
948
|
+
* Sort order for the tokens.
|
|
949
|
+
*/
|
|
681
950
|
orderBy?: ListTokensRequestOrderBy;
|
|
682
|
-
/**
|
|
951
|
+
/**
|
|
952
|
+
* UUID of the function the token is assoicated with.
|
|
953
|
+
*/
|
|
683
954
|
functionId?: string;
|
|
684
|
-
/**
|
|
955
|
+
/**
|
|
956
|
+
* UUID of the namespace the token is associated with.
|
|
957
|
+
*/
|
|
685
958
|
namespaceId?: string;
|
|
686
959
|
};
|
|
687
960
|
export interface ListTokensResponse {
|
|
@@ -690,130 +963,182 @@ export interface ListTokensResponse {
|
|
|
690
963
|
}
|
|
691
964
|
export type ListTriggersRequest = {
|
|
692
965
|
/**
|
|
693
|
-
* Region to target. If none is passed will use default region from the
|
|
694
|
-
* config.
|
|
966
|
+
* Region to target. If none is passed will use default region from the config.
|
|
695
967
|
*/
|
|
696
968
|
region?: ScwRegion;
|
|
697
|
-
/**
|
|
969
|
+
/**
|
|
970
|
+
* Page number to return.
|
|
971
|
+
*/
|
|
698
972
|
page?: number;
|
|
699
|
-
/**
|
|
973
|
+
/**
|
|
974
|
+
* Maximum number of triggers to return per page.
|
|
975
|
+
*/
|
|
700
976
|
pageSize?: number;
|
|
701
|
-
/**
|
|
977
|
+
/**
|
|
978
|
+
* Order in which to return results.
|
|
979
|
+
*/
|
|
702
980
|
orderBy?: ListTriggersRequestOrderBy;
|
|
703
981
|
/**
|
|
704
982
|
* ID of the function the triggers belongs to.
|
|
705
983
|
*
|
|
706
|
-
* One-of ('scope'): at most one of 'functionId', 'namespaceId', 'projectId'
|
|
707
|
-
* could be set.
|
|
984
|
+
* One-of ('scope'): at most one of 'functionId', 'namespaceId', 'projectId' could be set.
|
|
708
985
|
*/
|
|
709
986
|
functionId?: string;
|
|
710
987
|
/**
|
|
711
988
|
* ID of the namespace the triggers belongs to.
|
|
712
989
|
*
|
|
713
|
-
* One-of ('scope'): at most one of 'functionId', 'namespaceId', 'projectId'
|
|
714
|
-
* could be set.
|
|
990
|
+
* One-of ('scope'): at most one of 'functionId', 'namespaceId', 'projectId' could be set.
|
|
715
991
|
*/
|
|
716
992
|
namespaceId?: string;
|
|
717
993
|
/**
|
|
718
994
|
* ID of the project the triggers belongs to.
|
|
719
995
|
*
|
|
720
|
-
* One-of ('scope'): at most one of 'functionId', 'namespaceId', 'projectId'
|
|
721
|
-
* could be set.
|
|
996
|
+
* One-of ('scope'): at most one of 'functionId', 'namespaceId', 'projectId' could be set.
|
|
722
997
|
*/
|
|
723
998
|
projectId?: string;
|
|
724
999
|
};
|
|
725
1000
|
export interface ListTriggersResponse {
|
|
726
|
-
/**
|
|
1001
|
+
/**
|
|
1002
|
+
* Total count of existing triggers (matching any filters specified).
|
|
1003
|
+
*/
|
|
727
1004
|
totalCount: number;
|
|
728
|
-
/**
|
|
1005
|
+
/**
|
|
1006
|
+
* Triggers on this page.
|
|
1007
|
+
*/
|
|
729
1008
|
triggers: Trigger[];
|
|
730
1009
|
}
|
|
731
1010
|
export type UpdateCronRequest = {
|
|
732
1011
|
/**
|
|
733
|
-
* Region to target. If none is passed will use default region from the
|
|
734
|
-
* config.
|
|
1012
|
+
* Region to target. If none is passed will use default region from the config.
|
|
735
1013
|
*/
|
|
736
1014
|
region?: ScwRegion;
|
|
737
|
-
/**
|
|
1015
|
+
/**
|
|
1016
|
+
* UUID of the cron to update.
|
|
1017
|
+
*/
|
|
738
1018
|
cronId: string;
|
|
739
|
-
/**
|
|
1019
|
+
/**
|
|
1020
|
+
* UUID of the function to use the cron with.
|
|
1021
|
+
*/
|
|
740
1022
|
functionId?: string;
|
|
741
|
-
/**
|
|
1023
|
+
/**
|
|
1024
|
+
* Schedule of the cron in UNIX cron format.
|
|
1025
|
+
*/
|
|
742
1026
|
schedule?: string;
|
|
743
|
-
/**
|
|
1027
|
+
/**
|
|
1028
|
+
* Arguments to use with the cron.
|
|
1029
|
+
*/
|
|
744
1030
|
args?: Record<string, unknown>;
|
|
745
|
-
/**
|
|
1031
|
+
/**
|
|
1032
|
+
* Name of the cron.
|
|
1033
|
+
*/
|
|
746
1034
|
name?: string;
|
|
747
1035
|
};
|
|
748
1036
|
export type UpdateFunctionRequest = {
|
|
749
1037
|
/**
|
|
750
|
-
* Region to target. If none is passed will use default region from the
|
|
751
|
-
* config.
|
|
1038
|
+
* Region to target. If none is passed will use default region from the config.
|
|
752
1039
|
*/
|
|
753
1040
|
region?: ScwRegion;
|
|
754
|
-
/**
|
|
1041
|
+
/**
|
|
1042
|
+
* UUID of the function to update.
|
|
1043
|
+
*/
|
|
755
1044
|
functionId: string;
|
|
756
|
-
/**
|
|
1045
|
+
/**
|
|
1046
|
+
* Environment variables of the function to update.
|
|
1047
|
+
*/
|
|
757
1048
|
environmentVariables?: Record<string, string>;
|
|
758
|
-
/**
|
|
1049
|
+
/**
|
|
1050
|
+
* Minumum number of instances to scale the function to.
|
|
1051
|
+
*/
|
|
759
1052
|
minScale?: number;
|
|
760
|
-
/**
|
|
1053
|
+
/**
|
|
1054
|
+
* Maximum number of instances to scale the function to.
|
|
1055
|
+
*/
|
|
761
1056
|
maxScale?: number;
|
|
762
|
-
/**
|
|
1057
|
+
/**
|
|
1058
|
+
* Runtime to use with the function.
|
|
1059
|
+
*/
|
|
763
1060
|
runtime?: FunctionRuntime;
|
|
764
|
-
/**
|
|
1061
|
+
/**
|
|
1062
|
+
* Memory limit of the function in MB.
|
|
1063
|
+
*/
|
|
765
1064
|
memoryLimit?: number;
|
|
766
|
-
/**
|
|
1065
|
+
/**
|
|
1066
|
+
* Processing time limit for the function.
|
|
1067
|
+
*/
|
|
767
1068
|
timeout?: string;
|
|
768
|
-
/**
|
|
1069
|
+
/**
|
|
1070
|
+
* Redeploy failed function.
|
|
1071
|
+
*/
|
|
769
1072
|
redeploy?: boolean;
|
|
770
|
-
/**
|
|
1073
|
+
/**
|
|
1074
|
+
* Handler to use with the function.
|
|
1075
|
+
*/
|
|
771
1076
|
handler?: string;
|
|
772
|
-
/**
|
|
1077
|
+
/**
|
|
1078
|
+
* Privacy setting of the function.
|
|
1079
|
+
*/
|
|
773
1080
|
privacy?: FunctionPrivacy;
|
|
774
|
-
/**
|
|
1081
|
+
/**
|
|
1082
|
+
* Description of the function.
|
|
1083
|
+
*/
|
|
775
1084
|
description?: string;
|
|
776
|
-
/**
|
|
1085
|
+
/**
|
|
1086
|
+
* Secret environment variables of the function.
|
|
1087
|
+
*/
|
|
777
1088
|
secretEnvironmentVariables?: Secret[];
|
|
778
1089
|
/**
|
|
779
1090
|
* Possible values:
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
* to use HTTPS.
|
|
783
|
-
* - Enabled: Serve both HTTP and HTTPS traffic.
|
|
1091
|
+
- redirected: Responds to HTTP request with a 301 redirect to ask the clients to use HTTPS.
|
|
1092
|
+
- enabled: Serve both HTTP and HTTPS traffic.
|
|
784
1093
|
*/
|
|
785
1094
|
httpOption?: FunctionHttpOption;
|
|
786
|
-
/**
|
|
1095
|
+
/**
|
|
1096
|
+
* Execution environment of the function.
|
|
1097
|
+
*/
|
|
787
1098
|
sandbox?: FunctionSandbox;
|
|
788
1099
|
};
|
|
789
1100
|
export type UpdateNamespaceRequest = {
|
|
790
1101
|
/**
|
|
791
|
-
* Region to target. If none is passed will use default region from the
|
|
792
|
-
* config.
|
|
1102
|
+
* Region to target. If none is passed will use default region from the config.
|
|
793
1103
|
*/
|
|
794
1104
|
region?: ScwRegion;
|
|
795
|
-
/**
|
|
1105
|
+
/**
|
|
1106
|
+
* UUID of the namespapce.
|
|
1107
|
+
*/
|
|
796
1108
|
namespaceId: string;
|
|
797
|
-
/**
|
|
1109
|
+
/**
|
|
1110
|
+
* Environment variables of the namespace.
|
|
1111
|
+
*/
|
|
798
1112
|
environmentVariables?: Record<string, string>;
|
|
799
|
-
/**
|
|
1113
|
+
/**
|
|
1114
|
+
* Description of the namespace.
|
|
1115
|
+
*/
|
|
800
1116
|
description?: string;
|
|
801
|
-
/**
|
|
1117
|
+
/**
|
|
1118
|
+
* Secret environment variables of the namespace.
|
|
1119
|
+
*/
|
|
802
1120
|
secretEnvironmentVariables?: Secret[];
|
|
803
|
-
/**
|
|
1121
|
+
/**
|
|
1122
|
+
* [ALPHA] Tags of the Serverless Function Namespace.
|
|
1123
|
+
*/
|
|
804
1124
|
tags?: string[];
|
|
805
1125
|
};
|
|
806
1126
|
export type UpdateTriggerRequest = {
|
|
807
1127
|
/**
|
|
808
|
-
* Region to target. If none is passed will use default region from the
|
|
809
|
-
* config.
|
|
1128
|
+
* Region to target. If none is passed will use default region from the config.
|
|
810
1129
|
*/
|
|
811
1130
|
region?: ScwRegion;
|
|
812
|
-
/**
|
|
1131
|
+
/**
|
|
1132
|
+
* ID of the trigger to update.
|
|
1133
|
+
*/
|
|
813
1134
|
triggerId: string;
|
|
814
|
-
/**
|
|
1135
|
+
/**
|
|
1136
|
+
* Name of the trigger.
|
|
1137
|
+
*/
|
|
815
1138
|
name?: string;
|
|
816
|
-
/**
|
|
1139
|
+
/**
|
|
1140
|
+
* Description of the trigger.
|
|
1141
|
+
*/
|
|
817
1142
|
description?: string;
|
|
818
1143
|
/**
|
|
819
1144
|
* Configuration for an AWS SQS queue.
|
|
@@ -823,8 +1148,12 @@ export type UpdateTriggerRequest = {
|
|
|
823
1148
|
sqsConfig?: UpdateTriggerRequestSqsClientConfig;
|
|
824
1149
|
};
|
|
825
1150
|
export interface UploadURL {
|
|
826
|
-
/**
|
|
1151
|
+
/**
|
|
1152
|
+
* Upload URL to upload the function to.
|
|
1153
|
+
*/
|
|
827
1154
|
url: string;
|
|
828
|
-
/**
|
|
1155
|
+
/**
|
|
1156
|
+
* HTTP headers.
|
|
1157
|
+
*/
|
|
829
1158
|
headers: Record<string, string[]>;
|
|
830
1159
|
}
|