@scaleway/sdk-webhosting 2.10.0 → 2.11.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.
@@ -10,7 +10,8 @@ const HOSTING_TRANSIENT_STATUSES = [
10
10
  "delivering",
11
11
  "deleting",
12
12
  "migrating",
13
- "updating"
13
+ "updating",
14
+ "payment_pending"
14
15
  ];
15
16
  //#endregion
16
17
  export { BACKUP_TRANSIENT_STATUSES, DOMAIN_AVAILABILITY_TRANSIENT_STATUSES, DOMAIN_TRANSIENT_STATUSES, HOSTING_TRANSIENT_STATUSES };
@@ -15,7 +15,7 @@ export type DomainDnsAction = 'unknown_dns_action' | 'auto_config_all_records' |
15
15
  export type DomainStatus = 'unknown_status' | 'valid' | 'invalid' | 'validating' | 'error';
16
16
  export type DomainZoneOwner = 'unknown_zone_owner' | 'external' | 'scaleway' | 'online' | 'webhosting';
17
17
  export type HostingProvider = 'unknown_provider' | 'elements' | 'dedibox';
18
- export type HostingStatus = 'unknown_status' | 'delivering' | 'ready' | 'deleting' | 'error' | 'locked' | 'migrating' | 'updating';
18
+ export type HostingStatus = 'unknown_status' | 'delivering' | 'ready' | 'deleting' | 'error' | 'locked' | 'migrating' | 'updating' | 'payment_pending' | 'payment_failed';
19
19
  export type ListBackupsRequestOrderBy = 'created_at_desc' | 'created_at_asc';
20
20
  export type ListDatabaseUsersRequestOrderBy = 'username_asc' | 'username_desc';
21
21
  export type ListDatabasesRequestOrderBy = 'database_name_asc' | 'database_name_desc';
@@ -89,7 +89,7 @@ export interface OfferCommitment {
89
89
  */
90
90
  type: CommitmentType;
91
91
  /**
92
- * True when its is the default commitment for that offer.
92
+ * True if the commitment is the default one for that offer.
93
93
  */
94
94
  isDefault: boolean;
95
95
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scaleway/sdk-webhosting",
3
- "version": "2.10.0",
3
+ "version": "2.11.0",
4
4
  "description": "Scaleway SDK webhosting",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {