@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,9 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
|
|
4
|
-
const
|
|
5
|
-
require("../../../
|
|
6
|
-
|
|
3
|
+
require("../../../client/dist/internal/logger/index.cjs");
|
|
4
|
+
const api = require("../../../client/dist/scw/api.cjs");
|
|
5
|
+
const marshalling = require("../../../client/dist/helpers/marshalling.cjs");
|
|
6
|
+
require("../../../client/dist/vendor/base64/index.cjs");
|
|
7
|
+
const resourcePaginator = require("../../../client/dist/scw/fetch/resource-paginator.cjs");
|
|
7
8
|
const marshalling_gen = require("./marshalling.gen.cjs");
|
|
8
9
|
const jsonContentHeaders = {
|
|
9
10
|
"Content-Type": "application/json; charset=utf-8"
|
|
@@ -19,11 +20,9 @@ class PrivateNetworkAPI extends api.API {
|
|
|
19
20
|
"pl-waw-3"
|
|
20
21
|
];
|
|
21
22
|
/**
|
|
22
|
-
* Add a server to a Private Network. Add an Elastic Metal server to a Private
|
|
23
|
-
* Network.
|
|
23
|
+
* Add a server to a Private Network. Add an Elastic Metal server to a Private Network.
|
|
24
24
|
*
|
|
25
|
-
* @param request - The request
|
|
26
|
-
* {@link PrivateNetworkApiAddServerPrivateNetworkRequest}
|
|
25
|
+
* @param request - The request {@link PrivateNetworkApiAddServerPrivateNetworkRequest}
|
|
27
26
|
* @returns A Promise of ServerPrivateNetwork
|
|
28
27
|
*/
|
|
29
28
|
addServerPrivateNetwork = (request) => this.client.fetch(
|
|
@@ -41,11 +40,9 @@ class PrivateNetworkAPI extends api.API {
|
|
|
41
40
|
marshalling_gen.unmarshalServerPrivateNetwork
|
|
42
41
|
);
|
|
43
42
|
/**
|
|
44
|
-
* Set multiple Private Networks on a server. Configure multiple Private
|
|
45
|
-
* Networks on an Elastic Metal server.
|
|
43
|
+
* Set multiple Private Networks on a server. Configure multiple Private Networks on an Elastic Metal server.
|
|
46
44
|
*
|
|
47
|
-
* @param request - The request
|
|
48
|
-
* {@link PrivateNetworkApiSetServerPrivateNetworksRequest}
|
|
45
|
+
* @param request - The request {@link PrivateNetworkApiSetServerPrivateNetworksRequest}
|
|
49
46
|
* @returns A Promise of SetServerPrivateNetworksResponse
|
|
50
47
|
*/
|
|
51
48
|
setServerPrivateNetworks = (request) => this.client.fetch(
|
|
@@ -83,11 +80,9 @@ class PrivateNetworkAPI extends api.API {
|
|
|
83
80
|
marshalling_gen.unmarshalListServerPrivateNetworksResponse
|
|
84
81
|
);
|
|
85
82
|
/**
|
|
86
|
-
* List the Private Networks of a server. List the Private Networks of an
|
|
87
|
-
* Elastic Metal server.
|
|
83
|
+
* List the Private Networks of a server. List the Private Networks of an Elastic Metal server.
|
|
88
84
|
*
|
|
89
|
-
* @param request - The request
|
|
90
|
-
* {@link PrivateNetworkApiListServerPrivateNetworksRequest}
|
|
85
|
+
* @param request - The request {@link PrivateNetworkApiListServerPrivateNetworksRequest}
|
|
91
86
|
* @returns A Promise of ListServerPrivateNetworksResponse
|
|
92
87
|
*/
|
|
93
88
|
listServerPrivateNetworks = (request = {}) => resourcePaginator.enrichForPagination(
|
|
@@ -98,8 +93,7 @@ class PrivateNetworkAPI extends api.API {
|
|
|
98
93
|
/**
|
|
99
94
|
* Delete a Private Network.
|
|
100
95
|
*
|
|
101
|
-
* @param request - The request
|
|
102
|
-
* {@link PrivateNetworkApiDeleteServerPrivateNetworkRequest}
|
|
96
|
+
* @param request - The request {@link PrivateNetworkApiDeleteServerPrivateNetworkRequest}
|
|
103
97
|
*/
|
|
104
98
|
deleteServerPrivateNetwork = (request) => this.client.fetch({
|
|
105
99
|
method: "DELETE",
|
|
@@ -1,35 +1,31 @@
|
|
|
1
|
-
import { API as ParentAPI } from '
|
|
2
|
-
import type { Zone as ScwZone } from '
|
|
1
|
+
import { API as ParentAPI } from '@scaleway/sdk-client';
|
|
2
|
+
import type { Zone as ScwZone } from '@scaleway/sdk-client';
|
|
3
3
|
import type { ListServerPrivateNetworksResponse, PrivateNetworkApiAddServerPrivateNetworkRequest, PrivateNetworkApiDeleteServerPrivateNetworkRequest, PrivateNetworkApiListServerPrivateNetworksRequest, PrivateNetworkApiSetServerPrivateNetworksRequest, ServerPrivateNetwork, SetServerPrivateNetworksResponse } from './types.gen';
|
|
4
|
-
/**
|
|
4
|
+
/**
|
|
5
|
+
* Elastic Metal - Private Networks API.
|
|
6
|
+
*/
|
|
5
7
|
export declare class PrivateNetworkAPI extends ParentAPI {
|
|
6
8
|
/** Lists the available zones of the API. */
|
|
7
9
|
static readonly LOCALITIES: ScwZone[];
|
|
8
10
|
/**
|
|
9
|
-
* Add a server to a Private Network. Add an Elastic Metal server to a Private
|
|
10
|
-
* Network.
|
|
11
|
+
* Add a server to a Private Network. Add an Elastic Metal server to a Private Network.
|
|
11
12
|
*
|
|
12
|
-
* @param request - The request
|
|
13
|
-
* {@link PrivateNetworkApiAddServerPrivateNetworkRequest}
|
|
13
|
+
* @param request - The request {@link PrivateNetworkApiAddServerPrivateNetworkRequest}
|
|
14
14
|
* @returns A Promise of ServerPrivateNetwork
|
|
15
15
|
*/
|
|
16
16
|
addServerPrivateNetwork: (request: Readonly<PrivateNetworkApiAddServerPrivateNetworkRequest>) => Promise<ServerPrivateNetwork>;
|
|
17
17
|
/**
|
|
18
|
-
* Set multiple Private Networks on a server. Configure multiple Private
|
|
19
|
-
* Networks on an Elastic Metal server.
|
|
18
|
+
* Set multiple Private Networks on a server. Configure multiple Private Networks on an Elastic Metal server.
|
|
20
19
|
*
|
|
21
|
-
* @param request - The request
|
|
22
|
-
* {@link PrivateNetworkApiSetServerPrivateNetworksRequest}
|
|
20
|
+
* @param request - The request {@link PrivateNetworkApiSetServerPrivateNetworksRequest}
|
|
23
21
|
* @returns A Promise of SetServerPrivateNetworksResponse
|
|
24
22
|
*/
|
|
25
23
|
setServerPrivateNetworks: (request: Readonly<PrivateNetworkApiSetServerPrivateNetworksRequest>) => Promise<SetServerPrivateNetworksResponse>;
|
|
26
24
|
protected pageOfListServerPrivateNetworks: (request?: Readonly<PrivateNetworkApiListServerPrivateNetworksRequest>) => Promise<ListServerPrivateNetworksResponse>;
|
|
27
25
|
/**
|
|
28
|
-
* List the Private Networks of a server. List the Private Networks of an
|
|
29
|
-
* Elastic Metal server.
|
|
26
|
+
* List the Private Networks of a server. List the Private Networks of an Elastic Metal server.
|
|
30
27
|
*
|
|
31
|
-
* @param request - The request
|
|
32
|
-
* {@link PrivateNetworkApiListServerPrivateNetworksRequest}
|
|
28
|
+
* @param request - The request {@link PrivateNetworkApiListServerPrivateNetworksRequest}
|
|
33
29
|
* @returns A Promise of ListServerPrivateNetworksResponse
|
|
34
30
|
*/
|
|
35
31
|
listServerPrivateNetworks: (request?: Readonly<PrivateNetworkApiListServerPrivateNetworksRequest>) => Promise<ListServerPrivateNetworksResponse> & {
|
|
@@ -39,8 +35,7 @@ export declare class PrivateNetworkAPI extends ParentAPI {
|
|
|
39
35
|
/**
|
|
40
36
|
* Delete a Private Network.
|
|
41
37
|
*
|
|
42
|
-
* @param request - The request
|
|
43
|
-
* {@link PrivateNetworkApiDeleteServerPrivateNetworkRequest}
|
|
38
|
+
* @param request - The request {@link PrivateNetworkApiDeleteServerPrivateNetworkRequest}
|
|
44
39
|
*/
|
|
45
40
|
deleteServerPrivateNetwork: (request: Readonly<PrivateNetworkApiDeleteServerPrivateNetworkRequest>) => Promise<void>;
|
|
46
41
|
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import "../../../
|
|
4
|
-
import
|
|
1
|
+
import "../../../client/dist/internal/logger/index.js";
|
|
2
|
+
import { API as API$1 } from "../../../client/dist/scw/api.js";
|
|
3
|
+
import { validatePathParam, urlParams } from "../../../client/dist/helpers/marshalling.js";
|
|
4
|
+
import "../../../client/dist/vendor/base64/index.js";
|
|
5
|
+
import { enrichForPagination } from "../../../client/dist/scw/fetch/resource-paginator.js";
|
|
5
6
|
import { marshalPrivateNetworkApiAddServerPrivateNetworkRequest, unmarshalServerPrivateNetwork, marshalPrivateNetworkApiSetServerPrivateNetworksRequest, unmarshalSetServerPrivateNetworksResponse, unmarshalListServerPrivateNetworksResponse } from "./marshalling.gen.js";
|
|
6
7
|
const jsonContentHeaders = {
|
|
7
8
|
"Content-Type": "application/json; charset=utf-8"
|
|
@@ -17,11 +18,9 @@ class PrivateNetworkAPI extends API$1 {
|
|
|
17
18
|
"pl-waw-3"
|
|
18
19
|
];
|
|
19
20
|
/**
|
|
20
|
-
* Add a server to a Private Network. Add an Elastic Metal server to a Private
|
|
21
|
-
* Network.
|
|
21
|
+
* Add a server to a Private Network. Add an Elastic Metal server to a Private Network.
|
|
22
22
|
*
|
|
23
|
-
* @param request - The request
|
|
24
|
-
* {@link PrivateNetworkApiAddServerPrivateNetworkRequest}
|
|
23
|
+
* @param request - The request {@link PrivateNetworkApiAddServerPrivateNetworkRequest}
|
|
25
24
|
* @returns A Promise of ServerPrivateNetwork
|
|
26
25
|
*/
|
|
27
26
|
addServerPrivateNetwork = (request) => this.client.fetch(
|
|
@@ -39,11 +38,9 @@ class PrivateNetworkAPI extends API$1 {
|
|
|
39
38
|
unmarshalServerPrivateNetwork
|
|
40
39
|
);
|
|
41
40
|
/**
|
|
42
|
-
* Set multiple Private Networks on a server. Configure multiple Private
|
|
43
|
-
* Networks on an Elastic Metal server.
|
|
41
|
+
* Set multiple Private Networks on a server. Configure multiple Private Networks on an Elastic Metal server.
|
|
44
42
|
*
|
|
45
|
-
* @param request - The request
|
|
46
|
-
* {@link PrivateNetworkApiSetServerPrivateNetworksRequest}
|
|
43
|
+
* @param request - The request {@link PrivateNetworkApiSetServerPrivateNetworksRequest}
|
|
47
44
|
* @returns A Promise of SetServerPrivateNetworksResponse
|
|
48
45
|
*/
|
|
49
46
|
setServerPrivateNetworks = (request) => this.client.fetch(
|
|
@@ -81,11 +78,9 @@ class PrivateNetworkAPI extends API$1 {
|
|
|
81
78
|
unmarshalListServerPrivateNetworksResponse
|
|
82
79
|
);
|
|
83
80
|
/**
|
|
84
|
-
* List the Private Networks of a server. List the Private Networks of an
|
|
85
|
-
* Elastic Metal server.
|
|
81
|
+
* List the Private Networks of a server. List the Private Networks of an Elastic Metal server.
|
|
86
82
|
*
|
|
87
|
-
* @param request - The request
|
|
88
|
-
* {@link PrivateNetworkApiListServerPrivateNetworksRequest}
|
|
83
|
+
* @param request - The request {@link PrivateNetworkApiListServerPrivateNetworksRequest}
|
|
89
84
|
* @returns A Promise of ListServerPrivateNetworksResponse
|
|
90
85
|
*/
|
|
91
86
|
listServerPrivateNetworks = (request = {}) => enrichForPagination(
|
|
@@ -96,8 +91,7 @@ class PrivateNetworkAPI extends API$1 {
|
|
|
96
91
|
/**
|
|
97
92
|
* Delete a Private Network.
|
|
98
93
|
*
|
|
99
|
-
* @param request - The request
|
|
100
|
-
* {@link PrivateNetworkApiDeleteServerPrivateNetworkRequest}
|
|
94
|
+
* @param request - The request {@link PrivateNetworkApiDeleteServerPrivateNetworkRequest}
|
|
101
95
|
*/
|
|
102
96
|
deleteServerPrivateNetwork = (request) => this.client.fetch({
|
|
103
97
|
method: "DELETE",
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
|
|
4
|
-
const
|
|
5
|
-
require("../../../
|
|
3
|
+
require("../../../client/dist/internal/logger/index.cjs");
|
|
4
|
+
const json = require("../../../client/dist/helpers/json.cjs");
|
|
5
|
+
const marshalling = require("../../../client/dist/helpers/marshalling.cjs");
|
|
6
|
+
require("../../../client/dist/vendor/base64/index.cjs");
|
|
6
7
|
const unmarshalServerPrivateNetwork = (data) => {
|
|
7
8
|
if (!json.isJSONObject(data)) {
|
|
8
9
|
throw new TypeError(
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { DefaultValues } from '
|
|
1
|
+
import type { DefaultValues } from '@scaleway/sdk-client';
|
|
2
2
|
import type { ListServerPrivateNetworksResponse, PrivateNetworkApiAddServerPrivateNetworkRequest, PrivateNetworkApiSetServerPrivateNetworksRequest, ServerPrivateNetwork, SetServerPrivateNetworksResponse } from './types.gen';
|
|
3
3
|
export declare const unmarshalServerPrivateNetwork: (data: unknown) => ServerPrivateNetwork;
|
|
4
4
|
export declare const unmarshalListServerPrivateNetworksResponse: (data: unknown) => ListServerPrivateNetworksResponse;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import "../../../
|
|
1
|
+
import "../../../client/dist/internal/logger/index.js";
|
|
2
|
+
import { isJSONObject } from "../../../client/dist/helpers/json.js";
|
|
3
|
+
import { unmarshalDate, unmarshalArrayOfObject } from "../../../client/dist/helpers/marshalling.js";
|
|
4
|
+
import "../../../client/dist/vendor/base64/index.js";
|
|
4
5
|
const unmarshalServerPrivateNetwork = (data) => {
|
|
5
6
|
if (!isJSONObject(data)) {
|
|
6
7
|
throw new TypeError(
|
|
@@ -1,24 +1,42 @@
|
|
|
1
|
-
import type { Zone as ScwZone } from '
|
|
1
|
+
import type { Zone as ScwZone } from '@scaleway/sdk-client';
|
|
2
2
|
export type ListServerPrivateNetworksRequestOrderBy = 'created_at_asc' | 'created_at_desc' | 'updated_at_asc' | 'updated_at_desc';
|
|
3
3
|
export type ServerPrivateNetworkStatus = 'unknown_status' | 'attaching' | 'attached' | 'error' | 'detaching' | 'locked';
|
|
4
4
|
export interface ServerPrivateNetwork {
|
|
5
|
-
/**
|
|
5
|
+
/**
|
|
6
|
+
* UUID of the Server-to-Private Network mapping.
|
|
7
|
+
*/
|
|
6
8
|
id: string;
|
|
7
|
-
/**
|
|
9
|
+
/**
|
|
10
|
+
* Private Network Project UUID.
|
|
11
|
+
*/
|
|
8
12
|
projectId: string;
|
|
9
|
-
/**
|
|
13
|
+
/**
|
|
14
|
+
* Server UUID.
|
|
15
|
+
*/
|
|
10
16
|
serverId: string;
|
|
11
|
-
/**
|
|
17
|
+
/**
|
|
18
|
+
* Private Network UUID.
|
|
19
|
+
*/
|
|
12
20
|
privateNetworkId: string;
|
|
13
|
-
/**
|
|
21
|
+
/**
|
|
22
|
+
* VLAN UUID associated with the Private Network.
|
|
23
|
+
*/
|
|
14
24
|
vlan?: number;
|
|
15
|
-
/**
|
|
25
|
+
/**
|
|
26
|
+
* Configuration status of the Private Network.
|
|
27
|
+
*/
|
|
16
28
|
status: ServerPrivateNetworkStatus;
|
|
17
|
-
/**
|
|
29
|
+
/**
|
|
30
|
+
* Private Network creation date.
|
|
31
|
+
*/
|
|
18
32
|
createdAt?: Date;
|
|
19
|
-
/**
|
|
33
|
+
/**
|
|
34
|
+
* Date the Private Network was last modified.
|
|
35
|
+
*/
|
|
20
36
|
updatedAt?: Date;
|
|
21
|
-
/**
|
|
37
|
+
/**
|
|
38
|
+
* IPAM IP IDs of the server, if it has any.
|
|
39
|
+
*/
|
|
22
40
|
ipamIpIds: string[];
|
|
23
41
|
}
|
|
24
42
|
export interface ListServerPrivateNetworksResponse {
|
|
@@ -26,54 +44,86 @@ export interface ListServerPrivateNetworksResponse {
|
|
|
26
44
|
totalCount: number;
|
|
27
45
|
}
|
|
28
46
|
export type PrivateNetworkApiAddServerPrivateNetworkRequest = {
|
|
29
|
-
/**
|
|
47
|
+
/**
|
|
48
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
49
|
+
*/
|
|
30
50
|
zone?: ScwZone;
|
|
31
|
-
/**
|
|
51
|
+
/**
|
|
52
|
+
* UUID of the server.
|
|
53
|
+
*/
|
|
32
54
|
serverId: string;
|
|
33
|
-
/**
|
|
55
|
+
/**
|
|
56
|
+
* UUID of the Private Network.
|
|
57
|
+
*/
|
|
34
58
|
privateNetworkId: string;
|
|
35
|
-
/**
|
|
59
|
+
/**
|
|
60
|
+
* IPAM IDs of an IPs to attach to the server.
|
|
61
|
+
*/
|
|
36
62
|
ipamIpIds?: string[];
|
|
37
63
|
};
|
|
38
64
|
export type PrivateNetworkApiDeleteServerPrivateNetworkRequest = {
|
|
39
|
-
/**
|
|
65
|
+
/**
|
|
66
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
67
|
+
*/
|
|
40
68
|
zone?: ScwZone;
|
|
41
|
-
/**
|
|
69
|
+
/**
|
|
70
|
+
* UUID of the server.
|
|
71
|
+
*/
|
|
42
72
|
serverId: string;
|
|
43
|
-
/**
|
|
73
|
+
/**
|
|
74
|
+
* UUID of the Private Network.
|
|
75
|
+
*/
|
|
44
76
|
privateNetworkId: string;
|
|
45
77
|
};
|
|
46
78
|
export type PrivateNetworkApiListServerPrivateNetworksRequest = {
|
|
47
|
-
/**
|
|
79
|
+
/**
|
|
80
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
81
|
+
*/
|
|
48
82
|
zone?: ScwZone;
|
|
49
|
-
/**
|
|
83
|
+
/**
|
|
84
|
+
* Sort order for the returned Private Networks.
|
|
85
|
+
*/
|
|
50
86
|
orderBy?: ListServerPrivateNetworksRequestOrderBy;
|
|
51
|
-
/**
|
|
87
|
+
/**
|
|
88
|
+
* Page number for the returned Private Networks.
|
|
89
|
+
*/
|
|
52
90
|
page?: number;
|
|
53
|
-
/**
|
|
91
|
+
/**
|
|
92
|
+
* Maximum number of Private Networks per page.
|
|
93
|
+
*/
|
|
54
94
|
pageSize?: number;
|
|
55
|
-
/**
|
|
95
|
+
/**
|
|
96
|
+
* Filter Private Networks by server UUID.
|
|
97
|
+
*/
|
|
56
98
|
serverId?: string;
|
|
57
|
-
/**
|
|
99
|
+
/**
|
|
100
|
+
* Filter Private Networks by Private Network UUID.
|
|
101
|
+
*/
|
|
58
102
|
privateNetworkId?: string;
|
|
59
|
-
/**
|
|
103
|
+
/**
|
|
104
|
+
* Filter Private Networks by organization UUID.
|
|
105
|
+
*/
|
|
60
106
|
organizationId?: string;
|
|
61
|
-
/**
|
|
107
|
+
/**
|
|
108
|
+
* Filter Private Networks by project UUID.
|
|
109
|
+
*/
|
|
62
110
|
projectId?: string;
|
|
63
|
-
/**
|
|
111
|
+
/**
|
|
112
|
+
* Filter Private Networks by IPAM IP UUIDs.
|
|
113
|
+
*/
|
|
64
114
|
ipamIpIds?: string[];
|
|
65
115
|
};
|
|
66
116
|
export type PrivateNetworkApiSetServerPrivateNetworksRequest = {
|
|
67
|
-
/**
|
|
117
|
+
/**
|
|
118
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
119
|
+
*/
|
|
68
120
|
zone?: ScwZone;
|
|
69
|
-
/**
|
|
121
|
+
/**
|
|
122
|
+
* UUID of the server.
|
|
123
|
+
*/
|
|
70
124
|
serverId: string;
|
|
71
125
|
/**
|
|
72
|
-
* Object where the keys are the UUIDs of Private Networks and the values are
|
|
73
|
-
* arrays of IPAM IDs representing the IPs to assign to this Elastic Metal
|
|
74
|
-
* server on the Private Network. If the array supplied for a Private Network
|
|
75
|
-
* is empty, the next available IP from the Private Network's CIDR block will
|
|
76
|
-
* automatically be used for attachment.
|
|
126
|
+
* Object where the keys are the UUIDs of Private Networks and the values are arrays of IPAM IDs representing the IPs to assign to this Elastic Metal server on the Private Network. If the array supplied for a Private Network is empty, the next available IP from the Private Network's CIDR block will automatically be used for attachment.
|
|
77
127
|
*/
|
|
78
128
|
perPrivateNetworkIpamIpIds: Record<string, string[]>;
|
|
79
129
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This file is automatically generated from /scripts/generate.js
|
|
3
|
-
* EDIT HERE
|
|
2
|
+
* This file is automatically generated from /scripts/generate.js
|
|
3
|
+
* PLEASE DO NOT EDIT HERE
|
|
4
4
|
*/
|
|
5
5
|
export * as v2alpha1 from './v2alpha1/index.gen.js';
|
|
6
6
|
export * as v2beta1 from './v2beta1/index.gen.js';
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
|
|
4
|
-
const
|
|
5
|
-
require("../../../
|
|
6
|
-
|
|
3
|
+
require("../../../client/dist/internal/logger/index.cjs");
|
|
4
|
+
const api = require("../../../client/dist/scw/api.cjs");
|
|
5
|
+
const marshalling = require("../../../client/dist/helpers/marshalling.cjs");
|
|
6
|
+
require("../../../client/dist/vendor/base64/index.cjs");
|
|
7
|
+
const resourcePaginator = require("../../../client/dist/scw/fetch/resource-paginator.cjs");
|
|
7
8
|
const marshalling_gen = require("./marshalling.gen.cjs");
|
|
8
9
|
class API extends api.API {
|
|
9
10
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { API as ParentAPI } from '
|
|
1
|
+
import { API as ParentAPI } from '@scaleway/sdk-client';
|
|
2
2
|
import type { DownloadInvoiceRequest, GetConsumptionRequest, GetConsumptionResponse, ListDiscountsRequest, ListDiscountsResponse, ListInvoicesRequest, ListInvoicesResponse } from './types.gen';
|
|
3
3
|
/**
|
|
4
4
|
* Billing API.
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import "../../../
|
|
4
|
-
import
|
|
1
|
+
import "../../../client/dist/internal/logger/index.js";
|
|
2
|
+
import { API as API$1 } from "../../../client/dist/scw/api.js";
|
|
3
|
+
import { urlParams, validatePathParam } from "../../../client/dist/helpers/marshalling.js";
|
|
4
|
+
import "../../../client/dist/vendor/base64/index.js";
|
|
5
|
+
import { enrichForPagination } from "../../../client/dist/scw/fetch/resource-paginator.js";
|
|
5
6
|
import { unmarshalGetConsumptionResponse, unmarshalListInvoicesResponse, unmarshalListDiscountsResponse } from "./marshalling.gen.js";
|
|
6
7
|
class API extends API$1 {
|
|
7
8
|
/**
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
|
|
4
|
-
const
|
|
5
|
-
const
|
|
3
|
+
require("../../../client/dist/internal/logger/index.cjs");
|
|
4
|
+
const json = require("../../../client/dist/helpers/json.cjs");
|
|
5
|
+
const customMarshalling = require("../../../client/dist/scw/custom-marshalling.cjs");
|
|
6
|
+
const marshalling = require("../../../client/dist/helpers/marshalling.cjs");
|
|
6
7
|
const unmarshalGetConsumptionResponseConsumption = (data) => {
|
|
7
8
|
if (!json.isJSONObject(data)) {
|
|
8
9
|
throw new TypeError(
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import "../../../client/dist/internal/logger/index.js";
|
|
2
|
+
import { isJSONObject } from "../../../client/dist/helpers/json.js";
|
|
3
|
+
import { unmarshalMoney } from "../../../client/dist/scw/custom-marshalling.js";
|
|
4
|
+
import { unmarshalArrayOfObject, unmarshalDate } from "../../../client/dist/helpers/marshalling.js";
|
|
4
5
|
const unmarshalGetConsumptionResponseConsumption = (data) => {
|
|
5
6
|
if (!isJSONObject(data)) {
|
|
6
7
|
throw new TypeError(
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Money } from '
|
|
1
|
+
import type { Money } from '@scaleway/sdk-client';
|
|
2
2
|
export type DiscountDiscountMode = 'unknown_discount_mode' | 'discount_mode_rate' | 'discount_mode_value' | 'discount_mode_splittable';
|
|
3
3
|
export type DiscountFilterType = 'unknown_type' | 'product_category' | 'product' | 'product_offer' | 'product_reference' | 'region' | 'zone';
|
|
4
4
|
export type DownloadInvoiceRequestFileType = 'pdf';
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
|
|
4
|
-
const
|
|
5
|
-
require("../../../
|
|
6
|
-
|
|
3
|
+
require("../../../client/dist/internal/logger/index.cjs");
|
|
4
|
+
const api = require("../../../client/dist/scw/api.cjs");
|
|
5
|
+
const marshalling = require("../../../client/dist/helpers/marshalling.cjs");
|
|
6
|
+
require("../../../client/dist/vendor/base64/index.cjs");
|
|
7
|
+
const resourcePaginator = require("../../../client/dist/scw/fetch/resource-paginator.cjs");
|
|
7
8
|
const marshalling_gen = require("./marshalling.gen.cjs");
|
|
8
9
|
class API extends api.API {
|
|
9
10
|
pageOfListConsumptions = (request = {}) => this.client.fetch(
|
|
@@ -38,8 +39,7 @@ class API extends api.API {
|
|
|
38
39
|
marshalling_gen.unmarshalListConsumptionsResponse
|
|
39
40
|
);
|
|
40
41
|
/**
|
|
41
|
-
* Get monthly consumption. Consumption allows you to retrieve your past or
|
|
42
|
-
* current consumption cost, by project or category.
|
|
42
|
+
* Get monthly consumption. Consumption allows you to retrieve your past or current consumption cost, by project or category.
|
|
43
43
|
*
|
|
44
44
|
* @param request - The request {@link ListConsumptionsRequest}
|
|
45
45
|
* @returns A Promise of ListConsumptionsResponse
|
|
@@ -66,8 +66,7 @@ class API extends api.API {
|
|
|
66
66
|
marshalling_gen.unmarshalListTaxesResponse
|
|
67
67
|
);
|
|
68
68
|
/**
|
|
69
|
-
* Get monthly consumption taxes. Consumption Tax allows you to retrieve your
|
|
70
|
-
* past or current tax charges, by project or category.
|
|
69
|
+
* Get monthly consumption taxes. Consumption Tax allows you to retrieve your past or current tax charges, by project or category.
|
|
71
70
|
*
|
|
72
71
|
* @param request - The request {@link ListTaxesRequest}
|
|
73
72
|
* @returns A Promise of ListTaxesResponse
|
|
@@ -93,8 +92,7 @@ class API extends api.API {
|
|
|
93
92
|
marshalling_gen.unmarshalListInvoicesResponse
|
|
94
93
|
);
|
|
95
94
|
/**
|
|
96
|
-
* List invoices. List all your invoices, filtering by `start_date` and
|
|
97
|
-
* `invoice_type`. Each invoice has its own ID.
|
|
95
|
+
* List invoices. List all your invoices, filtering by `start_date` and `invoice_type`. Each invoice has its own ID.
|
|
98
96
|
*
|
|
99
97
|
* @param request - The request {@link ListInvoicesRequest}
|
|
100
98
|
* @returns A Promise of ListInvoicesResponse
|
|
@@ -164,20 +162,14 @@ class API extends api.API {
|
|
|
164
162
|
marshalling_gen.unmarshalListDiscountsResponse
|
|
165
163
|
);
|
|
166
164
|
/**
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
* - If you indicate `the organization_id` of one of your customers, you will
|
|
176
|
-
* list the discounts applied to their Organization.
|
|
177
|
-
*
|
|
178
|
-
* @param request - The request {@link ListDiscountsRequest}
|
|
179
|
-
* @returns A Promise of ListDiscountsResponse
|
|
180
|
-
*/
|
|
165
|
+
* List discounts. List all discounts for your Organization and usable categories, products, offers, references, regions and zones where the discount can be applied. As a reseller:
|
|
166
|
+
- If you do not specify an `organization_id` you will list the discounts applied to your own Organization and your customers
|
|
167
|
+
- If you indicate your `organization_id` you will list only the discounts applied to your Organization
|
|
168
|
+
- If you indicate `the organization_id` of one of your customers, you will list the discounts applied to their Organization.
|
|
169
|
+
*
|
|
170
|
+
* @param request - The request {@link ListDiscountsRequest}
|
|
171
|
+
* @returns A Promise of ListDiscountsResponse
|
|
172
|
+
*/
|
|
181
173
|
listDiscounts = (request = {}) => resourcePaginator.enrichForPagination("discounts", this.pageOfListDiscounts, request);
|
|
182
174
|
}
|
|
183
175
|
exports.API = API;
|
|
@@ -1,16 +1,14 @@
|
|
|
1
|
-
import { API as ParentAPI } from '
|
|
1
|
+
import { API as ParentAPI } from '@scaleway/sdk-client';
|
|
2
2
|
import type { DownloadInvoiceRequest, ExportInvoicesRequest, GetInvoiceRequest, Invoice, ListConsumptionsRequest, ListConsumptionsResponse, ListDiscountsRequest, ListDiscountsResponse, ListInvoicesRequest, ListInvoicesResponse, ListTaxesRequest, ListTaxesResponse } from './types.gen';
|
|
3
3
|
/**
|
|
4
4
|
* Billing API.
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
* consumption.
|
|
5
|
+
|
|
6
|
+
This API allows you to manage and query your Scaleway billing and consumption.
|
|
8
7
|
*/
|
|
9
8
|
export declare class API extends ParentAPI {
|
|
10
9
|
protected pageOfListConsumptions: (request?: Readonly<ListConsumptionsRequest>) => Promise<ListConsumptionsResponse>;
|
|
11
10
|
/**
|
|
12
|
-
* Get monthly consumption. Consumption allows you to retrieve your past or
|
|
13
|
-
* current consumption cost, by project or category.
|
|
11
|
+
* Get monthly consumption. Consumption allows you to retrieve your past or current consumption cost, by project or category.
|
|
14
12
|
*
|
|
15
13
|
* @param request - The request {@link ListConsumptionsRequest}
|
|
16
14
|
* @returns A Promise of ListConsumptionsResponse
|
|
@@ -21,8 +19,7 @@ export declare class API extends ParentAPI {
|
|
|
21
19
|
};
|
|
22
20
|
protected pageOfListTaxes: (request?: Readonly<ListTaxesRequest>) => Promise<ListTaxesResponse>;
|
|
23
21
|
/**
|
|
24
|
-
* Get monthly consumption taxes. Consumption Tax allows you to retrieve your
|
|
25
|
-
* past or current tax charges, by project or category.
|
|
22
|
+
* Get monthly consumption taxes. Consumption Tax allows you to retrieve your past or current tax charges, by project or category.
|
|
26
23
|
*
|
|
27
24
|
* @param request - The request {@link ListTaxesRequest}
|
|
28
25
|
* @returns A Promise of ListTaxesResponse
|
|
@@ -33,8 +30,7 @@ export declare class API extends ParentAPI {
|
|
|
33
30
|
};
|
|
34
31
|
protected pageOfListInvoices: (request?: Readonly<ListInvoicesRequest>) => Promise<ListInvoicesResponse>;
|
|
35
32
|
/**
|
|
36
|
-
* List invoices. List all your invoices, filtering by `start_date` and
|
|
37
|
-
* `invoice_type`. Each invoice has its own ID.
|
|
33
|
+
* List invoices. List all your invoices, filtering by `start_date` and `invoice_type`. Each invoice has its own ID.
|
|
38
34
|
*
|
|
39
35
|
* @param request - The request {@link ListInvoicesRequest}
|
|
40
36
|
* @returns A Promise of ListInvoicesResponse
|
|
@@ -66,16 +62,10 @@ export declare class API extends ParentAPI {
|
|
|
66
62
|
downloadInvoice: (request: Readonly<DownloadInvoiceRequest>) => Promise<Blob>;
|
|
67
63
|
protected pageOfListDiscounts: (request?: Readonly<ListDiscountsRequest>) => Promise<ListDiscountsResponse>;
|
|
68
64
|
/**
|
|
69
|
-
* List discounts. List all discounts for your Organization and usable
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
* - If you do not specify an `organization_id` you will list the discounts
|
|
74
|
-
* applied to your own Organization and your customers
|
|
75
|
-
* - If you indicate your `organization_id` you will list only the discounts
|
|
76
|
-
* applied to your Organization
|
|
77
|
-
* - If you indicate `the organization_id` of one of your customers, you will
|
|
78
|
-
* list the discounts applied to their Organization.
|
|
65
|
+
* List discounts. List all discounts for your Organization and usable categories, products, offers, references, regions and zones where the discount can be applied. As a reseller:
|
|
66
|
+
- If you do not specify an `organization_id` you will list the discounts applied to your own Organization and your customers
|
|
67
|
+
- If you indicate your `organization_id` you will list only the discounts applied to your Organization
|
|
68
|
+
- If you indicate `the organization_id` of one of your customers, you will list the discounts applied to their Organization.
|
|
79
69
|
*
|
|
80
70
|
* @param request - The request {@link ListDiscountsRequest}
|
|
81
71
|
* @returns A Promise of ListDiscountsResponse
|