@scaleway/sdk-block 2.12.0 → 2.13.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.
@@ -27,6 +27,7 @@ const unmarshalSnapshot = (data) => {
27
27
  class: data.class,
28
28
  createdAt: unmarshalDate(data.created_at),
29
29
  id: data.id,
30
+ kmsKeyId: data.kms_key_id,
30
31
  name: data.name,
31
32
  parentVolume: data.parent_volume ? unmarshalSnapshotParentVolume(data.parent_volume) : void 0,
32
33
  projectId: data.project_id,
@@ -130,6 +130,10 @@ export interface Snapshot {
130
130
  * True if the snapshot can be used by anyone to create a volume from.
131
131
  */
132
132
  public: boolean;
133
+ /**
134
+ * KMS Key used for securing the parent volume's encryption.
135
+ */
136
+ kmsKeyId?: string;
133
137
  }
134
138
  export interface VolumeType {
135
139
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scaleway/sdk-block",
3
- "version": "2.12.0",
3
+ "version": "2.13.0",
4
4
  "description": "Scaleway SDK block",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -36,8 +36,8 @@
36
36
  "@scaleway/sdk-std": "2.6.0"
37
37
  },
38
38
  "devDependencies": {
39
- "@repo/configs": "^0.1.1",
40
- "@scaleway/sdk-client": "^2.6.0"
39
+ "@scaleway/sdk-client": "^2.6.0",
40
+ "@repo/configs": "^0.1.1"
41
41
  },
42
42
  "peerDependencies": {
43
43
  "@scaleway/sdk-client": "^2.6.0"