@scaleway/sdk 2.0.0-alpha.16 → 2.0.0-alpha.18
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/baremetal/v1/marshalling.gen.js +4 -4
- package/dist/api/iam/v1alpha1/marshalling.gen.js +2 -3
- package/dist/api/instance/v1/marshalling.gen.js +38 -40
- package/dist/api/jobs/index.js +2 -0
- package/dist/api/jobs/v1alpha1/api.gen.js +111 -0
- package/dist/api/jobs/v1alpha1/content.gen.js +7 -0
- package/dist/api/jobs/v1alpha1/index.gen.js +7 -0
- package/dist/api/jobs/v1alpha1/marshalling.gen.js +84 -0
- package/dist/api/jobs/v1alpha1/validation-rules.gen.js +45 -0
- package/dist/api/k8s/v1/marshalling.gen.js +4 -4
- package/dist/api/lb/v1/marshalling.gen.js +24 -24
- package/dist/api/rdb/v1/marshalling.gen.js +4 -4
- package/dist/api/registry/v1/marshalling.gen.js +4 -4
- package/dist/api/secret/v1alpha1/marshalling.gen.js +2 -1
- package/dist/api/test/v1/marshalling.gen.js +4 -4
- package/dist/index.cjs +652 -437
- package/dist/index.d.ts +1225 -976
- package/dist/index.js +28 -26
- package/dist/scw/constants.js +1 -1
- 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.0.0-alpha.
|
|
500
|
+
const version = 'v2.0.0-alpha.17';
|
|
501
501
|
const userAgent = `scaleway-sdk-js/${version}`;
|
|
502
502
|
|
|
503
503
|
const isBrowser = () =>
|
|
@@ -1579,7 +1579,7 @@ const createAdvancedClient = (...configs) => {
|
|
|
1579
1579
|
*/
|
|
1580
1580
|
const createClient = (profile = {}) => createAdvancedClient(withProfile(profile));
|
|
1581
1581
|
|
|
1582
|
-
var index$
|
|
1582
|
+
var index$y = /*#__PURE__*/Object.freeze({
|
|
1583
1583
|
__proto__: null,
|
|
1584
1584
|
AlreadyExistsError: AlreadyExistsError,
|
|
1585
1585
|
DeniedAuthenticationError: DeniedAuthenticationError,
|
|
@@ -1707,7 +1707,7 @@ const waitForResource = (stop, fetcher, request, options, strategy = createExpon
|
|
|
1707
1707
|
*
|
|
1708
1708
|
* @internal
|
|
1709
1709
|
*/
|
|
1710
|
-
let API$
|
|
1710
|
+
let API$w = class API {
|
|
1711
1711
|
constructor(client) {
|
|
1712
1712
|
this.client = client;
|
|
1713
1713
|
}
|
|
@@ -2071,7 +2071,7 @@ const marshalUpdateProjectRequest = (request, defaults) => ({
|
|
|
2071
2071
|
|
|
2072
2072
|
// This file was automatically generated. DO NOT EDIT.
|
|
2073
2073
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
2074
|
-
const jsonContentHeaders$
|
|
2074
|
+
const jsonContentHeaders$u = {
|
|
2075
2075
|
'Content-Type': 'application/json; charset=utf-8'
|
|
2076
2076
|
};
|
|
2077
2077
|
|
|
@@ -2080,7 +2080,7 @@ const jsonContentHeaders$t = {
|
|
|
2080
2080
|
*
|
|
2081
2081
|
* User related data. This API allows you to manage projects.
|
|
2082
2082
|
*/
|
|
2083
|
-
let API$
|
|
2083
|
+
let API$v = class API extends API$w {
|
|
2084
2084
|
/**
|
|
2085
2085
|
* Create a new Project for an Organization. Deprecated in favor of Account
|
|
2086
2086
|
* API v3. Generate a new Project for an Organization, specifying its
|
|
@@ -2092,7 +2092,7 @@ let API$u = class API extends API$v {
|
|
|
2092
2092
|
*/
|
|
2093
2093
|
createProject = (request = {}) => this.client.fetch({
|
|
2094
2094
|
body: JSON.stringify(marshalCreateProjectRequest(request, this.client.settings)),
|
|
2095
|
-
headers: jsonContentHeaders$
|
|
2095
|
+
headers: jsonContentHeaders$u,
|
|
2096
2096
|
method: 'POST',
|
|
2097
2097
|
path: `/account/v2/projects`
|
|
2098
2098
|
}, unmarshalProject$1);
|
|
@@ -2156,7 +2156,7 @@ let API$u = class API extends API$v {
|
|
|
2156
2156
|
*/
|
|
2157
2157
|
updateProject = (request = {}) => this.client.fetch({
|
|
2158
2158
|
body: JSON.stringify(marshalUpdateProjectRequest(request, this.client.settings)),
|
|
2159
|
-
headers: jsonContentHeaders$
|
|
2159
|
+
headers: jsonContentHeaders$u,
|
|
2160
2160
|
method: 'PATCH',
|
|
2161
2161
|
path: `/account/v2/projects/${validatePathParam('projectId', request.projectId ?? this.client.settings.defaultProjectId)}`
|
|
2162
2162
|
}, unmarshalProject$1);
|
|
@@ -2165,9 +2165,9 @@ let API$u = class API extends API$v {
|
|
|
2165
2165
|
// This file was automatically generated. DO NOT EDIT.
|
|
2166
2166
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
2167
2167
|
|
|
2168
|
-
var index_gen$
|
|
2168
|
+
var index_gen$u = /*#__PURE__*/Object.freeze({
|
|
2169
2169
|
__proto__: null,
|
|
2170
|
-
API: API$
|
|
2170
|
+
API: API$v
|
|
2171
2171
|
});
|
|
2172
2172
|
|
|
2173
2173
|
// This file was automatically generated. DO NOT EDIT.
|
|
@@ -2206,7 +2206,7 @@ const marshalProjectApiUpdateProjectRequest = (request, defaults) => ({
|
|
|
2206
2206
|
|
|
2207
2207
|
// This file was automatically generated. DO NOT EDIT.
|
|
2208
2208
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
2209
|
-
const jsonContentHeaders$
|
|
2209
|
+
const jsonContentHeaders$t = {
|
|
2210
2210
|
'Content-Type': 'application/json; charset=utf-8'
|
|
2211
2211
|
};
|
|
2212
2212
|
|
|
@@ -2215,7 +2215,7 @@ const jsonContentHeaders$s = {
|
|
|
2215
2215
|
*
|
|
2216
2216
|
* This API allows you to manage projects.
|
|
2217
2217
|
*/
|
|
2218
|
-
class ProjectAPI extends API$
|
|
2218
|
+
class ProjectAPI extends API$w {
|
|
2219
2219
|
/**
|
|
2220
2220
|
* Create a new Project for an Organization. Generate a new Project for an
|
|
2221
2221
|
* Organization, specifying its configuration including name and description.
|
|
@@ -2225,7 +2225,7 @@ class ProjectAPI extends API$v {
|
|
|
2225
2225
|
*/
|
|
2226
2226
|
createProject = request => this.client.fetch({
|
|
2227
2227
|
body: JSON.stringify(marshalProjectApiCreateProjectRequest(request, this.client.settings)),
|
|
2228
|
-
headers: jsonContentHeaders$
|
|
2228
|
+
headers: jsonContentHeaders$t,
|
|
2229
2229
|
method: 'POST',
|
|
2230
2230
|
path: `/account/v3/projects`
|
|
2231
2231
|
}, unmarshalProject);
|
|
@@ -2281,7 +2281,7 @@ class ProjectAPI extends API$v {
|
|
|
2281
2281
|
*/
|
|
2282
2282
|
updateProject = (request = {}) => this.client.fetch({
|
|
2283
2283
|
body: JSON.stringify(marshalProjectApiUpdateProjectRequest(request, this.client.settings)),
|
|
2284
|
-
headers: jsonContentHeaders$
|
|
2284
|
+
headers: jsonContentHeaders$t,
|
|
2285
2285
|
method: 'PATCH',
|
|
2286
2286
|
path: `/account/v3/projects/${validatePathParam('projectId', request.projectId ?? this.client.settings.defaultProjectId)}`
|
|
2287
2287
|
}, unmarshalProject);
|
|
@@ -2325,7 +2325,7 @@ const ProjectApiUpdateProjectRequest = {
|
|
|
2325
2325
|
}
|
|
2326
2326
|
};
|
|
2327
2327
|
|
|
2328
|
-
var validationRules_gen$
|
|
2328
|
+
var validationRules_gen$d = /*#__PURE__*/Object.freeze({
|
|
2329
2329
|
__proto__: null,
|
|
2330
2330
|
ProjectApiCreateProjectRequest: ProjectApiCreateProjectRequest,
|
|
2331
2331
|
ProjectApiListProjectsRequest: ProjectApiListProjectsRequest,
|
|
@@ -2335,16 +2335,16 @@ var validationRules_gen$c = /*#__PURE__*/Object.freeze({
|
|
|
2335
2335
|
// This file was automatically generated. DO NOT EDIT.
|
|
2336
2336
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
2337
2337
|
|
|
2338
|
-
var index_gen$
|
|
2338
|
+
var index_gen$t = /*#__PURE__*/Object.freeze({
|
|
2339
2339
|
__proto__: null,
|
|
2340
2340
|
ProjectAPI: ProjectAPI,
|
|
2341
|
-
ValidationRules: validationRules_gen$
|
|
2341
|
+
ValidationRules: validationRules_gen$d
|
|
2342
2342
|
});
|
|
2343
2343
|
|
|
2344
|
-
var index$
|
|
2344
|
+
var index$x = /*#__PURE__*/Object.freeze({
|
|
2345
2345
|
__proto__: null,
|
|
2346
|
-
v2: index_gen$
|
|
2347
|
-
v3: index_gen$
|
|
2346
|
+
v2: index_gen$u,
|
|
2347
|
+
v3: index_gen$t
|
|
2348
2348
|
});
|
|
2349
2349
|
|
|
2350
2350
|
// This file was automatically generated. DO NOT EDIT.
|
|
@@ -2463,12 +2463,12 @@ const marshalUpdateServerRequest$2 = (request, defaults) => ({
|
|
|
2463
2463
|
|
|
2464
2464
|
// This file was automatically generated. DO NOT EDIT.
|
|
2465
2465
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
2466
|
-
const jsonContentHeaders$
|
|
2466
|
+
const jsonContentHeaders$s = {
|
|
2467
2467
|
'Content-Type': 'application/json; charset=utf-8'
|
|
2468
2468
|
};
|
|
2469
2469
|
|
|
2470
2470
|
/** Apple silicon API. */
|
|
2471
|
-
let API$
|
|
2471
|
+
let API$u = class API extends API$w {
|
|
2472
2472
|
/** Lists the available zones of the API. */
|
|
2473
2473
|
static LOCALITIES = ['fr-par-3'];
|
|
2474
2474
|
|
|
@@ -2506,7 +2506,7 @@ let API$t = class API extends API$v {
|
|
|
2506
2506
|
*/
|
|
2507
2507
|
createServer = request => this.client.fetch({
|
|
2508
2508
|
body: JSON.stringify(marshalCreateServerRequest$2(request, this.client.settings)),
|
|
2509
|
-
headers: jsonContentHeaders$
|
|
2509
|
+
headers: jsonContentHeaders$s,
|
|
2510
2510
|
method: 'POST',
|
|
2511
2511
|
path: `/apple-silicon/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers`
|
|
2512
2512
|
}, unmarshalServer$2);
|
|
@@ -2584,7 +2584,7 @@ let API$t = class API extends API$v {
|
|
|
2584
2584
|
*/
|
|
2585
2585
|
updateServer = request => this.client.fetch({
|
|
2586
2586
|
body: JSON.stringify(marshalUpdateServerRequest$2(request, this.client.settings)),
|
|
2587
|
-
headers: jsonContentHeaders$
|
|
2587
|
+
headers: jsonContentHeaders$s,
|
|
2588
2588
|
method: 'PATCH',
|
|
2589
2589
|
path: `/apple-silicon/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}`
|
|
2590
2590
|
}, unmarshalServer$2);
|
|
@@ -2611,7 +2611,7 @@ let API$t = class API extends API$v {
|
|
|
2611
2611
|
*/
|
|
2612
2612
|
rebootServer = request => this.client.fetch({
|
|
2613
2613
|
body: '{}',
|
|
2614
|
-
headers: jsonContentHeaders$
|
|
2614
|
+
headers: jsonContentHeaders$s,
|
|
2615
2615
|
method: 'POST',
|
|
2616
2616
|
path: `/apple-silicon/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/reboot`
|
|
2617
2617
|
}, unmarshalServer$2);
|
|
@@ -2627,7 +2627,7 @@ let API$t = class API extends API$v {
|
|
|
2627
2627
|
*/
|
|
2628
2628
|
reinstallServer = request => this.client.fetch({
|
|
2629
2629
|
body: '{}',
|
|
2630
|
-
headers: jsonContentHeaders$
|
|
2630
|
+
headers: jsonContentHeaders$s,
|
|
2631
2631
|
method: 'POST',
|
|
2632
2632
|
path: `/apple-silicon/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/reinstall`
|
|
2633
2633
|
}, unmarshalServer$2);
|
|
@@ -2636,15 +2636,15 @@ let API$t = class API extends API$v {
|
|
|
2636
2636
|
// This file was automatically generated. DO NOT EDIT.
|
|
2637
2637
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
2638
2638
|
|
|
2639
|
-
var index_gen$
|
|
2639
|
+
var index_gen$s = /*#__PURE__*/Object.freeze({
|
|
2640
2640
|
__proto__: null,
|
|
2641
|
-
API: API$
|
|
2641
|
+
API: API$u,
|
|
2642
2642
|
SERVER_TRANSIENT_STATUSES: SERVER_TRANSIENT_STATUSES$2
|
|
2643
2643
|
});
|
|
2644
2644
|
|
|
2645
|
-
var index$
|
|
2645
|
+
var index$w = /*#__PURE__*/Object.freeze({
|
|
2646
2646
|
__proto__: null,
|
|
2647
|
-
v1alpha1: index_gen$
|
|
2647
|
+
v1alpha1: index_gen$s
|
|
2648
2648
|
});
|
|
2649
2649
|
|
|
2650
2650
|
// This file was automatically generated. DO NOT EDIT.
|
|
@@ -3015,13 +3015,13 @@ const marshalCreateServerRequest$1 = (request, defaults) => ({
|
|
|
3015
3015
|
option_ids: request.optionIds,
|
|
3016
3016
|
tags: request.tags,
|
|
3017
3017
|
...resolveOneOf([{
|
|
3018
|
-
default: defaults.defaultOrganizationId,
|
|
3019
|
-
param: 'organization_id',
|
|
3020
|
-
value: request.organizationId
|
|
3021
|
-
}, {
|
|
3022
3018
|
default: defaults.defaultProjectId,
|
|
3023
3019
|
param: 'project_id',
|
|
3024
3020
|
value: request.projectId
|
|
3021
|
+
}, {
|
|
3022
|
+
default: defaults.defaultOrganizationId,
|
|
3023
|
+
param: 'organization_id',
|
|
3024
|
+
value: request.organizationId
|
|
3025
3025
|
}])
|
|
3026
3026
|
});
|
|
3027
3027
|
const marshalInstallServerRequest = (request, defaults) => ({
|
|
@@ -3062,7 +3062,7 @@ const marshalUpdateSettingRequest = (request, defaults) => ({
|
|
|
3062
3062
|
|
|
3063
3063
|
// This file was automatically generated. DO NOT EDIT.
|
|
3064
3064
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
3065
|
-
const jsonContentHeaders$
|
|
3065
|
+
const jsonContentHeaders$r = {
|
|
3066
3066
|
'Content-Type': 'application/json; charset=utf-8'
|
|
3067
3067
|
};
|
|
3068
3068
|
|
|
@@ -3071,7 +3071,7 @@ const jsonContentHeaders$q = {
|
|
|
3071
3071
|
*
|
|
3072
3072
|
* This API allows to manage your Elastic Metal server.
|
|
3073
3073
|
*/
|
|
3074
|
-
let API$
|
|
3074
|
+
let API$t = class API extends API$w {
|
|
3075
3075
|
/** Lists the available zones of the API. */
|
|
3076
3076
|
static LOCALITIES = ['fr-par-1', 'fr-par-2', 'nl-ams-1', 'nl-ams-2'];
|
|
3077
3077
|
pageOfListServers = (request = {}) => this.client.fetch({
|
|
@@ -3119,7 +3119,7 @@ let API$s = class API extends API$v {
|
|
|
3119
3119
|
*/
|
|
3120
3120
|
createServer = request => this.client.fetch({
|
|
3121
3121
|
body: JSON.stringify(marshalCreateServerRequest$1(request, this.client.settings)),
|
|
3122
|
-
headers: jsonContentHeaders$
|
|
3122
|
+
headers: jsonContentHeaders$r,
|
|
3123
3123
|
method: 'POST',
|
|
3124
3124
|
path: `/baremetal/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers`
|
|
3125
3125
|
}, unmarshalServer$1);
|
|
@@ -3134,7 +3134,7 @@ let API$s = class API extends API$v {
|
|
|
3134
3134
|
*/
|
|
3135
3135
|
updateServer = request => this.client.fetch({
|
|
3136
3136
|
body: JSON.stringify(marshalUpdateServerRequest$1(request, this.client.settings)),
|
|
3137
|
-
headers: jsonContentHeaders$
|
|
3137
|
+
headers: jsonContentHeaders$r,
|
|
3138
3138
|
method: 'PATCH',
|
|
3139
3139
|
path: `/baremetal/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}`
|
|
3140
3140
|
}, unmarshalServer$1);
|
|
@@ -3148,7 +3148,7 @@ let API$s = class API extends API$v {
|
|
|
3148
3148
|
*/
|
|
3149
3149
|
installServer = request => this.client.fetch({
|
|
3150
3150
|
body: JSON.stringify(marshalInstallServerRequest(request, this.client.settings)),
|
|
3151
|
-
headers: jsonContentHeaders$
|
|
3151
|
+
headers: jsonContentHeaders$r,
|
|
3152
3152
|
method: 'POST',
|
|
3153
3153
|
path: `/baremetal/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/install`
|
|
3154
3154
|
}, unmarshalServer$1);
|
|
@@ -3186,7 +3186,7 @@ let API$s = class API extends API$v {
|
|
|
3186
3186
|
*/
|
|
3187
3187
|
rebootServer = request => this.client.fetch({
|
|
3188
3188
|
body: JSON.stringify(marshalRebootServerRequest(request, this.client.settings)),
|
|
3189
|
-
headers: jsonContentHeaders$
|
|
3189
|
+
headers: jsonContentHeaders$r,
|
|
3190
3190
|
method: 'POST',
|
|
3191
3191
|
path: `/baremetal/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/reboot`
|
|
3192
3192
|
}, unmarshalServer$1);
|
|
@@ -3199,7 +3199,7 @@ let API$s = class API extends API$v {
|
|
|
3199
3199
|
*/
|
|
3200
3200
|
startServer = request => this.client.fetch({
|
|
3201
3201
|
body: JSON.stringify(marshalStartServerRequest(request, this.client.settings)),
|
|
3202
|
-
headers: jsonContentHeaders$
|
|
3202
|
+
headers: jsonContentHeaders$r,
|
|
3203
3203
|
method: 'POST',
|
|
3204
3204
|
path: `/baremetal/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/start`
|
|
3205
3205
|
}, unmarshalServer$1);
|
|
@@ -3214,7 +3214,7 @@ let API$s = class API extends API$v {
|
|
|
3214
3214
|
*/
|
|
3215
3215
|
stopServer = request => this.client.fetch({
|
|
3216
3216
|
body: '{}',
|
|
3217
|
-
headers: jsonContentHeaders$
|
|
3217
|
+
headers: jsonContentHeaders$r,
|
|
3218
3218
|
method: 'POST',
|
|
3219
3219
|
path: `/baremetal/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/stop`
|
|
3220
3220
|
}, unmarshalServer$1);
|
|
@@ -3252,7 +3252,7 @@ let API$s = class API extends API$v {
|
|
|
3252
3252
|
*/
|
|
3253
3253
|
startBMCAccess = request => this.client.fetch({
|
|
3254
3254
|
body: JSON.stringify(marshalStartBMCAccessRequest(request, this.client.settings)),
|
|
3255
|
-
headers: jsonContentHeaders$
|
|
3255
|
+
headers: jsonContentHeaders$r,
|
|
3256
3256
|
method: 'POST',
|
|
3257
3257
|
path: `/baremetal/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/bmc-access`
|
|
3258
3258
|
}, unmarshalBMCAccess);
|
|
@@ -3290,7 +3290,7 @@ let API$s = class API extends API$v {
|
|
|
3290
3290
|
*/
|
|
3291
3291
|
updateIP = request => this.client.fetch({
|
|
3292
3292
|
body: JSON.stringify(marshalUpdateIPRequest$2(request, this.client.settings)),
|
|
3293
|
-
headers: jsonContentHeaders$
|
|
3293
|
+
headers: jsonContentHeaders$r,
|
|
3294
3294
|
method: 'PATCH',
|
|
3295
3295
|
path: `/baremetal/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/ips/${validatePathParam('ipId', request.ipId)}`
|
|
3296
3296
|
}, unmarshalIP$2);
|
|
@@ -3304,7 +3304,7 @@ let API$s = class API extends API$v {
|
|
|
3304
3304
|
*/
|
|
3305
3305
|
addOptionServer = request => this.client.fetch({
|
|
3306
3306
|
body: JSON.stringify(marshalAddOptionServerRequest(request, this.client.settings)),
|
|
3307
|
-
headers: jsonContentHeaders$
|
|
3307
|
+
headers: jsonContentHeaders$r,
|
|
3308
3308
|
method: 'POST',
|
|
3309
3309
|
path: `/baremetal/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/options/${validatePathParam('optionId', request.optionId)}`
|
|
3310
3310
|
}, unmarshalServer$1);
|
|
@@ -3389,7 +3389,7 @@ let API$s = class API extends API$v {
|
|
|
3389
3389
|
*/
|
|
3390
3390
|
updateSetting = request => this.client.fetch({
|
|
3391
3391
|
body: JSON.stringify(marshalUpdateSettingRequest(request, this.client.settings)),
|
|
3392
|
-
headers: jsonContentHeaders$
|
|
3392
|
+
headers: jsonContentHeaders$r,
|
|
3393
3393
|
method: 'PATCH',
|
|
3394
3394
|
path: `/baremetal/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/settings/${validatePathParam('settingId', request.settingId)}`
|
|
3395
3395
|
}, unmarshalSetting);
|
|
@@ -3421,7 +3421,7 @@ let API$s = class API extends API$v {
|
|
|
3421
3421
|
};
|
|
3422
3422
|
|
|
3423
3423
|
/** Elastic Metal Private Network API. */
|
|
3424
|
-
class PrivateNetworkAPI extends API$
|
|
3424
|
+
class PrivateNetworkAPI extends API$w {
|
|
3425
3425
|
/** Lists the available zones of the API. */
|
|
3426
3426
|
static LOCALITIES = ['fr-par-2'];
|
|
3427
3427
|
|
|
@@ -3434,7 +3434,7 @@ class PrivateNetworkAPI extends API$v {
|
|
|
3434
3434
|
*/
|
|
3435
3435
|
addServerPrivateNetwork = request => this.client.fetch({
|
|
3436
3436
|
body: JSON.stringify(marshalPrivateNetworkApiAddServerPrivateNetworkRequest(request, this.client.settings)),
|
|
3437
|
-
headers: jsonContentHeaders$
|
|
3437
|
+
headers: jsonContentHeaders$r,
|
|
3438
3438
|
method: 'POST',
|
|
3439
3439
|
path: `/baremetal/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/private-networks`
|
|
3440
3440
|
}, unmarshalServerPrivateNetwork);
|
|
@@ -3448,7 +3448,7 @@ class PrivateNetworkAPI extends API$v {
|
|
|
3448
3448
|
*/
|
|
3449
3449
|
setServerPrivateNetworks = request => this.client.fetch({
|
|
3450
3450
|
body: JSON.stringify(marshalPrivateNetworkApiSetServerPrivateNetworksRequest(request, this.client.settings)),
|
|
3451
|
-
headers: jsonContentHeaders$
|
|
3451
|
+
headers: jsonContentHeaders$r,
|
|
3452
3452
|
method: 'PUT',
|
|
3453
3453
|
path: `/baremetal/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/private-networks`
|
|
3454
3454
|
}, unmarshalSetServerPrivateNetworksResponse);
|
|
@@ -3479,7 +3479,7 @@ class PrivateNetworkAPI extends API$v {
|
|
|
3479
3479
|
});
|
|
3480
3480
|
}
|
|
3481
3481
|
|
|
3482
|
-
class BaremetalV1UtilsAPI extends API$
|
|
3482
|
+
class BaremetalV1UtilsAPI extends API$t {
|
|
3483
3483
|
/**
|
|
3484
3484
|
* Waits for {@link ServerInstall} to be in a final state.
|
|
3485
3485
|
*
|
|
@@ -3609,7 +3609,7 @@ const UpdateServerRequest = {
|
|
|
3609
3609
|
}
|
|
3610
3610
|
};
|
|
3611
3611
|
|
|
3612
|
-
var validationRules_gen$
|
|
3612
|
+
var validationRules_gen$c = /*#__PURE__*/Object.freeze({
|
|
3613
3613
|
__proto__: null,
|
|
3614
3614
|
CreateServerRequest: CreateServerRequest,
|
|
3615
3615
|
CreateServerRequestInstall: CreateServerRequestInstall,
|
|
@@ -3623,19 +3623,19 @@ var validationRules_gen$b = /*#__PURE__*/Object.freeze({
|
|
|
3623
3623
|
UpdateServerRequest: UpdateServerRequest
|
|
3624
3624
|
});
|
|
3625
3625
|
|
|
3626
|
-
var index$
|
|
3626
|
+
var index$v = /*#__PURE__*/Object.freeze({
|
|
3627
3627
|
__proto__: null,
|
|
3628
3628
|
API: BaremetalV1UtilsAPI,
|
|
3629
3629
|
PrivateNetworkAPI: PrivateNetworkAPI,
|
|
3630
3630
|
SERVER_INSTALL_TRANSIENT_STATUSES: SERVER_INSTALL_TRANSIENT_STATUSES,
|
|
3631
3631
|
SERVER_PRIVATE_NETWORK_TRANSIENT_STATUSES: SERVER_PRIVATE_NETWORK_TRANSIENT_STATUSES,
|
|
3632
3632
|
SERVER_TRANSIENT_STATUSES: SERVER_TRANSIENT_STATUSES$1,
|
|
3633
|
-
ValidationRules: validationRules_gen$
|
|
3633
|
+
ValidationRules: validationRules_gen$c
|
|
3634
3634
|
});
|
|
3635
3635
|
|
|
3636
|
-
var index$
|
|
3636
|
+
var index$u = /*#__PURE__*/Object.freeze({
|
|
3637
3637
|
__proto__: null,
|
|
3638
|
-
v1: index$
|
|
3638
|
+
v1: index$v
|
|
3639
3639
|
});
|
|
3640
3640
|
|
|
3641
3641
|
// This file was automatically generated. DO NOT EDIT.
|
|
@@ -3738,7 +3738,7 @@ const unmarshalListInvoicesResponse = data => {
|
|
|
3738
3738
|
*
|
|
3739
3739
|
* This API allows you to query your consumption.
|
|
3740
3740
|
*/
|
|
3741
|
-
let API$
|
|
3741
|
+
let API$s = class API extends API$w {
|
|
3742
3742
|
/**
|
|
3743
3743
|
* Get current month's consumption. The consumption reflects the amount of
|
|
3744
3744
|
* money you have spent for the products you have used. The consumption value
|
|
@@ -3799,14 +3799,14 @@ let API$r = class API extends API$v {
|
|
|
3799
3799
|
// This file was automatically generated. DO NOT EDIT.
|
|
3800
3800
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
3801
3801
|
|
|
3802
|
-
var index_gen$
|
|
3802
|
+
var index_gen$r = /*#__PURE__*/Object.freeze({
|
|
3803
3803
|
__proto__: null,
|
|
3804
|
-
API: API$
|
|
3804
|
+
API: API$s
|
|
3805
3805
|
});
|
|
3806
3806
|
|
|
3807
|
-
var index$
|
|
3807
|
+
var index$t = /*#__PURE__*/Object.freeze({
|
|
3808
3808
|
__proto__: null,
|
|
3809
|
-
v2alpha1: index_gen$
|
|
3809
|
+
v2alpha1: index_gen$r
|
|
3810
3810
|
});
|
|
3811
3811
|
|
|
3812
3812
|
// This file was automatically generated. DO NOT EDIT.
|
|
@@ -4000,7 +4000,7 @@ const marshalUpdateVolumeRequest$2 = (request, defaults) => ({
|
|
|
4000
4000
|
|
|
4001
4001
|
// This file was automatically generated. DO NOT EDIT.
|
|
4002
4002
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
4003
|
-
const jsonContentHeaders$
|
|
4003
|
+
const jsonContentHeaders$q = {
|
|
4004
4004
|
'Content-Type': 'application/json; charset=utf-8'
|
|
4005
4005
|
};
|
|
4006
4006
|
|
|
@@ -4009,7 +4009,7 @@ const jsonContentHeaders$p = {
|
|
|
4009
4009
|
*
|
|
4010
4010
|
* This API allows you to use and manage your Block Storage volumes.
|
|
4011
4011
|
*/
|
|
4012
|
-
let API$
|
|
4012
|
+
let API$r = class API extends API$w {
|
|
4013
4013
|
/** Lists the available zones of the API. */
|
|
4014
4014
|
static LOCALITIES = ['fr-par-1', 'pl-waw-3'];
|
|
4015
4015
|
pageOfListVolumeTypes = (request = {}) => this.client.fetch({
|
|
@@ -4055,7 +4055,7 @@ let API$q = class API extends API$v {
|
|
|
4055
4055
|
*/
|
|
4056
4056
|
createVolume = request => this.client.fetch({
|
|
4057
4057
|
body: JSON.stringify(marshalCreateVolumeRequest$2(request, this.client.settings)),
|
|
4058
|
-
headers: jsonContentHeaders$
|
|
4058
|
+
headers: jsonContentHeaders$q,
|
|
4059
4059
|
method: 'POST',
|
|
4060
4060
|
path: `/block/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/volumes`
|
|
4061
4061
|
}, unmarshalVolume$4);
|
|
@@ -4103,7 +4103,7 @@ let API$q = class API extends API$v {
|
|
|
4103
4103
|
*/
|
|
4104
4104
|
updateVolume = request => this.client.fetch({
|
|
4105
4105
|
body: JSON.stringify(marshalUpdateVolumeRequest$2(request, this.client.settings)),
|
|
4106
|
-
headers: jsonContentHeaders$
|
|
4106
|
+
headers: jsonContentHeaders$q,
|
|
4107
4107
|
method: 'PATCH',
|
|
4108
4108
|
path: `/block/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/volumes/${validatePathParam('volumeId', request.volumeId)}`
|
|
4109
4109
|
}, unmarshalVolume$4);
|
|
@@ -4155,13 +4155,13 @@ let API$q = class API extends API$v {
|
|
|
4155
4155
|
*/
|
|
4156
4156
|
createSnapshot = request => this.client.fetch({
|
|
4157
4157
|
body: JSON.stringify(marshalCreateSnapshotRequest$3(request, this.client.settings)),
|
|
4158
|
-
headers: jsonContentHeaders$
|
|
4158
|
+
headers: jsonContentHeaders$q,
|
|
4159
4159
|
method: 'POST',
|
|
4160
4160
|
path: `/block/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/snapshots`
|
|
4161
4161
|
}, unmarshalSnapshot$3);
|
|
4162
4162
|
importSnapshotFromS3 = request => this.client.fetch({
|
|
4163
4163
|
body: JSON.stringify(marshalImportSnapshotFromS3Request(request, this.client.settings)),
|
|
4164
|
-
headers: jsonContentHeaders$
|
|
4164
|
+
headers: jsonContentHeaders$q,
|
|
4165
4165
|
method: 'POST',
|
|
4166
4166
|
path: `/block/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/snapshots/import-from-s3`
|
|
4167
4167
|
}, unmarshalSnapshot$3);
|
|
@@ -4185,7 +4185,7 @@ let API$q = class API extends API$v {
|
|
|
4185
4185
|
*/
|
|
4186
4186
|
updateSnapshot = request => this.client.fetch({
|
|
4187
4187
|
body: JSON.stringify(marshalUpdateSnapshotRequest$2(request, this.client.settings)),
|
|
4188
|
-
headers: jsonContentHeaders$
|
|
4188
|
+
headers: jsonContentHeaders$q,
|
|
4189
4189
|
method: 'PATCH',
|
|
4190
4190
|
path: `/block/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/snapshots/${validatePathParam('snapshotId', request.snapshotId)}`
|
|
4191
4191
|
}, unmarshalSnapshot$3);
|
|
@@ -4242,7 +4242,7 @@ const Reference = {
|
|
|
4242
4242
|
}
|
|
4243
4243
|
};
|
|
4244
4244
|
|
|
4245
|
-
var validationRules_gen$
|
|
4245
|
+
var validationRules_gen$b = /*#__PURE__*/Object.freeze({
|
|
4246
4246
|
__proto__: null,
|
|
4247
4247
|
CreateSnapshotRequest: CreateSnapshotRequest,
|
|
4248
4248
|
CreateVolumeRequest: CreateVolumeRequest,
|
|
@@ -4256,18 +4256,18 @@ var validationRules_gen$a = /*#__PURE__*/Object.freeze({
|
|
|
4256
4256
|
// This file was automatically generated. DO NOT EDIT.
|
|
4257
4257
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
4258
4258
|
|
|
4259
|
-
var index_gen$
|
|
4259
|
+
var index_gen$q = /*#__PURE__*/Object.freeze({
|
|
4260
4260
|
__proto__: null,
|
|
4261
|
-
API: API$
|
|
4261
|
+
API: API$r,
|
|
4262
4262
|
REFERENCE_TRANSIENT_STATUSES: REFERENCE_TRANSIENT_STATUSES,
|
|
4263
4263
|
SNAPSHOT_TRANSIENT_STATUSES: SNAPSHOT_TRANSIENT_STATUSES$3,
|
|
4264
4264
|
VOLUME_TRANSIENT_STATUSES: VOLUME_TRANSIENT_STATUSES$1,
|
|
4265
|
-
ValidationRules: validationRules_gen$
|
|
4265
|
+
ValidationRules: validationRules_gen$b
|
|
4266
4266
|
});
|
|
4267
4267
|
|
|
4268
|
-
var index$
|
|
4268
|
+
var index$s = /*#__PURE__*/Object.freeze({
|
|
4269
4269
|
__proto__: null,
|
|
4270
|
-
v1alpha1: index_gen$
|
|
4270
|
+
v1alpha1: index_gen$q
|
|
4271
4271
|
});
|
|
4272
4272
|
|
|
4273
4273
|
// This file was automatically generated. DO NOT EDIT.
|
|
@@ -4545,7 +4545,7 @@ const marshalTriggerTestAlertRequest = (request, defaults) => ({
|
|
|
4545
4545
|
|
|
4546
4546
|
// This file was automatically generated. DO NOT EDIT.
|
|
4547
4547
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
4548
|
-
const jsonContentHeaders$
|
|
4548
|
+
const jsonContentHeaders$p = {
|
|
4549
4549
|
'Content-Type': 'application/json; charset=utf-8'
|
|
4550
4550
|
};
|
|
4551
4551
|
|
|
@@ -4556,7 +4556,7 @@ const jsonContentHeaders$o = {
|
|
|
4556
4556
|
* Scaleway's Cockpit stores metrics and logs and provides a dedicated Grafana
|
|
4557
4557
|
* for dashboarding to visualize them.
|
|
4558
4558
|
*/
|
|
4559
|
-
let API$
|
|
4559
|
+
let API$q = class API extends API$w {
|
|
4560
4560
|
/**
|
|
4561
4561
|
* Activate the Cockpit of the specified Project ID.
|
|
4562
4562
|
*
|
|
@@ -4565,7 +4565,7 @@ let API$p = class API extends API$v {
|
|
|
4565
4565
|
*/
|
|
4566
4566
|
activateCockpit = (request = {}) => this.client.fetch({
|
|
4567
4567
|
body: JSON.stringify(marshalActivateCockpitRequest(request, this.client.settings)),
|
|
4568
|
-
headers: jsonContentHeaders$
|
|
4568
|
+
headers: jsonContentHeaders$p,
|
|
4569
4569
|
method: 'POST',
|
|
4570
4570
|
path: `/cockpit/v1beta1/activate`
|
|
4571
4571
|
}, unmarshalCockpit);
|
|
@@ -4611,7 +4611,7 @@ let API$p = class API extends API$v {
|
|
|
4611
4611
|
*/
|
|
4612
4612
|
deactivateCockpit = (request = {}) => this.client.fetch({
|
|
4613
4613
|
body: JSON.stringify(marshalDeactivateCockpitRequest(request, this.client.settings)),
|
|
4614
|
-
headers: jsonContentHeaders$
|
|
4614
|
+
headers: jsonContentHeaders$p,
|
|
4615
4615
|
method: 'POST',
|
|
4616
4616
|
path: `/cockpit/v1beta1/deactivate`
|
|
4617
4617
|
}, unmarshalCockpit);
|
|
@@ -4624,7 +4624,7 @@ let API$p = class API extends API$v {
|
|
|
4624
4624
|
*/
|
|
4625
4625
|
resetCockpitGrafana = (request = {}) => this.client.fetch({
|
|
4626
4626
|
body: JSON.stringify(marshalResetCockpitGrafanaRequest(request, this.client.settings)),
|
|
4627
|
-
headers: jsonContentHeaders$
|
|
4627
|
+
headers: jsonContentHeaders$p,
|
|
4628
4628
|
method: 'POST',
|
|
4629
4629
|
path: `/cockpit/v1beta1/reset-grafana`
|
|
4630
4630
|
}, unmarshalCockpit);
|
|
@@ -4637,7 +4637,7 @@ let API$p = class API extends API$v {
|
|
|
4637
4637
|
*/
|
|
4638
4638
|
createDatasource = request => this.client.fetch({
|
|
4639
4639
|
body: JSON.stringify(marshalCreateDatasourceRequest(request, this.client.settings)),
|
|
4640
|
-
headers: jsonContentHeaders$
|
|
4640
|
+
headers: jsonContentHeaders$p,
|
|
4641
4641
|
method: 'POST',
|
|
4642
4642
|
path: `/cockpit/v1beta1/datasources`
|
|
4643
4643
|
}, unmarshalDatasource);
|
|
@@ -4663,7 +4663,7 @@ let API$p = class API extends API$v {
|
|
|
4663
4663
|
*/
|
|
4664
4664
|
createToken = (request = {}) => this.client.fetch({
|
|
4665
4665
|
body: JSON.stringify(marshalCreateTokenRequest$2(request, this.client.settings)),
|
|
4666
|
-
headers: jsonContentHeaders$
|
|
4666
|
+
headers: jsonContentHeaders$p,
|
|
4667
4667
|
method: 'POST',
|
|
4668
4668
|
path: `/cockpit/v1beta1/tokens`
|
|
4669
4669
|
}, unmarshalToken$2);
|
|
@@ -4710,7 +4710,7 @@ let API$p = class API extends API$v {
|
|
|
4710
4710
|
*/
|
|
4711
4711
|
createContactPoint = (request = {}) => this.client.fetch({
|
|
4712
4712
|
body: JSON.stringify(marshalCreateContactPointRequest(request, this.client.settings)),
|
|
4713
|
-
headers: jsonContentHeaders$
|
|
4713
|
+
headers: jsonContentHeaders$p,
|
|
4714
4714
|
method: 'POST',
|
|
4715
4715
|
path: `/cockpit/v1beta1/contact-points`
|
|
4716
4716
|
}, unmarshalContactPoint);
|
|
@@ -4736,7 +4736,7 @@ let API$p = class API extends API$v {
|
|
|
4736
4736
|
*/
|
|
4737
4737
|
deleteContactPoint = (request = {}) => this.client.fetch({
|
|
4738
4738
|
body: JSON.stringify(marshalDeleteContactPointRequest(request, this.client.settings)),
|
|
4739
|
-
headers: jsonContentHeaders$
|
|
4739
|
+
headers: jsonContentHeaders$p,
|
|
4740
4740
|
method: 'POST',
|
|
4741
4741
|
path: `/cockpit/v1beta1/delete-contact-point`
|
|
4742
4742
|
});
|
|
@@ -4748,7 +4748,7 @@ let API$p = class API extends API$v {
|
|
|
4748
4748
|
*/
|
|
4749
4749
|
enableManagedAlerts = (request = {}) => this.client.fetch({
|
|
4750
4750
|
body: JSON.stringify(marshalEnableManagedAlertsRequest(request, this.client.settings)),
|
|
4751
|
-
headers: jsonContentHeaders$
|
|
4751
|
+
headers: jsonContentHeaders$p,
|
|
4752
4752
|
method: 'POST',
|
|
4753
4753
|
path: `/cockpit/v1beta1/enable-managed-alerts`
|
|
4754
4754
|
});
|
|
@@ -4760,7 +4760,7 @@ let API$p = class API extends API$v {
|
|
|
4760
4760
|
*/
|
|
4761
4761
|
disableManagedAlerts = (request = {}) => this.client.fetch({
|
|
4762
4762
|
body: JSON.stringify(marshalDisableManagedAlertsRequest(request, this.client.settings)),
|
|
4763
|
-
headers: jsonContentHeaders$
|
|
4763
|
+
headers: jsonContentHeaders$p,
|
|
4764
4764
|
method: 'POST',
|
|
4765
4765
|
path: `/cockpit/v1beta1/disable-managed-alerts`
|
|
4766
4766
|
});
|
|
@@ -4772,7 +4772,7 @@ let API$p = class API extends API$v {
|
|
|
4772
4772
|
*/
|
|
4773
4773
|
triggerTestAlert = (request = {}) => this.client.fetch({
|
|
4774
4774
|
body: JSON.stringify(marshalTriggerTestAlertRequest(request, this.client.settings)),
|
|
4775
|
-
headers: jsonContentHeaders$
|
|
4775
|
+
headers: jsonContentHeaders$p,
|
|
4776
4776
|
method: 'POST',
|
|
4777
4777
|
path: `/cockpit/v1beta1/trigger-test-alert`
|
|
4778
4778
|
});
|
|
@@ -4786,7 +4786,7 @@ let API$p = class API extends API$v {
|
|
|
4786
4786
|
*/
|
|
4787
4787
|
createGrafanaUser = request => this.client.fetch({
|
|
4788
4788
|
body: JSON.stringify(marshalCreateGrafanaUserRequest(request, this.client.settings)),
|
|
4789
|
-
headers: jsonContentHeaders$
|
|
4789
|
+
headers: jsonContentHeaders$p,
|
|
4790
4790
|
method: 'POST',
|
|
4791
4791
|
path: `/cockpit/v1beta1/grafana-users`
|
|
4792
4792
|
}, unmarshalGrafanaUser);
|
|
@@ -4813,7 +4813,7 @@ let API$p = class API extends API$v {
|
|
|
4813
4813
|
*/
|
|
4814
4814
|
deleteGrafanaUser = request => this.client.fetch({
|
|
4815
4815
|
body: JSON.stringify(marshalDeleteGrafanaUserRequest(request, this.client.settings)),
|
|
4816
|
-
headers: jsonContentHeaders$
|
|
4816
|
+
headers: jsonContentHeaders$p,
|
|
4817
4817
|
method: 'POST',
|
|
4818
4818
|
path: `/cockpit/v1beta1/grafana-users/${validatePathParam('grafanaUserId', request.grafanaUserId)}/delete`
|
|
4819
4819
|
});
|
|
@@ -4827,7 +4827,7 @@ let API$p = class API extends API$v {
|
|
|
4827
4827
|
*/
|
|
4828
4828
|
resetGrafanaUserPassword = request => this.client.fetch({
|
|
4829
4829
|
body: JSON.stringify(marshalResetGrafanaUserPasswordRequest(request, this.client.settings)),
|
|
4830
|
-
headers: jsonContentHeaders$
|
|
4830
|
+
headers: jsonContentHeaders$p,
|
|
4831
4831
|
method: 'POST',
|
|
4832
4832
|
path: `/cockpit/v1beta1/grafana-users/${validatePathParam('grafanaUserId', request.grafanaUserId)}/reset-password`
|
|
4833
4833
|
}, unmarshalGrafanaUser);
|
|
@@ -4854,7 +4854,7 @@ let API$p = class API extends API$v {
|
|
|
4854
4854
|
*/
|
|
4855
4855
|
selectPlan = request => this.client.fetch({
|
|
4856
4856
|
body: JSON.stringify(marshalSelectPlanRequest(request, this.client.settings)),
|
|
4857
|
-
headers: jsonContentHeaders$
|
|
4857
|
+
headers: jsonContentHeaders$p,
|
|
4858
4858
|
method: 'POST',
|
|
4859
4859
|
path: `/cockpit/v1beta1/select-plan`
|
|
4860
4860
|
}, unmarshalSelectPlanResponse);
|
|
@@ -4889,15 +4889,15 @@ let API$p = class API extends API$v {
|
|
|
4889
4889
|
// This file was automatically generated. DO NOT EDIT.
|
|
4890
4890
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
4891
4891
|
|
|
4892
|
-
var index_gen$
|
|
4892
|
+
var index_gen$p = /*#__PURE__*/Object.freeze({
|
|
4893
4893
|
__proto__: null,
|
|
4894
|
-
API: API$
|
|
4894
|
+
API: API$q,
|
|
4895
4895
|
COCKPIT_TRANSIENT_STATUSES: COCKPIT_TRANSIENT_STATUSES
|
|
4896
4896
|
});
|
|
4897
4897
|
|
|
4898
|
-
var index$
|
|
4898
|
+
var index$r = /*#__PURE__*/Object.freeze({
|
|
4899
4899
|
__proto__: null,
|
|
4900
|
-
v1beta1: index_gen$
|
|
4900
|
+
v1beta1: index_gen$p
|
|
4901
4901
|
});
|
|
4902
4902
|
|
|
4903
4903
|
// This file was automatically generated. DO NOT EDIT.
|
|
@@ -5276,12 +5276,12 @@ const marshalUpdateTriggerRequest$1 = (request, defaults) => ({
|
|
|
5276
5276
|
|
|
5277
5277
|
// This file was automatically generated. DO NOT EDIT.
|
|
5278
5278
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
5279
|
-
const jsonContentHeaders$
|
|
5279
|
+
const jsonContentHeaders$o = {
|
|
5280
5280
|
'Content-Type': 'application/json; charset=utf-8'
|
|
5281
5281
|
};
|
|
5282
5282
|
|
|
5283
5283
|
/** Serverless Containers API. */
|
|
5284
|
-
let API$
|
|
5284
|
+
let API$p = class API extends API$w {
|
|
5285
5285
|
/** Lists the available regions of the API. */
|
|
5286
5286
|
static LOCALITIES = ['fr-par', 'nl-ams', 'pl-waw'];
|
|
5287
5287
|
pageOfListNamespaces = (request = {}) => this.client.fetch({
|
|
@@ -5326,7 +5326,7 @@ let API$o = class API extends API$v {
|
|
|
5326
5326
|
*/
|
|
5327
5327
|
createNamespace = (request = {}) => this.client.fetch({
|
|
5328
5328
|
body: JSON.stringify(marshalCreateNamespaceRequest$3(request, this.client.settings)),
|
|
5329
|
-
headers: jsonContentHeaders$
|
|
5329
|
+
headers: jsonContentHeaders$o,
|
|
5330
5330
|
method: 'POST',
|
|
5331
5331
|
path: `/containers/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/namespaces`
|
|
5332
5332
|
}, unmarshalNamespace$3);
|
|
@@ -5340,7 +5340,7 @@ let API$o = class API extends API$v {
|
|
|
5340
5340
|
*/
|
|
5341
5341
|
updateNamespace = request => this.client.fetch({
|
|
5342
5342
|
body: JSON.stringify(marshalUpdateNamespaceRequest$3(request, this.client.settings)),
|
|
5343
|
-
headers: jsonContentHeaders$
|
|
5343
|
+
headers: jsonContentHeaders$o,
|
|
5344
5344
|
method: 'PATCH',
|
|
5345
5345
|
path: `/containers/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/namespaces/${validatePathParam('namespaceId', request.namespaceId)}`
|
|
5346
5346
|
}, unmarshalNamespace$3);
|
|
@@ -5398,7 +5398,7 @@ let API$o = class API extends API$v {
|
|
|
5398
5398
|
*/
|
|
5399
5399
|
createContainer = request => this.client.fetch({
|
|
5400
5400
|
body: JSON.stringify(marshalCreateContainerRequest(request, this.client.settings)),
|
|
5401
|
-
headers: jsonContentHeaders$
|
|
5401
|
+
headers: jsonContentHeaders$o,
|
|
5402
5402
|
method: 'POST',
|
|
5403
5403
|
path: `/containers/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/containers`
|
|
5404
5404
|
}, unmarshalContainer);
|
|
@@ -5412,7 +5412,7 @@ let API$o = class API extends API$v {
|
|
|
5412
5412
|
*/
|
|
5413
5413
|
updateContainer = request => this.client.fetch({
|
|
5414
5414
|
body: JSON.stringify(marshalUpdateContainerRequest(request, this.client.settings)),
|
|
5415
|
-
headers: jsonContentHeaders$
|
|
5415
|
+
headers: jsonContentHeaders$o,
|
|
5416
5416
|
method: 'PATCH',
|
|
5417
5417
|
path: `/containers/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/containers/${validatePathParam('containerId', request.containerId)}`
|
|
5418
5418
|
}, unmarshalContainer);
|
|
@@ -5436,7 +5436,7 @@ let API$o = class API extends API$v {
|
|
|
5436
5436
|
*/
|
|
5437
5437
|
deployContainer = request => this.client.fetch({
|
|
5438
5438
|
body: '{}',
|
|
5439
|
-
headers: jsonContentHeaders$
|
|
5439
|
+
headers: jsonContentHeaders$o,
|
|
5440
5440
|
method: 'POST',
|
|
5441
5441
|
path: `/containers/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/containers/${validatePathParam('containerId', request.containerId)}/deploy`
|
|
5442
5442
|
}, unmarshalContainer);
|
|
@@ -5482,7 +5482,7 @@ let API$o = class API extends API$v {
|
|
|
5482
5482
|
*/
|
|
5483
5483
|
createCron = request => this.client.fetch({
|
|
5484
5484
|
body: JSON.stringify(marshalCreateCronRequest$1(request, this.client.settings)),
|
|
5485
|
-
headers: jsonContentHeaders$
|
|
5485
|
+
headers: jsonContentHeaders$o,
|
|
5486
5486
|
method: 'POST',
|
|
5487
5487
|
path: `/containers/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/crons`
|
|
5488
5488
|
}, unmarshalCron$1);
|
|
@@ -5495,7 +5495,7 @@ let API$o = class API extends API$v {
|
|
|
5495
5495
|
*/
|
|
5496
5496
|
updateCron = request => this.client.fetch({
|
|
5497
5497
|
body: JSON.stringify(marshalUpdateCronRequest$1(request, this.client.settings)),
|
|
5498
|
-
headers: jsonContentHeaders$
|
|
5498
|
+
headers: jsonContentHeaders$o,
|
|
5499
5499
|
method: 'PATCH',
|
|
5500
5500
|
path: `/containers/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/crons/${validatePathParam('cronId', request.cronId)}`
|
|
5501
5501
|
}, unmarshalCron$1);
|
|
@@ -5569,7 +5569,7 @@ let API$o = class API extends API$v {
|
|
|
5569
5569
|
*/
|
|
5570
5570
|
createDomain = request => this.client.fetch({
|
|
5571
5571
|
body: JSON.stringify(marshalCreateDomainRequest$2(request, this.client.settings)),
|
|
5572
|
-
headers: jsonContentHeaders$
|
|
5572
|
+
headers: jsonContentHeaders$o,
|
|
5573
5573
|
method: 'POST',
|
|
5574
5574
|
path: `/containers/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/domains`
|
|
5575
5575
|
}, unmarshalDomain$3);
|
|
@@ -5611,7 +5611,7 @@ let API$o = class API extends API$v {
|
|
|
5611
5611
|
*/
|
|
5612
5612
|
createToken = (request = {}) => this.client.fetch({
|
|
5613
5613
|
body: JSON.stringify(marshalCreateTokenRequest$1(request, this.client.settings)),
|
|
5614
|
-
headers: jsonContentHeaders$
|
|
5614
|
+
headers: jsonContentHeaders$o,
|
|
5615
5615
|
method: 'POST',
|
|
5616
5616
|
path: `/containers/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/tokens`
|
|
5617
5617
|
}, unmarshalToken$1);
|
|
@@ -5669,7 +5669,7 @@ let API$o = class API extends API$v {
|
|
|
5669
5669
|
*/
|
|
5670
5670
|
createTrigger = request => this.client.fetch({
|
|
5671
5671
|
body: JSON.stringify(marshalCreateTriggerRequest$1(request, this.client.settings)),
|
|
5672
|
-
headers: jsonContentHeaders$
|
|
5672
|
+
headers: jsonContentHeaders$o,
|
|
5673
5673
|
method: 'POST',
|
|
5674
5674
|
path: `/containers/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/triggers`
|
|
5675
5675
|
}, unmarshalTrigger$1);
|
|
@@ -5726,7 +5726,7 @@ let API$o = class API extends API$v {
|
|
|
5726
5726
|
*/
|
|
5727
5727
|
updateTrigger = request => this.client.fetch({
|
|
5728
5728
|
body: JSON.stringify(marshalUpdateTriggerRequest$1(request, this.client.settings)),
|
|
5729
|
-
headers: jsonContentHeaders$
|
|
5729
|
+
headers: jsonContentHeaders$o,
|
|
5730
5730
|
method: 'PATCH',
|
|
5731
5731
|
path: `/containers/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/triggers/${validatePathParam('triggerId', request.triggerId)}`
|
|
5732
5732
|
}, unmarshalTrigger$1);
|
|
@@ -5786,7 +5786,7 @@ const UpdateTriggerRequest$1 = {
|
|
|
5786
5786
|
}
|
|
5787
5787
|
};
|
|
5788
5788
|
|
|
5789
|
-
var validationRules_gen$
|
|
5789
|
+
var validationRules_gen$a = /*#__PURE__*/Object.freeze({
|
|
5790
5790
|
__proto__: null,
|
|
5791
5791
|
CreateTriggerRequest: CreateTriggerRequest$1,
|
|
5792
5792
|
CreateTriggerRequestMnqNatsClientConfig: CreateTriggerRequestMnqNatsClientConfig$1,
|
|
@@ -5797,21 +5797,21 @@ var validationRules_gen$9 = /*#__PURE__*/Object.freeze({
|
|
|
5797
5797
|
// This file was automatically generated. DO NOT EDIT.
|
|
5798
5798
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
5799
5799
|
|
|
5800
|
-
var index_gen$
|
|
5800
|
+
var index_gen$o = /*#__PURE__*/Object.freeze({
|
|
5801
5801
|
__proto__: null,
|
|
5802
|
-
API: API$
|
|
5802
|
+
API: API$p,
|
|
5803
5803
|
CONTAINER_TRANSIENT_STATUSES: CONTAINER_TRANSIENT_STATUSES,
|
|
5804
5804
|
CRON_TRANSIENT_STATUSES: CRON_TRANSIENT_STATUSES$1,
|
|
5805
5805
|
DOMAIN_TRANSIENT_STATUSES: DOMAIN_TRANSIENT_STATUSES$3,
|
|
5806
5806
|
NAMESPACE_TRANSIENT_STATUSES: NAMESPACE_TRANSIENT_STATUSES$2,
|
|
5807
5807
|
TOKEN_TRANSIENT_STATUSES: TOKEN_TRANSIENT_STATUSES$1,
|
|
5808
5808
|
TRIGGER_TRANSIENT_STATUSES: TRIGGER_TRANSIENT_STATUSES$1,
|
|
5809
|
-
ValidationRules: validationRules_gen$
|
|
5809
|
+
ValidationRules: validationRules_gen$a
|
|
5810
5810
|
});
|
|
5811
5811
|
|
|
5812
|
-
var index$
|
|
5812
|
+
var index$q = /*#__PURE__*/Object.freeze({
|
|
5813
5813
|
__proto__: null,
|
|
5814
|
-
v1beta1: index_gen$
|
|
5814
|
+
v1beta1: index_gen$o
|
|
5815
5815
|
});
|
|
5816
5816
|
|
|
5817
5817
|
// This file was automatically generated. DO NOT EDIT.
|
|
@@ -6464,12 +6464,12 @@ const marshalUpgradeInstanceRequest$1 = (request, defaults) => ({
|
|
|
6464
6464
|
|
|
6465
6465
|
// This file was automatically generated. DO NOT EDIT.
|
|
6466
6466
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
6467
|
-
const jsonContentHeaders$
|
|
6467
|
+
const jsonContentHeaders$n = {
|
|
6468
6468
|
'Content-Type': 'application/json; charset=utf-8'
|
|
6469
6469
|
};
|
|
6470
6470
|
|
|
6471
6471
|
/** Managed Document Databases API. */
|
|
6472
|
-
let API$
|
|
6472
|
+
let API$o = class API extends API$w {
|
|
6473
6473
|
/** Lists the available regions of the API. */
|
|
6474
6474
|
static LOCALITIES = ['fr-par', 'nl-ams', 'pl-waw'];
|
|
6475
6475
|
pageOfListDatabaseEngines = (request = {}) => this.client.fetch({
|
|
@@ -6513,7 +6513,7 @@ let API$n = class API extends API$v {
|
|
|
6513
6513
|
*/
|
|
6514
6514
|
upgradeInstance = request => this.client.fetch({
|
|
6515
6515
|
body: JSON.stringify(marshalUpgradeInstanceRequest$1(request, this.client.settings)),
|
|
6516
|
-
headers: jsonContentHeaders$
|
|
6516
|
+
headers: jsonContentHeaders$n,
|
|
6517
6517
|
method: 'POST',
|
|
6518
6518
|
path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/upgrade`
|
|
6519
6519
|
}, unmarshalInstance$2);
|
|
@@ -6571,7 +6571,7 @@ let API$n = class API extends API$v {
|
|
|
6571
6571
|
*/
|
|
6572
6572
|
createInstance = request => this.client.fetch({
|
|
6573
6573
|
body: JSON.stringify(marshalCreateInstanceRequest$1(request, this.client.settings)),
|
|
6574
|
-
headers: jsonContentHeaders$
|
|
6574
|
+
headers: jsonContentHeaders$n,
|
|
6575
6575
|
method: 'POST',
|
|
6576
6576
|
path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances`
|
|
6577
6577
|
}, unmarshalInstance$2);
|
|
@@ -6585,7 +6585,7 @@ let API$n = class API extends API$v {
|
|
|
6585
6585
|
*/
|
|
6586
6586
|
updateInstance = request => this.client.fetch({
|
|
6587
6587
|
body: JSON.stringify(marshalUpdateInstanceRequest$1(request, this.client.settings)),
|
|
6588
|
-
headers: jsonContentHeaders$
|
|
6588
|
+
headers: jsonContentHeaders$n,
|
|
6589
6589
|
method: 'PATCH',
|
|
6590
6590
|
path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}`
|
|
6591
6591
|
}, unmarshalInstance$2);
|
|
@@ -6616,7 +6616,7 @@ let API$n = class API extends API$v {
|
|
|
6616
6616
|
*/
|
|
6617
6617
|
cloneInstance = request => this.client.fetch({
|
|
6618
6618
|
body: JSON.stringify(marshalCloneInstanceRequest$1(request, this.client.settings)),
|
|
6619
|
-
headers: jsonContentHeaders$
|
|
6619
|
+
headers: jsonContentHeaders$n,
|
|
6620
6620
|
method: 'POST',
|
|
6621
6621
|
path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/clone`
|
|
6622
6622
|
}, unmarshalInstance$2);
|
|
@@ -6631,7 +6631,7 @@ let API$n = class API extends API$v {
|
|
|
6631
6631
|
*/
|
|
6632
6632
|
restartInstance = request => this.client.fetch({
|
|
6633
6633
|
body: '{}',
|
|
6634
|
-
headers: jsonContentHeaders$
|
|
6634
|
+
headers: jsonContentHeaders$n,
|
|
6635
6635
|
method: 'POST',
|
|
6636
6636
|
path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/restart`
|
|
6637
6637
|
}, unmarshalInstance$2);
|
|
@@ -6662,7 +6662,7 @@ let API$n = class API extends API$v {
|
|
|
6662
6662
|
*/
|
|
6663
6663
|
renewInstanceCertificate = request => this.client.fetch({
|
|
6664
6664
|
body: '{}',
|
|
6665
|
-
headers: jsonContentHeaders$
|
|
6665
|
+
headers: jsonContentHeaders$n,
|
|
6666
6666
|
method: 'POST',
|
|
6667
6667
|
path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/renew-certificate`
|
|
6668
6668
|
});
|
|
@@ -6691,7 +6691,7 @@ let API$n = class API extends API$v {
|
|
|
6691
6691
|
*/
|
|
6692
6692
|
createReadReplica = request => this.client.fetch({
|
|
6693
6693
|
body: JSON.stringify(marshalCreateReadReplicaRequest$1(request, this.client.settings)),
|
|
6694
|
-
headers: jsonContentHeaders$
|
|
6694
|
+
headers: jsonContentHeaders$n,
|
|
6695
6695
|
method: 'POST',
|
|
6696
6696
|
path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/read-replicas`
|
|
6697
6697
|
}, unmarshalReadReplica$1);
|
|
@@ -6743,7 +6743,7 @@ let API$n = class API extends API$v {
|
|
|
6743
6743
|
*/
|
|
6744
6744
|
resetReadReplica = request => this.client.fetch({
|
|
6745
6745
|
body: '{}',
|
|
6746
|
-
headers: jsonContentHeaders$
|
|
6746
|
+
headers: jsonContentHeaders$n,
|
|
6747
6747
|
method: 'POST',
|
|
6748
6748
|
path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/read-replicas/${validatePathParam('readReplicaId', request.readReplicaId)}/reset`
|
|
6749
6749
|
}, unmarshalReadReplica$1);
|
|
@@ -6757,7 +6757,7 @@ let API$n = class API extends API$v {
|
|
|
6757
6757
|
*/
|
|
6758
6758
|
promoteReadReplica = request => this.client.fetch({
|
|
6759
6759
|
body: '{}',
|
|
6760
|
-
headers: jsonContentHeaders$
|
|
6760
|
+
headers: jsonContentHeaders$n,
|
|
6761
6761
|
method: 'POST',
|
|
6762
6762
|
path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/read-replicas/${validatePathParam('readReplicaId', request.readReplicaId)}/promote`
|
|
6763
6763
|
}, unmarshalInstance$2);
|
|
@@ -6772,7 +6772,7 @@ let API$n = class API extends API$v {
|
|
|
6772
6772
|
*/
|
|
6773
6773
|
createReadReplicaEndpoint = request => this.client.fetch({
|
|
6774
6774
|
body: JSON.stringify(marshalCreateReadReplicaEndpointRequest$1(request, this.client.settings)),
|
|
6775
|
-
headers: jsonContentHeaders$
|
|
6775
|
+
headers: jsonContentHeaders$n,
|
|
6776
6776
|
method: 'POST',
|
|
6777
6777
|
path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/read-replicas/${validatePathParam('readReplicaId', request.readReplicaId)}/endpoints`
|
|
6778
6778
|
}, unmarshalReadReplica$1);
|
|
@@ -6824,7 +6824,7 @@ let API$n = class API extends API$v {
|
|
|
6824
6824
|
*/
|
|
6825
6825
|
purgeInstanceLogs = request => this.client.fetch({
|
|
6826
6826
|
body: JSON.stringify(marshalPurgeInstanceLogsRequest$1(request, this.client.settings)),
|
|
6827
|
-
headers: jsonContentHeaders$
|
|
6827
|
+
headers: jsonContentHeaders$n,
|
|
6828
6828
|
method: 'POST',
|
|
6829
6829
|
path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/purge-logs`
|
|
6830
6830
|
});
|
|
@@ -6852,7 +6852,7 @@ let API$n = class API extends API$v {
|
|
|
6852
6852
|
*/
|
|
6853
6853
|
addInstanceSettings = request => this.client.fetch({
|
|
6854
6854
|
body: JSON.stringify(marshalAddInstanceSettingsRequest$1(request, this.client.settings)),
|
|
6855
|
-
headers: jsonContentHeaders$
|
|
6855
|
+
headers: jsonContentHeaders$n,
|
|
6856
6856
|
method: 'POST',
|
|
6857
6857
|
path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/settings`
|
|
6858
6858
|
}, unmarshalAddInstanceSettingsResponse$1);
|
|
@@ -6867,7 +6867,7 @@ let API$n = class API extends API$v {
|
|
|
6867
6867
|
*/
|
|
6868
6868
|
deleteInstanceSettings = request => this.client.fetch({
|
|
6869
6869
|
body: JSON.stringify(marshalDeleteInstanceSettingsRequest$1(request, this.client.settings)),
|
|
6870
|
-
headers: jsonContentHeaders$
|
|
6870
|
+
headers: jsonContentHeaders$n,
|
|
6871
6871
|
method: 'DELETE',
|
|
6872
6872
|
path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/settings`
|
|
6873
6873
|
}, unmarshalDeleteInstanceSettingsResponse$1);
|
|
@@ -6882,7 +6882,7 @@ let API$n = class API extends API$v {
|
|
|
6882
6882
|
*/
|
|
6883
6883
|
setInstanceSettings = request => this.client.fetch({
|
|
6884
6884
|
body: JSON.stringify(marshalSetInstanceSettingsRequest$1(request, this.client.settings)),
|
|
6885
|
-
headers: jsonContentHeaders$
|
|
6885
|
+
headers: jsonContentHeaders$n,
|
|
6886
6886
|
method: 'PUT',
|
|
6887
6887
|
path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/settings`
|
|
6888
6888
|
}, unmarshalSetInstanceSettingsResponse$1);
|
|
@@ -6912,7 +6912,7 @@ let API$n = class API extends API$v {
|
|
|
6912
6912
|
*/
|
|
6913
6913
|
addInstanceACLRules = request => this.client.fetch({
|
|
6914
6914
|
body: JSON.stringify(marshalAddInstanceACLRulesRequest$1(request, this.client.settings)),
|
|
6915
|
-
headers: jsonContentHeaders$
|
|
6915
|
+
headers: jsonContentHeaders$n,
|
|
6916
6916
|
method: 'POST',
|
|
6917
6917
|
path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/acls`
|
|
6918
6918
|
}, unmarshalAddInstanceACLRulesResponse$1);
|
|
@@ -6926,7 +6926,7 @@ let API$n = class API extends API$v {
|
|
|
6926
6926
|
*/
|
|
6927
6927
|
setInstanceACLRules = request => this.client.fetch({
|
|
6928
6928
|
body: JSON.stringify(marshalSetInstanceACLRulesRequest$1(request, this.client.settings)),
|
|
6929
|
-
headers: jsonContentHeaders$
|
|
6929
|
+
headers: jsonContentHeaders$n,
|
|
6930
6930
|
method: 'PUT',
|
|
6931
6931
|
path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/acls`
|
|
6932
6932
|
}, unmarshalSetInstanceACLRulesResponse$1);
|
|
@@ -6940,7 +6940,7 @@ let API$n = class API extends API$v {
|
|
|
6940
6940
|
*/
|
|
6941
6941
|
deleteInstanceACLRules = request => this.client.fetch({
|
|
6942
6942
|
body: JSON.stringify(marshalDeleteInstanceACLRulesRequest$1(request, this.client.settings)),
|
|
6943
|
-
headers: jsonContentHeaders$
|
|
6943
|
+
headers: jsonContentHeaders$n,
|
|
6944
6944
|
method: 'DELETE',
|
|
6945
6945
|
path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/acls`
|
|
6946
6946
|
}, unmarshalDeleteInstanceACLRulesResponse$1);
|
|
@@ -6971,7 +6971,7 @@ let API$n = class API extends API$v {
|
|
|
6971
6971
|
*/
|
|
6972
6972
|
createUser = request => this.client.fetch({
|
|
6973
6973
|
body: JSON.stringify(marshalCreateUserRequest$2(request, this.client.settings)),
|
|
6974
|
-
headers: jsonContentHeaders$
|
|
6974
|
+
headers: jsonContentHeaders$n,
|
|
6975
6975
|
method: 'POST',
|
|
6976
6976
|
path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/users`
|
|
6977
6977
|
}, unmarshalUser$2);
|
|
@@ -6986,7 +6986,7 @@ let API$n = class API extends API$v {
|
|
|
6986
6986
|
*/
|
|
6987
6987
|
updateUser = request => this.client.fetch({
|
|
6988
6988
|
body: JSON.stringify(marshalUpdateUserRequest$1(request, this.client.settings)),
|
|
6989
|
-
headers: jsonContentHeaders$
|
|
6989
|
+
headers: jsonContentHeaders$n,
|
|
6990
6990
|
method: 'PATCH',
|
|
6991
6991
|
path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/users/${validatePathParam('name', request.name)}`
|
|
6992
6992
|
}, unmarshalUser$2);
|
|
@@ -7029,7 +7029,7 @@ let API$n = class API extends API$v {
|
|
|
7029
7029
|
*/
|
|
7030
7030
|
createDatabase = request => this.client.fetch({
|
|
7031
7031
|
body: JSON.stringify(marshalCreateDatabaseRequest$1(request, this.client.settings)),
|
|
7032
|
-
headers: jsonContentHeaders$
|
|
7032
|
+
headers: jsonContentHeaders$n,
|
|
7033
7033
|
method: 'POST',
|
|
7034
7034
|
path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/databases`
|
|
7035
7035
|
}, unmarshalDatabase$1);
|
|
@@ -7073,7 +7073,7 @@ let API$n = class API extends API$v {
|
|
|
7073
7073
|
*/
|
|
7074
7074
|
setPrivilege = request => this.client.fetch({
|
|
7075
7075
|
body: JSON.stringify(marshalSetPrivilegeRequest$1(request, this.client.settings)),
|
|
7076
|
-
headers: jsonContentHeaders$
|
|
7076
|
+
headers: jsonContentHeaders$n,
|
|
7077
7077
|
method: 'PUT',
|
|
7078
7078
|
path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/privileges`
|
|
7079
7079
|
}, unmarshalPrivilege$1);
|
|
@@ -7126,7 +7126,7 @@ let API$n = class API extends API$v {
|
|
|
7126
7126
|
*/
|
|
7127
7127
|
createSnapshot = request => this.client.fetch({
|
|
7128
7128
|
body: JSON.stringify(marshalCreateSnapshotRequest$2(request, this.client.settings)),
|
|
7129
|
-
headers: jsonContentHeaders$
|
|
7129
|
+
headers: jsonContentHeaders$n,
|
|
7130
7130
|
method: 'POST',
|
|
7131
7131
|
path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/snapshots`
|
|
7132
7132
|
}, unmarshalSnapshot$2);
|
|
@@ -7141,7 +7141,7 @@ let API$n = class API extends API$v {
|
|
|
7141
7141
|
*/
|
|
7142
7142
|
updateSnapshot = request => this.client.fetch({
|
|
7143
7143
|
body: JSON.stringify(marshalUpdateSnapshotRequest$1(request, this.client.settings)),
|
|
7144
|
-
headers: jsonContentHeaders$
|
|
7144
|
+
headers: jsonContentHeaders$n,
|
|
7145
7145
|
method: 'PATCH',
|
|
7146
7146
|
path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/snapshots/${validatePathParam('snapshotId', request.snapshotId)}`
|
|
7147
7147
|
}, unmarshalSnapshot$2);
|
|
@@ -7174,7 +7174,7 @@ let API$n = class API extends API$v {
|
|
|
7174
7174
|
*/
|
|
7175
7175
|
createInstanceFromSnapshot = request => this.client.fetch({
|
|
7176
7176
|
body: JSON.stringify(marshalCreateInstanceFromSnapshotRequest$1(request, this.client.settings)),
|
|
7177
|
-
headers: jsonContentHeaders$
|
|
7177
|
+
headers: jsonContentHeaders$n,
|
|
7178
7178
|
method: 'POST',
|
|
7179
7179
|
path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/snapshots/${validatePathParam('snapshotId', request.snapshotId)}/create-instance`
|
|
7180
7180
|
}, unmarshalInstance$2);
|
|
@@ -7189,7 +7189,7 @@ let API$n = class API extends API$v {
|
|
|
7189
7189
|
*/
|
|
7190
7190
|
createEndpoint = request => this.client.fetch({
|
|
7191
7191
|
body: JSON.stringify(marshalCreateEndpointRequest$1(request, this.client.settings)),
|
|
7192
|
-
headers: jsonContentHeaders$
|
|
7192
|
+
headers: jsonContentHeaders$n,
|
|
7193
7193
|
method: 'POST',
|
|
7194
7194
|
path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/endpoints`
|
|
7195
7195
|
}, unmarshalEndpoint$2);
|
|
@@ -7230,7 +7230,7 @@ let API$n = class API extends API$v {
|
|
|
7230
7230
|
*/
|
|
7231
7231
|
migrateEndpoint = request => this.client.fetch({
|
|
7232
7232
|
body: JSON.stringify(marshalMigrateEndpointRequest$1(request, this.client.settings)),
|
|
7233
|
-
headers: jsonContentHeaders$
|
|
7233
|
+
headers: jsonContentHeaders$n,
|
|
7234
7234
|
method: 'POST',
|
|
7235
7235
|
path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/endpoints/${validatePathParam('endpointId', request.endpointId)}/migrate`
|
|
7236
7236
|
}, unmarshalEndpoint$2);
|
|
@@ -7245,7 +7245,7 @@ const UpdateInstanceRequest$1 = {
|
|
|
7245
7245
|
}
|
|
7246
7246
|
};
|
|
7247
7247
|
|
|
7248
|
-
var validationRules_gen$
|
|
7248
|
+
var validationRules_gen$9 = /*#__PURE__*/Object.freeze({
|
|
7249
7249
|
__proto__: null,
|
|
7250
7250
|
UpdateInstanceRequest: UpdateInstanceRequest$1
|
|
7251
7251
|
});
|
|
@@ -7253,20 +7253,20 @@ var validationRules_gen$8 = /*#__PURE__*/Object.freeze({
|
|
|
7253
7253
|
// This file was automatically generated. DO NOT EDIT.
|
|
7254
7254
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
7255
7255
|
|
|
7256
|
-
var index_gen$
|
|
7256
|
+
var index_gen$n = /*#__PURE__*/Object.freeze({
|
|
7257
7257
|
__proto__: null,
|
|
7258
|
-
API: API$
|
|
7258
|
+
API: API$o,
|
|
7259
7259
|
INSTANCE_LOG_TRANSIENT_STATUSES: INSTANCE_LOG_TRANSIENT_STATUSES$1,
|
|
7260
7260
|
INSTANCE_TRANSIENT_STATUSES: INSTANCE_TRANSIENT_STATUSES$2,
|
|
7261
7261
|
MAINTENANCE_TRANSIENT_STATUSES: MAINTENANCE_TRANSIENT_STATUSES$1,
|
|
7262
7262
|
READ_REPLICA_TRANSIENT_STATUSES: READ_REPLICA_TRANSIENT_STATUSES$1,
|
|
7263
7263
|
SNAPSHOT_TRANSIENT_STATUSES: SNAPSHOT_TRANSIENT_STATUSES$2,
|
|
7264
|
-
ValidationRules: validationRules_gen$
|
|
7264
|
+
ValidationRules: validationRules_gen$9
|
|
7265
7265
|
});
|
|
7266
7266
|
|
|
7267
|
-
var index$
|
|
7267
|
+
var index$p = /*#__PURE__*/Object.freeze({
|
|
7268
7268
|
__proto__: null,
|
|
7269
|
-
v1beta1: index_gen$
|
|
7269
|
+
v1beta1: index_gen$n
|
|
7270
7270
|
});
|
|
7271
7271
|
|
|
7272
7272
|
// 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$o = /*#__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$8 = /*#__PURE__*/Object.freeze({
|
|
9545
9545
|
__proto__: null,
|
|
9546
9546
|
ListFlexibleIPsRequest: ListFlexibleIPsRequest
|
|
9547
9547
|
});
|
|
@@ -9549,17 +9549,17 @@ var validationRules_gen$7 = /*#__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$8
|
|
9558
9558
|
});
|
|
9559
9559
|
|
|
9560
|
-
var index$
|
|
9560
|
+
var index$n = /*#__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$2(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$2);
|
|
@@ -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$2(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$2);
|
|
@@ -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);
|
|
@@ -10351,7 +10351,7 @@ let API$k = class API extends API$v {
|
|
|
10351
10351
|
*/
|
|
10352
10352
|
createToken = (request = {}) => this.client.fetch({
|
|
10353
10353
|
body: JSON.stringify(marshalCreateTokenRequest(request, this.client.settings)),
|
|
10354
|
-
headers: jsonContentHeaders$
|
|
10354
|
+
headers: jsonContentHeaders$k,
|
|
10355
10355
|
method: 'POST',
|
|
10356
10356
|
path: `/functions/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/tokens`
|
|
10357
10357
|
}, unmarshalToken);
|
|
@@ -10408,7 +10408,7 @@ let API$k = class API extends API$v {
|
|
|
10408
10408
|
*/
|
|
10409
10409
|
createTrigger = request => this.client.fetch({
|
|
10410
10410
|
body: JSON.stringify(marshalCreateTriggerRequest(request, this.client.settings)),
|
|
10411
|
-
headers: jsonContentHeaders$
|
|
10411
|
+
headers: jsonContentHeaders$k,
|
|
10412
10412
|
method: 'POST',
|
|
10413
10413
|
path: `/functions/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/triggers`
|
|
10414
10414
|
}, unmarshalTrigger);
|
|
@@ -10465,7 +10465,7 @@ let API$k = class API extends API$v {
|
|
|
10465
10465
|
*/
|
|
10466
10466
|
updateTrigger = request => this.client.fetch({
|
|
10467
10467
|
body: JSON.stringify(marshalUpdateTriggerRequest(request, this.client.settings)),
|
|
10468
|
-
headers: jsonContentHeaders$
|
|
10468
|
+
headers: jsonContentHeaders$k,
|
|
10469
10469
|
method: 'PATCH',
|
|
10470
10470
|
path: `/functions/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/triggers/${validatePathParam('triggerId', request.triggerId)}`
|
|
10471
10471
|
}, unmarshalTrigger);
|
|
@@ -10525,7 +10525,7 @@ const UpdateTriggerRequest = {
|
|
|
10525
10525
|
}
|
|
10526
10526
|
};
|
|
10527
10527
|
|
|
10528
|
-
var validationRules_gen$
|
|
10528
|
+
var validationRules_gen$7 = /*#__PURE__*/Object.freeze({
|
|
10529
10529
|
__proto__: null,
|
|
10530
10530
|
CreateTriggerRequest: CreateTriggerRequest,
|
|
10531
10531
|
CreateTriggerRequestMnqNatsClientConfig: CreateTriggerRequestMnqNatsClientConfig,
|
|
@@ -10536,21 +10536,21 @@ var validationRules_gen$6 = /*#__PURE__*/Object.freeze({
|
|
|
10536
10536
|
// This file was automatically generated. DO NOT EDIT.
|
|
10537
10537
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
10538
10538
|
|
|
10539
|
-
var index_gen$
|
|
10539
|
+
var index_gen$k = /*#__PURE__*/Object.freeze({
|
|
10540
10540
|
__proto__: null,
|
|
10541
|
-
API: API$
|
|
10541
|
+
API: API$l,
|
|
10542
10542
|
CRON_TRANSIENT_STATUSES: CRON_TRANSIENT_STATUSES,
|
|
10543
10543
|
DOMAIN_TRANSIENT_STATUSES: DOMAIN_TRANSIENT_STATUSES$1,
|
|
10544
10544
|
FUNCTION_TRANSIENT_STATUSES: FUNCTION_TRANSIENT_STATUSES,
|
|
10545
10545
|
NAMESPACE_TRANSIENT_STATUSES: NAMESPACE_TRANSIENT_STATUSES$1,
|
|
10546
10546
|
TOKEN_TRANSIENT_STATUSES: TOKEN_TRANSIENT_STATUSES,
|
|
10547
10547
|
TRIGGER_TRANSIENT_STATUSES: TRIGGER_TRANSIENT_STATUSES,
|
|
10548
|
-
ValidationRules: validationRules_gen$
|
|
10548
|
+
ValidationRules: validationRules_gen$7
|
|
10549
10549
|
});
|
|
10550
10550
|
|
|
10551
|
-
var index$
|
|
10551
|
+
var index$m = /*#__PURE__*/Object.freeze({
|
|
10552
10552
|
__proto__: null,
|
|
10553
|
-
v1beta1: index_gen$
|
|
10553
|
+
v1beta1: index_gen$k
|
|
10554
10554
|
});
|
|
10555
10555
|
|
|
10556
10556
|
// This file was automatically generated. DO NOT EDIT.
|
|
@@ -10873,7 +10873,6 @@ const marshalRuleSpecs = (request, defaults) => ({
|
|
|
10873
10873
|
param: 'project_ids',
|
|
10874
10874
|
value: request.projectIds
|
|
10875
10875
|
}, {
|
|
10876
|
-
default: defaults.defaultOrganizationId,
|
|
10877
10876
|
param: 'organization_id',
|
|
10878
10877
|
value: request.organizationId
|
|
10879
10878
|
}])
|
|
@@ -10882,7 +10881,7 @@ const marshalCreatePolicyRequest = (request, defaults) => ({
|
|
|
10882
10881
|
description: request.description,
|
|
10883
10882
|
name: request.name || randomName('pol'),
|
|
10884
10883
|
organization_id: request.organizationId ?? defaults.defaultOrganizationId,
|
|
10885
|
-
rules: request.rules !== undefined ? request.rules.map(elt => marshalRuleSpecs(elt
|
|
10884
|
+
rules: request.rules !== undefined ? request.rules.map(elt => marshalRuleSpecs(elt)) : undefined,
|
|
10886
10885
|
...resolveOneOf([{
|
|
10887
10886
|
param: 'user_id',
|
|
10888
10887
|
value: request.userId
|
|
@@ -10921,7 +10920,7 @@ const marshalSetGroupMembersRequest = (request, defaults) => ({
|
|
|
10921
10920
|
});
|
|
10922
10921
|
const marshalSetRulesRequest = (request, defaults) => ({
|
|
10923
10922
|
policy_id: request.policyId,
|
|
10924
|
-
rules: request.rules.map(elt => marshalRuleSpecs(elt
|
|
10923
|
+
rules: request.rules.map(elt => marshalRuleSpecs(elt))
|
|
10925
10924
|
});
|
|
10926
10925
|
const marshalUpdateAPIKeyRequest = (request, defaults) => ({
|
|
10927
10926
|
default_project_id: request.defaultProjectId,
|
|
@@ -10959,12 +10958,12 @@ const marshalUpdateSSHKeyRequest = (request, defaults) => ({
|
|
|
10959
10958
|
|
|
10960
10959
|
// This file was automatically generated. DO NOT EDIT.
|
|
10961
10960
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
10962
|
-
const jsonContentHeaders$
|
|
10961
|
+
const jsonContentHeaders$j = {
|
|
10963
10962
|
'Content-Type': 'application/json; charset=utf-8'
|
|
10964
10963
|
};
|
|
10965
10964
|
|
|
10966
10965
|
/** IAM API. */
|
|
10967
|
-
let API$
|
|
10966
|
+
let API$k = class API extends API$w {
|
|
10968
10967
|
pageOfListSSHKeys = (request = {}) => this.client.fetch({
|
|
10969
10968
|
method: 'GET',
|
|
10970
10969
|
path: `/iam/v1alpha1/ssh-keys`,
|
|
@@ -10991,7 +10990,7 @@ let API$j = class API extends API$v {
|
|
|
10991
10990
|
*/
|
|
10992
10991
|
createSSHKey = request => this.client.fetch({
|
|
10993
10992
|
body: JSON.stringify(marshalCreateSSHKeyRequest(request, this.client.settings)),
|
|
10994
|
-
headers: jsonContentHeaders$
|
|
10993
|
+
headers: jsonContentHeaders$j,
|
|
10995
10994
|
method: 'POST',
|
|
10996
10995
|
path: `/iam/v1alpha1/ssh-keys`
|
|
10997
10996
|
}, unmarshalSSHKey);
|
|
@@ -11018,7 +11017,7 @@ let API$j = class API extends API$v {
|
|
|
11018
11017
|
*/
|
|
11019
11018
|
updateSSHKey = request => this.client.fetch({
|
|
11020
11019
|
body: JSON.stringify(marshalUpdateSSHKeyRequest(request, this.client.settings)),
|
|
11021
|
-
headers: jsonContentHeaders$
|
|
11020
|
+
headers: jsonContentHeaders$j,
|
|
11022
11021
|
method: 'PATCH',
|
|
11023
11022
|
path: `/iam/v1alpha1/ssh-keys/${validatePathParam('sshKeyId', request.sshKeyId)}`
|
|
11024
11023
|
}, unmarshalSSHKey);
|
|
@@ -11088,7 +11087,7 @@ let API$j = class API extends API$v {
|
|
|
11088
11087
|
*/
|
|
11089
11088
|
createUser = request => this.client.fetch({
|
|
11090
11089
|
body: JSON.stringify(marshalCreateUserRequest$1(request, this.client.settings)),
|
|
11091
|
-
headers: jsonContentHeaders$
|
|
11090
|
+
headers: jsonContentHeaders$j,
|
|
11092
11091
|
method: 'POST',
|
|
11093
11092
|
path: `/iam/v1alpha1/users`
|
|
11094
11093
|
}, unmarshalUser$1);
|
|
@@ -11120,7 +11119,7 @@ let API$j = class API extends API$v {
|
|
|
11120
11119
|
*/
|
|
11121
11120
|
createApplication = request => this.client.fetch({
|
|
11122
11121
|
body: JSON.stringify(marshalCreateApplicationRequest(request, this.client.settings)),
|
|
11123
|
-
headers: jsonContentHeaders$
|
|
11122
|
+
headers: jsonContentHeaders$j,
|
|
11124
11123
|
method: 'POST',
|
|
11125
11124
|
path: `/iam/v1alpha1/applications`
|
|
11126
11125
|
}, unmarshalApplication);
|
|
@@ -11148,7 +11147,7 @@ let API$j = class API extends API$v {
|
|
|
11148
11147
|
*/
|
|
11149
11148
|
updateApplication = request => this.client.fetch({
|
|
11150
11149
|
body: JSON.stringify(marshalUpdateApplicationRequest(request, this.client.settings)),
|
|
11151
|
-
headers: jsonContentHeaders$
|
|
11150
|
+
headers: jsonContentHeaders$j,
|
|
11152
11151
|
method: 'PATCH',
|
|
11153
11152
|
path: `/iam/v1alpha1/applications/${validatePathParam('applicationId', request.applicationId)}`
|
|
11154
11153
|
}, unmarshalApplication);
|
|
@@ -11192,7 +11191,7 @@ let API$j = class API extends API$v {
|
|
|
11192
11191
|
*/
|
|
11193
11192
|
createGroup = request => this.client.fetch({
|
|
11194
11193
|
body: JSON.stringify(marshalCreateGroupRequest(request, this.client.settings)),
|
|
11195
|
-
headers: jsonContentHeaders$
|
|
11194
|
+
headers: jsonContentHeaders$j,
|
|
11196
11195
|
method: 'POST',
|
|
11197
11196
|
path: `/iam/v1alpha1/groups`
|
|
11198
11197
|
}, unmarshalGroup);
|
|
@@ -11219,7 +11218,7 @@ let API$j = class API extends API$v {
|
|
|
11219
11218
|
*/
|
|
11220
11219
|
updateGroup = request => this.client.fetch({
|
|
11221
11220
|
body: JSON.stringify(marshalUpdateGroupRequest(request, this.client.settings)),
|
|
11222
|
-
headers: jsonContentHeaders$
|
|
11221
|
+
headers: jsonContentHeaders$j,
|
|
11223
11222
|
method: 'PATCH',
|
|
11224
11223
|
path: `/iam/v1alpha1/groups/${validatePathParam('groupId', request.groupId)}`
|
|
11225
11224
|
}, unmarshalGroup);
|
|
@@ -11234,7 +11233,7 @@ let API$j = class API extends API$v {
|
|
|
11234
11233
|
*/
|
|
11235
11234
|
setGroupMembers = request => this.client.fetch({
|
|
11236
11235
|
body: JSON.stringify(marshalSetGroupMembersRequest(request, this.client.settings)),
|
|
11237
|
-
headers: jsonContentHeaders$
|
|
11236
|
+
headers: jsonContentHeaders$j,
|
|
11238
11237
|
method: 'PUT',
|
|
11239
11238
|
path: `/iam/v1alpha1/groups/${validatePathParam('groupId', request.groupId)}/members`
|
|
11240
11239
|
}, unmarshalGroup);
|
|
@@ -11249,7 +11248,7 @@ let API$j = class API extends API$v {
|
|
|
11249
11248
|
*/
|
|
11250
11249
|
addGroupMember = request => this.client.fetch({
|
|
11251
11250
|
body: JSON.stringify(marshalAddGroupMemberRequest(request, this.client.settings)),
|
|
11252
|
-
headers: jsonContentHeaders$
|
|
11251
|
+
headers: jsonContentHeaders$j,
|
|
11253
11252
|
method: 'POST',
|
|
11254
11253
|
path: `/iam/v1alpha1/groups/${validatePathParam('groupId', request.groupId)}/add-member`
|
|
11255
11254
|
}, unmarshalGroup);
|
|
@@ -11267,7 +11266,7 @@ let API$j = class API extends API$v {
|
|
|
11267
11266
|
*/
|
|
11268
11267
|
addGroupMembers = request => this.client.fetch({
|
|
11269
11268
|
body: JSON.stringify(marshalAddGroupMembersRequest(request, this.client.settings)),
|
|
11270
|
-
headers: jsonContentHeaders$
|
|
11269
|
+
headers: jsonContentHeaders$j,
|
|
11271
11270
|
method: 'POST',
|
|
11272
11271
|
path: `/iam/v1alpha1/groups/${validatePathParam('groupId', request.groupId)}/add-members`
|
|
11273
11272
|
}, unmarshalGroup);
|
|
@@ -11286,7 +11285,7 @@ let API$j = class API extends API$v {
|
|
|
11286
11285
|
*/
|
|
11287
11286
|
removeGroupMember = request => this.client.fetch({
|
|
11288
11287
|
body: JSON.stringify(marshalRemoveGroupMemberRequest(request, this.client.settings)),
|
|
11289
|
-
headers: jsonContentHeaders$
|
|
11288
|
+
headers: jsonContentHeaders$j,
|
|
11290
11289
|
method: 'POST',
|
|
11291
11290
|
path: `/iam/v1alpha1/groups/${validatePathParam('groupId', request.groupId)}/remove-member`
|
|
11292
11291
|
}, unmarshalGroup);
|
|
@@ -11332,7 +11331,7 @@ let API$j = class API extends API$v {
|
|
|
11332
11331
|
*/
|
|
11333
11332
|
createPolicy = request => this.client.fetch({
|
|
11334
11333
|
body: JSON.stringify(marshalCreatePolicyRequest(request, this.client.settings)),
|
|
11335
|
-
headers: jsonContentHeaders$
|
|
11334
|
+
headers: jsonContentHeaders$j,
|
|
11336
11335
|
method: 'POST',
|
|
11337
11336
|
path: `/iam/v1alpha1/policies`
|
|
11338
11337
|
}, unmarshalPolicy);
|
|
@@ -11361,7 +11360,7 @@ let API$j = class API extends API$v {
|
|
|
11361
11360
|
*/
|
|
11362
11361
|
updatePolicy = request => this.client.fetch({
|
|
11363
11362
|
body: JSON.stringify(marshalUpdatePolicyRequest(request, this.client.settings)),
|
|
11364
|
-
headers: jsonContentHeaders$
|
|
11363
|
+
headers: jsonContentHeaders$j,
|
|
11365
11364
|
method: 'PATCH',
|
|
11366
11365
|
path: `/iam/v1alpha1/policies/${validatePathParam('policyId', request.policyId)}`
|
|
11367
11366
|
}, unmarshalPolicy);
|
|
@@ -11388,7 +11387,7 @@ let API$j = class API extends API$v {
|
|
|
11388
11387
|
*/
|
|
11389
11388
|
clonePolicy = request => this.client.fetch({
|
|
11390
11389
|
body: '{}',
|
|
11391
|
-
headers: jsonContentHeaders$
|
|
11390
|
+
headers: jsonContentHeaders$j,
|
|
11392
11391
|
method: 'POST',
|
|
11393
11392
|
path: `/iam/v1alpha1/policies/${validatePathParam('policyId', request.policyId)}/clone`
|
|
11394
11393
|
}, unmarshalPolicy);
|
|
@@ -11406,7 +11405,7 @@ let API$j = class API extends API$v {
|
|
|
11406
11405
|
*/
|
|
11407
11406
|
setRules = request => this.client.fetch({
|
|
11408
11407
|
body: JSON.stringify(marshalSetRulesRequest(request, this.client.settings)),
|
|
11409
|
-
headers: jsonContentHeaders$
|
|
11408
|
+
headers: jsonContentHeaders$j,
|
|
11410
11409
|
method: 'PUT',
|
|
11411
11410
|
path: `/iam/v1alpha1/rules`
|
|
11412
11411
|
}, unmarshalSetRulesResponse);
|
|
@@ -11477,7 +11476,7 @@ let API$j = class API extends API$v {
|
|
|
11477
11476
|
*/
|
|
11478
11477
|
createAPIKey = request => this.client.fetch({
|
|
11479
11478
|
body: JSON.stringify(marshalCreateAPIKeyRequest(request, this.client.settings)),
|
|
11480
|
-
headers: jsonContentHeaders$
|
|
11479
|
+
headers: jsonContentHeaders$j,
|
|
11481
11480
|
method: 'POST',
|
|
11482
11481
|
path: `/iam/v1alpha1/api-keys`
|
|
11483
11482
|
}, unmarshalAPIKey);
|
|
@@ -11507,7 +11506,7 @@ let API$j = class API extends API$v {
|
|
|
11507
11506
|
*/
|
|
11508
11507
|
updateAPIKey = request => this.client.fetch({
|
|
11509
11508
|
body: JSON.stringify(marshalUpdateAPIKeyRequest(request, this.client.settings)),
|
|
11510
|
-
headers: jsonContentHeaders$
|
|
11509
|
+
headers: jsonContentHeaders$j,
|
|
11511
11510
|
method: 'PATCH',
|
|
11512
11511
|
path: `/iam/v1alpha1/api-keys/${validatePathParam('accessKey', request.accessKey)}`
|
|
11513
11512
|
}, unmarshalAPIKey);
|
|
@@ -11815,7 +11814,7 @@ const UpdateSSHKeyRequest = {
|
|
|
11815
11814
|
}
|
|
11816
11815
|
};
|
|
11817
11816
|
|
|
11818
|
-
var validationRules_gen$
|
|
11817
|
+
var validationRules_gen$6 = /*#__PURE__*/Object.freeze({
|
|
11819
11818
|
__proto__: null,
|
|
11820
11819
|
CreateAPIKeyRequest: CreateAPIKeyRequest,
|
|
11821
11820
|
CreateApplicationRequest: CreateApplicationRequest,
|
|
@@ -11844,15 +11843,15 @@ var validationRules_gen$5 = /*#__PURE__*/Object.freeze({
|
|
|
11844
11843
|
// This file was automatically generated. DO NOT EDIT.
|
|
11845
11844
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
11846
11845
|
|
|
11847
|
-
var index_gen$
|
|
11846
|
+
var index_gen$j = /*#__PURE__*/Object.freeze({
|
|
11848
11847
|
__proto__: null,
|
|
11849
|
-
API: API$
|
|
11850
|
-
ValidationRules: validationRules_gen$
|
|
11848
|
+
API: API$k,
|
|
11849
|
+
ValidationRules: validationRules_gen$6
|
|
11851
11850
|
});
|
|
11852
11851
|
|
|
11853
|
-
var index$
|
|
11852
|
+
var index$l = /*#__PURE__*/Object.freeze({
|
|
11854
11853
|
__proto__: null,
|
|
11855
|
-
v1alpha1: index_gen$
|
|
11854
|
+
v1alpha1: index_gen$j
|
|
11856
11855
|
});
|
|
11857
11856
|
|
|
11858
11857
|
// This file was automatically generated. DO NOT EDIT.
|
|
@@ -12766,13 +12765,11 @@ const marshalVolumeTemplate = (request, defaults) => ({
|
|
|
12766
12765
|
size: request.size,
|
|
12767
12766
|
volume_type: request.volumeType,
|
|
12768
12767
|
...resolveOneOf([{
|
|
12769
|
-
default: defaults.defaultOrganizationId,
|
|
12770
|
-
param: 'organization',
|
|
12771
|
-
value: request.organization
|
|
12772
|
-
}, {
|
|
12773
|
-
default: defaults.defaultProjectId,
|
|
12774
12768
|
param: 'project',
|
|
12775
12769
|
value: request.project
|
|
12770
|
+
}, {
|
|
12771
|
+
param: 'organization',
|
|
12772
|
+
value: request.organization
|
|
12776
12773
|
}])
|
|
12777
12774
|
});
|
|
12778
12775
|
const marshalCreateImageRequest = (request, defaults) => ({
|
|
@@ -12780,20 +12777,20 @@ const marshalCreateImageRequest = (request, defaults) => ({
|
|
|
12780
12777
|
default_bootscript: request.defaultBootscript,
|
|
12781
12778
|
extra_volumes: request.extraVolumes !== undefined ? Object.entries(request.extraVolumes).reduce((acc, [key, value]) => ({
|
|
12782
12779
|
...acc,
|
|
12783
|
-
[key]: marshalVolumeTemplate(value
|
|
12780
|
+
[key]: marshalVolumeTemplate(value)
|
|
12784
12781
|
}), {}) : undefined,
|
|
12785
12782
|
name: request.name || randomName('img'),
|
|
12786
12783
|
public: request.public,
|
|
12787
12784
|
root_volume: request.rootVolume,
|
|
12788
12785
|
tags: request.tags,
|
|
12789
12786
|
...resolveOneOf([{
|
|
12790
|
-
default: defaults.defaultOrganizationId,
|
|
12791
|
-
param: 'organization',
|
|
12792
|
-
value: request.organization
|
|
12793
|
-
}, {
|
|
12794
12787
|
default: defaults.defaultProjectId,
|
|
12795
12788
|
param: 'project',
|
|
12796
12789
|
value: request.project
|
|
12790
|
+
}, {
|
|
12791
|
+
default: defaults.defaultOrganizationId,
|
|
12792
|
+
param: 'organization',
|
|
12793
|
+
value: request.organization
|
|
12797
12794
|
}])
|
|
12798
12795
|
});
|
|
12799
12796
|
const marshalCreateIpRequest$1 = (request, defaults) => ({
|
|
@@ -12801,13 +12798,13 @@ const marshalCreateIpRequest$1 = (request, defaults) => ({
|
|
|
12801
12798
|
tags: request.tags,
|
|
12802
12799
|
type: request.type,
|
|
12803
12800
|
...resolveOneOf([{
|
|
12804
|
-
default: defaults.defaultOrganizationId,
|
|
12805
|
-
param: 'organization',
|
|
12806
|
-
value: request.organization
|
|
12807
|
-
}, {
|
|
12808
12801
|
default: defaults.defaultProjectId,
|
|
12809
12802
|
param: 'project',
|
|
12810
12803
|
value: request.project
|
|
12804
|
+
}, {
|
|
12805
|
+
default: defaults.defaultOrganizationId,
|
|
12806
|
+
param: 'organization',
|
|
12807
|
+
value: request.organization
|
|
12811
12808
|
}])
|
|
12812
12809
|
});
|
|
12813
12810
|
const marshalCreatePlacementGroupRequest = (request, defaults) => ({
|
|
@@ -12816,13 +12813,13 @@ const marshalCreatePlacementGroupRequest = (request, defaults) => ({
|
|
|
12816
12813
|
policy_type: request.policyType,
|
|
12817
12814
|
tags: request.tags,
|
|
12818
12815
|
...resolveOneOf([{
|
|
12819
|
-
default: defaults.defaultOrganizationId,
|
|
12820
|
-
param: 'organization',
|
|
12821
|
-
value: request.organization
|
|
12822
|
-
}, {
|
|
12823
12816
|
default: defaults.defaultProjectId,
|
|
12824
12817
|
param: 'project',
|
|
12825
12818
|
value: request.project
|
|
12819
|
+
}, {
|
|
12820
|
+
default: defaults.defaultOrganizationId,
|
|
12821
|
+
param: 'organization',
|
|
12822
|
+
value: request.organization
|
|
12826
12823
|
}])
|
|
12827
12824
|
});
|
|
12828
12825
|
const marshalCreatePrivateNICRequest = (request, defaults) => ({
|
|
@@ -12839,13 +12836,13 @@ const marshalCreateSecurityGroupRequest = (request, defaults) => ({
|
|
|
12839
12836
|
stateful: request.stateful,
|
|
12840
12837
|
tags: request.tags,
|
|
12841
12838
|
...resolveOneOf([{
|
|
12842
|
-
default: defaults.defaultOrganizationId,
|
|
12843
|
-
param: 'organization',
|
|
12844
|
-
value: request.organization
|
|
12845
|
-
}, {
|
|
12846
12839
|
default: defaults.defaultProjectId,
|
|
12847
12840
|
param: 'project',
|
|
12848
12841
|
value: request.project
|
|
12842
|
+
}, {
|
|
12843
|
+
default: defaults.defaultOrganizationId,
|
|
12844
|
+
param: 'organization',
|
|
12845
|
+
value: request.organization
|
|
12849
12846
|
}]),
|
|
12850
12847
|
...resolveOneOf([{
|
|
12851
12848
|
param: 'organization_default',
|
|
@@ -12870,8 +12867,8 @@ const marshalVolumeServerTemplate = (request, defaults) => ({
|
|
|
12870
12867
|
boot: request.boot,
|
|
12871
12868
|
id: request.id,
|
|
12872
12869
|
name: request.name,
|
|
12873
|
-
organization: request.organization
|
|
12874
|
-
project: request.project
|
|
12870
|
+
organization: request.organization,
|
|
12871
|
+
project: request.project,
|
|
12875
12872
|
size: request.size,
|
|
12876
12873
|
volume_type: request.volumeType
|
|
12877
12874
|
});
|
|
@@ -12891,16 +12888,16 @@ const marshalCreateServerRequest = (request, defaults) => ({
|
|
|
12891
12888
|
tags: request.tags,
|
|
12892
12889
|
volumes: request.volumes !== undefined ? Object.entries(request.volumes).reduce((acc, [key, value]) => ({
|
|
12893
12890
|
...acc,
|
|
12894
|
-
[key]: marshalVolumeServerTemplate(value
|
|
12891
|
+
[key]: marshalVolumeServerTemplate(value)
|
|
12895
12892
|
}), {}) : undefined,
|
|
12896
12893
|
...resolveOneOf([{
|
|
12897
|
-
default: defaults.defaultOrganizationId,
|
|
12898
|
-
param: 'organization',
|
|
12899
|
-
value: request.organization
|
|
12900
|
-
}, {
|
|
12901
12894
|
default: defaults.defaultProjectId,
|
|
12902
12895
|
param: 'project',
|
|
12903
12896
|
value: request.project
|
|
12897
|
+
}, {
|
|
12898
|
+
default: defaults.defaultOrganizationId,
|
|
12899
|
+
param: 'organization',
|
|
12900
|
+
value: request.organization
|
|
12904
12901
|
}])
|
|
12905
12902
|
});
|
|
12906
12903
|
const marshalCreateSnapshotRequest$1 = (request, defaults) => ({
|
|
@@ -12912,13 +12909,13 @@ const marshalCreateSnapshotRequest$1 = (request, defaults) => ({
|
|
|
12912
12909
|
volume_id: request.volumeId,
|
|
12913
12910
|
volume_type: request.volumeType,
|
|
12914
12911
|
...resolveOneOf([{
|
|
12915
|
-
default: defaults.defaultOrganizationId,
|
|
12916
|
-
param: 'organization',
|
|
12917
|
-
value: request.organization
|
|
12918
|
-
}, {
|
|
12919
12912
|
default: defaults.defaultProjectId,
|
|
12920
12913
|
param: 'project',
|
|
12921
12914
|
value: request.project
|
|
12915
|
+
}, {
|
|
12916
|
+
default: defaults.defaultOrganizationId,
|
|
12917
|
+
param: 'organization',
|
|
12918
|
+
value: request.organization
|
|
12922
12919
|
}])
|
|
12923
12920
|
});
|
|
12924
12921
|
const marshalCreateVolumeRequest$1 = (request, defaults) => ({
|
|
@@ -12926,13 +12923,13 @@ const marshalCreateVolumeRequest$1 = (request, defaults) => ({
|
|
|
12926
12923
|
tags: request.tags,
|
|
12927
12924
|
volume_type: request.volumeType,
|
|
12928
12925
|
...resolveOneOf([{
|
|
12929
|
-
default: defaults.defaultOrganizationId,
|
|
12930
|
-
param: 'organization',
|
|
12931
|
-
value: request.organization
|
|
12932
|
-
}, {
|
|
12933
12926
|
default: defaults.defaultProjectId,
|
|
12934
12927
|
param: 'project',
|
|
12935
12928
|
value: request.project
|
|
12929
|
+
}, {
|
|
12930
|
+
default: defaults.defaultOrganizationId,
|
|
12931
|
+
param: 'organization',
|
|
12932
|
+
value: request.organization
|
|
12936
12933
|
}]),
|
|
12937
12934
|
...resolveOneOf([{
|
|
12938
12935
|
param: 'size',
|
|
@@ -13074,10 +13071,10 @@ const marshalSetSecurityGroupRulesRequestRule = (request, defaults) => ({
|
|
|
13074
13071
|
ip_range: request.ipRange,
|
|
13075
13072
|
position: request.position,
|
|
13076
13073
|
protocol: request.protocol,
|
|
13077
|
-
zone: request.zone
|
|
13074
|
+
zone: request.zone
|
|
13078
13075
|
});
|
|
13079
13076
|
const marshalSetSecurityGroupRulesRequest = (request, defaults) => ({
|
|
13080
|
-
rules: request.rules !== undefined ? request.rules.map(elt => marshalSetSecurityGroupRulesRequestRule(elt
|
|
13077
|
+
rules: request.rules !== undefined ? request.rules.map(elt => marshalSetSecurityGroupRulesRequestRule(elt)) : undefined
|
|
13081
13078
|
});
|
|
13082
13079
|
const marshalImage = (request, defaults) => ({
|
|
13083
13080
|
arch: request.arch,
|
|
@@ -13237,7 +13234,7 @@ const marshalUpdateServerRequest = (request, defaults) => ({
|
|
|
13237
13234
|
tags: request.tags,
|
|
13238
13235
|
volumes: request.volumes !== undefined ? Object.entries(request.volumes).reduce((acc, [key, value]) => ({
|
|
13239
13236
|
...acc,
|
|
13240
|
-
[key]: marshalVolumeServerTemplate(value
|
|
13237
|
+
[key]: marshalVolumeServerTemplate(value)
|
|
13241
13238
|
}), {}) : undefined
|
|
13242
13239
|
});
|
|
13243
13240
|
const marshalUpdateVolumeRequest$1 = (request, defaults) => ({
|
|
@@ -13248,12 +13245,12 @@ const marshalUpdateVolumeRequest$1 = (request, defaults) => ({
|
|
|
13248
13245
|
|
|
13249
13246
|
// This file was automatically generated. DO NOT EDIT.
|
|
13250
13247
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
13251
|
-
const jsonContentHeaders$
|
|
13248
|
+
const jsonContentHeaders$i = {
|
|
13252
13249
|
'Content-Type': 'application/json; charset=utf-8'
|
|
13253
13250
|
};
|
|
13254
13251
|
|
|
13255
13252
|
/** Instance API. */
|
|
13256
|
-
let API$
|
|
13253
|
+
let API$j = class API extends API$w {
|
|
13257
13254
|
/** Lists the available zones of the API. */
|
|
13258
13255
|
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'];
|
|
13259
13256
|
|
|
@@ -13309,7 +13306,7 @@ let API$i = class API extends API$v {
|
|
|
13309
13306
|
listServers = (request = {}) => enrichForPagination('servers', this.pageOfListServers, request);
|
|
13310
13307
|
_createServer = request => this.client.fetch({
|
|
13311
13308
|
body: JSON.stringify(marshalCreateServerRequest(request, this.client.settings)),
|
|
13312
|
-
headers: jsonContentHeaders$
|
|
13309
|
+
headers: jsonContentHeaders$i,
|
|
13313
13310
|
method: 'POST',
|
|
13314
13311
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers`
|
|
13315
13312
|
}, unmarshalCreateServerResponse);
|
|
@@ -13336,13 +13333,13 @@ let API$i = class API extends API$v {
|
|
|
13336
13333
|
}, unmarshalGetServerResponse);
|
|
13337
13334
|
_setServer = request => this.client.fetch({
|
|
13338
13335
|
body: JSON.stringify(marshalSetServerRequest(request, this.client.settings)),
|
|
13339
|
-
headers: jsonContentHeaders$
|
|
13336
|
+
headers: jsonContentHeaders$i,
|
|
13340
13337
|
method: 'PUT',
|
|
13341
13338
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('id', request.id)}`
|
|
13342
13339
|
}, unmarshalSetServerResponse);
|
|
13343
13340
|
_updateServer = request => this.client.fetch({
|
|
13344
13341
|
body: JSON.stringify(marshalUpdateServerRequest(request, this.client.settings)),
|
|
13345
|
-
headers: jsonContentHeaders$
|
|
13342
|
+
headers: jsonContentHeaders$i,
|
|
13346
13343
|
method: 'PATCH',
|
|
13347
13344
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}`
|
|
13348
13345
|
}, unmarshalUpdateServerResponse);
|
|
@@ -13380,7 +13377,7 @@ let API$i = class API extends API$v {
|
|
|
13380
13377
|
*/
|
|
13381
13378
|
serverAction = request => this.client.fetch({
|
|
13382
13379
|
body: JSON.stringify(marshalServerActionRequest(request, this.client.settings)),
|
|
13383
|
-
headers: jsonContentHeaders$
|
|
13380
|
+
headers: jsonContentHeaders$i,
|
|
13384
13381
|
method: 'POST',
|
|
13385
13382
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/action`
|
|
13386
13383
|
}, unmarshalServerActionResponse);
|
|
@@ -13439,13 +13436,13 @@ let API$i = class API extends API$v {
|
|
|
13439
13436
|
*/
|
|
13440
13437
|
createImage = request => this.client.fetch({
|
|
13441
13438
|
body: JSON.stringify(marshalCreateImageRequest(request, this.client.settings)),
|
|
13442
|
-
headers: jsonContentHeaders$
|
|
13439
|
+
headers: jsonContentHeaders$i,
|
|
13443
13440
|
method: 'POST',
|
|
13444
13441
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/images`
|
|
13445
13442
|
}, unmarshalCreateImageResponse);
|
|
13446
13443
|
_setImage = request => this.client.fetch({
|
|
13447
13444
|
body: JSON.stringify(marshalSetImageRequest(request, this.client.settings)),
|
|
13448
|
-
headers: jsonContentHeaders$
|
|
13445
|
+
headers: jsonContentHeaders$i,
|
|
13449
13446
|
method: 'PUT',
|
|
13450
13447
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/images/${validatePathParam('id', request.id)}`
|
|
13451
13448
|
}, unmarshalSetImageResponse);
|
|
@@ -13484,7 +13481,7 @@ let API$i = class API extends API$v {
|
|
|
13484
13481
|
*/
|
|
13485
13482
|
createSnapshot = (request = {}) => this.client.fetch({
|
|
13486
13483
|
body: JSON.stringify(marshalCreateSnapshotRequest$1(request, this.client.settings)),
|
|
13487
|
-
headers: jsonContentHeaders$
|
|
13484
|
+
headers: jsonContentHeaders$i,
|
|
13488
13485
|
method: 'POST',
|
|
13489
13486
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/snapshots`
|
|
13490
13487
|
}, unmarshalCreateSnapshotResponse);
|
|
@@ -13501,7 +13498,7 @@ let API$i = class API extends API$v {
|
|
|
13501
13498
|
}, unmarshalGetSnapshotResponse);
|
|
13502
13499
|
_setSnapshot = request => this.client.fetch({
|
|
13503
13500
|
body: JSON.stringify(marshalSetSnapshotRequest(request, this.client.settings)),
|
|
13504
|
-
headers: jsonContentHeaders$
|
|
13501
|
+
headers: jsonContentHeaders$i,
|
|
13505
13502
|
method: 'PUT',
|
|
13506
13503
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/snapshots/${validatePathParam('snapshotId', request.snapshotId)}`
|
|
13507
13504
|
}, unmarshalSetSnapshotResponse);
|
|
@@ -13525,7 +13522,7 @@ let API$i = class API extends API$v {
|
|
|
13525
13522
|
*/
|
|
13526
13523
|
exportSnapshot = request => this.client.fetch({
|
|
13527
13524
|
body: JSON.stringify(marshalExportSnapshotRequest(request, this.client.settings)),
|
|
13528
|
-
headers: jsonContentHeaders$
|
|
13525
|
+
headers: jsonContentHeaders$i,
|
|
13529
13526
|
method: 'POST',
|
|
13530
13527
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/snapshots/${validatePathParam('snapshotId', request.snapshotId)}/export`
|
|
13531
13528
|
}, unmarshalExportSnapshotResponse);
|
|
@@ -13553,7 +13550,7 @@ let API$i = class API extends API$v {
|
|
|
13553
13550
|
*/
|
|
13554
13551
|
createVolume = (request = {}) => this.client.fetch({
|
|
13555
13552
|
body: JSON.stringify(marshalCreateVolumeRequest$1(request, this.client.settings)),
|
|
13556
|
-
headers: jsonContentHeaders$
|
|
13553
|
+
headers: jsonContentHeaders$i,
|
|
13557
13554
|
method: 'POST',
|
|
13558
13555
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/volumes`
|
|
13559
13556
|
}, unmarshalCreateVolumeResponse);
|
|
@@ -13579,7 +13576,7 @@ let API$i = class API extends API$v {
|
|
|
13579
13576
|
*/
|
|
13580
13577
|
updateVolume = request => this.client.fetch({
|
|
13581
13578
|
body: JSON.stringify(marshalUpdateVolumeRequest$1(request, this.client.settings)),
|
|
13582
|
-
headers: jsonContentHeaders$
|
|
13579
|
+
headers: jsonContentHeaders$i,
|
|
13583
13580
|
method: 'PATCH',
|
|
13584
13581
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/volumes/${validatePathParam('volumeId', request.volumeId)}`
|
|
13585
13582
|
}, unmarshalUpdateVolumeResponse);
|
|
@@ -13616,7 +13613,7 @@ let API$i = class API extends API$v {
|
|
|
13616
13613
|
*/
|
|
13617
13614
|
createSecurityGroup = request => this.client.fetch({
|
|
13618
13615
|
body: JSON.stringify(marshalCreateSecurityGroupRequest(request, this.client.settings)),
|
|
13619
|
-
headers: jsonContentHeaders$
|
|
13616
|
+
headers: jsonContentHeaders$i,
|
|
13620
13617
|
method: 'POST',
|
|
13621
13618
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/security_groups`
|
|
13622
13619
|
}, unmarshalCreateSecurityGroupResponse);
|
|
@@ -13644,7 +13641,7 @@ let API$i = class API extends API$v {
|
|
|
13644
13641
|
});
|
|
13645
13642
|
_setSecurityGroup = request => this.client.fetch({
|
|
13646
13643
|
body: JSON.stringify(marshalSetSecurityGroupRequest(request, this.client.settings)),
|
|
13647
|
-
headers: jsonContentHeaders$
|
|
13644
|
+
headers: jsonContentHeaders$i,
|
|
13648
13645
|
method: 'PUT',
|
|
13649
13646
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/security_groups/${validatePathParam('id', request.id)}`
|
|
13650
13647
|
}, unmarshalSetSecurityGroupResponse);
|
|
@@ -13682,7 +13679,7 @@ let API$i = class API extends API$v {
|
|
|
13682
13679
|
*/
|
|
13683
13680
|
createSecurityGroupRule = request => this.client.fetch({
|
|
13684
13681
|
body: JSON.stringify(marshalCreateSecurityGroupRuleRequest(request, this.client.settings)),
|
|
13685
|
-
headers: jsonContentHeaders$
|
|
13682
|
+
headers: jsonContentHeaders$i,
|
|
13686
13683
|
method: 'POST',
|
|
13687
13684
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/security_groups/${validatePathParam('securityGroupId', request.securityGroupId)}/rules`
|
|
13688
13685
|
}, unmarshalCreateSecurityGroupRuleResponse);
|
|
@@ -13698,7 +13695,7 @@ let API$i = class API extends API$v {
|
|
|
13698
13695
|
*/
|
|
13699
13696
|
setSecurityGroupRules = request => this.client.fetch({
|
|
13700
13697
|
body: JSON.stringify(marshalSetSecurityGroupRulesRequest(request, this.client.settings)),
|
|
13701
|
-
headers: jsonContentHeaders$
|
|
13698
|
+
headers: jsonContentHeaders$i,
|
|
13702
13699
|
method: 'PUT',
|
|
13703
13700
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/security_groups/${validatePathParam('securityGroupId', request.securityGroupId)}/rules`
|
|
13704
13701
|
}, unmarshalSetSecurityGroupRulesResponse);
|
|
@@ -13725,7 +13722,7 @@ let API$i = class API extends API$v {
|
|
|
13725
13722
|
}, unmarshalGetSecurityGroupRuleResponse);
|
|
13726
13723
|
_setSecurityGroupRule = request => this.client.fetch({
|
|
13727
13724
|
body: JSON.stringify(marshalSetSecurityGroupRuleRequest(request, this.client.settings)),
|
|
13728
|
-
headers: jsonContentHeaders$
|
|
13725
|
+
headers: jsonContentHeaders$i,
|
|
13729
13726
|
method: 'PUT',
|
|
13730
13727
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/security_groups/${validatePathParam('securityGroupId', request.securityGroupId)}/rules/${validatePathParam('securityGroupRuleId', request.securityGroupRuleId)}`
|
|
13731
13728
|
}, unmarshalSetSecurityGroupRuleResponse);
|
|
@@ -13753,7 +13750,7 @@ let API$i = class API extends API$v {
|
|
|
13753
13750
|
*/
|
|
13754
13751
|
createPlacementGroup = (request = {}) => this.client.fetch({
|
|
13755
13752
|
body: JSON.stringify(marshalCreatePlacementGroupRequest(request, this.client.settings)),
|
|
13756
|
-
headers: jsonContentHeaders$
|
|
13753
|
+
headers: jsonContentHeaders$i,
|
|
13757
13754
|
method: 'POST',
|
|
13758
13755
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/placement_groups`
|
|
13759
13756
|
}, unmarshalCreatePlacementGroupResponse);
|
|
@@ -13777,7 +13774,7 @@ let API$i = class API extends API$v {
|
|
|
13777
13774
|
*/
|
|
13778
13775
|
setPlacementGroup = request => this.client.fetch({
|
|
13779
13776
|
body: JSON.stringify(marshalSetPlacementGroupRequest(request, this.client.settings)),
|
|
13780
|
-
headers: jsonContentHeaders$
|
|
13777
|
+
headers: jsonContentHeaders$i,
|
|
13781
13778
|
method: 'PUT',
|
|
13782
13779
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/placement_groups/${validatePathParam('placementGroupId', request.placementGroupId)}`
|
|
13783
13780
|
}, unmarshalSetPlacementGroupResponse);
|
|
@@ -13791,7 +13788,7 @@ let API$i = class API extends API$v {
|
|
|
13791
13788
|
*/
|
|
13792
13789
|
updatePlacementGroup = request => this.client.fetch({
|
|
13793
13790
|
body: JSON.stringify(marshalUpdatePlacementGroupRequest(request, this.client.settings)),
|
|
13794
|
-
headers: jsonContentHeaders$
|
|
13791
|
+
headers: jsonContentHeaders$i,
|
|
13795
13792
|
method: 'PATCH',
|
|
13796
13793
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/placement_groups/${validatePathParam('placementGroupId', request.placementGroupId)}`
|
|
13797
13794
|
}, unmarshalUpdatePlacementGroupResponse);
|
|
@@ -13827,7 +13824,7 @@ let API$i = class API extends API$v {
|
|
|
13827
13824
|
*/
|
|
13828
13825
|
setPlacementGroupServers = request => this.client.fetch({
|
|
13829
13826
|
body: JSON.stringify(marshalSetPlacementGroupServersRequest(request, this.client.settings)),
|
|
13830
|
-
headers: jsonContentHeaders$
|
|
13827
|
+
headers: jsonContentHeaders$i,
|
|
13831
13828
|
method: 'PUT',
|
|
13832
13829
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/placement_groups/${validatePathParam('placementGroupId', request.placementGroupId)}/servers`
|
|
13833
13830
|
}, unmarshalSetPlacementGroupServersResponse);
|
|
@@ -13841,7 +13838,7 @@ let API$i = class API extends API$v {
|
|
|
13841
13838
|
*/
|
|
13842
13839
|
updatePlacementGroupServers = request => this.client.fetch({
|
|
13843
13840
|
body: JSON.stringify(marshalUpdatePlacementGroupServersRequest(request, this.client.settings)),
|
|
13844
|
-
headers: jsonContentHeaders$
|
|
13841
|
+
headers: jsonContentHeaders$i,
|
|
13845
13842
|
method: 'PATCH',
|
|
13846
13843
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/placement_groups/${validatePathParam('placementGroupId', request.placementGroupId)}/servers`
|
|
13847
13844
|
}, unmarshalUpdatePlacementGroupServersResponse);
|
|
@@ -13868,7 +13865,7 @@ let API$i = class API extends API$v {
|
|
|
13868
13865
|
*/
|
|
13869
13866
|
createIp = (request = {}) => this.client.fetch({
|
|
13870
13867
|
body: JSON.stringify(marshalCreateIpRequest$1(request, this.client.settings)),
|
|
13871
|
-
headers: jsonContentHeaders$
|
|
13868
|
+
headers: jsonContentHeaders$i,
|
|
13872
13869
|
method: 'POST',
|
|
13873
13870
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/ips`
|
|
13874
13871
|
}, unmarshalCreateIpResponse);
|
|
@@ -13893,7 +13890,7 @@ let API$i = class API extends API$v {
|
|
|
13893
13890
|
*/
|
|
13894
13891
|
updateIp = request => this.client.fetch({
|
|
13895
13892
|
body: JSON.stringify(marshalUpdateIpRequest$1(request, this.client.settings)),
|
|
13896
|
-
headers: jsonContentHeaders$
|
|
13893
|
+
headers: jsonContentHeaders$i,
|
|
13897
13894
|
method: 'PATCH',
|
|
13898
13895
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/ips/${validatePathParam('ip', request.ip)}`
|
|
13899
13896
|
}, unmarshalUpdateIpResponse);
|
|
@@ -13929,7 +13926,7 @@ let API$i = class API extends API$v {
|
|
|
13929
13926
|
*/
|
|
13930
13927
|
createPrivateNIC = request => this.client.fetch({
|
|
13931
13928
|
body: JSON.stringify(marshalCreatePrivateNICRequest(request, this.client.settings)),
|
|
13932
|
-
headers: jsonContentHeaders$
|
|
13929
|
+
headers: jsonContentHeaders$i,
|
|
13933
13930
|
method: 'POST',
|
|
13934
13931
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/private_nics`
|
|
13935
13932
|
}, unmarshalCreatePrivateNICResponse);
|
|
@@ -13954,7 +13951,7 @@ let API$i = class API extends API$v {
|
|
|
13954
13951
|
*/
|
|
13955
13952
|
updatePrivateNIC = request => this.client.fetch({
|
|
13956
13953
|
body: JSON.stringify(marshalUpdatePrivateNICRequest(request, this.client.settings)),
|
|
13957
|
-
headers: jsonContentHeaders$
|
|
13954
|
+
headers: jsonContentHeaders$i,
|
|
13958
13955
|
method: 'PATCH',
|
|
13959
13956
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/private_nics/${validatePathParam('privateNicId', request.privateNicId)}`
|
|
13960
13957
|
}, unmarshalPrivateNIC);
|
|
@@ -14014,7 +14011,7 @@ let API$i = class API extends API$v {
|
|
|
14014
14011
|
*/
|
|
14015
14012
|
planBlockMigration = (request = {}) => this.client.fetch({
|
|
14016
14013
|
body: JSON.stringify(marshalPlanBlockMigrationRequest(request, this.client.settings)),
|
|
14017
|
-
headers: jsonContentHeaders$
|
|
14014
|
+
headers: jsonContentHeaders$i,
|
|
14018
14015
|
method: 'POST',
|
|
14019
14016
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/block-migration/plan`
|
|
14020
14017
|
}, unmarshalMigrationPlan);
|
|
@@ -14029,7 +14026,7 @@ let API$i = class API extends API$v {
|
|
|
14029
14026
|
*/
|
|
14030
14027
|
applyBlockMigration = request => this.client.fetch({
|
|
14031
14028
|
body: JSON.stringify(marshalApplyBlockMigrationRequest(request, this.client.settings)),
|
|
14032
|
-
headers: jsonContentHeaders$
|
|
14029
|
+
headers: jsonContentHeaders$i,
|
|
14033
14030
|
method: 'POST',
|
|
14034
14031
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/block-migration/apply`
|
|
14035
14032
|
});
|
|
@@ -14131,7 +14128,7 @@ const validateNotUndefined = obj => {
|
|
|
14131
14128
|
if (obj === undefined) throw new TypeError(`object was found undefined`);
|
|
14132
14129
|
return obj;
|
|
14133
14130
|
};
|
|
14134
|
-
class InstanceV1UtilsAPI extends API$
|
|
14131
|
+
class InstanceV1UtilsAPI extends API$j {
|
|
14135
14132
|
/**
|
|
14136
14133
|
* Waits for {@link Image} to be in a final state.
|
|
14137
14134
|
*
|
|
@@ -14488,7 +14485,7 @@ class InstanceV1UtilsAPI extends API$i {
|
|
|
14488
14485
|
});
|
|
14489
14486
|
}
|
|
14490
14487
|
|
|
14491
|
-
var index$
|
|
14488
|
+
var index$k = /*#__PURE__*/Object.freeze({
|
|
14492
14489
|
__proto__: null,
|
|
14493
14490
|
API: InstanceV1UtilsAPI,
|
|
14494
14491
|
IMAGE_TRANSIENT_STATUSES: IMAGE_TRANSIENT_STATUSES$1,
|
|
@@ -14503,9 +14500,9 @@ var index$j = /*#__PURE__*/Object.freeze({
|
|
|
14503
14500
|
VOLUME_TRANSIENT_STATUSES: VOLUME_TRANSIENT_STATUSES
|
|
14504
14501
|
});
|
|
14505
14502
|
|
|
14506
|
-
var index$
|
|
14503
|
+
var index$j = /*#__PURE__*/Object.freeze({
|
|
14507
14504
|
__proto__: null,
|
|
14508
|
-
v1: index$
|
|
14505
|
+
v1: index$k
|
|
14509
14506
|
});
|
|
14510
14507
|
|
|
14511
14508
|
// This file was automatically generated. DO NOT EDIT.
|
|
@@ -14949,7 +14946,7 @@ const marshalUpdateRouteRequest$1 = (request, defaults) => ({
|
|
|
14949
14946
|
|
|
14950
14947
|
// This file was automatically generated. DO NOT EDIT.
|
|
14951
14948
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
14952
|
-
const jsonContentHeaders$
|
|
14949
|
+
const jsonContentHeaders$h = {
|
|
14953
14950
|
'Content-Type': 'application/json; charset=utf-8'
|
|
14954
14951
|
};
|
|
14955
14952
|
|
|
@@ -14958,7 +14955,7 @@ const jsonContentHeaders$g = {
|
|
|
14958
14955
|
*
|
|
14959
14956
|
* This API allows you to manage IoT hubs and devices.
|
|
14960
14957
|
*/
|
|
14961
|
-
let API$
|
|
14958
|
+
let API$i = class API extends API$w {
|
|
14962
14959
|
/** Lists the available regions of the API. */
|
|
14963
14960
|
static LOCALITIES = ['fr-par'];
|
|
14964
14961
|
pageOfListHubs = (request = {}) => this.client.fetch({
|
|
@@ -14986,7 +14983,7 @@ let API$h = class API extends API$v {
|
|
|
14986
14983
|
*/
|
|
14987
14984
|
createHub = request => this.client.fetch({
|
|
14988
14985
|
body: JSON.stringify(marshalCreateHubRequest(request, this.client.settings)),
|
|
14989
|
-
headers: jsonContentHeaders$
|
|
14986
|
+
headers: jsonContentHeaders$h,
|
|
14990
14987
|
method: 'POST',
|
|
14991
14988
|
path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/hubs`
|
|
14992
14989
|
}, unmarshalHub);
|
|
@@ -15022,7 +15019,7 @@ let API$h = class API extends API$v {
|
|
|
15022
15019
|
*/
|
|
15023
15020
|
updateHub = request => this.client.fetch({
|
|
15024
15021
|
body: JSON.stringify(marshalUpdateHubRequest(request, this.client.settings)),
|
|
15025
|
-
headers: jsonContentHeaders$
|
|
15022
|
+
headers: jsonContentHeaders$h,
|
|
15026
15023
|
method: 'PATCH',
|
|
15027
15024
|
path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/hubs/${validatePathParam('hubId', request.hubId)}`
|
|
15028
15025
|
}, unmarshalHub);
|
|
@@ -15035,7 +15032,7 @@ let API$h = class API extends API$v {
|
|
|
15035
15032
|
*/
|
|
15036
15033
|
enableHub = request => this.client.fetch({
|
|
15037
15034
|
body: '{}',
|
|
15038
|
-
headers: jsonContentHeaders$
|
|
15035
|
+
headers: jsonContentHeaders$h,
|
|
15039
15036
|
method: 'POST',
|
|
15040
15037
|
path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/hubs/${validatePathParam('hubId', request.hubId)}/enable`
|
|
15041
15038
|
}, unmarshalHub);
|
|
@@ -15048,7 +15045,7 @@ let API$h = class API extends API$v {
|
|
|
15048
15045
|
*/
|
|
15049
15046
|
disableHub = request => this.client.fetch({
|
|
15050
15047
|
body: '{}',
|
|
15051
|
-
headers: jsonContentHeaders$
|
|
15048
|
+
headers: jsonContentHeaders$h,
|
|
15052
15049
|
method: 'POST',
|
|
15053
15050
|
path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/hubs/${validatePathParam('hubId', request.hubId)}/disable`
|
|
15054
15051
|
}, unmarshalHub);
|
|
@@ -15088,7 +15085,7 @@ let API$h = class API extends API$v {
|
|
|
15088
15085
|
*/
|
|
15089
15086
|
setHubCA = request => this.client.fetch({
|
|
15090
15087
|
body: JSON.stringify(marshalSetHubCARequest(request, this.client.settings)),
|
|
15091
|
-
headers: jsonContentHeaders$
|
|
15088
|
+
headers: jsonContentHeaders$h,
|
|
15092
15089
|
method: 'POST',
|
|
15093
15090
|
path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/hubs/${validatePathParam('hubId', request.hubId)}/ca`
|
|
15094
15091
|
}, unmarshalHub);
|
|
@@ -15128,7 +15125,7 @@ let API$h = class API extends API$v {
|
|
|
15128
15125
|
*/
|
|
15129
15126
|
createDevice = request => this.client.fetch({
|
|
15130
15127
|
body: JSON.stringify(marshalCreateDeviceRequest(request, this.client.settings)),
|
|
15131
|
-
headers: jsonContentHeaders$
|
|
15128
|
+
headers: jsonContentHeaders$h,
|
|
15132
15129
|
method: 'POST',
|
|
15133
15130
|
path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/devices`
|
|
15134
15131
|
}, unmarshalCreateDeviceResponse);
|
|
@@ -15155,7 +15152,7 @@ let API$h = class API extends API$v {
|
|
|
15155
15152
|
*/
|
|
15156
15153
|
updateDevice = request => this.client.fetch({
|
|
15157
15154
|
body: JSON.stringify(marshalUpdateDeviceRequest(request, this.client.settings)),
|
|
15158
|
-
headers: jsonContentHeaders$
|
|
15155
|
+
headers: jsonContentHeaders$h,
|
|
15159
15156
|
method: 'PATCH',
|
|
15160
15157
|
path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/devices/${validatePathParam('deviceId', request.deviceId)}`
|
|
15161
15158
|
}, unmarshalDevice);
|
|
@@ -15168,7 +15165,7 @@ let API$h = class API extends API$v {
|
|
|
15168
15165
|
*/
|
|
15169
15166
|
enableDevice = request => this.client.fetch({
|
|
15170
15167
|
body: '{}',
|
|
15171
|
-
headers: jsonContentHeaders$
|
|
15168
|
+
headers: jsonContentHeaders$h,
|
|
15172
15169
|
method: 'POST',
|
|
15173
15170
|
path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/devices/${validatePathParam('deviceId', request.deviceId)}/enable`
|
|
15174
15171
|
}, unmarshalDevice);
|
|
@@ -15181,7 +15178,7 @@ let API$h = class API extends API$v {
|
|
|
15181
15178
|
*/
|
|
15182
15179
|
disableDevice = request => this.client.fetch({
|
|
15183
15180
|
body: '{}',
|
|
15184
|
-
headers: jsonContentHeaders$
|
|
15181
|
+
headers: jsonContentHeaders$h,
|
|
15185
15182
|
method: 'POST',
|
|
15186
15183
|
path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/devices/${validatePathParam('deviceId', request.deviceId)}/disable`
|
|
15187
15184
|
}, unmarshalDevice);
|
|
@@ -15195,7 +15192,7 @@ let API$h = class API extends API$v {
|
|
|
15195
15192
|
*/
|
|
15196
15193
|
renewDeviceCertificate = request => this.client.fetch({
|
|
15197
15194
|
body: '{}',
|
|
15198
|
-
headers: jsonContentHeaders$
|
|
15195
|
+
headers: jsonContentHeaders$h,
|
|
15199
15196
|
method: 'POST',
|
|
15200
15197
|
path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/devices/${validatePathParam('deviceId', request.deviceId)}/renew-certificate`
|
|
15201
15198
|
}, unmarshalRenewDeviceCertificateResponse);
|
|
@@ -15209,7 +15206,7 @@ let API$h = class API extends API$v {
|
|
|
15209
15206
|
*/
|
|
15210
15207
|
setDeviceCertificate = request => this.client.fetch({
|
|
15211
15208
|
body: JSON.stringify(marshalSetDeviceCertificateRequest(request, this.client.settings)),
|
|
15212
|
-
headers: jsonContentHeaders$
|
|
15209
|
+
headers: jsonContentHeaders$h,
|
|
15213
15210
|
method: 'PUT',
|
|
15214
15211
|
path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/devices/${validatePathParam('deviceId', request.deviceId)}/certificate`
|
|
15215
15212
|
}, unmarshalSetDeviceCertificateResponse);
|
|
@@ -15284,7 +15281,7 @@ let API$h = class API extends API$v {
|
|
|
15284
15281
|
*/
|
|
15285
15282
|
createRoute = request => this.client.fetch({
|
|
15286
15283
|
body: JSON.stringify(marshalCreateRouteRequest$1(request, this.client.settings)),
|
|
15287
|
-
headers: jsonContentHeaders$
|
|
15284
|
+
headers: jsonContentHeaders$h,
|
|
15288
15285
|
method: 'POST',
|
|
15289
15286
|
path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/routes`
|
|
15290
15287
|
}, unmarshalRoute$1);
|
|
@@ -15298,7 +15295,7 @@ let API$h = class API extends API$v {
|
|
|
15298
15295
|
*/
|
|
15299
15296
|
updateRoute = request => this.client.fetch({
|
|
15300
15297
|
body: JSON.stringify(marshalUpdateRouteRequest$1(request, this.client.settings)),
|
|
15301
|
-
headers: jsonContentHeaders$
|
|
15298
|
+
headers: jsonContentHeaders$h,
|
|
15302
15299
|
method: 'PATCH',
|
|
15303
15300
|
path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/routes/${validatePathParam('routeId', request.routeId)}`
|
|
15304
15301
|
}, unmarshalRoute$1);
|
|
@@ -15350,7 +15347,7 @@ let API$h = class API extends API$v {
|
|
|
15350
15347
|
*/
|
|
15351
15348
|
createNetwork = request => this.client.fetch({
|
|
15352
15349
|
body: JSON.stringify(marshalCreateNetworkRequest(request, this.client.settings)),
|
|
15353
|
-
headers: jsonContentHeaders$
|
|
15350
|
+
headers: jsonContentHeaders$h,
|
|
15354
15351
|
method: 'POST',
|
|
15355
15352
|
path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/networks`
|
|
15356
15353
|
}, unmarshalCreateNetworkResponse);
|
|
@@ -15398,7 +15395,7 @@ let API$h = class API extends API$v {
|
|
|
15398
15395
|
*/
|
|
15399
15396
|
putTwinDocument = request => this.client.fetch({
|
|
15400
15397
|
body: JSON.stringify(marshalPutTwinDocumentRequest(request, this.client.settings)),
|
|
15401
|
-
headers: jsonContentHeaders$
|
|
15398
|
+
headers: jsonContentHeaders$h,
|
|
15402
15399
|
method: 'PUT',
|
|
15403
15400
|
path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/twins/${validatePathParam('twinId', request.twinId)}/documents/${validatePathParam('documentName', request.documentName)}`
|
|
15404
15401
|
}, unmarshalTwinDocument);
|
|
@@ -15411,7 +15408,7 @@ let API$h = class API extends API$v {
|
|
|
15411
15408
|
*/
|
|
15412
15409
|
patchTwinDocument = request => this.client.fetch({
|
|
15413
15410
|
body: JSON.stringify(marshalPatchTwinDocumentRequest(request, this.client.settings)),
|
|
15414
|
-
headers: jsonContentHeaders$
|
|
15411
|
+
headers: jsonContentHeaders$h,
|
|
15415
15412
|
method: 'PATCH',
|
|
15416
15413
|
path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/twins/${validatePathParam('twinId', request.twinId)}/documents/${validatePathParam('documentName', request.documentName)}`
|
|
15417
15414
|
}, unmarshalTwinDocument);
|
|
@@ -15451,15 +15448,15 @@ let API$h = class API extends API$v {
|
|
|
15451
15448
|
// This file was automatically generated. DO NOT EDIT.
|
|
15452
15449
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
15453
15450
|
|
|
15454
|
-
var index_gen$
|
|
15451
|
+
var index_gen$i = /*#__PURE__*/Object.freeze({
|
|
15455
15452
|
__proto__: null,
|
|
15456
|
-
API: API$
|
|
15453
|
+
API: API$i,
|
|
15457
15454
|
HUB_TRANSIENT_STATUSES: HUB_TRANSIENT_STATUSES
|
|
15458
15455
|
});
|
|
15459
15456
|
|
|
15460
|
-
var index$
|
|
15457
|
+
var index$i = /*#__PURE__*/Object.freeze({
|
|
15461
15458
|
__proto__: null,
|
|
15462
|
-
v1: index_gen$
|
|
15459
|
+
v1: index_gen$i
|
|
15463
15460
|
});
|
|
15464
15461
|
|
|
15465
15462
|
// This file was automatically generated. DO NOT EDIT.
|
|
@@ -15537,7 +15534,7 @@ const marshalUpdateIPRequest$1 = (request, defaults) => ({
|
|
|
15537
15534
|
|
|
15538
15535
|
// This file was automatically generated. DO NOT EDIT.
|
|
15539
15536
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
15540
|
-
const jsonContentHeaders$
|
|
15537
|
+
const jsonContentHeaders$g = {
|
|
15541
15538
|
'Content-Type': 'application/json; charset=utf-8'
|
|
15542
15539
|
};
|
|
15543
15540
|
|
|
@@ -15547,7 +15544,7 @@ const jsonContentHeaders$f = {
|
|
|
15547
15544
|
* This API allows you to manage IP addresses with Scaleway's IP Address
|
|
15548
15545
|
* Management tool.
|
|
15549
15546
|
*/
|
|
15550
|
-
let API$
|
|
15547
|
+
let API$h = class API extends API$w {
|
|
15551
15548
|
/** Lists the available regions of the API. */
|
|
15552
15549
|
static LOCALITIES = ['fr-par', 'nl-ams', 'pl-waw'];
|
|
15553
15550
|
|
|
@@ -15560,7 +15557,7 @@ let API$g = class API extends API$v {
|
|
|
15560
15557
|
*/
|
|
15561
15558
|
bookIP = request => this.client.fetch({
|
|
15562
15559
|
body: JSON.stringify(marshalBookIPRequest(request, this.client.settings)),
|
|
15563
|
-
headers: jsonContentHeaders$
|
|
15560
|
+
headers: jsonContentHeaders$g,
|
|
15564
15561
|
method: 'POST',
|
|
15565
15562
|
path: `/ipam/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/ips`
|
|
15566
15563
|
}, unmarshalIP$1);
|
|
@@ -15573,7 +15570,7 @@ let API$g = class API extends API$v {
|
|
|
15573
15570
|
*/
|
|
15574
15571
|
releaseIP = request => this.client.fetch({
|
|
15575
15572
|
body: '{}',
|
|
15576
|
-
headers: jsonContentHeaders$
|
|
15573
|
+
headers: jsonContentHeaders$g,
|
|
15577
15574
|
method: 'DELETE',
|
|
15578
15575
|
path: `/ipam/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/ips/${validatePathParam('ipId', request.ipId)}`
|
|
15579
15576
|
});
|
|
@@ -15597,7 +15594,7 @@ let API$g = class API extends API$v {
|
|
|
15597
15594
|
*/
|
|
15598
15595
|
updateIP = request => this.client.fetch({
|
|
15599
15596
|
body: JSON.stringify(marshalUpdateIPRequest$1(request, this.client.settings)),
|
|
15600
|
-
headers: jsonContentHeaders$
|
|
15597
|
+
headers: jsonContentHeaders$g,
|
|
15601
15598
|
method: 'PATCH',
|
|
15602
15599
|
path: `/ipam/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/ips/${validatePathParam('ipId', request.ipId)}`
|
|
15603
15600
|
}, unmarshalIP$1);
|
|
@@ -15636,7 +15633,7 @@ const ListIPsRequest = {
|
|
|
15636
15633
|
}
|
|
15637
15634
|
};
|
|
15638
15635
|
|
|
15639
|
-
var validationRules_gen$
|
|
15636
|
+
var validationRules_gen$5 = /*#__PURE__*/Object.freeze({
|
|
15640
15637
|
__proto__: null,
|
|
15641
15638
|
ListIPsRequest: ListIPsRequest
|
|
15642
15639
|
});
|
|
@@ -15644,15 +15641,15 @@ var validationRules_gen$4 = /*#__PURE__*/Object.freeze({
|
|
|
15644
15641
|
// This file was automatically generated. DO NOT EDIT.
|
|
15645
15642
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
15646
15643
|
|
|
15647
|
-
var index_gen$
|
|
15644
|
+
var index_gen$h = /*#__PURE__*/Object.freeze({
|
|
15648
15645
|
__proto__: null,
|
|
15649
|
-
API: API$
|
|
15650
|
-
ValidationRules: validationRules_gen$
|
|
15646
|
+
API: API$h,
|
|
15647
|
+
ValidationRules: validationRules_gen$5
|
|
15651
15648
|
});
|
|
15652
15649
|
|
|
15653
|
-
var index$
|
|
15650
|
+
var index$h = /*#__PURE__*/Object.freeze({
|
|
15654
15651
|
__proto__: null,
|
|
15655
|
-
v1: index_gen$
|
|
15652
|
+
v1: index_gen$h
|
|
15656
15653
|
});
|
|
15657
15654
|
|
|
15658
15655
|
// This file was automatically generated. DO NOT EDIT.
|
|
@@ -15835,12 +15832,12 @@ const marshalUpdateVolumeRequest = (request, defaults) => ({
|
|
|
15835
15832
|
|
|
15836
15833
|
// This file was automatically generated. DO NOT EDIT.
|
|
15837
15834
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
15838
|
-
const jsonContentHeaders$
|
|
15835
|
+
const jsonContentHeaders$f = {
|
|
15839
15836
|
'Content-Type': 'application/json; charset=utf-8'
|
|
15840
15837
|
};
|
|
15841
15838
|
|
|
15842
15839
|
/** IPFS Pinning service API. */
|
|
15843
|
-
let API$
|
|
15840
|
+
let API$g = class API extends API$w {
|
|
15844
15841
|
/** Lists the available regions of the API. */
|
|
15845
15842
|
static LOCALITIES = ['fr-par', 'nl-ams', 'pl-waw'];
|
|
15846
15843
|
|
|
@@ -15856,7 +15853,7 @@ let API$f = class API extends API$v {
|
|
|
15856
15853
|
*/
|
|
15857
15854
|
createVolume = request => this.client.fetch({
|
|
15858
15855
|
body: JSON.stringify(marshalCreateVolumeRequest(request, this.client.settings)),
|
|
15859
|
-
headers: jsonContentHeaders$
|
|
15856
|
+
headers: jsonContentHeaders$f,
|
|
15860
15857
|
method: 'POST',
|
|
15861
15858
|
path: `/ipfs/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/volumes`
|
|
15862
15859
|
}, unmarshalVolume$1);
|
|
@@ -15895,7 +15892,7 @@ let API$f = class API extends API$v {
|
|
|
15895
15892
|
*/
|
|
15896
15893
|
updateVolume = request => this.client.fetch({
|
|
15897
15894
|
body: JSON.stringify(marshalUpdateVolumeRequest(request, this.client.settings)),
|
|
15898
|
-
headers: jsonContentHeaders$
|
|
15895
|
+
headers: jsonContentHeaders$f,
|
|
15899
15896
|
method: 'PATCH',
|
|
15900
15897
|
path: `/ipfs/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/volumes/${validatePathParam('volumeId', request.volumeId)}`
|
|
15901
15898
|
}, unmarshalVolume$1);
|
|
@@ -15926,7 +15923,7 @@ let API$f = class API extends API$v {
|
|
|
15926
15923
|
*/
|
|
15927
15924
|
createPinByURL = request => this.client.fetch({
|
|
15928
15925
|
body: JSON.stringify(marshalCreatePinByURLRequest(request, this.client.settings)),
|
|
15929
|
-
headers: jsonContentHeaders$
|
|
15926
|
+
headers: jsonContentHeaders$f,
|
|
15930
15927
|
method: 'POST',
|
|
15931
15928
|
path: `/ipfs/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/pins/create-by-url`
|
|
15932
15929
|
}, unmarshalPin);
|
|
@@ -15945,13 +15942,13 @@ let API$f = class API extends API$v {
|
|
|
15945
15942
|
*/
|
|
15946
15943
|
createPinByCID = request => this.client.fetch({
|
|
15947
15944
|
body: JSON.stringify(marshalCreatePinByCIDRequest(request, this.client.settings)),
|
|
15948
|
-
headers: jsonContentHeaders$
|
|
15945
|
+
headers: jsonContentHeaders$f,
|
|
15949
15946
|
method: 'POST',
|
|
15950
15947
|
path: `/ipfs/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/pins/create-by-cid`
|
|
15951
15948
|
}, unmarshalPin);
|
|
15952
15949
|
replacePin = request => this.client.fetch({
|
|
15953
15950
|
body: JSON.stringify(marshalReplacePinRequest(request, this.client.settings)),
|
|
15954
|
-
headers: jsonContentHeaders$
|
|
15951
|
+
headers: jsonContentHeaders$f,
|
|
15955
15952
|
method: 'POST',
|
|
15956
15953
|
path: `/ipfs/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/pins/${validatePathParam('pinId', request.pinId)}/replace`
|
|
15957
15954
|
}, unmarshalReplacePinResponse);
|
|
@@ -16007,7 +16004,7 @@ let API$f = class API extends API$v {
|
|
|
16007
16004
|
};
|
|
16008
16005
|
|
|
16009
16006
|
/** IPFS Naming service API. */
|
|
16010
|
-
class IpnsAPI extends API$
|
|
16007
|
+
class IpnsAPI extends API$w {
|
|
16011
16008
|
/** Lists the available regions of the API. */
|
|
16012
16009
|
static LOCALITIES = ['fr-par', 'nl-ams', 'pl-waw'];
|
|
16013
16010
|
|
|
@@ -16020,7 +16017,7 @@ class IpnsAPI extends API$v {
|
|
|
16020
16017
|
*/
|
|
16021
16018
|
createName = request => this.client.fetch({
|
|
16022
16019
|
body: JSON.stringify(marshalIpnsApiCreateNameRequest(request, this.client.settings)),
|
|
16023
|
-
headers: jsonContentHeaders$
|
|
16020
|
+
headers: jsonContentHeaders$f,
|
|
16024
16021
|
method: 'POST',
|
|
16025
16022
|
path: `/ipfs/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/names`
|
|
16026
16023
|
}, unmarshalName);
|
|
@@ -16077,7 +16074,7 @@ class IpnsAPI extends API$v {
|
|
|
16077
16074
|
*/
|
|
16078
16075
|
updateName = request => this.client.fetch({
|
|
16079
16076
|
body: JSON.stringify(marshalIpnsApiUpdateNameRequest(request, this.client.settings)),
|
|
16080
|
-
headers: jsonContentHeaders$
|
|
16077
|
+
headers: jsonContentHeaders$f,
|
|
16081
16078
|
method: 'PATCH',
|
|
16082
16079
|
path: `/ipfs/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/names/${validatePathParam('nameId', request.nameId)}`
|
|
16083
16080
|
}, unmarshalName);
|
|
@@ -16101,7 +16098,7 @@ class IpnsAPI extends API$v {
|
|
|
16101
16098
|
*/
|
|
16102
16099
|
importKeyName = request => this.client.fetch({
|
|
16103
16100
|
body: JSON.stringify(marshalIpnsApiImportKeyNameRequest(request, this.client.settings)),
|
|
16104
|
-
headers: jsonContentHeaders$
|
|
16101
|
+
headers: jsonContentHeaders$f,
|
|
16105
16102
|
method: 'POST',
|
|
16106
16103
|
path: `/ipfs/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/names/import-key`
|
|
16107
16104
|
}, unmarshalName);
|
|
@@ -16110,14 +16107,230 @@ class IpnsAPI extends API$v {
|
|
|
16110
16107
|
// This file was automatically generated. DO NOT EDIT.
|
|
16111
16108
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
16112
16109
|
|
|
16113
|
-
var index_gen$
|
|
16110
|
+
var index_gen$g = /*#__PURE__*/Object.freeze({
|
|
16114
16111
|
__proto__: null,
|
|
16115
|
-
API: API$
|
|
16112
|
+
API: API$g,
|
|
16116
16113
|
IpnsAPI: IpnsAPI,
|
|
16117
16114
|
NAME_TRANSIENT_STATUSES: NAME_TRANSIENT_STATUSES,
|
|
16118
16115
|
PIN_TRANSIENT_STATUSES: PIN_TRANSIENT_STATUSES
|
|
16119
16116
|
});
|
|
16120
16117
|
|
|
16118
|
+
var index$g = /*#__PURE__*/Object.freeze({
|
|
16119
|
+
__proto__: null,
|
|
16120
|
+
v1alpha1: index_gen$g
|
|
16121
|
+
});
|
|
16122
|
+
|
|
16123
|
+
// This file was automatically generated. DO NOT EDIT.
|
|
16124
|
+
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
16125
|
+
const unmarshalJobDefinition = data => {
|
|
16126
|
+
if (!isJSONObject(data)) {
|
|
16127
|
+
throw new TypeError(`Unmarshalling the type 'JobDefinition' failed as data isn't a dictionary.`);
|
|
16128
|
+
}
|
|
16129
|
+
return {
|
|
16130
|
+
command: data.command,
|
|
16131
|
+
cpuLimit: data.cpu_limit,
|
|
16132
|
+
createdAt: unmarshalDate(data.created_at),
|
|
16133
|
+
description: data.description,
|
|
16134
|
+
environmentVariables: data.environment_variables,
|
|
16135
|
+
imageUri: data.image_uri,
|
|
16136
|
+
jobDefinitionId: data.job_definition_id,
|
|
16137
|
+
jobTimeout: data.job_timeout,
|
|
16138
|
+
memoryLimit: data.memory_limit,
|
|
16139
|
+
name: data.name,
|
|
16140
|
+
projectId: data.project_id,
|
|
16141
|
+
region: data.region,
|
|
16142
|
+
updatedAt: unmarshalDate(data.updated_at)
|
|
16143
|
+
};
|
|
16144
|
+
};
|
|
16145
|
+
const unmarshalJobRun = data => {
|
|
16146
|
+
if (!isJSONObject(data)) {
|
|
16147
|
+
throw new TypeError(`Unmarshalling the type 'JobRun' failed as data isn't a dictionary.`);
|
|
16148
|
+
}
|
|
16149
|
+
return {
|
|
16150
|
+
createdAt: unmarshalDate(data.created_at),
|
|
16151
|
+
errorMessage: data.error_message,
|
|
16152
|
+
exitCode: data.exit_code,
|
|
16153
|
+
jobDefinitionId: data.job_definition_id,
|
|
16154
|
+
jobRunId: data.job_run_id,
|
|
16155
|
+
region: data.region,
|
|
16156
|
+
runDuration: data.run_duration,
|
|
16157
|
+
state: data.state,
|
|
16158
|
+
terminatedAt: unmarshalDate(data.terminated_at),
|
|
16159
|
+
updatedAt: unmarshalDate(data.updated_at)
|
|
16160
|
+
};
|
|
16161
|
+
};
|
|
16162
|
+
const unmarshalListJobDefinitionsResponse = data => {
|
|
16163
|
+
if (!isJSONObject(data)) {
|
|
16164
|
+
throw new TypeError(`Unmarshalling the type 'ListJobDefinitionsResponse' failed as data isn't a dictionary.`);
|
|
16165
|
+
}
|
|
16166
|
+
return {
|
|
16167
|
+
jobDefinitions: unmarshalArrayOfObject(data.job_definitions, unmarshalJobDefinition),
|
|
16168
|
+
totalCount: data.total_count
|
|
16169
|
+
};
|
|
16170
|
+
};
|
|
16171
|
+
const unmarshalListJobRunsResponse = data => {
|
|
16172
|
+
if (!isJSONObject(data)) {
|
|
16173
|
+
throw new TypeError(`Unmarshalling the type 'ListJobRunsResponse' failed as data isn't a dictionary.`);
|
|
16174
|
+
}
|
|
16175
|
+
return {
|
|
16176
|
+
jobRuns: unmarshalArrayOfObject(data.job_runs, unmarshalJobRun),
|
|
16177
|
+
totalCount: data.total_count
|
|
16178
|
+
};
|
|
16179
|
+
};
|
|
16180
|
+
const marshalCreateJobDefinitionRequest = (request, defaults) => ({
|
|
16181
|
+
command: request.command,
|
|
16182
|
+
cpu_limit: request.cpuLimit,
|
|
16183
|
+
description: request.description,
|
|
16184
|
+
environment_variables: request.environmentVariables !== undefined ? request.environmentVariables : undefined,
|
|
16185
|
+
image_uri: request.imageUri,
|
|
16186
|
+
job_timeout: request.jobTimeout,
|
|
16187
|
+
memory_limit: request.memoryLimit,
|
|
16188
|
+
name: request.name || randomName('job'),
|
|
16189
|
+
project_id: request.projectId ?? defaults.defaultProjectId
|
|
16190
|
+
});
|
|
16191
|
+
const marshalUpdateJobDefinitionRequest = (request, defaults) => ({
|
|
16192
|
+
command: request.command,
|
|
16193
|
+
cpu_limit: request.cpuLimit,
|
|
16194
|
+
description: request.description,
|
|
16195
|
+
environment_variables: request.environmentVariables,
|
|
16196
|
+
image_uri: request.imageUri,
|
|
16197
|
+
job_timeout: request.jobTimeout,
|
|
16198
|
+
memory_limit: request.memoryLimit,
|
|
16199
|
+
name: request.name
|
|
16200
|
+
});
|
|
16201
|
+
|
|
16202
|
+
// This file was automatically generated. DO NOT EDIT.
|
|
16203
|
+
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
16204
|
+
const jsonContentHeaders$e = {
|
|
16205
|
+
'Content-Type': 'application/json; charset=utf-8'
|
|
16206
|
+
};
|
|
16207
|
+
|
|
16208
|
+
/** Serverless Jobs API. */
|
|
16209
|
+
let API$f = class API extends API$w {
|
|
16210
|
+
/** Lists the available regions of the API. */
|
|
16211
|
+
static LOCALITIES = ['fr-par', 'nl-ams', 'pl-waw'];
|
|
16212
|
+
getServiceInfo = (request = {}) => this.client.fetch({
|
|
16213
|
+
method: 'GET',
|
|
16214
|
+
path: `/serverless-jobs/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}`
|
|
16215
|
+
}, unmarshalServiceInfo);
|
|
16216
|
+
createJobDefinition = request => this.client.fetch({
|
|
16217
|
+
body: JSON.stringify(marshalCreateJobDefinitionRequest(request, this.client.settings)),
|
|
16218
|
+
headers: jsonContentHeaders$e,
|
|
16219
|
+
method: 'POST',
|
|
16220
|
+
path: `/serverless-jobs/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/job-definitions`
|
|
16221
|
+
}, unmarshalJobDefinition);
|
|
16222
|
+
getJobDefinition = request => this.client.fetch({
|
|
16223
|
+
method: 'GET',
|
|
16224
|
+
path: `/serverless-jobs/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/job-definitions/${validatePathParam('jobDefinitionId', request.jobDefinitionId)}`
|
|
16225
|
+
}, unmarshalJobDefinition);
|
|
16226
|
+
pageOfListJobDefinitions = (request = {}) => this.client.fetch({
|
|
16227
|
+
method: 'GET',
|
|
16228
|
+
path: `/serverless-jobs/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/job-definitions`,
|
|
16229
|
+
urlParams: urlParams(['order_by', request.orderBy], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['project_id', request.projectId])
|
|
16230
|
+
}, unmarshalListJobDefinitionsResponse);
|
|
16231
|
+
listJobDefinitions = (request = {}) => enrichForPagination('jobDefinitions', this.pageOfListJobDefinitions, request);
|
|
16232
|
+
updateJobDefinition = request => this.client.fetch({
|
|
16233
|
+
body: JSON.stringify(marshalUpdateJobDefinitionRequest(request, this.client.settings)),
|
|
16234
|
+
headers: jsonContentHeaders$e,
|
|
16235
|
+
method: 'PATCH',
|
|
16236
|
+
path: `/serverless-jobs/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/job-definitions/${validatePathParam('jobDefinitionId', request.jobDefinitionId)}`
|
|
16237
|
+
}, unmarshalJobDefinition);
|
|
16238
|
+
deleteJobDefinition = request => this.client.fetch({
|
|
16239
|
+
method: 'DELETE',
|
|
16240
|
+
path: `/serverless-jobs/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/job-definitions/${validatePathParam('jobDefinitionId', request.jobDefinitionId)}`
|
|
16241
|
+
});
|
|
16242
|
+
startJobDefinition = request => this.client.fetch({
|
|
16243
|
+
body: '{}',
|
|
16244
|
+
headers: jsonContentHeaders$e,
|
|
16245
|
+
method: 'POST',
|
|
16246
|
+
path: `/serverless-jobs/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/job-definitions/${validatePathParam('jobDefinitionId', request.jobDefinitionId)}/start`
|
|
16247
|
+
}, unmarshalJobRun);
|
|
16248
|
+
getJobRun = request => this.client.fetch({
|
|
16249
|
+
method: 'GET',
|
|
16250
|
+
path: `/serverless-jobs/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/job-runs/${validatePathParam('jobRunId', request.jobRunId)}`
|
|
16251
|
+
}, unmarshalJobRun);
|
|
16252
|
+
stopJobRun = request => this.client.fetch({
|
|
16253
|
+
body: '{}',
|
|
16254
|
+
headers: jsonContentHeaders$e,
|
|
16255
|
+
method: 'POST',
|
|
16256
|
+
path: `/serverless-jobs/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/job-runs/${validatePathParam('jobRunId', request.jobRunId)}/stop`
|
|
16257
|
+
}, unmarshalJobRun);
|
|
16258
|
+
pageOfListJobRuns = (request = {}) => this.client.fetch({
|
|
16259
|
+
method: 'GET',
|
|
16260
|
+
path: `/serverless-jobs/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/job-runs`,
|
|
16261
|
+
urlParams: urlParams(['job_definition_id', request.jobDefinitionId], ['order_by', request.orderBy], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['project_id', request.projectId])
|
|
16262
|
+
}, unmarshalListJobRunsResponse);
|
|
16263
|
+
listJobRuns = (request = {}) => enrichForPagination('jobRuns', this.pageOfListJobRuns, request);
|
|
16264
|
+
};
|
|
16265
|
+
|
|
16266
|
+
// This file was automatically generated. DO NOT EDIT.
|
|
16267
|
+
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
16268
|
+
|
|
16269
|
+
/** Lists transient statutes of the enum {@link JobRunState}. */
|
|
16270
|
+
const JOB_RUN_TRANSIENT_STATUSES = ['queued', 'scheduled', 'running'];
|
|
16271
|
+
|
|
16272
|
+
// This file was automatically generated. DO NOT EDIT.
|
|
16273
|
+
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
16274
|
+
|
|
16275
|
+
const CreateJobDefinitionRequest = {
|
|
16276
|
+
cpuLimit: {
|
|
16277
|
+
greaterThan: 0
|
|
16278
|
+
},
|
|
16279
|
+
memoryLimit: {
|
|
16280
|
+
greaterThan: 0
|
|
16281
|
+
},
|
|
16282
|
+
name: {
|
|
16283
|
+
minLength: 3
|
|
16284
|
+
}
|
|
16285
|
+
};
|
|
16286
|
+
const ListJobDefinitionsRequest = {
|
|
16287
|
+
page: {
|
|
16288
|
+
greaterThanOrEqual: 1
|
|
16289
|
+
},
|
|
16290
|
+
pageSize: {
|
|
16291
|
+
greaterThanOrEqual: 1,
|
|
16292
|
+
lessThanOrEqual: 1000
|
|
16293
|
+
}
|
|
16294
|
+
};
|
|
16295
|
+
const ListJobRunsRequest = {
|
|
16296
|
+
page: {
|
|
16297
|
+
greaterThanOrEqual: 1
|
|
16298
|
+
},
|
|
16299
|
+
pageSize: {
|
|
16300
|
+
greaterThanOrEqual: 1,
|
|
16301
|
+
lessThanOrEqual: 1000
|
|
16302
|
+
}
|
|
16303
|
+
};
|
|
16304
|
+
const UpdateJobDefinitionRequest = {
|
|
16305
|
+
cpuLimit: {
|
|
16306
|
+
greaterThan: 0
|
|
16307
|
+
},
|
|
16308
|
+
memoryLimit: {
|
|
16309
|
+
greaterThan: 0
|
|
16310
|
+
},
|
|
16311
|
+
name: {
|
|
16312
|
+
minLength: 3
|
|
16313
|
+
}
|
|
16314
|
+
};
|
|
16315
|
+
|
|
16316
|
+
var validationRules_gen$4 = /*#__PURE__*/Object.freeze({
|
|
16317
|
+
__proto__: null,
|
|
16318
|
+
CreateJobDefinitionRequest: CreateJobDefinitionRequest,
|
|
16319
|
+
ListJobDefinitionsRequest: ListJobDefinitionsRequest,
|
|
16320
|
+
ListJobRunsRequest: ListJobRunsRequest,
|
|
16321
|
+
UpdateJobDefinitionRequest: UpdateJobDefinitionRequest
|
|
16322
|
+
});
|
|
16323
|
+
|
|
16324
|
+
// This file was automatically generated. DO NOT EDIT.
|
|
16325
|
+
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
16326
|
+
|
|
16327
|
+
var index_gen$f = /*#__PURE__*/Object.freeze({
|
|
16328
|
+
__proto__: null,
|
|
16329
|
+
API: API$f,
|
|
16330
|
+
JOB_RUN_TRANSIENT_STATUSES: JOB_RUN_TRANSIENT_STATUSES,
|
|
16331
|
+
ValidationRules: validationRules_gen$4
|
|
16332
|
+
});
|
|
16333
|
+
|
|
16121
16334
|
var index$f = /*#__PURE__*/Object.freeze({
|
|
16122
16335
|
__proto__: null,
|
|
16123
16336
|
v1alpha1: index_gen$f
|
|
@@ -16454,13 +16667,13 @@ const marshalCreateClusterRequest$1 = (request, defaults) => ({
|
|
|
16454
16667
|
type: request.type,
|
|
16455
16668
|
version: request.version,
|
|
16456
16669
|
...resolveOneOf([{
|
|
16457
|
-
default: defaults.defaultOrganizationId,
|
|
16458
|
-
param: 'organization_id',
|
|
16459
|
-
value: request.organizationId
|
|
16460
|
-
}, {
|
|
16461
16670
|
default: defaults.defaultProjectId,
|
|
16462
16671
|
param: 'project_id',
|
|
16463
16672
|
value: request.projectId
|
|
16673
|
+
}, {
|
|
16674
|
+
default: defaults.defaultOrganizationId,
|
|
16675
|
+
param: 'organization_id',
|
|
16676
|
+
value: request.organizationId
|
|
16464
16677
|
}])
|
|
16465
16678
|
});
|
|
16466
16679
|
const marshalCreatePoolRequestUpgradePolicy = (request, defaults) => ({
|
|
@@ -16558,7 +16771,7 @@ const jsonContentHeaders$d = {
|
|
|
16558
16771
|
};
|
|
16559
16772
|
|
|
16560
16773
|
/** Kubernetes API. */
|
|
16561
|
-
let API$e = class API extends API$
|
|
16774
|
+
let API$e = class API extends API$w {
|
|
16562
16775
|
/** Lists the available regions of the API. */
|
|
16563
16776
|
static LOCALITIES = ['fr-par', 'nl-ams', 'pl-waw'];
|
|
16564
16777
|
pageOfListClusters = (request = {}) => this.client.fetch({
|
|
@@ -17741,13 +17954,13 @@ const marshalCreateFrontendRequest = (request, defaults) => ({
|
|
|
17741
17954
|
const marshalCreateIpRequest = (request, defaults) => ({
|
|
17742
17955
|
reverse: request.reverse,
|
|
17743
17956
|
...resolveOneOf([{
|
|
17744
|
-
default: defaults.defaultOrganizationId,
|
|
17745
|
-
param: 'organization_id',
|
|
17746
|
-
value: request.organizationId
|
|
17747
|
-
}, {
|
|
17748
17957
|
default: defaults.defaultProjectId,
|
|
17749
17958
|
param: 'project_id',
|
|
17750
17959
|
value: request.projectId
|
|
17960
|
+
}, {
|
|
17961
|
+
default: defaults.defaultOrganizationId,
|
|
17962
|
+
param: 'organization_id',
|
|
17963
|
+
value: request.organizationId
|
|
17751
17964
|
}])
|
|
17752
17965
|
});
|
|
17753
17966
|
const marshalCreateLbRequest = (request, defaults) => ({
|
|
@@ -17759,13 +17972,13 @@ const marshalCreateLbRequest = (request, defaults) => ({
|
|
|
17759
17972
|
tags: request.tags,
|
|
17760
17973
|
type: request.type,
|
|
17761
17974
|
...resolveOneOf([{
|
|
17762
|
-
default: defaults.defaultOrganizationId,
|
|
17763
|
-
param: 'organization_id',
|
|
17764
|
-
value: request.organizationId
|
|
17765
|
-
}, {
|
|
17766
17975
|
default: defaults.defaultProjectId,
|
|
17767
17976
|
param: 'project_id',
|
|
17768
17977
|
value: request.projectId
|
|
17978
|
+
}, {
|
|
17979
|
+
default: defaults.defaultOrganizationId,
|
|
17980
|
+
param: 'organization_id',
|
|
17981
|
+
value: request.organizationId
|
|
17769
17982
|
}])
|
|
17770
17983
|
});
|
|
17771
17984
|
const marshalRouteMatch = (request, defaults) => ({
|
|
@@ -17791,13 +18004,13 @@ const marshalSubscriberWebhookConfig = (request, defaults) => ({
|
|
|
17791
18004
|
const marshalCreateSubscriberRequest = (request, defaults) => ({
|
|
17792
18005
|
name: request.name,
|
|
17793
18006
|
...resolveOneOf([{
|
|
17794
|
-
default: defaults.defaultOrganizationId,
|
|
17795
|
-
param: 'organization_id',
|
|
17796
|
-
value: request.organizationId
|
|
17797
|
-
}, {
|
|
17798
18007
|
default: defaults.defaultProjectId,
|
|
17799
18008
|
param: 'project_id',
|
|
17800
18009
|
value: request.projectId
|
|
18010
|
+
}, {
|
|
18011
|
+
default: defaults.defaultOrganizationId,
|
|
18012
|
+
param: 'organization_id',
|
|
18013
|
+
value: request.organizationId
|
|
17801
18014
|
}]),
|
|
17802
18015
|
...resolveOneOf([{
|
|
17803
18016
|
param: 'email_config',
|
|
@@ -17979,13 +18192,13 @@ const marshalZonedApiCreateFrontendRequest = (request, defaults) => ({
|
|
|
17979
18192
|
const marshalZonedApiCreateIpRequest = (request, defaults) => ({
|
|
17980
18193
|
reverse: request.reverse,
|
|
17981
18194
|
...resolveOneOf([{
|
|
17982
|
-
default: defaults.defaultOrganizationId,
|
|
17983
|
-
param: 'organization_id',
|
|
17984
|
-
value: request.organizationId
|
|
17985
|
-
}, {
|
|
17986
18195
|
default: defaults.defaultProjectId,
|
|
17987
18196
|
param: 'project_id',
|
|
17988
18197
|
value: request.projectId
|
|
18198
|
+
}, {
|
|
18199
|
+
default: defaults.defaultOrganizationId,
|
|
18200
|
+
param: 'organization_id',
|
|
18201
|
+
value: request.organizationId
|
|
17989
18202
|
}])
|
|
17990
18203
|
});
|
|
17991
18204
|
const marshalZonedApiCreateLbRequest = (request, defaults) => ({
|
|
@@ -17997,13 +18210,13 @@ const marshalZonedApiCreateLbRequest = (request, defaults) => ({
|
|
|
17997
18210
|
tags: request.tags,
|
|
17998
18211
|
type: request.type,
|
|
17999
18212
|
...resolveOneOf([{
|
|
18000
|
-
default: defaults.defaultOrganizationId,
|
|
18001
|
-
param: 'organization_id',
|
|
18002
|
-
value: request.organizationId
|
|
18003
|
-
}, {
|
|
18004
18213
|
default: defaults.defaultProjectId,
|
|
18005
18214
|
param: 'project_id',
|
|
18006
18215
|
value: request.projectId
|
|
18216
|
+
}, {
|
|
18217
|
+
default: defaults.defaultOrganizationId,
|
|
18218
|
+
param: 'organization_id',
|
|
18219
|
+
value: request.organizationId
|
|
18007
18220
|
}])
|
|
18008
18221
|
});
|
|
18009
18222
|
const marshalZonedApiCreateRouteRequest = (request, defaults) => ({
|
|
@@ -18014,13 +18227,13 @@ const marshalZonedApiCreateRouteRequest = (request, defaults) => ({
|
|
|
18014
18227
|
const marshalZonedApiCreateSubscriberRequest = (request, defaults) => ({
|
|
18015
18228
|
name: request.name,
|
|
18016
18229
|
...resolveOneOf([{
|
|
18017
|
-
default: defaults.defaultOrganizationId,
|
|
18018
|
-
param: 'organization_id',
|
|
18019
|
-
value: request.organizationId
|
|
18020
|
-
}, {
|
|
18021
18230
|
default: defaults.defaultProjectId,
|
|
18022
18231
|
param: 'project_id',
|
|
18023
18232
|
value: request.projectId
|
|
18233
|
+
}, {
|
|
18234
|
+
default: defaults.defaultOrganizationId,
|
|
18235
|
+
param: 'organization_id',
|
|
18236
|
+
value: request.organizationId
|
|
18024
18237
|
}]),
|
|
18025
18238
|
...resolveOneOf([{
|
|
18026
18239
|
param: 'email_config',
|
|
@@ -18157,7 +18370,7 @@ const jsonContentHeaders$c = {
|
|
|
18157
18370
|
*
|
|
18158
18371
|
* This API allows you to manage your Scaleway Load Balancer services.
|
|
18159
18372
|
*/
|
|
18160
|
-
class ZonedAPI extends API$
|
|
18373
|
+
class ZonedAPI extends API$w {
|
|
18161
18374
|
/** Lists the available zones of the API. */
|
|
18162
18375
|
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'];
|
|
18163
18376
|
pageOfListLbs = (request = {}) => this.client.fetch({
|
|
@@ -18960,7 +19173,7 @@ class ZonedAPI extends API$v {
|
|
|
18960
19173
|
*
|
|
18961
19174
|
* This API allows you to manage your load balancer service.
|
|
18962
19175
|
*/
|
|
18963
|
-
let API$d = class API extends API$
|
|
19176
|
+
let API$d = class API extends API$w {
|
|
18964
19177
|
/** Lists the available regions of the API. */
|
|
18965
19178
|
static LOCALITIES = ['fr-par', 'nl-ams', 'pl-waw'];
|
|
18966
19179
|
pageOfListLbs = (request = {}) => this.client.fetch({
|
|
@@ -19813,7 +20026,7 @@ const unmarshalListVersionsResponse$1 = data => {
|
|
|
19813
20026
|
// This file was automatically generated. DO NOT EDIT.
|
|
19814
20027
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
19815
20028
|
/** Marketplace API. */
|
|
19816
|
-
let API$c = class API extends API$
|
|
20029
|
+
let API$c = class API extends API$w {
|
|
19817
20030
|
pageOfListImages = (request = {}) => this.client.fetch({
|
|
19818
20031
|
method: 'GET',
|
|
19819
20032
|
path: `/marketplace/v1/images`,
|
|
@@ -19949,7 +20162,7 @@ const unmarshalListVersionsResponse = data => {
|
|
|
19949
20162
|
// This file was automatically generated. DO NOT EDIT.
|
|
19950
20163
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
19951
20164
|
/** Marketplace API. */
|
|
19952
|
-
let API$b = class API extends API$
|
|
20165
|
+
let API$b = class API extends API$w {
|
|
19953
20166
|
pageOfListImages = request => this.client.fetch({
|
|
19954
20167
|
method: 'GET',
|
|
19955
20168
|
path: `/marketplace/v2/images`,
|
|
@@ -20216,7 +20429,7 @@ const jsonContentHeaders$b = {
|
|
|
20216
20429
|
*
|
|
20217
20430
|
* This API allows you to manage Scaleway Messaging and Queueing brokers.
|
|
20218
20431
|
*/
|
|
20219
|
-
let API$a = class API extends API$
|
|
20432
|
+
let API$a = class API extends API$w {
|
|
20220
20433
|
/** Lists the available regions of the API. */
|
|
20221
20434
|
static LOCALITIES = ['fr-par'];
|
|
20222
20435
|
pageOfListNamespaces = (request = {}) => this.client.fetch({
|
|
@@ -20590,7 +20803,7 @@ const jsonContentHeaders$a = {
|
|
|
20590
20803
|
*
|
|
20591
20804
|
* This API allows you to manage Scaleway Messaging and Queueing NATS accounts.
|
|
20592
20805
|
*/
|
|
20593
|
-
class NatsAPI extends API$
|
|
20806
|
+
class NatsAPI extends API$w {
|
|
20594
20807
|
/** Lists the available regions of the API. */
|
|
20595
20808
|
static LOCALITIES = ['fr-par'];
|
|
20596
20809
|
|
|
@@ -20726,7 +20939,7 @@ class NatsAPI extends API$v {
|
|
|
20726
20939
|
*
|
|
20727
20940
|
* This API allows you to manage Scaleway Messaging and Queueing SNS brokers.
|
|
20728
20941
|
*/
|
|
20729
|
-
class SnsAPI extends API$
|
|
20942
|
+
class SnsAPI extends API$w {
|
|
20730
20943
|
/** Lists the available regions of the API. */
|
|
20731
20944
|
static LOCALITIES = ['fr-par'];
|
|
20732
20945
|
|
|
@@ -20848,7 +21061,7 @@ class SnsAPI extends API$v {
|
|
|
20848
21061
|
*
|
|
20849
21062
|
* This API allows you to manage Scaleway Messaging and Queueing SQS brokers.
|
|
20850
21063
|
*/
|
|
20851
|
-
class SqsAPI extends API$
|
|
21064
|
+
class SqsAPI extends API$w {
|
|
20852
21065
|
/** Lists the available regions of the API. */
|
|
20853
21066
|
static LOCALITIES = ['fr-par'];
|
|
20854
21067
|
|
|
@@ -21660,13 +21873,13 @@ const marshalCreateInstanceRequest = (request, defaults) => ({
|
|
|
21660
21873
|
volume_size: request.volumeSize,
|
|
21661
21874
|
volume_type: request.volumeType,
|
|
21662
21875
|
...resolveOneOf([{
|
|
21663
|
-
default: defaults.defaultOrganizationId,
|
|
21664
|
-
param: 'organization_id',
|
|
21665
|
-
value: request.organizationId
|
|
21666
|
-
}, {
|
|
21667
21876
|
default: defaults.defaultProjectId,
|
|
21668
21877
|
param: 'project_id',
|
|
21669
21878
|
value: request.projectId
|
|
21879
|
+
}, {
|
|
21880
|
+
default: defaults.defaultOrganizationId,
|
|
21881
|
+
param: 'organization_id',
|
|
21882
|
+
value: request.organizationId
|
|
21670
21883
|
}])
|
|
21671
21884
|
});
|
|
21672
21885
|
const marshalReadReplicaEndpointSpecPrivateNetworkIpamConfig = (request, defaults) => ({});
|
|
@@ -21797,7 +22010,7 @@ const jsonContentHeaders$9 = {
|
|
|
21797
22010
|
};
|
|
21798
22011
|
|
|
21799
22012
|
/** Managed Database for PostgreSQL and MySQL API. */
|
|
21800
|
-
let API$9 = class API extends API$
|
|
22013
|
+
let API$9 = class API extends API$w {
|
|
21801
22014
|
/** Lists the available regions of the API. */
|
|
21802
22015
|
static LOCALITIES = ['fr-par', 'nl-ams', 'pl-waw'];
|
|
21803
22016
|
pageOfListDatabaseEngines = (request = {}) => this.client.fetch({
|
|
@@ -23014,7 +23227,7 @@ const jsonContentHeaders$8 = {
|
|
|
23014
23227
|
};
|
|
23015
23228
|
|
|
23016
23229
|
/** Managed Database for Redis™ API. */
|
|
23017
|
-
let API$8 = class API extends API$
|
|
23230
|
+
let API$8 = class API extends API$w {
|
|
23018
23231
|
/** Lists the available zones of the API. */
|
|
23019
23232
|
static LOCALITIES = ['fr-par-1', 'fr-par-2', 'nl-ams-1', 'nl-ams-2', 'pl-waw-1', 'pl-waw-2'];
|
|
23020
23233
|
|
|
@@ -23484,13 +23697,13 @@ const marshalCreateNamespaceRequest = (request, defaults) => ({
|
|
|
23484
23697
|
is_public: request.isPublic,
|
|
23485
23698
|
name: request.name || randomName('ns'),
|
|
23486
23699
|
...resolveOneOf([{
|
|
23487
|
-
default: defaults.defaultOrganizationId,
|
|
23488
|
-
param: 'organization_id',
|
|
23489
|
-
value: request.organizationId
|
|
23490
|
-
}, {
|
|
23491
23700
|
default: defaults.defaultProjectId,
|
|
23492
23701
|
param: 'project_id',
|
|
23493
23702
|
value: request.projectId
|
|
23703
|
+
}, {
|
|
23704
|
+
default: defaults.defaultOrganizationId,
|
|
23705
|
+
param: 'organization_id',
|
|
23706
|
+
value: request.organizationId
|
|
23494
23707
|
}])
|
|
23495
23708
|
});
|
|
23496
23709
|
const marshalUpdateImageRequest = (request, defaults) => ({
|
|
@@ -23508,7 +23721,7 @@ const jsonContentHeaders$7 = {
|
|
|
23508
23721
|
};
|
|
23509
23722
|
|
|
23510
23723
|
/** Container Registry API. */
|
|
23511
|
-
let API$7 = class API extends API$
|
|
23724
|
+
let API$7 = class API extends API$w {
|
|
23512
23725
|
/** Lists the available regions of the API. */
|
|
23513
23726
|
static LOCALITIES = ['fr-par', 'nl-ams', 'pl-waw'];
|
|
23514
23727
|
pageOfListNamespaces = (request = {}) => this.client.fetch({
|
|
@@ -23740,7 +23953,8 @@ const unmarshalFolder = data => {
|
|
|
23740
23953
|
id: data.id,
|
|
23741
23954
|
name: data.name,
|
|
23742
23955
|
path: data.path,
|
|
23743
|
-
projectId: data.project_id
|
|
23956
|
+
projectId: data.project_id,
|
|
23957
|
+
region: data.region
|
|
23744
23958
|
};
|
|
23745
23959
|
};
|
|
23746
23960
|
const unmarshalSecretVersion = data => {
|
|
@@ -23891,7 +24105,7 @@ const jsonContentHeaders$6 = {
|
|
|
23891
24105
|
* Secret Manager API. This API allows you to conveniently store, access and
|
|
23892
24106
|
* share sensitive data.
|
|
23893
24107
|
*/
|
|
23894
|
-
let API$6 = class API extends API$
|
|
24108
|
+
let API$6 = class API extends API$w {
|
|
23895
24109
|
/** Lists the available regions of the API. */
|
|
23896
24110
|
static LOCALITIES = ['fr-par', 'nl-ams', 'pl-waw'];
|
|
23897
24111
|
|
|
@@ -24316,13 +24530,13 @@ const marshalCreateHumanRequest = (request, defaults) => ({
|
|
|
24316
24530
|
name: request.name,
|
|
24317
24531
|
shoe_size: request.shoeSize,
|
|
24318
24532
|
...resolveOneOf([{
|
|
24319
|
-
default: defaults.defaultOrganizationId,
|
|
24320
|
-
param: 'organization_id',
|
|
24321
|
-
value: request.organizationId
|
|
24322
|
-
}, {
|
|
24323
24533
|
default: defaults.defaultProjectId,
|
|
24324
24534
|
param: 'project_id',
|
|
24325
24535
|
value: request.projectId
|
|
24536
|
+
}, {
|
|
24537
|
+
default: defaults.defaultOrganizationId,
|
|
24538
|
+
param: 'organization_id',
|
|
24539
|
+
value: request.organizationId
|
|
24326
24540
|
}])
|
|
24327
24541
|
});
|
|
24328
24542
|
const marshalRegisterRequest = (request, defaults) => ({
|
|
@@ -24351,7 +24565,7 @@ const jsonContentHeaders$5 = {
|
|
|
24351
24565
|
*
|
|
24352
24566
|
* No Auth Service for end-to-end testing.
|
|
24353
24567
|
*/
|
|
24354
|
-
let API$5 = class API extends API$
|
|
24568
|
+
let API$5 = class API extends API$w {
|
|
24355
24569
|
/**
|
|
24356
24570
|
* Register a user. Register a human and return a access-key and a secret-key
|
|
24357
24571
|
* that must be used in all other commands.
|
|
@@ -24675,7 +24889,7 @@ const jsonContentHeaders$4 = {
|
|
|
24675
24889
|
};
|
|
24676
24890
|
|
|
24677
24891
|
/** Transactional Email API. */
|
|
24678
|
-
let API$4 = class API extends API$
|
|
24892
|
+
let API$4 = class API extends API$w {
|
|
24679
24893
|
/** Lists the available regions of the API. */
|
|
24680
24894
|
static LOCALITIES = ['fr-par'];
|
|
24681
24895
|
|
|
@@ -24916,7 +25130,7 @@ const jsonContentHeaders$3 = {
|
|
|
24916
25130
|
};
|
|
24917
25131
|
|
|
24918
25132
|
/** VPC API. */
|
|
24919
|
-
let API$3 = class API extends API$
|
|
25133
|
+
let API$3 = class API extends API$w {
|
|
24920
25134
|
/** Lists the available zones of the API. */
|
|
24921
25135
|
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'];
|
|
24922
25136
|
pageOfListPrivateNetworks = (request = {}) => this.client.fetch({
|
|
@@ -25136,7 +25350,7 @@ const jsonContentHeaders$2 = {
|
|
|
25136
25350
|
};
|
|
25137
25351
|
|
|
25138
25352
|
/** VPC API. */
|
|
25139
|
-
let API$2 = class API extends API$
|
|
25353
|
+
let API$2 = class API extends API$w {
|
|
25140
25354
|
/** Lists the available regions of the API. */
|
|
25141
25355
|
static LOCALITIES = ['fr-par', 'nl-ams', 'pl-waw'];
|
|
25142
25356
|
pageOfListVPCs = (request = {}) => this.client.fetch({
|
|
@@ -25733,7 +25947,7 @@ const jsonContentHeaders$1 = {
|
|
|
25733
25947
|
};
|
|
25734
25948
|
|
|
25735
25949
|
/** Public Gateways API. */
|
|
25736
|
-
let API$1 = class API extends API$
|
|
25950
|
+
let API$1 = class API extends API$w {
|
|
25737
25951
|
/** Lists the available zones of the API. */
|
|
25738
25952
|
static LOCALITIES = ['fr-par-1', 'fr-par-2', 'nl-ams-1', 'nl-ams-2', 'nl-ams-3', 'pl-waw-1', 'pl-waw-2'];
|
|
25739
25953
|
pageOfListGateways = (request = {}) => this.client.fetch({
|
|
@@ -26444,7 +26658,7 @@ const jsonContentHeaders = {
|
|
|
26444
26658
|
};
|
|
26445
26659
|
|
|
26446
26660
|
/** Web Hosting API. */
|
|
26447
|
-
class API extends API$
|
|
26661
|
+
class API extends API$w {
|
|
26448
26662
|
/** Lists the available regions of the API. */
|
|
26449
26663
|
static LOCALITIES = ['fr-par'];
|
|
26450
26664
|
|
|
@@ -26604,24 +26818,25 @@ var index = /*#__PURE__*/Object.freeze({
|
|
|
26604
26818
|
v1alpha1: index_gen
|
|
26605
26819
|
});
|
|
26606
26820
|
|
|
26607
|
-
exports.API = API$
|
|
26608
|
-
exports.Account = index$
|
|
26609
|
-
exports.AppleSilicon = index$
|
|
26610
|
-
exports.BareMetal = index$
|
|
26611
|
-
exports.Billing = index$
|
|
26612
|
-
exports.Block = index$
|
|
26613
|
-
exports.Cockpit = index$
|
|
26614
|
-
exports.Container = index$
|
|
26615
|
-
exports.DocumentDB = index$
|
|
26616
|
-
exports.Domain = index$
|
|
26617
|
-
exports.Errors = index$
|
|
26618
|
-
exports.FlexibleIP = index$
|
|
26619
|
-
exports.Function = index$
|
|
26620
|
-
exports.IAM = index$
|
|
26621
|
-
exports.IOT = index$
|
|
26622
|
-
exports.IPAM = index$
|
|
26623
|
-
exports.IPFS = index$
|
|
26624
|
-
exports.Instance = index$
|
|
26821
|
+
exports.API = API$w;
|
|
26822
|
+
exports.Account = index$x;
|
|
26823
|
+
exports.AppleSilicon = index$w;
|
|
26824
|
+
exports.BareMetal = index$u;
|
|
26825
|
+
exports.Billing = index$t;
|
|
26826
|
+
exports.Block = index$s;
|
|
26827
|
+
exports.Cockpit = index$r;
|
|
26828
|
+
exports.Container = index$q;
|
|
26829
|
+
exports.DocumentDB = index$p;
|
|
26830
|
+
exports.Domain = index$o;
|
|
26831
|
+
exports.Errors = index$y;
|
|
26832
|
+
exports.FlexibleIP = index$n;
|
|
26833
|
+
exports.Function = index$m;
|
|
26834
|
+
exports.IAM = index$l;
|
|
26835
|
+
exports.IOT = index$i;
|
|
26836
|
+
exports.IPAM = index$h;
|
|
26837
|
+
exports.IPFS = index$g;
|
|
26838
|
+
exports.Instance = index$j;
|
|
26839
|
+
exports.Jobs = index$f;
|
|
26625
26840
|
exports.K8S = index$d;
|
|
26626
26841
|
exports.LB = index$b;
|
|
26627
26842
|
exports.MNQ = index$9;
|