@scaleway/sdk-webhosting 2.9.0 → 2.10.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.
@@ -164,6 +164,7 @@ const unmarshalOfferCommitment = (data) => {
164
164
  billingOperationPath: data.billing_operation_path,
165
165
  durationInMonth: data.duration_in_month,
166
166
  id: data.id,
167
+ isDefault: data.is_default,
167
168
  next: data.next ? unmarshalOfferCommitment(data.next) : void 0,
168
169
  price: data.price ? unmarshalMoney(data.price) : void 0,
169
170
  type: data.type
@@ -88,6 +88,10 @@ export interface OfferCommitment {
88
88
  * Offer commitment type.
89
89
  */
90
90
  type: CommitmentType;
91
+ /**
92
+ * True when its is the default commitment for that offer.
93
+ */
94
+ isDefault: boolean;
91
95
  /**
92
96
  * Offer commitment name.
93
97
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scaleway/sdk-webhosting",
3
- "version": "2.9.0",
3
+ "version": "2.10.0",
4
4
  "description": "Scaleway SDK webhosting",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -32,14 +32,14 @@
32
32
  },
33
33
  "dependencies": {
34
34
  "@scaleway/random-name": "5.1.4",
35
- "@scaleway/sdk-std": "2.4.2"
35
+ "@scaleway/sdk-std": "2.4.3"
36
36
  },
37
37
  "devDependencies": {
38
- "@scaleway/sdk-client": "^2.4.0",
38
+ "@scaleway/sdk-client": "^2.4.1",
39
39
  "@repo/configs": "^0.1.1"
40
40
  },
41
41
  "peerDependencies": {
42
- "@scaleway/sdk-client": "^2.4.0"
42
+ "@scaleway/sdk-client": "^2.4.1"
43
43
  },
44
44
  "engines": {
45
45
  "node": ">=20.20.2"