@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,10 +17,7 @@ class API extends api.API {
|
|
|
16
17
|
"pl-waw"
|
|
17
18
|
];
|
|
18
19
|
/**
|
|
19
|
-
* Create a key. Create a key in a given region specified by the `region`
|
|
20
|
-
* parameter. Keys only support symmetric encryption. You can use keys to
|
|
21
|
-
* encrypt or decrypt arbitrary payloads, or to generate data encryption keys.
|
|
22
|
-
* **Data encryption keys are not stored in Key Manager**.
|
|
20
|
+
* Create a key. Create a key in a given region specified by the `region` parameter. Keys only support symmetric encryption. You can use keys to encrypt or decrypt arbitrary payloads, or to generate data encryption keys. **Data encryption keys are not stored in Key Manager**.
|
|
23
21
|
*
|
|
24
22
|
* @param request - The request {@link CreateKeyRequest}
|
|
25
23
|
* @returns A Promise of Key
|
|
@@ -36,8 +34,7 @@ class API extends api.API {
|
|
|
36
34
|
marshalling_gen.unmarshalKey
|
|
37
35
|
);
|
|
38
36
|
/**
|
|
39
|
-
* Get key metadata. Retrieve metadata for a specified key using the `region`
|
|
40
|
-
* and `key_id` parameters.
|
|
37
|
+
* Get key metadata. Retrieve metadata for a specified key using the `region` and `key_id` parameters.
|
|
41
38
|
*
|
|
42
39
|
* @param request - The request {@link GetKeyRequest}
|
|
43
40
|
* @returns A Promise of Key
|
|
@@ -50,8 +47,7 @@ class API extends api.API {
|
|
|
50
47
|
marshalling_gen.unmarshalKey
|
|
51
48
|
);
|
|
52
49
|
/**
|
|
53
|
-
* Update a key. Modify a key's metadata including name, description and tags,
|
|
54
|
-
* specified by the `key_id` and `region` parameters.
|
|
50
|
+
* Update a key. Modify a key's metadata including name, description and tags, specified by the `key_id` and `region` parameters.
|
|
55
51
|
*
|
|
56
52
|
* @param request - The request {@link UpdateKeyRequest}
|
|
57
53
|
* @returns A Promise of Key
|
|
@@ -68,9 +64,7 @@ class API extends api.API {
|
|
|
68
64
|
marshalling_gen.unmarshalKey
|
|
69
65
|
);
|
|
70
66
|
/**
|
|
71
|
-
* Delete a key. Permanently delete a key specified by the `region` and
|
|
72
|
-
* `key_id` parameters. This action is irreversible. Any data encrypted with
|
|
73
|
-
* this key, including data encryption keys, will no longer be decipherable.
|
|
67
|
+
* Delete a key. Permanently delete a key specified by the `region` and `key_id` parameters. This action is irreversible. Any data encrypted with this key, including data encryption keys, will no longer be decipherable.
|
|
74
68
|
*
|
|
75
69
|
* @param request - The request {@link DeleteKeyRequest}
|
|
76
70
|
*/
|
|
@@ -79,10 +73,7 @@ class API extends api.API {
|
|
|
79
73
|
path: `/key-manager/v1alpha1/regions/${marshalling.validatePathParam("region", request.region ?? this.client.settings.defaultRegion)}/keys/${marshalling.validatePathParam("keyId", request.keyId)}`
|
|
80
74
|
});
|
|
81
75
|
/**
|
|
82
|
-
* Rotate a key. Generate a new version of an existing key with new key
|
|
83
|
-
* material. Previous key versions remain usable to decrypt previously
|
|
84
|
-
* encrypted data, but the key's new version will be used for subsequent
|
|
85
|
-
* encryption operations and data key generation.
|
|
76
|
+
* Rotate a key. Generate a new version of an existing key with new key material. Previous key versions remain usable to decrypt previously encrypted data, but the key's new version will be used for subsequent encryption operations and data key generation.
|
|
86
77
|
*
|
|
87
78
|
* @param request - The request {@link RotateKeyRequest}
|
|
88
79
|
* @returns A Promise of Key
|
|
@@ -97,9 +88,7 @@ class API extends api.API {
|
|
|
97
88
|
marshalling_gen.unmarshalKey
|
|
98
89
|
);
|
|
99
90
|
/**
|
|
100
|
-
* Apply key protection. Apply protection to a given key specified by the
|
|
101
|
-
* `key_id` parameter. Applying key protection means that your key can be used
|
|
102
|
-
* and modified, but it cannot be deleted.
|
|
91
|
+
* Apply key protection. Apply protection to a given key specified by the `key_id` parameter. Applying key protection means that your key can be used and modified, but it cannot be deleted.
|
|
103
92
|
*
|
|
104
93
|
* @param request - The request {@link ProtectKeyRequest}
|
|
105
94
|
* @returns A Promise of Key
|
|
@@ -114,9 +103,7 @@ class API extends api.API {
|
|
|
114
103
|
marshalling_gen.unmarshalKey
|
|
115
104
|
);
|
|
116
105
|
/**
|
|
117
|
-
* Remove key protection. Remove key protection from a given key specified by
|
|
118
|
-
* the `key_id` parameter. Removing key protection means that your key can be
|
|
119
|
-
* deleted anytime.
|
|
106
|
+
* Remove key protection. Remove key protection from a given key specified by the `key_id` parameter. Removing key protection means that your key can be deleted anytime.
|
|
120
107
|
*
|
|
121
108
|
* @param request - The request {@link UnprotectKeyRequest}
|
|
122
109
|
* @returns A Promise of Key
|
|
@@ -131,9 +118,7 @@ class API extends api.API {
|
|
|
131
118
|
marshalling_gen.unmarshalKey
|
|
132
119
|
);
|
|
133
120
|
/**
|
|
134
|
-
* Enable key. Enable a given key to be used for cryptographic operations.
|
|
135
|
-
* Enabling a key allows you to make a disabled key usable again. You must
|
|
136
|
-
* specify the `region` and `key_id` parameters.
|
|
121
|
+
* Enable key. Enable a given key to be used for cryptographic operations. Enabling a key allows you to make a disabled key usable again. You must specify the `region` and `key_id` parameters.
|
|
137
122
|
*
|
|
138
123
|
* @param request - The request {@link EnableKeyRequest}
|
|
139
124
|
* @returns A Promise of Key
|
|
@@ -148,9 +133,7 @@ class API extends api.API {
|
|
|
148
133
|
marshalling_gen.unmarshalKey
|
|
149
134
|
);
|
|
150
135
|
/**
|
|
151
|
-
* Disable key. Disable a given key, preventing it to be used for
|
|
152
|
-
* cryptographic operations. Disabling a key renders it unusable. You must
|
|
153
|
-
* specify the `region` and `key_id` parameters.
|
|
136
|
+
* Disable key. Disable a given key, preventing it to be used for cryptographic operations. Disabling a key renders it unusable. You must specify the `region` and `key_id` parameters.
|
|
154
137
|
*
|
|
155
138
|
* @param request - The request {@link DisableKeyRequest}
|
|
156
139
|
* @returns A Promise of Key
|
|
@@ -184,28 +167,20 @@ class API extends api.API {
|
|
|
184
167
|
marshalling_gen.unmarshalListKeysResponse
|
|
185
168
|
);
|
|
186
169
|
/**
|
|
187
|
-
* List keys. Retrieve a list of keys across all Projects in an Organization
|
|
188
|
-
* or within a specific Project. You must specify the `region`, and either the
|
|
189
|
-
* `organization_id` or the `project_id`.
|
|
170
|
+
* List keys. Retrieve a list of keys across all Projects in an Organization or within a specific Project. You must specify the `region`, and either the `organization_id` or the `project_id`.
|
|
190
171
|
*
|
|
191
172
|
* @param request - The request {@link ListKeysRequest}
|
|
192
173
|
* @returns A Promise of ListKeysResponse
|
|
193
174
|
*/
|
|
194
175
|
listKeys = (request = {}) => resourcePaginator.enrichForPagination("keys", this.pageOfListKeys, request);
|
|
195
176
|
/**
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
* not store your data encryption key. To retrieve your key's plaintext, use
|
|
204
|
-
* the `Decrypt` method with your key's ID and ciphertext.
|
|
205
|
-
*
|
|
206
|
-
* @param request - The request {@link GenerateDataKeyRequest}
|
|
207
|
-
* @returns A Promise of DataKey
|
|
208
|
-
*/
|
|
177
|
+
* Create a data encryption key. Create a new data encryption key for cryptographic operations outside of Key Manager. The data encryption key is encrypted and must be decrypted using the key you have created in Key Manager.
|
|
178
|
+
|
|
179
|
+
The data encryption key is returned in plaintext and ciphertext but it should only be stored in its encrypted form (ciphertext). Key Manager does not store your data encryption key. To retrieve your key's plaintext, use the `Decrypt` method with your key's ID and ciphertext.
|
|
180
|
+
*
|
|
181
|
+
* @param request - The request {@link GenerateDataKeyRequest}
|
|
182
|
+
* @returns A Promise of DataKey
|
|
183
|
+
*/
|
|
209
184
|
generateDataKey = (request) => this.client.fetch(
|
|
210
185
|
{
|
|
211
186
|
body: JSON.stringify(
|
|
@@ -218,10 +193,7 @@ class API extends api.API {
|
|
|
218
193
|
marshalling_gen.unmarshalDataKey
|
|
219
194
|
);
|
|
220
195
|
/**
|
|
221
|
-
* Encrypt a payload. Encrypt a payload using an existing key, specified by
|
|
222
|
-
* the `key_id` parameter. Only keys with a usage set to
|
|
223
|
-
* `symmetric_encryption` are supported by this method. The maximum payload
|
|
224
|
-
* size that can be encrypted is 64 KB of plaintext.
|
|
196
|
+
* Encrypt a payload. Encrypt a payload using an existing key, specified by the `key_id` parameter. Only keys with a usage set to `symmetric_encryption` are supported by this method. The maximum payload size that can be encrypted is 64 KB of plaintext.
|
|
225
197
|
*
|
|
226
198
|
* @param request - The request {@link EncryptRequest}
|
|
227
199
|
* @returns A Promise of EncryptResponse
|
|
@@ -238,10 +210,7 @@ class API extends api.API {
|
|
|
238
210
|
marshalling_gen.unmarshalEncryptResponse
|
|
239
211
|
);
|
|
240
212
|
/**
|
|
241
|
-
* Decrypt an encrypted payload. Decrypt an encrypted payload using an
|
|
242
|
-
* existing key, specified by the `key_id` parameter. The maximum payload size
|
|
243
|
-
* that can be decrypted is equivalent to the encrypted output of 64 KB of
|
|
244
|
-
* data (around 131 KB).
|
|
213
|
+
* Decrypt an encrypted payload. Decrypt an encrypted payload using an existing key, specified by the `key_id` parameter. The maximum payload size that can be decrypted is equivalent to the encrypted output of 64 KB of data (around 131 KB).
|
|
245
214
|
*
|
|
246
215
|
* @param request - The request {@link DecryptRequest}
|
|
247
216
|
* @returns A Promise of DecryptResponse
|
|
@@ -258,9 +227,7 @@ class API extends api.API {
|
|
|
258
227
|
marshalling_gen.unmarshalDecryptResponse
|
|
259
228
|
);
|
|
260
229
|
/**
|
|
261
|
-
* Import key material. Import externally generated key material into Key
|
|
262
|
-
* Manager to derive a new cryptographic key. The key's origin must be
|
|
263
|
-
* `external`.
|
|
230
|
+
* Import key material. Import externally generated key material into Key Manager to derive a new cryptographic key. The key's origin must be `external`.
|
|
264
231
|
*
|
|
265
232
|
* @param request - The request {@link ImportKeyMaterialRequest}
|
|
266
233
|
* @returns A Promise of Key
|
|
@@ -277,9 +244,7 @@ class API extends api.API {
|
|
|
277
244
|
marshalling_gen.unmarshalKey
|
|
278
245
|
);
|
|
279
246
|
/**
|
|
280
|
-
* Delete key material. Delete previously imported key material. This renders
|
|
281
|
-
* the associated cryptographic key unusable for any operation. The key's
|
|
282
|
-
* origin must be `external`.
|
|
247
|
+
* Delete key material. Delete previously imported key material. This renders the associated cryptographic key unusable for any operation. The key's origin must be `external`.
|
|
283
248
|
*
|
|
284
249
|
* @param request - The request {@link DeleteKeyMaterialRequest}
|
|
285
250
|
*/
|
|
@@ -1,90 +1,71 @@
|
|
|
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 { CreateKeyRequest, DataKey, DecryptRequest, DecryptResponse, DeleteKeyMaterialRequest, DeleteKeyRequest, DisableKeyRequest, EnableKeyRequest, EncryptRequest, EncryptResponse, GenerateDataKeyRequest, GetKeyRequest, ImportKeyMaterialRequest, Key, ListKeysRequest, ListKeysResponse, ProtectKeyRequest, RotateKeyRequest, UnprotectKeyRequest, UpdateKeyRequest } from './types.gen';
|
|
4
4
|
/**
|
|
5
5
|
* Key Manager API.
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
* centralized and secure service.
|
|
6
|
+
|
|
7
|
+
This API allows you to create, manage and use cryptographic keys in a centralized and secure service.
|
|
9
8
|
*/
|
|
10
9
|
export declare class API extends ParentAPI {
|
|
11
10
|
/** Lists the available regions of the API. */
|
|
12
11
|
static readonly LOCALITIES: ScwRegion[];
|
|
13
12
|
/**
|
|
14
|
-
* Create a key. Create a key in a given region specified by the `region`
|
|
15
|
-
* parameter. Keys only support symmetric encryption. You can use keys to
|
|
16
|
-
* encrypt or decrypt arbitrary payloads, or to generate data encryption keys.
|
|
17
|
-
* **Data encryption keys are not stored in Key Manager**.
|
|
13
|
+
* Create a key. Create a key in a given region specified by the `region` parameter. Keys only support symmetric encryption. You can use keys to encrypt or decrypt arbitrary payloads, or to generate data encryption keys. **Data encryption keys are not stored in Key Manager**.
|
|
18
14
|
*
|
|
19
15
|
* @param request - The request {@link CreateKeyRequest}
|
|
20
16
|
* @returns A Promise of Key
|
|
21
17
|
*/
|
|
22
18
|
createKey: (request: Readonly<CreateKeyRequest>) => Promise<Key>;
|
|
23
19
|
/**
|
|
24
|
-
* Get key metadata. Retrieve metadata for a specified key using the `region`
|
|
25
|
-
* and `key_id` parameters.
|
|
20
|
+
* Get key metadata. Retrieve metadata for a specified key using the `region` and `key_id` parameters.
|
|
26
21
|
*
|
|
27
22
|
* @param request - The request {@link GetKeyRequest}
|
|
28
23
|
* @returns A Promise of Key
|
|
29
24
|
*/
|
|
30
25
|
getKey: (request: Readonly<GetKeyRequest>) => Promise<Key>;
|
|
31
26
|
/**
|
|
32
|
-
* Update a key. Modify a key's metadata including name, description and tags,
|
|
33
|
-
* specified by the `key_id` and `region` parameters.
|
|
27
|
+
* Update a key. Modify a key's metadata including name, description and tags, specified by the `key_id` and `region` parameters.
|
|
34
28
|
*
|
|
35
29
|
* @param request - The request {@link UpdateKeyRequest}
|
|
36
30
|
* @returns A Promise of Key
|
|
37
31
|
*/
|
|
38
32
|
updateKey: (request: Readonly<UpdateKeyRequest>) => Promise<Key>;
|
|
39
33
|
/**
|
|
40
|
-
* Delete a key. Permanently delete a key specified by the `region` and
|
|
41
|
-
* `key_id` parameters. This action is irreversible. Any data encrypted with
|
|
42
|
-
* this key, including data encryption keys, will no longer be decipherable.
|
|
34
|
+
* Delete a key. Permanently delete a key specified by the `region` and `key_id` parameters. This action is irreversible. Any data encrypted with this key, including data encryption keys, will no longer be decipherable.
|
|
43
35
|
*
|
|
44
36
|
* @param request - The request {@link DeleteKeyRequest}
|
|
45
37
|
*/
|
|
46
38
|
deleteKey: (request: Readonly<DeleteKeyRequest>) => Promise<void>;
|
|
47
39
|
/**
|
|
48
|
-
* Rotate a key. Generate a new version of an existing key with new key
|
|
49
|
-
* material. Previous key versions remain usable to decrypt previously
|
|
50
|
-
* encrypted data, but the key's new version will be used for subsequent
|
|
51
|
-
* encryption operations and data key generation.
|
|
40
|
+
* Rotate a key. Generate a new version of an existing key with new key material. Previous key versions remain usable to decrypt previously encrypted data, but the key's new version will be used for subsequent encryption operations and data key generation.
|
|
52
41
|
*
|
|
53
42
|
* @param request - The request {@link RotateKeyRequest}
|
|
54
43
|
* @returns A Promise of Key
|
|
55
44
|
*/
|
|
56
45
|
rotateKey: (request: Readonly<RotateKeyRequest>) => Promise<Key>;
|
|
57
46
|
/**
|
|
58
|
-
* Apply key protection. Apply protection to a given key specified by the
|
|
59
|
-
* `key_id` parameter. Applying key protection means that your key can be used
|
|
60
|
-
* and modified, but it cannot be deleted.
|
|
47
|
+
* Apply key protection. Apply protection to a given key specified by the `key_id` parameter. Applying key protection means that your key can be used and modified, but it cannot be deleted.
|
|
61
48
|
*
|
|
62
49
|
* @param request - The request {@link ProtectKeyRequest}
|
|
63
50
|
* @returns A Promise of Key
|
|
64
51
|
*/
|
|
65
52
|
protectKey: (request: Readonly<ProtectKeyRequest>) => Promise<Key>;
|
|
66
53
|
/**
|
|
67
|
-
* Remove key protection. Remove key protection from a given key specified by
|
|
68
|
-
* the `key_id` parameter. Removing key protection means that your key can be
|
|
69
|
-
* deleted anytime.
|
|
54
|
+
* Remove key protection. Remove key protection from a given key specified by the `key_id` parameter. Removing key protection means that your key can be deleted anytime.
|
|
70
55
|
*
|
|
71
56
|
* @param request - The request {@link UnprotectKeyRequest}
|
|
72
57
|
* @returns A Promise of Key
|
|
73
58
|
*/
|
|
74
59
|
unprotectKey: (request: Readonly<UnprotectKeyRequest>) => Promise<Key>;
|
|
75
60
|
/**
|
|
76
|
-
* Enable key. Enable a given key to be used for cryptographic operations.
|
|
77
|
-
* Enabling a key allows you to make a disabled key usable again. You must
|
|
78
|
-
* specify the `region` and `key_id` parameters.
|
|
61
|
+
* Enable key. Enable a given key to be used for cryptographic operations. Enabling a key allows you to make a disabled key usable again. You must specify the `region` and `key_id` parameters.
|
|
79
62
|
*
|
|
80
63
|
* @param request - The request {@link EnableKeyRequest}
|
|
81
64
|
* @returns A Promise of Key
|
|
82
65
|
*/
|
|
83
66
|
enableKey: (request: Readonly<EnableKeyRequest>) => Promise<Key>;
|
|
84
67
|
/**
|
|
85
|
-
* Disable key. Disable a given key, preventing it to be used for
|
|
86
|
-
* cryptographic operations. Disabling a key renders it unusable. You must
|
|
87
|
-
* specify the `region` and `key_id` parameters.
|
|
68
|
+
* Disable key. Disable a given key, preventing it to be used for cryptographic operations. Disabling a key renders it unusable. You must specify the `region` and `key_id` parameters.
|
|
88
69
|
*
|
|
89
70
|
* @param request - The request {@link DisableKeyRequest}
|
|
90
71
|
* @returns A Promise of Key
|
|
@@ -92,9 +73,7 @@ export declare class API extends ParentAPI {
|
|
|
92
73
|
disableKey: (request: Readonly<DisableKeyRequest>) => Promise<Key>;
|
|
93
74
|
protected pageOfListKeys: (request?: Readonly<ListKeysRequest>) => Promise<ListKeysResponse>;
|
|
94
75
|
/**
|
|
95
|
-
* List keys. Retrieve a list of keys across all Projects in an Organization
|
|
96
|
-
* or within a specific Project. You must specify the `region`, and either the
|
|
97
|
-
* `organization_id` or the `project_id`.
|
|
76
|
+
* List keys. Retrieve a list of keys across all Projects in an Organization or within a specific Project. You must specify the `region`, and either the `organization_id` or the `project_id`.
|
|
98
77
|
*
|
|
99
78
|
* @param request - The request {@link ListKeysRequest}
|
|
100
79
|
* @returns A Promise of ListKeysResponse
|
|
@@ -104,53 +83,37 @@ export declare class API extends ParentAPI {
|
|
|
104
83
|
[Symbol.asyncIterator]: () => AsyncGenerator<Key[], void, void>;
|
|
105
84
|
};
|
|
106
85
|
/**
|
|
107
|
-
* Create a data encryption key. Create a new data encryption key for
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
* Manager.
|
|
111
|
-
*
|
|
112
|
-
* The data encryption key is returned in plaintext and ciphertext but it
|
|
113
|
-
* should only be stored in its encrypted form (ciphertext). Key Manager does
|
|
114
|
-
* not store your data encryption key. To retrieve your key's plaintext, use
|
|
115
|
-
* the `Decrypt` method with your key's ID and ciphertext.
|
|
86
|
+
* Create a data encryption key. Create a new data encryption key for cryptographic operations outside of Key Manager. The data encryption key is encrypted and must be decrypted using the key you have created in Key Manager.
|
|
87
|
+
|
|
88
|
+
The data encryption key is returned in plaintext and ciphertext but it should only be stored in its encrypted form (ciphertext). Key Manager does not store your data encryption key. To retrieve your key's plaintext, use the `Decrypt` method with your key's ID and ciphertext.
|
|
116
89
|
*
|
|
117
90
|
* @param request - The request {@link GenerateDataKeyRequest}
|
|
118
91
|
* @returns A Promise of DataKey
|
|
119
92
|
*/
|
|
120
93
|
generateDataKey: (request: Readonly<GenerateDataKeyRequest>) => Promise<DataKey>;
|
|
121
94
|
/**
|
|
122
|
-
* Encrypt a payload. Encrypt a payload using an existing key, specified by
|
|
123
|
-
* the `key_id` parameter. Only keys with a usage set to
|
|
124
|
-
* `symmetric_encryption` are supported by this method. The maximum payload
|
|
125
|
-
* size that can be encrypted is 64 KB of plaintext.
|
|
95
|
+
* Encrypt a payload. Encrypt a payload using an existing key, specified by the `key_id` parameter. Only keys with a usage set to `symmetric_encryption` are supported by this method. The maximum payload size that can be encrypted is 64 KB of plaintext.
|
|
126
96
|
*
|
|
127
97
|
* @param request - The request {@link EncryptRequest}
|
|
128
98
|
* @returns A Promise of EncryptResponse
|
|
129
99
|
*/
|
|
130
100
|
encrypt: (request: Readonly<EncryptRequest>) => Promise<EncryptResponse>;
|
|
131
101
|
/**
|
|
132
|
-
* Decrypt an encrypted payload. Decrypt an encrypted payload using an
|
|
133
|
-
* existing key, specified by the `key_id` parameter. The maximum payload size
|
|
134
|
-
* that can be decrypted is equivalent to the encrypted output of 64 KB of
|
|
135
|
-
* data (around 131 KB).
|
|
102
|
+
* Decrypt an encrypted payload. Decrypt an encrypted payload using an existing key, specified by the `key_id` parameter. The maximum payload size that can be decrypted is equivalent to the encrypted output of 64 KB of data (around 131 KB).
|
|
136
103
|
*
|
|
137
104
|
* @param request - The request {@link DecryptRequest}
|
|
138
105
|
* @returns A Promise of DecryptResponse
|
|
139
106
|
*/
|
|
140
107
|
decrypt: (request: Readonly<DecryptRequest>) => Promise<DecryptResponse>;
|
|
141
108
|
/**
|
|
142
|
-
* Import key material. Import externally generated key material into Key
|
|
143
|
-
* Manager to derive a new cryptographic key. The key's origin must be
|
|
144
|
-
* `external`.
|
|
109
|
+
* Import key material. Import externally generated key material into Key Manager to derive a new cryptographic key. The key's origin must be `external`.
|
|
145
110
|
*
|
|
146
111
|
* @param request - The request {@link ImportKeyMaterialRequest}
|
|
147
112
|
* @returns A Promise of Key
|
|
148
113
|
*/
|
|
149
114
|
importKeyMaterial: (request: Readonly<ImportKeyMaterialRequest>) => Promise<Key>;
|
|
150
115
|
/**
|
|
151
|
-
* Delete key material. Delete previously imported key material. This renders
|
|
152
|
-
* the associated cryptographic key unusable for any operation. The key's
|
|
153
|
-
* origin must be `external`.
|
|
116
|
+
* Delete key material. Delete previously imported key material. This renders the associated cryptographic key unusable for any operation. The key's origin must be `external`.
|
|
154
117
|
*
|
|
155
118
|
* @param request - The request {@link DeleteKeyMaterialRequest}
|
|
156
119
|
*/
|
|
@@ -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 { marshalCreateKeyRequest, unmarshalKey, marshalUpdateKeyRequest, unmarshalListKeysResponse, marshalGenerateDataKeyRequest, unmarshalDataKey, marshalEncryptRequest, unmarshalEncryptResponse, marshalDecryptRequest, unmarshalDecryptResponse, marshalImportKeyMaterialRequest } from "./marshalling.gen.js";
|
|
6
7
|
const jsonContentHeaders = {
|
|
7
8
|
"Content-Type": "application/json; charset=utf-8"
|
|
@@ -14,10 +15,7 @@ class API extends API$1 {
|
|
|
14
15
|
"pl-waw"
|
|
15
16
|
];
|
|
16
17
|
/**
|
|
17
|
-
* Create a key. Create a key in a given region specified by the `region`
|
|
18
|
-
* parameter. Keys only support symmetric encryption. You can use keys to
|
|
19
|
-
* encrypt or decrypt arbitrary payloads, or to generate data encryption keys.
|
|
20
|
-
* **Data encryption keys are not stored in Key Manager**.
|
|
18
|
+
* Create a key. Create a key in a given region specified by the `region` parameter. Keys only support symmetric encryption. You can use keys to encrypt or decrypt arbitrary payloads, or to generate data encryption keys. **Data encryption keys are not stored in Key Manager**.
|
|
21
19
|
*
|
|
22
20
|
* @param request - The request {@link CreateKeyRequest}
|
|
23
21
|
* @returns A Promise of Key
|
|
@@ -34,8 +32,7 @@ class API extends API$1 {
|
|
|
34
32
|
unmarshalKey
|
|
35
33
|
);
|
|
36
34
|
/**
|
|
37
|
-
* Get key metadata. Retrieve metadata for a specified key using the `region`
|
|
38
|
-
* and `key_id` parameters.
|
|
35
|
+
* Get key metadata. Retrieve metadata for a specified key using the `region` and `key_id` parameters.
|
|
39
36
|
*
|
|
40
37
|
* @param request - The request {@link GetKeyRequest}
|
|
41
38
|
* @returns A Promise of Key
|
|
@@ -48,8 +45,7 @@ class API extends API$1 {
|
|
|
48
45
|
unmarshalKey
|
|
49
46
|
);
|
|
50
47
|
/**
|
|
51
|
-
* Update a key. Modify a key's metadata including name, description and tags,
|
|
52
|
-
* specified by the `key_id` and `region` parameters.
|
|
48
|
+
* Update a key. Modify a key's metadata including name, description and tags, specified by the `key_id` and `region` parameters.
|
|
53
49
|
*
|
|
54
50
|
* @param request - The request {@link UpdateKeyRequest}
|
|
55
51
|
* @returns A Promise of Key
|
|
@@ -66,9 +62,7 @@ class API extends API$1 {
|
|
|
66
62
|
unmarshalKey
|
|
67
63
|
);
|
|
68
64
|
/**
|
|
69
|
-
* Delete a key. Permanently delete a key specified by the `region` and
|
|
70
|
-
* `key_id` parameters. This action is irreversible. Any data encrypted with
|
|
71
|
-
* this key, including data encryption keys, will no longer be decipherable.
|
|
65
|
+
* Delete a key. Permanently delete a key specified by the `region` and `key_id` parameters. This action is irreversible. Any data encrypted with this key, including data encryption keys, will no longer be decipherable.
|
|
72
66
|
*
|
|
73
67
|
* @param request - The request {@link DeleteKeyRequest}
|
|
74
68
|
*/
|
|
@@ -77,10 +71,7 @@ class API extends API$1 {
|
|
|
77
71
|
path: `/key-manager/v1alpha1/regions/${validatePathParam("region", request.region ?? this.client.settings.defaultRegion)}/keys/${validatePathParam("keyId", request.keyId)}`
|
|
78
72
|
});
|
|
79
73
|
/**
|
|
80
|
-
* Rotate a key. Generate a new version of an existing key with new key
|
|
81
|
-
* material. Previous key versions remain usable to decrypt previously
|
|
82
|
-
* encrypted data, but the key's new version will be used for subsequent
|
|
83
|
-
* encryption operations and data key generation.
|
|
74
|
+
* Rotate a key. Generate a new version of an existing key with new key material. Previous key versions remain usable to decrypt previously encrypted data, but the key's new version will be used for subsequent encryption operations and data key generation.
|
|
84
75
|
*
|
|
85
76
|
* @param request - The request {@link RotateKeyRequest}
|
|
86
77
|
* @returns A Promise of Key
|
|
@@ -95,9 +86,7 @@ class API extends API$1 {
|
|
|
95
86
|
unmarshalKey
|
|
96
87
|
);
|
|
97
88
|
/**
|
|
98
|
-
* Apply key protection. Apply protection to a given key specified by the
|
|
99
|
-
* `key_id` parameter. Applying key protection means that your key can be used
|
|
100
|
-
* and modified, but it cannot be deleted.
|
|
89
|
+
* Apply key protection. Apply protection to a given key specified by the `key_id` parameter. Applying key protection means that your key can be used and modified, but it cannot be deleted.
|
|
101
90
|
*
|
|
102
91
|
* @param request - The request {@link ProtectKeyRequest}
|
|
103
92
|
* @returns A Promise of Key
|
|
@@ -112,9 +101,7 @@ class API extends API$1 {
|
|
|
112
101
|
unmarshalKey
|
|
113
102
|
);
|
|
114
103
|
/**
|
|
115
|
-
* Remove key protection. Remove key protection from a given key specified by
|
|
116
|
-
* the `key_id` parameter. Removing key protection means that your key can be
|
|
117
|
-
* deleted anytime.
|
|
104
|
+
* Remove key protection. Remove key protection from a given key specified by the `key_id` parameter. Removing key protection means that your key can be deleted anytime.
|
|
118
105
|
*
|
|
119
106
|
* @param request - The request {@link UnprotectKeyRequest}
|
|
120
107
|
* @returns A Promise of Key
|
|
@@ -129,9 +116,7 @@ class API extends API$1 {
|
|
|
129
116
|
unmarshalKey
|
|
130
117
|
);
|
|
131
118
|
/**
|
|
132
|
-
* Enable key. Enable a given key to be used for cryptographic operations.
|
|
133
|
-
* Enabling a key allows you to make a disabled key usable again. You must
|
|
134
|
-
* specify the `region` and `key_id` parameters.
|
|
119
|
+
* Enable key. Enable a given key to be used for cryptographic operations. Enabling a key allows you to make a disabled key usable again. You must specify the `region` and `key_id` parameters.
|
|
135
120
|
*
|
|
136
121
|
* @param request - The request {@link EnableKeyRequest}
|
|
137
122
|
* @returns A Promise of Key
|
|
@@ -146,9 +131,7 @@ class API extends API$1 {
|
|
|
146
131
|
unmarshalKey
|
|
147
132
|
);
|
|
148
133
|
/**
|
|
149
|
-
* Disable key. Disable a given key, preventing it to be used for
|
|
150
|
-
* cryptographic operations. Disabling a key renders it unusable. You must
|
|
151
|
-
* specify the `region` and `key_id` parameters.
|
|
134
|
+
* Disable key. Disable a given key, preventing it to be used for cryptographic operations. Disabling a key renders it unusable. You must specify the `region` and `key_id` parameters.
|
|
152
135
|
*
|
|
153
136
|
* @param request - The request {@link DisableKeyRequest}
|
|
154
137
|
* @returns A Promise of Key
|
|
@@ -182,28 +165,20 @@ class API extends API$1 {
|
|
|
182
165
|
unmarshalListKeysResponse
|
|
183
166
|
);
|
|
184
167
|
/**
|
|
185
|
-
* List keys. Retrieve a list of keys across all Projects in an Organization
|
|
186
|
-
* or within a specific Project. You must specify the `region`, and either the
|
|
187
|
-
* `organization_id` or the `project_id`.
|
|
168
|
+
* List keys. Retrieve a list of keys across all Projects in an Organization or within a specific Project. You must specify the `region`, and either the `organization_id` or the `project_id`.
|
|
188
169
|
*
|
|
189
170
|
* @param request - The request {@link ListKeysRequest}
|
|
190
171
|
* @returns A Promise of ListKeysResponse
|
|
191
172
|
*/
|
|
192
173
|
listKeys = (request = {}) => enrichForPagination("keys", this.pageOfListKeys, request);
|
|
193
174
|
/**
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
* not store your data encryption key. To retrieve your key's plaintext, use
|
|
202
|
-
* the `Decrypt` method with your key's ID and ciphertext.
|
|
203
|
-
*
|
|
204
|
-
* @param request - The request {@link GenerateDataKeyRequest}
|
|
205
|
-
* @returns A Promise of DataKey
|
|
206
|
-
*/
|
|
175
|
+
* Create a data encryption key. Create a new data encryption key for cryptographic operations outside of Key Manager. The data encryption key is encrypted and must be decrypted using the key you have created in Key Manager.
|
|
176
|
+
|
|
177
|
+
The data encryption key is returned in plaintext and ciphertext but it should only be stored in its encrypted form (ciphertext). Key Manager does not store your data encryption key. To retrieve your key's plaintext, use the `Decrypt` method with your key's ID and ciphertext.
|
|
178
|
+
*
|
|
179
|
+
* @param request - The request {@link GenerateDataKeyRequest}
|
|
180
|
+
* @returns A Promise of DataKey
|
|
181
|
+
*/
|
|
207
182
|
generateDataKey = (request) => this.client.fetch(
|
|
208
183
|
{
|
|
209
184
|
body: JSON.stringify(
|
|
@@ -216,10 +191,7 @@ class API extends API$1 {
|
|
|
216
191
|
unmarshalDataKey
|
|
217
192
|
);
|
|
218
193
|
/**
|
|
219
|
-
* Encrypt a payload. Encrypt a payload using an existing key, specified by
|
|
220
|
-
* the `key_id` parameter. Only keys with a usage set to
|
|
221
|
-
* `symmetric_encryption` are supported by this method. The maximum payload
|
|
222
|
-
* size that can be encrypted is 64 KB of plaintext.
|
|
194
|
+
* Encrypt a payload. Encrypt a payload using an existing key, specified by the `key_id` parameter. Only keys with a usage set to `symmetric_encryption` are supported by this method. The maximum payload size that can be encrypted is 64 KB of plaintext.
|
|
223
195
|
*
|
|
224
196
|
* @param request - The request {@link EncryptRequest}
|
|
225
197
|
* @returns A Promise of EncryptResponse
|
|
@@ -236,10 +208,7 @@ class API extends API$1 {
|
|
|
236
208
|
unmarshalEncryptResponse
|
|
237
209
|
);
|
|
238
210
|
/**
|
|
239
|
-
* Decrypt an encrypted payload. Decrypt an encrypted payload using an
|
|
240
|
-
* existing key, specified by the `key_id` parameter. The maximum payload size
|
|
241
|
-
* that can be decrypted is equivalent to the encrypted output of 64 KB of
|
|
242
|
-
* data (around 131 KB).
|
|
211
|
+
* Decrypt an encrypted payload. Decrypt an encrypted payload using an existing key, specified by the `key_id` parameter. The maximum payload size that can be decrypted is equivalent to the encrypted output of 64 KB of data (around 131 KB).
|
|
243
212
|
*
|
|
244
213
|
* @param request - The request {@link DecryptRequest}
|
|
245
214
|
* @returns A Promise of DecryptResponse
|
|
@@ -256,9 +225,7 @@ class API extends API$1 {
|
|
|
256
225
|
unmarshalDecryptResponse
|
|
257
226
|
);
|
|
258
227
|
/**
|
|
259
|
-
* Import key material. Import externally generated key material into Key
|
|
260
|
-
* Manager to derive a new cryptographic key. The key's origin must be
|
|
261
|
-
* `external`.
|
|
228
|
+
* Import key material. Import externally generated key material into Key Manager to derive a new cryptographic key. The key's origin must be `external`.
|
|
262
229
|
*
|
|
263
230
|
* @param request - The request {@link ImportKeyMaterialRequest}
|
|
264
231
|
* @returns A Promise of Key
|
|
@@ -275,9 +242,7 @@ class API extends API$1 {
|
|
|
275
242
|
unmarshalKey
|
|
276
243
|
);
|
|
277
244
|
/**
|
|
278
|
-
* Delete key material. Delete previously imported key material. This renders
|
|
279
|
-
* the associated cryptographic key unusable for any operation. The key's
|
|
280
|
-
* origin must be `external`.
|
|
245
|
+
* Delete key material. Delete previously imported key material. This renders the associated cryptographic key unusable for any operation. The key's origin must be `external`.
|
|
281
246
|
*
|
|
282
247
|
* @param request - The request {@link DeleteKeyMaterialRequest}
|
|
283
248
|
*/
|
|
@@ -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 unmarshalKeyRotationPolicy = (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 { CreateKeyRequest, DataKey, DecryptRequest, DecryptResponse, EncryptRequest, EncryptResponse, GenerateDataKeyRequest, ImportKeyMaterialRequest, Key, ListKeysResponse, UpdateKeyRequest } from './types.gen';
|
|
3
3
|
export declare const unmarshalKey: (data: unknown) => Key;
|
|
4
4
|
export declare const unmarshalDataKey: (data: unknown) => DataKey;
|
|
@@ -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, resolveOneOf } from "../../../client/dist/helpers/marshalling.js";
|
|
4
|
+
import "../../../client/dist/vendor/base64/index.js";
|
|
4
5
|
const unmarshalKeyRotationPolicy = (data) => {
|
|
5
6
|
if (!isJSONObject(data)) {
|
|
6
7
|
throw new TypeError(
|