@scaleway/sdk 2.71.1 → 2.73.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api/account/index.gen.d.ts +2 -2
- package/dist/api/account/v2/api.gen.cjs +5 -4
- package/dist/api/account/v2/api.gen.d.ts +1 -1
- package/dist/api/account/v2/api.gen.js +5 -4
- package/dist/api/account/v2/marshalling.gen.cjs +4 -3
- package/dist/api/account/v2/marshalling.gen.d.ts +1 -1
- package/dist/api/account/v2/marshalling.gen.js +4 -3
- package/dist/api/account/v3/api.gen.cjs +18 -36
- package/dist/api/account/v3/api.gen.d.ts +18 -37
- package/dist/api/account/v3/api.gen.js +18 -36
- package/dist/api/account/v3/index.gen.d.ts +1 -1
- package/dist/api/account/v3/marshalling.gen.cjs +4 -3
- package/dist/api/account/v3/marshalling.gen.d.ts +1 -1
- package/dist/api/account/v3/marshalling.gen.js +4 -3
- package/dist/api/account/v3/types.gen.d.ts +187 -85
- package/dist/api/applesilicon/index.gen.d.ts +2 -2
- package/dist/api/applesilicon/v1alpha1/api.gen.cjs +25 -51
- package/dist/api/applesilicon/v1alpha1/api.gen.d.ts +26 -51
- package/dist/api/applesilicon/v1alpha1/api.gen.js +25 -51
- package/dist/api/applesilicon/v1alpha1/index.gen.d.ts +1 -1
- package/dist/api/applesilicon/v1alpha1/marshalling.gen.cjs +4 -3
- package/dist/api/applesilicon/v1alpha1/marshalling.gen.d.ts +1 -1
- package/dist/api/applesilicon/v1alpha1/marshalling.gen.js +4 -3
- package/dist/api/applesilicon/v1alpha1/types.gen.d.ts +311 -136
- package/dist/api/audit_trail/index.gen.d.ts +2 -2
- package/dist/api/audit_trail/v1alpha1/api.gen.cjs +6 -8
- package/dist/api/audit_trail/v1alpha1/api.gen.d.ts +6 -10
- package/dist/api/audit_trail/v1alpha1/api.gen.js +6 -8
- package/dist/api/audit_trail/v1alpha1/marshalling.gen.cjs +4 -3
- package/dist/api/audit_trail/v1alpha1/marshalling.gen.js +4 -3
- package/dist/api/audit_trail/v1alpha1/types.gen.d.ts +111 -83
- package/dist/api/baremetal/index.gen.d.ts +2 -2
- package/dist/api/baremetal/v1/api.gen.cjs +34 -66
- package/dist/api/baremetal/v1/api.gen.d.ts +31 -62
- package/dist/api/baremetal/v1/api.gen.js +34 -66
- package/dist/api/baremetal/v1/api.utils.cjs +3 -1
- package/dist/api/baremetal/v1/api.utils.d.ts +1 -1
- package/dist/api/baremetal/v1/api.utils.js +3 -1
- package/dist/api/baremetal/v1/index.gen.d.ts +1 -1
- package/dist/api/baremetal/v1/marshalling.gen.cjs +4 -3
- package/dist/api/baremetal/v1/marshalling.gen.d.ts +1 -1
- package/dist/api/baremetal/v1/marshalling.gen.js +4 -3
- package/dist/api/baremetal/v1/types.gen.d.ts +866 -379
- package/dist/api/baremetal/v3/api.gen.cjs +12 -18
- package/dist/api/baremetal/v3/api.gen.d.ts +12 -17
- package/dist/api/baremetal/v3/api.gen.js +12 -18
- package/dist/api/baremetal/v3/marshalling.gen.cjs +4 -3
- package/dist/api/baremetal/v3/marshalling.gen.d.ts +1 -1
- package/dist/api/baremetal/v3/marshalling.gen.js +4 -3
- package/dist/api/baremetal/v3/types.gen.d.ts +83 -33
- package/dist/api/billing/index.gen.d.ts +2 -2
- package/dist/api/billing/v2alpha1/api.gen.cjs +5 -4
- package/dist/api/billing/v2alpha1/api.gen.d.ts +1 -1
- package/dist/api/billing/v2alpha1/api.gen.js +5 -4
- package/dist/api/billing/v2alpha1/marshalling.gen.cjs +4 -3
- package/dist/api/billing/v2alpha1/marshalling.gen.js +4 -3
- package/dist/api/billing/v2alpha1/types.gen.d.ts +1 -1
- package/dist/api/billing/v2beta1/api.gen.cjs +16 -24
- package/dist/api/billing/v2beta1/api.gen.d.ts +10 -20
- package/dist/api/billing/v2beta1/api.gen.js +16 -24
- package/dist/api/billing/v2beta1/marshalling.gen.cjs +4 -3
- package/dist/api/billing/v2beta1/marshalling.gen.js +4 -3
- package/dist/api/billing/v2beta1/types.gen.d.ts +232 -103
- package/dist/api/block/index.gen.d.ts +2 -2
- package/dist/api/block/v1/api.gen.cjs +43 -60
- package/dist/api/block/v1/api.gen.d.ts +21 -39
- package/dist/api/block/v1/api.gen.js +43 -60
- package/dist/api/block/v1/marshalling.gen.cjs +4 -3
- package/dist/api/block/v1/marshalling.gen.d.ts +1 -1
- package/dist/api/block/v1/marshalling.gen.js +4 -3
- package/dist/api/block/v1/types.gen.d.ts +307 -126
- package/dist/api/block/v1alpha1/api.gen.cjs +51 -69
- package/dist/api/block/v1alpha1/api.gen.d.ts +24 -43
- package/dist/api/block/v1alpha1/api.gen.js +51 -69
- package/dist/api/block/v1alpha1/marshalling.gen.cjs +4 -3
- package/dist/api/block/v1alpha1/marshalling.gen.d.ts +1 -1
- package/dist/api/block/v1alpha1/marshalling.gen.js +4 -3
- package/dist/api/block/v1alpha1/types.gen.d.ts +328 -133
- package/dist/api/cockpit/index.gen.d.ts +2 -2
- package/dist/api/cockpit/v1/api.gen.cjs +105 -160
- package/dist/api/cockpit/v1/api.gen.d.ts +55 -114
- package/dist/api/cockpit/v1/api.gen.js +105 -160
- package/dist/api/cockpit/v1/index.gen.d.ts +1 -1
- package/dist/api/cockpit/v1/marshalling.gen.cjs +4 -3
- package/dist/api/cockpit/v1/marshalling.gen.d.ts +1 -1
- package/dist/api/cockpit/v1/marshalling.gen.js +4 -3
- package/dist/api/cockpit/v1/types.gen.d.ts +568 -247
- package/dist/api/cockpit/v1beta1/api.gen.cjs +6 -5
- package/dist/api/cockpit/v1beta1/api.gen.d.ts +2 -2
- package/dist/api/cockpit/v1beta1/api.gen.js +6 -5
- package/dist/api/cockpit/v1beta1/marshalling.gen.cjs +4 -3
- package/dist/api/cockpit/v1beta1/marshalling.gen.d.ts +1 -1
- package/dist/api/cockpit/v1beta1/marshalling.gen.js +4 -3
- package/dist/api/cockpit/v1beta1/types.gen.d.ts +1 -1
- package/dist/api/container/index.gen.d.ts +2 -2
- package/dist/api/container/v1beta1/api.gen.cjs +13 -19
- package/dist/api/container/v1beta1/api.gen.d.ts +11 -18
- package/dist/api/container/v1beta1/api.gen.js +13 -19
- package/dist/api/container/v1beta1/marshalling.gen.cjs +4 -3
- package/dist/api/container/v1beta1/marshalling.gen.d.ts +1 -1
- package/dist/api/container/v1beta1/marshalling.gen.js +4 -3
- package/dist/api/container/v1beta1/types.gen.d.ts +649 -323
- package/dist/api/dedibox/index.gen.d.ts +2 -2
- package/dist/api/dedibox/v1/api.gen.cjs +51 -74
- package/dist/api/dedibox/v1/api.gen.d.ts +54 -64
- package/dist/api/dedibox/v1/api.gen.js +51 -74
- package/dist/api/dedibox/v1/marshalling.gen.cjs +4 -3
- package/dist/api/dedibox/v1/marshalling.gen.d.ts +1 -1
- package/dist/api/dedibox/v1/marshalling.gen.js +4 -3
- package/dist/api/dedibox/v1/types.gen.d.ts +1766 -646
- package/dist/api/document_db/index.gen.d.ts +2 -2
- package/dist/api/document_db/v1beta1/api.gen.cjs +6 -5
- package/dist/api/document_db/v1beta1/api.gen.d.ts +2 -2
- package/dist/api/document_db/v1beta1/api.gen.js +6 -5
- package/dist/api/document_db/v1beta1/marshalling.gen.cjs +4 -3
- package/dist/api/document_db/v1beta1/marshalling.gen.d.ts +1 -1
- package/dist/api/document_db/v1beta1/marshalling.gen.js +4 -3
- package/dist/api/document_db/v1beta1/types.gen.d.ts +1 -1
- package/dist/api/domain/index.gen.d.ts +2 -2
- package/dist/api/domain/v2beta1/api.gen.cjs +125 -183
- package/dist/api/domain/v2beta1/api.gen.d.ts +73 -132
- package/dist/api/domain/v2beta1/api.gen.js +125 -183
- package/dist/api/domain/v2beta1/content.gen.d.ts +1 -4
- package/dist/api/domain/v2beta1/index.gen.d.ts +1 -1
- package/dist/api/domain/v2beta1/marshalling.gen.cjs +4 -3
- package/dist/api/domain/v2beta1/marshalling.gen.d.ts +1 -1
- package/dist/api/domain/v2beta1/marshalling.gen.js +4 -3
- package/dist/api/domain/v2beta1/types.gen.d.ts +412 -200
- package/dist/api/edge_services/index.gen.d.ts +2 -2
- package/dist/api/edge_services/v1alpha1/api.gen.cjs +6 -5
- package/dist/api/edge_services/v1alpha1/api.gen.d.ts +2 -2
- package/dist/api/edge_services/v1alpha1/api.gen.js +6 -5
- package/dist/api/edge_services/v1alpha1/marshalling.gen.cjs +4 -3
- package/dist/api/edge_services/v1alpha1/marshalling.gen.d.ts +1 -1
- package/dist/api/edge_services/v1alpha1/marshalling.gen.js +4 -3
- package/dist/api/edge_services/v1alpha1/types.gen.d.ts +1 -1
- package/dist/api/edge_services/v1beta1/api.gen.cjs +49 -136
- package/dist/api/edge_services/v1beta1/api.gen.d.ts +48 -134
- package/dist/api/edge_services/v1beta1/api.gen.js +49 -136
- package/dist/api/edge_services/v1beta1/marshalling.gen.cjs +4 -3
- package/dist/api/edge_services/v1beta1/marshalling.gen.d.ts +1 -1
- package/dist/api/edge_services/v1beta1/marshalling.gen.js +4 -3
- package/dist/api/edge_services/v1beta1/types.gen.d.ts +584 -380
- package/dist/api/flexibleip/index.gen.d.ts +2 -2
- package/dist/api/flexibleip/v1alpha1/api.gen.cjs +16 -30
- package/dist/api/flexibleip/v1alpha1/api.gen.d.ts +14 -30
- package/dist/api/flexibleip/v1alpha1/api.gen.js +16 -30
- package/dist/api/flexibleip/v1alpha1/marshalling.gen.cjs +4 -3
- package/dist/api/flexibleip/v1alpha1/marshalling.gen.d.ts +1 -1
- package/dist/api/flexibleip/v1alpha1/marshalling.gen.js +4 -3
- package/dist/api/flexibleip/v1alpha1/types.gen.d.ts +187 -79
- package/dist/api/function/index.gen.d.ts +2 -2
- package/dist/api/function/v1beta1/api.gen.cjs +20 -33
- package/dist/api/function/v1beta1/api.gen.d.ts +18 -32
- package/dist/api/function/v1beta1/api.gen.js +20 -33
- package/dist/api/function/v1beta1/marshalling.gen.cjs +4 -3
- package/dist/api/function/v1beta1/marshalling.gen.d.ts +1 -1
- package/dist/api/function/v1beta1/marshalling.gen.js +4 -3
- package/dist/api/function/v1beta1/types.gen.d.ts +617 -288
- package/dist/api/iam/index.gen.d.ts +2 -2
- package/dist/api/iam/v1alpha1/api.gen.cjs +49 -163
- package/dist/api/iam/v1alpha1/api.gen.d.ts +47 -163
- package/dist/api/iam/v1alpha1/api.gen.js +49 -163
- package/dist/api/iam/v1alpha1/marshalling.gen.cjs +4 -3
- package/dist/api/iam/v1alpha1/marshalling.gen.d.ts +1 -1
- package/dist/api/iam/v1alpha1/marshalling.gen.js +4 -3
- package/dist/api/iam/v1alpha1/types.gen.d.ts +979 -372
- package/dist/api/index.gen.d.ts +2 -2
- package/dist/api/inference/index.gen.d.ts +2 -2
- package/dist/api/inference/v1/api.gen.cjs +14 -16
- package/dist/api/inference/v1/api.gen.d.ts +8 -11
- package/dist/api/inference/v1/api.gen.js +14 -16
- package/dist/api/inference/v1/marshalling.gen.cjs +4 -3
- package/dist/api/inference/v1/marshalling.gen.d.ts +1 -1
- package/dist/api/inference/v1/marshalling.gen.js +4 -3
- package/dist/api/inference/v1/types.gen.d.ts +331 -151
- package/dist/api/inference/v1beta1/api.gen.cjs +14 -16
- package/dist/api/inference/v1beta1/api.gen.d.ts +8 -11
- package/dist/api/inference/v1beta1/api.gen.js +14 -16
- package/dist/api/inference/v1beta1/marshalling.gen.cjs +4 -3
- package/dist/api/inference/v1beta1/marshalling.gen.d.ts +1 -1
- package/dist/api/inference/v1beta1/marshalling.gen.js +4 -3
- package/dist/api/inference/v1beta1/types.gen.d.ts +342 -155
- package/dist/api/instance/index.gen.d.ts +2 -2
- package/dist/api/instance/v1/api.gen.cjs +69 -117
- package/dist/api/instance/v1/api.gen.d.ts +56 -105
- package/dist/api/instance/v1/api.gen.js +69 -117
- package/dist/api/instance/v1/api.utils.cjs +4 -3
- package/dist/api/instance/v1/api.utils.d.ts +1 -1
- package/dist/api/instance/v1/api.utils.js +4 -3
- package/dist/api/instance/v1/marshalling.gen.cjs +4 -3
- package/dist/api/instance/v1/marshalling.gen.d.ts +1 -1
- package/dist/api/instance/v1/marshalling.gen.js +4 -3
- package/dist/api/instance/v1/marshalling.utils.d.ts +1 -1
- package/dist/api/instance/v1/types.gen.d.ts +1352 -599
- package/dist/api/instance/v1/types.private.gen.d.ts +132 -60
- package/dist/api/instance/v1/types.utils.d.ts +1 -1
- package/dist/api/interlink/index.gen.d.ts +2 -2
- package/dist/api/interlink/v1beta1/api.gen.cjs +107 -63
- package/dist/api/interlink/v1beta1/api.gen.d.ts +58 -65
- package/dist/api/interlink/v1beta1/api.gen.js +108 -64
- package/dist/api/interlink/v1beta1/content.gen.cjs +6 -0
- package/dist/api/interlink/v1beta1/content.gen.d.ts +5 -0
- package/dist/api/interlink/v1beta1/content.gen.js +6 -0
- package/dist/api/interlink/v1beta1/index.gen.cjs +3 -0
- package/dist/api/interlink/v1beta1/index.gen.d.ts +2 -1
- package/dist/api/interlink/v1beta1/index.gen.js +3 -0
- package/dist/api/interlink/v1beta1/marshalling.gen.cjs +84 -8
- package/dist/api/interlink/v1beta1/marshalling.gen.d.ts +4 -2
- package/dist/api/interlink/v1beta1/marshalling.gen.js +84 -8
- package/dist/api/interlink/v1beta1/types.gen.d.ts +545 -195
- package/dist/api/interlink/v1beta1/validation-rules.gen.cjs +25 -0
- package/dist/api/interlink/v1beta1/validation-rules.gen.d.ts +23 -0
- package/dist/api/interlink/v1beta1/validation-rules.gen.js +25 -0
- package/dist/api/iot/index.gen.d.ts +2 -2
- package/dist/api/iot/v1/api.gen.cjs +43 -75
- package/dist/api/iot/v1/api.gen.d.ts +36 -69
- package/dist/api/iot/v1/api.gen.js +43 -75
- package/dist/api/iot/v1/marshalling.gen.cjs +4 -3
- package/dist/api/iot/v1/marshalling.gen.d.ts +1 -1
- package/dist/api/iot/v1/marshalling.gen.js +4 -3
- package/dist/api/iot/v1/types.gen.d.ts +567 -322
- package/dist/api/ipam/index.gen.d.ts +2 -2
- package/dist/api/ipam/v1/api.gen.cjs +11 -30
- package/dist/api/ipam/v1/api.gen.d.ts +10 -31
- package/dist/api/ipam/v1/api.gen.js +11 -30
- package/dist/api/ipam/v1/marshalling.gen.cjs +4 -3
- package/dist/api/ipam/v1/marshalling.gen.d.ts +1 -1
- package/dist/api/ipam/v1/marshalling.gen.js +4 -3
- package/dist/api/ipam/v1/types.gen.d.ts +147 -106
- package/dist/api/ipfs/index.gen.d.ts +2 -2
- package/dist/api/ipfs/v1alpha1/api.gen.cjs +6 -5
- package/dist/api/ipfs/v1alpha1/api.gen.d.ts +2 -2
- package/dist/api/ipfs/v1alpha1/api.gen.js +6 -5
- package/dist/api/ipfs/v1alpha1/marshalling.gen.cjs +4 -3
- package/dist/api/ipfs/v1alpha1/marshalling.gen.d.ts +1 -1
- package/dist/api/ipfs/v1alpha1/marshalling.gen.js +4 -3
- package/dist/api/ipfs/v1alpha1/types.gen.d.ts +1 -1
- package/dist/api/jobs/index.gen.d.ts +2 -2
- package/dist/api/jobs/v1alpha1/api.gen.cjs +7 -8
- package/dist/api/jobs/v1alpha1/api.gen.d.ts +6 -8
- package/dist/api/jobs/v1alpha1/api.gen.js +7 -8
- package/dist/api/jobs/v1alpha1/marshalling.gen.cjs +4 -3
- package/dist/api/jobs/v1alpha1/marshalling.gen.d.ts +1 -1
- package/dist/api/jobs/v1alpha1/marshalling.gen.js +4 -3
- package/dist/api/jobs/v1alpha1/types.gen.d.ts +166 -92
- package/dist/api/k8s/index.gen.d.ts +2 -2
- package/dist/api/k8s/v1/api.gen.cjs +39 -83
- package/dist/api/k8s/v1/api.gen.d.ts +29 -74
- package/dist/api/k8s/v1/api.gen.js +39 -83
- package/dist/api/k8s/v1/marshalling.gen.cjs +4 -3
- package/dist/api/k8s/v1/marshalling.gen.d.ts +1 -1
- package/dist/api/k8s/v1/marshalling.gen.js +4 -3
- package/dist/api/k8s/v1/types.gen.d.ts +744 -507
- package/dist/api/key_manager/index.gen.d.ts +2 -2
- package/dist/api/key_manager/v1alpha1/api.gen.cjs +26 -61
- package/dist/api/key_manager/v1alpha1/api.gen.d.ts +21 -58
- package/dist/api/key_manager/v1alpha1/api.gen.js +26 -61
- package/dist/api/key_manager/v1alpha1/marshalling.gen.cjs +4 -3
- package/dist/api/key_manager/v1alpha1/marshalling.gen.d.ts +1 -1
- package/dist/api/key_manager/v1alpha1/marshalling.gen.js +4 -3
- package/dist/api/key_manager/v1alpha1/types.gen.d.ts +197 -115
- package/dist/api/lb/index.gen.d.ts +2 -2
- package/dist/api/lb/v1/api.gen.cjs +68 -178
- package/dist/api/lb/v1/api.gen.d.ts +60 -176
- package/dist/api/lb/v1/api.gen.js +69 -179
- package/dist/api/lb/v1/api.utils.cjs +3 -1
- package/dist/api/lb/v1/api.utils.d.ts +1 -1
- package/dist/api/lb/v1/api.utils.js +3 -1
- package/dist/api/lb/v1/index.gen.d.ts +1 -1
- package/dist/api/lb/v1/marshalling.gen.cjs +9 -3
- package/dist/api/lb/v1/marshalling.gen.d.ts +3 -2
- package/dist/api/lb/v1/marshalling.gen.js +9 -3
- package/dist/api/lb/v1/types.gen.d.ts +1835 -1117
- package/dist/api/lb/v1/types.utils.d.ts +1 -1
- package/dist/api/llm_inference/index.gen.d.ts +2 -2
- package/dist/api/llm_inference/v1beta1/api.gen.cjs +6 -5
- package/dist/api/llm_inference/v1beta1/api.gen.d.ts +2 -2
- package/dist/api/llm_inference/v1beta1/api.gen.js +6 -5
- package/dist/api/llm_inference/v1beta1/marshalling.gen.cjs +4 -3
- package/dist/api/llm_inference/v1beta1/marshalling.gen.d.ts +1 -1
- package/dist/api/llm_inference/v1beta1/marshalling.gen.js +4 -3
- package/dist/api/llm_inference/v1beta1/types.gen.d.ts +1 -1
- package/dist/api/marketplace/index.gen.d.ts +2 -2
- package/dist/api/marketplace/v2/api.gen.cjs +13 -25
- package/dist/api/marketplace/v2/api.gen.d.ts +11 -25
- package/dist/api/marketplace/v2/api.gen.js +13 -25
- package/dist/api/marketplace/v2/marshalling.gen.cjs +4 -3
- package/dist/api/marketplace/v2/marshalling.gen.js +4 -3
- package/dist/api/marketplace/v2/types.gen.d.ts +95 -42
- package/dist/api/mnq/index.gen.d.ts +2 -2
- package/dist/api/mnq/v1beta1/api.gen.cjs +29 -80
- package/dist/api/mnq/v1beta1/api.gen.d.ts +32 -84
- package/dist/api/mnq/v1beta1/api.gen.js +29 -80
- package/dist/api/mnq/v1beta1/index.gen.d.ts +1 -1
- package/dist/api/mnq/v1beta1/marshalling.gen.cjs +4 -3
- package/dist/api/mnq/v1beta1/marshalling.gen.d.ts +1 -1
- package/dist/api/mnq/v1beta1/marshalling.gen.js +4 -3
- package/dist/api/mnq/v1beta1/types.gen.d.ts +343 -170
- package/dist/api/mongodb/index.gen.d.ts +2 -2
- package/dist/api/mongodb/v1alpha1/api.gen.cjs +25 -67
- package/dist/api/mongodb/v1alpha1/api.gen.d.ts +23 -66
- package/dist/api/mongodb/v1alpha1/api.gen.js +25 -67
- package/dist/api/mongodb/v1alpha1/marshalling.gen.cjs +4 -3
- package/dist/api/mongodb/v1alpha1/marshalling.gen.d.ts +1 -1
- package/dist/api/mongodb/v1alpha1/marshalling.gen.js +4 -3
- package/dist/api/mongodb/v1alpha1/types.gen.d.ts +444 -190
- package/dist/api/qaas/index.gen.d.ts +2 -2
- package/dist/api/qaas/v1alpha1/api.gen.cjs +23 -39
- package/dist/api/qaas/v1alpha1/api.gen.d.ts +21 -38
- package/dist/api/qaas/v1alpha1/api.gen.js +23 -39
- package/dist/api/qaas/v1alpha1/marshalling.gen.cjs +4 -3
- package/dist/api/qaas/v1alpha1/marshalling.gen.d.ts +1 -1
- package/dist/api/qaas/v1alpha1/marshalling.gen.js +4 -3
- package/dist/api/qaas/v1alpha1/types.gen.d.ts +503 -175
- package/dist/api/rdb/index.gen.d.ts +2 -2
- package/dist/api/rdb/v1/api.gen.cjs +68 -207
- package/dist/api/rdb/v1/api.gen.d.ts +62 -203
- package/dist/api/rdb/v1/api.gen.js +68 -207
- package/dist/api/rdb/v1/marshalling.gen.cjs +4 -3
- package/dist/api/rdb/v1/marshalling.gen.d.ts +1 -1
- package/dist/api/rdb/v1/marshalling.gen.js +4 -3
- package/dist/api/rdb/v1/types.gen.d.ts +1006 -525
- package/dist/api/redis/index.gen.d.ts +2 -2
- package/dist/api/redis/v1/api.gen.cjs +29 -88
- package/dist/api/redis/v1/api.gen.d.ts +27 -87
- package/dist/api/redis/v1/api.gen.js +29 -88
- package/dist/api/redis/v1/marshalling.gen.cjs +4 -3
- package/dist/api/redis/v1/marshalling.gen.d.ts +1 -1
- package/dist/api/redis/v1/marshalling.gen.js +4 -3
- package/dist/api/redis/v1/types.gen.d.ts +448 -171
- package/dist/api/registry/index.gen.d.ts +2 -2
- package/dist/api/registry/v1/api.gen.cjs +18 -45
- package/dist/api/registry/v1/api.gen.d.ts +16 -44
- package/dist/api/registry/v1/api.gen.js +18 -45
- package/dist/api/registry/v1/marshalling.gen.cjs +4 -3
- package/dist/api/registry/v1/marshalling.gen.d.ts +1 -1
- package/dist/api/registry/v1/marshalling.gen.js +4 -3
- package/dist/api/registry/v1/types.gen.d.ts +201 -117
- package/dist/api/secret/index.gen.d.ts +2 -2
- package/dist/api/secret/v1alpha1/api.gen.cjs +5 -4
- package/dist/api/secret/v1alpha1/api.gen.d.ts +2 -2
- package/dist/api/secret/v1alpha1/api.gen.js +5 -4
- package/dist/api/secret/v1alpha1/marshalling.gen.cjs +4 -3
- package/dist/api/secret/v1alpha1/marshalling.gen.d.ts +1 -1
- package/dist/api/secret/v1alpha1/marshalling.gen.js +4 -3
- package/dist/api/secret/v1alpha1/types.gen.d.ts +1 -1
- package/dist/api/secret/v1beta1/api.gen.cjs +24 -51
- package/dist/api/secret/v1beta1/api.gen.d.ts +23 -53
- package/dist/api/secret/v1beta1/api.gen.js +24 -51
- package/dist/api/secret/v1beta1/marshalling.gen.cjs +4 -3
- package/dist/api/secret/v1beta1/marshalling.gen.d.ts +1 -1
- package/dist/api/secret/v1beta1/marshalling.gen.js +4 -3
- package/dist/api/secret/v1beta1/types.gen.d.ts +360 -225
- package/dist/api/serverless_sqldb/index.gen.d.ts +2 -2
- package/dist/api/serverless_sqldb/v1alpha1/api.gen.cjs +15 -32
- package/dist/api/serverless_sqldb/v1alpha1/api.gen.d.ts +13 -31
- package/dist/api/serverless_sqldb/v1alpha1/api.gen.js +15 -32
- package/dist/api/serverless_sqldb/v1alpha1/marshalling.gen.cjs +4 -3
- package/dist/api/serverless_sqldb/v1alpha1/marshalling.gen.d.ts +1 -1
- package/dist/api/serverless_sqldb/v1alpha1/marshalling.gen.js +4 -3
- package/dist/api/serverless_sqldb/v1alpha1/types.gen.d.ts +169 -77
- package/dist/api/tem/index.gen.d.ts +2 -2
- package/dist/api/tem/v1alpha1/api.gen.cjs +28 -63
- package/dist/api/tem/v1alpha1/api.gen.d.ts +26 -62
- package/dist/api/tem/v1alpha1/api.gen.js +28 -63
- package/dist/api/tem/v1alpha1/marshalling.gen.cjs +4 -3
- package/dist/api/tem/v1alpha1/marshalling.gen.d.ts +1 -1
- package/dist/api/tem/v1alpha1/marshalling.gen.js +4 -3
- package/dist/api/tem/v1alpha1/types.gen.d.ts +762 -339
- package/dist/api/test/index.gen.d.ts +2 -2
- package/dist/api/test/v1/api.gen.cjs +14 -16
- package/dist/api/test/v1/api.gen.d.ts +8 -11
- package/dist/api/test/v1/api.gen.js +14 -16
- package/dist/api/test/v1/marshalling.gen.cjs +4 -3
- package/dist/api/test/v1/marshalling.gen.d.ts +1 -1
- package/dist/api/test/v1/marshalling.gen.js +4 -3
- package/dist/api/test/v1/types.gen.d.ts +21 -10
- package/dist/api/vpc/index.gen.d.ts +2 -2
- package/dist/api/vpc/v1/api.gen.cjs +5 -4
- package/dist/api/vpc/v1/api.gen.d.ts +2 -2
- package/dist/api/vpc/v1/api.gen.js +5 -4
- package/dist/api/vpc/v1/marshalling.gen.cjs +4 -3
- package/dist/api/vpc/v1/marshalling.gen.d.ts +1 -1
- package/dist/api/vpc/v1/marshalling.gen.js +4 -3
- package/dist/api/vpc/v1/types.gen.d.ts +1 -1
- package/dist/api/vpc/v2/api.gen.cjs +18 -53
- package/dist/api/vpc/v2/api.gen.d.ts +18 -45
- package/dist/api/vpc/v2/api.gen.js +19 -54
- package/dist/api/vpc/v2/index.gen.d.ts +1 -1
- package/dist/api/vpc/v2/marshalling.gen.cjs +4 -18
- package/dist/api/vpc/v2/marshalling.gen.d.ts +2 -4
- package/dist/api/vpc/v2/marshalling.gen.js +4 -18
- package/dist/api/vpc/v2/types.gen.d.ts +333 -200
- package/dist/api/vpcgw/index.gen.d.ts +2 -2
- package/dist/api/vpcgw/v1/api.gen.cjs +42 -140
- package/dist/api/vpcgw/v1/api.gen.d.ts +40 -139
- package/dist/api/vpcgw/v1/api.gen.js +42 -140
- package/dist/api/vpcgw/v1/marshalling.gen.cjs +4 -3
- package/dist/api/vpcgw/v1/marshalling.gen.d.ts +1 -1
- package/dist/api/vpcgw/v1/marshalling.gen.js +4 -3
- package/dist/api/vpcgw/v1/types.gen.d.ts +784 -366
- package/dist/api/vpcgw/v2/api.gen.cjs +33 -93
- package/dist/api/vpcgw/v2/api.gen.d.ts +31 -92
- package/dist/api/vpcgw/v2/api.gen.js +33 -93
- package/dist/api/vpcgw/v2/marshalling.gen.cjs +4 -3
- package/dist/api/vpcgw/v2/marshalling.gen.d.ts +1 -1
- package/dist/api/vpcgw/v2/marshalling.gen.js +4 -3
- package/dist/api/vpcgw/v2/types.gen.d.ts +546 -197
- package/dist/api/webhosting/index.gen.d.ts +2 -2
- package/dist/api/webhosting/v1/api.gen.cjs +28 -55
- package/dist/api/webhosting/v1/api.gen.d.ts +40 -71
- package/dist/api/webhosting/v1/api.gen.js +28 -55
- package/dist/api/webhosting/v1/marshalling.gen.cjs +4 -3
- package/dist/api/webhosting/v1/marshalling.gen.d.ts +1 -1
- package/dist/api/webhosting/v1/marshalling.gen.js +4 -3
- package/dist/api/webhosting/v1/types.gen.d.ts +700 -351
- package/dist/client/dist/helpers/is-browser.cjs +4 -0
- package/dist/client/dist/helpers/is-browser.js +4 -0
- package/dist/{package.json.cjs → client/dist/package.json.cjs} +7 -16
- package/dist/{package.json.js → client/dist/package.json.js} +7 -16
- package/dist/client/dist/scw/constants.cjs +7 -0
- package/dist/{vendor → client/dist/vendor}/base64/index.cjs +8 -4
- package/dist/{vendor → client/dist/vendor}/base64/index.js +8 -4
- package/dist/index.cjs +16 -16
- package/dist/index.d.ts +1 -15
- package/dist/index.js +13 -13
- package/node_modules/@scaleway/sdk-client/README.md +36 -0
- package/node_modules/@scaleway/sdk-client/dist/helpers/is-browser.cjs +4 -0
- package/node_modules/@scaleway/sdk-client/dist/helpers/is-browser.js +4 -0
- package/node_modules/@scaleway/sdk-client/dist/helpers/is-response.cjs +4 -0
- package/node_modules/@scaleway/sdk-client/dist/helpers/is-response.js +4 -0
- package/node_modules/@scaleway/sdk-client/dist/helpers/json.cjs +7 -0
- package/{dist → node_modules/@scaleway/sdk-client/dist}/helpers/json.d.ts +2 -2
- package/node_modules/@scaleway/sdk-client/dist/helpers/json.js +7 -0
- package/node_modules/@scaleway/sdk-client/dist/helpers/marshalling.cjs +76 -0
- package/node_modules/@scaleway/sdk-client/dist/helpers/marshalling.js +76 -0
- package/node_modules/@scaleway/sdk-client/dist/index.cjs +52 -0
- package/node_modules/@scaleway/sdk-client/dist/index.d.ts +15 -0
- package/node_modules/@scaleway/sdk-client/dist/index.js +52 -0
- package/node_modules/@scaleway/sdk-client/dist/internal/async/interval-retrier.cjs +53 -0
- package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/async/interval-retrier.d.ts +2 -2
- package/node_modules/@scaleway/sdk-client/dist/internal/async/interval-retrier.js +53 -0
- package/node_modules/@scaleway/sdk-client/dist/internal/async/sleep.cjs +6 -0
- package/node_modules/@scaleway/sdk-client/dist/internal/async/sleep.js +6 -0
- package/node_modules/@scaleway/sdk-client/dist/internal/interceptors/composer.cjs +25 -0
- package/node_modules/@scaleway/sdk-client/dist/internal/interceptors/composer.js +25 -0
- package/node_modules/@scaleway/sdk-client/dist/internal/interceptors/helpers.cjs +12 -0
- package/node_modules/@scaleway/sdk-client/dist/internal/interceptors/helpers.js +12 -0
- package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/interceptors/types.d.ts +2 -2
- package/node_modules/@scaleway/sdk-client/dist/internal/logger/console-logger.cjs +24 -0
- package/node_modules/@scaleway/sdk-client/dist/internal/logger/console-logger.js +24 -0
- package/node_modules/@scaleway/sdk-client/dist/internal/logger/index.cjs +12 -0
- package/node_modules/@scaleway/sdk-client/dist/internal/logger/index.js +12 -0
- package/node_modules/@scaleway/sdk-client/dist/internal/logger/level-resolver.cjs +13 -0
- package/node_modules/@scaleway/sdk-client/dist/internal/logger/level-resolver.js +13 -0
- package/node_modules/@scaleway/sdk-client/dist/internal/validations/string-validation.cjs +30 -0
- package/node_modules/@scaleway/sdk-client/dist/internal/validations/string-validation.js +30 -0
- package/node_modules/@scaleway/sdk-client/dist/package.json.cjs +67 -0
- package/node_modules/@scaleway/sdk-client/dist/package.json.js +67 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/api.cjs +8 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/api.js +8 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/auth.cjs +26 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/auth.js +26 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/client-ini-factory.cjs +66 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/client-ini-factory.js +66 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/client-ini-profile.cjs +23 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/client-ini-profile.js +23 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/client-settings.cjs +51 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/client-settings.js +51 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/client.cjs +31 -0
- package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/client.d.ts +2 -2
- package/node_modules/@scaleway/sdk-client/dist/scw/client.js +31 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/constants.js +7 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/custom-marshalling.cjs +126 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/custom-marshalling.js +126 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/custom-types.cjs +11 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/custom-types.js +11 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/error-parser.cjs +76 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/error-parser.js +76 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/non-standard/invalid-request-mapper.cjs +36 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/non-standard/invalid-request-mapper.js +36 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/non-standard/unknown-resource-mapper.cjs +23 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/non-standard/unknown-resource-mapper.js +23 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/scw-error.cjs +43 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/scw-error.js +43 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/already-exists-error.cjs +31 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/already-exists-error.js +31 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/denied-authentication-error.cjs +37 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/denied-authentication-error.js +37 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/index.cjs +28 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/index.js +28 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/invalid-arguments-error.cjs +54 -0
- package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/invalid-arguments-error.d.ts +2 -2
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/invalid-arguments-error.js +54 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/out-of-stock-error.cjs +17 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/out-of-stock-error.js +17 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/permissions-denied-error.cjs +29 -0
- package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/permissions-denied-error.d.ts +2 -2
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/permissions-denied-error.js +29 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/precondition-failed-error.cjs +32 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/precondition-failed-error.js +32 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/quotas-exceeded-error.cjs +43 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/quotas-exceeded-error.js +43 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/resource-expired-error.cjs +31 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/resource-expired-error.js +31 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/resource-locked-error.cjs +20 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/resource-locked-error.js +20 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/resource-not-found-error.cjs +24 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/resource-not-found-error.js +24 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/too-many-requests-error.cjs +58 -0
- package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/too-many-requests-error.d.ts +2 -2
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/too-many-requests-error.js +58 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/transient-state-error.cjs +31 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/standard/transient-state-error.js +31 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/types.cjs +15 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/errors/types.js +15 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/fetch/build-fetcher.cjs +60 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/fetch/build-fetcher.js +60 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/fetch/http-dumper.cjs +20 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/fetch/http-dumper.js +20 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/fetch/http-interceptors.cjs +43 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/fetch/http-interceptors.js +43 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/fetch/resource-paginator.cjs +36 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/fetch/resource-paginator.js +36 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/fetch/response-parser.cjs +55 -0
- package/node_modules/@scaleway/sdk-client/dist/scw/fetch/response-parser.js +55 -0
- package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/fetch/types.d.ts +2 -2
- package/node_modules/@scaleway/sdk-client/dist/vendor/base64/index.cjs +46 -0
- package/node_modules/@scaleway/sdk-client/dist/vendor/base64/index.js +46 -0
- package/node_modules/@scaleway/sdk-client/package.json +36 -0
- package/package.json +6 -4
- package/dist/helpers/is-browser.cjs +0 -7
- package/dist/helpers/is-browser.js +0 -7
- /package/dist/{helpers → client/dist/helpers}/is-response.cjs +0 -0
- /package/dist/{helpers → client/dist/helpers}/is-response.js +0 -0
- /package/dist/{helpers → client/dist/helpers}/json.cjs +0 -0
- /package/dist/{helpers → client/dist/helpers}/json.js +0 -0
- /package/dist/{helpers → client/dist/helpers}/marshalling.cjs +0 -0
- /package/dist/{helpers → client/dist/helpers}/marshalling.js +0 -0
- /package/dist/{internal → client/dist/internal}/async/interval-retrier.cjs +0 -0
- /package/dist/{internal → client/dist/internal}/async/interval-retrier.js +0 -0
- /package/dist/{internal → client/dist/internal}/async/sleep.cjs +0 -0
- /package/dist/{internal → client/dist/internal}/async/sleep.js +0 -0
- /package/dist/{internal → client/dist/internal}/interceptors/composer.cjs +0 -0
- /package/dist/{internal → client/dist/internal}/interceptors/composer.js +0 -0
- /package/dist/{internal → client/dist/internal}/interceptors/helpers.cjs +0 -0
- /package/dist/{internal → client/dist/internal}/interceptors/helpers.js +0 -0
- /package/dist/{internal → client/dist/internal}/logger/console-logger.cjs +0 -0
- /package/dist/{internal → client/dist/internal}/logger/console-logger.js +0 -0
- /package/dist/{internal → client/dist/internal}/logger/index.cjs +0 -0
- /package/dist/{internal → client/dist/internal}/logger/index.js +0 -0
- /package/dist/{internal → client/dist/internal}/logger/level-resolver.cjs +0 -0
- /package/dist/{internal → client/dist/internal}/logger/level-resolver.js +0 -0
- /package/dist/{internal → client/dist/internal}/validations/string-validation.cjs +0 -0
- /package/dist/{internal → client/dist/internal}/validations/string-validation.js +0 -0
- /package/dist/{scw → client/dist/scw}/api.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/api.js +0 -0
- /package/dist/{scw → client/dist/scw}/auth.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/auth.js +0 -0
- /package/dist/{scw → client/dist/scw}/client-ini-factory.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/client-ini-factory.js +0 -0
- /package/dist/{scw → client/dist/scw}/client-ini-profile.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/client-ini-profile.js +0 -0
- /package/dist/{scw → client/dist/scw}/client-settings.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/client-settings.js +0 -0
- /package/dist/{scw → client/dist/scw}/client.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/client.js +0 -0
- /package/dist/{scw → client/dist/scw}/constants.js +0 -0
- /package/dist/{scw → client/dist/scw}/custom-marshalling.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/custom-marshalling.js +0 -0
- /package/dist/{scw → client/dist/scw}/custom-types.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/custom-types.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/error-parser.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/error-parser.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/non-standard/invalid-request-mapper.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/non-standard/invalid-request-mapper.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/non-standard/unknown-resource-mapper.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/non-standard/unknown-resource-mapper.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/scw-error.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/scw-error.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/already-exists-error.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/already-exists-error.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/denied-authentication-error.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/denied-authentication-error.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/index.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/index.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/invalid-arguments-error.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/invalid-arguments-error.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/out-of-stock-error.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/out-of-stock-error.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/permissions-denied-error.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/permissions-denied-error.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/precondition-failed-error.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/precondition-failed-error.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/quotas-exceeded-error.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/quotas-exceeded-error.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/resource-expired-error.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/resource-expired-error.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/resource-locked-error.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/resource-locked-error.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/resource-not-found-error.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/resource-not-found-error.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/too-many-requests-error.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/too-many-requests-error.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/transient-state-error.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/standard/transient-state-error.js +0 -0
- /package/dist/{scw → client/dist/scw}/errors/types.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/errors/types.js +0 -0
- /package/dist/{scw → client/dist/scw}/fetch/build-fetcher.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/fetch/build-fetcher.js +0 -0
- /package/dist/{scw → client/dist/scw}/fetch/http-dumper.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/fetch/http-dumper.js +0 -0
- /package/dist/{scw → client/dist/scw}/fetch/http-interceptors.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/fetch/http-interceptors.js +0 -0
- /package/dist/{scw → client/dist/scw}/fetch/resource-paginator.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/fetch/resource-paginator.js +0 -0
- /package/dist/{scw → client/dist/scw}/fetch/response-parser.cjs +0 -0
- /package/dist/{scw → client/dist/scw}/fetch/response-parser.js +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/bridge.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/helpers/is-browser.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/helpers/is-response.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/helpers/marshalling.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/async/sleep.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/interceptors/composer.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/interceptors/helpers.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/logger/console-logger.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/logger/index.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/logger/level-resolver.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/logger/logger.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/internal/validations/string-validation.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/internals.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/api.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/auth.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/client-ini-factory.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/client-ini-profile.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/client-settings.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/constants.cjs +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/constants.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/custom-marshalling.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/custom-types.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/error-parser.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/non-standard/invalid-request-mapper.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/non-standard/unknown-resource-mapper.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/scw-error-from-json.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/scw-error.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/already-exists-error.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/denied-authentication-error.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/index.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/out-of-stock-error.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/precondition-failed-error.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/quotas-exceeded-error.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/resource-expired-error.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/resource-locked-error.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/resource-not-found-error.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/standard/transient-state-error.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/errors/types.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/fetch/build-fetcher.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/fetch/http-dumper.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/fetch/http-interceptors.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/fetch/resource-paginator.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/fetch/response-parser.d.ts +0 -0
- /package/{dist → node_modules/@scaleway/sdk-client/dist}/scw/locality.d.ts +0 -0
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
|
|
4
|
-
const
|
|
5
|
-
require("../../../
|
|
6
|
-
|
|
3
|
+
require("../../../client/dist/internal/logger/index.cjs");
|
|
4
|
+
const api = require("../../../client/dist/scw/api.cjs");
|
|
5
|
+
const marshalling = require("../../../client/dist/helpers/marshalling.cjs");
|
|
6
|
+
require("../../../client/dist/vendor/base64/index.cjs");
|
|
7
|
+
const resourcePaginator = require("../../../client/dist/scw/fetch/resource-paginator.cjs");
|
|
7
8
|
const marshalling_gen = require("./marshalling.gen.cjs");
|
|
8
9
|
const jsonContentHeaders = {
|
|
9
10
|
"Content-Type": "application/json; charset=utf-8"
|
|
@@ -16,8 +17,7 @@ class API extends api.API {
|
|
|
16
17
|
"pl-waw"
|
|
17
18
|
];
|
|
18
19
|
/**
|
|
19
|
-
* Create a secret. Create a secret in a given region specified by the
|
|
20
|
-
* `region` parameter.
|
|
20
|
+
* Create a secret. Create a secret in a given region specified by the `region` parameter.
|
|
21
21
|
*
|
|
22
22
|
* @param request - The request {@link CreateSecretRequest}
|
|
23
23
|
* @returns A Promise of Secret
|
|
@@ -34,8 +34,7 @@ class API extends api.API {
|
|
|
34
34
|
marshalling_gen.unmarshalSecret
|
|
35
35
|
);
|
|
36
36
|
/**
|
|
37
|
-
* Get metadata using the secret's ID. Retrieve the metadata of a secret
|
|
38
|
-
* specified by the `region` and `secret_id` parameters.
|
|
37
|
+
* Get metadata using the secret's ID. Retrieve the metadata of a secret specified by the `region` and `secret_id` parameters.
|
|
39
38
|
*
|
|
40
39
|
* @param request - The request {@link GetSecretRequest}
|
|
41
40
|
* @returns A Promise of Secret
|
|
@@ -48,9 +47,7 @@ class API extends api.API {
|
|
|
48
47
|
marshalling_gen.unmarshalSecret
|
|
49
48
|
);
|
|
50
49
|
/**
|
|
51
|
-
* Update metadata of a secret. Edit a secret's metadata such as name, tag(s),
|
|
52
|
-
* description and ephemeral policy. The secret to update is specified by the
|
|
53
|
-
* `secret_id` and `region` parameters.
|
|
50
|
+
* Update metadata of a secret. Edit a secret's metadata such as name, tag(s), description and ephemeral policy. The secret to update is specified by the `secret_id` and `region` parameters.
|
|
54
51
|
*
|
|
55
52
|
* @param request - The request {@link UpdateSecretRequest}
|
|
56
53
|
* @returns A Promise of Secret
|
|
@@ -67,8 +64,7 @@ class API extends api.API {
|
|
|
67
64
|
marshalling_gen.unmarshalSecret
|
|
68
65
|
);
|
|
69
66
|
/**
|
|
70
|
-
* Delete a secret. Delete a given secret specified by the `region` and
|
|
71
|
-
* `secret_id` parameters.
|
|
67
|
+
* Delete a secret. Delete a given secret specified by the `region` and `secret_id` parameters.
|
|
72
68
|
*
|
|
73
69
|
* @param request - The request {@link DeleteSecretRequest}
|
|
74
70
|
*/
|
|
@@ -100,18 +96,14 @@ class API extends api.API {
|
|
|
100
96
|
marshalling_gen.unmarshalListSecretsResponse
|
|
101
97
|
);
|
|
102
98
|
/**
|
|
103
|
-
* List secrets. Retrieve the list of secrets created within an Organization
|
|
104
|
-
* and/or Project. You must specify either the `organization_id` or the
|
|
105
|
-
* `project_id` and the `region`.
|
|
99
|
+
* List secrets. Retrieve the list of secrets created within an Organization and/or Project. You must specify either the `organization_id` or the `project_id` and the `region`.
|
|
106
100
|
*
|
|
107
101
|
* @param request - The request {@link ListSecretsRequest}
|
|
108
102
|
* @returns A Promise of ListSecretsResponse
|
|
109
103
|
*/
|
|
110
104
|
listSecrets = (request) => resourcePaginator.enrichForPagination("secrets", this.pageOfListSecrets, request);
|
|
111
105
|
/**
|
|
112
|
-
* Browse secrets. Retrieve the list of secrets and folders for the given
|
|
113
|
-
* prefix. You must specify either the `organization_id` or the `project_id`
|
|
114
|
-
* and the `region`.
|
|
106
|
+
* Browse secrets. Retrieve the list of secrets and folders for the given prefix. You must specify either the `organization_id` or the `project_id` and the `region`.
|
|
115
107
|
*
|
|
116
108
|
* @param request - The request {@link BrowseSecretsRequest}
|
|
117
109
|
* @returns A Promise of BrowseSecretsResponse
|
|
@@ -136,9 +128,7 @@ class API extends api.API {
|
|
|
136
128
|
marshalling_gen.unmarshalBrowseSecretsResponse
|
|
137
129
|
);
|
|
138
130
|
/**
|
|
139
|
-
* Enable secret protection. Enable secret protection for a given secret
|
|
140
|
-
* specified by the `secret_id` parameter. Enabling secret protection means
|
|
141
|
-
* that your secret can be read and modified, but it cannot be deleted.
|
|
131
|
+
* Enable secret protection. Enable secret protection for a given secret specified by the `secret_id` parameter. Enabling secret protection means that your secret can be read and modified, but it cannot be deleted.
|
|
142
132
|
*
|
|
143
133
|
* @param request - The request {@link ProtectSecretRequest}
|
|
144
134
|
* @returns A Promise of Secret
|
|
@@ -153,9 +143,7 @@ class API extends api.API {
|
|
|
153
143
|
marshalling_gen.unmarshalSecret
|
|
154
144
|
);
|
|
155
145
|
/**
|
|
156
|
-
* Disable secret protection. Disable secret protection for a given secret
|
|
157
|
-
* specified by the `secret_id` parameter. Disabling secret protection means
|
|
158
|
-
* that your secret can be read, modified and deleted.
|
|
146
|
+
* Disable secret protection. Disable secret protection for a given secret specified by the `secret_id` parameter. Disabling secret protection means that your secret can be read, modified and deleted.
|
|
159
147
|
*
|
|
160
148
|
* @param request - The request {@link UnprotectSecretRequest}
|
|
161
149
|
* @returns A Promise of Secret
|
|
@@ -183,8 +171,7 @@ class API extends api.API {
|
|
|
183
171
|
path: `/secret-manager/v1beta1/regions/${marshalling.validatePathParam("region", request.region ?? this.client.settings.defaultRegion)}/secrets/${marshalling.validatePathParam("secretId", request.secretId)}/add-owner`
|
|
184
172
|
});
|
|
185
173
|
/**
|
|
186
|
-
* Create a version. Create a version of a given secret specified by the
|
|
187
|
-
* `region` and `secret_id` parameters.
|
|
174
|
+
* Create a version. Create a version of a given secret specified by the `region` and `secret_id` parameters.
|
|
188
175
|
*
|
|
189
176
|
* @param request - The request {@link CreateSecretVersionRequest}
|
|
190
177
|
* @returns A Promise of SecretVersion
|
|
@@ -201,9 +188,7 @@ class API extends api.API {
|
|
|
201
188
|
marshalling_gen.unmarshalSecretVersion
|
|
202
189
|
);
|
|
203
190
|
/**
|
|
204
|
-
* Get metadata of a secret's version using the secret's ID. Retrieve the
|
|
205
|
-
* metadata of a secret's given version specified by the `region`, `secret_id`
|
|
206
|
-
* and `revision` parameters.
|
|
191
|
+
* Get metadata of a secret's version using the secret's ID. Retrieve the metadata of a secret's given version specified by the `region`, `secret_id` and `revision` parameters.
|
|
207
192
|
*
|
|
208
193
|
* @param request - The request {@link GetSecretVersionRequest}
|
|
209
194
|
* @returns A Promise of SecretVersion
|
|
@@ -216,8 +201,7 @@ class API extends api.API {
|
|
|
216
201
|
marshalling_gen.unmarshalSecretVersion
|
|
217
202
|
);
|
|
218
203
|
/**
|
|
219
|
-
* Update metadata of a version. Edit the metadata of a secret's given
|
|
220
|
-
* version, specified by the `region`, `secret_id` and `revision` parameters.
|
|
204
|
+
* Update metadata of a version. Edit the metadata of a secret's given version, specified by the `region`, `secret_id` and `revision` parameters.
|
|
221
205
|
*
|
|
222
206
|
* @param request - The request {@link UpdateSecretVersionRequest}
|
|
223
207
|
* @returns A Promise of SecretVersion
|
|
@@ -234,8 +218,7 @@ class API extends api.API {
|
|
|
234
218
|
marshalling_gen.unmarshalSecretVersion
|
|
235
219
|
);
|
|
236
220
|
/**
|
|
237
|
-
* Delete a version. Delete a secret's version and the sensitive data
|
|
238
|
-
* contained in it. Deleting a version is permanent and cannot be undone.
|
|
221
|
+
* Delete a version. Delete a secret's version and the sensitive data contained in it. Deleting a version is permanent and cannot be undone.
|
|
239
222
|
*
|
|
240
223
|
* @param request - The request {@link DeleteSecretVersionRequest}
|
|
241
224
|
*/
|
|
@@ -259,18 +242,14 @@ class API extends api.API {
|
|
|
259
242
|
marshalling_gen.unmarshalListSecretVersionsResponse
|
|
260
243
|
);
|
|
261
244
|
/**
|
|
262
|
-
* List versions of a secret using the secret's ID. Retrieve the list of a
|
|
263
|
-
* given secret's versions specified by the `secret_id` and `region`
|
|
264
|
-
* parameters.
|
|
245
|
+
* List versions of a secret using the secret's ID. Retrieve the list of a given secret's versions specified by the `secret_id` and `region` parameters.
|
|
265
246
|
*
|
|
266
247
|
* @param request - The request {@link ListSecretVersionsRequest}
|
|
267
248
|
* @returns A Promise of ListSecretVersionsResponse
|
|
268
249
|
*/
|
|
269
250
|
listSecretVersions = (request) => resourcePaginator.enrichForPagination("versions", this.pageOfListSecretVersions, request);
|
|
270
251
|
/**
|
|
271
|
-
* Access a secret's version using the secret's ID. Access sensitive data in a
|
|
272
|
-
* secret's version specified by the `region`, `secret_id` and `revision`
|
|
273
|
-
* parameters.
|
|
252
|
+
* Access a secret's version using the secret's ID. Access sensitive data in a secret's version specified by the `region`, `secret_id` and `revision` parameters.
|
|
274
253
|
*
|
|
275
254
|
* @param request - The request {@link AccessSecretVersionRequest}
|
|
276
255
|
* @returns A Promise of AccessSecretVersionResponse
|
|
@@ -283,9 +262,7 @@ class API extends api.API {
|
|
|
283
262
|
marshalling_gen.unmarshalAccessSecretVersionResponse
|
|
284
263
|
);
|
|
285
264
|
/**
|
|
286
|
-
* Access a secret's version using the secret's name and path. Access
|
|
287
|
-
* sensitive data in a secret's version specified by the `region`,
|
|
288
|
-
* `secret_name`, `secret_path` and `revision` parameters.
|
|
265
|
+
* Access a secret's version using the secret's name and path. Access sensitive data in a secret's version specified by the `region`, `secret_name`, `secret_path` and `revision` parameters.
|
|
289
266
|
*
|
|
290
267
|
* @param request - The request {@link AccessSecretVersionByPathRequest}
|
|
291
268
|
* @returns A Promise of AccessSecretVersionResponse
|
|
@@ -306,8 +283,7 @@ class API extends api.API {
|
|
|
306
283
|
marshalling_gen.unmarshalAccessSecretVersionResponse
|
|
307
284
|
);
|
|
308
285
|
/**
|
|
309
|
-
* Enable a version. Make a specific version accessible. You must specify the
|
|
310
|
-
* `region`, `secret_id` and `revision` parameters.
|
|
286
|
+
* Enable a version. Make a specific version accessible. You must specify the `region`, `secret_id` and `revision` parameters.
|
|
311
287
|
*
|
|
312
288
|
* @param request - The request {@link EnableSecretVersionRequest}
|
|
313
289
|
* @returns A Promise of SecretVersion
|
|
@@ -322,8 +298,7 @@ class API extends api.API {
|
|
|
322
298
|
marshalling_gen.unmarshalSecretVersion
|
|
323
299
|
);
|
|
324
300
|
/**
|
|
325
|
-
* Disable a version. Make a specific version inaccessible. You must specify
|
|
326
|
-
* the `region`, `secret_id` and `revision` parameters.
|
|
301
|
+
* Disable a version. Make a specific version inaccessible. You must specify the `region`, `secret_id` and `revision` parameters.
|
|
327
302
|
*
|
|
328
303
|
* @param request - The request {@link DisableSecretVersionRequest}
|
|
329
304
|
* @returns A Promise of SecretVersion
|
|
@@ -388,8 +363,7 @@ class API extends api.API {
|
|
|
388
363
|
*/
|
|
389
364
|
listSecretTypes = (request = {}) => resourcePaginator.enrichForPagination("types", this.pageOfListSecretTypes, request);
|
|
390
365
|
/**
|
|
391
|
-
* Restore a version. Restore a secret's version specified by the `region`,
|
|
392
|
-
* `secret_id` and `revision` parameters.
|
|
366
|
+
* Restore a version. Restore a secret's version specified by the `region`, `secret_id` and `revision` parameters.
|
|
393
367
|
*
|
|
394
368
|
* @param request - The request {@link RestoreSecretVersionRequest}
|
|
395
369
|
* @returns A Promise of SecretVersion
|
|
@@ -404,8 +378,7 @@ class API extends api.API {
|
|
|
404
378
|
marshalling_gen.unmarshalSecretVersion
|
|
405
379
|
);
|
|
406
380
|
/**
|
|
407
|
-
* Restore a secret. Restore a secret and all its versions scheduled for
|
|
408
|
-
* deletion specified by the `region` and `secret_id` parameters.
|
|
381
|
+
* Restore a secret. Restore a secret and all its versions scheduled for deletion specified by the `region` and `secret_id` parameters.
|
|
409
382
|
*
|
|
410
383
|
* @param request - The request {@link RestoreSecretRequest}
|
|
411
384
|
* @returns A Promise of Secret
|
|
@@ -1,53 +1,44 @@
|
|
|
1
|
-
import { API as ParentAPI } from '
|
|
2
|
-
import type { Region as ScwRegion } from '
|
|
1
|
+
import { API as ParentAPI } from '@scaleway/sdk-client';
|
|
2
|
+
import type { Region as ScwRegion } from '@scaleway/sdk-client';
|
|
3
3
|
import type { AccessSecretVersionByPathRequest, AccessSecretVersionRequest, AccessSecretVersionResponse, AddSecretOwnerRequest, BrowseSecretsRequest, BrowseSecretsResponse, CreateSecretRequest, CreateSecretVersionRequest, DeleteSecretRequest, DeleteSecretVersionRequest, DisableSecretVersionRequest, EnableSecretVersionRequest, GetSecretRequest, GetSecretVersionRequest, ListSecretTypesRequest, ListSecretTypesResponse, ListSecretVersionsRequest, ListSecretVersionsResponse, ListSecretsRequest, ListSecretsResponse, ListTagsRequest, ListTagsResponse, ProtectSecretRequest, RestoreSecretRequest, RestoreSecretVersionRequest, Secret, SecretVersion, UnprotectSecretRequest, UpdateSecretRequest, UpdateSecretVersionRequest } from './types.gen';
|
|
4
4
|
/**
|
|
5
5
|
* Secret Manager API.
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
* accessing and sharing sensitive data such as passwords, API keys and
|
|
9
|
-
* certificates.
|
|
6
|
+
|
|
7
|
+
This API allows you to manage your Secret Manager services, for storing, accessing and sharing sensitive data such as passwords, API keys and certificates.
|
|
10
8
|
*/
|
|
11
9
|
export declare class API extends ParentAPI {
|
|
12
10
|
/** Lists the available regions of the API. */
|
|
13
11
|
static readonly LOCALITIES: ScwRegion[];
|
|
14
12
|
/**
|
|
15
|
-
* Create a secret. Create a secret in a given region specified by the
|
|
16
|
-
* `region` parameter.
|
|
13
|
+
* Create a secret. Create a secret in a given region specified by the `region` parameter.
|
|
17
14
|
*
|
|
18
15
|
* @param request - The request {@link CreateSecretRequest}
|
|
19
16
|
* @returns A Promise of Secret
|
|
20
17
|
*/
|
|
21
18
|
createSecret: (request: Readonly<CreateSecretRequest>) => Promise<Secret>;
|
|
22
19
|
/**
|
|
23
|
-
* Get metadata using the secret's ID. Retrieve the metadata of a secret
|
|
24
|
-
* specified by the `region` and `secret_id` parameters.
|
|
20
|
+
* Get metadata using the secret's ID. Retrieve the metadata of a secret specified by the `region` and `secret_id` parameters.
|
|
25
21
|
*
|
|
26
22
|
* @param request - The request {@link GetSecretRequest}
|
|
27
23
|
* @returns A Promise of Secret
|
|
28
24
|
*/
|
|
29
25
|
getSecret: (request: Readonly<GetSecretRequest>) => Promise<Secret>;
|
|
30
26
|
/**
|
|
31
|
-
* Update metadata of a secret. Edit a secret's metadata such as name, tag(s),
|
|
32
|
-
* description and ephemeral policy. The secret to update is specified by the
|
|
33
|
-
* `secret_id` and `region` parameters.
|
|
27
|
+
* Update metadata of a secret. Edit a secret's metadata such as name, tag(s), description and ephemeral policy. The secret to update is specified by the `secret_id` and `region` parameters.
|
|
34
28
|
*
|
|
35
29
|
* @param request - The request {@link UpdateSecretRequest}
|
|
36
30
|
* @returns A Promise of Secret
|
|
37
31
|
*/
|
|
38
32
|
updateSecret: (request: Readonly<UpdateSecretRequest>) => Promise<Secret>;
|
|
39
33
|
/**
|
|
40
|
-
* Delete a secret. Delete a given secret specified by the `region` and
|
|
41
|
-
* `secret_id` parameters.
|
|
34
|
+
* Delete a secret. Delete a given secret specified by the `region` and `secret_id` parameters.
|
|
42
35
|
*
|
|
43
36
|
* @param request - The request {@link DeleteSecretRequest}
|
|
44
37
|
*/
|
|
45
38
|
deleteSecret: (request: Readonly<DeleteSecretRequest>) => Promise<void>;
|
|
46
39
|
protected pageOfListSecrets: (request: Readonly<ListSecretsRequest>) => Promise<ListSecretsResponse>;
|
|
47
40
|
/**
|
|
48
|
-
* List secrets. Retrieve the list of secrets created within an Organization
|
|
49
|
-
* and/or Project. You must specify either the `organization_id` or the
|
|
50
|
-
* `project_id` and the `region`.
|
|
41
|
+
* List secrets. Retrieve the list of secrets created within an Organization and/or Project. You must specify either the `organization_id` or the `project_id` and the `region`.
|
|
51
42
|
*
|
|
52
43
|
* @param request - The request {@link ListSecretsRequest}
|
|
53
44
|
* @returns A Promise of ListSecretsResponse
|
|
@@ -57,27 +48,21 @@ export declare class API extends ParentAPI {
|
|
|
57
48
|
[Symbol.asyncIterator]: () => AsyncGenerator<Secret[], void, void>;
|
|
58
49
|
};
|
|
59
50
|
/**
|
|
60
|
-
* Browse secrets. Retrieve the list of secrets and folders for the given
|
|
61
|
-
* prefix. You must specify either the `organization_id` or the `project_id`
|
|
62
|
-
* and the `region`.
|
|
51
|
+
* Browse secrets. Retrieve the list of secrets and folders for the given prefix. You must specify either the `organization_id` or the `project_id` and the `region`.
|
|
63
52
|
*
|
|
64
53
|
* @param request - The request {@link BrowseSecretsRequest}
|
|
65
54
|
* @returns A Promise of BrowseSecretsResponse
|
|
66
55
|
*/
|
|
67
56
|
browseSecrets: (request: Readonly<BrowseSecretsRequest>) => Promise<BrowseSecretsResponse>;
|
|
68
57
|
/**
|
|
69
|
-
* Enable secret protection. Enable secret protection for a given secret
|
|
70
|
-
* specified by the `secret_id` parameter. Enabling secret protection means
|
|
71
|
-
* that your secret can be read and modified, but it cannot be deleted.
|
|
58
|
+
* Enable secret protection. Enable secret protection for a given secret specified by the `secret_id` parameter. Enabling secret protection means that your secret can be read and modified, but it cannot be deleted.
|
|
72
59
|
*
|
|
73
60
|
* @param request - The request {@link ProtectSecretRequest}
|
|
74
61
|
* @returns A Promise of Secret
|
|
75
62
|
*/
|
|
76
63
|
protectSecret: (request: Readonly<ProtectSecretRequest>) => Promise<Secret>;
|
|
77
64
|
/**
|
|
78
|
-
* Disable secret protection. Disable secret protection for a given secret
|
|
79
|
-
* specified by the `secret_id` parameter. Disabling secret protection means
|
|
80
|
-
* that your secret can be read, modified and deleted.
|
|
65
|
+
* Disable secret protection. Disable secret protection for a given secret specified by the `secret_id` parameter. Disabling secret protection means that your secret can be read, modified and deleted.
|
|
81
66
|
*
|
|
82
67
|
* @param request - The request {@link UnprotectSecretRequest}
|
|
83
68
|
* @returns A Promise of Secret
|
|
@@ -90,42 +75,35 @@ export declare class API extends ParentAPI {
|
|
|
90
75
|
*/
|
|
91
76
|
addSecretOwner: (request: Readonly<AddSecretOwnerRequest>) => Promise<void>;
|
|
92
77
|
/**
|
|
93
|
-
* Create a version. Create a version of a given secret specified by the
|
|
94
|
-
* `region` and `secret_id` parameters.
|
|
78
|
+
* Create a version. Create a version of a given secret specified by the `region` and `secret_id` parameters.
|
|
95
79
|
*
|
|
96
80
|
* @param request - The request {@link CreateSecretVersionRequest}
|
|
97
81
|
* @returns A Promise of SecretVersion
|
|
98
82
|
*/
|
|
99
83
|
createSecretVersion: (request: Readonly<CreateSecretVersionRequest>) => Promise<SecretVersion>;
|
|
100
84
|
/**
|
|
101
|
-
* Get metadata of a secret's version using the secret's ID. Retrieve the
|
|
102
|
-
* metadata of a secret's given version specified by the `region`, `secret_id`
|
|
103
|
-
* and `revision` parameters.
|
|
85
|
+
* Get metadata of a secret's version using the secret's ID. Retrieve the metadata of a secret's given version specified by the `region`, `secret_id` and `revision` parameters.
|
|
104
86
|
*
|
|
105
87
|
* @param request - The request {@link GetSecretVersionRequest}
|
|
106
88
|
* @returns A Promise of SecretVersion
|
|
107
89
|
*/
|
|
108
90
|
getSecretVersion: (request: Readonly<GetSecretVersionRequest>) => Promise<SecretVersion>;
|
|
109
91
|
/**
|
|
110
|
-
* Update metadata of a version. Edit the metadata of a secret's given
|
|
111
|
-
* version, specified by the `region`, `secret_id` and `revision` parameters.
|
|
92
|
+
* Update metadata of a version. Edit the metadata of a secret's given version, specified by the `region`, `secret_id` and `revision` parameters.
|
|
112
93
|
*
|
|
113
94
|
* @param request - The request {@link UpdateSecretVersionRequest}
|
|
114
95
|
* @returns A Promise of SecretVersion
|
|
115
96
|
*/
|
|
116
97
|
updateSecretVersion: (request: Readonly<UpdateSecretVersionRequest>) => Promise<SecretVersion>;
|
|
117
98
|
/**
|
|
118
|
-
* Delete a version. Delete a secret's version and the sensitive data
|
|
119
|
-
* contained in it. Deleting a version is permanent and cannot be undone.
|
|
99
|
+
* Delete a version. Delete a secret's version and the sensitive data contained in it. Deleting a version is permanent and cannot be undone.
|
|
120
100
|
*
|
|
121
101
|
* @param request - The request {@link DeleteSecretVersionRequest}
|
|
122
102
|
*/
|
|
123
103
|
deleteSecretVersion: (request: Readonly<DeleteSecretVersionRequest>) => Promise<void>;
|
|
124
104
|
protected pageOfListSecretVersions: (request: Readonly<ListSecretVersionsRequest>) => Promise<ListSecretVersionsResponse>;
|
|
125
105
|
/**
|
|
126
|
-
* List versions of a secret using the secret's ID. Retrieve the list of a
|
|
127
|
-
* given secret's versions specified by the `secret_id` and `region`
|
|
128
|
-
* parameters.
|
|
106
|
+
* List versions of a secret using the secret's ID. Retrieve the list of a given secret's versions specified by the `secret_id` and `region` parameters.
|
|
129
107
|
*
|
|
130
108
|
* @param request - The request {@link ListSecretVersionsRequest}
|
|
131
109
|
* @returns A Promise of ListSecretVersionsResponse
|
|
@@ -135,34 +113,28 @@ export declare class API extends ParentAPI {
|
|
|
135
113
|
[Symbol.asyncIterator]: () => AsyncGenerator<SecretVersion[], void, void>;
|
|
136
114
|
};
|
|
137
115
|
/**
|
|
138
|
-
* Access a secret's version using the secret's ID. Access sensitive data in a
|
|
139
|
-
* secret's version specified by the `region`, `secret_id` and `revision`
|
|
140
|
-
* parameters.
|
|
116
|
+
* Access a secret's version using the secret's ID. Access sensitive data in a secret's version specified by the `region`, `secret_id` and `revision` parameters.
|
|
141
117
|
*
|
|
142
118
|
* @param request - The request {@link AccessSecretVersionRequest}
|
|
143
119
|
* @returns A Promise of AccessSecretVersionResponse
|
|
144
120
|
*/
|
|
145
121
|
accessSecretVersion: (request: Readonly<AccessSecretVersionRequest>) => Promise<AccessSecretVersionResponse>;
|
|
146
122
|
/**
|
|
147
|
-
* Access a secret's version using the secret's name and path. Access
|
|
148
|
-
* sensitive data in a secret's version specified by the `region`,
|
|
149
|
-
* `secret_name`, `secret_path` and `revision` parameters.
|
|
123
|
+
* Access a secret's version using the secret's name and path. Access sensitive data in a secret's version specified by the `region`, `secret_name`, `secret_path` and `revision` parameters.
|
|
150
124
|
*
|
|
151
125
|
* @param request - The request {@link AccessSecretVersionByPathRequest}
|
|
152
126
|
* @returns A Promise of AccessSecretVersionResponse
|
|
153
127
|
*/
|
|
154
128
|
accessSecretVersionByPath: (request: Readonly<AccessSecretVersionByPathRequest>) => Promise<AccessSecretVersionResponse>;
|
|
155
129
|
/**
|
|
156
|
-
* Enable a version. Make a specific version accessible. You must specify the
|
|
157
|
-
* `region`, `secret_id` and `revision` parameters.
|
|
130
|
+
* Enable a version. Make a specific version accessible. You must specify the `region`, `secret_id` and `revision` parameters.
|
|
158
131
|
*
|
|
159
132
|
* @param request - The request {@link EnableSecretVersionRequest}
|
|
160
133
|
* @returns A Promise of SecretVersion
|
|
161
134
|
*/
|
|
162
135
|
enableSecretVersion: (request: Readonly<EnableSecretVersionRequest>) => Promise<SecretVersion>;
|
|
163
136
|
/**
|
|
164
|
-
* Disable a version. Make a specific version inaccessible. You must specify
|
|
165
|
-
* the `region`, `secret_id` and `revision` parameters.
|
|
137
|
+
* Disable a version. Make a specific version inaccessible. You must specify the `region`, `secret_id` and `revision` parameters.
|
|
166
138
|
*
|
|
167
139
|
* @param request - The request {@link DisableSecretVersionRequest}
|
|
168
140
|
* @returns A Promise of SecretVersion
|
|
@@ -191,16 +163,14 @@ export declare class API extends ParentAPI {
|
|
|
191
163
|
[Symbol.asyncIterator]: () => AsyncGenerator<import("./types.gen").SecretType[], void, void>;
|
|
192
164
|
};
|
|
193
165
|
/**
|
|
194
|
-
* Restore a version. Restore a secret's version specified by the `region`,
|
|
195
|
-
* `secret_id` and `revision` parameters.
|
|
166
|
+
* Restore a version. Restore a secret's version specified by the `region`, `secret_id` and `revision` parameters.
|
|
196
167
|
*
|
|
197
168
|
* @param request - The request {@link RestoreSecretVersionRequest}
|
|
198
169
|
* @returns A Promise of SecretVersion
|
|
199
170
|
*/
|
|
200
171
|
restoreSecretVersion: (request: Readonly<RestoreSecretVersionRequest>) => Promise<SecretVersion>;
|
|
201
172
|
/**
|
|
202
|
-
* Restore a secret. Restore a secret and all its versions scheduled for
|
|
203
|
-
* deletion specified by the `region` and `secret_id` parameters.
|
|
173
|
+
* Restore a secret. Restore a secret and all its versions scheduled for deletion specified by the `region` and `secret_id` parameters.
|
|
204
174
|
*
|
|
205
175
|
* @param request - The request {@link RestoreSecretRequest}
|
|
206
176
|
* @returns A Promise of Secret
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import "../../../
|
|
4
|
-
import
|
|
1
|
+
import "../../../client/dist/internal/logger/index.js";
|
|
2
|
+
import { API as API$1 } from "../../../client/dist/scw/api.js";
|
|
3
|
+
import { validatePathParam, urlParams } from "../../../client/dist/helpers/marshalling.js";
|
|
4
|
+
import "../../../client/dist/vendor/base64/index.js";
|
|
5
|
+
import { enrichForPagination } from "../../../client/dist/scw/fetch/resource-paginator.js";
|
|
5
6
|
import { marshalCreateSecretRequest, unmarshalSecret, marshalUpdateSecretRequest, unmarshalListSecretsResponse, unmarshalBrowseSecretsResponse, marshalAddSecretOwnerRequest, marshalCreateSecretVersionRequest, unmarshalSecretVersion, marshalUpdateSecretVersionRequest, unmarshalListSecretVersionsResponse, unmarshalAccessSecretVersionResponse, unmarshalListTagsResponse, unmarshalListSecretTypesResponse } from "./marshalling.gen.js";
|
|
6
7
|
const jsonContentHeaders = {
|
|
7
8
|
"Content-Type": "application/json; charset=utf-8"
|
|
@@ -14,8 +15,7 @@ class API extends API$1 {
|
|
|
14
15
|
"pl-waw"
|
|
15
16
|
];
|
|
16
17
|
/**
|
|
17
|
-
* Create a secret. Create a secret in a given region specified by the
|
|
18
|
-
* `region` parameter.
|
|
18
|
+
* Create a secret. Create a secret in a given region specified by the `region` parameter.
|
|
19
19
|
*
|
|
20
20
|
* @param request - The request {@link CreateSecretRequest}
|
|
21
21
|
* @returns A Promise of Secret
|
|
@@ -32,8 +32,7 @@ class API extends API$1 {
|
|
|
32
32
|
unmarshalSecret
|
|
33
33
|
);
|
|
34
34
|
/**
|
|
35
|
-
* Get metadata using the secret's ID. Retrieve the metadata of a secret
|
|
36
|
-
* specified by the `region` and `secret_id` parameters.
|
|
35
|
+
* Get metadata using the secret's ID. Retrieve the metadata of a secret specified by the `region` and `secret_id` parameters.
|
|
37
36
|
*
|
|
38
37
|
* @param request - The request {@link GetSecretRequest}
|
|
39
38
|
* @returns A Promise of Secret
|
|
@@ -46,9 +45,7 @@ class API extends API$1 {
|
|
|
46
45
|
unmarshalSecret
|
|
47
46
|
);
|
|
48
47
|
/**
|
|
49
|
-
* Update metadata of a secret. Edit a secret's metadata such as name, tag(s),
|
|
50
|
-
* description and ephemeral policy. The secret to update is specified by the
|
|
51
|
-
* `secret_id` and `region` parameters.
|
|
48
|
+
* Update metadata of a secret. Edit a secret's metadata such as name, tag(s), description and ephemeral policy. The secret to update is specified by the `secret_id` and `region` parameters.
|
|
52
49
|
*
|
|
53
50
|
* @param request - The request {@link UpdateSecretRequest}
|
|
54
51
|
* @returns A Promise of Secret
|
|
@@ -65,8 +62,7 @@ class API extends API$1 {
|
|
|
65
62
|
unmarshalSecret
|
|
66
63
|
);
|
|
67
64
|
/**
|
|
68
|
-
* Delete a secret. Delete a given secret specified by the `region` and
|
|
69
|
-
* `secret_id` parameters.
|
|
65
|
+
* Delete a secret. Delete a given secret specified by the `region` and `secret_id` parameters.
|
|
70
66
|
*
|
|
71
67
|
* @param request - The request {@link DeleteSecretRequest}
|
|
72
68
|
*/
|
|
@@ -98,18 +94,14 @@ class API extends API$1 {
|
|
|
98
94
|
unmarshalListSecretsResponse
|
|
99
95
|
);
|
|
100
96
|
/**
|
|
101
|
-
* List secrets. Retrieve the list of secrets created within an Organization
|
|
102
|
-
* and/or Project. You must specify either the `organization_id` or the
|
|
103
|
-
* `project_id` and the `region`.
|
|
97
|
+
* List secrets. Retrieve the list of secrets created within an Organization and/or Project. You must specify either the `organization_id` or the `project_id` and the `region`.
|
|
104
98
|
*
|
|
105
99
|
* @param request - The request {@link ListSecretsRequest}
|
|
106
100
|
* @returns A Promise of ListSecretsResponse
|
|
107
101
|
*/
|
|
108
102
|
listSecrets = (request) => enrichForPagination("secrets", this.pageOfListSecrets, request);
|
|
109
103
|
/**
|
|
110
|
-
* Browse secrets. Retrieve the list of secrets and folders for the given
|
|
111
|
-
* prefix. You must specify either the `organization_id` or the `project_id`
|
|
112
|
-
* and the `region`.
|
|
104
|
+
* Browse secrets. Retrieve the list of secrets and folders for the given prefix. You must specify either the `organization_id` or the `project_id` and the `region`.
|
|
113
105
|
*
|
|
114
106
|
* @param request - The request {@link BrowseSecretsRequest}
|
|
115
107
|
* @returns A Promise of BrowseSecretsResponse
|
|
@@ -134,9 +126,7 @@ class API extends API$1 {
|
|
|
134
126
|
unmarshalBrowseSecretsResponse
|
|
135
127
|
);
|
|
136
128
|
/**
|
|
137
|
-
* Enable secret protection. Enable secret protection for a given secret
|
|
138
|
-
* specified by the `secret_id` parameter. Enabling secret protection means
|
|
139
|
-
* that your secret can be read and modified, but it cannot be deleted.
|
|
129
|
+
* Enable secret protection. Enable secret protection for a given secret specified by the `secret_id` parameter. Enabling secret protection means that your secret can be read and modified, but it cannot be deleted.
|
|
140
130
|
*
|
|
141
131
|
* @param request - The request {@link ProtectSecretRequest}
|
|
142
132
|
* @returns A Promise of Secret
|
|
@@ -151,9 +141,7 @@ class API extends API$1 {
|
|
|
151
141
|
unmarshalSecret
|
|
152
142
|
);
|
|
153
143
|
/**
|
|
154
|
-
* Disable secret protection. Disable secret protection for a given secret
|
|
155
|
-
* specified by the `secret_id` parameter. Disabling secret protection means
|
|
156
|
-
* that your secret can be read, modified and deleted.
|
|
144
|
+
* Disable secret protection. Disable secret protection for a given secret specified by the `secret_id` parameter. Disabling secret protection means that your secret can be read, modified and deleted.
|
|
157
145
|
*
|
|
158
146
|
* @param request - The request {@link UnprotectSecretRequest}
|
|
159
147
|
* @returns A Promise of Secret
|
|
@@ -181,8 +169,7 @@ class API extends API$1 {
|
|
|
181
169
|
path: `/secret-manager/v1beta1/regions/${validatePathParam("region", request.region ?? this.client.settings.defaultRegion)}/secrets/${validatePathParam("secretId", request.secretId)}/add-owner`
|
|
182
170
|
});
|
|
183
171
|
/**
|
|
184
|
-
* Create a version. Create a version of a given secret specified by the
|
|
185
|
-
* `region` and `secret_id` parameters.
|
|
172
|
+
* Create a version. Create a version of a given secret specified by the `region` and `secret_id` parameters.
|
|
186
173
|
*
|
|
187
174
|
* @param request - The request {@link CreateSecretVersionRequest}
|
|
188
175
|
* @returns A Promise of SecretVersion
|
|
@@ -199,9 +186,7 @@ class API extends API$1 {
|
|
|
199
186
|
unmarshalSecretVersion
|
|
200
187
|
);
|
|
201
188
|
/**
|
|
202
|
-
* Get metadata of a secret's version using the secret's ID. Retrieve the
|
|
203
|
-
* metadata of a secret's given version specified by the `region`, `secret_id`
|
|
204
|
-
* and `revision` parameters.
|
|
189
|
+
* Get metadata of a secret's version using the secret's ID. Retrieve the metadata of a secret's given version specified by the `region`, `secret_id` and `revision` parameters.
|
|
205
190
|
*
|
|
206
191
|
* @param request - The request {@link GetSecretVersionRequest}
|
|
207
192
|
* @returns A Promise of SecretVersion
|
|
@@ -214,8 +199,7 @@ class API extends API$1 {
|
|
|
214
199
|
unmarshalSecretVersion
|
|
215
200
|
);
|
|
216
201
|
/**
|
|
217
|
-
* Update metadata of a version. Edit the metadata of a secret's given
|
|
218
|
-
* version, specified by the `region`, `secret_id` and `revision` parameters.
|
|
202
|
+
* Update metadata of a version. Edit the metadata of a secret's given version, specified by the `region`, `secret_id` and `revision` parameters.
|
|
219
203
|
*
|
|
220
204
|
* @param request - The request {@link UpdateSecretVersionRequest}
|
|
221
205
|
* @returns A Promise of SecretVersion
|
|
@@ -232,8 +216,7 @@ class API extends API$1 {
|
|
|
232
216
|
unmarshalSecretVersion
|
|
233
217
|
);
|
|
234
218
|
/**
|
|
235
|
-
* Delete a version. Delete a secret's version and the sensitive data
|
|
236
|
-
* contained in it. Deleting a version is permanent and cannot be undone.
|
|
219
|
+
* Delete a version. Delete a secret's version and the sensitive data contained in it. Deleting a version is permanent and cannot be undone.
|
|
237
220
|
*
|
|
238
221
|
* @param request - The request {@link DeleteSecretVersionRequest}
|
|
239
222
|
*/
|
|
@@ -257,18 +240,14 @@ class API extends API$1 {
|
|
|
257
240
|
unmarshalListSecretVersionsResponse
|
|
258
241
|
);
|
|
259
242
|
/**
|
|
260
|
-
* List versions of a secret using the secret's ID. Retrieve the list of a
|
|
261
|
-
* given secret's versions specified by the `secret_id` and `region`
|
|
262
|
-
* parameters.
|
|
243
|
+
* List versions of a secret using the secret's ID. Retrieve the list of a given secret's versions specified by the `secret_id` and `region` parameters.
|
|
263
244
|
*
|
|
264
245
|
* @param request - The request {@link ListSecretVersionsRequest}
|
|
265
246
|
* @returns A Promise of ListSecretVersionsResponse
|
|
266
247
|
*/
|
|
267
248
|
listSecretVersions = (request) => enrichForPagination("versions", this.pageOfListSecretVersions, request);
|
|
268
249
|
/**
|
|
269
|
-
* Access a secret's version using the secret's ID. Access sensitive data in a
|
|
270
|
-
* secret's version specified by the `region`, `secret_id` and `revision`
|
|
271
|
-
* parameters.
|
|
250
|
+
* Access a secret's version using the secret's ID. Access sensitive data in a secret's version specified by the `region`, `secret_id` and `revision` parameters.
|
|
272
251
|
*
|
|
273
252
|
* @param request - The request {@link AccessSecretVersionRequest}
|
|
274
253
|
* @returns A Promise of AccessSecretVersionResponse
|
|
@@ -281,9 +260,7 @@ class API extends API$1 {
|
|
|
281
260
|
unmarshalAccessSecretVersionResponse
|
|
282
261
|
);
|
|
283
262
|
/**
|
|
284
|
-
* Access a secret's version using the secret's name and path. Access
|
|
285
|
-
* sensitive data in a secret's version specified by the `region`,
|
|
286
|
-
* `secret_name`, `secret_path` and `revision` parameters.
|
|
263
|
+
* Access a secret's version using the secret's name and path. Access sensitive data in a secret's version specified by the `region`, `secret_name`, `secret_path` and `revision` parameters.
|
|
287
264
|
*
|
|
288
265
|
* @param request - The request {@link AccessSecretVersionByPathRequest}
|
|
289
266
|
* @returns A Promise of AccessSecretVersionResponse
|
|
@@ -304,8 +281,7 @@ class API extends API$1 {
|
|
|
304
281
|
unmarshalAccessSecretVersionResponse
|
|
305
282
|
);
|
|
306
283
|
/**
|
|
307
|
-
* Enable a version. Make a specific version accessible. You must specify the
|
|
308
|
-
* `region`, `secret_id` and `revision` parameters.
|
|
284
|
+
* Enable a version. Make a specific version accessible. You must specify the `region`, `secret_id` and `revision` parameters.
|
|
309
285
|
*
|
|
310
286
|
* @param request - The request {@link EnableSecretVersionRequest}
|
|
311
287
|
* @returns A Promise of SecretVersion
|
|
@@ -320,8 +296,7 @@ class API extends API$1 {
|
|
|
320
296
|
unmarshalSecretVersion
|
|
321
297
|
);
|
|
322
298
|
/**
|
|
323
|
-
* Disable a version. Make a specific version inaccessible. You must specify
|
|
324
|
-
* the `region`, `secret_id` and `revision` parameters.
|
|
299
|
+
* Disable a version. Make a specific version inaccessible. You must specify the `region`, `secret_id` and `revision` parameters.
|
|
325
300
|
*
|
|
326
301
|
* @param request - The request {@link DisableSecretVersionRequest}
|
|
327
302
|
* @returns A Promise of SecretVersion
|
|
@@ -386,8 +361,7 @@ class API extends API$1 {
|
|
|
386
361
|
*/
|
|
387
362
|
listSecretTypes = (request = {}) => enrichForPagination("types", this.pageOfListSecretTypes, request);
|
|
388
363
|
/**
|
|
389
|
-
* Restore a version. Restore a secret's version specified by the `region`,
|
|
390
|
-
* `secret_id` and `revision` parameters.
|
|
364
|
+
* Restore a version. Restore a secret's version specified by the `region`, `secret_id` and `revision` parameters.
|
|
391
365
|
*
|
|
392
366
|
* @param request - The request {@link RestoreSecretVersionRequest}
|
|
393
367
|
* @returns A Promise of SecretVersion
|
|
@@ -402,8 +376,7 @@ class API extends API$1 {
|
|
|
402
376
|
unmarshalSecretVersion
|
|
403
377
|
);
|
|
404
378
|
/**
|
|
405
|
-
* Restore a secret. Restore a secret and all its versions scheduled for
|
|
406
|
-
* deletion specified by the `region` and `secret_id` parameters.
|
|
379
|
+
* Restore a secret. Restore a secret and all its versions scheduled for deletion specified by the `region` and `secret_id` parameters.
|
|
407
380
|
*
|
|
408
381
|
* @param request - The request {@link RestoreSecretRequest}
|
|
409
382
|
* @returns A Promise of Secret
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
|
|
4
|
-
const
|
|
5
|
-
require("../../../
|
|
3
|
+
require("../../../client/dist/internal/logger/index.cjs");
|
|
4
|
+
const json = require("../../../client/dist/helpers/json.cjs");
|
|
5
|
+
const marshalling = require("../../../client/dist/helpers/marshalling.cjs");
|
|
6
|
+
require("../../../client/dist/vendor/base64/index.cjs");
|
|
6
7
|
const unmarshalEphemeralProperties = (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 { AccessSecretVersionResponse, AddSecretOwnerRequest, BrowseSecretsResponse, CreateSecretRequest, CreateSecretVersionRequest, ListSecretTypesResponse, ListSecretVersionsResponse, ListSecretsResponse, ListTagsResponse, Secret, SecretVersion, UpdateSecretRequest, UpdateSecretVersionRequest } from './types.gen';
|
|
3
3
|
export declare const unmarshalSecretVersion: (data: unknown) => SecretVersion;
|
|
4
4
|
export declare const unmarshalSecret: (data: unknown) => Secret;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import "../../../
|
|
1
|
+
import "../../../client/dist/internal/logger/index.js";
|
|
2
|
+
import { isJSONObject } from "../../../client/dist/helpers/json.js";
|
|
3
|
+
import { unmarshalDate, unmarshalArrayOfObject } from "../../../client/dist/helpers/marshalling.js";
|
|
4
|
+
import "../../../client/dist/vendor/base64/index.js";
|
|
4
5
|
const unmarshalEphemeralProperties = (data) => {
|
|
5
6
|
if (!isJSONObject(data)) {
|
|
6
7
|
throw new TypeError(
|