@scaleway/sdk 2.6.0 → 2.7.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/api.gen.js +26 -74
- package/dist/api/account/v3/api.gen.js +20 -60
- package/dist/api/applesilicon/v1alpha1/api.gen.js +16 -56
- package/dist/api/baremetal/v1/api.gen.js +36 -132
- package/dist/api/billing/v2alpha1/api.gen.js +17 -57
- package/dist/api/block/v1alpha1/api.gen.js +19 -67
- package/dist/api/block/v1alpha1/marshalling.gen.js +1 -0
- package/dist/api/cockpit/v1beta1/api.gen.js +95 -279
- package/dist/api/container/v1beta1/api.gen.js +51 -123
- package/dist/api/document_db/v1beta1/api.gen.js +18 -66
- package/dist/api/document_db/v1beta1/marshalling.gen.js +20 -1
- package/dist/api/domain/v2beta1/api.gen.js +36 -124
- package/dist/api/flexibleip/v1alpha1/api.gen.js +6 -22
- package/dist/api/function/v1beta1/api.gen.js +55 -135
- package/dist/api/iam/v1alpha1/api.gen.js +66 -226
- package/dist/api/instance/v1/api.gen.js +102 -310
- package/dist/api/instance/v1/marshalling.gen.js +32 -56
- package/dist/api/iot/v1/api.gen.js +24 -88
- package/dist/api/ipam/v1/api.gen.js +12 -28
- package/dist/api/ipfs/v1alpha1/api.gen.js +12 -44
- package/dist/api/jobs/v1alpha1/api.gen.js +12 -44
- package/dist/api/jobs/v1alpha1/marshalling.gen.js +2 -0
- package/dist/api/k8s/v1/api.gen.js +16 -56
- package/dist/api/lb/v1/api.gen.js +72 -248
- package/dist/api/marketplace/v1/api.gen.js +7 -31
- package/dist/api/marketplace/v1/marshalling.gen.js +1 -18
- package/dist/api/marketplace/v2/api.gen.js +21 -53
- package/dist/api/mnq/v1beta1/api.gen.js +76 -212
- package/dist/api/rdb/v1/api.gen.js +24 -88
- package/dist/api/rdb/v1/marshalling.gen.js +11 -1
- package/dist/api/redis/v1/api.gen.js +6 -22
- package/dist/api/registry/v1/api.gen.js +12 -44
- package/dist/api/secret/v1alpha1/api.gen.js +18 -66
- package/dist/api/serverless_sqldb/index.js +2 -0
- package/dist/api/serverless_sqldb/v1alpha1/api.gen.js +162 -0
- package/dist/api/serverless_sqldb/v1alpha1/content.gen.js +7 -0
- package/dist/api/serverless_sqldb/v1alpha1/index.gen.js +7 -0
- package/dist/api/serverless_sqldb/v1alpha1/marshalling.gen.js +77 -0
- package/dist/api/serverless_sqldb/v1alpha1/validation-rules.gen.js +60 -0
- package/dist/api/tem/v1alpha1/api.gen.js +17 -57
- package/dist/api/test/v1/api.gen.js +6 -22
- package/dist/api/vpc/v1/api.gen.js +12 -36
- package/dist/api/vpc/v2/api.gen.js +30 -86
- package/dist/api/vpcgw/v1/api.gen.js +46 -158
- package/dist/api/webhosting/v1alpha1/api.gen.js +12 -44
- package/dist/helpers/marshalling.js +8 -23
- package/dist/index.cjs +927 -603
- package/dist/index.d.ts +2047 -1646
- package/dist/index.js +12 -10
- package/dist/internal/async/interval-retrier.js +8 -16
- package/dist/internal/interceptors/helpers.js +3 -4
- package/dist/internal/logger/console-logger.js +1 -7
- package/dist/internal/logger/index.js +1 -9
- package/dist/scw/auth.js +1 -2
- package/dist/scw/client.js +2 -10
- package/dist/scw/constants.js +1 -1
- package/dist/scw/errors/non-standard/invalid-request-mapper.js +5 -8
- package/dist/scw/errors/scw-error.js +2 -8
- package/dist/scw/errors/standard/permissions-denied-error.js +4 -7
- package/dist/scw/fetch/build-fetcher.js +1 -4
- package/dist/scw/fetch/http-dumper.js +1 -4
- package/dist/scw/fetch/http-interceptors.js +18 -31
- package/dist/scw/fetch/resource-paginator.js +3 -17
- package/package.json +2 -2
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.6.0';
|
|
501
501
|
const userAgent = `scaleway-sdk-js/${version}`;
|
|
502
502
|
|
|
503
503
|
const isBrowser = () =>
|
|
@@ -1578,7 +1578,7 @@ const createAdvancedClient = (...configs) => {
|
|
|
1578
1578
|
*/
|
|
1579
1579
|
const createClient = (profile = {}) => createAdvancedClient(withProfile(profile));
|
|
1580
1580
|
|
|
1581
|
-
var index$
|
|
1581
|
+
var index$z = /*#__PURE__*/Object.freeze({
|
|
1582
1582
|
__proto__: null,
|
|
1583
1583
|
AlreadyExistsError: AlreadyExistsError,
|
|
1584
1584
|
DeniedAuthenticationError: DeniedAuthenticationError,
|
|
@@ -1706,7 +1706,7 @@ const waitForResource = (stop, fetcher, request, options, strategy = createExpon
|
|
|
1706
1706
|
*
|
|
1707
1707
|
* @internal
|
|
1708
1708
|
*/
|
|
1709
|
-
let API$
|
|
1709
|
+
let API$w = class API {
|
|
1710
1710
|
constructor(client) {
|
|
1711
1711
|
this.client = client;
|
|
1712
1712
|
}
|
|
@@ -2070,7 +2070,7 @@ const marshalUpdateProjectRequest = (request, defaults) => ({
|
|
|
2070
2070
|
|
|
2071
2071
|
// This file was automatically generated. DO NOT EDIT.
|
|
2072
2072
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
2073
|
-
const jsonContentHeaders$
|
|
2073
|
+
const jsonContentHeaders$u = {
|
|
2074
2074
|
'Content-Type': 'application/json; charset=utf-8'
|
|
2075
2075
|
};
|
|
2076
2076
|
|
|
@@ -2079,7 +2079,7 @@ const jsonContentHeaders$t = {
|
|
|
2079
2079
|
*
|
|
2080
2080
|
* User related data. This API allows you to manage projects.
|
|
2081
2081
|
*/
|
|
2082
|
-
let API$
|
|
2082
|
+
let API$v = class API extends API$w {
|
|
2083
2083
|
/**
|
|
2084
2084
|
* Create a new Project for an Organization. Deprecated in favor of Account
|
|
2085
2085
|
* API v3. Generate a new Project for an Organization, specifying its
|
|
@@ -2091,7 +2091,7 @@ let API$u = class API extends API$v {
|
|
|
2091
2091
|
*/
|
|
2092
2092
|
createProject = (request = {}) => this.client.fetch({
|
|
2093
2093
|
body: JSON.stringify(marshalCreateProjectRequest(request, this.client.settings)),
|
|
2094
|
-
headers: jsonContentHeaders$
|
|
2094
|
+
headers: jsonContentHeaders$u,
|
|
2095
2095
|
method: 'POST',
|
|
2096
2096
|
path: `/account/v2/projects`
|
|
2097
2097
|
}, unmarshalProject$1);
|
|
@@ -2155,7 +2155,7 @@ let API$u = class API extends API$v {
|
|
|
2155
2155
|
*/
|
|
2156
2156
|
updateProject = (request = {}) => this.client.fetch({
|
|
2157
2157
|
body: JSON.stringify(marshalUpdateProjectRequest(request, this.client.settings)),
|
|
2158
|
-
headers: jsonContentHeaders$
|
|
2158
|
+
headers: jsonContentHeaders$u,
|
|
2159
2159
|
method: 'PATCH',
|
|
2160
2160
|
path: `/account/v2/projects/${validatePathParam('projectId', request.projectId ?? this.client.settings.defaultProjectId)}`
|
|
2161
2161
|
}, unmarshalProject$1);
|
|
@@ -2164,9 +2164,9 @@ let API$u = class API extends API$v {
|
|
|
2164
2164
|
// This file was automatically generated. DO NOT EDIT.
|
|
2165
2165
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
2166
2166
|
|
|
2167
|
-
var index_gen$
|
|
2167
|
+
var index_gen$u = /*#__PURE__*/Object.freeze({
|
|
2168
2168
|
__proto__: null,
|
|
2169
|
-
API: API$
|
|
2169
|
+
API: API$v
|
|
2170
2170
|
});
|
|
2171
2171
|
|
|
2172
2172
|
// This file was automatically generated. DO NOT EDIT.
|
|
@@ -2205,7 +2205,7 @@ const marshalProjectApiUpdateProjectRequest = (request, defaults) => ({
|
|
|
2205
2205
|
|
|
2206
2206
|
// This file was automatically generated. DO NOT EDIT.
|
|
2207
2207
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
2208
|
-
const jsonContentHeaders$
|
|
2208
|
+
const jsonContentHeaders$t = {
|
|
2209
2209
|
'Content-Type': 'application/json; charset=utf-8'
|
|
2210
2210
|
};
|
|
2211
2211
|
|
|
@@ -2214,7 +2214,7 @@ const jsonContentHeaders$s = {
|
|
|
2214
2214
|
*
|
|
2215
2215
|
* This API allows you to manage projects.
|
|
2216
2216
|
*/
|
|
2217
|
-
class ProjectAPI extends API$
|
|
2217
|
+
class ProjectAPI extends API$w {
|
|
2218
2218
|
/**
|
|
2219
2219
|
* Create a new Project for an Organization. Generate a new Project for an
|
|
2220
2220
|
* Organization, specifying its configuration including name and description.
|
|
@@ -2224,7 +2224,7 @@ class ProjectAPI extends API$v {
|
|
|
2224
2224
|
*/
|
|
2225
2225
|
createProject = request => this.client.fetch({
|
|
2226
2226
|
body: JSON.stringify(marshalProjectApiCreateProjectRequest(request, this.client.settings)),
|
|
2227
|
-
headers: jsonContentHeaders$
|
|
2227
|
+
headers: jsonContentHeaders$t,
|
|
2228
2228
|
method: 'POST',
|
|
2229
2229
|
path: `/account/v3/projects`
|
|
2230
2230
|
}, unmarshalProject);
|
|
@@ -2280,7 +2280,7 @@ class ProjectAPI extends API$v {
|
|
|
2280
2280
|
*/
|
|
2281
2281
|
updateProject = (request = {}) => this.client.fetch({
|
|
2282
2282
|
body: JSON.stringify(marshalProjectApiUpdateProjectRequest(request, this.client.settings)),
|
|
2283
|
-
headers: jsonContentHeaders$
|
|
2283
|
+
headers: jsonContentHeaders$t,
|
|
2284
2284
|
method: 'PATCH',
|
|
2285
2285
|
path: `/account/v3/projects/${validatePathParam('projectId', request.projectId ?? this.client.settings.defaultProjectId)}`
|
|
2286
2286
|
}, unmarshalProject);
|
|
@@ -2324,7 +2324,7 @@ const ProjectApiUpdateProjectRequest = {
|
|
|
2324
2324
|
}
|
|
2325
2325
|
};
|
|
2326
2326
|
|
|
2327
|
-
var validationRules_gen$
|
|
2327
|
+
var validationRules_gen$e = /*#__PURE__*/Object.freeze({
|
|
2328
2328
|
__proto__: null,
|
|
2329
2329
|
ProjectApiCreateProjectRequest: ProjectApiCreateProjectRequest,
|
|
2330
2330
|
ProjectApiListProjectsRequest: ProjectApiListProjectsRequest,
|
|
@@ -2334,16 +2334,16 @@ var validationRules_gen$d = /*#__PURE__*/Object.freeze({
|
|
|
2334
2334
|
// This file was automatically generated. DO NOT EDIT.
|
|
2335
2335
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
2336
2336
|
|
|
2337
|
-
var index_gen$
|
|
2337
|
+
var index_gen$t = /*#__PURE__*/Object.freeze({
|
|
2338
2338
|
__proto__: null,
|
|
2339
2339
|
ProjectAPI: ProjectAPI,
|
|
2340
|
-
ValidationRules: validationRules_gen$
|
|
2340
|
+
ValidationRules: validationRules_gen$e
|
|
2341
2341
|
});
|
|
2342
2342
|
|
|
2343
|
-
var index$
|
|
2343
|
+
var index$y = /*#__PURE__*/Object.freeze({
|
|
2344
2344
|
__proto__: null,
|
|
2345
|
-
v2: index_gen$
|
|
2346
|
-
v3: index_gen$
|
|
2345
|
+
v2: index_gen$u,
|
|
2346
|
+
v3: index_gen$t
|
|
2347
2347
|
});
|
|
2348
2348
|
|
|
2349
2349
|
// This file was automatically generated. DO NOT EDIT.
|
|
@@ -2462,12 +2462,12 @@ const marshalUpdateServerRequest$2 = (request, defaults) => ({
|
|
|
2462
2462
|
|
|
2463
2463
|
// This file was automatically generated. DO NOT EDIT.
|
|
2464
2464
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
2465
|
-
const jsonContentHeaders$
|
|
2465
|
+
const jsonContentHeaders$s = {
|
|
2466
2466
|
'Content-Type': 'application/json; charset=utf-8'
|
|
2467
2467
|
};
|
|
2468
2468
|
|
|
2469
2469
|
/** Apple silicon API. */
|
|
2470
|
-
let API$
|
|
2470
|
+
let API$u = class API extends API$w {
|
|
2471
2471
|
/** Lists the available zones of the API. */
|
|
2472
2472
|
static LOCALITIES = ['fr-par-3'];
|
|
2473
2473
|
|
|
@@ -2505,7 +2505,7 @@ let API$t = class API extends API$v {
|
|
|
2505
2505
|
*/
|
|
2506
2506
|
createServer = request => this.client.fetch({
|
|
2507
2507
|
body: JSON.stringify(marshalCreateServerRequest$2(request, this.client.settings)),
|
|
2508
|
-
headers: jsonContentHeaders$
|
|
2508
|
+
headers: jsonContentHeaders$s,
|
|
2509
2509
|
method: 'POST',
|
|
2510
2510
|
path: `/apple-silicon/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers`
|
|
2511
2511
|
}, unmarshalServer$2);
|
|
@@ -2583,7 +2583,7 @@ let API$t = class API extends API$v {
|
|
|
2583
2583
|
*/
|
|
2584
2584
|
updateServer = request => this.client.fetch({
|
|
2585
2585
|
body: JSON.stringify(marshalUpdateServerRequest$2(request, this.client.settings)),
|
|
2586
|
-
headers: jsonContentHeaders$
|
|
2586
|
+
headers: jsonContentHeaders$s,
|
|
2587
2587
|
method: 'PATCH',
|
|
2588
2588
|
path: `/apple-silicon/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}`
|
|
2589
2589
|
}, unmarshalServer$2);
|
|
@@ -2610,7 +2610,7 @@ let API$t = class API extends API$v {
|
|
|
2610
2610
|
*/
|
|
2611
2611
|
rebootServer = request => this.client.fetch({
|
|
2612
2612
|
body: '{}',
|
|
2613
|
-
headers: jsonContentHeaders$
|
|
2613
|
+
headers: jsonContentHeaders$s,
|
|
2614
2614
|
method: 'POST',
|
|
2615
2615
|
path: `/apple-silicon/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/reboot`
|
|
2616
2616
|
}, unmarshalServer$2);
|
|
@@ -2626,7 +2626,7 @@ let API$t = class API extends API$v {
|
|
|
2626
2626
|
*/
|
|
2627
2627
|
reinstallServer = request => this.client.fetch({
|
|
2628
2628
|
body: '{}',
|
|
2629
|
-
headers: jsonContentHeaders$
|
|
2629
|
+
headers: jsonContentHeaders$s,
|
|
2630
2630
|
method: 'POST',
|
|
2631
2631
|
path: `/apple-silicon/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/reinstall`
|
|
2632
2632
|
}, unmarshalServer$2);
|
|
@@ -2635,15 +2635,15 @@ let API$t = class API extends API$v {
|
|
|
2635
2635
|
// This file was automatically generated. DO NOT EDIT.
|
|
2636
2636
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
2637
2637
|
|
|
2638
|
-
var index_gen$
|
|
2638
|
+
var index_gen$s = /*#__PURE__*/Object.freeze({
|
|
2639
2639
|
__proto__: null,
|
|
2640
|
-
API: API$
|
|
2640
|
+
API: API$u,
|
|
2641
2641
|
SERVER_TRANSIENT_STATUSES: SERVER_TRANSIENT_STATUSES$2
|
|
2642
2642
|
});
|
|
2643
2643
|
|
|
2644
|
-
var index$
|
|
2644
|
+
var index$x = /*#__PURE__*/Object.freeze({
|
|
2645
2645
|
__proto__: null,
|
|
2646
|
-
v1alpha1: index_gen$
|
|
2646
|
+
v1alpha1: index_gen$s
|
|
2647
2647
|
});
|
|
2648
2648
|
|
|
2649
2649
|
// This file was automatically generated. DO NOT EDIT.
|
|
@@ -3061,7 +3061,7 @@ const marshalUpdateSettingRequest = (request, defaults) => ({
|
|
|
3061
3061
|
|
|
3062
3062
|
// This file was automatically generated. DO NOT EDIT.
|
|
3063
3063
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
3064
|
-
const jsonContentHeaders$
|
|
3064
|
+
const jsonContentHeaders$r = {
|
|
3065
3065
|
'Content-Type': 'application/json; charset=utf-8'
|
|
3066
3066
|
};
|
|
3067
3067
|
|
|
@@ -3070,7 +3070,7 @@ const jsonContentHeaders$q = {
|
|
|
3070
3070
|
*
|
|
3071
3071
|
* This API allows to manage your Elastic Metal server.
|
|
3072
3072
|
*/
|
|
3073
|
-
let API$
|
|
3073
|
+
let API$t = class API extends API$w {
|
|
3074
3074
|
/** Lists the available zones of the API. */
|
|
3075
3075
|
static LOCALITIES = ['fr-par-1', 'fr-par-2', 'nl-ams-1', 'nl-ams-2'];
|
|
3076
3076
|
pageOfListServers = (request = {}) => this.client.fetch({
|
|
@@ -3118,7 +3118,7 @@ let API$s = class API extends API$v {
|
|
|
3118
3118
|
*/
|
|
3119
3119
|
createServer = request => this.client.fetch({
|
|
3120
3120
|
body: JSON.stringify(marshalCreateServerRequest$1(request, this.client.settings)),
|
|
3121
|
-
headers: jsonContentHeaders$
|
|
3121
|
+
headers: jsonContentHeaders$r,
|
|
3122
3122
|
method: 'POST',
|
|
3123
3123
|
path: `/baremetal/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers`
|
|
3124
3124
|
}, unmarshalServer$1);
|
|
@@ -3133,7 +3133,7 @@ let API$s = class API extends API$v {
|
|
|
3133
3133
|
*/
|
|
3134
3134
|
updateServer = request => this.client.fetch({
|
|
3135
3135
|
body: JSON.stringify(marshalUpdateServerRequest$1(request, this.client.settings)),
|
|
3136
|
-
headers: jsonContentHeaders$
|
|
3136
|
+
headers: jsonContentHeaders$r,
|
|
3137
3137
|
method: 'PATCH',
|
|
3138
3138
|
path: `/baremetal/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}`
|
|
3139
3139
|
}, unmarshalServer$1);
|
|
@@ -3147,7 +3147,7 @@ let API$s = class API extends API$v {
|
|
|
3147
3147
|
*/
|
|
3148
3148
|
installServer = request => this.client.fetch({
|
|
3149
3149
|
body: JSON.stringify(marshalInstallServerRequest(request, this.client.settings)),
|
|
3150
|
-
headers: jsonContentHeaders$
|
|
3150
|
+
headers: jsonContentHeaders$r,
|
|
3151
3151
|
method: 'POST',
|
|
3152
3152
|
path: `/baremetal/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/install`
|
|
3153
3153
|
}, unmarshalServer$1);
|
|
@@ -3185,7 +3185,7 @@ let API$s = class API extends API$v {
|
|
|
3185
3185
|
*/
|
|
3186
3186
|
rebootServer = request => this.client.fetch({
|
|
3187
3187
|
body: JSON.stringify(marshalRebootServerRequest(request, this.client.settings)),
|
|
3188
|
-
headers: jsonContentHeaders$
|
|
3188
|
+
headers: jsonContentHeaders$r,
|
|
3189
3189
|
method: 'POST',
|
|
3190
3190
|
path: `/baremetal/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/reboot`
|
|
3191
3191
|
}, unmarshalServer$1);
|
|
@@ -3198,7 +3198,7 @@ let API$s = class API extends API$v {
|
|
|
3198
3198
|
*/
|
|
3199
3199
|
startServer = request => this.client.fetch({
|
|
3200
3200
|
body: JSON.stringify(marshalStartServerRequest(request, this.client.settings)),
|
|
3201
|
-
headers: jsonContentHeaders$
|
|
3201
|
+
headers: jsonContentHeaders$r,
|
|
3202
3202
|
method: 'POST',
|
|
3203
3203
|
path: `/baremetal/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/start`
|
|
3204
3204
|
}, unmarshalServer$1);
|
|
@@ -3213,7 +3213,7 @@ let API$s = class API extends API$v {
|
|
|
3213
3213
|
*/
|
|
3214
3214
|
stopServer = request => this.client.fetch({
|
|
3215
3215
|
body: '{}',
|
|
3216
|
-
headers: jsonContentHeaders$
|
|
3216
|
+
headers: jsonContentHeaders$r,
|
|
3217
3217
|
method: 'POST',
|
|
3218
3218
|
path: `/baremetal/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/stop`
|
|
3219
3219
|
}, unmarshalServer$1);
|
|
@@ -3251,7 +3251,7 @@ let API$s = class API extends API$v {
|
|
|
3251
3251
|
*/
|
|
3252
3252
|
startBMCAccess = request => this.client.fetch({
|
|
3253
3253
|
body: JSON.stringify(marshalStartBMCAccessRequest(request, this.client.settings)),
|
|
3254
|
-
headers: jsonContentHeaders$
|
|
3254
|
+
headers: jsonContentHeaders$r,
|
|
3255
3255
|
method: 'POST',
|
|
3256
3256
|
path: `/baremetal/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/bmc-access`
|
|
3257
3257
|
}, unmarshalBMCAccess);
|
|
@@ -3289,7 +3289,7 @@ let API$s = class API extends API$v {
|
|
|
3289
3289
|
*/
|
|
3290
3290
|
updateIP = request => this.client.fetch({
|
|
3291
3291
|
body: JSON.stringify(marshalUpdateIPRequest$2(request, this.client.settings)),
|
|
3292
|
-
headers: jsonContentHeaders$
|
|
3292
|
+
headers: jsonContentHeaders$r,
|
|
3293
3293
|
method: 'PATCH',
|
|
3294
3294
|
path: `/baremetal/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/ips/${validatePathParam('ipId', request.ipId)}`
|
|
3295
3295
|
}, unmarshalIP$2);
|
|
@@ -3303,7 +3303,7 @@ let API$s = class API extends API$v {
|
|
|
3303
3303
|
*/
|
|
3304
3304
|
addOptionServer = request => this.client.fetch({
|
|
3305
3305
|
body: JSON.stringify(marshalAddOptionServerRequest(request, this.client.settings)),
|
|
3306
|
-
headers: jsonContentHeaders$
|
|
3306
|
+
headers: jsonContentHeaders$r,
|
|
3307
3307
|
method: 'POST',
|
|
3308
3308
|
path: `/baremetal/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/options/${validatePathParam('optionId', request.optionId)}`
|
|
3309
3309
|
}, unmarshalServer$1);
|
|
@@ -3388,7 +3388,7 @@ let API$s = class API extends API$v {
|
|
|
3388
3388
|
*/
|
|
3389
3389
|
updateSetting = request => this.client.fetch({
|
|
3390
3390
|
body: JSON.stringify(marshalUpdateSettingRequest(request, this.client.settings)),
|
|
3391
|
-
headers: jsonContentHeaders$
|
|
3391
|
+
headers: jsonContentHeaders$r,
|
|
3392
3392
|
method: 'PATCH',
|
|
3393
3393
|
path: `/baremetal/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/settings/${validatePathParam('settingId', request.settingId)}`
|
|
3394
3394
|
}, unmarshalSetting);
|
|
@@ -3420,7 +3420,7 @@ let API$s = class API extends API$v {
|
|
|
3420
3420
|
};
|
|
3421
3421
|
|
|
3422
3422
|
/** Elastic Metal Private Network API. */
|
|
3423
|
-
class PrivateNetworkAPI extends API$
|
|
3423
|
+
class PrivateNetworkAPI extends API$w {
|
|
3424
3424
|
/** Lists the available zones of the API. */
|
|
3425
3425
|
static LOCALITIES = ['fr-par-2'];
|
|
3426
3426
|
|
|
@@ -3433,7 +3433,7 @@ class PrivateNetworkAPI extends API$v {
|
|
|
3433
3433
|
*/
|
|
3434
3434
|
addServerPrivateNetwork = request => this.client.fetch({
|
|
3435
3435
|
body: JSON.stringify(marshalPrivateNetworkApiAddServerPrivateNetworkRequest(request, this.client.settings)),
|
|
3436
|
-
headers: jsonContentHeaders$
|
|
3436
|
+
headers: jsonContentHeaders$r,
|
|
3437
3437
|
method: 'POST',
|
|
3438
3438
|
path: `/baremetal/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/private-networks`
|
|
3439
3439
|
}, unmarshalServerPrivateNetwork);
|
|
@@ -3447,7 +3447,7 @@ class PrivateNetworkAPI extends API$v {
|
|
|
3447
3447
|
*/
|
|
3448
3448
|
setServerPrivateNetworks = request => this.client.fetch({
|
|
3449
3449
|
body: JSON.stringify(marshalPrivateNetworkApiSetServerPrivateNetworksRequest(request, this.client.settings)),
|
|
3450
|
-
headers: jsonContentHeaders$
|
|
3450
|
+
headers: jsonContentHeaders$r,
|
|
3451
3451
|
method: 'PUT',
|
|
3452
3452
|
path: `/baremetal/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/private-networks`
|
|
3453
3453
|
}, unmarshalSetServerPrivateNetworksResponse);
|
|
@@ -3478,7 +3478,7 @@ class PrivateNetworkAPI extends API$v {
|
|
|
3478
3478
|
});
|
|
3479
3479
|
}
|
|
3480
3480
|
|
|
3481
|
-
class BaremetalV1UtilsAPI extends API$
|
|
3481
|
+
class BaremetalV1UtilsAPI extends API$t {
|
|
3482
3482
|
/**
|
|
3483
3483
|
* Waits for {@link ServerInstall} to be in a final state.
|
|
3484
3484
|
*
|
|
@@ -3608,7 +3608,7 @@ const UpdateServerRequest = {
|
|
|
3608
3608
|
}
|
|
3609
3609
|
};
|
|
3610
3610
|
|
|
3611
|
-
var validationRules_gen$
|
|
3611
|
+
var validationRules_gen$d = /*#__PURE__*/Object.freeze({
|
|
3612
3612
|
__proto__: null,
|
|
3613
3613
|
CreateServerRequest: CreateServerRequest,
|
|
3614
3614
|
CreateServerRequestInstall: CreateServerRequestInstall,
|
|
@@ -3622,19 +3622,19 @@ var validationRules_gen$c = /*#__PURE__*/Object.freeze({
|
|
|
3622
3622
|
UpdateServerRequest: UpdateServerRequest
|
|
3623
3623
|
});
|
|
3624
3624
|
|
|
3625
|
-
var index$
|
|
3625
|
+
var index$w = /*#__PURE__*/Object.freeze({
|
|
3626
3626
|
__proto__: null,
|
|
3627
3627
|
API: BaremetalV1UtilsAPI,
|
|
3628
3628
|
PrivateNetworkAPI: PrivateNetworkAPI,
|
|
3629
3629
|
SERVER_INSTALL_TRANSIENT_STATUSES: SERVER_INSTALL_TRANSIENT_STATUSES,
|
|
3630
3630
|
SERVER_PRIVATE_NETWORK_TRANSIENT_STATUSES: SERVER_PRIVATE_NETWORK_TRANSIENT_STATUSES,
|
|
3631
3631
|
SERVER_TRANSIENT_STATUSES: SERVER_TRANSIENT_STATUSES$1,
|
|
3632
|
-
ValidationRules: validationRules_gen$
|
|
3632
|
+
ValidationRules: validationRules_gen$d
|
|
3633
3633
|
});
|
|
3634
3634
|
|
|
3635
|
-
var index$
|
|
3635
|
+
var index$v = /*#__PURE__*/Object.freeze({
|
|
3636
3636
|
__proto__: null,
|
|
3637
|
-
v1: index$
|
|
3637
|
+
v1: index$w
|
|
3638
3638
|
});
|
|
3639
3639
|
|
|
3640
3640
|
// This file was automatically generated. DO NOT EDIT.
|
|
@@ -3737,7 +3737,7 @@ const unmarshalListInvoicesResponse = data => {
|
|
|
3737
3737
|
*
|
|
3738
3738
|
* This API allows you to query your consumption.
|
|
3739
3739
|
*/
|
|
3740
|
-
let API$
|
|
3740
|
+
let API$s = class API extends API$w {
|
|
3741
3741
|
/**
|
|
3742
3742
|
* Get current month's consumption. The consumption reflects the amount of
|
|
3743
3743
|
* money you have spent for the products you have used. The consumption value
|
|
@@ -3798,14 +3798,14 @@ let API$r = class API extends API$v {
|
|
|
3798
3798
|
// This file was automatically generated. DO NOT EDIT.
|
|
3799
3799
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
3800
3800
|
|
|
3801
|
-
var index_gen$
|
|
3801
|
+
var index_gen$r = /*#__PURE__*/Object.freeze({
|
|
3802
3802
|
__proto__: null,
|
|
3803
|
-
API: API$
|
|
3803
|
+
API: API$s
|
|
3804
3804
|
});
|
|
3805
3805
|
|
|
3806
|
-
var index$
|
|
3806
|
+
var index$u = /*#__PURE__*/Object.freeze({
|
|
3807
3807
|
__proto__: null,
|
|
3808
|
-
v2alpha1: index_gen$
|
|
3808
|
+
v2alpha1: index_gen$r
|
|
3809
3809
|
});
|
|
3810
3810
|
|
|
3811
3811
|
// This file was automatically generated. DO NOT EDIT.
|
|
@@ -3985,6 +3985,7 @@ const marshalImportSnapshotFromS3Request = (request, defaults) => ({
|
|
|
3985
3985
|
key: request.key,
|
|
3986
3986
|
name: request.name,
|
|
3987
3987
|
project_id: request.projectId ?? defaults.defaultProjectId,
|
|
3988
|
+
size: request.size,
|
|
3988
3989
|
tags: request.tags
|
|
3989
3990
|
});
|
|
3990
3991
|
const marshalUpdateSnapshotRequest$3 = (request, defaults) => ({
|
|
@@ -4000,7 +4001,7 @@ const marshalUpdateVolumeRequest$2 = (request, defaults) => ({
|
|
|
4000
4001
|
|
|
4001
4002
|
// This file was automatically generated. DO NOT EDIT.
|
|
4002
4003
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
4003
|
-
const jsonContentHeaders$
|
|
4004
|
+
const jsonContentHeaders$q = {
|
|
4004
4005
|
'Content-Type': 'application/json; charset=utf-8'
|
|
4005
4006
|
};
|
|
4006
4007
|
|
|
@@ -4009,9 +4010,9 @@ const jsonContentHeaders$p = {
|
|
|
4009
4010
|
*
|
|
4010
4011
|
* This API allows you to use and manage your Block Storage volumes.
|
|
4011
4012
|
*/
|
|
4012
|
-
let API$
|
|
4013
|
+
let API$r = class API extends API$w {
|
|
4013
4014
|
/** Lists the available zones of the API. */
|
|
4014
|
-
static LOCALITIES = ['fr-par-1', 'pl-waw-3'];
|
|
4015
|
+
static LOCALITIES = ['fr-par-1', 'fr-par-2', 'nl-ams-1', 'nl-ams-3', 'pl-waw-3'];
|
|
4015
4016
|
pageOfListVolumeTypes = (request = {}) => this.client.fetch({
|
|
4016
4017
|
method: 'GET',
|
|
4017
4018
|
path: `/block/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/volume-types`,
|
|
@@ -4055,7 +4056,7 @@ let API$q = class API extends API$v {
|
|
|
4055
4056
|
*/
|
|
4056
4057
|
createVolume = request => this.client.fetch({
|
|
4057
4058
|
body: JSON.stringify(marshalCreateVolumeRequest$2(request, this.client.settings)),
|
|
4058
|
-
headers: jsonContentHeaders$
|
|
4059
|
+
headers: jsonContentHeaders$q,
|
|
4059
4060
|
method: 'POST',
|
|
4060
4061
|
path: `/block/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/volumes`
|
|
4061
4062
|
}, unmarshalVolume$4);
|
|
@@ -4103,7 +4104,7 @@ let API$q = class API extends API$v {
|
|
|
4103
4104
|
*/
|
|
4104
4105
|
updateVolume = request => this.client.fetch({
|
|
4105
4106
|
body: JSON.stringify(marshalUpdateVolumeRequest$2(request, this.client.settings)),
|
|
4106
|
-
headers: jsonContentHeaders$
|
|
4107
|
+
headers: jsonContentHeaders$q,
|
|
4107
4108
|
method: 'PATCH',
|
|
4108
4109
|
path: `/block/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/volumes/${validatePathParam('volumeId', request.volumeId)}`
|
|
4109
4110
|
}, unmarshalVolume$4);
|
|
@@ -4155,13 +4156,13 @@ let API$q = class API extends API$v {
|
|
|
4155
4156
|
*/
|
|
4156
4157
|
createSnapshot = request => this.client.fetch({
|
|
4157
4158
|
body: JSON.stringify(marshalCreateSnapshotRequest$3(request, this.client.settings)),
|
|
4158
|
-
headers: jsonContentHeaders$
|
|
4159
|
+
headers: jsonContentHeaders$q,
|
|
4159
4160
|
method: 'POST',
|
|
4160
4161
|
path: `/block/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/snapshots`
|
|
4161
4162
|
}, unmarshalSnapshot$3);
|
|
4162
4163
|
importSnapshotFromS3 = request => this.client.fetch({
|
|
4163
4164
|
body: JSON.stringify(marshalImportSnapshotFromS3Request(request, this.client.settings)),
|
|
4164
|
-
headers: jsonContentHeaders$
|
|
4165
|
+
headers: jsonContentHeaders$q,
|
|
4165
4166
|
method: 'POST',
|
|
4166
4167
|
path: `/block/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/snapshots/import-from-s3`
|
|
4167
4168
|
}, unmarshalSnapshot$3);
|
|
@@ -4185,7 +4186,7 @@ let API$q = class API extends API$v {
|
|
|
4185
4186
|
*/
|
|
4186
4187
|
updateSnapshot = request => this.client.fetch({
|
|
4187
4188
|
body: JSON.stringify(marshalUpdateSnapshotRequest$3(request, this.client.settings)),
|
|
4188
|
-
headers: jsonContentHeaders$
|
|
4189
|
+
headers: jsonContentHeaders$q,
|
|
4189
4190
|
method: 'PATCH',
|
|
4190
4191
|
path: `/block/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/snapshots/${validatePathParam('snapshotId', request.snapshotId)}`
|
|
4191
4192
|
}, unmarshalSnapshot$3);
|
|
@@ -4242,7 +4243,7 @@ const Reference = {
|
|
|
4242
4243
|
}
|
|
4243
4244
|
};
|
|
4244
4245
|
|
|
4245
|
-
var validationRules_gen$
|
|
4246
|
+
var validationRules_gen$c = /*#__PURE__*/Object.freeze({
|
|
4246
4247
|
__proto__: null,
|
|
4247
4248
|
CreateSnapshotRequest: CreateSnapshotRequest,
|
|
4248
4249
|
CreateVolumeRequest: CreateVolumeRequest,
|
|
@@ -4256,18 +4257,18 @@ var validationRules_gen$b = /*#__PURE__*/Object.freeze({
|
|
|
4256
4257
|
// This file was automatically generated. DO NOT EDIT.
|
|
4257
4258
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
4258
4259
|
|
|
4259
|
-
var index_gen$
|
|
4260
|
+
var index_gen$q = /*#__PURE__*/Object.freeze({
|
|
4260
4261
|
__proto__: null,
|
|
4261
|
-
API: API$
|
|
4262
|
+
API: API$r,
|
|
4262
4263
|
REFERENCE_TRANSIENT_STATUSES: REFERENCE_TRANSIENT_STATUSES,
|
|
4263
4264
|
SNAPSHOT_TRANSIENT_STATUSES: SNAPSHOT_TRANSIENT_STATUSES$3,
|
|
4264
4265
|
VOLUME_TRANSIENT_STATUSES: VOLUME_TRANSIENT_STATUSES$1,
|
|
4265
|
-
ValidationRules: validationRules_gen$
|
|
4266
|
+
ValidationRules: validationRules_gen$c
|
|
4266
4267
|
});
|
|
4267
4268
|
|
|
4268
|
-
var index$
|
|
4269
|
+
var index$t = /*#__PURE__*/Object.freeze({
|
|
4269
4270
|
__proto__: null,
|
|
4270
|
-
v1alpha1: index_gen$
|
|
4271
|
+
v1alpha1: index_gen$q
|
|
4271
4272
|
});
|
|
4272
4273
|
|
|
4273
4274
|
// This file was automatically generated. DO NOT EDIT.
|
|
@@ -4544,7 +4545,7 @@ const marshalTriggerTestAlertRequest = (request, defaults) => ({
|
|
|
4544
4545
|
|
|
4545
4546
|
// This file was automatically generated. DO NOT EDIT.
|
|
4546
4547
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
4547
|
-
const jsonContentHeaders$
|
|
4548
|
+
const jsonContentHeaders$p = {
|
|
4548
4549
|
'Content-Type': 'application/json; charset=utf-8'
|
|
4549
4550
|
};
|
|
4550
4551
|
|
|
@@ -4555,7 +4556,7 @@ const jsonContentHeaders$o = {
|
|
|
4555
4556
|
* Scaleway's Cockpit stores metrics and logs and provides a dedicated Grafana
|
|
4556
4557
|
* for dashboarding to visualize them.
|
|
4557
4558
|
*/
|
|
4558
|
-
let API$
|
|
4559
|
+
let API$q = class API extends API$w {
|
|
4559
4560
|
/**
|
|
4560
4561
|
* Activate the Cockpit of the specified Project ID.
|
|
4561
4562
|
*
|
|
@@ -4564,7 +4565,7 @@ let API$p = class API extends API$v {
|
|
|
4564
4565
|
*/
|
|
4565
4566
|
activateCockpit = (request = {}) => this.client.fetch({
|
|
4566
4567
|
body: JSON.stringify(marshalActivateCockpitRequest(request, this.client.settings)),
|
|
4567
|
-
headers: jsonContentHeaders$
|
|
4568
|
+
headers: jsonContentHeaders$p,
|
|
4568
4569
|
method: 'POST',
|
|
4569
4570
|
path: `/cockpit/v1beta1/activate`
|
|
4570
4571
|
}, unmarshalCockpit);
|
|
@@ -4610,7 +4611,7 @@ let API$p = class API extends API$v {
|
|
|
4610
4611
|
*/
|
|
4611
4612
|
deactivateCockpit = (request = {}) => this.client.fetch({
|
|
4612
4613
|
body: JSON.stringify(marshalDeactivateCockpitRequest(request, this.client.settings)),
|
|
4613
|
-
headers: jsonContentHeaders$
|
|
4614
|
+
headers: jsonContentHeaders$p,
|
|
4614
4615
|
method: 'POST',
|
|
4615
4616
|
path: `/cockpit/v1beta1/deactivate`
|
|
4616
4617
|
}, unmarshalCockpit);
|
|
@@ -4623,7 +4624,7 @@ let API$p = class API extends API$v {
|
|
|
4623
4624
|
*/
|
|
4624
4625
|
createDatasource = request => this.client.fetch({
|
|
4625
4626
|
body: JSON.stringify(marshalCreateDatasourceRequest(request, this.client.settings)),
|
|
4626
|
-
headers: jsonContentHeaders$
|
|
4627
|
+
headers: jsonContentHeaders$p,
|
|
4627
4628
|
method: 'POST',
|
|
4628
4629
|
path: `/cockpit/v1beta1/datasources`
|
|
4629
4630
|
}, unmarshalDatasource);
|
|
@@ -4659,7 +4660,7 @@ let API$p = class API extends API$v {
|
|
|
4659
4660
|
*/
|
|
4660
4661
|
createToken = (request = {}) => this.client.fetch({
|
|
4661
4662
|
body: JSON.stringify(marshalCreateTokenRequest$2(request, this.client.settings)),
|
|
4662
|
-
headers: jsonContentHeaders$
|
|
4663
|
+
headers: jsonContentHeaders$p,
|
|
4663
4664
|
method: 'POST',
|
|
4664
4665
|
path: `/cockpit/v1beta1/tokens`
|
|
4665
4666
|
}, unmarshalToken$2);
|
|
@@ -4706,7 +4707,7 @@ let API$p = class API extends API$v {
|
|
|
4706
4707
|
*/
|
|
4707
4708
|
createContactPoint = (request = {}) => this.client.fetch({
|
|
4708
4709
|
body: JSON.stringify(marshalCreateContactPointRequest(request, this.client.settings)),
|
|
4709
|
-
headers: jsonContentHeaders$
|
|
4710
|
+
headers: jsonContentHeaders$p,
|
|
4710
4711
|
method: 'POST',
|
|
4711
4712
|
path: `/cockpit/v1beta1/contact-points`
|
|
4712
4713
|
}, unmarshalContactPoint);
|
|
@@ -4732,7 +4733,7 @@ let API$p = class API extends API$v {
|
|
|
4732
4733
|
*/
|
|
4733
4734
|
deleteContactPoint = (request = {}) => this.client.fetch({
|
|
4734
4735
|
body: JSON.stringify(marshalDeleteContactPointRequest(request, this.client.settings)),
|
|
4735
|
-
headers: jsonContentHeaders$
|
|
4736
|
+
headers: jsonContentHeaders$p,
|
|
4736
4737
|
method: 'POST',
|
|
4737
4738
|
path: `/cockpit/v1beta1/delete-contact-point`
|
|
4738
4739
|
});
|
|
@@ -4744,7 +4745,7 @@ let API$p = class API extends API$v {
|
|
|
4744
4745
|
*/
|
|
4745
4746
|
enableManagedAlerts = (request = {}) => this.client.fetch({
|
|
4746
4747
|
body: JSON.stringify(marshalEnableManagedAlertsRequest(request, this.client.settings)),
|
|
4747
|
-
headers: jsonContentHeaders$
|
|
4748
|
+
headers: jsonContentHeaders$p,
|
|
4748
4749
|
method: 'POST',
|
|
4749
4750
|
path: `/cockpit/v1beta1/enable-managed-alerts`
|
|
4750
4751
|
});
|
|
@@ -4756,7 +4757,7 @@ let API$p = class API extends API$v {
|
|
|
4756
4757
|
*/
|
|
4757
4758
|
disableManagedAlerts = (request = {}) => this.client.fetch({
|
|
4758
4759
|
body: JSON.stringify(marshalDisableManagedAlertsRequest(request, this.client.settings)),
|
|
4759
|
-
headers: jsonContentHeaders$
|
|
4760
|
+
headers: jsonContentHeaders$p,
|
|
4760
4761
|
method: 'POST',
|
|
4761
4762
|
path: `/cockpit/v1beta1/disable-managed-alerts`
|
|
4762
4763
|
});
|
|
@@ -4768,7 +4769,7 @@ let API$p = class API extends API$v {
|
|
|
4768
4769
|
*/
|
|
4769
4770
|
triggerTestAlert = (request = {}) => this.client.fetch({
|
|
4770
4771
|
body: JSON.stringify(marshalTriggerTestAlertRequest(request, this.client.settings)),
|
|
4771
|
-
headers: jsonContentHeaders$
|
|
4772
|
+
headers: jsonContentHeaders$p,
|
|
4772
4773
|
method: 'POST',
|
|
4773
4774
|
path: `/cockpit/v1beta1/trigger-test-alert`
|
|
4774
4775
|
});
|
|
@@ -4782,7 +4783,7 @@ let API$p = class API extends API$v {
|
|
|
4782
4783
|
*/
|
|
4783
4784
|
createGrafanaUser = request => this.client.fetch({
|
|
4784
4785
|
body: JSON.stringify(marshalCreateGrafanaUserRequest(request, this.client.settings)),
|
|
4785
|
-
headers: jsonContentHeaders$
|
|
4786
|
+
headers: jsonContentHeaders$p,
|
|
4786
4787
|
method: 'POST',
|
|
4787
4788
|
path: `/cockpit/v1beta1/grafana-users`
|
|
4788
4789
|
}, unmarshalGrafanaUser);
|
|
@@ -4809,7 +4810,7 @@ let API$p = class API extends API$v {
|
|
|
4809
4810
|
*/
|
|
4810
4811
|
deleteGrafanaUser = request => this.client.fetch({
|
|
4811
4812
|
body: JSON.stringify(marshalDeleteGrafanaUserRequest(request, this.client.settings)),
|
|
4812
|
-
headers: jsonContentHeaders$
|
|
4813
|
+
headers: jsonContentHeaders$p,
|
|
4813
4814
|
method: 'POST',
|
|
4814
4815
|
path: `/cockpit/v1beta1/grafana-users/${validatePathParam('grafanaUserId', request.grafanaUserId)}/delete`
|
|
4815
4816
|
});
|
|
@@ -4823,7 +4824,7 @@ let API$p = class API extends API$v {
|
|
|
4823
4824
|
*/
|
|
4824
4825
|
resetGrafanaUserPassword = request => this.client.fetch({
|
|
4825
4826
|
body: JSON.stringify(marshalResetGrafanaUserPasswordRequest(request, this.client.settings)),
|
|
4826
|
-
headers: jsonContentHeaders$
|
|
4827
|
+
headers: jsonContentHeaders$p,
|
|
4827
4828
|
method: 'POST',
|
|
4828
4829
|
path: `/cockpit/v1beta1/grafana-users/${validatePathParam('grafanaUserId', request.grafanaUserId)}/reset-password`
|
|
4829
4830
|
}, unmarshalGrafanaUser);
|
|
@@ -4850,7 +4851,7 @@ let API$p = class API extends API$v {
|
|
|
4850
4851
|
*/
|
|
4851
4852
|
selectPlan = request => this.client.fetch({
|
|
4852
4853
|
body: JSON.stringify(marshalSelectPlanRequest(request, this.client.settings)),
|
|
4853
|
-
headers: jsonContentHeaders$
|
|
4854
|
+
headers: jsonContentHeaders$p,
|
|
4854
4855
|
method: 'POST',
|
|
4855
4856
|
path: `/cockpit/v1beta1/select-plan`
|
|
4856
4857
|
}, unmarshalSelectPlanResponse);
|
|
@@ -4885,15 +4886,15 @@ let API$p = class API extends API$v {
|
|
|
4885
4886
|
// This file was automatically generated. DO NOT EDIT.
|
|
4886
4887
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
4887
4888
|
|
|
4888
|
-
var index_gen$
|
|
4889
|
+
var index_gen$p = /*#__PURE__*/Object.freeze({
|
|
4889
4890
|
__proto__: null,
|
|
4890
|
-
API: API$
|
|
4891
|
+
API: API$q,
|
|
4891
4892
|
COCKPIT_TRANSIENT_STATUSES: COCKPIT_TRANSIENT_STATUSES
|
|
4892
4893
|
});
|
|
4893
4894
|
|
|
4894
|
-
var index$
|
|
4895
|
+
var index$s = /*#__PURE__*/Object.freeze({
|
|
4895
4896
|
__proto__: null,
|
|
4896
|
-
v1beta1: index_gen$
|
|
4897
|
+
v1beta1: index_gen$p
|
|
4897
4898
|
});
|
|
4898
4899
|
|
|
4899
4900
|
// This file was automatically generated. DO NOT EDIT.
|
|
@@ -5272,12 +5273,12 @@ const marshalUpdateTriggerRequest$1 = (request, defaults) => ({
|
|
|
5272
5273
|
|
|
5273
5274
|
// This file was automatically generated. DO NOT EDIT.
|
|
5274
5275
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
5275
|
-
const jsonContentHeaders$
|
|
5276
|
+
const jsonContentHeaders$o = {
|
|
5276
5277
|
'Content-Type': 'application/json; charset=utf-8'
|
|
5277
5278
|
};
|
|
5278
5279
|
|
|
5279
5280
|
/** Serverless Containers API. */
|
|
5280
|
-
let API$
|
|
5281
|
+
let API$p = class API extends API$w {
|
|
5281
5282
|
/** Lists the available regions of the API. */
|
|
5282
5283
|
static LOCALITIES = ['fr-par', 'nl-ams', 'pl-waw'];
|
|
5283
5284
|
pageOfListNamespaces = (request = {}) => this.client.fetch({
|
|
@@ -5322,7 +5323,7 @@ let API$o = class API extends API$v {
|
|
|
5322
5323
|
*/
|
|
5323
5324
|
createNamespace = (request = {}) => this.client.fetch({
|
|
5324
5325
|
body: JSON.stringify(marshalCreateNamespaceRequest$2(request, this.client.settings)),
|
|
5325
|
-
headers: jsonContentHeaders$
|
|
5326
|
+
headers: jsonContentHeaders$o,
|
|
5326
5327
|
method: 'POST',
|
|
5327
5328
|
path: `/containers/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/namespaces`
|
|
5328
5329
|
}, unmarshalNamespace$2);
|
|
@@ -5336,7 +5337,7 @@ let API$o = class API extends API$v {
|
|
|
5336
5337
|
*/
|
|
5337
5338
|
updateNamespace = request => this.client.fetch({
|
|
5338
5339
|
body: JSON.stringify(marshalUpdateNamespaceRequest$2(request, this.client.settings)),
|
|
5339
|
-
headers: jsonContentHeaders$
|
|
5340
|
+
headers: jsonContentHeaders$o,
|
|
5340
5341
|
method: 'PATCH',
|
|
5341
5342
|
path: `/containers/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/namespaces/${validatePathParam('namespaceId', request.namespaceId)}`
|
|
5342
5343
|
}, unmarshalNamespace$2);
|
|
@@ -5394,7 +5395,7 @@ let API$o = class API extends API$v {
|
|
|
5394
5395
|
*/
|
|
5395
5396
|
createContainer = request => this.client.fetch({
|
|
5396
5397
|
body: JSON.stringify(marshalCreateContainerRequest(request, this.client.settings)),
|
|
5397
|
-
headers: jsonContentHeaders$
|
|
5398
|
+
headers: jsonContentHeaders$o,
|
|
5398
5399
|
method: 'POST',
|
|
5399
5400
|
path: `/containers/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/containers`
|
|
5400
5401
|
}, unmarshalContainer);
|
|
@@ -5408,7 +5409,7 @@ let API$o = class API extends API$v {
|
|
|
5408
5409
|
*/
|
|
5409
5410
|
updateContainer = request => this.client.fetch({
|
|
5410
5411
|
body: JSON.stringify(marshalUpdateContainerRequest(request, this.client.settings)),
|
|
5411
|
-
headers: jsonContentHeaders$
|
|
5412
|
+
headers: jsonContentHeaders$o,
|
|
5412
5413
|
method: 'PATCH',
|
|
5413
5414
|
path: `/containers/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/containers/${validatePathParam('containerId', request.containerId)}`
|
|
5414
5415
|
}, unmarshalContainer);
|
|
@@ -5432,7 +5433,7 @@ let API$o = class API extends API$v {
|
|
|
5432
5433
|
*/
|
|
5433
5434
|
deployContainer = request => this.client.fetch({
|
|
5434
5435
|
body: '{}',
|
|
5435
|
-
headers: jsonContentHeaders$
|
|
5436
|
+
headers: jsonContentHeaders$o,
|
|
5436
5437
|
method: 'POST',
|
|
5437
5438
|
path: `/containers/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/containers/${validatePathParam('containerId', request.containerId)}/deploy`
|
|
5438
5439
|
}, unmarshalContainer);
|
|
@@ -5478,7 +5479,7 @@ let API$o = class API extends API$v {
|
|
|
5478
5479
|
*/
|
|
5479
5480
|
createCron = request => this.client.fetch({
|
|
5480
5481
|
body: JSON.stringify(marshalCreateCronRequest$1(request, this.client.settings)),
|
|
5481
|
-
headers: jsonContentHeaders$
|
|
5482
|
+
headers: jsonContentHeaders$o,
|
|
5482
5483
|
method: 'POST',
|
|
5483
5484
|
path: `/containers/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/crons`
|
|
5484
5485
|
}, unmarshalCron$1);
|
|
@@ -5491,7 +5492,7 @@ let API$o = class API extends API$v {
|
|
|
5491
5492
|
*/
|
|
5492
5493
|
updateCron = request => this.client.fetch({
|
|
5493
5494
|
body: JSON.stringify(marshalUpdateCronRequest$1(request, this.client.settings)),
|
|
5494
|
-
headers: jsonContentHeaders$
|
|
5495
|
+
headers: jsonContentHeaders$o,
|
|
5495
5496
|
method: 'PATCH',
|
|
5496
5497
|
path: `/containers/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/crons/${validatePathParam('cronId', request.cronId)}`
|
|
5497
5498
|
}, unmarshalCron$1);
|
|
@@ -5565,7 +5566,7 @@ let API$o = class API extends API$v {
|
|
|
5565
5566
|
*/
|
|
5566
5567
|
createDomain = request => this.client.fetch({
|
|
5567
5568
|
body: JSON.stringify(marshalCreateDomainRequest$2(request, this.client.settings)),
|
|
5568
|
-
headers: jsonContentHeaders$
|
|
5569
|
+
headers: jsonContentHeaders$o,
|
|
5569
5570
|
method: 'POST',
|
|
5570
5571
|
path: `/containers/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/domains`
|
|
5571
5572
|
}, unmarshalDomain$3);
|
|
@@ -5609,7 +5610,7 @@ let API$o = class API extends API$v {
|
|
|
5609
5610
|
*/
|
|
5610
5611
|
createToken = (request = {}) => this.client.fetch({
|
|
5611
5612
|
body: JSON.stringify(marshalCreateTokenRequest$1(request, this.client.settings)),
|
|
5612
|
-
headers: jsonContentHeaders$
|
|
5613
|
+
headers: jsonContentHeaders$o,
|
|
5613
5614
|
method: 'POST',
|
|
5614
5615
|
path: `/containers/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/tokens`
|
|
5615
5616
|
}, unmarshalToken$1);
|
|
@@ -5667,7 +5668,7 @@ let API$o = class API extends API$v {
|
|
|
5667
5668
|
*/
|
|
5668
5669
|
createTrigger = request => this.client.fetch({
|
|
5669
5670
|
body: JSON.stringify(marshalCreateTriggerRequest$1(request, this.client.settings)),
|
|
5670
|
-
headers: jsonContentHeaders$
|
|
5671
|
+
headers: jsonContentHeaders$o,
|
|
5671
5672
|
method: 'POST',
|
|
5672
5673
|
path: `/containers/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/triggers`
|
|
5673
5674
|
}, unmarshalTrigger$1);
|
|
@@ -5724,7 +5725,7 @@ let API$o = class API extends API$v {
|
|
|
5724
5725
|
*/
|
|
5725
5726
|
updateTrigger = request => this.client.fetch({
|
|
5726
5727
|
body: JSON.stringify(marshalUpdateTriggerRequest$1(request, this.client.settings)),
|
|
5727
|
-
headers: jsonContentHeaders$
|
|
5728
|
+
headers: jsonContentHeaders$o,
|
|
5728
5729
|
method: 'PATCH',
|
|
5729
5730
|
path: `/containers/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/triggers/${validatePathParam('triggerId', request.triggerId)}`
|
|
5730
5731
|
}, unmarshalTrigger$1);
|
|
@@ -5784,7 +5785,7 @@ const UpdateTriggerRequest$1 = {
|
|
|
5784
5785
|
}
|
|
5785
5786
|
};
|
|
5786
5787
|
|
|
5787
|
-
var validationRules_gen$
|
|
5788
|
+
var validationRules_gen$b = /*#__PURE__*/Object.freeze({
|
|
5788
5789
|
__proto__: null,
|
|
5789
5790
|
CreateTriggerRequest: CreateTriggerRequest$1,
|
|
5790
5791
|
CreateTriggerRequestMnqNatsClientConfig: CreateTriggerRequestMnqNatsClientConfig$1,
|
|
@@ -5795,21 +5796,21 @@ var validationRules_gen$a = /*#__PURE__*/Object.freeze({
|
|
|
5795
5796
|
// This file was automatically generated. DO NOT EDIT.
|
|
5796
5797
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
5797
5798
|
|
|
5798
|
-
var index_gen$
|
|
5799
|
+
var index_gen$o = /*#__PURE__*/Object.freeze({
|
|
5799
5800
|
__proto__: null,
|
|
5800
|
-
API: API$
|
|
5801
|
+
API: API$p,
|
|
5801
5802
|
CONTAINER_TRANSIENT_STATUSES: CONTAINER_TRANSIENT_STATUSES,
|
|
5802
5803
|
CRON_TRANSIENT_STATUSES: CRON_TRANSIENT_STATUSES$1,
|
|
5803
5804
|
DOMAIN_TRANSIENT_STATUSES: DOMAIN_TRANSIENT_STATUSES$3,
|
|
5804
5805
|
NAMESPACE_TRANSIENT_STATUSES: NAMESPACE_TRANSIENT_STATUSES$2,
|
|
5805
5806
|
TOKEN_TRANSIENT_STATUSES: TOKEN_TRANSIENT_STATUSES$1,
|
|
5806
5807
|
TRIGGER_TRANSIENT_STATUSES: TRIGGER_TRANSIENT_STATUSES$1,
|
|
5807
|
-
ValidationRules: validationRules_gen$
|
|
5808
|
+
ValidationRules: validationRules_gen$b
|
|
5808
5809
|
});
|
|
5809
5810
|
|
|
5810
|
-
var index$
|
|
5811
|
+
var index$r = /*#__PURE__*/Object.freeze({
|
|
5811
5812
|
__proto__: null,
|
|
5812
|
-
v1beta1: index_gen$
|
|
5813
|
+
v1beta1: index_gen$o
|
|
5813
5814
|
});
|
|
5814
5815
|
|
|
5815
5816
|
// This file was automatically generated. DO NOT EDIT.
|
|
@@ -5881,7 +5882,7 @@ const unmarshalReadReplica$1 = data => {
|
|
|
5881
5882
|
status: data.status
|
|
5882
5883
|
};
|
|
5883
5884
|
};
|
|
5884
|
-
const unmarshalDatabase$
|
|
5885
|
+
const unmarshalDatabase$2 = data => {
|
|
5885
5886
|
if (!isJSONObject(data)) {
|
|
5886
5887
|
throw new TypeError(`Unmarshalling the type 'Database' failed as data isn't a dictionary.`);
|
|
5887
5888
|
}
|
|
@@ -5963,6 +5964,7 @@ const unmarshalVolume$3 = data => {
|
|
|
5963
5964
|
throw new TypeError(`Unmarshalling the type 'Volume' failed as data isn't a dictionary.`);
|
|
5964
5965
|
}
|
|
5965
5966
|
return {
|
|
5967
|
+
class: data.class,
|
|
5966
5968
|
size: data.size,
|
|
5967
5969
|
type: data.type
|
|
5968
5970
|
};
|
|
@@ -6006,6 +6008,15 @@ const unmarshalPrivilege$1 = data => {
|
|
|
6006
6008
|
userName: data.user_name
|
|
6007
6009
|
};
|
|
6008
6010
|
};
|
|
6011
|
+
const unmarshalSnapshotVolumeType$1 = data => {
|
|
6012
|
+
if (!isJSONObject(data)) {
|
|
6013
|
+
throw new TypeError(`Unmarshalling the type 'SnapshotVolumeType' failed as data isn't a dictionary.`);
|
|
6014
|
+
}
|
|
6015
|
+
return {
|
|
6016
|
+
class: data.class,
|
|
6017
|
+
type: data.type
|
|
6018
|
+
};
|
|
6019
|
+
};
|
|
6009
6020
|
const unmarshalSnapshot$2 = data => {
|
|
6010
6021
|
if (!isJSONObject(data)) {
|
|
6011
6022
|
throw new TypeError(`Unmarshalling the type 'Snapshot' failed as data isn't a dictionary.`);
|
|
@@ -6021,7 +6032,8 @@ const unmarshalSnapshot$2 = data => {
|
|
|
6021
6032
|
region: data.region,
|
|
6022
6033
|
size: data.size,
|
|
6023
6034
|
status: data.status,
|
|
6024
|
-
updatedAt: unmarshalDate(data.updated_at)
|
|
6035
|
+
updatedAt: unmarshalDate(data.updated_at),
|
|
6036
|
+
volumeType: data.volume_type ? unmarshalSnapshotVolumeType$1(data.volume_type) : undefined
|
|
6025
6037
|
};
|
|
6026
6038
|
};
|
|
6027
6039
|
const unmarshalUser$2 = data => {
|
|
@@ -6138,12 +6150,12 @@ const unmarshalListDatabaseEnginesResponse$1 = data => {
|
|
|
6138
6150
|
totalCount: data.total_count
|
|
6139
6151
|
};
|
|
6140
6152
|
};
|
|
6141
|
-
const unmarshalListDatabasesResponse$
|
|
6153
|
+
const unmarshalListDatabasesResponse$2 = data => {
|
|
6142
6154
|
if (!isJSONObject(data)) {
|
|
6143
6155
|
throw new TypeError(`Unmarshalling the type 'ListDatabasesResponse' failed as data isn't a dictionary.`);
|
|
6144
6156
|
}
|
|
6145
6157
|
return {
|
|
6146
|
-
databases: unmarshalArrayOfObject(data.databases, unmarshalDatabase$
|
|
6158
|
+
databases: unmarshalArrayOfObject(data.databases, unmarshalDatabase$2),
|
|
6147
6159
|
totalCount: data.total_count
|
|
6148
6160
|
};
|
|
6149
6161
|
};
|
|
@@ -6205,6 +6217,7 @@ const unmarshalNodeTypeVolumeType$1 = data => {
|
|
|
6205
6217
|
}
|
|
6206
6218
|
return {
|
|
6207
6219
|
chunkSize: data.chunk_size,
|
|
6220
|
+
class: data.class,
|
|
6208
6221
|
description: data.description,
|
|
6209
6222
|
maxSize: data.max_size,
|
|
6210
6223
|
minSize: data.min_size,
|
|
@@ -6302,7 +6315,7 @@ const marshalCloneInstanceRequest$1 = (request, defaults) => ({
|
|
|
6302
6315
|
name: request.name,
|
|
6303
6316
|
node_type: request.nodeType
|
|
6304
6317
|
});
|
|
6305
|
-
const marshalCreateDatabaseRequest$
|
|
6318
|
+
const marshalCreateDatabaseRequest$2 = (request, defaults) => ({
|
|
6306
6319
|
name: request.name
|
|
6307
6320
|
});
|
|
6308
6321
|
const marshalEndpointSpecPrivateNetworkIpamConfig$1 = (request, defaults) => ({});
|
|
@@ -6441,6 +6454,10 @@ const marshalUpdateUserRequest$1 = (request, defaults) => ({
|
|
|
6441
6454
|
is_admin: request.isAdmin,
|
|
6442
6455
|
password: request.password
|
|
6443
6456
|
});
|
|
6457
|
+
const marshalUpgradeInstanceRequestMajorUpgradeWorkflow$1 = (request, defaults) => ({
|
|
6458
|
+
upgradable_version_id: request.upgradableVersionId,
|
|
6459
|
+
with_endpoints: request.withEndpoints
|
|
6460
|
+
});
|
|
6444
6461
|
const marshalUpgradeInstanceRequest$1 = (request, defaults) => ({
|
|
6445
6462
|
...resolveOneOf([{
|
|
6446
6463
|
param: 'node_type',
|
|
@@ -6457,17 +6474,20 @@ const marshalUpgradeInstanceRequest$1 = (request, defaults) => ({
|
|
|
6457
6474
|
}, {
|
|
6458
6475
|
param: 'upgradable_version_id',
|
|
6459
6476
|
value: request.upgradableVersionId
|
|
6477
|
+
}, {
|
|
6478
|
+
param: 'major_upgrade_workflow',
|
|
6479
|
+
value: request.majorUpgradeWorkflow !== undefined ? marshalUpgradeInstanceRequestMajorUpgradeWorkflow$1(request.majorUpgradeWorkflow) : undefined
|
|
6460
6480
|
}])
|
|
6461
6481
|
});
|
|
6462
6482
|
|
|
6463
6483
|
// This file was automatically generated. DO NOT EDIT.
|
|
6464
6484
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
6465
|
-
const jsonContentHeaders$
|
|
6485
|
+
const jsonContentHeaders$n = {
|
|
6466
6486
|
'Content-Type': 'application/json; charset=utf-8'
|
|
6467
6487
|
};
|
|
6468
6488
|
|
|
6469
6489
|
/** Managed Document Databases API. */
|
|
6470
|
-
let API$
|
|
6490
|
+
let API$o = class API extends API$w {
|
|
6471
6491
|
/** Lists the available regions of the API. */
|
|
6472
6492
|
static LOCALITIES = ['fr-par', 'nl-ams', 'pl-waw'];
|
|
6473
6493
|
pageOfListDatabaseEngines = (request = {}) => this.client.fetch({
|
|
@@ -6511,7 +6531,7 @@ let API$n = class API extends API$v {
|
|
|
6511
6531
|
*/
|
|
6512
6532
|
upgradeInstance = request => this.client.fetch({
|
|
6513
6533
|
body: JSON.stringify(marshalUpgradeInstanceRequest$1(request, this.client.settings)),
|
|
6514
|
-
headers: jsonContentHeaders$
|
|
6534
|
+
headers: jsonContentHeaders$n,
|
|
6515
6535
|
method: 'POST',
|
|
6516
6536
|
path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/upgrade`
|
|
6517
6537
|
}, unmarshalInstance$2);
|
|
@@ -6569,7 +6589,7 @@ let API$n = class API extends API$v {
|
|
|
6569
6589
|
*/
|
|
6570
6590
|
createInstance = request => this.client.fetch({
|
|
6571
6591
|
body: JSON.stringify(marshalCreateInstanceRequest$1(request, this.client.settings)),
|
|
6572
|
-
headers: jsonContentHeaders$
|
|
6592
|
+
headers: jsonContentHeaders$n,
|
|
6573
6593
|
method: 'POST',
|
|
6574
6594
|
path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances`
|
|
6575
6595
|
}, unmarshalInstance$2);
|
|
@@ -6583,7 +6603,7 @@ let API$n = class API extends API$v {
|
|
|
6583
6603
|
*/
|
|
6584
6604
|
updateInstance = request => this.client.fetch({
|
|
6585
6605
|
body: JSON.stringify(marshalUpdateInstanceRequest$1(request, this.client.settings)),
|
|
6586
|
-
headers: jsonContentHeaders$
|
|
6606
|
+
headers: jsonContentHeaders$n,
|
|
6587
6607
|
method: 'PATCH',
|
|
6588
6608
|
path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}`
|
|
6589
6609
|
}, unmarshalInstance$2);
|
|
@@ -6614,7 +6634,7 @@ let API$n = class API extends API$v {
|
|
|
6614
6634
|
*/
|
|
6615
6635
|
cloneInstance = request => this.client.fetch({
|
|
6616
6636
|
body: JSON.stringify(marshalCloneInstanceRequest$1(request, this.client.settings)),
|
|
6617
|
-
headers: jsonContentHeaders$
|
|
6637
|
+
headers: jsonContentHeaders$n,
|
|
6618
6638
|
method: 'POST',
|
|
6619
6639
|
path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/clone`
|
|
6620
6640
|
}, unmarshalInstance$2);
|
|
@@ -6629,7 +6649,7 @@ let API$n = class API extends API$v {
|
|
|
6629
6649
|
*/
|
|
6630
6650
|
restartInstance = request => this.client.fetch({
|
|
6631
6651
|
body: '{}',
|
|
6632
|
-
headers: jsonContentHeaders$
|
|
6652
|
+
headers: jsonContentHeaders$n,
|
|
6633
6653
|
method: 'POST',
|
|
6634
6654
|
path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/restart`
|
|
6635
6655
|
}, unmarshalInstance$2);
|
|
@@ -6660,7 +6680,7 @@ let API$n = class API extends API$v {
|
|
|
6660
6680
|
*/
|
|
6661
6681
|
renewInstanceCertificate = request => this.client.fetch({
|
|
6662
6682
|
body: '{}',
|
|
6663
|
-
headers: jsonContentHeaders$
|
|
6683
|
+
headers: jsonContentHeaders$n,
|
|
6664
6684
|
method: 'POST',
|
|
6665
6685
|
path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/renew-certificate`
|
|
6666
6686
|
});
|
|
@@ -6689,7 +6709,7 @@ let API$n = class API extends API$v {
|
|
|
6689
6709
|
*/
|
|
6690
6710
|
createReadReplica = request => this.client.fetch({
|
|
6691
6711
|
body: JSON.stringify(marshalCreateReadReplicaRequest$1(request, this.client.settings)),
|
|
6692
|
-
headers: jsonContentHeaders$
|
|
6712
|
+
headers: jsonContentHeaders$n,
|
|
6693
6713
|
method: 'POST',
|
|
6694
6714
|
path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/read-replicas`
|
|
6695
6715
|
}, unmarshalReadReplica$1);
|
|
@@ -6741,7 +6761,7 @@ let API$n = class API extends API$v {
|
|
|
6741
6761
|
*/
|
|
6742
6762
|
resetReadReplica = request => this.client.fetch({
|
|
6743
6763
|
body: '{}',
|
|
6744
|
-
headers: jsonContentHeaders$
|
|
6764
|
+
headers: jsonContentHeaders$n,
|
|
6745
6765
|
method: 'POST',
|
|
6746
6766
|
path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/read-replicas/${validatePathParam('readReplicaId', request.readReplicaId)}/reset`
|
|
6747
6767
|
}, unmarshalReadReplica$1);
|
|
@@ -6755,7 +6775,7 @@ let API$n = class API extends API$v {
|
|
|
6755
6775
|
*/
|
|
6756
6776
|
promoteReadReplica = request => this.client.fetch({
|
|
6757
6777
|
body: '{}',
|
|
6758
|
-
headers: jsonContentHeaders$
|
|
6778
|
+
headers: jsonContentHeaders$n,
|
|
6759
6779
|
method: 'POST',
|
|
6760
6780
|
path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/read-replicas/${validatePathParam('readReplicaId', request.readReplicaId)}/promote`
|
|
6761
6781
|
}, unmarshalInstance$2);
|
|
@@ -6770,7 +6790,7 @@ let API$n = class API extends API$v {
|
|
|
6770
6790
|
*/
|
|
6771
6791
|
createReadReplicaEndpoint = request => this.client.fetch({
|
|
6772
6792
|
body: JSON.stringify(marshalCreateReadReplicaEndpointRequest$1(request, this.client.settings)),
|
|
6773
|
-
headers: jsonContentHeaders$
|
|
6793
|
+
headers: jsonContentHeaders$n,
|
|
6774
6794
|
method: 'POST',
|
|
6775
6795
|
path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/read-replicas/${validatePathParam('readReplicaId', request.readReplicaId)}/endpoints`
|
|
6776
6796
|
}, unmarshalReadReplica$1);
|
|
@@ -6822,7 +6842,7 @@ let API$n = class API extends API$v {
|
|
|
6822
6842
|
*/
|
|
6823
6843
|
purgeInstanceLogs = request => this.client.fetch({
|
|
6824
6844
|
body: JSON.stringify(marshalPurgeInstanceLogsRequest$1(request, this.client.settings)),
|
|
6825
|
-
headers: jsonContentHeaders$
|
|
6845
|
+
headers: jsonContentHeaders$n,
|
|
6826
6846
|
method: 'POST',
|
|
6827
6847
|
path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/purge-logs`
|
|
6828
6848
|
});
|
|
@@ -6850,7 +6870,7 @@ let API$n = class API extends API$v {
|
|
|
6850
6870
|
*/
|
|
6851
6871
|
addInstanceSettings = request => this.client.fetch({
|
|
6852
6872
|
body: JSON.stringify(marshalAddInstanceSettingsRequest$1(request, this.client.settings)),
|
|
6853
|
-
headers: jsonContentHeaders$
|
|
6873
|
+
headers: jsonContentHeaders$n,
|
|
6854
6874
|
method: 'POST',
|
|
6855
6875
|
path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/settings`
|
|
6856
6876
|
}, unmarshalAddInstanceSettingsResponse$1);
|
|
@@ -6865,7 +6885,7 @@ let API$n = class API extends API$v {
|
|
|
6865
6885
|
*/
|
|
6866
6886
|
deleteInstanceSettings = request => this.client.fetch({
|
|
6867
6887
|
body: JSON.stringify(marshalDeleteInstanceSettingsRequest$1(request, this.client.settings)),
|
|
6868
|
-
headers: jsonContentHeaders$
|
|
6888
|
+
headers: jsonContentHeaders$n,
|
|
6869
6889
|
method: 'DELETE',
|
|
6870
6890
|
path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/settings`
|
|
6871
6891
|
}, unmarshalDeleteInstanceSettingsResponse$1);
|
|
@@ -6880,7 +6900,7 @@ let API$n = class API extends API$v {
|
|
|
6880
6900
|
*/
|
|
6881
6901
|
setInstanceSettings = request => this.client.fetch({
|
|
6882
6902
|
body: JSON.stringify(marshalSetInstanceSettingsRequest$1(request, this.client.settings)),
|
|
6883
|
-
headers: jsonContentHeaders$
|
|
6903
|
+
headers: jsonContentHeaders$n,
|
|
6884
6904
|
method: 'PUT',
|
|
6885
6905
|
path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/settings`
|
|
6886
6906
|
}, unmarshalSetInstanceSettingsResponse$1);
|
|
@@ -6910,7 +6930,7 @@ let API$n = class API extends API$v {
|
|
|
6910
6930
|
*/
|
|
6911
6931
|
addInstanceACLRules = request => this.client.fetch({
|
|
6912
6932
|
body: JSON.stringify(marshalAddInstanceACLRulesRequest$1(request, this.client.settings)),
|
|
6913
|
-
headers: jsonContentHeaders$
|
|
6933
|
+
headers: jsonContentHeaders$n,
|
|
6914
6934
|
method: 'POST',
|
|
6915
6935
|
path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/acls`
|
|
6916
6936
|
}, unmarshalAddInstanceACLRulesResponse$1);
|
|
@@ -6924,7 +6944,7 @@ let API$n = class API extends API$v {
|
|
|
6924
6944
|
*/
|
|
6925
6945
|
setInstanceACLRules = request => this.client.fetch({
|
|
6926
6946
|
body: JSON.stringify(marshalSetInstanceACLRulesRequest$1(request, this.client.settings)),
|
|
6927
|
-
headers: jsonContentHeaders$
|
|
6947
|
+
headers: jsonContentHeaders$n,
|
|
6928
6948
|
method: 'PUT',
|
|
6929
6949
|
path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/acls`
|
|
6930
6950
|
}, unmarshalSetInstanceACLRulesResponse$1);
|
|
@@ -6938,7 +6958,7 @@ let API$n = class API extends API$v {
|
|
|
6938
6958
|
*/
|
|
6939
6959
|
deleteInstanceACLRules = request => this.client.fetch({
|
|
6940
6960
|
body: JSON.stringify(marshalDeleteInstanceACLRulesRequest$1(request, this.client.settings)),
|
|
6941
|
-
headers: jsonContentHeaders$
|
|
6961
|
+
headers: jsonContentHeaders$n,
|
|
6942
6962
|
method: 'DELETE',
|
|
6943
6963
|
path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/acls`
|
|
6944
6964
|
}, unmarshalDeleteInstanceACLRulesResponse$1);
|
|
@@ -6969,7 +6989,7 @@ let API$n = class API extends API$v {
|
|
|
6969
6989
|
*/
|
|
6970
6990
|
createUser = request => this.client.fetch({
|
|
6971
6991
|
body: JSON.stringify(marshalCreateUserRequest$2(request, this.client.settings)),
|
|
6972
|
-
headers: jsonContentHeaders$
|
|
6992
|
+
headers: jsonContentHeaders$n,
|
|
6973
6993
|
method: 'POST',
|
|
6974
6994
|
path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/users`
|
|
6975
6995
|
}, unmarshalUser$2);
|
|
@@ -6984,7 +7004,7 @@ let API$n = class API extends API$v {
|
|
|
6984
7004
|
*/
|
|
6985
7005
|
updateUser = request => this.client.fetch({
|
|
6986
7006
|
body: JSON.stringify(marshalUpdateUserRequest$1(request, this.client.settings)),
|
|
6987
|
-
headers: jsonContentHeaders$
|
|
7007
|
+
headers: jsonContentHeaders$n,
|
|
6988
7008
|
method: 'PATCH',
|
|
6989
7009
|
path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/users/${validatePathParam('name', request.name)}`
|
|
6990
7010
|
}, unmarshalUser$2);
|
|
@@ -7004,7 +7024,7 @@ let API$n = class API extends API$v {
|
|
|
7004
7024
|
method: 'GET',
|
|
7005
7025
|
path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/databases`,
|
|
7006
7026
|
urlParams: urlParams(['managed', request.managed], ['name', request.name], ['order_by', request.orderBy], ['owner', request.owner], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize])
|
|
7007
|
-
}, unmarshalListDatabasesResponse$
|
|
7027
|
+
}, unmarshalListDatabasesResponse$2);
|
|
7008
7028
|
|
|
7009
7029
|
/**
|
|
7010
7030
|
* List databases in a Database Instance. List all databases of a given
|
|
@@ -7026,11 +7046,11 @@ let API$n = class API extends API$v {
|
|
|
7026
7046
|
* @returns A Promise of Database
|
|
7027
7047
|
*/
|
|
7028
7048
|
createDatabase = request => this.client.fetch({
|
|
7029
|
-
body: JSON.stringify(marshalCreateDatabaseRequest$
|
|
7030
|
-
headers: jsonContentHeaders$
|
|
7049
|
+
body: JSON.stringify(marshalCreateDatabaseRequest$2(request, this.client.settings)),
|
|
7050
|
+
headers: jsonContentHeaders$n,
|
|
7031
7051
|
method: 'POST',
|
|
7032
7052
|
path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/databases`
|
|
7033
|
-
}, unmarshalDatabase$
|
|
7053
|
+
}, unmarshalDatabase$2);
|
|
7034
7054
|
|
|
7035
7055
|
/**
|
|
7036
7056
|
* Delete a database in a Database Instance. Delete a given database on a
|
|
@@ -7071,7 +7091,7 @@ let API$n = class API extends API$v {
|
|
|
7071
7091
|
*/
|
|
7072
7092
|
setPrivilege = request => this.client.fetch({
|
|
7073
7093
|
body: JSON.stringify(marshalSetPrivilegeRequest$1(request, this.client.settings)),
|
|
7074
|
-
headers: jsonContentHeaders$
|
|
7094
|
+
headers: jsonContentHeaders$n,
|
|
7075
7095
|
method: 'PUT',
|
|
7076
7096
|
path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/privileges`
|
|
7077
7097
|
}, unmarshalPrivilege$1);
|
|
@@ -7124,7 +7144,7 @@ let API$n = class API extends API$v {
|
|
|
7124
7144
|
*/
|
|
7125
7145
|
createSnapshot = request => this.client.fetch({
|
|
7126
7146
|
body: JSON.stringify(marshalCreateSnapshotRequest$2(request, this.client.settings)),
|
|
7127
|
-
headers: jsonContentHeaders$
|
|
7147
|
+
headers: jsonContentHeaders$n,
|
|
7128
7148
|
method: 'POST',
|
|
7129
7149
|
path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/snapshots`
|
|
7130
7150
|
}, unmarshalSnapshot$2);
|
|
@@ -7139,7 +7159,7 @@ let API$n = class API extends API$v {
|
|
|
7139
7159
|
*/
|
|
7140
7160
|
updateSnapshot = request => this.client.fetch({
|
|
7141
7161
|
body: JSON.stringify(marshalUpdateSnapshotRequest$2(request, this.client.settings)),
|
|
7142
|
-
headers: jsonContentHeaders$
|
|
7162
|
+
headers: jsonContentHeaders$n,
|
|
7143
7163
|
method: 'PATCH',
|
|
7144
7164
|
path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/snapshots/${validatePathParam('snapshotId', request.snapshotId)}`
|
|
7145
7165
|
}, unmarshalSnapshot$2);
|
|
@@ -7172,7 +7192,7 @@ let API$n = class API extends API$v {
|
|
|
7172
7192
|
*/
|
|
7173
7193
|
createInstanceFromSnapshot = request => this.client.fetch({
|
|
7174
7194
|
body: JSON.stringify(marshalCreateInstanceFromSnapshotRequest$1(request, this.client.settings)),
|
|
7175
|
-
headers: jsonContentHeaders$
|
|
7195
|
+
headers: jsonContentHeaders$n,
|
|
7176
7196
|
method: 'POST',
|
|
7177
7197
|
path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/snapshots/${validatePathParam('snapshotId', request.snapshotId)}/create-instance`
|
|
7178
7198
|
}, unmarshalInstance$2);
|
|
@@ -7187,7 +7207,7 @@ let API$n = class API extends API$v {
|
|
|
7187
7207
|
*/
|
|
7188
7208
|
createEndpoint = request => this.client.fetch({
|
|
7189
7209
|
body: JSON.stringify(marshalCreateEndpointRequest$1(request, this.client.settings)),
|
|
7190
|
-
headers: jsonContentHeaders$
|
|
7210
|
+
headers: jsonContentHeaders$n,
|
|
7191
7211
|
method: 'POST',
|
|
7192
7212
|
path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/endpoints`
|
|
7193
7213
|
}, unmarshalEndpoint$2);
|
|
@@ -7228,7 +7248,7 @@ let API$n = class API extends API$v {
|
|
|
7228
7248
|
*/
|
|
7229
7249
|
migrateEndpoint = request => this.client.fetch({
|
|
7230
7250
|
body: JSON.stringify(marshalMigrateEndpointRequest$1(request, this.client.settings)),
|
|
7231
|
-
headers: jsonContentHeaders$
|
|
7251
|
+
headers: jsonContentHeaders$n,
|
|
7232
7252
|
method: 'POST',
|
|
7233
7253
|
path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/endpoints/${validatePathParam('endpointId', request.endpointId)}/migrate`
|
|
7234
7254
|
}, unmarshalEndpoint$2);
|
|
@@ -7243,7 +7263,7 @@ const UpdateInstanceRequest$1 = {
|
|
|
7243
7263
|
}
|
|
7244
7264
|
};
|
|
7245
7265
|
|
|
7246
|
-
var validationRules_gen$
|
|
7266
|
+
var validationRules_gen$a = /*#__PURE__*/Object.freeze({
|
|
7247
7267
|
__proto__: null,
|
|
7248
7268
|
UpdateInstanceRequest: UpdateInstanceRequest$1
|
|
7249
7269
|
});
|
|
@@ -7251,20 +7271,20 @@ var validationRules_gen$9 = /*#__PURE__*/Object.freeze({
|
|
|
7251
7271
|
// This file was automatically generated. DO NOT EDIT.
|
|
7252
7272
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
7253
7273
|
|
|
7254
|
-
var index_gen$
|
|
7274
|
+
var index_gen$n = /*#__PURE__*/Object.freeze({
|
|
7255
7275
|
__proto__: null,
|
|
7256
|
-
API: API$
|
|
7276
|
+
API: API$o,
|
|
7257
7277
|
INSTANCE_LOG_TRANSIENT_STATUSES: INSTANCE_LOG_TRANSIENT_STATUSES$1,
|
|
7258
7278
|
INSTANCE_TRANSIENT_STATUSES: INSTANCE_TRANSIENT_STATUSES$2,
|
|
7259
7279
|
MAINTENANCE_TRANSIENT_STATUSES: MAINTENANCE_TRANSIENT_STATUSES$1,
|
|
7260
7280
|
READ_REPLICA_TRANSIENT_STATUSES: READ_REPLICA_TRANSIENT_STATUSES$1,
|
|
7261
7281
|
SNAPSHOT_TRANSIENT_STATUSES: SNAPSHOT_TRANSIENT_STATUSES$2,
|
|
7262
|
-
ValidationRules: validationRules_gen$
|
|
7282
|
+
ValidationRules: validationRules_gen$a
|
|
7263
7283
|
});
|
|
7264
7284
|
|
|
7265
|
-
var index$
|
|
7285
|
+
var index$q = /*#__PURE__*/Object.freeze({
|
|
7266
7286
|
__proto__: null,
|
|
7267
|
-
v1beta1: index_gen$
|
|
7287
|
+
v1beta1: index_gen$n
|
|
7268
7288
|
});
|
|
7269
7289
|
|
|
7270
7290
|
// This file was automatically generated. DO NOT EDIT.
|
|
@@ -8465,7 +8485,7 @@ const marshalUpdateDNSZoneRequest = (request, defaults) => ({
|
|
|
8465
8485
|
|
|
8466
8486
|
// This file was automatically generated. DO NOT EDIT.
|
|
8467
8487
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
8468
|
-
const jsonContentHeaders$
|
|
8488
|
+
const jsonContentHeaders$m = {
|
|
8469
8489
|
'Content-Type': 'application/json; charset=utf-8'
|
|
8470
8490
|
};
|
|
8471
8491
|
|
|
@@ -8474,7 +8494,7 @@ const jsonContentHeaders$l = {
|
|
|
8474
8494
|
*
|
|
8475
8495
|
* Manage your domains, DNS zones and records with the Domains and DNS API.
|
|
8476
8496
|
*/
|
|
8477
|
-
let API$
|
|
8497
|
+
let API$n = class API extends API$w {
|
|
8478
8498
|
pageOfListDNSZones = request => this.client.fetch({
|
|
8479
8499
|
method: 'GET',
|
|
8480
8500
|
path: `/domain/v2beta1/dns-zones`,
|
|
@@ -8499,7 +8519,7 @@ let API$m = class API extends API$v {
|
|
|
8499
8519
|
*/
|
|
8500
8520
|
createDNSZone = request => this.client.fetch({
|
|
8501
8521
|
body: JSON.stringify(marshalCreateDNSZoneRequest(request, this.client.settings)),
|
|
8502
|
-
headers: jsonContentHeaders$
|
|
8522
|
+
headers: jsonContentHeaders$m,
|
|
8503
8523
|
method: 'POST',
|
|
8504
8524
|
path: `/domain/v2beta1/dns-zones`
|
|
8505
8525
|
}, unmarshalDNSZone);
|
|
@@ -8512,7 +8532,7 @@ let API$m = class API extends API$v {
|
|
|
8512
8532
|
*/
|
|
8513
8533
|
updateDNSZone = request => this.client.fetch({
|
|
8514
8534
|
body: JSON.stringify(marshalUpdateDNSZoneRequest(request, this.client.settings)),
|
|
8515
|
-
headers: jsonContentHeaders$
|
|
8535
|
+
headers: jsonContentHeaders$m,
|
|
8516
8536
|
method: 'PATCH',
|
|
8517
8537
|
path: `/domain/v2beta1/dns-zones/${validatePathParam('dnsZone', request.dnsZone)}`
|
|
8518
8538
|
}, unmarshalDNSZone);
|
|
@@ -8526,7 +8546,7 @@ let API$m = class API extends API$v {
|
|
|
8526
8546
|
*/
|
|
8527
8547
|
cloneDNSZone = request => this.client.fetch({
|
|
8528
8548
|
body: JSON.stringify(marshalCloneDNSZoneRequest(request, this.client.settings)),
|
|
8529
|
-
headers: jsonContentHeaders$
|
|
8549
|
+
headers: jsonContentHeaders$m,
|
|
8530
8550
|
method: 'POST',
|
|
8531
8551
|
path: `/domain/v2beta1/dns-zones/${validatePathParam('dnsZone', request.dnsZone)}/clone`
|
|
8532
8552
|
}, unmarshalDNSZone);
|
|
@@ -8579,7 +8599,7 @@ let API$m = class API extends API$v {
|
|
|
8579
8599
|
*/
|
|
8580
8600
|
updateDNSZoneRecords = request => this.client.fetch({
|
|
8581
8601
|
body: JSON.stringify(marshalUpdateDNSZoneRecordsRequest(request, this.client.settings)),
|
|
8582
|
-
headers: jsonContentHeaders$
|
|
8602
|
+
headers: jsonContentHeaders$m,
|
|
8583
8603
|
method: 'PATCH',
|
|
8584
8604
|
path: `/domain/v2beta1/dns-zones/${validatePathParam('dnsZone', request.dnsZone)}/records`
|
|
8585
8605
|
}, unmarshalUpdateDNSZoneRecordsResponse);
|
|
@@ -8606,7 +8626,7 @@ let API$m = class API extends API$v {
|
|
|
8606
8626
|
*/
|
|
8607
8627
|
updateDNSZoneNameservers = request => this.client.fetch({
|
|
8608
8628
|
body: JSON.stringify(marshalUpdateDNSZoneNameserversRequest(request, this.client.settings)),
|
|
8609
|
-
headers: jsonContentHeaders$
|
|
8629
|
+
headers: jsonContentHeaders$m,
|
|
8610
8630
|
method: 'PUT',
|
|
8611
8631
|
path: `/domain/v2beta1/dns-zones/${validatePathParam('dnsZone', request.dnsZone)}/nameservers`
|
|
8612
8632
|
}, unmarshalUpdateDNSZoneNameserversResponse);
|
|
@@ -8646,7 +8666,7 @@ let API$m = class API extends API$v {
|
|
|
8646
8666
|
*/
|
|
8647
8667
|
importRawDNSZone = request => this.client.fetch({
|
|
8648
8668
|
body: JSON.stringify(marshalImportRawDNSZoneRequest(request, this.client.settings)),
|
|
8649
|
-
headers: jsonContentHeaders$
|
|
8669
|
+
headers: jsonContentHeaders$m,
|
|
8650
8670
|
method: 'POST',
|
|
8651
8671
|
path: `/domain/v2beta1/dns-zones/${validatePathParam('dnsZone', request.dnsZone)}/raw`
|
|
8652
8672
|
}, unmarshalImportRawDNSZoneResponse);
|
|
@@ -8660,7 +8680,7 @@ let API$m = class API extends API$v {
|
|
|
8660
8680
|
*/
|
|
8661
8681
|
importProviderDNSZone = request => this.client.fetch({
|
|
8662
8682
|
body: JSON.stringify(marshalImportProviderDNSZoneRequest(request, this.client.settings)),
|
|
8663
|
-
headers: jsonContentHeaders$
|
|
8683
|
+
headers: jsonContentHeaders$m,
|
|
8664
8684
|
method: 'POST',
|
|
8665
8685
|
path: `/domain/v2beta1/dns-zones/${validatePathParam('dnsZone', request.dnsZone)}/import-provider`
|
|
8666
8686
|
}, unmarshalImportProviderDNSZoneResponse);
|
|
@@ -8675,7 +8695,7 @@ let API$m = class API extends API$v {
|
|
|
8675
8695
|
*/
|
|
8676
8696
|
refreshDNSZone = request => this.client.fetch({
|
|
8677
8697
|
body: JSON.stringify(marshalRefreshDNSZoneRequest(request, this.client.settings)),
|
|
8678
|
-
headers: jsonContentHeaders$
|
|
8698
|
+
headers: jsonContentHeaders$m,
|
|
8679
8699
|
method: 'POST',
|
|
8680
8700
|
path: `/domain/v2beta1/dns-zones/${validatePathParam('dnsZone', request.dnsZone)}/refresh`
|
|
8681
8701
|
}, unmarshalRefreshDNSZoneResponse);
|
|
@@ -8730,7 +8750,7 @@ let API$m = class API extends API$v {
|
|
|
8730
8750
|
*/
|
|
8731
8751
|
restoreDNSZoneVersion = request => this.client.fetch({
|
|
8732
8752
|
body: '{}',
|
|
8733
|
-
headers: jsonContentHeaders$
|
|
8753
|
+
headers: jsonContentHeaders$m,
|
|
8734
8754
|
method: 'POST',
|
|
8735
8755
|
path: `/domain/v2beta1/dns-zones/version/${validatePathParam('dnsZoneVersionId', request.dnsZoneVersionId)}/restore`
|
|
8736
8756
|
}, unmarshalRestoreDNSZoneVersionResponse);
|
|
@@ -8765,7 +8785,7 @@ let API$m = class API extends API$v {
|
|
|
8765
8785
|
*/
|
|
8766
8786
|
createSSLCertificate = request => this.client.fetch({
|
|
8767
8787
|
body: JSON.stringify(marshalCreateSSLCertificateRequest(request, this.client.settings)),
|
|
8768
|
-
headers: jsonContentHeaders$
|
|
8788
|
+
headers: jsonContentHeaders$m,
|
|
8769
8789
|
method: 'POST',
|
|
8770
8790
|
path: `/domain/v2beta1/ssl-certificates`
|
|
8771
8791
|
}, unmarshalSSLCertificate);
|
|
@@ -8826,7 +8846,7 @@ let API$m = class API extends API$v {
|
|
|
8826
8846
|
*
|
|
8827
8847
|
* Manage your domains and contacts.
|
|
8828
8848
|
*/
|
|
8829
|
-
class RegistrarAPI extends API$
|
|
8849
|
+
class RegistrarAPI extends API$w {
|
|
8830
8850
|
pageOfListTasks = (request = {}) => this.client.fetch({
|
|
8831
8851
|
method: 'GET',
|
|
8832
8852
|
path: `/domain/v2beta1/tasks`,
|
|
@@ -8851,7 +8871,7 @@ class RegistrarAPI extends API$v {
|
|
|
8851
8871
|
*/
|
|
8852
8872
|
buyDomains = request => this.client.fetch({
|
|
8853
8873
|
body: JSON.stringify(marshalRegistrarApiBuyDomainsRequest(request, this.client.settings)),
|
|
8854
|
-
headers: jsonContentHeaders$
|
|
8874
|
+
headers: jsonContentHeaders$m,
|
|
8855
8875
|
method: 'POST',
|
|
8856
8876
|
path: `/domain/v2beta1/buy-domains`
|
|
8857
8877
|
}, unmarshalOrderResponse);
|
|
@@ -8864,7 +8884,7 @@ class RegistrarAPI extends API$v {
|
|
|
8864
8884
|
*/
|
|
8865
8885
|
renewDomains = request => this.client.fetch({
|
|
8866
8886
|
body: JSON.stringify(marshalRegistrarApiRenewDomainsRequest(request, this.client.settings)),
|
|
8867
|
-
headers: jsonContentHeaders$
|
|
8887
|
+
headers: jsonContentHeaders$m,
|
|
8868
8888
|
method: 'POST',
|
|
8869
8889
|
path: `/domain/v2beta1/renew-domains`
|
|
8870
8890
|
}, unmarshalOrderResponse);
|
|
@@ -8878,7 +8898,7 @@ class RegistrarAPI extends API$v {
|
|
|
8878
8898
|
*/
|
|
8879
8899
|
transferInDomain = request => this.client.fetch({
|
|
8880
8900
|
body: JSON.stringify(marshalRegistrarApiTransferInDomainRequest(request, this.client.settings)),
|
|
8881
|
-
headers: jsonContentHeaders$
|
|
8901
|
+
headers: jsonContentHeaders$m,
|
|
8882
8902
|
method: 'POST',
|
|
8883
8903
|
path: `/domain/v2beta1/domains/transfer-domains`
|
|
8884
8904
|
}, unmarshalOrderResponse);
|
|
@@ -8898,7 +8918,7 @@ class RegistrarAPI extends API$v {
|
|
|
8898
8918
|
*/
|
|
8899
8919
|
tradeDomain = request => this.client.fetch({
|
|
8900
8920
|
body: JSON.stringify(marshalRegistrarApiTradeDomainRequest(request, this.client.settings)),
|
|
8901
|
-
headers: jsonContentHeaders$
|
|
8921
|
+
headers: jsonContentHeaders$m,
|
|
8902
8922
|
method: 'POST',
|
|
8903
8923
|
path: `/domain/v2beta1/domains/${validatePathParam('domain', request.domain)}/trade`
|
|
8904
8924
|
}, unmarshalOrderResponse);
|
|
@@ -8913,7 +8933,7 @@ class RegistrarAPI extends API$v {
|
|
|
8913
8933
|
*/
|
|
8914
8934
|
registerExternalDomain = request => this.client.fetch({
|
|
8915
8935
|
body: JSON.stringify(marshalRegistrarApiRegisterExternalDomainRequest(request, this.client.settings)),
|
|
8916
|
-
headers: jsonContentHeaders$
|
|
8936
|
+
headers: jsonContentHeaders$m,
|
|
8917
8937
|
method: 'POST',
|
|
8918
8938
|
path: `/domain/v2beta1/external-domains`
|
|
8919
8939
|
}, unmarshalRegisterExternalDomainResponse);
|
|
@@ -8941,7 +8961,7 @@ class RegistrarAPI extends API$v {
|
|
|
8941
8961
|
*/
|
|
8942
8962
|
checkContactsCompatibility = (request = {}) => this.client.fetch({
|
|
8943
8963
|
body: JSON.stringify(marshalRegistrarApiCheckContactsCompatibilityRequest(request, this.client.settings)),
|
|
8944
|
-
headers: jsonContentHeaders$
|
|
8964
|
+
headers: jsonContentHeaders$m,
|
|
8945
8965
|
method: 'POST',
|
|
8946
8966
|
path: `/domain/v2beta1/check-contacts-compatibility`
|
|
8947
8967
|
}, unmarshalCheckContactsCompatibilityResponse);
|
|
@@ -8980,7 +9000,7 @@ class RegistrarAPI extends API$v {
|
|
|
8980
9000
|
*/
|
|
8981
9001
|
updateContact = request => this.client.fetch({
|
|
8982
9002
|
body: JSON.stringify(marshalRegistrarApiUpdateContactRequest(request, this.client.settings)),
|
|
8983
|
-
headers: jsonContentHeaders$
|
|
9003
|
+
headers: jsonContentHeaders$m,
|
|
8984
9004
|
method: 'PATCH',
|
|
8985
9005
|
path: `/domain/v2beta1/contacts/${validatePathParam('contactId', request.contactId)}`
|
|
8986
9006
|
}, unmarshalContact);
|
|
@@ -9045,7 +9065,7 @@ class RegistrarAPI extends API$v {
|
|
|
9045
9065
|
*/
|
|
9046
9066
|
updateDomain = request => this.client.fetch({
|
|
9047
9067
|
body: JSON.stringify(marshalRegistrarApiUpdateDomainRequest(request, this.client.settings)),
|
|
9048
|
-
headers: jsonContentHeaders$
|
|
9068
|
+
headers: jsonContentHeaders$m,
|
|
9049
9069
|
method: 'PATCH',
|
|
9050
9070
|
path: `/domain/v2beta1/domains/${validatePathParam('domain', request.domain)}`
|
|
9051
9071
|
}, unmarshalDomain$2);
|
|
@@ -9060,7 +9080,7 @@ class RegistrarAPI extends API$v {
|
|
|
9060
9080
|
*/
|
|
9061
9081
|
lockDomainTransfer = request => this.client.fetch({
|
|
9062
9082
|
body: '{}',
|
|
9063
|
-
headers: jsonContentHeaders$
|
|
9083
|
+
headers: jsonContentHeaders$m,
|
|
9064
9084
|
method: 'POST',
|
|
9065
9085
|
path: `/domain/v2beta1/domains/${validatePathParam('domain', request.domain)}/lock-transfer`
|
|
9066
9086
|
}, unmarshalDomain$2);
|
|
@@ -9075,7 +9095,7 @@ class RegistrarAPI extends API$v {
|
|
|
9075
9095
|
*/
|
|
9076
9096
|
unlockDomainTransfer = request => this.client.fetch({
|
|
9077
9097
|
body: '{}',
|
|
9078
|
-
headers: jsonContentHeaders$
|
|
9098
|
+
headers: jsonContentHeaders$m,
|
|
9079
9099
|
method: 'POST',
|
|
9080
9100
|
path: `/domain/v2beta1/domains/${validatePathParam('domain', request.domain)}/unlock-transfer`
|
|
9081
9101
|
}, unmarshalDomain$2);
|
|
@@ -9090,7 +9110,7 @@ class RegistrarAPI extends API$v {
|
|
|
9090
9110
|
*/
|
|
9091
9111
|
enableDomainAutoRenew = request => this.client.fetch({
|
|
9092
9112
|
body: '{}',
|
|
9093
|
-
headers: jsonContentHeaders$
|
|
9113
|
+
headers: jsonContentHeaders$m,
|
|
9094
9114
|
method: 'POST',
|
|
9095
9115
|
path: `/domain/v2beta1/domains/${validatePathParam('domain', request.domain)}/enable-auto-renew`
|
|
9096
9116
|
}, unmarshalDomain$2);
|
|
@@ -9105,7 +9125,7 @@ class RegistrarAPI extends API$v {
|
|
|
9105
9125
|
*/
|
|
9106
9126
|
disableDomainAutoRenew = request => this.client.fetch({
|
|
9107
9127
|
body: '{}',
|
|
9108
|
-
headers: jsonContentHeaders$
|
|
9128
|
+
headers: jsonContentHeaders$m,
|
|
9109
9129
|
method: 'POST',
|
|
9110
9130
|
path: `/domain/v2beta1/domains/${validatePathParam('domain', request.domain)}/disable-auto-renew`
|
|
9111
9131
|
}, unmarshalDomain$2);
|
|
@@ -9134,7 +9154,7 @@ class RegistrarAPI extends API$v {
|
|
|
9134
9154
|
*/
|
|
9135
9155
|
enableDomainDNSSEC = request => this.client.fetch({
|
|
9136
9156
|
body: JSON.stringify(marshalRegistrarApiEnableDomainDNSSECRequest(request, this.client.settings)),
|
|
9137
|
-
headers: jsonContentHeaders$
|
|
9157
|
+
headers: jsonContentHeaders$m,
|
|
9138
9158
|
method: 'POST',
|
|
9139
9159
|
path: `/domain/v2beta1/domains/${validatePathParam('domain', request.domain)}/enable-dnssec`
|
|
9140
9160
|
}, unmarshalDomain$2);
|
|
@@ -9147,7 +9167,7 @@ class RegistrarAPI extends API$v {
|
|
|
9147
9167
|
*/
|
|
9148
9168
|
disableDomainDNSSEC = request => this.client.fetch({
|
|
9149
9169
|
body: '{}',
|
|
9150
|
-
headers: jsonContentHeaders$
|
|
9170
|
+
headers: jsonContentHeaders$m,
|
|
9151
9171
|
method: 'POST',
|
|
9152
9172
|
path: `/domain/v2beta1/domains/${validatePathParam('domain', request.domain)}/disable-dnssec`
|
|
9153
9173
|
}, unmarshalDomain$2);
|
|
@@ -9191,7 +9211,7 @@ class RegistrarAPI extends API$v {
|
|
|
9191
9211
|
*/
|
|
9192
9212
|
createDomainHost = request => this.client.fetch({
|
|
9193
9213
|
body: JSON.stringify(marshalRegistrarApiCreateDomainHostRequest(request, this.client.settings)),
|
|
9194
|
-
headers: jsonContentHeaders$
|
|
9214
|
+
headers: jsonContentHeaders$m,
|
|
9195
9215
|
method: 'POST',
|
|
9196
9216
|
path: `/domain/v2beta1/domains/${validatePathParam('domain', request.domain)}/hosts`
|
|
9197
9217
|
}, unmarshalHost);
|
|
@@ -9217,7 +9237,7 @@ class RegistrarAPI extends API$v {
|
|
|
9217
9237
|
*/
|
|
9218
9238
|
updateDomainHost = request => this.client.fetch({
|
|
9219
9239
|
body: JSON.stringify(marshalRegistrarApiUpdateDomainHostRequest(request, this.client.settings)),
|
|
9220
|
-
headers: jsonContentHeaders$
|
|
9240
|
+
headers: jsonContentHeaders$m,
|
|
9221
9241
|
method: 'PATCH',
|
|
9222
9242
|
path: `/domain/v2beta1/domains/${validatePathParam('domain', request.domain)}/hosts/${validatePathParam('name', request.name)}`
|
|
9223
9243
|
}, unmarshalHost);
|
|
@@ -9237,9 +9257,9 @@ class RegistrarAPI extends API$v {
|
|
|
9237
9257
|
// This file was automatically generated. DO NOT EDIT.
|
|
9238
9258
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
9239
9259
|
|
|
9240
|
-
var index_gen$
|
|
9260
|
+
var index_gen$m = /*#__PURE__*/Object.freeze({
|
|
9241
9261
|
__proto__: null,
|
|
9242
|
-
API: API$
|
|
9262
|
+
API: API$n,
|
|
9243
9263
|
DNS_ZONE_TRANSIENT_STATUSES: DNS_ZONE_TRANSIENT_STATUSES,
|
|
9244
9264
|
DOMAIN_FEATURE_TRANSIENT_STATUSES: DOMAIN_FEATURE_TRANSIENT_STATUSES,
|
|
9245
9265
|
DOMAIN_REGISTRATION_STATUS_TRANSFER_TRANSIENT_STATUSES: DOMAIN_REGISTRATION_STATUS_TRANSFER_TRANSIENT_STATUSES,
|
|
@@ -9250,9 +9270,9 @@ var index_gen$l = /*#__PURE__*/Object.freeze({
|
|
|
9250
9270
|
TASK_TRANSIENT_STATUSES: TASK_TRANSIENT_STATUSES$1
|
|
9251
9271
|
});
|
|
9252
9272
|
|
|
9253
|
-
var index$
|
|
9273
|
+
var index$p = /*#__PURE__*/Object.freeze({
|
|
9254
9274
|
__proto__: null,
|
|
9255
|
-
v2beta1: index_gen$
|
|
9275
|
+
v2beta1: index_gen$m
|
|
9256
9276
|
});
|
|
9257
9277
|
|
|
9258
9278
|
// This file was automatically generated. DO NOT EDIT.
|
|
@@ -9359,12 +9379,12 @@ const marshalUpdateFlexibleIPRequest = (request, defaults) => ({
|
|
|
9359
9379
|
|
|
9360
9380
|
// This file was automatically generated. DO NOT EDIT.
|
|
9361
9381
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
9362
|
-
const jsonContentHeaders$
|
|
9382
|
+
const jsonContentHeaders$l = {
|
|
9363
9383
|
'Content-Type': 'application/json; charset=utf-8'
|
|
9364
9384
|
};
|
|
9365
9385
|
|
|
9366
9386
|
/** Elastic Metal - Flexible IP API. */
|
|
9367
|
-
let API$
|
|
9387
|
+
let API$m = class API extends API$w {
|
|
9368
9388
|
/** Lists the available zones of the API. */
|
|
9369
9389
|
static LOCALITIES = ['fr-par-1', 'fr-par-2', 'nl-ams-1'];
|
|
9370
9390
|
|
|
@@ -9377,7 +9397,7 @@ let API$l = class API extends API$v {
|
|
|
9377
9397
|
*/
|
|
9378
9398
|
createFlexibleIP = request => this.client.fetch({
|
|
9379
9399
|
body: JSON.stringify(marshalCreateFlexibleIPRequest(request, this.client.settings)),
|
|
9380
|
-
headers: jsonContentHeaders$
|
|
9400
|
+
headers: jsonContentHeaders$l,
|
|
9381
9401
|
method: 'POST',
|
|
9382
9402
|
path: `/flexible-ip/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/fips`
|
|
9383
9403
|
}, unmarshalFlexibleIP);
|
|
@@ -9427,7 +9447,7 @@ let API$l = class API extends API$v {
|
|
|
9427
9447
|
*/
|
|
9428
9448
|
updateFlexibleIP = request => this.client.fetch({
|
|
9429
9449
|
body: JSON.stringify(marshalUpdateFlexibleIPRequest(request, this.client.settings)),
|
|
9430
|
-
headers: jsonContentHeaders$
|
|
9450
|
+
headers: jsonContentHeaders$l,
|
|
9431
9451
|
method: 'PATCH',
|
|
9432
9452
|
path: `/flexible-ip/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/fips/${validatePathParam('fipId', request.fipId)}`
|
|
9433
9453
|
}, unmarshalFlexibleIP);
|
|
@@ -9453,7 +9473,7 @@ let API$l = class API extends API$v {
|
|
|
9453
9473
|
*/
|
|
9454
9474
|
attachFlexibleIP = request => this.client.fetch({
|
|
9455
9475
|
body: JSON.stringify(marshalAttachFlexibleIPRequest(request, this.client.settings)),
|
|
9456
|
-
headers: jsonContentHeaders$
|
|
9476
|
+
headers: jsonContentHeaders$l,
|
|
9457
9477
|
method: 'POST',
|
|
9458
9478
|
path: `/flexible-ip/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/fips/attach`
|
|
9459
9479
|
}, unmarshalAttachFlexibleIPsResponse);
|
|
@@ -9467,7 +9487,7 @@ let API$l = class API extends API$v {
|
|
|
9467
9487
|
*/
|
|
9468
9488
|
detachFlexibleIP = request => this.client.fetch({
|
|
9469
9489
|
body: JSON.stringify(marshalDetachFlexibleIPRequest(request, this.client.settings)),
|
|
9470
|
-
headers: jsonContentHeaders$
|
|
9490
|
+
headers: jsonContentHeaders$l,
|
|
9471
9491
|
method: 'POST',
|
|
9472
9492
|
path: `/flexible-ip/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/fips/detach`
|
|
9473
9493
|
}, unmarshalDetachFlexibleIPsResponse);
|
|
@@ -9481,7 +9501,7 @@ let API$l = class API extends API$v {
|
|
|
9481
9501
|
*/
|
|
9482
9502
|
generateMACAddr = request => this.client.fetch({
|
|
9483
9503
|
body: JSON.stringify(marshalGenerateMACAddrRequest(request, this.client.settings)),
|
|
9484
|
-
headers: jsonContentHeaders$
|
|
9504
|
+
headers: jsonContentHeaders$l,
|
|
9485
9505
|
method: 'POST',
|
|
9486
9506
|
path: `/flexible-ip/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/fips/${validatePathParam('fipId', request.fipId)}/mac`
|
|
9487
9507
|
}, unmarshalFlexibleIP);
|
|
@@ -9496,7 +9516,7 @@ let API$l = class API extends API$v {
|
|
|
9496
9516
|
*/
|
|
9497
9517
|
duplicateMACAddr = request => this.client.fetch({
|
|
9498
9518
|
body: JSON.stringify(marshalDuplicateMACAddrRequest(request, this.client.settings)),
|
|
9499
|
-
headers: jsonContentHeaders$
|
|
9519
|
+
headers: jsonContentHeaders$l,
|
|
9500
9520
|
method: 'POST',
|
|
9501
9521
|
path: `/flexible-ip/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/fips/${validatePathParam('fipId', request.fipId)}/mac/duplicate`
|
|
9502
9522
|
}, unmarshalFlexibleIP);
|
|
@@ -9511,7 +9531,7 @@ let API$l = class API extends API$v {
|
|
|
9511
9531
|
*/
|
|
9512
9532
|
moveMACAddr = request => this.client.fetch({
|
|
9513
9533
|
body: JSON.stringify(marshalMoveMACAddrRequest(request, this.client.settings)),
|
|
9514
|
-
headers: jsonContentHeaders$
|
|
9534
|
+
headers: jsonContentHeaders$l,
|
|
9515
9535
|
method: 'POST',
|
|
9516
9536
|
path: `/flexible-ip/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/fips/${validatePathParam('fipId', request.fipId)}/mac/move`
|
|
9517
9537
|
}, unmarshalFlexibleIP);
|
|
@@ -9541,7 +9561,7 @@ const ListFlexibleIPsRequest = {
|
|
|
9541
9561
|
}
|
|
9542
9562
|
};
|
|
9543
9563
|
|
|
9544
|
-
var validationRules_gen$
|
|
9564
|
+
var validationRules_gen$9 = /*#__PURE__*/Object.freeze({
|
|
9545
9565
|
__proto__: null,
|
|
9546
9566
|
ListFlexibleIPsRequest: ListFlexibleIPsRequest
|
|
9547
9567
|
});
|
|
@@ -9549,17 +9569,17 @@ var validationRules_gen$8 = /*#__PURE__*/Object.freeze({
|
|
|
9549
9569
|
// This file was automatically generated. DO NOT EDIT.
|
|
9550
9570
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
9551
9571
|
|
|
9552
|
-
var index_gen$
|
|
9572
|
+
var index_gen$l = /*#__PURE__*/Object.freeze({
|
|
9553
9573
|
__proto__: null,
|
|
9554
|
-
API: API$
|
|
9574
|
+
API: API$m,
|
|
9555
9575
|
FLEXIBLE_IP_TRANSIENT_STATUSES: FLEXIBLE_IP_TRANSIENT_STATUSES,
|
|
9556
9576
|
MAC_ADDRESS_TRANSIENT_STATUSES: MAC_ADDRESS_TRANSIENT_STATUSES,
|
|
9557
|
-
ValidationRules: validationRules_gen$
|
|
9577
|
+
ValidationRules: validationRules_gen$9
|
|
9558
9578
|
});
|
|
9559
9579
|
|
|
9560
|
-
var index$
|
|
9580
|
+
var index$o = /*#__PURE__*/Object.freeze({
|
|
9561
9581
|
__proto__: null,
|
|
9562
|
-
v1alpha1: index_gen$
|
|
9582
|
+
v1alpha1: index_gen$l
|
|
9563
9583
|
});
|
|
9564
9584
|
|
|
9565
9585
|
// This file was automatically generated. DO NOT EDIT.
|
|
@@ -9976,12 +9996,12 @@ const marshalUpdateTriggerRequest = (request, defaults) => ({
|
|
|
9976
9996
|
|
|
9977
9997
|
// This file was automatically generated. DO NOT EDIT.
|
|
9978
9998
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
9979
|
-
const jsonContentHeaders$
|
|
9999
|
+
const jsonContentHeaders$k = {
|
|
9980
10000
|
'Content-Type': 'application/json; charset=utf-8'
|
|
9981
10001
|
};
|
|
9982
10002
|
|
|
9983
10003
|
/** Serverless Functions API. */
|
|
9984
|
-
let API$
|
|
10004
|
+
let API$l = class API extends API$w {
|
|
9985
10005
|
/** Lists the available regions of the API. */
|
|
9986
10006
|
static LOCALITIES = ['fr-par', 'nl-ams', 'pl-waw'];
|
|
9987
10007
|
pageOfListNamespaces = (request = {}) => this.client.fetch({
|
|
@@ -10028,7 +10048,7 @@ let API$k = class API extends API$v {
|
|
|
10028
10048
|
*/
|
|
10029
10049
|
createNamespace = (request = {}) => this.client.fetch({
|
|
10030
10050
|
body: JSON.stringify(marshalCreateNamespaceRequest$1(request, this.client.settings)),
|
|
10031
|
-
headers: jsonContentHeaders$
|
|
10051
|
+
headers: jsonContentHeaders$k,
|
|
10032
10052
|
method: 'POST',
|
|
10033
10053
|
path: `/functions/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/namespaces`
|
|
10034
10054
|
}, unmarshalNamespace$1);
|
|
@@ -10042,7 +10062,7 @@ let API$k = class API extends API$v {
|
|
|
10042
10062
|
*/
|
|
10043
10063
|
updateNamespace = request => this.client.fetch({
|
|
10044
10064
|
body: JSON.stringify(marshalUpdateNamespaceRequest$1(request, this.client.settings)),
|
|
10045
|
-
headers: jsonContentHeaders$
|
|
10065
|
+
headers: jsonContentHeaders$k,
|
|
10046
10066
|
method: 'PATCH',
|
|
10047
10067
|
path: `/functions/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/namespaces/${validatePathParam('namespaceId', request.namespaceId)}`
|
|
10048
10068
|
}, unmarshalNamespace$1);
|
|
@@ -10101,7 +10121,7 @@ let API$k = class API extends API$v {
|
|
|
10101
10121
|
*/
|
|
10102
10122
|
createFunction = request => this.client.fetch({
|
|
10103
10123
|
body: JSON.stringify(marshalCreateFunctionRequest(request, this.client.settings)),
|
|
10104
|
-
headers: jsonContentHeaders$
|
|
10124
|
+
headers: jsonContentHeaders$k,
|
|
10105
10125
|
method: 'POST',
|
|
10106
10126
|
path: `/functions/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/functions`
|
|
10107
10127
|
}, unmarshalFunction);
|
|
@@ -10115,7 +10135,7 @@ let API$k = class API extends API$v {
|
|
|
10115
10135
|
*/
|
|
10116
10136
|
updateFunction = request => this.client.fetch({
|
|
10117
10137
|
body: JSON.stringify(marshalUpdateFunctionRequest(request, this.client.settings)),
|
|
10118
|
-
headers: jsonContentHeaders$
|
|
10138
|
+
headers: jsonContentHeaders$k,
|
|
10119
10139
|
method: 'PATCH',
|
|
10120
10140
|
path: `/functions/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/functions/${validatePathParam('functionId', request.functionId)}`
|
|
10121
10141
|
}, unmarshalFunction);
|
|
@@ -10139,7 +10159,7 @@ let API$k = class API extends API$v {
|
|
|
10139
10159
|
*/
|
|
10140
10160
|
deployFunction = request => this.client.fetch({
|
|
10141
10161
|
body: '{}',
|
|
10142
|
-
headers: jsonContentHeaders$
|
|
10162
|
+
headers: jsonContentHeaders$k,
|
|
10143
10163
|
method: 'POST',
|
|
10144
10164
|
path: `/functions/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/functions/${validatePathParam('functionId', request.functionId)}/deploy`
|
|
10145
10165
|
}, unmarshalFunction);
|
|
@@ -10222,7 +10242,7 @@ let API$k = class API extends API$v {
|
|
|
10222
10242
|
*/
|
|
10223
10243
|
createCron = request => this.client.fetch({
|
|
10224
10244
|
body: JSON.stringify(marshalCreateCronRequest(request, this.client.settings)),
|
|
10225
|
-
headers: jsonContentHeaders$
|
|
10245
|
+
headers: jsonContentHeaders$k,
|
|
10226
10246
|
method: 'POST',
|
|
10227
10247
|
path: `/functions/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/crons`
|
|
10228
10248
|
}, unmarshalCron);
|
|
@@ -10235,7 +10255,7 @@ let API$k = class API extends API$v {
|
|
|
10235
10255
|
*/
|
|
10236
10256
|
updateCron = request => this.client.fetch({
|
|
10237
10257
|
body: JSON.stringify(marshalUpdateCronRequest(request, this.client.settings)),
|
|
10238
|
-
headers: jsonContentHeaders$
|
|
10258
|
+
headers: jsonContentHeaders$k,
|
|
10239
10259
|
method: 'PATCH',
|
|
10240
10260
|
path: `/functions/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/crons/${validatePathParam('cronId', request.cronId)}`
|
|
10241
10261
|
}, unmarshalCron);
|
|
@@ -10309,7 +10329,7 @@ let API$k = class API extends API$v {
|
|
|
10309
10329
|
*/
|
|
10310
10330
|
createDomain = request => this.client.fetch({
|
|
10311
10331
|
body: JSON.stringify(marshalCreateDomainRequest$1(request, this.client.settings)),
|
|
10312
|
-
headers: jsonContentHeaders$
|
|
10332
|
+
headers: jsonContentHeaders$k,
|
|
10313
10333
|
method: 'POST',
|
|
10314
10334
|
path: `/functions/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/domains`
|
|
10315
10335
|
}, unmarshalDomain$1);
|
|
@@ -10353,7 +10373,7 @@ let API$k = class API extends API$v {
|
|
|
10353
10373
|
*/
|
|
10354
10374
|
createToken = (request = {}) => this.client.fetch({
|
|
10355
10375
|
body: JSON.stringify(marshalCreateTokenRequest(request, this.client.settings)),
|
|
10356
|
-
headers: jsonContentHeaders$
|
|
10376
|
+
headers: jsonContentHeaders$k,
|
|
10357
10377
|
method: 'POST',
|
|
10358
10378
|
path: `/functions/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/tokens`
|
|
10359
10379
|
}, unmarshalToken);
|
|
@@ -10410,7 +10430,7 @@ let API$k = class API extends API$v {
|
|
|
10410
10430
|
*/
|
|
10411
10431
|
createTrigger = request => this.client.fetch({
|
|
10412
10432
|
body: JSON.stringify(marshalCreateTriggerRequest(request, this.client.settings)),
|
|
10413
|
-
headers: jsonContentHeaders$
|
|
10433
|
+
headers: jsonContentHeaders$k,
|
|
10414
10434
|
method: 'POST',
|
|
10415
10435
|
path: `/functions/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/triggers`
|
|
10416
10436
|
}, unmarshalTrigger);
|
|
@@ -10467,7 +10487,7 @@ let API$k = class API extends API$v {
|
|
|
10467
10487
|
*/
|
|
10468
10488
|
updateTrigger = request => this.client.fetch({
|
|
10469
10489
|
body: JSON.stringify(marshalUpdateTriggerRequest(request, this.client.settings)),
|
|
10470
|
-
headers: jsonContentHeaders$
|
|
10490
|
+
headers: jsonContentHeaders$k,
|
|
10471
10491
|
method: 'PATCH',
|
|
10472
10492
|
path: `/functions/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/triggers/${validatePathParam('triggerId', request.triggerId)}`
|
|
10473
10493
|
}, unmarshalTrigger);
|
|
@@ -10527,7 +10547,7 @@ const UpdateTriggerRequest = {
|
|
|
10527
10547
|
}
|
|
10528
10548
|
};
|
|
10529
10549
|
|
|
10530
|
-
var validationRules_gen$
|
|
10550
|
+
var validationRules_gen$8 = /*#__PURE__*/Object.freeze({
|
|
10531
10551
|
__proto__: null,
|
|
10532
10552
|
CreateTriggerRequest: CreateTriggerRequest,
|
|
10533
10553
|
CreateTriggerRequestMnqNatsClientConfig: CreateTriggerRequestMnqNatsClientConfig,
|
|
@@ -10538,21 +10558,21 @@ var validationRules_gen$7 = /*#__PURE__*/Object.freeze({
|
|
|
10538
10558
|
// This file was automatically generated. DO NOT EDIT.
|
|
10539
10559
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
10540
10560
|
|
|
10541
|
-
var index_gen$
|
|
10561
|
+
var index_gen$k = /*#__PURE__*/Object.freeze({
|
|
10542
10562
|
__proto__: null,
|
|
10543
|
-
API: API$
|
|
10563
|
+
API: API$l,
|
|
10544
10564
|
CRON_TRANSIENT_STATUSES: CRON_TRANSIENT_STATUSES,
|
|
10545
10565
|
DOMAIN_TRANSIENT_STATUSES: DOMAIN_TRANSIENT_STATUSES$1,
|
|
10546
10566
|
FUNCTION_TRANSIENT_STATUSES: FUNCTION_TRANSIENT_STATUSES,
|
|
10547
10567
|
NAMESPACE_TRANSIENT_STATUSES: NAMESPACE_TRANSIENT_STATUSES$1,
|
|
10548
10568
|
TOKEN_TRANSIENT_STATUSES: TOKEN_TRANSIENT_STATUSES,
|
|
10549
10569
|
TRIGGER_TRANSIENT_STATUSES: TRIGGER_TRANSIENT_STATUSES,
|
|
10550
|
-
ValidationRules: validationRules_gen$
|
|
10570
|
+
ValidationRules: validationRules_gen$8
|
|
10551
10571
|
});
|
|
10552
10572
|
|
|
10553
|
-
var index$
|
|
10573
|
+
var index$n = /*#__PURE__*/Object.freeze({
|
|
10554
10574
|
__proto__: null,
|
|
10555
|
-
v1beta1: index_gen$
|
|
10575
|
+
v1beta1: index_gen$k
|
|
10556
10576
|
});
|
|
10557
10577
|
|
|
10558
10578
|
// This file was automatically generated. DO NOT EDIT.
|
|
@@ -10971,12 +10991,12 @@ const marshalUpdateSSHKeyRequest = (request, defaults) => ({
|
|
|
10971
10991
|
|
|
10972
10992
|
// This file was automatically generated. DO NOT EDIT.
|
|
10973
10993
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
10974
|
-
const jsonContentHeaders$
|
|
10994
|
+
const jsonContentHeaders$j = {
|
|
10975
10995
|
'Content-Type': 'application/json; charset=utf-8'
|
|
10976
10996
|
};
|
|
10977
10997
|
|
|
10978
10998
|
/** IAM API. */
|
|
10979
|
-
let API$
|
|
10999
|
+
let API$k = class API extends API$w {
|
|
10980
11000
|
pageOfListSSHKeys = (request = {}) => this.client.fetch({
|
|
10981
11001
|
method: 'GET',
|
|
10982
11002
|
path: `/iam/v1alpha1/ssh-keys`,
|
|
@@ -11003,7 +11023,7 @@ let API$j = class API extends API$v {
|
|
|
11003
11023
|
*/
|
|
11004
11024
|
createSSHKey = request => this.client.fetch({
|
|
11005
11025
|
body: JSON.stringify(marshalCreateSSHKeyRequest(request, this.client.settings)),
|
|
11006
|
-
headers: jsonContentHeaders$
|
|
11026
|
+
headers: jsonContentHeaders$j,
|
|
11007
11027
|
method: 'POST',
|
|
11008
11028
|
path: `/iam/v1alpha1/ssh-keys`
|
|
11009
11029
|
}, unmarshalSSHKey);
|
|
@@ -11030,7 +11050,7 @@ let API$j = class API extends API$v {
|
|
|
11030
11050
|
*/
|
|
11031
11051
|
updateSSHKey = request => this.client.fetch({
|
|
11032
11052
|
body: JSON.stringify(marshalUpdateSSHKeyRequest(request, this.client.settings)),
|
|
11033
|
-
headers: jsonContentHeaders$
|
|
11053
|
+
headers: jsonContentHeaders$j,
|
|
11034
11054
|
method: 'PATCH',
|
|
11035
11055
|
path: `/iam/v1alpha1/ssh-keys/${validatePathParam('sshKeyId', request.sshKeyId)}`
|
|
11036
11056
|
}, unmarshalSSHKey);
|
|
@@ -11100,7 +11120,7 @@ let API$j = class API extends API$v {
|
|
|
11100
11120
|
*/
|
|
11101
11121
|
createUser = request => this.client.fetch({
|
|
11102
11122
|
body: JSON.stringify(marshalCreateUserRequest$1(request, this.client.settings)),
|
|
11103
|
-
headers: jsonContentHeaders$
|
|
11123
|
+
headers: jsonContentHeaders$j,
|
|
11104
11124
|
method: 'POST',
|
|
11105
11125
|
path: `/iam/v1alpha1/users`
|
|
11106
11126
|
}, unmarshalUser$1);
|
|
@@ -11132,7 +11152,7 @@ let API$j = class API extends API$v {
|
|
|
11132
11152
|
*/
|
|
11133
11153
|
createApplication = request => this.client.fetch({
|
|
11134
11154
|
body: JSON.stringify(marshalCreateApplicationRequest(request, this.client.settings)),
|
|
11135
|
-
headers: jsonContentHeaders$
|
|
11155
|
+
headers: jsonContentHeaders$j,
|
|
11136
11156
|
method: 'POST',
|
|
11137
11157
|
path: `/iam/v1alpha1/applications`
|
|
11138
11158
|
}, unmarshalApplication);
|
|
@@ -11160,7 +11180,7 @@ let API$j = class API extends API$v {
|
|
|
11160
11180
|
*/
|
|
11161
11181
|
updateApplication = request => this.client.fetch({
|
|
11162
11182
|
body: JSON.stringify(marshalUpdateApplicationRequest(request, this.client.settings)),
|
|
11163
|
-
headers: jsonContentHeaders$
|
|
11183
|
+
headers: jsonContentHeaders$j,
|
|
11164
11184
|
method: 'PATCH',
|
|
11165
11185
|
path: `/iam/v1alpha1/applications/${validatePathParam('applicationId', request.applicationId)}`
|
|
11166
11186
|
}, unmarshalApplication);
|
|
@@ -11204,7 +11224,7 @@ let API$j = class API extends API$v {
|
|
|
11204
11224
|
*/
|
|
11205
11225
|
createGroup = request => this.client.fetch({
|
|
11206
11226
|
body: JSON.stringify(marshalCreateGroupRequest(request, this.client.settings)),
|
|
11207
|
-
headers: jsonContentHeaders$
|
|
11227
|
+
headers: jsonContentHeaders$j,
|
|
11208
11228
|
method: 'POST',
|
|
11209
11229
|
path: `/iam/v1alpha1/groups`
|
|
11210
11230
|
}, unmarshalGroup);
|
|
@@ -11231,7 +11251,7 @@ let API$j = class API extends API$v {
|
|
|
11231
11251
|
*/
|
|
11232
11252
|
updateGroup = request => this.client.fetch({
|
|
11233
11253
|
body: JSON.stringify(marshalUpdateGroupRequest(request, this.client.settings)),
|
|
11234
|
-
headers: jsonContentHeaders$
|
|
11254
|
+
headers: jsonContentHeaders$j,
|
|
11235
11255
|
method: 'PATCH',
|
|
11236
11256
|
path: `/iam/v1alpha1/groups/${validatePathParam('groupId', request.groupId)}`
|
|
11237
11257
|
}, unmarshalGroup);
|
|
@@ -11246,7 +11266,7 @@ let API$j = class API extends API$v {
|
|
|
11246
11266
|
*/
|
|
11247
11267
|
setGroupMembers = request => this.client.fetch({
|
|
11248
11268
|
body: JSON.stringify(marshalSetGroupMembersRequest(request, this.client.settings)),
|
|
11249
|
-
headers: jsonContentHeaders$
|
|
11269
|
+
headers: jsonContentHeaders$j,
|
|
11250
11270
|
method: 'PUT',
|
|
11251
11271
|
path: `/iam/v1alpha1/groups/${validatePathParam('groupId', request.groupId)}/members`
|
|
11252
11272
|
}, unmarshalGroup);
|
|
@@ -11261,7 +11281,7 @@ let API$j = class API extends API$v {
|
|
|
11261
11281
|
*/
|
|
11262
11282
|
addGroupMember = request => this.client.fetch({
|
|
11263
11283
|
body: JSON.stringify(marshalAddGroupMemberRequest(request, this.client.settings)),
|
|
11264
|
-
headers: jsonContentHeaders$
|
|
11284
|
+
headers: jsonContentHeaders$j,
|
|
11265
11285
|
method: 'POST',
|
|
11266
11286
|
path: `/iam/v1alpha1/groups/${validatePathParam('groupId', request.groupId)}/add-member`
|
|
11267
11287
|
}, unmarshalGroup);
|
|
@@ -11279,7 +11299,7 @@ let API$j = class API extends API$v {
|
|
|
11279
11299
|
*/
|
|
11280
11300
|
addGroupMembers = request => this.client.fetch({
|
|
11281
11301
|
body: JSON.stringify(marshalAddGroupMembersRequest(request, this.client.settings)),
|
|
11282
|
-
headers: jsonContentHeaders$
|
|
11302
|
+
headers: jsonContentHeaders$j,
|
|
11283
11303
|
method: 'POST',
|
|
11284
11304
|
path: `/iam/v1alpha1/groups/${validatePathParam('groupId', request.groupId)}/add-members`
|
|
11285
11305
|
}, unmarshalGroup);
|
|
@@ -11298,7 +11318,7 @@ let API$j = class API extends API$v {
|
|
|
11298
11318
|
*/
|
|
11299
11319
|
removeGroupMember = request => this.client.fetch({
|
|
11300
11320
|
body: JSON.stringify(marshalRemoveGroupMemberRequest(request, this.client.settings)),
|
|
11301
|
-
headers: jsonContentHeaders$
|
|
11321
|
+
headers: jsonContentHeaders$j,
|
|
11302
11322
|
method: 'POST',
|
|
11303
11323
|
path: `/iam/v1alpha1/groups/${validatePathParam('groupId', request.groupId)}/remove-member`
|
|
11304
11324
|
}, unmarshalGroup);
|
|
@@ -11344,7 +11364,7 @@ let API$j = class API extends API$v {
|
|
|
11344
11364
|
*/
|
|
11345
11365
|
createPolicy = request => this.client.fetch({
|
|
11346
11366
|
body: JSON.stringify(marshalCreatePolicyRequest(request, this.client.settings)),
|
|
11347
|
-
headers: jsonContentHeaders$
|
|
11367
|
+
headers: jsonContentHeaders$j,
|
|
11348
11368
|
method: 'POST',
|
|
11349
11369
|
path: `/iam/v1alpha1/policies`
|
|
11350
11370
|
}, unmarshalPolicy);
|
|
@@ -11373,7 +11393,7 @@ let API$j = class API extends API$v {
|
|
|
11373
11393
|
*/
|
|
11374
11394
|
updatePolicy = request => this.client.fetch({
|
|
11375
11395
|
body: JSON.stringify(marshalUpdatePolicyRequest(request, this.client.settings)),
|
|
11376
|
-
headers: jsonContentHeaders$
|
|
11396
|
+
headers: jsonContentHeaders$j,
|
|
11377
11397
|
method: 'PATCH',
|
|
11378
11398
|
path: `/iam/v1alpha1/policies/${validatePathParam('policyId', request.policyId)}`
|
|
11379
11399
|
}, unmarshalPolicy);
|
|
@@ -11400,7 +11420,7 @@ let API$j = class API extends API$v {
|
|
|
11400
11420
|
*/
|
|
11401
11421
|
clonePolicy = request => this.client.fetch({
|
|
11402
11422
|
body: '{}',
|
|
11403
|
-
headers: jsonContentHeaders$
|
|
11423
|
+
headers: jsonContentHeaders$j,
|
|
11404
11424
|
method: 'POST',
|
|
11405
11425
|
path: `/iam/v1alpha1/policies/${validatePathParam('policyId', request.policyId)}/clone`
|
|
11406
11426
|
}, unmarshalPolicy);
|
|
@@ -11418,7 +11438,7 @@ let API$j = class API extends API$v {
|
|
|
11418
11438
|
*/
|
|
11419
11439
|
setRules = request => this.client.fetch({
|
|
11420
11440
|
body: JSON.stringify(marshalSetRulesRequest(request, this.client.settings)),
|
|
11421
|
-
headers: jsonContentHeaders$
|
|
11441
|
+
headers: jsonContentHeaders$j,
|
|
11422
11442
|
method: 'PUT',
|
|
11423
11443
|
path: `/iam/v1alpha1/rules`
|
|
11424
11444
|
}, unmarshalSetRulesResponse);
|
|
@@ -11489,7 +11509,7 @@ let API$j = class API extends API$v {
|
|
|
11489
11509
|
*/
|
|
11490
11510
|
createAPIKey = request => this.client.fetch({
|
|
11491
11511
|
body: JSON.stringify(marshalCreateAPIKeyRequest(request, this.client.settings)),
|
|
11492
|
-
headers: jsonContentHeaders$
|
|
11512
|
+
headers: jsonContentHeaders$j,
|
|
11493
11513
|
method: 'POST',
|
|
11494
11514
|
path: `/iam/v1alpha1/api-keys`
|
|
11495
11515
|
}, unmarshalAPIKey);
|
|
@@ -11519,7 +11539,7 @@ let API$j = class API extends API$v {
|
|
|
11519
11539
|
*/
|
|
11520
11540
|
updateAPIKey = request => this.client.fetch({
|
|
11521
11541
|
body: JSON.stringify(marshalUpdateAPIKeyRequest(request, this.client.settings)),
|
|
11522
|
-
headers: jsonContentHeaders$
|
|
11542
|
+
headers: jsonContentHeaders$j,
|
|
11523
11543
|
method: 'PATCH',
|
|
11524
11544
|
path: `/iam/v1alpha1/api-keys/${validatePathParam('accessKey', request.accessKey)}`
|
|
11525
11545
|
}, unmarshalAPIKey);
|
|
@@ -11845,7 +11865,7 @@ const UpdateSSHKeyRequest = {
|
|
|
11845
11865
|
}
|
|
11846
11866
|
};
|
|
11847
11867
|
|
|
11848
|
-
var validationRules_gen$
|
|
11868
|
+
var validationRules_gen$7 = /*#__PURE__*/Object.freeze({
|
|
11849
11869
|
__proto__: null,
|
|
11850
11870
|
CreateAPIKeyRequest: CreateAPIKeyRequest,
|
|
11851
11871
|
CreateApplicationRequest: CreateApplicationRequest,
|
|
@@ -11874,15 +11894,15 @@ var validationRules_gen$6 = /*#__PURE__*/Object.freeze({
|
|
|
11874
11894
|
// This file was automatically generated. DO NOT EDIT.
|
|
11875
11895
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
11876
11896
|
|
|
11877
|
-
var index_gen$
|
|
11897
|
+
var index_gen$j = /*#__PURE__*/Object.freeze({
|
|
11878
11898
|
__proto__: null,
|
|
11879
|
-
API: API$
|
|
11880
|
-
ValidationRules: validationRules_gen$
|
|
11899
|
+
API: API$k,
|
|
11900
|
+
ValidationRules: validationRules_gen$7
|
|
11881
11901
|
});
|
|
11882
11902
|
|
|
11883
|
-
var index$
|
|
11903
|
+
var index$m = /*#__PURE__*/Object.freeze({
|
|
11884
11904
|
__proto__: null,
|
|
11885
|
-
v1alpha1: index_gen$
|
|
11905
|
+
v1alpha1: index_gen$j
|
|
11886
11906
|
});
|
|
11887
11907
|
|
|
11888
11908
|
// This file was automatically generated. DO NOT EDIT.
|
|
@@ -13366,12 +13386,12 @@ const marshalUpdateVolumeRequest$1 = (request, defaults) => ({
|
|
|
13366
13386
|
|
|
13367
13387
|
// This file was automatically generated. DO NOT EDIT.
|
|
13368
13388
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
13369
|
-
const jsonContentHeaders$
|
|
13389
|
+
const jsonContentHeaders$i = {
|
|
13370
13390
|
'Content-Type': 'application/json; charset=utf-8'
|
|
13371
13391
|
};
|
|
13372
13392
|
|
|
13373
13393
|
/** Instance API. */
|
|
13374
|
-
let API$
|
|
13394
|
+
let API$j = class API extends API$w {
|
|
13375
13395
|
/** Lists the available zones of the API. */
|
|
13376
13396
|
static LOCALITIES = ['fr-par-1', 'fr-par-2', 'fr-par-3', 'nl-ams-1', 'nl-ams-2', 'nl-ams-3', 'pl-waw-1', 'pl-waw-2', 'pl-waw-3'];
|
|
13377
13397
|
|
|
@@ -13427,7 +13447,7 @@ let API$i = class API extends API$v {
|
|
|
13427
13447
|
listServers = (request = {}) => enrichForPagination('servers', this.pageOfListServers, request);
|
|
13428
13448
|
_createServer = request => this.client.fetch({
|
|
13429
13449
|
body: JSON.stringify(marshalCreateServerRequest(request, this.client.settings)),
|
|
13430
|
-
headers: jsonContentHeaders$
|
|
13450
|
+
headers: jsonContentHeaders$i,
|
|
13431
13451
|
method: 'POST',
|
|
13432
13452
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers`
|
|
13433
13453
|
}, unmarshalCreateServerResponse);
|
|
@@ -13454,13 +13474,13 @@ let API$i = class API extends API$v {
|
|
|
13454
13474
|
}, unmarshalGetServerResponse);
|
|
13455
13475
|
_setServer = request => this.client.fetch({
|
|
13456
13476
|
body: JSON.stringify(marshalSetServerRequest(request, this.client.settings)),
|
|
13457
|
-
headers: jsonContentHeaders$
|
|
13477
|
+
headers: jsonContentHeaders$i,
|
|
13458
13478
|
method: 'PUT',
|
|
13459
13479
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('id', request.id)}`
|
|
13460
13480
|
}, unmarshalSetServerResponse);
|
|
13461
13481
|
_updateServer = request => this.client.fetch({
|
|
13462
13482
|
body: JSON.stringify(marshalUpdateServerRequest(request, this.client.settings)),
|
|
13463
|
-
headers: jsonContentHeaders$
|
|
13483
|
+
headers: jsonContentHeaders$i,
|
|
13464
13484
|
method: 'PATCH',
|
|
13465
13485
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}`
|
|
13466
13486
|
}, unmarshalUpdateServerResponse);
|
|
@@ -13498,7 +13518,7 @@ let API$i = class API extends API$v {
|
|
|
13498
13518
|
*/
|
|
13499
13519
|
serverAction = request => this.client.fetch({
|
|
13500
13520
|
body: JSON.stringify(marshalServerActionRequest(request, this.client.settings)),
|
|
13501
|
-
headers: jsonContentHeaders$
|
|
13521
|
+
headers: jsonContentHeaders$i,
|
|
13502
13522
|
method: 'POST',
|
|
13503
13523
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/action`
|
|
13504
13524
|
}, unmarshalServerActionResponse);
|
|
@@ -13525,13 +13545,13 @@ let API$i = class API extends API$v {
|
|
|
13525
13545
|
});
|
|
13526
13546
|
attachServerVolume = request => this.client.fetch({
|
|
13527
13547
|
body: JSON.stringify(marshalAttachServerVolumeRequest(request, this.client.settings)),
|
|
13528
|
-
headers: jsonContentHeaders$
|
|
13548
|
+
headers: jsonContentHeaders$i,
|
|
13529
13549
|
method: 'POST',
|
|
13530
13550
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/attach-volume`
|
|
13531
13551
|
}, unmarshalAttachServerVolumeResponse);
|
|
13532
13552
|
detachServerVolume = request => this.client.fetch({
|
|
13533
13553
|
body: JSON.stringify(marshalDetachServerVolumeRequest(request, this.client.settings)),
|
|
13534
|
-
headers: jsonContentHeaders$
|
|
13554
|
+
headers: jsonContentHeaders$i,
|
|
13535
13555
|
method: 'POST',
|
|
13536
13556
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/detach-volume`
|
|
13537
13557
|
}, unmarshalDetachServerVolumeResponse);
|
|
@@ -13569,13 +13589,13 @@ let API$i = class API extends API$v {
|
|
|
13569
13589
|
*/
|
|
13570
13590
|
createImage = request => this.client.fetch({
|
|
13571
13591
|
body: JSON.stringify(marshalCreateImageRequest(request, this.client.settings)),
|
|
13572
|
-
headers: jsonContentHeaders$
|
|
13592
|
+
headers: jsonContentHeaders$i,
|
|
13573
13593
|
method: 'POST',
|
|
13574
13594
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/images`
|
|
13575
13595
|
}, unmarshalCreateImageResponse);
|
|
13576
13596
|
_setImage = request => this.client.fetch({
|
|
13577
13597
|
body: JSON.stringify(marshalSetImageRequest(request, this.client.settings)),
|
|
13578
|
-
headers: jsonContentHeaders$
|
|
13598
|
+
headers: jsonContentHeaders$i,
|
|
13579
13599
|
method: 'PUT',
|
|
13580
13600
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/images/${validatePathParam('id', request.id)}`
|
|
13581
13601
|
}, unmarshalSetImageResponse);
|
|
@@ -13588,7 +13608,7 @@ let API$i = class API extends API$v {
|
|
|
13588
13608
|
*/
|
|
13589
13609
|
updateImage = request => this.client.fetch({
|
|
13590
13610
|
body: JSON.stringify(marshalUpdateImageRequest$1(request, this.client.settings)),
|
|
13591
|
-
headers: jsonContentHeaders$
|
|
13611
|
+
headers: jsonContentHeaders$i,
|
|
13592
13612
|
method: 'PATCH',
|
|
13593
13613
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/images/${validatePathParam('imageId', request.imageId)}`
|
|
13594
13614
|
}, unmarshalUpdateImageResponse);
|
|
@@ -13627,7 +13647,7 @@ let API$i = class API extends API$v {
|
|
|
13627
13647
|
*/
|
|
13628
13648
|
createSnapshot = (request = {}) => this.client.fetch({
|
|
13629
13649
|
body: JSON.stringify(marshalCreateSnapshotRequest$1(request, this.client.settings)),
|
|
13630
|
-
headers: jsonContentHeaders$
|
|
13650
|
+
headers: jsonContentHeaders$i,
|
|
13631
13651
|
method: 'POST',
|
|
13632
13652
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/snapshots`
|
|
13633
13653
|
}, unmarshalCreateSnapshotResponse);
|
|
@@ -13644,7 +13664,7 @@ let API$i = class API extends API$v {
|
|
|
13644
13664
|
}, unmarshalGetSnapshotResponse);
|
|
13645
13665
|
_setSnapshot = request => this.client.fetch({
|
|
13646
13666
|
body: JSON.stringify(marshalSetSnapshotRequest(request, this.client.settings)),
|
|
13647
|
-
headers: jsonContentHeaders$
|
|
13667
|
+
headers: jsonContentHeaders$i,
|
|
13648
13668
|
method: 'PUT',
|
|
13649
13669
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/snapshots/${validatePathParam('snapshotId', request.snapshotId)}`
|
|
13650
13670
|
}, unmarshalSetSnapshotResponse);
|
|
@@ -13657,7 +13677,7 @@ let API$i = class API extends API$v {
|
|
|
13657
13677
|
*/
|
|
13658
13678
|
updateSnapshot = request => this.client.fetch({
|
|
13659
13679
|
body: JSON.stringify(marshalUpdateSnapshotRequest$1(request, this.client.settings)),
|
|
13660
|
-
headers: jsonContentHeaders$
|
|
13680
|
+
headers: jsonContentHeaders$i,
|
|
13661
13681
|
method: 'PATCH',
|
|
13662
13682
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/snapshots/${validatePathParam('snapshotId', request.snapshotId)}`
|
|
13663
13683
|
}, unmarshalUpdateSnapshotResponse);
|
|
@@ -13681,7 +13701,7 @@ let API$i = class API extends API$v {
|
|
|
13681
13701
|
*/
|
|
13682
13702
|
exportSnapshot = request => this.client.fetch({
|
|
13683
13703
|
body: JSON.stringify(marshalExportSnapshotRequest(request, this.client.settings)),
|
|
13684
|
-
headers: jsonContentHeaders$
|
|
13704
|
+
headers: jsonContentHeaders$i,
|
|
13685
13705
|
method: 'POST',
|
|
13686
13706
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/snapshots/${validatePathParam('snapshotId', request.snapshotId)}/export`
|
|
13687
13707
|
}, unmarshalExportSnapshotResponse);
|
|
@@ -13709,7 +13729,7 @@ let API$i = class API extends API$v {
|
|
|
13709
13729
|
*/
|
|
13710
13730
|
createVolume = (request = {}) => this.client.fetch({
|
|
13711
13731
|
body: JSON.stringify(marshalCreateVolumeRequest$1(request, this.client.settings)),
|
|
13712
|
-
headers: jsonContentHeaders$
|
|
13732
|
+
headers: jsonContentHeaders$i,
|
|
13713
13733
|
method: 'POST',
|
|
13714
13734
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/volumes`
|
|
13715
13735
|
}, unmarshalCreateVolumeResponse);
|
|
@@ -13735,7 +13755,7 @@ let API$i = class API extends API$v {
|
|
|
13735
13755
|
*/
|
|
13736
13756
|
updateVolume = request => this.client.fetch({
|
|
13737
13757
|
body: JSON.stringify(marshalUpdateVolumeRequest$1(request, this.client.settings)),
|
|
13738
|
-
headers: jsonContentHeaders$
|
|
13758
|
+
headers: jsonContentHeaders$i,
|
|
13739
13759
|
method: 'PATCH',
|
|
13740
13760
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/volumes/${validatePathParam('volumeId', request.volumeId)}`
|
|
13741
13761
|
}, unmarshalUpdateVolumeResponse);
|
|
@@ -13772,7 +13792,7 @@ let API$i = class API extends API$v {
|
|
|
13772
13792
|
*/
|
|
13773
13793
|
createSecurityGroup = request => this.client.fetch({
|
|
13774
13794
|
body: JSON.stringify(marshalCreateSecurityGroupRequest(request, this.client.settings)),
|
|
13775
|
-
headers: jsonContentHeaders$
|
|
13795
|
+
headers: jsonContentHeaders$i,
|
|
13776
13796
|
method: 'POST',
|
|
13777
13797
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/security_groups`
|
|
13778
13798
|
}, unmarshalCreateSecurityGroupResponse);
|
|
@@ -13800,7 +13820,7 @@ let API$i = class API extends API$v {
|
|
|
13800
13820
|
});
|
|
13801
13821
|
_setSecurityGroup = request => this.client.fetch({
|
|
13802
13822
|
body: JSON.stringify(marshalSetSecurityGroupRequest(request, this.client.settings)),
|
|
13803
|
-
headers: jsonContentHeaders$
|
|
13823
|
+
headers: jsonContentHeaders$i,
|
|
13804
13824
|
method: 'PUT',
|
|
13805
13825
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/security_groups/${validatePathParam('id', request.id)}`
|
|
13806
13826
|
}, unmarshalSetSecurityGroupResponse);
|
|
@@ -13813,7 +13833,7 @@ let API$i = class API extends API$v {
|
|
|
13813
13833
|
*/
|
|
13814
13834
|
updateSecurityGroup = request => this.client.fetch({
|
|
13815
13835
|
body: JSON.stringify(marshalUpdateSecurityGroupRequest(request, this.client.settings)),
|
|
13816
|
-
headers: jsonContentHeaders$
|
|
13836
|
+
headers: jsonContentHeaders$i,
|
|
13817
13837
|
method: 'PATCH',
|
|
13818
13838
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/security_groups/${validatePathParam('securityGroupId', request.securityGroupId)}`
|
|
13819
13839
|
}, unmarshalUpdateSecurityGroupResponse);
|
|
@@ -13851,7 +13871,7 @@ let API$i = class API extends API$v {
|
|
|
13851
13871
|
*/
|
|
13852
13872
|
createSecurityGroupRule = request => this.client.fetch({
|
|
13853
13873
|
body: JSON.stringify(marshalCreateSecurityGroupRuleRequest(request, this.client.settings)),
|
|
13854
|
-
headers: jsonContentHeaders$
|
|
13874
|
+
headers: jsonContentHeaders$i,
|
|
13855
13875
|
method: 'POST',
|
|
13856
13876
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/security_groups/${validatePathParam('securityGroupId', request.securityGroupId)}/rules`
|
|
13857
13877
|
}, unmarshalCreateSecurityGroupRuleResponse);
|
|
@@ -13867,7 +13887,7 @@ let API$i = class API extends API$v {
|
|
|
13867
13887
|
*/
|
|
13868
13888
|
setSecurityGroupRules = request => this.client.fetch({
|
|
13869
13889
|
body: JSON.stringify(marshalSetSecurityGroupRulesRequest(request, this.client.settings)),
|
|
13870
|
-
headers: jsonContentHeaders$
|
|
13890
|
+
headers: jsonContentHeaders$i,
|
|
13871
13891
|
method: 'PUT',
|
|
13872
13892
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/security_groups/${validatePathParam('securityGroupId', request.securityGroupId)}/rules`
|
|
13873
13893
|
}, unmarshalSetSecurityGroupRulesResponse);
|
|
@@ -13894,7 +13914,7 @@ let API$i = class API extends API$v {
|
|
|
13894
13914
|
}, unmarshalGetSecurityGroupRuleResponse);
|
|
13895
13915
|
_setSecurityGroupRule = request => this.client.fetch({
|
|
13896
13916
|
body: JSON.stringify(marshalSetSecurityGroupRuleRequest(request, this.client.settings)),
|
|
13897
|
-
headers: jsonContentHeaders$
|
|
13917
|
+
headers: jsonContentHeaders$i,
|
|
13898
13918
|
method: 'PUT',
|
|
13899
13919
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/security_groups/${validatePathParam('securityGroupId', request.securityGroupId)}/rules/${validatePathParam('securityGroupRuleId', request.securityGroupRuleId)}`
|
|
13900
13920
|
}, unmarshalSetSecurityGroupRuleResponse);
|
|
@@ -13908,7 +13928,7 @@ let API$i = class API extends API$v {
|
|
|
13908
13928
|
*/
|
|
13909
13929
|
updateSecurityGroupRule = request => this.client.fetch({
|
|
13910
13930
|
body: JSON.stringify(marshalUpdateSecurityGroupRuleRequest(request, this.client.settings)),
|
|
13911
|
-
headers: jsonContentHeaders$
|
|
13931
|
+
headers: jsonContentHeaders$i,
|
|
13912
13932
|
method: 'PATCH',
|
|
13913
13933
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/security_groups/${validatePathParam('securityGroupId', request.securityGroupId)}/rules/${validatePathParam('securityGroupRuleId', request.securityGroupRuleId)}`
|
|
13914
13934
|
}, unmarshalUpdateSecurityGroupRuleResponse);
|
|
@@ -13936,7 +13956,7 @@ let API$i = class API extends API$v {
|
|
|
13936
13956
|
*/
|
|
13937
13957
|
createPlacementGroup = (request = {}) => this.client.fetch({
|
|
13938
13958
|
body: JSON.stringify(marshalCreatePlacementGroupRequest(request, this.client.settings)),
|
|
13939
|
-
headers: jsonContentHeaders$
|
|
13959
|
+
headers: jsonContentHeaders$i,
|
|
13940
13960
|
method: 'POST',
|
|
13941
13961
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/placement_groups`
|
|
13942
13962
|
}, unmarshalCreatePlacementGroupResponse);
|
|
@@ -13960,7 +13980,7 @@ let API$i = class API extends API$v {
|
|
|
13960
13980
|
*/
|
|
13961
13981
|
setPlacementGroup = request => this.client.fetch({
|
|
13962
13982
|
body: JSON.stringify(marshalSetPlacementGroupRequest(request, this.client.settings)),
|
|
13963
|
-
headers: jsonContentHeaders$
|
|
13983
|
+
headers: jsonContentHeaders$i,
|
|
13964
13984
|
method: 'PUT',
|
|
13965
13985
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/placement_groups/${validatePathParam('placementGroupId', request.placementGroupId)}`
|
|
13966
13986
|
}, unmarshalSetPlacementGroupResponse);
|
|
@@ -13974,7 +13994,7 @@ let API$i = class API extends API$v {
|
|
|
13974
13994
|
*/
|
|
13975
13995
|
updatePlacementGroup = request => this.client.fetch({
|
|
13976
13996
|
body: JSON.stringify(marshalUpdatePlacementGroupRequest(request, this.client.settings)),
|
|
13977
|
-
headers: jsonContentHeaders$
|
|
13997
|
+
headers: jsonContentHeaders$i,
|
|
13978
13998
|
method: 'PATCH',
|
|
13979
13999
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/placement_groups/${validatePathParam('placementGroupId', request.placementGroupId)}`
|
|
13980
14000
|
}, unmarshalUpdatePlacementGroupResponse);
|
|
@@ -14010,7 +14030,7 @@ let API$i = class API extends API$v {
|
|
|
14010
14030
|
*/
|
|
14011
14031
|
setPlacementGroupServers = request => this.client.fetch({
|
|
14012
14032
|
body: JSON.stringify(marshalSetPlacementGroupServersRequest(request, this.client.settings)),
|
|
14013
|
-
headers: jsonContentHeaders$
|
|
14033
|
+
headers: jsonContentHeaders$i,
|
|
14014
14034
|
method: 'PUT',
|
|
14015
14035
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/placement_groups/${validatePathParam('placementGroupId', request.placementGroupId)}/servers`
|
|
14016
14036
|
}, unmarshalSetPlacementGroupServersResponse);
|
|
@@ -14024,7 +14044,7 @@ let API$i = class API extends API$v {
|
|
|
14024
14044
|
*/
|
|
14025
14045
|
updatePlacementGroupServers = request => this.client.fetch({
|
|
14026
14046
|
body: JSON.stringify(marshalUpdatePlacementGroupServersRequest(request, this.client.settings)),
|
|
14027
|
-
headers: jsonContentHeaders$
|
|
14047
|
+
headers: jsonContentHeaders$i,
|
|
14028
14048
|
method: 'PATCH',
|
|
14029
14049
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/placement_groups/${validatePathParam('placementGroupId', request.placementGroupId)}/servers`
|
|
14030
14050
|
}, unmarshalUpdatePlacementGroupServersResponse);
|
|
@@ -14051,7 +14071,7 @@ let API$i = class API extends API$v {
|
|
|
14051
14071
|
*/
|
|
14052
14072
|
createIp = (request = {}) => this.client.fetch({
|
|
14053
14073
|
body: JSON.stringify(marshalCreateIpRequest$1(request, this.client.settings)),
|
|
14054
|
-
headers: jsonContentHeaders$
|
|
14074
|
+
headers: jsonContentHeaders$i,
|
|
14055
14075
|
method: 'POST',
|
|
14056
14076
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/ips`
|
|
14057
14077
|
}, unmarshalCreateIpResponse);
|
|
@@ -14076,7 +14096,7 @@ let API$i = class API extends API$v {
|
|
|
14076
14096
|
*/
|
|
14077
14097
|
updateIp = request => this.client.fetch({
|
|
14078
14098
|
body: JSON.stringify(marshalUpdateIpRequest$1(request, this.client.settings)),
|
|
14079
|
-
headers: jsonContentHeaders$
|
|
14099
|
+
headers: jsonContentHeaders$i,
|
|
14080
14100
|
method: 'PATCH',
|
|
14081
14101
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/ips/${validatePathParam('ip', request.ip)}`
|
|
14082
14102
|
}, unmarshalUpdateIpResponse);
|
|
@@ -14112,7 +14132,7 @@ let API$i = class API extends API$v {
|
|
|
14112
14132
|
*/
|
|
14113
14133
|
createPrivateNIC = request => this.client.fetch({
|
|
14114
14134
|
body: JSON.stringify(marshalCreatePrivateNICRequest(request, this.client.settings)),
|
|
14115
|
-
headers: jsonContentHeaders$
|
|
14135
|
+
headers: jsonContentHeaders$i,
|
|
14116
14136
|
method: 'POST',
|
|
14117
14137
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/private_nics`
|
|
14118
14138
|
}, unmarshalCreatePrivateNICResponse);
|
|
@@ -14137,7 +14157,7 @@ let API$i = class API extends API$v {
|
|
|
14137
14157
|
*/
|
|
14138
14158
|
updatePrivateNIC = request => this.client.fetch({
|
|
14139
14159
|
body: JSON.stringify(marshalUpdatePrivateNICRequest(request, this.client.settings)),
|
|
14140
|
-
headers: jsonContentHeaders$
|
|
14160
|
+
headers: jsonContentHeaders$i,
|
|
14141
14161
|
method: 'PATCH',
|
|
14142
14162
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/private_nics/${validatePathParam('privateNicId', request.privateNicId)}`
|
|
14143
14163
|
}, unmarshalPrivateNIC);
|
|
@@ -14197,7 +14217,7 @@ let API$i = class API extends API$v {
|
|
|
14197
14217
|
*/
|
|
14198
14218
|
planBlockMigration = (request = {}) => this.client.fetch({
|
|
14199
14219
|
body: JSON.stringify(marshalPlanBlockMigrationRequest(request, this.client.settings)),
|
|
14200
|
-
headers: jsonContentHeaders$
|
|
14220
|
+
headers: jsonContentHeaders$i,
|
|
14201
14221
|
method: 'POST',
|
|
14202
14222
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/block-migration/plan`
|
|
14203
14223
|
}, unmarshalMigrationPlan);
|
|
@@ -14212,7 +14232,7 @@ let API$i = class API extends API$v {
|
|
|
14212
14232
|
*/
|
|
14213
14233
|
applyBlockMigration = request => this.client.fetch({
|
|
14214
14234
|
body: JSON.stringify(marshalApplyBlockMigrationRequest(request, this.client.settings)),
|
|
14215
|
-
headers: jsonContentHeaders$
|
|
14235
|
+
headers: jsonContentHeaders$i,
|
|
14216
14236
|
method: 'POST',
|
|
14217
14237
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/block-migration/apply`
|
|
14218
14238
|
});
|
|
@@ -14255,7 +14275,7 @@ const validateNotUndefined = obj => {
|
|
|
14255
14275
|
if (obj === undefined) throw new TypeError(`object was found undefined`);
|
|
14256
14276
|
return obj;
|
|
14257
14277
|
};
|
|
14258
|
-
class InstanceV1UtilsAPI extends API$
|
|
14278
|
+
class InstanceV1UtilsAPI extends API$j {
|
|
14259
14279
|
/**
|
|
14260
14280
|
* Waits for {@link Image} to be in a final state.
|
|
14261
14281
|
*
|
|
@@ -14488,7 +14508,7 @@ class InstanceV1UtilsAPI extends API$i {
|
|
|
14488
14508
|
});
|
|
14489
14509
|
}
|
|
14490
14510
|
|
|
14491
|
-
var index$
|
|
14511
|
+
var index$l = /*#__PURE__*/Object.freeze({
|
|
14492
14512
|
__proto__: null,
|
|
14493
14513
|
API: InstanceV1UtilsAPI,
|
|
14494
14514
|
IMAGE_TRANSIENT_STATUSES: IMAGE_TRANSIENT_STATUSES$1,
|
|
@@ -14503,9 +14523,9 @@ var index$k = /*#__PURE__*/Object.freeze({
|
|
|
14503
14523
|
VOLUME_TRANSIENT_STATUSES: VOLUME_TRANSIENT_STATUSES
|
|
14504
14524
|
});
|
|
14505
14525
|
|
|
14506
|
-
var index$
|
|
14526
|
+
var index$k = /*#__PURE__*/Object.freeze({
|
|
14507
14527
|
__proto__: null,
|
|
14508
|
-
v1: index$
|
|
14528
|
+
v1: index$l
|
|
14509
14529
|
});
|
|
14510
14530
|
|
|
14511
14531
|
// This file was automatically generated. DO NOT EDIT.
|
|
@@ -14949,7 +14969,7 @@ const marshalUpdateRouteRequest$1 = (request, defaults) => ({
|
|
|
14949
14969
|
|
|
14950
14970
|
// This file was automatically generated. DO NOT EDIT.
|
|
14951
14971
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
14952
|
-
const jsonContentHeaders$
|
|
14972
|
+
const jsonContentHeaders$h = {
|
|
14953
14973
|
'Content-Type': 'application/json; charset=utf-8'
|
|
14954
14974
|
};
|
|
14955
14975
|
|
|
@@ -14958,7 +14978,7 @@ const jsonContentHeaders$g = {
|
|
|
14958
14978
|
*
|
|
14959
14979
|
* This API allows you to manage IoT hubs and devices.
|
|
14960
14980
|
*/
|
|
14961
|
-
let API$
|
|
14981
|
+
let API$i = class API extends API$w {
|
|
14962
14982
|
/** Lists the available regions of the API. */
|
|
14963
14983
|
static LOCALITIES = ['fr-par'];
|
|
14964
14984
|
pageOfListHubs = (request = {}) => this.client.fetch({
|
|
@@ -14986,7 +15006,7 @@ let API$h = class API extends API$v {
|
|
|
14986
15006
|
*/
|
|
14987
15007
|
createHub = request => this.client.fetch({
|
|
14988
15008
|
body: JSON.stringify(marshalCreateHubRequest(request, this.client.settings)),
|
|
14989
|
-
headers: jsonContentHeaders$
|
|
15009
|
+
headers: jsonContentHeaders$h,
|
|
14990
15010
|
method: 'POST',
|
|
14991
15011
|
path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/hubs`
|
|
14992
15012
|
}, unmarshalHub);
|
|
@@ -15022,7 +15042,7 @@ let API$h = class API extends API$v {
|
|
|
15022
15042
|
*/
|
|
15023
15043
|
updateHub = request => this.client.fetch({
|
|
15024
15044
|
body: JSON.stringify(marshalUpdateHubRequest(request, this.client.settings)),
|
|
15025
|
-
headers: jsonContentHeaders$
|
|
15045
|
+
headers: jsonContentHeaders$h,
|
|
15026
15046
|
method: 'PATCH',
|
|
15027
15047
|
path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/hubs/${validatePathParam('hubId', request.hubId)}`
|
|
15028
15048
|
}, unmarshalHub);
|
|
@@ -15035,7 +15055,7 @@ let API$h = class API extends API$v {
|
|
|
15035
15055
|
*/
|
|
15036
15056
|
enableHub = request => this.client.fetch({
|
|
15037
15057
|
body: '{}',
|
|
15038
|
-
headers: jsonContentHeaders$
|
|
15058
|
+
headers: jsonContentHeaders$h,
|
|
15039
15059
|
method: 'POST',
|
|
15040
15060
|
path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/hubs/${validatePathParam('hubId', request.hubId)}/enable`
|
|
15041
15061
|
}, unmarshalHub);
|
|
@@ -15048,7 +15068,7 @@ let API$h = class API extends API$v {
|
|
|
15048
15068
|
*/
|
|
15049
15069
|
disableHub = request => this.client.fetch({
|
|
15050
15070
|
body: '{}',
|
|
15051
|
-
headers: jsonContentHeaders$
|
|
15071
|
+
headers: jsonContentHeaders$h,
|
|
15052
15072
|
method: 'POST',
|
|
15053
15073
|
path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/hubs/${validatePathParam('hubId', request.hubId)}/disable`
|
|
15054
15074
|
}, unmarshalHub);
|
|
@@ -15088,7 +15108,7 @@ let API$h = class API extends API$v {
|
|
|
15088
15108
|
*/
|
|
15089
15109
|
setHubCA = request => this.client.fetch({
|
|
15090
15110
|
body: JSON.stringify(marshalSetHubCARequest(request, this.client.settings)),
|
|
15091
|
-
headers: jsonContentHeaders$
|
|
15111
|
+
headers: jsonContentHeaders$h,
|
|
15092
15112
|
method: 'POST',
|
|
15093
15113
|
path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/hubs/${validatePathParam('hubId', request.hubId)}/ca`
|
|
15094
15114
|
}, unmarshalHub);
|
|
@@ -15128,7 +15148,7 @@ let API$h = class API extends API$v {
|
|
|
15128
15148
|
*/
|
|
15129
15149
|
createDevice = request => this.client.fetch({
|
|
15130
15150
|
body: JSON.stringify(marshalCreateDeviceRequest(request, this.client.settings)),
|
|
15131
|
-
headers: jsonContentHeaders$
|
|
15151
|
+
headers: jsonContentHeaders$h,
|
|
15132
15152
|
method: 'POST',
|
|
15133
15153
|
path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/devices`
|
|
15134
15154
|
}, unmarshalCreateDeviceResponse);
|
|
@@ -15155,7 +15175,7 @@ let API$h = class API extends API$v {
|
|
|
15155
15175
|
*/
|
|
15156
15176
|
updateDevice = request => this.client.fetch({
|
|
15157
15177
|
body: JSON.stringify(marshalUpdateDeviceRequest(request, this.client.settings)),
|
|
15158
|
-
headers: jsonContentHeaders$
|
|
15178
|
+
headers: jsonContentHeaders$h,
|
|
15159
15179
|
method: 'PATCH',
|
|
15160
15180
|
path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/devices/${validatePathParam('deviceId', request.deviceId)}`
|
|
15161
15181
|
}, unmarshalDevice);
|
|
@@ -15168,7 +15188,7 @@ let API$h = class API extends API$v {
|
|
|
15168
15188
|
*/
|
|
15169
15189
|
enableDevice = request => this.client.fetch({
|
|
15170
15190
|
body: '{}',
|
|
15171
|
-
headers: jsonContentHeaders$
|
|
15191
|
+
headers: jsonContentHeaders$h,
|
|
15172
15192
|
method: 'POST',
|
|
15173
15193
|
path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/devices/${validatePathParam('deviceId', request.deviceId)}/enable`
|
|
15174
15194
|
}, unmarshalDevice);
|
|
@@ -15181,7 +15201,7 @@ let API$h = class API extends API$v {
|
|
|
15181
15201
|
*/
|
|
15182
15202
|
disableDevice = request => this.client.fetch({
|
|
15183
15203
|
body: '{}',
|
|
15184
|
-
headers: jsonContentHeaders$
|
|
15204
|
+
headers: jsonContentHeaders$h,
|
|
15185
15205
|
method: 'POST',
|
|
15186
15206
|
path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/devices/${validatePathParam('deviceId', request.deviceId)}/disable`
|
|
15187
15207
|
}, unmarshalDevice);
|
|
@@ -15195,7 +15215,7 @@ let API$h = class API extends API$v {
|
|
|
15195
15215
|
*/
|
|
15196
15216
|
renewDeviceCertificate = request => this.client.fetch({
|
|
15197
15217
|
body: '{}',
|
|
15198
|
-
headers: jsonContentHeaders$
|
|
15218
|
+
headers: jsonContentHeaders$h,
|
|
15199
15219
|
method: 'POST',
|
|
15200
15220
|
path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/devices/${validatePathParam('deviceId', request.deviceId)}/renew-certificate`
|
|
15201
15221
|
}, unmarshalRenewDeviceCertificateResponse);
|
|
@@ -15209,7 +15229,7 @@ let API$h = class API extends API$v {
|
|
|
15209
15229
|
*/
|
|
15210
15230
|
setDeviceCertificate = request => this.client.fetch({
|
|
15211
15231
|
body: JSON.stringify(marshalSetDeviceCertificateRequest(request, this.client.settings)),
|
|
15212
|
-
headers: jsonContentHeaders$
|
|
15232
|
+
headers: jsonContentHeaders$h,
|
|
15213
15233
|
method: 'PUT',
|
|
15214
15234
|
path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/devices/${validatePathParam('deviceId', request.deviceId)}/certificate`
|
|
15215
15235
|
}, unmarshalSetDeviceCertificateResponse);
|
|
@@ -15284,7 +15304,7 @@ let API$h = class API extends API$v {
|
|
|
15284
15304
|
*/
|
|
15285
15305
|
createRoute = request => this.client.fetch({
|
|
15286
15306
|
body: JSON.stringify(marshalCreateRouteRequest$1(request, this.client.settings)),
|
|
15287
|
-
headers: jsonContentHeaders$
|
|
15307
|
+
headers: jsonContentHeaders$h,
|
|
15288
15308
|
method: 'POST',
|
|
15289
15309
|
path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/routes`
|
|
15290
15310
|
}, unmarshalRoute$1);
|
|
@@ -15298,7 +15318,7 @@ let API$h = class API extends API$v {
|
|
|
15298
15318
|
*/
|
|
15299
15319
|
updateRoute = request => this.client.fetch({
|
|
15300
15320
|
body: JSON.stringify(marshalUpdateRouteRequest$1(request, this.client.settings)),
|
|
15301
|
-
headers: jsonContentHeaders$
|
|
15321
|
+
headers: jsonContentHeaders$h,
|
|
15302
15322
|
method: 'PATCH',
|
|
15303
15323
|
path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/routes/${validatePathParam('routeId', request.routeId)}`
|
|
15304
15324
|
}, unmarshalRoute$1);
|
|
@@ -15350,7 +15370,7 @@ let API$h = class API extends API$v {
|
|
|
15350
15370
|
*/
|
|
15351
15371
|
createNetwork = request => this.client.fetch({
|
|
15352
15372
|
body: JSON.stringify(marshalCreateNetworkRequest(request, this.client.settings)),
|
|
15353
|
-
headers: jsonContentHeaders$
|
|
15373
|
+
headers: jsonContentHeaders$h,
|
|
15354
15374
|
method: 'POST',
|
|
15355
15375
|
path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/networks`
|
|
15356
15376
|
}, unmarshalCreateNetworkResponse);
|
|
@@ -15398,7 +15418,7 @@ let API$h = class API extends API$v {
|
|
|
15398
15418
|
*/
|
|
15399
15419
|
putTwinDocument = request => this.client.fetch({
|
|
15400
15420
|
body: JSON.stringify(marshalPutTwinDocumentRequest(request, this.client.settings)),
|
|
15401
|
-
headers: jsonContentHeaders$
|
|
15421
|
+
headers: jsonContentHeaders$h,
|
|
15402
15422
|
method: 'PUT',
|
|
15403
15423
|
path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/twins/${validatePathParam('twinId', request.twinId)}/documents/${validatePathParam('documentName', request.documentName)}`
|
|
15404
15424
|
}, unmarshalTwinDocument);
|
|
@@ -15411,7 +15431,7 @@ let API$h = class API extends API$v {
|
|
|
15411
15431
|
*/
|
|
15412
15432
|
patchTwinDocument = request => this.client.fetch({
|
|
15413
15433
|
body: JSON.stringify(marshalPatchTwinDocumentRequest(request, this.client.settings)),
|
|
15414
|
-
headers: jsonContentHeaders$
|
|
15434
|
+
headers: jsonContentHeaders$h,
|
|
15415
15435
|
method: 'PATCH',
|
|
15416
15436
|
path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/twins/${validatePathParam('twinId', request.twinId)}/documents/${validatePathParam('documentName', request.documentName)}`
|
|
15417
15437
|
}, unmarshalTwinDocument);
|
|
@@ -15451,15 +15471,15 @@ let API$h = class API extends API$v {
|
|
|
15451
15471
|
// This file was automatically generated. DO NOT EDIT.
|
|
15452
15472
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
15453
15473
|
|
|
15454
|
-
var index_gen$
|
|
15474
|
+
var index_gen$i = /*#__PURE__*/Object.freeze({
|
|
15455
15475
|
__proto__: null,
|
|
15456
|
-
API: API$
|
|
15476
|
+
API: API$i,
|
|
15457
15477
|
HUB_TRANSIENT_STATUSES: HUB_TRANSIENT_STATUSES
|
|
15458
15478
|
});
|
|
15459
15479
|
|
|
15460
|
-
var index$
|
|
15480
|
+
var index$j = /*#__PURE__*/Object.freeze({
|
|
15461
15481
|
__proto__: null,
|
|
15462
|
-
v1: index_gen$
|
|
15482
|
+
v1: index_gen$i
|
|
15463
15483
|
});
|
|
15464
15484
|
|
|
15465
15485
|
// This file was automatically generated. DO NOT EDIT.
|
|
@@ -15537,7 +15557,7 @@ const marshalUpdateIPRequest$1 = (request, defaults) => ({
|
|
|
15537
15557
|
|
|
15538
15558
|
// This file was automatically generated. DO NOT EDIT.
|
|
15539
15559
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
15540
|
-
const jsonContentHeaders$
|
|
15560
|
+
const jsonContentHeaders$g = {
|
|
15541
15561
|
'Content-Type': 'application/json; charset=utf-8'
|
|
15542
15562
|
};
|
|
15543
15563
|
|
|
@@ -15547,7 +15567,7 @@ const jsonContentHeaders$f = {
|
|
|
15547
15567
|
* This API allows you to manage IP addresses with Scaleway's IP Address
|
|
15548
15568
|
* Management tool.
|
|
15549
15569
|
*/
|
|
15550
|
-
let API$
|
|
15570
|
+
let API$h = class API extends API$w {
|
|
15551
15571
|
/** Lists the available regions of the API. */
|
|
15552
15572
|
static LOCALITIES = ['fr-par', 'nl-ams', 'pl-waw'];
|
|
15553
15573
|
|
|
@@ -15560,7 +15580,7 @@ let API$g = class API extends API$v {
|
|
|
15560
15580
|
*/
|
|
15561
15581
|
bookIP = request => this.client.fetch({
|
|
15562
15582
|
body: JSON.stringify(marshalBookIPRequest(request, this.client.settings)),
|
|
15563
|
-
headers: jsonContentHeaders$
|
|
15583
|
+
headers: jsonContentHeaders$g,
|
|
15564
15584
|
method: 'POST',
|
|
15565
15585
|
path: `/ipam/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/ips`
|
|
15566
15586
|
}, unmarshalIP$1);
|
|
@@ -15573,7 +15593,7 @@ let API$g = class API extends API$v {
|
|
|
15573
15593
|
*/
|
|
15574
15594
|
releaseIP = request => this.client.fetch({
|
|
15575
15595
|
body: '{}',
|
|
15576
|
-
headers: jsonContentHeaders$
|
|
15596
|
+
headers: jsonContentHeaders$g,
|
|
15577
15597
|
method: 'DELETE',
|
|
15578
15598
|
path: `/ipam/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/ips/${validatePathParam('ipId', request.ipId)}`
|
|
15579
15599
|
});
|
|
@@ -15597,7 +15617,7 @@ let API$g = class API extends API$v {
|
|
|
15597
15617
|
*/
|
|
15598
15618
|
updateIP = request => this.client.fetch({
|
|
15599
15619
|
body: JSON.stringify(marshalUpdateIPRequest$1(request, this.client.settings)),
|
|
15600
|
-
headers: jsonContentHeaders$
|
|
15620
|
+
headers: jsonContentHeaders$g,
|
|
15601
15621
|
method: 'PATCH',
|
|
15602
15622
|
path: `/ipam/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/ips/${validatePathParam('ipId', request.ipId)}`
|
|
15603
15623
|
}, unmarshalIP$1);
|
|
@@ -15636,7 +15656,7 @@ const ListIPsRequest = {
|
|
|
15636
15656
|
}
|
|
15637
15657
|
};
|
|
15638
15658
|
|
|
15639
|
-
var validationRules_gen$
|
|
15659
|
+
var validationRules_gen$6 = /*#__PURE__*/Object.freeze({
|
|
15640
15660
|
__proto__: null,
|
|
15641
15661
|
ListIPsRequest: ListIPsRequest
|
|
15642
15662
|
});
|
|
@@ -15644,15 +15664,15 @@ var validationRules_gen$5 = /*#__PURE__*/Object.freeze({
|
|
|
15644
15664
|
// This file was automatically generated. DO NOT EDIT.
|
|
15645
15665
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
15646
15666
|
|
|
15647
|
-
var index_gen$
|
|
15667
|
+
var index_gen$h = /*#__PURE__*/Object.freeze({
|
|
15648
15668
|
__proto__: null,
|
|
15649
|
-
API: API$
|
|
15650
|
-
ValidationRules: validationRules_gen$
|
|
15669
|
+
API: API$h,
|
|
15670
|
+
ValidationRules: validationRules_gen$6
|
|
15651
15671
|
});
|
|
15652
15672
|
|
|
15653
|
-
var index$
|
|
15673
|
+
var index$i = /*#__PURE__*/Object.freeze({
|
|
15654
15674
|
__proto__: null,
|
|
15655
|
-
v1: index_gen$
|
|
15675
|
+
v1: index_gen$h
|
|
15656
15676
|
});
|
|
15657
15677
|
|
|
15658
15678
|
// This file was automatically generated. DO NOT EDIT.
|
|
@@ -15835,12 +15855,12 @@ const marshalUpdateVolumeRequest = (request, defaults) => ({
|
|
|
15835
15855
|
|
|
15836
15856
|
// This file was automatically generated. DO NOT EDIT.
|
|
15837
15857
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
15838
|
-
const jsonContentHeaders$
|
|
15858
|
+
const jsonContentHeaders$f = {
|
|
15839
15859
|
'Content-Type': 'application/json; charset=utf-8'
|
|
15840
15860
|
};
|
|
15841
15861
|
|
|
15842
15862
|
/** IPFS Pinning service API. */
|
|
15843
|
-
let API$
|
|
15863
|
+
let API$g = class API extends API$w {
|
|
15844
15864
|
/** Lists the available regions of the API. */
|
|
15845
15865
|
static LOCALITIES = ['fr-par', 'nl-ams', 'pl-waw'];
|
|
15846
15866
|
|
|
@@ -15856,7 +15876,7 @@ let API$f = class API extends API$v {
|
|
|
15856
15876
|
*/
|
|
15857
15877
|
createVolume = request => this.client.fetch({
|
|
15858
15878
|
body: JSON.stringify(marshalCreateVolumeRequest(request, this.client.settings)),
|
|
15859
|
-
headers: jsonContentHeaders$
|
|
15879
|
+
headers: jsonContentHeaders$f,
|
|
15860
15880
|
method: 'POST',
|
|
15861
15881
|
path: `/ipfs/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/volumes`
|
|
15862
15882
|
}, unmarshalVolume$1);
|
|
@@ -15895,7 +15915,7 @@ let API$f = class API extends API$v {
|
|
|
15895
15915
|
*/
|
|
15896
15916
|
updateVolume = request => this.client.fetch({
|
|
15897
15917
|
body: JSON.stringify(marshalUpdateVolumeRequest(request, this.client.settings)),
|
|
15898
|
-
headers: jsonContentHeaders$
|
|
15918
|
+
headers: jsonContentHeaders$f,
|
|
15899
15919
|
method: 'PATCH',
|
|
15900
15920
|
path: `/ipfs/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/volumes/${validatePathParam('volumeId', request.volumeId)}`
|
|
15901
15921
|
}, unmarshalVolume$1);
|
|
@@ -15926,7 +15946,7 @@ let API$f = class API extends API$v {
|
|
|
15926
15946
|
*/
|
|
15927
15947
|
createPinByURL = request => this.client.fetch({
|
|
15928
15948
|
body: JSON.stringify(marshalCreatePinByURLRequest(request, this.client.settings)),
|
|
15929
|
-
headers: jsonContentHeaders$
|
|
15949
|
+
headers: jsonContentHeaders$f,
|
|
15930
15950
|
method: 'POST',
|
|
15931
15951
|
path: `/ipfs/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/pins/create-by-url`
|
|
15932
15952
|
}, unmarshalPin);
|
|
@@ -15945,7 +15965,7 @@ let API$f = class API extends API$v {
|
|
|
15945
15965
|
*/
|
|
15946
15966
|
createPinByCID = request => this.client.fetch({
|
|
15947
15967
|
body: JSON.stringify(marshalCreatePinByCIDRequest(request, this.client.settings)),
|
|
15948
|
-
headers: jsonContentHeaders$
|
|
15968
|
+
headers: jsonContentHeaders$f,
|
|
15949
15969
|
method: 'POST',
|
|
15950
15970
|
path: `/ipfs/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/pins/create-by-cid`
|
|
15951
15971
|
}, unmarshalPin);
|
|
@@ -15966,7 +15986,7 @@ let API$f = class API extends API$v {
|
|
|
15966
15986
|
*/
|
|
15967
15987
|
replacePin = request => this.client.fetch({
|
|
15968
15988
|
body: JSON.stringify(marshalReplacePinRequest(request, this.client.settings)),
|
|
15969
|
-
headers: jsonContentHeaders$
|
|
15989
|
+
headers: jsonContentHeaders$f,
|
|
15970
15990
|
method: 'POST',
|
|
15971
15991
|
path: `/ipfs/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/pins/${validatePathParam('pinId', request.pinId)}/replace`
|
|
15972
15992
|
}, unmarshalReplacePinResponse);
|
|
@@ -16022,7 +16042,7 @@ let API$f = class API extends API$v {
|
|
|
16022
16042
|
};
|
|
16023
16043
|
|
|
16024
16044
|
/** IPFS Naming service API. */
|
|
16025
|
-
class IpnsAPI extends API$
|
|
16045
|
+
class IpnsAPI extends API$w {
|
|
16026
16046
|
/** Lists the available regions of the API. */
|
|
16027
16047
|
static LOCALITIES = ['fr-par', 'nl-ams', 'pl-waw'];
|
|
16028
16048
|
|
|
@@ -16035,7 +16055,7 @@ class IpnsAPI extends API$v {
|
|
|
16035
16055
|
*/
|
|
16036
16056
|
createName = request => this.client.fetch({
|
|
16037
16057
|
body: JSON.stringify(marshalIpnsApiCreateNameRequest(request, this.client.settings)),
|
|
16038
|
-
headers: jsonContentHeaders$
|
|
16058
|
+
headers: jsonContentHeaders$f,
|
|
16039
16059
|
method: 'POST',
|
|
16040
16060
|
path: `/ipfs/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/names`
|
|
16041
16061
|
}, unmarshalName);
|
|
@@ -16092,7 +16112,7 @@ class IpnsAPI extends API$v {
|
|
|
16092
16112
|
*/
|
|
16093
16113
|
updateName = request => this.client.fetch({
|
|
16094
16114
|
body: JSON.stringify(marshalIpnsApiUpdateNameRequest(request, this.client.settings)),
|
|
16095
|
-
headers: jsonContentHeaders$
|
|
16115
|
+
headers: jsonContentHeaders$f,
|
|
16096
16116
|
method: 'PATCH',
|
|
16097
16117
|
path: `/ipfs/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/names/${validatePathParam('nameId', request.nameId)}`
|
|
16098
16118
|
}, unmarshalName);
|
|
@@ -16116,7 +16136,7 @@ class IpnsAPI extends API$v {
|
|
|
16116
16136
|
*/
|
|
16117
16137
|
importKeyName = request => this.client.fetch({
|
|
16118
16138
|
body: JSON.stringify(marshalIpnsApiImportKeyNameRequest(request, this.client.settings)),
|
|
16119
|
-
headers: jsonContentHeaders$
|
|
16139
|
+
headers: jsonContentHeaders$f,
|
|
16120
16140
|
method: 'POST',
|
|
16121
16141
|
path: `/ipfs/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/names/import-key`
|
|
16122
16142
|
}, unmarshalName);
|
|
@@ -16125,17 +16145,17 @@ class IpnsAPI extends API$v {
|
|
|
16125
16145
|
// This file was automatically generated. DO NOT EDIT.
|
|
16126
16146
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
16127
16147
|
|
|
16128
|
-
var index_gen$
|
|
16148
|
+
var index_gen$g = /*#__PURE__*/Object.freeze({
|
|
16129
16149
|
__proto__: null,
|
|
16130
|
-
API: API$
|
|
16150
|
+
API: API$g,
|
|
16131
16151
|
IpnsAPI: IpnsAPI,
|
|
16132
16152
|
NAME_TRANSIENT_STATUSES: NAME_TRANSIENT_STATUSES,
|
|
16133
16153
|
PIN_TRANSIENT_STATUSES: PIN_TRANSIENT_STATUSES
|
|
16134
16154
|
});
|
|
16135
16155
|
|
|
16136
|
-
var index$
|
|
16156
|
+
var index$h = /*#__PURE__*/Object.freeze({
|
|
16137
16157
|
__proto__: null,
|
|
16138
|
-
v1alpha1: index_gen$
|
|
16158
|
+
v1alpha1: index_gen$g
|
|
16139
16159
|
});
|
|
16140
16160
|
|
|
16141
16161
|
// This file was automatically generated. DO NOT EDIT.
|
|
@@ -16165,11 +16185,13 @@ const unmarshalJobRun = data => {
|
|
|
16165
16185
|
throw new TypeError(`Unmarshalling the type 'JobRun' failed as data isn't a dictionary.`);
|
|
16166
16186
|
}
|
|
16167
16187
|
return {
|
|
16188
|
+
cpuLimit: data.cpu_limit,
|
|
16168
16189
|
createdAt: unmarshalDate(data.created_at),
|
|
16169
16190
|
errorMessage: data.error_message,
|
|
16170
16191
|
exitCode: data.exit_code,
|
|
16171
16192
|
id: data.id,
|
|
16172
16193
|
jobDefinitionId: data.job_definition_id,
|
|
16194
|
+
memoryLimit: data.memory_limit,
|
|
16173
16195
|
region: data.region,
|
|
16174
16196
|
runDuration: data.run_duration,
|
|
16175
16197
|
state: data.state,
|
|
@@ -16219,17 +16241,17 @@ const marshalUpdateJobDefinitionRequest = (request, defaults) => ({
|
|
|
16219
16241
|
|
|
16220
16242
|
// This file was automatically generated. DO NOT EDIT.
|
|
16221
16243
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
16222
|
-
const jsonContentHeaders$
|
|
16244
|
+
const jsonContentHeaders$e = {
|
|
16223
16245
|
'Content-Type': 'application/json; charset=utf-8'
|
|
16224
16246
|
};
|
|
16225
16247
|
|
|
16226
16248
|
/** Serverless Jobs API. */
|
|
16227
|
-
let API$
|
|
16249
|
+
let API$f = class API extends API$w {
|
|
16228
16250
|
/** Lists the available regions of the API. */
|
|
16229
16251
|
static LOCALITIES = ['fr-par', 'nl-ams', 'pl-waw'];
|
|
16230
16252
|
createJobDefinition = request => this.client.fetch({
|
|
16231
16253
|
body: JSON.stringify(marshalCreateJobDefinitionRequest(request, this.client.settings)),
|
|
16232
|
-
headers: jsonContentHeaders$
|
|
16254
|
+
headers: jsonContentHeaders$e,
|
|
16233
16255
|
method: 'POST',
|
|
16234
16256
|
path: `/serverless-jobs/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/job-definitions`
|
|
16235
16257
|
}, unmarshalJobDefinition);
|
|
@@ -16245,7 +16267,7 @@ let API$e = class API extends API$v {
|
|
|
16245
16267
|
listJobDefinitions = (request = {}) => enrichForPagination('jobDefinitions', this.pageOfListJobDefinitions, request);
|
|
16246
16268
|
updateJobDefinition = request => this.client.fetch({
|
|
16247
16269
|
body: JSON.stringify(marshalUpdateJobDefinitionRequest(request, this.client.settings)),
|
|
16248
|
-
headers: jsonContentHeaders$
|
|
16270
|
+
headers: jsonContentHeaders$e,
|
|
16249
16271
|
method: 'PATCH',
|
|
16250
16272
|
path: `/serverless-jobs/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/job-definitions/${validatePathParam('jobDefinitionId', request.jobDefinitionId)}`
|
|
16251
16273
|
}, unmarshalJobDefinition);
|
|
@@ -16255,7 +16277,7 @@ let API$e = class API extends API$v {
|
|
|
16255
16277
|
});
|
|
16256
16278
|
startJobDefinition = request => this.client.fetch({
|
|
16257
16279
|
body: '{}',
|
|
16258
|
-
headers: jsonContentHeaders$
|
|
16280
|
+
headers: jsonContentHeaders$e,
|
|
16259
16281
|
method: 'POST',
|
|
16260
16282
|
path: `/serverless-jobs/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/job-definitions/${validatePathParam('jobDefinitionId', request.jobDefinitionId)}/start`
|
|
16261
16283
|
}, unmarshalJobRun);
|
|
@@ -16265,7 +16287,7 @@ let API$e = class API extends API$v {
|
|
|
16265
16287
|
}, unmarshalJobRun);
|
|
16266
16288
|
stopJobRun = request => this.client.fetch({
|
|
16267
16289
|
body: '{}',
|
|
16268
|
-
headers: jsonContentHeaders$
|
|
16290
|
+
headers: jsonContentHeaders$e,
|
|
16269
16291
|
method: 'POST',
|
|
16270
16292
|
path: `/serverless-jobs/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/job-runs/${validatePathParam('jobRunId', request.jobRunId)}/stop`
|
|
16271
16293
|
}, unmarshalJobRun);
|
|
@@ -16333,7 +16355,7 @@ const UpdateJobDefinitionRequest = {
|
|
|
16333
16355
|
}
|
|
16334
16356
|
};
|
|
16335
16357
|
|
|
16336
|
-
var validationRules_gen$
|
|
16358
|
+
var validationRules_gen$5 = /*#__PURE__*/Object.freeze({
|
|
16337
16359
|
__proto__: null,
|
|
16338
16360
|
CreateJobDefinitionRequest: CreateJobDefinitionRequest,
|
|
16339
16361
|
ListJobDefinitionsRequest: ListJobDefinitionsRequest,
|
|
@@ -16344,16 +16366,16 @@ var validationRules_gen$4 = /*#__PURE__*/Object.freeze({
|
|
|
16344
16366
|
// This file was automatically generated. DO NOT EDIT.
|
|
16345
16367
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
16346
16368
|
|
|
16347
|
-
var index_gen$
|
|
16369
|
+
var index_gen$f = /*#__PURE__*/Object.freeze({
|
|
16348
16370
|
__proto__: null,
|
|
16349
|
-
API: API$
|
|
16371
|
+
API: API$f,
|
|
16350
16372
|
JOB_RUN_TRANSIENT_STATUSES: JOB_RUN_TRANSIENT_STATUSES,
|
|
16351
|
-
ValidationRules: validationRules_gen$
|
|
16373
|
+
ValidationRules: validationRules_gen$5
|
|
16352
16374
|
});
|
|
16353
16375
|
|
|
16354
|
-
var index$
|
|
16376
|
+
var index$g = /*#__PURE__*/Object.freeze({
|
|
16355
16377
|
__proto__: null,
|
|
16356
|
-
v1alpha1: index_gen$
|
|
16378
|
+
v1alpha1: index_gen$f
|
|
16357
16379
|
});
|
|
16358
16380
|
|
|
16359
16381
|
// This file was automatically generated. DO NOT EDIT.
|
|
@@ -16614,7 +16636,7 @@ const unmarshalListPoolsResponse = data => {
|
|
|
16614
16636
|
totalCount: data.total_count
|
|
16615
16637
|
};
|
|
16616
16638
|
};
|
|
16617
|
-
const unmarshalListVersionsResponse$
|
|
16639
|
+
const unmarshalListVersionsResponse$1 = data => {
|
|
16618
16640
|
if (!isJSONObject(data)) {
|
|
16619
16641
|
throw new TypeError(`Unmarshalling the type 'ListVersionsResponse' failed as data isn't a dictionary.`);
|
|
16620
16642
|
}
|
|
@@ -16790,12 +16812,12 @@ const marshalUpgradePoolRequest = (request, defaults) => ({
|
|
|
16790
16812
|
|
|
16791
16813
|
// This file was automatically generated. DO NOT EDIT.
|
|
16792
16814
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
16793
|
-
const jsonContentHeaders$
|
|
16815
|
+
const jsonContentHeaders$d = {
|
|
16794
16816
|
'Content-Type': 'application/json; charset=utf-8'
|
|
16795
16817
|
};
|
|
16796
16818
|
|
|
16797
16819
|
/** Kubernetes API. */
|
|
16798
|
-
let API$
|
|
16820
|
+
let API$e = class API extends API$w {
|
|
16799
16821
|
/** Lists the available regions of the API. */
|
|
16800
16822
|
static LOCALITIES = ['fr-par', 'nl-ams', 'pl-waw'];
|
|
16801
16823
|
pageOfListClusters = (request = {}) => this.client.fetch({
|
|
@@ -16820,7 +16842,7 @@ let API$d = class API extends API$v {
|
|
|
16820
16842
|
*/
|
|
16821
16843
|
createCluster = request => this.client.fetch({
|
|
16822
16844
|
body: JSON.stringify(marshalCreateClusterRequest$1(request, this.client.settings)),
|
|
16823
|
-
headers: jsonContentHeaders$
|
|
16845
|
+
headers: jsonContentHeaders$d,
|
|
16824
16846
|
method: 'POST',
|
|
16825
16847
|
path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/clusters`
|
|
16826
16848
|
}, unmarshalCluster$1);
|
|
@@ -16855,7 +16877,7 @@ let API$d = class API extends API$v {
|
|
|
16855
16877
|
*/
|
|
16856
16878
|
updateCluster = request => this.client.fetch({
|
|
16857
16879
|
body: JSON.stringify(marshalUpdateClusterRequest$1(request, this.client.settings)),
|
|
16858
|
-
headers: jsonContentHeaders$
|
|
16880
|
+
headers: jsonContentHeaders$d,
|
|
16859
16881
|
method: 'PATCH',
|
|
16860
16882
|
path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/clusters/${validatePathParam('clusterId', request.clusterId)}`
|
|
16861
16883
|
}, unmarshalCluster$1);
|
|
@@ -16883,7 +16905,7 @@ let API$d = class API extends API$v {
|
|
|
16883
16905
|
*/
|
|
16884
16906
|
upgradeCluster = request => this.client.fetch({
|
|
16885
16907
|
body: JSON.stringify(marshalUpgradeClusterRequest(request, this.client.settings)),
|
|
16886
|
-
headers: jsonContentHeaders$
|
|
16908
|
+
headers: jsonContentHeaders$d,
|
|
16887
16909
|
method: 'POST',
|
|
16888
16910
|
path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/clusters/${validatePathParam('clusterId', request.clusterId)}/upgrade`
|
|
16889
16911
|
}, unmarshalCluster$1);
|
|
@@ -16899,7 +16921,7 @@ let API$d = class API extends API$v {
|
|
|
16899
16921
|
*/
|
|
16900
16922
|
setClusterType = request => this.client.fetch({
|
|
16901
16923
|
body: JSON.stringify(marshalSetClusterTypeRequest(request, this.client.settings)),
|
|
16902
|
-
headers: jsonContentHeaders$
|
|
16924
|
+
headers: jsonContentHeaders$d,
|
|
16903
16925
|
method: 'POST',
|
|
16904
16926
|
path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/clusters/${validatePathParam('clusterId', request.clusterId)}/set-type`
|
|
16905
16927
|
}, unmarshalCluster$1);
|
|
@@ -16947,7 +16969,7 @@ let API$d = class API extends API$v {
|
|
|
16947
16969
|
*/
|
|
16948
16970
|
resetClusterAdminToken = request => this.client.fetch({
|
|
16949
16971
|
body: '{}',
|
|
16950
|
-
headers: jsonContentHeaders$
|
|
16972
|
+
headers: jsonContentHeaders$d,
|
|
16951
16973
|
method: 'POST',
|
|
16952
16974
|
path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/clusters/${validatePathParam('clusterId', request.clusterId)}/reset-admin-token`
|
|
16953
16975
|
});
|
|
@@ -16962,7 +16984,7 @@ let API$d = class API extends API$v {
|
|
|
16962
16984
|
*/
|
|
16963
16985
|
migrateToPrivateNetworkCluster = request => this.client.fetch({
|
|
16964
16986
|
body: JSON.stringify(marshalMigrateToPrivateNetworkClusterRequest(request, this.client.settings)),
|
|
16965
|
-
headers: jsonContentHeaders$
|
|
16987
|
+
headers: jsonContentHeaders$d,
|
|
16966
16988
|
method: 'POST',
|
|
16967
16989
|
path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/clusters/${validatePathParam('clusterId', request.clusterId)}/migrate-to-private-network`
|
|
16968
16990
|
}, unmarshalCluster$1);
|
|
@@ -16990,7 +17012,7 @@ let API$d = class API extends API$v {
|
|
|
16990
17012
|
*/
|
|
16991
17013
|
createPool = request => this.client.fetch({
|
|
16992
17014
|
body: JSON.stringify(marshalCreatePoolRequest(request, this.client.settings)),
|
|
16993
|
-
headers: jsonContentHeaders$
|
|
17015
|
+
headers: jsonContentHeaders$d,
|
|
16994
17016
|
method: 'POST',
|
|
16995
17017
|
path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/clusters/${validatePathParam('clusterId', request.clusterId)}/pools`
|
|
16996
17018
|
}, unmarshalPool);
|
|
@@ -17026,7 +17048,7 @@ let API$d = class API extends API$v {
|
|
|
17026
17048
|
*/
|
|
17027
17049
|
upgradePool = request => this.client.fetch({
|
|
17028
17050
|
body: JSON.stringify(marshalUpgradePoolRequest(request, this.client.settings)),
|
|
17029
|
-
headers: jsonContentHeaders$
|
|
17051
|
+
headers: jsonContentHeaders$d,
|
|
17030
17052
|
method: 'POST',
|
|
17031
17053
|
path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/pools/${validatePathParam('poolId', request.poolId)}/upgrade`
|
|
17032
17054
|
}, unmarshalPool);
|
|
@@ -17040,7 +17062,7 @@ let API$d = class API extends API$v {
|
|
|
17040
17062
|
*/
|
|
17041
17063
|
updatePool = request => this.client.fetch({
|
|
17042
17064
|
body: JSON.stringify(marshalUpdatePoolRequest(request, this.client.settings)),
|
|
17043
|
-
headers: jsonContentHeaders$
|
|
17065
|
+
headers: jsonContentHeaders$d,
|
|
17044
17066
|
method: 'PATCH',
|
|
17045
17067
|
path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/pools/${validatePathParam('poolId', request.poolId)}`
|
|
17046
17068
|
}, unmarshalPool);
|
|
@@ -17067,7 +17089,7 @@ let API$d = class API extends API$v {
|
|
|
17067
17089
|
*/
|
|
17068
17090
|
createExternalNode = request => this.client.fetch({
|
|
17069
17091
|
body: '{}',
|
|
17070
|
-
headers: jsonContentHeaders$
|
|
17092
|
+
headers: jsonContentHeaders$d,
|
|
17071
17093
|
method: 'POST',
|
|
17072
17094
|
path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/pools/${validatePathParam('poolId', request.poolId)}/external-nodes`
|
|
17073
17095
|
}, unmarshalExternalNode);
|
|
@@ -17120,7 +17142,7 @@ let API$d = class API extends API$v {
|
|
|
17120
17142
|
*/
|
|
17121
17143
|
replaceNode = request => this.client.fetch({
|
|
17122
17144
|
body: '{}',
|
|
17123
|
-
headers: jsonContentHeaders$
|
|
17145
|
+
headers: jsonContentHeaders$d,
|
|
17124
17146
|
method: 'POST',
|
|
17125
17147
|
path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/nodes/${validatePathParam('nodeId', request.nodeId)}/replace`
|
|
17126
17148
|
}, unmarshalNode);
|
|
@@ -17137,7 +17159,7 @@ let API$d = class API extends API$v {
|
|
|
17137
17159
|
*/
|
|
17138
17160
|
rebootNode = request => this.client.fetch({
|
|
17139
17161
|
body: '{}',
|
|
17140
|
-
headers: jsonContentHeaders$
|
|
17162
|
+
headers: jsonContentHeaders$d,
|
|
17141
17163
|
method: 'POST',
|
|
17142
17164
|
path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/nodes/${validatePathParam('nodeId', request.nodeId)}/reboot`
|
|
17143
17165
|
}, unmarshalNode);
|
|
@@ -17166,7 +17188,7 @@ let API$d = class API extends API$v {
|
|
|
17166
17188
|
listVersions = (request = {}) => this.client.fetch({
|
|
17167
17189
|
method: 'GET',
|
|
17168
17190
|
path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/versions`
|
|
17169
|
-
}, unmarshalListVersionsResponse$
|
|
17191
|
+
}, unmarshalListVersionsResponse$1);
|
|
17170
17192
|
|
|
17171
17193
|
/**
|
|
17172
17194
|
* Get a Version. Retrieve a specific Kubernetes version and its details.
|
|
@@ -17194,7 +17216,7 @@ let API$d = class API extends API$v {
|
|
|
17194
17216
|
listClusterTypes = (request = {}) => enrichForPagination('clusterTypes', this.pageOfListClusterTypes, request);
|
|
17195
17217
|
};
|
|
17196
17218
|
|
|
17197
|
-
class K8SUtilsAPI extends API$
|
|
17219
|
+
class K8SUtilsAPI extends API$e {
|
|
17198
17220
|
/**
|
|
17199
17221
|
* Get configuration of a kube cluster.
|
|
17200
17222
|
*
|
|
@@ -17304,7 +17326,7 @@ const UpdateClusterRequestAutoscalerConfig = {
|
|
|
17304
17326
|
}
|
|
17305
17327
|
};
|
|
17306
17328
|
|
|
17307
|
-
var validationRules_gen$
|
|
17329
|
+
var validationRules_gen$4 = /*#__PURE__*/Object.freeze({
|
|
17308
17330
|
__proto__: null,
|
|
17309
17331
|
CreateClusterRequest: CreateClusterRequest,
|
|
17310
17332
|
CreateClusterRequestAutoscalerConfig: CreateClusterRequestAutoscalerConfig,
|
|
@@ -17320,18 +17342,18 @@ var validationRules_gen$3 = /*#__PURE__*/Object.freeze({
|
|
|
17320
17342
|
UpdateClusterRequestAutoscalerConfig: UpdateClusterRequestAutoscalerConfig
|
|
17321
17343
|
});
|
|
17322
17344
|
|
|
17323
|
-
var index$
|
|
17345
|
+
var index$f = /*#__PURE__*/Object.freeze({
|
|
17324
17346
|
__proto__: null,
|
|
17325
17347
|
API: K8SUtilsAPI,
|
|
17326
17348
|
CLUSTER_TRANSIENT_STATUSES: CLUSTER_TRANSIENT_STATUSES$1,
|
|
17327
17349
|
NODE_TRANSIENT_STATUSES: NODE_TRANSIENT_STATUSES,
|
|
17328
17350
|
POOL_TRANSIENT_STATUSES: POOL_TRANSIENT_STATUSES,
|
|
17329
|
-
ValidationRules: validationRules_gen$
|
|
17351
|
+
ValidationRules: validationRules_gen$4
|
|
17330
17352
|
});
|
|
17331
17353
|
|
|
17332
|
-
var index$
|
|
17354
|
+
var index$e = /*#__PURE__*/Object.freeze({
|
|
17333
17355
|
__proto__: null,
|
|
17334
|
-
v1: index$
|
|
17356
|
+
v1: index$f
|
|
17335
17357
|
});
|
|
17336
17358
|
|
|
17337
17359
|
// This file was automatically generated. DO NOT EDIT.
|
|
@@ -18385,7 +18407,7 @@ const marshalZonedApiUpdateSubscriberRequest = (request, defaults) => ({
|
|
|
18385
18407
|
|
|
18386
18408
|
// This file was automatically generated. DO NOT EDIT.
|
|
18387
18409
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
18388
|
-
const jsonContentHeaders$
|
|
18410
|
+
const jsonContentHeaders$c = {
|
|
18389
18411
|
'Content-Type': 'application/json; charset=utf-8'
|
|
18390
18412
|
};
|
|
18391
18413
|
|
|
@@ -18394,7 +18416,7 @@ const jsonContentHeaders$b = {
|
|
|
18394
18416
|
*
|
|
18395
18417
|
* This API allows you to manage your Scaleway Load Balancer services.
|
|
18396
18418
|
*/
|
|
18397
|
-
class ZonedAPI extends API$
|
|
18419
|
+
class ZonedAPI extends API$w {
|
|
18398
18420
|
/** Lists the available zones of the API. */
|
|
18399
18421
|
static LOCALITIES = ['fr-par-1', 'fr-par-2', 'nl-ams-1', 'nl-ams-2', 'nl-ams-3', 'pl-waw-1', 'pl-waw-2', 'pl-waw-3'];
|
|
18400
18422
|
pageOfListLbs = (request = {}) => this.client.fetch({
|
|
@@ -18424,7 +18446,7 @@ class ZonedAPI extends API$v {
|
|
|
18424
18446
|
*/
|
|
18425
18447
|
createLb = request => this.client.fetch({
|
|
18426
18448
|
body: JSON.stringify(marshalZonedApiCreateLbRequest(request, this.client.settings)),
|
|
18427
|
-
headers: jsonContentHeaders$
|
|
18449
|
+
headers: jsonContentHeaders$c,
|
|
18428
18450
|
method: 'POST',
|
|
18429
18451
|
path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/lbs`
|
|
18430
18452
|
}, unmarshalLb);
|
|
@@ -18461,7 +18483,7 @@ class ZonedAPI extends API$v {
|
|
|
18461
18483
|
*/
|
|
18462
18484
|
updateLb = request => this.client.fetch({
|
|
18463
18485
|
body: JSON.stringify(marshalZonedApiUpdateLbRequest(request, this.client.settings)),
|
|
18464
|
-
headers: jsonContentHeaders$
|
|
18486
|
+
headers: jsonContentHeaders$c,
|
|
18465
18487
|
method: 'PUT',
|
|
18466
18488
|
path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/lbs/${validatePathParam('lbId', request.lbId)}`
|
|
18467
18489
|
}, unmarshalLb);
|
|
@@ -18490,7 +18512,7 @@ class ZonedAPI extends API$v {
|
|
|
18490
18512
|
*/
|
|
18491
18513
|
migrateLb = request => this.client.fetch({
|
|
18492
18514
|
body: JSON.stringify(marshalZonedApiMigrateLbRequest(request, this.client.settings)),
|
|
18493
|
-
headers: jsonContentHeaders$
|
|
18515
|
+
headers: jsonContentHeaders$c,
|
|
18494
18516
|
method: 'POST',
|
|
18495
18517
|
path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/lbs/${validatePathParam('lbId', request.lbId)}/migrate`
|
|
18496
18518
|
}, unmarshalLb);
|
|
@@ -18520,7 +18542,7 @@ class ZonedAPI extends API$v {
|
|
|
18520
18542
|
*/
|
|
18521
18543
|
createIp = (request = {}) => this.client.fetch({
|
|
18522
18544
|
body: JSON.stringify(marshalZonedApiCreateIpRequest(request, this.client.settings)),
|
|
18523
|
-
headers: jsonContentHeaders$
|
|
18545
|
+
headers: jsonContentHeaders$c,
|
|
18524
18546
|
method: 'POST',
|
|
18525
18547
|
path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/ips`
|
|
18526
18548
|
}, unmarshalIp);
|
|
@@ -18557,7 +18579,7 @@ class ZonedAPI extends API$v {
|
|
|
18557
18579
|
*/
|
|
18558
18580
|
updateIp = request => this.client.fetch({
|
|
18559
18581
|
body: JSON.stringify(marshalZonedApiUpdateIpRequest(request, this.client.settings)),
|
|
18560
|
-
headers: jsonContentHeaders$
|
|
18582
|
+
headers: jsonContentHeaders$c,
|
|
18561
18583
|
method: 'PATCH',
|
|
18562
18584
|
path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/ips/${validatePathParam('ipId', request.ipId)}`
|
|
18563
18585
|
}, unmarshalIp);
|
|
@@ -18590,7 +18612,7 @@ class ZonedAPI extends API$v {
|
|
|
18590
18612
|
*/
|
|
18591
18613
|
createBackend = request => this.client.fetch({
|
|
18592
18614
|
body: JSON.stringify(marshalZonedApiCreateBackendRequest(request, this.client.settings)),
|
|
18593
|
-
headers: jsonContentHeaders$
|
|
18615
|
+
headers: jsonContentHeaders$c,
|
|
18594
18616
|
method: 'POST',
|
|
18595
18617
|
path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/lbs/${validatePathParam('lbId', request.lbId)}/backends`
|
|
18596
18618
|
}, unmarshalBackend);
|
|
@@ -18619,7 +18641,7 @@ class ZonedAPI extends API$v {
|
|
|
18619
18641
|
*/
|
|
18620
18642
|
updateBackend = request => this.client.fetch({
|
|
18621
18643
|
body: JSON.stringify(marshalZonedApiUpdateBackendRequest(request, this.client.settings)),
|
|
18622
|
-
headers: jsonContentHeaders$
|
|
18644
|
+
headers: jsonContentHeaders$c,
|
|
18623
18645
|
method: 'PUT',
|
|
18624
18646
|
path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/backends/${validatePathParam('backendId', request.backendId)}`
|
|
18625
18647
|
}, unmarshalBackend);
|
|
@@ -18647,7 +18669,7 @@ class ZonedAPI extends API$v {
|
|
|
18647
18669
|
*/
|
|
18648
18670
|
addBackendServers = request => this.client.fetch({
|
|
18649
18671
|
body: JSON.stringify(marshalZonedApiAddBackendServersRequest(request, this.client.settings)),
|
|
18650
|
-
headers: jsonContentHeaders$
|
|
18672
|
+
headers: jsonContentHeaders$c,
|
|
18651
18673
|
method: 'POST',
|
|
18652
18674
|
path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/backends/${validatePathParam('backendId', request.backendId)}/servers`
|
|
18653
18675
|
}, unmarshalBackend);
|
|
@@ -18662,7 +18684,7 @@ class ZonedAPI extends API$v {
|
|
|
18662
18684
|
*/
|
|
18663
18685
|
removeBackendServers = request => this.client.fetch({
|
|
18664
18686
|
body: JSON.stringify(marshalZonedApiRemoveBackendServersRequest(request, this.client.settings)),
|
|
18665
|
-
headers: jsonContentHeaders$
|
|
18687
|
+
headers: jsonContentHeaders$c,
|
|
18666
18688
|
method: 'DELETE',
|
|
18667
18689
|
path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/backends/${validatePathParam('backendId', request.backendId)}/servers`
|
|
18668
18690
|
}, unmarshalBackend);
|
|
@@ -18678,7 +18700,7 @@ class ZonedAPI extends API$v {
|
|
|
18678
18700
|
*/
|
|
18679
18701
|
setBackendServers = request => this.client.fetch({
|
|
18680
18702
|
body: JSON.stringify(marshalZonedApiSetBackendServersRequest(request, this.client.settings)),
|
|
18681
|
-
headers: jsonContentHeaders$
|
|
18703
|
+
headers: jsonContentHeaders$c,
|
|
18682
18704
|
method: 'PUT',
|
|
18683
18705
|
path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/backends/${validatePathParam('backendId', request.backendId)}/servers`
|
|
18684
18706
|
}, unmarshalBackend);
|
|
@@ -18694,7 +18716,7 @@ class ZonedAPI extends API$v {
|
|
|
18694
18716
|
*/
|
|
18695
18717
|
updateHealthCheck = request => this.client.fetch({
|
|
18696
18718
|
body: JSON.stringify(marshalZonedApiUpdateHealthCheckRequest(request, this.client.settings)),
|
|
18697
|
-
headers: jsonContentHeaders$
|
|
18719
|
+
headers: jsonContentHeaders$c,
|
|
18698
18720
|
method: 'PUT',
|
|
18699
18721
|
path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/backends/${validatePathParam('backendId', request.backendId)}/healthcheck`
|
|
18700
18722
|
}, unmarshalHealthCheck);
|
|
@@ -18727,7 +18749,7 @@ class ZonedAPI extends API$v {
|
|
|
18727
18749
|
*/
|
|
18728
18750
|
createFrontend = request => this.client.fetch({
|
|
18729
18751
|
body: JSON.stringify(marshalZonedApiCreateFrontendRequest(request, this.client.settings)),
|
|
18730
|
-
headers: jsonContentHeaders$
|
|
18752
|
+
headers: jsonContentHeaders$c,
|
|
18731
18753
|
method: 'POST',
|
|
18732
18754
|
path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/lbs/${validatePathParam('lbId', request.lbId)}/frontends`
|
|
18733
18755
|
}, unmarshalFrontend);
|
|
@@ -18757,7 +18779,7 @@ class ZonedAPI extends API$v {
|
|
|
18757
18779
|
*/
|
|
18758
18780
|
updateFrontend = request => this.client.fetch({
|
|
18759
18781
|
body: JSON.stringify(marshalZonedApiUpdateFrontendRequest(request, this.client.settings)),
|
|
18760
|
-
headers: jsonContentHeaders$
|
|
18782
|
+
headers: jsonContentHeaders$c,
|
|
18761
18783
|
method: 'PUT',
|
|
18762
18784
|
path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/frontends/${validatePathParam('frontendId', request.frontendId)}`
|
|
18763
18785
|
}, unmarshalFrontend);
|
|
@@ -18799,7 +18821,7 @@ class ZonedAPI extends API$v {
|
|
|
18799
18821
|
*/
|
|
18800
18822
|
createRoute = request => this.client.fetch({
|
|
18801
18823
|
body: JSON.stringify(marshalZonedApiCreateRouteRequest(request, this.client.settings)),
|
|
18802
|
-
headers: jsonContentHeaders$
|
|
18824
|
+
headers: jsonContentHeaders$c,
|
|
18803
18825
|
method: 'POST',
|
|
18804
18826
|
path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/routes`
|
|
18805
18827
|
}, unmarshalRoute);
|
|
@@ -18826,7 +18848,7 @@ class ZonedAPI extends API$v {
|
|
|
18826
18848
|
*/
|
|
18827
18849
|
updateRoute = request => this.client.fetch({
|
|
18828
18850
|
body: JSON.stringify(marshalZonedApiUpdateRouteRequest(request, this.client.settings)),
|
|
18829
|
-
headers: jsonContentHeaders$
|
|
18851
|
+
headers: jsonContentHeaders$c,
|
|
18830
18852
|
method: 'PUT',
|
|
18831
18853
|
path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/routes/${validatePathParam('routeId', request.routeId)}`
|
|
18832
18854
|
}, unmarshalRoute);
|
|
@@ -18896,7 +18918,7 @@ class ZonedAPI extends API$v {
|
|
|
18896
18918
|
*/
|
|
18897
18919
|
createAcl = request => this.client.fetch({
|
|
18898
18920
|
body: JSON.stringify(marshalZonedApiCreateAclRequest(request, this.client.settings)),
|
|
18899
|
-
headers: jsonContentHeaders$
|
|
18921
|
+
headers: jsonContentHeaders$c,
|
|
18900
18922
|
method: 'POST',
|
|
18901
18923
|
path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/frontends/${validatePathParam('frontendId', request.frontendId)}/acls`
|
|
18902
18924
|
}, unmarshalAcl);
|
|
@@ -18923,7 +18945,7 @@ class ZonedAPI extends API$v {
|
|
|
18923
18945
|
*/
|
|
18924
18946
|
updateAcl = request => this.client.fetch({
|
|
18925
18947
|
body: JSON.stringify(marshalZonedApiUpdateAclRequest(request, this.client.settings)),
|
|
18926
|
-
headers: jsonContentHeaders$
|
|
18948
|
+
headers: jsonContentHeaders$c,
|
|
18927
18949
|
method: 'PUT',
|
|
18928
18950
|
path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/acls/${validatePathParam('aclId', request.aclId)}`
|
|
18929
18951
|
}, unmarshalAcl);
|
|
@@ -18949,7 +18971,7 @@ class ZonedAPI extends API$v {
|
|
|
18949
18971
|
*/
|
|
18950
18972
|
setAcls = request => this.client.fetch({
|
|
18951
18973
|
body: JSON.stringify(marshalZonedApiSetAclsRequest(request, this.client.settings)),
|
|
18952
|
-
headers: jsonContentHeaders$
|
|
18974
|
+
headers: jsonContentHeaders$c,
|
|
18953
18975
|
method: 'PUT',
|
|
18954
18976
|
path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/frontends/${validatePathParam('frontendId', request.frontendId)}/acls`
|
|
18955
18977
|
}, unmarshalSetAclsResponse);
|
|
@@ -18964,7 +18986,7 @@ class ZonedAPI extends API$v {
|
|
|
18964
18986
|
*/
|
|
18965
18987
|
createCertificate = request => this.client.fetch({
|
|
18966
18988
|
body: JSON.stringify(marshalZonedApiCreateCertificateRequest(request, this.client.settings)),
|
|
18967
|
-
headers: jsonContentHeaders$
|
|
18989
|
+
headers: jsonContentHeaders$c,
|
|
18968
18990
|
method: 'POST',
|
|
18969
18991
|
path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/lbs/${validatePathParam('lbId', request.lbId)}/certificates`
|
|
18970
18992
|
}, unmarshalCertificate);
|
|
@@ -19017,7 +19039,7 @@ class ZonedAPI extends API$v {
|
|
|
19017
19039
|
*/
|
|
19018
19040
|
updateCertificate = request => this.client.fetch({
|
|
19019
19041
|
body: JSON.stringify(marshalZonedApiUpdateCertificateRequest(request, this.client.settings)),
|
|
19020
|
-
headers: jsonContentHeaders$
|
|
19042
|
+
headers: jsonContentHeaders$c,
|
|
19021
19043
|
method: 'PUT',
|
|
19022
19044
|
path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/certificates/${validatePathParam('certificateId', request.certificateId)}`
|
|
19023
19045
|
}, unmarshalCertificate);
|
|
@@ -19059,7 +19081,7 @@ class ZonedAPI extends API$v {
|
|
|
19059
19081
|
*/
|
|
19060
19082
|
createSubscriber = request => this.client.fetch({
|
|
19061
19083
|
body: JSON.stringify(marshalZonedApiCreateSubscriberRequest(request, this.client.settings)),
|
|
19062
|
-
headers: jsonContentHeaders$
|
|
19084
|
+
headers: jsonContentHeaders$c,
|
|
19063
19085
|
method: 'POST',
|
|
19064
19086
|
path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/subscribers`
|
|
19065
19087
|
}, unmarshalSubscriber);
|
|
@@ -19103,7 +19125,7 @@ class ZonedAPI extends API$v {
|
|
|
19103
19125
|
*/
|
|
19104
19126
|
updateSubscriber = request => this.client.fetch({
|
|
19105
19127
|
body: JSON.stringify(marshalZonedApiUpdateSubscriberRequest(request, this.client.settings)),
|
|
19106
|
-
headers: jsonContentHeaders$
|
|
19128
|
+
headers: jsonContentHeaders$c,
|
|
19107
19129
|
method: 'PUT',
|
|
19108
19130
|
path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/subscribers/${validatePathParam('subscriberId', request.subscriberId)}`
|
|
19109
19131
|
}, unmarshalSubscriber);
|
|
@@ -19128,7 +19150,7 @@ class ZonedAPI extends API$v {
|
|
|
19128
19150
|
*/
|
|
19129
19151
|
subscribeToLb = request => this.client.fetch({
|
|
19130
19152
|
body: JSON.stringify(marshalZonedApiSubscribeToLbRequest(request, this.client.settings)),
|
|
19131
|
-
headers: jsonContentHeaders$
|
|
19153
|
+
headers: jsonContentHeaders$c,
|
|
19132
19154
|
method: 'POST',
|
|
19133
19155
|
path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/lb/${validatePathParam('lbId', request.lbId)}/subscribe`
|
|
19134
19156
|
}, unmarshalLb);
|
|
@@ -19173,7 +19195,7 @@ class ZonedAPI extends API$v {
|
|
|
19173
19195
|
*/
|
|
19174
19196
|
attachPrivateNetwork = request => this.client.fetch({
|
|
19175
19197
|
body: JSON.stringify(marshalZonedApiAttachPrivateNetworkRequest(request, this.client.settings)),
|
|
19176
|
-
headers: jsonContentHeaders$
|
|
19198
|
+
headers: jsonContentHeaders$c,
|
|
19177
19199
|
method: 'POST',
|
|
19178
19200
|
path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/lbs/${validatePathParam('lbId', request.lbId)}/private-networks/${validatePathParam('privateNetworkId', request.privateNetworkId)}/attach`
|
|
19179
19201
|
}, unmarshalPrivateNetwork$3);
|
|
@@ -19186,7 +19208,7 @@ class ZonedAPI extends API$v {
|
|
|
19186
19208
|
*/
|
|
19187
19209
|
detachPrivateNetwork = request => this.client.fetch({
|
|
19188
19210
|
body: '{}',
|
|
19189
|
-
headers: jsonContentHeaders$
|
|
19211
|
+
headers: jsonContentHeaders$c,
|
|
19190
19212
|
method: 'POST',
|
|
19191
19213
|
path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/lbs/${validatePathParam('lbId', request.lbId)}/private-networks/${validatePathParam('privateNetworkId', request.privateNetworkId)}/detach`
|
|
19192
19214
|
});
|
|
@@ -19197,7 +19219,7 @@ class ZonedAPI extends API$v {
|
|
|
19197
19219
|
*
|
|
19198
19220
|
* This API allows you to manage your load balancer service.
|
|
19199
19221
|
*/
|
|
19200
|
-
let API$
|
|
19222
|
+
let API$d = class API extends API$w {
|
|
19201
19223
|
/** Lists the available regions of the API. */
|
|
19202
19224
|
static LOCALITIES = ['fr-par', 'nl-ams', 'pl-waw'];
|
|
19203
19225
|
pageOfListLbs = (request = {}) => this.client.fetch({
|
|
@@ -19222,7 +19244,7 @@ let API$c = class API extends API$v {
|
|
|
19222
19244
|
*/
|
|
19223
19245
|
createLb = request => this.client.fetch({
|
|
19224
19246
|
body: JSON.stringify(marshalCreateLbRequest(request, this.client.settings)),
|
|
19225
|
-
headers: jsonContentHeaders$
|
|
19247
|
+
headers: jsonContentHeaders$c,
|
|
19226
19248
|
method: 'POST',
|
|
19227
19249
|
path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/lbs`
|
|
19228
19250
|
}, unmarshalLb);
|
|
@@ -19255,7 +19277,7 @@ let API$c = class API extends API$v {
|
|
|
19255
19277
|
*/
|
|
19256
19278
|
updateLb = request => this.client.fetch({
|
|
19257
19279
|
body: JSON.stringify(marshalUpdateLbRequest(request, this.client.settings)),
|
|
19258
|
-
headers: jsonContentHeaders$
|
|
19280
|
+
headers: jsonContentHeaders$c,
|
|
19259
19281
|
method: 'PUT',
|
|
19260
19282
|
path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/lbs/${validatePathParam('lbId', request.lbId)}`
|
|
19261
19283
|
}, unmarshalLb);
|
|
@@ -19279,7 +19301,7 @@ let API$c = class API extends API$v {
|
|
|
19279
19301
|
*/
|
|
19280
19302
|
migrateLb = request => this.client.fetch({
|
|
19281
19303
|
body: JSON.stringify(marshalMigrateLbRequest(request, this.client.settings)),
|
|
19282
|
-
headers: jsonContentHeaders$
|
|
19304
|
+
headers: jsonContentHeaders$c,
|
|
19283
19305
|
method: 'POST',
|
|
19284
19306
|
path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/lbs/${validatePathParam('lbId', request.lbId)}/migrate`
|
|
19285
19307
|
}, unmarshalLb);
|
|
@@ -19305,7 +19327,7 @@ let API$c = class API extends API$v {
|
|
|
19305
19327
|
*/
|
|
19306
19328
|
createIp = (request = {}) => this.client.fetch({
|
|
19307
19329
|
body: JSON.stringify(marshalCreateIpRequest(request, this.client.settings)),
|
|
19308
|
-
headers: jsonContentHeaders$
|
|
19330
|
+
headers: jsonContentHeaders$c,
|
|
19309
19331
|
method: 'POST',
|
|
19310
19332
|
path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/ips`
|
|
19311
19333
|
}, unmarshalIp);
|
|
@@ -19339,7 +19361,7 @@ let API$c = class API extends API$v {
|
|
|
19339
19361
|
*/
|
|
19340
19362
|
updateIp = request => this.client.fetch({
|
|
19341
19363
|
body: JSON.stringify(marshalUpdateIpRequest(request, this.client.settings)),
|
|
19342
|
-
headers: jsonContentHeaders$
|
|
19364
|
+
headers: jsonContentHeaders$c,
|
|
19343
19365
|
method: 'PATCH',
|
|
19344
19366
|
path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/ips/${validatePathParam('ipId', request.ipId)}`
|
|
19345
19367
|
}, unmarshalIp);
|
|
@@ -19365,7 +19387,7 @@ let API$c = class API extends API$v {
|
|
|
19365
19387
|
*/
|
|
19366
19388
|
createBackend = request => this.client.fetch({
|
|
19367
19389
|
body: JSON.stringify(marshalCreateBackendRequest(request, this.client.settings)),
|
|
19368
|
-
headers: jsonContentHeaders$
|
|
19390
|
+
headers: jsonContentHeaders$c,
|
|
19369
19391
|
method: 'POST',
|
|
19370
19392
|
path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/lbs/${validatePathParam('lbId', request.lbId)}/backends`
|
|
19371
19393
|
}, unmarshalBackend);
|
|
@@ -19389,7 +19411,7 @@ let API$c = class API extends API$v {
|
|
|
19389
19411
|
*/
|
|
19390
19412
|
updateBackend = request => this.client.fetch({
|
|
19391
19413
|
body: JSON.stringify(marshalUpdateBackendRequest(request, this.client.settings)),
|
|
19392
|
-
headers: jsonContentHeaders$
|
|
19414
|
+
headers: jsonContentHeaders$c,
|
|
19393
19415
|
method: 'PUT',
|
|
19394
19416
|
path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/backends/${validatePathParam('backendId', request.backendId)}`
|
|
19395
19417
|
}, unmarshalBackend);
|
|
@@ -19412,7 +19434,7 @@ let API$c = class API extends API$v {
|
|
|
19412
19434
|
*/
|
|
19413
19435
|
addBackendServers = request => this.client.fetch({
|
|
19414
19436
|
body: JSON.stringify(marshalAddBackendServersRequest(request, this.client.settings)),
|
|
19415
|
-
headers: jsonContentHeaders$
|
|
19437
|
+
headers: jsonContentHeaders$c,
|
|
19416
19438
|
method: 'POST',
|
|
19417
19439
|
path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/backends/${validatePathParam('backendId', request.backendId)}/servers`
|
|
19418
19440
|
}, unmarshalBackend);
|
|
@@ -19425,7 +19447,7 @@ let API$c = class API extends API$v {
|
|
|
19425
19447
|
*/
|
|
19426
19448
|
removeBackendServers = request => this.client.fetch({
|
|
19427
19449
|
body: JSON.stringify(marshalRemoveBackendServersRequest(request, this.client.settings)),
|
|
19428
|
-
headers: jsonContentHeaders$
|
|
19450
|
+
headers: jsonContentHeaders$c,
|
|
19429
19451
|
method: 'DELETE',
|
|
19430
19452
|
path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/backends/${validatePathParam('backendId', request.backendId)}/servers`
|
|
19431
19453
|
}, unmarshalBackend);
|
|
@@ -19438,7 +19460,7 @@ let API$c = class API extends API$v {
|
|
|
19438
19460
|
*/
|
|
19439
19461
|
setBackendServers = request => this.client.fetch({
|
|
19440
19462
|
body: JSON.stringify(marshalSetBackendServersRequest(request, this.client.settings)),
|
|
19441
|
-
headers: jsonContentHeaders$
|
|
19463
|
+
headers: jsonContentHeaders$c,
|
|
19442
19464
|
method: 'PUT',
|
|
19443
19465
|
path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/backends/${validatePathParam('backendId', request.backendId)}/servers`
|
|
19444
19466
|
}, unmarshalBackend);
|
|
@@ -19451,7 +19473,7 @@ let API$c = class API extends API$v {
|
|
|
19451
19473
|
*/
|
|
19452
19474
|
updateHealthCheck = request => this.client.fetch({
|
|
19453
19475
|
body: JSON.stringify(marshalUpdateHealthCheckRequest(request, this.client.settings)),
|
|
19454
|
-
headers: jsonContentHeaders$
|
|
19476
|
+
headers: jsonContentHeaders$c,
|
|
19455
19477
|
method: 'PUT',
|
|
19456
19478
|
path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/backends/${validatePathParam('backendId', request.backendId)}/healthcheck`
|
|
19457
19479
|
}, unmarshalHealthCheck);
|
|
@@ -19477,7 +19499,7 @@ let API$c = class API extends API$v {
|
|
|
19477
19499
|
*/
|
|
19478
19500
|
createFrontend = request => this.client.fetch({
|
|
19479
19501
|
body: JSON.stringify(marshalCreateFrontendRequest(request, this.client.settings)),
|
|
19480
|
-
headers: jsonContentHeaders$
|
|
19502
|
+
headers: jsonContentHeaders$c,
|
|
19481
19503
|
method: 'POST',
|
|
19482
19504
|
path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/lbs/${validatePathParam('lbId', request.lbId)}/frontends`
|
|
19483
19505
|
}, unmarshalFrontend);
|
|
@@ -19501,7 +19523,7 @@ let API$c = class API extends API$v {
|
|
|
19501
19523
|
*/
|
|
19502
19524
|
updateFrontend = request => this.client.fetch({
|
|
19503
19525
|
body: JSON.stringify(marshalUpdateFrontendRequest(request, this.client.settings)),
|
|
19504
|
-
headers: jsonContentHeaders$
|
|
19526
|
+
headers: jsonContentHeaders$c,
|
|
19505
19527
|
method: 'PUT',
|
|
19506
19528
|
path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/frontends/${validatePathParam('frontendId', request.frontendId)}`
|
|
19507
19529
|
}, unmarshalFrontend);
|
|
@@ -19537,7 +19559,7 @@ let API$c = class API extends API$v {
|
|
|
19537
19559
|
*/
|
|
19538
19560
|
createRoute = request => this.client.fetch({
|
|
19539
19561
|
body: JSON.stringify(marshalCreateRouteRequest(request, this.client.settings)),
|
|
19540
|
-
headers: jsonContentHeaders$
|
|
19562
|
+
headers: jsonContentHeaders$c,
|
|
19541
19563
|
method: 'POST',
|
|
19542
19564
|
path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/routes`
|
|
19543
19565
|
}, unmarshalRoute);
|
|
@@ -19561,7 +19583,7 @@ let API$c = class API extends API$v {
|
|
|
19561
19583
|
*/
|
|
19562
19584
|
updateRoute = request => this.client.fetch({
|
|
19563
19585
|
body: JSON.stringify(marshalUpdateRouteRequest(request, this.client.settings)),
|
|
19564
|
-
headers: jsonContentHeaders$
|
|
19586
|
+
headers: jsonContentHeaders$c,
|
|
19565
19587
|
method: 'PUT',
|
|
19566
19588
|
path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/routes/${validatePathParam('routeId', request.routeId)}`
|
|
19567
19589
|
}, unmarshalRoute);
|
|
@@ -19623,7 +19645,7 @@ let API$c = class API extends API$v {
|
|
|
19623
19645
|
*/
|
|
19624
19646
|
createAcl = request => this.client.fetch({
|
|
19625
19647
|
body: JSON.stringify(marshalCreateAclRequest(request, this.client.settings)),
|
|
19626
|
-
headers: jsonContentHeaders$
|
|
19648
|
+
headers: jsonContentHeaders$c,
|
|
19627
19649
|
method: 'POST',
|
|
19628
19650
|
path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/frontends/${validatePathParam('frontendId', request.frontendId)}/acls`
|
|
19629
19651
|
}, unmarshalAcl);
|
|
@@ -19647,7 +19669,7 @@ let API$c = class API extends API$v {
|
|
|
19647
19669
|
*/
|
|
19648
19670
|
updateAcl = request => this.client.fetch({
|
|
19649
19671
|
body: JSON.stringify(marshalUpdateAclRequest(request, this.client.settings)),
|
|
19650
|
-
headers: jsonContentHeaders$
|
|
19672
|
+
headers: jsonContentHeaders$c,
|
|
19651
19673
|
method: 'PUT',
|
|
19652
19674
|
path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/acls/${validatePathParam('aclId', request.aclId)}`
|
|
19653
19675
|
}, unmarshalAcl);
|
|
@@ -19671,7 +19693,7 @@ let API$c = class API extends API$v {
|
|
|
19671
19693
|
*/
|
|
19672
19694
|
createCertificate = request => this.client.fetch({
|
|
19673
19695
|
body: JSON.stringify(marshalCreateCertificateRequest(request, this.client.settings)),
|
|
19674
|
-
headers: jsonContentHeaders$
|
|
19696
|
+
headers: jsonContentHeaders$c,
|
|
19675
19697
|
method: 'POST',
|
|
19676
19698
|
path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/lbs/${validatePathParam('lbId', request.lbId)}/certificates`
|
|
19677
19699
|
}, unmarshalCertificate);
|
|
@@ -19717,7 +19739,7 @@ let API$c = class API extends API$v {
|
|
|
19717
19739
|
*/
|
|
19718
19740
|
updateCertificate = request => this.client.fetch({
|
|
19719
19741
|
body: JSON.stringify(marshalUpdateCertificateRequest(request, this.client.settings)),
|
|
19720
|
-
headers: jsonContentHeaders$
|
|
19742
|
+
headers: jsonContentHeaders$c,
|
|
19721
19743
|
method: 'PUT',
|
|
19722
19744
|
path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/certificates/${validatePathParam('certificateId', request.certificateId)}`
|
|
19723
19745
|
}, unmarshalCertificate);
|
|
@@ -19753,7 +19775,7 @@ let API$c = class API extends API$v {
|
|
|
19753
19775
|
*/
|
|
19754
19776
|
createSubscriber = request => this.client.fetch({
|
|
19755
19777
|
body: JSON.stringify(marshalCreateSubscriberRequest(request, this.client.settings)),
|
|
19756
|
-
headers: jsonContentHeaders$
|
|
19778
|
+
headers: jsonContentHeaders$c,
|
|
19757
19779
|
method: 'POST',
|
|
19758
19780
|
path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/subscribers`
|
|
19759
19781
|
}, unmarshalSubscriber);
|
|
@@ -19790,7 +19812,7 @@ let API$c = class API extends API$v {
|
|
|
19790
19812
|
*/
|
|
19791
19813
|
updateSubscriber = request => this.client.fetch({
|
|
19792
19814
|
body: JSON.stringify(marshalUpdateSubscriberRequest(request, this.client.settings)),
|
|
19793
|
-
headers: jsonContentHeaders$
|
|
19815
|
+
headers: jsonContentHeaders$c,
|
|
19794
19816
|
method: 'PUT',
|
|
19795
19817
|
path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/subscribers/${validatePathParam('subscriberId', request.subscriberId)}`
|
|
19796
19818
|
}, unmarshalSubscriber);
|
|
@@ -19813,7 +19835,7 @@ let API$c = class API extends API$v {
|
|
|
19813
19835
|
*/
|
|
19814
19836
|
subscribeToLb = request => this.client.fetch({
|
|
19815
19837
|
body: JSON.stringify(marshalSubscribeToLbRequest(request, this.client.settings)),
|
|
19816
|
-
headers: jsonContentHeaders$
|
|
19838
|
+
headers: jsonContentHeaders$c,
|
|
19817
19839
|
method: 'POST',
|
|
19818
19840
|
path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/lb/${validatePathParam('lbId', request.lbId)}/subscribe`
|
|
19819
19841
|
}, unmarshalLb);
|
|
@@ -19850,7 +19872,7 @@ let API$c = class API extends API$v {
|
|
|
19850
19872
|
*/
|
|
19851
19873
|
attachPrivateNetwork = request => this.client.fetch({
|
|
19852
19874
|
body: JSON.stringify(marshalAttachPrivateNetworkRequest(request, this.client.settings)),
|
|
19853
|
-
headers: jsonContentHeaders$
|
|
19875
|
+
headers: jsonContentHeaders$c,
|
|
19854
19876
|
method: 'POST',
|
|
19855
19877
|
path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/lbs/${validatePathParam('lbId', request.lbId)}/private-networks/${validatePathParam('privateNetworkId', request.privateNetworkId)}/attach`
|
|
19856
19878
|
}, unmarshalPrivateNetwork$3);
|
|
@@ -19862,13 +19884,13 @@ let API$c = class API extends API$v {
|
|
|
19862
19884
|
*/
|
|
19863
19885
|
detachPrivateNetwork = request => this.client.fetch({
|
|
19864
19886
|
body: '{}',
|
|
19865
|
-
headers: jsonContentHeaders$
|
|
19887
|
+
headers: jsonContentHeaders$c,
|
|
19866
19888
|
method: 'POST',
|
|
19867
19889
|
path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/lbs/${validatePathParam('lbId', request.lbId)}/private-networks/${validatePathParam('privateNetworkId', request.privateNetworkId)}/detach`
|
|
19868
19890
|
});
|
|
19869
19891
|
};
|
|
19870
19892
|
|
|
19871
|
-
class LbV1UtilsAPI extends API$
|
|
19893
|
+
class LbV1UtilsAPI extends API$d {
|
|
19872
19894
|
/**
|
|
19873
19895
|
* Waits for all private networks of a load balancer to be in a final state.
|
|
19874
19896
|
*
|
|
@@ -19944,7 +19966,7 @@ class LbZonedV1UtilsAPI extends ZonedAPI {
|
|
|
19944
19966
|
}, createExponentialBackoffStrategy(options?.minDelay ?? 1, options?.maxDelay ?? 30), options?.timeout);
|
|
19945
19967
|
}
|
|
19946
19968
|
|
|
19947
|
-
var index$
|
|
19969
|
+
var index$d = /*#__PURE__*/Object.freeze({
|
|
19948
19970
|
__proto__: null,
|
|
19949
19971
|
API: LbV1UtilsAPI,
|
|
19950
19972
|
CERTIFICATE_TRANSIENT_STATUSES: CERTIFICATE_TRANSIENT_STATUSES,
|
|
@@ -19954,9 +19976,9 @@ var index$c = /*#__PURE__*/Object.freeze({
|
|
|
19954
19976
|
ZonedAPI: LbZonedV1UtilsAPI
|
|
19955
19977
|
});
|
|
19956
19978
|
|
|
19957
|
-
var index$
|
|
19979
|
+
var index$c = /*#__PURE__*/Object.freeze({
|
|
19958
19980
|
__proto__: null,
|
|
19959
|
-
v1: index$
|
|
19981
|
+
v1: index$d
|
|
19960
19982
|
});
|
|
19961
19983
|
|
|
19962
19984
|
// This file was automatically generated. DO NOT EDIT.
|
|
@@ -20020,14 +20042,6 @@ const unmarshalGetImageResponse = data => {
|
|
|
20020
20042
|
image: data.image ? unmarshalImage$2(data.image) : undefined
|
|
20021
20043
|
};
|
|
20022
20044
|
};
|
|
20023
|
-
const unmarshalGetVersionResponse = data => {
|
|
20024
|
-
if (!isJSONObject(data)) {
|
|
20025
|
-
throw new TypeError(`Unmarshalling the type 'GetVersionResponse' failed as data isn't a dictionary.`);
|
|
20026
|
-
}
|
|
20027
|
-
return {
|
|
20028
|
-
version: data.version ? unmarshalVersion$1(data.version) : undefined
|
|
20029
|
-
};
|
|
20030
|
-
};
|
|
20031
20045
|
const unmarshalListImagesResponse$2 = data => {
|
|
20032
20046
|
if (!isJSONObject(data)) {
|
|
20033
20047
|
throw new TypeError(`Unmarshalling the type 'ListImagesResponse' failed as data isn't a dictionary.`);
|
|
@@ -20037,20 +20051,11 @@ const unmarshalListImagesResponse$2 = data => {
|
|
|
20037
20051
|
totalCount: data.total_count
|
|
20038
20052
|
};
|
|
20039
20053
|
};
|
|
20040
|
-
const unmarshalListVersionsResponse$1 = data => {
|
|
20041
|
-
if (!isJSONObject(data)) {
|
|
20042
|
-
throw new TypeError(`Unmarshalling the type 'ListVersionsResponse' failed as data isn't a dictionary.`);
|
|
20043
|
-
}
|
|
20044
|
-
return {
|
|
20045
|
-
totalCount: data.total_count,
|
|
20046
|
-
versions: unmarshalArrayOfObject(data.versions, unmarshalVersion$1)
|
|
20047
|
-
};
|
|
20048
|
-
};
|
|
20049
20054
|
|
|
20050
20055
|
// This file was automatically generated. DO NOT EDIT.
|
|
20051
20056
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
20052
20057
|
/** Marketplace API. */
|
|
20053
|
-
let API$
|
|
20058
|
+
let API$c = class API extends API$w {
|
|
20054
20059
|
pageOfListImages = (request = {}) => this.client.fetch({
|
|
20055
20060
|
method: 'GET',
|
|
20056
20061
|
path: `/marketplace/v1/images`,
|
|
@@ -20075,22 +20080,14 @@ let API$b = class API extends API$v {
|
|
|
20075
20080
|
method: 'GET',
|
|
20076
20081
|
path: `/marketplace/v1/images/${validatePathParam('imageId', request.imageId)}`
|
|
20077
20082
|
}, unmarshalGetImageResponse);
|
|
20078
|
-
listVersions = request => this.client.fetch({
|
|
20079
|
-
method: 'GET',
|
|
20080
|
-
path: `/marketplace/v1/images/${validatePathParam('imageId', request.imageId)}/versions`
|
|
20081
|
-
}, unmarshalListVersionsResponse$1);
|
|
20082
|
-
getVersion = request => this.client.fetch({
|
|
20083
|
-
method: 'GET',
|
|
20084
|
-
path: `/marketplace/v1/images/${validatePathParam('imageId', request.imageId)}/versions/${validatePathParam('versionId', request.versionId)}`
|
|
20085
|
-
}, unmarshalGetVersionResponse);
|
|
20086
20083
|
};
|
|
20087
20084
|
|
|
20088
20085
|
// This file was automatically generated. DO NOT EDIT.
|
|
20089
20086
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
20090
20087
|
|
|
20091
|
-
var index_gen$
|
|
20088
|
+
var index_gen$e = /*#__PURE__*/Object.freeze({
|
|
20092
20089
|
__proto__: null,
|
|
20093
|
-
API: API$
|
|
20090
|
+
API: API$c
|
|
20094
20091
|
});
|
|
20095
20092
|
|
|
20096
20093
|
// This file was automatically generated. DO NOT EDIT.
|
|
@@ -20186,7 +20183,7 @@ const unmarshalListVersionsResponse = data => {
|
|
|
20186
20183
|
// This file was automatically generated. DO NOT EDIT.
|
|
20187
20184
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
20188
20185
|
/** Marketplace API. */
|
|
20189
|
-
let API$
|
|
20186
|
+
let API$b = class API extends API$w {
|
|
20190
20187
|
pageOfListImages = request => this.client.fetch({
|
|
20191
20188
|
method: 'GET',
|
|
20192
20189
|
path: `/marketplace/v2/images`,
|
|
@@ -20310,15 +20307,15 @@ let API$a = class API extends API$v {
|
|
|
20310
20307
|
// This file was automatically generated. DO NOT EDIT.
|
|
20311
20308
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
20312
20309
|
|
|
20313
|
-
var index_gen$
|
|
20310
|
+
var index_gen$d = /*#__PURE__*/Object.freeze({
|
|
20314
20311
|
__proto__: null,
|
|
20315
|
-
API: API$
|
|
20312
|
+
API: API$b
|
|
20316
20313
|
});
|
|
20317
20314
|
|
|
20318
|
-
var index$
|
|
20315
|
+
var index$b = /*#__PURE__*/Object.freeze({
|
|
20319
20316
|
__proto__: null,
|
|
20320
|
-
v1: index_gen$
|
|
20321
|
-
v2: index_gen$
|
|
20317
|
+
v1: index_gen$e,
|
|
20318
|
+
v2: index_gen$d
|
|
20322
20319
|
});
|
|
20323
20320
|
|
|
20324
20321
|
// This file was automatically generated. DO NOT EDIT.
|
|
@@ -20530,7 +20527,7 @@ const marshalSqsApiUpdateSqsCredentialsRequest = (request, defaults) => ({
|
|
|
20530
20527
|
|
|
20531
20528
|
// This file was automatically generated. DO NOT EDIT.
|
|
20532
20529
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
20533
|
-
const jsonContentHeaders$
|
|
20530
|
+
const jsonContentHeaders$b = {
|
|
20534
20531
|
'Content-Type': 'application/json; charset=utf-8'
|
|
20535
20532
|
};
|
|
20536
20533
|
|
|
@@ -20539,7 +20536,7 @@ const jsonContentHeaders$a = {
|
|
|
20539
20536
|
*
|
|
20540
20537
|
* This API allows you to manage Scaleway Messaging and Queueing NATS accounts.
|
|
20541
20538
|
*/
|
|
20542
|
-
class NatsAPI extends API$
|
|
20539
|
+
class NatsAPI extends API$w {
|
|
20543
20540
|
/** Lists the available regions of the API. */
|
|
20544
20541
|
static LOCALITIES = ['fr-par'];
|
|
20545
20542
|
|
|
@@ -20551,7 +20548,7 @@ class NatsAPI extends API$v {
|
|
|
20551
20548
|
*/
|
|
20552
20549
|
createNatsAccount = (request = {}) => this.client.fetch({
|
|
20553
20550
|
body: JSON.stringify(marshalNatsApiCreateNatsAccountRequest(request, this.client.settings)),
|
|
20554
|
-
headers: jsonContentHeaders$
|
|
20551
|
+
headers: jsonContentHeaders$b,
|
|
20555
20552
|
method: 'POST',
|
|
20556
20553
|
path: `/mnq/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/nats-accounts`
|
|
20557
20554
|
}, unmarshalNatsAccount);
|
|
@@ -20578,7 +20575,7 @@ class NatsAPI extends API$v {
|
|
|
20578
20575
|
*/
|
|
20579
20576
|
updateNatsAccount = request => this.client.fetch({
|
|
20580
20577
|
body: JSON.stringify(marshalNatsApiUpdateNatsAccountRequest(request, this.client.settings)),
|
|
20581
|
-
headers: jsonContentHeaders$
|
|
20578
|
+
headers: jsonContentHeaders$b,
|
|
20582
20579
|
method: 'PATCH',
|
|
20583
20580
|
path: `/mnq/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/nats-accounts/${validatePathParam('natsAccountId', request.natsAccountId)}`
|
|
20584
20581
|
}, unmarshalNatsAccount);
|
|
@@ -20621,7 +20618,7 @@ class NatsAPI extends API$v {
|
|
|
20621
20618
|
*/
|
|
20622
20619
|
createNatsCredentials = request => this.client.fetch({
|
|
20623
20620
|
body: JSON.stringify(marshalNatsApiCreateNatsCredentialsRequest(request, this.client.settings)),
|
|
20624
|
-
headers: jsonContentHeaders$
|
|
20621
|
+
headers: jsonContentHeaders$b,
|
|
20625
20622
|
method: 'POST',
|
|
20626
20623
|
path: `/mnq/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/nats-credentials`
|
|
20627
20624
|
}, unmarshalNatsCredentials);
|
|
@@ -20675,7 +20672,7 @@ class NatsAPI extends API$v {
|
|
|
20675
20672
|
*
|
|
20676
20673
|
* This API allows you to manage Scaleway Messaging and Queueing SNS brokers.
|
|
20677
20674
|
*/
|
|
20678
|
-
class SnsAPI extends API$
|
|
20675
|
+
class SnsAPI extends API$w {
|
|
20679
20676
|
/** Lists the available regions of the API. */
|
|
20680
20677
|
static LOCALITIES = ['fr-par'];
|
|
20681
20678
|
|
|
@@ -20689,7 +20686,7 @@ class SnsAPI extends API$v {
|
|
|
20689
20686
|
*/
|
|
20690
20687
|
activateSns = (request = {}) => this.client.fetch({
|
|
20691
20688
|
body: JSON.stringify(marshalSnsApiActivateSnsRequest(request, this.client.settings)),
|
|
20692
|
-
headers: jsonContentHeaders$
|
|
20689
|
+
headers: jsonContentHeaders$b,
|
|
20693
20690
|
method: 'POST',
|
|
20694
20691
|
path: `/mnq/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/activate-sns`
|
|
20695
20692
|
}, unmarshalSnsInfo);
|
|
@@ -20717,7 +20714,7 @@ class SnsAPI extends API$v {
|
|
|
20717
20714
|
*/
|
|
20718
20715
|
deactivateSns = (request = {}) => this.client.fetch({
|
|
20719
20716
|
body: JSON.stringify(marshalSnsApiDeactivateSnsRequest(request, this.client.settings)),
|
|
20720
|
-
headers: jsonContentHeaders$
|
|
20717
|
+
headers: jsonContentHeaders$b,
|
|
20721
20718
|
method: 'POST',
|
|
20722
20719
|
path: `/mnq/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/deactivate-sns`
|
|
20723
20720
|
}, unmarshalSnsInfo);
|
|
@@ -20732,7 +20729,7 @@ class SnsAPI extends API$v {
|
|
|
20732
20729
|
*/
|
|
20733
20730
|
createSnsCredentials = (request = {}) => this.client.fetch({
|
|
20734
20731
|
body: JSON.stringify(marshalSnsApiCreateSnsCredentialsRequest(request, this.client.settings)),
|
|
20735
|
-
headers: jsonContentHeaders$
|
|
20732
|
+
headers: jsonContentHeaders$b,
|
|
20736
20733
|
method: 'POST',
|
|
20737
20734
|
path: `/mnq/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/sns-credentials`
|
|
20738
20735
|
}, unmarshalSnsCredentials);
|
|
@@ -20758,7 +20755,7 @@ class SnsAPI extends API$v {
|
|
|
20758
20755
|
*/
|
|
20759
20756
|
updateSnsCredentials = request => this.client.fetch({
|
|
20760
20757
|
body: JSON.stringify(marshalSnsApiUpdateSnsCredentialsRequest(request, this.client.settings)),
|
|
20761
|
-
headers: jsonContentHeaders$
|
|
20758
|
+
headers: jsonContentHeaders$b,
|
|
20762
20759
|
method: 'PATCH',
|
|
20763
20760
|
path: `/mnq/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/sns-credentials/${validatePathParam('snsCredentialsId', request.snsCredentialsId)}`
|
|
20764
20761
|
}, unmarshalSnsCredentials);
|
|
@@ -20797,7 +20794,7 @@ class SnsAPI extends API$v {
|
|
|
20797
20794
|
*
|
|
20798
20795
|
* This API allows you to manage Scaleway Messaging and Queueing SQS brokers.
|
|
20799
20796
|
*/
|
|
20800
|
-
class SqsAPI extends API$
|
|
20797
|
+
class SqsAPI extends API$w {
|
|
20801
20798
|
/** Lists the available regions of the API. */
|
|
20802
20799
|
static LOCALITIES = ['fr-par'];
|
|
20803
20800
|
|
|
@@ -20812,7 +20809,7 @@ class SqsAPI extends API$v {
|
|
|
20812
20809
|
*/
|
|
20813
20810
|
activateSqs = (request = {}) => this.client.fetch({
|
|
20814
20811
|
body: JSON.stringify(marshalSqsApiActivateSqsRequest(request, this.client.settings)),
|
|
20815
|
-
headers: jsonContentHeaders$
|
|
20812
|
+
headers: jsonContentHeaders$b,
|
|
20816
20813
|
method: 'POST',
|
|
20817
20814
|
path: `/mnq/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/activate-sqs`
|
|
20818
20815
|
}, unmarshalSqsInfo);
|
|
@@ -20840,7 +20837,7 @@ class SqsAPI extends API$v {
|
|
|
20840
20837
|
*/
|
|
20841
20838
|
deactivateSqs = (request = {}) => this.client.fetch({
|
|
20842
20839
|
body: JSON.stringify(marshalSqsApiDeactivateSqsRequest(request, this.client.settings)),
|
|
20843
|
-
headers: jsonContentHeaders$
|
|
20840
|
+
headers: jsonContentHeaders$b,
|
|
20844
20841
|
method: 'POST',
|
|
20845
20842
|
path: `/mnq/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/deactivate-sqs`
|
|
20846
20843
|
}, unmarshalSqsInfo);
|
|
@@ -20855,7 +20852,7 @@ class SqsAPI extends API$v {
|
|
|
20855
20852
|
*/
|
|
20856
20853
|
createSqsCredentials = (request = {}) => this.client.fetch({
|
|
20857
20854
|
body: JSON.stringify(marshalSqsApiCreateSqsCredentialsRequest(request, this.client.settings)),
|
|
20858
|
-
headers: jsonContentHeaders$
|
|
20855
|
+
headers: jsonContentHeaders$b,
|
|
20859
20856
|
method: 'POST',
|
|
20860
20857
|
path: `/mnq/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/sqs-credentials`
|
|
20861
20858
|
}, unmarshalSqsCredentials);
|
|
@@ -20881,7 +20878,7 @@ class SqsAPI extends API$v {
|
|
|
20881
20878
|
*/
|
|
20882
20879
|
updateSqsCredentials = request => this.client.fetch({
|
|
20883
20880
|
body: JSON.stringify(marshalSqsApiUpdateSqsCredentialsRequest(request, this.client.settings)),
|
|
20884
|
-
headers: jsonContentHeaders$
|
|
20881
|
+
headers: jsonContentHeaders$b,
|
|
20885
20882
|
method: 'PATCH',
|
|
20886
20883
|
path: `/mnq/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/sqs-credentials/${validatePathParam('sqsCredentialsId', request.sqsCredentialsId)}`
|
|
20887
20884
|
}, unmarshalSqsCredentials);
|
|
@@ -20991,7 +20988,7 @@ const SqsCredentials = {
|
|
|
20991
20988
|
}
|
|
20992
20989
|
};
|
|
20993
20990
|
|
|
20994
|
-
var validationRules_gen$
|
|
20991
|
+
var validationRules_gen$3 = /*#__PURE__*/Object.freeze({
|
|
20995
20992
|
__proto__: null,
|
|
20996
20993
|
NatsAccount: NatsAccount,
|
|
20997
20994
|
NatsApiCreateNatsAccountRequest: NatsApiCreateNatsAccountRequest,
|
|
@@ -21009,17 +21006,17 @@ var validationRules_gen$2 = /*#__PURE__*/Object.freeze({
|
|
|
21009
21006
|
// This file was automatically generated. DO NOT EDIT.
|
|
21010
21007
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
21011
21008
|
|
|
21012
|
-
var index_gen$
|
|
21009
|
+
var index_gen$c = /*#__PURE__*/Object.freeze({
|
|
21013
21010
|
__proto__: null,
|
|
21014
21011
|
NatsAPI: NatsAPI,
|
|
21015
21012
|
SnsAPI: SnsAPI,
|
|
21016
21013
|
SqsAPI: SqsAPI,
|
|
21017
|
-
ValidationRules: validationRules_gen$
|
|
21014
|
+
ValidationRules: validationRules_gen$3
|
|
21018
21015
|
});
|
|
21019
21016
|
|
|
21020
|
-
var index$
|
|
21017
|
+
var index$a = /*#__PURE__*/Object.freeze({
|
|
21021
21018
|
__proto__: null,
|
|
21022
|
-
v1beta1: index_gen$
|
|
21019
|
+
v1beta1: index_gen$c
|
|
21023
21020
|
});
|
|
21024
21021
|
|
|
21025
21022
|
// This file was automatically generated. DO NOT EDIT.
|
|
@@ -21094,7 +21091,7 @@ const unmarshalReadReplica = data => {
|
|
|
21094
21091
|
status: data.status
|
|
21095
21092
|
};
|
|
21096
21093
|
};
|
|
21097
|
-
const unmarshalDatabaseBackup = data => {
|
|
21094
|
+
const unmarshalDatabaseBackup$1 = data => {
|
|
21098
21095
|
if (!isJSONObject(data)) {
|
|
21099
21096
|
throw new TypeError(`Unmarshalling the type 'DatabaseBackup' failed as data isn't a dictionary.`);
|
|
21100
21097
|
}
|
|
@@ -21115,7 +21112,7 @@ const unmarshalDatabaseBackup = data => {
|
|
|
21115
21112
|
updatedAt: unmarshalDate(data.updated_at)
|
|
21116
21113
|
};
|
|
21117
21114
|
};
|
|
21118
|
-
const unmarshalDatabase = data => {
|
|
21115
|
+
const unmarshalDatabase$1 = data => {
|
|
21119
21116
|
if (!isJSONObject(data)) {
|
|
21120
21117
|
throw new TypeError(`Unmarshalling the type 'Database' failed as data isn't a dictionary.`);
|
|
21121
21118
|
}
|
|
@@ -21241,6 +21238,15 @@ const unmarshalPrivilege = data => {
|
|
|
21241
21238
|
userName: data.user_name
|
|
21242
21239
|
};
|
|
21243
21240
|
};
|
|
21241
|
+
const unmarshalSnapshotVolumeType = data => {
|
|
21242
|
+
if (!isJSONObject(data)) {
|
|
21243
|
+
throw new TypeError(`Unmarshalling the type 'SnapshotVolumeType' failed as data isn't a dictionary.`);
|
|
21244
|
+
}
|
|
21245
|
+
return {
|
|
21246
|
+
class: data.class,
|
|
21247
|
+
type: data.type
|
|
21248
|
+
};
|
|
21249
|
+
};
|
|
21244
21250
|
const unmarshalSnapshot = data => {
|
|
21245
21251
|
if (!isJSONObject(data)) {
|
|
21246
21252
|
throw new TypeError(`Unmarshalling the type 'Snapshot' failed as data isn't a dictionary.`);
|
|
@@ -21256,7 +21262,8 @@ const unmarshalSnapshot = data => {
|
|
|
21256
21262
|
region: data.region,
|
|
21257
21263
|
size: data.size,
|
|
21258
21264
|
status: data.status,
|
|
21259
|
-
updatedAt: unmarshalDate(data.updated_at)
|
|
21265
|
+
updatedAt: unmarshalDate(data.updated_at),
|
|
21266
|
+
volumeType: data.volume_type ? unmarshalSnapshotVolumeType(data.volume_type) : undefined
|
|
21260
21267
|
};
|
|
21261
21268
|
};
|
|
21262
21269
|
const unmarshalUser = data => {
|
|
@@ -21321,12 +21328,12 @@ const unmarshalInstanceMetrics = data => {
|
|
|
21321
21328
|
timeseries: unmarshalArrayOfObject(data.timeseries, unmarshalTimeSeries)
|
|
21322
21329
|
};
|
|
21323
21330
|
};
|
|
21324
|
-
const unmarshalListDatabaseBackupsResponse = data => {
|
|
21331
|
+
const unmarshalListDatabaseBackupsResponse$1 = data => {
|
|
21325
21332
|
if (!isJSONObject(data)) {
|
|
21326
21333
|
throw new TypeError(`Unmarshalling the type 'ListDatabaseBackupsResponse' failed as data isn't a dictionary.`);
|
|
21327
21334
|
}
|
|
21328
21335
|
return {
|
|
21329
|
-
databaseBackups: unmarshalArrayOfObject(data.database_backups, unmarshalDatabaseBackup),
|
|
21336
|
+
databaseBackups: unmarshalArrayOfObject(data.database_backups, unmarshalDatabaseBackup$1),
|
|
21330
21337
|
totalCount: data.total_count
|
|
21331
21338
|
};
|
|
21332
21339
|
};
|
|
@@ -21382,12 +21389,12 @@ const unmarshalListDatabaseEnginesResponse = data => {
|
|
|
21382
21389
|
totalCount: data.total_count
|
|
21383
21390
|
};
|
|
21384
21391
|
};
|
|
21385
|
-
const unmarshalListDatabasesResponse = data => {
|
|
21392
|
+
const unmarshalListDatabasesResponse$1 = data => {
|
|
21386
21393
|
if (!isJSONObject(data)) {
|
|
21387
21394
|
throw new TypeError(`Unmarshalling the type 'ListDatabasesResponse' failed as data isn't a dictionary.`);
|
|
21388
21395
|
}
|
|
21389
21396
|
return {
|
|
21390
|
-
databases: unmarshalArrayOfObject(data.databases, unmarshalDatabase),
|
|
21397
|
+
databases: unmarshalArrayOfObject(data.databases, unmarshalDatabase$1),
|
|
21391
21398
|
totalCount: data.total_count
|
|
21392
21399
|
};
|
|
21393
21400
|
};
|
|
@@ -21561,7 +21568,7 @@ const marshalCreateDatabaseBackupRequest = (request, defaults) => ({
|
|
|
21561
21568
|
instance_id: request.instanceId,
|
|
21562
21569
|
name: request.name || randomName('bkp')
|
|
21563
21570
|
});
|
|
21564
|
-
const marshalCreateDatabaseRequest = (request, defaults) => ({
|
|
21571
|
+
const marshalCreateDatabaseRequest$1 = (request, defaults) => ({
|
|
21565
21572
|
name: request.name
|
|
21566
21573
|
});
|
|
21567
21574
|
const marshalEndpointSpecPrivateNetworkIpamConfig = (request, defaults) => ({});
|
|
@@ -21740,12 +21747,12 @@ const marshalUpgradeInstanceRequest = (request, defaults) => ({
|
|
|
21740
21747
|
|
|
21741
21748
|
// This file was automatically generated. DO NOT EDIT.
|
|
21742
21749
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
21743
|
-
const jsonContentHeaders$
|
|
21750
|
+
const jsonContentHeaders$a = {
|
|
21744
21751
|
'Content-Type': 'application/json; charset=utf-8'
|
|
21745
21752
|
};
|
|
21746
21753
|
|
|
21747
21754
|
/** Managed Database for PostgreSQL and MySQL API. */
|
|
21748
|
-
let API$
|
|
21755
|
+
let API$a = class API extends API$w {
|
|
21749
21756
|
/** Lists the available regions of the API. */
|
|
21750
21757
|
static LOCALITIES = ['fr-par', 'nl-ams', 'pl-waw'];
|
|
21751
21758
|
pageOfListDatabaseEngines = (request = {}) => this.client.fetch({
|
|
@@ -21781,7 +21788,7 @@ let API$9 = class API extends API$v {
|
|
|
21781
21788
|
method: 'GET',
|
|
21782
21789
|
path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/backups`,
|
|
21783
21790
|
urlParams: urlParams(['instance_id', request.instanceId], ['name', request.name], ['order_by', request.orderBy], ['organization_id', request.organizationId], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['project_id', request.projectId])
|
|
21784
|
-
}, unmarshalListDatabaseBackupsResponse);
|
|
21791
|
+
}, unmarshalListDatabaseBackupsResponse$1);
|
|
21785
21792
|
|
|
21786
21793
|
/**
|
|
21787
21794
|
* List database backups. List all backups in a specified region, for a given
|
|
@@ -21803,10 +21810,10 @@ let API$9 = class API extends API$v {
|
|
|
21803
21810
|
*/
|
|
21804
21811
|
createDatabaseBackup = request => this.client.fetch({
|
|
21805
21812
|
body: JSON.stringify(marshalCreateDatabaseBackupRequest(request, this.client.settings)),
|
|
21806
|
-
headers: jsonContentHeaders$
|
|
21813
|
+
headers: jsonContentHeaders$a,
|
|
21807
21814
|
method: 'POST',
|
|
21808
21815
|
path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/backups`
|
|
21809
|
-
}, unmarshalDatabaseBackup);
|
|
21816
|
+
}, unmarshalDatabaseBackup$1);
|
|
21810
21817
|
|
|
21811
21818
|
/**
|
|
21812
21819
|
* Get a database backup. Retrieve information about a given backup, specified
|
|
@@ -21819,7 +21826,7 @@ let API$9 = class API extends API$v {
|
|
|
21819
21826
|
getDatabaseBackup = request => this.client.fetch({
|
|
21820
21827
|
method: 'GET',
|
|
21821
21828
|
path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/backups/${validatePathParam('databaseBackupId', request.databaseBackupId)}`
|
|
21822
|
-
}, unmarshalDatabaseBackup);
|
|
21829
|
+
}, unmarshalDatabaseBackup$1);
|
|
21823
21830
|
|
|
21824
21831
|
/**
|
|
21825
21832
|
* Waits for {@link DatabaseBackup} to be in a final state.
|
|
@@ -21839,10 +21846,10 @@ let API$9 = class API extends API$v {
|
|
|
21839
21846
|
*/
|
|
21840
21847
|
updateDatabaseBackup = request => this.client.fetch({
|
|
21841
21848
|
body: JSON.stringify(marshalUpdateDatabaseBackupRequest(request, this.client.settings)),
|
|
21842
|
-
headers: jsonContentHeaders$
|
|
21849
|
+
headers: jsonContentHeaders$a,
|
|
21843
21850
|
method: 'PATCH',
|
|
21844
21851
|
path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/backups/${validatePathParam('databaseBackupId', request.databaseBackupId)}`
|
|
21845
|
-
}, unmarshalDatabaseBackup);
|
|
21852
|
+
}, unmarshalDatabaseBackup$1);
|
|
21846
21853
|
|
|
21847
21854
|
/**
|
|
21848
21855
|
* Delete a database backup. Delete a backup, specified by its database backup
|
|
@@ -21854,7 +21861,7 @@ let API$9 = class API extends API$v {
|
|
|
21854
21861
|
deleteDatabaseBackup = request => this.client.fetch({
|
|
21855
21862
|
method: 'DELETE',
|
|
21856
21863
|
path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/backups/${validatePathParam('databaseBackupId', request.databaseBackupId)}`
|
|
21857
|
-
}, unmarshalDatabaseBackup);
|
|
21864
|
+
}, unmarshalDatabaseBackup$1);
|
|
21858
21865
|
|
|
21859
21866
|
/**
|
|
21860
21867
|
* Restore a database backup. Launch the process of restoring database backup.
|
|
@@ -21867,10 +21874,10 @@ let API$9 = class API extends API$v {
|
|
|
21867
21874
|
*/
|
|
21868
21875
|
restoreDatabaseBackup = request => this.client.fetch({
|
|
21869
21876
|
body: JSON.stringify(marshalRestoreDatabaseBackupRequest(request, this.client.settings)),
|
|
21870
|
-
headers: jsonContentHeaders$
|
|
21877
|
+
headers: jsonContentHeaders$a,
|
|
21871
21878
|
method: 'POST',
|
|
21872
21879
|
path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/backups/${validatePathParam('databaseBackupId', request.databaseBackupId)}/restore`
|
|
21873
|
-
}, unmarshalDatabaseBackup);
|
|
21880
|
+
}, unmarshalDatabaseBackup$1);
|
|
21874
21881
|
|
|
21875
21882
|
/**
|
|
21876
21883
|
* Export a database backup. Export a backup, specified by the
|
|
@@ -21882,10 +21889,10 @@ let API$9 = class API extends API$v {
|
|
|
21882
21889
|
*/
|
|
21883
21890
|
exportDatabaseBackup = request => this.client.fetch({
|
|
21884
21891
|
body: '{}',
|
|
21885
|
-
headers: jsonContentHeaders$
|
|
21892
|
+
headers: jsonContentHeaders$a,
|
|
21886
21893
|
method: 'POST',
|
|
21887
21894
|
path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/backups/${validatePathParam('databaseBackupId', request.databaseBackupId)}/export`
|
|
21888
|
-
}, unmarshalDatabaseBackup);
|
|
21895
|
+
}, unmarshalDatabaseBackup$1);
|
|
21889
21896
|
|
|
21890
21897
|
/**
|
|
21891
21898
|
* Upgrade a Database Instance. Upgrade your current Database Instance
|
|
@@ -21898,7 +21905,7 @@ let API$9 = class API extends API$v {
|
|
|
21898
21905
|
*/
|
|
21899
21906
|
upgradeInstance = request => this.client.fetch({
|
|
21900
21907
|
body: JSON.stringify(marshalUpgradeInstanceRequest(request, this.client.settings)),
|
|
21901
|
-
headers: jsonContentHeaders$
|
|
21908
|
+
headers: jsonContentHeaders$a,
|
|
21902
21909
|
method: 'POST',
|
|
21903
21910
|
path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/upgrade`
|
|
21904
21911
|
}, unmarshalInstance);
|
|
@@ -21956,7 +21963,7 @@ let API$9 = class API extends API$v {
|
|
|
21956
21963
|
*/
|
|
21957
21964
|
createInstance = request => this.client.fetch({
|
|
21958
21965
|
body: JSON.stringify(marshalCreateInstanceRequest(request, this.client.settings)),
|
|
21959
|
-
headers: jsonContentHeaders$
|
|
21966
|
+
headers: jsonContentHeaders$a,
|
|
21960
21967
|
method: 'POST',
|
|
21961
21968
|
path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances`
|
|
21962
21969
|
}, unmarshalInstance);
|
|
@@ -21970,7 +21977,7 @@ let API$9 = class API extends API$v {
|
|
|
21970
21977
|
*/
|
|
21971
21978
|
updateInstance = request => this.client.fetch({
|
|
21972
21979
|
body: JSON.stringify(marshalUpdateInstanceRequest(request, this.client.settings)),
|
|
21973
|
-
headers: jsonContentHeaders$
|
|
21980
|
+
headers: jsonContentHeaders$a,
|
|
21974
21981
|
method: 'PATCH',
|
|
21975
21982
|
path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}`
|
|
21976
21983
|
}, unmarshalInstance);
|
|
@@ -22001,7 +22008,7 @@ let API$9 = class API extends API$v {
|
|
|
22001
22008
|
*/
|
|
22002
22009
|
cloneInstance = request => this.client.fetch({
|
|
22003
22010
|
body: JSON.stringify(marshalCloneInstanceRequest(request, this.client.settings)),
|
|
22004
|
-
headers: jsonContentHeaders$
|
|
22011
|
+
headers: jsonContentHeaders$a,
|
|
22005
22012
|
method: 'POST',
|
|
22006
22013
|
path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/clone`
|
|
22007
22014
|
}, unmarshalInstance);
|
|
@@ -22016,7 +22023,7 @@ let API$9 = class API extends API$v {
|
|
|
22016
22023
|
*/
|
|
22017
22024
|
restartInstance = request => this.client.fetch({
|
|
22018
22025
|
body: '{}',
|
|
22019
|
-
headers: jsonContentHeaders$
|
|
22026
|
+
headers: jsonContentHeaders$a,
|
|
22020
22027
|
method: 'POST',
|
|
22021
22028
|
path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/restart`
|
|
22022
22029
|
}, unmarshalInstance);
|
|
@@ -22047,7 +22054,7 @@ let API$9 = class API extends API$v {
|
|
|
22047
22054
|
*/
|
|
22048
22055
|
renewInstanceCertificate = request => this.client.fetch({
|
|
22049
22056
|
body: '{}',
|
|
22050
|
-
headers: jsonContentHeaders$
|
|
22057
|
+
headers: jsonContentHeaders$a,
|
|
22051
22058
|
method: 'POST',
|
|
22052
22059
|
path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/renew-certificate`
|
|
22053
22060
|
});
|
|
@@ -22076,7 +22083,7 @@ let API$9 = class API extends API$v {
|
|
|
22076
22083
|
*/
|
|
22077
22084
|
createReadReplica = request => this.client.fetch({
|
|
22078
22085
|
body: JSON.stringify(marshalCreateReadReplicaRequest(request, this.client.settings)),
|
|
22079
|
-
headers: jsonContentHeaders$
|
|
22086
|
+
headers: jsonContentHeaders$a,
|
|
22080
22087
|
method: 'POST',
|
|
22081
22088
|
path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/read-replicas`
|
|
22082
22089
|
}, unmarshalReadReplica);
|
|
@@ -22128,7 +22135,7 @@ let API$9 = class API extends API$v {
|
|
|
22128
22135
|
*/
|
|
22129
22136
|
resetReadReplica = request => this.client.fetch({
|
|
22130
22137
|
body: '{}',
|
|
22131
|
-
headers: jsonContentHeaders$
|
|
22138
|
+
headers: jsonContentHeaders$a,
|
|
22132
22139
|
method: 'POST',
|
|
22133
22140
|
path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/read-replicas/${validatePathParam('readReplicaId', request.readReplicaId)}/reset`
|
|
22134
22141
|
}, unmarshalReadReplica);
|
|
@@ -22142,7 +22149,7 @@ let API$9 = class API extends API$v {
|
|
|
22142
22149
|
*/
|
|
22143
22150
|
promoteReadReplica = request => this.client.fetch({
|
|
22144
22151
|
body: '{}',
|
|
22145
|
-
headers: jsonContentHeaders$
|
|
22152
|
+
headers: jsonContentHeaders$a,
|
|
22146
22153
|
method: 'POST',
|
|
22147
22154
|
path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/read-replicas/${validatePathParam('readReplicaId', request.readReplicaId)}/promote`
|
|
22148
22155
|
}, unmarshalInstance);
|
|
@@ -22157,7 +22164,7 @@ let API$9 = class API extends API$v {
|
|
|
22157
22164
|
*/
|
|
22158
22165
|
createReadReplicaEndpoint = request => this.client.fetch({
|
|
22159
22166
|
body: JSON.stringify(marshalCreateReadReplicaEndpointRequest(request, this.client.settings)),
|
|
22160
|
-
headers: jsonContentHeaders$
|
|
22167
|
+
headers: jsonContentHeaders$a,
|
|
22161
22168
|
method: 'POST',
|
|
22162
22169
|
path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/read-replicas/${validatePathParam('readReplicaId', request.readReplicaId)}/endpoints`
|
|
22163
22170
|
}, unmarshalReadReplica);
|
|
@@ -22175,7 +22182,7 @@ let API$9 = class API extends API$v {
|
|
|
22175
22182
|
*/
|
|
22176
22183
|
prepareInstanceLogs = request => this.client.fetch({
|
|
22177
22184
|
body: JSON.stringify(marshalPrepareInstanceLogsRequest(request, this.client.settings)),
|
|
22178
|
-
headers: jsonContentHeaders$
|
|
22185
|
+
headers: jsonContentHeaders$a,
|
|
22179
22186
|
method: 'POST',
|
|
22180
22187
|
path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/prepare-logs`
|
|
22181
22188
|
}, unmarshalPrepareInstanceLogsResponse);
|
|
@@ -22227,7 +22234,7 @@ let API$9 = class API extends API$v {
|
|
|
22227
22234
|
*/
|
|
22228
22235
|
purgeInstanceLogs = request => this.client.fetch({
|
|
22229
22236
|
body: JSON.stringify(marshalPurgeInstanceLogsRequest(request, this.client.settings)),
|
|
22230
|
-
headers: jsonContentHeaders$
|
|
22237
|
+
headers: jsonContentHeaders$a,
|
|
22231
22238
|
method: 'POST',
|
|
22232
22239
|
path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/purge-logs`
|
|
22233
22240
|
});
|
|
@@ -22255,7 +22262,7 @@ let API$9 = class API extends API$v {
|
|
|
22255
22262
|
*/
|
|
22256
22263
|
addInstanceSettings = request => this.client.fetch({
|
|
22257
22264
|
body: JSON.stringify(marshalAddInstanceSettingsRequest(request, this.client.settings)),
|
|
22258
|
-
headers: jsonContentHeaders$
|
|
22265
|
+
headers: jsonContentHeaders$a,
|
|
22259
22266
|
method: 'POST',
|
|
22260
22267
|
path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/settings`
|
|
22261
22268
|
}, unmarshalAddInstanceSettingsResponse);
|
|
@@ -22270,7 +22277,7 @@ let API$9 = class API extends API$v {
|
|
|
22270
22277
|
*/
|
|
22271
22278
|
deleteInstanceSettings = request => this.client.fetch({
|
|
22272
22279
|
body: JSON.stringify(marshalDeleteInstanceSettingsRequest(request, this.client.settings)),
|
|
22273
|
-
headers: jsonContentHeaders$
|
|
22280
|
+
headers: jsonContentHeaders$a,
|
|
22274
22281
|
method: 'DELETE',
|
|
22275
22282
|
path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/settings`
|
|
22276
22283
|
}, unmarshalDeleteInstanceSettingsResponse);
|
|
@@ -22285,7 +22292,7 @@ let API$9 = class API extends API$v {
|
|
|
22285
22292
|
*/
|
|
22286
22293
|
setInstanceSettings = request => this.client.fetch({
|
|
22287
22294
|
body: JSON.stringify(marshalSetInstanceSettingsRequest(request, this.client.settings)),
|
|
22288
|
-
headers: jsonContentHeaders$
|
|
22295
|
+
headers: jsonContentHeaders$a,
|
|
22289
22296
|
method: 'PUT',
|
|
22290
22297
|
path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/settings`
|
|
22291
22298
|
}, unmarshalSetInstanceSettingsResponse);
|
|
@@ -22315,7 +22322,7 @@ let API$9 = class API extends API$v {
|
|
|
22315
22322
|
*/
|
|
22316
22323
|
addInstanceACLRules = request => this.client.fetch({
|
|
22317
22324
|
body: JSON.stringify(marshalAddInstanceACLRulesRequest(request, this.client.settings)),
|
|
22318
|
-
headers: jsonContentHeaders$
|
|
22325
|
+
headers: jsonContentHeaders$a,
|
|
22319
22326
|
method: 'POST',
|
|
22320
22327
|
path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/acls`
|
|
22321
22328
|
}, unmarshalAddInstanceACLRulesResponse);
|
|
@@ -22329,7 +22336,7 @@ let API$9 = class API extends API$v {
|
|
|
22329
22336
|
*/
|
|
22330
22337
|
setInstanceACLRules = request => this.client.fetch({
|
|
22331
22338
|
body: JSON.stringify(marshalSetInstanceACLRulesRequest(request, this.client.settings)),
|
|
22332
|
-
headers: jsonContentHeaders$
|
|
22339
|
+
headers: jsonContentHeaders$a,
|
|
22333
22340
|
method: 'PUT',
|
|
22334
22341
|
path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/acls`
|
|
22335
22342
|
}, unmarshalSetInstanceACLRulesResponse);
|
|
@@ -22343,7 +22350,7 @@ let API$9 = class API extends API$v {
|
|
|
22343
22350
|
*/
|
|
22344
22351
|
deleteInstanceACLRules = request => this.client.fetch({
|
|
22345
22352
|
body: JSON.stringify(marshalDeleteInstanceACLRulesRequest(request, this.client.settings)),
|
|
22346
|
-
headers: jsonContentHeaders$
|
|
22353
|
+
headers: jsonContentHeaders$a,
|
|
22347
22354
|
method: 'DELETE',
|
|
22348
22355
|
path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/acls`
|
|
22349
22356
|
}, unmarshalDeleteInstanceACLRulesResponse);
|
|
@@ -22374,7 +22381,7 @@ let API$9 = class API extends API$v {
|
|
|
22374
22381
|
*/
|
|
22375
22382
|
createUser = request => this.client.fetch({
|
|
22376
22383
|
body: JSON.stringify(marshalCreateUserRequest(request, this.client.settings)),
|
|
22377
|
-
headers: jsonContentHeaders$
|
|
22384
|
+
headers: jsonContentHeaders$a,
|
|
22378
22385
|
method: 'POST',
|
|
22379
22386
|
path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/users`
|
|
22380
22387
|
}, unmarshalUser);
|
|
@@ -22389,7 +22396,7 @@ let API$9 = class API extends API$v {
|
|
|
22389
22396
|
*/
|
|
22390
22397
|
updateUser = request => this.client.fetch({
|
|
22391
22398
|
body: JSON.stringify(marshalUpdateUserRequest(request, this.client.settings)),
|
|
22392
|
-
headers: jsonContentHeaders$
|
|
22399
|
+
headers: jsonContentHeaders$a,
|
|
22393
22400
|
method: 'PATCH',
|
|
22394
22401
|
path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/users/${validatePathParam('name', request.name)}`
|
|
22395
22402
|
}, unmarshalUser);
|
|
@@ -22409,7 +22416,7 @@ let API$9 = class API extends API$v {
|
|
|
22409
22416
|
method: 'GET',
|
|
22410
22417
|
path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/databases`,
|
|
22411
22418
|
urlParams: urlParams(['managed', request.managed], ['name', request.name], ['order_by', request.orderBy], ['owner', request.owner], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize])
|
|
22412
|
-
}, unmarshalListDatabasesResponse);
|
|
22419
|
+
}, unmarshalListDatabasesResponse$1);
|
|
22413
22420
|
|
|
22414
22421
|
/**
|
|
22415
22422
|
* List databases in a Database Instance. List all databases of a given
|
|
@@ -22431,11 +22438,11 @@ let API$9 = class API extends API$v {
|
|
|
22431
22438
|
* @returns A Promise of Database
|
|
22432
22439
|
*/
|
|
22433
22440
|
createDatabase = request => this.client.fetch({
|
|
22434
|
-
body: JSON.stringify(marshalCreateDatabaseRequest(request, this.client.settings)),
|
|
22435
|
-
headers: jsonContentHeaders$
|
|
22441
|
+
body: JSON.stringify(marshalCreateDatabaseRequest$1(request, this.client.settings)),
|
|
22442
|
+
headers: jsonContentHeaders$a,
|
|
22436
22443
|
method: 'POST',
|
|
22437
22444
|
path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/databases`
|
|
22438
|
-
}, unmarshalDatabase);
|
|
22445
|
+
}, unmarshalDatabase$1);
|
|
22439
22446
|
|
|
22440
22447
|
/**
|
|
22441
22448
|
* Delete a database in a Database Instance. Delete a given database on a
|
|
@@ -22476,7 +22483,7 @@ let API$9 = class API extends API$v {
|
|
|
22476
22483
|
*/
|
|
22477
22484
|
setPrivilege = request => this.client.fetch({
|
|
22478
22485
|
body: JSON.stringify(marshalSetPrivilegeRequest(request, this.client.settings)),
|
|
22479
|
-
headers: jsonContentHeaders$
|
|
22486
|
+
headers: jsonContentHeaders$a,
|
|
22480
22487
|
method: 'PUT',
|
|
22481
22488
|
path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/privileges`
|
|
22482
22489
|
}, unmarshalPrivilege);
|
|
@@ -22529,7 +22536,7 @@ let API$9 = class API extends API$v {
|
|
|
22529
22536
|
*/
|
|
22530
22537
|
createSnapshot = request => this.client.fetch({
|
|
22531
22538
|
body: JSON.stringify(marshalCreateSnapshotRequest(request, this.client.settings)),
|
|
22532
|
-
headers: jsonContentHeaders$
|
|
22539
|
+
headers: jsonContentHeaders$a,
|
|
22533
22540
|
method: 'POST',
|
|
22534
22541
|
path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/snapshots`
|
|
22535
22542
|
}, unmarshalSnapshot);
|
|
@@ -22544,7 +22551,7 @@ let API$9 = class API extends API$v {
|
|
|
22544
22551
|
*/
|
|
22545
22552
|
updateSnapshot = request => this.client.fetch({
|
|
22546
22553
|
body: JSON.stringify(marshalUpdateSnapshotRequest(request, this.client.settings)),
|
|
22547
|
-
headers: jsonContentHeaders$
|
|
22554
|
+
headers: jsonContentHeaders$a,
|
|
22548
22555
|
method: 'PATCH',
|
|
22549
22556
|
path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/snapshots/${validatePathParam('snapshotId', request.snapshotId)}`
|
|
22550
22557
|
}, unmarshalSnapshot);
|
|
@@ -22577,7 +22584,7 @@ let API$9 = class API extends API$v {
|
|
|
22577
22584
|
*/
|
|
22578
22585
|
createInstanceFromSnapshot = request => this.client.fetch({
|
|
22579
22586
|
body: JSON.stringify(marshalCreateInstanceFromSnapshotRequest(request, this.client.settings)),
|
|
22580
|
-
headers: jsonContentHeaders$
|
|
22587
|
+
headers: jsonContentHeaders$a,
|
|
22581
22588
|
method: 'POST',
|
|
22582
22589
|
path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/snapshots/${validatePathParam('snapshotId', request.snapshotId)}/create-instance`
|
|
22583
22590
|
}, unmarshalInstance);
|
|
@@ -22592,7 +22599,7 @@ let API$9 = class API extends API$v {
|
|
|
22592
22599
|
*/
|
|
22593
22600
|
createEndpoint = request => this.client.fetch({
|
|
22594
22601
|
body: JSON.stringify(marshalCreateEndpointRequest(request, this.client.settings)),
|
|
22595
|
-
headers: jsonContentHeaders$
|
|
22602
|
+
headers: jsonContentHeaders$a,
|
|
22596
22603
|
method: 'POST',
|
|
22597
22604
|
path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/endpoints`
|
|
22598
22605
|
}, unmarshalEndpoint$1);
|
|
@@ -22632,7 +22639,7 @@ let API$9 = class API extends API$v {
|
|
|
22632
22639
|
*/
|
|
22633
22640
|
migrateEndpoint = request => this.client.fetch({
|
|
22634
22641
|
body: JSON.stringify(marshalMigrateEndpointRequest(request, this.client.settings)),
|
|
22635
|
-
headers: jsonContentHeaders$
|
|
22642
|
+
headers: jsonContentHeaders$a,
|
|
22636
22643
|
method: 'POST',
|
|
22637
22644
|
path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/endpoints/${validatePathParam('endpointId', request.endpointId)}/migrate`
|
|
22638
22645
|
}, unmarshalEndpoint$1);
|
|
@@ -22647,7 +22654,7 @@ const UpdateInstanceRequest = {
|
|
|
22647
22654
|
}
|
|
22648
22655
|
};
|
|
22649
22656
|
|
|
22650
|
-
var validationRules_gen$
|
|
22657
|
+
var validationRules_gen$2 = /*#__PURE__*/Object.freeze({
|
|
22651
22658
|
__proto__: null,
|
|
22652
22659
|
UpdateInstanceRequest: UpdateInstanceRequest
|
|
22653
22660
|
});
|
|
@@ -22655,21 +22662,21 @@ var validationRules_gen$1 = /*#__PURE__*/Object.freeze({
|
|
|
22655
22662
|
// This file was automatically generated. DO NOT EDIT.
|
|
22656
22663
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
22657
22664
|
|
|
22658
|
-
var index_gen$
|
|
22665
|
+
var index_gen$b = /*#__PURE__*/Object.freeze({
|
|
22659
22666
|
__proto__: null,
|
|
22660
|
-
API: API$
|
|
22667
|
+
API: API$a,
|
|
22661
22668
|
DATABASE_BACKUP_TRANSIENT_STATUSES: DATABASE_BACKUP_TRANSIENT_STATUSES,
|
|
22662
22669
|
INSTANCE_LOG_TRANSIENT_STATUSES: INSTANCE_LOG_TRANSIENT_STATUSES,
|
|
22663
22670
|
INSTANCE_TRANSIENT_STATUSES: INSTANCE_TRANSIENT_STATUSES,
|
|
22664
22671
|
MAINTENANCE_TRANSIENT_STATUSES: MAINTENANCE_TRANSIENT_STATUSES,
|
|
22665
22672
|
READ_REPLICA_TRANSIENT_STATUSES: READ_REPLICA_TRANSIENT_STATUSES,
|
|
22666
22673
|
SNAPSHOT_TRANSIENT_STATUSES: SNAPSHOT_TRANSIENT_STATUSES,
|
|
22667
|
-
ValidationRules: validationRules_gen$
|
|
22674
|
+
ValidationRules: validationRules_gen$2
|
|
22668
22675
|
});
|
|
22669
22676
|
|
|
22670
|
-
var index$
|
|
22677
|
+
var index$9 = /*#__PURE__*/Object.freeze({
|
|
22671
22678
|
__proto__: null,
|
|
22672
|
-
v1: index_gen$
|
|
22679
|
+
v1: index_gen$b
|
|
22673
22680
|
});
|
|
22674
22681
|
|
|
22675
22682
|
// This file was automatically generated. DO NOT EDIT.
|
|
@@ -22957,12 +22964,12 @@ const marshalUpdateEndpointRequest = (request, defaults) => ({
|
|
|
22957
22964
|
|
|
22958
22965
|
// This file was automatically generated. DO NOT EDIT.
|
|
22959
22966
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
22960
|
-
const jsonContentHeaders$
|
|
22967
|
+
const jsonContentHeaders$9 = {
|
|
22961
22968
|
'Content-Type': 'application/json; charset=utf-8'
|
|
22962
22969
|
};
|
|
22963
22970
|
|
|
22964
22971
|
/** Managed Database for Redis™ API. */
|
|
22965
|
-
let API$
|
|
22972
|
+
let API$9 = class API extends API$w {
|
|
22966
22973
|
/** Lists the available zones of the API. */
|
|
22967
22974
|
static LOCALITIES = ['fr-par-1', 'fr-par-2', 'nl-ams-1', 'nl-ams-2', 'pl-waw-1', 'pl-waw-2'];
|
|
22968
22975
|
|
|
@@ -22977,7 +22984,7 @@ let API$8 = class API extends API$v {
|
|
|
22977
22984
|
*/
|
|
22978
22985
|
createCluster = request => this.client.fetch({
|
|
22979
22986
|
body: JSON.stringify(marshalCreateClusterRequest(request, this.client.settings)),
|
|
22980
|
-
headers: jsonContentHeaders$
|
|
22987
|
+
headers: jsonContentHeaders$9,
|
|
22981
22988
|
method: 'POST',
|
|
22982
22989
|
path: `/redis/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/clusters`
|
|
22983
22990
|
}, unmarshalCluster);
|
|
@@ -22992,7 +22999,7 @@ let API$8 = class API extends API$v {
|
|
|
22992
22999
|
*/
|
|
22993
23000
|
updateCluster = request => this.client.fetch({
|
|
22994
23001
|
body: JSON.stringify(marshalUpdateClusterRequest(request, this.client.settings)),
|
|
22995
|
-
headers: jsonContentHeaders$
|
|
23002
|
+
headers: jsonContentHeaders$9,
|
|
22996
23003
|
method: 'PATCH',
|
|
22997
23004
|
path: `/redis/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/clusters/${validatePathParam('clusterId', request.clusterId)}`
|
|
22998
23005
|
}, unmarshalCluster);
|
|
@@ -23053,7 +23060,7 @@ let API$8 = class API extends API$v {
|
|
|
23053
23060
|
*/
|
|
23054
23061
|
migrateCluster = request => this.client.fetch({
|
|
23055
23062
|
body: JSON.stringify(marshalMigrateClusterRequest(request, this.client.settings)),
|
|
23056
|
-
headers: jsonContentHeaders$
|
|
23063
|
+
headers: jsonContentHeaders$9,
|
|
23057
23064
|
method: 'POST',
|
|
23058
23065
|
path: `/redis/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/clusters/${validatePathParam('clusterId', request.clusterId)}/migrate`
|
|
23059
23066
|
}, unmarshalCluster);
|
|
@@ -23143,7 +23150,7 @@ let API$8 = class API extends API$v {
|
|
|
23143
23150
|
*/
|
|
23144
23151
|
renewClusterCertificate = request => this.client.fetch({
|
|
23145
23152
|
body: '{}',
|
|
23146
|
-
headers: jsonContentHeaders$
|
|
23153
|
+
headers: jsonContentHeaders$9,
|
|
23147
23154
|
method: 'POST',
|
|
23148
23155
|
path: `/redis/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/clusters/${validatePathParam('clusterId', request.clusterId)}/renew-certificate`
|
|
23149
23156
|
}, unmarshalCluster);
|
|
@@ -23158,7 +23165,7 @@ let API$8 = class API extends API$v {
|
|
|
23158
23165
|
*/
|
|
23159
23166
|
addClusterSettings = request => this.client.fetch({
|
|
23160
23167
|
body: JSON.stringify(marshalAddClusterSettingsRequest(request, this.client.settings)),
|
|
23161
|
-
headers: jsonContentHeaders$
|
|
23168
|
+
headers: jsonContentHeaders$9,
|
|
23162
23169
|
method: 'POST',
|
|
23163
23170
|
path: `/redis/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/clusters/${validatePathParam('clusterId', request.clusterId)}/settings`
|
|
23164
23171
|
}, unmarshalClusterSettingsResponse);
|
|
@@ -23186,7 +23193,7 @@ let API$8 = class API extends API$v {
|
|
|
23186
23193
|
*/
|
|
23187
23194
|
setClusterSettings = request => this.client.fetch({
|
|
23188
23195
|
body: JSON.stringify(marshalSetClusterSettingsRequest(request, this.client.settings)),
|
|
23189
|
-
headers: jsonContentHeaders$
|
|
23196
|
+
headers: jsonContentHeaders$9,
|
|
23190
23197
|
method: 'PUT',
|
|
23191
23198
|
path: `/redis/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/clusters/${validatePathParam('clusterId', request.clusterId)}/settings`
|
|
23192
23199
|
}, unmarshalClusterSettingsResponse);
|
|
@@ -23200,7 +23207,7 @@ let API$8 = class API extends API$v {
|
|
|
23200
23207
|
*/
|
|
23201
23208
|
setAclRules = request => this.client.fetch({
|
|
23202
23209
|
body: JSON.stringify(marshalSetAclRulesRequest(request, this.client.settings)),
|
|
23203
|
-
headers: jsonContentHeaders$
|
|
23210
|
+
headers: jsonContentHeaders$9,
|
|
23204
23211
|
method: 'PUT',
|
|
23205
23212
|
path: `/redis/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/clusters/${validatePathParam('clusterId', request.clusterId)}/acls`
|
|
23206
23213
|
}, unmarshalSetAclRulesResponse);
|
|
@@ -23214,7 +23221,7 @@ let API$8 = class API extends API$v {
|
|
|
23214
23221
|
*/
|
|
23215
23222
|
addAclRules = request => this.client.fetch({
|
|
23216
23223
|
body: JSON.stringify(marshalAddAclRulesRequest(request, this.client.settings)),
|
|
23217
|
-
headers: jsonContentHeaders$
|
|
23224
|
+
headers: jsonContentHeaders$9,
|
|
23218
23225
|
method: 'POST',
|
|
23219
23226
|
path: `/redis/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/clusters/${validatePathParam('clusterId', request.clusterId)}/acls`
|
|
23220
23227
|
}, unmarshalAddAclRulesResponse);
|
|
@@ -23255,7 +23262,7 @@ let API$8 = class API extends API$v {
|
|
|
23255
23262
|
*/
|
|
23256
23263
|
setEndpoints = request => this.client.fetch({
|
|
23257
23264
|
body: JSON.stringify(marshalSetEndpointsRequest(request, this.client.settings)),
|
|
23258
|
-
headers: jsonContentHeaders$
|
|
23265
|
+
headers: jsonContentHeaders$9,
|
|
23259
23266
|
method: 'PUT',
|
|
23260
23267
|
path: `/redis/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/clusters/${validatePathParam('clusterId', request.clusterId)}/endpoints`
|
|
23261
23268
|
}, unmarshalSetEndpointsResponse);
|
|
@@ -23270,7 +23277,7 @@ let API$8 = class API extends API$v {
|
|
|
23270
23277
|
*/
|
|
23271
23278
|
addEndpoints = request => this.client.fetch({
|
|
23272
23279
|
body: JSON.stringify(marshalAddEndpointsRequest(request, this.client.settings)),
|
|
23273
|
-
headers: jsonContentHeaders$
|
|
23280
|
+
headers: jsonContentHeaders$9,
|
|
23274
23281
|
method: 'POST',
|
|
23275
23282
|
path: `/redis/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/clusters/${validatePathParam('clusterId', request.clusterId)}/endpoints`
|
|
23276
23283
|
}, unmarshalAddEndpointsResponse);
|
|
@@ -23314,7 +23321,7 @@ let API$8 = class API extends API$v {
|
|
|
23314
23321
|
*/
|
|
23315
23322
|
updateEndpoint = request => this.client.fetch({
|
|
23316
23323
|
body: JSON.stringify(marshalUpdateEndpointRequest(request, this.client.settings)),
|
|
23317
|
-
headers: jsonContentHeaders$
|
|
23324
|
+
headers: jsonContentHeaders$9,
|
|
23318
23325
|
method: 'PATCH',
|
|
23319
23326
|
path: `/redis/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/endpoints/${validatePathParam('endpointId', request.endpointId)}`
|
|
23320
23327
|
}, unmarshalEndpoint);
|
|
@@ -23323,15 +23330,15 @@ let API$8 = class API extends API$v {
|
|
|
23323
23330
|
// This file was automatically generated. DO NOT EDIT.
|
|
23324
23331
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
23325
23332
|
|
|
23326
|
-
var index_gen$
|
|
23333
|
+
var index_gen$a = /*#__PURE__*/Object.freeze({
|
|
23327
23334
|
__proto__: null,
|
|
23328
|
-
API: API$
|
|
23335
|
+
API: API$9,
|
|
23329
23336
|
CLUSTER_TRANSIENT_STATUSES: CLUSTER_TRANSIENT_STATUSES
|
|
23330
23337
|
});
|
|
23331
23338
|
|
|
23332
|
-
var index$
|
|
23339
|
+
var index$8 = /*#__PURE__*/Object.freeze({
|
|
23333
23340
|
__proto__: null,
|
|
23334
|
-
v1: index_gen$
|
|
23341
|
+
v1: index_gen$a
|
|
23335
23342
|
});
|
|
23336
23343
|
|
|
23337
23344
|
// This file was automatically generated. DO NOT EDIT.
|
|
@@ -23451,12 +23458,12 @@ const marshalUpdateNamespaceRequest = (request, defaults) => ({
|
|
|
23451
23458
|
|
|
23452
23459
|
// This file was automatically generated. DO NOT EDIT.
|
|
23453
23460
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
23454
|
-
const jsonContentHeaders$
|
|
23461
|
+
const jsonContentHeaders$8 = {
|
|
23455
23462
|
'Content-Type': 'application/json; charset=utf-8'
|
|
23456
23463
|
};
|
|
23457
23464
|
|
|
23458
23465
|
/** Container Registry API. */
|
|
23459
|
-
let API$
|
|
23466
|
+
let API$8 = class API extends API$w {
|
|
23460
23467
|
/** Lists the available regions of the API. */
|
|
23461
23468
|
static LOCALITIES = ['fr-par', 'nl-ams', 'pl-waw'];
|
|
23462
23469
|
pageOfListNamespaces = (request = {}) => this.client.fetch({
|
|
@@ -23511,7 +23518,7 @@ let API$7 = class API extends API$v {
|
|
|
23511
23518
|
*/
|
|
23512
23519
|
createNamespace = request => this.client.fetch({
|
|
23513
23520
|
body: JSON.stringify(marshalCreateNamespaceRequest(request, this.client.settings)),
|
|
23514
|
-
headers: jsonContentHeaders$
|
|
23521
|
+
headers: jsonContentHeaders$8,
|
|
23515
23522
|
method: 'POST',
|
|
23516
23523
|
path: `/registry/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/namespaces`
|
|
23517
23524
|
}, unmarshalNamespace);
|
|
@@ -23526,7 +23533,7 @@ let API$7 = class API extends API$v {
|
|
|
23526
23533
|
*/
|
|
23527
23534
|
updateNamespace = request => this.client.fetch({
|
|
23528
23535
|
body: JSON.stringify(marshalUpdateNamespaceRequest(request, this.client.settings)),
|
|
23529
|
-
headers: jsonContentHeaders$
|
|
23536
|
+
headers: jsonContentHeaders$8,
|
|
23530
23537
|
method: 'PATCH',
|
|
23531
23538
|
path: `/registry/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/namespaces/${validatePathParam('namespaceId', request.namespaceId)}`
|
|
23532
23539
|
}, unmarshalNamespace);
|
|
@@ -23592,7 +23599,7 @@ let API$7 = class API extends API$v {
|
|
|
23592
23599
|
*/
|
|
23593
23600
|
updateImage = request => this.client.fetch({
|
|
23594
23601
|
body: JSON.stringify(marshalUpdateImageRequest(request, this.client.settings)),
|
|
23595
|
-
headers: jsonContentHeaders$
|
|
23602
|
+
headers: jsonContentHeaders$8,
|
|
23596
23603
|
method: 'PATCH',
|
|
23597
23604
|
path: `/registry/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/images/${validatePathParam('imageId', request.imageId)}`
|
|
23598
23605
|
}, unmarshalImage);
|
|
@@ -23664,17 +23671,17 @@ let API$7 = class API extends API$v {
|
|
|
23664
23671
|
// This file was automatically generated. DO NOT EDIT.
|
|
23665
23672
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
23666
23673
|
|
|
23667
|
-
var index_gen$
|
|
23674
|
+
var index_gen$9 = /*#__PURE__*/Object.freeze({
|
|
23668
23675
|
__proto__: null,
|
|
23669
|
-
API: API$
|
|
23676
|
+
API: API$8,
|
|
23670
23677
|
IMAGE_TRANSIENT_STATUSES: IMAGE_TRANSIENT_STATUSES,
|
|
23671
23678
|
NAMESPACE_TRANSIENT_STATUSES: NAMESPACE_TRANSIENT_STATUSES,
|
|
23672
23679
|
TAG_TRANSIENT_STATUSES: TAG_TRANSIENT_STATUSES
|
|
23673
23680
|
});
|
|
23674
23681
|
|
|
23675
|
-
var index$
|
|
23682
|
+
var index$7 = /*#__PURE__*/Object.freeze({
|
|
23676
23683
|
__proto__: null,
|
|
23677
|
-
v1: index_gen$
|
|
23684
|
+
v1: index_gen$9
|
|
23678
23685
|
});
|
|
23679
23686
|
|
|
23680
23687
|
// This file was automatically generated. DO NOT EDIT.
|
|
@@ -23830,7 +23837,7 @@ const marshalUpdateSecretVersionRequest = (request, defaults) => ({
|
|
|
23830
23837
|
|
|
23831
23838
|
// This file was automatically generated. DO NOT EDIT.
|
|
23832
23839
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
23833
|
-
const jsonContentHeaders$
|
|
23840
|
+
const jsonContentHeaders$7 = {
|
|
23834
23841
|
'Content-Type': 'application/json; charset=utf-8'
|
|
23835
23842
|
};
|
|
23836
23843
|
|
|
@@ -23840,7 +23847,7 @@ const jsonContentHeaders$6 = {
|
|
|
23840
23847
|
* Secret Manager API. This API allows you to conveniently store, access and
|
|
23841
23848
|
* share sensitive data.
|
|
23842
23849
|
*/
|
|
23843
|
-
let API$
|
|
23850
|
+
let API$7 = class API extends API$w {
|
|
23844
23851
|
/** Lists the available regions of the API. */
|
|
23845
23852
|
static LOCALITIES = ['fr-par', 'nl-ams', 'pl-waw'];
|
|
23846
23853
|
|
|
@@ -23852,7 +23859,7 @@ let API$6 = class API extends API$v {
|
|
|
23852
23859
|
*/
|
|
23853
23860
|
createSecret = request => this.client.fetch({
|
|
23854
23861
|
body: JSON.stringify(marshalCreateSecretRequest(request, this.client.settings)),
|
|
23855
|
-
headers: jsonContentHeaders$
|
|
23862
|
+
headers: jsonContentHeaders$7,
|
|
23856
23863
|
method: 'POST',
|
|
23857
23864
|
path: `/secret-manager/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/secrets`
|
|
23858
23865
|
}, unmarshalSecret);
|
|
@@ -23865,7 +23872,7 @@ let API$6 = class API extends API$v {
|
|
|
23865
23872
|
*/
|
|
23866
23873
|
createFolder = request => this.client.fetch({
|
|
23867
23874
|
body: JSON.stringify(marshalCreateFolderRequest(request, this.client.settings)),
|
|
23868
|
-
headers: jsonContentHeaders$
|
|
23875
|
+
headers: jsonContentHeaders$7,
|
|
23869
23876
|
method: 'POST',
|
|
23870
23877
|
path: `/secret-manager/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/folders`
|
|
23871
23878
|
}, unmarshalFolder);
|
|
@@ -23911,7 +23918,7 @@ let API$6 = class API extends API$v {
|
|
|
23911
23918
|
*/
|
|
23912
23919
|
updateSecret = request => this.client.fetch({
|
|
23913
23920
|
body: JSON.stringify(marshalUpdateSecretRequest(request, this.client.settings)),
|
|
23914
|
-
headers: jsonContentHeaders$
|
|
23921
|
+
headers: jsonContentHeaders$7,
|
|
23915
23922
|
method: 'PATCH',
|
|
23916
23923
|
path: `/secret-manager/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/secrets/${validatePathParam('secretId', request.secretId)}`
|
|
23917
23924
|
}, unmarshalSecret);
|
|
@@ -23975,7 +23982,7 @@ let API$6 = class API extends API$v {
|
|
|
23975
23982
|
*/
|
|
23976
23983
|
protectSecret = request => this.client.fetch({
|
|
23977
23984
|
body: '{}',
|
|
23978
|
-
headers: jsonContentHeaders$
|
|
23985
|
+
headers: jsonContentHeaders$7,
|
|
23979
23986
|
method: 'POST',
|
|
23980
23987
|
path: `/secret-manager/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/secrets/${validatePathParam('secretId', request.secretId)}/protect`
|
|
23981
23988
|
}, unmarshalSecret);
|
|
@@ -23989,7 +23996,7 @@ let API$6 = class API extends API$v {
|
|
|
23989
23996
|
*/
|
|
23990
23997
|
unprotectSecret = request => this.client.fetch({
|
|
23991
23998
|
body: '{}',
|
|
23992
|
-
headers: jsonContentHeaders$
|
|
23999
|
+
headers: jsonContentHeaders$7,
|
|
23993
24000
|
method: 'POST',
|
|
23994
24001
|
path: `/secret-manager/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/secrets/${validatePathParam('secretId', request.secretId)}/unprotect`
|
|
23995
24002
|
}, unmarshalSecret);
|
|
@@ -24001,7 +24008,7 @@ let API$6 = class API extends API$v {
|
|
|
24001
24008
|
*/
|
|
24002
24009
|
addSecretOwner = request => this.client.fetch({
|
|
24003
24010
|
body: JSON.stringify(marshalAddSecretOwnerRequest(request, this.client.settings)),
|
|
24004
|
-
headers: jsonContentHeaders$
|
|
24011
|
+
headers: jsonContentHeaders$7,
|
|
24005
24012
|
method: 'POST',
|
|
24006
24013
|
path: `/secret-manager/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/secrets/${validatePathParam('secretId', request.secretId)}/add-owner`
|
|
24007
24014
|
});
|
|
@@ -24015,7 +24022,7 @@ let API$6 = class API extends API$v {
|
|
|
24015
24022
|
*/
|
|
24016
24023
|
createSecretVersion = request => this.client.fetch({
|
|
24017
24024
|
body: JSON.stringify(marshalCreateSecretVersionRequest(request, this.client.settings)),
|
|
24018
|
-
headers: jsonContentHeaders$
|
|
24025
|
+
headers: jsonContentHeaders$7,
|
|
24019
24026
|
method: 'POST',
|
|
24020
24027
|
path: `/secret-manager/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/secrets/${validatePathParam('secretId', request.secretId)}/versions`
|
|
24021
24028
|
}, unmarshalSecretVersion);
|
|
@@ -24030,7 +24037,7 @@ let API$6 = class API extends API$v {
|
|
|
24030
24037
|
*/
|
|
24031
24038
|
generatePassword = request => this.client.fetch({
|
|
24032
24039
|
body: JSON.stringify(marshalGeneratePasswordRequest(request, this.client.settings)),
|
|
24033
|
-
headers: jsonContentHeaders$
|
|
24040
|
+
headers: jsonContentHeaders$7,
|
|
24034
24041
|
method: 'POST',
|
|
24035
24042
|
path: `/secret-manager/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/secrets/${validatePathParam('secretId', request.secretId)}/generate-password`
|
|
24036
24043
|
}, unmarshalSecretVersion);
|
|
@@ -24078,7 +24085,7 @@ let API$6 = class API extends API$v {
|
|
|
24078
24085
|
*/
|
|
24079
24086
|
updateSecretVersion = request => this.client.fetch({
|
|
24080
24087
|
body: JSON.stringify(marshalUpdateSecretVersionRequest(request, this.client.settings)),
|
|
24081
|
-
headers: jsonContentHeaders$
|
|
24088
|
+
headers: jsonContentHeaders$7,
|
|
24082
24089
|
method: 'PATCH',
|
|
24083
24090
|
path: `/secret-manager/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/secrets/${validatePathParam('secretId', request.secretId)}/versions/${validatePathParam('revision', request.revision)}`
|
|
24084
24091
|
}, unmarshalSecretVersion);
|
|
@@ -24129,7 +24136,7 @@ let API$6 = class API extends API$v {
|
|
|
24129
24136
|
*/
|
|
24130
24137
|
enableSecretVersion = request => this.client.fetch({
|
|
24131
24138
|
body: '{}',
|
|
24132
|
-
headers: jsonContentHeaders$
|
|
24139
|
+
headers: jsonContentHeaders$7,
|
|
24133
24140
|
method: 'POST',
|
|
24134
24141
|
path: `/secret-manager/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/secrets/${validatePathParam('secretId', request.secretId)}/versions/${validatePathParam('revision', request.revision)}/enable`
|
|
24135
24142
|
}, unmarshalSecretVersion);
|
|
@@ -24143,7 +24150,7 @@ let API$6 = class API extends API$v {
|
|
|
24143
24150
|
*/
|
|
24144
24151
|
disableSecretVersion = request => this.client.fetch({
|
|
24145
24152
|
body: '{}',
|
|
24146
|
-
headers: jsonContentHeaders$
|
|
24153
|
+
headers: jsonContentHeaders$7,
|
|
24147
24154
|
method: 'POST',
|
|
24148
24155
|
path: `/secret-manager/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/secrets/${validatePathParam('secretId', request.secretId)}/versions/${validatePathParam('revision', request.revision)}/disable`
|
|
24149
24156
|
}, unmarshalSecretVersion);
|
|
@@ -24191,7 +24198,7 @@ let API$6 = class API extends API$v {
|
|
|
24191
24198
|
*/
|
|
24192
24199
|
destroySecretVersion = request => this.client.fetch({
|
|
24193
24200
|
body: '{}',
|
|
24194
|
-
headers: jsonContentHeaders$
|
|
24201
|
+
headers: jsonContentHeaders$7,
|
|
24195
24202
|
method: 'POST',
|
|
24196
24203
|
path: `/secret-manager/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/secrets/${validatePathParam('secretId', request.secretId)}/versions/${validatePathParam('revision', request.revision)}/destroy`
|
|
24197
24204
|
}, unmarshalSecretVersion);
|
|
@@ -24213,9 +24220,325 @@ let API$6 = class API extends API$v {
|
|
|
24213
24220
|
// This file was automatically generated. DO NOT EDIT.
|
|
24214
24221
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
24215
24222
|
|
|
24223
|
+
var index_gen$8 = /*#__PURE__*/Object.freeze({
|
|
24224
|
+
__proto__: null,
|
|
24225
|
+
API: API$7
|
|
24226
|
+
});
|
|
24227
|
+
|
|
24228
|
+
var index$6 = /*#__PURE__*/Object.freeze({
|
|
24229
|
+
__proto__: null,
|
|
24230
|
+
v1alpha1: index_gen$8
|
|
24231
|
+
});
|
|
24232
|
+
|
|
24233
|
+
// This file was automatically generated. DO NOT EDIT.
|
|
24234
|
+
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
24235
|
+
|
|
24236
|
+
/** Lists transient statutes of the enum {@link DatabaseStatus}. */
|
|
24237
|
+
const DATABASE_TRANSIENT_STATUSES = ['creating', 'deleting', 'restoring'];
|
|
24238
|
+
|
|
24239
|
+
// This file was automatically generated. DO NOT EDIT.
|
|
24240
|
+
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
24241
|
+
const unmarshalDatabaseBackup = data => {
|
|
24242
|
+
if (!isJSONObject(data)) {
|
|
24243
|
+
throw new TypeError(`Unmarshalling the type 'DatabaseBackup' failed as data isn't a dictionary.`);
|
|
24244
|
+
}
|
|
24245
|
+
return {
|
|
24246
|
+
createdAt: unmarshalDate(data.created_at),
|
|
24247
|
+
databaseId: data.database_id,
|
|
24248
|
+
downloadUrl: data.download_url,
|
|
24249
|
+
downloadUrlExpiresAt: unmarshalDate(data.download_url_expires_at),
|
|
24250
|
+
expiresAt: unmarshalDate(data.expires_at),
|
|
24251
|
+
id: data.id,
|
|
24252
|
+
organizationId: data.organization_id,
|
|
24253
|
+
projectId: data.project_id,
|
|
24254
|
+
region: data.region,
|
|
24255
|
+
size: data.size,
|
|
24256
|
+
status: data.status
|
|
24257
|
+
};
|
|
24258
|
+
};
|
|
24259
|
+
const unmarshalDatabase = data => {
|
|
24260
|
+
if (!isJSONObject(data)) {
|
|
24261
|
+
throw new TypeError(`Unmarshalling the type 'Database' failed as data isn't a dictionary.`);
|
|
24262
|
+
}
|
|
24263
|
+
return {
|
|
24264
|
+
cpuCurrent: data.cpu_current,
|
|
24265
|
+
cpuMax: data.cpu_max,
|
|
24266
|
+
cpuMin: data.cpu_min,
|
|
24267
|
+
createdAt: unmarshalDate(data.created_at),
|
|
24268
|
+
endpoint: data.endpoint,
|
|
24269
|
+
engineMajorVersion: data.engine_major_version,
|
|
24270
|
+
id: data.id,
|
|
24271
|
+
name: data.name,
|
|
24272
|
+
organizationId: data.organization_id,
|
|
24273
|
+
projectId: data.project_id,
|
|
24274
|
+
region: data.region,
|
|
24275
|
+
started: data.started,
|
|
24276
|
+
status: data.status
|
|
24277
|
+
};
|
|
24278
|
+
};
|
|
24279
|
+
const unmarshalListDatabaseBackupsResponse = data => {
|
|
24280
|
+
if (!isJSONObject(data)) {
|
|
24281
|
+
throw new TypeError(`Unmarshalling the type 'ListDatabaseBackupsResponse' failed as data isn't a dictionary.`);
|
|
24282
|
+
}
|
|
24283
|
+
return {
|
|
24284
|
+
backups: unmarshalArrayOfObject(data.backups, unmarshalDatabaseBackup),
|
|
24285
|
+
totalCount: data.total_count
|
|
24286
|
+
};
|
|
24287
|
+
};
|
|
24288
|
+
const unmarshalListDatabasesResponse = data => {
|
|
24289
|
+
if (!isJSONObject(data)) {
|
|
24290
|
+
throw new TypeError(`Unmarshalling the type 'ListDatabasesResponse' failed as data isn't a dictionary.`);
|
|
24291
|
+
}
|
|
24292
|
+
return {
|
|
24293
|
+
databases: unmarshalArrayOfObject(data.databases, unmarshalDatabase),
|
|
24294
|
+
totalCount: data.total_count
|
|
24295
|
+
};
|
|
24296
|
+
};
|
|
24297
|
+
const marshalCreateDatabaseRequest = (request, defaults) => ({
|
|
24298
|
+
cpu_max: request.cpuMax,
|
|
24299
|
+
cpu_min: request.cpuMin,
|
|
24300
|
+
from_backup_id: request.fromBackupId,
|
|
24301
|
+
name: request.name,
|
|
24302
|
+
project_id: request.projectId ?? defaults.defaultProjectId
|
|
24303
|
+
});
|
|
24304
|
+
const marshalRestoreDatabaseFromBackupRequest = (request, defaults) => ({
|
|
24305
|
+
backup_id: request.backupId
|
|
24306
|
+
});
|
|
24307
|
+
const marshalUpdateDatabaseRequest = (request, defaults) => ({
|
|
24308
|
+
cpu_max: request.cpuMax,
|
|
24309
|
+
cpu_min: request.cpuMin
|
|
24310
|
+
});
|
|
24311
|
+
|
|
24312
|
+
// This file was automatically generated. DO NOT EDIT.
|
|
24313
|
+
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
24314
|
+
const jsonContentHeaders$6 = {
|
|
24315
|
+
'Content-Type': 'application/json; charset=utf-8'
|
|
24316
|
+
};
|
|
24317
|
+
|
|
24318
|
+
/**
|
|
24319
|
+
* Serverless SQL Databases API.
|
|
24320
|
+
*
|
|
24321
|
+
* This API allows you to manage your Serverless SQL DB databases.
|
|
24322
|
+
*/
|
|
24323
|
+
let API$6 = class API extends API$w {
|
|
24324
|
+
/** Lists the available regions of the API. */
|
|
24325
|
+
static LOCALITIES = ['fr-par'];
|
|
24326
|
+
|
|
24327
|
+
/**
|
|
24328
|
+
* Create a new Serverless SQL Database. You must provide the following
|
|
24329
|
+
* parameters: `organization_id`, `project_id`, `name`, `cpu_min`, `cpu_max`.
|
|
24330
|
+
* You can also provide `from_backup_id` to create a database from a backup.
|
|
24331
|
+
*
|
|
24332
|
+
* @param request - The request {@link CreateDatabaseRequest}
|
|
24333
|
+
* @returns A Promise of Database
|
|
24334
|
+
*/
|
|
24335
|
+
createDatabase = request => this.client.fetch({
|
|
24336
|
+
body: JSON.stringify(marshalCreateDatabaseRequest(request, this.client.settings)),
|
|
24337
|
+
headers: jsonContentHeaders$6,
|
|
24338
|
+
method: 'POST',
|
|
24339
|
+
path: `/serverless-sqldb/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/databases`
|
|
24340
|
+
}, unmarshalDatabase);
|
|
24341
|
+
|
|
24342
|
+
/**
|
|
24343
|
+
* Get a database information. Retrieve information about your Serverless SQL
|
|
24344
|
+
* Database. You must provide the `database_id` parameter.
|
|
24345
|
+
*
|
|
24346
|
+
* @param request - The request {@link GetDatabaseRequest}
|
|
24347
|
+
* @returns A Promise of Database
|
|
24348
|
+
*/
|
|
24349
|
+
getDatabase = request => this.client.fetch({
|
|
24350
|
+
method: 'GET',
|
|
24351
|
+
path: `/serverless-sqldb/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/databases/${validatePathParam('databaseId', request.databaseId)}`
|
|
24352
|
+
}, unmarshalDatabase);
|
|
24353
|
+
|
|
24354
|
+
/**
|
|
24355
|
+
* Waits for {@link Database} to be in a final state.
|
|
24356
|
+
*
|
|
24357
|
+
* @param request - The request {@link GetDatabaseRequest}
|
|
24358
|
+
* @param options - The waiting options
|
|
24359
|
+
* @returns A Promise of Database
|
|
24360
|
+
*/
|
|
24361
|
+
waitForDatabase = (request, options) => waitForResource(options?.stop ?? (res => Promise.resolve(!DATABASE_TRANSIENT_STATUSES.includes(res.status))), this.getDatabase, request, options);
|
|
24362
|
+
|
|
24363
|
+
/**
|
|
24364
|
+
* Delete a database. Deletes a database. You must provide the `database_id`
|
|
24365
|
+
* parameter. All data stored in the database will be permanently deleted.
|
|
24366
|
+
*
|
|
24367
|
+
* @param request - The request {@link DeleteDatabaseRequest}
|
|
24368
|
+
* @returns A Promise of Database
|
|
24369
|
+
*/
|
|
24370
|
+
deleteDatabase = request => this.client.fetch({
|
|
24371
|
+
method: 'DELETE',
|
|
24372
|
+
path: `/serverless-sqldb/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/databases/${validatePathParam('databaseId', request.databaseId)}`
|
|
24373
|
+
}, unmarshalDatabase);
|
|
24374
|
+
pageOfListDatabases = (request = {}) => this.client.fetch({
|
|
24375
|
+
method: 'GET',
|
|
24376
|
+
path: `/serverless-sqldb/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/databases`,
|
|
24377
|
+
urlParams: urlParams(['name', request.name], ['order_by', request.orderBy], ['page', request.page], ['page_size', request.pageSize], ['project_id', request.projectId ?? this.client.settings.defaultProjectId])
|
|
24378
|
+
}, unmarshalListDatabasesResponse);
|
|
24379
|
+
|
|
24380
|
+
/**
|
|
24381
|
+
* List your Serverless SQL Databases. List all Serverless SQL Databases for a
|
|
24382
|
+
* given Scaleway Organization or Scaleway Project. By default, the databases
|
|
24383
|
+
* returned in the list are ordered by creation date in ascending order,
|
|
24384
|
+
* though this can be modified via the order_by field. For the `name`
|
|
24385
|
+
* parameter, the value you include will be checked against the whole name
|
|
24386
|
+
* string to see if it includes the string you put in the parameter.
|
|
24387
|
+
*
|
|
24388
|
+
* @param request - The request {@link ListDatabasesRequest}
|
|
24389
|
+
* @returns A Promise of ListDatabasesResponse
|
|
24390
|
+
*/
|
|
24391
|
+
listDatabases = (request = {}) => enrichForPagination('databases', this.pageOfListDatabases, request);
|
|
24392
|
+
|
|
24393
|
+
/**
|
|
24394
|
+
* Update database information. Update CPU limits of your Serverless SQL
|
|
24395
|
+
* Database. You must provide the `database_id` parameter.
|
|
24396
|
+
*
|
|
24397
|
+
* @param request - The request {@link UpdateDatabaseRequest}
|
|
24398
|
+
* @returns A Promise of Database
|
|
24399
|
+
*/
|
|
24400
|
+
updateDatabase = request => this.client.fetch({
|
|
24401
|
+
body: JSON.stringify(marshalUpdateDatabaseRequest(request, this.client.settings)),
|
|
24402
|
+
headers: jsonContentHeaders$6,
|
|
24403
|
+
method: 'PATCH',
|
|
24404
|
+
path: `/serverless-sqldb/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/databases/${validatePathParam('databaseId', request.databaseId)}`
|
|
24405
|
+
}, unmarshalDatabase);
|
|
24406
|
+
|
|
24407
|
+
/**
|
|
24408
|
+
* Restore a database from a backup. Restore a database from a backup. You
|
|
24409
|
+
* must provide the `backup_id` parameter.
|
|
24410
|
+
*
|
|
24411
|
+
* @param request - The request {@link RestoreDatabaseFromBackupRequest}
|
|
24412
|
+
* @returns A Promise of Database
|
|
24413
|
+
*/
|
|
24414
|
+
restoreDatabaseFromBackup = request => this.client.fetch({
|
|
24415
|
+
body: JSON.stringify(marshalRestoreDatabaseFromBackupRequest(request, this.client.settings)),
|
|
24416
|
+
headers: jsonContentHeaders$6,
|
|
24417
|
+
method: 'POST',
|
|
24418
|
+
path: `/serverless-sqldb/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/databases/${validatePathParam('databaseId', request.databaseId)}/restore`
|
|
24419
|
+
}, unmarshalDatabase);
|
|
24420
|
+
|
|
24421
|
+
/**
|
|
24422
|
+
* Get a database backup information. Retrieve information about your
|
|
24423
|
+
* Serverless SQL Database backup. You must provide the `backup_id`
|
|
24424
|
+
* parameter.
|
|
24425
|
+
*
|
|
24426
|
+
* @param request - The request {@link GetDatabaseBackupRequest}
|
|
24427
|
+
* @returns A Promise of DatabaseBackup
|
|
24428
|
+
*/
|
|
24429
|
+
getDatabaseBackup = request => this.client.fetch({
|
|
24430
|
+
method: 'GET',
|
|
24431
|
+
path: `/serverless-sqldb/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/backups/${validatePathParam('backupId', request.backupId)}`
|
|
24432
|
+
}, unmarshalDatabaseBackup);
|
|
24433
|
+
pageOfListDatabaseBackups = request => this.client.fetch({
|
|
24434
|
+
method: 'GET',
|
|
24435
|
+
path: `/serverless-sqldb/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/backups`,
|
|
24436
|
+
urlParams: urlParams(['database_id', request.databaseId], ['order_by', request.orderBy], ['page', request.page], ['page_size', request.pageSize])
|
|
24437
|
+
}, unmarshalListDatabaseBackupsResponse);
|
|
24438
|
+
|
|
24439
|
+
/**
|
|
24440
|
+
* List your Serverless SQL Database backups. List all Serverless SQL Database
|
|
24441
|
+
* backups for a given Scaleway Project or Database. By default, the backups
|
|
24442
|
+
* returned in the list are ordered by creation date in ascending order,
|
|
24443
|
+
* though this can be modified via the order_by field.
|
|
24444
|
+
*
|
|
24445
|
+
* @param request - The request {@link ListDatabaseBackupsRequest}
|
|
24446
|
+
* @returns A Promise of ListDatabaseBackupsResponse
|
|
24447
|
+
*/
|
|
24448
|
+
listDatabaseBackups = request => enrichForPagination('backups', this.pageOfListDatabaseBackups, request);
|
|
24449
|
+
|
|
24450
|
+
/**
|
|
24451
|
+
* Export a database backup. Export a database backup providing a download
|
|
24452
|
+
* link once the export process is completed. You must provide the `backup_id`
|
|
24453
|
+
* parameter.
|
|
24454
|
+
*
|
|
24455
|
+
* @param request - The request {@link ExportDatabaseBackupRequest}
|
|
24456
|
+
* @returns A Promise of DatabaseBackup
|
|
24457
|
+
*/
|
|
24458
|
+
exportDatabaseBackup = request => this.client.fetch({
|
|
24459
|
+
body: '{}',
|
|
24460
|
+
headers: jsonContentHeaders$6,
|
|
24461
|
+
method: 'POST',
|
|
24462
|
+
path: `/serverless-sqldb/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/backups/${validatePathParam('backupId', request.backupId)}/export`
|
|
24463
|
+
}, unmarshalDatabaseBackup);
|
|
24464
|
+
};
|
|
24465
|
+
|
|
24466
|
+
// This file was automatically generated. DO NOT EDIT.
|
|
24467
|
+
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
24468
|
+
|
|
24469
|
+
const CreateDatabaseRequest = {
|
|
24470
|
+
cpuMax: {
|
|
24471
|
+
greaterThanOrEqual: 1,
|
|
24472
|
+
lessThanOrEqual: 15
|
|
24473
|
+
},
|
|
24474
|
+
cpuMin: {
|
|
24475
|
+
lessThanOrEqual: 15
|
|
24476
|
+
},
|
|
24477
|
+
fromBackupId: {
|
|
24478
|
+
ignoreEmpty: true
|
|
24479
|
+
},
|
|
24480
|
+
name: {
|
|
24481
|
+
maxLength: 63,
|
|
24482
|
+
minLength: 1
|
|
24483
|
+
}
|
|
24484
|
+
};
|
|
24485
|
+
const Database = {
|
|
24486
|
+
cpuCurrent: {
|
|
24487
|
+
lessThanOrEqual: 15
|
|
24488
|
+
},
|
|
24489
|
+
cpuMax: {
|
|
24490
|
+
greaterThanOrEqual: 1,
|
|
24491
|
+
lessThanOrEqual: 15
|
|
24492
|
+
},
|
|
24493
|
+
cpuMin: {
|
|
24494
|
+
lessThanOrEqual: 15
|
|
24495
|
+
}
|
|
24496
|
+
};
|
|
24497
|
+
const ListDatabaseBackupsRequest = {
|
|
24498
|
+
page: {
|
|
24499
|
+
greaterThanOrEqual: 1
|
|
24500
|
+
},
|
|
24501
|
+
pageSize: {
|
|
24502
|
+
greaterThanOrEqual: 1,
|
|
24503
|
+
lessThanOrEqual: 1000
|
|
24504
|
+
}
|
|
24505
|
+
};
|
|
24506
|
+
const ListDatabasesRequest = {
|
|
24507
|
+
page: {
|
|
24508
|
+
greaterThanOrEqual: 1
|
|
24509
|
+
},
|
|
24510
|
+
pageSize: {
|
|
24511
|
+
greaterThanOrEqual: 1,
|
|
24512
|
+
lessThanOrEqual: 1000
|
|
24513
|
+
}
|
|
24514
|
+
};
|
|
24515
|
+
const UpdateDatabaseRequest = {
|
|
24516
|
+
cpuMax: {
|
|
24517
|
+
greaterThanOrEqual: 1,
|
|
24518
|
+
lessThanOrEqual: 15
|
|
24519
|
+
},
|
|
24520
|
+
cpuMin: {
|
|
24521
|
+
lessThanOrEqual: 15
|
|
24522
|
+
}
|
|
24523
|
+
};
|
|
24524
|
+
|
|
24525
|
+
var validationRules_gen$1 = /*#__PURE__*/Object.freeze({
|
|
24526
|
+
__proto__: null,
|
|
24527
|
+
CreateDatabaseRequest: CreateDatabaseRequest,
|
|
24528
|
+
Database: Database,
|
|
24529
|
+
ListDatabaseBackupsRequest: ListDatabaseBackupsRequest,
|
|
24530
|
+
ListDatabasesRequest: ListDatabasesRequest,
|
|
24531
|
+
UpdateDatabaseRequest: UpdateDatabaseRequest
|
|
24532
|
+
});
|
|
24533
|
+
|
|
24534
|
+
// This file was automatically generated. DO NOT EDIT.
|
|
24535
|
+
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
24536
|
+
|
|
24216
24537
|
var index_gen$7 = /*#__PURE__*/Object.freeze({
|
|
24217
24538
|
__proto__: null,
|
|
24218
|
-
API: API$6
|
|
24539
|
+
API: API$6,
|
|
24540
|
+
DATABASE_TRANSIENT_STATUSES: DATABASE_TRANSIENT_STATUSES,
|
|
24541
|
+
ValidationRules: validationRules_gen$1
|
|
24219
24542
|
});
|
|
24220
24543
|
|
|
24221
24544
|
var index$5 = /*#__PURE__*/Object.freeze({
|
|
@@ -24321,7 +24644,7 @@ const jsonContentHeaders$5 = {
|
|
|
24321
24644
|
*
|
|
24322
24645
|
* No Auth Service for end-to-end testing.
|
|
24323
24646
|
*/
|
|
24324
|
-
let API$5 = class API extends API$
|
|
24647
|
+
let API$5 = class API extends API$w {
|
|
24325
24648
|
/**
|
|
24326
24649
|
* Register a user. Register a human and return a access-key and a secret-key
|
|
24327
24650
|
* that must be used in all other commands.
|
|
@@ -24645,7 +24968,7 @@ const jsonContentHeaders$4 = {
|
|
|
24645
24968
|
};
|
|
24646
24969
|
|
|
24647
24970
|
/** Transactional Email API. */
|
|
24648
|
-
let API$4 = class API extends API$
|
|
24971
|
+
let API$4 = class API extends API$w {
|
|
24649
24972
|
/** Lists the available regions of the API. */
|
|
24650
24973
|
static LOCALITIES = ['fr-par'];
|
|
24651
24974
|
|
|
@@ -24886,7 +25209,7 @@ const jsonContentHeaders$3 = {
|
|
|
24886
25209
|
};
|
|
24887
25210
|
|
|
24888
25211
|
/** VPC API. */
|
|
24889
|
-
let API$3 = class API extends API$
|
|
25212
|
+
let API$3 = class API extends API$w {
|
|
24890
25213
|
/** Lists the available zones of the API. */
|
|
24891
25214
|
static LOCALITIES = ['fr-par-1', 'fr-par-2', 'fr-par-3', 'nl-ams-1', 'nl-ams-2', 'nl-ams-3', 'pl-waw-1', 'pl-waw-2'];
|
|
24892
25215
|
pageOfListPrivateNetworks = (request = {}) => this.client.fetch({
|
|
@@ -25106,7 +25429,7 @@ const jsonContentHeaders$2 = {
|
|
|
25106
25429
|
};
|
|
25107
25430
|
|
|
25108
25431
|
/** VPC API. */
|
|
25109
|
-
let API$2 = class API extends API$
|
|
25432
|
+
let API$2 = class API extends API$w {
|
|
25110
25433
|
/** Lists the available regions of the API. */
|
|
25111
25434
|
static LOCALITIES = ['fr-par', 'nl-ams', 'pl-waw'];
|
|
25112
25435
|
pageOfListVPCs = (request = {}) => this.client.fetch({
|
|
@@ -25703,7 +26026,7 @@ const jsonContentHeaders$1 = {
|
|
|
25703
26026
|
};
|
|
25704
26027
|
|
|
25705
26028
|
/** Public Gateways API. */
|
|
25706
|
-
let API$1 = class API extends API$
|
|
26029
|
+
let API$1 = class API extends API$w {
|
|
25707
26030
|
/** Lists the available zones of the API. */
|
|
25708
26031
|
static LOCALITIES = ['fr-par-1', 'fr-par-2', 'nl-ams-1', 'nl-ams-2', 'nl-ams-3', 'pl-waw-1', 'pl-waw-2', 'pl-waw-3'];
|
|
25709
26032
|
pageOfListGateways = (request = {}) => this.client.fetch({
|
|
@@ -26438,7 +26761,7 @@ const jsonContentHeaders = {
|
|
|
26438
26761
|
};
|
|
26439
26762
|
|
|
26440
26763
|
/** Web Hosting API. */
|
|
26441
|
-
class API extends API$
|
|
26764
|
+
class API extends API$w {
|
|
26442
26765
|
/** Lists the available regions of the API. */
|
|
26443
26766
|
static LOCALITIES = ['fr-par', 'nl-ams'];
|
|
26444
26767
|
|
|
@@ -26622,33 +26945,34 @@ var index = /*#__PURE__*/Object.freeze({
|
|
|
26622
26945
|
v1alpha1: index_gen
|
|
26623
26946
|
});
|
|
26624
26947
|
|
|
26625
|
-
exports.API = API$
|
|
26626
|
-
exports.Account = index$
|
|
26627
|
-
exports.AppleSilicon = index$
|
|
26628
|
-
exports.BareMetal = index$
|
|
26629
|
-
exports.Billing = index$
|
|
26630
|
-
exports.Block = index$
|
|
26631
|
-
exports.Cockpit = index$
|
|
26632
|
-
exports.Container = index$
|
|
26633
|
-
exports.DocumentDB = index$
|
|
26634
|
-
exports.Domain = index$
|
|
26635
|
-
exports.Errors = index$
|
|
26636
|
-
exports.FlexibleIP = index$
|
|
26637
|
-
exports.Function = index$
|
|
26638
|
-
exports.IAM = index$
|
|
26639
|
-
exports.IOT = index$
|
|
26640
|
-
exports.IPAM = index$
|
|
26641
|
-
exports.IPFS = index$
|
|
26642
|
-
exports.Instance = index$
|
|
26643
|
-
exports.Jobs = index$
|
|
26644
|
-
exports.K8S = index$
|
|
26645
|
-
exports.LB = index$
|
|
26646
|
-
exports.MNQ = index$
|
|
26647
|
-
exports.Marketplace = index$
|
|
26648
|
-
exports.RDB = index$
|
|
26649
|
-
exports.Redis = index$
|
|
26650
|
-
exports.Registry = index$
|
|
26651
|
-
exports.Secret = index$
|
|
26948
|
+
exports.API = API$w;
|
|
26949
|
+
exports.Account = index$y;
|
|
26950
|
+
exports.AppleSilicon = index$x;
|
|
26951
|
+
exports.BareMetal = index$v;
|
|
26952
|
+
exports.Billing = index$u;
|
|
26953
|
+
exports.Block = index$t;
|
|
26954
|
+
exports.Cockpit = index$s;
|
|
26955
|
+
exports.Container = index$r;
|
|
26956
|
+
exports.DocumentDB = index$q;
|
|
26957
|
+
exports.Domain = index$p;
|
|
26958
|
+
exports.Errors = index$z;
|
|
26959
|
+
exports.FlexibleIP = index$o;
|
|
26960
|
+
exports.Function = index$n;
|
|
26961
|
+
exports.IAM = index$m;
|
|
26962
|
+
exports.IOT = index$j;
|
|
26963
|
+
exports.IPAM = index$i;
|
|
26964
|
+
exports.IPFS = index$h;
|
|
26965
|
+
exports.Instance = index$k;
|
|
26966
|
+
exports.Jobs = index$g;
|
|
26967
|
+
exports.K8S = index$e;
|
|
26968
|
+
exports.LB = index$c;
|
|
26969
|
+
exports.MNQ = index$a;
|
|
26970
|
+
exports.Marketplace = index$b;
|
|
26971
|
+
exports.RDB = index$9;
|
|
26972
|
+
exports.Redis = index$8;
|
|
26973
|
+
exports.Registry = index$7;
|
|
26974
|
+
exports.Secret = index$6;
|
|
26975
|
+
exports.ServerlessSQLDB = index$5;
|
|
26652
26976
|
exports.Std = index_gen$6;
|
|
26653
26977
|
exports.Test = index$4;
|
|
26654
26978
|
exports.TransactionalEmail = index$3;
|