@scaleway/sdk 2.13.0 → 2.15.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/v2/marshalling.gen.js +1 -1
- package/dist/api/account/v3/marshalling.gen.js +1 -1
- package/dist/api/applesilicon/v1alpha1/marshalling.gen.js +1 -1
- package/dist/api/billing/v2beta1/api.gen.js +9 -0
- package/dist/api/cockpit/v1beta1/marshalling.gen.js +1 -1
- package/dist/api/container/v1beta1/marshalling.gen.js +1 -1
- package/dist/api/document_db/v1beta1/marshalling.gen.js +1 -1
- package/dist/api/domain/v2beta1/marshalling.gen.js +2 -0
- package/dist/api/function/v1beta1/marshalling.gen.js +1 -1
- package/dist/api/iam/v1alpha1/marshalling.gen.js +1 -1
- package/dist/api/instance/v1/marshalling.gen.js +1 -1
- package/dist/api/iot/v1/marshalling.gen.js +1 -1
- package/dist/api/jobs/v1alpha1/marshalling.gen.js +1 -1
- package/dist/api/k8s/v1/marshalling.gen.js +2 -8
- package/dist/api/lb/v1/marshalling.gen.js +1 -1
- package/dist/api/mnq/v1beta1/marshalling.gen.js +1 -1
- package/dist/api/rdb/v1/marshalling.gen.js +1 -1
- package/dist/api/redis/v1/marshalling.gen.js +1 -1
- package/dist/api/registry/v1/marshalling.gen.js +1 -1
- package/dist/api/vpc/v1/marshalling.gen.js +1 -1
- package/dist/api/vpc/v2/marshalling.gen.js +1 -1
- package/dist/api/vpcgw/v1/marshalling.gen.js +1 -1
- package/dist/api/webhosting/v1alpha1/marshalling.gen.js +1 -0
- package/dist/index.cjs +16 -12
- package/dist/index.d.ts +99 -79
- package/dist/node_modules/.pnpm/{@scaleway_random-name@4.0.2 → @scaleway_random-name@4.0.3}/node_modules/@scaleway/random-name/dist/index.js +2 -4
- package/dist/scw/constants.js +1 -1
- package/node_modules/@scaleway/random-name/CHANGELOG.md +6 -0
- package/node_modules/@scaleway/random-name/dist/index.js +2 -4
- package/node_modules/@scaleway/random-name/package.json +1 -1
- package/package.json +3 -3
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import randomName from '../../../node_modules/.pnpm/@scaleway_random-name@4.0.
|
|
1
|
+
import randomName from '../../../node_modules/.pnpm/@scaleway_random-name@4.0.3/node_modules/@scaleway/random-name/dist/index.js';
|
|
2
2
|
import { isJSONObject } from '../../../helpers/json.js';
|
|
3
3
|
import { unmarshalDate, unmarshalArrayOfObject } from '../../../helpers/marshalling.js';
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import randomName from '../../../node_modules/.pnpm/@scaleway_random-name@4.0.
|
|
1
|
+
import randomName from '../../../node_modules/.pnpm/@scaleway_random-name@4.0.3/node_modules/@scaleway/random-name/dist/index.js';
|
|
2
2
|
import { isJSONObject } from '../../../helpers/json.js';
|
|
3
3
|
import { unmarshalDate, unmarshalArrayOfObject } from '../../../helpers/marshalling.js';
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import randomName from '../../../node_modules/.pnpm/@scaleway_random-name@4.0.
|
|
1
|
+
import randomName from '../../../node_modules/.pnpm/@scaleway_random-name@4.0.3/node_modules/@scaleway/random-name/dist/index.js';
|
|
2
2
|
import { isJSONObject } from '../../../helpers/json.js';
|
|
3
3
|
import { unmarshalDate, unmarshalArrayOfObject } from '../../../helpers/marshalling.js';
|
|
4
4
|
|
|
@@ -103,6 +103,15 @@ class API extends API$1 {
|
|
|
103
103
|
path: `/billing/v2beta1/discounts`,
|
|
104
104
|
urlParams: urlParams(['order_by', request.orderBy], ['organization_id', request.organizationId], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize])
|
|
105
105
|
}, unmarshalListDiscountsResponse);
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* List discounts. List all discounts for your organization and usable
|
|
109
|
+
* categories, products, offers, references, regions and zones where the
|
|
110
|
+
* discount can be applied.
|
|
111
|
+
*
|
|
112
|
+
* @param request - The request {@link ListDiscountsRequest}
|
|
113
|
+
* @returns A Promise of ListDiscountsResponse
|
|
114
|
+
*/
|
|
106
115
|
listDiscounts = (request = {}) => enrichForPagination('discounts', this.pageOfListDiscounts, request);
|
|
107
116
|
}
|
|
108
117
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import randomName from '../../../node_modules/.pnpm/@scaleway_random-name@4.0.
|
|
1
|
+
import randomName from '../../../node_modules/.pnpm/@scaleway_random-name@4.0.3/node_modules/@scaleway/random-name/dist/index.js';
|
|
2
2
|
import { isJSONObject } from '../../../helpers/json.js';
|
|
3
3
|
import { unmarshalTimeSeries } from '../../../scw/custom-marshalling.js';
|
|
4
4
|
import { unmarshalDate, unmarshalArrayOfObject, resolveOneOf } from '../../../helpers/marshalling.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import randomName from '../../../node_modules/.pnpm/@scaleway_random-name@4.0.
|
|
1
|
+
import randomName from '../../../node_modules/.pnpm/@scaleway_random-name@4.0.3/node_modules/@scaleway/random-name/dist/index.js';
|
|
2
2
|
import { isJSONObject } from '../../../helpers/json.js';
|
|
3
3
|
import { unmarshalArrayOfObject, unmarshalDate, resolveOneOf } from '../../../helpers/marshalling.js';
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import randomName from '../../../node_modules/.pnpm/@scaleway_random-name@4.0.
|
|
1
|
+
import randomName from '../../../node_modules/.pnpm/@scaleway_random-name@4.0.3/node_modules/@scaleway/random-name/dist/index.js';
|
|
2
2
|
import { isJSONObject } from '../../../helpers/json.js';
|
|
3
3
|
import { unmarshalTimeSeries } from '../../../scw/custom-marshalling.js';
|
|
4
4
|
import { unmarshalArrayOfObject, unmarshalDate, resolveOneOf } from '../../../helpers/marshalling.js';
|
|
@@ -112,6 +112,7 @@ const unmarshalContact = data => {
|
|
|
112
112
|
questions: data.questions ? unmarshalArrayOfObject(data.questions, unmarshalContactQuestion) : undefined,
|
|
113
113
|
resale: data.resale,
|
|
114
114
|
state: data.state,
|
|
115
|
+
status: data.status,
|
|
115
116
|
vatIdentificationCode: data.vat_identification_code,
|
|
116
117
|
whoisOptIn: data.whois_opt_in,
|
|
117
118
|
zip: data.zip
|
|
@@ -657,6 +658,7 @@ const unmarshalTask = data => {
|
|
|
657
658
|
throw new TypeError(`Unmarshalling the type 'Task' failed as data isn't a dictionary.`);
|
|
658
659
|
}
|
|
659
660
|
return {
|
|
661
|
+
contactIdentifier: data.contact_identifier,
|
|
660
662
|
domain: data.domain,
|
|
661
663
|
id: data.id,
|
|
662
664
|
message: data.message,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import randomName from '../../../node_modules/.pnpm/@scaleway_random-name@4.0.
|
|
1
|
+
import randomName from '../../../node_modules/.pnpm/@scaleway_random-name@4.0.3/node_modules/@scaleway/random-name/dist/index.js';
|
|
2
2
|
import { isJSONObject } from '../../../helpers/json.js';
|
|
3
3
|
import { unmarshalArrayOfObject, unmarshalDate, resolveOneOf } from '../../../helpers/marshalling.js';
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import randomName from '../../../node_modules/.pnpm/@scaleway_random-name@4.0.
|
|
1
|
+
import randomName from '../../../node_modules/.pnpm/@scaleway_random-name@4.0.3/node_modules/@scaleway/random-name/dist/index.js';
|
|
2
2
|
import { isJSONObject } from '../../../helpers/json.js';
|
|
3
3
|
import { unmarshalDate, unmarshalArrayOfObject, resolveOneOf } from '../../../helpers/marshalling.js';
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import randomName from '../../../node_modules/.pnpm/@scaleway_random-name@4.0.
|
|
1
|
+
import randomName from '../../../node_modules/.pnpm/@scaleway_random-name@4.0.3/node_modules/@scaleway/random-name/dist/index.js';
|
|
2
2
|
import { isJSONObject } from '../../../helpers/json.js';
|
|
3
3
|
import { unmarshalArrayOfObject, unmarshalMapOfObject, resolveOneOf, unmarshalDate } from '../../../helpers/marshalling.js';
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import randomName from '../../../node_modules/.pnpm/@scaleway_random-name@4.0.
|
|
1
|
+
import randomName from '../../../node_modules/.pnpm/@scaleway_random-name@4.0.3/node_modules/@scaleway/random-name/dist/index.js';
|
|
2
2
|
import { isJSONObject } from '../../../helpers/json.js';
|
|
3
3
|
import { unmarshalTimeSeries } from '../../../scw/custom-marshalling.js';
|
|
4
4
|
import { unmarshalDate, unmarshalArrayOfObject, resolveOneOf } from '../../../helpers/marshalling.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import randomName from '../../../node_modules/.pnpm/@scaleway_random-name@4.0.
|
|
1
|
+
import randomName from '../../../node_modules/.pnpm/@scaleway_random-name@4.0.3/node_modules/@scaleway/random-name/dist/index.js';
|
|
2
2
|
import { isJSONObject } from '../../../helpers/json.js';
|
|
3
3
|
import { unmarshalDate, unmarshalArrayOfObject } from '../../../helpers/marshalling.js';
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import randomName from '../../../node_modules/.pnpm/@scaleway_random-name@4.0.
|
|
1
|
+
import randomName from '../../../node_modules/.pnpm/@scaleway_random-name@4.0.3/node_modules/@scaleway/random-name/dist/index.js';
|
|
2
2
|
import { isJSONObject } from '../../../helpers/json.js';
|
|
3
3
|
import { unmarshalDate, unmarshalArrayOfObject, resolveOneOf } from '../../../helpers/marshalling.js';
|
|
4
4
|
|
|
@@ -52,7 +52,6 @@ const unmarshalVersion = data => {
|
|
|
52
52
|
availableCnis: data.available_cnis,
|
|
53
53
|
availableContainerRuntimes: data.available_container_runtimes,
|
|
54
54
|
availableFeatureGates: data.available_feature_gates,
|
|
55
|
-
availableIngresses: data.available_ingresses ? data.available_ingresses : undefined,
|
|
56
55
|
availableKubeletArgs: data.available_kubelet_args,
|
|
57
56
|
label: data.label,
|
|
58
57
|
name: data.name,
|
|
@@ -121,12 +120,10 @@ const unmarshalCluster = data => {
|
|
|
121
120
|
cni: data.cni,
|
|
122
121
|
commitmentEndsAt: unmarshalDate(data.commitment_ends_at),
|
|
123
122
|
createdAt: unmarshalDate(data.created_at),
|
|
124
|
-
dashboardEnabled: data.dashboard_enabled,
|
|
125
123
|
description: data.description,
|
|
126
124
|
dnsWildcard: data.dns_wildcard,
|
|
127
125
|
featureGates: data.feature_gates,
|
|
128
126
|
id: data.id,
|
|
129
|
-
ingress: data.ingress ? data.ingress : undefined,
|
|
130
127
|
name: data.name,
|
|
131
128
|
openIdConnectConfig: data.open_id_connect_config ? unmarshalClusterOpenIDConnectConfig(data.open_id_connect_config) : undefined,
|
|
132
129
|
organizationId: data.organization_id,
|
|
@@ -196,6 +193,7 @@ const unmarshalClusterType = data => {
|
|
|
196
193
|
throw new TypeError(`Unmarshalling the type 'ClusterType' failed as data isn't a dictionary.`);
|
|
197
194
|
}
|
|
198
195
|
return {
|
|
196
|
+
auditLogsSupported: data.audit_logs_supported,
|
|
199
197
|
availability: data.availability,
|
|
200
198
|
commitmentDelay: data.commitment_delay,
|
|
201
199
|
dedicated: data.dedicated,
|
|
@@ -325,9 +323,7 @@ const marshalCreateClusterRequest = (request, defaults) => ({
|
|
|
325
323
|
autoscaler_config: request.autoscalerConfig !== undefined ? marshalCreateClusterRequestAutoscalerConfig(request.autoscalerConfig) : undefined,
|
|
326
324
|
cni: request.cni,
|
|
327
325
|
description: request.description,
|
|
328
|
-
enable_dashboard: request.enableDashboard,
|
|
329
326
|
feature_gates: request.featureGates,
|
|
330
|
-
ingress: request.ingress,
|
|
331
327
|
name: request.name || randomName('k8s'),
|
|
332
328
|
open_id_connect_config: request.openIdConnectConfig !== undefined ? marshalCreateClusterRequestOpenIDConnectConfig(request.openIdConnectConfig) : undefined,
|
|
333
329
|
pools: request.pools !== undefined ? request.pools.map(elt => marshalCreateClusterRequestPoolConfig(elt)) : undefined,
|
|
@@ -404,9 +400,7 @@ const marshalUpdateClusterRequest = (request, defaults) => ({
|
|
|
404
400
|
auto_upgrade: request.autoUpgrade !== undefined ? marshalUpdateClusterRequestAutoUpgrade(request.autoUpgrade) : undefined,
|
|
405
401
|
autoscaler_config: request.autoscalerConfig !== undefined ? marshalUpdateClusterRequestAutoscalerConfig(request.autoscalerConfig) : undefined,
|
|
406
402
|
description: request.description,
|
|
407
|
-
enable_dashboard: request.enableDashboard,
|
|
408
403
|
feature_gates: request.featureGates,
|
|
409
|
-
ingress: request.ingress,
|
|
410
404
|
name: request.name,
|
|
411
405
|
open_id_connect_config: request.openIdConnectConfig !== undefined ? marshalUpdateClusterRequestOpenIDConnectConfig(request.openIdConnectConfig) : undefined,
|
|
412
406
|
tags: request.tags
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import randomName from '../../../node_modules/.pnpm/@scaleway_random-name@4.0.
|
|
1
|
+
import randomName from '../../../node_modules/.pnpm/@scaleway_random-name@4.0.3/node_modules/@scaleway/random-name/dist/index.js';
|
|
2
2
|
import { isJSONObject } from '../../../helpers/json.js';
|
|
3
3
|
import { unmarshalDate, unmarshalArrayOfObject, resolveOneOf } from '../../../helpers/marshalling.js';
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import randomName from '../../../node_modules/.pnpm/@scaleway_random-name@4.0.
|
|
1
|
+
import randomName from '../../../node_modules/.pnpm/@scaleway_random-name@4.0.3/node_modules/@scaleway/random-name/dist/index.js';
|
|
2
2
|
import { isJSONObject } from '../../../helpers/json.js';
|
|
3
3
|
import { unmarshalDate, unmarshalArrayOfObject } from '../../../helpers/marshalling.js';
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import randomName from '../../../node_modules/.pnpm/@scaleway_random-name@4.0.
|
|
1
|
+
import randomName from '../../../node_modules/.pnpm/@scaleway_random-name@4.0.3/node_modules/@scaleway/random-name/dist/index.js';
|
|
2
2
|
import { isJSONObject } from '../../../helpers/json.js';
|
|
3
3
|
import { unmarshalTimeSeries } from '../../../scw/custom-marshalling.js';
|
|
4
4
|
import { unmarshalArrayOfObject, unmarshalDate, resolveOneOf } from '../../../helpers/marshalling.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import randomName from '../../../node_modules/.pnpm/@scaleway_random-name@4.0.
|
|
1
|
+
import randomName from '../../../node_modules/.pnpm/@scaleway_random-name@4.0.3/node_modules/@scaleway/random-name/dist/index.js';
|
|
2
2
|
import { isJSONObject } from '../../../helpers/json.js';
|
|
3
3
|
import { unmarshalTimeSeries } from '../../../scw/custom-marshalling.js';
|
|
4
4
|
import { unmarshalArrayOfObject, unmarshalDate, resolveOneOf } from '../../../helpers/marshalling.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import randomName from '../../../node_modules/.pnpm/@scaleway_random-name@4.0.
|
|
1
|
+
import randomName from '../../../node_modules/.pnpm/@scaleway_random-name@4.0.3/node_modules/@scaleway/random-name/dist/index.js';
|
|
2
2
|
import { isJSONObject } from '../../../helpers/json.js';
|
|
3
3
|
import { unmarshalDate, unmarshalArrayOfObject, resolveOneOf } from '../../../helpers/marshalling.js';
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import randomName from '../../../node_modules/.pnpm/@scaleway_random-name@4.0.
|
|
1
|
+
import randomName from '../../../node_modules/.pnpm/@scaleway_random-name@4.0.3/node_modules/@scaleway/random-name/dist/index.js';
|
|
2
2
|
import { isJSONObject } from '../../../helpers/json.js';
|
|
3
3
|
import { unmarshalDate, unmarshalArrayOfObject } from '../../../helpers/marshalling.js';
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import randomName from '../../../node_modules/.pnpm/@scaleway_random-name@4.0.
|
|
1
|
+
import randomName from '../../../node_modules/.pnpm/@scaleway_random-name@4.0.3/node_modules/@scaleway/random-name/dist/index.js';
|
|
2
2
|
import { isJSONObject } from '../../../helpers/json.js';
|
|
3
3
|
import { unmarshalDate, unmarshalArrayOfObject, resolveOneOf } from '../../../helpers/marshalling.js';
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import randomName from '../../../node_modules/.pnpm/@scaleway_random-name@4.0.
|
|
1
|
+
import randomName from '../../../node_modules/.pnpm/@scaleway_random-name@4.0.3/node_modules/@scaleway/random-name/dist/index.js';
|
|
2
2
|
import { isJSONObject } from '../../../helpers/json.js';
|
|
3
3
|
import { unmarshalDate, unmarshalArrayOfObject, resolveOneOf } from '../../../helpers/marshalling.js';
|
|
4
4
|
|
|
@@ -155,6 +155,7 @@ const unmarshalListOffersResponse = data => {
|
|
|
155
155
|
const marshalCreateHostingRequest = (request, defaults) => ({
|
|
156
156
|
domain: request.domain,
|
|
157
157
|
email: request.email,
|
|
158
|
+
language: request.language,
|
|
158
159
|
offer_id: request.offerId,
|
|
159
160
|
option_ids: request.optionIds,
|
|
160
161
|
project_id: request.projectId ?? defaults.defaultProjectId,
|
package/dist/index.cjs
CHANGED
|
@@ -497,7 +497,7 @@ const assertValidSettings = obj => {
|
|
|
497
497
|
}
|
|
498
498
|
};
|
|
499
499
|
|
|
500
|
-
const version = 'v2.
|
|
500
|
+
const version = 'v2.14.0';
|
|
501
501
|
const userAgent = `scaleway-sdk-js/${version}`;
|
|
502
502
|
|
|
503
503
|
const isBrowser = () =>
|
|
@@ -2023,10 +2023,8 @@ const enrichForPagination = (key, fetcher, request) => {
|
|
|
2023
2023
|
};
|
|
2024
2024
|
|
|
2025
2025
|
const ADJECTIVES = ['admiring', 'adoring', 'affectionate', 'agitated', 'amazing', 'angry', 'awesome', 'beautiful', 'blissful', 'bold', 'boring', 'brave', 'busy', 'charming', 'clever', 'cool', 'compassionate', 'competent', 'condescending', 'confident', 'cranky', 'crazy', 'dazzling', 'determined', 'distracted', 'dreamy', 'eager', 'ecstatic', 'elastic', 'elated', 'elegant', 'eloquent', 'epic', 'exciting', 'fervent', 'festive', 'flamboyant', 'focused', 'friendly', 'frosty', 'funny', 'gallant', 'gifted', 'goofy', 'gracious', 'great', 'happy', 'hardcore', 'heuristic', 'hopeful', 'hungry', 'infallible', 'inspiring', 'interesting', 'intelligent', 'jolly', 'jovial', 'keen', 'kind', 'laughing', 'loving', 'lucid', 'magical', 'mystifying', 'modest', 'musing', 'naughty', 'nervous', 'nice', 'nifty', 'nostalgic', 'objective', 'optimistic', 'peaceful', 'pedantic', 'pensive', 'practical', 'priceless', 'quirky', 'quizzical', 'recursing', 'relaxed', 'reverent', 'romantic', 'sad', 'serene', 'sharp', 'silly', 'sleepy', 'stoic', 'strange', 'stupefied', 'suspicious', 'sweet', 'tender', 'thirsty', 'trusting', 'unruffled', 'upbeat', 'vibrant', 'vigilant', 'vigorous', 'wizardly', 'wonderful', 'xenodochial', 'youthful', 'zealous', 'zen'];
|
|
2026
|
-
const NAMES = ['albattani', 'allen', 'almeida', 'antonelli', 'agnesi', 'archimedes', 'ardinghelli', 'aryabhata', 'austin', 'babbage', 'banach', 'banzai', 'bardeen', 'bartik', 'bassi', 'beaver', 'bell', 'benz', 'bhabha', 'bhaskara', 'black', 'blackburn', 'blackwell', 'bohr', 'booth', 'borg', 'bose', 'bouman', 'boyd', 'brahmagupta', 'brattain', 'brown', 'buck', 'burnell', 'cannon', 'carson', 'cartwright', 'carver', 'cerf', 'chandrasekhar', 'chaplygin', 'chatelet', 'chatterjee', 'chebyshev', 'cohen', 'chaum', 'clarke', 'colden', 'cori', 'cray', 'curran', 'curie', 'darwin', 'davinci', 'dewdney', 'dhawan', 'diffie', 'dijkstra', 'dirac', 'driscoll', 'dubinsky', 'easley', 'edison', 'einstein', 'elbakyan', 'elgamal', 'elion', 'ellis', 'engelbart', 'euclid', 'euler', 'faraday', 'feistel', 'fermat', 'fermi', 'feynman', 'franklin', 'gagarin', 'galileo', 'galois', 'ganguly', 'gates', 'gauss', 'germain', 'goldberg', 'goldstine', 'goldwasser', 'golick', 'goodall', 'gould', 'greider', 'grothendieck', 'haibt', 'hamilton', 'haslett', 'hawking', 'hellman', 'heisenberg', 'hermann', 'herschel', 'hertz', 'heyrovsky', 'hodgkin', 'hofstadter', 'hoover', 'hopper', 'hugle', 'hypatia', 'ishizaka', 'jackson', 'jang', 'jemison', 'jennings', 'jepsen', 'johnson', 'joliot', 'jones', 'kalam', 'kapitsa', 'kare', 'keldysh', 'keller', 'kepler', 'khayyam', 'khorana', 'kilby', 'kirch', 'knuth', 'kowalevski', 'lalande', 'lamarr', 'lamport', 'leakey', 'leavitt', 'lederberg', 'lehmann', 'lewin', 'lichterman', 'liskov', 'lovelace', 'lumiere', 'mahavira', 'margulis', 'matsumoto', 'maxwell', 'mayer', 'mccarthy', 'mcclintock', 'mclaren', 'mclean', 'mcnulty', 'mendel', 'mendeleev', 'meitner', 'meninsky', 'merkle', 'mestorf', 'mirzakhani', 'montalcini', 'moore', 'morse', 'murdock', 'moser', 'napier', 'nash', 'neumann', 'newton', 'nightingale', 'nobel', 'noether', 'northcutt', 'noyce', 'panini', 'pare', 'pascal', 'pasteur', 'payne', 'perlman', 'pike', 'poincare', 'poitras', 'proskuriakova', 'ptolemy', 'raman', 'ramanujan', 'ride', 'ritchie', 'rhodes', 'robinson', 'roentgen', 'rosalind', 'rubin', 'saha', 'sammet', 'sanderson', 'satoshi', 'shamir', 'shannon', 'shaw', 'shirley', 'shockley', 'shtern', 'sinoussi', 'snyder', 'solomon', 'spence', 'stonebraker', 'sutherland', 'swanson', 'swartz', 'swirles', 'taussig', 'tereshkova', 'tesla', 'tharp', 'thompson', 'torvalds', 'tu', 'turing', 'varahamihira', 'vaughan', 'visvesvaraya', 'volhard', 'villani', 'wescoff', 'wilbur', 'wiles', 'williams', 'williamson', 'wilson', 'wing', 'wozniak', 'wright', 'wu', 'yalow', 'yonath', 'zhukovsky'];
|
|
2027
|
-
const randomName =
|
|
2028
|
-
let prefix = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
|
|
2029
|
-
let separator = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '-';
|
|
2026
|
+
const NAMES = ['albattani', 'allen', 'almeida', 'antonelli', 'agnesi', 'archimedes', 'ardinghelli', 'aryabhata', 'austin', 'babbage', 'banach', 'banzai', 'bardeen', 'bartik', 'bassi', 'beaver', 'bell', 'benz', 'bhabha', 'bhaskara', 'black', 'blackburn', 'blackwell', 'bohr', 'booth', 'borg', 'bose', 'bouman', 'boyd', 'brahmagupta', 'brattain', 'brown', 'buck', 'burnell', 'cannon', 'carson', 'cartwright', 'carver', 'cerf', 'chandrasekhar', 'chaplygin', 'chatelet', 'chatterjee', 'chebyshev', 'cohen', 'chaum', 'clarke', 'colden', 'cori', 'cray', 'curran', 'curie', 'darwin', 'davinci', 'dewdney', 'dhawan', 'diffie', 'dijkstra', 'dirac', 'driscoll', 'dubinsky', 'easley', 'edison', 'einstein', 'elbakyan', 'elgamal', 'elion', 'ellis', 'engelbart', 'euclid', 'euler', 'faraday', 'feistel', 'fermat', 'fermi', 'feynman', 'franklin', 'gagarin', 'galileo', 'galois', 'ganguly', 'gates', 'gauss', 'germain', 'goldberg', 'goldstine', 'goldwasser', 'golick', 'goodall', 'gould', 'greider', 'grothendieck', 'haibt', 'hamilton', 'haslett', 'hawking', 'hellman', 'heisenberg', 'hermann', 'herschel', 'hertz', 'heyrovsky', 'hodgkin', 'hofstadter', 'hoover', 'hopper', 'hugle', 'hypatia', 'ishizaka', 'jackson', 'jang', 'jemison', 'jennings', 'jepsen', 'johnson', 'joliot', 'jones', 'kalam', 'kapitsa', 'kare', 'keldysh', 'keller', 'kepler', 'khayyam', 'khorana', 'kilby', 'kirch', 'knuth', 'kowalevski', 'lalande', 'lamarr', 'lamport', 'leakey', 'leavitt', 'lederberg', 'lehmann', 'lewin', 'lichterman', 'liskov', 'lovelace', 'lumiere', 'mahavira', 'margulis', 'matsumoto', 'maxwell', 'mayer', 'mccarthy', 'mcclintock', 'mclaren', 'mclean', 'mcnulty', 'mendel', 'mendeleev', 'meitner', 'meninsky', 'merkle', 'mestorf', 'mirzakhani', 'montalcini', 'moore', 'morse', 'murdock', 'moser', 'napier', 'nash', 'neumann', 'newton', 'niel', 'nightingale', 'nobel', 'noether', 'northcutt', 'noyce', 'panini', 'pare', 'pascal', 'pasteur', 'payne', 'perlman', 'pike', 'poincare', 'poitras', 'proskuriakova', 'ptolemy', 'raman', 'ramanujan', 'ride', 'ritchie', 'rhodes', 'robinson', 'roentgen', 'rosalind', 'rubin', 'saha', 'sammet', 'sanderson', 'satoshi', 'shamir', 'shannon', 'shaw', 'shirley', 'shockley', 'shtern', 'sinoussi', 'snyder', 'solomon', 'spence', 'stonebraker', 'sutherland', 'swanson', 'swartz', 'swirles', 'taussig', 'tereshkova', 'tesla', 'tharp', 'thompson', 'torvalds', 'tu', 'turing', 'varahamihira', 'vaughan', 'visvesvaraya', 'volhard', 'villani', 'wescoff', 'wilbur', 'wiles', 'williams', 'williamson', 'wilson', 'wing', 'wozniak', 'wright', 'wu', 'yalow', 'yonath', 'zhukovsky'];
|
|
2027
|
+
const randomName = (prefix = '', separator = '-') => {
|
|
2030
2028
|
const name = `${ADJECTIVES[Math.floor(Math.random() * ADJECTIVES.length)] ?? ''}${separator}${NAMES[Math.floor(Math.random() * NAMES.length)] ?? ''}`;
|
|
2031
2029
|
if (name === `boring${separator}wozniak`) {
|
|
2032
2030
|
return randomName(prefix, separator);
|
|
@@ -4031,6 +4029,15 @@ let API$s = class API extends API$x {
|
|
|
4031
4029
|
path: `/billing/v2beta1/discounts`,
|
|
4032
4030
|
urlParams: urlParams(['order_by', request.orderBy], ['organization_id', request.organizationId], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize])
|
|
4033
4031
|
}, unmarshalListDiscountsResponse);
|
|
4032
|
+
|
|
4033
|
+
/**
|
|
4034
|
+
* List discounts. List all discounts for your organization and usable
|
|
4035
|
+
* categories, products, offers, references, regions and zones where the
|
|
4036
|
+
* discount can be applied.
|
|
4037
|
+
*
|
|
4038
|
+
* @param request - The request {@link ListDiscountsRequest}
|
|
4039
|
+
* @returns A Promise of ListDiscountsResponse
|
|
4040
|
+
*/
|
|
4034
4041
|
listDiscounts = (request = {}) => enrichForPagination('discounts', this.pageOfListDiscounts, request);
|
|
4035
4042
|
};
|
|
4036
4043
|
|
|
@@ -7649,6 +7656,7 @@ const unmarshalContact = data => {
|
|
|
7649
7656
|
questions: data.questions ? unmarshalArrayOfObject(data.questions, unmarshalContactQuestion) : undefined,
|
|
7650
7657
|
resale: data.resale,
|
|
7651
7658
|
state: data.state,
|
|
7659
|
+
status: data.status,
|
|
7652
7660
|
vatIdentificationCode: data.vat_identification_code,
|
|
7653
7661
|
whoisOptIn: data.whois_opt_in,
|
|
7654
7662
|
zip: data.zip
|
|
@@ -8194,6 +8202,7 @@ const unmarshalTask$1 = data => {
|
|
|
8194
8202
|
throw new TypeError(`Unmarshalling the type 'Task' failed as data isn't a dictionary.`);
|
|
8195
8203
|
}
|
|
8196
8204
|
return {
|
|
8205
|
+
contactIdentifier: data.contact_identifier,
|
|
8197
8206
|
domain: data.domain,
|
|
8198
8207
|
id: data.id,
|
|
8199
8208
|
message: data.message,
|
|
@@ -16825,7 +16834,6 @@ const unmarshalVersion$2 = data => {
|
|
|
16825
16834
|
availableCnis: data.available_cnis,
|
|
16826
16835
|
availableContainerRuntimes: data.available_container_runtimes,
|
|
16827
16836
|
availableFeatureGates: data.available_feature_gates,
|
|
16828
|
-
availableIngresses: data.available_ingresses ? data.available_ingresses : undefined,
|
|
16829
16837
|
availableKubeletArgs: data.available_kubelet_args,
|
|
16830
16838
|
label: data.label,
|
|
16831
16839
|
name: data.name,
|
|
@@ -16894,12 +16902,10 @@ const unmarshalCluster$1 = data => {
|
|
|
16894
16902
|
cni: data.cni,
|
|
16895
16903
|
commitmentEndsAt: unmarshalDate(data.commitment_ends_at),
|
|
16896
16904
|
createdAt: unmarshalDate(data.created_at),
|
|
16897
|
-
dashboardEnabled: data.dashboard_enabled,
|
|
16898
16905
|
description: data.description,
|
|
16899
16906
|
dnsWildcard: data.dns_wildcard,
|
|
16900
16907
|
featureGates: data.feature_gates,
|
|
16901
16908
|
id: data.id,
|
|
16902
|
-
ingress: data.ingress ? data.ingress : undefined,
|
|
16903
16909
|
name: data.name,
|
|
16904
16910
|
openIdConnectConfig: data.open_id_connect_config ? unmarshalClusterOpenIDConnectConfig(data.open_id_connect_config) : undefined,
|
|
16905
16911
|
organizationId: data.organization_id,
|
|
@@ -16969,6 +16975,7 @@ const unmarshalClusterType = data => {
|
|
|
16969
16975
|
throw new TypeError(`Unmarshalling the type 'ClusterType' failed as data isn't a dictionary.`);
|
|
16970
16976
|
}
|
|
16971
16977
|
return {
|
|
16978
|
+
auditLogsSupported: data.audit_logs_supported,
|
|
16972
16979
|
availability: data.availability,
|
|
16973
16980
|
commitmentDelay: data.commitment_delay,
|
|
16974
16981
|
dedicated: data.dedicated,
|
|
@@ -17098,9 +17105,7 @@ const marshalCreateClusterRequest$1 = (request, defaults) => ({
|
|
|
17098
17105
|
autoscaler_config: request.autoscalerConfig !== undefined ? marshalCreateClusterRequestAutoscalerConfig(request.autoscalerConfig) : undefined,
|
|
17099
17106
|
cni: request.cni,
|
|
17100
17107
|
description: request.description,
|
|
17101
|
-
enable_dashboard: request.enableDashboard,
|
|
17102
17108
|
feature_gates: request.featureGates,
|
|
17103
|
-
ingress: request.ingress,
|
|
17104
17109
|
name: request.name || randomName('k8s'),
|
|
17105
17110
|
open_id_connect_config: request.openIdConnectConfig !== undefined ? marshalCreateClusterRequestOpenIDConnectConfig(request.openIdConnectConfig) : undefined,
|
|
17106
17111
|
pools: request.pools !== undefined ? request.pools.map(elt => marshalCreateClusterRequestPoolConfig(elt)) : undefined,
|
|
@@ -17177,9 +17182,7 @@ const marshalUpdateClusterRequest$1 = (request, defaults) => ({
|
|
|
17177
17182
|
auto_upgrade: request.autoUpgrade !== undefined ? marshalUpdateClusterRequestAutoUpgrade(request.autoUpgrade) : undefined,
|
|
17178
17183
|
autoscaler_config: request.autoscalerConfig !== undefined ? marshalUpdateClusterRequestAutoscalerConfig(request.autoscalerConfig) : undefined,
|
|
17179
17184
|
description: request.description,
|
|
17180
|
-
enable_dashboard: request.enableDashboard,
|
|
17181
17185
|
feature_gates: request.featureGates,
|
|
17182
|
-
ingress: request.ingress,
|
|
17183
17186
|
name: request.name,
|
|
17184
17187
|
open_id_connect_config: request.openIdConnectConfig !== undefined ? marshalUpdateClusterRequestOpenIDConnectConfig(request.openIdConnectConfig) : undefined,
|
|
17185
17188
|
tags: request.tags
|
|
@@ -27195,6 +27198,7 @@ const unmarshalListOffersResponse = data => {
|
|
|
27195
27198
|
const marshalCreateHostingRequest = (request, defaults) => ({
|
|
27196
27199
|
domain: request.domain,
|
|
27197
27200
|
email: request.email,
|
|
27201
|
+
language: request.language,
|
|
27198
27202
|
offer_id: request.offerId,
|
|
27199
27203
|
option_ids: request.optionIds,
|
|
27200
27204
|
project_id: request.projectId ?? defaults.defaultProjectId,
|
package/dist/index.d.ts
CHANGED
|
@@ -219,8 +219,19 @@ declare const setLogger: (logger: Readonly<Logger>) => void;
|
|
|
219
219
|
*/
|
|
220
220
|
declare const enableConsoleLogger: (logLevel?: LogLevel, prefix?: string) => void;
|
|
221
221
|
|
|
222
|
-
|
|
223
|
-
type
|
|
222
|
+
/* eslint-disable @typescript-eslint/ban-types */
|
|
223
|
+
type Region = 'fr-par' | 'nl-ams' | 'pl-waw' | (string & {})
|
|
224
|
+
|
|
225
|
+
type Zone =
|
|
226
|
+
| 'fr-par-1'
|
|
227
|
+
| 'fr-par-2'
|
|
228
|
+
| 'fr-par-3'
|
|
229
|
+
| 'nl-ams-1'
|
|
230
|
+
| 'nl-ams-2'
|
|
231
|
+
| 'nl-ams-3'
|
|
232
|
+
| 'pl-waw-1'
|
|
233
|
+
| 'pl-waw-2'
|
|
234
|
+
| (string & {})
|
|
224
235
|
|
|
225
236
|
/**
|
|
226
237
|
* Holds access key and secret key.
|
|
@@ -439,20 +450,21 @@ declare const withAdditionalInterceptors: (interceptors: NetworkInterceptors[])
|
|
|
439
450
|
|
|
440
451
|
/** Scaleway Request. */
|
|
441
452
|
type ScwRequest = {
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
}
|
|
453
|
+
method: 'GET' | 'POST' | 'PUT' | 'DELETE' | 'PATCH'
|
|
454
|
+
path: string
|
|
455
|
+
headers?: Record<string, string>
|
|
456
|
+
body?: string
|
|
457
|
+
urlParams?: URLSearchParams
|
|
458
|
+
responseType?: 'json' | 'text' | 'blob'
|
|
459
|
+
}
|
|
460
|
+
|
|
449
461
|
/**
|
|
450
462
|
* A factory to unmarshal a response.
|
|
451
463
|
*
|
|
452
464
|
* @param obj - The input object.
|
|
453
465
|
* @returns The output object
|
|
454
466
|
*/
|
|
455
|
-
type ResponseUnmarshaller<T> = (obj: unknown) => T
|
|
467
|
+
type ResponseUnmarshaller<T> = (obj: unknown) => T
|
|
456
468
|
|
|
457
469
|
type Fetcher = <T>(request: Readonly<ScwRequest>, unwrapper?: ResponseUnmarshaller<T>) => Promise<T>;
|
|
458
470
|
|
|
@@ -533,62 +545,66 @@ declare const createClient: (profile?: Profile) => Client;
|
|
|
533
545
|
* @internal
|
|
534
546
|
*/
|
|
535
547
|
interface ServiceInfo {
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
548
|
+
/** Name of the API */
|
|
549
|
+
name: string
|
|
550
|
+
/** Human readable description for the API. */
|
|
551
|
+
description: string
|
|
552
|
+
/** Version of the API. */
|
|
553
|
+
version: string
|
|
554
|
+
/** Web url where the documentation of the API can be found. */
|
|
555
|
+
documentationUrl?: string
|
|
544
556
|
}
|
|
557
|
+
|
|
545
558
|
/**
|
|
546
559
|
* Represents an amount of money with its currency type.
|
|
547
560
|
*/
|
|
548
561
|
interface Money {
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
562
|
+
/** 3-letter currency code defined in ISO 4217. */
|
|
563
|
+
currencyCode: string
|
|
564
|
+
/**
|
|
565
|
+
* Whole units of the amount.
|
|
566
|
+
*
|
|
567
|
+
* For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
|
|
568
|
+
*/
|
|
569
|
+
units: number
|
|
570
|
+
/**
|
|
571
|
+
* Number of nano (10^-9) units of the amount.
|
|
572
|
+
*
|
|
573
|
+
* The value must be between -999,999,999 and +999,999,999 inclusive.
|
|
574
|
+
* If `units` is positive, `nanos` must be positive or zero.
|
|
575
|
+
* If `units` is zero, `nanos` can be positive, zero, or negative.
|
|
576
|
+
* If `units` is negative, `nanos` must be negative or zero.
|
|
577
|
+
* For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
|
|
578
|
+
*/
|
|
579
|
+
nanos: number
|
|
567
580
|
}
|
|
581
|
+
|
|
568
582
|
/** Represents a point in a TimeSeries. */
|
|
569
583
|
interface TimeSeriesPoint {
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
584
|
+
/** Date of the point. */
|
|
585
|
+
timestamp?: Date
|
|
586
|
+
/** Value of the point. */
|
|
587
|
+
value: number
|
|
574
588
|
}
|
|
589
|
+
|
|
575
590
|
/** Represents a time series that could be used for graph purposes. */
|
|
576
591
|
interface TimeSeries {
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
592
|
+
/** Name of the metric. */
|
|
593
|
+
name: string
|
|
594
|
+
/** Points contains all the points that composed the series. */
|
|
595
|
+
points: TimeSeriesPoint[]
|
|
596
|
+
/** Metadata contains some string metadata related to a metric. */
|
|
597
|
+
metadata: Record<string, string>
|
|
583
598
|
}
|
|
599
|
+
|
|
584
600
|
/** Represents a Scaleway file. */
|
|
585
601
|
interface ScwFile {
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
602
|
+
/** Name of the file. */
|
|
603
|
+
name: string
|
|
604
|
+
/** Content-type of the file. */
|
|
605
|
+
contentType: string
|
|
606
|
+
/** Content of the file in base64. */
|
|
607
|
+
content: string
|
|
592
608
|
}
|
|
593
609
|
|
|
594
610
|
type JSON = string | number | boolean | null | JSON[] | {
|
|
@@ -3384,6 +3400,14 @@ declare class API$s extends API$x {
|
|
|
3384
3400
|
*/
|
|
3385
3401
|
downloadInvoice: (request: Readonly<DownloadInvoiceRequest>) => Promise<Blob>;
|
|
3386
3402
|
protected pageOfListDiscounts: (request?: Readonly<ListDiscountsRequest>) => Promise<ListDiscountsResponse>;
|
|
3403
|
+
/**
|
|
3404
|
+
* List discounts. List all discounts for your organization and usable
|
|
3405
|
+
* categories, products, offers, references, regions and zones where the
|
|
3406
|
+
* discount can be applied.
|
|
3407
|
+
*
|
|
3408
|
+
* @param request - The request {@link ListDiscountsRequest}
|
|
3409
|
+
* @returns A Promise of ListDiscountsResponse
|
|
3410
|
+
*/
|
|
3387
3411
|
listDiscounts: (request?: Readonly<ListDiscountsRequest>) => Promise<ListDiscountsResponse> & {
|
|
3388
3412
|
all: () => Promise<Discount[]>;
|
|
3389
3413
|
[Symbol.asyncIterator]: () => AsyncGenerator<Discount[], void, void>;
|
|
@@ -7635,6 +7659,7 @@ type ContactEmailStatus = 'email_status_unknown' | 'validated' | 'not_validated'
|
|
|
7635
7659
|
type ContactExtensionFRMode = 'mode_unknown' | 'individual' | 'company_identification_code' | 'duns' | 'local' | 'association' | 'trademark' | 'code_auth_afnic';
|
|
7636
7660
|
type ContactExtensionNLLegalForm = 'legal_form_unknown' | 'other' | 'non_dutch_eu_company' | 'non_dutch_legal_form_enterprise_subsidiary' | 'limited_company' | 'limited_company_in_formation' | 'cooperative' | 'limited_partnership' | 'sole_company' | 'european_economic_interest_group' | 'religious_entity' | 'partnership' | 'public_company' | 'mutual_benefit_company' | 'residential' | 'shipping_company' | 'foundation' | 'association' | 'trading_partnership' | 'natural_person';
|
|
7637
7661
|
type ContactLegalForm = 'legal_form_unknown' | 'individual' | 'corporate' | 'association' | 'other';
|
|
7662
|
+
type ContactStatus = 'status_unknown' | 'active' | 'pending';
|
|
7638
7663
|
type DNSZoneStatus = 'unknown' | 'active' | 'pending' | 'error' | 'locked';
|
|
7639
7664
|
type DSRecordAlgorithm = 'rsamd5' | 'dh' | 'dsa' | 'rsasha1' | 'dsa_nsec3_sha1' | 'rsasha1_nsec3_sha1' | 'rsasha256' | 'rsasha512' | 'ecc_gost' | 'ecdsap256sha256' | 'ecdsap384sha384' | 'ed25519' | 'ed448';
|
|
7640
7665
|
type DSRecordDigestType = 'sha_1' | 'sha_256' | 'gost_r_34_11_94' | 'sha_384';
|
|
@@ -7849,6 +7874,7 @@ interface Contact {
|
|
|
7849
7874
|
emailStatus: ContactEmailStatus;
|
|
7850
7875
|
state: string;
|
|
7851
7876
|
extensionNl?: ContactExtensionNL;
|
|
7877
|
+
status: ContactStatus;
|
|
7852
7878
|
}
|
|
7853
7879
|
interface ContactRolesRoles {
|
|
7854
7880
|
isOwner: boolean;
|
|
@@ -8015,15 +8041,26 @@ interface SSLCertificate {
|
|
|
8015
8041
|
expiredAt?: Date;
|
|
8016
8042
|
}
|
|
8017
8043
|
interface Task$1 {
|
|
8044
|
+
/** The unique identifier of the task. */
|
|
8018
8045
|
id: string;
|
|
8046
|
+
/** The project ID associated to the task. */
|
|
8019
8047
|
projectId: string;
|
|
8048
|
+
/** The organization ID associated to the task. */
|
|
8020
8049
|
organizationId: string;
|
|
8050
|
+
/** The domain name associated to the task. */
|
|
8021
8051
|
domain?: string;
|
|
8052
|
+
/** The type of the task. */
|
|
8022
8053
|
type: TaskType;
|
|
8054
|
+
/** The status of the task. */
|
|
8023
8055
|
status: TaskStatus$1;
|
|
8056
|
+
/** Start date of the task. */
|
|
8024
8057
|
startedAt?: Date;
|
|
8058
|
+
/** Last update of the task. */
|
|
8025
8059
|
updatedAt?: Date;
|
|
8060
|
+
/** Error message associated to the task. */
|
|
8026
8061
|
message?: string;
|
|
8062
|
+
/** Human-friendly contact identifier used when the task concerns a contact. */
|
|
8063
|
+
contactIdentifier?: string;
|
|
8027
8064
|
}
|
|
8028
8065
|
interface TransferInDomainRequestTransferRequest {
|
|
8029
8066
|
domain: string;
|
|
@@ -9228,6 +9265,7 @@ type index_gen$m_ContactLegalForm = ContactLegalForm;
|
|
|
9228
9265
|
type index_gen$m_ContactQuestion = ContactQuestion;
|
|
9229
9266
|
type index_gen$m_ContactRoles = ContactRoles;
|
|
9230
9267
|
type index_gen$m_ContactRolesRoles = ContactRolesRoles;
|
|
9268
|
+
type index_gen$m_ContactStatus = ContactStatus;
|
|
9231
9269
|
type index_gen$m_CreateDNSZoneRequest = CreateDNSZoneRequest;
|
|
9232
9270
|
type index_gen$m_CreateSSLCertificateRequest = CreateSSLCertificateRequest;
|
|
9233
9271
|
type index_gen$m_DNSZone = DNSZone;
|
|
@@ -9366,7 +9404,7 @@ type index_gen$m_UpdateDNSZoneRecordsRequest = UpdateDNSZoneRecordsRequest;
|
|
|
9366
9404
|
type index_gen$m_UpdateDNSZoneRecordsResponse = UpdateDNSZoneRecordsResponse;
|
|
9367
9405
|
type index_gen$m_UpdateDNSZoneRequest = UpdateDNSZoneRequest;
|
|
9368
9406
|
declare namespace index_gen$m {
|
|
9369
|
-
export { API$n as API, type index_gen$m_AvailableDomain as AvailableDomain, type index_gen$m_CheckContactsCompatibilityResponse as CheckContactsCompatibilityResponse, type index_gen$m_CheckContactsCompatibilityResponseContactCheckResult as CheckContactsCompatibilityResponseContactCheckResult, type index_gen$m_ClearDNSZoneRecordsRequest as ClearDNSZoneRecordsRequest, type index_gen$m_ClearDNSZoneRecordsResponse as ClearDNSZoneRecordsResponse, type index_gen$m_CloneDNSZoneRequest as CloneDNSZoneRequest, type index_gen$m_Contact as Contact, type index_gen$m_ContactEmailStatus as ContactEmailStatus, type index_gen$m_ContactExtensionEU as ContactExtensionEU, type index_gen$m_ContactExtensionFR as ContactExtensionFR, type index_gen$m_ContactExtensionFRAssociationInfo as ContactExtensionFRAssociationInfo, type index_gen$m_ContactExtensionFRCodeAuthAfnicInfo as ContactExtensionFRCodeAuthAfnicInfo, type index_gen$m_ContactExtensionFRDunsInfo as ContactExtensionFRDunsInfo, type index_gen$m_ContactExtensionFRIndividualInfo as ContactExtensionFRIndividualInfo, type index_gen$m_ContactExtensionFRMode as ContactExtensionFRMode, type index_gen$m_ContactExtensionFRTrademarkInfo as ContactExtensionFRTrademarkInfo, type index_gen$m_ContactExtensionNL as ContactExtensionNL, type index_gen$m_ContactExtensionNLLegalForm as ContactExtensionNLLegalForm, type index_gen$m_ContactLegalForm as ContactLegalForm, type index_gen$m_ContactQuestion as ContactQuestion, type index_gen$m_ContactRoles as ContactRoles, type index_gen$m_ContactRolesRoles as ContactRolesRoles, type index_gen$m_CreateDNSZoneRequest as CreateDNSZoneRequest, type index_gen$m_CreateSSLCertificateRequest as CreateSSLCertificateRequest, type index_gen$m_DNSZone as DNSZone, type index_gen$m_DNSZoneStatus as DNSZoneStatus, type index_gen$m_DNSZoneVersion as DNSZoneVersion, index_gen$m_DNS_ZONE_TRANSIENT_STATUSES as DNS_ZONE_TRANSIENT_STATUSES, index_gen$m_DOMAIN_FEATURE_TRANSIENT_STATUSES as DOMAIN_FEATURE_TRANSIENT_STATUSES, index_gen$m_DOMAIN_REGISTRATION_STATUS_TRANSFER_TRANSIENT_STATUSES as DOMAIN_REGISTRATION_STATUS_TRANSFER_TRANSIENT_STATUSES, DOMAIN_TRANSIENT_STATUSES$2 as DOMAIN_TRANSIENT_STATUSES, type index_gen$m_DSRecord as DSRecord, type index_gen$m_DSRecordAlgorithm as DSRecordAlgorithm, type index_gen$m_DSRecordDigest as DSRecordDigest, type index_gen$m_DSRecordDigestType as DSRecordDigestType, type index_gen$m_DSRecordPublicKey as DSRecordPublicKey, type index_gen$m_DeleteDNSZoneRequest as DeleteDNSZoneRequest, type index_gen$m_DeleteDNSZoneResponse as DeleteDNSZoneResponse, type index_gen$m_DeleteDNSZoneTsigKeyRequest as DeleteDNSZoneTsigKeyRequest, type index_gen$m_DeleteExternalDomainResponse as DeleteExternalDomainResponse, type index_gen$m_DeleteSSLCertificateRequest as DeleteSSLCertificateRequest, type index_gen$m_DeleteSSLCertificateResponse as DeleteSSLCertificateResponse, type Domain$2 as Domain, type index_gen$m_DomainDNSSEC as DomainDNSSEC, type index_gen$m_DomainFeatureStatus as DomainFeatureStatus, type index_gen$m_DomainRecord as DomainRecord, type index_gen$m_DomainRecordGeoIPConfig as DomainRecordGeoIPConfig, type index_gen$m_DomainRecordGeoIPConfigMatch as DomainRecordGeoIPConfigMatch, type index_gen$m_DomainRecordHTTPServiceConfig as DomainRecordHTTPServiceConfig, type index_gen$m_DomainRecordHTTPServiceConfigStrategy as DomainRecordHTTPServiceConfigStrategy, type index_gen$m_DomainRecordType as DomainRecordType, type index_gen$m_DomainRecordViewConfig as DomainRecordViewConfig, type index_gen$m_DomainRecordViewConfigView as DomainRecordViewConfigView, type index_gen$m_DomainRecordWeightedConfig as DomainRecordWeightedConfig, type index_gen$m_DomainRecordWeightedConfigWeightedIP as DomainRecordWeightedConfigWeightedIP, type index_gen$m_DomainRegistrationStatusExternalDomain as DomainRegistrationStatusExternalDomain, type index_gen$m_DomainRegistrationStatusTransfer as DomainRegistrationStatusTransfer, type index_gen$m_DomainRegistrationStatusTransferStatus as DomainRegistrationStatusTransferStatus, type DomainStatus$2 as DomainStatus, type index_gen$m_DomainSummary as DomainSummary, type index_gen$m_ExportRawDNSZoneRequest as ExportRawDNSZoneRequest, type index_gen$m_GetDNSZoneTsigKeyRequest as GetDNSZoneTsigKeyRequest, type index_gen$m_GetDNSZoneTsigKeyResponse as GetDNSZoneTsigKeyResponse, type index_gen$m_GetDNSZoneVersionDiffRequest as GetDNSZoneVersionDiffRequest, type index_gen$m_GetDNSZoneVersionDiffResponse as GetDNSZoneVersionDiffResponse, type index_gen$m_GetDomainAuthCodeResponse as GetDomainAuthCodeResponse, type index_gen$m_GetSSLCertificateRequest as GetSSLCertificateRequest, index_gen$m_HOST_TRANSIENT_STATUSES as HOST_TRANSIENT_STATUSES, type index_gen$m_Host as Host, type index_gen$m_HostStatus as HostStatus, type index_gen$m_ImportProviderDNSZoneRequest as ImportProviderDNSZoneRequest, type index_gen$m_ImportProviderDNSZoneRequestOnlineV1 as ImportProviderDNSZoneRequestOnlineV1, type index_gen$m_ImportProviderDNSZoneResponse as ImportProviderDNSZoneResponse, type index_gen$m_ImportRawDNSZoneRequest as ImportRawDNSZoneRequest, type index_gen$m_ImportRawDNSZoneRequestAXFRSource as ImportRawDNSZoneRequestAXFRSource, type index_gen$m_ImportRawDNSZoneRequestBindSource as ImportRawDNSZoneRequestBindSource, type index_gen$m_ImportRawDNSZoneRequestTsigKey as ImportRawDNSZoneRequestTsigKey, type index_gen$m_ImportRawDNSZoneResponse as ImportRawDNSZoneResponse, type index_gen$m_LinkedProduct as LinkedProduct, type index_gen$m_ListContactsRequestRole as ListContactsRequestRole, type index_gen$m_ListContactsResponse as ListContactsResponse, type index_gen$m_ListDNSZoneNameserversRequest as ListDNSZoneNameserversRequest, type index_gen$m_ListDNSZoneNameserversResponse as ListDNSZoneNameserversResponse, type index_gen$m_ListDNSZoneRecordsRequest as ListDNSZoneRecordsRequest, type index_gen$m_ListDNSZoneRecordsRequestOrderBy as ListDNSZoneRecordsRequestOrderBy, type index_gen$m_ListDNSZoneRecordsResponse as ListDNSZoneRecordsResponse, type index_gen$m_ListDNSZoneVersionRecordsRequest as ListDNSZoneVersionRecordsRequest, type index_gen$m_ListDNSZoneVersionRecordsResponse as ListDNSZoneVersionRecordsResponse, type index_gen$m_ListDNSZoneVersionsRequest as ListDNSZoneVersionsRequest, type index_gen$m_ListDNSZoneVersionsResponse as ListDNSZoneVersionsResponse, type index_gen$m_ListDNSZonesRequest as ListDNSZonesRequest, type index_gen$m_ListDNSZonesRequestOrderBy as ListDNSZonesRequestOrderBy, type index_gen$m_ListDNSZonesResponse as ListDNSZonesResponse, type index_gen$m_ListDomainHostsResponse as ListDomainHostsResponse, type ListDomainsRequestOrderBy$1 as ListDomainsRequestOrderBy, type ListDomainsResponse$2 as ListDomainsResponse, type index_gen$m_ListRenewableDomainsRequestOrderBy as ListRenewableDomainsRequestOrderBy, type index_gen$m_ListRenewableDomainsResponse as ListRenewableDomainsResponse, type index_gen$m_ListSSLCertificatesRequest as ListSSLCertificatesRequest, type index_gen$m_ListSSLCertificatesResponse as ListSSLCertificatesResponse, type index_gen$m_ListTasksRequestOrderBy as ListTasksRequestOrderBy, type index_gen$m_ListTasksResponse as ListTasksResponse, type index_gen$m_ListTldsRequestOrderBy as ListTldsRequestOrderBy, type index_gen$m_ListTldsResponse as ListTldsResponse, type Nameserver$1 as Nameserver, type index_gen$m_NewContact as NewContact, type index_gen$m_OrderResponse as OrderResponse, type index_gen$m_RawFormat as RawFormat, type index_gen$m_RecordChange as RecordChange, type index_gen$m_RecordChangeAdd as RecordChangeAdd, type index_gen$m_RecordChangeClear as RecordChangeClear, type index_gen$m_RecordChangeDelete as RecordChangeDelete, type index_gen$m_RecordChangeSet as RecordChangeSet, type index_gen$m_RecordIdentifier as RecordIdentifier, type index_gen$m_RefreshDNSZoneRequest as RefreshDNSZoneRequest, type index_gen$m_RefreshDNSZoneResponse as RefreshDNSZoneResponse, type index_gen$m_RegisterExternalDomainResponse as RegisterExternalDomainResponse, index_gen$m_RegistrarAPI as RegistrarAPI, type index_gen$m_RegistrarApiBuyDomainsRequest as RegistrarApiBuyDomainsRequest, type index_gen$m_RegistrarApiCheckContactsCompatibilityRequest as RegistrarApiCheckContactsCompatibilityRequest, type index_gen$m_RegistrarApiCreateDomainHostRequest as RegistrarApiCreateDomainHostRequest, type index_gen$m_RegistrarApiDeleteDomainHostRequest as RegistrarApiDeleteDomainHostRequest, type index_gen$m_RegistrarApiDeleteExternalDomainRequest as RegistrarApiDeleteExternalDomainRequest, type index_gen$m_RegistrarApiDisableDomainAutoRenewRequest as RegistrarApiDisableDomainAutoRenewRequest, type index_gen$m_RegistrarApiDisableDomainDNSSECRequest as RegistrarApiDisableDomainDNSSECRequest, type index_gen$m_RegistrarApiEnableDomainAutoRenewRequest as RegistrarApiEnableDomainAutoRenewRequest, type index_gen$m_RegistrarApiEnableDomainDNSSECRequest as RegistrarApiEnableDomainDNSSECRequest, type index_gen$m_RegistrarApiGetContactRequest as RegistrarApiGetContactRequest, type index_gen$m_RegistrarApiGetDomainAuthCodeRequest as RegistrarApiGetDomainAuthCodeRequest, type index_gen$m_RegistrarApiGetDomainRequest as RegistrarApiGetDomainRequest, type index_gen$m_RegistrarApiListContactsRequest as RegistrarApiListContactsRequest, type index_gen$m_RegistrarApiListDomainHostsRequest as RegistrarApiListDomainHostsRequest, type index_gen$m_RegistrarApiListDomainsRequest as RegistrarApiListDomainsRequest, type index_gen$m_RegistrarApiListRenewableDomainsRequest as RegistrarApiListRenewableDomainsRequest, type index_gen$m_RegistrarApiListTasksRequest as RegistrarApiListTasksRequest, type index_gen$m_RegistrarApiListTldsRequest as RegistrarApiListTldsRequest, type index_gen$m_RegistrarApiLockDomainTransferRequest as RegistrarApiLockDomainTransferRequest, type index_gen$m_RegistrarApiRegisterExternalDomainRequest as RegistrarApiRegisterExternalDomainRequest, type index_gen$m_RegistrarApiRenewDomainsRequest as RegistrarApiRenewDomainsRequest, type index_gen$m_RegistrarApiSearchAvailableDomainsRequest as RegistrarApiSearchAvailableDomainsRequest, type index_gen$m_RegistrarApiTradeDomainRequest as RegistrarApiTradeDomainRequest, type index_gen$m_RegistrarApiTransferInDomainRequest as RegistrarApiTransferInDomainRequest, type index_gen$m_RegistrarApiUnlockDomainTransferRequest as RegistrarApiUnlockDomainTransferRequest, type index_gen$m_RegistrarApiUpdateContactRequest as RegistrarApiUpdateContactRequest, type index_gen$m_RegistrarApiUpdateDomainHostRequest as RegistrarApiUpdateDomainHostRequest, type index_gen$m_RegistrarApiUpdateDomainRequest as RegistrarApiUpdateDomainRequest, type index_gen$m_RenewableDomain as RenewableDomain, type index_gen$m_RenewableDomainStatus as RenewableDomainStatus, type index_gen$m_RestoreDNSZoneVersionRequest as RestoreDNSZoneVersionRequest, type index_gen$m_RestoreDNSZoneVersionResponse as RestoreDNSZoneVersionResponse, type index_gen$m_SSLCertificate as SSLCertificate, type index_gen$m_SSLCertificateStatus as SSLCertificateStatus, index_gen$m_SSL_CERTIFICATE_TRANSIENT_STATUSES as SSL_CERTIFICATE_TRANSIENT_STATUSES, type index_gen$m_SearchAvailableDomainsResponse as SearchAvailableDomainsResponse, TASK_TRANSIENT_STATUSES$1 as TASK_TRANSIENT_STATUSES, type Task$1 as Task, type TaskStatus$1 as TaskStatus, type index_gen$m_TaskType as TaskType, type index_gen$m_Tld as Tld, type index_gen$m_TldOffer as TldOffer, type index_gen$m_TransferInDomainRequestTransferRequest as TransferInDomainRequestTransferRequest, type index_gen$m_UpdateContactRequestQuestion as UpdateContactRequestQuestion, type index_gen$m_UpdateDNSZoneNameserversRequest as UpdateDNSZoneNameserversRequest, type index_gen$m_UpdateDNSZoneNameserversResponse as UpdateDNSZoneNameserversResponse, type index_gen$m_UpdateDNSZoneRecordsRequest as UpdateDNSZoneRecordsRequest, type index_gen$m_UpdateDNSZoneRecordsResponse as UpdateDNSZoneRecordsResponse, type index_gen$m_UpdateDNSZoneRequest as UpdateDNSZoneRequest };
|
|
9407
|
+
export { API$n as API, type index_gen$m_AvailableDomain as AvailableDomain, type index_gen$m_CheckContactsCompatibilityResponse as CheckContactsCompatibilityResponse, type index_gen$m_CheckContactsCompatibilityResponseContactCheckResult as CheckContactsCompatibilityResponseContactCheckResult, type index_gen$m_ClearDNSZoneRecordsRequest as ClearDNSZoneRecordsRequest, type index_gen$m_ClearDNSZoneRecordsResponse as ClearDNSZoneRecordsResponse, type index_gen$m_CloneDNSZoneRequest as CloneDNSZoneRequest, type index_gen$m_Contact as Contact, type index_gen$m_ContactEmailStatus as ContactEmailStatus, type index_gen$m_ContactExtensionEU as ContactExtensionEU, type index_gen$m_ContactExtensionFR as ContactExtensionFR, type index_gen$m_ContactExtensionFRAssociationInfo as ContactExtensionFRAssociationInfo, type index_gen$m_ContactExtensionFRCodeAuthAfnicInfo as ContactExtensionFRCodeAuthAfnicInfo, type index_gen$m_ContactExtensionFRDunsInfo as ContactExtensionFRDunsInfo, type index_gen$m_ContactExtensionFRIndividualInfo as ContactExtensionFRIndividualInfo, type index_gen$m_ContactExtensionFRMode as ContactExtensionFRMode, type index_gen$m_ContactExtensionFRTrademarkInfo as ContactExtensionFRTrademarkInfo, type index_gen$m_ContactExtensionNL as ContactExtensionNL, type index_gen$m_ContactExtensionNLLegalForm as ContactExtensionNLLegalForm, type index_gen$m_ContactLegalForm as ContactLegalForm, type index_gen$m_ContactQuestion as ContactQuestion, type index_gen$m_ContactRoles as ContactRoles, type index_gen$m_ContactRolesRoles as ContactRolesRoles, type index_gen$m_ContactStatus as ContactStatus, type index_gen$m_CreateDNSZoneRequest as CreateDNSZoneRequest, type index_gen$m_CreateSSLCertificateRequest as CreateSSLCertificateRequest, type index_gen$m_DNSZone as DNSZone, type index_gen$m_DNSZoneStatus as DNSZoneStatus, type index_gen$m_DNSZoneVersion as DNSZoneVersion, index_gen$m_DNS_ZONE_TRANSIENT_STATUSES as DNS_ZONE_TRANSIENT_STATUSES, index_gen$m_DOMAIN_FEATURE_TRANSIENT_STATUSES as DOMAIN_FEATURE_TRANSIENT_STATUSES, index_gen$m_DOMAIN_REGISTRATION_STATUS_TRANSFER_TRANSIENT_STATUSES as DOMAIN_REGISTRATION_STATUS_TRANSFER_TRANSIENT_STATUSES, DOMAIN_TRANSIENT_STATUSES$2 as DOMAIN_TRANSIENT_STATUSES, type index_gen$m_DSRecord as DSRecord, type index_gen$m_DSRecordAlgorithm as DSRecordAlgorithm, type index_gen$m_DSRecordDigest as DSRecordDigest, type index_gen$m_DSRecordDigestType as DSRecordDigestType, type index_gen$m_DSRecordPublicKey as DSRecordPublicKey, type index_gen$m_DeleteDNSZoneRequest as DeleteDNSZoneRequest, type index_gen$m_DeleteDNSZoneResponse as DeleteDNSZoneResponse, type index_gen$m_DeleteDNSZoneTsigKeyRequest as DeleteDNSZoneTsigKeyRequest, type index_gen$m_DeleteExternalDomainResponse as DeleteExternalDomainResponse, type index_gen$m_DeleteSSLCertificateRequest as DeleteSSLCertificateRequest, type index_gen$m_DeleteSSLCertificateResponse as DeleteSSLCertificateResponse, type Domain$2 as Domain, type index_gen$m_DomainDNSSEC as DomainDNSSEC, type index_gen$m_DomainFeatureStatus as DomainFeatureStatus, type index_gen$m_DomainRecord as DomainRecord, type index_gen$m_DomainRecordGeoIPConfig as DomainRecordGeoIPConfig, type index_gen$m_DomainRecordGeoIPConfigMatch as DomainRecordGeoIPConfigMatch, type index_gen$m_DomainRecordHTTPServiceConfig as DomainRecordHTTPServiceConfig, type index_gen$m_DomainRecordHTTPServiceConfigStrategy as DomainRecordHTTPServiceConfigStrategy, type index_gen$m_DomainRecordType as DomainRecordType, type index_gen$m_DomainRecordViewConfig as DomainRecordViewConfig, type index_gen$m_DomainRecordViewConfigView as DomainRecordViewConfigView, type index_gen$m_DomainRecordWeightedConfig as DomainRecordWeightedConfig, type index_gen$m_DomainRecordWeightedConfigWeightedIP as DomainRecordWeightedConfigWeightedIP, type index_gen$m_DomainRegistrationStatusExternalDomain as DomainRegistrationStatusExternalDomain, type index_gen$m_DomainRegistrationStatusTransfer as DomainRegistrationStatusTransfer, type index_gen$m_DomainRegistrationStatusTransferStatus as DomainRegistrationStatusTransferStatus, type DomainStatus$2 as DomainStatus, type index_gen$m_DomainSummary as DomainSummary, type index_gen$m_ExportRawDNSZoneRequest as ExportRawDNSZoneRequest, type index_gen$m_GetDNSZoneTsigKeyRequest as GetDNSZoneTsigKeyRequest, type index_gen$m_GetDNSZoneTsigKeyResponse as GetDNSZoneTsigKeyResponse, type index_gen$m_GetDNSZoneVersionDiffRequest as GetDNSZoneVersionDiffRequest, type index_gen$m_GetDNSZoneVersionDiffResponse as GetDNSZoneVersionDiffResponse, type index_gen$m_GetDomainAuthCodeResponse as GetDomainAuthCodeResponse, type index_gen$m_GetSSLCertificateRequest as GetSSLCertificateRequest, index_gen$m_HOST_TRANSIENT_STATUSES as HOST_TRANSIENT_STATUSES, type index_gen$m_Host as Host, type index_gen$m_HostStatus as HostStatus, type index_gen$m_ImportProviderDNSZoneRequest as ImportProviderDNSZoneRequest, type index_gen$m_ImportProviderDNSZoneRequestOnlineV1 as ImportProviderDNSZoneRequestOnlineV1, type index_gen$m_ImportProviderDNSZoneResponse as ImportProviderDNSZoneResponse, type index_gen$m_ImportRawDNSZoneRequest as ImportRawDNSZoneRequest, type index_gen$m_ImportRawDNSZoneRequestAXFRSource as ImportRawDNSZoneRequestAXFRSource, type index_gen$m_ImportRawDNSZoneRequestBindSource as ImportRawDNSZoneRequestBindSource, type index_gen$m_ImportRawDNSZoneRequestTsigKey as ImportRawDNSZoneRequestTsigKey, type index_gen$m_ImportRawDNSZoneResponse as ImportRawDNSZoneResponse, type index_gen$m_LinkedProduct as LinkedProduct, type index_gen$m_ListContactsRequestRole as ListContactsRequestRole, type index_gen$m_ListContactsResponse as ListContactsResponse, type index_gen$m_ListDNSZoneNameserversRequest as ListDNSZoneNameserversRequest, type index_gen$m_ListDNSZoneNameserversResponse as ListDNSZoneNameserversResponse, type index_gen$m_ListDNSZoneRecordsRequest as ListDNSZoneRecordsRequest, type index_gen$m_ListDNSZoneRecordsRequestOrderBy as ListDNSZoneRecordsRequestOrderBy, type index_gen$m_ListDNSZoneRecordsResponse as ListDNSZoneRecordsResponse, type index_gen$m_ListDNSZoneVersionRecordsRequest as ListDNSZoneVersionRecordsRequest, type index_gen$m_ListDNSZoneVersionRecordsResponse as ListDNSZoneVersionRecordsResponse, type index_gen$m_ListDNSZoneVersionsRequest as ListDNSZoneVersionsRequest, type index_gen$m_ListDNSZoneVersionsResponse as ListDNSZoneVersionsResponse, type index_gen$m_ListDNSZonesRequest as ListDNSZonesRequest, type index_gen$m_ListDNSZonesRequestOrderBy as ListDNSZonesRequestOrderBy, type index_gen$m_ListDNSZonesResponse as ListDNSZonesResponse, type index_gen$m_ListDomainHostsResponse as ListDomainHostsResponse, type ListDomainsRequestOrderBy$1 as ListDomainsRequestOrderBy, type ListDomainsResponse$2 as ListDomainsResponse, type index_gen$m_ListRenewableDomainsRequestOrderBy as ListRenewableDomainsRequestOrderBy, type index_gen$m_ListRenewableDomainsResponse as ListRenewableDomainsResponse, type index_gen$m_ListSSLCertificatesRequest as ListSSLCertificatesRequest, type index_gen$m_ListSSLCertificatesResponse as ListSSLCertificatesResponse, type index_gen$m_ListTasksRequestOrderBy as ListTasksRequestOrderBy, type index_gen$m_ListTasksResponse as ListTasksResponse, type index_gen$m_ListTldsRequestOrderBy as ListTldsRequestOrderBy, type index_gen$m_ListTldsResponse as ListTldsResponse, type Nameserver$1 as Nameserver, type index_gen$m_NewContact as NewContact, type index_gen$m_OrderResponse as OrderResponse, type index_gen$m_RawFormat as RawFormat, type index_gen$m_RecordChange as RecordChange, type index_gen$m_RecordChangeAdd as RecordChangeAdd, type index_gen$m_RecordChangeClear as RecordChangeClear, type index_gen$m_RecordChangeDelete as RecordChangeDelete, type index_gen$m_RecordChangeSet as RecordChangeSet, type index_gen$m_RecordIdentifier as RecordIdentifier, type index_gen$m_RefreshDNSZoneRequest as RefreshDNSZoneRequest, type index_gen$m_RefreshDNSZoneResponse as RefreshDNSZoneResponse, type index_gen$m_RegisterExternalDomainResponse as RegisterExternalDomainResponse, index_gen$m_RegistrarAPI as RegistrarAPI, type index_gen$m_RegistrarApiBuyDomainsRequest as RegistrarApiBuyDomainsRequest, type index_gen$m_RegistrarApiCheckContactsCompatibilityRequest as RegistrarApiCheckContactsCompatibilityRequest, type index_gen$m_RegistrarApiCreateDomainHostRequest as RegistrarApiCreateDomainHostRequest, type index_gen$m_RegistrarApiDeleteDomainHostRequest as RegistrarApiDeleteDomainHostRequest, type index_gen$m_RegistrarApiDeleteExternalDomainRequest as RegistrarApiDeleteExternalDomainRequest, type index_gen$m_RegistrarApiDisableDomainAutoRenewRequest as RegistrarApiDisableDomainAutoRenewRequest, type index_gen$m_RegistrarApiDisableDomainDNSSECRequest as RegistrarApiDisableDomainDNSSECRequest, type index_gen$m_RegistrarApiEnableDomainAutoRenewRequest as RegistrarApiEnableDomainAutoRenewRequest, type index_gen$m_RegistrarApiEnableDomainDNSSECRequest as RegistrarApiEnableDomainDNSSECRequest, type index_gen$m_RegistrarApiGetContactRequest as RegistrarApiGetContactRequest, type index_gen$m_RegistrarApiGetDomainAuthCodeRequest as RegistrarApiGetDomainAuthCodeRequest, type index_gen$m_RegistrarApiGetDomainRequest as RegistrarApiGetDomainRequest, type index_gen$m_RegistrarApiListContactsRequest as RegistrarApiListContactsRequest, type index_gen$m_RegistrarApiListDomainHostsRequest as RegistrarApiListDomainHostsRequest, type index_gen$m_RegistrarApiListDomainsRequest as RegistrarApiListDomainsRequest, type index_gen$m_RegistrarApiListRenewableDomainsRequest as RegistrarApiListRenewableDomainsRequest, type index_gen$m_RegistrarApiListTasksRequest as RegistrarApiListTasksRequest, type index_gen$m_RegistrarApiListTldsRequest as RegistrarApiListTldsRequest, type index_gen$m_RegistrarApiLockDomainTransferRequest as RegistrarApiLockDomainTransferRequest, type index_gen$m_RegistrarApiRegisterExternalDomainRequest as RegistrarApiRegisterExternalDomainRequest, type index_gen$m_RegistrarApiRenewDomainsRequest as RegistrarApiRenewDomainsRequest, type index_gen$m_RegistrarApiSearchAvailableDomainsRequest as RegistrarApiSearchAvailableDomainsRequest, type index_gen$m_RegistrarApiTradeDomainRequest as RegistrarApiTradeDomainRequest, type index_gen$m_RegistrarApiTransferInDomainRequest as RegistrarApiTransferInDomainRequest, type index_gen$m_RegistrarApiUnlockDomainTransferRequest as RegistrarApiUnlockDomainTransferRequest, type index_gen$m_RegistrarApiUpdateContactRequest as RegistrarApiUpdateContactRequest, type index_gen$m_RegistrarApiUpdateDomainHostRequest as RegistrarApiUpdateDomainHostRequest, type index_gen$m_RegistrarApiUpdateDomainRequest as RegistrarApiUpdateDomainRequest, type index_gen$m_RenewableDomain as RenewableDomain, type index_gen$m_RenewableDomainStatus as RenewableDomainStatus, type index_gen$m_RestoreDNSZoneVersionRequest as RestoreDNSZoneVersionRequest, type index_gen$m_RestoreDNSZoneVersionResponse as RestoreDNSZoneVersionResponse, type index_gen$m_SSLCertificate as SSLCertificate, type index_gen$m_SSLCertificateStatus as SSLCertificateStatus, index_gen$m_SSL_CERTIFICATE_TRANSIENT_STATUSES as SSL_CERTIFICATE_TRANSIENT_STATUSES, type index_gen$m_SearchAvailableDomainsResponse as SearchAvailableDomainsResponse, TASK_TRANSIENT_STATUSES$1 as TASK_TRANSIENT_STATUSES, type Task$1 as Task, type TaskStatus$1 as TaskStatus, type index_gen$m_TaskType as TaskType, type index_gen$m_Tld as Tld, type index_gen$m_TldOffer as TldOffer, type index_gen$m_TransferInDomainRequestTransferRequest as TransferInDomainRequestTransferRequest, type index_gen$m_UpdateContactRequestQuestion as UpdateContactRequestQuestion, type index_gen$m_UpdateDNSZoneNameserversRequest as UpdateDNSZoneNameserversRequest, type index_gen$m_UpdateDNSZoneNameserversResponse as UpdateDNSZoneNameserversResponse, type index_gen$m_UpdateDNSZoneRecordsRequest as UpdateDNSZoneRecordsRequest, type index_gen$m_UpdateDNSZoneRecordsResponse as UpdateDNSZoneRecordsResponse, type index_gen$m_UpdateDNSZoneRequest as UpdateDNSZoneRequest };
|
|
9370
9408
|
}
|
|
9371
9409
|
|
|
9372
9410
|
declare namespace index$p {
|
|
@@ -18041,7 +18079,6 @@ type CNI = 'unknown_cni' | 'cilium' | 'calico' | 'weave' | 'flannel' | 'kilo';
|
|
|
18041
18079
|
type ClusterStatus$1 = 'unknown' | 'creating' | 'ready' | 'deleting' | 'deleted' | 'updating' | 'locked' | 'pool_required';
|
|
18042
18080
|
type ClusterTypeAvailability = 'available' | 'scarce' | 'shortage';
|
|
18043
18081
|
type ClusterTypeResiliency = 'unknown_resiliency' | 'standard' | 'high_availability';
|
|
18044
|
-
type Ingress = 'unknown_ingress' | 'none' | 'nginx' | 'traefik' | 'traefik2';
|
|
18045
18082
|
type ListClustersRequestOrderBy$1 = 'created_at_asc' | 'created_at_desc' | 'updated_at_asc' | 'updated_at_desc' | 'name_asc' | 'name_desc' | 'status_asc' | 'status_desc' | 'version_asc' | 'version_desc';
|
|
18046
18083
|
type ListNodesRequestOrderBy = 'created_at_asc' | 'created_at_desc';
|
|
18047
18084
|
type ListPoolsRequestOrderBy = 'created_at_asc' | 'created_at_desc' | 'updated_at_asc' | 'updated_at_desc' | 'name_asc' | 'name_desc' | 'status_asc' | 'status_desc' | 'version_asc' | 'version_desc';
|
|
@@ -18396,6 +18433,11 @@ interface ClusterType {
|
|
|
18396
18433
|
memory: number;
|
|
18397
18434
|
/** Returns information if this offer uses dedicated resources. */
|
|
18398
18435
|
dedicated: boolean;
|
|
18436
|
+
/**
|
|
18437
|
+
* True if the offer allows activation of the audit log functionality. Please
|
|
18438
|
+
* note that audit logs are sent to Cockpit.
|
|
18439
|
+
*/
|
|
18440
|
+
auditLogsSupported: boolean;
|
|
18399
18441
|
}
|
|
18400
18442
|
interface Version$2 {
|
|
18401
18443
|
/** Name of the Kubernetes version. */
|
|
@@ -18406,8 +18448,6 @@ interface Version$2 {
|
|
|
18406
18448
|
region: Region;
|
|
18407
18449
|
/** Supported Container Network Interface (CNI) plugins for this version. */
|
|
18408
18450
|
availableCnis: CNI[];
|
|
18409
|
-
/** @deprecated Supported Ingress Controllers for this version. */
|
|
18410
|
-
availableIngresses?: Ingress[];
|
|
18411
18451
|
/** Supported container runtimes for this version. */
|
|
18412
18452
|
availableContainerRuntimes: Runtime[];
|
|
18413
18453
|
/** Supported feature gates for this version. */
|
|
@@ -18450,16 +18490,6 @@ interface Cluster$1 {
|
|
|
18450
18490
|
updatedAt?: Date;
|
|
18451
18491
|
/** Autoscaler config for the cluster. */
|
|
18452
18492
|
autoscalerConfig?: ClusterAutoscalerConfig;
|
|
18453
|
-
/**
|
|
18454
|
-
* @deprecated Defines whether the Kubernetes dashboard is enabled for the
|
|
18455
|
-
* cluster.
|
|
18456
|
-
*/
|
|
18457
|
-
dashboardEnabled?: boolean;
|
|
18458
|
-
/**
|
|
18459
|
-
* @deprecated Managed Ingress controller used in the cluster (deprecated
|
|
18460
|
-
* feature).
|
|
18461
|
-
*/
|
|
18462
|
-
ingress?: Ingress;
|
|
18463
18493
|
/** Auto upgrade configuration of the cluster. */
|
|
18464
18494
|
autoUpgrade?: ClusterAutoUpgrade;
|
|
18465
18495
|
/** Defines whether a new Kubernetes version is available. */
|
|
@@ -18640,13 +18670,6 @@ type CreateClusterRequest$2 = {
|
|
|
18640
18670
|
version: string;
|
|
18641
18671
|
/** Container Network Interface (CNI) plugin running in the cluster. */
|
|
18642
18672
|
cni: CNI;
|
|
18643
|
-
/**
|
|
18644
|
-
* @deprecated Defines whether the Kubernetes Dashboard is enabled in the
|
|
18645
|
-
* cluster.
|
|
18646
|
-
*/
|
|
18647
|
-
enableDashboard?: boolean;
|
|
18648
|
-
/** @deprecated Ingress Controller running in the cluster (deprecated feature). */
|
|
18649
|
-
ingress?: Ingress;
|
|
18650
18673
|
/** Pools created along with the cluster. */
|
|
18651
18674
|
pools?: CreateClusterRequestPoolConfig$1[];
|
|
18652
18675
|
/**
|
|
@@ -19080,10 +19103,6 @@ type UpdateClusterRequest$2 = {
|
|
|
19080
19103
|
tags?: string[];
|
|
19081
19104
|
/** New autoscaler config for the cluster. */
|
|
19082
19105
|
autoscalerConfig?: UpdateClusterRequestAutoscalerConfig$1;
|
|
19083
|
-
/** @deprecated New value for the Kubernetes Dashboard enablement. */
|
|
19084
|
-
enableDashboard?: boolean;
|
|
19085
|
-
/** @deprecated New Ingress Controller for the cluster (deprecated feature). */
|
|
19086
|
-
ingress?: Ingress;
|
|
19087
19106
|
/**
|
|
19088
19107
|
* New auto upgrade configuration for the cluster. Note that all fields need
|
|
19089
19108
|
* to be set.
|
|
@@ -19581,7 +19600,6 @@ type index$f_ExternalNodeCoreV1Taint = ExternalNodeCoreV1Taint;
|
|
|
19581
19600
|
type index$f_GetClusterKubeConfigRequest = GetClusterKubeConfigRequest;
|
|
19582
19601
|
type index$f_GetNodeRequest = GetNodeRequest;
|
|
19583
19602
|
type index$f_GetPoolRequest = GetPoolRequest;
|
|
19584
|
-
type index$f_Ingress = Ingress;
|
|
19585
19603
|
type index$f_ListClusterAvailableTypesRequest = ListClusterAvailableTypesRequest;
|
|
19586
19604
|
type index$f_ListClusterAvailableTypesResponse = ListClusterAvailableTypesResponse;
|
|
19587
19605
|
type index$f_ListClusterAvailableVersionsRequest = ListClusterAvailableVersionsRequest;
|
|
@@ -19613,7 +19631,7 @@ type index$f_UpdatePoolRequestUpgradePolicy = UpdatePoolRequestUpgradePolicy;
|
|
|
19613
19631
|
type index$f_UpgradeClusterRequest = UpgradeClusterRequest;
|
|
19614
19632
|
type index$f_UpgradePoolRequest = UpgradePoolRequest;
|
|
19615
19633
|
declare namespace index$f {
|
|
19616
|
-
export { K8SUtilsAPI as API, type index$f_AutoscalerEstimator as AutoscalerEstimator, type index$f_AutoscalerExpander as AutoscalerExpander, CLUSTER_TRANSIENT_STATUSES$1 as CLUSTER_TRANSIENT_STATUSES, type index$f_CNI as CNI, type Cluster$1 as Cluster, type index$f_ClusterAutoUpgrade as ClusterAutoUpgrade, type index$f_ClusterAutoscalerConfig as ClusterAutoscalerConfig, type index$f_ClusterOpenIDConnectConfig as ClusterOpenIDConnectConfig, type ClusterStatus$1 as ClusterStatus, type index$f_ClusterType as ClusterType, type index$f_ClusterTypeAvailability as ClusterTypeAvailability, type index$f_ClusterTypeResiliency as ClusterTypeResiliency, type CreateClusterRequest$2 as CreateClusterRequest, type index$f_CreateClusterRequestAutoUpgrade as CreateClusterRequestAutoUpgrade, type CreateClusterRequestAutoscalerConfig$1 as CreateClusterRequestAutoscalerConfig, type CreateClusterRequestOpenIDConnectConfig$1 as CreateClusterRequestOpenIDConnectConfig, type CreateClusterRequestPoolConfig$1 as CreateClusterRequestPoolConfig, type index$f_CreateClusterRequestPoolConfigUpgradePolicy as CreateClusterRequestPoolConfigUpgradePolicy, type index$f_CreateExternalNodeRequest as CreateExternalNodeRequest, type CreatePoolRequest$1 as CreatePoolRequest, type index$f_CreatePoolRequestUpgradePolicy as CreatePoolRequestUpgradePolicy, type DeleteClusterRequest$1 as DeleteClusterRequest, type index$f_DeleteNodeRequest as DeleteNodeRequest, type index$f_DeletePoolRequest as DeletePoolRequest, type index$f_ExternalNode as ExternalNode, type index$f_ExternalNodeCoreV1Taint as ExternalNodeCoreV1Taint, type index$f_GetClusterKubeConfigRequest as GetClusterKubeConfigRequest, type GetClusterRequest$1 as GetClusterRequest, type index$f_GetNodeRequest as GetNodeRequest, type index$f_GetPoolRequest as GetPoolRequest, type GetVersionRequest$1 as GetVersionRequest, type index$
|
|
19634
|
+
export { K8SUtilsAPI as API, type index$f_AutoscalerEstimator as AutoscalerEstimator, type index$f_AutoscalerExpander as AutoscalerExpander, CLUSTER_TRANSIENT_STATUSES$1 as CLUSTER_TRANSIENT_STATUSES, type index$f_CNI as CNI, type Cluster$1 as Cluster, type index$f_ClusterAutoUpgrade as ClusterAutoUpgrade, type index$f_ClusterAutoscalerConfig as ClusterAutoscalerConfig, type index$f_ClusterOpenIDConnectConfig as ClusterOpenIDConnectConfig, type ClusterStatus$1 as ClusterStatus, type index$f_ClusterType as ClusterType, type index$f_ClusterTypeAvailability as ClusterTypeAvailability, type index$f_ClusterTypeResiliency as ClusterTypeResiliency, type CreateClusterRequest$2 as CreateClusterRequest, type index$f_CreateClusterRequestAutoUpgrade as CreateClusterRequestAutoUpgrade, type CreateClusterRequestAutoscalerConfig$1 as CreateClusterRequestAutoscalerConfig, type CreateClusterRequestOpenIDConnectConfig$1 as CreateClusterRequestOpenIDConnectConfig, type CreateClusterRequestPoolConfig$1 as CreateClusterRequestPoolConfig, type index$f_CreateClusterRequestPoolConfigUpgradePolicy as CreateClusterRequestPoolConfigUpgradePolicy, type index$f_CreateExternalNodeRequest as CreateExternalNodeRequest, type CreatePoolRequest$1 as CreatePoolRequest, type index$f_CreatePoolRequestUpgradePolicy as CreatePoolRequestUpgradePolicy, type DeleteClusterRequest$1 as DeleteClusterRequest, type index$f_DeleteNodeRequest as DeleteNodeRequest, type index$f_DeletePoolRequest as DeletePoolRequest, type index$f_ExternalNode as ExternalNode, type index$f_ExternalNodeCoreV1Taint as ExternalNodeCoreV1Taint, type index$f_GetClusterKubeConfigRequest as GetClusterKubeConfigRequest, type GetClusterRequest$1 as GetClusterRequest, type index$f_GetNodeRequest as GetNodeRequest, type index$f_GetPoolRequest as GetPoolRequest, type GetVersionRequest$1 as GetVersionRequest, type index$f_ListClusterAvailableTypesRequest as ListClusterAvailableTypesRequest, type index$f_ListClusterAvailableTypesResponse as ListClusterAvailableTypesResponse, type index$f_ListClusterAvailableVersionsRequest as ListClusterAvailableVersionsRequest, type index$f_ListClusterAvailableVersionsResponse as ListClusterAvailableVersionsResponse, type ListClusterTypesRequest$1 as ListClusterTypesRequest, type index$f_ListClusterTypesResponse as ListClusterTypesResponse, type ListClustersRequest$2 as ListClustersRequest, type ListClustersRequestOrderBy$1 as ListClustersRequestOrderBy, type ListClustersResponse$1 as ListClustersResponse, type ListNodesRequest$1 as ListNodesRequest, type index$f_ListNodesRequestOrderBy as ListNodesRequestOrderBy, type index$f_ListNodesResponse as ListNodesResponse, type ListPoolsRequest$1 as ListPoolsRequest, type index$f_ListPoolsRequestOrderBy as ListPoolsRequestOrderBy, type index$f_ListPoolsResponse as ListPoolsResponse, type ListVersionsRequest$1 as ListVersionsRequest, type ListVersionsResponse$1 as ListVersionsResponse, type MaintenanceWindow$1 as MaintenanceWindow, type index$f_MaintenanceWindowDayOfTheWeek as MaintenanceWindowDayOfTheWeek, type index$f_MigrateToPrivateNetworkClusterRequest as MigrateToPrivateNetworkClusterRequest, index$f_NODE_TRANSIENT_STATUSES as NODE_TRANSIENT_STATUSES, type index$f_Node as Node, type index$f_NodeStatus as NodeStatus, index$f_POOL_TRANSIENT_STATUSES as POOL_TRANSIENT_STATUSES, type index$f_Pool as Pool, type index$f_PoolStatus as PoolStatus, type index$f_PoolUpgradePolicy as PoolUpgradePolicy, type index$f_PoolVolumeType as PoolVolumeType, type index$f_RebootNodeRequest as RebootNodeRequest, type index$f_ReplaceNodeRequest as ReplaceNodeRequest, type index$f_ResetClusterAdminTokenRequest as ResetClusterAdminTokenRequest, type index$f_Runtime as Runtime, type index$f_SetClusterTypeRequest as SetClusterTypeRequest, type UpdateClusterRequest$2 as UpdateClusterRequest, type index$f_UpdateClusterRequestAutoUpgrade as UpdateClusterRequestAutoUpgrade, type UpdateClusterRequestAutoscalerConfig$1 as UpdateClusterRequestAutoscalerConfig, type index$f_UpdateClusterRequestOpenIDConnectConfig as UpdateClusterRequestOpenIDConnectConfig, type index$f_UpdatePoolRequest as UpdatePoolRequest, type index$f_UpdatePoolRequestUpgradePolicy as UpdatePoolRequestUpgradePolicy, type index$f_UpgradeClusterRequest as UpgradeClusterRequest, type index$f_UpgradePoolRequest as UpgradePoolRequest, validationRules_gen$4 as ValidationRules, type Version$2 as Version };
|
|
19617
19635
|
}
|
|
19618
19636
|
|
|
19619
19637
|
declare namespace index$e {
|
|
@@ -32414,6 +32432,8 @@ type CreateHostingRequest = {
|
|
|
32414
32432
|
domain: string;
|
|
32415
32433
|
/** IDs of any selected additional options for the Web Hosting plan. */
|
|
32416
32434
|
optionIds?: string[];
|
|
32435
|
+
/** Default language for the control panel interface. */
|
|
32436
|
+
language?: LanguageCode;
|
|
32417
32437
|
};
|
|
32418
32438
|
type DeleteHostingRequest = {
|
|
32419
32439
|
/**
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
const ADJECTIVES = ['admiring', 'adoring', 'affectionate', 'agitated', 'amazing', 'angry', 'awesome', 'beautiful', 'blissful', 'bold', 'boring', 'brave', 'busy', 'charming', 'clever', 'cool', 'compassionate', 'competent', 'condescending', 'confident', 'cranky', 'crazy', 'dazzling', 'determined', 'distracted', 'dreamy', 'eager', 'ecstatic', 'elastic', 'elated', 'elegant', 'eloquent', 'epic', 'exciting', 'fervent', 'festive', 'flamboyant', 'focused', 'friendly', 'frosty', 'funny', 'gallant', 'gifted', 'goofy', 'gracious', 'great', 'happy', 'hardcore', 'heuristic', 'hopeful', 'hungry', 'infallible', 'inspiring', 'interesting', 'intelligent', 'jolly', 'jovial', 'keen', 'kind', 'laughing', 'loving', 'lucid', 'magical', 'mystifying', 'modest', 'musing', 'naughty', 'nervous', 'nice', 'nifty', 'nostalgic', 'objective', 'optimistic', 'peaceful', 'pedantic', 'pensive', 'practical', 'priceless', 'quirky', 'quizzical', 'recursing', 'relaxed', 'reverent', 'romantic', 'sad', 'serene', 'sharp', 'silly', 'sleepy', 'stoic', 'strange', 'stupefied', 'suspicious', 'sweet', 'tender', 'thirsty', 'trusting', 'unruffled', 'upbeat', 'vibrant', 'vigilant', 'vigorous', 'wizardly', 'wonderful', 'xenodochial', 'youthful', 'zealous', 'zen'];
|
|
2
|
-
const NAMES = ['albattani', 'allen', 'almeida', 'antonelli', 'agnesi', 'archimedes', 'ardinghelli', 'aryabhata', 'austin', 'babbage', 'banach', 'banzai', 'bardeen', 'bartik', 'bassi', 'beaver', 'bell', 'benz', 'bhabha', 'bhaskara', 'black', 'blackburn', 'blackwell', 'bohr', 'booth', 'borg', 'bose', 'bouman', 'boyd', 'brahmagupta', 'brattain', 'brown', 'buck', 'burnell', 'cannon', 'carson', 'cartwright', 'carver', 'cerf', 'chandrasekhar', 'chaplygin', 'chatelet', 'chatterjee', 'chebyshev', 'cohen', 'chaum', 'clarke', 'colden', 'cori', 'cray', 'curran', 'curie', 'darwin', 'davinci', 'dewdney', 'dhawan', 'diffie', 'dijkstra', 'dirac', 'driscoll', 'dubinsky', 'easley', 'edison', 'einstein', 'elbakyan', 'elgamal', 'elion', 'ellis', 'engelbart', 'euclid', 'euler', 'faraday', 'feistel', 'fermat', 'fermi', 'feynman', 'franklin', 'gagarin', 'galileo', 'galois', 'ganguly', 'gates', 'gauss', 'germain', 'goldberg', 'goldstine', 'goldwasser', 'golick', 'goodall', 'gould', 'greider', 'grothendieck', 'haibt', 'hamilton', 'haslett', 'hawking', 'hellman', 'heisenberg', 'hermann', 'herschel', 'hertz', 'heyrovsky', 'hodgkin', 'hofstadter', 'hoover', 'hopper', 'hugle', 'hypatia', 'ishizaka', 'jackson', 'jang', 'jemison', 'jennings', 'jepsen', 'johnson', 'joliot', 'jones', 'kalam', 'kapitsa', 'kare', 'keldysh', 'keller', 'kepler', 'khayyam', 'khorana', 'kilby', 'kirch', 'knuth', 'kowalevski', 'lalande', 'lamarr', 'lamport', 'leakey', 'leavitt', 'lederberg', 'lehmann', 'lewin', 'lichterman', 'liskov', 'lovelace', 'lumiere', 'mahavira', 'margulis', 'matsumoto', 'maxwell', 'mayer', 'mccarthy', 'mcclintock', 'mclaren', 'mclean', 'mcnulty', 'mendel', 'mendeleev', 'meitner', 'meninsky', 'merkle', 'mestorf', 'mirzakhani', 'montalcini', 'moore', 'morse', 'murdock', 'moser', 'napier', 'nash', 'neumann', 'newton', 'nightingale', 'nobel', 'noether', 'northcutt', 'noyce', 'panini', 'pare', 'pascal', 'pasteur', 'payne', 'perlman', 'pike', 'poincare', 'poitras', 'proskuriakova', 'ptolemy', 'raman', 'ramanujan', 'ride', 'ritchie', 'rhodes', 'robinson', 'roentgen', 'rosalind', 'rubin', 'saha', 'sammet', 'sanderson', 'satoshi', 'shamir', 'shannon', 'shaw', 'shirley', 'shockley', 'shtern', 'sinoussi', 'snyder', 'solomon', 'spence', 'stonebraker', 'sutherland', 'swanson', 'swartz', 'swirles', 'taussig', 'tereshkova', 'tesla', 'tharp', 'thompson', 'torvalds', 'tu', 'turing', 'varahamihira', 'vaughan', 'visvesvaraya', 'volhard', 'villani', 'wescoff', 'wilbur', 'wiles', 'williams', 'williamson', 'wilson', 'wing', 'wozniak', 'wright', 'wu', 'yalow', 'yonath', 'zhukovsky'];
|
|
3
|
-
const randomName =
|
|
4
|
-
let prefix = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
|
|
5
|
-
let separator = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '-';
|
|
2
|
+
const NAMES = ['albattani', 'allen', 'almeida', 'antonelli', 'agnesi', 'archimedes', 'ardinghelli', 'aryabhata', 'austin', 'babbage', 'banach', 'banzai', 'bardeen', 'bartik', 'bassi', 'beaver', 'bell', 'benz', 'bhabha', 'bhaskara', 'black', 'blackburn', 'blackwell', 'bohr', 'booth', 'borg', 'bose', 'bouman', 'boyd', 'brahmagupta', 'brattain', 'brown', 'buck', 'burnell', 'cannon', 'carson', 'cartwright', 'carver', 'cerf', 'chandrasekhar', 'chaplygin', 'chatelet', 'chatterjee', 'chebyshev', 'cohen', 'chaum', 'clarke', 'colden', 'cori', 'cray', 'curran', 'curie', 'darwin', 'davinci', 'dewdney', 'dhawan', 'diffie', 'dijkstra', 'dirac', 'driscoll', 'dubinsky', 'easley', 'edison', 'einstein', 'elbakyan', 'elgamal', 'elion', 'ellis', 'engelbart', 'euclid', 'euler', 'faraday', 'feistel', 'fermat', 'fermi', 'feynman', 'franklin', 'gagarin', 'galileo', 'galois', 'ganguly', 'gates', 'gauss', 'germain', 'goldberg', 'goldstine', 'goldwasser', 'golick', 'goodall', 'gould', 'greider', 'grothendieck', 'haibt', 'hamilton', 'haslett', 'hawking', 'hellman', 'heisenberg', 'hermann', 'herschel', 'hertz', 'heyrovsky', 'hodgkin', 'hofstadter', 'hoover', 'hopper', 'hugle', 'hypatia', 'ishizaka', 'jackson', 'jang', 'jemison', 'jennings', 'jepsen', 'johnson', 'joliot', 'jones', 'kalam', 'kapitsa', 'kare', 'keldysh', 'keller', 'kepler', 'khayyam', 'khorana', 'kilby', 'kirch', 'knuth', 'kowalevski', 'lalande', 'lamarr', 'lamport', 'leakey', 'leavitt', 'lederberg', 'lehmann', 'lewin', 'lichterman', 'liskov', 'lovelace', 'lumiere', 'mahavira', 'margulis', 'matsumoto', 'maxwell', 'mayer', 'mccarthy', 'mcclintock', 'mclaren', 'mclean', 'mcnulty', 'mendel', 'mendeleev', 'meitner', 'meninsky', 'merkle', 'mestorf', 'mirzakhani', 'montalcini', 'moore', 'morse', 'murdock', 'moser', 'napier', 'nash', 'neumann', 'newton', 'niel', 'nightingale', 'nobel', 'noether', 'northcutt', 'noyce', 'panini', 'pare', 'pascal', 'pasteur', 'payne', 'perlman', 'pike', 'poincare', 'poitras', 'proskuriakova', 'ptolemy', 'raman', 'ramanujan', 'ride', 'ritchie', 'rhodes', 'robinson', 'roentgen', 'rosalind', 'rubin', 'saha', 'sammet', 'sanderson', 'satoshi', 'shamir', 'shannon', 'shaw', 'shirley', 'shockley', 'shtern', 'sinoussi', 'snyder', 'solomon', 'spence', 'stonebraker', 'sutherland', 'swanson', 'swartz', 'swirles', 'taussig', 'tereshkova', 'tesla', 'tharp', 'thompson', 'torvalds', 'tu', 'turing', 'varahamihira', 'vaughan', 'visvesvaraya', 'volhard', 'villani', 'wescoff', 'wilbur', 'wiles', 'williams', 'williamson', 'wilson', 'wing', 'wozniak', 'wright', 'wu', 'yalow', 'yonath', 'zhukovsky'];
|
|
3
|
+
const randomName = (prefix = '', separator = '-') => {
|
|
6
4
|
const name = `${ADJECTIVES[Math.floor(Math.random() * ADJECTIVES.length)] ?? ''}${separator}${NAMES[Math.floor(Math.random() * NAMES.length)] ?? ''}`;
|
|
7
5
|
if (name === `boring${separator}wozniak`) {
|
|
8
6
|
return randomName(prefix, separator);
|
package/dist/scw/constants.js
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 4.0.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#1804](https://github.com/scaleway/scaleway-lib/pull/1804) [`202edf7`](https://github.com/scaleway/scaleway-lib/commit/202edf7d334dd4a4bc8971a098e48dc0eb024476) Thanks [@cyclimse](https://github.com/cyclimse)! - Add Xavier Niel on random name
|
|
8
|
+
|
|
3
9
|
## 4.0.2
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
const ADJECTIVES = ['admiring', 'adoring', 'affectionate', 'agitated', 'amazing', 'angry', 'awesome', 'beautiful', 'blissful', 'bold', 'boring', 'brave', 'busy', 'charming', 'clever', 'cool', 'compassionate', 'competent', 'condescending', 'confident', 'cranky', 'crazy', 'dazzling', 'determined', 'distracted', 'dreamy', 'eager', 'ecstatic', 'elastic', 'elated', 'elegant', 'eloquent', 'epic', 'exciting', 'fervent', 'festive', 'flamboyant', 'focused', 'friendly', 'frosty', 'funny', 'gallant', 'gifted', 'goofy', 'gracious', 'great', 'happy', 'hardcore', 'heuristic', 'hopeful', 'hungry', 'infallible', 'inspiring', 'interesting', 'intelligent', 'jolly', 'jovial', 'keen', 'kind', 'laughing', 'loving', 'lucid', 'magical', 'mystifying', 'modest', 'musing', 'naughty', 'nervous', 'nice', 'nifty', 'nostalgic', 'objective', 'optimistic', 'peaceful', 'pedantic', 'pensive', 'practical', 'priceless', 'quirky', 'quizzical', 'recursing', 'relaxed', 'reverent', 'romantic', 'sad', 'serene', 'sharp', 'silly', 'sleepy', 'stoic', 'strange', 'stupefied', 'suspicious', 'sweet', 'tender', 'thirsty', 'trusting', 'unruffled', 'upbeat', 'vibrant', 'vigilant', 'vigorous', 'wizardly', 'wonderful', 'xenodochial', 'youthful', 'zealous', 'zen'];
|
|
2
|
-
const NAMES = ['albattani', 'allen', 'almeida', 'antonelli', 'agnesi', 'archimedes', 'ardinghelli', 'aryabhata', 'austin', 'babbage', 'banach', 'banzai', 'bardeen', 'bartik', 'bassi', 'beaver', 'bell', 'benz', 'bhabha', 'bhaskara', 'black', 'blackburn', 'blackwell', 'bohr', 'booth', 'borg', 'bose', 'bouman', 'boyd', 'brahmagupta', 'brattain', 'brown', 'buck', 'burnell', 'cannon', 'carson', 'cartwright', 'carver', 'cerf', 'chandrasekhar', 'chaplygin', 'chatelet', 'chatterjee', 'chebyshev', 'cohen', 'chaum', 'clarke', 'colden', 'cori', 'cray', 'curran', 'curie', 'darwin', 'davinci', 'dewdney', 'dhawan', 'diffie', 'dijkstra', 'dirac', 'driscoll', 'dubinsky', 'easley', 'edison', 'einstein', 'elbakyan', 'elgamal', 'elion', 'ellis', 'engelbart', 'euclid', 'euler', 'faraday', 'feistel', 'fermat', 'fermi', 'feynman', 'franklin', 'gagarin', 'galileo', 'galois', 'ganguly', 'gates', 'gauss', 'germain', 'goldberg', 'goldstine', 'goldwasser', 'golick', 'goodall', 'gould', 'greider', 'grothendieck', 'haibt', 'hamilton', 'haslett', 'hawking', 'hellman', 'heisenberg', 'hermann', 'herschel', 'hertz', 'heyrovsky', 'hodgkin', 'hofstadter', 'hoover', 'hopper', 'hugle', 'hypatia', 'ishizaka', 'jackson', 'jang', 'jemison', 'jennings', 'jepsen', 'johnson', 'joliot', 'jones', 'kalam', 'kapitsa', 'kare', 'keldysh', 'keller', 'kepler', 'khayyam', 'khorana', 'kilby', 'kirch', 'knuth', 'kowalevski', 'lalande', 'lamarr', 'lamport', 'leakey', 'leavitt', 'lederberg', 'lehmann', 'lewin', 'lichterman', 'liskov', 'lovelace', 'lumiere', 'mahavira', 'margulis', 'matsumoto', 'maxwell', 'mayer', 'mccarthy', 'mcclintock', 'mclaren', 'mclean', 'mcnulty', 'mendel', 'mendeleev', 'meitner', 'meninsky', 'merkle', 'mestorf', 'mirzakhani', 'montalcini', 'moore', 'morse', 'murdock', 'moser', 'napier', 'nash', 'neumann', 'newton', 'nightingale', 'nobel', 'noether', 'northcutt', 'noyce', 'panini', 'pare', 'pascal', 'pasteur', 'payne', 'perlman', 'pike', 'poincare', 'poitras', 'proskuriakova', 'ptolemy', 'raman', 'ramanujan', 'ride', 'ritchie', 'rhodes', 'robinson', 'roentgen', 'rosalind', 'rubin', 'saha', 'sammet', 'sanderson', 'satoshi', 'shamir', 'shannon', 'shaw', 'shirley', 'shockley', 'shtern', 'sinoussi', 'snyder', 'solomon', 'spence', 'stonebraker', 'sutherland', 'swanson', 'swartz', 'swirles', 'taussig', 'tereshkova', 'tesla', 'tharp', 'thompson', 'torvalds', 'tu', 'turing', 'varahamihira', 'vaughan', 'visvesvaraya', 'volhard', 'villani', 'wescoff', 'wilbur', 'wiles', 'williams', 'williamson', 'wilson', 'wing', 'wozniak', 'wright', 'wu', 'yalow', 'yonath', 'zhukovsky'];
|
|
3
|
-
const randomName =
|
|
4
|
-
let prefix = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
|
|
5
|
-
let separator = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '-';
|
|
2
|
+
const NAMES = ['albattani', 'allen', 'almeida', 'antonelli', 'agnesi', 'archimedes', 'ardinghelli', 'aryabhata', 'austin', 'babbage', 'banach', 'banzai', 'bardeen', 'bartik', 'bassi', 'beaver', 'bell', 'benz', 'bhabha', 'bhaskara', 'black', 'blackburn', 'blackwell', 'bohr', 'booth', 'borg', 'bose', 'bouman', 'boyd', 'brahmagupta', 'brattain', 'brown', 'buck', 'burnell', 'cannon', 'carson', 'cartwright', 'carver', 'cerf', 'chandrasekhar', 'chaplygin', 'chatelet', 'chatterjee', 'chebyshev', 'cohen', 'chaum', 'clarke', 'colden', 'cori', 'cray', 'curran', 'curie', 'darwin', 'davinci', 'dewdney', 'dhawan', 'diffie', 'dijkstra', 'dirac', 'driscoll', 'dubinsky', 'easley', 'edison', 'einstein', 'elbakyan', 'elgamal', 'elion', 'ellis', 'engelbart', 'euclid', 'euler', 'faraday', 'feistel', 'fermat', 'fermi', 'feynman', 'franklin', 'gagarin', 'galileo', 'galois', 'ganguly', 'gates', 'gauss', 'germain', 'goldberg', 'goldstine', 'goldwasser', 'golick', 'goodall', 'gould', 'greider', 'grothendieck', 'haibt', 'hamilton', 'haslett', 'hawking', 'hellman', 'heisenberg', 'hermann', 'herschel', 'hertz', 'heyrovsky', 'hodgkin', 'hofstadter', 'hoover', 'hopper', 'hugle', 'hypatia', 'ishizaka', 'jackson', 'jang', 'jemison', 'jennings', 'jepsen', 'johnson', 'joliot', 'jones', 'kalam', 'kapitsa', 'kare', 'keldysh', 'keller', 'kepler', 'khayyam', 'khorana', 'kilby', 'kirch', 'knuth', 'kowalevski', 'lalande', 'lamarr', 'lamport', 'leakey', 'leavitt', 'lederberg', 'lehmann', 'lewin', 'lichterman', 'liskov', 'lovelace', 'lumiere', 'mahavira', 'margulis', 'matsumoto', 'maxwell', 'mayer', 'mccarthy', 'mcclintock', 'mclaren', 'mclean', 'mcnulty', 'mendel', 'mendeleev', 'meitner', 'meninsky', 'merkle', 'mestorf', 'mirzakhani', 'montalcini', 'moore', 'morse', 'murdock', 'moser', 'napier', 'nash', 'neumann', 'newton', 'niel', 'nightingale', 'nobel', 'noether', 'northcutt', 'noyce', 'panini', 'pare', 'pascal', 'pasteur', 'payne', 'perlman', 'pike', 'poincare', 'poitras', 'proskuriakova', 'ptolemy', 'raman', 'ramanujan', 'ride', 'ritchie', 'rhodes', 'robinson', 'roentgen', 'rosalind', 'rubin', 'saha', 'sammet', 'sanderson', 'satoshi', 'shamir', 'shannon', 'shaw', 'shirley', 'shockley', 'shtern', 'sinoussi', 'snyder', 'solomon', 'spence', 'stonebraker', 'sutherland', 'swanson', 'swartz', 'swirles', 'taussig', 'tereshkova', 'tesla', 'tharp', 'thompson', 'torvalds', 'tu', 'turing', 'varahamihira', 'vaughan', 'visvesvaraya', 'volhard', 'villani', 'wescoff', 'wilbur', 'wiles', 'williams', 'williamson', 'wilson', 'wing', 'wozniak', 'wright', 'wu', 'yalow', 'yonath', 'zhukovsky'];
|
|
3
|
+
const randomName = (prefix = '', separator = '-') => {
|
|
6
4
|
const name = `${ADJECTIVES[Math.floor(Math.random() * ADJECTIVES.length)] ?? ''}${separator}${NAMES[Math.floor(Math.random() * NAMES.length)] ?? ''}`;
|
|
7
5
|
if (name === `boring${separator}wozniak`) {
|
|
8
6
|
return randomName(prefix, separator);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scaleway/sdk",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.15.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"description": "Scaleway SDK.",
|
|
6
6
|
"keywords": [
|
|
@@ -30,10 +30,10 @@
|
|
|
30
30
|
},
|
|
31
31
|
"type": "module",
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@scaleway/random-name": "^4.0.
|
|
33
|
+
"@scaleway/random-name": "^4.0.3"
|
|
34
34
|
},
|
|
35
35
|
"bundledDependencies": [
|
|
36
36
|
"@scaleway/random-name"
|
|
37
37
|
],
|
|
38
|
-
"gitHead": "
|
|
38
|
+
"gitHead": "be0ae25435fdaf070491fd28121cfe844d907b10"
|
|
39
39
|
}
|