@scaleway/sdk-webhosting 1.1.2 → 1.2.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/v1/api.gen.cjs +202 -48
- package/dist/v1/api.gen.d.ts +118 -20
- package/dist/v1/api.gen.js +205 -51
- package/dist/v1/content.gen.cjs +4 -1
- package/dist/v1/content.gen.d.ts +3 -1
- package/dist/v1/content.gen.js +4 -1
- package/dist/v1/index.gen.cjs +10 -0
- package/dist/v1/index.gen.d.ts +2 -2
- package/dist/v1/index.gen.js +13 -3
- package/dist/v1/marshalling.gen.cjs +155 -35
- package/dist/v1/marshalling.gen.d.ts +9 -1
- package/dist/v1/marshalling.gen.js +155 -35
- package/dist/v1/types.gen.d.ts +260 -25
- package/dist/v1/validation-rules.gen.cjs +10 -0
- package/dist/v1/validation-rules.gen.d.ts +9 -0
- package/dist/v1/validation-rules.gen.js +10 -0
- package/package.json +6 -6
package/dist/v1/types.gen.d.ts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import type { Money, Region as ScwRegion } from '@scaleway/sdk-client';
|
|
2
2
|
import type { LanguageCode as StdLanguageCode } from '@scaleway/sdk-std';
|
|
3
|
+
export type BackupItemType = 'unknown_backup_item_type' | 'full' | 'web' | 'mail' | 'db' | 'db_user' | 'ftp_user' | 'dns_zone' | 'cron_job' | 'ssl_certificate';
|
|
4
|
+
export type BackupStatus = 'unknown_backup_status' | 'active' | 'locked' | 'disabled' | 'damaged' | 'restoring';
|
|
3
5
|
export type DnsRecordStatus = 'unknown_status' | 'valid' | 'invalid';
|
|
4
6
|
export type DnsRecordType = 'unknown_type' | 'a' | 'cname' | 'mx' | 'txt' | 'ns' | 'aaaa';
|
|
5
7
|
export type DnsRecordsStatus = 'unknown_status' | 'valid' | 'invalid';
|
|
@@ -9,7 +11,8 @@ export type DomainAvailabilityStatus = 'unknown_status' | 'available' | 'not_ava
|
|
|
9
11
|
export type DomainDnsAction = 'unknown_dns_action' | 'auto_config_all_records' | 'auto_config_web_records' | 'auto_config_mail_records' | 'auto_config_nameservers' | 'auto_config_none';
|
|
10
12
|
export type DomainStatus = 'unknown_status' | 'valid' | 'invalid' | 'validating' | 'error';
|
|
11
13
|
export type DomainZoneOwner = 'unknown_zone_owner' | 'external' | 'scaleway' | 'online' | 'webhosting';
|
|
12
|
-
export type HostingStatus = 'unknown_status' | 'delivering' | 'ready' | 'deleting' | 'error' | 'locked' | 'migrating';
|
|
14
|
+
export type HostingStatus = 'unknown_status' | 'delivering' | 'ready' | 'deleting' | 'error' | 'locked' | 'migrating' | 'updating';
|
|
15
|
+
export type ListBackupsRequestOrderBy = 'created_at_desc' | 'created_at_asc';
|
|
13
16
|
export type ListDatabaseUsersRequestOrderBy = 'username_asc' | 'username_desc';
|
|
14
17
|
export type ListDatabasesRequestOrderBy = 'database_name_asc' | 'database_name_desc';
|
|
15
18
|
export type ListFtpAccountsRequestOrderBy = 'username_asc' | 'username_desc';
|
|
@@ -21,6 +24,28 @@ export type NameserverStatus = 'unknown_status' | 'valid' | 'invalid';
|
|
|
21
24
|
export type OfferOptionName = 'unknown_name' | 'domain_count' | 'email_count' | 'storage_gb' | 'vcpu_count' | 'ram_gb' | 'backup' | 'dedicated_ip' | 'email_storage_gb' | 'database_count' | 'support';
|
|
22
25
|
export type OfferOptionWarning = 'unknown_warning' | 'quota_exceeded_warning' | 'usage_low_warning';
|
|
23
26
|
export type PlatformPlatformGroup = 'unknown_group' | 'default' | 'premium';
|
|
27
|
+
export interface AutoConfigDomainDns {
|
|
28
|
+
/**
|
|
29
|
+
* Whether or not to synchronize domain nameservers.
|
|
30
|
+
*/
|
|
31
|
+
nameservers: boolean;
|
|
32
|
+
/**
|
|
33
|
+
* Whether or not to synchronize web records.
|
|
34
|
+
*/
|
|
35
|
+
webRecords: boolean;
|
|
36
|
+
/**
|
|
37
|
+
* Whether or not to synchronize mail records.
|
|
38
|
+
*/
|
|
39
|
+
mailRecords: boolean;
|
|
40
|
+
/**
|
|
41
|
+
* Whether or not to synchronize all types of records. Takes priority over the other fields.
|
|
42
|
+
*/
|
|
43
|
+
allRecords: boolean;
|
|
44
|
+
/**
|
|
45
|
+
* No automatic domain configuration. Users must configure their domain for the Web Hosting to work.
|
|
46
|
+
*/
|
|
47
|
+
none: boolean;
|
|
48
|
+
}
|
|
24
49
|
export interface PlatformControlPanelUrls {
|
|
25
50
|
/**
|
|
26
51
|
* URL to connect to the hosting control panel dashboard.
|
|
@@ -31,6 +56,24 @@ export interface PlatformControlPanelUrls {
|
|
|
31
56
|
*/
|
|
32
57
|
webmail: string;
|
|
33
58
|
}
|
|
59
|
+
export interface HostingDomainCustomDomain {
|
|
60
|
+
/**
|
|
61
|
+
* Custom domain linked to the hosting plan.
|
|
62
|
+
*/
|
|
63
|
+
domain: string;
|
|
64
|
+
/**
|
|
65
|
+
* Status of the custom domain verification.
|
|
66
|
+
*/
|
|
67
|
+
domainStatus: DomainStatus;
|
|
68
|
+
/**
|
|
69
|
+
* Status of the DNS configuration for the custom domain.
|
|
70
|
+
*/
|
|
71
|
+
dnsStatus: DnsRecordsStatus;
|
|
72
|
+
/**
|
|
73
|
+
* Indicates whether to auto-configure DNS for this domain.
|
|
74
|
+
*/
|
|
75
|
+
autoConfigDomainDns?: AutoConfigDomainDns;
|
|
76
|
+
}
|
|
34
77
|
export interface OfferOption {
|
|
35
78
|
/**
|
|
36
79
|
* Option ID.
|
|
@@ -75,31 +118,45 @@ export interface PlatformControlPanel {
|
|
|
75
118
|
*/
|
|
76
119
|
urls?: PlatformControlPanelUrls;
|
|
77
120
|
}
|
|
78
|
-
export interface
|
|
79
|
-
username: string;
|
|
80
|
-
password: string;
|
|
81
|
-
}
|
|
82
|
-
export interface AutoConfigDomainDns {
|
|
121
|
+
export interface BackupItem {
|
|
83
122
|
/**
|
|
84
|
-
*
|
|
123
|
+
* ID of the item.
|
|
85
124
|
*/
|
|
86
|
-
|
|
125
|
+
id: string;
|
|
87
126
|
/**
|
|
88
|
-
*
|
|
127
|
+
* Name of the item (e.g., `database name`, `email address`).
|
|
89
128
|
*/
|
|
90
|
-
|
|
129
|
+
name: string;
|
|
91
130
|
/**
|
|
92
|
-
*
|
|
131
|
+
* Type of the item (e.g., email, database, FTP).
|
|
93
132
|
*/
|
|
94
|
-
|
|
133
|
+
type: BackupItemType;
|
|
95
134
|
/**
|
|
96
|
-
*
|
|
135
|
+
* Size of the item in bytes.
|
|
97
136
|
*/
|
|
98
|
-
|
|
137
|
+
size: number;
|
|
99
138
|
/**
|
|
100
|
-
*
|
|
139
|
+
* Status of the item. Available values are `active`, `damaged`, and `restoring`.
|
|
101
140
|
*/
|
|
102
|
-
|
|
141
|
+
status: BackupStatus;
|
|
142
|
+
/**
|
|
143
|
+
* Date and time at which this item was backed up.
|
|
144
|
+
*/
|
|
145
|
+
createdAt?: Date;
|
|
146
|
+
}
|
|
147
|
+
export interface HostingDomain {
|
|
148
|
+
/**
|
|
149
|
+
* Optional free subdomain linked to the Web Hosting plan.
|
|
150
|
+
*/
|
|
151
|
+
subdomain: string;
|
|
152
|
+
/**
|
|
153
|
+
* Optional custom domain linked to the Web Hosting plan.
|
|
154
|
+
*/
|
|
155
|
+
customDomain?: HostingDomainCustomDomain;
|
|
156
|
+
}
|
|
157
|
+
export interface CreateDatabaseRequestUser {
|
|
158
|
+
username: string;
|
|
159
|
+
password: string;
|
|
103
160
|
}
|
|
104
161
|
export interface CreateHostingRequestDomainConfiguration {
|
|
105
162
|
updateNameservers: boolean;
|
|
@@ -247,6 +304,38 @@ export interface Platform {
|
|
|
247
304
|
*/
|
|
248
305
|
controlPanel?: PlatformControlPanel;
|
|
249
306
|
}
|
|
307
|
+
export interface BackupItemGroup {
|
|
308
|
+
/**
|
|
309
|
+
* Type of items (e.g., email, database, FTP).
|
|
310
|
+
*/
|
|
311
|
+
type: BackupItemType;
|
|
312
|
+
/**
|
|
313
|
+
* List of individual backup items of this type.
|
|
314
|
+
*/
|
|
315
|
+
items: BackupItem[];
|
|
316
|
+
}
|
|
317
|
+
export interface Backup {
|
|
318
|
+
/**
|
|
319
|
+
* ID of the backup.
|
|
320
|
+
*/
|
|
321
|
+
id: string;
|
|
322
|
+
/**
|
|
323
|
+
* Total size of the backup in bytes.
|
|
324
|
+
*/
|
|
325
|
+
size: number;
|
|
326
|
+
/**
|
|
327
|
+
* Creation date of the backup.
|
|
328
|
+
*/
|
|
329
|
+
createdAt?: Date;
|
|
330
|
+
/**
|
|
331
|
+
* Status of the backup. Available values are `active`, `locked`, and `restoring`.
|
|
332
|
+
*/
|
|
333
|
+
status: BackupStatus;
|
|
334
|
+
/**
|
|
335
|
+
* Total number of restorable items in the backup.
|
|
336
|
+
*/
|
|
337
|
+
totalItems: number;
|
|
338
|
+
}
|
|
250
339
|
export interface ControlPanel {
|
|
251
340
|
/**
|
|
252
341
|
* Control panel name.
|
|
@@ -317,9 +406,9 @@ export interface HostingSummary {
|
|
|
317
406
|
*/
|
|
318
407
|
status: HostingStatus;
|
|
319
408
|
/**
|
|
320
|
-
* Main domain associated with the Web Hosting plan.
|
|
409
|
+
* @deprecated Main domain associated with the Web Hosting plan (deprecated, use domain_info).
|
|
321
410
|
*/
|
|
322
|
-
domain
|
|
411
|
+
domain?: string;
|
|
323
412
|
/**
|
|
324
413
|
* Whether the hosting is protected or not.
|
|
325
414
|
*/
|
|
@@ -333,13 +422,17 @@ export interface HostingSummary {
|
|
|
333
422
|
*/
|
|
334
423
|
offerName: string;
|
|
335
424
|
/**
|
|
336
|
-
* Main domain status of the Web Hosting plan.
|
|
425
|
+
* @deprecated Main domain status of the Web Hosting plan.
|
|
337
426
|
*/
|
|
338
|
-
domainStatus
|
|
427
|
+
domainStatus?: DomainStatus;
|
|
339
428
|
/**
|
|
340
429
|
* Region where the Web Hosting plan is hosted.
|
|
341
430
|
*/
|
|
342
431
|
region: ScwRegion;
|
|
432
|
+
/**
|
|
433
|
+
* Domain configuration block (subdomain, optional custom domain, and DNS settings).
|
|
434
|
+
*/
|
|
435
|
+
domainInfo?: HostingDomain;
|
|
343
436
|
}
|
|
344
437
|
export interface MailAccount {
|
|
345
438
|
/**
|
|
@@ -391,6 +484,84 @@ export interface DomainAvailability {
|
|
|
391
484
|
*/
|
|
392
485
|
price?: Money;
|
|
393
486
|
}
|
|
487
|
+
export type BackupApiGetBackupRequest = {
|
|
488
|
+
/**
|
|
489
|
+
* Region to target. If none is passed will use default region from the config.
|
|
490
|
+
*/
|
|
491
|
+
region?: ScwRegion;
|
|
492
|
+
/**
|
|
493
|
+
* UUID of the hosting account.
|
|
494
|
+
*/
|
|
495
|
+
hostingId: string;
|
|
496
|
+
/**
|
|
497
|
+
* ID of the backup to retrieve.
|
|
498
|
+
*/
|
|
499
|
+
backupId: string;
|
|
500
|
+
};
|
|
501
|
+
export type BackupApiListBackupItemsRequest = {
|
|
502
|
+
/**
|
|
503
|
+
* Region to target. If none is passed will use default region from the config.
|
|
504
|
+
*/
|
|
505
|
+
region?: ScwRegion;
|
|
506
|
+
/**
|
|
507
|
+
* UUID of the hosting account.
|
|
508
|
+
*/
|
|
509
|
+
hostingId: string;
|
|
510
|
+
/**
|
|
511
|
+
* ID of the backup to list items from.
|
|
512
|
+
*/
|
|
513
|
+
backupId: string;
|
|
514
|
+
};
|
|
515
|
+
export type BackupApiListBackupsRequest = {
|
|
516
|
+
/**
|
|
517
|
+
* Region to target. If none is passed will use default region from the config.
|
|
518
|
+
*/
|
|
519
|
+
region?: ScwRegion;
|
|
520
|
+
/**
|
|
521
|
+
* UUID of the hosting account.
|
|
522
|
+
*/
|
|
523
|
+
hostingId: string;
|
|
524
|
+
/**
|
|
525
|
+
* Page number to retrieve.
|
|
526
|
+
*/
|
|
527
|
+
page?: number;
|
|
528
|
+
/**
|
|
529
|
+
* Number of backups to return per page.
|
|
530
|
+
*/
|
|
531
|
+
pageSize?: number;
|
|
532
|
+
/**
|
|
533
|
+
* Order in which to return the list of backups.
|
|
534
|
+
*/
|
|
535
|
+
orderBy?: ListBackupsRequestOrderBy;
|
|
536
|
+
};
|
|
537
|
+
export type BackupApiRestoreBackupItemsRequest = {
|
|
538
|
+
/**
|
|
539
|
+
* Region to target. If none is passed will use default region from the config.
|
|
540
|
+
*/
|
|
541
|
+
region?: ScwRegion;
|
|
542
|
+
/**
|
|
543
|
+
* UUID of the hosting account.
|
|
544
|
+
*/
|
|
545
|
+
hostingId: string;
|
|
546
|
+
/**
|
|
547
|
+
* List of backup item IDs to restore individually.
|
|
548
|
+
*/
|
|
549
|
+
itemIds?: string[];
|
|
550
|
+
};
|
|
551
|
+
export type BackupApiRestoreBackupRequest = {
|
|
552
|
+
/**
|
|
553
|
+
* Region to target. If none is passed will use default region from the config.
|
|
554
|
+
*/
|
|
555
|
+
region?: ScwRegion;
|
|
556
|
+
/**
|
|
557
|
+
* UUID of the hosting account.
|
|
558
|
+
*/
|
|
559
|
+
hostingId: string;
|
|
560
|
+
/**
|
|
561
|
+
* ID of the backup to fully restore.
|
|
562
|
+
*/
|
|
563
|
+
backupId: string;
|
|
564
|
+
};
|
|
394
565
|
export interface CheckUserOwnsDomainResponse {
|
|
395
566
|
/**
|
|
396
567
|
* Indicates whether the specified project owns the domain.
|
|
@@ -730,6 +901,10 @@ export interface Domain {
|
|
|
730
901
|
* Zone owner of the domain.
|
|
731
902
|
*/
|
|
732
903
|
owner: DomainZoneOwner;
|
|
904
|
+
/**
|
|
905
|
+
* Main domain for this zone.
|
|
906
|
+
*/
|
|
907
|
+
zoneDomainName: string;
|
|
733
908
|
/**
|
|
734
909
|
* A list of actions that can be performed on the domain.
|
|
735
910
|
*/
|
|
@@ -845,9 +1020,9 @@ export interface Hosting {
|
|
|
845
1020
|
*/
|
|
846
1021
|
status: HostingStatus;
|
|
847
1022
|
/**
|
|
848
|
-
* Main domain associated with the Web Hosting plan.
|
|
1023
|
+
* @deprecated Main domain associated with the Web Hosting plan (deprecated, use domain_info).
|
|
849
1024
|
*/
|
|
850
|
-
domain
|
|
1025
|
+
domain?: string;
|
|
851
1026
|
/**
|
|
852
1027
|
* Details of the Web Hosting plan offer and options.
|
|
853
1028
|
*/
|
|
@@ -861,7 +1036,7 @@ export interface Hosting {
|
|
|
861
1036
|
*/
|
|
862
1037
|
tags: string[];
|
|
863
1038
|
/**
|
|
864
|
-
* @deprecated DNS status of the Web Hosting plan.
|
|
1039
|
+
* @deprecated DNS status of the Web Hosting plan (deprecated, use domain_info).
|
|
865
1040
|
*/
|
|
866
1041
|
dnsStatus?: DnsRecordsStatus;
|
|
867
1042
|
/**
|
|
@@ -877,14 +1052,32 @@ export interface Hosting {
|
|
|
877
1052
|
*/
|
|
878
1053
|
user?: HostingUser;
|
|
879
1054
|
/**
|
|
880
|
-
* Main domain status of the Web Hosting plan.
|
|
1055
|
+
* @deprecated Main domain status of the Web Hosting plan (deprecated, use domain_info).
|
|
881
1056
|
*/
|
|
882
|
-
domainStatus
|
|
1057
|
+
domainStatus?: DomainStatus;
|
|
883
1058
|
/**
|
|
884
1059
|
* Region where the Web Hosting plan is hosted.
|
|
885
1060
|
*/
|
|
886
1061
|
region: ScwRegion;
|
|
1062
|
+
/**
|
|
1063
|
+
* Domain configuration block (subdomain, optional custom domain, and DNS settings).
|
|
1064
|
+
*/
|
|
1065
|
+
domainInfo?: HostingDomain;
|
|
887
1066
|
}
|
|
1067
|
+
export type HostingApiAddCustomDomainRequest = {
|
|
1068
|
+
/**
|
|
1069
|
+
* Region to target. If none is passed will use default region from the config.
|
|
1070
|
+
*/
|
|
1071
|
+
region?: ScwRegion;
|
|
1072
|
+
/**
|
|
1073
|
+
* Hosting ID to which the custom domain is attached to.
|
|
1074
|
+
*/
|
|
1075
|
+
hostingId: string;
|
|
1076
|
+
/**
|
|
1077
|
+
* The custom domain name to attach to the hosting.
|
|
1078
|
+
*/
|
|
1079
|
+
domainName: string;
|
|
1080
|
+
};
|
|
888
1081
|
export type HostingApiCreateHostingRequest = {
|
|
889
1082
|
/**
|
|
890
1083
|
* Region to target. If none is passed will use default region from the config.
|
|
@@ -910,6 +1103,10 @@ export type HostingApiCreateHostingRequest = {
|
|
|
910
1103
|
* Domain name to link to the Web Hosting plan. You must already own this domain name, and have completed the DNS validation process beforehand.
|
|
911
1104
|
*/
|
|
912
1105
|
domain: string;
|
|
1106
|
+
/**
|
|
1107
|
+
* The name prefix to use as a free subdomain (for example, `mysite`) assigned to the Web Hosting plan. The full domain will be automatically created by adding it to the fixed base domain (e.g. `mysite.scw.site`). You do not need to include the base domain yourself.
|
|
1108
|
+
*/
|
|
1109
|
+
subdomain?: string;
|
|
913
1110
|
/**
|
|
914
1111
|
* List of the Web Hosting plan options IDs with their quantities.
|
|
915
1112
|
*/
|
|
@@ -1012,6 +1209,20 @@ export type HostingApiListHostingsRequest = {
|
|
|
1012
1209
|
* Name of the control panel to filter for, only Web Hosting plans from this control panel will be returned.
|
|
1013
1210
|
*/
|
|
1014
1211
|
controlPanels?: string[];
|
|
1212
|
+
/**
|
|
1213
|
+
* Optional free subdomain linked to the Web Hosting plan.
|
|
1214
|
+
*/
|
|
1215
|
+
subdomain?: string;
|
|
1216
|
+
};
|
|
1217
|
+
export type HostingApiRemoveCustomDomainRequest = {
|
|
1218
|
+
/**
|
|
1219
|
+
* Region to target. If none is passed will use default region from the config.
|
|
1220
|
+
*/
|
|
1221
|
+
region?: ScwRegion;
|
|
1222
|
+
/**
|
|
1223
|
+
* Hosting ID to which the custom domain is detached from.
|
|
1224
|
+
*/
|
|
1225
|
+
hostingId: string;
|
|
1015
1226
|
};
|
|
1016
1227
|
export type HostingApiResetHostingPasswordRequest = {
|
|
1017
1228
|
/**
|
|
@@ -1053,6 +1264,26 @@ export type HostingApiUpdateHostingRequest = {
|
|
|
1053
1264
|
*/
|
|
1054
1265
|
protected?: boolean;
|
|
1055
1266
|
};
|
|
1267
|
+
export interface ListBackupItemsResponse {
|
|
1268
|
+
/**
|
|
1269
|
+
* Total number of backup item groups.
|
|
1270
|
+
*/
|
|
1271
|
+
totalCount: number;
|
|
1272
|
+
/**
|
|
1273
|
+
* List of backup item groups categorized by type.
|
|
1274
|
+
*/
|
|
1275
|
+
groups: BackupItemGroup[];
|
|
1276
|
+
}
|
|
1277
|
+
export interface ListBackupsResponse {
|
|
1278
|
+
/**
|
|
1279
|
+
* Total number of available backups.
|
|
1280
|
+
*/
|
|
1281
|
+
totalCount: number;
|
|
1282
|
+
/**
|
|
1283
|
+
* List of available backups.
|
|
1284
|
+
*/
|
|
1285
|
+
backups: Backup[];
|
|
1286
|
+
}
|
|
1056
1287
|
export interface ListControlPanelsResponse {
|
|
1057
1288
|
/**
|
|
1058
1289
|
* Number of control panels returned.
|
|
@@ -1275,6 +1506,10 @@ export interface ResourceSummary {
|
|
|
1275
1506
|
*/
|
|
1276
1507
|
websitesCount: number;
|
|
1277
1508
|
}
|
|
1509
|
+
export interface RestoreBackupItemsResponse {
|
|
1510
|
+
}
|
|
1511
|
+
export interface RestoreBackupResponse {
|
|
1512
|
+
}
|
|
1278
1513
|
export interface SearchDomainsResponse {
|
|
1279
1514
|
/**
|
|
1280
1515
|
* List of domains availability.
|
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const BackupApiListBackupsRequest = {
|
|
4
|
+
page: {
|
|
5
|
+
greaterThan: 0
|
|
6
|
+
},
|
|
7
|
+
pageSize: {
|
|
8
|
+
greaterThan: 0,
|
|
9
|
+
lessThanOrEqual: 100
|
|
10
|
+
}
|
|
11
|
+
};
|
|
3
12
|
const ControlPanelApiListControlPanelsRequest = {
|
|
4
13
|
page: {
|
|
5
14
|
greaterThan: 0
|
|
@@ -72,6 +81,7 @@ const WebsiteApiListWebsitesRequest = {
|
|
|
72
81
|
lessThanOrEqual: 100
|
|
73
82
|
}
|
|
74
83
|
};
|
|
84
|
+
exports.BackupApiListBackupsRequest = BackupApiListBackupsRequest;
|
|
75
85
|
exports.ControlPanelApiListControlPanelsRequest = ControlPanelApiListControlPanelsRequest;
|
|
76
86
|
exports.DatabaseApiListDatabaseUsersRequest = DatabaseApiListDatabaseUsersRequest;
|
|
77
87
|
exports.DatabaseApiListDatabasesRequest = DatabaseApiListDatabasesRequest;
|
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
export declare const BackupApiListBackupsRequest: {
|
|
2
|
+
page: {
|
|
3
|
+
greaterThan: number;
|
|
4
|
+
};
|
|
5
|
+
pageSize: {
|
|
6
|
+
greaterThan: number;
|
|
7
|
+
lessThanOrEqual: number;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
1
10
|
export declare const ControlPanelApiListControlPanelsRequest: {
|
|
2
11
|
page: {
|
|
3
12
|
greaterThan: number;
|
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
const BackupApiListBackupsRequest = {
|
|
2
|
+
page: {
|
|
3
|
+
greaterThan: 0
|
|
4
|
+
},
|
|
5
|
+
pageSize: {
|
|
6
|
+
greaterThan: 0,
|
|
7
|
+
lessThanOrEqual: 100
|
|
8
|
+
}
|
|
9
|
+
};
|
|
1
10
|
const ControlPanelApiListControlPanelsRequest = {
|
|
2
11
|
page: {
|
|
3
12
|
greaterThan: 0
|
|
@@ -71,6 +80,7 @@ const WebsiteApiListWebsitesRequest = {
|
|
|
71
80
|
}
|
|
72
81
|
};
|
|
73
82
|
export {
|
|
83
|
+
BackupApiListBackupsRequest,
|
|
74
84
|
ControlPanelApiListControlPanelsRequest,
|
|
75
85
|
DatabaseApiListDatabaseUsersRequest,
|
|
76
86
|
DatabaseApiListDatabasesRequest,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scaleway/sdk-webhosting",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.2.0",
|
|
4
4
|
"description": "Scaleway SDK webhosting",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"files": [
|
|
@@ -26,17 +26,17 @@
|
|
|
26
26
|
"directory": "packages_generated/webhosting"
|
|
27
27
|
},
|
|
28
28
|
"engines": {
|
|
29
|
-
"node": ">=20.19.
|
|
29
|
+
"node": ">=20.19.4"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@scaleway/random-name": "5.1.
|
|
33
|
-
"@scaleway/sdk-std": "1.0.
|
|
32
|
+
"@scaleway/random-name": "5.1.2",
|
|
33
|
+
"@scaleway/sdk-std": "1.0.6"
|
|
34
34
|
},
|
|
35
35
|
"peerDependencies": {
|
|
36
|
-
"@scaleway/sdk-client": "^1.
|
|
36
|
+
"@scaleway/sdk-client": "^1.3.1"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
|
-
"@scaleway/sdk-client": "^1.
|
|
39
|
+
"@scaleway/sdk-client": "^1.3.1"
|
|
40
40
|
},
|
|
41
41
|
"scripts": {
|
|
42
42
|
"package:check": "pnpm publint",
|