@scaleway/sdk 2.72.0 → 2.73.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/account/v3/api.gen.cjs +13 -32
- package/dist/api/account/v3/api.gen.d.ts +17 -36
- package/dist/api/account/v3/api.gen.js +13 -32
- package/dist/api/account/v3/types.gen.d.ts +187 -85
- package/dist/api/applesilicon/v1alpha1/api.gen.cjs +19 -46
- package/dist/api/applesilicon/v1alpha1/api.gen.d.ts +24 -49
- package/dist/api/applesilicon/v1alpha1/api.gen.js +19 -46
- package/dist/api/applesilicon/v1alpha1/types.gen.d.ts +310 -135
- package/dist/api/audit_trail/v1alpha1/api.gen.cjs +2 -5
- package/dist/api/audit_trail/v1alpha1/api.gen.d.ts +4 -8
- package/dist/api/audit_trail/v1alpha1/api.gen.js +2 -5
- package/dist/api/audit_trail/v1alpha1/types.gen.d.ts +110 -82
- package/dist/api/baremetal/v1/api.gen.cjs +28 -61
- package/dist/api/baremetal/v1/api.gen.d.ts +29 -60
- package/dist/api/baremetal/v1/api.gen.js +28 -61
- package/dist/api/baremetal/v1/types.gen.d.ts +802 -315
- package/dist/api/baremetal/v3/api.gen.cjs +7 -14
- package/dist/api/baremetal/v3/api.gen.d.ts +10 -15
- package/dist/api/baremetal/v3/api.gen.js +7 -14
- package/dist/api/baremetal/v3/types.gen.d.ts +82 -32
- package/dist/api/billing/v2beta1/api.gen.cjs +11 -20
- package/dist/api/billing/v2beta1/api.gen.d.ts +9 -19
- package/dist/api/billing/v2beta1/api.gen.js +11 -20
- package/dist/api/billing/v2beta1/types.gen.d.ts +231 -102
- package/dist/api/block/v1/api.gen.cjs +37 -55
- package/dist/api/block/v1/api.gen.d.ts +19 -37
- package/dist/api/block/v1/api.gen.js +37 -55
- package/dist/api/block/v1/types.gen.d.ts +306 -125
- package/dist/api/block/v1alpha1/api.gen.cjs +45 -64
- package/dist/api/block/v1alpha1/api.gen.d.ts +22 -41
- package/dist/api/block/v1alpha1/api.gen.js +45 -64
- package/dist/api/block/v1alpha1/types.gen.d.ts +327 -132
- package/dist/api/cockpit/v1/api.gen.cjs +100 -156
- package/dist/api/cockpit/v1/api.gen.d.ts +53 -112
- package/dist/api/cockpit/v1/api.gen.js +100 -156
- package/dist/api/cockpit/v1/types.gen.d.ts +567 -246
- package/dist/api/container/v1beta1/api.gen.cjs +7 -14
- package/dist/api/container/v1beta1/api.gen.d.ts +9 -16
- package/dist/api/container/v1beta1/api.gen.js +7 -14
- package/dist/api/container/v1beta1/types.gen.d.ts +648 -322
- package/dist/api/dedibox/v1/api.gen.cjs +45 -69
- package/dist/api/dedibox/v1/api.gen.d.ts +52 -62
- package/dist/api/dedibox/v1/api.gen.js +45 -69
- package/dist/api/dedibox/v1/types.gen.d.ts +1765 -645
- package/dist/api/domain/v2beta1/api.gen.cjs +119 -178
- package/dist/api/domain/v2beta1/api.gen.d.ts +71 -130
- package/dist/api/domain/v2beta1/api.gen.js +119 -178
- package/dist/api/domain/v2beta1/content.gen.d.ts +1 -4
- package/dist/api/domain/v2beta1/types.gen.d.ts +411 -199
- package/dist/api/flexibleip/v1alpha1/api.gen.cjs +10 -25
- package/dist/api/flexibleip/v1alpha1/api.gen.d.ts +12 -28
- package/dist/api/flexibleip/v1alpha1/api.gen.js +10 -25
- package/dist/api/flexibleip/v1alpha1/types.gen.d.ts +186 -78
- package/dist/api/inference/v1/api.gen.cjs +8 -11
- package/dist/api/inference/v1/api.gen.d.ts +6 -9
- package/dist/api/inference/v1/api.gen.js +8 -11
- package/dist/api/inference/v1/types.gen.d.ts +330 -150
- package/dist/api/inference/v1beta1/api.gen.cjs +8 -11
- package/dist/api/inference/v1beta1/api.gen.d.ts +6 -9
- package/dist/api/inference/v1beta1/api.gen.js +8 -11
- package/dist/api/inference/v1beta1/types.gen.d.ts +341 -154
- package/dist/api/instance/v1/api.gen.cjs +64 -113
- package/dist/api/instance/v1/api.gen.d.ts +54 -103
- package/dist/api/instance/v1/api.gen.js +64 -113
- package/dist/api/instance/v1/types.gen.d.ts +1351 -598
- package/dist/api/instance/v1/types.private.gen.d.ts +131 -59
- package/dist/api/interlink/v1beta1/api.gen.cjs +21 -67
- package/dist/api/interlink/v1beta1/api.gen.d.ts +23 -70
- package/dist/api/interlink/v1beta1/api.gen.js +21 -67
- package/dist/api/interlink/v1beta1/marshalling.gen.cjs +2 -0
- package/dist/api/interlink/v1beta1/marshalling.gen.js +2 -0
- package/dist/api/interlink/v1beta1/types.gen.d.ts +464 -216
- package/dist/api/interlink/v1beta1/validation-rules.gen.cjs +8 -0
- package/dist/api/interlink/v1beta1/validation-rules.gen.d.ts +8 -0
- package/dist/api/interlink/v1beta1/validation-rules.gen.js +8 -0
- package/dist/api/iot/v1/api.gen.cjs +37 -70
- package/dist/api/iot/v1/api.gen.d.ts +34 -67
- package/dist/api/iot/v1/api.gen.js +37 -70
- package/dist/api/iot/v1/types.gen.d.ts +566 -321
- package/dist/api/ipam/v1/api.gen.cjs +6 -26
- package/dist/api/ipam/v1/api.gen.d.ts +8 -29
- package/dist/api/ipam/v1/api.gen.js +6 -26
- package/dist/api/ipam/v1/types.gen.d.ts +146 -105
- package/dist/api/jobs/v1alpha1/api.gen.cjs +2 -4
- package/dist/api/jobs/v1alpha1/api.gen.d.ts +4 -6
- package/dist/api/jobs/v1alpha1/api.gen.js +2 -4
- package/dist/api/jobs/v1alpha1/types.gen.d.ts +165 -91
- package/dist/api/k8s/v1/api.gen.cjs +33 -78
- package/dist/api/k8s/v1/api.gen.d.ts +27 -72
- package/dist/api/k8s/v1/api.gen.js +33 -78
- package/dist/api/k8s/v1/types.gen.d.ts +743 -506
- package/dist/api/key_manager/v1alpha1/api.gen.cjs +21 -57
- package/dist/api/key_manager/v1alpha1/api.gen.d.ts +19 -56
- package/dist/api/key_manager/v1alpha1/api.gen.js +21 -57
- package/dist/api/key_manager/v1alpha1/types.gen.d.ts +196 -114
- package/dist/api/marketplace/v2/api.gen.cjs +8 -21
- package/dist/api/marketplace/v2/api.gen.d.ts +10 -24
- package/dist/api/marketplace/v2/api.gen.js +8 -21
- package/dist/api/marketplace/v2/types.gen.d.ts +94 -41
- package/dist/api/mnq/v1beta1/api.gen.cjs +24 -76
- package/dist/api/mnq/v1beta1/api.gen.d.ts +30 -82
- package/dist/api/mnq/v1beta1/api.gen.js +24 -76
- package/dist/api/mnq/v1beta1/types.gen.d.ts +342 -169
- package/dist/api/mongodb/v1alpha1/api.gen.cjs +19 -62
- package/dist/api/mongodb/v1alpha1/api.gen.d.ts +21 -64
- package/dist/api/mongodb/v1alpha1/api.gen.js +19 -62
- package/dist/api/mongodb/v1alpha1/types.gen.d.ts +443 -189
- package/dist/api/qaas/v1alpha1/api.gen.cjs +17 -34
- package/dist/api/qaas/v1alpha1/api.gen.d.ts +19 -36
- package/dist/api/qaas/v1alpha1/api.gen.js +17 -34
- package/dist/api/qaas/v1alpha1/types.gen.d.ts +502 -174
- package/dist/api/rdb/v1/api.gen.cjs +62 -202
- package/dist/api/rdb/v1/api.gen.d.ts +60 -201
- package/dist/api/rdb/v1/api.gen.js +62 -202
- package/dist/api/rdb/v1/types.gen.d.ts +1005 -524
- package/dist/api/redis/v1/api.gen.cjs +23 -83
- package/dist/api/redis/v1/api.gen.d.ts +25 -85
- package/dist/api/redis/v1/api.gen.js +23 -83
- package/dist/api/redis/v1/types.gen.d.ts +447 -170
- package/dist/api/registry/v1/api.gen.cjs +12 -40
- package/dist/api/registry/v1/api.gen.d.ts +14 -42
- package/dist/api/registry/v1/api.gen.js +12 -40
- package/dist/api/registry/v1/types.gen.d.ts +200 -116
- package/dist/api/secret/v1beta1/api.gen.cjs +19 -47
- package/dist/api/secret/v1beta1/api.gen.d.ts +21 -51
- package/dist/api/secret/v1beta1/api.gen.js +19 -47
- package/dist/api/secret/v1beta1/types.gen.d.ts +359 -224
- package/dist/api/serverless_sqldb/v1alpha1/api.gen.cjs +9 -27
- package/dist/api/serverless_sqldb/v1alpha1/api.gen.d.ts +11 -29
- package/dist/api/serverless_sqldb/v1alpha1/api.gen.js +9 -27
- package/dist/api/serverless_sqldb/v1alpha1/types.gen.d.ts +168 -76
- package/dist/api/tem/v1alpha1/api.gen.cjs +22 -58
- package/dist/api/tem/v1alpha1/api.gen.d.ts +24 -60
- package/dist/api/tem/v1alpha1/api.gen.js +22 -58
- package/dist/api/tem/v1alpha1/types.gen.d.ts +761 -338
- package/dist/api/test/v1/api.gen.cjs +8 -11
- package/dist/api/test/v1/api.gen.d.ts +6 -9
- package/dist/api/test/v1/api.gen.js +8 -11
- package/dist/api/test/v1/types.gen.d.ts +21 -10
- package/dist/client/dist/package.json.cjs +1 -1
- package/dist/client/dist/package.json.js +1 -1
- package/node_modules/@scaleway/sdk-client/dist/package.json.cjs +1 -1
- package/node_modules/@scaleway/sdk-client/dist/package.json.js +1 -1
- package/node_modules/@scaleway/sdk-client/package.json +1 -2
- package/package.json +2 -2
- package/node_modules/@scaleway/sdk-client/LICENSE +0 -191
|
@@ -35,16 +35,14 @@ class API extends API$1 {
|
|
|
35
35
|
unmarshalListDNSZonesResponse
|
|
36
36
|
);
|
|
37
37
|
/**
|
|
38
|
-
* List DNS zones. Retrieve the list of DNS zones you can manage and filter
|
|
39
|
-
* DNS zones associated with specific domain names.
|
|
38
|
+
* List DNS zones. Retrieve the list of DNS zones you can manage and filter DNS zones associated with specific domain names.
|
|
40
39
|
*
|
|
41
40
|
* @param request - The request {@link ListDNSZonesRequest}
|
|
42
41
|
* @returns A Promise of ListDNSZonesResponse
|
|
43
42
|
*/
|
|
44
43
|
listDNSZones = (request) => enrichForPagination("dnsZones", this.pageOfListDNSZones, request);
|
|
45
44
|
/**
|
|
46
|
-
* Create a DNS zone. Create a new DNS zone specified by the domain name, the
|
|
47
|
-
* subdomain and the Project ID.
|
|
45
|
+
* Create a DNS zone. Create a new DNS zone specified by the domain name, the subdomain and the Project ID.
|
|
48
46
|
*
|
|
49
47
|
* @param request - The request {@link CreateDNSZoneRequest}
|
|
50
48
|
* @returns A Promise of DNSZone
|
|
@@ -78,8 +76,7 @@ class API extends API$1 {
|
|
|
78
76
|
unmarshalDNSZone
|
|
79
77
|
);
|
|
80
78
|
/**
|
|
81
|
-
* Clone a DNS zone. Clone an existing DNS zone with all its records into a
|
|
82
|
-
* new DNS zone.
|
|
79
|
+
* Clone a DNS zone. Clone an existing DNS zone with all its records into a new DNS zone.
|
|
83
80
|
*
|
|
84
81
|
* @param request - The request {@link CloneDNSZoneRequest}
|
|
85
82
|
* @returns A Promise of DNSZone
|
|
@@ -132,33 +129,27 @@ class API extends API$1 {
|
|
|
132
129
|
unmarshalListDNSZoneRecordsResponse
|
|
133
130
|
);
|
|
134
131
|
/**
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
*/
|
|
132
|
+
* List records within a DNS zone. Retrieve a list of DNS records within a DNS zone that has default name servers.
|
|
133
|
+
You can filter records by type and name.
|
|
134
|
+
*
|
|
135
|
+
* @param request - The request {@link ListDNSZoneRecordsRequest}
|
|
136
|
+
* @returns A Promise of ListDNSZoneRecordsResponse
|
|
137
|
+
*/
|
|
142
138
|
listDNSZoneRecords = (request) => enrichForPagination("records", this.pageOfListDNSZoneRecords, request);
|
|
143
139
|
/**
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
* All edits will be versioned.
|
|
158
|
-
*
|
|
159
|
-
* @param request - The request {@link UpdateDNSZoneRecordsRequest}
|
|
160
|
-
* @returns A Promise of UpdateDNSZoneRecordsResponse
|
|
161
|
-
*/
|
|
140
|
+
* Update records within a DNS zone. Update records within a DNS zone that has default name servers and perform several actions on your records.
|
|
141
|
+
|
|
142
|
+
Actions include:
|
|
143
|
+
- add: allows you to add a new record or add a new IP to an existing A record, for example
|
|
144
|
+
- set: allows you to edit a record or edit an IP from an existing A record, for example
|
|
145
|
+
- delete: allows you to delete a record or delete an IP from an existing A record, for example
|
|
146
|
+
- clear: allows you to delete all records from a DNS zone
|
|
147
|
+
|
|
148
|
+
All edits will be versioned.
|
|
149
|
+
*
|
|
150
|
+
* @param request - The request {@link UpdateDNSZoneRecordsRequest}
|
|
151
|
+
* @returns A Promise of UpdateDNSZoneRecordsResponse
|
|
152
|
+
*/
|
|
162
153
|
updateDNSZoneRecords = (request) => this.client.fetch(
|
|
163
154
|
{
|
|
164
155
|
body: JSON.stringify(
|
|
@@ -171,8 +162,7 @@ class API extends API$1 {
|
|
|
171
162
|
unmarshalUpdateDNSZoneRecordsResponse
|
|
172
163
|
);
|
|
173
164
|
/**
|
|
174
|
-
* List name servers within a DNS zone. Retrieve a list of name servers within
|
|
175
|
-
* a DNS zone and their optional glue records.
|
|
165
|
+
* List name servers within a DNS zone. Retrieve a list of name servers within a DNS zone and their optional glue records.
|
|
176
166
|
*
|
|
177
167
|
* @param request - The request {@link ListDNSZoneNameserversRequest}
|
|
178
168
|
* @returns A Promise of ListDNSZoneNameserversResponse
|
|
@@ -186,8 +176,7 @@ class API extends API$1 {
|
|
|
186
176
|
unmarshalListDNSZoneNameserversResponse
|
|
187
177
|
);
|
|
188
178
|
/**
|
|
189
|
-
* Update name servers within a DNS zone. Update name servers within a DNS
|
|
190
|
-
* zone and set optional glue records.
|
|
179
|
+
* Update name servers within a DNS zone. Update name servers within a DNS zone and set optional glue records.
|
|
191
180
|
*
|
|
192
181
|
* @param request - The request {@link UpdateDNSZoneNameserversRequest}
|
|
193
182
|
* @returns A Promise of UpdateDNSZoneNameserversResponse
|
|
@@ -204,12 +193,12 @@ class API extends API$1 {
|
|
|
204
193
|
unmarshalUpdateDNSZoneNameserversResponse
|
|
205
194
|
);
|
|
206
195
|
/**
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
196
|
+
* Clear records within a DNS zone. Delete all records within a DNS zone that has default name servers.<br/>
|
|
197
|
+
All edits will be versioned.
|
|
198
|
+
*
|
|
199
|
+
* @param request - The request {@link ClearDNSZoneRecordsRequest}
|
|
200
|
+
* @returns A Promise of ClearDNSZoneRecordsResponse
|
|
201
|
+
*/
|
|
213
202
|
clearDNSZoneRecords = (request) => this.client.fetch(
|
|
214
203
|
{
|
|
215
204
|
method: "DELETE",
|
|
@@ -218,8 +207,7 @@ class API extends API$1 {
|
|
|
218
207
|
unmarshalClearDNSZoneRecordsResponse
|
|
219
208
|
);
|
|
220
209
|
/**
|
|
221
|
-
* Export a raw DNS zone. Export a DNS zone with default name servers, in a
|
|
222
|
-
* specific format.
|
|
210
|
+
* Export a raw DNS zone. Export a DNS zone with default name servers, in a specific format.
|
|
223
211
|
*
|
|
224
212
|
* @param request - The request {@link ExportRawDNSZoneRequest}
|
|
225
213
|
* @returns A Promise of Blob
|
|
@@ -231,8 +219,7 @@ class API extends API$1 {
|
|
|
231
219
|
responseType: "blob"
|
|
232
220
|
});
|
|
233
221
|
/**
|
|
234
|
-
* Import a raw DNS zone. Import and replace the format of records from a
|
|
235
|
-
* given provider, with default name servers.
|
|
222
|
+
* Import a raw DNS zone. Import and replace the format of records from a given provider, with default name servers.
|
|
236
223
|
*
|
|
237
224
|
* @param request - The request {@link ImportRawDNSZoneRequest}
|
|
238
225
|
* @returns A Promise of ImportRawDNSZoneResponse
|
|
@@ -249,8 +236,7 @@ class API extends API$1 {
|
|
|
249
236
|
unmarshalImportRawDNSZoneResponse
|
|
250
237
|
);
|
|
251
238
|
/**
|
|
252
|
-
* Import a DNS zone from another provider. Import and replace the format of
|
|
253
|
-
* records from a given provider, with default name servers.
|
|
239
|
+
* Import a DNS zone from another provider. Import and replace the format of records from a given provider, with default name servers.
|
|
254
240
|
*
|
|
255
241
|
* @param request - The request {@link ImportProviderDNSZoneRequest}
|
|
256
242
|
* @returns A Promise of ImportProviderDNSZoneResponse
|
|
@@ -267,13 +253,12 @@ class API extends API$1 {
|
|
|
267
253
|
unmarshalImportProviderDNSZoneResponse
|
|
268
254
|
);
|
|
269
255
|
/**
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
*/
|
|
256
|
+
* Refresh a DNS zone. Refresh an SOA DNS zone to reload the records in the DNS zone and update the SOA serial.
|
|
257
|
+
You can recreate the given DNS zone and its sub DNS zone if needed.
|
|
258
|
+
*
|
|
259
|
+
* @param request - The request {@link RefreshDNSZoneRequest}
|
|
260
|
+
* @returns A Promise of RefreshDNSZoneResponse
|
|
261
|
+
*/
|
|
277
262
|
refreshDNSZone = (request) => this.client.fetch(
|
|
278
263
|
{
|
|
279
264
|
body: JSON.stringify(
|
|
@@ -300,13 +285,12 @@ class API extends API$1 {
|
|
|
300
285
|
unmarshalListDNSZoneVersionsResponse
|
|
301
286
|
);
|
|
302
287
|
/**
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
*/
|
|
288
|
+
* List versions of a DNS zone. Retrieve a list of a DNS zone's versions.<br/>
|
|
289
|
+
The maximum version count is 100. If the count reaches this limit, the oldest version will be deleted after each new modification.
|
|
290
|
+
*
|
|
291
|
+
* @param request - The request {@link ListDNSZoneVersionsRequest}
|
|
292
|
+
* @returns A Promise of ListDNSZoneVersionsResponse
|
|
293
|
+
*/
|
|
310
294
|
listDNSZoneVersions = (request) => enrichForPagination("versions", this.pageOfListDNSZoneVersions, request);
|
|
311
295
|
pageOfListDNSZoneVersionRecords = (request) => this.client.fetch(
|
|
312
296
|
{
|
|
@@ -323,8 +307,7 @@ class API extends API$1 {
|
|
|
323
307
|
unmarshalListDNSZoneVersionRecordsResponse
|
|
324
308
|
);
|
|
325
309
|
/**
|
|
326
|
-
* List records from a given version of a specific DNS zone. Retrieve a list
|
|
327
|
-
* of records from a specific DNS zone version.
|
|
310
|
+
* List records from a given version of a specific DNS zone. Retrieve a list of records from a specific DNS zone version.
|
|
328
311
|
*
|
|
329
312
|
* @param request - The request {@link ListDNSZoneVersionRecordsRequest}
|
|
330
313
|
* @returns A Promise of ListDNSZoneVersionRecordsResponse
|
|
@@ -335,8 +318,7 @@ class API extends API$1 {
|
|
|
335
318
|
request
|
|
336
319
|
);
|
|
337
320
|
/**
|
|
338
|
-
* Access differences from a specific DNS zone version. Access a previous DNS
|
|
339
|
-
* zone version to see the differences from another specific version.
|
|
321
|
+
* Access differences from a specific DNS zone version. Access a previous DNS zone version to see the differences from another specific version.
|
|
340
322
|
*
|
|
341
323
|
* @param request - The request {@link GetDNSZoneVersionDiffRequest}
|
|
342
324
|
* @returns A Promise of GetDNSZoneVersionDiffResponse
|
|
@@ -349,8 +331,7 @@ class API extends API$1 {
|
|
|
349
331
|
unmarshalGetDNSZoneVersionDiffResponse
|
|
350
332
|
);
|
|
351
333
|
/**
|
|
352
|
-
* Restore a DNS zone version. Restore and activate a version of a specific
|
|
353
|
-
* DNS zone.
|
|
334
|
+
* Restore a DNS zone version. Restore and activate a version of a specific DNS zone.
|
|
354
335
|
*
|
|
355
336
|
* @param request - The request {@link RestoreDNSZoneVersionRequest}
|
|
356
337
|
* @returns A Promise of RestoreDNSZoneVersionResponse
|
|
@@ -365,8 +346,7 @@ class API extends API$1 {
|
|
|
365
346
|
unmarshalRestoreDNSZoneVersionResponse
|
|
366
347
|
);
|
|
367
348
|
/**
|
|
368
|
-
* Get a DNS zone's TLS certificate. Get the DNS zone's TLS certificate. If
|
|
369
|
-
* you do not have a certificate, the ouptut returns `no certificate found`.
|
|
349
|
+
* Get a DNS zone's TLS certificate. Get the DNS zone's TLS certificate. If you do not have a certificate, the ouptut returns `no certificate found`.
|
|
370
350
|
*
|
|
371
351
|
* @param request - The request {@link GetSSLCertificateRequest}
|
|
372
352
|
* @returns A Promise of SSLCertificate
|
|
@@ -394,8 +374,7 @@ class API extends API$1 {
|
|
|
394
374
|
options
|
|
395
375
|
);
|
|
396
376
|
/**
|
|
397
|
-
* Create or get the DNS zone's TLS certificate. Create a new TLS certificate
|
|
398
|
-
* or retrieve information about an existing TLS certificate.
|
|
377
|
+
* Create or get the DNS zone's TLS certificate. Create a new TLS certificate or retrieve information about an existing TLS certificate.
|
|
399
378
|
*
|
|
400
379
|
* @param request - The request {@link CreateSSLCertificateRequest}
|
|
401
380
|
* @returns A Promise of SSLCertificate
|
|
@@ -428,17 +407,14 @@ class API extends API$1 {
|
|
|
428
407
|
unmarshalListSSLCertificatesResponse
|
|
429
408
|
);
|
|
430
409
|
/**
|
|
431
|
-
* List a user's TLS certificates. List all the TLS certificates a user has
|
|
432
|
-
* created, specified by the user's Project ID and the DNS zone.
|
|
410
|
+
* List a user's TLS certificates. List all the TLS certificates a user has created, specified by the user's Project ID and the DNS zone.
|
|
433
411
|
*
|
|
434
412
|
* @param request - The request {@link ListSSLCertificatesRequest}
|
|
435
413
|
* @returns A Promise of ListSSLCertificatesResponse
|
|
436
414
|
*/
|
|
437
415
|
listSSLCertificates = (request) => enrichForPagination("certificates", this.pageOfListSSLCertificates, request);
|
|
438
416
|
/**
|
|
439
|
-
* Delete a TLS certificate. Delete an existing TLS certificate specified by
|
|
440
|
-
* its DNS zone. Deleting a TLS certificate is permanent and cannot be
|
|
441
|
-
* undone.
|
|
417
|
+
* Delete a TLS certificate. Delete an existing TLS certificate specified by its DNS zone. Deleting a TLS certificate is permanent and cannot be undone.
|
|
442
418
|
*
|
|
443
419
|
* @param request - The request {@link DeleteSSLCertificateRequest}
|
|
444
420
|
* @returns A Promise of DeleteSSLCertificateResponse
|
|
@@ -451,8 +427,7 @@ class API extends API$1 {
|
|
|
451
427
|
unmarshalDeleteSSLCertificateResponse
|
|
452
428
|
);
|
|
453
429
|
/**
|
|
454
|
-
* Get the DNS zone's TSIG key. Retrieve information about the TSIG key of a
|
|
455
|
-
* given DNS zone to allow AXFR requests.
|
|
430
|
+
* Get the DNS zone's TSIG key. Retrieve information about the TSIG key of a given DNS zone to allow AXFR requests.
|
|
456
431
|
*
|
|
457
432
|
* @param request - The request {@link GetDNSZoneTsigKeyRequest}
|
|
458
433
|
* @returns A Promise of GetDNSZoneTsigKeyResponse
|
|
@@ -465,8 +440,7 @@ class API extends API$1 {
|
|
|
465
440
|
unmarshalGetDNSZoneTsigKeyResponse
|
|
466
441
|
);
|
|
467
442
|
/**
|
|
468
|
-
* Delete the DNS zone's TSIG key. Delete an existing TSIG key specified by
|
|
469
|
-
* its DNS zone. Deleting a TSIG key is permanent and cannot be undone.
|
|
443
|
+
* Delete the DNS zone's TSIG key. Delete an existing TSIG key specified by its DNS zone. Deleting a TSIG key is permanent and cannot be undone.
|
|
470
444
|
*
|
|
471
445
|
* @param request - The request {@link DeleteDNSZoneTsigKeyRequest}
|
|
472
446
|
*/
|
|
@@ -497,20 +471,20 @@ class RegistrarAPI extends API$1 {
|
|
|
497
471
|
unmarshalListTasksResponse
|
|
498
472
|
);
|
|
499
473
|
/**
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
474
|
+
* List tasks. List all operations performed on the account.
|
|
475
|
+
You can filter the list of tasks by domain name.
|
|
476
|
+
*
|
|
477
|
+
* @param request - The request {@link RegistrarApiListTasksRequest}
|
|
478
|
+
* @returns A Promise of ListTasksResponse
|
|
479
|
+
*/
|
|
506
480
|
listTasks = (request = {}) => enrichForPagination("tasks", this.pageOfListTasks, request);
|
|
507
481
|
/**
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
482
|
+
* Purchase domains. Request the registration of domain names.
|
|
483
|
+
You can provide a domain's already existing contact or a new contact.
|
|
484
|
+
*
|
|
485
|
+
* @param request - The request {@link RegistrarApiBuyDomainsRequest}
|
|
486
|
+
* @returns A Promise of OrderResponse
|
|
487
|
+
*/
|
|
514
488
|
buyDomains = (request) => this.client.fetch(
|
|
515
489
|
{
|
|
516
490
|
body: JSON.stringify(
|
|
@@ -540,8 +514,7 @@ class RegistrarAPI extends API$1 {
|
|
|
540
514
|
unmarshalOrderResponse
|
|
541
515
|
);
|
|
542
516
|
/**
|
|
543
|
-
* Transfer a domain. Request the transfer of a domain from another registrar
|
|
544
|
-
* to Scaleway Domains and DNS.
|
|
517
|
+
* Transfer a domain. Request the transfer of a domain from another registrar to Scaleway Domains and DNS.
|
|
545
518
|
*
|
|
546
519
|
* @param request - The request {@link RegistrarApiTransferInDomainRequest}
|
|
547
520
|
* @returns A Promise of OrderResponse
|
|
@@ -561,18 +534,14 @@ class RegistrarAPI extends API$1 {
|
|
|
561
534
|
unmarshalOrderResponse
|
|
562
535
|
);
|
|
563
536
|
/**
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
*
|
|
573
|
-
* @param request - The request {@link RegistrarApiTradeDomainRequest}
|
|
574
|
-
* @returns A Promise of OrderResponse
|
|
575
|
-
*/
|
|
537
|
+
* Trade a domain's contact. Request to change a domain's contact owner.<br/>
|
|
538
|
+
If you specify the `organization_id` of the domain's new owner, the contact will change from the current owner's Scaleway account to the new owner's Scaleway account.<br/>
|
|
539
|
+
If the new owner's current contact information is not available, the first ever contact they have created for previous domains is taken into account to operate the change.<br/>
|
|
540
|
+
If the new owner has never created a contact to register domains before, an error message displays.
|
|
541
|
+
*
|
|
542
|
+
* @param request - The request {@link RegistrarApiTradeDomainRequest}
|
|
543
|
+
* @returns A Promise of OrderResponse
|
|
544
|
+
*/
|
|
576
545
|
tradeDomain = (request) => this.client.fetch(
|
|
577
546
|
{
|
|
578
547
|
body: JSON.stringify(
|
|
@@ -585,11 +554,9 @@ class RegistrarAPI extends API$1 {
|
|
|
585
554
|
unmarshalOrderResponse
|
|
586
555
|
);
|
|
587
556
|
/**
|
|
588
|
-
* Register an external domain. Request the registration of an external domain
|
|
589
|
-
* name.
|
|
557
|
+
* Register an external domain. Request the registration of an external domain name.
|
|
590
558
|
*
|
|
591
|
-
* @param request - The request
|
|
592
|
-
* {@link RegistrarApiRegisterExternalDomainRequest}
|
|
559
|
+
* @param request - The request {@link RegistrarApiRegisterExternalDomainRequest}
|
|
593
560
|
* @returns A Promise of RegisterExternalDomainResponse
|
|
594
561
|
*/
|
|
595
562
|
registerExternalDomain = (request) => this.client.fetch(
|
|
@@ -620,15 +587,12 @@ class RegistrarAPI extends API$1 {
|
|
|
620
587
|
unmarshalDeleteExternalDomainResponse
|
|
621
588
|
);
|
|
622
589
|
/**
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
* {@link RegistrarApiCheckContactsCompatibilityRequest}
|
|
630
|
-
* @returns A Promise of CheckContactsCompatibilityResponse
|
|
631
|
-
*/
|
|
590
|
+
* Check if contacts are compatible with a domain or a TLD. Check whether contacts are compatible with a domain or a TLD.
|
|
591
|
+
If contacts are not compatible with either the domain or the TLD, the information that needs to be corrected is returned.
|
|
592
|
+
*
|
|
593
|
+
* @param request - The request {@link RegistrarApiCheckContactsCompatibilityRequest}
|
|
594
|
+
* @returns A Promise of CheckContactsCompatibilityResponse
|
|
595
|
+
*/
|
|
632
596
|
checkContactsCompatibility = (request = {}) => this.client.fetch(
|
|
633
597
|
{
|
|
634
598
|
body: JSON.stringify(
|
|
@@ -663,16 +627,15 @@ class RegistrarAPI extends API$1 {
|
|
|
663
627
|
unmarshalListContactsResponse
|
|
664
628
|
);
|
|
665
629
|
/**
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
630
|
+
* List contacts. Retrieve the list of contacts and their associated domains and roles.
|
|
631
|
+
You can filter the list by domain name.
|
|
632
|
+
*
|
|
633
|
+
* @param request - The request {@link RegistrarApiListContactsRequest}
|
|
634
|
+
* @returns A Promise of ListContactsResponse
|
|
635
|
+
*/
|
|
672
636
|
listContacts = (request = {}) => enrichForPagination("contacts", this.pageOfListContacts, request);
|
|
673
637
|
/**
|
|
674
|
-
* Get a contact. Retrieve a contact's details from the registrar using the
|
|
675
|
-
* given contact's ID.
|
|
638
|
+
* Get a contact. Retrieve a contact's details from the registrar using the given contact's ID.
|
|
676
639
|
*
|
|
677
640
|
* @param request - The request {@link RegistrarApiGetContactRequest}
|
|
678
641
|
* @returns A Promise of Contact
|
|
@@ -750,17 +713,14 @@ class RegistrarAPI extends API$1 {
|
|
|
750
713
|
unmarshalListRenewableDomainsResponse
|
|
751
714
|
);
|
|
752
715
|
/**
|
|
753
|
-
* List domains that can be renewed. Retrieve the list of domains you own that
|
|
754
|
-
* can be renewed. You can also see the maximum renewal duration in years for
|
|
755
|
-
* your domains that are renewable.
|
|
716
|
+
* List domains that can be renewed. Retrieve the list of domains you own that can be renewed. You can also see the maximum renewal duration in years for your domains that are renewable.
|
|
756
717
|
*
|
|
757
718
|
* @param request - The request {@link RegistrarApiListRenewableDomainsRequest}
|
|
758
719
|
* @returns A Promise of ListRenewableDomainsResponse
|
|
759
720
|
*/
|
|
760
721
|
listRenewableDomains = (request = {}) => enrichForPagination("domains", this.pageOfListRenewableDomains, request);
|
|
761
722
|
/**
|
|
762
|
-
* Get domain. Retrieve a specific domain and display the domain's
|
|
763
|
-
* information.
|
|
723
|
+
* Get domain. Retrieve a specific domain and display the domain's information.
|
|
764
724
|
*
|
|
765
725
|
* @param request - The request {@link RegistrarApiGetDomainRequest}
|
|
766
726
|
* @returns A Promise of Domain
|
|
@@ -788,14 +748,12 @@ class RegistrarAPI extends API$1 {
|
|
|
788
748
|
options
|
|
789
749
|
);
|
|
790
750
|
/**
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
* @returns A Promise of Domain
|
|
798
|
-
*/
|
|
751
|
+
* Update a domain's contacts. Update contacts for a specific domain or create a new contact.<br/>
|
|
752
|
+
If you add the same contact for multiple roles (owner, administrative, technical), only one ID will be created and used for all of the roles.
|
|
753
|
+
*
|
|
754
|
+
* @param request - The request {@link RegistrarApiUpdateDomainRequest}
|
|
755
|
+
* @returns A Promise of Domain
|
|
756
|
+
*/
|
|
799
757
|
updateDomain = (request) => this.client.fetch(
|
|
800
758
|
{
|
|
801
759
|
body: JSON.stringify(
|
|
@@ -808,9 +766,7 @@ class RegistrarAPI extends API$1 {
|
|
|
808
766
|
unmarshalDomain
|
|
809
767
|
);
|
|
810
768
|
/**
|
|
811
|
-
* Lock the transfer of a domain. Lock the transfer of a domain. This means
|
|
812
|
-
* that the domain cannot be transferred and the authorization code cannot be
|
|
813
|
-
* requested to your current registrar.
|
|
769
|
+
* Lock the transfer of a domain. Lock the transfer of a domain. This means that the domain cannot be transferred and the authorization code cannot be requested to your current registrar.
|
|
814
770
|
*
|
|
815
771
|
* @param request - The request {@link RegistrarApiLockDomainTransferRequest}
|
|
816
772
|
* @returns A Promise of Domain
|
|
@@ -825,9 +781,7 @@ class RegistrarAPI extends API$1 {
|
|
|
825
781
|
unmarshalDomain
|
|
826
782
|
);
|
|
827
783
|
/**
|
|
828
|
-
* Unlock the transfer of a domain. Unlock the transfer of a domain. This
|
|
829
|
-
* means that the domain can be transferred and the authorization code can be
|
|
830
|
-
* requested to your current registrar.
|
|
784
|
+
* Unlock the transfer of a domain. Unlock the transfer of a domain. This means that the domain can be transferred and the authorization code can be requested to your current registrar.
|
|
831
785
|
*
|
|
832
786
|
* @param request - The request {@link RegistrarApiUnlockDomainTransferRequest}
|
|
833
787
|
* @returns A Promise of Domain
|
|
@@ -842,11 +796,9 @@ class RegistrarAPI extends API$1 {
|
|
|
842
796
|
unmarshalDomain
|
|
843
797
|
);
|
|
844
798
|
/**
|
|
845
|
-
* Enable auto renew. Enable the `auto renew` feature for a domain. This means
|
|
846
|
-
* the domain will be automatically renewed before its expiry date.
|
|
799
|
+
* Enable auto renew. Enable the `auto renew` feature for a domain. This means the domain will be automatically renewed before its expiry date.
|
|
847
800
|
*
|
|
848
|
-
* @param request - The request
|
|
849
|
-
* {@link RegistrarApiEnableDomainAutoRenewRequest}
|
|
801
|
+
* @param request - The request {@link RegistrarApiEnableDomainAutoRenewRequest}
|
|
850
802
|
* @returns A Promise of Domain
|
|
851
803
|
*/
|
|
852
804
|
enableDomainAutoRenew = (request) => this.client.fetch(
|
|
@@ -859,11 +811,9 @@ class RegistrarAPI extends API$1 {
|
|
|
859
811
|
unmarshalDomain
|
|
860
812
|
);
|
|
861
813
|
/**
|
|
862
|
-
* Disable auto renew. Disable the `auto renew` feature for a domain. This
|
|
863
|
-
* means the domain will not be renewed before its expiry date.
|
|
814
|
+
* Disable auto renew. Disable the `auto renew` feature for a domain. This means the domain will not be renewed before its expiry date.
|
|
864
815
|
*
|
|
865
|
-
* @param request - The request
|
|
866
|
-
* {@link RegistrarApiDisableDomainAutoRenewRequest}
|
|
816
|
+
* @param request - The request {@link RegistrarApiDisableDomainAutoRenewRequest}
|
|
867
817
|
* @returns A Promise of Domain
|
|
868
818
|
*/
|
|
869
819
|
disableDomainAutoRenew = (request) => this.client.fetch(
|
|
@@ -876,15 +826,12 @@ class RegistrarAPI extends API$1 {
|
|
|
876
826
|
unmarshalDomain
|
|
877
827
|
);
|
|
878
828
|
/**
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
* @param request - The request {@link RegistrarApiGetDomainAuthCodeRequest}
|
|
886
|
-
* @returns A Promise of GetDomainAuthCodeResponse
|
|
887
|
-
*/
|
|
829
|
+
* Get a domain's authorization code. Retrieve the authorization code to tranfer an unlocked domain. The output returns an error if the domain is locked.
|
|
830
|
+
Some TLDs may have a different procedure to retrieve the authorization code. In that case, the information displays in the message field.
|
|
831
|
+
*
|
|
832
|
+
* @param request - The request {@link RegistrarApiGetDomainAuthCodeRequest}
|
|
833
|
+
* @returns A Promise of GetDomainAuthCodeResponse
|
|
834
|
+
*/
|
|
888
835
|
getDomainAuthCode = (request) => this.client.fetch(
|
|
889
836
|
{
|
|
890
837
|
method: "GET",
|
|
@@ -893,9 +840,7 @@ class RegistrarAPI extends API$1 {
|
|
|
893
840
|
unmarshalGetDomainAuthCodeResponse
|
|
894
841
|
);
|
|
895
842
|
/**
|
|
896
|
-
* Update domain DNSSEC. If your domain uses another registrar and has the
|
|
897
|
-
* default Scaleway NS, you have to **update the DS record at your
|
|
898
|
-
* registrar**.
|
|
843
|
+
* Update domain DNSSEC. If your domain uses another registrar and has the default Scaleway NS, you have to **update the DS record at your registrar**.
|
|
899
844
|
*
|
|
900
845
|
* @param request - The request {@link RegistrarApiEnableDomainDNSSECRequest}
|
|
901
846
|
* @returns A Promise of Domain
|
|
@@ -930,16 +875,13 @@ class RegistrarAPI extends API$1 {
|
|
|
930
875
|
unmarshalDomain
|
|
931
876
|
);
|
|
932
877
|
/**
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
* {@link RegistrarApiSearchAvailableDomainsRequest}
|
|
941
|
-
* @returns A Promise of SearchAvailableDomainsResponse
|
|
942
|
-
*/
|
|
878
|
+
* Search available domains. Search a domain or a maximum of 10 domains that are available.
|
|
879
|
+
|
|
880
|
+
If the TLD list is empty or not set, the search returns the results from the most popular TLDs.
|
|
881
|
+
*
|
|
882
|
+
* @param request - The request {@link RegistrarApiSearchAvailableDomainsRequest}
|
|
883
|
+
* @returns A Promise of SearchAvailableDomainsResponse
|
|
884
|
+
*/
|
|
943
885
|
searchAvailableDomains = (request) => this.client.fetch(
|
|
944
886
|
{
|
|
945
887
|
method: "GET",
|
|
@@ -976,8 +918,7 @@ class RegistrarAPI extends API$1 {
|
|
|
976
918
|
*/
|
|
977
919
|
listTlds = (request = {}) => enrichForPagination("tlds", this.pageOfListTlds, request);
|
|
978
920
|
/**
|
|
979
|
-
* Create a hostname for a domain. Create a hostname for a domain with glue
|
|
980
|
-
* IPs.
|
|
921
|
+
* Create a hostname for a domain. Create a hostname for a domain with glue IPs.
|
|
981
922
|
*
|
|
982
923
|
* @param request - The request {@link RegistrarApiCreateDomainHostRequest}
|
|
983
924
|
* @returns A Promise of Host
|
|
@@ -3,10 +3,7 @@ import type { DNSZoneStatus, DomainFeatureStatus, DomainRegistrationStatusTransf
|
|
|
3
3
|
export declare const DNS_ZONE_TRANSIENT_STATUSES: DNSZoneStatus[];
|
|
4
4
|
/** Lists transient statutes of the enum {@link DomainFeatureStatus}. */
|
|
5
5
|
export declare const DOMAIN_FEATURE_TRANSIENT_STATUSES: DomainFeatureStatus[];
|
|
6
|
-
/**
|
|
7
|
-
* Lists transient statutes of the enum
|
|
8
|
-
* {@link DomainRegistrationStatusTransferStatus}.
|
|
9
|
-
*/
|
|
6
|
+
/** Lists transient statutes of the enum {@link DomainRegistrationStatusTransferStatus}. */
|
|
10
7
|
export declare const DOMAIN_REGISTRATION_STATUS_TRANSFER_TRANSIENT_STATUSES: DomainRegistrationStatusTransferStatus[];
|
|
11
8
|
/** Lists transient statutes of the enum {@link DomainStatus}. */
|
|
12
9
|
export declare const DOMAIN_TRANSIENT_STATUSES: DomainStatus[];
|