@scaleway/sdk 2.71.1 → 2.73.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 +18 -36
- package/dist/api/account/v3/api.gen.d.ts +18 -37
- package/dist/api/account/v3/api.gen.js +18 -36
- 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/account/v3/types.gen.d.ts +187 -85
- package/dist/api/applesilicon/index.gen.d.ts +2 -2
- package/dist/api/applesilicon/v1alpha1/api.gen.cjs +25 -51
- package/dist/api/applesilicon/v1alpha1/api.gen.d.ts +26 -51
- package/dist/api/applesilicon/v1alpha1/api.gen.js +25 -51
- 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 +311 -136
- package/dist/api/audit_trail/index.gen.d.ts +2 -2
- package/dist/api/audit_trail/v1alpha1/api.gen.cjs +6 -8
- package/dist/api/audit_trail/v1alpha1/api.gen.d.ts +6 -10
- package/dist/api/audit_trail/v1alpha1/api.gen.js +6 -8
- 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 +111 -83
- package/dist/api/baremetal/index.gen.d.ts +2 -2
- package/dist/api/baremetal/v1/api.gen.cjs +34 -66
- package/dist/api/baremetal/v1/api.gen.d.ts +31 -62
- package/dist/api/baremetal/v1/api.gen.js +34 -66
- 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 +866 -379
- package/dist/api/baremetal/v3/api.gen.cjs +12 -18
- package/dist/api/baremetal/v3/api.gen.d.ts +12 -17
- package/dist/api/baremetal/v3/api.gen.js +12 -18
- 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 +83 -33
- 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 +16 -24
- package/dist/api/billing/v2beta1/api.gen.d.ts +10 -20
- package/dist/api/billing/v2beta1/api.gen.js +16 -24
- 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 +232 -103
- package/dist/api/block/index.gen.d.ts +2 -2
- package/dist/api/block/v1/api.gen.cjs +43 -60
- package/dist/api/block/v1/api.gen.d.ts +21 -39
- package/dist/api/block/v1/api.gen.js +43 -60
- 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 +307 -126
- package/dist/api/block/v1alpha1/api.gen.cjs +51 -69
- package/dist/api/block/v1alpha1/api.gen.d.ts +24 -43
- package/dist/api/block/v1alpha1/api.gen.js +51 -69
- 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 +328 -133
- package/dist/api/cockpit/index.gen.d.ts +2 -2
- package/dist/api/cockpit/v1/api.gen.cjs +105 -160
- package/dist/api/cockpit/v1/api.gen.d.ts +55 -114
- package/dist/api/cockpit/v1/api.gen.js +105 -160
- 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 +568 -247
- 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 +13 -19
- package/dist/api/container/v1beta1/api.gen.d.ts +11 -18
- package/dist/api/container/v1beta1/api.gen.js +13 -19
- 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 +649 -323
- package/dist/api/dedibox/index.gen.d.ts +2 -2
- package/dist/api/dedibox/v1/api.gen.cjs +51 -74
- package/dist/api/dedibox/v1/api.gen.d.ts +54 -64
- package/dist/api/dedibox/v1/api.gen.js +51 -74
- 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 +1766 -646
- 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 +125 -183
- package/dist/api/domain/v2beta1/api.gen.d.ts +73 -132
- package/dist/api/domain/v2beta1/api.gen.js +125 -183
- package/dist/api/domain/v2beta1/content.gen.d.ts +1 -4
- 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 +412 -200
- 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 +16 -30
- package/dist/api/flexibleip/v1alpha1/api.gen.d.ts +14 -30
- package/dist/api/flexibleip/v1alpha1/api.gen.js +16 -30
- 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 +187 -79
- 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 +14 -16
- package/dist/api/inference/v1/api.gen.d.ts +8 -11
- package/dist/api/inference/v1/api.gen.js +14 -16
- 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 +331 -151
- package/dist/api/inference/v1beta1/api.gen.cjs +14 -16
- package/dist/api/inference/v1beta1/api.gen.d.ts +8 -11
- package/dist/api/inference/v1beta1/api.gen.js +14 -16
- 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 +342 -155
- package/dist/api/instance/index.gen.d.ts +2 -2
- package/dist/api/instance/v1/api.gen.cjs +69 -117
- package/dist/api/instance/v1/api.gen.d.ts +56 -105
- package/dist/api/instance/v1/api.gen.js +69 -117
- 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 +1352 -599
- package/dist/api/instance/v1/types.private.gen.d.ts +132 -60
- 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 +107 -63
- package/dist/api/interlink/v1beta1/api.gen.d.ts +58 -65
- package/dist/api/interlink/v1beta1/api.gen.js +108 -64
- 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 +84 -8
- package/dist/api/interlink/v1beta1/marshalling.gen.d.ts +4 -2
- package/dist/api/interlink/v1beta1/marshalling.gen.js +84 -8
- package/dist/api/interlink/v1beta1/types.gen.d.ts +545 -195
- package/dist/api/interlink/v1beta1/validation-rules.gen.cjs +25 -0
- package/dist/api/interlink/v1beta1/validation-rules.gen.d.ts +23 -0
- package/dist/api/interlink/v1beta1/validation-rules.gen.js +25 -0
- package/dist/api/iot/index.gen.d.ts +2 -2
- package/dist/api/iot/v1/api.gen.cjs +43 -75
- package/dist/api/iot/v1/api.gen.d.ts +36 -69
- package/dist/api/iot/v1/api.gen.js +43 -75
- 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 +567 -322
- package/dist/api/ipam/index.gen.d.ts +2 -2
- package/dist/api/ipam/v1/api.gen.cjs +11 -30
- package/dist/api/ipam/v1/api.gen.d.ts +10 -31
- package/dist/api/ipam/v1/api.gen.js +11 -30
- 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 +147 -106
- 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 +7 -8
- package/dist/api/jobs/v1alpha1/api.gen.d.ts +6 -8
- package/dist/api/jobs/v1alpha1/api.gen.js +7 -8
- 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 +166 -92
- package/dist/api/k8s/index.gen.d.ts +2 -2
- package/dist/api/k8s/v1/api.gen.cjs +39 -83
- package/dist/api/k8s/v1/api.gen.d.ts +29 -74
- package/dist/api/k8s/v1/api.gen.js +39 -83
- 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 +744 -507
- package/dist/api/key_manager/index.gen.d.ts +2 -2
- package/dist/api/key_manager/v1alpha1/api.gen.cjs +26 -61
- package/dist/api/key_manager/v1alpha1/api.gen.d.ts +21 -58
- package/dist/api/key_manager/v1alpha1/api.gen.js +26 -61
- 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 +197 -115
- 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 +13 -25
- package/dist/api/marketplace/v2/api.gen.d.ts +11 -25
- package/dist/api/marketplace/v2/api.gen.js +13 -25
- 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 +95 -42
- package/dist/api/mnq/index.gen.d.ts +2 -2
- package/dist/api/mnq/v1beta1/api.gen.cjs +29 -80
- package/dist/api/mnq/v1beta1/api.gen.d.ts +32 -84
- package/dist/api/mnq/v1beta1/api.gen.js +29 -80
- 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 +343 -170
- package/dist/api/mongodb/index.gen.d.ts +2 -2
- package/dist/api/mongodb/v1alpha1/api.gen.cjs +25 -67
- package/dist/api/mongodb/v1alpha1/api.gen.d.ts +23 -66
- package/dist/api/mongodb/v1alpha1/api.gen.js +25 -67
- 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 +444 -190
- package/dist/api/qaas/index.gen.d.ts +2 -2
- package/dist/api/qaas/v1alpha1/api.gen.cjs +23 -39
- package/dist/api/qaas/v1alpha1/api.gen.d.ts +21 -38
- package/dist/api/qaas/v1alpha1/api.gen.js +23 -39
- 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 +503 -175
- package/dist/api/rdb/index.gen.d.ts +2 -2
- package/dist/api/rdb/v1/api.gen.cjs +68 -207
- package/dist/api/rdb/v1/api.gen.d.ts +62 -203
- package/dist/api/rdb/v1/api.gen.js +68 -207
- 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 +1006 -525
- package/dist/api/redis/index.gen.d.ts +2 -2
- package/dist/api/redis/v1/api.gen.cjs +29 -88
- package/dist/api/redis/v1/api.gen.d.ts +27 -87
- package/dist/api/redis/v1/api.gen.js +29 -88
- 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 +448 -171
- package/dist/api/registry/index.gen.d.ts +2 -2
- package/dist/api/registry/v1/api.gen.cjs +18 -45
- package/dist/api/registry/v1/api.gen.d.ts +16 -44
- package/dist/api/registry/v1/api.gen.js +18 -45
- 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 +201 -117
- 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 +24 -51
- package/dist/api/secret/v1beta1/api.gen.d.ts +23 -53
- package/dist/api/secret/v1beta1/api.gen.js +24 -51
- 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 +360 -225
- package/dist/api/serverless_sqldb/index.gen.d.ts +2 -2
- package/dist/api/serverless_sqldb/v1alpha1/api.gen.cjs +15 -32
- package/dist/api/serverless_sqldb/v1alpha1/api.gen.d.ts +13 -31
- package/dist/api/serverless_sqldb/v1alpha1/api.gen.js +15 -32
- 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 +169 -77
- package/dist/api/tem/index.gen.d.ts +2 -2
- package/dist/api/tem/v1alpha1/api.gen.cjs +28 -63
- package/dist/api/tem/v1alpha1/api.gen.d.ts +26 -62
- package/dist/api/tem/v1alpha1/api.gen.js +28 -63
- 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 +762 -339
- package/dist/api/test/index.gen.d.ts +2 -2
- package/dist/api/test/v1/api.gen.cjs +14 -16
- package/dist/api/test/v1/api.gen.d.ts +8 -11
- package/dist/api/test/v1/api.gen.js +14 -16
- 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/test/v1/types.gen.d.ts +21 -10
- 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/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 +36 -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,195 +1,287 @@
|
|
|
1
|
-
import type { Region as ScwRegion } from '
|
|
1
|
+
import type { Region as ScwRegion } from '@scaleway/sdk-client';
|
|
2
2
|
export type DatabaseBackupStatus = 'unknown_status' | 'error' | 'ready' | 'locked';
|
|
3
3
|
export type DatabaseStatus = 'unknown_status' | 'error' | 'creating' | 'ready' | 'deleting' | 'restoring' | 'locked';
|
|
4
4
|
export type ListDatabaseBackupsRequestOrderBy = 'created_at_desc' | 'created_at_asc';
|
|
5
5
|
export type ListDatabasesRequestOrderBy = 'created_at_asc' | 'created_at_desc' | 'name_asc' | 'name_desc';
|
|
6
6
|
export interface DatabaseBackup {
|
|
7
|
-
/**
|
|
7
|
+
/**
|
|
8
|
+
* UUID that uniquely identifies a Serverless SQL Database backup.
|
|
9
|
+
*/
|
|
8
10
|
id: string;
|
|
9
11
|
/**
|
|
10
|
-
* Status of the Serverless SQL Database backup. One of `unknown_status` |
|
|
11
|
-
* `error` | `ready` | `locked`.
|
|
12
|
+
* Status of the Serverless SQL Database backup. One of `unknown_status` | `error` | `ready` | `locked`.
|
|
12
13
|
*/
|
|
13
14
|
status: DatabaseBackupStatus;
|
|
14
|
-
/**
|
|
15
|
+
/**
|
|
16
|
+
* The ID of your Scaleway organization.
|
|
17
|
+
*/
|
|
15
18
|
organizationId: string;
|
|
16
|
-
/**
|
|
19
|
+
/**
|
|
20
|
+
* UUID of the Scaleway project.
|
|
21
|
+
*/
|
|
17
22
|
projectId: string;
|
|
18
|
-
/**
|
|
23
|
+
/**
|
|
24
|
+
* UUID of the source Serverless SQL Database the backup is created from.
|
|
25
|
+
*/
|
|
19
26
|
databaseId: string;
|
|
20
|
-
/**
|
|
27
|
+
/**
|
|
28
|
+
* Creation date.
|
|
29
|
+
*/
|
|
21
30
|
createdAt?: Date;
|
|
22
|
-
/**
|
|
31
|
+
/**
|
|
32
|
+
* Expiration date.
|
|
33
|
+
*/
|
|
23
34
|
expiresAt?: Date;
|
|
24
|
-
/**
|
|
35
|
+
/**
|
|
36
|
+
* Size (in bytes) of the database backup file.
|
|
37
|
+
*/
|
|
25
38
|
size?: number;
|
|
26
|
-
/**
|
|
39
|
+
/**
|
|
40
|
+
* Size (in bytes) of the database when backup has been done.
|
|
41
|
+
*/
|
|
27
42
|
dbSize?: number;
|
|
28
|
-
/**
|
|
43
|
+
/**
|
|
44
|
+
* Download URL of the exported database backup.
|
|
45
|
+
*/
|
|
29
46
|
downloadUrl?: string;
|
|
30
|
-
/**
|
|
47
|
+
/**
|
|
48
|
+
* Expiration date of the download URL.
|
|
49
|
+
*/
|
|
31
50
|
downloadUrlExpiresAt?: Date;
|
|
32
|
-
/**
|
|
51
|
+
/**
|
|
52
|
+
* Region of the database backup.
|
|
53
|
+
*/
|
|
33
54
|
region: ScwRegion;
|
|
34
55
|
}
|
|
35
56
|
export interface Database {
|
|
36
|
-
/**
|
|
57
|
+
/**
|
|
58
|
+
* UUID that uniquely identifies your Serverless SQL DB Database.
|
|
59
|
+
*/
|
|
37
60
|
id: string;
|
|
38
|
-
/**
|
|
61
|
+
/**
|
|
62
|
+
* Name of the database.
|
|
63
|
+
*/
|
|
39
64
|
name: string;
|
|
40
65
|
/**
|
|
41
|
-
* Status of the Serverless SQL Ddatabase. One of `unknown_status` | `ready` |
|
|
42
|
-
* `creating` | `deleting` | `error` | `restoring` | `locked`.
|
|
66
|
+
* Status of the Serverless SQL Ddatabase. One of `unknown_status` | `ready` | `creating` | `deleting` | `error` | `restoring` | `locked`.
|
|
43
67
|
*/
|
|
44
68
|
status: DatabaseStatus;
|
|
45
|
-
/**
|
|
69
|
+
/**
|
|
70
|
+
* Endpoint of the database.
|
|
71
|
+
*/
|
|
46
72
|
endpoint: string;
|
|
47
|
-
/**
|
|
73
|
+
/**
|
|
74
|
+
* The ID of your Scaleway organization.
|
|
75
|
+
*/
|
|
48
76
|
organizationId: string;
|
|
49
|
-
/**
|
|
77
|
+
/**
|
|
78
|
+
* Project ID the database belongs to.
|
|
79
|
+
*/
|
|
50
80
|
projectId: string;
|
|
51
|
-
/**
|
|
81
|
+
/**
|
|
82
|
+
* Region of the database.
|
|
83
|
+
*/
|
|
52
84
|
region: ScwRegion;
|
|
53
|
-
/**
|
|
85
|
+
/**
|
|
86
|
+
* Creation date.
|
|
87
|
+
*/
|
|
54
88
|
createdAt?: Date;
|
|
55
|
-
/**
|
|
89
|
+
/**
|
|
90
|
+
* The minimum number of CPU units for your Serverless SQL Database.
|
|
91
|
+
*/
|
|
56
92
|
cpuMin: number;
|
|
57
|
-
/**
|
|
93
|
+
/**
|
|
94
|
+
* The maximum number of CPU units for your Serverless SQL Database.
|
|
95
|
+
*/
|
|
58
96
|
cpuMax: number;
|
|
59
|
-
/**
|
|
97
|
+
/**
|
|
98
|
+
* The current number of CPU units allocated to your Serverless SQL Database.
|
|
99
|
+
*/
|
|
60
100
|
cpuCurrent: number;
|
|
61
|
-
/**
|
|
101
|
+
/**
|
|
102
|
+
* Whether your Serverless SQL Database is running or not.
|
|
103
|
+
*/
|
|
62
104
|
started: boolean;
|
|
63
|
-
/**
|
|
105
|
+
/**
|
|
106
|
+
* The major version of the underlying database engine.
|
|
107
|
+
*/
|
|
64
108
|
engineMajorVersion: number;
|
|
65
109
|
}
|
|
66
110
|
export type CreateDatabaseRequest = {
|
|
67
111
|
/**
|
|
68
|
-
* Region to target. If none is passed will use default region from the
|
|
69
|
-
* config.
|
|
112
|
+
* Region to target. If none is passed will use default region from the config.
|
|
70
113
|
*/
|
|
71
114
|
region?: ScwRegion;
|
|
72
|
-
/**
|
|
115
|
+
/**
|
|
116
|
+
* The ID of your Scaleway project.
|
|
117
|
+
*/
|
|
73
118
|
projectId?: string;
|
|
74
|
-
/**
|
|
119
|
+
/**
|
|
120
|
+
* The name of the Serverless SQL Database to be created.
|
|
121
|
+
*/
|
|
75
122
|
name: string;
|
|
76
|
-
/**
|
|
123
|
+
/**
|
|
124
|
+
* The minimum number of CPU units for your Serverless SQL Database.
|
|
125
|
+
*/
|
|
77
126
|
cpuMin: number;
|
|
78
|
-
/**
|
|
127
|
+
/**
|
|
128
|
+
* The maximum number of CPU units for your Serverless SQL Database.
|
|
129
|
+
*/
|
|
79
130
|
cpuMax: number;
|
|
80
|
-
/**
|
|
131
|
+
/**
|
|
132
|
+
* The ID of the backup to create the database from.
|
|
133
|
+
*/
|
|
81
134
|
fromBackupId?: string;
|
|
82
135
|
};
|
|
83
136
|
export type DeleteDatabaseRequest = {
|
|
84
137
|
/**
|
|
85
|
-
* Region to target. If none is passed will use default region from the
|
|
86
|
-
* config.
|
|
138
|
+
* Region to target. If none is passed will use default region from the config.
|
|
87
139
|
*/
|
|
88
140
|
region?: ScwRegion;
|
|
89
|
-
/**
|
|
141
|
+
/**
|
|
142
|
+
* UUID of the Serverless SQL Database.
|
|
143
|
+
*/
|
|
90
144
|
databaseId: string;
|
|
91
145
|
};
|
|
92
146
|
export type ExportDatabaseBackupRequest = {
|
|
93
147
|
/**
|
|
94
|
-
* Region to target. If none is passed will use default region from the
|
|
95
|
-
* config.
|
|
148
|
+
* Region to target. If none is passed will use default region from the config.
|
|
96
149
|
*/
|
|
97
150
|
region?: ScwRegion;
|
|
98
|
-
/**
|
|
151
|
+
/**
|
|
152
|
+
* UUID of the Serverless SQL Database backup.
|
|
153
|
+
*/
|
|
99
154
|
backupId: string;
|
|
100
155
|
};
|
|
101
156
|
export type GetDatabaseBackupRequest = {
|
|
102
157
|
/**
|
|
103
|
-
* Region to target. If none is passed will use default region from the
|
|
104
|
-
* config.
|
|
158
|
+
* Region to target. If none is passed will use default region from the config.
|
|
105
159
|
*/
|
|
106
160
|
region?: ScwRegion;
|
|
107
|
-
/**
|
|
161
|
+
/**
|
|
162
|
+
* UUID of the Serverless SQL Database backup.
|
|
163
|
+
*/
|
|
108
164
|
backupId: string;
|
|
109
165
|
};
|
|
110
166
|
export type GetDatabaseRequest = {
|
|
111
167
|
/**
|
|
112
|
-
* Region to target. If none is passed will use default region from the
|
|
113
|
-
* config.
|
|
168
|
+
* Region to target. If none is passed will use default region from the config.
|
|
114
169
|
*/
|
|
115
170
|
region?: ScwRegion;
|
|
116
|
-
/**
|
|
171
|
+
/**
|
|
172
|
+
* UUID of the Serverless SQL DB database.
|
|
173
|
+
*/
|
|
117
174
|
databaseId: string;
|
|
118
175
|
};
|
|
119
176
|
export type ListDatabaseBackupsRequest = {
|
|
120
177
|
/**
|
|
121
|
-
* Region to target. If none is passed will use default region from the
|
|
122
|
-
* config.
|
|
178
|
+
* Region to target. If none is passed will use default region from the config.
|
|
123
179
|
*/
|
|
124
180
|
region?: ScwRegion;
|
|
125
|
-
/**
|
|
181
|
+
/**
|
|
182
|
+
* Filter by the UUID of the Scaleway organization.
|
|
183
|
+
*/
|
|
126
184
|
organizationId?: string;
|
|
127
|
-
/**
|
|
185
|
+
/**
|
|
186
|
+
* Filter by the UUID of the Scaleway project.
|
|
187
|
+
*/
|
|
128
188
|
projectId?: string;
|
|
129
|
-
/**
|
|
189
|
+
/**
|
|
190
|
+
* Filter by the UUID of the Serverless SQL Database.
|
|
191
|
+
*/
|
|
130
192
|
databaseId: string;
|
|
131
|
-
/**
|
|
193
|
+
/**
|
|
194
|
+
* Page number.
|
|
195
|
+
*/
|
|
132
196
|
page?: number;
|
|
133
|
-
/**
|
|
197
|
+
/**
|
|
198
|
+
* Page size.
|
|
199
|
+
*/
|
|
134
200
|
pageSize?: number;
|
|
135
|
-
/**
|
|
201
|
+
/**
|
|
202
|
+
* Sorting criteria. One of `created_at_asc`, `created_at_desc`.
|
|
203
|
+
*/
|
|
136
204
|
orderBy?: ListDatabaseBackupsRequestOrderBy;
|
|
137
205
|
};
|
|
138
206
|
export interface ListDatabaseBackupsResponse {
|
|
139
|
-
/**
|
|
207
|
+
/**
|
|
208
|
+
* List of the backups.
|
|
209
|
+
*/
|
|
140
210
|
backups: DatabaseBackup[];
|
|
141
|
-
/**
|
|
211
|
+
/**
|
|
212
|
+
* Length of the backups list.
|
|
213
|
+
*/
|
|
142
214
|
totalCount: number;
|
|
143
215
|
}
|
|
144
216
|
export type ListDatabasesRequest = {
|
|
145
217
|
/**
|
|
146
|
-
* Region to target. If none is passed will use default region from the
|
|
147
|
-
* config.
|
|
218
|
+
* Region to target. If none is passed will use default region from the config.
|
|
148
219
|
*/
|
|
149
220
|
region?: ScwRegion;
|
|
150
|
-
/**
|
|
221
|
+
/**
|
|
222
|
+
* Filter by the UUID of the Scaleway organization.
|
|
223
|
+
*/
|
|
151
224
|
organizationId?: string;
|
|
152
|
-
/**
|
|
225
|
+
/**
|
|
226
|
+
* UUID of the Scaleway project.
|
|
227
|
+
*/
|
|
153
228
|
projectId?: string;
|
|
154
|
-
/**
|
|
229
|
+
/**
|
|
230
|
+
* Page number.
|
|
231
|
+
*/
|
|
155
232
|
page?: number;
|
|
156
|
-
/**
|
|
233
|
+
/**
|
|
234
|
+
* Page size.
|
|
235
|
+
*/
|
|
157
236
|
pageSize?: number;
|
|
158
|
-
/**
|
|
237
|
+
/**
|
|
238
|
+
* Filter by the name of the database.
|
|
239
|
+
*/
|
|
159
240
|
name?: string;
|
|
160
241
|
/**
|
|
161
|
-
* Sorting criteria. One of `created_at_asc`, `created_at_desc`, `name_asc`,
|
|
162
|
-
* `name_desc`.
|
|
242
|
+
* Sorting criteria. One of `created_at_asc`, `created_at_desc`, `name_asc`, `name_desc`.
|
|
163
243
|
*/
|
|
164
244
|
orderBy?: ListDatabasesRequestOrderBy;
|
|
165
245
|
};
|
|
166
246
|
export interface ListDatabasesResponse {
|
|
167
|
-
/**
|
|
247
|
+
/**
|
|
248
|
+
* List of the databases.
|
|
249
|
+
*/
|
|
168
250
|
databases: Database[];
|
|
169
|
-
/**
|
|
251
|
+
/**
|
|
252
|
+
* Total count of Serverless SQL Databases.
|
|
253
|
+
*/
|
|
170
254
|
totalCount: number;
|
|
171
255
|
}
|
|
172
256
|
export type RestoreDatabaseFromBackupRequest = {
|
|
173
257
|
/**
|
|
174
|
-
* Region to target. If none is passed will use default region from the
|
|
175
|
-
* config.
|
|
258
|
+
* Region to target. If none is passed will use default region from the config.
|
|
176
259
|
*/
|
|
177
260
|
region?: ScwRegion;
|
|
178
|
-
/**
|
|
261
|
+
/**
|
|
262
|
+
* UUID of the Serverless SQL Database.
|
|
263
|
+
*/
|
|
179
264
|
databaseId: string;
|
|
180
|
-
/**
|
|
265
|
+
/**
|
|
266
|
+
* UUID of the Serverless SQL Database backup to restore.
|
|
267
|
+
*/
|
|
181
268
|
backupId: string;
|
|
182
269
|
};
|
|
183
270
|
export type UpdateDatabaseRequest = {
|
|
184
271
|
/**
|
|
185
|
-
* Region to target. If none is passed will use default region from the
|
|
186
|
-
* config.
|
|
272
|
+
* Region to target. If none is passed will use default region from the config.
|
|
187
273
|
*/
|
|
188
274
|
region?: ScwRegion;
|
|
189
|
-
/**
|
|
275
|
+
/**
|
|
276
|
+
* UUID of the Serverless SQL Database.
|
|
277
|
+
*/
|
|
190
278
|
databaseId: string;
|
|
191
|
-
/**
|
|
279
|
+
/**
|
|
280
|
+
* The minimum number of CPU units for your Serverless SQL Database.
|
|
281
|
+
*/
|
|
192
282
|
cpuMin?: number;
|
|
193
|
-
/**
|
|
283
|
+
/**
|
|
284
|
+
* The maximum number of CPU units for your Serverless SQL Database.
|
|
285
|
+
*/
|
|
194
286
|
cpuMax?: number;
|
|
195
287
|
};
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
|
|
4
|
-
const
|
|
5
|
-
const
|
|
6
|
-
require("../../../
|
|
7
|
-
|
|
3
|
+
require("../../../client/dist/internal/logger/index.cjs");
|
|
4
|
+
const intervalRetrier = require("../../../client/dist/internal/async/interval-retrier.cjs");
|
|
5
|
+
const api = require("../../../client/dist/scw/api.cjs");
|
|
6
|
+
const marshalling = require("../../../client/dist/helpers/marshalling.cjs");
|
|
7
|
+
require("../../../client/dist/vendor/base64/index.cjs");
|
|
8
|
+
const resourcePaginator = require("../../../client/dist/scw/fetch/resource-paginator.cjs");
|
|
8
9
|
const content_gen = require("./content.gen.cjs");
|
|
9
10
|
const marshalling_gen = require("./marshalling.gen.cjs");
|
|
10
11
|
const jsonContentHeaders = {
|
|
@@ -14,10 +15,7 @@ class API extends api.API {
|
|
|
14
15
|
/** Lists the available regions of the API. */
|
|
15
16
|
static LOCALITIES = ["fr-par"];
|
|
16
17
|
/**
|
|
17
|
-
* Send an email. You must specify the `region`, the sender and the
|
|
18
|
-
* recipient's information and the `project_id` to send an email from a
|
|
19
|
-
* checked domain. The subject of the email must contain at least 6
|
|
20
|
-
* characters.
|
|
18
|
+
* Send an email. You must specify the `region`, the sender and the recipient's information and the `project_id` to send an email from a checked domain. The subject of the email must contain at least 6 characters.
|
|
21
19
|
*
|
|
22
20
|
* @param request - The request {@link CreateEmailRequest}
|
|
23
21
|
* @returns A Promise of CreateEmailResponse
|
|
@@ -34,8 +32,7 @@ class API extends api.API {
|
|
|
34
32
|
marshalling_gen.unmarshalCreateEmailResponse
|
|
35
33
|
);
|
|
36
34
|
/**
|
|
37
|
-
* Get an email. Retrieve information about a specific email using the
|
|
38
|
-
* `email_id` and `region` parameters.
|
|
35
|
+
* Get an email. Retrieve information about a specific email using the `email_id` and `region` parameters.
|
|
39
36
|
*
|
|
40
37
|
* @param request - The request {@link GetEmailRequest}
|
|
41
38
|
* @returns A Promise of Email
|
|
@@ -88,8 +85,7 @@ class API extends api.API {
|
|
|
88
85
|
marshalling_gen.unmarshalListEmailsResponse
|
|
89
86
|
);
|
|
90
87
|
/**
|
|
91
|
-
* List emails. Retrieve the list of emails sent from a specific domain or for
|
|
92
|
-
* a specific Project or Organization. You must specify the `region`.
|
|
88
|
+
* List emails. Retrieve the list of emails sent from a specific domain or for a specific Project or Organization. You must specify the `region`.
|
|
93
89
|
*
|
|
94
90
|
* @param request - The request {@link ListEmailsRequest}
|
|
95
91
|
* @returns A Promise of ListEmailsResponse
|
|
@@ -116,9 +112,7 @@ class API extends api.API {
|
|
|
116
112
|
marshalling_gen.unmarshalStatistics
|
|
117
113
|
);
|
|
118
114
|
/**
|
|
119
|
-
* Cancel an email. You can cancel the sending of an email if it has not been
|
|
120
|
-
* sent yet. You must specify the `region` and the `email_id` of the email you
|
|
121
|
-
* want to cancel.
|
|
115
|
+
* Cancel an email. You can cancel the sending of an email if it has not been sent yet. You must specify the `region` and the `email_id` of the email you want to cancel.
|
|
122
116
|
*
|
|
123
117
|
* @param request - The request {@link CancelEmailRequest}
|
|
124
118
|
* @returns A Promise of Email
|
|
@@ -133,8 +127,7 @@ class API extends api.API {
|
|
|
133
127
|
marshalling_gen.unmarshalEmail
|
|
134
128
|
);
|
|
135
129
|
/**
|
|
136
|
-
* Register a domain in a project. You must specify the `region`, `project_id`
|
|
137
|
-
* and `domain_name` to register a domain in a specific Project.
|
|
130
|
+
* Register a domain in a project. You must specify the `region`, `project_id` and `domain_name` to register a domain in a specific Project.
|
|
138
131
|
*
|
|
139
132
|
* @param request - The request {@link CreateDomainRequest}
|
|
140
133
|
* @returns A Promise of Domain
|
|
@@ -151,14 +144,7 @@ class API extends api.API {
|
|
|
151
144
|
marshalling_gen.unmarshalDomain
|
|
152
145
|
);
|
|
153
146
|
/**
|
|
154
|
-
* Get information about a domain. Retrieve information about a specific
|
|
155
|
-
* domain using the `region` and `domain_id` parameters. Monitor your domain's
|
|
156
|
-
* reputation and improve **average** and **bad** reputation statuses, using
|
|
157
|
-
* your domain's **Email activity** tab on the [Scaleway
|
|
158
|
-
* console](https://console.scaleway.com/transactional-email/domains) to get a
|
|
159
|
-
* more detailed report. Check out our [dedicated
|
|
160
|
-
* documentation](https://www.scaleway.com/en/docs/managed-services/transactional-email/reference-content/understanding-tem-reputation-score/)
|
|
161
|
-
* to improve your domain's reputation.
|
|
147
|
+
* Get information about a domain. Retrieve information about a specific domain using the `region` and `domain_id` parameters. Monitor your domain's reputation and improve **average** and **bad** reputation statuses, using your domain's **Email activity** tab on the [Scaleway console](https://console.scaleway.com/transactional-email/domains) to get a more detailed report. Check out our [dedicated documentation](https://www.scaleway.com/en/docs/managed-services/transactional-email/reference-content/understanding-tem-reputation-score/) to improve your domain's reputation.
|
|
162
148
|
*
|
|
163
149
|
* @param request - The request {@link GetDomainRequest}
|
|
164
150
|
* @returns A Promise of Domain
|
|
@@ -202,17 +188,14 @@ class API extends api.API {
|
|
|
202
188
|
marshalling_gen.unmarshalListDomainsResponse
|
|
203
189
|
);
|
|
204
190
|
/**
|
|
205
|
-
* List domains. Retrieve domains in a specific Project or in a specific
|
|
206
|
-
* Organization using the `region` parameter.
|
|
191
|
+
* List domains. Retrieve domains in a specific Project or in a specific Organization using the `region` parameter.
|
|
207
192
|
*
|
|
208
193
|
* @param request - The request {@link ListDomainsRequest}
|
|
209
194
|
* @returns A Promise of ListDomainsResponse
|
|
210
195
|
*/
|
|
211
196
|
listDomains = (request = {}) => resourcePaginator.enrichForPagination("domains", this.pageOfListDomains, request);
|
|
212
197
|
/**
|
|
213
|
-
* Delete a domain. You must specify the domain you want to delete by the
|
|
214
|
-
* `region` and `domain_id`. Deleting a domain is permanent and cannot be
|
|
215
|
-
* undone.
|
|
198
|
+
* Delete a domain. You must specify the domain you want to delete by the `region` and `domain_id`. Deleting a domain is permanent and cannot be undone.
|
|
216
199
|
*
|
|
217
200
|
* @param request - The request {@link RevokeDomainRequest}
|
|
218
201
|
* @returns A Promise of Domain
|
|
@@ -227,8 +210,7 @@ class API extends api.API {
|
|
|
227
210
|
marshalling_gen.unmarshalDomain
|
|
228
211
|
);
|
|
229
212
|
/**
|
|
230
|
-
* Domain DNS check. Perform an immediate DNS check of a domain using the
|
|
231
|
-
* `region` and `domain_id` parameters.
|
|
213
|
+
* Domain DNS check. Perform an immediate DNS check of a domain using the `region` and `domain_id` parameters.
|
|
232
214
|
*
|
|
233
215
|
* @param request - The request {@link CheckDomainRequest}
|
|
234
216
|
* @returns A Promise of Domain
|
|
@@ -243,9 +225,7 @@ class API extends api.API {
|
|
|
243
225
|
marshalling_gen.unmarshalDomain
|
|
244
226
|
);
|
|
245
227
|
/**
|
|
246
|
-
* Display SPF and DKIM records status and potential errors. Display SPF and
|
|
247
|
-
* DKIM records status and potential errors, including the found records to
|
|
248
|
-
* make debugging easier.
|
|
228
|
+
* Display SPF and DKIM records status and potential errors. Display SPF and DKIM records status and potential errors, including the found records to make debugging easier.
|
|
249
229
|
*
|
|
250
230
|
* @param request - The request {@link GetDomainLastStatusRequest}
|
|
251
231
|
* @returns A Promise of DomainLastStatus
|
|
@@ -275,8 +255,7 @@ class API extends api.API {
|
|
|
275
255
|
marshalling_gen.unmarshalDomain
|
|
276
256
|
);
|
|
277
257
|
/**
|
|
278
|
-
* Create a Webhook. Create a new Webhook triggered by a list of event types
|
|
279
|
-
* and pushed to a Scaleway SNS ARN.
|
|
258
|
+
* Create a Webhook. Create a new Webhook triggered by a list of event types and pushed to a Scaleway SNS ARN.
|
|
280
259
|
*
|
|
281
260
|
* @param request - The request {@link CreateWebhookRequest}
|
|
282
261
|
* @returns A Promise of Webhook
|
|
@@ -311,16 +290,14 @@ class API extends api.API {
|
|
|
311
290
|
marshalling_gen.unmarshalListWebhooksResponse
|
|
312
291
|
);
|
|
313
292
|
/**
|
|
314
|
-
* List Webhooks. Retrieve Webhooks in a specific Project or in a specific
|
|
315
|
-
* Organization using the `region` parameter.
|
|
293
|
+
* List Webhooks. Retrieve Webhooks in a specific Project or in a specific Organization using the `region` parameter.
|
|
316
294
|
*
|
|
317
295
|
* @param request - The request {@link ListWebhooksRequest}
|
|
318
296
|
* @returns A Promise of ListWebhooksResponse
|
|
319
297
|
*/
|
|
320
298
|
listWebhooks = (request = {}) => resourcePaginator.enrichForPagination("webhooks", this.pageOfListWebhooks, request);
|
|
321
299
|
/**
|
|
322
|
-
* Get information about a Webhook. Retrieve information about a specific
|
|
323
|
-
* Webhook using the `webhook_id` and `region` parameters.
|
|
300
|
+
* Get information about a Webhook. Retrieve information about a specific Webhook using the `webhook_id` and `region` parameters.
|
|
324
301
|
*
|
|
325
302
|
* @param request - The request {@link GetWebhookRequest}
|
|
326
303
|
* @returns A Promise of Webhook
|
|
@@ -350,9 +327,7 @@ class API extends api.API {
|
|
|
350
327
|
marshalling_gen.unmarshalWebhook
|
|
351
328
|
);
|
|
352
329
|
/**
|
|
353
|
-
* Delete a Webhook. You must specify the Webhook you want to delete by the
|
|
354
|
-
* `region` and `webhook_id`. Deleting a Webhook is permanent and cannot be
|
|
355
|
-
* undone.
|
|
330
|
+
* Delete a Webhook. You must specify the Webhook you want to delete by the `region` and `webhook_id`. Deleting a Webhook is permanent and cannot be undone.
|
|
356
331
|
*
|
|
357
332
|
* @param request - The request {@link DeleteWebhookRequest}
|
|
358
333
|
*/
|
|
@@ -382,17 +357,14 @@ class API extends api.API {
|
|
|
382
357
|
marshalling_gen.unmarshalListWebhookEventsResponse
|
|
383
358
|
);
|
|
384
359
|
/**
|
|
385
|
-
* List Webhook triggered events. Retrieve the list of Webhook events
|
|
386
|
-
* triggered from a specific Webhook or for a specific Project or
|
|
387
|
-
* Organization. You must specify the `region`.
|
|
360
|
+
* List Webhook triggered events. Retrieve the list of Webhook events triggered from a specific Webhook or for a specific Project or Organization. You must specify the `region`.
|
|
388
361
|
*
|
|
389
362
|
* @param request - The request {@link ListWebhookEventsRequest}
|
|
390
363
|
* @returns A Promise of ListWebhookEventsResponse
|
|
391
364
|
*/
|
|
392
365
|
listWebhookEvents = (request) => resourcePaginator.enrichForPagination("webhookEvents", this.pageOfListWebhookEvents, request);
|
|
393
366
|
/**
|
|
394
|
-
* List project settings. Retrieve the project settings including periodic
|
|
395
|
-
* reports.
|
|
367
|
+
* List project settings. Retrieve the project settings including periodic reports.
|
|
396
368
|
*
|
|
397
369
|
* @param request - The request {@link GetProjectSettingsRequest}
|
|
398
370
|
* @returns A Promise of ProjectSettings
|
|
@@ -405,8 +377,7 @@ class API extends api.API {
|
|
|
405
377
|
marshalling_gen.unmarshalProjectSettings
|
|
406
378
|
);
|
|
407
379
|
/**
|
|
408
|
-
* Update project settings. Update the project settings including periodic
|
|
409
|
-
* reports.
|
|
380
|
+
* Update project settings. Update the project settings including periodic reports.
|
|
410
381
|
*
|
|
411
382
|
* @param request - The request {@link UpdateProjectSettingsRequest}
|
|
412
383
|
* @returns A Promise of ProjectSettings
|
|
@@ -449,8 +420,7 @@ class API extends api.API {
|
|
|
449
420
|
*/
|
|
450
421
|
listBlocklists = (request) => resourcePaginator.enrichForPagination("blocklists", this.pageOfListBlocklists, request);
|
|
451
422
|
/**
|
|
452
|
-
* Bulk create blocklists. Create multiple blocklists in a specific Project or
|
|
453
|
-
* Organization using the `region` parameter.
|
|
423
|
+
* Bulk create blocklists. Create multiple blocklists in a specific Project or Organization using the `region` parameter.
|
|
454
424
|
*
|
|
455
425
|
* @param request - The request {@link BulkCreateBlocklistsRequest}
|
|
456
426
|
* @returns A Promise of BulkCreateBlocklistsResponse
|
|
@@ -467,8 +437,7 @@ class API extends api.API {
|
|
|
467
437
|
marshalling_gen.unmarshalBulkCreateBlocklistsResponse
|
|
468
438
|
);
|
|
469
439
|
/**
|
|
470
|
-
* Delete a blocklist. You must specify the blocklist you want to delete by
|
|
471
|
-
* the `region` and `blocklist_id`.
|
|
440
|
+
* Delete a blocklist. You must specify the blocklist you want to delete by the `region` and `blocklist_id`.
|
|
472
441
|
*
|
|
473
442
|
* @param request - The request {@link DeleteBlocklistRequest}
|
|
474
443
|
*/
|
|
@@ -477,9 +446,7 @@ class API extends api.API {
|
|
|
477
446
|
path: `/transactional-email/v1alpha1/regions/${marshalling.validatePathParam("region", request.region ?? this.client.settings.defaultRegion)}/blocklists/${marshalling.validatePathParam("blocklistId", request.blocklistId)}`
|
|
478
447
|
});
|
|
479
448
|
/**
|
|
480
|
-
* Get information about subscribed offers. Retrieve information about the
|
|
481
|
-
* offers you are subscribed to using the `project_id` and `region`
|
|
482
|
-
* parameters.
|
|
449
|
+
* Get information about subscribed offers. Retrieve information about the offers you are subscribed to using the `project_id` and `region` parameters.
|
|
483
450
|
*
|
|
484
451
|
* @param request - The request {@link ListOfferSubscriptionsRequest}
|
|
485
452
|
* @returns A Promise of ListOfferSubscriptionsResponse
|
|
@@ -513,8 +480,7 @@ class API extends api.API {
|
|
|
513
480
|
marshalling_gen.unmarshalOfferSubscription
|
|
514
481
|
);
|
|
515
482
|
/**
|
|
516
|
-
* List the available offers.. Retrieve the list of the available and
|
|
517
|
-
* free-of-charge offers you can subscribe to.
|
|
483
|
+
* List the available offers.. Retrieve the list of the available and free-of-charge offers you can subscribe to.
|
|
518
484
|
*
|
|
519
485
|
* @param request - The request {@link ListOffersRequest}
|
|
520
486
|
* @returns A Promise of ListOffersResponse
|
|
@@ -545,8 +511,7 @@ class API extends api.API {
|
|
|
545
511
|
marshalling_gen.unmarshalListPoolsResponse
|
|
546
512
|
);
|
|
547
513
|
/**
|
|
548
|
-
* Get information about a sending pool.. Retrieve information about a sending
|
|
549
|
-
* pool, including its creation status and configuration parameters.
|
|
514
|
+
* Get information about a sending pool.. Retrieve information about a sending pool, including its creation status and configuration parameters.
|
|
550
515
|
*
|
|
551
516
|
* @param request - The request {@link ListPoolsRequest}
|
|
552
517
|
* @returns A Promise of ListPoolsResponse
|