@scaleway/sdk-webhosting 2.5.0 → 2.6.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/marshalling.gen.js +6 -6
- package/dist/v1/metadata.gen.d.ts +249 -0
- package/dist/v1/metadata.gen.js +281 -0
- package/dist/v1/types.gen.d.ts +13 -13
- package/package.json +1 -1
|
@@ -61,10 +61,10 @@ var unmarshalHostingSummary = (data) => {
|
|
|
61
61
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'HostingSummary' failed as data isn't a dictionary.`);
|
|
62
62
|
return {
|
|
63
63
|
createdAt: unmarshalDate(data.created_at),
|
|
64
|
-
dnsStatus: data.dns_status,
|
|
64
|
+
dnsStatus: data.dns_status ? data.dns_status : void 0,
|
|
65
65
|
domain: data.domain,
|
|
66
66
|
domainInfo: data.domain_info ? unmarshalHostingDomain(data.domain_info) : void 0,
|
|
67
|
-
domainStatus: data.domain_status,
|
|
67
|
+
domainStatus: data.domain_status ? data.domain_status : void 0,
|
|
68
68
|
id: data.id,
|
|
69
69
|
offerName: data.offer_name,
|
|
70
70
|
projectId: data.project_id,
|
|
@@ -132,7 +132,7 @@ var unmarshalDnsRecords = (data) => {
|
|
|
132
132
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'DnsRecords' failed as data isn't a dictionary.`);
|
|
133
133
|
return {
|
|
134
134
|
autoConfigDomainDns: data.auto_config_domain_dns ? unmarshalAutoConfigDomainDns(data.auto_config_domain_dns) : void 0,
|
|
135
|
-
dnsConfig: data.dns_config,
|
|
135
|
+
dnsConfig: data.dns_config ? data.dns_config : void 0,
|
|
136
136
|
nameServers: unmarshalArrayOfObject(data.name_servers, unmarshalNameserver),
|
|
137
137
|
records: unmarshalArrayOfObject(data.records, unmarshalDnsRecord),
|
|
138
138
|
status: data.status
|
|
@@ -143,7 +143,7 @@ var unmarshalDomain = (data) => {
|
|
|
143
143
|
return {
|
|
144
144
|
autoConfigDomainDns: data.auto_config_domain_dns ? unmarshalAutoConfigDomainDns(data.auto_config_domain_dns) : void 0,
|
|
145
145
|
availableActions: data.available_actions,
|
|
146
|
-
availableDnsActions: data.available_dns_actions,
|
|
146
|
+
availableDnsActions: data.available_dns_actions ? data.available_dns_actions : void 0,
|
|
147
147
|
name: data.name,
|
|
148
148
|
owner: data.owner,
|
|
149
149
|
status: data.status,
|
|
@@ -249,10 +249,10 @@ var unmarshalHosting = (data) => {
|
|
|
249
249
|
return {
|
|
250
250
|
commitment: data.commitment ? unmarshalHostingCommitment(data.commitment) : void 0,
|
|
251
251
|
createdAt: unmarshalDate(data.created_at),
|
|
252
|
-
dnsStatus: data.dns_status,
|
|
252
|
+
dnsStatus: data.dns_status ? data.dns_status : void 0,
|
|
253
253
|
domain: data.domain,
|
|
254
254
|
domainInfo: data.domain_info ? unmarshalHostingDomain(data.domain_info) : void 0,
|
|
255
|
-
domainStatus: data.domain_status,
|
|
255
|
+
domainStatus: data.domain_status ? data.domain_status : void 0,
|
|
256
256
|
id: data.id,
|
|
257
257
|
ipv4: data.ipv4,
|
|
258
258
|
offer: data.offer ? unmarshalOffer(data.offer) : void 0,
|
|
@@ -0,0 +1,249 @@
|
|
|
1
|
+
export declare const queriesMetadata: {
|
|
2
|
+
readonly namespace: "webhosting";
|
|
3
|
+
readonly version: "v1";
|
|
4
|
+
readonly folderName: "webhostingv1";
|
|
5
|
+
readonly services: readonly [{
|
|
6
|
+
readonly apiClass: "BackupAPI";
|
|
7
|
+
readonly methods: readonly [{
|
|
8
|
+
readonly methodName: "listBackups";
|
|
9
|
+
readonly protoName: "ListBackups";
|
|
10
|
+
readonly paramsType: "BackupApiListBackupsRequest";
|
|
11
|
+
readonly returnType: "ListBackupsResponse";
|
|
12
|
+
readonly isList: true;
|
|
13
|
+
readonly paginationType: "offset";
|
|
14
|
+
readonly pageParamKey: "page";
|
|
15
|
+
readonly listItemType: "Backup";
|
|
16
|
+
readonly isPrivate: false;
|
|
17
|
+
readonly description: "\"";
|
|
18
|
+
}, {
|
|
19
|
+
readonly methodName: "getBackup";
|
|
20
|
+
readonly protoName: "GetBackup";
|
|
21
|
+
readonly paramsType: "BackupApiGetBackupRequest";
|
|
22
|
+
readonly returnType: "Backup";
|
|
23
|
+
readonly isList: false;
|
|
24
|
+
readonly paginationType: "none";
|
|
25
|
+
readonly isPrivate: false;
|
|
26
|
+
readonly description: "\"";
|
|
27
|
+
readonly hasWaiter: true;
|
|
28
|
+
}, {
|
|
29
|
+
readonly methodName: "listBackupItems";
|
|
30
|
+
readonly protoName: "ListBackupItems";
|
|
31
|
+
readonly paramsType: "BackupApiListBackupItemsRequest";
|
|
32
|
+
readonly returnType: "ListBackupItemsResponse";
|
|
33
|
+
readonly isList: false;
|
|
34
|
+
readonly paginationType: "none";
|
|
35
|
+
readonly isPrivate: false;
|
|
36
|
+
readonly description: "\"";
|
|
37
|
+
}, {
|
|
38
|
+
readonly methodName: "getProgress";
|
|
39
|
+
readonly protoName: "GetProgress";
|
|
40
|
+
readonly paramsType: "BackupApiGetProgressRequest";
|
|
41
|
+
readonly returnType: "Progress";
|
|
42
|
+
readonly isList: false;
|
|
43
|
+
readonly paginationType: "none";
|
|
44
|
+
readonly isPrivate: false;
|
|
45
|
+
readonly description: "\"";
|
|
46
|
+
}, {
|
|
47
|
+
readonly methodName: "listRecentProgresses";
|
|
48
|
+
readonly protoName: "ListRecentProgresses";
|
|
49
|
+
readonly paramsType: "BackupApiListRecentProgressesRequest";
|
|
50
|
+
readonly returnType: "ListRecentProgressesResponse";
|
|
51
|
+
readonly isList: false;
|
|
52
|
+
readonly paginationType: "none";
|
|
53
|
+
readonly isPrivate: false;
|
|
54
|
+
readonly description: "\"";
|
|
55
|
+
}];
|
|
56
|
+
}, {
|
|
57
|
+
readonly apiClass: "ControlPanelAPI";
|
|
58
|
+
readonly methods: readonly [{
|
|
59
|
+
readonly methodName: "listControlPanels";
|
|
60
|
+
readonly protoName: "ListControlPanels";
|
|
61
|
+
readonly paramsType: "ControlPanelApiListControlPanelsRequest";
|
|
62
|
+
readonly returnType: "ListControlPanelsResponse";
|
|
63
|
+
readonly isList: true;
|
|
64
|
+
readonly paginationType: "offset";
|
|
65
|
+
readonly pageParamKey: "page";
|
|
66
|
+
readonly listItemType: "ControlPanel";
|
|
67
|
+
readonly isPrivate: false;
|
|
68
|
+
readonly description: "\"";
|
|
69
|
+
}];
|
|
70
|
+
}, {
|
|
71
|
+
readonly apiClass: "DatabaseAPI";
|
|
72
|
+
readonly methods: readonly [{
|
|
73
|
+
readonly methodName: "listDatabases";
|
|
74
|
+
readonly protoName: "ListDatabases";
|
|
75
|
+
readonly paramsType: "DatabaseApiListDatabasesRequest";
|
|
76
|
+
readonly returnType: "ListDatabasesResponse";
|
|
77
|
+
readonly isList: true;
|
|
78
|
+
readonly paginationType: "offset";
|
|
79
|
+
readonly pageParamKey: "page";
|
|
80
|
+
readonly listItemType: "Database";
|
|
81
|
+
readonly isPrivate: false;
|
|
82
|
+
readonly description: "\"";
|
|
83
|
+
}, {
|
|
84
|
+
readonly methodName: "getDatabase";
|
|
85
|
+
readonly protoName: "GetDatabase";
|
|
86
|
+
readonly paramsType: "DatabaseApiGetDatabaseRequest";
|
|
87
|
+
readonly returnType: "Database";
|
|
88
|
+
readonly isList: false;
|
|
89
|
+
readonly paginationType: "none";
|
|
90
|
+
readonly isPrivate: false;
|
|
91
|
+
readonly description: "\"";
|
|
92
|
+
}, {
|
|
93
|
+
readonly methodName: "listDatabaseUsers";
|
|
94
|
+
readonly protoName: "ListDatabaseUsers";
|
|
95
|
+
readonly paramsType: "DatabaseApiListDatabaseUsersRequest";
|
|
96
|
+
readonly returnType: "ListDatabaseUsersResponse";
|
|
97
|
+
readonly isList: true;
|
|
98
|
+
readonly paginationType: "offset";
|
|
99
|
+
readonly pageParamKey: "page";
|
|
100
|
+
readonly listItemType: "DatabaseUser";
|
|
101
|
+
readonly isPrivate: false;
|
|
102
|
+
readonly description: "\"";
|
|
103
|
+
}, {
|
|
104
|
+
readonly methodName: "getDatabaseUser";
|
|
105
|
+
readonly protoName: "GetDatabaseUser";
|
|
106
|
+
readonly paramsType: "DatabaseApiGetDatabaseUserRequest";
|
|
107
|
+
readonly returnType: "DatabaseUser";
|
|
108
|
+
readonly isList: false;
|
|
109
|
+
readonly paginationType: "none";
|
|
110
|
+
readonly isPrivate: false;
|
|
111
|
+
readonly description: "\"";
|
|
112
|
+
}];
|
|
113
|
+
}, {
|
|
114
|
+
readonly apiClass: "DnsAPI";
|
|
115
|
+
readonly methods: readonly [{
|
|
116
|
+
readonly methodName: "getDomainDnsRecords";
|
|
117
|
+
readonly protoName: "GetDomainDnsRecords";
|
|
118
|
+
readonly paramsType: "DnsApiGetDomainDnsRecordsRequest";
|
|
119
|
+
readonly returnType: "DnsRecords";
|
|
120
|
+
readonly isList: false;
|
|
121
|
+
readonly paginationType: "none";
|
|
122
|
+
readonly isPrivate: false;
|
|
123
|
+
readonly description: "\"";
|
|
124
|
+
}, {
|
|
125
|
+
readonly methodName: "searchDomains";
|
|
126
|
+
readonly protoName: "SearchDomains";
|
|
127
|
+
readonly paramsType: "DnsApiSearchDomainsRequest";
|
|
128
|
+
readonly returnType: "SearchDomainsResponse";
|
|
129
|
+
readonly isList: false;
|
|
130
|
+
readonly paginationType: "none";
|
|
131
|
+
readonly isPrivate: false;
|
|
132
|
+
readonly description: "\"";
|
|
133
|
+
}, {
|
|
134
|
+
readonly methodName: "getDomain";
|
|
135
|
+
readonly protoName: "GetDomain";
|
|
136
|
+
readonly paramsType: "DnsApiGetDomainRequest";
|
|
137
|
+
readonly returnType: "Domain";
|
|
138
|
+
readonly isList: false;
|
|
139
|
+
readonly paginationType: "none";
|
|
140
|
+
readonly isPrivate: false;
|
|
141
|
+
readonly description: "\"";
|
|
142
|
+
readonly hasWaiter: true;
|
|
143
|
+
}];
|
|
144
|
+
}, {
|
|
145
|
+
readonly apiClass: "OfferAPI";
|
|
146
|
+
readonly methods: readonly [{
|
|
147
|
+
readonly methodName: "listOffers";
|
|
148
|
+
readonly protoName: "ListOffers";
|
|
149
|
+
readonly paramsType: "OfferApiListOffersRequest";
|
|
150
|
+
readonly returnType: "ListOffersResponse";
|
|
151
|
+
readonly isList: true;
|
|
152
|
+
readonly paginationType: "offset";
|
|
153
|
+
readonly pageParamKey: "page";
|
|
154
|
+
readonly listItemType: "Offer";
|
|
155
|
+
readonly isPrivate: false;
|
|
156
|
+
readonly description: "\"";
|
|
157
|
+
}];
|
|
158
|
+
}, {
|
|
159
|
+
readonly apiClass: "HostingAPI";
|
|
160
|
+
readonly methods: readonly [{
|
|
161
|
+
readonly methodName: "listHostings";
|
|
162
|
+
readonly protoName: "ListHostings";
|
|
163
|
+
readonly paramsType: "HostingApiListHostingsRequest";
|
|
164
|
+
readonly returnType: "ListHostingsResponse";
|
|
165
|
+
readonly isList: true;
|
|
166
|
+
readonly paginationType: "offset";
|
|
167
|
+
readonly pageParamKey: "page";
|
|
168
|
+
readonly listItemType: "HostingSummary";
|
|
169
|
+
readonly isPrivate: false;
|
|
170
|
+
readonly description: "\"";
|
|
171
|
+
}, {
|
|
172
|
+
readonly methodName: "getHosting";
|
|
173
|
+
readonly protoName: "GetHosting";
|
|
174
|
+
readonly paramsType: "HostingApiGetHostingRequest";
|
|
175
|
+
readonly returnType: "Hosting";
|
|
176
|
+
readonly isList: false;
|
|
177
|
+
readonly paginationType: "none";
|
|
178
|
+
readonly isPrivate: false;
|
|
179
|
+
readonly description: "\"";
|
|
180
|
+
readonly hasWaiter: true;
|
|
181
|
+
}, {
|
|
182
|
+
readonly methodName: "getResourceSummary";
|
|
183
|
+
readonly protoName: "GetResourceSummary";
|
|
184
|
+
readonly paramsType: "HostingApiGetResourceSummaryRequest";
|
|
185
|
+
readonly returnType: "ResourceSummary";
|
|
186
|
+
readonly isList: false;
|
|
187
|
+
readonly paginationType: "none";
|
|
188
|
+
readonly isPrivate: false;
|
|
189
|
+
readonly description: "\"";
|
|
190
|
+
}];
|
|
191
|
+
}, {
|
|
192
|
+
readonly apiClass: "FreeDomainAPI";
|
|
193
|
+
readonly methods: readonly [{
|
|
194
|
+
readonly methodName: "listFreeRootDomains";
|
|
195
|
+
readonly protoName: "ListFreeRootDomains";
|
|
196
|
+
readonly paramsType: "FreeDomainApiListFreeRootDomainsRequest";
|
|
197
|
+
readonly returnType: "ListFreeRootDomainsResponse";
|
|
198
|
+
readonly isList: true;
|
|
199
|
+
readonly paginationType: "offset";
|
|
200
|
+
readonly pageParamKey: "page";
|
|
201
|
+
readonly listItemType: "string";
|
|
202
|
+
readonly isPrivate: false;
|
|
203
|
+
readonly description: "\"";
|
|
204
|
+
}];
|
|
205
|
+
}, {
|
|
206
|
+
readonly apiClass: "FtpAccountAPI";
|
|
207
|
+
readonly methods: readonly [{
|
|
208
|
+
readonly methodName: "listFtpAccounts";
|
|
209
|
+
readonly protoName: "ListFtpAccounts";
|
|
210
|
+
readonly paramsType: "FtpAccountApiListFtpAccountsRequest";
|
|
211
|
+
readonly returnType: "ListFtpAccountsResponse";
|
|
212
|
+
readonly isList: true;
|
|
213
|
+
readonly paginationType: "offset";
|
|
214
|
+
readonly pageParamKey: "page";
|
|
215
|
+
readonly listItemType: "FtpAccount";
|
|
216
|
+
readonly isPrivate: false;
|
|
217
|
+
readonly description: "\"";
|
|
218
|
+
}];
|
|
219
|
+
}, {
|
|
220
|
+
readonly apiClass: "MailAccountAPI";
|
|
221
|
+
readonly methods: readonly [{
|
|
222
|
+
readonly methodName: "listMailAccounts";
|
|
223
|
+
readonly protoName: "ListMailAccounts";
|
|
224
|
+
readonly paramsType: "MailAccountApiListMailAccountsRequest";
|
|
225
|
+
readonly returnType: "ListMailAccountsResponse";
|
|
226
|
+
readonly isList: true;
|
|
227
|
+
readonly paginationType: "offset";
|
|
228
|
+
readonly pageParamKey: "page";
|
|
229
|
+
readonly listItemType: "MailAccount";
|
|
230
|
+
readonly isPrivate: false;
|
|
231
|
+
readonly description: "\"";
|
|
232
|
+
}];
|
|
233
|
+
}, {
|
|
234
|
+
readonly apiClass: "WebsiteAPI";
|
|
235
|
+
readonly methods: readonly [{
|
|
236
|
+
readonly methodName: "listWebsites";
|
|
237
|
+
readonly protoName: "ListWebsites";
|
|
238
|
+
readonly paramsType: "WebsiteApiListWebsitesRequest";
|
|
239
|
+
readonly returnType: "ListWebsitesResponse";
|
|
240
|
+
readonly isList: true;
|
|
241
|
+
readonly paginationType: "offset";
|
|
242
|
+
readonly pageParamKey: "page";
|
|
243
|
+
readonly listItemType: "Website";
|
|
244
|
+
readonly isPrivate: false;
|
|
245
|
+
readonly description: "\"";
|
|
246
|
+
}];
|
|
247
|
+
}];
|
|
248
|
+
};
|
|
249
|
+
export type QueriesMetadata = typeof queriesMetadata;
|
|
@@ -0,0 +1,281 @@
|
|
|
1
|
+
//#region src/v1/metadata.gen.ts
|
|
2
|
+
var queriesMetadata = {
|
|
3
|
+
namespace: "webhosting",
|
|
4
|
+
version: "v1",
|
|
5
|
+
folderName: "webhostingv1",
|
|
6
|
+
services: [
|
|
7
|
+
{
|
|
8
|
+
apiClass: "BackupAPI",
|
|
9
|
+
methods: [
|
|
10
|
+
{
|
|
11
|
+
methodName: "listBackups",
|
|
12
|
+
protoName: "ListBackups",
|
|
13
|
+
paramsType: "BackupApiListBackupsRequest",
|
|
14
|
+
returnType: "ListBackupsResponse",
|
|
15
|
+
isList: true,
|
|
16
|
+
paginationType: "offset",
|
|
17
|
+
pageParamKey: "page",
|
|
18
|
+
listItemType: "Backup",
|
|
19
|
+
isPrivate: false,
|
|
20
|
+
description: "\""
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
methodName: "getBackup",
|
|
24
|
+
protoName: "GetBackup",
|
|
25
|
+
paramsType: "BackupApiGetBackupRequest",
|
|
26
|
+
returnType: "Backup",
|
|
27
|
+
isList: false,
|
|
28
|
+
paginationType: "none",
|
|
29
|
+
isPrivate: false,
|
|
30
|
+
description: "\"",
|
|
31
|
+
hasWaiter: true
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
methodName: "listBackupItems",
|
|
35
|
+
protoName: "ListBackupItems",
|
|
36
|
+
paramsType: "BackupApiListBackupItemsRequest",
|
|
37
|
+
returnType: "ListBackupItemsResponse",
|
|
38
|
+
isList: false,
|
|
39
|
+
paginationType: "none",
|
|
40
|
+
isPrivate: false,
|
|
41
|
+
description: "\""
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
methodName: "getProgress",
|
|
45
|
+
protoName: "GetProgress",
|
|
46
|
+
paramsType: "BackupApiGetProgressRequest",
|
|
47
|
+
returnType: "Progress",
|
|
48
|
+
isList: false,
|
|
49
|
+
paginationType: "none",
|
|
50
|
+
isPrivate: false,
|
|
51
|
+
description: "\""
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
methodName: "listRecentProgresses",
|
|
55
|
+
protoName: "ListRecentProgresses",
|
|
56
|
+
paramsType: "BackupApiListRecentProgressesRequest",
|
|
57
|
+
returnType: "ListRecentProgressesResponse",
|
|
58
|
+
isList: false,
|
|
59
|
+
paginationType: "none",
|
|
60
|
+
isPrivate: false,
|
|
61
|
+
description: "\""
|
|
62
|
+
}
|
|
63
|
+
]
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
apiClass: "ControlPanelAPI",
|
|
67
|
+
methods: [{
|
|
68
|
+
methodName: "listControlPanels",
|
|
69
|
+
protoName: "ListControlPanels",
|
|
70
|
+
paramsType: "ControlPanelApiListControlPanelsRequest",
|
|
71
|
+
returnType: "ListControlPanelsResponse",
|
|
72
|
+
isList: true,
|
|
73
|
+
paginationType: "offset",
|
|
74
|
+
pageParamKey: "page",
|
|
75
|
+
listItemType: "ControlPanel",
|
|
76
|
+
isPrivate: false,
|
|
77
|
+
description: "\""
|
|
78
|
+
}]
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
apiClass: "DatabaseAPI",
|
|
82
|
+
methods: [
|
|
83
|
+
{
|
|
84
|
+
methodName: "listDatabases",
|
|
85
|
+
protoName: "ListDatabases",
|
|
86
|
+
paramsType: "DatabaseApiListDatabasesRequest",
|
|
87
|
+
returnType: "ListDatabasesResponse",
|
|
88
|
+
isList: true,
|
|
89
|
+
paginationType: "offset",
|
|
90
|
+
pageParamKey: "page",
|
|
91
|
+
listItemType: "Database",
|
|
92
|
+
isPrivate: false,
|
|
93
|
+
description: "\""
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
methodName: "getDatabase",
|
|
97
|
+
protoName: "GetDatabase",
|
|
98
|
+
paramsType: "DatabaseApiGetDatabaseRequest",
|
|
99
|
+
returnType: "Database",
|
|
100
|
+
isList: false,
|
|
101
|
+
paginationType: "none",
|
|
102
|
+
isPrivate: false,
|
|
103
|
+
description: "\""
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
methodName: "listDatabaseUsers",
|
|
107
|
+
protoName: "ListDatabaseUsers",
|
|
108
|
+
paramsType: "DatabaseApiListDatabaseUsersRequest",
|
|
109
|
+
returnType: "ListDatabaseUsersResponse",
|
|
110
|
+
isList: true,
|
|
111
|
+
paginationType: "offset",
|
|
112
|
+
pageParamKey: "page",
|
|
113
|
+
listItemType: "DatabaseUser",
|
|
114
|
+
isPrivate: false,
|
|
115
|
+
description: "\""
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
methodName: "getDatabaseUser",
|
|
119
|
+
protoName: "GetDatabaseUser",
|
|
120
|
+
paramsType: "DatabaseApiGetDatabaseUserRequest",
|
|
121
|
+
returnType: "DatabaseUser",
|
|
122
|
+
isList: false,
|
|
123
|
+
paginationType: "none",
|
|
124
|
+
isPrivate: false,
|
|
125
|
+
description: "\""
|
|
126
|
+
}
|
|
127
|
+
]
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
apiClass: "DnsAPI",
|
|
131
|
+
methods: [
|
|
132
|
+
{
|
|
133
|
+
methodName: "getDomainDnsRecords",
|
|
134
|
+
protoName: "GetDomainDnsRecords",
|
|
135
|
+
paramsType: "DnsApiGetDomainDnsRecordsRequest",
|
|
136
|
+
returnType: "DnsRecords",
|
|
137
|
+
isList: false,
|
|
138
|
+
paginationType: "none",
|
|
139
|
+
isPrivate: false,
|
|
140
|
+
description: "\""
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
methodName: "searchDomains",
|
|
144
|
+
protoName: "SearchDomains",
|
|
145
|
+
paramsType: "DnsApiSearchDomainsRequest",
|
|
146
|
+
returnType: "SearchDomainsResponse",
|
|
147
|
+
isList: false,
|
|
148
|
+
paginationType: "none",
|
|
149
|
+
isPrivate: false,
|
|
150
|
+
description: "\""
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
methodName: "getDomain",
|
|
154
|
+
protoName: "GetDomain",
|
|
155
|
+
paramsType: "DnsApiGetDomainRequest",
|
|
156
|
+
returnType: "Domain",
|
|
157
|
+
isList: false,
|
|
158
|
+
paginationType: "none",
|
|
159
|
+
isPrivate: false,
|
|
160
|
+
description: "\"",
|
|
161
|
+
hasWaiter: true
|
|
162
|
+
}
|
|
163
|
+
]
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
apiClass: "OfferAPI",
|
|
167
|
+
methods: [{
|
|
168
|
+
methodName: "listOffers",
|
|
169
|
+
protoName: "ListOffers",
|
|
170
|
+
paramsType: "OfferApiListOffersRequest",
|
|
171
|
+
returnType: "ListOffersResponse",
|
|
172
|
+
isList: true,
|
|
173
|
+
paginationType: "offset",
|
|
174
|
+
pageParamKey: "page",
|
|
175
|
+
listItemType: "Offer",
|
|
176
|
+
isPrivate: false,
|
|
177
|
+
description: "\""
|
|
178
|
+
}]
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
apiClass: "HostingAPI",
|
|
182
|
+
methods: [
|
|
183
|
+
{
|
|
184
|
+
methodName: "listHostings",
|
|
185
|
+
protoName: "ListHostings",
|
|
186
|
+
paramsType: "HostingApiListHostingsRequest",
|
|
187
|
+
returnType: "ListHostingsResponse",
|
|
188
|
+
isList: true,
|
|
189
|
+
paginationType: "offset",
|
|
190
|
+
pageParamKey: "page",
|
|
191
|
+
listItemType: "HostingSummary",
|
|
192
|
+
isPrivate: false,
|
|
193
|
+
description: "\""
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
methodName: "getHosting",
|
|
197
|
+
protoName: "GetHosting",
|
|
198
|
+
paramsType: "HostingApiGetHostingRequest",
|
|
199
|
+
returnType: "Hosting",
|
|
200
|
+
isList: false,
|
|
201
|
+
paginationType: "none",
|
|
202
|
+
isPrivate: false,
|
|
203
|
+
description: "\"",
|
|
204
|
+
hasWaiter: true
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
methodName: "getResourceSummary",
|
|
208
|
+
protoName: "GetResourceSummary",
|
|
209
|
+
paramsType: "HostingApiGetResourceSummaryRequest",
|
|
210
|
+
returnType: "ResourceSummary",
|
|
211
|
+
isList: false,
|
|
212
|
+
paginationType: "none",
|
|
213
|
+
isPrivate: false,
|
|
214
|
+
description: "\""
|
|
215
|
+
}
|
|
216
|
+
]
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
apiClass: "FreeDomainAPI",
|
|
220
|
+
methods: [{
|
|
221
|
+
methodName: "listFreeRootDomains",
|
|
222
|
+
protoName: "ListFreeRootDomains",
|
|
223
|
+
paramsType: "FreeDomainApiListFreeRootDomainsRequest",
|
|
224
|
+
returnType: "ListFreeRootDomainsResponse",
|
|
225
|
+
isList: true,
|
|
226
|
+
paginationType: "offset",
|
|
227
|
+
pageParamKey: "page",
|
|
228
|
+
listItemType: "string",
|
|
229
|
+
isPrivate: false,
|
|
230
|
+
description: "\""
|
|
231
|
+
}]
|
|
232
|
+
},
|
|
233
|
+
{
|
|
234
|
+
apiClass: "FtpAccountAPI",
|
|
235
|
+
methods: [{
|
|
236
|
+
methodName: "listFtpAccounts",
|
|
237
|
+
protoName: "ListFtpAccounts",
|
|
238
|
+
paramsType: "FtpAccountApiListFtpAccountsRequest",
|
|
239
|
+
returnType: "ListFtpAccountsResponse",
|
|
240
|
+
isList: true,
|
|
241
|
+
paginationType: "offset",
|
|
242
|
+
pageParamKey: "page",
|
|
243
|
+
listItemType: "FtpAccount",
|
|
244
|
+
isPrivate: false,
|
|
245
|
+
description: "\""
|
|
246
|
+
}]
|
|
247
|
+
},
|
|
248
|
+
{
|
|
249
|
+
apiClass: "MailAccountAPI",
|
|
250
|
+
methods: [{
|
|
251
|
+
methodName: "listMailAccounts",
|
|
252
|
+
protoName: "ListMailAccounts",
|
|
253
|
+
paramsType: "MailAccountApiListMailAccountsRequest",
|
|
254
|
+
returnType: "ListMailAccountsResponse",
|
|
255
|
+
isList: true,
|
|
256
|
+
paginationType: "offset",
|
|
257
|
+
pageParamKey: "page",
|
|
258
|
+
listItemType: "MailAccount",
|
|
259
|
+
isPrivate: false,
|
|
260
|
+
description: "\""
|
|
261
|
+
}]
|
|
262
|
+
},
|
|
263
|
+
{
|
|
264
|
+
apiClass: "WebsiteAPI",
|
|
265
|
+
methods: [{
|
|
266
|
+
methodName: "listWebsites",
|
|
267
|
+
protoName: "ListWebsites",
|
|
268
|
+
paramsType: "WebsiteApiListWebsitesRequest",
|
|
269
|
+
returnType: "ListWebsitesResponse",
|
|
270
|
+
isList: true,
|
|
271
|
+
paginationType: "offset",
|
|
272
|
+
pageParamKey: "page",
|
|
273
|
+
listItemType: "Website",
|
|
274
|
+
isPrivate: false,
|
|
275
|
+
description: "\""
|
|
276
|
+
}]
|
|
277
|
+
}
|
|
278
|
+
]
|
|
279
|
+
};
|
|
280
|
+
//#endregion
|
|
281
|
+
export { queriesMetadata };
|
package/dist/v1/types.gen.d.ts
CHANGED
|
@@ -484,7 +484,7 @@ export interface HostingSummary {
|
|
|
484
484
|
/**
|
|
485
485
|
* @deprecated Main domain associated with the Web Hosting plan (deprecated, use domain_info).
|
|
486
486
|
*/
|
|
487
|
-
domain
|
|
487
|
+
domain?: string;
|
|
488
488
|
/**
|
|
489
489
|
* Whether the hosting is protected or not.
|
|
490
490
|
*/
|
|
@@ -492,7 +492,7 @@ export interface HostingSummary {
|
|
|
492
492
|
/**
|
|
493
493
|
* @deprecated DNS status of the Web Hosting plan.
|
|
494
494
|
*/
|
|
495
|
-
dnsStatus
|
|
495
|
+
dnsStatus?: DnsRecordsStatus;
|
|
496
496
|
/**
|
|
497
497
|
* Name of the active offer for the Web Hosting plan.
|
|
498
498
|
*/
|
|
@@ -500,7 +500,7 @@ export interface HostingSummary {
|
|
|
500
500
|
/**
|
|
501
501
|
* @deprecated Main domain status of the Web Hosting plan.
|
|
502
502
|
*/
|
|
503
|
-
domainStatus
|
|
503
|
+
domainStatus?: DomainStatus;
|
|
504
504
|
/**
|
|
505
505
|
* Region where the Web Hosting plan is hosted.
|
|
506
506
|
*/
|
|
@@ -976,19 +976,19 @@ export type DnsApiSyncDomainDnsRecordsRequest = {
|
|
|
976
976
|
/**
|
|
977
977
|
* @deprecated Whether or not to synchronize the web records (deprecated, use auto_config_domain_dns).
|
|
978
978
|
*/
|
|
979
|
-
updateWebRecords
|
|
979
|
+
updateWebRecords?: boolean;
|
|
980
980
|
/**
|
|
981
981
|
* @deprecated Whether or not to synchronize the mail records (deprecated, use auto_config_domain_dns).
|
|
982
982
|
*/
|
|
983
|
-
updateMailRecords
|
|
983
|
+
updateMailRecords?: boolean;
|
|
984
984
|
/**
|
|
985
985
|
* @deprecated Whether or not to synchronize all types of records. This one has priority (deprecated, use auto_config_domain_dns).
|
|
986
986
|
*/
|
|
987
|
-
updateAllRecords
|
|
987
|
+
updateAllRecords?: boolean;
|
|
988
988
|
/**
|
|
989
989
|
* @deprecated Whether or not to synchronize domain nameservers (deprecated, use auto_config_domain_dns).
|
|
990
990
|
*/
|
|
991
|
-
updateNameservers
|
|
991
|
+
updateNameservers?: boolean;
|
|
992
992
|
/**
|
|
993
993
|
* @deprecated Custom records to synchronize.
|
|
994
994
|
*/
|
|
@@ -1014,7 +1014,7 @@ export interface DnsRecords {
|
|
|
1014
1014
|
/**
|
|
1015
1015
|
* @deprecated Records dns auto configuration settings (deprecated, use auto_config_domain_dns).
|
|
1016
1016
|
*/
|
|
1017
|
-
dnsConfig
|
|
1017
|
+
dnsConfig?: DomainDnsAction[];
|
|
1018
1018
|
/**
|
|
1019
1019
|
* Whether or not to synchronize each types of records.
|
|
1020
1020
|
*/
|
|
@@ -1044,7 +1044,7 @@ export interface Domain {
|
|
|
1044
1044
|
/**
|
|
1045
1045
|
* @deprecated A list of DNS-related actions that can be auto configured for the domain (deprecated, use auto_config_domain_dns instead).
|
|
1046
1046
|
*/
|
|
1047
|
-
availableDnsActions
|
|
1047
|
+
availableDnsActions?: DomainDnsAction[];
|
|
1048
1048
|
/**
|
|
1049
1049
|
* Whether or not to synchronize each type of record.
|
|
1050
1050
|
*/
|
|
@@ -1182,7 +1182,7 @@ export interface Hosting {
|
|
|
1182
1182
|
/**
|
|
1183
1183
|
* @deprecated Main domain associated with the Web Hosting plan (deprecated, use domain_info).
|
|
1184
1184
|
*/
|
|
1185
|
-
domain
|
|
1185
|
+
domain?: string;
|
|
1186
1186
|
/**
|
|
1187
1187
|
* Details of the Web Hosting plan offer and options.
|
|
1188
1188
|
*/
|
|
@@ -1198,7 +1198,7 @@ export interface Hosting {
|
|
|
1198
1198
|
/**
|
|
1199
1199
|
* @deprecated DNS status of the Web Hosting plan (deprecated, use domain_info).
|
|
1200
1200
|
*/
|
|
1201
|
-
dnsStatus
|
|
1201
|
+
dnsStatus?: DnsRecordsStatus;
|
|
1202
1202
|
/**
|
|
1203
1203
|
* Current IPv4 address of the hosting.
|
|
1204
1204
|
*/
|
|
@@ -1214,7 +1214,7 @@ export interface Hosting {
|
|
|
1214
1214
|
/**
|
|
1215
1215
|
* @deprecated Main domain status of the Web Hosting plan (deprecated, use domain_info).
|
|
1216
1216
|
*/
|
|
1217
|
-
domainStatus
|
|
1217
|
+
domainStatus?: DomainStatus;
|
|
1218
1218
|
/**
|
|
1219
1219
|
* Region where the Web Hosting plan is hosted.
|
|
1220
1220
|
*/
|
|
@@ -1744,7 +1744,7 @@ export interface ResetHostingPasswordResponse {
|
|
|
1744
1744
|
/**
|
|
1745
1745
|
* @deprecated New temporary password (deprecated, use password_b64 instead).
|
|
1746
1746
|
*/
|
|
1747
|
-
oneTimePassword
|
|
1747
|
+
oneTimePassword?: string;
|
|
1748
1748
|
/**
|
|
1749
1749
|
* New temporary password, encoded in base64.
|
|
1750
1750
|
*/
|