@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,20 +1,43 @@
|
|
|
1
|
-
import { API as ParentAPI } from '
|
|
2
|
-
import type { Region as ScwRegion } from '
|
|
3
|
-
import type { AttachRoutingPolicyRequest, AttachVpcRequest, CreateLinkRequest, CreateRoutingPolicyRequest, DeleteLinkRequest, DeleteRoutingPolicyRequest, DetachRoutingPolicyRequest, DetachVpcRequest, DisableRoutePropagationRequest, EnableRoutePropagationRequest, GetLinkRequest, GetPartnerRequest, GetPopRequest, GetRoutingPolicyRequest, Link, ListLinksRequest, ListLinksResponse, ListPartnersRequest, ListPartnersResponse, ListPopsRequest, ListPopsResponse, ListRoutingPoliciesRequest, ListRoutingPoliciesResponse, Partner, Pop, RoutingPolicy, UpdateLinkRequest, UpdateRoutingPolicyRequest } from './types.gen';
|
|
1
|
+
import { API as ParentAPI } from '@scaleway/sdk-client';
|
|
2
|
+
import type { Region as ScwRegion, WaitForOptions } from '@scaleway/sdk-client';
|
|
3
|
+
import type { AttachRoutingPolicyRequest, AttachVpcRequest, CreateLinkRequest, CreateRoutingPolicyRequest, DedicatedConnection, DeleteLinkRequest, DeleteRoutingPolicyRequest, DetachRoutingPolicyRequest, DetachVpcRequest, DisableRoutePropagationRequest, EnableRoutePropagationRequest, GetDedicatedConnectionRequest, GetLinkRequest, GetPartnerRequest, GetPopRequest, GetRoutingPolicyRequest, Link, ListDedicatedConnectionsRequest, ListDedicatedConnectionsResponse, ListLinksRequest, ListLinksResponse, ListPartnersRequest, ListPartnersResponse, ListPopsRequest, ListPopsResponse, ListRoutingPoliciesRequest, ListRoutingPoliciesResponse, Partner, Pop, RoutingPolicy, UpdateLinkRequest, UpdateRoutingPolicyRequest } from './types.gen';
|
|
4
4
|
/**
|
|
5
5
|
* InterLink API.
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
* on-premises infrastructure with your Scaleway VPC.
|
|
6
|
+
|
|
7
|
+
This API allows you to manage your Scaleway InterLink, to connect your on-premises infrastructure with your Scaleway VPC.
|
|
9
8
|
*/
|
|
10
9
|
export declare class API extends ParentAPI {
|
|
11
10
|
/** Lists the available regions of the API. */
|
|
12
11
|
static readonly LOCALITIES: ScwRegion[];
|
|
12
|
+
protected pageOfListDedicatedConnections: (request?: Readonly<ListDedicatedConnectionsRequest>) => Promise<ListDedicatedConnectionsResponse>;
|
|
13
|
+
/**
|
|
14
|
+
* List dedicated connections. For self-hosted users, list their dedicated physical connections in a given region. By default, the connections returned in the list are ordered by name in ascending order, though this can be modified via the `order_by` field.
|
|
15
|
+
*
|
|
16
|
+
* @param request - The request {@link ListDedicatedConnectionsRequest}
|
|
17
|
+
* @returns A Promise of ListDedicatedConnectionsResponse
|
|
18
|
+
*/
|
|
19
|
+
listDedicatedConnections: (request?: Readonly<ListDedicatedConnectionsRequest>) => Promise<ListDedicatedConnectionsResponse> & {
|
|
20
|
+
all: () => Promise<DedicatedConnection[]>;
|
|
21
|
+
[Symbol.asyncIterator]: () => AsyncGenerator<DedicatedConnection[], void, void>;
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* Get a dedicated connection. For self-hosted users, get a dedicated physical connection corresponding to the given ID. The response object includes information such as the connection's name, status and total bandwidth.
|
|
25
|
+
*
|
|
26
|
+
* @param request - The request {@link GetDedicatedConnectionRequest}
|
|
27
|
+
* @returns A Promise of DedicatedConnection
|
|
28
|
+
*/
|
|
29
|
+
getDedicatedConnection: (request: Readonly<GetDedicatedConnectionRequest>) => Promise<DedicatedConnection>;
|
|
30
|
+
/**
|
|
31
|
+
* Waits for {@link DedicatedConnection} to be in a final state.
|
|
32
|
+
*
|
|
33
|
+
* @param request - The request {@link GetDedicatedConnectionRequest}
|
|
34
|
+
* @param options - The waiting options
|
|
35
|
+
* @returns A Promise of DedicatedConnection
|
|
36
|
+
*/
|
|
37
|
+
waitForDedicatedConnection: (request: Readonly<GetDedicatedConnectionRequest>, options?: Readonly<WaitForOptions<DedicatedConnection>>) => Promise<DedicatedConnection>;
|
|
13
38
|
protected pageOfListPartners: (request?: Readonly<ListPartnersRequest>) => Promise<ListPartnersResponse>;
|
|
14
39
|
/**
|
|
15
|
-
* List available partners. List all available partners. By default, the
|
|
16
|
-
* partners returned in the list are ordered by name in ascending order,
|
|
17
|
-
* though this can be modified via the `order_by` field.
|
|
40
|
+
* List available partners. List all available partners. By default, the partners returned in the list are ordered by name in ascending order, though this can be modified via the `order_by` field.
|
|
18
41
|
*
|
|
19
42
|
* @param request - The request {@link ListPartnersRequest}
|
|
20
43
|
* @returns A Promise of ListPartnersResponse
|
|
@@ -24,9 +47,7 @@ export declare class API extends ParentAPI {
|
|
|
24
47
|
[Symbol.asyncIterator]: () => AsyncGenerator<Partner[], void, void>;
|
|
25
48
|
};
|
|
26
49
|
/**
|
|
27
|
-
* Get a partner. Get a partner for the given partner IP. The response object
|
|
28
|
-
* includes information such as the partner's name, email address and portal
|
|
29
|
-
* URL.
|
|
50
|
+
* Get a partner. Get a partner for the given partner IP. The response object includes information such as the partner's name, email address and portal URL.
|
|
30
51
|
*
|
|
31
52
|
* @param request - The request {@link GetPartnerRequest}
|
|
32
53
|
* @returns A Promise of Partner
|
|
@@ -34,8 +55,7 @@ export declare class API extends ParentAPI {
|
|
|
34
55
|
getPartner: (request: Readonly<GetPartnerRequest>) => Promise<Partner>;
|
|
35
56
|
protected pageOfListPops: (request?: Readonly<ListPopsRequest>) => Promise<ListPopsResponse>;
|
|
36
57
|
/**
|
|
37
|
-
* List PoPs. List all available PoPs (locations) for a given region. By
|
|
38
|
-
* default, the results are returned in ascending alphabetical order by name.
|
|
58
|
+
* List PoPs. List all available PoPs (locations) for a given region. By default, the results are returned in ascending alphabetical order by name.
|
|
39
59
|
*
|
|
40
60
|
* @param request - The request {@link ListPopsRequest}
|
|
41
61
|
* @returns A Promise of ListPopsResponse
|
|
@@ -45,8 +65,7 @@ export declare class API extends ParentAPI {
|
|
|
45
65
|
[Symbol.asyncIterator]: () => AsyncGenerator<Pop[], void, void>;
|
|
46
66
|
};
|
|
47
67
|
/**
|
|
48
|
-
* Get a PoP. Get a PoP for the given PoP ID. The response object includes the
|
|
49
|
-
* PoP's name and information about its physical location.
|
|
68
|
+
* Get a PoP. Get a PoP for the given PoP ID. The response object includes the PoP's name and information about its physical location.
|
|
50
69
|
*
|
|
51
70
|
* @param request - The request {@link GetPopRequest}
|
|
52
71
|
* @returns A Promise of Pop
|
|
@@ -54,8 +73,7 @@ export declare class API extends ParentAPI {
|
|
|
54
73
|
getPop: (request: Readonly<GetPopRequest>) => Promise<Pop>;
|
|
55
74
|
protected pageOfListLinks: (request?: Readonly<ListLinksRequest>) => Promise<ListLinksResponse>;
|
|
56
75
|
/**
|
|
57
|
-
* List links. List all your links (InterLink connections). A number of
|
|
58
|
-
* filters are available, including Project ID, name, tags and status.
|
|
76
|
+
* List links. List all your links (InterLink connections). A number of filters are available, including Project ID, name, tags and status.
|
|
59
77
|
*
|
|
60
78
|
* @param request - The request {@link ListLinksRequest}
|
|
61
79
|
* @returns A Promise of ListLinksResponse
|
|
@@ -65,47 +83,43 @@ export declare class API extends ParentAPI {
|
|
|
65
83
|
[Symbol.asyncIterator]: () => AsyncGenerator<Link[], void, void>;
|
|
66
84
|
};
|
|
67
85
|
/**
|
|
68
|
-
* Get a link. Get a link (InterLink
|
|
69
|
-
* response object includes information about the link's various configuration
|
|
70
|
-
* details.
|
|
86
|
+
* Get a link. Get a link (InterLink session / logical InterLink resource) for the given link ID. The response object includes information about the link's various configuration details.
|
|
71
87
|
*
|
|
72
88
|
* @param request - The request {@link GetLinkRequest}
|
|
73
89
|
* @returns A Promise of Link
|
|
74
90
|
*/
|
|
75
91
|
getLink: (request: Readonly<GetLinkRequest>) => Promise<Link>;
|
|
76
92
|
/**
|
|
77
|
-
*
|
|
78
|
-
*
|
|
79
|
-
*
|
|
80
|
-
*
|
|
93
|
+
* Waits for {@link Link} to be in a final state.
|
|
94
|
+
*
|
|
95
|
+
* @param request - The request {@link GetLinkRequest}
|
|
96
|
+
* @param options - The waiting options
|
|
97
|
+
* @returns A Promise of Link
|
|
98
|
+
*/
|
|
99
|
+
waitForLink: (request: Readonly<GetLinkRequest>, options?: Readonly<WaitForOptions<Link>>) => Promise<Link>;
|
|
100
|
+
/**
|
|
101
|
+
* Create a link. Create a link (InterLink session / logical InterLink resource) in a given PoP, specifying its various configuration details. Links can either be hosted (faciliated by partners' shared physical connections) or self-hosted (for users who have purchased a dedicated physical connection).
|
|
81
102
|
*
|
|
82
103
|
* @param request - The request {@link CreateLinkRequest}
|
|
83
104
|
* @returns A Promise of Link
|
|
84
105
|
*/
|
|
85
106
|
createLink: (request: Readonly<CreateLinkRequest>) => Promise<Link>;
|
|
86
107
|
/**
|
|
87
|
-
* Update a link. Update an existing link, specified by its link ID. Only its
|
|
88
|
-
* name and tags can be updated.
|
|
108
|
+
* Update a link. Update an existing link, specified by its link ID. Only its name and tags can be updated.
|
|
89
109
|
*
|
|
90
110
|
* @param request - The request {@link UpdateLinkRequest}
|
|
91
111
|
* @returns A Promise of Link
|
|
92
112
|
*/
|
|
93
113
|
updateLink: (request: Readonly<UpdateLinkRequest>) => Promise<Link>;
|
|
94
114
|
/**
|
|
95
|
-
* Delete a link. Delete an existing link, specified by its link ID. Note that
|
|
96
|
-
* as well as deleting the link here on the Scaleway side, it is also
|
|
97
|
-
* necessary to request deletion from the partner on their side. Only when
|
|
98
|
-
* this action has been carried out on both sides will the resource be
|
|
99
|
-
* completely deleted.
|
|
115
|
+
* Delete a link. Delete an existing link, specified by its link ID. Note that as well as deleting the link here on the Scaleway side, it is also necessary to request deletion from the partner on their side. Only when this action has been carried out on both sides will the resource be completely deleted.
|
|
100
116
|
*
|
|
101
117
|
* @param request - The request {@link DeleteLinkRequest}
|
|
102
118
|
* @returns A Promise of Link
|
|
103
119
|
*/
|
|
104
120
|
deleteLink: (request: Readonly<DeleteLinkRequest>) => Promise<Link>;
|
|
105
121
|
/**
|
|
106
|
-
* Attach a VPC. Attach a VPC to an existing link. This facilitates
|
|
107
|
-
* communication between the resources in your Scaleway VPC, and your
|
|
108
|
-
* on-premises infrastructure.
|
|
122
|
+
* Attach a VPC. Attach a VPC to an existing link. This facilitates communication between the resources in your Scaleway VPC, and your on-premises infrastructure.
|
|
109
123
|
*
|
|
110
124
|
* @param request - The request {@link AttachVpcRequest}
|
|
111
125
|
* @returns A Promise of Link
|
|
@@ -119,40 +133,28 @@ export declare class API extends ParentAPI {
|
|
|
119
133
|
*/
|
|
120
134
|
detachVpc: (request: Readonly<DetachVpcRequest>) => Promise<Link>;
|
|
121
135
|
/**
|
|
122
|
-
* Attach a routing policy. Attach a routing policy to an existing link. As
|
|
123
|
-
* all routes across the link are blocked by default, you must attach a
|
|
124
|
-
* routing policy to set IP prefix filters for allowed routes, facilitating
|
|
125
|
-
* traffic flow.
|
|
136
|
+
* Attach a routing policy. Attach a routing policy to an existing link. As all routes across the link are blocked by default, you must attach a routing policy to set IP prefix filters for allowed routes, facilitating traffic flow.
|
|
126
137
|
*
|
|
127
138
|
* @param request - The request {@link AttachRoutingPolicyRequest}
|
|
128
139
|
* @returns A Promise of Link
|
|
129
140
|
*/
|
|
130
141
|
attachRoutingPolicy: (request: Readonly<AttachRoutingPolicyRequest>) => Promise<Link>;
|
|
131
142
|
/**
|
|
132
|
-
* Detach a routing policy. Detach a routing policy from an existing link.
|
|
133
|
-
* Without a routing policy, all routes across the link are blocked by
|
|
134
|
-
* default.
|
|
143
|
+
* Detach a routing policy. Detach a routing policy from an existing link. Without a routing policy, all routes across the link are blocked by default.
|
|
135
144
|
*
|
|
136
145
|
* @param request - The request {@link DetachRoutingPolicyRequest}
|
|
137
146
|
* @returns A Promise of Link
|
|
138
147
|
*/
|
|
139
148
|
detachRoutingPolicy: (request: Readonly<DetachRoutingPolicyRequest>) => Promise<Link>;
|
|
140
149
|
/**
|
|
141
|
-
* Enable route propagation. Enable all allowed prefixes (defined in a routing
|
|
142
|
-
* policy) to be announced in the BGP session. This allows traffic to flow
|
|
143
|
-
* between the attached VPC and the on-premises infrastructure along the
|
|
144
|
-
* announced routes. Note that by default, even when route propagation is
|
|
145
|
-
* enabled, all routes are blocked. It is essential to attach a routing policy
|
|
146
|
-
* to define the ranges of routes to announce.
|
|
150
|
+
* Enable route propagation. Enable all allowed prefixes (defined in a routing policy) to be announced in the BGP session. This allows traffic to flow between the attached VPC and the on-premises infrastructure along the announced routes. Note that by default, even when route propagation is enabled, all routes are blocked. It is essential to attach a routing policy to define the ranges of routes to announce.
|
|
147
151
|
*
|
|
148
152
|
* @param request - The request {@link EnableRoutePropagationRequest}
|
|
149
153
|
* @returns A Promise of Link
|
|
150
154
|
*/
|
|
151
155
|
enableRoutePropagation: (request: Readonly<EnableRoutePropagationRequest>) => Promise<Link>;
|
|
152
156
|
/**
|
|
153
|
-
* Disable route propagation. Prevent any prefixes from being announced in the
|
|
154
|
-
* BGP session. Traffic will not be able to flow over the InterLink until
|
|
155
|
-
* route propagation is re-enabled.
|
|
157
|
+
* Disable route propagation. Prevent any prefixes from being announced in the BGP session. Traffic will not be able to flow over the InterLink until route propagation is re-enabled.
|
|
156
158
|
*
|
|
157
159
|
* @param request - The request {@link DisableRoutePropagationRequest}
|
|
158
160
|
* @returns A Promise of Link
|
|
@@ -160,9 +162,7 @@ export declare class API extends ParentAPI {
|
|
|
160
162
|
disableRoutePropagation: (request: Readonly<DisableRoutePropagationRequest>) => Promise<Link>;
|
|
161
163
|
protected pageOfListRoutingPolicies: (request?: Readonly<ListRoutingPoliciesRequest>) => Promise<ListRoutingPoliciesResponse>;
|
|
162
164
|
/**
|
|
163
|
-
* List routing policies. List all routing policies in a given region. A
|
|
164
|
-
* routing policy can be attached to one or multiple links (InterLink
|
|
165
|
-
* connections).
|
|
165
|
+
* List routing policies. List all routing policies in a given region. A routing policy can be attached to one or multiple links (InterLink connections).
|
|
166
166
|
*
|
|
167
167
|
* @param request - The request {@link ListRoutingPoliciesRequest}
|
|
168
168
|
* @returns A Promise of ListRoutingPoliciesResponse
|
|
@@ -172,35 +172,28 @@ export declare class API extends ParentAPI {
|
|
|
172
172
|
[Symbol.asyncIterator]: () => AsyncGenerator<RoutingPolicy[], void, void>;
|
|
173
173
|
};
|
|
174
174
|
/**
|
|
175
|
-
* Get routing policy. Get a routing policy for the given routing policy ID.
|
|
176
|
-
* The response object gives information including the policy's name, tags and
|
|
177
|
-
* prefix filters.
|
|
175
|
+
* Get routing policy. Get a routing policy for the given routing policy ID. The response object gives information including the policy's name, tags and prefix filters.
|
|
178
176
|
*
|
|
179
177
|
* @param request - The request {@link GetRoutingPolicyRequest}
|
|
180
178
|
* @returns A Promise of RoutingPolicy
|
|
181
179
|
*/
|
|
182
180
|
getRoutingPolicy: (request: Readonly<GetRoutingPolicyRequest>) => Promise<RoutingPolicy>;
|
|
183
181
|
/**
|
|
184
|
-
* Create a routing policy. Create a routing policy. Routing policies allow
|
|
185
|
-
* you to set IP prefix filters to define the incoming route announcements to
|
|
186
|
-
* accept from the peer, and the outgoing routes to announce to the peer.
|
|
182
|
+
* Create a routing policy. Create a routing policy. Routing policies allow you to set IP prefix filters to define the incoming route announcements to accept from the peer, and the outgoing routes to announce to the peer.
|
|
187
183
|
*
|
|
188
184
|
* @param request - The request {@link CreateRoutingPolicyRequest}
|
|
189
185
|
* @returns A Promise of RoutingPolicy
|
|
190
186
|
*/
|
|
191
187
|
createRoutingPolicy: (request: Readonly<CreateRoutingPolicyRequest>) => Promise<RoutingPolicy>;
|
|
192
188
|
/**
|
|
193
|
-
* Update a routing policy. Update an existing routing policy, specified by
|
|
194
|
-
* its routing policy ID. Its name, tags and incoming/outgoing prefix filters
|
|
195
|
-
* can be updated.
|
|
189
|
+
* Update a routing policy. Update an existing routing policy, specified by its routing policy ID. Its name, tags and incoming/outgoing prefix filters can be updated.
|
|
196
190
|
*
|
|
197
191
|
* @param request - The request {@link UpdateRoutingPolicyRequest}
|
|
198
192
|
* @returns A Promise of RoutingPolicy
|
|
199
193
|
*/
|
|
200
194
|
updateRoutingPolicy: (request: Readonly<UpdateRoutingPolicyRequest>) => Promise<RoutingPolicy>;
|
|
201
195
|
/**
|
|
202
|
-
* Delete a routing policy. Delete an existing routing policy, specified by
|
|
203
|
-
* its routing policy ID.
|
|
196
|
+
* Delete a routing policy. Delete an existing routing policy, specified by its routing policy ID.
|
|
204
197
|
*
|
|
205
198
|
* @param request - The request {@link DeleteRoutingPolicyRequest}
|
|
206
199
|
*/
|
|
@@ -1,8 +1,11 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import "../../../
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
1
|
+
import "../../../client/dist/internal/logger/index.js";
|
|
2
|
+
import { waitForResource } from "../../../client/dist/internal/async/interval-retrier.js";
|
|
3
|
+
import { API as API$1 } from "../../../client/dist/scw/api.js";
|
|
4
|
+
import { validatePathParam, urlParams } from "../../../client/dist/helpers/marshalling.js";
|
|
5
|
+
import "../../../client/dist/vendor/base64/index.js";
|
|
6
|
+
import { enrichForPagination } from "../../../client/dist/scw/fetch/resource-paginator.js";
|
|
7
|
+
import { DEDICATED_CONNECTION_TRANSIENT_STATUSES, LINK_TRANSIENT_STATUSES } from "./content.gen.js";
|
|
8
|
+
import { unmarshalListDedicatedConnectionsResponse, unmarshalDedicatedConnection, unmarshalListPartnersResponse, unmarshalPartner, unmarshalListPopsResponse, unmarshalPop, unmarshalListLinksResponse, unmarshalLink, marshalCreateLinkRequest, marshalUpdateLinkRequest, marshalAttachVpcRequest, marshalAttachRoutingPolicyRequest, unmarshalListRoutingPoliciesResponse, unmarshalRoutingPolicy, marshalCreateRoutingPolicyRequest, marshalUpdateRoutingPolicyRequest } from "./marshalling.gen.js";
|
|
6
9
|
const jsonContentHeaders = {
|
|
7
10
|
"Content-Type": "application/json; charset=utf-8"
|
|
8
11
|
};
|
|
@@ -13,6 +16,69 @@ class API extends API$1 {
|
|
|
13
16
|
"nl-ams",
|
|
14
17
|
"pl-waw"
|
|
15
18
|
];
|
|
19
|
+
pageOfListDedicatedConnections = (request = {}) => this.client.fetch(
|
|
20
|
+
{
|
|
21
|
+
method: "GET",
|
|
22
|
+
path: `/interlink/v1beta1/regions/${validatePathParam("region", request.region ?? this.client.settings.defaultRegion)}/dedicated-connections`,
|
|
23
|
+
urlParams: urlParams(
|
|
24
|
+
["bandwidth_mbps", request.bandwidthMbps],
|
|
25
|
+
["name", request.name],
|
|
26
|
+
["order_by", request.orderBy],
|
|
27
|
+
["organization_id", request.organizationId],
|
|
28
|
+
["page", request.page],
|
|
29
|
+
[
|
|
30
|
+
"page_size",
|
|
31
|
+
request.pageSize ?? this.client.settings.defaultPageSize
|
|
32
|
+
],
|
|
33
|
+
["pop_id", request.popId],
|
|
34
|
+
["project_id", request.projectId],
|
|
35
|
+
["status", request.status],
|
|
36
|
+
["tags", request.tags]
|
|
37
|
+
)
|
|
38
|
+
},
|
|
39
|
+
unmarshalListDedicatedConnectionsResponse
|
|
40
|
+
);
|
|
41
|
+
/**
|
|
42
|
+
* List dedicated connections. For self-hosted users, list their dedicated physical connections in a given region. By default, the connections returned in the list are ordered by name in ascending order, though this can be modified via the `order_by` field.
|
|
43
|
+
*
|
|
44
|
+
* @param request - The request {@link ListDedicatedConnectionsRequest}
|
|
45
|
+
* @returns A Promise of ListDedicatedConnectionsResponse
|
|
46
|
+
*/
|
|
47
|
+
listDedicatedConnections = (request = {}) => enrichForPagination(
|
|
48
|
+
"connections",
|
|
49
|
+
this.pageOfListDedicatedConnections,
|
|
50
|
+
request
|
|
51
|
+
);
|
|
52
|
+
/**
|
|
53
|
+
* Get a dedicated connection. For self-hosted users, get a dedicated physical connection corresponding to the given ID. The response object includes information such as the connection's name, status and total bandwidth.
|
|
54
|
+
*
|
|
55
|
+
* @param request - The request {@link GetDedicatedConnectionRequest}
|
|
56
|
+
* @returns A Promise of DedicatedConnection
|
|
57
|
+
*/
|
|
58
|
+
getDedicatedConnection = (request) => this.client.fetch(
|
|
59
|
+
{
|
|
60
|
+
method: "GET",
|
|
61
|
+
path: `/interlink/v1beta1/regions/${validatePathParam("region", request.region ?? this.client.settings.defaultRegion)}/dedicated-connections/${validatePathParam("connectionId", request.connectionId)}`
|
|
62
|
+
},
|
|
63
|
+
unmarshalDedicatedConnection
|
|
64
|
+
);
|
|
65
|
+
/**
|
|
66
|
+
* Waits for {@link DedicatedConnection} to be in a final state.
|
|
67
|
+
*
|
|
68
|
+
* @param request - The request {@link GetDedicatedConnectionRequest}
|
|
69
|
+
* @param options - The waiting options
|
|
70
|
+
* @returns A Promise of DedicatedConnection
|
|
71
|
+
*/
|
|
72
|
+
waitForDedicatedConnection = (request, options) => waitForResource(
|
|
73
|
+
options?.stop ?? ((res) => Promise.resolve(
|
|
74
|
+
!DEDICATED_CONNECTION_TRANSIENT_STATUSES.includes(
|
|
75
|
+
res.status
|
|
76
|
+
)
|
|
77
|
+
)),
|
|
78
|
+
this.getDedicatedConnection,
|
|
79
|
+
request,
|
|
80
|
+
options
|
|
81
|
+
);
|
|
16
82
|
pageOfListPartners = (request = {}) => this.client.fetch(
|
|
17
83
|
{
|
|
18
84
|
method: "GET",
|
|
@@ -30,18 +96,14 @@ class API extends API$1 {
|
|
|
30
96
|
unmarshalListPartnersResponse
|
|
31
97
|
);
|
|
32
98
|
/**
|
|
33
|
-
* List available partners. List all available partners. By default, the
|
|
34
|
-
* partners returned in the list are ordered by name in ascending order,
|
|
35
|
-
* though this can be modified via the `order_by` field.
|
|
99
|
+
* List available partners. List all available partners. By default, the partners returned in the list are ordered by name in ascending order, though this can be modified via the `order_by` field.
|
|
36
100
|
*
|
|
37
101
|
* @param request - The request {@link ListPartnersRequest}
|
|
38
102
|
* @returns A Promise of ListPartnersResponse
|
|
39
103
|
*/
|
|
40
104
|
listPartners = (request = {}) => enrichForPagination("partners", this.pageOfListPartners, request);
|
|
41
105
|
/**
|
|
42
|
-
* Get a partner. Get a partner for the given partner IP. The response object
|
|
43
|
-
* includes information such as the partner's name, email address and portal
|
|
44
|
-
* URL.
|
|
106
|
+
* Get a partner. Get a partner for the given partner IP. The response object includes information such as the partner's name, email address and portal URL.
|
|
45
107
|
*
|
|
46
108
|
* @param request - The request {@link GetPartnerRequest}
|
|
47
109
|
* @returns A Promise of Partner
|
|
@@ -58,6 +120,7 @@ class API extends API$1 {
|
|
|
58
120
|
method: "GET",
|
|
59
121
|
path: `/interlink/v1beta1/regions/${validatePathParam("region", request.region ?? this.client.settings.defaultRegion)}/pops`,
|
|
60
122
|
urlParams: urlParams(
|
|
123
|
+
["dedicated_available", request.dedicatedAvailable],
|
|
61
124
|
["hosting_provider_name", request.hostingProviderName],
|
|
62
125
|
["link_bandwidth_mbps", request.linkBandwidthMbps],
|
|
63
126
|
["name", request.name],
|
|
@@ -73,16 +136,14 @@ class API extends API$1 {
|
|
|
73
136
|
unmarshalListPopsResponse
|
|
74
137
|
);
|
|
75
138
|
/**
|
|
76
|
-
* List PoPs. List all available PoPs (locations) for a given region. By
|
|
77
|
-
* default, the results are returned in ascending alphabetical order by name.
|
|
139
|
+
* List PoPs. List all available PoPs (locations) for a given region. By default, the results are returned in ascending alphabetical order by name.
|
|
78
140
|
*
|
|
79
141
|
* @param request - The request {@link ListPopsRequest}
|
|
80
142
|
* @returns A Promise of ListPopsResponse
|
|
81
143
|
*/
|
|
82
144
|
listPops = (request = {}) => enrichForPagination("pops", this.pageOfListPops, request);
|
|
83
145
|
/**
|
|
84
|
-
* Get a PoP. Get a PoP for the given PoP ID. The response object includes the
|
|
85
|
-
* PoP's name and information about its physical location.
|
|
146
|
+
* Get a PoP. Get a PoP for the given PoP ID. The response object includes the PoP's name and information about its physical location.
|
|
86
147
|
*
|
|
87
148
|
* @param request - The request {@link GetPopRequest}
|
|
88
149
|
* @returns A Promise of Pop
|
|
@@ -102,6 +163,8 @@ class API extends API$1 {
|
|
|
102
163
|
["bandwidth_mbps", request.bandwidthMbps],
|
|
103
164
|
["bgp_v4_status", request.bgpV4Status],
|
|
104
165
|
["bgp_v6_status", request.bgpV6Status],
|
|
166
|
+
["connection_id", request.connectionId],
|
|
167
|
+
["kind", request.kind],
|
|
105
168
|
["name", request.name],
|
|
106
169
|
["order_by", request.orderBy],
|
|
107
170
|
["organization_id", request.organizationId],
|
|
@@ -123,17 +186,14 @@ class API extends API$1 {
|
|
|
123
186
|
unmarshalListLinksResponse
|
|
124
187
|
);
|
|
125
188
|
/**
|
|
126
|
-
* List links. List all your links (InterLink connections). A number of
|
|
127
|
-
* filters are available, including Project ID, name, tags and status.
|
|
189
|
+
* List links. List all your links (InterLink connections). A number of filters are available, including Project ID, name, tags and status.
|
|
128
190
|
*
|
|
129
191
|
* @param request - The request {@link ListLinksRequest}
|
|
130
192
|
* @returns A Promise of ListLinksResponse
|
|
131
193
|
*/
|
|
132
194
|
listLinks = (request = {}) => enrichForPagination("links", this.pageOfListLinks, request);
|
|
133
195
|
/**
|
|
134
|
-
* Get a link. Get a link (InterLink
|
|
135
|
-
* response object includes information about the link's various configuration
|
|
136
|
-
* details.
|
|
196
|
+
* Get a link. Get a link (InterLink session / logical InterLink resource) for the given link ID. The response object includes information about the link's various configuration details.
|
|
137
197
|
*
|
|
138
198
|
* @param request - The request {@link GetLinkRequest}
|
|
139
199
|
* @returns A Promise of Link
|
|
@@ -146,10 +206,22 @@ class API extends API$1 {
|
|
|
146
206
|
unmarshalLink
|
|
147
207
|
);
|
|
148
208
|
/**
|
|
149
|
-
*
|
|
150
|
-
*
|
|
151
|
-
*
|
|
152
|
-
*
|
|
209
|
+
* Waits for {@link Link} to be in a final state.
|
|
210
|
+
*
|
|
211
|
+
* @param request - The request {@link GetLinkRequest}
|
|
212
|
+
* @param options - The waiting options
|
|
213
|
+
* @returns A Promise of Link
|
|
214
|
+
*/
|
|
215
|
+
waitForLink = (request, options) => waitForResource(
|
|
216
|
+
options?.stop ?? ((res) => Promise.resolve(
|
|
217
|
+
!LINK_TRANSIENT_STATUSES.includes(res.status)
|
|
218
|
+
)),
|
|
219
|
+
this.getLink,
|
|
220
|
+
request,
|
|
221
|
+
options
|
|
222
|
+
);
|
|
223
|
+
/**
|
|
224
|
+
* Create a link. Create a link (InterLink session / logical InterLink resource) in a given PoP, specifying its various configuration details. Links can either be hosted (faciliated by partners' shared physical connections) or self-hosted (for users who have purchased a dedicated physical connection).
|
|
153
225
|
*
|
|
154
226
|
* @param request - The request {@link CreateLinkRequest}
|
|
155
227
|
* @returns A Promise of Link
|
|
@@ -166,8 +238,7 @@ class API extends API$1 {
|
|
|
166
238
|
unmarshalLink
|
|
167
239
|
);
|
|
168
240
|
/**
|
|
169
|
-
* Update a link. Update an existing link, specified by its link ID. Only its
|
|
170
|
-
* name and tags can be updated.
|
|
241
|
+
* Update a link. Update an existing link, specified by its link ID. Only its name and tags can be updated.
|
|
171
242
|
*
|
|
172
243
|
* @param request - The request {@link UpdateLinkRequest}
|
|
173
244
|
* @returns A Promise of Link
|
|
@@ -184,11 +255,7 @@ class API extends API$1 {
|
|
|
184
255
|
unmarshalLink
|
|
185
256
|
);
|
|
186
257
|
/**
|
|
187
|
-
* Delete a link. Delete an existing link, specified by its link ID. Note that
|
|
188
|
-
* as well as deleting the link here on the Scaleway side, it is also
|
|
189
|
-
* necessary to request deletion from the partner on their side. Only when
|
|
190
|
-
* this action has been carried out on both sides will the resource be
|
|
191
|
-
* completely deleted.
|
|
258
|
+
* Delete a link. Delete an existing link, specified by its link ID. Note that as well as deleting the link here on the Scaleway side, it is also necessary to request deletion from the partner on their side. Only when this action has been carried out on both sides will the resource be completely deleted.
|
|
192
259
|
*
|
|
193
260
|
* @param request - The request {@link DeleteLinkRequest}
|
|
194
261
|
* @returns A Promise of Link
|
|
@@ -201,9 +268,7 @@ class API extends API$1 {
|
|
|
201
268
|
unmarshalLink
|
|
202
269
|
);
|
|
203
270
|
/**
|
|
204
|
-
* Attach a VPC. Attach a VPC to an existing link. This facilitates
|
|
205
|
-
* communication between the resources in your Scaleway VPC, and your
|
|
206
|
-
* on-premises infrastructure.
|
|
271
|
+
* Attach a VPC. Attach a VPC to an existing link. This facilitates communication between the resources in your Scaleway VPC, and your on-premises infrastructure.
|
|
207
272
|
*
|
|
208
273
|
* @param request - The request {@link AttachVpcRequest}
|
|
209
274
|
* @returns A Promise of Link
|
|
@@ -235,10 +300,7 @@ class API extends API$1 {
|
|
|
235
300
|
unmarshalLink
|
|
236
301
|
);
|
|
237
302
|
/**
|
|
238
|
-
* Attach a routing policy. Attach a routing policy to an existing link. As
|
|
239
|
-
* all routes across the link are blocked by default, you must attach a
|
|
240
|
-
* routing policy to set IP prefix filters for allowed routes, facilitating
|
|
241
|
-
* traffic flow.
|
|
303
|
+
* Attach a routing policy. Attach a routing policy to an existing link. As all routes across the link are blocked by default, you must attach a routing policy to set IP prefix filters for allowed routes, facilitating traffic flow.
|
|
242
304
|
*
|
|
243
305
|
* @param request - The request {@link AttachRoutingPolicyRequest}
|
|
244
306
|
* @returns A Promise of Link
|
|
@@ -255,9 +317,7 @@ class API extends API$1 {
|
|
|
255
317
|
unmarshalLink
|
|
256
318
|
);
|
|
257
319
|
/**
|
|
258
|
-
* Detach a routing policy. Detach a routing policy from an existing link.
|
|
259
|
-
* Without a routing policy, all routes across the link are blocked by
|
|
260
|
-
* default.
|
|
320
|
+
* Detach a routing policy. Detach a routing policy from an existing link. Without a routing policy, all routes across the link are blocked by default.
|
|
261
321
|
*
|
|
262
322
|
* @param request - The request {@link DetachRoutingPolicyRequest}
|
|
263
323
|
* @returns A Promise of Link
|
|
@@ -272,12 +332,7 @@ class API extends API$1 {
|
|
|
272
332
|
unmarshalLink
|
|
273
333
|
);
|
|
274
334
|
/**
|
|
275
|
-
* Enable route propagation. Enable all allowed prefixes (defined in a routing
|
|
276
|
-
* policy) to be announced in the BGP session. This allows traffic to flow
|
|
277
|
-
* between the attached VPC and the on-premises infrastructure along the
|
|
278
|
-
* announced routes. Note that by default, even when route propagation is
|
|
279
|
-
* enabled, all routes are blocked. It is essential to attach a routing policy
|
|
280
|
-
* to define the ranges of routes to announce.
|
|
335
|
+
* Enable route propagation. Enable all allowed prefixes (defined in a routing policy) to be announced in the BGP session. This allows traffic to flow between the attached VPC and the on-premises infrastructure along the announced routes. Note that by default, even when route propagation is enabled, all routes are blocked. It is essential to attach a routing policy to define the ranges of routes to announce.
|
|
281
336
|
*
|
|
282
337
|
* @param request - The request {@link EnableRoutePropagationRequest}
|
|
283
338
|
* @returns A Promise of Link
|
|
@@ -292,9 +347,7 @@ class API extends API$1 {
|
|
|
292
347
|
unmarshalLink
|
|
293
348
|
);
|
|
294
349
|
/**
|
|
295
|
-
* Disable route propagation. Prevent any prefixes from being announced in the
|
|
296
|
-
* BGP session. Traffic will not be able to flow over the InterLink until
|
|
297
|
-
* route propagation is re-enabled.
|
|
350
|
+
* Disable route propagation. Prevent any prefixes from being announced in the BGP session. Traffic will not be able to flow over the InterLink until route propagation is re-enabled.
|
|
298
351
|
*
|
|
299
352
|
* @param request - The request {@link DisableRoutePropagationRequest}
|
|
300
353
|
* @returns A Promise of Link
|
|
@@ -328,9 +381,7 @@ class API extends API$1 {
|
|
|
328
381
|
unmarshalListRoutingPoliciesResponse
|
|
329
382
|
);
|
|
330
383
|
/**
|
|
331
|
-
* List routing policies. List all routing policies in a given region. A
|
|
332
|
-
* routing policy can be attached to one or multiple links (InterLink
|
|
333
|
-
* connections).
|
|
384
|
+
* List routing policies. List all routing policies in a given region. A routing policy can be attached to one or multiple links (InterLink connections).
|
|
334
385
|
*
|
|
335
386
|
* @param request - The request {@link ListRoutingPoliciesRequest}
|
|
336
387
|
* @returns A Promise of ListRoutingPoliciesResponse
|
|
@@ -341,9 +392,7 @@ class API extends API$1 {
|
|
|
341
392
|
request
|
|
342
393
|
);
|
|
343
394
|
/**
|
|
344
|
-
* Get routing policy. Get a routing policy for the given routing policy ID.
|
|
345
|
-
* The response object gives information including the policy's name, tags and
|
|
346
|
-
* prefix filters.
|
|
395
|
+
* Get routing policy. Get a routing policy for the given routing policy ID. The response object gives information including the policy's name, tags and prefix filters.
|
|
347
396
|
*
|
|
348
397
|
* @param request - The request {@link GetRoutingPolicyRequest}
|
|
349
398
|
* @returns A Promise of RoutingPolicy
|
|
@@ -356,9 +405,7 @@ class API extends API$1 {
|
|
|
356
405
|
unmarshalRoutingPolicy
|
|
357
406
|
);
|
|
358
407
|
/**
|
|
359
|
-
* Create a routing policy. Create a routing policy. Routing policies allow
|
|
360
|
-
* you to set IP prefix filters to define the incoming route announcements to
|
|
361
|
-
* accept from the peer, and the outgoing routes to announce to the peer.
|
|
408
|
+
* Create a routing policy. Create a routing policy. Routing policies allow you to set IP prefix filters to define the incoming route announcements to accept from the peer, and the outgoing routes to announce to the peer.
|
|
362
409
|
*
|
|
363
410
|
* @param request - The request {@link CreateRoutingPolicyRequest}
|
|
364
411
|
* @returns A Promise of RoutingPolicy
|
|
@@ -375,9 +422,7 @@ class API extends API$1 {
|
|
|
375
422
|
unmarshalRoutingPolicy
|
|
376
423
|
);
|
|
377
424
|
/**
|
|
378
|
-
* Update a routing policy. Update an existing routing policy, specified by
|
|
379
|
-
* its routing policy ID. Its name, tags and incoming/outgoing prefix filters
|
|
380
|
-
* can be updated.
|
|
425
|
+
* Update a routing policy. Update an existing routing policy, specified by its routing policy ID. Its name, tags and incoming/outgoing prefix filters can be updated.
|
|
381
426
|
*
|
|
382
427
|
* @param request - The request {@link UpdateRoutingPolicyRequest}
|
|
383
428
|
* @returns A Promise of RoutingPolicy
|
|
@@ -394,8 +439,7 @@ class API extends API$1 {
|
|
|
394
439
|
unmarshalRoutingPolicy
|
|
395
440
|
);
|
|
396
441
|
/**
|
|
397
|
-
* Delete a routing policy. Delete an existing routing policy, specified by
|
|
398
|
-
* its routing policy ID.
|
|
442
|
+
* Delete a routing policy. Delete an existing routing policy, specified by its routing policy ID.
|
|
399
443
|
*
|
|
400
444
|
* @param request - The request {@link DeleteRoutingPolicyRequest}
|
|
401
445
|
*/
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const DEDICATED_CONNECTION_TRANSIENT_STATUSES = ["configuring"];
|
|
4
|
+
const LINK_TRANSIENT_STATUSES = ["configuring"];
|
|
5
|
+
exports.DEDICATED_CONNECTION_TRANSIENT_STATUSES = DEDICATED_CONNECTION_TRANSIENT_STATUSES;
|
|
6
|
+
exports.LINK_TRANSIENT_STATUSES = LINK_TRANSIENT_STATUSES;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { DedicatedConnectionStatus, LinkStatus } from './types.gen';
|
|
2
|
+
/** Lists transient statutes of the enum {@link DedicatedConnectionStatus}. */
|
|
3
|
+
export declare const DEDICATED_CONNECTION_TRANSIENT_STATUSES: DedicatedConnectionStatus[];
|
|
4
|
+
/** Lists transient statutes of the enum {@link LinkStatus}. */
|
|
5
|
+
export declare const LINK_TRANSIENT_STATUSES: LinkStatus[];
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const api_gen = require("./api.gen.cjs");
|
|
4
|
+
const content_gen = require("./content.gen.cjs");
|
|
4
5
|
const validationRules_gen = require("./validation-rules.gen.cjs");
|
|
5
6
|
exports.API = api_gen.API;
|
|
7
|
+
exports.DEDICATED_CONNECTION_TRANSIENT_STATUSES = content_gen.DEDICATED_CONNECTION_TRANSIENT_STATUSES;
|
|
8
|
+
exports.LINK_TRANSIENT_STATUSES = content_gen.LINK_TRANSIENT_STATUSES;
|
|
6
9
|
exports.ValidationRules = validationRules_gen;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
export { API } from './api.gen.js';
|
|
2
|
-
export
|
|
2
|
+
export * from './content.gen.js';
|
|
3
|
+
export type { AttachRoutingPolicyRequest, AttachVpcRequest, BgpConfig, BgpStatus, CreateLinkRequest, CreateRoutingPolicyRequest, DedicatedConnection, DedicatedConnectionStatus, DeleteLinkRequest, DeleteRoutingPolicyRequest, DetachRoutingPolicyRequest, DetachVpcRequest, DisableRoutePropagationRequest, EnableRoutePropagationRequest, GetDedicatedConnectionRequest, GetLinkRequest, GetPartnerRequest, GetPopRequest, GetRoutingPolicyRequest, Link, LinkKind, LinkStatus, ListDedicatedConnectionsRequest, ListDedicatedConnectionsRequestOrderBy, ListDedicatedConnectionsResponse, ListLinksRequest, ListLinksRequestOrderBy, ListLinksResponse, ListPartnersRequest, ListPartnersRequestOrderBy, ListPartnersResponse, ListPopsRequest, ListPopsRequestOrderBy, ListPopsResponse, ListRoutingPoliciesRequest, ListRoutingPoliciesRequestOrderBy, ListRoutingPoliciesResponse, Partner, PartnerHost, Pop, RoutingPolicy, SelfHost, UpdateLinkRequest, UpdateRoutingPolicyRequest, } from './types.gen';
|
|
3
4
|
export * as ValidationRules from './validation-rules.gen.js';
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import { API } from "./api.gen.js";
|
|
2
|
+
import { DEDICATED_CONNECTION_TRANSIENT_STATUSES, LINK_TRANSIENT_STATUSES } from "./content.gen.js";
|
|
2
3
|
import * as validationRules_gen from "./validation-rules.gen.js";
|
|
3
4
|
export {
|
|
4
5
|
API,
|
|
6
|
+
DEDICATED_CONNECTION_TRANSIENT_STATUSES,
|
|
7
|
+
LINK_TRANSIENT_STATUSES,
|
|
5
8
|
validationRules_gen as ValidationRules
|
|
6
9
|
};
|