@scaleway/sdk 2.6.0 → 2.8.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 +20 -74
- package/dist/api/block/v1alpha1/marshalling.gen.js +1 -8
- package/dist/api/block/v1alpha1/validation-rules.gen.js +1 -6
- 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 +925 -621
- package/dist/index.d.ts +2045 -1661
- 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.7.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.
|
|
@@ -3980,13 +3980,6 @@ const marshalCreateVolumeRequest$2 = (request, defaults) => ({
|
|
|
3980
3980
|
value: request.perfIops
|
|
3981
3981
|
}])
|
|
3982
3982
|
});
|
|
3983
|
-
const marshalImportSnapshotFromS3Request = (request, defaults) => ({
|
|
3984
|
-
bucket: request.bucket,
|
|
3985
|
-
key: request.key,
|
|
3986
|
-
name: request.name,
|
|
3987
|
-
project_id: request.projectId ?? defaults.defaultProjectId,
|
|
3988
|
-
tags: request.tags
|
|
3989
|
-
});
|
|
3990
3983
|
const marshalUpdateSnapshotRequest$3 = (request, defaults) => ({
|
|
3991
3984
|
name: request.name,
|
|
3992
3985
|
tags: request.tags
|
|
@@ -4000,7 +3993,7 @@ const marshalUpdateVolumeRequest$2 = (request, defaults) => ({
|
|
|
4000
3993
|
|
|
4001
3994
|
// This file was automatically generated. DO NOT EDIT.
|
|
4002
3995
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
4003
|
-
const jsonContentHeaders$
|
|
3996
|
+
const jsonContentHeaders$q = {
|
|
4004
3997
|
'Content-Type': 'application/json; charset=utf-8'
|
|
4005
3998
|
};
|
|
4006
3999
|
|
|
@@ -4009,9 +4002,9 @@ const jsonContentHeaders$p = {
|
|
|
4009
4002
|
*
|
|
4010
4003
|
* This API allows you to use and manage your Block Storage volumes.
|
|
4011
4004
|
*/
|
|
4012
|
-
let API$
|
|
4005
|
+
let API$r = class API extends API$w {
|
|
4013
4006
|
/** Lists the available zones of the API. */
|
|
4014
|
-
static LOCALITIES = ['fr-par-1', 'pl-waw-3'];
|
|
4007
|
+
static LOCALITIES = ['fr-par-1', 'fr-par-2', 'nl-ams-1', 'nl-ams-3', 'pl-waw-3'];
|
|
4015
4008
|
pageOfListVolumeTypes = (request = {}) => this.client.fetch({
|
|
4016
4009
|
method: 'GET',
|
|
4017
4010
|
path: `/block/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/volume-types`,
|
|
@@ -4055,7 +4048,7 @@ let API$q = class API extends API$v {
|
|
|
4055
4048
|
*/
|
|
4056
4049
|
createVolume = request => this.client.fetch({
|
|
4057
4050
|
body: JSON.stringify(marshalCreateVolumeRequest$2(request, this.client.settings)),
|
|
4058
|
-
headers: jsonContentHeaders$
|
|
4051
|
+
headers: jsonContentHeaders$q,
|
|
4059
4052
|
method: 'POST',
|
|
4060
4053
|
path: `/block/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/volumes`
|
|
4061
4054
|
}, unmarshalVolume$4);
|
|
@@ -4103,7 +4096,7 @@ let API$q = class API extends API$v {
|
|
|
4103
4096
|
*/
|
|
4104
4097
|
updateVolume = request => this.client.fetch({
|
|
4105
4098
|
body: JSON.stringify(marshalUpdateVolumeRequest$2(request, this.client.settings)),
|
|
4106
|
-
headers: jsonContentHeaders$
|
|
4099
|
+
headers: jsonContentHeaders$q,
|
|
4107
4100
|
method: 'PATCH',
|
|
4108
4101
|
path: `/block/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/volumes/${validatePathParam('volumeId', request.volumeId)}`
|
|
4109
4102
|
}, unmarshalVolume$4);
|
|
@@ -4155,16 +4148,10 @@ let API$q = class API extends API$v {
|
|
|
4155
4148
|
*/
|
|
4156
4149
|
createSnapshot = request => this.client.fetch({
|
|
4157
4150
|
body: JSON.stringify(marshalCreateSnapshotRequest$3(request, this.client.settings)),
|
|
4158
|
-
headers: jsonContentHeaders$
|
|
4151
|
+
headers: jsonContentHeaders$q,
|
|
4159
4152
|
method: 'POST',
|
|
4160
4153
|
path: `/block/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/snapshots`
|
|
4161
4154
|
}, unmarshalSnapshot$3);
|
|
4162
|
-
importSnapshotFromS3 = request => this.client.fetch({
|
|
4163
|
-
body: JSON.stringify(marshalImportSnapshotFromS3Request(request, this.client.settings)),
|
|
4164
|
-
headers: jsonContentHeaders$p,
|
|
4165
|
-
method: 'POST',
|
|
4166
|
-
path: `/block/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/snapshots/import-from-s3`
|
|
4167
|
-
}, unmarshalSnapshot$3);
|
|
4168
4155
|
|
|
4169
4156
|
/**
|
|
4170
4157
|
* Delete a snapshot. You must specify the `snapshot_id` of the snapshot you
|
|
@@ -4185,7 +4172,7 @@ let API$q = class API extends API$v {
|
|
|
4185
4172
|
*/
|
|
4186
4173
|
updateSnapshot = request => this.client.fetch({
|
|
4187
4174
|
body: JSON.stringify(marshalUpdateSnapshotRequest$3(request, this.client.settings)),
|
|
4188
|
-
headers: jsonContentHeaders$
|
|
4175
|
+
headers: jsonContentHeaders$q,
|
|
4189
4176
|
method: 'PATCH',
|
|
4190
4177
|
path: `/block/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/snapshots/${validatePathParam('snapshotId', request.snapshotId)}`
|
|
4191
4178
|
}, unmarshalSnapshot$3);
|
|
@@ -4204,11 +4191,6 @@ const CreateVolumeRequest = {
|
|
|
4204
4191
|
minLength: 1
|
|
4205
4192
|
}
|
|
4206
4193
|
};
|
|
4207
|
-
const ImportSnapshotFromS3Request = {
|
|
4208
|
-
name: {
|
|
4209
|
-
minLength: 1
|
|
4210
|
-
}
|
|
4211
|
-
};
|
|
4212
4194
|
const ListSnapshotsRequest = {
|
|
4213
4195
|
page: {
|
|
4214
4196
|
greaterThan: 0
|
|
@@ -4242,11 +4224,10 @@ const Reference = {
|
|
|
4242
4224
|
}
|
|
4243
4225
|
};
|
|
4244
4226
|
|
|
4245
|
-
var validationRules_gen$
|
|
4227
|
+
var validationRules_gen$c = /*#__PURE__*/Object.freeze({
|
|
4246
4228
|
__proto__: null,
|
|
4247
4229
|
CreateSnapshotRequest: CreateSnapshotRequest,
|
|
4248
4230
|
CreateVolumeRequest: CreateVolumeRequest,
|
|
4249
|
-
ImportSnapshotFromS3Request: ImportSnapshotFromS3Request,
|
|
4250
4231
|
ListSnapshotsRequest: ListSnapshotsRequest,
|
|
4251
4232
|
ListVolumeTypesRequest: ListVolumeTypesRequest,
|
|
4252
4233
|
ListVolumesRequest: ListVolumesRequest,
|
|
@@ -4256,18 +4237,18 @@ var validationRules_gen$b = /*#__PURE__*/Object.freeze({
|
|
|
4256
4237
|
// This file was automatically generated. DO NOT EDIT.
|
|
4257
4238
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
4258
4239
|
|
|
4259
|
-
var index_gen$
|
|
4240
|
+
var index_gen$q = /*#__PURE__*/Object.freeze({
|
|
4260
4241
|
__proto__: null,
|
|
4261
|
-
API: API$
|
|
4242
|
+
API: API$r,
|
|
4262
4243
|
REFERENCE_TRANSIENT_STATUSES: REFERENCE_TRANSIENT_STATUSES,
|
|
4263
4244
|
SNAPSHOT_TRANSIENT_STATUSES: SNAPSHOT_TRANSIENT_STATUSES$3,
|
|
4264
4245
|
VOLUME_TRANSIENT_STATUSES: VOLUME_TRANSIENT_STATUSES$1,
|
|
4265
|
-
ValidationRules: validationRules_gen$
|
|
4246
|
+
ValidationRules: validationRules_gen$c
|
|
4266
4247
|
});
|
|
4267
4248
|
|
|
4268
|
-
var index$
|
|
4249
|
+
var index$t = /*#__PURE__*/Object.freeze({
|
|
4269
4250
|
__proto__: null,
|
|
4270
|
-
v1alpha1: index_gen$
|
|
4251
|
+
v1alpha1: index_gen$q
|
|
4271
4252
|
});
|
|
4272
4253
|
|
|
4273
4254
|
// This file was automatically generated. DO NOT EDIT.
|
|
@@ -4544,7 +4525,7 @@ const marshalTriggerTestAlertRequest = (request, defaults) => ({
|
|
|
4544
4525
|
|
|
4545
4526
|
// This file was automatically generated. DO NOT EDIT.
|
|
4546
4527
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
4547
|
-
const jsonContentHeaders$
|
|
4528
|
+
const jsonContentHeaders$p = {
|
|
4548
4529
|
'Content-Type': 'application/json; charset=utf-8'
|
|
4549
4530
|
};
|
|
4550
4531
|
|
|
@@ -4555,7 +4536,7 @@ const jsonContentHeaders$o = {
|
|
|
4555
4536
|
* Scaleway's Cockpit stores metrics and logs and provides a dedicated Grafana
|
|
4556
4537
|
* for dashboarding to visualize them.
|
|
4557
4538
|
*/
|
|
4558
|
-
let API$
|
|
4539
|
+
let API$q = class API extends API$w {
|
|
4559
4540
|
/**
|
|
4560
4541
|
* Activate the Cockpit of the specified Project ID.
|
|
4561
4542
|
*
|
|
@@ -4564,7 +4545,7 @@ let API$p = class API extends API$v {
|
|
|
4564
4545
|
*/
|
|
4565
4546
|
activateCockpit = (request = {}) => this.client.fetch({
|
|
4566
4547
|
body: JSON.stringify(marshalActivateCockpitRequest(request, this.client.settings)),
|
|
4567
|
-
headers: jsonContentHeaders$
|
|
4548
|
+
headers: jsonContentHeaders$p,
|
|
4568
4549
|
method: 'POST',
|
|
4569
4550
|
path: `/cockpit/v1beta1/activate`
|
|
4570
4551
|
}, unmarshalCockpit);
|
|
@@ -4610,7 +4591,7 @@ let API$p = class API extends API$v {
|
|
|
4610
4591
|
*/
|
|
4611
4592
|
deactivateCockpit = (request = {}) => this.client.fetch({
|
|
4612
4593
|
body: JSON.stringify(marshalDeactivateCockpitRequest(request, this.client.settings)),
|
|
4613
|
-
headers: jsonContentHeaders$
|
|
4594
|
+
headers: jsonContentHeaders$p,
|
|
4614
4595
|
method: 'POST',
|
|
4615
4596
|
path: `/cockpit/v1beta1/deactivate`
|
|
4616
4597
|
}, unmarshalCockpit);
|
|
@@ -4623,7 +4604,7 @@ let API$p = class API extends API$v {
|
|
|
4623
4604
|
*/
|
|
4624
4605
|
createDatasource = request => this.client.fetch({
|
|
4625
4606
|
body: JSON.stringify(marshalCreateDatasourceRequest(request, this.client.settings)),
|
|
4626
|
-
headers: jsonContentHeaders$
|
|
4607
|
+
headers: jsonContentHeaders$p,
|
|
4627
4608
|
method: 'POST',
|
|
4628
4609
|
path: `/cockpit/v1beta1/datasources`
|
|
4629
4610
|
}, unmarshalDatasource);
|
|
@@ -4659,7 +4640,7 @@ let API$p = class API extends API$v {
|
|
|
4659
4640
|
*/
|
|
4660
4641
|
createToken = (request = {}) => this.client.fetch({
|
|
4661
4642
|
body: JSON.stringify(marshalCreateTokenRequest$2(request, this.client.settings)),
|
|
4662
|
-
headers: jsonContentHeaders$
|
|
4643
|
+
headers: jsonContentHeaders$p,
|
|
4663
4644
|
method: 'POST',
|
|
4664
4645
|
path: `/cockpit/v1beta1/tokens`
|
|
4665
4646
|
}, unmarshalToken$2);
|
|
@@ -4706,7 +4687,7 @@ let API$p = class API extends API$v {
|
|
|
4706
4687
|
*/
|
|
4707
4688
|
createContactPoint = (request = {}) => this.client.fetch({
|
|
4708
4689
|
body: JSON.stringify(marshalCreateContactPointRequest(request, this.client.settings)),
|
|
4709
|
-
headers: jsonContentHeaders$
|
|
4690
|
+
headers: jsonContentHeaders$p,
|
|
4710
4691
|
method: 'POST',
|
|
4711
4692
|
path: `/cockpit/v1beta1/contact-points`
|
|
4712
4693
|
}, unmarshalContactPoint);
|
|
@@ -4732,7 +4713,7 @@ let API$p = class API extends API$v {
|
|
|
4732
4713
|
*/
|
|
4733
4714
|
deleteContactPoint = (request = {}) => this.client.fetch({
|
|
4734
4715
|
body: JSON.stringify(marshalDeleteContactPointRequest(request, this.client.settings)),
|
|
4735
|
-
headers: jsonContentHeaders$
|
|
4716
|
+
headers: jsonContentHeaders$p,
|
|
4736
4717
|
method: 'POST',
|
|
4737
4718
|
path: `/cockpit/v1beta1/delete-contact-point`
|
|
4738
4719
|
});
|
|
@@ -4744,7 +4725,7 @@ let API$p = class API extends API$v {
|
|
|
4744
4725
|
*/
|
|
4745
4726
|
enableManagedAlerts = (request = {}) => this.client.fetch({
|
|
4746
4727
|
body: JSON.stringify(marshalEnableManagedAlertsRequest(request, this.client.settings)),
|
|
4747
|
-
headers: jsonContentHeaders$
|
|
4728
|
+
headers: jsonContentHeaders$p,
|
|
4748
4729
|
method: 'POST',
|
|
4749
4730
|
path: `/cockpit/v1beta1/enable-managed-alerts`
|
|
4750
4731
|
});
|
|
@@ -4756,7 +4737,7 @@ let API$p = class API extends API$v {
|
|
|
4756
4737
|
*/
|
|
4757
4738
|
disableManagedAlerts = (request = {}) => this.client.fetch({
|
|
4758
4739
|
body: JSON.stringify(marshalDisableManagedAlertsRequest(request, this.client.settings)),
|
|
4759
|
-
headers: jsonContentHeaders$
|
|
4740
|
+
headers: jsonContentHeaders$p,
|
|
4760
4741
|
method: 'POST',
|
|
4761
4742
|
path: `/cockpit/v1beta1/disable-managed-alerts`
|
|
4762
4743
|
});
|
|
@@ -4768,7 +4749,7 @@ let API$p = class API extends API$v {
|
|
|
4768
4749
|
*/
|
|
4769
4750
|
triggerTestAlert = (request = {}) => this.client.fetch({
|
|
4770
4751
|
body: JSON.stringify(marshalTriggerTestAlertRequest(request, this.client.settings)),
|
|
4771
|
-
headers: jsonContentHeaders$
|
|
4752
|
+
headers: jsonContentHeaders$p,
|
|
4772
4753
|
method: 'POST',
|
|
4773
4754
|
path: `/cockpit/v1beta1/trigger-test-alert`
|
|
4774
4755
|
});
|
|
@@ -4782,7 +4763,7 @@ let API$p = class API extends API$v {
|
|
|
4782
4763
|
*/
|
|
4783
4764
|
createGrafanaUser = request => this.client.fetch({
|
|
4784
4765
|
body: JSON.stringify(marshalCreateGrafanaUserRequest(request, this.client.settings)),
|
|
4785
|
-
headers: jsonContentHeaders$
|
|
4766
|
+
headers: jsonContentHeaders$p,
|
|
4786
4767
|
method: 'POST',
|
|
4787
4768
|
path: `/cockpit/v1beta1/grafana-users`
|
|
4788
4769
|
}, unmarshalGrafanaUser);
|
|
@@ -4809,7 +4790,7 @@ let API$p = class API extends API$v {
|
|
|
4809
4790
|
*/
|
|
4810
4791
|
deleteGrafanaUser = request => this.client.fetch({
|
|
4811
4792
|
body: JSON.stringify(marshalDeleteGrafanaUserRequest(request, this.client.settings)),
|
|
4812
|
-
headers: jsonContentHeaders$
|
|
4793
|
+
headers: jsonContentHeaders$p,
|
|
4813
4794
|
method: 'POST',
|
|
4814
4795
|
path: `/cockpit/v1beta1/grafana-users/${validatePathParam('grafanaUserId', request.grafanaUserId)}/delete`
|
|
4815
4796
|
});
|
|
@@ -4823,7 +4804,7 @@ let API$p = class API extends API$v {
|
|
|
4823
4804
|
*/
|
|
4824
4805
|
resetGrafanaUserPassword = request => this.client.fetch({
|
|
4825
4806
|
body: JSON.stringify(marshalResetGrafanaUserPasswordRequest(request, this.client.settings)),
|
|
4826
|
-
headers: jsonContentHeaders$
|
|
4807
|
+
headers: jsonContentHeaders$p,
|
|
4827
4808
|
method: 'POST',
|
|
4828
4809
|
path: `/cockpit/v1beta1/grafana-users/${validatePathParam('grafanaUserId', request.grafanaUserId)}/reset-password`
|
|
4829
4810
|
}, unmarshalGrafanaUser);
|
|
@@ -4850,7 +4831,7 @@ let API$p = class API extends API$v {
|
|
|
4850
4831
|
*/
|
|
4851
4832
|
selectPlan = request => this.client.fetch({
|
|
4852
4833
|
body: JSON.stringify(marshalSelectPlanRequest(request, this.client.settings)),
|
|
4853
|
-
headers: jsonContentHeaders$
|
|
4834
|
+
headers: jsonContentHeaders$p,
|
|
4854
4835
|
method: 'POST',
|
|
4855
4836
|
path: `/cockpit/v1beta1/select-plan`
|
|
4856
4837
|
}, unmarshalSelectPlanResponse);
|
|
@@ -4885,15 +4866,15 @@ let API$p = class API extends API$v {
|
|
|
4885
4866
|
// This file was automatically generated. DO NOT EDIT.
|
|
4886
4867
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
4887
4868
|
|
|
4888
|
-
var index_gen$
|
|
4869
|
+
var index_gen$p = /*#__PURE__*/Object.freeze({
|
|
4889
4870
|
__proto__: null,
|
|
4890
|
-
API: API$
|
|
4871
|
+
API: API$q,
|
|
4891
4872
|
COCKPIT_TRANSIENT_STATUSES: COCKPIT_TRANSIENT_STATUSES
|
|
4892
4873
|
});
|
|
4893
4874
|
|
|
4894
|
-
var index$
|
|
4875
|
+
var index$s = /*#__PURE__*/Object.freeze({
|
|
4895
4876
|
__proto__: null,
|
|
4896
|
-
v1beta1: index_gen$
|
|
4877
|
+
v1beta1: index_gen$p
|
|
4897
4878
|
});
|
|
4898
4879
|
|
|
4899
4880
|
// This file was automatically generated. DO NOT EDIT.
|
|
@@ -5272,12 +5253,12 @@ const marshalUpdateTriggerRequest$1 = (request, defaults) => ({
|
|
|
5272
5253
|
|
|
5273
5254
|
// This file was automatically generated. DO NOT EDIT.
|
|
5274
5255
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
5275
|
-
const jsonContentHeaders$
|
|
5256
|
+
const jsonContentHeaders$o = {
|
|
5276
5257
|
'Content-Type': 'application/json; charset=utf-8'
|
|
5277
5258
|
};
|
|
5278
5259
|
|
|
5279
5260
|
/** Serverless Containers API. */
|
|
5280
|
-
let API$
|
|
5261
|
+
let API$p = class API extends API$w {
|
|
5281
5262
|
/** Lists the available regions of the API. */
|
|
5282
5263
|
static LOCALITIES = ['fr-par', 'nl-ams', 'pl-waw'];
|
|
5283
5264
|
pageOfListNamespaces = (request = {}) => this.client.fetch({
|
|
@@ -5322,7 +5303,7 @@ let API$o = class API extends API$v {
|
|
|
5322
5303
|
*/
|
|
5323
5304
|
createNamespace = (request = {}) => this.client.fetch({
|
|
5324
5305
|
body: JSON.stringify(marshalCreateNamespaceRequest$2(request, this.client.settings)),
|
|
5325
|
-
headers: jsonContentHeaders$
|
|
5306
|
+
headers: jsonContentHeaders$o,
|
|
5326
5307
|
method: 'POST',
|
|
5327
5308
|
path: `/containers/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/namespaces`
|
|
5328
5309
|
}, unmarshalNamespace$2);
|
|
@@ -5336,7 +5317,7 @@ let API$o = class API extends API$v {
|
|
|
5336
5317
|
*/
|
|
5337
5318
|
updateNamespace = request => this.client.fetch({
|
|
5338
5319
|
body: JSON.stringify(marshalUpdateNamespaceRequest$2(request, this.client.settings)),
|
|
5339
|
-
headers: jsonContentHeaders$
|
|
5320
|
+
headers: jsonContentHeaders$o,
|
|
5340
5321
|
method: 'PATCH',
|
|
5341
5322
|
path: `/containers/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/namespaces/${validatePathParam('namespaceId', request.namespaceId)}`
|
|
5342
5323
|
}, unmarshalNamespace$2);
|
|
@@ -5394,7 +5375,7 @@ let API$o = class API extends API$v {
|
|
|
5394
5375
|
*/
|
|
5395
5376
|
createContainer = request => this.client.fetch({
|
|
5396
5377
|
body: JSON.stringify(marshalCreateContainerRequest(request, this.client.settings)),
|
|
5397
|
-
headers: jsonContentHeaders$
|
|
5378
|
+
headers: jsonContentHeaders$o,
|
|
5398
5379
|
method: 'POST',
|
|
5399
5380
|
path: `/containers/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/containers`
|
|
5400
5381
|
}, unmarshalContainer);
|
|
@@ -5408,7 +5389,7 @@ let API$o = class API extends API$v {
|
|
|
5408
5389
|
*/
|
|
5409
5390
|
updateContainer = request => this.client.fetch({
|
|
5410
5391
|
body: JSON.stringify(marshalUpdateContainerRequest(request, this.client.settings)),
|
|
5411
|
-
headers: jsonContentHeaders$
|
|
5392
|
+
headers: jsonContentHeaders$o,
|
|
5412
5393
|
method: 'PATCH',
|
|
5413
5394
|
path: `/containers/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/containers/${validatePathParam('containerId', request.containerId)}`
|
|
5414
5395
|
}, unmarshalContainer);
|
|
@@ -5432,7 +5413,7 @@ let API$o = class API extends API$v {
|
|
|
5432
5413
|
*/
|
|
5433
5414
|
deployContainer = request => this.client.fetch({
|
|
5434
5415
|
body: '{}',
|
|
5435
|
-
headers: jsonContentHeaders$
|
|
5416
|
+
headers: jsonContentHeaders$o,
|
|
5436
5417
|
method: 'POST',
|
|
5437
5418
|
path: `/containers/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/containers/${validatePathParam('containerId', request.containerId)}/deploy`
|
|
5438
5419
|
}, unmarshalContainer);
|
|
@@ -5478,7 +5459,7 @@ let API$o = class API extends API$v {
|
|
|
5478
5459
|
*/
|
|
5479
5460
|
createCron = request => this.client.fetch({
|
|
5480
5461
|
body: JSON.stringify(marshalCreateCronRequest$1(request, this.client.settings)),
|
|
5481
|
-
headers: jsonContentHeaders$
|
|
5462
|
+
headers: jsonContentHeaders$o,
|
|
5482
5463
|
method: 'POST',
|
|
5483
5464
|
path: `/containers/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/crons`
|
|
5484
5465
|
}, unmarshalCron$1);
|
|
@@ -5491,7 +5472,7 @@ let API$o = class API extends API$v {
|
|
|
5491
5472
|
*/
|
|
5492
5473
|
updateCron = request => this.client.fetch({
|
|
5493
5474
|
body: JSON.stringify(marshalUpdateCronRequest$1(request, this.client.settings)),
|
|
5494
|
-
headers: jsonContentHeaders$
|
|
5475
|
+
headers: jsonContentHeaders$o,
|
|
5495
5476
|
method: 'PATCH',
|
|
5496
5477
|
path: `/containers/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/crons/${validatePathParam('cronId', request.cronId)}`
|
|
5497
5478
|
}, unmarshalCron$1);
|
|
@@ -5565,7 +5546,7 @@ let API$o = class API extends API$v {
|
|
|
5565
5546
|
*/
|
|
5566
5547
|
createDomain = request => this.client.fetch({
|
|
5567
5548
|
body: JSON.stringify(marshalCreateDomainRequest$2(request, this.client.settings)),
|
|
5568
|
-
headers: jsonContentHeaders$
|
|
5549
|
+
headers: jsonContentHeaders$o,
|
|
5569
5550
|
method: 'POST',
|
|
5570
5551
|
path: `/containers/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/domains`
|
|
5571
5552
|
}, unmarshalDomain$3);
|
|
@@ -5609,7 +5590,7 @@ let API$o = class API extends API$v {
|
|
|
5609
5590
|
*/
|
|
5610
5591
|
createToken = (request = {}) => this.client.fetch({
|
|
5611
5592
|
body: JSON.stringify(marshalCreateTokenRequest$1(request, this.client.settings)),
|
|
5612
|
-
headers: jsonContentHeaders$
|
|
5593
|
+
headers: jsonContentHeaders$o,
|
|
5613
5594
|
method: 'POST',
|
|
5614
5595
|
path: `/containers/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/tokens`
|
|
5615
5596
|
}, unmarshalToken$1);
|
|
@@ -5667,7 +5648,7 @@ let API$o = class API extends API$v {
|
|
|
5667
5648
|
*/
|
|
5668
5649
|
createTrigger = request => this.client.fetch({
|
|
5669
5650
|
body: JSON.stringify(marshalCreateTriggerRequest$1(request, this.client.settings)),
|
|
5670
|
-
headers: jsonContentHeaders$
|
|
5651
|
+
headers: jsonContentHeaders$o,
|
|
5671
5652
|
method: 'POST',
|
|
5672
5653
|
path: `/containers/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/triggers`
|
|
5673
5654
|
}, unmarshalTrigger$1);
|
|
@@ -5724,7 +5705,7 @@ let API$o = class API extends API$v {
|
|
|
5724
5705
|
*/
|
|
5725
5706
|
updateTrigger = request => this.client.fetch({
|
|
5726
5707
|
body: JSON.stringify(marshalUpdateTriggerRequest$1(request, this.client.settings)),
|
|
5727
|
-
headers: jsonContentHeaders$
|
|
5708
|
+
headers: jsonContentHeaders$o,
|
|
5728
5709
|
method: 'PATCH',
|
|
5729
5710
|
path: `/containers/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/triggers/${validatePathParam('triggerId', request.triggerId)}`
|
|
5730
5711
|
}, unmarshalTrigger$1);
|
|
@@ -5784,7 +5765,7 @@ const UpdateTriggerRequest$1 = {
|
|
|
5784
5765
|
}
|
|
5785
5766
|
};
|
|
5786
5767
|
|
|
5787
|
-
var validationRules_gen$
|
|
5768
|
+
var validationRules_gen$b = /*#__PURE__*/Object.freeze({
|
|
5788
5769
|
__proto__: null,
|
|
5789
5770
|
CreateTriggerRequest: CreateTriggerRequest$1,
|
|
5790
5771
|
CreateTriggerRequestMnqNatsClientConfig: CreateTriggerRequestMnqNatsClientConfig$1,
|
|
@@ -5795,21 +5776,21 @@ var validationRules_gen$a = /*#__PURE__*/Object.freeze({
|
|
|
5795
5776
|
// This file was automatically generated. DO NOT EDIT.
|
|
5796
5777
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
5797
5778
|
|
|
5798
|
-
var index_gen$
|
|
5779
|
+
var index_gen$o = /*#__PURE__*/Object.freeze({
|
|
5799
5780
|
__proto__: null,
|
|
5800
|
-
API: API$
|
|
5781
|
+
API: API$p,
|
|
5801
5782
|
CONTAINER_TRANSIENT_STATUSES: CONTAINER_TRANSIENT_STATUSES,
|
|
5802
5783
|
CRON_TRANSIENT_STATUSES: CRON_TRANSIENT_STATUSES$1,
|
|
5803
5784
|
DOMAIN_TRANSIENT_STATUSES: DOMAIN_TRANSIENT_STATUSES$3,
|
|
5804
5785
|
NAMESPACE_TRANSIENT_STATUSES: NAMESPACE_TRANSIENT_STATUSES$2,
|
|
5805
5786
|
TOKEN_TRANSIENT_STATUSES: TOKEN_TRANSIENT_STATUSES$1,
|
|
5806
5787
|
TRIGGER_TRANSIENT_STATUSES: TRIGGER_TRANSIENT_STATUSES$1,
|
|
5807
|
-
ValidationRules: validationRules_gen$
|
|
5788
|
+
ValidationRules: validationRules_gen$b
|
|
5808
5789
|
});
|
|
5809
5790
|
|
|
5810
|
-
var index$
|
|
5791
|
+
var index$r = /*#__PURE__*/Object.freeze({
|
|
5811
5792
|
__proto__: null,
|
|
5812
|
-
v1beta1: index_gen$
|
|
5793
|
+
v1beta1: index_gen$o
|
|
5813
5794
|
});
|
|
5814
5795
|
|
|
5815
5796
|
// This file was automatically generated. DO NOT EDIT.
|
|
@@ -5881,7 +5862,7 @@ const unmarshalReadReplica$1 = data => {
|
|
|
5881
5862
|
status: data.status
|
|
5882
5863
|
};
|
|
5883
5864
|
};
|
|
5884
|
-
const unmarshalDatabase$
|
|
5865
|
+
const unmarshalDatabase$2 = data => {
|
|
5885
5866
|
if (!isJSONObject(data)) {
|
|
5886
5867
|
throw new TypeError(`Unmarshalling the type 'Database' failed as data isn't a dictionary.`);
|
|
5887
5868
|
}
|
|
@@ -5963,6 +5944,7 @@ const unmarshalVolume$3 = data => {
|
|
|
5963
5944
|
throw new TypeError(`Unmarshalling the type 'Volume' failed as data isn't a dictionary.`);
|
|
5964
5945
|
}
|
|
5965
5946
|
return {
|
|
5947
|
+
class: data.class,
|
|
5966
5948
|
size: data.size,
|
|
5967
5949
|
type: data.type
|
|
5968
5950
|
};
|
|
@@ -6006,6 +5988,15 @@ const unmarshalPrivilege$1 = data => {
|
|
|
6006
5988
|
userName: data.user_name
|
|
6007
5989
|
};
|
|
6008
5990
|
};
|
|
5991
|
+
const unmarshalSnapshotVolumeType$1 = data => {
|
|
5992
|
+
if (!isJSONObject(data)) {
|
|
5993
|
+
throw new TypeError(`Unmarshalling the type 'SnapshotVolumeType' failed as data isn't a dictionary.`);
|
|
5994
|
+
}
|
|
5995
|
+
return {
|
|
5996
|
+
class: data.class,
|
|
5997
|
+
type: data.type
|
|
5998
|
+
};
|
|
5999
|
+
};
|
|
6009
6000
|
const unmarshalSnapshot$2 = data => {
|
|
6010
6001
|
if (!isJSONObject(data)) {
|
|
6011
6002
|
throw new TypeError(`Unmarshalling the type 'Snapshot' failed as data isn't a dictionary.`);
|
|
@@ -6021,7 +6012,8 @@ const unmarshalSnapshot$2 = data => {
|
|
|
6021
6012
|
region: data.region,
|
|
6022
6013
|
size: data.size,
|
|
6023
6014
|
status: data.status,
|
|
6024
|
-
updatedAt: unmarshalDate(data.updated_at)
|
|
6015
|
+
updatedAt: unmarshalDate(data.updated_at),
|
|
6016
|
+
volumeType: data.volume_type ? unmarshalSnapshotVolumeType$1(data.volume_type) : undefined
|
|
6025
6017
|
};
|
|
6026
6018
|
};
|
|
6027
6019
|
const unmarshalUser$2 = data => {
|
|
@@ -6138,12 +6130,12 @@ const unmarshalListDatabaseEnginesResponse$1 = data => {
|
|
|
6138
6130
|
totalCount: data.total_count
|
|
6139
6131
|
};
|
|
6140
6132
|
};
|
|
6141
|
-
const unmarshalListDatabasesResponse$
|
|
6133
|
+
const unmarshalListDatabasesResponse$2 = data => {
|
|
6142
6134
|
if (!isJSONObject(data)) {
|
|
6143
6135
|
throw new TypeError(`Unmarshalling the type 'ListDatabasesResponse' failed as data isn't a dictionary.`);
|
|
6144
6136
|
}
|
|
6145
6137
|
return {
|
|
6146
|
-
databases: unmarshalArrayOfObject(data.databases, unmarshalDatabase$
|
|
6138
|
+
databases: unmarshalArrayOfObject(data.databases, unmarshalDatabase$2),
|
|
6147
6139
|
totalCount: data.total_count
|
|
6148
6140
|
};
|
|
6149
6141
|
};
|
|
@@ -6205,6 +6197,7 @@ const unmarshalNodeTypeVolumeType$1 = data => {
|
|
|
6205
6197
|
}
|
|
6206
6198
|
return {
|
|
6207
6199
|
chunkSize: data.chunk_size,
|
|
6200
|
+
class: data.class,
|
|
6208
6201
|
description: data.description,
|
|
6209
6202
|
maxSize: data.max_size,
|
|
6210
6203
|
minSize: data.min_size,
|
|
@@ -6302,7 +6295,7 @@ const marshalCloneInstanceRequest$1 = (request, defaults) => ({
|
|
|
6302
6295
|
name: request.name,
|
|
6303
6296
|
node_type: request.nodeType
|
|
6304
6297
|
});
|
|
6305
|
-
const marshalCreateDatabaseRequest$
|
|
6298
|
+
const marshalCreateDatabaseRequest$2 = (request, defaults) => ({
|
|
6306
6299
|
name: request.name
|
|
6307
6300
|
});
|
|
6308
6301
|
const marshalEndpointSpecPrivateNetworkIpamConfig$1 = (request, defaults) => ({});
|
|
@@ -6441,6 +6434,10 @@ const marshalUpdateUserRequest$1 = (request, defaults) => ({
|
|
|
6441
6434
|
is_admin: request.isAdmin,
|
|
6442
6435
|
password: request.password
|
|
6443
6436
|
});
|
|
6437
|
+
const marshalUpgradeInstanceRequestMajorUpgradeWorkflow$1 = (request, defaults) => ({
|
|
6438
|
+
upgradable_version_id: request.upgradableVersionId,
|
|
6439
|
+
with_endpoints: request.withEndpoints
|
|
6440
|
+
});
|
|
6444
6441
|
const marshalUpgradeInstanceRequest$1 = (request, defaults) => ({
|
|
6445
6442
|
...resolveOneOf([{
|
|
6446
6443
|
param: 'node_type',
|
|
@@ -6457,17 +6454,20 @@ const marshalUpgradeInstanceRequest$1 = (request, defaults) => ({
|
|
|
6457
6454
|
}, {
|
|
6458
6455
|
param: 'upgradable_version_id',
|
|
6459
6456
|
value: request.upgradableVersionId
|
|
6457
|
+
}, {
|
|
6458
|
+
param: 'major_upgrade_workflow',
|
|
6459
|
+
value: request.majorUpgradeWorkflow !== undefined ? marshalUpgradeInstanceRequestMajorUpgradeWorkflow$1(request.majorUpgradeWorkflow) : undefined
|
|
6460
6460
|
}])
|
|
6461
6461
|
});
|
|
6462
6462
|
|
|
6463
6463
|
// This file was automatically generated. DO NOT EDIT.
|
|
6464
6464
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
6465
|
-
const jsonContentHeaders$
|
|
6465
|
+
const jsonContentHeaders$n = {
|
|
6466
6466
|
'Content-Type': 'application/json; charset=utf-8'
|
|
6467
6467
|
};
|
|
6468
6468
|
|
|
6469
6469
|
/** Managed Document Databases API. */
|
|
6470
|
-
let API$
|
|
6470
|
+
let API$o = class API extends API$w {
|
|
6471
6471
|
/** Lists the available regions of the API. */
|
|
6472
6472
|
static LOCALITIES = ['fr-par', 'nl-ams', 'pl-waw'];
|
|
6473
6473
|
pageOfListDatabaseEngines = (request = {}) => this.client.fetch({
|
|
@@ -6511,7 +6511,7 @@ let API$n = class API extends API$v {
|
|
|
6511
6511
|
*/
|
|
6512
6512
|
upgradeInstance = request => this.client.fetch({
|
|
6513
6513
|
body: JSON.stringify(marshalUpgradeInstanceRequest$1(request, this.client.settings)),
|
|
6514
|
-
headers: jsonContentHeaders$
|
|
6514
|
+
headers: jsonContentHeaders$n,
|
|
6515
6515
|
method: 'POST',
|
|
6516
6516
|
path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/upgrade`
|
|
6517
6517
|
}, unmarshalInstance$2);
|
|
@@ -6569,7 +6569,7 @@ let API$n = class API extends API$v {
|
|
|
6569
6569
|
*/
|
|
6570
6570
|
createInstance = request => this.client.fetch({
|
|
6571
6571
|
body: JSON.stringify(marshalCreateInstanceRequest$1(request, this.client.settings)),
|
|
6572
|
-
headers: jsonContentHeaders$
|
|
6572
|
+
headers: jsonContentHeaders$n,
|
|
6573
6573
|
method: 'POST',
|
|
6574
6574
|
path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances`
|
|
6575
6575
|
}, unmarshalInstance$2);
|
|
@@ -6583,7 +6583,7 @@ let API$n = class API extends API$v {
|
|
|
6583
6583
|
*/
|
|
6584
6584
|
updateInstance = request => this.client.fetch({
|
|
6585
6585
|
body: JSON.stringify(marshalUpdateInstanceRequest$1(request, this.client.settings)),
|
|
6586
|
-
headers: jsonContentHeaders$
|
|
6586
|
+
headers: jsonContentHeaders$n,
|
|
6587
6587
|
method: 'PATCH',
|
|
6588
6588
|
path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}`
|
|
6589
6589
|
}, unmarshalInstance$2);
|
|
@@ -6614,7 +6614,7 @@ let API$n = class API extends API$v {
|
|
|
6614
6614
|
*/
|
|
6615
6615
|
cloneInstance = request => this.client.fetch({
|
|
6616
6616
|
body: JSON.stringify(marshalCloneInstanceRequest$1(request, this.client.settings)),
|
|
6617
|
-
headers: jsonContentHeaders$
|
|
6617
|
+
headers: jsonContentHeaders$n,
|
|
6618
6618
|
method: 'POST',
|
|
6619
6619
|
path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/clone`
|
|
6620
6620
|
}, unmarshalInstance$2);
|
|
@@ -6629,7 +6629,7 @@ let API$n = class API extends API$v {
|
|
|
6629
6629
|
*/
|
|
6630
6630
|
restartInstance = request => this.client.fetch({
|
|
6631
6631
|
body: '{}',
|
|
6632
|
-
headers: jsonContentHeaders$
|
|
6632
|
+
headers: jsonContentHeaders$n,
|
|
6633
6633
|
method: 'POST',
|
|
6634
6634
|
path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/restart`
|
|
6635
6635
|
}, unmarshalInstance$2);
|
|
@@ -6660,7 +6660,7 @@ let API$n = class API extends API$v {
|
|
|
6660
6660
|
*/
|
|
6661
6661
|
renewInstanceCertificate = request => this.client.fetch({
|
|
6662
6662
|
body: '{}',
|
|
6663
|
-
headers: jsonContentHeaders$
|
|
6663
|
+
headers: jsonContentHeaders$n,
|
|
6664
6664
|
method: 'POST',
|
|
6665
6665
|
path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/renew-certificate`
|
|
6666
6666
|
});
|
|
@@ -6689,7 +6689,7 @@ let API$n = class API extends API$v {
|
|
|
6689
6689
|
*/
|
|
6690
6690
|
createReadReplica = request => this.client.fetch({
|
|
6691
6691
|
body: JSON.stringify(marshalCreateReadReplicaRequest$1(request, this.client.settings)),
|
|
6692
|
-
headers: jsonContentHeaders$
|
|
6692
|
+
headers: jsonContentHeaders$n,
|
|
6693
6693
|
method: 'POST',
|
|
6694
6694
|
path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/read-replicas`
|
|
6695
6695
|
}, unmarshalReadReplica$1);
|
|
@@ -6741,7 +6741,7 @@ let API$n = class API extends API$v {
|
|
|
6741
6741
|
*/
|
|
6742
6742
|
resetReadReplica = request => this.client.fetch({
|
|
6743
6743
|
body: '{}',
|
|
6744
|
-
headers: jsonContentHeaders$
|
|
6744
|
+
headers: jsonContentHeaders$n,
|
|
6745
6745
|
method: 'POST',
|
|
6746
6746
|
path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/read-replicas/${validatePathParam('readReplicaId', request.readReplicaId)}/reset`
|
|
6747
6747
|
}, unmarshalReadReplica$1);
|
|
@@ -6755,7 +6755,7 @@ let API$n = class API extends API$v {
|
|
|
6755
6755
|
*/
|
|
6756
6756
|
promoteReadReplica = request => this.client.fetch({
|
|
6757
6757
|
body: '{}',
|
|
6758
|
-
headers: jsonContentHeaders$
|
|
6758
|
+
headers: jsonContentHeaders$n,
|
|
6759
6759
|
method: 'POST',
|
|
6760
6760
|
path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/read-replicas/${validatePathParam('readReplicaId', request.readReplicaId)}/promote`
|
|
6761
6761
|
}, unmarshalInstance$2);
|
|
@@ -6770,7 +6770,7 @@ let API$n = class API extends API$v {
|
|
|
6770
6770
|
*/
|
|
6771
6771
|
createReadReplicaEndpoint = request => this.client.fetch({
|
|
6772
6772
|
body: JSON.stringify(marshalCreateReadReplicaEndpointRequest$1(request, this.client.settings)),
|
|
6773
|
-
headers: jsonContentHeaders$
|
|
6773
|
+
headers: jsonContentHeaders$n,
|
|
6774
6774
|
method: 'POST',
|
|
6775
6775
|
path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/read-replicas/${validatePathParam('readReplicaId', request.readReplicaId)}/endpoints`
|
|
6776
6776
|
}, unmarshalReadReplica$1);
|
|
@@ -6822,7 +6822,7 @@ let API$n = class API extends API$v {
|
|
|
6822
6822
|
*/
|
|
6823
6823
|
purgeInstanceLogs = request => this.client.fetch({
|
|
6824
6824
|
body: JSON.stringify(marshalPurgeInstanceLogsRequest$1(request, this.client.settings)),
|
|
6825
|
-
headers: jsonContentHeaders$
|
|
6825
|
+
headers: jsonContentHeaders$n,
|
|
6826
6826
|
method: 'POST',
|
|
6827
6827
|
path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/purge-logs`
|
|
6828
6828
|
});
|
|
@@ -6850,7 +6850,7 @@ let API$n = class API extends API$v {
|
|
|
6850
6850
|
*/
|
|
6851
6851
|
addInstanceSettings = request => this.client.fetch({
|
|
6852
6852
|
body: JSON.stringify(marshalAddInstanceSettingsRequest$1(request, this.client.settings)),
|
|
6853
|
-
headers: jsonContentHeaders$
|
|
6853
|
+
headers: jsonContentHeaders$n,
|
|
6854
6854
|
method: 'POST',
|
|
6855
6855
|
path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/settings`
|
|
6856
6856
|
}, unmarshalAddInstanceSettingsResponse$1);
|
|
@@ -6865,7 +6865,7 @@ let API$n = class API extends API$v {
|
|
|
6865
6865
|
*/
|
|
6866
6866
|
deleteInstanceSettings = request => this.client.fetch({
|
|
6867
6867
|
body: JSON.stringify(marshalDeleteInstanceSettingsRequest$1(request, this.client.settings)),
|
|
6868
|
-
headers: jsonContentHeaders$
|
|
6868
|
+
headers: jsonContentHeaders$n,
|
|
6869
6869
|
method: 'DELETE',
|
|
6870
6870
|
path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/settings`
|
|
6871
6871
|
}, unmarshalDeleteInstanceSettingsResponse$1);
|
|
@@ -6880,7 +6880,7 @@ let API$n = class API extends API$v {
|
|
|
6880
6880
|
*/
|
|
6881
6881
|
setInstanceSettings = request => this.client.fetch({
|
|
6882
6882
|
body: JSON.stringify(marshalSetInstanceSettingsRequest$1(request, this.client.settings)),
|
|
6883
|
-
headers: jsonContentHeaders$
|
|
6883
|
+
headers: jsonContentHeaders$n,
|
|
6884
6884
|
method: 'PUT',
|
|
6885
6885
|
path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/settings`
|
|
6886
6886
|
}, unmarshalSetInstanceSettingsResponse$1);
|
|
@@ -6910,7 +6910,7 @@ let API$n = class API extends API$v {
|
|
|
6910
6910
|
*/
|
|
6911
6911
|
addInstanceACLRules = request => this.client.fetch({
|
|
6912
6912
|
body: JSON.stringify(marshalAddInstanceACLRulesRequest$1(request, this.client.settings)),
|
|
6913
|
-
headers: jsonContentHeaders$
|
|
6913
|
+
headers: jsonContentHeaders$n,
|
|
6914
6914
|
method: 'POST',
|
|
6915
6915
|
path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/acls`
|
|
6916
6916
|
}, unmarshalAddInstanceACLRulesResponse$1);
|
|
@@ -6924,7 +6924,7 @@ let API$n = class API extends API$v {
|
|
|
6924
6924
|
*/
|
|
6925
6925
|
setInstanceACLRules = request => this.client.fetch({
|
|
6926
6926
|
body: JSON.stringify(marshalSetInstanceACLRulesRequest$1(request, this.client.settings)),
|
|
6927
|
-
headers: jsonContentHeaders$
|
|
6927
|
+
headers: jsonContentHeaders$n,
|
|
6928
6928
|
method: 'PUT',
|
|
6929
6929
|
path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/acls`
|
|
6930
6930
|
}, unmarshalSetInstanceACLRulesResponse$1);
|
|
@@ -6938,7 +6938,7 @@ let API$n = class API extends API$v {
|
|
|
6938
6938
|
*/
|
|
6939
6939
|
deleteInstanceACLRules = request => this.client.fetch({
|
|
6940
6940
|
body: JSON.stringify(marshalDeleteInstanceACLRulesRequest$1(request, this.client.settings)),
|
|
6941
|
-
headers: jsonContentHeaders$
|
|
6941
|
+
headers: jsonContentHeaders$n,
|
|
6942
6942
|
method: 'DELETE',
|
|
6943
6943
|
path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/acls`
|
|
6944
6944
|
}, unmarshalDeleteInstanceACLRulesResponse$1);
|
|
@@ -6969,7 +6969,7 @@ let API$n = class API extends API$v {
|
|
|
6969
6969
|
*/
|
|
6970
6970
|
createUser = request => this.client.fetch({
|
|
6971
6971
|
body: JSON.stringify(marshalCreateUserRequest$2(request, this.client.settings)),
|
|
6972
|
-
headers: jsonContentHeaders$
|
|
6972
|
+
headers: jsonContentHeaders$n,
|
|
6973
6973
|
method: 'POST',
|
|
6974
6974
|
path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/users`
|
|
6975
6975
|
}, unmarshalUser$2);
|
|
@@ -6984,7 +6984,7 @@ let API$n = class API extends API$v {
|
|
|
6984
6984
|
*/
|
|
6985
6985
|
updateUser = request => this.client.fetch({
|
|
6986
6986
|
body: JSON.stringify(marshalUpdateUserRequest$1(request, this.client.settings)),
|
|
6987
|
-
headers: jsonContentHeaders$
|
|
6987
|
+
headers: jsonContentHeaders$n,
|
|
6988
6988
|
method: 'PATCH',
|
|
6989
6989
|
path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/users/${validatePathParam('name', request.name)}`
|
|
6990
6990
|
}, unmarshalUser$2);
|
|
@@ -7004,7 +7004,7 @@ let API$n = class API extends API$v {
|
|
|
7004
7004
|
method: 'GET',
|
|
7005
7005
|
path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/databases`,
|
|
7006
7006
|
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$
|
|
7007
|
+
}, unmarshalListDatabasesResponse$2);
|
|
7008
7008
|
|
|
7009
7009
|
/**
|
|
7010
7010
|
* List databases in a Database Instance. List all databases of a given
|
|
@@ -7026,11 +7026,11 @@ let API$n = class API extends API$v {
|
|
|
7026
7026
|
* @returns A Promise of Database
|
|
7027
7027
|
*/
|
|
7028
7028
|
createDatabase = request => this.client.fetch({
|
|
7029
|
-
body: JSON.stringify(marshalCreateDatabaseRequest$
|
|
7030
|
-
headers: jsonContentHeaders$
|
|
7029
|
+
body: JSON.stringify(marshalCreateDatabaseRequest$2(request, this.client.settings)),
|
|
7030
|
+
headers: jsonContentHeaders$n,
|
|
7031
7031
|
method: 'POST',
|
|
7032
7032
|
path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/databases`
|
|
7033
|
-
}, unmarshalDatabase$
|
|
7033
|
+
}, unmarshalDatabase$2);
|
|
7034
7034
|
|
|
7035
7035
|
/**
|
|
7036
7036
|
* Delete a database in a Database Instance. Delete a given database on a
|
|
@@ -7071,7 +7071,7 @@ let API$n = class API extends API$v {
|
|
|
7071
7071
|
*/
|
|
7072
7072
|
setPrivilege = request => this.client.fetch({
|
|
7073
7073
|
body: JSON.stringify(marshalSetPrivilegeRequest$1(request, this.client.settings)),
|
|
7074
|
-
headers: jsonContentHeaders$
|
|
7074
|
+
headers: jsonContentHeaders$n,
|
|
7075
7075
|
method: 'PUT',
|
|
7076
7076
|
path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/privileges`
|
|
7077
7077
|
}, unmarshalPrivilege$1);
|
|
@@ -7124,7 +7124,7 @@ let API$n = class API extends API$v {
|
|
|
7124
7124
|
*/
|
|
7125
7125
|
createSnapshot = request => this.client.fetch({
|
|
7126
7126
|
body: JSON.stringify(marshalCreateSnapshotRequest$2(request, this.client.settings)),
|
|
7127
|
-
headers: jsonContentHeaders$
|
|
7127
|
+
headers: jsonContentHeaders$n,
|
|
7128
7128
|
method: 'POST',
|
|
7129
7129
|
path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/snapshots`
|
|
7130
7130
|
}, unmarshalSnapshot$2);
|
|
@@ -7139,7 +7139,7 @@ let API$n = class API extends API$v {
|
|
|
7139
7139
|
*/
|
|
7140
7140
|
updateSnapshot = request => this.client.fetch({
|
|
7141
7141
|
body: JSON.stringify(marshalUpdateSnapshotRequest$2(request, this.client.settings)),
|
|
7142
|
-
headers: jsonContentHeaders$
|
|
7142
|
+
headers: jsonContentHeaders$n,
|
|
7143
7143
|
method: 'PATCH',
|
|
7144
7144
|
path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/snapshots/${validatePathParam('snapshotId', request.snapshotId)}`
|
|
7145
7145
|
}, unmarshalSnapshot$2);
|
|
@@ -7172,7 +7172,7 @@ let API$n = class API extends API$v {
|
|
|
7172
7172
|
*/
|
|
7173
7173
|
createInstanceFromSnapshot = request => this.client.fetch({
|
|
7174
7174
|
body: JSON.stringify(marshalCreateInstanceFromSnapshotRequest$1(request, this.client.settings)),
|
|
7175
|
-
headers: jsonContentHeaders$
|
|
7175
|
+
headers: jsonContentHeaders$n,
|
|
7176
7176
|
method: 'POST',
|
|
7177
7177
|
path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/snapshots/${validatePathParam('snapshotId', request.snapshotId)}/create-instance`
|
|
7178
7178
|
}, unmarshalInstance$2);
|
|
@@ -7187,7 +7187,7 @@ let API$n = class API extends API$v {
|
|
|
7187
7187
|
*/
|
|
7188
7188
|
createEndpoint = request => this.client.fetch({
|
|
7189
7189
|
body: JSON.stringify(marshalCreateEndpointRequest$1(request, this.client.settings)),
|
|
7190
|
-
headers: jsonContentHeaders$
|
|
7190
|
+
headers: jsonContentHeaders$n,
|
|
7191
7191
|
method: 'POST',
|
|
7192
7192
|
path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/endpoints`
|
|
7193
7193
|
}, unmarshalEndpoint$2);
|
|
@@ -7228,7 +7228,7 @@ let API$n = class API extends API$v {
|
|
|
7228
7228
|
*/
|
|
7229
7229
|
migrateEndpoint = request => this.client.fetch({
|
|
7230
7230
|
body: JSON.stringify(marshalMigrateEndpointRequest$1(request, this.client.settings)),
|
|
7231
|
-
headers: jsonContentHeaders$
|
|
7231
|
+
headers: jsonContentHeaders$n,
|
|
7232
7232
|
method: 'POST',
|
|
7233
7233
|
path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/endpoints/${validatePathParam('endpointId', request.endpointId)}/migrate`
|
|
7234
7234
|
}, unmarshalEndpoint$2);
|
|
@@ -7243,7 +7243,7 @@ const UpdateInstanceRequest$1 = {
|
|
|
7243
7243
|
}
|
|
7244
7244
|
};
|
|
7245
7245
|
|
|
7246
|
-
var validationRules_gen$
|
|
7246
|
+
var validationRules_gen$a = /*#__PURE__*/Object.freeze({
|
|
7247
7247
|
__proto__: null,
|
|
7248
7248
|
UpdateInstanceRequest: UpdateInstanceRequest$1
|
|
7249
7249
|
});
|
|
@@ -7251,20 +7251,20 @@ var validationRules_gen$9 = /*#__PURE__*/Object.freeze({
|
|
|
7251
7251
|
// This file was automatically generated. DO NOT EDIT.
|
|
7252
7252
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
7253
7253
|
|
|
7254
|
-
var index_gen$
|
|
7254
|
+
var index_gen$n = /*#__PURE__*/Object.freeze({
|
|
7255
7255
|
__proto__: null,
|
|
7256
|
-
API: API$
|
|
7256
|
+
API: API$o,
|
|
7257
7257
|
INSTANCE_LOG_TRANSIENT_STATUSES: INSTANCE_LOG_TRANSIENT_STATUSES$1,
|
|
7258
7258
|
INSTANCE_TRANSIENT_STATUSES: INSTANCE_TRANSIENT_STATUSES$2,
|
|
7259
7259
|
MAINTENANCE_TRANSIENT_STATUSES: MAINTENANCE_TRANSIENT_STATUSES$1,
|
|
7260
7260
|
READ_REPLICA_TRANSIENT_STATUSES: READ_REPLICA_TRANSIENT_STATUSES$1,
|
|
7261
7261
|
SNAPSHOT_TRANSIENT_STATUSES: SNAPSHOT_TRANSIENT_STATUSES$2,
|
|
7262
|
-
ValidationRules: validationRules_gen$
|
|
7262
|
+
ValidationRules: validationRules_gen$a
|
|
7263
7263
|
});
|
|
7264
7264
|
|
|
7265
|
-
var index$
|
|
7265
|
+
var index$q = /*#__PURE__*/Object.freeze({
|
|
7266
7266
|
__proto__: null,
|
|
7267
|
-
v1beta1: index_gen$
|
|
7267
|
+
v1beta1: index_gen$n
|
|
7268
7268
|
});
|
|
7269
7269
|
|
|
7270
7270
|
// This file was automatically generated. DO NOT EDIT.
|
|
@@ -8465,7 +8465,7 @@ const marshalUpdateDNSZoneRequest = (request, defaults) => ({
|
|
|
8465
8465
|
|
|
8466
8466
|
// This file was automatically generated. DO NOT EDIT.
|
|
8467
8467
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
8468
|
-
const jsonContentHeaders$
|
|
8468
|
+
const jsonContentHeaders$m = {
|
|
8469
8469
|
'Content-Type': 'application/json; charset=utf-8'
|
|
8470
8470
|
};
|
|
8471
8471
|
|
|
@@ -8474,7 +8474,7 @@ const jsonContentHeaders$l = {
|
|
|
8474
8474
|
*
|
|
8475
8475
|
* Manage your domains, DNS zones and records with the Domains and DNS API.
|
|
8476
8476
|
*/
|
|
8477
|
-
let API$
|
|
8477
|
+
let API$n = class API extends API$w {
|
|
8478
8478
|
pageOfListDNSZones = request => this.client.fetch({
|
|
8479
8479
|
method: 'GET',
|
|
8480
8480
|
path: `/domain/v2beta1/dns-zones`,
|
|
@@ -8499,7 +8499,7 @@ let API$m = class API extends API$v {
|
|
|
8499
8499
|
*/
|
|
8500
8500
|
createDNSZone = request => this.client.fetch({
|
|
8501
8501
|
body: JSON.stringify(marshalCreateDNSZoneRequest(request, this.client.settings)),
|
|
8502
|
-
headers: jsonContentHeaders$
|
|
8502
|
+
headers: jsonContentHeaders$m,
|
|
8503
8503
|
method: 'POST',
|
|
8504
8504
|
path: `/domain/v2beta1/dns-zones`
|
|
8505
8505
|
}, unmarshalDNSZone);
|
|
@@ -8512,7 +8512,7 @@ let API$m = class API extends API$v {
|
|
|
8512
8512
|
*/
|
|
8513
8513
|
updateDNSZone = request => this.client.fetch({
|
|
8514
8514
|
body: JSON.stringify(marshalUpdateDNSZoneRequest(request, this.client.settings)),
|
|
8515
|
-
headers: jsonContentHeaders$
|
|
8515
|
+
headers: jsonContentHeaders$m,
|
|
8516
8516
|
method: 'PATCH',
|
|
8517
8517
|
path: `/domain/v2beta1/dns-zones/${validatePathParam('dnsZone', request.dnsZone)}`
|
|
8518
8518
|
}, unmarshalDNSZone);
|
|
@@ -8526,7 +8526,7 @@ let API$m = class API extends API$v {
|
|
|
8526
8526
|
*/
|
|
8527
8527
|
cloneDNSZone = request => this.client.fetch({
|
|
8528
8528
|
body: JSON.stringify(marshalCloneDNSZoneRequest(request, this.client.settings)),
|
|
8529
|
-
headers: jsonContentHeaders$
|
|
8529
|
+
headers: jsonContentHeaders$m,
|
|
8530
8530
|
method: 'POST',
|
|
8531
8531
|
path: `/domain/v2beta1/dns-zones/${validatePathParam('dnsZone', request.dnsZone)}/clone`
|
|
8532
8532
|
}, unmarshalDNSZone);
|
|
@@ -8579,7 +8579,7 @@ let API$m = class API extends API$v {
|
|
|
8579
8579
|
*/
|
|
8580
8580
|
updateDNSZoneRecords = request => this.client.fetch({
|
|
8581
8581
|
body: JSON.stringify(marshalUpdateDNSZoneRecordsRequest(request, this.client.settings)),
|
|
8582
|
-
headers: jsonContentHeaders$
|
|
8582
|
+
headers: jsonContentHeaders$m,
|
|
8583
8583
|
method: 'PATCH',
|
|
8584
8584
|
path: `/domain/v2beta1/dns-zones/${validatePathParam('dnsZone', request.dnsZone)}/records`
|
|
8585
8585
|
}, unmarshalUpdateDNSZoneRecordsResponse);
|
|
@@ -8606,7 +8606,7 @@ let API$m = class API extends API$v {
|
|
|
8606
8606
|
*/
|
|
8607
8607
|
updateDNSZoneNameservers = request => this.client.fetch({
|
|
8608
8608
|
body: JSON.stringify(marshalUpdateDNSZoneNameserversRequest(request, this.client.settings)),
|
|
8609
|
-
headers: jsonContentHeaders$
|
|
8609
|
+
headers: jsonContentHeaders$m,
|
|
8610
8610
|
method: 'PUT',
|
|
8611
8611
|
path: `/domain/v2beta1/dns-zones/${validatePathParam('dnsZone', request.dnsZone)}/nameservers`
|
|
8612
8612
|
}, unmarshalUpdateDNSZoneNameserversResponse);
|
|
@@ -8646,7 +8646,7 @@ let API$m = class API extends API$v {
|
|
|
8646
8646
|
*/
|
|
8647
8647
|
importRawDNSZone = request => this.client.fetch({
|
|
8648
8648
|
body: JSON.stringify(marshalImportRawDNSZoneRequest(request, this.client.settings)),
|
|
8649
|
-
headers: jsonContentHeaders$
|
|
8649
|
+
headers: jsonContentHeaders$m,
|
|
8650
8650
|
method: 'POST',
|
|
8651
8651
|
path: `/domain/v2beta1/dns-zones/${validatePathParam('dnsZone', request.dnsZone)}/raw`
|
|
8652
8652
|
}, unmarshalImportRawDNSZoneResponse);
|
|
@@ -8660,7 +8660,7 @@ let API$m = class API extends API$v {
|
|
|
8660
8660
|
*/
|
|
8661
8661
|
importProviderDNSZone = request => this.client.fetch({
|
|
8662
8662
|
body: JSON.stringify(marshalImportProviderDNSZoneRequest(request, this.client.settings)),
|
|
8663
|
-
headers: jsonContentHeaders$
|
|
8663
|
+
headers: jsonContentHeaders$m,
|
|
8664
8664
|
method: 'POST',
|
|
8665
8665
|
path: `/domain/v2beta1/dns-zones/${validatePathParam('dnsZone', request.dnsZone)}/import-provider`
|
|
8666
8666
|
}, unmarshalImportProviderDNSZoneResponse);
|
|
@@ -8675,7 +8675,7 @@ let API$m = class API extends API$v {
|
|
|
8675
8675
|
*/
|
|
8676
8676
|
refreshDNSZone = request => this.client.fetch({
|
|
8677
8677
|
body: JSON.stringify(marshalRefreshDNSZoneRequest(request, this.client.settings)),
|
|
8678
|
-
headers: jsonContentHeaders$
|
|
8678
|
+
headers: jsonContentHeaders$m,
|
|
8679
8679
|
method: 'POST',
|
|
8680
8680
|
path: `/domain/v2beta1/dns-zones/${validatePathParam('dnsZone', request.dnsZone)}/refresh`
|
|
8681
8681
|
}, unmarshalRefreshDNSZoneResponse);
|
|
@@ -8730,7 +8730,7 @@ let API$m = class API extends API$v {
|
|
|
8730
8730
|
*/
|
|
8731
8731
|
restoreDNSZoneVersion = request => this.client.fetch({
|
|
8732
8732
|
body: '{}',
|
|
8733
|
-
headers: jsonContentHeaders$
|
|
8733
|
+
headers: jsonContentHeaders$m,
|
|
8734
8734
|
method: 'POST',
|
|
8735
8735
|
path: `/domain/v2beta1/dns-zones/version/${validatePathParam('dnsZoneVersionId', request.dnsZoneVersionId)}/restore`
|
|
8736
8736
|
}, unmarshalRestoreDNSZoneVersionResponse);
|
|
@@ -8765,7 +8765,7 @@ let API$m = class API extends API$v {
|
|
|
8765
8765
|
*/
|
|
8766
8766
|
createSSLCertificate = request => this.client.fetch({
|
|
8767
8767
|
body: JSON.stringify(marshalCreateSSLCertificateRequest(request, this.client.settings)),
|
|
8768
|
-
headers: jsonContentHeaders$
|
|
8768
|
+
headers: jsonContentHeaders$m,
|
|
8769
8769
|
method: 'POST',
|
|
8770
8770
|
path: `/domain/v2beta1/ssl-certificates`
|
|
8771
8771
|
}, unmarshalSSLCertificate);
|
|
@@ -8826,7 +8826,7 @@ let API$m = class API extends API$v {
|
|
|
8826
8826
|
*
|
|
8827
8827
|
* Manage your domains and contacts.
|
|
8828
8828
|
*/
|
|
8829
|
-
class RegistrarAPI extends API$
|
|
8829
|
+
class RegistrarAPI extends API$w {
|
|
8830
8830
|
pageOfListTasks = (request = {}) => this.client.fetch({
|
|
8831
8831
|
method: 'GET',
|
|
8832
8832
|
path: `/domain/v2beta1/tasks`,
|
|
@@ -8851,7 +8851,7 @@ class RegistrarAPI extends API$v {
|
|
|
8851
8851
|
*/
|
|
8852
8852
|
buyDomains = request => this.client.fetch({
|
|
8853
8853
|
body: JSON.stringify(marshalRegistrarApiBuyDomainsRequest(request, this.client.settings)),
|
|
8854
|
-
headers: jsonContentHeaders$
|
|
8854
|
+
headers: jsonContentHeaders$m,
|
|
8855
8855
|
method: 'POST',
|
|
8856
8856
|
path: `/domain/v2beta1/buy-domains`
|
|
8857
8857
|
}, unmarshalOrderResponse);
|
|
@@ -8864,7 +8864,7 @@ class RegistrarAPI extends API$v {
|
|
|
8864
8864
|
*/
|
|
8865
8865
|
renewDomains = request => this.client.fetch({
|
|
8866
8866
|
body: JSON.stringify(marshalRegistrarApiRenewDomainsRequest(request, this.client.settings)),
|
|
8867
|
-
headers: jsonContentHeaders$
|
|
8867
|
+
headers: jsonContentHeaders$m,
|
|
8868
8868
|
method: 'POST',
|
|
8869
8869
|
path: `/domain/v2beta1/renew-domains`
|
|
8870
8870
|
}, unmarshalOrderResponse);
|
|
@@ -8878,7 +8878,7 @@ class RegistrarAPI extends API$v {
|
|
|
8878
8878
|
*/
|
|
8879
8879
|
transferInDomain = request => this.client.fetch({
|
|
8880
8880
|
body: JSON.stringify(marshalRegistrarApiTransferInDomainRequest(request, this.client.settings)),
|
|
8881
|
-
headers: jsonContentHeaders$
|
|
8881
|
+
headers: jsonContentHeaders$m,
|
|
8882
8882
|
method: 'POST',
|
|
8883
8883
|
path: `/domain/v2beta1/domains/transfer-domains`
|
|
8884
8884
|
}, unmarshalOrderResponse);
|
|
@@ -8898,7 +8898,7 @@ class RegistrarAPI extends API$v {
|
|
|
8898
8898
|
*/
|
|
8899
8899
|
tradeDomain = request => this.client.fetch({
|
|
8900
8900
|
body: JSON.stringify(marshalRegistrarApiTradeDomainRequest(request, this.client.settings)),
|
|
8901
|
-
headers: jsonContentHeaders$
|
|
8901
|
+
headers: jsonContentHeaders$m,
|
|
8902
8902
|
method: 'POST',
|
|
8903
8903
|
path: `/domain/v2beta1/domains/${validatePathParam('domain', request.domain)}/trade`
|
|
8904
8904
|
}, unmarshalOrderResponse);
|
|
@@ -8913,7 +8913,7 @@ class RegistrarAPI extends API$v {
|
|
|
8913
8913
|
*/
|
|
8914
8914
|
registerExternalDomain = request => this.client.fetch({
|
|
8915
8915
|
body: JSON.stringify(marshalRegistrarApiRegisterExternalDomainRequest(request, this.client.settings)),
|
|
8916
|
-
headers: jsonContentHeaders$
|
|
8916
|
+
headers: jsonContentHeaders$m,
|
|
8917
8917
|
method: 'POST',
|
|
8918
8918
|
path: `/domain/v2beta1/external-domains`
|
|
8919
8919
|
}, unmarshalRegisterExternalDomainResponse);
|
|
@@ -8941,7 +8941,7 @@ class RegistrarAPI extends API$v {
|
|
|
8941
8941
|
*/
|
|
8942
8942
|
checkContactsCompatibility = (request = {}) => this.client.fetch({
|
|
8943
8943
|
body: JSON.stringify(marshalRegistrarApiCheckContactsCompatibilityRequest(request, this.client.settings)),
|
|
8944
|
-
headers: jsonContentHeaders$
|
|
8944
|
+
headers: jsonContentHeaders$m,
|
|
8945
8945
|
method: 'POST',
|
|
8946
8946
|
path: `/domain/v2beta1/check-contacts-compatibility`
|
|
8947
8947
|
}, unmarshalCheckContactsCompatibilityResponse);
|
|
@@ -8980,7 +8980,7 @@ class RegistrarAPI extends API$v {
|
|
|
8980
8980
|
*/
|
|
8981
8981
|
updateContact = request => this.client.fetch({
|
|
8982
8982
|
body: JSON.stringify(marshalRegistrarApiUpdateContactRequest(request, this.client.settings)),
|
|
8983
|
-
headers: jsonContentHeaders$
|
|
8983
|
+
headers: jsonContentHeaders$m,
|
|
8984
8984
|
method: 'PATCH',
|
|
8985
8985
|
path: `/domain/v2beta1/contacts/${validatePathParam('contactId', request.contactId)}`
|
|
8986
8986
|
}, unmarshalContact);
|
|
@@ -9045,7 +9045,7 @@ class RegistrarAPI extends API$v {
|
|
|
9045
9045
|
*/
|
|
9046
9046
|
updateDomain = request => this.client.fetch({
|
|
9047
9047
|
body: JSON.stringify(marshalRegistrarApiUpdateDomainRequest(request, this.client.settings)),
|
|
9048
|
-
headers: jsonContentHeaders$
|
|
9048
|
+
headers: jsonContentHeaders$m,
|
|
9049
9049
|
method: 'PATCH',
|
|
9050
9050
|
path: `/domain/v2beta1/domains/${validatePathParam('domain', request.domain)}`
|
|
9051
9051
|
}, unmarshalDomain$2);
|
|
@@ -9060,7 +9060,7 @@ class RegistrarAPI extends API$v {
|
|
|
9060
9060
|
*/
|
|
9061
9061
|
lockDomainTransfer = request => this.client.fetch({
|
|
9062
9062
|
body: '{}',
|
|
9063
|
-
headers: jsonContentHeaders$
|
|
9063
|
+
headers: jsonContentHeaders$m,
|
|
9064
9064
|
method: 'POST',
|
|
9065
9065
|
path: `/domain/v2beta1/domains/${validatePathParam('domain', request.domain)}/lock-transfer`
|
|
9066
9066
|
}, unmarshalDomain$2);
|
|
@@ -9075,7 +9075,7 @@ class RegistrarAPI extends API$v {
|
|
|
9075
9075
|
*/
|
|
9076
9076
|
unlockDomainTransfer = request => this.client.fetch({
|
|
9077
9077
|
body: '{}',
|
|
9078
|
-
headers: jsonContentHeaders$
|
|
9078
|
+
headers: jsonContentHeaders$m,
|
|
9079
9079
|
method: 'POST',
|
|
9080
9080
|
path: `/domain/v2beta1/domains/${validatePathParam('domain', request.domain)}/unlock-transfer`
|
|
9081
9081
|
}, unmarshalDomain$2);
|
|
@@ -9090,7 +9090,7 @@ class RegistrarAPI extends API$v {
|
|
|
9090
9090
|
*/
|
|
9091
9091
|
enableDomainAutoRenew = request => this.client.fetch({
|
|
9092
9092
|
body: '{}',
|
|
9093
|
-
headers: jsonContentHeaders$
|
|
9093
|
+
headers: jsonContentHeaders$m,
|
|
9094
9094
|
method: 'POST',
|
|
9095
9095
|
path: `/domain/v2beta1/domains/${validatePathParam('domain', request.domain)}/enable-auto-renew`
|
|
9096
9096
|
}, unmarshalDomain$2);
|
|
@@ -9105,7 +9105,7 @@ class RegistrarAPI extends API$v {
|
|
|
9105
9105
|
*/
|
|
9106
9106
|
disableDomainAutoRenew = request => this.client.fetch({
|
|
9107
9107
|
body: '{}',
|
|
9108
|
-
headers: jsonContentHeaders$
|
|
9108
|
+
headers: jsonContentHeaders$m,
|
|
9109
9109
|
method: 'POST',
|
|
9110
9110
|
path: `/domain/v2beta1/domains/${validatePathParam('domain', request.domain)}/disable-auto-renew`
|
|
9111
9111
|
}, unmarshalDomain$2);
|
|
@@ -9134,7 +9134,7 @@ class RegistrarAPI extends API$v {
|
|
|
9134
9134
|
*/
|
|
9135
9135
|
enableDomainDNSSEC = request => this.client.fetch({
|
|
9136
9136
|
body: JSON.stringify(marshalRegistrarApiEnableDomainDNSSECRequest(request, this.client.settings)),
|
|
9137
|
-
headers: jsonContentHeaders$
|
|
9137
|
+
headers: jsonContentHeaders$m,
|
|
9138
9138
|
method: 'POST',
|
|
9139
9139
|
path: `/domain/v2beta1/domains/${validatePathParam('domain', request.domain)}/enable-dnssec`
|
|
9140
9140
|
}, unmarshalDomain$2);
|
|
@@ -9147,7 +9147,7 @@ class RegistrarAPI extends API$v {
|
|
|
9147
9147
|
*/
|
|
9148
9148
|
disableDomainDNSSEC = request => this.client.fetch({
|
|
9149
9149
|
body: '{}',
|
|
9150
|
-
headers: jsonContentHeaders$
|
|
9150
|
+
headers: jsonContentHeaders$m,
|
|
9151
9151
|
method: 'POST',
|
|
9152
9152
|
path: `/domain/v2beta1/domains/${validatePathParam('domain', request.domain)}/disable-dnssec`
|
|
9153
9153
|
}, unmarshalDomain$2);
|
|
@@ -9191,7 +9191,7 @@ class RegistrarAPI extends API$v {
|
|
|
9191
9191
|
*/
|
|
9192
9192
|
createDomainHost = request => this.client.fetch({
|
|
9193
9193
|
body: JSON.stringify(marshalRegistrarApiCreateDomainHostRequest(request, this.client.settings)),
|
|
9194
|
-
headers: jsonContentHeaders$
|
|
9194
|
+
headers: jsonContentHeaders$m,
|
|
9195
9195
|
method: 'POST',
|
|
9196
9196
|
path: `/domain/v2beta1/domains/${validatePathParam('domain', request.domain)}/hosts`
|
|
9197
9197
|
}, unmarshalHost);
|
|
@@ -9217,7 +9217,7 @@ class RegistrarAPI extends API$v {
|
|
|
9217
9217
|
*/
|
|
9218
9218
|
updateDomainHost = request => this.client.fetch({
|
|
9219
9219
|
body: JSON.stringify(marshalRegistrarApiUpdateDomainHostRequest(request, this.client.settings)),
|
|
9220
|
-
headers: jsonContentHeaders$
|
|
9220
|
+
headers: jsonContentHeaders$m,
|
|
9221
9221
|
method: 'PATCH',
|
|
9222
9222
|
path: `/domain/v2beta1/domains/${validatePathParam('domain', request.domain)}/hosts/${validatePathParam('name', request.name)}`
|
|
9223
9223
|
}, unmarshalHost);
|
|
@@ -9237,9 +9237,9 @@ class RegistrarAPI extends API$v {
|
|
|
9237
9237
|
// This file was automatically generated. DO NOT EDIT.
|
|
9238
9238
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
9239
9239
|
|
|
9240
|
-
var index_gen$
|
|
9240
|
+
var index_gen$m = /*#__PURE__*/Object.freeze({
|
|
9241
9241
|
__proto__: null,
|
|
9242
|
-
API: API$
|
|
9242
|
+
API: API$n,
|
|
9243
9243
|
DNS_ZONE_TRANSIENT_STATUSES: DNS_ZONE_TRANSIENT_STATUSES,
|
|
9244
9244
|
DOMAIN_FEATURE_TRANSIENT_STATUSES: DOMAIN_FEATURE_TRANSIENT_STATUSES,
|
|
9245
9245
|
DOMAIN_REGISTRATION_STATUS_TRANSFER_TRANSIENT_STATUSES: DOMAIN_REGISTRATION_STATUS_TRANSFER_TRANSIENT_STATUSES,
|
|
@@ -9250,9 +9250,9 @@ var index_gen$l = /*#__PURE__*/Object.freeze({
|
|
|
9250
9250
|
TASK_TRANSIENT_STATUSES: TASK_TRANSIENT_STATUSES$1
|
|
9251
9251
|
});
|
|
9252
9252
|
|
|
9253
|
-
var index$
|
|
9253
|
+
var index$p = /*#__PURE__*/Object.freeze({
|
|
9254
9254
|
__proto__: null,
|
|
9255
|
-
v2beta1: index_gen$
|
|
9255
|
+
v2beta1: index_gen$m
|
|
9256
9256
|
});
|
|
9257
9257
|
|
|
9258
9258
|
// This file was automatically generated. DO NOT EDIT.
|
|
@@ -9359,12 +9359,12 @@ const marshalUpdateFlexibleIPRequest = (request, defaults) => ({
|
|
|
9359
9359
|
|
|
9360
9360
|
// This file was automatically generated. DO NOT EDIT.
|
|
9361
9361
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
9362
|
-
const jsonContentHeaders$
|
|
9362
|
+
const jsonContentHeaders$l = {
|
|
9363
9363
|
'Content-Type': 'application/json; charset=utf-8'
|
|
9364
9364
|
};
|
|
9365
9365
|
|
|
9366
9366
|
/** Elastic Metal - Flexible IP API. */
|
|
9367
|
-
let API$
|
|
9367
|
+
let API$m = class API extends API$w {
|
|
9368
9368
|
/** Lists the available zones of the API. */
|
|
9369
9369
|
static LOCALITIES = ['fr-par-1', 'fr-par-2', 'nl-ams-1'];
|
|
9370
9370
|
|
|
@@ -9377,7 +9377,7 @@ let API$l = class API extends API$v {
|
|
|
9377
9377
|
*/
|
|
9378
9378
|
createFlexibleIP = request => this.client.fetch({
|
|
9379
9379
|
body: JSON.stringify(marshalCreateFlexibleIPRequest(request, this.client.settings)),
|
|
9380
|
-
headers: jsonContentHeaders$
|
|
9380
|
+
headers: jsonContentHeaders$l,
|
|
9381
9381
|
method: 'POST',
|
|
9382
9382
|
path: `/flexible-ip/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/fips`
|
|
9383
9383
|
}, unmarshalFlexibleIP);
|
|
@@ -9427,7 +9427,7 @@ let API$l = class API extends API$v {
|
|
|
9427
9427
|
*/
|
|
9428
9428
|
updateFlexibleIP = request => this.client.fetch({
|
|
9429
9429
|
body: JSON.stringify(marshalUpdateFlexibleIPRequest(request, this.client.settings)),
|
|
9430
|
-
headers: jsonContentHeaders$
|
|
9430
|
+
headers: jsonContentHeaders$l,
|
|
9431
9431
|
method: 'PATCH',
|
|
9432
9432
|
path: `/flexible-ip/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/fips/${validatePathParam('fipId', request.fipId)}`
|
|
9433
9433
|
}, unmarshalFlexibleIP);
|
|
@@ -9453,7 +9453,7 @@ let API$l = class API extends API$v {
|
|
|
9453
9453
|
*/
|
|
9454
9454
|
attachFlexibleIP = request => this.client.fetch({
|
|
9455
9455
|
body: JSON.stringify(marshalAttachFlexibleIPRequest(request, this.client.settings)),
|
|
9456
|
-
headers: jsonContentHeaders$
|
|
9456
|
+
headers: jsonContentHeaders$l,
|
|
9457
9457
|
method: 'POST',
|
|
9458
9458
|
path: `/flexible-ip/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/fips/attach`
|
|
9459
9459
|
}, unmarshalAttachFlexibleIPsResponse);
|
|
@@ -9467,7 +9467,7 @@ let API$l = class API extends API$v {
|
|
|
9467
9467
|
*/
|
|
9468
9468
|
detachFlexibleIP = request => this.client.fetch({
|
|
9469
9469
|
body: JSON.stringify(marshalDetachFlexibleIPRequest(request, this.client.settings)),
|
|
9470
|
-
headers: jsonContentHeaders$
|
|
9470
|
+
headers: jsonContentHeaders$l,
|
|
9471
9471
|
method: 'POST',
|
|
9472
9472
|
path: `/flexible-ip/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/fips/detach`
|
|
9473
9473
|
}, unmarshalDetachFlexibleIPsResponse);
|
|
@@ -9481,7 +9481,7 @@ let API$l = class API extends API$v {
|
|
|
9481
9481
|
*/
|
|
9482
9482
|
generateMACAddr = request => this.client.fetch({
|
|
9483
9483
|
body: JSON.stringify(marshalGenerateMACAddrRequest(request, this.client.settings)),
|
|
9484
|
-
headers: jsonContentHeaders$
|
|
9484
|
+
headers: jsonContentHeaders$l,
|
|
9485
9485
|
method: 'POST',
|
|
9486
9486
|
path: `/flexible-ip/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/fips/${validatePathParam('fipId', request.fipId)}/mac`
|
|
9487
9487
|
}, unmarshalFlexibleIP);
|
|
@@ -9496,7 +9496,7 @@ let API$l = class API extends API$v {
|
|
|
9496
9496
|
*/
|
|
9497
9497
|
duplicateMACAddr = request => this.client.fetch({
|
|
9498
9498
|
body: JSON.stringify(marshalDuplicateMACAddrRequest(request, this.client.settings)),
|
|
9499
|
-
headers: jsonContentHeaders$
|
|
9499
|
+
headers: jsonContentHeaders$l,
|
|
9500
9500
|
method: 'POST',
|
|
9501
9501
|
path: `/flexible-ip/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/fips/${validatePathParam('fipId', request.fipId)}/mac/duplicate`
|
|
9502
9502
|
}, unmarshalFlexibleIP);
|
|
@@ -9511,7 +9511,7 @@ let API$l = class API extends API$v {
|
|
|
9511
9511
|
*/
|
|
9512
9512
|
moveMACAddr = request => this.client.fetch({
|
|
9513
9513
|
body: JSON.stringify(marshalMoveMACAddrRequest(request, this.client.settings)),
|
|
9514
|
-
headers: jsonContentHeaders$
|
|
9514
|
+
headers: jsonContentHeaders$l,
|
|
9515
9515
|
method: 'POST',
|
|
9516
9516
|
path: `/flexible-ip/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/fips/${validatePathParam('fipId', request.fipId)}/mac/move`
|
|
9517
9517
|
}, unmarshalFlexibleIP);
|
|
@@ -9541,7 +9541,7 @@ const ListFlexibleIPsRequest = {
|
|
|
9541
9541
|
}
|
|
9542
9542
|
};
|
|
9543
9543
|
|
|
9544
|
-
var validationRules_gen$
|
|
9544
|
+
var validationRules_gen$9 = /*#__PURE__*/Object.freeze({
|
|
9545
9545
|
__proto__: null,
|
|
9546
9546
|
ListFlexibleIPsRequest: ListFlexibleIPsRequest
|
|
9547
9547
|
});
|
|
@@ -9549,17 +9549,17 @@ var validationRules_gen$8 = /*#__PURE__*/Object.freeze({
|
|
|
9549
9549
|
// This file was automatically generated. DO NOT EDIT.
|
|
9550
9550
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
9551
9551
|
|
|
9552
|
-
var index_gen$
|
|
9552
|
+
var index_gen$l = /*#__PURE__*/Object.freeze({
|
|
9553
9553
|
__proto__: null,
|
|
9554
|
-
API: API$
|
|
9554
|
+
API: API$m,
|
|
9555
9555
|
FLEXIBLE_IP_TRANSIENT_STATUSES: FLEXIBLE_IP_TRANSIENT_STATUSES,
|
|
9556
9556
|
MAC_ADDRESS_TRANSIENT_STATUSES: MAC_ADDRESS_TRANSIENT_STATUSES,
|
|
9557
|
-
ValidationRules: validationRules_gen$
|
|
9557
|
+
ValidationRules: validationRules_gen$9
|
|
9558
9558
|
});
|
|
9559
9559
|
|
|
9560
|
-
var index$
|
|
9560
|
+
var index$o = /*#__PURE__*/Object.freeze({
|
|
9561
9561
|
__proto__: null,
|
|
9562
|
-
v1alpha1: index_gen$
|
|
9562
|
+
v1alpha1: index_gen$l
|
|
9563
9563
|
});
|
|
9564
9564
|
|
|
9565
9565
|
// This file was automatically generated. DO NOT EDIT.
|
|
@@ -9976,12 +9976,12 @@ const marshalUpdateTriggerRequest = (request, defaults) => ({
|
|
|
9976
9976
|
|
|
9977
9977
|
// This file was automatically generated. DO NOT EDIT.
|
|
9978
9978
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
9979
|
-
const jsonContentHeaders$
|
|
9979
|
+
const jsonContentHeaders$k = {
|
|
9980
9980
|
'Content-Type': 'application/json; charset=utf-8'
|
|
9981
9981
|
};
|
|
9982
9982
|
|
|
9983
9983
|
/** Serverless Functions API. */
|
|
9984
|
-
let API$
|
|
9984
|
+
let API$l = class API extends API$w {
|
|
9985
9985
|
/** Lists the available regions of the API. */
|
|
9986
9986
|
static LOCALITIES = ['fr-par', 'nl-ams', 'pl-waw'];
|
|
9987
9987
|
pageOfListNamespaces = (request = {}) => this.client.fetch({
|
|
@@ -10028,7 +10028,7 @@ let API$k = class API extends API$v {
|
|
|
10028
10028
|
*/
|
|
10029
10029
|
createNamespace = (request = {}) => this.client.fetch({
|
|
10030
10030
|
body: JSON.stringify(marshalCreateNamespaceRequest$1(request, this.client.settings)),
|
|
10031
|
-
headers: jsonContentHeaders$
|
|
10031
|
+
headers: jsonContentHeaders$k,
|
|
10032
10032
|
method: 'POST',
|
|
10033
10033
|
path: `/functions/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/namespaces`
|
|
10034
10034
|
}, unmarshalNamespace$1);
|
|
@@ -10042,7 +10042,7 @@ let API$k = class API extends API$v {
|
|
|
10042
10042
|
*/
|
|
10043
10043
|
updateNamespace = request => this.client.fetch({
|
|
10044
10044
|
body: JSON.stringify(marshalUpdateNamespaceRequest$1(request, this.client.settings)),
|
|
10045
|
-
headers: jsonContentHeaders$
|
|
10045
|
+
headers: jsonContentHeaders$k,
|
|
10046
10046
|
method: 'PATCH',
|
|
10047
10047
|
path: `/functions/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/namespaces/${validatePathParam('namespaceId', request.namespaceId)}`
|
|
10048
10048
|
}, unmarshalNamespace$1);
|
|
@@ -10101,7 +10101,7 @@ let API$k = class API extends API$v {
|
|
|
10101
10101
|
*/
|
|
10102
10102
|
createFunction = request => this.client.fetch({
|
|
10103
10103
|
body: JSON.stringify(marshalCreateFunctionRequest(request, this.client.settings)),
|
|
10104
|
-
headers: jsonContentHeaders$
|
|
10104
|
+
headers: jsonContentHeaders$k,
|
|
10105
10105
|
method: 'POST',
|
|
10106
10106
|
path: `/functions/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/functions`
|
|
10107
10107
|
}, unmarshalFunction);
|
|
@@ -10115,7 +10115,7 @@ let API$k = class API extends API$v {
|
|
|
10115
10115
|
*/
|
|
10116
10116
|
updateFunction = request => this.client.fetch({
|
|
10117
10117
|
body: JSON.stringify(marshalUpdateFunctionRequest(request, this.client.settings)),
|
|
10118
|
-
headers: jsonContentHeaders$
|
|
10118
|
+
headers: jsonContentHeaders$k,
|
|
10119
10119
|
method: 'PATCH',
|
|
10120
10120
|
path: `/functions/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/functions/${validatePathParam('functionId', request.functionId)}`
|
|
10121
10121
|
}, unmarshalFunction);
|
|
@@ -10139,7 +10139,7 @@ let API$k = class API extends API$v {
|
|
|
10139
10139
|
*/
|
|
10140
10140
|
deployFunction = request => this.client.fetch({
|
|
10141
10141
|
body: '{}',
|
|
10142
|
-
headers: jsonContentHeaders$
|
|
10142
|
+
headers: jsonContentHeaders$k,
|
|
10143
10143
|
method: 'POST',
|
|
10144
10144
|
path: `/functions/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/functions/${validatePathParam('functionId', request.functionId)}/deploy`
|
|
10145
10145
|
}, unmarshalFunction);
|
|
@@ -10222,7 +10222,7 @@ let API$k = class API extends API$v {
|
|
|
10222
10222
|
*/
|
|
10223
10223
|
createCron = request => this.client.fetch({
|
|
10224
10224
|
body: JSON.stringify(marshalCreateCronRequest(request, this.client.settings)),
|
|
10225
|
-
headers: jsonContentHeaders$
|
|
10225
|
+
headers: jsonContentHeaders$k,
|
|
10226
10226
|
method: 'POST',
|
|
10227
10227
|
path: `/functions/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/crons`
|
|
10228
10228
|
}, unmarshalCron);
|
|
@@ -10235,7 +10235,7 @@ let API$k = class API extends API$v {
|
|
|
10235
10235
|
*/
|
|
10236
10236
|
updateCron = request => this.client.fetch({
|
|
10237
10237
|
body: JSON.stringify(marshalUpdateCronRequest(request, this.client.settings)),
|
|
10238
|
-
headers: jsonContentHeaders$
|
|
10238
|
+
headers: jsonContentHeaders$k,
|
|
10239
10239
|
method: 'PATCH',
|
|
10240
10240
|
path: `/functions/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/crons/${validatePathParam('cronId', request.cronId)}`
|
|
10241
10241
|
}, unmarshalCron);
|
|
@@ -10309,7 +10309,7 @@ let API$k = class API extends API$v {
|
|
|
10309
10309
|
*/
|
|
10310
10310
|
createDomain = request => this.client.fetch({
|
|
10311
10311
|
body: JSON.stringify(marshalCreateDomainRequest$1(request, this.client.settings)),
|
|
10312
|
-
headers: jsonContentHeaders$
|
|
10312
|
+
headers: jsonContentHeaders$k,
|
|
10313
10313
|
method: 'POST',
|
|
10314
10314
|
path: `/functions/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/domains`
|
|
10315
10315
|
}, unmarshalDomain$1);
|
|
@@ -10353,7 +10353,7 @@ let API$k = class API extends API$v {
|
|
|
10353
10353
|
*/
|
|
10354
10354
|
createToken = (request = {}) => this.client.fetch({
|
|
10355
10355
|
body: JSON.stringify(marshalCreateTokenRequest(request, this.client.settings)),
|
|
10356
|
-
headers: jsonContentHeaders$
|
|
10356
|
+
headers: jsonContentHeaders$k,
|
|
10357
10357
|
method: 'POST',
|
|
10358
10358
|
path: `/functions/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/tokens`
|
|
10359
10359
|
}, unmarshalToken);
|
|
@@ -10410,7 +10410,7 @@ let API$k = class API extends API$v {
|
|
|
10410
10410
|
*/
|
|
10411
10411
|
createTrigger = request => this.client.fetch({
|
|
10412
10412
|
body: JSON.stringify(marshalCreateTriggerRequest(request, this.client.settings)),
|
|
10413
|
-
headers: jsonContentHeaders$
|
|
10413
|
+
headers: jsonContentHeaders$k,
|
|
10414
10414
|
method: 'POST',
|
|
10415
10415
|
path: `/functions/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/triggers`
|
|
10416
10416
|
}, unmarshalTrigger);
|
|
@@ -10467,7 +10467,7 @@ let API$k = class API extends API$v {
|
|
|
10467
10467
|
*/
|
|
10468
10468
|
updateTrigger = request => this.client.fetch({
|
|
10469
10469
|
body: JSON.stringify(marshalUpdateTriggerRequest(request, this.client.settings)),
|
|
10470
|
-
headers: jsonContentHeaders$
|
|
10470
|
+
headers: jsonContentHeaders$k,
|
|
10471
10471
|
method: 'PATCH',
|
|
10472
10472
|
path: `/functions/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/triggers/${validatePathParam('triggerId', request.triggerId)}`
|
|
10473
10473
|
}, unmarshalTrigger);
|
|
@@ -10527,7 +10527,7 @@ const UpdateTriggerRequest = {
|
|
|
10527
10527
|
}
|
|
10528
10528
|
};
|
|
10529
10529
|
|
|
10530
|
-
var validationRules_gen$
|
|
10530
|
+
var validationRules_gen$8 = /*#__PURE__*/Object.freeze({
|
|
10531
10531
|
__proto__: null,
|
|
10532
10532
|
CreateTriggerRequest: CreateTriggerRequest,
|
|
10533
10533
|
CreateTriggerRequestMnqNatsClientConfig: CreateTriggerRequestMnqNatsClientConfig,
|
|
@@ -10538,21 +10538,21 @@ var validationRules_gen$7 = /*#__PURE__*/Object.freeze({
|
|
|
10538
10538
|
// This file was automatically generated. DO NOT EDIT.
|
|
10539
10539
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
10540
10540
|
|
|
10541
|
-
var index_gen$
|
|
10541
|
+
var index_gen$k = /*#__PURE__*/Object.freeze({
|
|
10542
10542
|
__proto__: null,
|
|
10543
|
-
API: API$
|
|
10543
|
+
API: API$l,
|
|
10544
10544
|
CRON_TRANSIENT_STATUSES: CRON_TRANSIENT_STATUSES,
|
|
10545
10545
|
DOMAIN_TRANSIENT_STATUSES: DOMAIN_TRANSIENT_STATUSES$1,
|
|
10546
10546
|
FUNCTION_TRANSIENT_STATUSES: FUNCTION_TRANSIENT_STATUSES,
|
|
10547
10547
|
NAMESPACE_TRANSIENT_STATUSES: NAMESPACE_TRANSIENT_STATUSES$1,
|
|
10548
10548
|
TOKEN_TRANSIENT_STATUSES: TOKEN_TRANSIENT_STATUSES,
|
|
10549
10549
|
TRIGGER_TRANSIENT_STATUSES: TRIGGER_TRANSIENT_STATUSES,
|
|
10550
|
-
ValidationRules: validationRules_gen$
|
|
10550
|
+
ValidationRules: validationRules_gen$8
|
|
10551
10551
|
});
|
|
10552
10552
|
|
|
10553
|
-
var index$
|
|
10553
|
+
var index$n = /*#__PURE__*/Object.freeze({
|
|
10554
10554
|
__proto__: null,
|
|
10555
|
-
v1beta1: index_gen$
|
|
10555
|
+
v1beta1: index_gen$k
|
|
10556
10556
|
});
|
|
10557
10557
|
|
|
10558
10558
|
// This file was automatically generated. DO NOT EDIT.
|
|
@@ -10971,12 +10971,12 @@ const marshalUpdateSSHKeyRequest = (request, defaults) => ({
|
|
|
10971
10971
|
|
|
10972
10972
|
// This file was automatically generated. DO NOT EDIT.
|
|
10973
10973
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
10974
|
-
const jsonContentHeaders$
|
|
10974
|
+
const jsonContentHeaders$j = {
|
|
10975
10975
|
'Content-Type': 'application/json; charset=utf-8'
|
|
10976
10976
|
};
|
|
10977
10977
|
|
|
10978
10978
|
/** IAM API. */
|
|
10979
|
-
let API$
|
|
10979
|
+
let API$k = class API extends API$w {
|
|
10980
10980
|
pageOfListSSHKeys = (request = {}) => this.client.fetch({
|
|
10981
10981
|
method: 'GET',
|
|
10982
10982
|
path: `/iam/v1alpha1/ssh-keys`,
|
|
@@ -11003,7 +11003,7 @@ let API$j = class API extends API$v {
|
|
|
11003
11003
|
*/
|
|
11004
11004
|
createSSHKey = request => this.client.fetch({
|
|
11005
11005
|
body: JSON.stringify(marshalCreateSSHKeyRequest(request, this.client.settings)),
|
|
11006
|
-
headers: jsonContentHeaders$
|
|
11006
|
+
headers: jsonContentHeaders$j,
|
|
11007
11007
|
method: 'POST',
|
|
11008
11008
|
path: `/iam/v1alpha1/ssh-keys`
|
|
11009
11009
|
}, unmarshalSSHKey);
|
|
@@ -11030,7 +11030,7 @@ let API$j = class API extends API$v {
|
|
|
11030
11030
|
*/
|
|
11031
11031
|
updateSSHKey = request => this.client.fetch({
|
|
11032
11032
|
body: JSON.stringify(marshalUpdateSSHKeyRequest(request, this.client.settings)),
|
|
11033
|
-
headers: jsonContentHeaders$
|
|
11033
|
+
headers: jsonContentHeaders$j,
|
|
11034
11034
|
method: 'PATCH',
|
|
11035
11035
|
path: `/iam/v1alpha1/ssh-keys/${validatePathParam('sshKeyId', request.sshKeyId)}`
|
|
11036
11036
|
}, unmarshalSSHKey);
|
|
@@ -11100,7 +11100,7 @@ let API$j = class API extends API$v {
|
|
|
11100
11100
|
*/
|
|
11101
11101
|
createUser = request => this.client.fetch({
|
|
11102
11102
|
body: JSON.stringify(marshalCreateUserRequest$1(request, this.client.settings)),
|
|
11103
|
-
headers: jsonContentHeaders$
|
|
11103
|
+
headers: jsonContentHeaders$j,
|
|
11104
11104
|
method: 'POST',
|
|
11105
11105
|
path: `/iam/v1alpha1/users`
|
|
11106
11106
|
}, unmarshalUser$1);
|
|
@@ -11132,7 +11132,7 @@ let API$j = class API extends API$v {
|
|
|
11132
11132
|
*/
|
|
11133
11133
|
createApplication = request => this.client.fetch({
|
|
11134
11134
|
body: JSON.stringify(marshalCreateApplicationRequest(request, this.client.settings)),
|
|
11135
|
-
headers: jsonContentHeaders$
|
|
11135
|
+
headers: jsonContentHeaders$j,
|
|
11136
11136
|
method: 'POST',
|
|
11137
11137
|
path: `/iam/v1alpha1/applications`
|
|
11138
11138
|
}, unmarshalApplication);
|
|
@@ -11160,7 +11160,7 @@ let API$j = class API extends API$v {
|
|
|
11160
11160
|
*/
|
|
11161
11161
|
updateApplication = request => this.client.fetch({
|
|
11162
11162
|
body: JSON.stringify(marshalUpdateApplicationRequest(request, this.client.settings)),
|
|
11163
|
-
headers: jsonContentHeaders$
|
|
11163
|
+
headers: jsonContentHeaders$j,
|
|
11164
11164
|
method: 'PATCH',
|
|
11165
11165
|
path: `/iam/v1alpha1/applications/${validatePathParam('applicationId', request.applicationId)}`
|
|
11166
11166
|
}, unmarshalApplication);
|
|
@@ -11204,7 +11204,7 @@ let API$j = class API extends API$v {
|
|
|
11204
11204
|
*/
|
|
11205
11205
|
createGroup = request => this.client.fetch({
|
|
11206
11206
|
body: JSON.stringify(marshalCreateGroupRequest(request, this.client.settings)),
|
|
11207
|
-
headers: jsonContentHeaders$
|
|
11207
|
+
headers: jsonContentHeaders$j,
|
|
11208
11208
|
method: 'POST',
|
|
11209
11209
|
path: `/iam/v1alpha1/groups`
|
|
11210
11210
|
}, unmarshalGroup);
|
|
@@ -11231,7 +11231,7 @@ let API$j = class API extends API$v {
|
|
|
11231
11231
|
*/
|
|
11232
11232
|
updateGroup = request => this.client.fetch({
|
|
11233
11233
|
body: JSON.stringify(marshalUpdateGroupRequest(request, this.client.settings)),
|
|
11234
|
-
headers: jsonContentHeaders$
|
|
11234
|
+
headers: jsonContentHeaders$j,
|
|
11235
11235
|
method: 'PATCH',
|
|
11236
11236
|
path: `/iam/v1alpha1/groups/${validatePathParam('groupId', request.groupId)}`
|
|
11237
11237
|
}, unmarshalGroup);
|
|
@@ -11246,7 +11246,7 @@ let API$j = class API extends API$v {
|
|
|
11246
11246
|
*/
|
|
11247
11247
|
setGroupMembers = request => this.client.fetch({
|
|
11248
11248
|
body: JSON.stringify(marshalSetGroupMembersRequest(request, this.client.settings)),
|
|
11249
|
-
headers: jsonContentHeaders$
|
|
11249
|
+
headers: jsonContentHeaders$j,
|
|
11250
11250
|
method: 'PUT',
|
|
11251
11251
|
path: `/iam/v1alpha1/groups/${validatePathParam('groupId', request.groupId)}/members`
|
|
11252
11252
|
}, unmarshalGroup);
|
|
@@ -11261,7 +11261,7 @@ let API$j = class API extends API$v {
|
|
|
11261
11261
|
*/
|
|
11262
11262
|
addGroupMember = request => this.client.fetch({
|
|
11263
11263
|
body: JSON.stringify(marshalAddGroupMemberRequest(request, this.client.settings)),
|
|
11264
|
-
headers: jsonContentHeaders$
|
|
11264
|
+
headers: jsonContentHeaders$j,
|
|
11265
11265
|
method: 'POST',
|
|
11266
11266
|
path: `/iam/v1alpha1/groups/${validatePathParam('groupId', request.groupId)}/add-member`
|
|
11267
11267
|
}, unmarshalGroup);
|
|
@@ -11279,7 +11279,7 @@ let API$j = class API extends API$v {
|
|
|
11279
11279
|
*/
|
|
11280
11280
|
addGroupMembers = request => this.client.fetch({
|
|
11281
11281
|
body: JSON.stringify(marshalAddGroupMembersRequest(request, this.client.settings)),
|
|
11282
|
-
headers: jsonContentHeaders$
|
|
11282
|
+
headers: jsonContentHeaders$j,
|
|
11283
11283
|
method: 'POST',
|
|
11284
11284
|
path: `/iam/v1alpha1/groups/${validatePathParam('groupId', request.groupId)}/add-members`
|
|
11285
11285
|
}, unmarshalGroup);
|
|
@@ -11298,7 +11298,7 @@ let API$j = class API extends API$v {
|
|
|
11298
11298
|
*/
|
|
11299
11299
|
removeGroupMember = request => this.client.fetch({
|
|
11300
11300
|
body: JSON.stringify(marshalRemoveGroupMemberRequest(request, this.client.settings)),
|
|
11301
|
-
headers: jsonContentHeaders$
|
|
11301
|
+
headers: jsonContentHeaders$j,
|
|
11302
11302
|
method: 'POST',
|
|
11303
11303
|
path: `/iam/v1alpha1/groups/${validatePathParam('groupId', request.groupId)}/remove-member`
|
|
11304
11304
|
}, unmarshalGroup);
|
|
@@ -11344,7 +11344,7 @@ let API$j = class API extends API$v {
|
|
|
11344
11344
|
*/
|
|
11345
11345
|
createPolicy = request => this.client.fetch({
|
|
11346
11346
|
body: JSON.stringify(marshalCreatePolicyRequest(request, this.client.settings)),
|
|
11347
|
-
headers: jsonContentHeaders$
|
|
11347
|
+
headers: jsonContentHeaders$j,
|
|
11348
11348
|
method: 'POST',
|
|
11349
11349
|
path: `/iam/v1alpha1/policies`
|
|
11350
11350
|
}, unmarshalPolicy);
|
|
@@ -11373,7 +11373,7 @@ let API$j = class API extends API$v {
|
|
|
11373
11373
|
*/
|
|
11374
11374
|
updatePolicy = request => this.client.fetch({
|
|
11375
11375
|
body: JSON.stringify(marshalUpdatePolicyRequest(request, this.client.settings)),
|
|
11376
|
-
headers: jsonContentHeaders$
|
|
11376
|
+
headers: jsonContentHeaders$j,
|
|
11377
11377
|
method: 'PATCH',
|
|
11378
11378
|
path: `/iam/v1alpha1/policies/${validatePathParam('policyId', request.policyId)}`
|
|
11379
11379
|
}, unmarshalPolicy);
|
|
@@ -11400,7 +11400,7 @@ let API$j = class API extends API$v {
|
|
|
11400
11400
|
*/
|
|
11401
11401
|
clonePolicy = request => this.client.fetch({
|
|
11402
11402
|
body: '{}',
|
|
11403
|
-
headers: jsonContentHeaders$
|
|
11403
|
+
headers: jsonContentHeaders$j,
|
|
11404
11404
|
method: 'POST',
|
|
11405
11405
|
path: `/iam/v1alpha1/policies/${validatePathParam('policyId', request.policyId)}/clone`
|
|
11406
11406
|
}, unmarshalPolicy);
|
|
@@ -11418,7 +11418,7 @@ let API$j = class API extends API$v {
|
|
|
11418
11418
|
*/
|
|
11419
11419
|
setRules = request => this.client.fetch({
|
|
11420
11420
|
body: JSON.stringify(marshalSetRulesRequest(request, this.client.settings)),
|
|
11421
|
-
headers: jsonContentHeaders$
|
|
11421
|
+
headers: jsonContentHeaders$j,
|
|
11422
11422
|
method: 'PUT',
|
|
11423
11423
|
path: `/iam/v1alpha1/rules`
|
|
11424
11424
|
}, unmarshalSetRulesResponse);
|
|
@@ -11489,7 +11489,7 @@ let API$j = class API extends API$v {
|
|
|
11489
11489
|
*/
|
|
11490
11490
|
createAPIKey = request => this.client.fetch({
|
|
11491
11491
|
body: JSON.stringify(marshalCreateAPIKeyRequest(request, this.client.settings)),
|
|
11492
|
-
headers: jsonContentHeaders$
|
|
11492
|
+
headers: jsonContentHeaders$j,
|
|
11493
11493
|
method: 'POST',
|
|
11494
11494
|
path: `/iam/v1alpha1/api-keys`
|
|
11495
11495
|
}, unmarshalAPIKey);
|
|
@@ -11519,7 +11519,7 @@ let API$j = class API extends API$v {
|
|
|
11519
11519
|
*/
|
|
11520
11520
|
updateAPIKey = request => this.client.fetch({
|
|
11521
11521
|
body: JSON.stringify(marshalUpdateAPIKeyRequest(request, this.client.settings)),
|
|
11522
|
-
headers: jsonContentHeaders$
|
|
11522
|
+
headers: jsonContentHeaders$j,
|
|
11523
11523
|
method: 'PATCH',
|
|
11524
11524
|
path: `/iam/v1alpha1/api-keys/${validatePathParam('accessKey', request.accessKey)}`
|
|
11525
11525
|
}, unmarshalAPIKey);
|
|
@@ -11845,7 +11845,7 @@ const UpdateSSHKeyRequest = {
|
|
|
11845
11845
|
}
|
|
11846
11846
|
};
|
|
11847
11847
|
|
|
11848
|
-
var validationRules_gen$
|
|
11848
|
+
var validationRules_gen$7 = /*#__PURE__*/Object.freeze({
|
|
11849
11849
|
__proto__: null,
|
|
11850
11850
|
CreateAPIKeyRequest: CreateAPIKeyRequest,
|
|
11851
11851
|
CreateApplicationRequest: CreateApplicationRequest,
|
|
@@ -11874,15 +11874,15 @@ var validationRules_gen$6 = /*#__PURE__*/Object.freeze({
|
|
|
11874
11874
|
// This file was automatically generated. DO NOT EDIT.
|
|
11875
11875
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
11876
11876
|
|
|
11877
|
-
var index_gen$
|
|
11877
|
+
var index_gen$j = /*#__PURE__*/Object.freeze({
|
|
11878
11878
|
__proto__: null,
|
|
11879
|
-
API: API$
|
|
11880
|
-
ValidationRules: validationRules_gen$
|
|
11879
|
+
API: API$k,
|
|
11880
|
+
ValidationRules: validationRules_gen$7
|
|
11881
11881
|
});
|
|
11882
11882
|
|
|
11883
|
-
var index$
|
|
11883
|
+
var index$m = /*#__PURE__*/Object.freeze({
|
|
11884
11884
|
__proto__: null,
|
|
11885
|
-
v1alpha1: index_gen$
|
|
11885
|
+
v1alpha1: index_gen$j
|
|
11886
11886
|
});
|
|
11887
11887
|
|
|
11888
11888
|
// This file was automatically generated. DO NOT EDIT.
|
|
@@ -13366,12 +13366,12 @@ const marshalUpdateVolumeRequest$1 = (request, defaults) => ({
|
|
|
13366
13366
|
|
|
13367
13367
|
// This file was automatically generated. DO NOT EDIT.
|
|
13368
13368
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
13369
|
-
const jsonContentHeaders$
|
|
13369
|
+
const jsonContentHeaders$i = {
|
|
13370
13370
|
'Content-Type': 'application/json; charset=utf-8'
|
|
13371
13371
|
};
|
|
13372
13372
|
|
|
13373
13373
|
/** Instance API. */
|
|
13374
|
-
let API$
|
|
13374
|
+
let API$j = class API extends API$w {
|
|
13375
13375
|
/** Lists the available zones of the API. */
|
|
13376
13376
|
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
13377
|
|
|
@@ -13427,7 +13427,7 @@ let API$i = class API extends API$v {
|
|
|
13427
13427
|
listServers = (request = {}) => enrichForPagination('servers', this.pageOfListServers, request);
|
|
13428
13428
|
_createServer = request => this.client.fetch({
|
|
13429
13429
|
body: JSON.stringify(marshalCreateServerRequest(request, this.client.settings)),
|
|
13430
|
-
headers: jsonContentHeaders$
|
|
13430
|
+
headers: jsonContentHeaders$i,
|
|
13431
13431
|
method: 'POST',
|
|
13432
13432
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers`
|
|
13433
13433
|
}, unmarshalCreateServerResponse);
|
|
@@ -13454,13 +13454,13 @@ let API$i = class API extends API$v {
|
|
|
13454
13454
|
}, unmarshalGetServerResponse);
|
|
13455
13455
|
_setServer = request => this.client.fetch({
|
|
13456
13456
|
body: JSON.stringify(marshalSetServerRequest(request, this.client.settings)),
|
|
13457
|
-
headers: jsonContentHeaders$
|
|
13457
|
+
headers: jsonContentHeaders$i,
|
|
13458
13458
|
method: 'PUT',
|
|
13459
13459
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('id', request.id)}`
|
|
13460
13460
|
}, unmarshalSetServerResponse);
|
|
13461
13461
|
_updateServer = request => this.client.fetch({
|
|
13462
13462
|
body: JSON.stringify(marshalUpdateServerRequest(request, this.client.settings)),
|
|
13463
|
-
headers: jsonContentHeaders$
|
|
13463
|
+
headers: jsonContentHeaders$i,
|
|
13464
13464
|
method: 'PATCH',
|
|
13465
13465
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}`
|
|
13466
13466
|
}, unmarshalUpdateServerResponse);
|
|
@@ -13498,7 +13498,7 @@ let API$i = class API extends API$v {
|
|
|
13498
13498
|
*/
|
|
13499
13499
|
serverAction = request => this.client.fetch({
|
|
13500
13500
|
body: JSON.stringify(marshalServerActionRequest(request, this.client.settings)),
|
|
13501
|
-
headers: jsonContentHeaders$
|
|
13501
|
+
headers: jsonContentHeaders$i,
|
|
13502
13502
|
method: 'POST',
|
|
13503
13503
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/action`
|
|
13504
13504
|
}, unmarshalServerActionResponse);
|
|
@@ -13525,13 +13525,13 @@ let API$i = class API extends API$v {
|
|
|
13525
13525
|
});
|
|
13526
13526
|
attachServerVolume = request => this.client.fetch({
|
|
13527
13527
|
body: JSON.stringify(marshalAttachServerVolumeRequest(request, this.client.settings)),
|
|
13528
|
-
headers: jsonContentHeaders$
|
|
13528
|
+
headers: jsonContentHeaders$i,
|
|
13529
13529
|
method: 'POST',
|
|
13530
13530
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/attach-volume`
|
|
13531
13531
|
}, unmarshalAttachServerVolumeResponse);
|
|
13532
13532
|
detachServerVolume = request => this.client.fetch({
|
|
13533
13533
|
body: JSON.stringify(marshalDetachServerVolumeRequest(request, this.client.settings)),
|
|
13534
|
-
headers: jsonContentHeaders$
|
|
13534
|
+
headers: jsonContentHeaders$i,
|
|
13535
13535
|
method: 'POST',
|
|
13536
13536
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/detach-volume`
|
|
13537
13537
|
}, unmarshalDetachServerVolumeResponse);
|
|
@@ -13569,13 +13569,13 @@ let API$i = class API extends API$v {
|
|
|
13569
13569
|
*/
|
|
13570
13570
|
createImage = request => this.client.fetch({
|
|
13571
13571
|
body: JSON.stringify(marshalCreateImageRequest(request, this.client.settings)),
|
|
13572
|
-
headers: jsonContentHeaders$
|
|
13572
|
+
headers: jsonContentHeaders$i,
|
|
13573
13573
|
method: 'POST',
|
|
13574
13574
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/images`
|
|
13575
13575
|
}, unmarshalCreateImageResponse);
|
|
13576
13576
|
_setImage = request => this.client.fetch({
|
|
13577
13577
|
body: JSON.stringify(marshalSetImageRequest(request, this.client.settings)),
|
|
13578
|
-
headers: jsonContentHeaders$
|
|
13578
|
+
headers: jsonContentHeaders$i,
|
|
13579
13579
|
method: 'PUT',
|
|
13580
13580
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/images/${validatePathParam('id', request.id)}`
|
|
13581
13581
|
}, unmarshalSetImageResponse);
|
|
@@ -13588,7 +13588,7 @@ let API$i = class API extends API$v {
|
|
|
13588
13588
|
*/
|
|
13589
13589
|
updateImage = request => this.client.fetch({
|
|
13590
13590
|
body: JSON.stringify(marshalUpdateImageRequest$1(request, this.client.settings)),
|
|
13591
|
-
headers: jsonContentHeaders$
|
|
13591
|
+
headers: jsonContentHeaders$i,
|
|
13592
13592
|
method: 'PATCH',
|
|
13593
13593
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/images/${validatePathParam('imageId', request.imageId)}`
|
|
13594
13594
|
}, unmarshalUpdateImageResponse);
|
|
@@ -13627,7 +13627,7 @@ let API$i = class API extends API$v {
|
|
|
13627
13627
|
*/
|
|
13628
13628
|
createSnapshot = (request = {}) => this.client.fetch({
|
|
13629
13629
|
body: JSON.stringify(marshalCreateSnapshotRequest$1(request, this.client.settings)),
|
|
13630
|
-
headers: jsonContentHeaders$
|
|
13630
|
+
headers: jsonContentHeaders$i,
|
|
13631
13631
|
method: 'POST',
|
|
13632
13632
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/snapshots`
|
|
13633
13633
|
}, unmarshalCreateSnapshotResponse);
|
|
@@ -13644,7 +13644,7 @@ let API$i = class API extends API$v {
|
|
|
13644
13644
|
}, unmarshalGetSnapshotResponse);
|
|
13645
13645
|
_setSnapshot = request => this.client.fetch({
|
|
13646
13646
|
body: JSON.stringify(marshalSetSnapshotRequest(request, this.client.settings)),
|
|
13647
|
-
headers: jsonContentHeaders$
|
|
13647
|
+
headers: jsonContentHeaders$i,
|
|
13648
13648
|
method: 'PUT',
|
|
13649
13649
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/snapshots/${validatePathParam('snapshotId', request.snapshotId)}`
|
|
13650
13650
|
}, unmarshalSetSnapshotResponse);
|
|
@@ -13657,7 +13657,7 @@ let API$i = class API extends API$v {
|
|
|
13657
13657
|
*/
|
|
13658
13658
|
updateSnapshot = request => this.client.fetch({
|
|
13659
13659
|
body: JSON.stringify(marshalUpdateSnapshotRequest$1(request, this.client.settings)),
|
|
13660
|
-
headers: jsonContentHeaders$
|
|
13660
|
+
headers: jsonContentHeaders$i,
|
|
13661
13661
|
method: 'PATCH',
|
|
13662
13662
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/snapshots/${validatePathParam('snapshotId', request.snapshotId)}`
|
|
13663
13663
|
}, unmarshalUpdateSnapshotResponse);
|
|
@@ -13681,7 +13681,7 @@ let API$i = class API extends API$v {
|
|
|
13681
13681
|
*/
|
|
13682
13682
|
exportSnapshot = request => this.client.fetch({
|
|
13683
13683
|
body: JSON.stringify(marshalExportSnapshotRequest(request, this.client.settings)),
|
|
13684
|
-
headers: jsonContentHeaders$
|
|
13684
|
+
headers: jsonContentHeaders$i,
|
|
13685
13685
|
method: 'POST',
|
|
13686
13686
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/snapshots/${validatePathParam('snapshotId', request.snapshotId)}/export`
|
|
13687
13687
|
}, unmarshalExportSnapshotResponse);
|
|
@@ -13709,7 +13709,7 @@ let API$i = class API extends API$v {
|
|
|
13709
13709
|
*/
|
|
13710
13710
|
createVolume = (request = {}) => this.client.fetch({
|
|
13711
13711
|
body: JSON.stringify(marshalCreateVolumeRequest$1(request, this.client.settings)),
|
|
13712
|
-
headers: jsonContentHeaders$
|
|
13712
|
+
headers: jsonContentHeaders$i,
|
|
13713
13713
|
method: 'POST',
|
|
13714
13714
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/volumes`
|
|
13715
13715
|
}, unmarshalCreateVolumeResponse);
|
|
@@ -13735,7 +13735,7 @@ let API$i = class API extends API$v {
|
|
|
13735
13735
|
*/
|
|
13736
13736
|
updateVolume = request => this.client.fetch({
|
|
13737
13737
|
body: JSON.stringify(marshalUpdateVolumeRequest$1(request, this.client.settings)),
|
|
13738
|
-
headers: jsonContentHeaders$
|
|
13738
|
+
headers: jsonContentHeaders$i,
|
|
13739
13739
|
method: 'PATCH',
|
|
13740
13740
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/volumes/${validatePathParam('volumeId', request.volumeId)}`
|
|
13741
13741
|
}, unmarshalUpdateVolumeResponse);
|
|
@@ -13772,7 +13772,7 @@ let API$i = class API extends API$v {
|
|
|
13772
13772
|
*/
|
|
13773
13773
|
createSecurityGroup = request => this.client.fetch({
|
|
13774
13774
|
body: JSON.stringify(marshalCreateSecurityGroupRequest(request, this.client.settings)),
|
|
13775
|
-
headers: jsonContentHeaders$
|
|
13775
|
+
headers: jsonContentHeaders$i,
|
|
13776
13776
|
method: 'POST',
|
|
13777
13777
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/security_groups`
|
|
13778
13778
|
}, unmarshalCreateSecurityGroupResponse);
|
|
@@ -13800,7 +13800,7 @@ let API$i = class API extends API$v {
|
|
|
13800
13800
|
});
|
|
13801
13801
|
_setSecurityGroup = request => this.client.fetch({
|
|
13802
13802
|
body: JSON.stringify(marshalSetSecurityGroupRequest(request, this.client.settings)),
|
|
13803
|
-
headers: jsonContentHeaders$
|
|
13803
|
+
headers: jsonContentHeaders$i,
|
|
13804
13804
|
method: 'PUT',
|
|
13805
13805
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/security_groups/${validatePathParam('id', request.id)}`
|
|
13806
13806
|
}, unmarshalSetSecurityGroupResponse);
|
|
@@ -13813,7 +13813,7 @@ let API$i = class API extends API$v {
|
|
|
13813
13813
|
*/
|
|
13814
13814
|
updateSecurityGroup = request => this.client.fetch({
|
|
13815
13815
|
body: JSON.stringify(marshalUpdateSecurityGroupRequest(request, this.client.settings)),
|
|
13816
|
-
headers: jsonContentHeaders$
|
|
13816
|
+
headers: jsonContentHeaders$i,
|
|
13817
13817
|
method: 'PATCH',
|
|
13818
13818
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/security_groups/${validatePathParam('securityGroupId', request.securityGroupId)}`
|
|
13819
13819
|
}, unmarshalUpdateSecurityGroupResponse);
|
|
@@ -13851,7 +13851,7 @@ let API$i = class API extends API$v {
|
|
|
13851
13851
|
*/
|
|
13852
13852
|
createSecurityGroupRule = request => this.client.fetch({
|
|
13853
13853
|
body: JSON.stringify(marshalCreateSecurityGroupRuleRequest(request, this.client.settings)),
|
|
13854
|
-
headers: jsonContentHeaders$
|
|
13854
|
+
headers: jsonContentHeaders$i,
|
|
13855
13855
|
method: 'POST',
|
|
13856
13856
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/security_groups/${validatePathParam('securityGroupId', request.securityGroupId)}/rules`
|
|
13857
13857
|
}, unmarshalCreateSecurityGroupRuleResponse);
|
|
@@ -13867,7 +13867,7 @@ let API$i = class API extends API$v {
|
|
|
13867
13867
|
*/
|
|
13868
13868
|
setSecurityGroupRules = request => this.client.fetch({
|
|
13869
13869
|
body: JSON.stringify(marshalSetSecurityGroupRulesRequest(request, this.client.settings)),
|
|
13870
|
-
headers: jsonContentHeaders$
|
|
13870
|
+
headers: jsonContentHeaders$i,
|
|
13871
13871
|
method: 'PUT',
|
|
13872
13872
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/security_groups/${validatePathParam('securityGroupId', request.securityGroupId)}/rules`
|
|
13873
13873
|
}, unmarshalSetSecurityGroupRulesResponse);
|
|
@@ -13894,7 +13894,7 @@ let API$i = class API extends API$v {
|
|
|
13894
13894
|
}, unmarshalGetSecurityGroupRuleResponse);
|
|
13895
13895
|
_setSecurityGroupRule = request => this.client.fetch({
|
|
13896
13896
|
body: JSON.stringify(marshalSetSecurityGroupRuleRequest(request, this.client.settings)),
|
|
13897
|
-
headers: jsonContentHeaders$
|
|
13897
|
+
headers: jsonContentHeaders$i,
|
|
13898
13898
|
method: 'PUT',
|
|
13899
13899
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/security_groups/${validatePathParam('securityGroupId', request.securityGroupId)}/rules/${validatePathParam('securityGroupRuleId', request.securityGroupRuleId)}`
|
|
13900
13900
|
}, unmarshalSetSecurityGroupRuleResponse);
|
|
@@ -13908,7 +13908,7 @@ let API$i = class API extends API$v {
|
|
|
13908
13908
|
*/
|
|
13909
13909
|
updateSecurityGroupRule = request => this.client.fetch({
|
|
13910
13910
|
body: JSON.stringify(marshalUpdateSecurityGroupRuleRequest(request, this.client.settings)),
|
|
13911
|
-
headers: jsonContentHeaders$
|
|
13911
|
+
headers: jsonContentHeaders$i,
|
|
13912
13912
|
method: 'PATCH',
|
|
13913
13913
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/security_groups/${validatePathParam('securityGroupId', request.securityGroupId)}/rules/${validatePathParam('securityGroupRuleId', request.securityGroupRuleId)}`
|
|
13914
13914
|
}, unmarshalUpdateSecurityGroupRuleResponse);
|
|
@@ -13936,7 +13936,7 @@ let API$i = class API extends API$v {
|
|
|
13936
13936
|
*/
|
|
13937
13937
|
createPlacementGroup = (request = {}) => this.client.fetch({
|
|
13938
13938
|
body: JSON.stringify(marshalCreatePlacementGroupRequest(request, this.client.settings)),
|
|
13939
|
-
headers: jsonContentHeaders$
|
|
13939
|
+
headers: jsonContentHeaders$i,
|
|
13940
13940
|
method: 'POST',
|
|
13941
13941
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/placement_groups`
|
|
13942
13942
|
}, unmarshalCreatePlacementGroupResponse);
|
|
@@ -13960,7 +13960,7 @@ let API$i = class API extends API$v {
|
|
|
13960
13960
|
*/
|
|
13961
13961
|
setPlacementGroup = request => this.client.fetch({
|
|
13962
13962
|
body: JSON.stringify(marshalSetPlacementGroupRequest(request, this.client.settings)),
|
|
13963
|
-
headers: jsonContentHeaders$
|
|
13963
|
+
headers: jsonContentHeaders$i,
|
|
13964
13964
|
method: 'PUT',
|
|
13965
13965
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/placement_groups/${validatePathParam('placementGroupId', request.placementGroupId)}`
|
|
13966
13966
|
}, unmarshalSetPlacementGroupResponse);
|
|
@@ -13974,7 +13974,7 @@ let API$i = class API extends API$v {
|
|
|
13974
13974
|
*/
|
|
13975
13975
|
updatePlacementGroup = request => this.client.fetch({
|
|
13976
13976
|
body: JSON.stringify(marshalUpdatePlacementGroupRequest(request, this.client.settings)),
|
|
13977
|
-
headers: jsonContentHeaders$
|
|
13977
|
+
headers: jsonContentHeaders$i,
|
|
13978
13978
|
method: 'PATCH',
|
|
13979
13979
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/placement_groups/${validatePathParam('placementGroupId', request.placementGroupId)}`
|
|
13980
13980
|
}, unmarshalUpdatePlacementGroupResponse);
|
|
@@ -14010,7 +14010,7 @@ let API$i = class API extends API$v {
|
|
|
14010
14010
|
*/
|
|
14011
14011
|
setPlacementGroupServers = request => this.client.fetch({
|
|
14012
14012
|
body: JSON.stringify(marshalSetPlacementGroupServersRequest(request, this.client.settings)),
|
|
14013
|
-
headers: jsonContentHeaders$
|
|
14013
|
+
headers: jsonContentHeaders$i,
|
|
14014
14014
|
method: 'PUT',
|
|
14015
14015
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/placement_groups/${validatePathParam('placementGroupId', request.placementGroupId)}/servers`
|
|
14016
14016
|
}, unmarshalSetPlacementGroupServersResponse);
|
|
@@ -14024,7 +14024,7 @@ let API$i = class API extends API$v {
|
|
|
14024
14024
|
*/
|
|
14025
14025
|
updatePlacementGroupServers = request => this.client.fetch({
|
|
14026
14026
|
body: JSON.stringify(marshalUpdatePlacementGroupServersRequest(request, this.client.settings)),
|
|
14027
|
-
headers: jsonContentHeaders$
|
|
14027
|
+
headers: jsonContentHeaders$i,
|
|
14028
14028
|
method: 'PATCH',
|
|
14029
14029
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/placement_groups/${validatePathParam('placementGroupId', request.placementGroupId)}/servers`
|
|
14030
14030
|
}, unmarshalUpdatePlacementGroupServersResponse);
|
|
@@ -14051,7 +14051,7 @@ let API$i = class API extends API$v {
|
|
|
14051
14051
|
*/
|
|
14052
14052
|
createIp = (request = {}) => this.client.fetch({
|
|
14053
14053
|
body: JSON.stringify(marshalCreateIpRequest$1(request, this.client.settings)),
|
|
14054
|
-
headers: jsonContentHeaders$
|
|
14054
|
+
headers: jsonContentHeaders$i,
|
|
14055
14055
|
method: 'POST',
|
|
14056
14056
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/ips`
|
|
14057
14057
|
}, unmarshalCreateIpResponse);
|
|
@@ -14076,7 +14076,7 @@ let API$i = class API extends API$v {
|
|
|
14076
14076
|
*/
|
|
14077
14077
|
updateIp = request => this.client.fetch({
|
|
14078
14078
|
body: JSON.stringify(marshalUpdateIpRequest$1(request, this.client.settings)),
|
|
14079
|
-
headers: jsonContentHeaders$
|
|
14079
|
+
headers: jsonContentHeaders$i,
|
|
14080
14080
|
method: 'PATCH',
|
|
14081
14081
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/ips/${validatePathParam('ip', request.ip)}`
|
|
14082
14082
|
}, unmarshalUpdateIpResponse);
|
|
@@ -14112,7 +14112,7 @@ let API$i = class API extends API$v {
|
|
|
14112
14112
|
*/
|
|
14113
14113
|
createPrivateNIC = request => this.client.fetch({
|
|
14114
14114
|
body: JSON.stringify(marshalCreatePrivateNICRequest(request, this.client.settings)),
|
|
14115
|
-
headers: jsonContentHeaders$
|
|
14115
|
+
headers: jsonContentHeaders$i,
|
|
14116
14116
|
method: 'POST',
|
|
14117
14117
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/private_nics`
|
|
14118
14118
|
}, unmarshalCreatePrivateNICResponse);
|
|
@@ -14137,7 +14137,7 @@ let API$i = class API extends API$v {
|
|
|
14137
14137
|
*/
|
|
14138
14138
|
updatePrivateNIC = request => this.client.fetch({
|
|
14139
14139
|
body: JSON.stringify(marshalUpdatePrivateNICRequest(request, this.client.settings)),
|
|
14140
|
-
headers: jsonContentHeaders$
|
|
14140
|
+
headers: jsonContentHeaders$i,
|
|
14141
14141
|
method: 'PATCH',
|
|
14142
14142
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/private_nics/${validatePathParam('privateNicId', request.privateNicId)}`
|
|
14143
14143
|
}, unmarshalPrivateNIC);
|
|
@@ -14197,7 +14197,7 @@ let API$i = class API extends API$v {
|
|
|
14197
14197
|
*/
|
|
14198
14198
|
planBlockMigration = (request = {}) => this.client.fetch({
|
|
14199
14199
|
body: JSON.stringify(marshalPlanBlockMigrationRequest(request, this.client.settings)),
|
|
14200
|
-
headers: jsonContentHeaders$
|
|
14200
|
+
headers: jsonContentHeaders$i,
|
|
14201
14201
|
method: 'POST',
|
|
14202
14202
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/block-migration/plan`
|
|
14203
14203
|
}, unmarshalMigrationPlan);
|
|
@@ -14212,7 +14212,7 @@ let API$i = class API extends API$v {
|
|
|
14212
14212
|
*/
|
|
14213
14213
|
applyBlockMigration = request => this.client.fetch({
|
|
14214
14214
|
body: JSON.stringify(marshalApplyBlockMigrationRequest(request, this.client.settings)),
|
|
14215
|
-
headers: jsonContentHeaders$
|
|
14215
|
+
headers: jsonContentHeaders$i,
|
|
14216
14216
|
method: 'POST',
|
|
14217
14217
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/block-migration/apply`
|
|
14218
14218
|
});
|
|
@@ -14255,7 +14255,7 @@ const validateNotUndefined = obj => {
|
|
|
14255
14255
|
if (obj === undefined) throw new TypeError(`object was found undefined`);
|
|
14256
14256
|
return obj;
|
|
14257
14257
|
};
|
|
14258
|
-
class InstanceV1UtilsAPI extends API$
|
|
14258
|
+
class InstanceV1UtilsAPI extends API$j {
|
|
14259
14259
|
/**
|
|
14260
14260
|
* Waits for {@link Image} to be in a final state.
|
|
14261
14261
|
*
|
|
@@ -14488,7 +14488,7 @@ class InstanceV1UtilsAPI extends API$i {
|
|
|
14488
14488
|
});
|
|
14489
14489
|
}
|
|
14490
14490
|
|
|
14491
|
-
var index$
|
|
14491
|
+
var index$l = /*#__PURE__*/Object.freeze({
|
|
14492
14492
|
__proto__: null,
|
|
14493
14493
|
API: InstanceV1UtilsAPI,
|
|
14494
14494
|
IMAGE_TRANSIENT_STATUSES: IMAGE_TRANSIENT_STATUSES$1,
|
|
@@ -14503,9 +14503,9 @@ var index$k = /*#__PURE__*/Object.freeze({
|
|
|
14503
14503
|
VOLUME_TRANSIENT_STATUSES: VOLUME_TRANSIENT_STATUSES
|
|
14504
14504
|
});
|
|
14505
14505
|
|
|
14506
|
-
var index$
|
|
14506
|
+
var index$k = /*#__PURE__*/Object.freeze({
|
|
14507
14507
|
__proto__: null,
|
|
14508
|
-
v1: index$
|
|
14508
|
+
v1: index$l
|
|
14509
14509
|
});
|
|
14510
14510
|
|
|
14511
14511
|
// This file was automatically generated. DO NOT EDIT.
|
|
@@ -14949,7 +14949,7 @@ const marshalUpdateRouteRequest$1 = (request, defaults) => ({
|
|
|
14949
14949
|
|
|
14950
14950
|
// This file was automatically generated. DO NOT EDIT.
|
|
14951
14951
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
14952
|
-
const jsonContentHeaders$
|
|
14952
|
+
const jsonContentHeaders$h = {
|
|
14953
14953
|
'Content-Type': 'application/json; charset=utf-8'
|
|
14954
14954
|
};
|
|
14955
14955
|
|
|
@@ -14958,7 +14958,7 @@ const jsonContentHeaders$g = {
|
|
|
14958
14958
|
*
|
|
14959
14959
|
* This API allows you to manage IoT hubs and devices.
|
|
14960
14960
|
*/
|
|
14961
|
-
let API$
|
|
14961
|
+
let API$i = class API extends API$w {
|
|
14962
14962
|
/** Lists the available regions of the API. */
|
|
14963
14963
|
static LOCALITIES = ['fr-par'];
|
|
14964
14964
|
pageOfListHubs = (request = {}) => this.client.fetch({
|
|
@@ -14986,7 +14986,7 @@ let API$h = class API extends API$v {
|
|
|
14986
14986
|
*/
|
|
14987
14987
|
createHub = request => this.client.fetch({
|
|
14988
14988
|
body: JSON.stringify(marshalCreateHubRequest(request, this.client.settings)),
|
|
14989
|
-
headers: jsonContentHeaders$
|
|
14989
|
+
headers: jsonContentHeaders$h,
|
|
14990
14990
|
method: 'POST',
|
|
14991
14991
|
path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/hubs`
|
|
14992
14992
|
}, unmarshalHub);
|
|
@@ -15022,7 +15022,7 @@ let API$h = class API extends API$v {
|
|
|
15022
15022
|
*/
|
|
15023
15023
|
updateHub = request => this.client.fetch({
|
|
15024
15024
|
body: JSON.stringify(marshalUpdateHubRequest(request, this.client.settings)),
|
|
15025
|
-
headers: jsonContentHeaders$
|
|
15025
|
+
headers: jsonContentHeaders$h,
|
|
15026
15026
|
method: 'PATCH',
|
|
15027
15027
|
path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/hubs/${validatePathParam('hubId', request.hubId)}`
|
|
15028
15028
|
}, unmarshalHub);
|
|
@@ -15035,7 +15035,7 @@ let API$h = class API extends API$v {
|
|
|
15035
15035
|
*/
|
|
15036
15036
|
enableHub = request => this.client.fetch({
|
|
15037
15037
|
body: '{}',
|
|
15038
|
-
headers: jsonContentHeaders$
|
|
15038
|
+
headers: jsonContentHeaders$h,
|
|
15039
15039
|
method: 'POST',
|
|
15040
15040
|
path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/hubs/${validatePathParam('hubId', request.hubId)}/enable`
|
|
15041
15041
|
}, unmarshalHub);
|
|
@@ -15048,7 +15048,7 @@ let API$h = class API extends API$v {
|
|
|
15048
15048
|
*/
|
|
15049
15049
|
disableHub = request => this.client.fetch({
|
|
15050
15050
|
body: '{}',
|
|
15051
|
-
headers: jsonContentHeaders$
|
|
15051
|
+
headers: jsonContentHeaders$h,
|
|
15052
15052
|
method: 'POST',
|
|
15053
15053
|
path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/hubs/${validatePathParam('hubId', request.hubId)}/disable`
|
|
15054
15054
|
}, unmarshalHub);
|
|
@@ -15088,7 +15088,7 @@ let API$h = class API extends API$v {
|
|
|
15088
15088
|
*/
|
|
15089
15089
|
setHubCA = request => this.client.fetch({
|
|
15090
15090
|
body: JSON.stringify(marshalSetHubCARequest(request, this.client.settings)),
|
|
15091
|
-
headers: jsonContentHeaders$
|
|
15091
|
+
headers: jsonContentHeaders$h,
|
|
15092
15092
|
method: 'POST',
|
|
15093
15093
|
path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/hubs/${validatePathParam('hubId', request.hubId)}/ca`
|
|
15094
15094
|
}, unmarshalHub);
|
|
@@ -15128,7 +15128,7 @@ let API$h = class API extends API$v {
|
|
|
15128
15128
|
*/
|
|
15129
15129
|
createDevice = request => this.client.fetch({
|
|
15130
15130
|
body: JSON.stringify(marshalCreateDeviceRequest(request, this.client.settings)),
|
|
15131
|
-
headers: jsonContentHeaders$
|
|
15131
|
+
headers: jsonContentHeaders$h,
|
|
15132
15132
|
method: 'POST',
|
|
15133
15133
|
path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/devices`
|
|
15134
15134
|
}, unmarshalCreateDeviceResponse);
|
|
@@ -15155,7 +15155,7 @@ let API$h = class API extends API$v {
|
|
|
15155
15155
|
*/
|
|
15156
15156
|
updateDevice = request => this.client.fetch({
|
|
15157
15157
|
body: JSON.stringify(marshalUpdateDeviceRequest(request, this.client.settings)),
|
|
15158
|
-
headers: jsonContentHeaders$
|
|
15158
|
+
headers: jsonContentHeaders$h,
|
|
15159
15159
|
method: 'PATCH',
|
|
15160
15160
|
path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/devices/${validatePathParam('deviceId', request.deviceId)}`
|
|
15161
15161
|
}, unmarshalDevice);
|
|
@@ -15168,7 +15168,7 @@ let API$h = class API extends API$v {
|
|
|
15168
15168
|
*/
|
|
15169
15169
|
enableDevice = request => this.client.fetch({
|
|
15170
15170
|
body: '{}',
|
|
15171
|
-
headers: jsonContentHeaders$
|
|
15171
|
+
headers: jsonContentHeaders$h,
|
|
15172
15172
|
method: 'POST',
|
|
15173
15173
|
path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/devices/${validatePathParam('deviceId', request.deviceId)}/enable`
|
|
15174
15174
|
}, unmarshalDevice);
|
|
@@ -15181,7 +15181,7 @@ let API$h = class API extends API$v {
|
|
|
15181
15181
|
*/
|
|
15182
15182
|
disableDevice = request => this.client.fetch({
|
|
15183
15183
|
body: '{}',
|
|
15184
|
-
headers: jsonContentHeaders$
|
|
15184
|
+
headers: jsonContentHeaders$h,
|
|
15185
15185
|
method: 'POST',
|
|
15186
15186
|
path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/devices/${validatePathParam('deviceId', request.deviceId)}/disable`
|
|
15187
15187
|
}, unmarshalDevice);
|
|
@@ -15195,7 +15195,7 @@ let API$h = class API extends API$v {
|
|
|
15195
15195
|
*/
|
|
15196
15196
|
renewDeviceCertificate = request => this.client.fetch({
|
|
15197
15197
|
body: '{}',
|
|
15198
|
-
headers: jsonContentHeaders$
|
|
15198
|
+
headers: jsonContentHeaders$h,
|
|
15199
15199
|
method: 'POST',
|
|
15200
15200
|
path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/devices/${validatePathParam('deviceId', request.deviceId)}/renew-certificate`
|
|
15201
15201
|
}, unmarshalRenewDeviceCertificateResponse);
|
|
@@ -15209,7 +15209,7 @@ let API$h = class API extends API$v {
|
|
|
15209
15209
|
*/
|
|
15210
15210
|
setDeviceCertificate = request => this.client.fetch({
|
|
15211
15211
|
body: JSON.stringify(marshalSetDeviceCertificateRequest(request, this.client.settings)),
|
|
15212
|
-
headers: jsonContentHeaders$
|
|
15212
|
+
headers: jsonContentHeaders$h,
|
|
15213
15213
|
method: 'PUT',
|
|
15214
15214
|
path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/devices/${validatePathParam('deviceId', request.deviceId)}/certificate`
|
|
15215
15215
|
}, unmarshalSetDeviceCertificateResponse);
|
|
@@ -15284,7 +15284,7 @@ let API$h = class API extends API$v {
|
|
|
15284
15284
|
*/
|
|
15285
15285
|
createRoute = request => this.client.fetch({
|
|
15286
15286
|
body: JSON.stringify(marshalCreateRouteRequest$1(request, this.client.settings)),
|
|
15287
|
-
headers: jsonContentHeaders$
|
|
15287
|
+
headers: jsonContentHeaders$h,
|
|
15288
15288
|
method: 'POST',
|
|
15289
15289
|
path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/routes`
|
|
15290
15290
|
}, unmarshalRoute$1);
|
|
@@ -15298,7 +15298,7 @@ let API$h = class API extends API$v {
|
|
|
15298
15298
|
*/
|
|
15299
15299
|
updateRoute = request => this.client.fetch({
|
|
15300
15300
|
body: JSON.stringify(marshalUpdateRouteRequest$1(request, this.client.settings)),
|
|
15301
|
-
headers: jsonContentHeaders$
|
|
15301
|
+
headers: jsonContentHeaders$h,
|
|
15302
15302
|
method: 'PATCH',
|
|
15303
15303
|
path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/routes/${validatePathParam('routeId', request.routeId)}`
|
|
15304
15304
|
}, unmarshalRoute$1);
|
|
@@ -15350,7 +15350,7 @@ let API$h = class API extends API$v {
|
|
|
15350
15350
|
*/
|
|
15351
15351
|
createNetwork = request => this.client.fetch({
|
|
15352
15352
|
body: JSON.stringify(marshalCreateNetworkRequest(request, this.client.settings)),
|
|
15353
|
-
headers: jsonContentHeaders$
|
|
15353
|
+
headers: jsonContentHeaders$h,
|
|
15354
15354
|
method: 'POST',
|
|
15355
15355
|
path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/networks`
|
|
15356
15356
|
}, unmarshalCreateNetworkResponse);
|
|
@@ -15398,7 +15398,7 @@ let API$h = class API extends API$v {
|
|
|
15398
15398
|
*/
|
|
15399
15399
|
putTwinDocument = request => this.client.fetch({
|
|
15400
15400
|
body: JSON.stringify(marshalPutTwinDocumentRequest(request, this.client.settings)),
|
|
15401
|
-
headers: jsonContentHeaders$
|
|
15401
|
+
headers: jsonContentHeaders$h,
|
|
15402
15402
|
method: 'PUT',
|
|
15403
15403
|
path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/twins/${validatePathParam('twinId', request.twinId)}/documents/${validatePathParam('documentName', request.documentName)}`
|
|
15404
15404
|
}, unmarshalTwinDocument);
|
|
@@ -15411,7 +15411,7 @@ let API$h = class API extends API$v {
|
|
|
15411
15411
|
*/
|
|
15412
15412
|
patchTwinDocument = request => this.client.fetch({
|
|
15413
15413
|
body: JSON.stringify(marshalPatchTwinDocumentRequest(request, this.client.settings)),
|
|
15414
|
-
headers: jsonContentHeaders$
|
|
15414
|
+
headers: jsonContentHeaders$h,
|
|
15415
15415
|
method: 'PATCH',
|
|
15416
15416
|
path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/twins/${validatePathParam('twinId', request.twinId)}/documents/${validatePathParam('documentName', request.documentName)}`
|
|
15417
15417
|
}, unmarshalTwinDocument);
|
|
@@ -15451,15 +15451,15 @@ let API$h = class API extends API$v {
|
|
|
15451
15451
|
// This file was automatically generated. DO NOT EDIT.
|
|
15452
15452
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
15453
15453
|
|
|
15454
|
-
var index_gen$
|
|
15454
|
+
var index_gen$i = /*#__PURE__*/Object.freeze({
|
|
15455
15455
|
__proto__: null,
|
|
15456
|
-
API: API$
|
|
15456
|
+
API: API$i,
|
|
15457
15457
|
HUB_TRANSIENT_STATUSES: HUB_TRANSIENT_STATUSES
|
|
15458
15458
|
});
|
|
15459
15459
|
|
|
15460
|
-
var index$
|
|
15460
|
+
var index$j = /*#__PURE__*/Object.freeze({
|
|
15461
15461
|
__proto__: null,
|
|
15462
|
-
v1: index_gen$
|
|
15462
|
+
v1: index_gen$i
|
|
15463
15463
|
});
|
|
15464
15464
|
|
|
15465
15465
|
// This file was automatically generated. DO NOT EDIT.
|
|
@@ -15537,7 +15537,7 @@ const marshalUpdateIPRequest$1 = (request, defaults) => ({
|
|
|
15537
15537
|
|
|
15538
15538
|
// This file was automatically generated. DO NOT EDIT.
|
|
15539
15539
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
15540
|
-
const jsonContentHeaders$
|
|
15540
|
+
const jsonContentHeaders$g = {
|
|
15541
15541
|
'Content-Type': 'application/json; charset=utf-8'
|
|
15542
15542
|
};
|
|
15543
15543
|
|
|
@@ -15547,7 +15547,7 @@ const jsonContentHeaders$f = {
|
|
|
15547
15547
|
* This API allows you to manage IP addresses with Scaleway's IP Address
|
|
15548
15548
|
* Management tool.
|
|
15549
15549
|
*/
|
|
15550
|
-
let API$
|
|
15550
|
+
let API$h = class API extends API$w {
|
|
15551
15551
|
/** Lists the available regions of the API. */
|
|
15552
15552
|
static LOCALITIES = ['fr-par', 'nl-ams', 'pl-waw'];
|
|
15553
15553
|
|
|
@@ -15560,7 +15560,7 @@ let API$g = class API extends API$v {
|
|
|
15560
15560
|
*/
|
|
15561
15561
|
bookIP = request => this.client.fetch({
|
|
15562
15562
|
body: JSON.stringify(marshalBookIPRequest(request, this.client.settings)),
|
|
15563
|
-
headers: jsonContentHeaders$
|
|
15563
|
+
headers: jsonContentHeaders$g,
|
|
15564
15564
|
method: 'POST',
|
|
15565
15565
|
path: `/ipam/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/ips`
|
|
15566
15566
|
}, unmarshalIP$1);
|
|
@@ -15573,7 +15573,7 @@ let API$g = class API extends API$v {
|
|
|
15573
15573
|
*/
|
|
15574
15574
|
releaseIP = request => this.client.fetch({
|
|
15575
15575
|
body: '{}',
|
|
15576
|
-
headers: jsonContentHeaders$
|
|
15576
|
+
headers: jsonContentHeaders$g,
|
|
15577
15577
|
method: 'DELETE',
|
|
15578
15578
|
path: `/ipam/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/ips/${validatePathParam('ipId', request.ipId)}`
|
|
15579
15579
|
});
|
|
@@ -15597,7 +15597,7 @@ let API$g = class API extends API$v {
|
|
|
15597
15597
|
*/
|
|
15598
15598
|
updateIP = request => this.client.fetch({
|
|
15599
15599
|
body: JSON.stringify(marshalUpdateIPRequest$1(request, this.client.settings)),
|
|
15600
|
-
headers: jsonContentHeaders$
|
|
15600
|
+
headers: jsonContentHeaders$g,
|
|
15601
15601
|
method: 'PATCH',
|
|
15602
15602
|
path: `/ipam/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/ips/${validatePathParam('ipId', request.ipId)}`
|
|
15603
15603
|
}, unmarshalIP$1);
|
|
@@ -15636,7 +15636,7 @@ const ListIPsRequest = {
|
|
|
15636
15636
|
}
|
|
15637
15637
|
};
|
|
15638
15638
|
|
|
15639
|
-
var validationRules_gen$
|
|
15639
|
+
var validationRules_gen$6 = /*#__PURE__*/Object.freeze({
|
|
15640
15640
|
__proto__: null,
|
|
15641
15641
|
ListIPsRequest: ListIPsRequest
|
|
15642
15642
|
});
|
|
@@ -15644,15 +15644,15 @@ var validationRules_gen$5 = /*#__PURE__*/Object.freeze({
|
|
|
15644
15644
|
// This file was automatically generated. DO NOT EDIT.
|
|
15645
15645
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
15646
15646
|
|
|
15647
|
-
var index_gen$
|
|
15647
|
+
var index_gen$h = /*#__PURE__*/Object.freeze({
|
|
15648
15648
|
__proto__: null,
|
|
15649
|
-
API: API$
|
|
15650
|
-
ValidationRules: validationRules_gen$
|
|
15649
|
+
API: API$h,
|
|
15650
|
+
ValidationRules: validationRules_gen$6
|
|
15651
15651
|
});
|
|
15652
15652
|
|
|
15653
|
-
var index$
|
|
15653
|
+
var index$i = /*#__PURE__*/Object.freeze({
|
|
15654
15654
|
__proto__: null,
|
|
15655
|
-
v1: index_gen$
|
|
15655
|
+
v1: index_gen$h
|
|
15656
15656
|
});
|
|
15657
15657
|
|
|
15658
15658
|
// This file was automatically generated. DO NOT EDIT.
|
|
@@ -15835,12 +15835,12 @@ const marshalUpdateVolumeRequest = (request, defaults) => ({
|
|
|
15835
15835
|
|
|
15836
15836
|
// This file was automatically generated. DO NOT EDIT.
|
|
15837
15837
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
15838
|
-
const jsonContentHeaders$
|
|
15838
|
+
const jsonContentHeaders$f = {
|
|
15839
15839
|
'Content-Type': 'application/json; charset=utf-8'
|
|
15840
15840
|
};
|
|
15841
15841
|
|
|
15842
15842
|
/** IPFS Pinning service API. */
|
|
15843
|
-
let API$
|
|
15843
|
+
let API$g = class API extends API$w {
|
|
15844
15844
|
/** Lists the available regions of the API. */
|
|
15845
15845
|
static LOCALITIES = ['fr-par', 'nl-ams', 'pl-waw'];
|
|
15846
15846
|
|
|
@@ -15856,7 +15856,7 @@ let API$f = class API extends API$v {
|
|
|
15856
15856
|
*/
|
|
15857
15857
|
createVolume = request => this.client.fetch({
|
|
15858
15858
|
body: JSON.stringify(marshalCreateVolumeRequest(request, this.client.settings)),
|
|
15859
|
-
headers: jsonContentHeaders$
|
|
15859
|
+
headers: jsonContentHeaders$f,
|
|
15860
15860
|
method: 'POST',
|
|
15861
15861
|
path: `/ipfs/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/volumes`
|
|
15862
15862
|
}, unmarshalVolume$1);
|
|
@@ -15895,7 +15895,7 @@ let API$f = class API extends API$v {
|
|
|
15895
15895
|
*/
|
|
15896
15896
|
updateVolume = request => this.client.fetch({
|
|
15897
15897
|
body: JSON.stringify(marshalUpdateVolumeRequest(request, this.client.settings)),
|
|
15898
|
-
headers: jsonContentHeaders$
|
|
15898
|
+
headers: jsonContentHeaders$f,
|
|
15899
15899
|
method: 'PATCH',
|
|
15900
15900
|
path: `/ipfs/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/volumes/${validatePathParam('volumeId', request.volumeId)}`
|
|
15901
15901
|
}, unmarshalVolume$1);
|
|
@@ -15926,7 +15926,7 @@ let API$f = class API extends API$v {
|
|
|
15926
15926
|
*/
|
|
15927
15927
|
createPinByURL = request => this.client.fetch({
|
|
15928
15928
|
body: JSON.stringify(marshalCreatePinByURLRequest(request, this.client.settings)),
|
|
15929
|
-
headers: jsonContentHeaders$
|
|
15929
|
+
headers: jsonContentHeaders$f,
|
|
15930
15930
|
method: 'POST',
|
|
15931
15931
|
path: `/ipfs/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/pins/create-by-url`
|
|
15932
15932
|
}, unmarshalPin);
|
|
@@ -15945,7 +15945,7 @@ let API$f = class API extends API$v {
|
|
|
15945
15945
|
*/
|
|
15946
15946
|
createPinByCID = request => this.client.fetch({
|
|
15947
15947
|
body: JSON.stringify(marshalCreatePinByCIDRequest(request, this.client.settings)),
|
|
15948
|
-
headers: jsonContentHeaders$
|
|
15948
|
+
headers: jsonContentHeaders$f,
|
|
15949
15949
|
method: 'POST',
|
|
15950
15950
|
path: `/ipfs/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/pins/create-by-cid`
|
|
15951
15951
|
}, unmarshalPin);
|
|
@@ -15966,7 +15966,7 @@ let API$f = class API extends API$v {
|
|
|
15966
15966
|
*/
|
|
15967
15967
|
replacePin = request => this.client.fetch({
|
|
15968
15968
|
body: JSON.stringify(marshalReplacePinRequest(request, this.client.settings)),
|
|
15969
|
-
headers: jsonContentHeaders$
|
|
15969
|
+
headers: jsonContentHeaders$f,
|
|
15970
15970
|
method: 'POST',
|
|
15971
15971
|
path: `/ipfs/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/pins/${validatePathParam('pinId', request.pinId)}/replace`
|
|
15972
15972
|
}, unmarshalReplacePinResponse);
|
|
@@ -16022,7 +16022,7 @@ let API$f = class API extends API$v {
|
|
|
16022
16022
|
};
|
|
16023
16023
|
|
|
16024
16024
|
/** IPFS Naming service API. */
|
|
16025
|
-
class IpnsAPI extends API$
|
|
16025
|
+
class IpnsAPI extends API$w {
|
|
16026
16026
|
/** Lists the available regions of the API. */
|
|
16027
16027
|
static LOCALITIES = ['fr-par', 'nl-ams', 'pl-waw'];
|
|
16028
16028
|
|
|
@@ -16035,7 +16035,7 @@ class IpnsAPI extends API$v {
|
|
|
16035
16035
|
*/
|
|
16036
16036
|
createName = request => this.client.fetch({
|
|
16037
16037
|
body: JSON.stringify(marshalIpnsApiCreateNameRequest(request, this.client.settings)),
|
|
16038
|
-
headers: jsonContentHeaders$
|
|
16038
|
+
headers: jsonContentHeaders$f,
|
|
16039
16039
|
method: 'POST',
|
|
16040
16040
|
path: `/ipfs/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/names`
|
|
16041
16041
|
}, unmarshalName);
|
|
@@ -16092,7 +16092,7 @@ class IpnsAPI extends API$v {
|
|
|
16092
16092
|
*/
|
|
16093
16093
|
updateName = request => this.client.fetch({
|
|
16094
16094
|
body: JSON.stringify(marshalIpnsApiUpdateNameRequest(request, this.client.settings)),
|
|
16095
|
-
headers: jsonContentHeaders$
|
|
16095
|
+
headers: jsonContentHeaders$f,
|
|
16096
16096
|
method: 'PATCH',
|
|
16097
16097
|
path: `/ipfs/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/names/${validatePathParam('nameId', request.nameId)}`
|
|
16098
16098
|
}, unmarshalName);
|
|
@@ -16116,7 +16116,7 @@ class IpnsAPI extends API$v {
|
|
|
16116
16116
|
*/
|
|
16117
16117
|
importKeyName = request => this.client.fetch({
|
|
16118
16118
|
body: JSON.stringify(marshalIpnsApiImportKeyNameRequest(request, this.client.settings)),
|
|
16119
|
-
headers: jsonContentHeaders$
|
|
16119
|
+
headers: jsonContentHeaders$f,
|
|
16120
16120
|
method: 'POST',
|
|
16121
16121
|
path: `/ipfs/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/names/import-key`
|
|
16122
16122
|
}, unmarshalName);
|
|
@@ -16125,17 +16125,17 @@ class IpnsAPI extends API$v {
|
|
|
16125
16125
|
// This file was automatically generated. DO NOT EDIT.
|
|
16126
16126
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
16127
16127
|
|
|
16128
|
-
var index_gen$
|
|
16128
|
+
var index_gen$g = /*#__PURE__*/Object.freeze({
|
|
16129
16129
|
__proto__: null,
|
|
16130
|
-
API: API$
|
|
16130
|
+
API: API$g,
|
|
16131
16131
|
IpnsAPI: IpnsAPI,
|
|
16132
16132
|
NAME_TRANSIENT_STATUSES: NAME_TRANSIENT_STATUSES,
|
|
16133
16133
|
PIN_TRANSIENT_STATUSES: PIN_TRANSIENT_STATUSES
|
|
16134
16134
|
});
|
|
16135
16135
|
|
|
16136
|
-
var index$
|
|
16136
|
+
var index$h = /*#__PURE__*/Object.freeze({
|
|
16137
16137
|
__proto__: null,
|
|
16138
|
-
v1alpha1: index_gen$
|
|
16138
|
+
v1alpha1: index_gen$g
|
|
16139
16139
|
});
|
|
16140
16140
|
|
|
16141
16141
|
// This file was automatically generated. DO NOT EDIT.
|
|
@@ -16165,11 +16165,13 @@ const unmarshalJobRun = data => {
|
|
|
16165
16165
|
throw new TypeError(`Unmarshalling the type 'JobRun' failed as data isn't a dictionary.`);
|
|
16166
16166
|
}
|
|
16167
16167
|
return {
|
|
16168
|
+
cpuLimit: data.cpu_limit,
|
|
16168
16169
|
createdAt: unmarshalDate(data.created_at),
|
|
16169
16170
|
errorMessage: data.error_message,
|
|
16170
16171
|
exitCode: data.exit_code,
|
|
16171
16172
|
id: data.id,
|
|
16172
16173
|
jobDefinitionId: data.job_definition_id,
|
|
16174
|
+
memoryLimit: data.memory_limit,
|
|
16173
16175
|
region: data.region,
|
|
16174
16176
|
runDuration: data.run_duration,
|
|
16175
16177
|
state: data.state,
|
|
@@ -16219,17 +16221,17 @@ const marshalUpdateJobDefinitionRequest = (request, defaults) => ({
|
|
|
16219
16221
|
|
|
16220
16222
|
// This file was automatically generated. DO NOT EDIT.
|
|
16221
16223
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
16222
|
-
const jsonContentHeaders$
|
|
16224
|
+
const jsonContentHeaders$e = {
|
|
16223
16225
|
'Content-Type': 'application/json; charset=utf-8'
|
|
16224
16226
|
};
|
|
16225
16227
|
|
|
16226
16228
|
/** Serverless Jobs API. */
|
|
16227
|
-
let API$
|
|
16229
|
+
let API$f = class API extends API$w {
|
|
16228
16230
|
/** Lists the available regions of the API. */
|
|
16229
16231
|
static LOCALITIES = ['fr-par', 'nl-ams', 'pl-waw'];
|
|
16230
16232
|
createJobDefinition = request => this.client.fetch({
|
|
16231
16233
|
body: JSON.stringify(marshalCreateJobDefinitionRequest(request, this.client.settings)),
|
|
16232
|
-
headers: jsonContentHeaders$
|
|
16234
|
+
headers: jsonContentHeaders$e,
|
|
16233
16235
|
method: 'POST',
|
|
16234
16236
|
path: `/serverless-jobs/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/job-definitions`
|
|
16235
16237
|
}, unmarshalJobDefinition);
|
|
@@ -16245,7 +16247,7 @@ let API$e = class API extends API$v {
|
|
|
16245
16247
|
listJobDefinitions = (request = {}) => enrichForPagination('jobDefinitions', this.pageOfListJobDefinitions, request);
|
|
16246
16248
|
updateJobDefinition = request => this.client.fetch({
|
|
16247
16249
|
body: JSON.stringify(marshalUpdateJobDefinitionRequest(request, this.client.settings)),
|
|
16248
|
-
headers: jsonContentHeaders$
|
|
16250
|
+
headers: jsonContentHeaders$e,
|
|
16249
16251
|
method: 'PATCH',
|
|
16250
16252
|
path: `/serverless-jobs/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/job-definitions/${validatePathParam('jobDefinitionId', request.jobDefinitionId)}`
|
|
16251
16253
|
}, unmarshalJobDefinition);
|
|
@@ -16255,7 +16257,7 @@ let API$e = class API extends API$v {
|
|
|
16255
16257
|
});
|
|
16256
16258
|
startJobDefinition = request => this.client.fetch({
|
|
16257
16259
|
body: '{}',
|
|
16258
|
-
headers: jsonContentHeaders$
|
|
16260
|
+
headers: jsonContentHeaders$e,
|
|
16259
16261
|
method: 'POST',
|
|
16260
16262
|
path: `/serverless-jobs/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/job-definitions/${validatePathParam('jobDefinitionId', request.jobDefinitionId)}/start`
|
|
16261
16263
|
}, unmarshalJobRun);
|
|
@@ -16265,7 +16267,7 @@ let API$e = class API extends API$v {
|
|
|
16265
16267
|
}, unmarshalJobRun);
|
|
16266
16268
|
stopJobRun = request => this.client.fetch({
|
|
16267
16269
|
body: '{}',
|
|
16268
|
-
headers: jsonContentHeaders$
|
|
16270
|
+
headers: jsonContentHeaders$e,
|
|
16269
16271
|
method: 'POST',
|
|
16270
16272
|
path: `/serverless-jobs/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/job-runs/${validatePathParam('jobRunId', request.jobRunId)}/stop`
|
|
16271
16273
|
}, unmarshalJobRun);
|
|
@@ -16333,7 +16335,7 @@ const UpdateJobDefinitionRequest = {
|
|
|
16333
16335
|
}
|
|
16334
16336
|
};
|
|
16335
16337
|
|
|
16336
|
-
var validationRules_gen$
|
|
16338
|
+
var validationRules_gen$5 = /*#__PURE__*/Object.freeze({
|
|
16337
16339
|
__proto__: null,
|
|
16338
16340
|
CreateJobDefinitionRequest: CreateJobDefinitionRequest,
|
|
16339
16341
|
ListJobDefinitionsRequest: ListJobDefinitionsRequest,
|
|
@@ -16344,16 +16346,16 @@ var validationRules_gen$4 = /*#__PURE__*/Object.freeze({
|
|
|
16344
16346
|
// This file was automatically generated. DO NOT EDIT.
|
|
16345
16347
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
16346
16348
|
|
|
16347
|
-
var index_gen$
|
|
16349
|
+
var index_gen$f = /*#__PURE__*/Object.freeze({
|
|
16348
16350
|
__proto__: null,
|
|
16349
|
-
API: API$
|
|
16351
|
+
API: API$f,
|
|
16350
16352
|
JOB_RUN_TRANSIENT_STATUSES: JOB_RUN_TRANSIENT_STATUSES,
|
|
16351
|
-
ValidationRules: validationRules_gen$
|
|
16353
|
+
ValidationRules: validationRules_gen$5
|
|
16352
16354
|
});
|
|
16353
16355
|
|
|
16354
|
-
var index$
|
|
16356
|
+
var index$g = /*#__PURE__*/Object.freeze({
|
|
16355
16357
|
__proto__: null,
|
|
16356
|
-
v1alpha1: index_gen$
|
|
16358
|
+
v1alpha1: index_gen$f
|
|
16357
16359
|
});
|
|
16358
16360
|
|
|
16359
16361
|
// This file was automatically generated. DO NOT EDIT.
|
|
@@ -16614,7 +16616,7 @@ const unmarshalListPoolsResponse = data => {
|
|
|
16614
16616
|
totalCount: data.total_count
|
|
16615
16617
|
};
|
|
16616
16618
|
};
|
|
16617
|
-
const unmarshalListVersionsResponse$
|
|
16619
|
+
const unmarshalListVersionsResponse$1 = data => {
|
|
16618
16620
|
if (!isJSONObject(data)) {
|
|
16619
16621
|
throw new TypeError(`Unmarshalling the type 'ListVersionsResponse' failed as data isn't a dictionary.`);
|
|
16620
16622
|
}
|
|
@@ -16790,12 +16792,12 @@ const marshalUpgradePoolRequest = (request, defaults) => ({
|
|
|
16790
16792
|
|
|
16791
16793
|
// This file was automatically generated. DO NOT EDIT.
|
|
16792
16794
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
16793
|
-
const jsonContentHeaders$
|
|
16795
|
+
const jsonContentHeaders$d = {
|
|
16794
16796
|
'Content-Type': 'application/json; charset=utf-8'
|
|
16795
16797
|
};
|
|
16796
16798
|
|
|
16797
16799
|
/** Kubernetes API. */
|
|
16798
|
-
let API$
|
|
16800
|
+
let API$e = class API extends API$w {
|
|
16799
16801
|
/** Lists the available regions of the API. */
|
|
16800
16802
|
static LOCALITIES = ['fr-par', 'nl-ams', 'pl-waw'];
|
|
16801
16803
|
pageOfListClusters = (request = {}) => this.client.fetch({
|
|
@@ -16820,7 +16822,7 @@ let API$d = class API extends API$v {
|
|
|
16820
16822
|
*/
|
|
16821
16823
|
createCluster = request => this.client.fetch({
|
|
16822
16824
|
body: JSON.stringify(marshalCreateClusterRequest$1(request, this.client.settings)),
|
|
16823
|
-
headers: jsonContentHeaders$
|
|
16825
|
+
headers: jsonContentHeaders$d,
|
|
16824
16826
|
method: 'POST',
|
|
16825
16827
|
path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/clusters`
|
|
16826
16828
|
}, unmarshalCluster$1);
|
|
@@ -16855,7 +16857,7 @@ let API$d = class API extends API$v {
|
|
|
16855
16857
|
*/
|
|
16856
16858
|
updateCluster = request => this.client.fetch({
|
|
16857
16859
|
body: JSON.stringify(marshalUpdateClusterRequest$1(request, this.client.settings)),
|
|
16858
|
-
headers: jsonContentHeaders$
|
|
16860
|
+
headers: jsonContentHeaders$d,
|
|
16859
16861
|
method: 'PATCH',
|
|
16860
16862
|
path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/clusters/${validatePathParam('clusterId', request.clusterId)}`
|
|
16861
16863
|
}, unmarshalCluster$1);
|
|
@@ -16883,7 +16885,7 @@ let API$d = class API extends API$v {
|
|
|
16883
16885
|
*/
|
|
16884
16886
|
upgradeCluster = request => this.client.fetch({
|
|
16885
16887
|
body: JSON.stringify(marshalUpgradeClusterRequest(request, this.client.settings)),
|
|
16886
|
-
headers: jsonContentHeaders$
|
|
16888
|
+
headers: jsonContentHeaders$d,
|
|
16887
16889
|
method: 'POST',
|
|
16888
16890
|
path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/clusters/${validatePathParam('clusterId', request.clusterId)}/upgrade`
|
|
16889
16891
|
}, unmarshalCluster$1);
|
|
@@ -16899,7 +16901,7 @@ let API$d = class API extends API$v {
|
|
|
16899
16901
|
*/
|
|
16900
16902
|
setClusterType = request => this.client.fetch({
|
|
16901
16903
|
body: JSON.stringify(marshalSetClusterTypeRequest(request, this.client.settings)),
|
|
16902
|
-
headers: jsonContentHeaders$
|
|
16904
|
+
headers: jsonContentHeaders$d,
|
|
16903
16905
|
method: 'POST',
|
|
16904
16906
|
path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/clusters/${validatePathParam('clusterId', request.clusterId)}/set-type`
|
|
16905
16907
|
}, unmarshalCluster$1);
|
|
@@ -16947,7 +16949,7 @@ let API$d = class API extends API$v {
|
|
|
16947
16949
|
*/
|
|
16948
16950
|
resetClusterAdminToken = request => this.client.fetch({
|
|
16949
16951
|
body: '{}',
|
|
16950
|
-
headers: jsonContentHeaders$
|
|
16952
|
+
headers: jsonContentHeaders$d,
|
|
16951
16953
|
method: 'POST',
|
|
16952
16954
|
path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/clusters/${validatePathParam('clusterId', request.clusterId)}/reset-admin-token`
|
|
16953
16955
|
});
|
|
@@ -16962,7 +16964,7 @@ let API$d = class API extends API$v {
|
|
|
16962
16964
|
*/
|
|
16963
16965
|
migrateToPrivateNetworkCluster = request => this.client.fetch({
|
|
16964
16966
|
body: JSON.stringify(marshalMigrateToPrivateNetworkClusterRequest(request, this.client.settings)),
|
|
16965
|
-
headers: jsonContentHeaders$
|
|
16967
|
+
headers: jsonContentHeaders$d,
|
|
16966
16968
|
method: 'POST',
|
|
16967
16969
|
path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/clusters/${validatePathParam('clusterId', request.clusterId)}/migrate-to-private-network`
|
|
16968
16970
|
}, unmarshalCluster$1);
|
|
@@ -16990,7 +16992,7 @@ let API$d = class API extends API$v {
|
|
|
16990
16992
|
*/
|
|
16991
16993
|
createPool = request => this.client.fetch({
|
|
16992
16994
|
body: JSON.stringify(marshalCreatePoolRequest(request, this.client.settings)),
|
|
16993
|
-
headers: jsonContentHeaders$
|
|
16995
|
+
headers: jsonContentHeaders$d,
|
|
16994
16996
|
method: 'POST',
|
|
16995
16997
|
path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/clusters/${validatePathParam('clusterId', request.clusterId)}/pools`
|
|
16996
16998
|
}, unmarshalPool);
|
|
@@ -17026,7 +17028,7 @@ let API$d = class API extends API$v {
|
|
|
17026
17028
|
*/
|
|
17027
17029
|
upgradePool = request => this.client.fetch({
|
|
17028
17030
|
body: JSON.stringify(marshalUpgradePoolRequest(request, this.client.settings)),
|
|
17029
|
-
headers: jsonContentHeaders$
|
|
17031
|
+
headers: jsonContentHeaders$d,
|
|
17030
17032
|
method: 'POST',
|
|
17031
17033
|
path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/pools/${validatePathParam('poolId', request.poolId)}/upgrade`
|
|
17032
17034
|
}, unmarshalPool);
|
|
@@ -17040,7 +17042,7 @@ let API$d = class API extends API$v {
|
|
|
17040
17042
|
*/
|
|
17041
17043
|
updatePool = request => this.client.fetch({
|
|
17042
17044
|
body: JSON.stringify(marshalUpdatePoolRequest(request, this.client.settings)),
|
|
17043
|
-
headers: jsonContentHeaders$
|
|
17045
|
+
headers: jsonContentHeaders$d,
|
|
17044
17046
|
method: 'PATCH',
|
|
17045
17047
|
path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/pools/${validatePathParam('poolId', request.poolId)}`
|
|
17046
17048
|
}, unmarshalPool);
|
|
@@ -17067,7 +17069,7 @@ let API$d = class API extends API$v {
|
|
|
17067
17069
|
*/
|
|
17068
17070
|
createExternalNode = request => this.client.fetch({
|
|
17069
17071
|
body: '{}',
|
|
17070
|
-
headers: jsonContentHeaders$
|
|
17072
|
+
headers: jsonContentHeaders$d,
|
|
17071
17073
|
method: 'POST',
|
|
17072
17074
|
path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/pools/${validatePathParam('poolId', request.poolId)}/external-nodes`
|
|
17073
17075
|
}, unmarshalExternalNode);
|
|
@@ -17120,7 +17122,7 @@ let API$d = class API extends API$v {
|
|
|
17120
17122
|
*/
|
|
17121
17123
|
replaceNode = request => this.client.fetch({
|
|
17122
17124
|
body: '{}',
|
|
17123
|
-
headers: jsonContentHeaders$
|
|
17125
|
+
headers: jsonContentHeaders$d,
|
|
17124
17126
|
method: 'POST',
|
|
17125
17127
|
path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/nodes/${validatePathParam('nodeId', request.nodeId)}/replace`
|
|
17126
17128
|
}, unmarshalNode);
|
|
@@ -17137,7 +17139,7 @@ let API$d = class API extends API$v {
|
|
|
17137
17139
|
*/
|
|
17138
17140
|
rebootNode = request => this.client.fetch({
|
|
17139
17141
|
body: '{}',
|
|
17140
|
-
headers: jsonContentHeaders$
|
|
17142
|
+
headers: jsonContentHeaders$d,
|
|
17141
17143
|
method: 'POST',
|
|
17142
17144
|
path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/nodes/${validatePathParam('nodeId', request.nodeId)}/reboot`
|
|
17143
17145
|
}, unmarshalNode);
|
|
@@ -17166,7 +17168,7 @@ let API$d = class API extends API$v {
|
|
|
17166
17168
|
listVersions = (request = {}) => this.client.fetch({
|
|
17167
17169
|
method: 'GET',
|
|
17168
17170
|
path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/versions`
|
|
17169
|
-
}, unmarshalListVersionsResponse$
|
|
17171
|
+
}, unmarshalListVersionsResponse$1);
|
|
17170
17172
|
|
|
17171
17173
|
/**
|
|
17172
17174
|
* Get a Version. Retrieve a specific Kubernetes version and its details.
|
|
@@ -17194,7 +17196,7 @@ let API$d = class API extends API$v {
|
|
|
17194
17196
|
listClusterTypes = (request = {}) => enrichForPagination('clusterTypes', this.pageOfListClusterTypes, request);
|
|
17195
17197
|
};
|
|
17196
17198
|
|
|
17197
|
-
class K8SUtilsAPI extends API$
|
|
17199
|
+
class K8SUtilsAPI extends API$e {
|
|
17198
17200
|
/**
|
|
17199
17201
|
* Get configuration of a kube cluster.
|
|
17200
17202
|
*
|
|
@@ -17304,7 +17306,7 @@ const UpdateClusterRequestAutoscalerConfig = {
|
|
|
17304
17306
|
}
|
|
17305
17307
|
};
|
|
17306
17308
|
|
|
17307
|
-
var validationRules_gen$
|
|
17309
|
+
var validationRules_gen$4 = /*#__PURE__*/Object.freeze({
|
|
17308
17310
|
__proto__: null,
|
|
17309
17311
|
CreateClusterRequest: CreateClusterRequest,
|
|
17310
17312
|
CreateClusterRequestAutoscalerConfig: CreateClusterRequestAutoscalerConfig,
|
|
@@ -17320,18 +17322,18 @@ var validationRules_gen$3 = /*#__PURE__*/Object.freeze({
|
|
|
17320
17322
|
UpdateClusterRequestAutoscalerConfig: UpdateClusterRequestAutoscalerConfig
|
|
17321
17323
|
});
|
|
17322
17324
|
|
|
17323
|
-
var index$
|
|
17325
|
+
var index$f = /*#__PURE__*/Object.freeze({
|
|
17324
17326
|
__proto__: null,
|
|
17325
17327
|
API: K8SUtilsAPI,
|
|
17326
17328
|
CLUSTER_TRANSIENT_STATUSES: CLUSTER_TRANSIENT_STATUSES$1,
|
|
17327
17329
|
NODE_TRANSIENT_STATUSES: NODE_TRANSIENT_STATUSES,
|
|
17328
17330
|
POOL_TRANSIENT_STATUSES: POOL_TRANSIENT_STATUSES,
|
|
17329
|
-
ValidationRules: validationRules_gen$
|
|
17331
|
+
ValidationRules: validationRules_gen$4
|
|
17330
17332
|
});
|
|
17331
17333
|
|
|
17332
|
-
var index$
|
|
17334
|
+
var index$e = /*#__PURE__*/Object.freeze({
|
|
17333
17335
|
__proto__: null,
|
|
17334
|
-
v1: index$
|
|
17336
|
+
v1: index$f
|
|
17335
17337
|
});
|
|
17336
17338
|
|
|
17337
17339
|
// This file was automatically generated. DO NOT EDIT.
|
|
@@ -18385,7 +18387,7 @@ const marshalZonedApiUpdateSubscriberRequest = (request, defaults) => ({
|
|
|
18385
18387
|
|
|
18386
18388
|
// This file was automatically generated. DO NOT EDIT.
|
|
18387
18389
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
18388
|
-
const jsonContentHeaders$
|
|
18390
|
+
const jsonContentHeaders$c = {
|
|
18389
18391
|
'Content-Type': 'application/json; charset=utf-8'
|
|
18390
18392
|
};
|
|
18391
18393
|
|
|
@@ -18394,7 +18396,7 @@ const jsonContentHeaders$b = {
|
|
|
18394
18396
|
*
|
|
18395
18397
|
* This API allows you to manage your Scaleway Load Balancer services.
|
|
18396
18398
|
*/
|
|
18397
|
-
class ZonedAPI extends API$
|
|
18399
|
+
class ZonedAPI extends API$w {
|
|
18398
18400
|
/** Lists the available zones of the API. */
|
|
18399
18401
|
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
18402
|
pageOfListLbs = (request = {}) => this.client.fetch({
|
|
@@ -18424,7 +18426,7 @@ class ZonedAPI extends API$v {
|
|
|
18424
18426
|
*/
|
|
18425
18427
|
createLb = request => this.client.fetch({
|
|
18426
18428
|
body: JSON.stringify(marshalZonedApiCreateLbRequest(request, this.client.settings)),
|
|
18427
|
-
headers: jsonContentHeaders$
|
|
18429
|
+
headers: jsonContentHeaders$c,
|
|
18428
18430
|
method: 'POST',
|
|
18429
18431
|
path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/lbs`
|
|
18430
18432
|
}, unmarshalLb);
|
|
@@ -18461,7 +18463,7 @@ class ZonedAPI extends API$v {
|
|
|
18461
18463
|
*/
|
|
18462
18464
|
updateLb = request => this.client.fetch({
|
|
18463
18465
|
body: JSON.stringify(marshalZonedApiUpdateLbRequest(request, this.client.settings)),
|
|
18464
|
-
headers: jsonContentHeaders$
|
|
18466
|
+
headers: jsonContentHeaders$c,
|
|
18465
18467
|
method: 'PUT',
|
|
18466
18468
|
path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/lbs/${validatePathParam('lbId', request.lbId)}`
|
|
18467
18469
|
}, unmarshalLb);
|
|
@@ -18490,7 +18492,7 @@ class ZonedAPI extends API$v {
|
|
|
18490
18492
|
*/
|
|
18491
18493
|
migrateLb = request => this.client.fetch({
|
|
18492
18494
|
body: JSON.stringify(marshalZonedApiMigrateLbRequest(request, this.client.settings)),
|
|
18493
|
-
headers: jsonContentHeaders$
|
|
18495
|
+
headers: jsonContentHeaders$c,
|
|
18494
18496
|
method: 'POST',
|
|
18495
18497
|
path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/lbs/${validatePathParam('lbId', request.lbId)}/migrate`
|
|
18496
18498
|
}, unmarshalLb);
|
|
@@ -18520,7 +18522,7 @@ class ZonedAPI extends API$v {
|
|
|
18520
18522
|
*/
|
|
18521
18523
|
createIp = (request = {}) => this.client.fetch({
|
|
18522
18524
|
body: JSON.stringify(marshalZonedApiCreateIpRequest(request, this.client.settings)),
|
|
18523
|
-
headers: jsonContentHeaders$
|
|
18525
|
+
headers: jsonContentHeaders$c,
|
|
18524
18526
|
method: 'POST',
|
|
18525
18527
|
path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/ips`
|
|
18526
18528
|
}, unmarshalIp);
|
|
@@ -18557,7 +18559,7 @@ class ZonedAPI extends API$v {
|
|
|
18557
18559
|
*/
|
|
18558
18560
|
updateIp = request => this.client.fetch({
|
|
18559
18561
|
body: JSON.stringify(marshalZonedApiUpdateIpRequest(request, this.client.settings)),
|
|
18560
|
-
headers: jsonContentHeaders$
|
|
18562
|
+
headers: jsonContentHeaders$c,
|
|
18561
18563
|
method: 'PATCH',
|
|
18562
18564
|
path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/ips/${validatePathParam('ipId', request.ipId)}`
|
|
18563
18565
|
}, unmarshalIp);
|
|
@@ -18590,7 +18592,7 @@ class ZonedAPI extends API$v {
|
|
|
18590
18592
|
*/
|
|
18591
18593
|
createBackend = request => this.client.fetch({
|
|
18592
18594
|
body: JSON.stringify(marshalZonedApiCreateBackendRequest(request, this.client.settings)),
|
|
18593
|
-
headers: jsonContentHeaders$
|
|
18595
|
+
headers: jsonContentHeaders$c,
|
|
18594
18596
|
method: 'POST',
|
|
18595
18597
|
path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/lbs/${validatePathParam('lbId', request.lbId)}/backends`
|
|
18596
18598
|
}, unmarshalBackend);
|
|
@@ -18619,7 +18621,7 @@ class ZonedAPI extends API$v {
|
|
|
18619
18621
|
*/
|
|
18620
18622
|
updateBackend = request => this.client.fetch({
|
|
18621
18623
|
body: JSON.stringify(marshalZonedApiUpdateBackendRequest(request, this.client.settings)),
|
|
18622
|
-
headers: jsonContentHeaders$
|
|
18624
|
+
headers: jsonContentHeaders$c,
|
|
18623
18625
|
method: 'PUT',
|
|
18624
18626
|
path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/backends/${validatePathParam('backendId', request.backendId)}`
|
|
18625
18627
|
}, unmarshalBackend);
|
|
@@ -18647,7 +18649,7 @@ class ZonedAPI extends API$v {
|
|
|
18647
18649
|
*/
|
|
18648
18650
|
addBackendServers = request => this.client.fetch({
|
|
18649
18651
|
body: JSON.stringify(marshalZonedApiAddBackendServersRequest(request, this.client.settings)),
|
|
18650
|
-
headers: jsonContentHeaders$
|
|
18652
|
+
headers: jsonContentHeaders$c,
|
|
18651
18653
|
method: 'POST',
|
|
18652
18654
|
path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/backends/${validatePathParam('backendId', request.backendId)}/servers`
|
|
18653
18655
|
}, unmarshalBackend);
|
|
@@ -18662,7 +18664,7 @@ class ZonedAPI extends API$v {
|
|
|
18662
18664
|
*/
|
|
18663
18665
|
removeBackendServers = request => this.client.fetch({
|
|
18664
18666
|
body: JSON.stringify(marshalZonedApiRemoveBackendServersRequest(request, this.client.settings)),
|
|
18665
|
-
headers: jsonContentHeaders$
|
|
18667
|
+
headers: jsonContentHeaders$c,
|
|
18666
18668
|
method: 'DELETE',
|
|
18667
18669
|
path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/backends/${validatePathParam('backendId', request.backendId)}/servers`
|
|
18668
18670
|
}, unmarshalBackend);
|
|
@@ -18678,7 +18680,7 @@ class ZonedAPI extends API$v {
|
|
|
18678
18680
|
*/
|
|
18679
18681
|
setBackendServers = request => this.client.fetch({
|
|
18680
18682
|
body: JSON.stringify(marshalZonedApiSetBackendServersRequest(request, this.client.settings)),
|
|
18681
|
-
headers: jsonContentHeaders$
|
|
18683
|
+
headers: jsonContentHeaders$c,
|
|
18682
18684
|
method: 'PUT',
|
|
18683
18685
|
path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/backends/${validatePathParam('backendId', request.backendId)}/servers`
|
|
18684
18686
|
}, unmarshalBackend);
|
|
@@ -18694,7 +18696,7 @@ class ZonedAPI extends API$v {
|
|
|
18694
18696
|
*/
|
|
18695
18697
|
updateHealthCheck = request => this.client.fetch({
|
|
18696
18698
|
body: JSON.stringify(marshalZonedApiUpdateHealthCheckRequest(request, this.client.settings)),
|
|
18697
|
-
headers: jsonContentHeaders$
|
|
18699
|
+
headers: jsonContentHeaders$c,
|
|
18698
18700
|
method: 'PUT',
|
|
18699
18701
|
path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/backends/${validatePathParam('backendId', request.backendId)}/healthcheck`
|
|
18700
18702
|
}, unmarshalHealthCheck);
|
|
@@ -18727,7 +18729,7 @@ class ZonedAPI extends API$v {
|
|
|
18727
18729
|
*/
|
|
18728
18730
|
createFrontend = request => this.client.fetch({
|
|
18729
18731
|
body: JSON.stringify(marshalZonedApiCreateFrontendRequest(request, this.client.settings)),
|
|
18730
|
-
headers: jsonContentHeaders$
|
|
18732
|
+
headers: jsonContentHeaders$c,
|
|
18731
18733
|
method: 'POST',
|
|
18732
18734
|
path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/lbs/${validatePathParam('lbId', request.lbId)}/frontends`
|
|
18733
18735
|
}, unmarshalFrontend);
|
|
@@ -18757,7 +18759,7 @@ class ZonedAPI extends API$v {
|
|
|
18757
18759
|
*/
|
|
18758
18760
|
updateFrontend = request => this.client.fetch({
|
|
18759
18761
|
body: JSON.stringify(marshalZonedApiUpdateFrontendRequest(request, this.client.settings)),
|
|
18760
|
-
headers: jsonContentHeaders$
|
|
18762
|
+
headers: jsonContentHeaders$c,
|
|
18761
18763
|
method: 'PUT',
|
|
18762
18764
|
path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/frontends/${validatePathParam('frontendId', request.frontendId)}`
|
|
18763
18765
|
}, unmarshalFrontend);
|
|
@@ -18799,7 +18801,7 @@ class ZonedAPI extends API$v {
|
|
|
18799
18801
|
*/
|
|
18800
18802
|
createRoute = request => this.client.fetch({
|
|
18801
18803
|
body: JSON.stringify(marshalZonedApiCreateRouteRequest(request, this.client.settings)),
|
|
18802
|
-
headers: jsonContentHeaders$
|
|
18804
|
+
headers: jsonContentHeaders$c,
|
|
18803
18805
|
method: 'POST',
|
|
18804
18806
|
path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/routes`
|
|
18805
18807
|
}, unmarshalRoute);
|
|
@@ -18826,7 +18828,7 @@ class ZonedAPI extends API$v {
|
|
|
18826
18828
|
*/
|
|
18827
18829
|
updateRoute = request => this.client.fetch({
|
|
18828
18830
|
body: JSON.stringify(marshalZonedApiUpdateRouteRequest(request, this.client.settings)),
|
|
18829
|
-
headers: jsonContentHeaders$
|
|
18831
|
+
headers: jsonContentHeaders$c,
|
|
18830
18832
|
method: 'PUT',
|
|
18831
18833
|
path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/routes/${validatePathParam('routeId', request.routeId)}`
|
|
18832
18834
|
}, unmarshalRoute);
|
|
@@ -18896,7 +18898,7 @@ class ZonedAPI extends API$v {
|
|
|
18896
18898
|
*/
|
|
18897
18899
|
createAcl = request => this.client.fetch({
|
|
18898
18900
|
body: JSON.stringify(marshalZonedApiCreateAclRequest(request, this.client.settings)),
|
|
18899
|
-
headers: jsonContentHeaders$
|
|
18901
|
+
headers: jsonContentHeaders$c,
|
|
18900
18902
|
method: 'POST',
|
|
18901
18903
|
path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/frontends/${validatePathParam('frontendId', request.frontendId)}/acls`
|
|
18902
18904
|
}, unmarshalAcl);
|
|
@@ -18923,7 +18925,7 @@ class ZonedAPI extends API$v {
|
|
|
18923
18925
|
*/
|
|
18924
18926
|
updateAcl = request => this.client.fetch({
|
|
18925
18927
|
body: JSON.stringify(marshalZonedApiUpdateAclRequest(request, this.client.settings)),
|
|
18926
|
-
headers: jsonContentHeaders$
|
|
18928
|
+
headers: jsonContentHeaders$c,
|
|
18927
18929
|
method: 'PUT',
|
|
18928
18930
|
path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/acls/${validatePathParam('aclId', request.aclId)}`
|
|
18929
18931
|
}, unmarshalAcl);
|
|
@@ -18949,7 +18951,7 @@ class ZonedAPI extends API$v {
|
|
|
18949
18951
|
*/
|
|
18950
18952
|
setAcls = request => this.client.fetch({
|
|
18951
18953
|
body: JSON.stringify(marshalZonedApiSetAclsRequest(request, this.client.settings)),
|
|
18952
|
-
headers: jsonContentHeaders$
|
|
18954
|
+
headers: jsonContentHeaders$c,
|
|
18953
18955
|
method: 'PUT',
|
|
18954
18956
|
path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/frontends/${validatePathParam('frontendId', request.frontendId)}/acls`
|
|
18955
18957
|
}, unmarshalSetAclsResponse);
|
|
@@ -18964,7 +18966,7 @@ class ZonedAPI extends API$v {
|
|
|
18964
18966
|
*/
|
|
18965
18967
|
createCertificate = request => this.client.fetch({
|
|
18966
18968
|
body: JSON.stringify(marshalZonedApiCreateCertificateRequest(request, this.client.settings)),
|
|
18967
|
-
headers: jsonContentHeaders$
|
|
18969
|
+
headers: jsonContentHeaders$c,
|
|
18968
18970
|
method: 'POST',
|
|
18969
18971
|
path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/lbs/${validatePathParam('lbId', request.lbId)}/certificates`
|
|
18970
18972
|
}, unmarshalCertificate);
|
|
@@ -19017,7 +19019,7 @@ class ZonedAPI extends API$v {
|
|
|
19017
19019
|
*/
|
|
19018
19020
|
updateCertificate = request => this.client.fetch({
|
|
19019
19021
|
body: JSON.stringify(marshalZonedApiUpdateCertificateRequest(request, this.client.settings)),
|
|
19020
|
-
headers: jsonContentHeaders$
|
|
19022
|
+
headers: jsonContentHeaders$c,
|
|
19021
19023
|
method: 'PUT',
|
|
19022
19024
|
path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/certificates/${validatePathParam('certificateId', request.certificateId)}`
|
|
19023
19025
|
}, unmarshalCertificate);
|
|
@@ -19059,7 +19061,7 @@ class ZonedAPI extends API$v {
|
|
|
19059
19061
|
*/
|
|
19060
19062
|
createSubscriber = request => this.client.fetch({
|
|
19061
19063
|
body: JSON.stringify(marshalZonedApiCreateSubscriberRequest(request, this.client.settings)),
|
|
19062
|
-
headers: jsonContentHeaders$
|
|
19064
|
+
headers: jsonContentHeaders$c,
|
|
19063
19065
|
method: 'POST',
|
|
19064
19066
|
path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/subscribers`
|
|
19065
19067
|
}, unmarshalSubscriber);
|
|
@@ -19103,7 +19105,7 @@ class ZonedAPI extends API$v {
|
|
|
19103
19105
|
*/
|
|
19104
19106
|
updateSubscriber = request => this.client.fetch({
|
|
19105
19107
|
body: JSON.stringify(marshalZonedApiUpdateSubscriberRequest(request, this.client.settings)),
|
|
19106
|
-
headers: jsonContentHeaders$
|
|
19108
|
+
headers: jsonContentHeaders$c,
|
|
19107
19109
|
method: 'PUT',
|
|
19108
19110
|
path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/subscribers/${validatePathParam('subscriberId', request.subscriberId)}`
|
|
19109
19111
|
}, unmarshalSubscriber);
|
|
@@ -19128,7 +19130,7 @@ class ZonedAPI extends API$v {
|
|
|
19128
19130
|
*/
|
|
19129
19131
|
subscribeToLb = request => this.client.fetch({
|
|
19130
19132
|
body: JSON.stringify(marshalZonedApiSubscribeToLbRequest(request, this.client.settings)),
|
|
19131
|
-
headers: jsonContentHeaders$
|
|
19133
|
+
headers: jsonContentHeaders$c,
|
|
19132
19134
|
method: 'POST',
|
|
19133
19135
|
path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/lb/${validatePathParam('lbId', request.lbId)}/subscribe`
|
|
19134
19136
|
}, unmarshalLb);
|
|
@@ -19173,7 +19175,7 @@ class ZonedAPI extends API$v {
|
|
|
19173
19175
|
*/
|
|
19174
19176
|
attachPrivateNetwork = request => this.client.fetch({
|
|
19175
19177
|
body: JSON.stringify(marshalZonedApiAttachPrivateNetworkRequest(request, this.client.settings)),
|
|
19176
|
-
headers: jsonContentHeaders$
|
|
19178
|
+
headers: jsonContentHeaders$c,
|
|
19177
19179
|
method: 'POST',
|
|
19178
19180
|
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
19181
|
}, unmarshalPrivateNetwork$3);
|
|
@@ -19186,7 +19188,7 @@ class ZonedAPI extends API$v {
|
|
|
19186
19188
|
*/
|
|
19187
19189
|
detachPrivateNetwork = request => this.client.fetch({
|
|
19188
19190
|
body: '{}',
|
|
19189
|
-
headers: jsonContentHeaders$
|
|
19191
|
+
headers: jsonContentHeaders$c,
|
|
19190
19192
|
method: 'POST',
|
|
19191
19193
|
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
19194
|
});
|
|
@@ -19197,7 +19199,7 @@ class ZonedAPI extends API$v {
|
|
|
19197
19199
|
*
|
|
19198
19200
|
* This API allows you to manage your load balancer service.
|
|
19199
19201
|
*/
|
|
19200
|
-
let API$
|
|
19202
|
+
let API$d = class API extends API$w {
|
|
19201
19203
|
/** Lists the available regions of the API. */
|
|
19202
19204
|
static LOCALITIES = ['fr-par', 'nl-ams', 'pl-waw'];
|
|
19203
19205
|
pageOfListLbs = (request = {}) => this.client.fetch({
|
|
@@ -19222,7 +19224,7 @@ let API$c = class API extends API$v {
|
|
|
19222
19224
|
*/
|
|
19223
19225
|
createLb = request => this.client.fetch({
|
|
19224
19226
|
body: JSON.stringify(marshalCreateLbRequest(request, this.client.settings)),
|
|
19225
|
-
headers: jsonContentHeaders$
|
|
19227
|
+
headers: jsonContentHeaders$c,
|
|
19226
19228
|
method: 'POST',
|
|
19227
19229
|
path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/lbs`
|
|
19228
19230
|
}, unmarshalLb);
|
|
@@ -19255,7 +19257,7 @@ let API$c = class API extends API$v {
|
|
|
19255
19257
|
*/
|
|
19256
19258
|
updateLb = request => this.client.fetch({
|
|
19257
19259
|
body: JSON.stringify(marshalUpdateLbRequest(request, this.client.settings)),
|
|
19258
|
-
headers: jsonContentHeaders$
|
|
19260
|
+
headers: jsonContentHeaders$c,
|
|
19259
19261
|
method: 'PUT',
|
|
19260
19262
|
path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/lbs/${validatePathParam('lbId', request.lbId)}`
|
|
19261
19263
|
}, unmarshalLb);
|
|
@@ -19279,7 +19281,7 @@ let API$c = class API extends API$v {
|
|
|
19279
19281
|
*/
|
|
19280
19282
|
migrateLb = request => this.client.fetch({
|
|
19281
19283
|
body: JSON.stringify(marshalMigrateLbRequest(request, this.client.settings)),
|
|
19282
|
-
headers: jsonContentHeaders$
|
|
19284
|
+
headers: jsonContentHeaders$c,
|
|
19283
19285
|
method: 'POST',
|
|
19284
19286
|
path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/lbs/${validatePathParam('lbId', request.lbId)}/migrate`
|
|
19285
19287
|
}, unmarshalLb);
|
|
@@ -19305,7 +19307,7 @@ let API$c = class API extends API$v {
|
|
|
19305
19307
|
*/
|
|
19306
19308
|
createIp = (request = {}) => this.client.fetch({
|
|
19307
19309
|
body: JSON.stringify(marshalCreateIpRequest(request, this.client.settings)),
|
|
19308
|
-
headers: jsonContentHeaders$
|
|
19310
|
+
headers: jsonContentHeaders$c,
|
|
19309
19311
|
method: 'POST',
|
|
19310
19312
|
path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/ips`
|
|
19311
19313
|
}, unmarshalIp);
|
|
@@ -19339,7 +19341,7 @@ let API$c = class API extends API$v {
|
|
|
19339
19341
|
*/
|
|
19340
19342
|
updateIp = request => this.client.fetch({
|
|
19341
19343
|
body: JSON.stringify(marshalUpdateIpRequest(request, this.client.settings)),
|
|
19342
|
-
headers: jsonContentHeaders$
|
|
19344
|
+
headers: jsonContentHeaders$c,
|
|
19343
19345
|
method: 'PATCH',
|
|
19344
19346
|
path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/ips/${validatePathParam('ipId', request.ipId)}`
|
|
19345
19347
|
}, unmarshalIp);
|
|
@@ -19365,7 +19367,7 @@ let API$c = class API extends API$v {
|
|
|
19365
19367
|
*/
|
|
19366
19368
|
createBackend = request => this.client.fetch({
|
|
19367
19369
|
body: JSON.stringify(marshalCreateBackendRequest(request, this.client.settings)),
|
|
19368
|
-
headers: jsonContentHeaders$
|
|
19370
|
+
headers: jsonContentHeaders$c,
|
|
19369
19371
|
method: 'POST',
|
|
19370
19372
|
path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/lbs/${validatePathParam('lbId', request.lbId)}/backends`
|
|
19371
19373
|
}, unmarshalBackend);
|
|
@@ -19389,7 +19391,7 @@ let API$c = class API extends API$v {
|
|
|
19389
19391
|
*/
|
|
19390
19392
|
updateBackend = request => this.client.fetch({
|
|
19391
19393
|
body: JSON.stringify(marshalUpdateBackendRequest(request, this.client.settings)),
|
|
19392
|
-
headers: jsonContentHeaders$
|
|
19394
|
+
headers: jsonContentHeaders$c,
|
|
19393
19395
|
method: 'PUT',
|
|
19394
19396
|
path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/backends/${validatePathParam('backendId', request.backendId)}`
|
|
19395
19397
|
}, unmarshalBackend);
|
|
@@ -19412,7 +19414,7 @@ let API$c = class API extends API$v {
|
|
|
19412
19414
|
*/
|
|
19413
19415
|
addBackendServers = request => this.client.fetch({
|
|
19414
19416
|
body: JSON.stringify(marshalAddBackendServersRequest(request, this.client.settings)),
|
|
19415
|
-
headers: jsonContentHeaders$
|
|
19417
|
+
headers: jsonContentHeaders$c,
|
|
19416
19418
|
method: 'POST',
|
|
19417
19419
|
path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/backends/${validatePathParam('backendId', request.backendId)}/servers`
|
|
19418
19420
|
}, unmarshalBackend);
|
|
@@ -19425,7 +19427,7 @@ let API$c = class API extends API$v {
|
|
|
19425
19427
|
*/
|
|
19426
19428
|
removeBackendServers = request => this.client.fetch({
|
|
19427
19429
|
body: JSON.stringify(marshalRemoveBackendServersRequest(request, this.client.settings)),
|
|
19428
|
-
headers: jsonContentHeaders$
|
|
19430
|
+
headers: jsonContentHeaders$c,
|
|
19429
19431
|
method: 'DELETE',
|
|
19430
19432
|
path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/backends/${validatePathParam('backendId', request.backendId)}/servers`
|
|
19431
19433
|
}, unmarshalBackend);
|
|
@@ -19438,7 +19440,7 @@ let API$c = class API extends API$v {
|
|
|
19438
19440
|
*/
|
|
19439
19441
|
setBackendServers = request => this.client.fetch({
|
|
19440
19442
|
body: JSON.stringify(marshalSetBackendServersRequest(request, this.client.settings)),
|
|
19441
|
-
headers: jsonContentHeaders$
|
|
19443
|
+
headers: jsonContentHeaders$c,
|
|
19442
19444
|
method: 'PUT',
|
|
19443
19445
|
path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/backends/${validatePathParam('backendId', request.backendId)}/servers`
|
|
19444
19446
|
}, unmarshalBackend);
|
|
@@ -19451,7 +19453,7 @@ let API$c = class API extends API$v {
|
|
|
19451
19453
|
*/
|
|
19452
19454
|
updateHealthCheck = request => this.client.fetch({
|
|
19453
19455
|
body: JSON.stringify(marshalUpdateHealthCheckRequest(request, this.client.settings)),
|
|
19454
|
-
headers: jsonContentHeaders$
|
|
19456
|
+
headers: jsonContentHeaders$c,
|
|
19455
19457
|
method: 'PUT',
|
|
19456
19458
|
path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/backends/${validatePathParam('backendId', request.backendId)}/healthcheck`
|
|
19457
19459
|
}, unmarshalHealthCheck);
|
|
@@ -19477,7 +19479,7 @@ let API$c = class API extends API$v {
|
|
|
19477
19479
|
*/
|
|
19478
19480
|
createFrontend = request => this.client.fetch({
|
|
19479
19481
|
body: JSON.stringify(marshalCreateFrontendRequest(request, this.client.settings)),
|
|
19480
|
-
headers: jsonContentHeaders$
|
|
19482
|
+
headers: jsonContentHeaders$c,
|
|
19481
19483
|
method: 'POST',
|
|
19482
19484
|
path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/lbs/${validatePathParam('lbId', request.lbId)}/frontends`
|
|
19483
19485
|
}, unmarshalFrontend);
|
|
@@ -19501,7 +19503,7 @@ let API$c = class API extends API$v {
|
|
|
19501
19503
|
*/
|
|
19502
19504
|
updateFrontend = request => this.client.fetch({
|
|
19503
19505
|
body: JSON.stringify(marshalUpdateFrontendRequest(request, this.client.settings)),
|
|
19504
|
-
headers: jsonContentHeaders$
|
|
19506
|
+
headers: jsonContentHeaders$c,
|
|
19505
19507
|
method: 'PUT',
|
|
19506
19508
|
path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/frontends/${validatePathParam('frontendId', request.frontendId)}`
|
|
19507
19509
|
}, unmarshalFrontend);
|
|
@@ -19537,7 +19539,7 @@ let API$c = class API extends API$v {
|
|
|
19537
19539
|
*/
|
|
19538
19540
|
createRoute = request => this.client.fetch({
|
|
19539
19541
|
body: JSON.stringify(marshalCreateRouteRequest(request, this.client.settings)),
|
|
19540
|
-
headers: jsonContentHeaders$
|
|
19542
|
+
headers: jsonContentHeaders$c,
|
|
19541
19543
|
method: 'POST',
|
|
19542
19544
|
path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/routes`
|
|
19543
19545
|
}, unmarshalRoute);
|
|
@@ -19561,7 +19563,7 @@ let API$c = class API extends API$v {
|
|
|
19561
19563
|
*/
|
|
19562
19564
|
updateRoute = request => this.client.fetch({
|
|
19563
19565
|
body: JSON.stringify(marshalUpdateRouteRequest(request, this.client.settings)),
|
|
19564
|
-
headers: jsonContentHeaders$
|
|
19566
|
+
headers: jsonContentHeaders$c,
|
|
19565
19567
|
method: 'PUT',
|
|
19566
19568
|
path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/routes/${validatePathParam('routeId', request.routeId)}`
|
|
19567
19569
|
}, unmarshalRoute);
|
|
@@ -19623,7 +19625,7 @@ let API$c = class API extends API$v {
|
|
|
19623
19625
|
*/
|
|
19624
19626
|
createAcl = request => this.client.fetch({
|
|
19625
19627
|
body: JSON.stringify(marshalCreateAclRequest(request, this.client.settings)),
|
|
19626
|
-
headers: jsonContentHeaders$
|
|
19628
|
+
headers: jsonContentHeaders$c,
|
|
19627
19629
|
method: 'POST',
|
|
19628
19630
|
path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/frontends/${validatePathParam('frontendId', request.frontendId)}/acls`
|
|
19629
19631
|
}, unmarshalAcl);
|
|
@@ -19647,7 +19649,7 @@ let API$c = class API extends API$v {
|
|
|
19647
19649
|
*/
|
|
19648
19650
|
updateAcl = request => this.client.fetch({
|
|
19649
19651
|
body: JSON.stringify(marshalUpdateAclRequest(request, this.client.settings)),
|
|
19650
|
-
headers: jsonContentHeaders$
|
|
19652
|
+
headers: jsonContentHeaders$c,
|
|
19651
19653
|
method: 'PUT',
|
|
19652
19654
|
path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/acls/${validatePathParam('aclId', request.aclId)}`
|
|
19653
19655
|
}, unmarshalAcl);
|
|
@@ -19671,7 +19673,7 @@ let API$c = class API extends API$v {
|
|
|
19671
19673
|
*/
|
|
19672
19674
|
createCertificate = request => this.client.fetch({
|
|
19673
19675
|
body: JSON.stringify(marshalCreateCertificateRequest(request, this.client.settings)),
|
|
19674
|
-
headers: jsonContentHeaders$
|
|
19676
|
+
headers: jsonContentHeaders$c,
|
|
19675
19677
|
method: 'POST',
|
|
19676
19678
|
path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/lbs/${validatePathParam('lbId', request.lbId)}/certificates`
|
|
19677
19679
|
}, unmarshalCertificate);
|
|
@@ -19717,7 +19719,7 @@ let API$c = class API extends API$v {
|
|
|
19717
19719
|
*/
|
|
19718
19720
|
updateCertificate = request => this.client.fetch({
|
|
19719
19721
|
body: JSON.stringify(marshalUpdateCertificateRequest(request, this.client.settings)),
|
|
19720
|
-
headers: jsonContentHeaders$
|
|
19722
|
+
headers: jsonContentHeaders$c,
|
|
19721
19723
|
method: 'PUT',
|
|
19722
19724
|
path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/certificates/${validatePathParam('certificateId', request.certificateId)}`
|
|
19723
19725
|
}, unmarshalCertificate);
|
|
@@ -19753,7 +19755,7 @@ let API$c = class API extends API$v {
|
|
|
19753
19755
|
*/
|
|
19754
19756
|
createSubscriber = request => this.client.fetch({
|
|
19755
19757
|
body: JSON.stringify(marshalCreateSubscriberRequest(request, this.client.settings)),
|
|
19756
|
-
headers: jsonContentHeaders$
|
|
19758
|
+
headers: jsonContentHeaders$c,
|
|
19757
19759
|
method: 'POST',
|
|
19758
19760
|
path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/subscribers`
|
|
19759
19761
|
}, unmarshalSubscriber);
|
|
@@ -19790,7 +19792,7 @@ let API$c = class API extends API$v {
|
|
|
19790
19792
|
*/
|
|
19791
19793
|
updateSubscriber = request => this.client.fetch({
|
|
19792
19794
|
body: JSON.stringify(marshalUpdateSubscriberRequest(request, this.client.settings)),
|
|
19793
|
-
headers: jsonContentHeaders$
|
|
19795
|
+
headers: jsonContentHeaders$c,
|
|
19794
19796
|
method: 'PUT',
|
|
19795
19797
|
path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/subscribers/${validatePathParam('subscriberId', request.subscriberId)}`
|
|
19796
19798
|
}, unmarshalSubscriber);
|
|
@@ -19813,7 +19815,7 @@ let API$c = class API extends API$v {
|
|
|
19813
19815
|
*/
|
|
19814
19816
|
subscribeToLb = request => this.client.fetch({
|
|
19815
19817
|
body: JSON.stringify(marshalSubscribeToLbRequest(request, this.client.settings)),
|
|
19816
|
-
headers: jsonContentHeaders$
|
|
19818
|
+
headers: jsonContentHeaders$c,
|
|
19817
19819
|
method: 'POST',
|
|
19818
19820
|
path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/lb/${validatePathParam('lbId', request.lbId)}/subscribe`
|
|
19819
19821
|
}, unmarshalLb);
|
|
@@ -19850,7 +19852,7 @@ let API$c = class API extends API$v {
|
|
|
19850
19852
|
*/
|
|
19851
19853
|
attachPrivateNetwork = request => this.client.fetch({
|
|
19852
19854
|
body: JSON.stringify(marshalAttachPrivateNetworkRequest(request, this.client.settings)),
|
|
19853
|
-
headers: jsonContentHeaders$
|
|
19855
|
+
headers: jsonContentHeaders$c,
|
|
19854
19856
|
method: 'POST',
|
|
19855
19857
|
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
19858
|
}, unmarshalPrivateNetwork$3);
|
|
@@ -19862,13 +19864,13 @@ let API$c = class API extends API$v {
|
|
|
19862
19864
|
*/
|
|
19863
19865
|
detachPrivateNetwork = request => this.client.fetch({
|
|
19864
19866
|
body: '{}',
|
|
19865
|
-
headers: jsonContentHeaders$
|
|
19867
|
+
headers: jsonContentHeaders$c,
|
|
19866
19868
|
method: 'POST',
|
|
19867
19869
|
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
19870
|
});
|
|
19869
19871
|
};
|
|
19870
19872
|
|
|
19871
|
-
class LbV1UtilsAPI extends API$
|
|
19873
|
+
class LbV1UtilsAPI extends API$d {
|
|
19872
19874
|
/**
|
|
19873
19875
|
* Waits for all private networks of a load balancer to be in a final state.
|
|
19874
19876
|
*
|
|
@@ -19944,7 +19946,7 @@ class LbZonedV1UtilsAPI extends ZonedAPI {
|
|
|
19944
19946
|
}, createExponentialBackoffStrategy(options?.minDelay ?? 1, options?.maxDelay ?? 30), options?.timeout);
|
|
19945
19947
|
}
|
|
19946
19948
|
|
|
19947
|
-
var index$
|
|
19949
|
+
var index$d = /*#__PURE__*/Object.freeze({
|
|
19948
19950
|
__proto__: null,
|
|
19949
19951
|
API: LbV1UtilsAPI,
|
|
19950
19952
|
CERTIFICATE_TRANSIENT_STATUSES: CERTIFICATE_TRANSIENT_STATUSES,
|
|
@@ -19954,9 +19956,9 @@ var index$c = /*#__PURE__*/Object.freeze({
|
|
|
19954
19956
|
ZonedAPI: LbZonedV1UtilsAPI
|
|
19955
19957
|
});
|
|
19956
19958
|
|
|
19957
|
-
var index$
|
|
19959
|
+
var index$c = /*#__PURE__*/Object.freeze({
|
|
19958
19960
|
__proto__: null,
|
|
19959
|
-
v1: index$
|
|
19961
|
+
v1: index$d
|
|
19960
19962
|
});
|
|
19961
19963
|
|
|
19962
19964
|
// This file was automatically generated. DO NOT EDIT.
|
|
@@ -20020,14 +20022,6 @@ const unmarshalGetImageResponse = data => {
|
|
|
20020
20022
|
image: data.image ? unmarshalImage$2(data.image) : undefined
|
|
20021
20023
|
};
|
|
20022
20024
|
};
|
|
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
20025
|
const unmarshalListImagesResponse$2 = data => {
|
|
20032
20026
|
if (!isJSONObject(data)) {
|
|
20033
20027
|
throw new TypeError(`Unmarshalling the type 'ListImagesResponse' failed as data isn't a dictionary.`);
|
|
@@ -20037,20 +20031,11 @@ const unmarshalListImagesResponse$2 = data => {
|
|
|
20037
20031
|
totalCount: data.total_count
|
|
20038
20032
|
};
|
|
20039
20033
|
};
|
|
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
20034
|
|
|
20050
20035
|
// This file was automatically generated. DO NOT EDIT.
|
|
20051
20036
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
20052
20037
|
/** Marketplace API. */
|
|
20053
|
-
let API$
|
|
20038
|
+
let API$c = class API extends API$w {
|
|
20054
20039
|
pageOfListImages = (request = {}) => this.client.fetch({
|
|
20055
20040
|
method: 'GET',
|
|
20056
20041
|
path: `/marketplace/v1/images`,
|
|
@@ -20075,22 +20060,14 @@ let API$b = class API extends API$v {
|
|
|
20075
20060
|
method: 'GET',
|
|
20076
20061
|
path: `/marketplace/v1/images/${validatePathParam('imageId', request.imageId)}`
|
|
20077
20062
|
}, 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
20063
|
};
|
|
20087
20064
|
|
|
20088
20065
|
// This file was automatically generated. DO NOT EDIT.
|
|
20089
20066
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
20090
20067
|
|
|
20091
|
-
var index_gen$
|
|
20068
|
+
var index_gen$e = /*#__PURE__*/Object.freeze({
|
|
20092
20069
|
__proto__: null,
|
|
20093
|
-
API: API$
|
|
20070
|
+
API: API$c
|
|
20094
20071
|
});
|
|
20095
20072
|
|
|
20096
20073
|
// This file was automatically generated. DO NOT EDIT.
|
|
@@ -20186,7 +20163,7 @@ const unmarshalListVersionsResponse = data => {
|
|
|
20186
20163
|
// This file was automatically generated. DO NOT EDIT.
|
|
20187
20164
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
20188
20165
|
/** Marketplace API. */
|
|
20189
|
-
let API$
|
|
20166
|
+
let API$b = class API extends API$w {
|
|
20190
20167
|
pageOfListImages = request => this.client.fetch({
|
|
20191
20168
|
method: 'GET',
|
|
20192
20169
|
path: `/marketplace/v2/images`,
|
|
@@ -20310,15 +20287,15 @@ let API$a = class API extends API$v {
|
|
|
20310
20287
|
// This file was automatically generated. DO NOT EDIT.
|
|
20311
20288
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
20312
20289
|
|
|
20313
|
-
var index_gen$
|
|
20290
|
+
var index_gen$d = /*#__PURE__*/Object.freeze({
|
|
20314
20291
|
__proto__: null,
|
|
20315
|
-
API: API$
|
|
20292
|
+
API: API$b
|
|
20316
20293
|
});
|
|
20317
20294
|
|
|
20318
|
-
var index$
|
|
20295
|
+
var index$b = /*#__PURE__*/Object.freeze({
|
|
20319
20296
|
__proto__: null,
|
|
20320
|
-
v1: index_gen$
|
|
20321
|
-
v2: index_gen$
|
|
20297
|
+
v1: index_gen$e,
|
|
20298
|
+
v2: index_gen$d
|
|
20322
20299
|
});
|
|
20323
20300
|
|
|
20324
20301
|
// This file was automatically generated. DO NOT EDIT.
|
|
@@ -20530,7 +20507,7 @@ const marshalSqsApiUpdateSqsCredentialsRequest = (request, defaults) => ({
|
|
|
20530
20507
|
|
|
20531
20508
|
// This file was automatically generated. DO NOT EDIT.
|
|
20532
20509
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
20533
|
-
const jsonContentHeaders$
|
|
20510
|
+
const jsonContentHeaders$b = {
|
|
20534
20511
|
'Content-Type': 'application/json; charset=utf-8'
|
|
20535
20512
|
};
|
|
20536
20513
|
|
|
@@ -20539,7 +20516,7 @@ const jsonContentHeaders$a = {
|
|
|
20539
20516
|
*
|
|
20540
20517
|
* This API allows you to manage Scaleway Messaging and Queueing NATS accounts.
|
|
20541
20518
|
*/
|
|
20542
|
-
class NatsAPI extends API$
|
|
20519
|
+
class NatsAPI extends API$w {
|
|
20543
20520
|
/** Lists the available regions of the API. */
|
|
20544
20521
|
static LOCALITIES = ['fr-par'];
|
|
20545
20522
|
|
|
@@ -20551,7 +20528,7 @@ class NatsAPI extends API$v {
|
|
|
20551
20528
|
*/
|
|
20552
20529
|
createNatsAccount = (request = {}) => this.client.fetch({
|
|
20553
20530
|
body: JSON.stringify(marshalNatsApiCreateNatsAccountRequest(request, this.client.settings)),
|
|
20554
|
-
headers: jsonContentHeaders$
|
|
20531
|
+
headers: jsonContentHeaders$b,
|
|
20555
20532
|
method: 'POST',
|
|
20556
20533
|
path: `/mnq/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/nats-accounts`
|
|
20557
20534
|
}, unmarshalNatsAccount);
|
|
@@ -20578,7 +20555,7 @@ class NatsAPI extends API$v {
|
|
|
20578
20555
|
*/
|
|
20579
20556
|
updateNatsAccount = request => this.client.fetch({
|
|
20580
20557
|
body: JSON.stringify(marshalNatsApiUpdateNatsAccountRequest(request, this.client.settings)),
|
|
20581
|
-
headers: jsonContentHeaders$
|
|
20558
|
+
headers: jsonContentHeaders$b,
|
|
20582
20559
|
method: 'PATCH',
|
|
20583
20560
|
path: `/mnq/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/nats-accounts/${validatePathParam('natsAccountId', request.natsAccountId)}`
|
|
20584
20561
|
}, unmarshalNatsAccount);
|
|
@@ -20621,7 +20598,7 @@ class NatsAPI extends API$v {
|
|
|
20621
20598
|
*/
|
|
20622
20599
|
createNatsCredentials = request => this.client.fetch({
|
|
20623
20600
|
body: JSON.stringify(marshalNatsApiCreateNatsCredentialsRequest(request, this.client.settings)),
|
|
20624
|
-
headers: jsonContentHeaders$
|
|
20601
|
+
headers: jsonContentHeaders$b,
|
|
20625
20602
|
method: 'POST',
|
|
20626
20603
|
path: `/mnq/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/nats-credentials`
|
|
20627
20604
|
}, unmarshalNatsCredentials);
|
|
@@ -20675,7 +20652,7 @@ class NatsAPI extends API$v {
|
|
|
20675
20652
|
*
|
|
20676
20653
|
* This API allows you to manage Scaleway Messaging and Queueing SNS brokers.
|
|
20677
20654
|
*/
|
|
20678
|
-
class SnsAPI extends API$
|
|
20655
|
+
class SnsAPI extends API$w {
|
|
20679
20656
|
/** Lists the available regions of the API. */
|
|
20680
20657
|
static LOCALITIES = ['fr-par'];
|
|
20681
20658
|
|
|
@@ -20689,7 +20666,7 @@ class SnsAPI extends API$v {
|
|
|
20689
20666
|
*/
|
|
20690
20667
|
activateSns = (request = {}) => this.client.fetch({
|
|
20691
20668
|
body: JSON.stringify(marshalSnsApiActivateSnsRequest(request, this.client.settings)),
|
|
20692
|
-
headers: jsonContentHeaders$
|
|
20669
|
+
headers: jsonContentHeaders$b,
|
|
20693
20670
|
method: 'POST',
|
|
20694
20671
|
path: `/mnq/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/activate-sns`
|
|
20695
20672
|
}, unmarshalSnsInfo);
|
|
@@ -20717,7 +20694,7 @@ class SnsAPI extends API$v {
|
|
|
20717
20694
|
*/
|
|
20718
20695
|
deactivateSns = (request = {}) => this.client.fetch({
|
|
20719
20696
|
body: JSON.stringify(marshalSnsApiDeactivateSnsRequest(request, this.client.settings)),
|
|
20720
|
-
headers: jsonContentHeaders$
|
|
20697
|
+
headers: jsonContentHeaders$b,
|
|
20721
20698
|
method: 'POST',
|
|
20722
20699
|
path: `/mnq/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/deactivate-sns`
|
|
20723
20700
|
}, unmarshalSnsInfo);
|
|
@@ -20732,7 +20709,7 @@ class SnsAPI extends API$v {
|
|
|
20732
20709
|
*/
|
|
20733
20710
|
createSnsCredentials = (request = {}) => this.client.fetch({
|
|
20734
20711
|
body: JSON.stringify(marshalSnsApiCreateSnsCredentialsRequest(request, this.client.settings)),
|
|
20735
|
-
headers: jsonContentHeaders$
|
|
20712
|
+
headers: jsonContentHeaders$b,
|
|
20736
20713
|
method: 'POST',
|
|
20737
20714
|
path: `/mnq/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/sns-credentials`
|
|
20738
20715
|
}, unmarshalSnsCredentials);
|
|
@@ -20758,7 +20735,7 @@ class SnsAPI extends API$v {
|
|
|
20758
20735
|
*/
|
|
20759
20736
|
updateSnsCredentials = request => this.client.fetch({
|
|
20760
20737
|
body: JSON.stringify(marshalSnsApiUpdateSnsCredentialsRequest(request, this.client.settings)),
|
|
20761
|
-
headers: jsonContentHeaders$
|
|
20738
|
+
headers: jsonContentHeaders$b,
|
|
20762
20739
|
method: 'PATCH',
|
|
20763
20740
|
path: `/mnq/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/sns-credentials/${validatePathParam('snsCredentialsId', request.snsCredentialsId)}`
|
|
20764
20741
|
}, unmarshalSnsCredentials);
|
|
@@ -20797,7 +20774,7 @@ class SnsAPI extends API$v {
|
|
|
20797
20774
|
*
|
|
20798
20775
|
* This API allows you to manage Scaleway Messaging and Queueing SQS brokers.
|
|
20799
20776
|
*/
|
|
20800
|
-
class SqsAPI extends API$
|
|
20777
|
+
class SqsAPI extends API$w {
|
|
20801
20778
|
/** Lists the available regions of the API. */
|
|
20802
20779
|
static LOCALITIES = ['fr-par'];
|
|
20803
20780
|
|
|
@@ -20812,7 +20789,7 @@ class SqsAPI extends API$v {
|
|
|
20812
20789
|
*/
|
|
20813
20790
|
activateSqs = (request = {}) => this.client.fetch({
|
|
20814
20791
|
body: JSON.stringify(marshalSqsApiActivateSqsRequest(request, this.client.settings)),
|
|
20815
|
-
headers: jsonContentHeaders$
|
|
20792
|
+
headers: jsonContentHeaders$b,
|
|
20816
20793
|
method: 'POST',
|
|
20817
20794
|
path: `/mnq/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/activate-sqs`
|
|
20818
20795
|
}, unmarshalSqsInfo);
|
|
@@ -20840,7 +20817,7 @@ class SqsAPI extends API$v {
|
|
|
20840
20817
|
*/
|
|
20841
20818
|
deactivateSqs = (request = {}) => this.client.fetch({
|
|
20842
20819
|
body: JSON.stringify(marshalSqsApiDeactivateSqsRequest(request, this.client.settings)),
|
|
20843
|
-
headers: jsonContentHeaders$
|
|
20820
|
+
headers: jsonContentHeaders$b,
|
|
20844
20821
|
method: 'POST',
|
|
20845
20822
|
path: `/mnq/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/deactivate-sqs`
|
|
20846
20823
|
}, unmarshalSqsInfo);
|
|
@@ -20855,7 +20832,7 @@ class SqsAPI extends API$v {
|
|
|
20855
20832
|
*/
|
|
20856
20833
|
createSqsCredentials = (request = {}) => this.client.fetch({
|
|
20857
20834
|
body: JSON.stringify(marshalSqsApiCreateSqsCredentialsRequest(request, this.client.settings)),
|
|
20858
|
-
headers: jsonContentHeaders$
|
|
20835
|
+
headers: jsonContentHeaders$b,
|
|
20859
20836
|
method: 'POST',
|
|
20860
20837
|
path: `/mnq/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/sqs-credentials`
|
|
20861
20838
|
}, unmarshalSqsCredentials);
|
|
@@ -20881,7 +20858,7 @@ class SqsAPI extends API$v {
|
|
|
20881
20858
|
*/
|
|
20882
20859
|
updateSqsCredentials = request => this.client.fetch({
|
|
20883
20860
|
body: JSON.stringify(marshalSqsApiUpdateSqsCredentialsRequest(request, this.client.settings)),
|
|
20884
|
-
headers: jsonContentHeaders$
|
|
20861
|
+
headers: jsonContentHeaders$b,
|
|
20885
20862
|
method: 'PATCH',
|
|
20886
20863
|
path: `/mnq/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/sqs-credentials/${validatePathParam('sqsCredentialsId', request.sqsCredentialsId)}`
|
|
20887
20864
|
}, unmarshalSqsCredentials);
|
|
@@ -20991,7 +20968,7 @@ const SqsCredentials = {
|
|
|
20991
20968
|
}
|
|
20992
20969
|
};
|
|
20993
20970
|
|
|
20994
|
-
var validationRules_gen$
|
|
20971
|
+
var validationRules_gen$3 = /*#__PURE__*/Object.freeze({
|
|
20995
20972
|
__proto__: null,
|
|
20996
20973
|
NatsAccount: NatsAccount,
|
|
20997
20974
|
NatsApiCreateNatsAccountRequest: NatsApiCreateNatsAccountRequest,
|
|
@@ -21009,17 +20986,17 @@ var validationRules_gen$2 = /*#__PURE__*/Object.freeze({
|
|
|
21009
20986
|
// This file was automatically generated. DO NOT EDIT.
|
|
21010
20987
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
21011
20988
|
|
|
21012
|
-
var index_gen$
|
|
20989
|
+
var index_gen$c = /*#__PURE__*/Object.freeze({
|
|
21013
20990
|
__proto__: null,
|
|
21014
20991
|
NatsAPI: NatsAPI,
|
|
21015
20992
|
SnsAPI: SnsAPI,
|
|
21016
20993
|
SqsAPI: SqsAPI,
|
|
21017
|
-
ValidationRules: validationRules_gen$
|
|
20994
|
+
ValidationRules: validationRules_gen$3
|
|
21018
20995
|
});
|
|
21019
20996
|
|
|
21020
|
-
var index$
|
|
20997
|
+
var index$a = /*#__PURE__*/Object.freeze({
|
|
21021
20998
|
__proto__: null,
|
|
21022
|
-
v1beta1: index_gen$
|
|
20999
|
+
v1beta1: index_gen$c
|
|
21023
21000
|
});
|
|
21024
21001
|
|
|
21025
21002
|
// This file was automatically generated. DO NOT EDIT.
|
|
@@ -21094,7 +21071,7 @@ const unmarshalReadReplica = data => {
|
|
|
21094
21071
|
status: data.status
|
|
21095
21072
|
};
|
|
21096
21073
|
};
|
|
21097
|
-
const unmarshalDatabaseBackup = data => {
|
|
21074
|
+
const unmarshalDatabaseBackup$1 = data => {
|
|
21098
21075
|
if (!isJSONObject(data)) {
|
|
21099
21076
|
throw new TypeError(`Unmarshalling the type 'DatabaseBackup' failed as data isn't a dictionary.`);
|
|
21100
21077
|
}
|
|
@@ -21115,7 +21092,7 @@ const unmarshalDatabaseBackup = data => {
|
|
|
21115
21092
|
updatedAt: unmarshalDate(data.updated_at)
|
|
21116
21093
|
};
|
|
21117
21094
|
};
|
|
21118
|
-
const unmarshalDatabase = data => {
|
|
21095
|
+
const unmarshalDatabase$1 = data => {
|
|
21119
21096
|
if (!isJSONObject(data)) {
|
|
21120
21097
|
throw new TypeError(`Unmarshalling the type 'Database' failed as data isn't a dictionary.`);
|
|
21121
21098
|
}
|
|
@@ -21241,6 +21218,15 @@ const unmarshalPrivilege = data => {
|
|
|
21241
21218
|
userName: data.user_name
|
|
21242
21219
|
};
|
|
21243
21220
|
};
|
|
21221
|
+
const unmarshalSnapshotVolumeType = data => {
|
|
21222
|
+
if (!isJSONObject(data)) {
|
|
21223
|
+
throw new TypeError(`Unmarshalling the type 'SnapshotVolumeType' failed as data isn't a dictionary.`);
|
|
21224
|
+
}
|
|
21225
|
+
return {
|
|
21226
|
+
class: data.class,
|
|
21227
|
+
type: data.type
|
|
21228
|
+
};
|
|
21229
|
+
};
|
|
21244
21230
|
const unmarshalSnapshot = data => {
|
|
21245
21231
|
if (!isJSONObject(data)) {
|
|
21246
21232
|
throw new TypeError(`Unmarshalling the type 'Snapshot' failed as data isn't a dictionary.`);
|
|
@@ -21256,7 +21242,8 @@ const unmarshalSnapshot = data => {
|
|
|
21256
21242
|
region: data.region,
|
|
21257
21243
|
size: data.size,
|
|
21258
21244
|
status: data.status,
|
|
21259
|
-
updatedAt: unmarshalDate(data.updated_at)
|
|
21245
|
+
updatedAt: unmarshalDate(data.updated_at),
|
|
21246
|
+
volumeType: data.volume_type ? unmarshalSnapshotVolumeType(data.volume_type) : undefined
|
|
21260
21247
|
};
|
|
21261
21248
|
};
|
|
21262
21249
|
const unmarshalUser = data => {
|
|
@@ -21321,12 +21308,12 @@ const unmarshalInstanceMetrics = data => {
|
|
|
21321
21308
|
timeseries: unmarshalArrayOfObject(data.timeseries, unmarshalTimeSeries)
|
|
21322
21309
|
};
|
|
21323
21310
|
};
|
|
21324
|
-
const unmarshalListDatabaseBackupsResponse = data => {
|
|
21311
|
+
const unmarshalListDatabaseBackupsResponse$1 = data => {
|
|
21325
21312
|
if (!isJSONObject(data)) {
|
|
21326
21313
|
throw new TypeError(`Unmarshalling the type 'ListDatabaseBackupsResponse' failed as data isn't a dictionary.`);
|
|
21327
21314
|
}
|
|
21328
21315
|
return {
|
|
21329
|
-
databaseBackups: unmarshalArrayOfObject(data.database_backups, unmarshalDatabaseBackup),
|
|
21316
|
+
databaseBackups: unmarshalArrayOfObject(data.database_backups, unmarshalDatabaseBackup$1),
|
|
21330
21317
|
totalCount: data.total_count
|
|
21331
21318
|
};
|
|
21332
21319
|
};
|
|
@@ -21382,12 +21369,12 @@ const unmarshalListDatabaseEnginesResponse = data => {
|
|
|
21382
21369
|
totalCount: data.total_count
|
|
21383
21370
|
};
|
|
21384
21371
|
};
|
|
21385
|
-
const unmarshalListDatabasesResponse = data => {
|
|
21372
|
+
const unmarshalListDatabasesResponse$1 = data => {
|
|
21386
21373
|
if (!isJSONObject(data)) {
|
|
21387
21374
|
throw new TypeError(`Unmarshalling the type 'ListDatabasesResponse' failed as data isn't a dictionary.`);
|
|
21388
21375
|
}
|
|
21389
21376
|
return {
|
|
21390
|
-
databases: unmarshalArrayOfObject(data.databases, unmarshalDatabase),
|
|
21377
|
+
databases: unmarshalArrayOfObject(data.databases, unmarshalDatabase$1),
|
|
21391
21378
|
totalCount: data.total_count
|
|
21392
21379
|
};
|
|
21393
21380
|
};
|
|
@@ -21561,7 +21548,7 @@ const marshalCreateDatabaseBackupRequest = (request, defaults) => ({
|
|
|
21561
21548
|
instance_id: request.instanceId,
|
|
21562
21549
|
name: request.name || randomName('bkp')
|
|
21563
21550
|
});
|
|
21564
|
-
const marshalCreateDatabaseRequest = (request, defaults) => ({
|
|
21551
|
+
const marshalCreateDatabaseRequest$1 = (request, defaults) => ({
|
|
21565
21552
|
name: request.name
|
|
21566
21553
|
});
|
|
21567
21554
|
const marshalEndpointSpecPrivateNetworkIpamConfig = (request, defaults) => ({});
|
|
@@ -21740,12 +21727,12 @@ const marshalUpgradeInstanceRequest = (request, defaults) => ({
|
|
|
21740
21727
|
|
|
21741
21728
|
// This file was automatically generated. DO NOT EDIT.
|
|
21742
21729
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
21743
|
-
const jsonContentHeaders$
|
|
21730
|
+
const jsonContentHeaders$a = {
|
|
21744
21731
|
'Content-Type': 'application/json; charset=utf-8'
|
|
21745
21732
|
};
|
|
21746
21733
|
|
|
21747
21734
|
/** Managed Database for PostgreSQL and MySQL API. */
|
|
21748
|
-
let API$
|
|
21735
|
+
let API$a = class API extends API$w {
|
|
21749
21736
|
/** Lists the available regions of the API. */
|
|
21750
21737
|
static LOCALITIES = ['fr-par', 'nl-ams', 'pl-waw'];
|
|
21751
21738
|
pageOfListDatabaseEngines = (request = {}) => this.client.fetch({
|
|
@@ -21781,7 +21768,7 @@ let API$9 = class API extends API$v {
|
|
|
21781
21768
|
method: 'GET',
|
|
21782
21769
|
path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/backups`,
|
|
21783
21770
|
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);
|
|
21771
|
+
}, unmarshalListDatabaseBackupsResponse$1);
|
|
21785
21772
|
|
|
21786
21773
|
/**
|
|
21787
21774
|
* List database backups. List all backups in a specified region, for a given
|
|
@@ -21803,10 +21790,10 @@ let API$9 = class API extends API$v {
|
|
|
21803
21790
|
*/
|
|
21804
21791
|
createDatabaseBackup = request => this.client.fetch({
|
|
21805
21792
|
body: JSON.stringify(marshalCreateDatabaseBackupRequest(request, this.client.settings)),
|
|
21806
|
-
headers: jsonContentHeaders$
|
|
21793
|
+
headers: jsonContentHeaders$a,
|
|
21807
21794
|
method: 'POST',
|
|
21808
21795
|
path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/backups`
|
|
21809
|
-
}, unmarshalDatabaseBackup);
|
|
21796
|
+
}, unmarshalDatabaseBackup$1);
|
|
21810
21797
|
|
|
21811
21798
|
/**
|
|
21812
21799
|
* Get a database backup. Retrieve information about a given backup, specified
|
|
@@ -21819,7 +21806,7 @@ let API$9 = class API extends API$v {
|
|
|
21819
21806
|
getDatabaseBackup = request => this.client.fetch({
|
|
21820
21807
|
method: 'GET',
|
|
21821
21808
|
path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/backups/${validatePathParam('databaseBackupId', request.databaseBackupId)}`
|
|
21822
|
-
}, unmarshalDatabaseBackup);
|
|
21809
|
+
}, unmarshalDatabaseBackup$1);
|
|
21823
21810
|
|
|
21824
21811
|
/**
|
|
21825
21812
|
* Waits for {@link DatabaseBackup} to be in a final state.
|
|
@@ -21839,10 +21826,10 @@ let API$9 = class API extends API$v {
|
|
|
21839
21826
|
*/
|
|
21840
21827
|
updateDatabaseBackup = request => this.client.fetch({
|
|
21841
21828
|
body: JSON.stringify(marshalUpdateDatabaseBackupRequest(request, this.client.settings)),
|
|
21842
|
-
headers: jsonContentHeaders$
|
|
21829
|
+
headers: jsonContentHeaders$a,
|
|
21843
21830
|
method: 'PATCH',
|
|
21844
21831
|
path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/backups/${validatePathParam('databaseBackupId', request.databaseBackupId)}`
|
|
21845
|
-
}, unmarshalDatabaseBackup);
|
|
21832
|
+
}, unmarshalDatabaseBackup$1);
|
|
21846
21833
|
|
|
21847
21834
|
/**
|
|
21848
21835
|
* Delete a database backup. Delete a backup, specified by its database backup
|
|
@@ -21854,7 +21841,7 @@ let API$9 = class API extends API$v {
|
|
|
21854
21841
|
deleteDatabaseBackup = request => this.client.fetch({
|
|
21855
21842
|
method: 'DELETE',
|
|
21856
21843
|
path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/backups/${validatePathParam('databaseBackupId', request.databaseBackupId)}`
|
|
21857
|
-
}, unmarshalDatabaseBackup);
|
|
21844
|
+
}, unmarshalDatabaseBackup$1);
|
|
21858
21845
|
|
|
21859
21846
|
/**
|
|
21860
21847
|
* Restore a database backup. Launch the process of restoring database backup.
|
|
@@ -21867,10 +21854,10 @@ let API$9 = class API extends API$v {
|
|
|
21867
21854
|
*/
|
|
21868
21855
|
restoreDatabaseBackup = request => this.client.fetch({
|
|
21869
21856
|
body: JSON.stringify(marshalRestoreDatabaseBackupRequest(request, this.client.settings)),
|
|
21870
|
-
headers: jsonContentHeaders$
|
|
21857
|
+
headers: jsonContentHeaders$a,
|
|
21871
21858
|
method: 'POST',
|
|
21872
21859
|
path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/backups/${validatePathParam('databaseBackupId', request.databaseBackupId)}/restore`
|
|
21873
|
-
}, unmarshalDatabaseBackup);
|
|
21860
|
+
}, unmarshalDatabaseBackup$1);
|
|
21874
21861
|
|
|
21875
21862
|
/**
|
|
21876
21863
|
* Export a database backup. Export a backup, specified by the
|
|
@@ -21882,10 +21869,10 @@ let API$9 = class API extends API$v {
|
|
|
21882
21869
|
*/
|
|
21883
21870
|
exportDatabaseBackup = request => this.client.fetch({
|
|
21884
21871
|
body: '{}',
|
|
21885
|
-
headers: jsonContentHeaders$
|
|
21872
|
+
headers: jsonContentHeaders$a,
|
|
21886
21873
|
method: 'POST',
|
|
21887
21874
|
path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/backups/${validatePathParam('databaseBackupId', request.databaseBackupId)}/export`
|
|
21888
|
-
}, unmarshalDatabaseBackup);
|
|
21875
|
+
}, unmarshalDatabaseBackup$1);
|
|
21889
21876
|
|
|
21890
21877
|
/**
|
|
21891
21878
|
* Upgrade a Database Instance. Upgrade your current Database Instance
|
|
@@ -21898,7 +21885,7 @@ let API$9 = class API extends API$v {
|
|
|
21898
21885
|
*/
|
|
21899
21886
|
upgradeInstance = request => this.client.fetch({
|
|
21900
21887
|
body: JSON.stringify(marshalUpgradeInstanceRequest(request, this.client.settings)),
|
|
21901
|
-
headers: jsonContentHeaders$
|
|
21888
|
+
headers: jsonContentHeaders$a,
|
|
21902
21889
|
method: 'POST',
|
|
21903
21890
|
path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/upgrade`
|
|
21904
21891
|
}, unmarshalInstance);
|
|
@@ -21956,7 +21943,7 @@ let API$9 = class API extends API$v {
|
|
|
21956
21943
|
*/
|
|
21957
21944
|
createInstance = request => this.client.fetch({
|
|
21958
21945
|
body: JSON.stringify(marshalCreateInstanceRequest(request, this.client.settings)),
|
|
21959
|
-
headers: jsonContentHeaders$
|
|
21946
|
+
headers: jsonContentHeaders$a,
|
|
21960
21947
|
method: 'POST',
|
|
21961
21948
|
path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances`
|
|
21962
21949
|
}, unmarshalInstance);
|
|
@@ -21970,7 +21957,7 @@ let API$9 = class API extends API$v {
|
|
|
21970
21957
|
*/
|
|
21971
21958
|
updateInstance = request => this.client.fetch({
|
|
21972
21959
|
body: JSON.stringify(marshalUpdateInstanceRequest(request, this.client.settings)),
|
|
21973
|
-
headers: jsonContentHeaders$
|
|
21960
|
+
headers: jsonContentHeaders$a,
|
|
21974
21961
|
method: 'PATCH',
|
|
21975
21962
|
path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}`
|
|
21976
21963
|
}, unmarshalInstance);
|
|
@@ -22001,7 +21988,7 @@ let API$9 = class API extends API$v {
|
|
|
22001
21988
|
*/
|
|
22002
21989
|
cloneInstance = request => this.client.fetch({
|
|
22003
21990
|
body: JSON.stringify(marshalCloneInstanceRequest(request, this.client.settings)),
|
|
22004
|
-
headers: jsonContentHeaders$
|
|
21991
|
+
headers: jsonContentHeaders$a,
|
|
22005
21992
|
method: 'POST',
|
|
22006
21993
|
path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/clone`
|
|
22007
21994
|
}, unmarshalInstance);
|
|
@@ -22016,7 +22003,7 @@ let API$9 = class API extends API$v {
|
|
|
22016
22003
|
*/
|
|
22017
22004
|
restartInstance = request => this.client.fetch({
|
|
22018
22005
|
body: '{}',
|
|
22019
|
-
headers: jsonContentHeaders$
|
|
22006
|
+
headers: jsonContentHeaders$a,
|
|
22020
22007
|
method: 'POST',
|
|
22021
22008
|
path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/restart`
|
|
22022
22009
|
}, unmarshalInstance);
|
|
@@ -22047,7 +22034,7 @@ let API$9 = class API extends API$v {
|
|
|
22047
22034
|
*/
|
|
22048
22035
|
renewInstanceCertificate = request => this.client.fetch({
|
|
22049
22036
|
body: '{}',
|
|
22050
|
-
headers: jsonContentHeaders$
|
|
22037
|
+
headers: jsonContentHeaders$a,
|
|
22051
22038
|
method: 'POST',
|
|
22052
22039
|
path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/renew-certificate`
|
|
22053
22040
|
});
|
|
@@ -22076,7 +22063,7 @@ let API$9 = class API extends API$v {
|
|
|
22076
22063
|
*/
|
|
22077
22064
|
createReadReplica = request => this.client.fetch({
|
|
22078
22065
|
body: JSON.stringify(marshalCreateReadReplicaRequest(request, this.client.settings)),
|
|
22079
|
-
headers: jsonContentHeaders$
|
|
22066
|
+
headers: jsonContentHeaders$a,
|
|
22080
22067
|
method: 'POST',
|
|
22081
22068
|
path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/read-replicas`
|
|
22082
22069
|
}, unmarshalReadReplica);
|
|
@@ -22128,7 +22115,7 @@ let API$9 = class API extends API$v {
|
|
|
22128
22115
|
*/
|
|
22129
22116
|
resetReadReplica = request => this.client.fetch({
|
|
22130
22117
|
body: '{}',
|
|
22131
|
-
headers: jsonContentHeaders$
|
|
22118
|
+
headers: jsonContentHeaders$a,
|
|
22132
22119
|
method: 'POST',
|
|
22133
22120
|
path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/read-replicas/${validatePathParam('readReplicaId', request.readReplicaId)}/reset`
|
|
22134
22121
|
}, unmarshalReadReplica);
|
|
@@ -22142,7 +22129,7 @@ let API$9 = class API extends API$v {
|
|
|
22142
22129
|
*/
|
|
22143
22130
|
promoteReadReplica = request => this.client.fetch({
|
|
22144
22131
|
body: '{}',
|
|
22145
|
-
headers: jsonContentHeaders$
|
|
22132
|
+
headers: jsonContentHeaders$a,
|
|
22146
22133
|
method: 'POST',
|
|
22147
22134
|
path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/read-replicas/${validatePathParam('readReplicaId', request.readReplicaId)}/promote`
|
|
22148
22135
|
}, unmarshalInstance);
|
|
@@ -22157,7 +22144,7 @@ let API$9 = class API extends API$v {
|
|
|
22157
22144
|
*/
|
|
22158
22145
|
createReadReplicaEndpoint = request => this.client.fetch({
|
|
22159
22146
|
body: JSON.stringify(marshalCreateReadReplicaEndpointRequest(request, this.client.settings)),
|
|
22160
|
-
headers: jsonContentHeaders$
|
|
22147
|
+
headers: jsonContentHeaders$a,
|
|
22161
22148
|
method: 'POST',
|
|
22162
22149
|
path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/read-replicas/${validatePathParam('readReplicaId', request.readReplicaId)}/endpoints`
|
|
22163
22150
|
}, unmarshalReadReplica);
|
|
@@ -22175,7 +22162,7 @@ let API$9 = class API extends API$v {
|
|
|
22175
22162
|
*/
|
|
22176
22163
|
prepareInstanceLogs = request => this.client.fetch({
|
|
22177
22164
|
body: JSON.stringify(marshalPrepareInstanceLogsRequest(request, this.client.settings)),
|
|
22178
|
-
headers: jsonContentHeaders$
|
|
22165
|
+
headers: jsonContentHeaders$a,
|
|
22179
22166
|
method: 'POST',
|
|
22180
22167
|
path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/prepare-logs`
|
|
22181
22168
|
}, unmarshalPrepareInstanceLogsResponse);
|
|
@@ -22227,7 +22214,7 @@ let API$9 = class API extends API$v {
|
|
|
22227
22214
|
*/
|
|
22228
22215
|
purgeInstanceLogs = request => this.client.fetch({
|
|
22229
22216
|
body: JSON.stringify(marshalPurgeInstanceLogsRequest(request, this.client.settings)),
|
|
22230
|
-
headers: jsonContentHeaders$
|
|
22217
|
+
headers: jsonContentHeaders$a,
|
|
22231
22218
|
method: 'POST',
|
|
22232
22219
|
path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/purge-logs`
|
|
22233
22220
|
});
|
|
@@ -22255,7 +22242,7 @@ let API$9 = class API extends API$v {
|
|
|
22255
22242
|
*/
|
|
22256
22243
|
addInstanceSettings = request => this.client.fetch({
|
|
22257
22244
|
body: JSON.stringify(marshalAddInstanceSettingsRequest(request, this.client.settings)),
|
|
22258
|
-
headers: jsonContentHeaders$
|
|
22245
|
+
headers: jsonContentHeaders$a,
|
|
22259
22246
|
method: 'POST',
|
|
22260
22247
|
path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/settings`
|
|
22261
22248
|
}, unmarshalAddInstanceSettingsResponse);
|
|
@@ -22270,7 +22257,7 @@ let API$9 = class API extends API$v {
|
|
|
22270
22257
|
*/
|
|
22271
22258
|
deleteInstanceSettings = request => this.client.fetch({
|
|
22272
22259
|
body: JSON.stringify(marshalDeleteInstanceSettingsRequest(request, this.client.settings)),
|
|
22273
|
-
headers: jsonContentHeaders$
|
|
22260
|
+
headers: jsonContentHeaders$a,
|
|
22274
22261
|
method: 'DELETE',
|
|
22275
22262
|
path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/settings`
|
|
22276
22263
|
}, unmarshalDeleteInstanceSettingsResponse);
|
|
@@ -22285,7 +22272,7 @@ let API$9 = class API extends API$v {
|
|
|
22285
22272
|
*/
|
|
22286
22273
|
setInstanceSettings = request => this.client.fetch({
|
|
22287
22274
|
body: JSON.stringify(marshalSetInstanceSettingsRequest(request, this.client.settings)),
|
|
22288
|
-
headers: jsonContentHeaders$
|
|
22275
|
+
headers: jsonContentHeaders$a,
|
|
22289
22276
|
method: 'PUT',
|
|
22290
22277
|
path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/settings`
|
|
22291
22278
|
}, unmarshalSetInstanceSettingsResponse);
|
|
@@ -22315,7 +22302,7 @@ let API$9 = class API extends API$v {
|
|
|
22315
22302
|
*/
|
|
22316
22303
|
addInstanceACLRules = request => this.client.fetch({
|
|
22317
22304
|
body: JSON.stringify(marshalAddInstanceACLRulesRequest(request, this.client.settings)),
|
|
22318
|
-
headers: jsonContentHeaders$
|
|
22305
|
+
headers: jsonContentHeaders$a,
|
|
22319
22306
|
method: 'POST',
|
|
22320
22307
|
path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/acls`
|
|
22321
22308
|
}, unmarshalAddInstanceACLRulesResponse);
|
|
@@ -22329,7 +22316,7 @@ let API$9 = class API extends API$v {
|
|
|
22329
22316
|
*/
|
|
22330
22317
|
setInstanceACLRules = request => this.client.fetch({
|
|
22331
22318
|
body: JSON.stringify(marshalSetInstanceACLRulesRequest(request, this.client.settings)),
|
|
22332
|
-
headers: jsonContentHeaders$
|
|
22319
|
+
headers: jsonContentHeaders$a,
|
|
22333
22320
|
method: 'PUT',
|
|
22334
22321
|
path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/acls`
|
|
22335
22322
|
}, unmarshalSetInstanceACLRulesResponse);
|
|
@@ -22343,7 +22330,7 @@ let API$9 = class API extends API$v {
|
|
|
22343
22330
|
*/
|
|
22344
22331
|
deleteInstanceACLRules = request => this.client.fetch({
|
|
22345
22332
|
body: JSON.stringify(marshalDeleteInstanceACLRulesRequest(request, this.client.settings)),
|
|
22346
|
-
headers: jsonContentHeaders$
|
|
22333
|
+
headers: jsonContentHeaders$a,
|
|
22347
22334
|
method: 'DELETE',
|
|
22348
22335
|
path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/acls`
|
|
22349
22336
|
}, unmarshalDeleteInstanceACLRulesResponse);
|
|
@@ -22374,7 +22361,7 @@ let API$9 = class API extends API$v {
|
|
|
22374
22361
|
*/
|
|
22375
22362
|
createUser = request => this.client.fetch({
|
|
22376
22363
|
body: JSON.stringify(marshalCreateUserRequest(request, this.client.settings)),
|
|
22377
|
-
headers: jsonContentHeaders$
|
|
22364
|
+
headers: jsonContentHeaders$a,
|
|
22378
22365
|
method: 'POST',
|
|
22379
22366
|
path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/users`
|
|
22380
22367
|
}, unmarshalUser);
|
|
@@ -22389,7 +22376,7 @@ let API$9 = class API extends API$v {
|
|
|
22389
22376
|
*/
|
|
22390
22377
|
updateUser = request => this.client.fetch({
|
|
22391
22378
|
body: JSON.stringify(marshalUpdateUserRequest(request, this.client.settings)),
|
|
22392
|
-
headers: jsonContentHeaders$
|
|
22379
|
+
headers: jsonContentHeaders$a,
|
|
22393
22380
|
method: 'PATCH',
|
|
22394
22381
|
path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/users/${validatePathParam('name', request.name)}`
|
|
22395
22382
|
}, unmarshalUser);
|
|
@@ -22409,7 +22396,7 @@ let API$9 = class API extends API$v {
|
|
|
22409
22396
|
method: 'GET',
|
|
22410
22397
|
path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/databases`,
|
|
22411
22398
|
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);
|
|
22399
|
+
}, unmarshalListDatabasesResponse$1);
|
|
22413
22400
|
|
|
22414
22401
|
/**
|
|
22415
22402
|
* List databases in a Database Instance. List all databases of a given
|
|
@@ -22431,11 +22418,11 @@ let API$9 = class API extends API$v {
|
|
|
22431
22418
|
* @returns A Promise of Database
|
|
22432
22419
|
*/
|
|
22433
22420
|
createDatabase = request => this.client.fetch({
|
|
22434
|
-
body: JSON.stringify(marshalCreateDatabaseRequest(request, this.client.settings)),
|
|
22435
|
-
headers: jsonContentHeaders$
|
|
22421
|
+
body: JSON.stringify(marshalCreateDatabaseRequest$1(request, this.client.settings)),
|
|
22422
|
+
headers: jsonContentHeaders$a,
|
|
22436
22423
|
method: 'POST',
|
|
22437
22424
|
path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/databases`
|
|
22438
|
-
}, unmarshalDatabase);
|
|
22425
|
+
}, unmarshalDatabase$1);
|
|
22439
22426
|
|
|
22440
22427
|
/**
|
|
22441
22428
|
* Delete a database in a Database Instance. Delete a given database on a
|
|
@@ -22476,7 +22463,7 @@ let API$9 = class API extends API$v {
|
|
|
22476
22463
|
*/
|
|
22477
22464
|
setPrivilege = request => this.client.fetch({
|
|
22478
22465
|
body: JSON.stringify(marshalSetPrivilegeRequest(request, this.client.settings)),
|
|
22479
|
-
headers: jsonContentHeaders$
|
|
22466
|
+
headers: jsonContentHeaders$a,
|
|
22480
22467
|
method: 'PUT',
|
|
22481
22468
|
path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/privileges`
|
|
22482
22469
|
}, unmarshalPrivilege);
|
|
@@ -22529,7 +22516,7 @@ let API$9 = class API extends API$v {
|
|
|
22529
22516
|
*/
|
|
22530
22517
|
createSnapshot = request => this.client.fetch({
|
|
22531
22518
|
body: JSON.stringify(marshalCreateSnapshotRequest(request, this.client.settings)),
|
|
22532
|
-
headers: jsonContentHeaders$
|
|
22519
|
+
headers: jsonContentHeaders$a,
|
|
22533
22520
|
method: 'POST',
|
|
22534
22521
|
path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/snapshots`
|
|
22535
22522
|
}, unmarshalSnapshot);
|
|
@@ -22544,7 +22531,7 @@ let API$9 = class API extends API$v {
|
|
|
22544
22531
|
*/
|
|
22545
22532
|
updateSnapshot = request => this.client.fetch({
|
|
22546
22533
|
body: JSON.stringify(marshalUpdateSnapshotRequest(request, this.client.settings)),
|
|
22547
|
-
headers: jsonContentHeaders$
|
|
22534
|
+
headers: jsonContentHeaders$a,
|
|
22548
22535
|
method: 'PATCH',
|
|
22549
22536
|
path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/snapshots/${validatePathParam('snapshotId', request.snapshotId)}`
|
|
22550
22537
|
}, unmarshalSnapshot);
|
|
@@ -22577,7 +22564,7 @@ let API$9 = class API extends API$v {
|
|
|
22577
22564
|
*/
|
|
22578
22565
|
createInstanceFromSnapshot = request => this.client.fetch({
|
|
22579
22566
|
body: JSON.stringify(marshalCreateInstanceFromSnapshotRequest(request, this.client.settings)),
|
|
22580
|
-
headers: jsonContentHeaders$
|
|
22567
|
+
headers: jsonContentHeaders$a,
|
|
22581
22568
|
method: 'POST',
|
|
22582
22569
|
path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/snapshots/${validatePathParam('snapshotId', request.snapshotId)}/create-instance`
|
|
22583
22570
|
}, unmarshalInstance);
|
|
@@ -22592,7 +22579,7 @@ let API$9 = class API extends API$v {
|
|
|
22592
22579
|
*/
|
|
22593
22580
|
createEndpoint = request => this.client.fetch({
|
|
22594
22581
|
body: JSON.stringify(marshalCreateEndpointRequest(request, this.client.settings)),
|
|
22595
|
-
headers: jsonContentHeaders$
|
|
22582
|
+
headers: jsonContentHeaders$a,
|
|
22596
22583
|
method: 'POST',
|
|
22597
22584
|
path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/endpoints`
|
|
22598
22585
|
}, unmarshalEndpoint$1);
|
|
@@ -22632,7 +22619,7 @@ let API$9 = class API extends API$v {
|
|
|
22632
22619
|
*/
|
|
22633
22620
|
migrateEndpoint = request => this.client.fetch({
|
|
22634
22621
|
body: JSON.stringify(marshalMigrateEndpointRequest(request, this.client.settings)),
|
|
22635
|
-
headers: jsonContentHeaders$
|
|
22622
|
+
headers: jsonContentHeaders$a,
|
|
22636
22623
|
method: 'POST',
|
|
22637
22624
|
path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/endpoints/${validatePathParam('endpointId', request.endpointId)}/migrate`
|
|
22638
22625
|
}, unmarshalEndpoint$1);
|
|
@@ -22647,7 +22634,7 @@ const UpdateInstanceRequest = {
|
|
|
22647
22634
|
}
|
|
22648
22635
|
};
|
|
22649
22636
|
|
|
22650
|
-
var validationRules_gen$
|
|
22637
|
+
var validationRules_gen$2 = /*#__PURE__*/Object.freeze({
|
|
22651
22638
|
__proto__: null,
|
|
22652
22639
|
UpdateInstanceRequest: UpdateInstanceRequest
|
|
22653
22640
|
});
|
|
@@ -22655,21 +22642,21 @@ var validationRules_gen$1 = /*#__PURE__*/Object.freeze({
|
|
|
22655
22642
|
// This file was automatically generated. DO NOT EDIT.
|
|
22656
22643
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
22657
22644
|
|
|
22658
|
-
var index_gen$
|
|
22645
|
+
var index_gen$b = /*#__PURE__*/Object.freeze({
|
|
22659
22646
|
__proto__: null,
|
|
22660
|
-
API: API$
|
|
22647
|
+
API: API$a,
|
|
22661
22648
|
DATABASE_BACKUP_TRANSIENT_STATUSES: DATABASE_BACKUP_TRANSIENT_STATUSES,
|
|
22662
22649
|
INSTANCE_LOG_TRANSIENT_STATUSES: INSTANCE_LOG_TRANSIENT_STATUSES,
|
|
22663
22650
|
INSTANCE_TRANSIENT_STATUSES: INSTANCE_TRANSIENT_STATUSES,
|
|
22664
22651
|
MAINTENANCE_TRANSIENT_STATUSES: MAINTENANCE_TRANSIENT_STATUSES,
|
|
22665
22652
|
READ_REPLICA_TRANSIENT_STATUSES: READ_REPLICA_TRANSIENT_STATUSES,
|
|
22666
22653
|
SNAPSHOT_TRANSIENT_STATUSES: SNAPSHOT_TRANSIENT_STATUSES,
|
|
22667
|
-
ValidationRules: validationRules_gen$
|
|
22654
|
+
ValidationRules: validationRules_gen$2
|
|
22668
22655
|
});
|
|
22669
22656
|
|
|
22670
|
-
var index$
|
|
22657
|
+
var index$9 = /*#__PURE__*/Object.freeze({
|
|
22671
22658
|
__proto__: null,
|
|
22672
|
-
v1: index_gen$
|
|
22659
|
+
v1: index_gen$b
|
|
22673
22660
|
});
|
|
22674
22661
|
|
|
22675
22662
|
// This file was automatically generated. DO NOT EDIT.
|
|
@@ -22957,12 +22944,12 @@ const marshalUpdateEndpointRequest = (request, defaults) => ({
|
|
|
22957
22944
|
|
|
22958
22945
|
// This file was automatically generated. DO NOT EDIT.
|
|
22959
22946
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
22960
|
-
const jsonContentHeaders$
|
|
22947
|
+
const jsonContentHeaders$9 = {
|
|
22961
22948
|
'Content-Type': 'application/json; charset=utf-8'
|
|
22962
22949
|
};
|
|
22963
22950
|
|
|
22964
22951
|
/** Managed Database for Redis™ API. */
|
|
22965
|
-
let API$
|
|
22952
|
+
let API$9 = class API extends API$w {
|
|
22966
22953
|
/** Lists the available zones of the API. */
|
|
22967
22954
|
static LOCALITIES = ['fr-par-1', 'fr-par-2', 'nl-ams-1', 'nl-ams-2', 'pl-waw-1', 'pl-waw-2'];
|
|
22968
22955
|
|
|
@@ -22977,7 +22964,7 @@ let API$8 = class API extends API$v {
|
|
|
22977
22964
|
*/
|
|
22978
22965
|
createCluster = request => this.client.fetch({
|
|
22979
22966
|
body: JSON.stringify(marshalCreateClusterRequest(request, this.client.settings)),
|
|
22980
|
-
headers: jsonContentHeaders$
|
|
22967
|
+
headers: jsonContentHeaders$9,
|
|
22981
22968
|
method: 'POST',
|
|
22982
22969
|
path: `/redis/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/clusters`
|
|
22983
22970
|
}, unmarshalCluster);
|
|
@@ -22992,7 +22979,7 @@ let API$8 = class API extends API$v {
|
|
|
22992
22979
|
*/
|
|
22993
22980
|
updateCluster = request => this.client.fetch({
|
|
22994
22981
|
body: JSON.stringify(marshalUpdateClusterRequest(request, this.client.settings)),
|
|
22995
|
-
headers: jsonContentHeaders$
|
|
22982
|
+
headers: jsonContentHeaders$9,
|
|
22996
22983
|
method: 'PATCH',
|
|
22997
22984
|
path: `/redis/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/clusters/${validatePathParam('clusterId', request.clusterId)}`
|
|
22998
22985
|
}, unmarshalCluster);
|
|
@@ -23053,7 +23040,7 @@ let API$8 = class API extends API$v {
|
|
|
23053
23040
|
*/
|
|
23054
23041
|
migrateCluster = request => this.client.fetch({
|
|
23055
23042
|
body: JSON.stringify(marshalMigrateClusterRequest(request, this.client.settings)),
|
|
23056
|
-
headers: jsonContentHeaders$
|
|
23043
|
+
headers: jsonContentHeaders$9,
|
|
23057
23044
|
method: 'POST',
|
|
23058
23045
|
path: `/redis/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/clusters/${validatePathParam('clusterId', request.clusterId)}/migrate`
|
|
23059
23046
|
}, unmarshalCluster);
|
|
@@ -23143,7 +23130,7 @@ let API$8 = class API extends API$v {
|
|
|
23143
23130
|
*/
|
|
23144
23131
|
renewClusterCertificate = request => this.client.fetch({
|
|
23145
23132
|
body: '{}',
|
|
23146
|
-
headers: jsonContentHeaders$
|
|
23133
|
+
headers: jsonContentHeaders$9,
|
|
23147
23134
|
method: 'POST',
|
|
23148
23135
|
path: `/redis/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/clusters/${validatePathParam('clusterId', request.clusterId)}/renew-certificate`
|
|
23149
23136
|
}, unmarshalCluster);
|
|
@@ -23158,7 +23145,7 @@ let API$8 = class API extends API$v {
|
|
|
23158
23145
|
*/
|
|
23159
23146
|
addClusterSettings = request => this.client.fetch({
|
|
23160
23147
|
body: JSON.stringify(marshalAddClusterSettingsRequest(request, this.client.settings)),
|
|
23161
|
-
headers: jsonContentHeaders$
|
|
23148
|
+
headers: jsonContentHeaders$9,
|
|
23162
23149
|
method: 'POST',
|
|
23163
23150
|
path: `/redis/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/clusters/${validatePathParam('clusterId', request.clusterId)}/settings`
|
|
23164
23151
|
}, unmarshalClusterSettingsResponse);
|
|
@@ -23186,7 +23173,7 @@ let API$8 = class API extends API$v {
|
|
|
23186
23173
|
*/
|
|
23187
23174
|
setClusterSettings = request => this.client.fetch({
|
|
23188
23175
|
body: JSON.stringify(marshalSetClusterSettingsRequest(request, this.client.settings)),
|
|
23189
|
-
headers: jsonContentHeaders$
|
|
23176
|
+
headers: jsonContentHeaders$9,
|
|
23190
23177
|
method: 'PUT',
|
|
23191
23178
|
path: `/redis/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/clusters/${validatePathParam('clusterId', request.clusterId)}/settings`
|
|
23192
23179
|
}, unmarshalClusterSettingsResponse);
|
|
@@ -23200,7 +23187,7 @@ let API$8 = class API extends API$v {
|
|
|
23200
23187
|
*/
|
|
23201
23188
|
setAclRules = request => this.client.fetch({
|
|
23202
23189
|
body: JSON.stringify(marshalSetAclRulesRequest(request, this.client.settings)),
|
|
23203
|
-
headers: jsonContentHeaders$
|
|
23190
|
+
headers: jsonContentHeaders$9,
|
|
23204
23191
|
method: 'PUT',
|
|
23205
23192
|
path: `/redis/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/clusters/${validatePathParam('clusterId', request.clusterId)}/acls`
|
|
23206
23193
|
}, unmarshalSetAclRulesResponse);
|
|
@@ -23214,7 +23201,7 @@ let API$8 = class API extends API$v {
|
|
|
23214
23201
|
*/
|
|
23215
23202
|
addAclRules = request => this.client.fetch({
|
|
23216
23203
|
body: JSON.stringify(marshalAddAclRulesRequest(request, this.client.settings)),
|
|
23217
|
-
headers: jsonContentHeaders$
|
|
23204
|
+
headers: jsonContentHeaders$9,
|
|
23218
23205
|
method: 'POST',
|
|
23219
23206
|
path: `/redis/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/clusters/${validatePathParam('clusterId', request.clusterId)}/acls`
|
|
23220
23207
|
}, unmarshalAddAclRulesResponse);
|
|
@@ -23255,7 +23242,7 @@ let API$8 = class API extends API$v {
|
|
|
23255
23242
|
*/
|
|
23256
23243
|
setEndpoints = request => this.client.fetch({
|
|
23257
23244
|
body: JSON.stringify(marshalSetEndpointsRequest(request, this.client.settings)),
|
|
23258
|
-
headers: jsonContentHeaders$
|
|
23245
|
+
headers: jsonContentHeaders$9,
|
|
23259
23246
|
method: 'PUT',
|
|
23260
23247
|
path: `/redis/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/clusters/${validatePathParam('clusterId', request.clusterId)}/endpoints`
|
|
23261
23248
|
}, unmarshalSetEndpointsResponse);
|
|
@@ -23270,7 +23257,7 @@ let API$8 = class API extends API$v {
|
|
|
23270
23257
|
*/
|
|
23271
23258
|
addEndpoints = request => this.client.fetch({
|
|
23272
23259
|
body: JSON.stringify(marshalAddEndpointsRequest(request, this.client.settings)),
|
|
23273
|
-
headers: jsonContentHeaders$
|
|
23260
|
+
headers: jsonContentHeaders$9,
|
|
23274
23261
|
method: 'POST',
|
|
23275
23262
|
path: `/redis/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/clusters/${validatePathParam('clusterId', request.clusterId)}/endpoints`
|
|
23276
23263
|
}, unmarshalAddEndpointsResponse);
|
|
@@ -23314,7 +23301,7 @@ let API$8 = class API extends API$v {
|
|
|
23314
23301
|
*/
|
|
23315
23302
|
updateEndpoint = request => this.client.fetch({
|
|
23316
23303
|
body: JSON.stringify(marshalUpdateEndpointRequest(request, this.client.settings)),
|
|
23317
|
-
headers: jsonContentHeaders$
|
|
23304
|
+
headers: jsonContentHeaders$9,
|
|
23318
23305
|
method: 'PATCH',
|
|
23319
23306
|
path: `/redis/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/endpoints/${validatePathParam('endpointId', request.endpointId)}`
|
|
23320
23307
|
}, unmarshalEndpoint);
|
|
@@ -23323,15 +23310,15 @@ let API$8 = class API extends API$v {
|
|
|
23323
23310
|
// This file was automatically generated. DO NOT EDIT.
|
|
23324
23311
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
23325
23312
|
|
|
23326
|
-
var index_gen$
|
|
23313
|
+
var index_gen$a = /*#__PURE__*/Object.freeze({
|
|
23327
23314
|
__proto__: null,
|
|
23328
|
-
API: API$
|
|
23315
|
+
API: API$9,
|
|
23329
23316
|
CLUSTER_TRANSIENT_STATUSES: CLUSTER_TRANSIENT_STATUSES
|
|
23330
23317
|
});
|
|
23331
23318
|
|
|
23332
|
-
var index$
|
|
23319
|
+
var index$8 = /*#__PURE__*/Object.freeze({
|
|
23333
23320
|
__proto__: null,
|
|
23334
|
-
v1: index_gen$
|
|
23321
|
+
v1: index_gen$a
|
|
23335
23322
|
});
|
|
23336
23323
|
|
|
23337
23324
|
// This file was automatically generated. DO NOT EDIT.
|
|
@@ -23451,12 +23438,12 @@ const marshalUpdateNamespaceRequest = (request, defaults) => ({
|
|
|
23451
23438
|
|
|
23452
23439
|
// This file was automatically generated. DO NOT EDIT.
|
|
23453
23440
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
23454
|
-
const jsonContentHeaders$
|
|
23441
|
+
const jsonContentHeaders$8 = {
|
|
23455
23442
|
'Content-Type': 'application/json; charset=utf-8'
|
|
23456
23443
|
};
|
|
23457
23444
|
|
|
23458
23445
|
/** Container Registry API. */
|
|
23459
|
-
let API$
|
|
23446
|
+
let API$8 = class API extends API$w {
|
|
23460
23447
|
/** Lists the available regions of the API. */
|
|
23461
23448
|
static LOCALITIES = ['fr-par', 'nl-ams', 'pl-waw'];
|
|
23462
23449
|
pageOfListNamespaces = (request = {}) => this.client.fetch({
|
|
@@ -23511,7 +23498,7 @@ let API$7 = class API extends API$v {
|
|
|
23511
23498
|
*/
|
|
23512
23499
|
createNamespace = request => this.client.fetch({
|
|
23513
23500
|
body: JSON.stringify(marshalCreateNamespaceRequest(request, this.client.settings)),
|
|
23514
|
-
headers: jsonContentHeaders$
|
|
23501
|
+
headers: jsonContentHeaders$8,
|
|
23515
23502
|
method: 'POST',
|
|
23516
23503
|
path: `/registry/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/namespaces`
|
|
23517
23504
|
}, unmarshalNamespace);
|
|
@@ -23526,7 +23513,7 @@ let API$7 = class API extends API$v {
|
|
|
23526
23513
|
*/
|
|
23527
23514
|
updateNamespace = request => this.client.fetch({
|
|
23528
23515
|
body: JSON.stringify(marshalUpdateNamespaceRequest(request, this.client.settings)),
|
|
23529
|
-
headers: jsonContentHeaders$
|
|
23516
|
+
headers: jsonContentHeaders$8,
|
|
23530
23517
|
method: 'PATCH',
|
|
23531
23518
|
path: `/registry/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/namespaces/${validatePathParam('namespaceId', request.namespaceId)}`
|
|
23532
23519
|
}, unmarshalNamespace);
|
|
@@ -23592,7 +23579,7 @@ let API$7 = class API extends API$v {
|
|
|
23592
23579
|
*/
|
|
23593
23580
|
updateImage = request => this.client.fetch({
|
|
23594
23581
|
body: JSON.stringify(marshalUpdateImageRequest(request, this.client.settings)),
|
|
23595
|
-
headers: jsonContentHeaders$
|
|
23582
|
+
headers: jsonContentHeaders$8,
|
|
23596
23583
|
method: 'PATCH',
|
|
23597
23584
|
path: `/registry/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/images/${validatePathParam('imageId', request.imageId)}`
|
|
23598
23585
|
}, unmarshalImage);
|
|
@@ -23664,17 +23651,17 @@ let API$7 = class API extends API$v {
|
|
|
23664
23651
|
// This file was automatically generated. DO NOT EDIT.
|
|
23665
23652
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
23666
23653
|
|
|
23667
|
-
var index_gen$
|
|
23654
|
+
var index_gen$9 = /*#__PURE__*/Object.freeze({
|
|
23668
23655
|
__proto__: null,
|
|
23669
|
-
API: API$
|
|
23656
|
+
API: API$8,
|
|
23670
23657
|
IMAGE_TRANSIENT_STATUSES: IMAGE_TRANSIENT_STATUSES,
|
|
23671
23658
|
NAMESPACE_TRANSIENT_STATUSES: NAMESPACE_TRANSIENT_STATUSES,
|
|
23672
23659
|
TAG_TRANSIENT_STATUSES: TAG_TRANSIENT_STATUSES
|
|
23673
23660
|
});
|
|
23674
23661
|
|
|
23675
|
-
var index$
|
|
23662
|
+
var index$7 = /*#__PURE__*/Object.freeze({
|
|
23676
23663
|
__proto__: null,
|
|
23677
|
-
v1: index_gen$
|
|
23664
|
+
v1: index_gen$9
|
|
23678
23665
|
});
|
|
23679
23666
|
|
|
23680
23667
|
// This file was automatically generated. DO NOT EDIT.
|
|
@@ -23830,7 +23817,7 @@ const marshalUpdateSecretVersionRequest = (request, defaults) => ({
|
|
|
23830
23817
|
|
|
23831
23818
|
// This file was automatically generated. DO NOT EDIT.
|
|
23832
23819
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
23833
|
-
const jsonContentHeaders$
|
|
23820
|
+
const jsonContentHeaders$7 = {
|
|
23834
23821
|
'Content-Type': 'application/json; charset=utf-8'
|
|
23835
23822
|
};
|
|
23836
23823
|
|
|
@@ -23840,7 +23827,7 @@ const jsonContentHeaders$6 = {
|
|
|
23840
23827
|
* Secret Manager API. This API allows you to conveniently store, access and
|
|
23841
23828
|
* share sensitive data.
|
|
23842
23829
|
*/
|
|
23843
|
-
let API$
|
|
23830
|
+
let API$7 = class API extends API$w {
|
|
23844
23831
|
/** Lists the available regions of the API. */
|
|
23845
23832
|
static LOCALITIES = ['fr-par', 'nl-ams', 'pl-waw'];
|
|
23846
23833
|
|
|
@@ -23852,7 +23839,7 @@ let API$6 = class API extends API$v {
|
|
|
23852
23839
|
*/
|
|
23853
23840
|
createSecret = request => this.client.fetch({
|
|
23854
23841
|
body: JSON.stringify(marshalCreateSecretRequest(request, this.client.settings)),
|
|
23855
|
-
headers: jsonContentHeaders$
|
|
23842
|
+
headers: jsonContentHeaders$7,
|
|
23856
23843
|
method: 'POST',
|
|
23857
23844
|
path: `/secret-manager/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/secrets`
|
|
23858
23845
|
}, unmarshalSecret);
|
|
@@ -23865,7 +23852,7 @@ let API$6 = class API extends API$v {
|
|
|
23865
23852
|
*/
|
|
23866
23853
|
createFolder = request => this.client.fetch({
|
|
23867
23854
|
body: JSON.stringify(marshalCreateFolderRequest(request, this.client.settings)),
|
|
23868
|
-
headers: jsonContentHeaders$
|
|
23855
|
+
headers: jsonContentHeaders$7,
|
|
23869
23856
|
method: 'POST',
|
|
23870
23857
|
path: `/secret-manager/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/folders`
|
|
23871
23858
|
}, unmarshalFolder);
|
|
@@ -23911,7 +23898,7 @@ let API$6 = class API extends API$v {
|
|
|
23911
23898
|
*/
|
|
23912
23899
|
updateSecret = request => this.client.fetch({
|
|
23913
23900
|
body: JSON.stringify(marshalUpdateSecretRequest(request, this.client.settings)),
|
|
23914
|
-
headers: jsonContentHeaders$
|
|
23901
|
+
headers: jsonContentHeaders$7,
|
|
23915
23902
|
method: 'PATCH',
|
|
23916
23903
|
path: `/secret-manager/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/secrets/${validatePathParam('secretId', request.secretId)}`
|
|
23917
23904
|
}, unmarshalSecret);
|
|
@@ -23975,7 +23962,7 @@ let API$6 = class API extends API$v {
|
|
|
23975
23962
|
*/
|
|
23976
23963
|
protectSecret = request => this.client.fetch({
|
|
23977
23964
|
body: '{}',
|
|
23978
|
-
headers: jsonContentHeaders$
|
|
23965
|
+
headers: jsonContentHeaders$7,
|
|
23979
23966
|
method: 'POST',
|
|
23980
23967
|
path: `/secret-manager/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/secrets/${validatePathParam('secretId', request.secretId)}/protect`
|
|
23981
23968
|
}, unmarshalSecret);
|
|
@@ -23989,7 +23976,7 @@ let API$6 = class API extends API$v {
|
|
|
23989
23976
|
*/
|
|
23990
23977
|
unprotectSecret = request => this.client.fetch({
|
|
23991
23978
|
body: '{}',
|
|
23992
|
-
headers: jsonContentHeaders$
|
|
23979
|
+
headers: jsonContentHeaders$7,
|
|
23993
23980
|
method: 'POST',
|
|
23994
23981
|
path: `/secret-manager/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/secrets/${validatePathParam('secretId', request.secretId)}/unprotect`
|
|
23995
23982
|
}, unmarshalSecret);
|
|
@@ -24001,7 +23988,7 @@ let API$6 = class API extends API$v {
|
|
|
24001
23988
|
*/
|
|
24002
23989
|
addSecretOwner = request => this.client.fetch({
|
|
24003
23990
|
body: JSON.stringify(marshalAddSecretOwnerRequest(request, this.client.settings)),
|
|
24004
|
-
headers: jsonContentHeaders$
|
|
23991
|
+
headers: jsonContentHeaders$7,
|
|
24005
23992
|
method: 'POST',
|
|
24006
23993
|
path: `/secret-manager/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/secrets/${validatePathParam('secretId', request.secretId)}/add-owner`
|
|
24007
23994
|
});
|
|
@@ -24015,7 +24002,7 @@ let API$6 = class API extends API$v {
|
|
|
24015
24002
|
*/
|
|
24016
24003
|
createSecretVersion = request => this.client.fetch({
|
|
24017
24004
|
body: JSON.stringify(marshalCreateSecretVersionRequest(request, this.client.settings)),
|
|
24018
|
-
headers: jsonContentHeaders$
|
|
24005
|
+
headers: jsonContentHeaders$7,
|
|
24019
24006
|
method: 'POST',
|
|
24020
24007
|
path: `/secret-manager/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/secrets/${validatePathParam('secretId', request.secretId)}/versions`
|
|
24021
24008
|
}, unmarshalSecretVersion);
|
|
@@ -24030,7 +24017,7 @@ let API$6 = class API extends API$v {
|
|
|
24030
24017
|
*/
|
|
24031
24018
|
generatePassword = request => this.client.fetch({
|
|
24032
24019
|
body: JSON.stringify(marshalGeneratePasswordRequest(request, this.client.settings)),
|
|
24033
|
-
headers: jsonContentHeaders$
|
|
24020
|
+
headers: jsonContentHeaders$7,
|
|
24034
24021
|
method: 'POST',
|
|
24035
24022
|
path: `/secret-manager/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/secrets/${validatePathParam('secretId', request.secretId)}/generate-password`
|
|
24036
24023
|
}, unmarshalSecretVersion);
|
|
@@ -24078,7 +24065,7 @@ let API$6 = class API extends API$v {
|
|
|
24078
24065
|
*/
|
|
24079
24066
|
updateSecretVersion = request => this.client.fetch({
|
|
24080
24067
|
body: JSON.stringify(marshalUpdateSecretVersionRequest(request, this.client.settings)),
|
|
24081
|
-
headers: jsonContentHeaders$
|
|
24068
|
+
headers: jsonContentHeaders$7,
|
|
24082
24069
|
method: 'PATCH',
|
|
24083
24070
|
path: `/secret-manager/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/secrets/${validatePathParam('secretId', request.secretId)}/versions/${validatePathParam('revision', request.revision)}`
|
|
24084
24071
|
}, unmarshalSecretVersion);
|
|
@@ -24129,7 +24116,7 @@ let API$6 = class API extends API$v {
|
|
|
24129
24116
|
*/
|
|
24130
24117
|
enableSecretVersion = request => this.client.fetch({
|
|
24131
24118
|
body: '{}',
|
|
24132
|
-
headers: jsonContentHeaders$
|
|
24119
|
+
headers: jsonContentHeaders$7,
|
|
24133
24120
|
method: 'POST',
|
|
24134
24121
|
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
24122
|
}, unmarshalSecretVersion);
|
|
@@ -24143,7 +24130,7 @@ let API$6 = class API extends API$v {
|
|
|
24143
24130
|
*/
|
|
24144
24131
|
disableSecretVersion = request => this.client.fetch({
|
|
24145
24132
|
body: '{}',
|
|
24146
|
-
headers: jsonContentHeaders$
|
|
24133
|
+
headers: jsonContentHeaders$7,
|
|
24147
24134
|
method: 'POST',
|
|
24148
24135
|
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
24136
|
}, unmarshalSecretVersion);
|
|
@@ -24191,7 +24178,7 @@ let API$6 = class API extends API$v {
|
|
|
24191
24178
|
*/
|
|
24192
24179
|
destroySecretVersion = request => this.client.fetch({
|
|
24193
24180
|
body: '{}',
|
|
24194
|
-
headers: jsonContentHeaders$
|
|
24181
|
+
headers: jsonContentHeaders$7,
|
|
24195
24182
|
method: 'POST',
|
|
24196
24183
|
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
24184
|
}, unmarshalSecretVersion);
|
|
@@ -24213,9 +24200,325 @@ let API$6 = class API extends API$v {
|
|
|
24213
24200
|
// This file was automatically generated. DO NOT EDIT.
|
|
24214
24201
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
24215
24202
|
|
|
24203
|
+
var index_gen$8 = /*#__PURE__*/Object.freeze({
|
|
24204
|
+
__proto__: null,
|
|
24205
|
+
API: API$7
|
|
24206
|
+
});
|
|
24207
|
+
|
|
24208
|
+
var index$6 = /*#__PURE__*/Object.freeze({
|
|
24209
|
+
__proto__: null,
|
|
24210
|
+
v1alpha1: index_gen$8
|
|
24211
|
+
});
|
|
24212
|
+
|
|
24213
|
+
// This file was automatically generated. DO NOT EDIT.
|
|
24214
|
+
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
24215
|
+
|
|
24216
|
+
/** Lists transient statutes of the enum {@link DatabaseStatus}. */
|
|
24217
|
+
const DATABASE_TRANSIENT_STATUSES = ['creating', 'deleting', 'restoring'];
|
|
24218
|
+
|
|
24219
|
+
// This file was automatically generated. DO NOT EDIT.
|
|
24220
|
+
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
24221
|
+
const unmarshalDatabaseBackup = data => {
|
|
24222
|
+
if (!isJSONObject(data)) {
|
|
24223
|
+
throw new TypeError(`Unmarshalling the type 'DatabaseBackup' failed as data isn't a dictionary.`);
|
|
24224
|
+
}
|
|
24225
|
+
return {
|
|
24226
|
+
createdAt: unmarshalDate(data.created_at),
|
|
24227
|
+
databaseId: data.database_id,
|
|
24228
|
+
downloadUrl: data.download_url,
|
|
24229
|
+
downloadUrlExpiresAt: unmarshalDate(data.download_url_expires_at),
|
|
24230
|
+
expiresAt: unmarshalDate(data.expires_at),
|
|
24231
|
+
id: data.id,
|
|
24232
|
+
organizationId: data.organization_id,
|
|
24233
|
+
projectId: data.project_id,
|
|
24234
|
+
region: data.region,
|
|
24235
|
+
size: data.size,
|
|
24236
|
+
status: data.status
|
|
24237
|
+
};
|
|
24238
|
+
};
|
|
24239
|
+
const unmarshalDatabase = data => {
|
|
24240
|
+
if (!isJSONObject(data)) {
|
|
24241
|
+
throw new TypeError(`Unmarshalling the type 'Database' failed as data isn't a dictionary.`);
|
|
24242
|
+
}
|
|
24243
|
+
return {
|
|
24244
|
+
cpuCurrent: data.cpu_current,
|
|
24245
|
+
cpuMax: data.cpu_max,
|
|
24246
|
+
cpuMin: data.cpu_min,
|
|
24247
|
+
createdAt: unmarshalDate(data.created_at),
|
|
24248
|
+
endpoint: data.endpoint,
|
|
24249
|
+
engineMajorVersion: data.engine_major_version,
|
|
24250
|
+
id: data.id,
|
|
24251
|
+
name: data.name,
|
|
24252
|
+
organizationId: data.organization_id,
|
|
24253
|
+
projectId: data.project_id,
|
|
24254
|
+
region: data.region,
|
|
24255
|
+
started: data.started,
|
|
24256
|
+
status: data.status
|
|
24257
|
+
};
|
|
24258
|
+
};
|
|
24259
|
+
const unmarshalListDatabaseBackupsResponse = data => {
|
|
24260
|
+
if (!isJSONObject(data)) {
|
|
24261
|
+
throw new TypeError(`Unmarshalling the type 'ListDatabaseBackupsResponse' failed as data isn't a dictionary.`);
|
|
24262
|
+
}
|
|
24263
|
+
return {
|
|
24264
|
+
backups: unmarshalArrayOfObject(data.backups, unmarshalDatabaseBackup),
|
|
24265
|
+
totalCount: data.total_count
|
|
24266
|
+
};
|
|
24267
|
+
};
|
|
24268
|
+
const unmarshalListDatabasesResponse = data => {
|
|
24269
|
+
if (!isJSONObject(data)) {
|
|
24270
|
+
throw new TypeError(`Unmarshalling the type 'ListDatabasesResponse' failed as data isn't a dictionary.`);
|
|
24271
|
+
}
|
|
24272
|
+
return {
|
|
24273
|
+
databases: unmarshalArrayOfObject(data.databases, unmarshalDatabase),
|
|
24274
|
+
totalCount: data.total_count
|
|
24275
|
+
};
|
|
24276
|
+
};
|
|
24277
|
+
const marshalCreateDatabaseRequest = (request, defaults) => ({
|
|
24278
|
+
cpu_max: request.cpuMax,
|
|
24279
|
+
cpu_min: request.cpuMin,
|
|
24280
|
+
from_backup_id: request.fromBackupId,
|
|
24281
|
+
name: request.name,
|
|
24282
|
+
project_id: request.projectId ?? defaults.defaultProjectId
|
|
24283
|
+
});
|
|
24284
|
+
const marshalRestoreDatabaseFromBackupRequest = (request, defaults) => ({
|
|
24285
|
+
backup_id: request.backupId
|
|
24286
|
+
});
|
|
24287
|
+
const marshalUpdateDatabaseRequest = (request, defaults) => ({
|
|
24288
|
+
cpu_max: request.cpuMax,
|
|
24289
|
+
cpu_min: request.cpuMin
|
|
24290
|
+
});
|
|
24291
|
+
|
|
24292
|
+
// This file was automatically generated. DO NOT EDIT.
|
|
24293
|
+
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
24294
|
+
const jsonContentHeaders$6 = {
|
|
24295
|
+
'Content-Type': 'application/json; charset=utf-8'
|
|
24296
|
+
};
|
|
24297
|
+
|
|
24298
|
+
/**
|
|
24299
|
+
* Serverless SQL Databases API.
|
|
24300
|
+
*
|
|
24301
|
+
* This API allows you to manage your Serverless SQL DB databases.
|
|
24302
|
+
*/
|
|
24303
|
+
let API$6 = class API extends API$w {
|
|
24304
|
+
/** Lists the available regions of the API. */
|
|
24305
|
+
static LOCALITIES = ['fr-par'];
|
|
24306
|
+
|
|
24307
|
+
/**
|
|
24308
|
+
* Create a new Serverless SQL Database. You must provide the following
|
|
24309
|
+
* parameters: `organization_id`, `project_id`, `name`, `cpu_min`, `cpu_max`.
|
|
24310
|
+
* You can also provide `from_backup_id` to create a database from a backup.
|
|
24311
|
+
*
|
|
24312
|
+
* @param request - The request {@link CreateDatabaseRequest}
|
|
24313
|
+
* @returns A Promise of Database
|
|
24314
|
+
*/
|
|
24315
|
+
createDatabase = request => this.client.fetch({
|
|
24316
|
+
body: JSON.stringify(marshalCreateDatabaseRequest(request, this.client.settings)),
|
|
24317
|
+
headers: jsonContentHeaders$6,
|
|
24318
|
+
method: 'POST',
|
|
24319
|
+
path: `/serverless-sqldb/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/databases`
|
|
24320
|
+
}, unmarshalDatabase);
|
|
24321
|
+
|
|
24322
|
+
/**
|
|
24323
|
+
* Get a database information. Retrieve information about your Serverless SQL
|
|
24324
|
+
* Database. You must provide the `database_id` parameter.
|
|
24325
|
+
*
|
|
24326
|
+
* @param request - The request {@link GetDatabaseRequest}
|
|
24327
|
+
* @returns A Promise of Database
|
|
24328
|
+
*/
|
|
24329
|
+
getDatabase = request => this.client.fetch({
|
|
24330
|
+
method: 'GET',
|
|
24331
|
+
path: `/serverless-sqldb/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/databases/${validatePathParam('databaseId', request.databaseId)}`
|
|
24332
|
+
}, unmarshalDatabase);
|
|
24333
|
+
|
|
24334
|
+
/**
|
|
24335
|
+
* Waits for {@link Database} to be in a final state.
|
|
24336
|
+
*
|
|
24337
|
+
* @param request - The request {@link GetDatabaseRequest}
|
|
24338
|
+
* @param options - The waiting options
|
|
24339
|
+
* @returns A Promise of Database
|
|
24340
|
+
*/
|
|
24341
|
+
waitForDatabase = (request, options) => waitForResource(options?.stop ?? (res => Promise.resolve(!DATABASE_TRANSIENT_STATUSES.includes(res.status))), this.getDatabase, request, options);
|
|
24342
|
+
|
|
24343
|
+
/**
|
|
24344
|
+
* Delete a database. Deletes a database. You must provide the `database_id`
|
|
24345
|
+
* parameter. All data stored in the database will be permanently deleted.
|
|
24346
|
+
*
|
|
24347
|
+
* @param request - The request {@link DeleteDatabaseRequest}
|
|
24348
|
+
* @returns A Promise of Database
|
|
24349
|
+
*/
|
|
24350
|
+
deleteDatabase = request => this.client.fetch({
|
|
24351
|
+
method: 'DELETE',
|
|
24352
|
+
path: `/serverless-sqldb/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/databases/${validatePathParam('databaseId', request.databaseId)}`
|
|
24353
|
+
}, unmarshalDatabase);
|
|
24354
|
+
pageOfListDatabases = (request = {}) => this.client.fetch({
|
|
24355
|
+
method: 'GET',
|
|
24356
|
+
path: `/serverless-sqldb/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/databases`,
|
|
24357
|
+
urlParams: urlParams(['name', request.name], ['order_by', request.orderBy], ['page', request.page], ['page_size', request.pageSize], ['project_id', request.projectId ?? this.client.settings.defaultProjectId])
|
|
24358
|
+
}, unmarshalListDatabasesResponse);
|
|
24359
|
+
|
|
24360
|
+
/**
|
|
24361
|
+
* List your Serverless SQL Databases. List all Serverless SQL Databases for a
|
|
24362
|
+
* given Scaleway Organization or Scaleway Project. By default, the databases
|
|
24363
|
+
* returned in the list are ordered by creation date in ascending order,
|
|
24364
|
+
* though this can be modified via the order_by field. For the `name`
|
|
24365
|
+
* parameter, the value you include will be checked against the whole name
|
|
24366
|
+
* string to see if it includes the string you put in the parameter.
|
|
24367
|
+
*
|
|
24368
|
+
* @param request - The request {@link ListDatabasesRequest}
|
|
24369
|
+
* @returns A Promise of ListDatabasesResponse
|
|
24370
|
+
*/
|
|
24371
|
+
listDatabases = (request = {}) => enrichForPagination('databases', this.pageOfListDatabases, request);
|
|
24372
|
+
|
|
24373
|
+
/**
|
|
24374
|
+
* Update database information. Update CPU limits of your Serverless SQL
|
|
24375
|
+
* Database. You must provide the `database_id` parameter.
|
|
24376
|
+
*
|
|
24377
|
+
* @param request - The request {@link UpdateDatabaseRequest}
|
|
24378
|
+
* @returns A Promise of Database
|
|
24379
|
+
*/
|
|
24380
|
+
updateDatabase = request => this.client.fetch({
|
|
24381
|
+
body: JSON.stringify(marshalUpdateDatabaseRequest(request, this.client.settings)),
|
|
24382
|
+
headers: jsonContentHeaders$6,
|
|
24383
|
+
method: 'PATCH',
|
|
24384
|
+
path: `/serverless-sqldb/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/databases/${validatePathParam('databaseId', request.databaseId)}`
|
|
24385
|
+
}, unmarshalDatabase);
|
|
24386
|
+
|
|
24387
|
+
/**
|
|
24388
|
+
* Restore a database from a backup. Restore a database from a backup. You
|
|
24389
|
+
* must provide the `backup_id` parameter.
|
|
24390
|
+
*
|
|
24391
|
+
* @param request - The request {@link RestoreDatabaseFromBackupRequest}
|
|
24392
|
+
* @returns A Promise of Database
|
|
24393
|
+
*/
|
|
24394
|
+
restoreDatabaseFromBackup = request => this.client.fetch({
|
|
24395
|
+
body: JSON.stringify(marshalRestoreDatabaseFromBackupRequest(request, this.client.settings)),
|
|
24396
|
+
headers: jsonContentHeaders$6,
|
|
24397
|
+
method: 'POST',
|
|
24398
|
+
path: `/serverless-sqldb/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/databases/${validatePathParam('databaseId', request.databaseId)}/restore`
|
|
24399
|
+
}, unmarshalDatabase);
|
|
24400
|
+
|
|
24401
|
+
/**
|
|
24402
|
+
* Get a database backup information. Retrieve information about your
|
|
24403
|
+
* Serverless SQL Database backup. You must provide the `backup_id`
|
|
24404
|
+
* parameter.
|
|
24405
|
+
*
|
|
24406
|
+
* @param request - The request {@link GetDatabaseBackupRequest}
|
|
24407
|
+
* @returns A Promise of DatabaseBackup
|
|
24408
|
+
*/
|
|
24409
|
+
getDatabaseBackup = request => this.client.fetch({
|
|
24410
|
+
method: 'GET',
|
|
24411
|
+
path: `/serverless-sqldb/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/backups/${validatePathParam('backupId', request.backupId)}`
|
|
24412
|
+
}, unmarshalDatabaseBackup);
|
|
24413
|
+
pageOfListDatabaseBackups = request => this.client.fetch({
|
|
24414
|
+
method: 'GET',
|
|
24415
|
+
path: `/serverless-sqldb/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/backups`,
|
|
24416
|
+
urlParams: urlParams(['database_id', request.databaseId], ['order_by', request.orderBy], ['page', request.page], ['page_size', request.pageSize])
|
|
24417
|
+
}, unmarshalListDatabaseBackupsResponse);
|
|
24418
|
+
|
|
24419
|
+
/**
|
|
24420
|
+
* List your Serverless SQL Database backups. List all Serverless SQL Database
|
|
24421
|
+
* backups for a given Scaleway Project or Database. By default, the backups
|
|
24422
|
+
* returned in the list are ordered by creation date in ascending order,
|
|
24423
|
+
* though this can be modified via the order_by field.
|
|
24424
|
+
*
|
|
24425
|
+
* @param request - The request {@link ListDatabaseBackupsRequest}
|
|
24426
|
+
* @returns A Promise of ListDatabaseBackupsResponse
|
|
24427
|
+
*/
|
|
24428
|
+
listDatabaseBackups = request => enrichForPagination('backups', this.pageOfListDatabaseBackups, request);
|
|
24429
|
+
|
|
24430
|
+
/**
|
|
24431
|
+
* Export a database backup. Export a database backup providing a download
|
|
24432
|
+
* link once the export process is completed. You must provide the `backup_id`
|
|
24433
|
+
* parameter.
|
|
24434
|
+
*
|
|
24435
|
+
* @param request - The request {@link ExportDatabaseBackupRequest}
|
|
24436
|
+
* @returns A Promise of DatabaseBackup
|
|
24437
|
+
*/
|
|
24438
|
+
exportDatabaseBackup = request => this.client.fetch({
|
|
24439
|
+
body: '{}',
|
|
24440
|
+
headers: jsonContentHeaders$6,
|
|
24441
|
+
method: 'POST',
|
|
24442
|
+
path: `/serverless-sqldb/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/backups/${validatePathParam('backupId', request.backupId)}/export`
|
|
24443
|
+
}, unmarshalDatabaseBackup);
|
|
24444
|
+
};
|
|
24445
|
+
|
|
24446
|
+
// This file was automatically generated. DO NOT EDIT.
|
|
24447
|
+
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
24448
|
+
|
|
24449
|
+
const CreateDatabaseRequest = {
|
|
24450
|
+
cpuMax: {
|
|
24451
|
+
greaterThanOrEqual: 1,
|
|
24452
|
+
lessThanOrEqual: 15
|
|
24453
|
+
},
|
|
24454
|
+
cpuMin: {
|
|
24455
|
+
lessThanOrEqual: 15
|
|
24456
|
+
},
|
|
24457
|
+
fromBackupId: {
|
|
24458
|
+
ignoreEmpty: true
|
|
24459
|
+
},
|
|
24460
|
+
name: {
|
|
24461
|
+
maxLength: 63,
|
|
24462
|
+
minLength: 1
|
|
24463
|
+
}
|
|
24464
|
+
};
|
|
24465
|
+
const Database = {
|
|
24466
|
+
cpuCurrent: {
|
|
24467
|
+
lessThanOrEqual: 15
|
|
24468
|
+
},
|
|
24469
|
+
cpuMax: {
|
|
24470
|
+
greaterThanOrEqual: 1,
|
|
24471
|
+
lessThanOrEqual: 15
|
|
24472
|
+
},
|
|
24473
|
+
cpuMin: {
|
|
24474
|
+
lessThanOrEqual: 15
|
|
24475
|
+
}
|
|
24476
|
+
};
|
|
24477
|
+
const ListDatabaseBackupsRequest = {
|
|
24478
|
+
page: {
|
|
24479
|
+
greaterThanOrEqual: 1
|
|
24480
|
+
},
|
|
24481
|
+
pageSize: {
|
|
24482
|
+
greaterThanOrEqual: 1,
|
|
24483
|
+
lessThanOrEqual: 1000
|
|
24484
|
+
}
|
|
24485
|
+
};
|
|
24486
|
+
const ListDatabasesRequest = {
|
|
24487
|
+
page: {
|
|
24488
|
+
greaterThanOrEqual: 1
|
|
24489
|
+
},
|
|
24490
|
+
pageSize: {
|
|
24491
|
+
greaterThanOrEqual: 1,
|
|
24492
|
+
lessThanOrEqual: 1000
|
|
24493
|
+
}
|
|
24494
|
+
};
|
|
24495
|
+
const UpdateDatabaseRequest = {
|
|
24496
|
+
cpuMax: {
|
|
24497
|
+
greaterThanOrEqual: 1,
|
|
24498
|
+
lessThanOrEqual: 15
|
|
24499
|
+
},
|
|
24500
|
+
cpuMin: {
|
|
24501
|
+
lessThanOrEqual: 15
|
|
24502
|
+
}
|
|
24503
|
+
};
|
|
24504
|
+
|
|
24505
|
+
var validationRules_gen$1 = /*#__PURE__*/Object.freeze({
|
|
24506
|
+
__proto__: null,
|
|
24507
|
+
CreateDatabaseRequest: CreateDatabaseRequest,
|
|
24508
|
+
Database: Database,
|
|
24509
|
+
ListDatabaseBackupsRequest: ListDatabaseBackupsRequest,
|
|
24510
|
+
ListDatabasesRequest: ListDatabasesRequest,
|
|
24511
|
+
UpdateDatabaseRequest: UpdateDatabaseRequest
|
|
24512
|
+
});
|
|
24513
|
+
|
|
24514
|
+
// This file was automatically generated. DO NOT EDIT.
|
|
24515
|
+
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
24516
|
+
|
|
24216
24517
|
var index_gen$7 = /*#__PURE__*/Object.freeze({
|
|
24217
24518
|
__proto__: null,
|
|
24218
|
-
API: API$6
|
|
24519
|
+
API: API$6,
|
|
24520
|
+
DATABASE_TRANSIENT_STATUSES: DATABASE_TRANSIENT_STATUSES,
|
|
24521
|
+
ValidationRules: validationRules_gen$1
|
|
24219
24522
|
});
|
|
24220
24523
|
|
|
24221
24524
|
var index$5 = /*#__PURE__*/Object.freeze({
|
|
@@ -24321,7 +24624,7 @@ const jsonContentHeaders$5 = {
|
|
|
24321
24624
|
*
|
|
24322
24625
|
* No Auth Service for end-to-end testing.
|
|
24323
24626
|
*/
|
|
24324
|
-
let API$5 = class API extends API$
|
|
24627
|
+
let API$5 = class API extends API$w {
|
|
24325
24628
|
/**
|
|
24326
24629
|
* Register a user. Register a human and return a access-key and a secret-key
|
|
24327
24630
|
* that must be used in all other commands.
|
|
@@ -24645,7 +24948,7 @@ const jsonContentHeaders$4 = {
|
|
|
24645
24948
|
};
|
|
24646
24949
|
|
|
24647
24950
|
/** Transactional Email API. */
|
|
24648
|
-
let API$4 = class API extends API$
|
|
24951
|
+
let API$4 = class API extends API$w {
|
|
24649
24952
|
/** Lists the available regions of the API. */
|
|
24650
24953
|
static LOCALITIES = ['fr-par'];
|
|
24651
24954
|
|
|
@@ -24886,7 +25189,7 @@ const jsonContentHeaders$3 = {
|
|
|
24886
25189
|
};
|
|
24887
25190
|
|
|
24888
25191
|
/** VPC API. */
|
|
24889
|
-
let API$3 = class API extends API$
|
|
25192
|
+
let API$3 = class API extends API$w {
|
|
24890
25193
|
/** Lists the available zones of the API. */
|
|
24891
25194
|
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
25195
|
pageOfListPrivateNetworks = (request = {}) => this.client.fetch({
|
|
@@ -25106,7 +25409,7 @@ const jsonContentHeaders$2 = {
|
|
|
25106
25409
|
};
|
|
25107
25410
|
|
|
25108
25411
|
/** VPC API. */
|
|
25109
|
-
let API$2 = class API extends API$
|
|
25412
|
+
let API$2 = class API extends API$w {
|
|
25110
25413
|
/** Lists the available regions of the API. */
|
|
25111
25414
|
static LOCALITIES = ['fr-par', 'nl-ams', 'pl-waw'];
|
|
25112
25415
|
pageOfListVPCs = (request = {}) => this.client.fetch({
|
|
@@ -25703,7 +26006,7 @@ const jsonContentHeaders$1 = {
|
|
|
25703
26006
|
};
|
|
25704
26007
|
|
|
25705
26008
|
/** Public Gateways API. */
|
|
25706
|
-
let API$1 = class API extends API$
|
|
26009
|
+
let API$1 = class API extends API$w {
|
|
25707
26010
|
/** Lists the available zones of the API. */
|
|
25708
26011
|
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
26012
|
pageOfListGateways = (request = {}) => this.client.fetch({
|
|
@@ -26438,7 +26741,7 @@ const jsonContentHeaders = {
|
|
|
26438
26741
|
};
|
|
26439
26742
|
|
|
26440
26743
|
/** Web Hosting API. */
|
|
26441
|
-
class API extends API$
|
|
26744
|
+
class API extends API$w {
|
|
26442
26745
|
/** Lists the available regions of the API. */
|
|
26443
26746
|
static LOCALITIES = ['fr-par', 'nl-ams'];
|
|
26444
26747
|
|
|
@@ -26622,33 +26925,34 @@ var index = /*#__PURE__*/Object.freeze({
|
|
|
26622
26925
|
v1alpha1: index_gen
|
|
26623
26926
|
});
|
|
26624
26927
|
|
|
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$
|
|
26928
|
+
exports.API = API$w;
|
|
26929
|
+
exports.Account = index$y;
|
|
26930
|
+
exports.AppleSilicon = index$x;
|
|
26931
|
+
exports.BareMetal = index$v;
|
|
26932
|
+
exports.Billing = index$u;
|
|
26933
|
+
exports.Block = index$t;
|
|
26934
|
+
exports.Cockpit = index$s;
|
|
26935
|
+
exports.Container = index$r;
|
|
26936
|
+
exports.DocumentDB = index$q;
|
|
26937
|
+
exports.Domain = index$p;
|
|
26938
|
+
exports.Errors = index$z;
|
|
26939
|
+
exports.FlexibleIP = index$o;
|
|
26940
|
+
exports.Function = index$n;
|
|
26941
|
+
exports.IAM = index$m;
|
|
26942
|
+
exports.IOT = index$j;
|
|
26943
|
+
exports.IPAM = index$i;
|
|
26944
|
+
exports.IPFS = index$h;
|
|
26945
|
+
exports.Instance = index$k;
|
|
26946
|
+
exports.Jobs = index$g;
|
|
26947
|
+
exports.K8S = index$e;
|
|
26948
|
+
exports.LB = index$c;
|
|
26949
|
+
exports.MNQ = index$a;
|
|
26950
|
+
exports.Marketplace = index$b;
|
|
26951
|
+
exports.RDB = index$9;
|
|
26952
|
+
exports.Redis = index$8;
|
|
26953
|
+
exports.Registry = index$7;
|
|
26954
|
+
exports.Secret = index$6;
|
|
26955
|
+
exports.ServerlessSQLDB = index$5;
|
|
26652
26956
|
exports.Std = index_gen$6;
|
|
26653
26957
|
exports.Test = index$4;
|
|
26654
26958
|
exports.TransactionalEmail = index$3;
|