@scaleway/sdk 1.19.0 → 1.20.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.
@@ -61,6 +61,7 @@ const unmarshalHosting = data => {
61
61
  dnsStatus: data.dns_status,
62
62
  domain: data.domain,
63
63
  id: data.id,
64
+ offerEndOfLife: data.offer_end_of_life,
64
65
  offerId: data.offer_id,
65
66
  offerName: data.offer_name,
66
67
  options: unmarshalArrayOfObject(data.options, unmarshalHostingOption),
@@ -92,6 +93,7 @@ const unmarshalOffer = data => {
92
93
  return {
93
94
  available: data.available,
94
95
  billingOperationPath: data.billing_operation_path,
96
+ endOfLife: data.end_of_life,
95
97
  id: data.id,
96
98
  price: data.price ? unmarshalMoney(data.price) : undefined,
97
99
  product: data.product ? unmarshalOfferProduct(data.product) : undefined,
package/dist/index.cjs CHANGED
@@ -497,7 +497,7 @@ const assertValidSettings = obj => {
497
497
  }
498
498
  };
499
499
 
500
- const version = 'v1.18.0';
500
+ const version = 'v1.19.0';
501
501
  const userAgent = `scaleway-sdk-js/${version}`;
502
502
 
503
503
  const isBrowser = () => typeof window !== 'undefined' && typeof window.document !== 'undefined';
@@ -22580,6 +22580,7 @@ const unmarshalHosting = data => {
22580
22580
  dnsStatus: data.dns_status,
22581
22581
  domain: data.domain,
22582
22582
  id: data.id,
22583
+ offerEndOfLife: data.offer_end_of_life,
22583
22584
  offerId: data.offer_id,
22584
22585
  offerName: data.offer_name,
22585
22586
  options: unmarshalArrayOfObject(data.options, unmarshalHostingOption),
@@ -22611,6 +22612,7 @@ const unmarshalOffer = data => {
22611
22612
  return {
22612
22613
  available: data.available,
22613
22614
  billingOperationPath: data.billing_operation_path,
22615
+ endOfLife: data.end_of_life,
22614
22616
  id: data.id,
22615
22617
  price: data.price ? unmarshalMoney(data.price) : undefined,
22616
22618
  product: data.product ? unmarshalOfferProduct(data.product) : undefined,
package/dist/index.d.ts CHANGED
@@ -28532,6 +28532,8 @@ interface Hosting {
28532
28532
  cpanelUrls?: HostingCpanelUrls;
28533
28533
  /** Main Web Hosting cPanel username. */
28534
28534
  username: string;
28535
+ /** Indicates if the hosting offer has reached its end of life. */
28536
+ offerEndOfLife: boolean;
28535
28537
  /** Region where the Web Hosting plan is hosted. */
28536
28538
  region: Region;
28537
28539
  }
@@ -28584,6 +28586,8 @@ interface Offer {
28584
28586
  available: boolean;
28585
28587
  /** Quota warnings, if the offer is not available for the specified hosting_id. */
28586
28588
  quotaWarnings: OfferQuotaWarning[];
28589
+ /** Indicates if the offer has reached its end of life. */
28590
+ endOfLife: boolean;
28587
28591
  }
28588
28592
  /** Offer. product. */
28589
28593
  interface OfferProduct {
@@ -1,4 +1,4 @@
1
- const version = 'v1.18.0';
1
+ const version = 'v1.19.0';
2
2
  const userAgent = `scaleway-sdk-js/${version}`;
3
3
 
4
4
  export { userAgent, version };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scaleway/sdk",
3
- "version": "1.19.0",
3
+ "version": "1.20.0",
4
4
  "license": "Apache-2.0",
5
5
  "description": "Scaleway SDK.",
6
6
  "keywords": [
@@ -35,5 +35,5 @@
35
35
  "bundledDependencies": [
36
36
  "@scaleway/random-name"
37
37
  ],
38
- "gitHead": "3b57b4bfa4f59a53ad81f7cff21fc3fdb2bfc0e2"
38
+ "gitHead": "3e5285da8a27a10f9795d32e271aa06514cbf6cb"
39
39
  }