@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,4 +1,4 @@
|
|
|
1
|
-
import type { Zone as ScwZone } from '
|
|
1
|
+
import type { Zone as ScwZone } from '@scaleway/sdk-client';
|
|
2
2
|
export type GatewayNetworkStatus = 'unknown_status' | 'created' | 'attaching' | 'configuring' | 'ready' | 'detaching';
|
|
3
3
|
export type GatewayStatus = 'unknown_status' | 'stopped' | 'allocating' | 'configuring' | 'running' | 'stopping' | 'failed' | 'deleting' | 'locked';
|
|
4
4
|
export type ListGatewayNetworksRequestOrderBy = 'created_at_asc' | 'created_at_desc' | 'status_asc' | 'status_desc';
|
|
@@ -7,483 +7,832 @@ export type ListIPsRequestOrderBy = 'created_at_asc' | 'created_at_desc' | 'addr
|
|
|
7
7
|
export type ListPatRulesRequestOrderBy = 'created_at_asc' | 'created_at_desc' | 'public_port_asc' | 'public_port_desc';
|
|
8
8
|
export type PatRuleProtocol = 'unknown_protocol' | 'both' | 'tcp' | 'udp';
|
|
9
9
|
export interface GatewayNetwork {
|
|
10
|
-
/**
|
|
10
|
+
/**
|
|
11
|
+
* ID of the Public Gateway-Private Network connection.
|
|
12
|
+
*/
|
|
11
13
|
id: string;
|
|
12
|
-
/**
|
|
14
|
+
/**
|
|
15
|
+
* Connection creation date.
|
|
16
|
+
*/
|
|
13
17
|
createdAt?: Date;
|
|
14
|
-
/**
|
|
18
|
+
/**
|
|
19
|
+
* Connection last modification date.
|
|
20
|
+
*/
|
|
15
21
|
updatedAt?: Date;
|
|
16
|
-
/**
|
|
22
|
+
/**
|
|
23
|
+
* ID of the connected Public Gateway.
|
|
24
|
+
*/
|
|
17
25
|
gatewayId: string;
|
|
18
|
-
/**
|
|
26
|
+
/**
|
|
27
|
+
* ID of the connected Private Network.
|
|
28
|
+
*/
|
|
19
29
|
privateNetworkId: string;
|
|
20
30
|
/**
|
|
21
|
-
* MAC address of the gateway in the Private Network (if the gateway is up and
|
|
22
|
-
* running).
|
|
31
|
+
* MAC address of the gateway in the Private Network (if the gateway is up and running).
|
|
23
32
|
*/
|
|
24
33
|
macAddress?: string;
|
|
25
34
|
/**
|
|
26
|
-
* Defines whether the gateway masquerades traffic for this Private Network
|
|
27
|
-
* (Dynamic NAT).
|
|
35
|
+
* Defines whether the gateway masquerades traffic for this Private Network (Dynamic NAT).
|
|
28
36
|
*/
|
|
29
37
|
masqueradeEnabled: boolean;
|
|
30
|
-
/**
|
|
38
|
+
/**
|
|
39
|
+
* Current status of the Public Gateway's connection to the Private Network.
|
|
40
|
+
*/
|
|
31
41
|
status: GatewayNetworkStatus;
|
|
32
|
-
/**
|
|
42
|
+
/**
|
|
43
|
+
* Enabling the default route also enables masquerading.
|
|
44
|
+
*/
|
|
33
45
|
pushDefaultRoute: boolean;
|
|
34
|
-
/**
|
|
46
|
+
/**
|
|
47
|
+
* Use this IPAM-booked IP ID as the Gateway's IP in this Private Network.
|
|
48
|
+
*/
|
|
35
49
|
ipamIpId: string;
|
|
36
|
-
/**
|
|
50
|
+
/**
|
|
51
|
+
* Zone of the GatewayNetwork connection.
|
|
52
|
+
*/
|
|
37
53
|
zone: ScwZone;
|
|
38
54
|
}
|
|
39
55
|
export interface IP {
|
|
40
|
-
/**
|
|
56
|
+
/**
|
|
57
|
+
* IP address ID.
|
|
58
|
+
*/
|
|
41
59
|
id: string;
|
|
42
|
-
/**
|
|
60
|
+
/**
|
|
61
|
+
* Owning Organization.
|
|
62
|
+
*/
|
|
43
63
|
organizationId: string;
|
|
44
|
-
/**
|
|
64
|
+
/**
|
|
65
|
+
* Owning Project.
|
|
66
|
+
*/
|
|
45
67
|
projectId: string;
|
|
46
|
-
/**
|
|
68
|
+
/**
|
|
69
|
+
* IP address creation date.
|
|
70
|
+
*/
|
|
47
71
|
createdAt?: Date;
|
|
48
|
-
/**
|
|
72
|
+
/**
|
|
73
|
+
* IP address last modification date.
|
|
74
|
+
*/
|
|
49
75
|
updatedAt?: Date;
|
|
50
|
-
/**
|
|
76
|
+
/**
|
|
77
|
+
* Tags associated with the IP address.
|
|
78
|
+
*/
|
|
51
79
|
tags: string[];
|
|
52
|
-
/**
|
|
80
|
+
/**
|
|
81
|
+
* The IP address itself.
|
|
82
|
+
*/
|
|
53
83
|
address: string;
|
|
54
|
-
/**
|
|
84
|
+
/**
|
|
85
|
+
* Reverse domain name for the IP address.
|
|
86
|
+
*/
|
|
55
87
|
reverse?: string;
|
|
56
|
-
/**
|
|
88
|
+
/**
|
|
89
|
+
* Public Gateway associated with the IP address.
|
|
90
|
+
*/
|
|
57
91
|
gatewayId?: string;
|
|
58
|
-
/**
|
|
92
|
+
/**
|
|
93
|
+
* Zone of the IP address.
|
|
94
|
+
*/
|
|
59
95
|
zone: ScwZone;
|
|
60
96
|
}
|
|
61
97
|
export interface GatewayType {
|
|
62
|
-
/**
|
|
98
|
+
/**
|
|
99
|
+
* Public Gateway type name.
|
|
100
|
+
*/
|
|
63
101
|
name: string;
|
|
64
102
|
/**
|
|
65
|
-
* Bandwidth, in bps, of the Public Gateway. This is the public bandwidth to
|
|
66
|
-
* the outer Internet, and the internal bandwidth to each connected Private
|
|
67
|
-
* Networks.
|
|
103
|
+
* Bandwidth, in bps, of the Public Gateway. This is the public bandwidth to the outer Internet, and the internal bandwidth to each connected Private Networks.
|
|
68
104
|
*/
|
|
69
105
|
bandwidth: number;
|
|
70
|
-
/**
|
|
106
|
+
/**
|
|
107
|
+
* Zone the Public Gateway type is available in.
|
|
108
|
+
*/
|
|
71
109
|
zone: ScwZone;
|
|
72
110
|
}
|
|
73
111
|
export interface Gateway {
|
|
74
|
-
/**
|
|
112
|
+
/**
|
|
113
|
+
* ID of the gateway.
|
|
114
|
+
*/
|
|
75
115
|
id: string;
|
|
76
|
-
/**
|
|
116
|
+
/**
|
|
117
|
+
* Owning Organization.
|
|
118
|
+
*/
|
|
77
119
|
organizationId: string;
|
|
78
|
-
/**
|
|
120
|
+
/**
|
|
121
|
+
* Owning Project.
|
|
122
|
+
*/
|
|
79
123
|
projectId: string;
|
|
80
|
-
/**
|
|
124
|
+
/**
|
|
125
|
+
* Gateway creation date.
|
|
126
|
+
*/
|
|
81
127
|
createdAt?: Date;
|
|
82
|
-
/**
|
|
128
|
+
/**
|
|
129
|
+
* Gateway last modification date.
|
|
130
|
+
*/
|
|
83
131
|
updatedAt?: Date;
|
|
84
|
-
/**
|
|
132
|
+
/**
|
|
133
|
+
* Gateway type name (commercial offer).
|
|
134
|
+
*/
|
|
85
135
|
type: string;
|
|
86
|
-
/**
|
|
136
|
+
/**
|
|
137
|
+
* Bandwidth available of the gateway.
|
|
138
|
+
*/
|
|
87
139
|
bandwidth: number;
|
|
88
|
-
/**
|
|
140
|
+
/**
|
|
141
|
+
* Current status of the gateway.
|
|
142
|
+
*/
|
|
89
143
|
status: GatewayStatus;
|
|
90
|
-
/**
|
|
144
|
+
/**
|
|
145
|
+
* Name of the gateway.
|
|
146
|
+
*/
|
|
91
147
|
name: string;
|
|
92
|
-
/**
|
|
148
|
+
/**
|
|
149
|
+
* Tags associated with the gateway.
|
|
150
|
+
*/
|
|
93
151
|
tags: string[];
|
|
94
|
-
/**
|
|
152
|
+
/**
|
|
153
|
+
* Public IPv4 address of the gateway.
|
|
154
|
+
*/
|
|
95
155
|
ipv4?: IP;
|
|
96
156
|
/**
|
|
97
|
-
* GatewayNetwork objects attached to the gateway (each one represents a
|
|
98
|
-
* connection to a Private Network).
|
|
157
|
+
* GatewayNetwork objects attached to the gateway (each one represents a connection to a Private Network).
|
|
99
158
|
*/
|
|
100
159
|
gatewayNetworks: GatewayNetwork[];
|
|
101
|
-
/**
|
|
160
|
+
/**
|
|
161
|
+
* Version of the running gateway software.
|
|
162
|
+
*/
|
|
102
163
|
version?: string;
|
|
103
|
-
/**
|
|
164
|
+
/**
|
|
165
|
+
* Newly available gateway software version that can be updated to.
|
|
166
|
+
*/
|
|
104
167
|
canUpgradeTo?: string;
|
|
105
|
-
/**
|
|
168
|
+
/**
|
|
169
|
+
* Defines whether SSH bastion is enabled on the gateway.
|
|
170
|
+
*/
|
|
106
171
|
bastionEnabled: boolean;
|
|
107
|
-
/**
|
|
172
|
+
/**
|
|
173
|
+
* Port of the SSH bastion.
|
|
174
|
+
*/
|
|
108
175
|
bastionPort: number;
|
|
109
|
-
/**
|
|
176
|
+
/**
|
|
177
|
+
* Defines whether SMTP traffic is allowed to pass through the gateway.
|
|
178
|
+
*/
|
|
110
179
|
smtpEnabled: boolean;
|
|
111
|
-
/**
|
|
180
|
+
/**
|
|
181
|
+
* Defines whether the gateway uses non-IPAM IP configurations.
|
|
182
|
+
*/
|
|
112
183
|
isLegacy: boolean;
|
|
113
|
-
/**
|
|
184
|
+
/**
|
|
185
|
+
* Ranges of IP addresses allowed to connect to the gateway's SSH bastion.
|
|
186
|
+
*/
|
|
114
187
|
bastionAllowedIps: string[];
|
|
115
|
-
/**
|
|
188
|
+
/**
|
|
189
|
+
* Zone of the gateway.
|
|
190
|
+
*/
|
|
116
191
|
zone: ScwZone;
|
|
117
192
|
}
|
|
118
193
|
export interface PatRule {
|
|
119
|
-
/**
|
|
194
|
+
/**
|
|
195
|
+
* PAT rule ID.
|
|
196
|
+
*/
|
|
120
197
|
id: string;
|
|
121
|
-
/**
|
|
198
|
+
/**
|
|
199
|
+
* Gateway the PAT rule applies to.
|
|
200
|
+
*/
|
|
122
201
|
gatewayId: string;
|
|
123
|
-
/**
|
|
202
|
+
/**
|
|
203
|
+
* PAT rule creation date.
|
|
204
|
+
*/
|
|
124
205
|
createdAt?: Date;
|
|
125
|
-
/**
|
|
206
|
+
/**
|
|
207
|
+
* PAT rule last modification date.
|
|
208
|
+
*/
|
|
126
209
|
updatedAt?: Date;
|
|
127
|
-
/**
|
|
210
|
+
/**
|
|
211
|
+
* Public port to listen on.
|
|
212
|
+
*/
|
|
128
213
|
publicPort: number;
|
|
129
|
-
/**
|
|
214
|
+
/**
|
|
215
|
+
* Private IP address to forward data to.
|
|
216
|
+
*/
|
|
130
217
|
privateIp: string;
|
|
131
|
-
/**
|
|
218
|
+
/**
|
|
219
|
+
* Private port to translate to.
|
|
220
|
+
*/
|
|
132
221
|
privatePort: number;
|
|
133
|
-
/**
|
|
222
|
+
/**
|
|
223
|
+
* Protocol the rule applies to.
|
|
224
|
+
*/
|
|
134
225
|
protocol: PatRuleProtocol;
|
|
135
|
-
/**
|
|
226
|
+
/**
|
|
227
|
+
* Zone of the PAT rule.
|
|
228
|
+
*/
|
|
136
229
|
zone: ScwZone;
|
|
137
230
|
}
|
|
138
231
|
export interface SetPatRulesRequestRule {
|
|
139
232
|
/**
|
|
140
|
-
* Public port to listen on. Uniquely identifies the rule, and a matching rule
|
|
141
|
-
* will be updated with the new parameters.
|
|
233
|
+
* Public port to listen on. Uniquely identifies the rule, and a matching rule will be updated with the new parameters.
|
|
142
234
|
*/
|
|
143
235
|
publicPort: number;
|
|
144
|
-
/**
|
|
236
|
+
/**
|
|
237
|
+
* Private IP to forward data to.
|
|
238
|
+
*/
|
|
145
239
|
privateIp: string;
|
|
146
|
-
/**
|
|
240
|
+
/**
|
|
241
|
+
* Private port to translate to.
|
|
242
|
+
*/
|
|
147
243
|
privatePort: number;
|
|
148
|
-
/**
|
|
244
|
+
/**
|
|
245
|
+
* Protocol the rule should apply to.
|
|
246
|
+
*/
|
|
149
247
|
protocol: PatRuleProtocol;
|
|
150
248
|
}
|
|
151
249
|
export type AddBastionAllowedIPsRequest = {
|
|
152
|
-
/**
|
|
250
|
+
/**
|
|
251
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
252
|
+
*/
|
|
153
253
|
zone?: ScwZone;
|
|
154
|
-
/**
|
|
254
|
+
/**
|
|
255
|
+
* ID of the gateway to add the allowed IP range to.
|
|
256
|
+
*/
|
|
155
257
|
gatewayId: string;
|
|
156
|
-
/**
|
|
258
|
+
/**
|
|
259
|
+
* IP range allowed to connect to the SSH bastion.
|
|
260
|
+
*/
|
|
157
261
|
ipRange: string;
|
|
158
262
|
};
|
|
159
263
|
export interface AddBastionAllowedIPsResponse {
|
|
160
|
-
/**
|
|
264
|
+
/**
|
|
265
|
+
* Ranges of IP addresses allowed to connect to the gateway's SSH bastion.
|
|
266
|
+
*/
|
|
161
267
|
ipRanges: string[];
|
|
162
268
|
}
|
|
163
269
|
export type CreateGatewayNetworkRequest = {
|
|
164
|
-
/**
|
|
270
|
+
/**
|
|
271
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
272
|
+
*/
|
|
165
273
|
zone?: ScwZone;
|
|
166
|
-
/**
|
|
274
|
+
/**
|
|
275
|
+
* Public Gateway to connect.
|
|
276
|
+
*/
|
|
167
277
|
gatewayId: string;
|
|
168
|
-
/**
|
|
278
|
+
/**
|
|
279
|
+
* Private Network to connect.
|
|
280
|
+
*/
|
|
169
281
|
privateNetworkId: string;
|
|
170
|
-
/**
|
|
282
|
+
/**
|
|
283
|
+
* Defines whether to enable masquerade (dynamic NAT) on the GatewayNetwork.
|
|
284
|
+
*/
|
|
171
285
|
enableMasquerade: boolean;
|
|
172
|
-
/**
|
|
286
|
+
/**
|
|
287
|
+
* Enabling the default route also enables masquerading.
|
|
288
|
+
*/
|
|
173
289
|
pushDefaultRoute: boolean;
|
|
174
|
-
/**
|
|
290
|
+
/**
|
|
291
|
+
* Use this IPAM-booked IP ID as the Gateway's IP in this Private Network.
|
|
292
|
+
*/
|
|
175
293
|
ipamIpId?: string;
|
|
176
294
|
};
|
|
177
295
|
export type CreateGatewayRequest = {
|
|
178
|
-
/**
|
|
296
|
+
/**
|
|
297
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
298
|
+
*/
|
|
179
299
|
zone?: ScwZone;
|
|
180
|
-
/**
|
|
300
|
+
/**
|
|
301
|
+
* Scaleway Project to create the gateway in.
|
|
302
|
+
*/
|
|
181
303
|
projectId?: string;
|
|
182
|
-
/**
|
|
304
|
+
/**
|
|
305
|
+
* Name for the gateway.
|
|
306
|
+
*/
|
|
183
307
|
name?: string;
|
|
184
|
-
/**
|
|
308
|
+
/**
|
|
309
|
+
* Tags for the gateway.
|
|
310
|
+
*/
|
|
185
311
|
tags?: string[];
|
|
186
|
-
/**
|
|
312
|
+
/**
|
|
313
|
+
* Gateway type (commercial offer type).
|
|
314
|
+
*/
|
|
187
315
|
type: string;
|
|
188
|
-
/**
|
|
316
|
+
/**
|
|
317
|
+
* Existing IP address to attach to the gateway.
|
|
318
|
+
*/
|
|
189
319
|
ipId?: string;
|
|
190
|
-
/**
|
|
320
|
+
/**
|
|
321
|
+
* Defines whether SMTP traffic should be allowed pass through the gateway.
|
|
322
|
+
*/
|
|
191
323
|
enableSmtp: boolean;
|
|
192
|
-
/**
|
|
324
|
+
/**
|
|
325
|
+
* Defines whether SSH bastion should be enabled the gateway.
|
|
326
|
+
*/
|
|
193
327
|
enableBastion: boolean;
|
|
194
|
-
/**
|
|
328
|
+
/**
|
|
329
|
+
* Port of the SSH bastion.
|
|
330
|
+
*/
|
|
195
331
|
bastionPort?: number;
|
|
196
332
|
};
|
|
197
333
|
export type CreateIPRequest = {
|
|
198
|
-
/**
|
|
334
|
+
/**
|
|
335
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
336
|
+
*/
|
|
199
337
|
zone?: ScwZone;
|
|
200
|
-
/**
|
|
338
|
+
/**
|
|
339
|
+
* Project to create the IP address in.
|
|
340
|
+
*/
|
|
201
341
|
projectId?: string;
|
|
202
|
-
/**
|
|
342
|
+
/**
|
|
343
|
+
* Tags to give to the IP address.
|
|
344
|
+
*/
|
|
203
345
|
tags?: string[];
|
|
204
346
|
};
|
|
205
347
|
export type CreatePatRuleRequest = {
|
|
206
|
-
/**
|
|
348
|
+
/**
|
|
349
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
350
|
+
*/
|
|
207
351
|
zone?: ScwZone;
|
|
208
|
-
/**
|
|
352
|
+
/**
|
|
353
|
+
* ID of the Gateway on which to create the rule.
|
|
354
|
+
*/
|
|
209
355
|
gatewayId: string;
|
|
210
|
-
/**
|
|
356
|
+
/**
|
|
357
|
+
* Public port to listen on.
|
|
358
|
+
*/
|
|
211
359
|
publicPort: number;
|
|
212
|
-
/**
|
|
360
|
+
/**
|
|
361
|
+
* Private IP to forward data to.
|
|
362
|
+
*/
|
|
213
363
|
privateIp: string;
|
|
214
|
-
/**
|
|
364
|
+
/**
|
|
365
|
+
* Private port to translate to.
|
|
366
|
+
*/
|
|
215
367
|
privatePort: number;
|
|
216
|
-
/**
|
|
368
|
+
/**
|
|
369
|
+
* Protocol the rule should apply to.
|
|
370
|
+
*/
|
|
217
371
|
protocol?: PatRuleProtocol;
|
|
218
372
|
};
|
|
219
373
|
export type DeleteBastionAllowedIPsRequest = {
|
|
220
|
-
/**
|
|
374
|
+
/**
|
|
375
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
376
|
+
*/
|
|
221
377
|
zone?: ScwZone;
|
|
222
|
-
/**
|
|
378
|
+
/**
|
|
379
|
+
* ID of the gateway on which to delete the allowed IP range.
|
|
380
|
+
*/
|
|
223
381
|
gatewayId: string;
|
|
224
|
-
/**
|
|
382
|
+
/**
|
|
383
|
+
* IP range to delete from SSH bastion's list of allowed IPs.
|
|
384
|
+
*/
|
|
225
385
|
ipRange: string;
|
|
226
386
|
};
|
|
227
387
|
export type DeleteGatewayNetworkRequest = {
|
|
228
|
-
/**
|
|
388
|
+
/**
|
|
389
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
390
|
+
*/
|
|
229
391
|
zone?: ScwZone;
|
|
230
|
-
/**
|
|
392
|
+
/**
|
|
393
|
+
* ID of the GatewayNetwork to delete.
|
|
394
|
+
*/
|
|
231
395
|
gatewayNetworkId: string;
|
|
232
396
|
};
|
|
233
397
|
export type DeleteGatewayRequest = {
|
|
234
|
-
/**
|
|
398
|
+
/**
|
|
399
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
400
|
+
*/
|
|
235
401
|
zone?: ScwZone;
|
|
236
|
-
/**
|
|
402
|
+
/**
|
|
403
|
+
* ID of the gateway to delete.
|
|
404
|
+
*/
|
|
237
405
|
gatewayId: string;
|
|
238
|
-
/**
|
|
406
|
+
/**
|
|
407
|
+
* Defines whether the PGW's IP should be deleted.
|
|
408
|
+
*/
|
|
239
409
|
deleteIp: boolean;
|
|
240
410
|
};
|
|
241
411
|
export type DeleteIPRequest = {
|
|
242
|
-
/**
|
|
412
|
+
/**
|
|
413
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
414
|
+
*/
|
|
243
415
|
zone?: ScwZone;
|
|
244
|
-
/**
|
|
416
|
+
/**
|
|
417
|
+
* ID of the IP address to delete.
|
|
418
|
+
*/
|
|
245
419
|
ipId: string;
|
|
246
420
|
};
|
|
247
421
|
export type DeletePatRuleRequest = {
|
|
248
|
-
/**
|
|
422
|
+
/**
|
|
423
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
424
|
+
*/
|
|
249
425
|
zone?: ScwZone;
|
|
250
|
-
/**
|
|
426
|
+
/**
|
|
427
|
+
* ID of the PAT rule to delete.
|
|
428
|
+
*/
|
|
251
429
|
patRuleId: string;
|
|
252
430
|
};
|
|
253
431
|
export type GetGatewayNetworkRequest = {
|
|
254
|
-
/**
|
|
432
|
+
/**
|
|
433
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
434
|
+
*/
|
|
255
435
|
zone?: ScwZone;
|
|
256
|
-
/**
|
|
436
|
+
/**
|
|
437
|
+
* ID of the GatewayNetwork to fetch.
|
|
438
|
+
*/
|
|
257
439
|
gatewayNetworkId: string;
|
|
258
440
|
};
|
|
259
441
|
export type GetGatewayRequest = {
|
|
260
|
-
/**
|
|
442
|
+
/**
|
|
443
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
444
|
+
*/
|
|
261
445
|
zone?: ScwZone;
|
|
262
|
-
/**
|
|
446
|
+
/**
|
|
447
|
+
* ID of the gateway to fetch.
|
|
448
|
+
*/
|
|
263
449
|
gatewayId: string;
|
|
264
450
|
};
|
|
265
451
|
export type GetIPRequest = {
|
|
266
|
-
/**
|
|
452
|
+
/**
|
|
453
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
454
|
+
*/
|
|
267
455
|
zone?: ScwZone;
|
|
268
|
-
/**
|
|
456
|
+
/**
|
|
457
|
+
* ID of the IP address to get.
|
|
458
|
+
*/
|
|
269
459
|
ipId: string;
|
|
270
460
|
};
|
|
271
461
|
export type GetPatRuleRequest = {
|
|
272
|
-
/**
|
|
462
|
+
/**
|
|
463
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
464
|
+
*/
|
|
273
465
|
zone?: ScwZone;
|
|
274
|
-
/**
|
|
466
|
+
/**
|
|
467
|
+
* ID of the PAT rule to get.
|
|
468
|
+
*/
|
|
275
469
|
patRuleId: string;
|
|
276
470
|
};
|
|
277
471
|
export type ListGatewayNetworksRequest = {
|
|
278
|
-
/**
|
|
472
|
+
/**
|
|
473
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
474
|
+
*/
|
|
279
475
|
zone?: ScwZone;
|
|
280
|
-
/**
|
|
476
|
+
/**
|
|
477
|
+
* Order in which to return results.
|
|
478
|
+
*/
|
|
281
479
|
orderBy?: ListGatewayNetworksRequestOrderBy;
|
|
282
|
-
/**
|
|
480
|
+
/**
|
|
481
|
+
* Page number.
|
|
482
|
+
*/
|
|
283
483
|
page?: number;
|
|
284
|
-
/**
|
|
484
|
+
/**
|
|
485
|
+
* GatewayNetworks per page.
|
|
486
|
+
*/
|
|
285
487
|
pageSize?: number;
|
|
286
488
|
/**
|
|
287
|
-
* Filter for GatewayNetworks with these status. Use `unknown` to include all
|
|
288
|
-
* statuses.
|
|
489
|
+
* Filter for GatewayNetworks with these status. Use `unknown` to include all statuses.
|
|
289
490
|
*/
|
|
290
491
|
status?: GatewayNetworkStatus[];
|
|
291
|
-
/**
|
|
492
|
+
/**
|
|
493
|
+
* Filter for GatewayNetworks connected to these gateways.
|
|
494
|
+
*/
|
|
292
495
|
gatewayIds?: string[];
|
|
293
|
-
/**
|
|
496
|
+
/**
|
|
497
|
+
* Filter for GatewayNetworks connected to these Private Networks.
|
|
498
|
+
*/
|
|
294
499
|
privateNetworkIds?: string[];
|
|
295
|
-
/**
|
|
500
|
+
/**
|
|
501
|
+
* Filter for GatewayNetworks with this `enable_masquerade` setting.
|
|
502
|
+
*/
|
|
296
503
|
masqueradeEnabled?: boolean;
|
|
297
504
|
};
|
|
298
505
|
export interface ListGatewayNetworksResponse {
|
|
299
|
-
/**
|
|
506
|
+
/**
|
|
507
|
+
* GatewayNetworks on this page.
|
|
508
|
+
*/
|
|
300
509
|
gatewayNetworks: GatewayNetwork[];
|
|
301
|
-
/**
|
|
510
|
+
/**
|
|
511
|
+
* Total GatewayNetworks count matching the filter.
|
|
512
|
+
*/
|
|
302
513
|
totalCount: number;
|
|
303
514
|
}
|
|
304
515
|
export type ListGatewayTypesRequest = {
|
|
305
|
-
/**
|
|
516
|
+
/**
|
|
517
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
518
|
+
*/
|
|
306
519
|
zone?: ScwZone;
|
|
307
520
|
};
|
|
308
521
|
export interface ListGatewayTypesResponse {
|
|
309
|
-
/**
|
|
522
|
+
/**
|
|
523
|
+
* Available types of Public Gateway.
|
|
524
|
+
*/
|
|
310
525
|
types: GatewayType[];
|
|
311
526
|
}
|
|
312
527
|
export type ListGatewaysRequest = {
|
|
313
|
-
/**
|
|
528
|
+
/**
|
|
529
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
530
|
+
*/
|
|
314
531
|
zone?: ScwZone;
|
|
315
|
-
/**
|
|
532
|
+
/**
|
|
533
|
+
* Order in which to return results.
|
|
534
|
+
*/
|
|
316
535
|
orderBy?: ListGatewaysRequestOrderBy;
|
|
317
|
-
/**
|
|
536
|
+
/**
|
|
537
|
+
* Page number to return.
|
|
538
|
+
*/
|
|
318
539
|
page?: number;
|
|
319
|
-
/**
|
|
540
|
+
/**
|
|
541
|
+
* Gateways per page.
|
|
542
|
+
*/
|
|
320
543
|
pageSize?: number;
|
|
321
|
-
/**
|
|
544
|
+
/**
|
|
545
|
+
* Include only gateways in this Organization.
|
|
546
|
+
*/
|
|
322
547
|
organizationId?: string;
|
|
323
|
-
/**
|
|
548
|
+
/**
|
|
549
|
+
* Include only gateways in this Project.
|
|
550
|
+
*/
|
|
324
551
|
projectId?: string;
|
|
325
|
-
/**
|
|
552
|
+
/**
|
|
553
|
+
* Filter for gateways which have this search term in their name.
|
|
554
|
+
*/
|
|
326
555
|
name?: string;
|
|
327
|
-
/**
|
|
556
|
+
/**
|
|
557
|
+
* Filter for gateways with these tags.
|
|
558
|
+
*/
|
|
328
559
|
tags?: string[];
|
|
329
|
-
/**
|
|
560
|
+
/**
|
|
561
|
+
* Filter for gateways of these types.
|
|
562
|
+
*/
|
|
330
563
|
types?: string[];
|
|
331
564
|
/**
|
|
332
|
-
* Filter for gateways with these status. Use `unknown` to include all
|
|
333
|
-
* statuses.
|
|
565
|
+
* Filter for gateways with these status. Use `unknown` to include all statuses.
|
|
334
566
|
*/
|
|
335
567
|
status?: GatewayStatus[];
|
|
336
|
-
/**
|
|
568
|
+
/**
|
|
569
|
+
* Filter for gateways attached to these Private Networks.
|
|
570
|
+
*/
|
|
337
571
|
privateNetworkIds?: string[];
|
|
338
|
-
/**
|
|
572
|
+
/**
|
|
573
|
+
* Include also legacy gateways.
|
|
574
|
+
*/
|
|
339
575
|
includeLegacy?: boolean;
|
|
340
576
|
};
|
|
341
577
|
export interface ListGatewaysResponse {
|
|
342
|
-
/**
|
|
578
|
+
/**
|
|
579
|
+
* Gateways on this page.
|
|
580
|
+
*/
|
|
343
581
|
gateways: Gateway[];
|
|
344
|
-
/**
|
|
582
|
+
/**
|
|
583
|
+
* Total count of gateways matching the filter.
|
|
584
|
+
*/
|
|
345
585
|
totalCount: number;
|
|
346
586
|
}
|
|
347
587
|
export type ListIPsRequest = {
|
|
348
|
-
/**
|
|
588
|
+
/**
|
|
589
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
590
|
+
*/
|
|
349
591
|
zone?: ScwZone;
|
|
350
|
-
/**
|
|
592
|
+
/**
|
|
593
|
+
* Order in which to return results.
|
|
594
|
+
*/
|
|
351
595
|
orderBy?: ListIPsRequestOrderBy;
|
|
352
|
-
/**
|
|
596
|
+
/**
|
|
597
|
+
* Page number.
|
|
598
|
+
*/
|
|
353
599
|
page?: number;
|
|
354
|
-
/**
|
|
600
|
+
/**
|
|
601
|
+
* IP addresses per page.
|
|
602
|
+
*/
|
|
355
603
|
pageSize?: number;
|
|
356
|
-
/**
|
|
604
|
+
/**
|
|
605
|
+
* Include only gateways in this Organization.
|
|
606
|
+
*/
|
|
357
607
|
organizationId?: string;
|
|
358
|
-
/**
|
|
608
|
+
/**
|
|
609
|
+
* Filter for IP addresses in this Project.
|
|
610
|
+
*/
|
|
359
611
|
projectId?: string;
|
|
360
|
-
/**
|
|
612
|
+
/**
|
|
613
|
+
* Filter for IP addresses with these tags.
|
|
614
|
+
*/
|
|
361
615
|
tags?: string[];
|
|
362
|
-
/**
|
|
616
|
+
/**
|
|
617
|
+
* Filter for IP addresses that have a reverse containing this string.
|
|
618
|
+
*/
|
|
363
619
|
reverse?: string;
|
|
364
|
-
/**
|
|
620
|
+
/**
|
|
621
|
+
* Filter based on whether the IP is attached to a gateway or not.
|
|
622
|
+
*/
|
|
365
623
|
isFree?: boolean;
|
|
366
624
|
};
|
|
367
625
|
export interface ListIPsResponse {
|
|
368
|
-
/**
|
|
626
|
+
/**
|
|
627
|
+
* IP addresses on this page.
|
|
628
|
+
*/
|
|
369
629
|
ips: IP[];
|
|
370
|
-
/**
|
|
630
|
+
/**
|
|
631
|
+
* Total count of IP addresses matching the filter.
|
|
632
|
+
*/
|
|
371
633
|
totalCount: number;
|
|
372
634
|
}
|
|
373
635
|
export type ListPatRulesRequest = {
|
|
374
|
-
/**
|
|
636
|
+
/**
|
|
637
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
638
|
+
*/
|
|
375
639
|
zone?: ScwZone;
|
|
376
|
-
/**
|
|
640
|
+
/**
|
|
641
|
+
* Order in which to return results.
|
|
642
|
+
*/
|
|
377
643
|
orderBy?: ListPatRulesRequestOrderBy;
|
|
378
|
-
/**
|
|
644
|
+
/**
|
|
645
|
+
* Page number.
|
|
646
|
+
*/
|
|
379
647
|
page?: number;
|
|
380
|
-
/**
|
|
648
|
+
/**
|
|
649
|
+
* PAT rules per page.
|
|
650
|
+
*/
|
|
381
651
|
pageSize?: number;
|
|
382
|
-
/**
|
|
652
|
+
/**
|
|
653
|
+
* Filter for PAT rules on these gateways.
|
|
654
|
+
*/
|
|
383
655
|
gatewayIds?: string[];
|
|
384
|
-
/**
|
|
656
|
+
/**
|
|
657
|
+
* Filter for PAT rules targeting these private ips.
|
|
658
|
+
*/
|
|
385
659
|
privateIps?: string[];
|
|
386
|
-
/**
|
|
660
|
+
/**
|
|
661
|
+
* Filter for PAT rules with this protocol.
|
|
662
|
+
*/
|
|
387
663
|
protocol?: PatRuleProtocol;
|
|
388
664
|
};
|
|
389
665
|
export interface ListPatRulesResponse {
|
|
390
|
-
/**
|
|
666
|
+
/**
|
|
667
|
+
* Array of PAT rules matching the filter.
|
|
668
|
+
*/
|
|
391
669
|
patRules: PatRule[];
|
|
392
|
-
/**
|
|
670
|
+
/**
|
|
671
|
+
* Total count of PAT rules matching the filter.
|
|
672
|
+
*/
|
|
393
673
|
totalCount: number;
|
|
394
674
|
}
|
|
395
675
|
export type RefreshSSHKeysRequest = {
|
|
396
|
-
/**
|
|
676
|
+
/**
|
|
677
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
678
|
+
*/
|
|
397
679
|
zone?: ScwZone;
|
|
398
|
-
/**
|
|
680
|
+
/**
|
|
681
|
+
* ID of the gateway to refresh SSH keys on.
|
|
682
|
+
*/
|
|
399
683
|
gatewayId: string;
|
|
400
684
|
};
|
|
401
685
|
export type SetBastionAllowedIPsRequest = {
|
|
402
|
-
/**
|
|
686
|
+
/**
|
|
687
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
688
|
+
*/
|
|
403
689
|
zone?: ScwZone;
|
|
404
|
-
/**
|
|
690
|
+
/**
|
|
691
|
+
* ID of the gateway on which to set the allowed IP range.
|
|
692
|
+
*/
|
|
405
693
|
gatewayId: string;
|
|
406
694
|
/**
|
|
407
|
-
* New list of IP ranges (each range in CIDR notation) allowed to connect to
|
|
408
|
-
* the SSH bastion.
|
|
695
|
+
* New list of IP ranges (each range in CIDR notation) allowed to connect to the SSH bastion.
|
|
409
696
|
*/
|
|
410
697
|
ipRanges?: string[];
|
|
411
698
|
};
|
|
412
699
|
export interface SetBastionAllowedIPsResponse {
|
|
413
|
-
/**
|
|
700
|
+
/**
|
|
701
|
+
* Ranges of IP addresses allowed to connect to the gateway's SSH bastion.
|
|
702
|
+
*/
|
|
414
703
|
ipRanges: string[];
|
|
415
704
|
}
|
|
416
705
|
export type SetPatRulesRequest = {
|
|
417
|
-
/**
|
|
706
|
+
/**
|
|
707
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
708
|
+
*/
|
|
418
709
|
zone?: ScwZone;
|
|
419
|
-
/**
|
|
710
|
+
/**
|
|
711
|
+
* ID of the gateway on which to set the PAT rules.
|
|
712
|
+
*/
|
|
420
713
|
gatewayId: string;
|
|
421
|
-
/**
|
|
714
|
+
/**
|
|
715
|
+
* New list of PAT rules.
|
|
716
|
+
*/
|
|
422
717
|
patRules: SetPatRulesRequestRule[];
|
|
423
718
|
};
|
|
424
719
|
export interface SetPatRulesResponse {
|
|
425
|
-
/**
|
|
720
|
+
/**
|
|
721
|
+
* List of PAT rules.
|
|
722
|
+
*/
|
|
426
723
|
patRules: PatRule[];
|
|
427
724
|
}
|
|
428
725
|
export type UpdateGatewayNetworkRequest = {
|
|
429
|
-
/**
|
|
726
|
+
/**
|
|
727
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
728
|
+
*/
|
|
430
729
|
zone?: ScwZone;
|
|
431
|
-
/**
|
|
730
|
+
/**
|
|
731
|
+
* ID of the GatewayNetwork to update.
|
|
732
|
+
*/
|
|
432
733
|
gatewayNetworkId: string;
|
|
433
|
-
/**
|
|
734
|
+
/**
|
|
735
|
+
* Defines whether to enable masquerade (dynamic NAT) on the GatewayNetwork.
|
|
736
|
+
*/
|
|
434
737
|
enableMasquerade?: boolean;
|
|
435
|
-
/**
|
|
738
|
+
/**
|
|
739
|
+
* Enabling the default route also enables masquerading.
|
|
740
|
+
*/
|
|
436
741
|
pushDefaultRoute?: boolean;
|
|
437
|
-
/**
|
|
742
|
+
/**
|
|
743
|
+
* Use this IPAM-booked IP ID as the Gateway's IP in this Private Network.
|
|
744
|
+
*/
|
|
438
745
|
ipamIpId?: string;
|
|
439
746
|
};
|
|
440
747
|
export type UpdateGatewayRequest = {
|
|
441
|
-
/**
|
|
748
|
+
/**
|
|
749
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
750
|
+
*/
|
|
442
751
|
zone?: ScwZone;
|
|
443
|
-
/**
|
|
752
|
+
/**
|
|
753
|
+
* ID of the gateway to update.
|
|
754
|
+
*/
|
|
444
755
|
gatewayId: string;
|
|
445
|
-
/**
|
|
756
|
+
/**
|
|
757
|
+
* Name for the gateway.
|
|
758
|
+
*/
|
|
446
759
|
name?: string;
|
|
447
|
-
/**
|
|
760
|
+
/**
|
|
761
|
+
* Tags for the gateway.
|
|
762
|
+
*/
|
|
448
763
|
tags?: string[];
|
|
449
|
-
/**
|
|
764
|
+
/**
|
|
765
|
+
* Defines whether SSH bastion should be enabled the gateway.
|
|
766
|
+
*/
|
|
450
767
|
enableBastion?: boolean;
|
|
451
|
-
/**
|
|
768
|
+
/**
|
|
769
|
+
* Port of the SSH bastion.
|
|
770
|
+
*/
|
|
452
771
|
bastionPort?: number;
|
|
453
|
-
/**
|
|
772
|
+
/**
|
|
773
|
+
* Defines whether SMTP traffic should be allowed to pass through the gateway.
|
|
774
|
+
*/
|
|
454
775
|
enableSmtp?: boolean;
|
|
455
776
|
};
|
|
456
777
|
export type UpdateIPRequest = {
|
|
457
|
-
/**
|
|
778
|
+
/**
|
|
779
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
780
|
+
*/
|
|
458
781
|
zone?: ScwZone;
|
|
459
|
-
/**
|
|
782
|
+
/**
|
|
783
|
+
* ID of the IP address to update.
|
|
784
|
+
*/
|
|
460
785
|
ipId: string;
|
|
461
|
-
/**
|
|
786
|
+
/**
|
|
787
|
+
* Tags to give to the IP address.
|
|
788
|
+
*/
|
|
462
789
|
tags?: string[];
|
|
463
|
-
/**
|
|
790
|
+
/**
|
|
791
|
+
* Reverse to set on the address. Empty string to unset.
|
|
792
|
+
*/
|
|
464
793
|
reverse?: string;
|
|
465
|
-
/**
|
|
794
|
+
/**
|
|
795
|
+
* Gateway to attach the IP address to. Empty string to detach.
|
|
796
|
+
*/
|
|
466
797
|
gatewayId?: string;
|
|
467
798
|
};
|
|
468
799
|
export type UpdatePatRuleRequest = {
|
|
469
|
-
/**
|
|
800
|
+
/**
|
|
801
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
802
|
+
*/
|
|
470
803
|
zone?: ScwZone;
|
|
471
|
-
/**
|
|
804
|
+
/**
|
|
805
|
+
* ID of the PAT rule to update.
|
|
806
|
+
*/
|
|
472
807
|
patRuleId: string;
|
|
473
|
-
/**
|
|
808
|
+
/**
|
|
809
|
+
* Public port to listen on.
|
|
810
|
+
*/
|
|
474
811
|
publicPort?: number;
|
|
475
|
-
/**
|
|
812
|
+
/**
|
|
813
|
+
* Private IP to forward data to.
|
|
814
|
+
*/
|
|
476
815
|
privateIp?: string;
|
|
477
|
-
/**
|
|
816
|
+
/**
|
|
817
|
+
* Private port to translate to.
|
|
818
|
+
*/
|
|
478
819
|
privatePort?: number;
|
|
479
|
-
/**
|
|
820
|
+
/**
|
|
821
|
+
* Protocol the rule should apply to.
|
|
822
|
+
*/
|
|
480
823
|
protocol?: PatRuleProtocol;
|
|
481
824
|
};
|
|
482
825
|
export type UpgradeGatewayRequest = {
|
|
483
|
-
/**
|
|
826
|
+
/**
|
|
827
|
+
* Zone to target. If none is passed will use default zone from the config.
|
|
828
|
+
*/
|
|
484
829
|
zone?: ScwZone;
|
|
485
|
-
/**
|
|
830
|
+
/**
|
|
831
|
+
* ID of the gateway to upgrade.
|
|
832
|
+
*/
|
|
486
833
|
gatewayId: string;
|
|
487
|
-
/**
|
|
834
|
+
/**
|
|
835
|
+
* Gateway type (commercial offer).
|
|
836
|
+
*/
|
|
488
837
|
type?: string;
|
|
489
838
|
};
|