@scaleway/sdk-webhosting 1.0.1 → 1.1.1
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.
|
@@ -174,6 +174,7 @@ const unmarshalHostingUser = (data) => {
|
|
|
174
174
|
return {
|
|
175
175
|
contactEmail: data.contact_email,
|
|
176
176
|
oneTimePassword: data.one_time_password,
|
|
177
|
+
oneTimePasswordB64: data.one_time_password_b64,
|
|
177
178
|
username: data.username
|
|
178
179
|
};
|
|
179
180
|
};
|
|
@@ -380,7 +381,8 @@ const unmarshalResetHostingPasswordResponse = (data) => {
|
|
|
380
381
|
);
|
|
381
382
|
}
|
|
382
383
|
return {
|
|
383
|
-
oneTimePassword: data.one_time_password
|
|
384
|
+
oneTimePassword: data.one_time_password,
|
|
385
|
+
oneTimePasswordB64: data.one_time_password_b64
|
|
384
386
|
};
|
|
385
387
|
};
|
|
386
388
|
const unmarshalResourceSummary = (data) => {
|
|
@@ -172,6 +172,7 @@ const unmarshalHostingUser = (data) => {
|
|
|
172
172
|
return {
|
|
173
173
|
contactEmail: data.contact_email,
|
|
174
174
|
oneTimePassword: data.one_time_password,
|
|
175
|
+
oneTimePasswordB64: data.one_time_password_b64,
|
|
175
176
|
username: data.username
|
|
176
177
|
};
|
|
177
178
|
};
|
|
@@ -378,7 +379,8 @@ const unmarshalResetHostingPasswordResponse = (data) => {
|
|
|
378
379
|
);
|
|
379
380
|
}
|
|
380
381
|
return {
|
|
381
|
-
oneTimePassword: data.one_time_password
|
|
382
|
+
oneTimePassword: data.one_time_password,
|
|
383
|
+
oneTimePasswordB64: data.one_time_password_b64
|
|
382
384
|
};
|
|
383
385
|
};
|
|
384
386
|
const unmarshalResourceSummary = (data) => {
|
package/dist/v1/types.gen.d.ts
CHANGED
|
@@ -71,7 +71,7 @@ export interface PlatformControlPanel {
|
|
|
71
71
|
*/
|
|
72
72
|
name: string;
|
|
73
73
|
/**
|
|
74
|
-
* URL to connect to
|
|
74
|
+
* URL to connect to control panel dashboard and to Webmail interface.
|
|
75
75
|
*/
|
|
76
76
|
urls?: PlatformControlPanelUrls;
|
|
77
77
|
}
|
|
@@ -167,17 +167,21 @@ export interface Nameserver {
|
|
|
167
167
|
}
|
|
168
168
|
export interface HostingUser {
|
|
169
169
|
/**
|
|
170
|
-
* Main Web Hosting
|
|
170
|
+
* Main Web Hosting control panel username.
|
|
171
171
|
*/
|
|
172
172
|
username: string;
|
|
173
173
|
/**
|
|
174
|
-
* One-time-password used for the first login
|
|
174
|
+
* @deprecated One-time-password used for the first login to the control panel, cleared after first use (deprecated, use password_b64 instead).
|
|
175
175
|
*/
|
|
176
176
|
oneTimePassword?: string;
|
|
177
177
|
/**
|
|
178
178
|
* Contact email used for the hosting.
|
|
179
179
|
*/
|
|
180
180
|
contactEmail: string;
|
|
181
|
+
/**
|
|
182
|
+
* One-time-password used for the first login to the control panel, cleared after first use, encoded in base64.
|
|
183
|
+
*/
|
|
184
|
+
oneTimePasswordB64?: string;
|
|
181
185
|
}
|
|
182
186
|
export interface Offer {
|
|
183
187
|
/**
|
|
@@ -1245,9 +1249,13 @@ export type OfferApiListOffersRequest = {
|
|
|
1245
1249
|
};
|
|
1246
1250
|
export interface ResetHostingPasswordResponse {
|
|
1247
1251
|
/**
|
|
1248
|
-
* New temporary password.
|
|
1252
|
+
* @deprecated New temporary password (deprecated, use password_b64 instead).
|
|
1253
|
+
*/
|
|
1254
|
+
oneTimePassword?: string;
|
|
1255
|
+
/**
|
|
1256
|
+
* New temporary password, encoded in base64.
|
|
1249
1257
|
*/
|
|
1250
|
-
|
|
1258
|
+
oneTimePasswordB64: string;
|
|
1251
1259
|
}
|
|
1252
1260
|
export interface ResourceSummary {
|
|
1253
1261
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scaleway/sdk-webhosting",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.1.1",
|
|
4
4
|
"description": "Scaleway SDK webhosting",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -26,21 +26,18 @@
|
|
|
26
26
|
"directory": "packages_generated/webhosting"
|
|
27
27
|
},
|
|
28
28
|
"engines": {
|
|
29
|
-
"node": ">=20.
|
|
29
|
+
"node": ">=20.19.1"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"@scaleway/random-name": "5.1.1",
|
|
33
|
-
"@scaleway/sdk-std": "1.0.
|
|
33
|
+
"@scaleway/sdk-std": "1.0.3"
|
|
34
34
|
},
|
|
35
35
|
"peerDependencies": {
|
|
36
|
-
"@scaleway/sdk-client": "^1.2.
|
|
36
|
+
"@scaleway/sdk-client": "^1.2.2"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
|
-
"@scaleway/sdk-client": "^1.2.
|
|
39
|
+
"@scaleway/sdk-client": "^1.2.2"
|
|
40
40
|
},
|
|
41
|
-
"bundledDependencies": [
|
|
42
|
-
"@scaleway/random-name"
|
|
43
|
-
],
|
|
44
41
|
"scripts": {
|
|
45
42
|
"package:check": "pnpm publint",
|
|
46
43
|
"typecheck": "tsc --noEmit",
|