@scaleway/sdk 2.63.0 → 2.64.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.
- package/dist/api/applesilicon/v1alpha1/api.gen.d.ts +3 -3
- package/dist/api/applesilicon/v1alpha1/types.gen.d.ts +20 -20
- package/dist/api/edge_services/v1alpha1/types.gen.d.ts +3 -3
- package/dist/api/iam/v1alpha1/index.gen.d.ts +1 -1
- package/dist/api/iam/v1alpha1/marshalling.gen.cjs +16 -0
- package/dist/api/iam/v1alpha1/marshalling.gen.js +16 -0
- package/dist/api/iam/v1alpha1/types.gen.d.ts +48 -4
- package/dist/api/iam/v1alpha1/validation-rules.gen.cjs +7 -3
- package/dist/api/iam/v1alpha1/validation-rules.gen.d.ts +6 -3
- package/dist/api/iam/v1alpha1/validation-rules.gen.js +7 -3
- package/dist/api/inference/v1beta1/api.gen.d.ts +2 -2
- package/dist/api/inference/v1beta1/types.gen.d.ts +21 -21
- package/dist/api/instance/v1/api.gen.d.ts +2 -2
- package/dist/api/instance/v1/types.gen.d.ts +87 -87
- package/dist/api/instance/v1/types.private.gen.d.ts +5 -5
- package/dist/api/interlink/v1beta1/api.gen.cjs +5 -1
- package/dist/api/interlink/v1beta1/api.gen.d.ts +2 -2
- package/dist/api/interlink/v1beta1/api.gen.js +5 -1
- package/dist/api/interlink/v1beta1/marshalling.gen.cjs +1 -0
- package/dist/api/interlink/v1beta1/marshalling.gen.js +1 -0
- package/dist/api/interlink/v1beta1/types.gen.d.ts +29 -24
- package/dist/api/vpc/v2/api.gen.cjs +5 -21
- package/dist/api/vpc/v2/api.gen.d.ts +3 -13
- package/dist/api/vpc/v2/api.gen.js +6 -22
- package/dist/api/vpc/v2/index.gen.d.ts +1 -1
- package/dist/api/vpc/v2/marshalling.gen.cjs +0 -16
- package/dist/api/vpc/v2/marshalling.gen.d.ts +1 -2
- package/dist/api/vpc/v2/marshalling.gen.js +1 -17
- package/dist/api/vpc/v2/types.gen.d.ts +24 -49
- package/dist/api/webhosting/v1/api.gen.cjs +40 -8
- package/dist/api/webhosting/v1/api.gen.d.ts +9 -9
- package/dist/api/webhosting/v1/api.gen.js +40 -8
- package/dist/api/webhosting/v1/types.gen.d.ts +36 -36
- package/dist/api/webhosting/v1alpha1/api.gen.cjs +5 -1
- package/dist/api/webhosting/v1alpha1/api.gen.d.ts +3 -3
- package/dist/api/webhosting/v1alpha1/api.gen.js +5 -1
- package/dist/api/webhosting/v1alpha1/types.gen.d.ts +19 -19
- package/dist/scw/constants.cjs +1 -1
- package/dist/scw/constants.d.ts +2 -2
- package/dist/scw/constants.js +1 -1
- package/package.json +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Region } from '../../../bridge';
|
|
1
|
+
import type { Region as ScwRegion } from '../../../bridge';
|
|
2
2
|
export type ListPrivateNetworksRequestOrderBy = 'created_at_asc' | 'created_at_desc' | 'name_asc' | 'name_desc';
|
|
3
3
|
export type ListSubnetsRequestOrderBy = 'created_at_asc' | 'created_at_desc';
|
|
4
4
|
export type ListVPCsRequestOrderBy = 'created_at_asc' | 'created_at_desc' | 'name_asc' | 'name_desc';
|
|
@@ -28,7 +28,7 @@ export interface PrivateNetwork {
|
|
|
28
28
|
/** Scaleway Project the Private Network belongs to. */
|
|
29
29
|
projectId: string;
|
|
30
30
|
/** Region in which the Private Network is available. */
|
|
31
|
-
region:
|
|
31
|
+
region: ScwRegion;
|
|
32
32
|
/** Tags of the Private Network. */
|
|
33
33
|
tags: string[];
|
|
34
34
|
/** Date the Private Network was created. */
|
|
@@ -64,7 +64,7 @@ export interface Route {
|
|
|
64
64
|
/** Defines whether the route can be modified or deleted by the user. */
|
|
65
65
|
isReadOnly: boolean;
|
|
66
66
|
/** Region of the Route. */
|
|
67
|
-
region:
|
|
67
|
+
region: ScwRegion;
|
|
68
68
|
}
|
|
69
69
|
export interface VPC {
|
|
70
70
|
/** VPC ID. */
|
|
@@ -76,7 +76,7 @@ export interface VPC {
|
|
|
76
76
|
/** Scaleway Project the VPC belongs to. */
|
|
77
77
|
projectId: string;
|
|
78
78
|
/** Region of the VPC. */
|
|
79
|
-
region:
|
|
79
|
+
region: ScwRegion;
|
|
80
80
|
/** Tags for the VPC. */
|
|
81
81
|
tags: string[];
|
|
82
82
|
/** Defines whether the VPC is the default one for its Project. */
|
|
@@ -95,7 +95,7 @@ export type AddSubnetsRequest = {
|
|
|
95
95
|
* Region to target. If none is passed will use default region from the
|
|
96
96
|
* config.
|
|
97
97
|
*/
|
|
98
|
-
region?:
|
|
98
|
+
region?: ScwRegion;
|
|
99
99
|
/** Private Network ID. */
|
|
100
100
|
privateNetworkId: string;
|
|
101
101
|
/** Private Network subnets CIDR. */
|
|
@@ -109,7 +109,7 @@ export type CreatePrivateNetworkRequest = {
|
|
|
109
109
|
* Region to target. If none is passed will use default region from the
|
|
110
110
|
* config.
|
|
111
111
|
*/
|
|
112
|
-
region?:
|
|
112
|
+
region?: ScwRegion;
|
|
113
113
|
/** Name for the Private Network. */
|
|
114
114
|
name?: string;
|
|
115
115
|
/** Scaleway Project in which to create the Private Network. */
|
|
@@ -126,7 +126,7 @@ export type CreateRouteRequest = {
|
|
|
126
126
|
* Region to target. If none is passed will use default region from the
|
|
127
127
|
* config.
|
|
128
128
|
*/
|
|
129
|
-
region?:
|
|
129
|
+
region?: ScwRegion;
|
|
130
130
|
/** Route description. */
|
|
131
131
|
description: string;
|
|
132
132
|
/** Tags of the Route. */
|
|
@@ -145,7 +145,7 @@ export type CreateVPCRequest = {
|
|
|
145
145
|
* Region to target. If none is passed will use default region from the
|
|
146
146
|
* config.
|
|
147
147
|
*/
|
|
148
|
-
region?:
|
|
148
|
+
region?: ScwRegion;
|
|
149
149
|
/** Name for the VPC. */
|
|
150
150
|
name?: string;
|
|
151
151
|
/** Scaleway Project in which to create the VPC. */
|
|
@@ -160,7 +160,7 @@ export type DeletePrivateNetworkRequest = {
|
|
|
160
160
|
* Region to target. If none is passed will use default region from the
|
|
161
161
|
* config.
|
|
162
162
|
*/
|
|
163
|
-
region?:
|
|
163
|
+
region?: ScwRegion;
|
|
164
164
|
/** Private Network ID. */
|
|
165
165
|
privateNetworkId: string;
|
|
166
166
|
};
|
|
@@ -169,7 +169,7 @@ export type DeleteRouteRequest = {
|
|
|
169
169
|
* Region to target. If none is passed will use default region from the
|
|
170
170
|
* config.
|
|
171
171
|
*/
|
|
172
|
-
region?:
|
|
172
|
+
region?: ScwRegion;
|
|
173
173
|
/** Route ID. */
|
|
174
174
|
routeId: string;
|
|
175
175
|
};
|
|
@@ -178,7 +178,7 @@ export type DeleteSubnetsRequest = {
|
|
|
178
178
|
* Region to target. If none is passed will use default region from the
|
|
179
179
|
* config.
|
|
180
180
|
*/
|
|
181
|
-
region?:
|
|
181
|
+
region?: ScwRegion;
|
|
182
182
|
/** Private Network ID. */
|
|
183
183
|
privateNetworkId: string;
|
|
184
184
|
/** Private Network subnets CIDR. */
|
|
@@ -192,7 +192,7 @@ export type DeleteVPCRequest = {
|
|
|
192
192
|
* Region to target. If none is passed will use default region from the
|
|
193
193
|
* config.
|
|
194
194
|
*/
|
|
195
|
-
region?:
|
|
195
|
+
region?: ScwRegion;
|
|
196
196
|
/** VPC ID. */
|
|
197
197
|
vpcId: string;
|
|
198
198
|
};
|
|
@@ -201,7 +201,7 @@ export type EnableDHCPRequest = {
|
|
|
201
201
|
* Region to target. If none is passed will use default region from the
|
|
202
202
|
* config.
|
|
203
203
|
*/
|
|
204
|
-
region?:
|
|
204
|
+
region?: ScwRegion;
|
|
205
205
|
/** Private Network ID. */
|
|
206
206
|
privateNetworkId: string;
|
|
207
207
|
};
|
|
@@ -210,7 +210,7 @@ export type EnableRoutingRequest = {
|
|
|
210
210
|
* Region to target. If none is passed will use default region from the
|
|
211
211
|
* config.
|
|
212
212
|
*/
|
|
213
|
-
region?:
|
|
213
|
+
region?: ScwRegion;
|
|
214
214
|
/** VPC ID. */
|
|
215
215
|
vpcId: string;
|
|
216
216
|
};
|
|
@@ -219,7 +219,7 @@ export type GetPrivateNetworkRequest = {
|
|
|
219
219
|
* Region to target. If none is passed will use default region from the
|
|
220
220
|
* config.
|
|
221
221
|
*/
|
|
222
|
-
region?:
|
|
222
|
+
region?: ScwRegion;
|
|
223
223
|
/** Private Network ID. */
|
|
224
224
|
privateNetworkId: string;
|
|
225
225
|
};
|
|
@@ -228,7 +228,7 @@ export type GetRouteRequest = {
|
|
|
228
228
|
* Region to target. If none is passed will use default region from the
|
|
229
229
|
* config.
|
|
230
230
|
*/
|
|
231
|
-
region?:
|
|
231
|
+
region?: ScwRegion;
|
|
232
232
|
/** Route ID. */
|
|
233
233
|
routeId: string;
|
|
234
234
|
};
|
|
@@ -237,7 +237,7 @@ export type GetVPCRequest = {
|
|
|
237
237
|
* Region to target. If none is passed will use default region from the
|
|
238
238
|
* config.
|
|
239
239
|
*/
|
|
240
|
-
region?:
|
|
240
|
+
region?: ScwRegion;
|
|
241
241
|
/** VPC ID. */
|
|
242
242
|
vpcId: string;
|
|
243
243
|
};
|
|
@@ -246,7 +246,7 @@ export type ListPrivateNetworksRequest = {
|
|
|
246
246
|
* Region to target. If none is passed will use default region from the
|
|
247
247
|
* config.
|
|
248
248
|
*/
|
|
249
|
-
region?:
|
|
249
|
+
region?: ScwRegion;
|
|
250
250
|
/** Sort order of the returned Private Networks. */
|
|
251
251
|
orderBy?: ListPrivateNetworksRequestOrderBy;
|
|
252
252
|
/** Page number to return, from the paginated results. */
|
|
@@ -298,7 +298,7 @@ export type ListSubnetsRequest = {
|
|
|
298
298
|
* Region to target. If none is passed will use default region from the
|
|
299
299
|
* config.
|
|
300
300
|
*/
|
|
301
|
-
region?:
|
|
301
|
+
region?: ScwRegion;
|
|
302
302
|
/** Sort order of the returned subnets. */
|
|
303
303
|
orderBy?: ListSubnetsRequestOrderBy;
|
|
304
304
|
/** Page number to return, from the paginated results. */
|
|
@@ -332,7 +332,7 @@ export type ListVPCsRequest = {
|
|
|
332
332
|
* Region to target. If none is passed will use default region from the
|
|
333
333
|
* config.
|
|
334
334
|
*/
|
|
335
|
-
region?:
|
|
335
|
+
region?: ScwRegion;
|
|
336
336
|
/** Sort order of the returned VPCs. */
|
|
337
337
|
orderBy?: ListVPCsRequestOrderBy;
|
|
338
338
|
/** Page number to return, from the paginated results. */
|
|
@@ -374,37 +374,12 @@ export interface ListVPCsResponse {
|
|
|
374
374
|
vpcs: VPC[];
|
|
375
375
|
totalCount: number;
|
|
376
376
|
}
|
|
377
|
-
export type MigrateZonalPrivateNetworksRequest = {
|
|
378
|
-
/**
|
|
379
|
-
* Region to target. If none is passed will use default region from the
|
|
380
|
-
* config.
|
|
381
|
-
*/
|
|
382
|
-
region?: Region;
|
|
383
|
-
/**
|
|
384
|
-
* Organization ID to target. The specified zoned Private Networks within this
|
|
385
|
-
* Organization will be migrated to regional.
|
|
386
|
-
*
|
|
387
|
-
* One-of ('scope'): at most one of 'organizationId', 'projectId' could be
|
|
388
|
-
* set.
|
|
389
|
-
*/
|
|
390
|
-
organizationId?: string;
|
|
391
|
-
/**
|
|
392
|
-
* Project to target. The specified zoned Private Networks within this Project
|
|
393
|
-
* will be migrated to regional.
|
|
394
|
-
*
|
|
395
|
-
* One-of ('scope'): at most one of 'organizationId', 'projectId' could be
|
|
396
|
-
* set.
|
|
397
|
-
*/
|
|
398
|
-
projectId?: string;
|
|
399
|
-
/** IDs of the Private Networks to migrate. */
|
|
400
|
-
privateNetworkIds?: string[];
|
|
401
|
-
};
|
|
402
377
|
export type SetSubnetsRequest = {
|
|
403
378
|
/**
|
|
404
379
|
* Region to target. If none is passed will use default region from the
|
|
405
380
|
* config.
|
|
406
381
|
*/
|
|
407
|
-
region?:
|
|
382
|
+
region?: ScwRegion;
|
|
408
383
|
/** Private Network ID. */
|
|
409
384
|
privateNetworkId: string;
|
|
410
385
|
/** Private Network subnets CIDR. */
|
|
@@ -418,7 +393,7 @@ export type UpdatePrivateNetworkRequest = {
|
|
|
418
393
|
* Region to target. If none is passed will use default region from the
|
|
419
394
|
* config.
|
|
420
395
|
*/
|
|
421
|
-
region?:
|
|
396
|
+
region?: ScwRegion;
|
|
422
397
|
/** Private Network ID. */
|
|
423
398
|
privateNetworkId: string;
|
|
424
399
|
/** Name for the Private Network. */
|
|
@@ -431,7 +406,7 @@ export type UpdateRouteRequest = {
|
|
|
431
406
|
* Region to target. If none is passed will use default region from the
|
|
432
407
|
* config.
|
|
433
408
|
*/
|
|
434
|
-
region?:
|
|
409
|
+
region?: ScwRegion;
|
|
435
410
|
/** Route ID. */
|
|
436
411
|
routeId: string;
|
|
437
412
|
/** Route description. */
|
|
@@ -450,7 +425,7 @@ export type UpdateVPCRequest = {
|
|
|
450
425
|
* Region to target. If none is passed will use default region from the
|
|
451
426
|
* config.
|
|
452
427
|
*/
|
|
453
|
-
region?:
|
|
428
|
+
region?: ScwRegion;
|
|
454
429
|
/** VPC ID. */
|
|
455
430
|
vpcId: string;
|
|
456
431
|
/** Name for the VPC. */
|
|
@@ -12,7 +12,11 @@ const jsonContentHeaders = {
|
|
|
12
12
|
};
|
|
13
13
|
class ControlPanelAPI extends api.API {
|
|
14
14
|
/** Lists the available regions of the API. */
|
|
15
|
-
static LOCALITIES = [
|
|
15
|
+
static LOCALITIES = [
|
|
16
|
+
"fr-par",
|
|
17
|
+
"nl-ams",
|
|
18
|
+
"pl-waw"
|
|
19
|
+
];
|
|
16
20
|
pageOfListControlPanels = (request = {}) => this.client.fetch(
|
|
17
21
|
{
|
|
18
22
|
method: "GET",
|
|
@@ -37,7 +41,11 @@ class ControlPanelAPI extends api.API {
|
|
|
37
41
|
}
|
|
38
42
|
class DatabaseAPI extends api.API {
|
|
39
43
|
/** Lists the available regions of the API. */
|
|
40
|
-
static LOCALITIES = [
|
|
44
|
+
static LOCALITIES = [
|
|
45
|
+
"fr-par",
|
|
46
|
+
"nl-ams",
|
|
47
|
+
"pl-waw"
|
|
48
|
+
];
|
|
41
49
|
/**
|
|
42
50
|
* "Create a new database within your hosting plan".
|
|
43
51
|
*
|
|
@@ -238,7 +246,11 @@ class DatabaseAPI extends api.API {
|
|
|
238
246
|
}
|
|
239
247
|
class DnsAPI extends api.API {
|
|
240
248
|
/** Lists the available regions of the API. */
|
|
241
|
-
static LOCALITIES = [
|
|
249
|
+
static LOCALITIES = [
|
|
250
|
+
"fr-par",
|
|
251
|
+
"nl-ams",
|
|
252
|
+
"pl-waw"
|
|
253
|
+
];
|
|
242
254
|
/**
|
|
243
255
|
* Get DNS records. Get the set of DNS records of a specified domain
|
|
244
256
|
* associated with a Web Hosting plan's domain.
|
|
@@ -296,7 +308,11 @@ class DnsAPI extends api.API {
|
|
|
296
308
|
}
|
|
297
309
|
class OfferAPI extends api.API {
|
|
298
310
|
/** Lists the available regions of the API. */
|
|
299
|
-
static LOCALITIES = [
|
|
311
|
+
static LOCALITIES = [
|
|
312
|
+
"fr-par",
|
|
313
|
+
"nl-ams",
|
|
314
|
+
"pl-waw"
|
|
315
|
+
];
|
|
300
316
|
pageOfListOffers = (request = {}) => this.client.fetch(
|
|
301
317
|
{
|
|
302
318
|
method: "GET",
|
|
@@ -325,7 +341,11 @@ class OfferAPI extends api.API {
|
|
|
325
341
|
}
|
|
326
342
|
class HostingAPI extends api.API {
|
|
327
343
|
/** Lists the available regions of the API. */
|
|
328
|
-
static LOCALITIES = [
|
|
344
|
+
static LOCALITIES = [
|
|
345
|
+
"fr-par",
|
|
346
|
+
"nl-ams",
|
|
347
|
+
"pl-waw"
|
|
348
|
+
];
|
|
329
349
|
/**
|
|
330
350
|
* Order a Web Hosting plan. Order a Web Hosting plan, specifying the offer
|
|
331
351
|
* type required via the `offer_id` parameter.
|
|
@@ -483,7 +503,11 @@ class HostingAPI extends api.API {
|
|
|
483
503
|
}
|
|
484
504
|
class FtpAccountAPI extends api.API {
|
|
485
505
|
/** Lists the available regions of the API. */
|
|
486
|
-
static LOCALITIES = [
|
|
506
|
+
static LOCALITIES = [
|
|
507
|
+
"fr-par",
|
|
508
|
+
"nl-ams",
|
|
509
|
+
"pl-waw"
|
|
510
|
+
];
|
|
487
511
|
/**
|
|
488
512
|
* Create a new FTP account within your hosting plan.. Create a new FTP
|
|
489
513
|
* account within your hosting plan.
|
|
@@ -560,7 +584,11 @@ class FtpAccountAPI extends api.API {
|
|
|
560
584
|
}
|
|
561
585
|
class MailAccountAPI extends api.API {
|
|
562
586
|
/** Lists the available regions of the API. */
|
|
563
|
-
static LOCALITIES = [
|
|
587
|
+
static LOCALITIES = [
|
|
588
|
+
"fr-par",
|
|
589
|
+
"nl-ams",
|
|
590
|
+
"pl-waw"
|
|
591
|
+
];
|
|
564
592
|
/**
|
|
565
593
|
* Create a new mail account within your hosting plan.. Create a new mail
|
|
566
594
|
* account within your hosting plan.
|
|
@@ -652,7 +680,11 @@ class MailAccountAPI extends api.API {
|
|
|
652
680
|
}
|
|
653
681
|
class WebsiteAPI extends api.API {
|
|
654
682
|
/** Lists the available regions of the API. */
|
|
655
|
-
static LOCALITIES = [
|
|
683
|
+
static LOCALITIES = [
|
|
684
|
+
"fr-par",
|
|
685
|
+
"nl-ams",
|
|
686
|
+
"pl-waw"
|
|
687
|
+
];
|
|
656
688
|
pageOfListWebsites = (request) => this.client.fetch(
|
|
657
689
|
{
|
|
658
690
|
method: "GET",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { API as ParentAPI } from '../../../bridge';
|
|
2
|
-
import type { Region, WaitForOptions } from '../../../bridge';
|
|
2
|
+
import type { Region as ScwRegion, WaitForOptions } from '../../../bridge';
|
|
3
3
|
import type { CheckUserOwnsDomainResponse, ControlPanelApiListControlPanelsRequest, Database, DatabaseApiAssignDatabaseUserRequest, DatabaseApiChangeDatabaseUserPasswordRequest, DatabaseApiCreateDatabaseRequest, DatabaseApiCreateDatabaseUserRequest, DatabaseApiDeleteDatabaseRequest, DatabaseApiDeleteDatabaseUserRequest, DatabaseApiGetDatabaseRequest, DatabaseApiGetDatabaseUserRequest, DatabaseApiListDatabaseUsersRequest, DatabaseApiListDatabasesRequest, DatabaseApiUnassignDatabaseUserRequest, DatabaseUser, DnsApiCheckUserOwnsDomainRequest, DnsApiGetDomainDnsRecordsRequest, DnsApiSyncDomainDnsRecordsRequest, DnsRecords, FtpAccount, FtpAccountApiChangeFtpAccountPasswordRequest, FtpAccountApiCreateFtpAccountRequest, FtpAccountApiListFtpAccountsRequest, FtpAccountApiRemoveFtpAccountRequest, Hosting, HostingApiCreateHostingRequest, HostingApiCreateSessionRequest, HostingApiDeleteHostingRequest, HostingApiGetHostingRequest, HostingApiGetResourceSummaryRequest, HostingApiListHostingsRequest, HostingApiResetHostingPasswordRequest, HostingApiUpdateHostingRequest, ListControlPanelsResponse, ListDatabaseUsersResponse, ListDatabasesResponse, ListFtpAccountsResponse, ListHostingsResponse, ListMailAccountsResponse, ListOffersResponse, ListWebsitesResponse, MailAccount, MailAccountApiChangeMailAccountPasswordRequest, MailAccountApiCreateMailAccountRequest, MailAccountApiListMailAccountsRequest, MailAccountApiRemoveMailAccountRequest, OfferApiListOffersRequest, ResetHostingPasswordResponse, ResourceSummary, Session, WebsiteApiListWebsitesRequest } from './types.gen';
|
|
4
4
|
/**
|
|
5
5
|
* Web Hosting Control Panel API.
|
|
@@ -8,7 +8,7 @@ import type { CheckUserOwnsDomainResponse, ControlPanelApiListControlPanelsReque
|
|
|
8
8
|
*/
|
|
9
9
|
export declare class ControlPanelAPI extends ParentAPI {
|
|
10
10
|
/** Lists the available regions of the API. */
|
|
11
|
-
static readonly LOCALITIES:
|
|
11
|
+
static readonly LOCALITIES: ScwRegion[];
|
|
12
12
|
protected pageOfListControlPanels: (request?: Readonly<ControlPanelApiListControlPanelsRequest>) => Promise<ListControlPanelsResponse>;
|
|
13
13
|
/**
|
|
14
14
|
* "List the control panels type: cpanel or plesk.".
|
|
@@ -29,7 +29,7 @@ export declare class ControlPanelAPI extends ParentAPI {
|
|
|
29
29
|
*/
|
|
30
30
|
export declare class DatabaseAPI extends ParentAPI {
|
|
31
31
|
/** Lists the available regions of the API. */
|
|
32
|
-
static readonly LOCALITIES:
|
|
32
|
+
static readonly LOCALITIES: ScwRegion[];
|
|
33
33
|
/**
|
|
34
34
|
* "Create a new database within your hosting plan".
|
|
35
35
|
*
|
|
@@ -124,7 +124,7 @@ export declare class DatabaseAPI extends ParentAPI {
|
|
|
124
124
|
*/
|
|
125
125
|
export declare class DnsAPI extends ParentAPI {
|
|
126
126
|
/** Lists the available regions of the API. */
|
|
127
|
-
static readonly LOCALITIES:
|
|
127
|
+
static readonly LOCALITIES: ScwRegion[];
|
|
128
128
|
/**
|
|
129
129
|
* Get DNS records. Get the set of DNS records of a specified domain
|
|
130
130
|
* associated with a Web Hosting plan's domain.
|
|
@@ -155,7 +155,7 @@ export declare class DnsAPI extends ParentAPI {
|
|
|
155
155
|
*/
|
|
156
156
|
export declare class OfferAPI extends ParentAPI {
|
|
157
157
|
/** Lists the available regions of the API. */
|
|
158
|
-
static readonly LOCALITIES:
|
|
158
|
+
static readonly LOCALITIES: ScwRegion[];
|
|
159
159
|
protected pageOfListOffers: (request?: Readonly<OfferApiListOffersRequest>) => Promise<ListOffersResponse>;
|
|
160
160
|
/**
|
|
161
161
|
* List all available hosting offers along with their specific options.. List
|
|
@@ -176,7 +176,7 @@ export declare class OfferAPI extends ParentAPI {
|
|
|
176
176
|
*/
|
|
177
177
|
export declare class HostingAPI extends ParentAPI {
|
|
178
178
|
/** Lists the available regions of the API. */
|
|
179
|
-
static readonly LOCALITIES:
|
|
179
|
+
static readonly LOCALITIES: ScwRegion[];
|
|
180
180
|
/**
|
|
181
181
|
* Order a Web Hosting plan. Order a Web Hosting plan, specifying the offer
|
|
182
182
|
* type required via the `offer_id` parameter.
|
|
@@ -264,7 +264,7 @@ export declare class HostingAPI extends ParentAPI {
|
|
|
264
264
|
*/
|
|
265
265
|
export declare class FtpAccountAPI extends ParentAPI {
|
|
266
266
|
/** Lists the available regions of the API. */
|
|
267
|
-
static readonly LOCALITIES:
|
|
267
|
+
static readonly LOCALITIES: ScwRegion[];
|
|
268
268
|
/**
|
|
269
269
|
* Create a new FTP account within your hosting plan.. Create a new FTP
|
|
270
270
|
* account within your hosting plan.
|
|
@@ -303,7 +303,7 @@ export declare class FtpAccountAPI extends ParentAPI {
|
|
|
303
303
|
*/
|
|
304
304
|
export declare class MailAccountAPI extends ParentAPI {
|
|
305
305
|
/** Lists the available regions of the API. */
|
|
306
|
-
static readonly LOCALITIES:
|
|
306
|
+
static readonly LOCALITIES: ScwRegion[];
|
|
307
307
|
/**
|
|
308
308
|
* Create a new mail account within your hosting plan.. Create a new mail
|
|
309
309
|
* account within your hosting plan.
|
|
@@ -349,7 +349,7 @@ export declare class MailAccountAPI extends ParentAPI {
|
|
|
349
349
|
*/
|
|
350
350
|
export declare class WebsiteAPI extends ParentAPI {
|
|
351
351
|
/** Lists the available regions of the API. */
|
|
352
|
-
static readonly LOCALITIES:
|
|
352
|
+
static readonly LOCALITIES: ScwRegion[];
|
|
353
353
|
protected pageOfListWebsites: (request: Readonly<WebsiteApiListWebsitesRequest>) => Promise<ListWebsitesResponse>;
|
|
354
354
|
/**
|
|
355
355
|
* List all websites for a specific hosting.. List all websites for a specific
|
|
@@ -10,7 +10,11 @@ const jsonContentHeaders = {
|
|
|
10
10
|
};
|
|
11
11
|
class ControlPanelAPI extends API$1 {
|
|
12
12
|
/** Lists the available regions of the API. */
|
|
13
|
-
static LOCALITIES = [
|
|
13
|
+
static LOCALITIES = [
|
|
14
|
+
"fr-par",
|
|
15
|
+
"nl-ams",
|
|
16
|
+
"pl-waw"
|
|
17
|
+
];
|
|
14
18
|
pageOfListControlPanels = (request = {}) => this.client.fetch(
|
|
15
19
|
{
|
|
16
20
|
method: "GET",
|
|
@@ -35,7 +39,11 @@ class ControlPanelAPI extends API$1 {
|
|
|
35
39
|
}
|
|
36
40
|
class DatabaseAPI extends API$1 {
|
|
37
41
|
/** Lists the available regions of the API. */
|
|
38
|
-
static LOCALITIES = [
|
|
42
|
+
static LOCALITIES = [
|
|
43
|
+
"fr-par",
|
|
44
|
+
"nl-ams",
|
|
45
|
+
"pl-waw"
|
|
46
|
+
];
|
|
39
47
|
/**
|
|
40
48
|
* "Create a new database within your hosting plan".
|
|
41
49
|
*
|
|
@@ -236,7 +244,11 @@ class DatabaseAPI extends API$1 {
|
|
|
236
244
|
}
|
|
237
245
|
class DnsAPI extends API$1 {
|
|
238
246
|
/** Lists the available regions of the API. */
|
|
239
|
-
static LOCALITIES = [
|
|
247
|
+
static LOCALITIES = [
|
|
248
|
+
"fr-par",
|
|
249
|
+
"nl-ams",
|
|
250
|
+
"pl-waw"
|
|
251
|
+
];
|
|
240
252
|
/**
|
|
241
253
|
* Get DNS records. Get the set of DNS records of a specified domain
|
|
242
254
|
* associated with a Web Hosting plan's domain.
|
|
@@ -294,7 +306,11 @@ class DnsAPI extends API$1 {
|
|
|
294
306
|
}
|
|
295
307
|
class OfferAPI extends API$1 {
|
|
296
308
|
/** Lists the available regions of the API. */
|
|
297
|
-
static LOCALITIES = [
|
|
309
|
+
static LOCALITIES = [
|
|
310
|
+
"fr-par",
|
|
311
|
+
"nl-ams",
|
|
312
|
+
"pl-waw"
|
|
313
|
+
];
|
|
298
314
|
pageOfListOffers = (request = {}) => this.client.fetch(
|
|
299
315
|
{
|
|
300
316
|
method: "GET",
|
|
@@ -323,7 +339,11 @@ class OfferAPI extends API$1 {
|
|
|
323
339
|
}
|
|
324
340
|
class HostingAPI extends API$1 {
|
|
325
341
|
/** Lists the available regions of the API. */
|
|
326
|
-
static LOCALITIES = [
|
|
342
|
+
static LOCALITIES = [
|
|
343
|
+
"fr-par",
|
|
344
|
+
"nl-ams",
|
|
345
|
+
"pl-waw"
|
|
346
|
+
];
|
|
327
347
|
/**
|
|
328
348
|
* Order a Web Hosting plan. Order a Web Hosting plan, specifying the offer
|
|
329
349
|
* type required via the `offer_id` parameter.
|
|
@@ -481,7 +501,11 @@ class HostingAPI extends API$1 {
|
|
|
481
501
|
}
|
|
482
502
|
class FtpAccountAPI extends API$1 {
|
|
483
503
|
/** Lists the available regions of the API. */
|
|
484
|
-
static LOCALITIES = [
|
|
504
|
+
static LOCALITIES = [
|
|
505
|
+
"fr-par",
|
|
506
|
+
"nl-ams",
|
|
507
|
+
"pl-waw"
|
|
508
|
+
];
|
|
485
509
|
/**
|
|
486
510
|
* Create a new FTP account within your hosting plan.. Create a new FTP
|
|
487
511
|
* account within your hosting plan.
|
|
@@ -558,7 +582,11 @@ class FtpAccountAPI extends API$1 {
|
|
|
558
582
|
}
|
|
559
583
|
class MailAccountAPI extends API$1 {
|
|
560
584
|
/** Lists the available regions of the API. */
|
|
561
|
-
static LOCALITIES = [
|
|
585
|
+
static LOCALITIES = [
|
|
586
|
+
"fr-par",
|
|
587
|
+
"nl-ams",
|
|
588
|
+
"pl-waw"
|
|
589
|
+
];
|
|
562
590
|
/**
|
|
563
591
|
* Create a new mail account within your hosting plan.. Create a new mail
|
|
564
592
|
* account within your hosting plan.
|
|
@@ -650,7 +678,11 @@ class MailAccountAPI extends API$1 {
|
|
|
650
678
|
}
|
|
651
679
|
class WebsiteAPI extends API$1 {
|
|
652
680
|
/** Lists the available regions of the API. */
|
|
653
|
-
static LOCALITIES = [
|
|
681
|
+
static LOCALITIES = [
|
|
682
|
+
"fr-par",
|
|
683
|
+
"nl-ams",
|
|
684
|
+
"pl-waw"
|
|
685
|
+
];
|
|
654
686
|
pageOfListWebsites = (request) => this.client.fetch(
|
|
655
687
|
{
|
|
656
688
|
method: "GET",
|