@scaleway/sdk-block 2.15.0 → 2.16.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.
@@ -34,6 +34,7 @@ const unmarshalSnapshot = (data) => {
34
34
  public: data.public,
35
35
  references: unmarshalArrayOfObject(data.references, unmarshalReference),
36
36
  size: data.size,
37
+ srn: data.srn,
37
38
  status: data.status,
38
39
  tags: data.tags,
39
40
  updatedAt: unmarshalDate(data.updated_at),
@@ -60,6 +61,7 @@ const unmarshalVolume = (data) => {
60
61
  references: unmarshalArrayOfObject(data.references, unmarshalReference),
61
62
  size: data.size,
62
63
  specs: data.specs ? unmarshalVolumeSpecifications(data.specs) : void 0,
64
+ srn: data.srn,
63
65
  status: data.status,
64
66
  tags: data.tags,
65
67
  type: data.type,
@@ -80,6 +82,7 @@ const unmarshalVolumeType = (data) => {
80
82
  pricing: data.pricing ? unmarshalMoney(data.pricing) : void 0,
81
83
  snapshotPricing: data.snapshot_pricing ? unmarshalMoney(data.snapshot_pricing) : void 0,
82
84
  specs: data.specs ? unmarshalVolumeSpecifications(data.specs) : void 0,
85
+ srn: data.srn,
83
86
  type: data.type,
84
87
  zone: data.zone
85
88
  };
@@ -134,6 +134,10 @@ export interface Snapshot {
134
134
  * KMS Key used for securing the parent volume's encryption.
135
135
  */
136
136
  kmsKeyId?: string;
137
+ /**
138
+ * The SRN of the snapshot.
139
+ */
140
+ srn: string;
137
141
  }
138
142
  export interface VolumeType {
139
143
  /**
@@ -156,6 +160,10 @@ export interface VolumeType {
156
160
  * Zone of the volume type.
157
161
  */
158
162
  zone: ScwZone;
163
+ /**
164
+ * The SRN of the volume type.
165
+ */
166
+ srn: string;
159
167
  }
160
168
  export interface Volume {
161
169
  /**
@@ -218,6 +226,10 @@ export interface Volume {
218
226
  * KMS Key used for securing the volume's encryption.
219
227
  */
220
228
  kmsKeyId?: string;
229
+ /**
230
+ * The SRN of the volume.
231
+ */
232
+ srn: string;
221
233
  }
222
234
  export type CreateSnapshotRequest = {
223
235
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scaleway/sdk-block",
3
- "version": "2.15.0",
3
+ "version": "2.16.0",
4
4
  "description": "Scaleway SDK block",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -33,14 +33,14 @@
33
33
  },
34
34
  "dependencies": {
35
35
  "@scaleway/random-name": "6.0.2",
36
- "@scaleway/sdk-std": "2.8.0"
36
+ "@scaleway/sdk-std": "2.8.1"
37
37
  },
38
38
  "devDependencies": {
39
39
  "@repo/configs": "^0.1.1",
40
- "@scaleway/sdk-client": "^2.8.0"
40
+ "@scaleway/sdk-client": "^2.9.0"
41
41
  },
42
42
  "peerDependencies": {
43
- "@scaleway/sdk-client": "^2.8.0"
43
+ "@scaleway/sdk-client": "^2.9.0"
44
44
  },
45
45
  "scripts": {
46
46
  "package:check": "pnpm publint",