@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,8 +1,9 @@
|
|
|
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 { urlParams, validatePathParam } 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";
|
|
6
7
|
import { SSL_CERTIFICATE_TRANSIENT_STATUSES, DOMAIN_TRANSIENT_STATUSES } from "./content.gen.js";
|
|
7
8
|
import { unmarshalListDNSZonesResponse, marshalCreateDNSZoneRequest, unmarshalDNSZone, marshalUpdateDNSZoneRequest, marshalCloneDNSZoneRequest, unmarshalDeleteDNSZoneResponse, unmarshalListDNSZoneRecordsResponse, marshalUpdateDNSZoneRecordsRequest, unmarshalUpdateDNSZoneRecordsResponse, unmarshalListDNSZoneNameserversResponse, marshalUpdateDNSZoneNameserversRequest, unmarshalUpdateDNSZoneNameserversResponse, unmarshalClearDNSZoneRecordsResponse, marshalImportRawDNSZoneRequest, unmarshalImportRawDNSZoneResponse, marshalImportProviderDNSZoneRequest, unmarshalImportProviderDNSZoneResponse, marshalRefreshDNSZoneRequest, unmarshalRefreshDNSZoneResponse, unmarshalListDNSZoneVersionsResponse, unmarshalListDNSZoneVersionRecordsResponse, unmarshalGetDNSZoneVersionDiffResponse, unmarshalRestoreDNSZoneVersionResponse, unmarshalSSLCertificate, marshalCreateSSLCertificateRequest, unmarshalListSSLCertificatesResponse, unmarshalDeleteSSLCertificateResponse, unmarshalGetDNSZoneTsigKeyResponse, unmarshalListTasksResponse, marshalRegistrarApiBuyDomainsRequest, unmarshalOrderResponse, marshalRegistrarApiRenewDomainsRequest, marshalRegistrarApiTransferInDomainRequest, marshalRegistrarApiTradeDomainRequest, marshalRegistrarApiRegisterExternalDomainRequest, unmarshalRegisterExternalDomainResponse, unmarshalDeleteExternalDomainResponse, marshalRegistrarApiCheckContactsCompatibilityRequest, unmarshalCheckContactsCompatibilityResponse, unmarshalListContactsResponse, unmarshalContact, marshalRegistrarApiUpdateContactRequest, unmarshalListDomainsResponse, unmarshalListRenewableDomainsResponse, unmarshalDomain, marshalRegistrarApiUpdateDomainRequest, unmarshalGetDomainAuthCodeResponse, marshalRegistrarApiEnableDomainDNSSECRequest, unmarshalSearchAvailableDomainsResponse, unmarshalListTldsResponse, marshalRegistrarApiCreateDomainHostRequest, unmarshalHost, unmarshalListDomainHostsResponse, marshalRegistrarApiUpdateDomainHostRequest } from "./marshalling.gen.js";
|
|
8
9
|
const jsonContentHeaders = {
|
|
@@ -34,16 +35,14 @@ class API extends API$1 {
|
|
|
34
35
|
unmarshalListDNSZonesResponse
|
|
35
36
|
);
|
|
36
37
|
/**
|
|
37
|
-
* List DNS zones. Retrieve the list of DNS zones you can manage and filter
|
|
38
|
-
* DNS zones associated with specific domain names.
|
|
38
|
+
* List DNS zones. Retrieve the list of DNS zones you can manage and filter DNS zones associated with specific domain names.
|
|
39
39
|
*
|
|
40
40
|
* @param request - The request {@link ListDNSZonesRequest}
|
|
41
41
|
* @returns A Promise of ListDNSZonesResponse
|
|
42
42
|
*/
|
|
43
43
|
listDNSZones = (request) => enrichForPagination("dnsZones", this.pageOfListDNSZones, request);
|
|
44
44
|
/**
|
|
45
|
-
* Create a DNS zone. Create a new DNS zone specified by the domain name, the
|
|
46
|
-
* subdomain and the Project ID.
|
|
45
|
+
* Create a DNS zone. Create a new DNS zone specified by the domain name, the subdomain and the Project ID.
|
|
47
46
|
*
|
|
48
47
|
* @param request - The request {@link CreateDNSZoneRequest}
|
|
49
48
|
* @returns A Promise of DNSZone
|
|
@@ -77,8 +76,7 @@ class API extends API$1 {
|
|
|
77
76
|
unmarshalDNSZone
|
|
78
77
|
);
|
|
79
78
|
/**
|
|
80
|
-
* Clone a DNS zone. Clone an existing DNS zone with all its records into a
|
|
81
|
-
* new DNS zone.
|
|
79
|
+
* Clone a DNS zone. Clone an existing DNS zone with all its records into a new DNS zone.
|
|
82
80
|
*
|
|
83
81
|
* @param request - The request {@link CloneDNSZoneRequest}
|
|
84
82
|
* @returns A Promise of DNSZone
|
|
@@ -131,33 +129,27 @@ class API extends API$1 {
|
|
|
131
129
|
unmarshalListDNSZoneRecordsResponse
|
|
132
130
|
);
|
|
133
131
|
/**
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
*/
|
|
132
|
+
* List records within a DNS zone. Retrieve a list of DNS records within a DNS zone that has default name servers.
|
|
133
|
+
You can filter records by type and name.
|
|
134
|
+
*
|
|
135
|
+
* @param request - The request {@link ListDNSZoneRecordsRequest}
|
|
136
|
+
* @returns A Promise of ListDNSZoneRecordsResponse
|
|
137
|
+
*/
|
|
141
138
|
listDNSZoneRecords = (request) => enrichForPagination("records", this.pageOfListDNSZoneRecords, request);
|
|
142
139
|
/**
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
* All edits will be versioned.
|
|
157
|
-
*
|
|
158
|
-
* @param request - The request {@link UpdateDNSZoneRecordsRequest}
|
|
159
|
-
* @returns A Promise of UpdateDNSZoneRecordsResponse
|
|
160
|
-
*/
|
|
140
|
+
* Update records within a DNS zone. Update records within a DNS zone that has default name servers and perform several actions on your records.
|
|
141
|
+
|
|
142
|
+
Actions include:
|
|
143
|
+
- add: allows you to add a new record or add a new IP to an existing A record, for example
|
|
144
|
+
- set: allows you to edit a record or edit an IP from an existing A record, for example
|
|
145
|
+
- delete: allows you to delete a record or delete an IP from an existing A record, for example
|
|
146
|
+
- clear: allows you to delete all records from a DNS zone
|
|
147
|
+
|
|
148
|
+
All edits will be versioned.
|
|
149
|
+
*
|
|
150
|
+
* @param request - The request {@link UpdateDNSZoneRecordsRequest}
|
|
151
|
+
* @returns A Promise of UpdateDNSZoneRecordsResponse
|
|
152
|
+
*/
|
|
161
153
|
updateDNSZoneRecords = (request) => this.client.fetch(
|
|
162
154
|
{
|
|
163
155
|
body: JSON.stringify(
|
|
@@ -170,8 +162,7 @@ class API extends API$1 {
|
|
|
170
162
|
unmarshalUpdateDNSZoneRecordsResponse
|
|
171
163
|
);
|
|
172
164
|
/**
|
|
173
|
-
* List name servers within a DNS zone. Retrieve a list of name servers within
|
|
174
|
-
* a DNS zone and their optional glue records.
|
|
165
|
+
* List name servers within a DNS zone. Retrieve a list of name servers within a DNS zone and their optional glue records.
|
|
175
166
|
*
|
|
176
167
|
* @param request - The request {@link ListDNSZoneNameserversRequest}
|
|
177
168
|
* @returns A Promise of ListDNSZoneNameserversResponse
|
|
@@ -185,8 +176,7 @@ class API extends API$1 {
|
|
|
185
176
|
unmarshalListDNSZoneNameserversResponse
|
|
186
177
|
);
|
|
187
178
|
/**
|
|
188
|
-
* Update name servers within a DNS zone. Update name servers within a DNS
|
|
189
|
-
* zone and set optional glue records.
|
|
179
|
+
* Update name servers within a DNS zone. Update name servers within a DNS zone and set optional glue records.
|
|
190
180
|
*
|
|
191
181
|
* @param request - The request {@link UpdateDNSZoneNameserversRequest}
|
|
192
182
|
* @returns A Promise of UpdateDNSZoneNameserversResponse
|
|
@@ -203,12 +193,12 @@ class API extends API$1 {
|
|
|
203
193
|
unmarshalUpdateDNSZoneNameserversResponse
|
|
204
194
|
);
|
|
205
195
|
/**
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
196
|
+
* Clear records within a DNS zone. Delete all records within a DNS zone that has default name servers.<br/>
|
|
197
|
+
All edits will be versioned.
|
|
198
|
+
*
|
|
199
|
+
* @param request - The request {@link ClearDNSZoneRecordsRequest}
|
|
200
|
+
* @returns A Promise of ClearDNSZoneRecordsResponse
|
|
201
|
+
*/
|
|
212
202
|
clearDNSZoneRecords = (request) => this.client.fetch(
|
|
213
203
|
{
|
|
214
204
|
method: "DELETE",
|
|
@@ -217,8 +207,7 @@ class API extends API$1 {
|
|
|
217
207
|
unmarshalClearDNSZoneRecordsResponse
|
|
218
208
|
);
|
|
219
209
|
/**
|
|
220
|
-
* Export a raw DNS zone. Export a DNS zone with default name servers, in a
|
|
221
|
-
* specific format.
|
|
210
|
+
* Export a raw DNS zone. Export a DNS zone with default name servers, in a specific format.
|
|
222
211
|
*
|
|
223
212
|
* @param request - The request {@link ExportRawDNSZoneRequest}
|
|
224
213
|
* @returns A Promise of Blob
|
|
@@ -230,8 +219,7 @@ class API extends API$1 {
|
|
|
230
219
|
responseType: "blob"
|
|
231
220
|
});
|
|
232
221
|
/**
|
|
233
|
-
* Import a raw DNS zone. Import and replace the format of records from a
|
|
234
|
-
* given provider, with default name servers.
|
|
222
|
+
* Import a raw DNS zone. Import and replace the format of records from a given provider, with default name servers.
|
|
235
223
|
*
|
|
236
224
|
* @param request - The request {@link ImportRawDNSZoneRequest}
|
|
237
225
|
* @returns A Promise of ImportRawDNSZoneResponse
|
|
@@ -248,8 +236,7 @@ class API extends API$1 {
|
|
|
248
236
|
unmarshalImportRawDNSZoneResponse
|
|
249
237
|
);
|
|
250
238
|
/**
|
|
251
|
-
* Import a DNS zone from another provider. Import and replace the format of
|
|
252
|
-
* records from a given provider, with default name servers.
|
|
239
|
+
* Import a DNS zone from another provider. Import and replace the format of records from a given provider, with default name servers.
|
|
253
240
|
*
|
|
254
241
|
* @param request - The request {@link ImportProviderDNSZoneRequest}
|
|
255
242
|
* @returns A Promise of ImportProviderDNSZoneResponse
|
|
@@ -266,13 +253,12 @@ class API extends API$1 {
|
|
|
266
253
|
unmarshalImportProviderDNSZoneResponse
|
|
267
254
|
);
|
|
268
255
|
/**
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
*/
|
|
256
|
+
* Refresh a DNS zone. Refresh an SOA DNS zone to reload the records in the DNS zone and update the SOA serial.
|
|
257
|
+
You can recreate the given DNS zone and its sub DNS zone if needed.
|
|
258
|
+
*
|
|
259
|
+
* @param request - The request {@link RefreshDNSZoneRequest}
|
|
260
|
+
* @returns A Promise of RefreshDNSZoneResponse
|
|
261
|
+
*/
|
|
276
262
|
refreshDNSZone = (request) => this.client.fetch(
|
|
277
263
|
{
|
|
278
264
|
body: JSON.stringify(
|
|
@@ -299,13 +285,12 @@ class API extends API$1 {
|
|
|
299
285
|
unmarshalListDNSZoneVersionsResponse
|
|
300
286
|
);
|
|
301
287
|
/**
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
*/
|
|
288
|
+
* List versions of a DNS zone. Retrieve a list of a DNS zone's versions.<br/>
|
|
289
|
+
The maximum version count is 100. If the count reaches this limit, the oldest version will be deleted after each new modification.
|
|
290
|
+
*
|
|
291
|
+
* @param request - The request {@link ListDNSZoneVersionsRequest}
|
|
292
|
+
* @returns A Promise of ListDNSZoneVersionsResponse
|
|
293
|
+
*/
|
|
309
294
|
listDNSZoneVersions = (request) => enrichForPagination("versions", this.pageOfListDNSZoneVersions, request);
|
|
310
295
|
pageOfListDNSZoneVersionRecords = (request) => this.client.fetch(
|
|
311
296
|
{
|
|
@@ -322,8 +307,7 @@ class API extends API$1 {
|
|
|
322
307
|
unmarshalListDNSZoneVersionRecordsResponse
|
|
323
308
|
);
|
|
324
309
|
/**
|
|
325
|
-
* List records from a given version of a specific DNS zone. Retrieve a list
|
|
326
|
-
* of records from a specific DNS zone version.
|
|
310
|
+
* List records from a given version of a specific DNS zone. Retrieve a list of records from a specific DNS zone version.
|
|
327
311
|
*
|
|
328
312
|
* @param request - The request {@link ListDNSZoneVersionRecordsRequest}
|
|
329
313
|
* @returns A Promise of ListDNSZoneVersionRecordsResponse
|
|
@@ -334,8 +318,7 @@ class API extends API$1 {
|
|
|
334
318
|
request
|
|
335
319
|
);
|
|
336
320
|
/**
|
|
337
|
-
* Access differences from a specific DNS zone version. Access a previous DNS
|
|
338
|
-
* zone version to see the differences from another specific version.
|
|
321
|
+
* Access differences from a specific DNS zone version. Access a previous DNS zone version to see the differences from another specific version.
|
|
339
322
|
*
|
|
340
323
|
* @param request - The request {@link GetDNSZoneVersionDiffRequest}
|
|
341
324
|
* @returns A Promise of GetDNSZoneVersionDiffResponse
|
|
@@ -348,8 +331,7 @@ class API extends API$1 {
|
|
|
348
331
|
unmarshalGetDNSZoneVersionDiffResponse
|
|
349
332
|
);
|
|
350
333
|
/**
|
|
351
|
-
* Restore a DNS zone version. Restore and activate a version of a specific
|
|
352
|
-
* DNS zone.
|
|
334
|
+
* Restore a DNS zone version. Restore and activate a version of a specific DNS zone.
|
|
353
335
|
*
|
|
354
336
|
* @param request - The request {@link RestoreDNSZoneVersionRequest}
|
|
355
337
|
* @returns A Promise of RestoreDNSZoneVersionResponse
|
|
@@ -364,8 +346,7 @@ class API extends API$1 {
|
|
|
364
346
|
unmarshalRestoreDNSZoneVersionResponse
|
|
365
347
|
);
|
|
366
348
|
/**
|
|
367
|
-
* Get a DNS zone's TLS certificate. Get the DNS zone's TLS certificate. If
|
|
368
|
-
* you do not have a certificate, the ouptut returns `no certificate found`.
|
|
349
|
+
* Get a DNS zone's TLS certificate. Get the DNS zone's TLS certificate. If you do not have a certificate, the ouptut returns `no certificate found`.
|
|
369
350
|
*
|
|
370
351
|
* @param request - The request {@link GetSSLCertificateRequest}
|
|
371
352
|
* @returns A Promise of SSLCertificate
|
|
@@ -393,8 +374,7 @@ class API extends API$1 {
|
|
|
393
374
|
options
|
|
394
375
|
);
|
|
395
376
|
/**
|
|
396
|
-
* Create or get the DNS zone's TLS certificate. Create a new TLS certificate
|
|
397
|
-
* or retrieve information about an existing TLS certificate.
|
|
377
|
+
* Create or get the DNS zone's TLS certificate. Create a new TLS certificate or retrieve information about an existing TLS certificate.
|
|
398
378
|
*
|
|
399
379
|
* @param request - The request {@link CreateSSLCertificateRequest}
|
|
400
380
|
* @returns A Promise of SSLCertificate
|
|
@@ -427,17 +407,14 @@ class API extends API$1 {
|
|
|
427
407
|
unmarshalListSSLCertificatesResponse
|
|
428
408
|
);
|
|
429
409
|
/**
|
|
430
|
-
* List a user's TLS certificates. List all the TLS certificates a user has
|
|
431
|
-
* created, specified by the user's Project ID and the DNS zone.
|
|
410
|
+
* List a user's TLS certificates. List all the TLS certificates a user has created, specified by the user's Project ID and the DNS zone.
|
|
432
411
|
*
|
|
433
412
|
* @param request - The request {@link ListSSLCertificatesRequest}
|
|
434
413
|
* @returns A Promise of ListSSLCertificatesResponse
|
|
435
414
|
*/
|
|
436
415
|
listSSLCertificates = (request) => enrichForPagination("certificates", this.pageOfListSSLCertificates, request);
|
|
437
416
|
/**
|
|
438
|
-
* Delete a TLS certificate. Delete an existing TLS certificate specified by
|
|
439
|
-
* its DNS zone. Deleting a TLS certificate is permanent and cannot be
|
|
440
|
-
* undone.
|
|
417
|
+
* Delete a TLS certificate. Delete an existing TLS certificate specified by its DNS zone. Deleting a TLS certificate is permanent and cannot be undone.
|
|
441
418
|
*
|
|
442
419
|
* @param request - The request {@link DeleteSSLCertificateRequest}
|
|
443
420
|
* @returns A Promise of DeleteSSLCertificateResponse
|
|
@@ -450,8 +427,7 @@ class API extends API$1 {
|
|
|
450
427
|
unmarshalDeleteSSLCertificateResponse
|
|
451
428
|
);
|
|
452
429
|
/**
|
|
453
|
-
* Get the DNS zone's TSIG key. Retrieve information about the TSIG key of a
|
|
454
|
-
* given DNS zone to allow AXFR requests.
|
|
430
|
+
* Get the DNS zone's TSIG key. Retrieve information about the TSIG key of a given DNS zone to allow AXFR requests.
|
|
455
431
|
*
|
|
456
432
|
* @param request - The request {@link GetDNSZoneTsigKeyRequest}
|
|
457
433
|
* @returns A Promise of GetDNSZoneTsigKeyResponse
|
|
@@ -464,8 +440,7 @@ class API extends API$1 {
|
|
|
464
440
|
unmarshalGetDNSZoneTsigKeyResponse
|
|
465
441
|
);
|
|
466
442
|
/**
|
|
467
|
-
* Delete the DNS zone's TSIG key. Delete an existing TSIG key specified by
|
|
468
|
-
* its DNS zone. Deleting a TSIG key is permanent and cannot be undone.
|
|
443
|
+
* Delete the DNS zone's TSIG key. Delete an existing TSIG key specified by its DNS zone. Deleting a TSIG key is permanent and cannot be undone.
|
|
469
444
|
*
|
|
470
445
|
* @param request - The request {@link DeleteDNSZoneTsigKeyRequest}
|
|
471
446
|
*/
|
|
@@ -496,20 +471,20 @@ class RegistrarAPI extends API$1 {
|
|
|
496
471
|
unmarshalListTasksResponse
|
|
497
472
|
);
|
|
498
473
|
/**
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
474
|
+
* List tasks. List all operations performed on the account.
|
|
475
|
+
You can filter the list of tasks by domain name.
|
|
476
|
+
*
|
|
477
|
+
* @param request - The request {@link RegistrarApiListTasksRequest}
|
|
478
|
+
* @returns A Promise of ListTasksResponse
|
|
479
|
+
*/
|
|
505
480
|
listTasks = (request = {}) => enrichForPagination("tasks", this.pageOfListTasks, request);
|
|
506
481
|
/**
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
482
|
+
* Purchase domains. Request the registration of domain names.
|
|
483
|
+
You can provide a domain's already existing contact or a new contact.
|
|
484
|
+
*
|
|
485
|
+
* @param request - The request {@link RegistrarApiBuyDomainsRequest}
|
|
486
|
+
* @returns A Promise of OrderResponse
|
|
487
|
+
*/
|
|
513
488
|
buyDomains = (request) => this.client.fetch(
|
|
514
489
|
{
|
|
515
490
|
body: JSON.stringify(
|
|
@@ -539,8 +514,7 @@ class RegistrarAPI extends API$1 {
|
|
|
539
514
|
unmarshalOrderResponse
|
|
540
515
|
);
|
|
541
516
|
/**
|
|
542
|
-
* Transfer a domain. Request the transfer of a domain from another registrar
|
|
543
|
-
* to Scaleway Domains and DNS.
|
|
517
|
+
* Transfer a domain. Request the transfer of a domain from another registrar to Scaleway Domains and DNS.
|
|
544
518
|
*
|
|
545
519
|
* @param request - The request {@link RegistrarApiTransferInDomainRequest}
|
|
546
520
|
* @returns A Promise of OrderResponse
|
|
@@ -560,18 +534,14 @@ class RegistrarAPI extends API$1 {
|
|
|
560
534
|
unmarshalOrderResponse
|
|
561
535
|
);
|
|
562
536
|
/**
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
*
|
|
572
|
-
* @param request - The request {@link RegistrarApiTradeDomainRequest}
|
|
573
|
-
* @returns A Promise of OrderResponse
|
|
574
|
-
*/
|
|
537
|
+
* Trade a domain's contact. Request to change a domain's contact owner.<br/>
|
|
538
|
+
If you specify the `organization_id` of the domain's new owner, the contact will change from the current owner's Scaleway account to the new owner's Scaleway account.<br/>
|
|
539
|
+
If the new owner's current contact information is not available, the first ever contact they have created for previous domains is taken into account to operate the change.<br/>
|
|
540
|
+
If the new owner has never created a contact to register domains before, an error message displays.
|
|
541
|
+
*
|
|
542
|
+
* @param request - The request {@link RegistrarApiTradeDomainRequest}
|
|
543
|
+
* @returns A Promise of OrderResponse
|
|
544
|
+
*/
|
|
575
545
|
tradeDomain = (request) => this.client.fetch(
|
|
576
546
|
{
|
|
577
547
|
body: JSON.stringify(
|
|
@@ -584,11 +554,9 @@ class RegistrarAPI extends API$1 {
|
|
|
584
554
|
unmarshalOrderResponse
|
|
585
555
|
);
|
|
586
556
|
/**
|
|
587
|
-
* Register an external domain. Request the registration of an external domain
|
|
588
|
-
* name.
|
|
557
|
+
* Register an external domain. Request the registration of an external domain name.
|
|
589
558
|
*
|
|
590
|
-
* @param request - The request
|
|
591
|
-
* {@link RegistrarApiRegisterExternalDomainRequest}
|
|
559
|
+
* @param request - The request {@link RegistrarApiRegisterExternalDomainRequest}
|
|
592
560
|
* @returns A Promise of RegisterExternalDomainResponse
|
|
593
561
|
*/
|
|
594
562
|
registerExternalDomain = (request) => this.client.fetch(
|
|
@@ -619,15 +587,12 @@ class RegistrarAPI extends API$1 {
|
|
|
619
587
|
unmarshalDeleteExternalDomainResponse
|
|
620
588
|
);
|
|
621
589
|
/**
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
* {@link RegistrarApiCheckContactsCompatibilityRequest}
|
|
629
|
-
* @returns A Promise of CheckContactsCompatibilityResponse
|
|
630
|
-
*/
|
|
590
|
+
* Check if contacts are compatible with a domain or a TLD. Check whether contacts are compatible with a domain or a TLD.
|
|
591
|
+
If contacts are not compatible with either the domain or the TLD, the information that needs to be corrected is returned.
|
|
592
|
+
*
|
|
593
|
+
* @param request - The request {@link RegistrarApiCheckContactsCompatibilityRequest}
|
|
594
|
+
* @returns A Promise of CheckContactsCompatibilityResponse
|
|
595
|
+
*/
|
|
631
596
|
checkContactsCompatibility = (request = {}) => this.client.fetch(
|
|
632
597
|
{
|
|
633
598
|
body: JSON.stringify(
|
|
@@ -662,16 +627,15 @@ class RegistrarAPI extends API$1 {
|
|
|
662
627
|
unmarshalListContactsResponse
|
|
663
628
|
);
|
|
664
629
|
/**
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
630
|
+
* List contacts. Retrieve the list of contacts and their associated domains and roles.
|
|
631
|
+
You can filter the list by domain name.
|
|
632
|
+
*
|
|
633
|
+
* @param request - The request {@link RegistrarApiListContactsRequest}
|
|
634
|
+
* @returns A Promise of ListContactsResponse
|
|
635
|
+
*/
|
|
671
636
|
listContacts = (request = {}) => enrichForPagination("contacts", this.pageOfListContacts, request);
|
|
672
637
|
/**
|
|
673
|
-
* Get a contact. Retrieve a contact's details from the registrar using the
|
|
674
|
-
* given contact's ID.
|
|
638
|
+
* Get a contact. Retrieve a contact's details from the registrar using the given contact's ID.
|
|
675
639
|
*
|
|
676
640
|
* @param request - The request {@link RegistrarApiGetContactRequest}
|
|
677
641
|
* @returns A Promise of Contact
|
|
@@ -749,17 +713,14 @@ class RegistrarAPI extends API$1 {
|
|
|
749
713
|
unmarshalListRenewableDomainsResponse
|
|
750
714
|
);
|
|
751
715
|
/**
|
|
752
|
-
* List domains that can be renewed. Retrieve the list of domains you own that
|
|
753
|
-
* can be renewed. You can also see the maximum renewal duration in years for
|
|
754
|
-
* your domains that are renewable.
|
|
716
|
+
* List domains that can be renewed. Retrieve the list of domains you own that can be renewed. You can also see the maximum renewal duration in years for your domains that are renewable.
|
|
755
717
|
*
|
|
756
718
|
* @param request - The request {@link RegistrarApiListRenewableDomainsRequest}
|
|
757
719
|
* @returns A Promise of ListRenewableDomainsResponse
|
|
758
720
|
*/
|
|
759
721
|
listRenewableDomains = (request = {}) => enrichForPagination("domains", this.pageOfListRenewableDomains, request);
|
|
760
722
|
/**
|
|
761
|
-
* Get domain. Retrieve a specific domain and display the domain's
|
|
762
|
-
* information.
|
|
723
|
+
* Get domain. Retrieve a specific domain and display the domain's information.
|
|
763
724
|
*
|
|
764
725
|
* @param request - The request {@link RegistrarApiGetDomainRequest}
|
|
765
726
|
* @returns A Promise of Domain
|
|
@@ -787,14 +748,12 @@ class RegistrarAPI extends API$1 {
|
|
|
787
748
|
options
|
|
788
749
|
);
|
|
789
750
|
/**
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
* @returns A Promise of Domain
|
|
797
|
-
*/
|
|
751
|
+
* Update a domain's contacts. Update contacts for a specific domain or create a new contact.<br/>
|
|
752
|
+
If you add the same contact for multiple roles (owner, administrative, technical), only one ID will be created and used for all of the roles.
|
|
753
|
+
*
|
|
754
|
+
* @param request - The request {@link RegistrarApiUpdateDomainRequest}
|
|
755
|
+
* @returns A Promise of Domain
|
|
756
|
+
*/
|
|
798
757
|
updateDomain = (request) => this.client.fetch(
|
|
799
758
|
{
|
|
800
759
|
body: JSON.stringify(
|
|
@@ -807,9 +766,7 @@ class RegistrarAPI extends API$1 {
|
|
|
807
766
|
unmarshalDomain
|
|
808
767
|
);
|
|
809
768
|
/**
|
|
810
|
-
* Lock the transfer of a domain. Lock the transfer of a domain. This means
|
|
811
|
-
* that the domain cannot be transferred and the authorization code cannot be
|
|
812
|
-
* requested to your current registrar.
|
|
769
|
+
* Lock the transfer of a domain. Lock the transfer of a domain. This means that the domain cannot be transferred and the authorization code cannot be requested to your current registrar.
|
|
813
770
|
*
|
|
814
771
|
* @param request - The request {@link RegistrarApiLockDomainTransferRequest}
|
|
815
772
|
* @returns A Promise of Domain
|
|
@@ -824,9 +781,7 @@ class RegistrarAPI extends API$1 {
|
|
|
824
781
|
unmarshalDomain
|
|
825
782
|
);
|
|
826
783
|
/**
|
|
827
|
-
* Unlock the transfer of a domain. Unlock the transfer of a domain. This
|
|
828
|
-
* means that the domain can be transferred and the authorization code can be
|
|
829
|
-
* requested to your current registrar.
|
|
784
|
+
* Unlock the transfer of a domain. Unlock the transfer of a domain. This means that the domain can be transferred and the authorization code can be requested to your current registrar.
|
|
830
785
|
*
|
|
831
786
|
* @param request - The request {@link RegistrarApiUnlockDomainTransferRequest}
|
|
832
787
|
* @returns A Promise of Domain
|
|
@@ -841,11 +796,9 @@ class RegistrarAPI extends API$1 {
|
|
|
841
796
|
unmarshalDomain
|
|
842
797
|
);
|
|
843
798
|
/**
|
|
844
|
-
* Enable auto renew. Enable the `auto renew` feature for a domain. This means
|
|
845
|
-
* the domain will be automatically renewed before its expiry date.
|
|
799
|
+
* Enable auto renew. Enable the `auto renew` feature for a domain. This means the domain will be automatically renewed before its expiry date.
|
|
846
800
|
*
|
|
847
|
-
* @param request - The request
|
|
848
|
-
* {@link RegistrarApiEnableDomainAutoRenewRequest}
|
|
801
|
+
* @param request - The request {@link RegistrarApiEnableDomainAutoRenewRequest}
|
|
849
802
|
* @returns A Promise of Domain
|
|
850
803
|
*/
|
|
851
804
|
enableDomainAutoRenew = (request) => this.client.fetch(
|
|
@@ -858,11 +811,9 @@ class RegistrarAPI extends API$1 {
|
|
|
858
811
|
unmarshalDomain
|
|
859
812
|
);
|
|
860
813
|
/**
|
|
861
|
-
* Disable auto renew. Disable the `auto renew` feature for a domain. This
|
|
862
|
-
* means the domain will not be renewed before its expiry date.
|
|
814
|
+
* Disable auto renew. Disable the `auto renew` feature for a domain. This means the domain will not be renewed before its expiry date.
|
|
863
815
|
*
|
|
864
|
-
* @param request - The request
|
|
865
|
-
* {@link RegistrarApiDisableDomainAutoRenewRequest}
|
|
816
|
+
* @param request - The request {@link RegistrarApiDisableDomainAutoRenewRequest}
|
|
866
817
|
* @returns A Promise of Domain
|
|
867
818
|
*/
|
|
868
819
|
disableDomainAutoRenew = (request) => this.client.fetch(
|
|
@@ -875,15 +826,12 @@ class RegistrarAPI extends API$1 {
|
|
|
875
826
|
unmarshalDomain
|
|
876
827
|
);
|
|
877
828
|
/**
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
* @param request - The request {@link RegistrarApiGetDomainAuthCodeRequest}
|
|
885
|
-
* @returns A Promise of GetDomainAuthCodeResponse
|
|
886
|
-
*/
|
|
829
|
+
* Get a domain's authorization code. Retrieve the authorization code to tranfer an unlocked domain. The output returns an error if the domain is locked.
|
|
830
|
+
Some TLDs may have a different procedure to retrieve the authorization code. In that case, the information displays in the message field.
|
|
831
|
+
*
|
|
832
|
+
* @param request - The request {@link RegistrarApiGetDomainAuthCodeRequest}
|
|
833
|
+
* @returns A Promise of GetDomainAuthCodeResponse
|
|
834
|
+
*/
|
|
887
835
|
getDomainAuthCode = (request) => this.client.fetch(
|
|
888
836
|
{
|
|
889
837
|
method: "GET",
|
|
@@ -892,9 +840,7 @@ class RegistrarAPI extends API$1 {
|
|
|
892
840
|
unmarshalGetDomainAuthCodeResponse
|
|
893
841
|
);
|
|
894
842
|
/**
|
|
895
|
-
* Update domain DNSSEC. If your domain uses another registrar and has the
|
|
896
|
-
* default Scaleway NS, you have to **update the DS record at your
|
|
897
|
-
* registrar**.
|
|
843
|
+
* Update domain DNSSEC. If your domain uses another registrar and has the default Scaleway NS, you have to **update the DS record at your registrar**.
|
|
898
844
|
*
|
|
899
845
|
* @param request - The request {@link RegistrarApiEnableDomainDNSSECRequest}
|
|
900
846
|
* @returns A Promise of Domain
|
|
@@ -929,16 +875,13 @@ class RegistrarAPI extends API$1 {
|
|
|
929
875
|
unmarshalDomain
|
|
930
876
|
);
|
|
931
877
|
/**
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
* {@link RegistrarApiSearchAvailableDomainsRequest}
|
|
940
|
-
* @returns A Promise of SearchAvailableDomainsResponse
|
|
941
|
-
*/
|
|
878
|
+
* Search available domains. Search a domain or a maximum of 10 domains that are available.
|
|
879
|
+
|
|
880
|
+
If the TLD list is empty or not set, the search returns the results from the most popular TLDs.
|
|
881
|
+
*
|
|
882
|
+
* @param request - The request {@link RegistrarApiSearchAvailableDomainsRequest}
|
|
883
|
+
* @returns A Promise of SearchAvailableDomainsResponse
|
|
884
|
+
*/
|
|
942
885
|
searchAvailableDomains = (request) => this.client.fetch(
|
|
943
886
|
{
|
|
944
887
|
method: "GET",
|
|
@@ -975,8 +918,7 @@ class RegistrarAPI extends API$1 {
|
|
|
975
918
|
*/
|
|
976
919
|
listTlds = (request = {}) => enrichForPagination("tlds", this.pageOfListTlds, request);
|
|
977
920
|
/**
|
|
978
|
-
* Create a hostname for a domain. Create a hostname for a domain with glue
|
|
979
|
-
* IPs.
|
|
921
|
+
* Create a hostname for a domain. Create a hostname for a domain with glue IPs.
|
|
980
922
|
*
|
|
981
923
|
* @param request - The request {@link RegistrarApiCreateDomainHostRequest}
|
|
982
924
|
* @returns A Promise of Host
|
|
@@ -3,10 +3,7 @@ import type { DNSZoneStatus, DomainFeatureStatus, DomainRegistrationStatusTransf
|
|
|
3
3
|
export declare const DNS_ZONE_TRANSIENT_STATUSES: DNSZoneStatus[];
|
|
4
4
|
/** Lists transient statutes of the enum {@link DomainFeatureStatus}. */
|
|
5
5
|
export declare const DOMAIN_FEATURE_TRANSIENT_STATUSES: DomainFeatureStatus[];
|
|
6
|
-
/**
|
|
7
|
-
* Lists transient statutes of the enum
|
|
8
|
-
* {@link DomainRegistrationStatusTransferStatus}.
|
|
9
|
-
*/
|
|
6
|
+
/** Lists transient statutes of the enum {@link DomainRegistrationStatusTransferStatus}. */
|
|
10
7
|
export declare const DOMAIN_REGISTRATION_STATUS_TRANSFER_TRANSIENT_STATUSES: DomainRegistrationStatusTransferStatus[];
|
|
11
8
|
/** Lists transient statutes of the enum {@link DomainStatus}. */
|
|
12
9
|
export declare const DOMAIN_TRANSIENT_STATUSES: DomainStatus[];
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { API, RegistrarAPI } from './api.gen.js';
|
|
1
|
+
export { API, RegistrarAPI, } from './api.gen.js';
|
|
2
2
|
export * from './content.gen.js';
|
|
3
3
|
export type { AvailableDomain, CheckContactsCompatibilityResponse, CheckContactsCompatibilityResponseContactCheckResult, ClearDNSZoneRecordsRequest, ClearDNSZoneRecordsResponse, CloneDNSZoneRequest, Contact, ContactEmailStatus, ContactExtensionEU, ContactExtensionFR, ContactExtensionFRAssociationInfo, ContactExtensionFRCodeAuthAfnicInfo, ContactExtensionFRDunsInfo, ContactExtensionFRIndividualInfo, ContactExtensionFRMode, ContactExtensionFRTrademarkInfo, ContactExtensionNL, ContactExtensionNLLegalForm, ContactLegalForm, ContactQuestion, ContactRoles, ContactRolesRoles, ContactStatus, CreateDNSZoneRequest, CreateSSLCertificateRequest, DNSZone, DNSZoneStatus, DNSZoneVersion, DSRecord, DSRecordAlgorithm, DSRecordDigest, DSRecordDigestType, DSRecordPublicKey, DeleteDNSZoneRequest, DeleteDNSZoneResponse, DeleteDNSZoneTsigKeyRequest, DeleteExternalDomainResponse, DeleteSSLCertificateRequest, DeleteSSLCertificateResponse, Domain, DomainDNSSEC, DomainFeatureStatus, DomainRecord, DomainRecordGeoIPConfig, DomainRecordGeoIPConfigMatch, DomainRecordHTTPServiceConfig, DomainRecordHTTPServiceConfigStrategy, DomainRecordType, DomainRecordViewConfig, DomainRecordViewConfigView, DomainRecordWeightedConfig, DomainRecordWeightedConfigWeightedIP, DomainRegistrationStatusExternalDomain, DomainRegistrationStatusTransfer, DomainRegistrationStatusTransferStatus, DomainStatus, DomainSummary, ExportRawDNSZoneRequest, GetDNSZoneTsigKeyRequest, GetDNSZoneTsigKeyResponse, GetDNSZoneVersionDiffRequest, GetDNSZoneVersionDiffResponse, GetDomainAuthCodeResponse, GetSSLCertificateRequest, Host, HostStatus, ImportProviderDNSZoneRequest, ImportProviderDNSZoneRequestOnlineV1, ImportProviderDNSZoneResponse, ImportRawDNSZoneRequest, ImportRawDNSZoneRequestAXFRSource, ImportRawDNSZoneRequestBindSource, ImportRawDNSZoneRequestTsigKey, ImportRawDNSZoneResponse, LinkedProduct, ListContactsRequestRole, ListContactsResponse, ListDNSZoneNameserversRequest, ListDNSZoneNameserversResponse, ListDNSZoneRecordsRequest, ListDNSZoneRecordsRequestOrderBy, ListDNSZoneRecordsResponse, ListDNSZoneVersionRecordsRequest, ListDNSZoneVersionRecordsResponse, ListDNSZoneVersionsRequest, ListDNSZoneVersionsResponse, ListDNSZonesRequest, ListDNSZonesRequestOrderBy, ListDNSZonesResponse, ListDomainHostsResponse, ListDomainsRequestOrderBy, ListDomainsResponse, ListRenewableDomainsRequestOrderBy, ListRenewableDomainsResponse, ListSSLCertificatesRequest, ListSSLCertificatesResponse, ListTasksRequestOrderBy, ListTasksResponse, ListTldsRequestOrderBy, ListTldsResponse, Nameserver, NewContact, OrderResponse, RawFormat, RecordChange, RecordChangeAdd, RecordChangeClear, RecordChangeDelete, RecordChangeSet, RecordIdentifier, RefreshDNSZoneRequest, RefreshDNSZoneResponse, RegisterExternalDomainResponse, RegistrarApiBuyDomainsRequest, RegistrarApiCheckContactsCompatibilityRequest, RegistrarApiCreateDomainHostRequest, RegistrarApiDeleteDomainHostRequest, RegistrarApiDeleteExternalDomainRequest, RegistrarApiDisableDomainAutoRenewRequest, RegistrarApiDisableDomainDNSSECRequest, RegistrarApiEnableDomainAutoRenewRequest, RegistrarApiEnableDomainDNSSECRequest, RegistrarApiGetContactRequest, RegistrarApiGetDomainAuthCodeRequest, RegistrarApiGetDomainRequest, RegistrarApiListContactsRequest, RegistrarApiListDomainHostsRequest, RegistrarApiListDomainsRequest, RegistrarApiListRenewableDomainsRequest, RegistrarApiListTasksRequest, RegistrarApiListTldsRequest, RegistrarApiLockDomainTransferRequest, RegistrarApiRegisterExternalDomainRequest, RegistrarApiRenewDomainsRequest, RegistrarApiSearchAvailableDomainsRequest, RegistrarApiTradeDomainRequest, RegistrarApiTransferInDomainRequest, RegistrarApiUnlockDomainTransferRequest, RegistrarApiUpdateContactRequest, RegistrarApiUpdateDomainHostRequest, RegistrarApiUpdateDomainRequest, RenewableDomain, RenewableDomainStatus, RestoreDNSZoneVersionRequest, RestoreDNSZoneVersionResponse, SSLCertificate, SSLCertificateStatus, SearchAvailableDomainsResponse, Task, TaskStatus, TaskType, Tld, TldOffer, TransferInDomainRequestTransferRequest, UpdateContactRequestQuestion, UpdateDNSZoneNameserversRequest, UpdateDNSZoneNameserversResponse, UpdateDNSZoneRecordsRequest, UpdateDNSZoneRecordsResponse, UpdateDNSZoneRequest, } from './types.gen';
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
|
|
4
|
-
const
|
|
5
|
-
const
|
|
3
|
+
require("../../../client/dist/internal/logger/index.cjs");
|
|
4
|
+
const json = require("../../../client/dist/helpers/json.cjs");
|
|
5
|
+
const customMarshalling = require("../../../client/dist/scw/custom-marshalling.cjs");
|
|
6
|
+
const marshalling = require("../../../client/dist/helpers/marshalling.cjs");
|
|
6
7
|
const unmarshalContactExtensionFRAssociationInfo = (data) => {
|
|
7
8
|
if (!json.isJSONObject(data)) {
|
|
8
9
|
throw new TypeError(
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { DefaultValues } from '
|
|
1
|
+
import type { DefaultValues } from '@scaleway/sdk-client';
|
|
2
2
|
import type { CheckContactsCompatibilityResponse, ClearDNSZoneRecordsResponse, CloneDNSZoneRequest, Contact, CreateDNSZoneRequest, CreateSSLCertificateRequest, DNSZone, DSRecord, DeleteDNSZoneResponse, DeleteExternalDomainResponse, DeleteSSLCertificateResponse, Domain, GetDNSZoneTsigKeyResponse, GetDNSZoneVersionDiffResponse, GetDomainAuthCodeResponse, Host, ImportProviderDNSZoneRequest, ImportProviderDNSZoneResponse, ImportRawDNSZoneRequest, ImportRawDNSZoneResponse, ListContactsResponse, ListDNSZoneNameserversResponse, ListDNSZoneRecordsResponse, ListDNSZoneVersionRecordsResponse, ListDNSZoneVersionsResponse, ListDNSZonesResponse, ListDomainHostsResponse, ListDomainsResponse, ListRenewableDomainsResponse, ListSSLCertificatesResponse, ListTasksResponse, ListTldsResponse, OrderResponse, RefreshDNSZoneRequest, RefreshDNSZoneResponse, RegisterExternalDomainResponse, RegistrarApiBuyDomainsRequest, RegistrarApiCheckContactsCompatibilityRequest, RegistrarApiCreateDomainHostRequest, RegistrarApiEnableDomainDNSSECRequest, RegistrarApiRegisterExternalDomainRequest, RegistrarApiRenewDomainsRequest, RegistrarApiTradeDomainRequest, RegistrarApiTransferInDomainRequest, RegistrarApiUpdateContactRequest, RegistrarApiUpdateDomainHostRequest, RegistrarApiUpdateDomainRequest, RestoreDNSZoneVersionResponse, SSLCertificate, SearchAvailableDomainsResponse, Task, UpdateDNSZoneNameserversRequest, UpdateDNSZoneNameserversResponse, UpdateDNSZoneRecordsRequest, UpdateDNSZoneRecordsResponse, UpdateDNSZoneRequest } from './types.gen';
|
|
3
3
|
export declare const unmarshalContact: (data: unknown) => Contact;
|
|
4
4
|
export declare const unmarshalDNSZone: (data: unknown) => DNSZone;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import "../../../client/dist/internal/logger/index.js";
|
|
2
|
+
import { isJSONObject } from "../../../client/dist/helpers/json.js";
|
|
3
|
+
import { unmarshalMoney } from "../../../client/dist/scw/custom-marshalling.js";
|
|
4
|
+
import { unmarshalArrayOfObject, unmarshalDate, resolveOneOf, unmarshalMapOfObject } from "../../../client/dist/helpers/marshalling.js";
|
|
4
5
|
const unmarshalContactExtensionFRAssociationInfo = (data) => {
|
|
5
6
|
if (!isJSONObject(data)) {
|
|
6
7
|
throw new TypeError(
|