@scaleway/sdk 2.0.0-alpha.16 → 2.0.0-alpha.17
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/instance/v1/marshalling.gen.js +32 -32
- 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 +644 -426
- package/dist/index.d.ts +1224 -975
- 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.16';
|
|
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.
|
|
@@ -10959,12 +10959,12 @@ const marshalUpdateSSHKeyRequest = (request, defaults) => ({
|
|
|
10959
10959
|
|
|
10960
10960
|
// This file was automatically generated. DO NOT EDIT.
|
|
10961
10961
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
10962
|
-
const jsonContentHeaders$
|
|
10962
|
+
const jsonContentHeaders$j = {
|
|
10963
10963
|
'Content-Type': 'application/json; charset=utf-8'
|
|
10964
10964
|
};
|
|
10965
10965
|
|
|
10966
10966
|
/** IAM API. */
|
|
10967
|
-
let API$
|
|
10967
|
+
let API$k = class API extends API$w {
|
|
10968
10968
|
pageOfListSSHKeys = (request = {}) => this.client.fetch({
|
|
10969
10969
|
method: 'GET',
|
|
10970
10970
|
path: `/iam/v1alpha1/ssh-keys`,
|
|
@@ -10991,7 +10991,7 @@ let API$j = class API extends API$v {
|
|
|
10991
10991
|
*/
|
|
10992
10992
|
createSSHKey = request => this.client.fetch({
|
|
10993
10993
|
body: JSON.stringify(marshalCreateSSHKeyRequest(request, this.client.settings)),
|
|
10994
|
-
headers: jsonContentHeaders$
|
|
10994
|
+
headers: jsonContentHeaders$j,
|
|
10995
10995
|
method: 'POST',
|
|
10996
10996
|
path: `/iam/v1alpha1/ssh-keys`
|
|
10997
10997
|
}, unmarshalSSHKey);
|
|
@@ -11018,7 +11018,7 @@ let API$j = class API extends API$v {
|
|
|
11018
11018
|
*/
|
|
11019
11019
|
updateSSHKey = request => this.client.fetch({
|
|
11020
11020
|
body: JSON.stringify(marshalUpdateSSHKeyRequest(request, this.client.settings)),
|
|
11021
|
-
headers: jsonContentHeaders$
|
|
11021
|
+
headers: jsonContentHeaders$j,
|
|
11022
11022
|
method: 'PATCH',
|
|
11023
11023
|
path: `/iam/v1alpha1/ssh-keys/${validatePathParam('sshKeyId', request.sshKeyId)}`
|
|
11024
11024
|
}, unmarshalSSHKey);
|
|
@@ -11088,7 +11088,7 @@ let API$j = class API extends API$v {
|
|
|
11088
11088
|
*/
|
|
11089
11089
|
createUser = request => this.client.fetch({
|
|
11090
11090
|
body: JSON.stringify(marshalCreateUserRequest$1(request, this.client.settings)),
|
|
11091
|
-
headers: jsonContentHeaders$
|
|
11091
|
+
headers: jsonContentHeaders$j,
|
|
11092
11092
|
method: 'POST',
|
|
11093
11093
|
path: `/iam/v1alpha1/users`
|
|
11094
11094
|
}, unmarshalUser$1);
|
|
@@ -11120,7 +11120,7 @@ let API$j = class API extends API$v {
|
|
|
11120
11120
|
*/
|
|
11121
11121
|
createApplication = request => this.client.fetch({
|
|
11122
11122
|
body: JSON.stringify(marshalCreateApplicationRequest(request, this.client.settings)),
|
|
11123
|
-
headers: jsonContentHeaders$
|
|
11123
|
+
headers: jsonContentHeaders$j,
|
|
11124
11124
|
method: 'POST',
|
|
11125
11125
|
path: `/iam/v1alpha1/applications`
|
|
11126
11126
|
}, unmarshalApplication);
|
|
@@ -11148,7 +11148,7 @@ let API$j = class API extends API$v {
|
|
|
11148
11148
|
*/
|
|
11149
11149
|
updateApplication = request => this.client.fetch({
|
|
11150
11150
|
body: JSON.stringify(marshalUpdateApplicationRequest(request, this.client.settings)),
|
|
11151
|
-
headers: jsonContentHeaders$
|
|
11151
|
+
headers: jsonContentHeaders$j,
|
|
11152
11152
|
method: 'PATCH',
|
|
11153
11153
|
path: `/iam/v1alpha1/applications/${validatePathParam('applicationId', request.applicationId)}`
|
|
11154
11154
|
}, unmarshalApplication);
|
|
@@ -11192,7 +11192,7 @@ let API$j = class API extends API$v {
|
|
|
11192
11192
|
*/
|
|
11193
11193
|
createGroup = request => this.client.fetch({
|
|
11194
11194
|
body: JSON.stringify(marshalCreateGroupRequest(request, this.client.settings)),
|
|
11195
|
-
headers: jsonContentHeaders$
|
|
11195
|
+
headers: jsonContentHeaders$j,
|
|
11196
11196
|
method: 'POST',
|
|
11197
11197
|
path: `/iam/v1alpha1/groups`
|
|
11198
11198
|
}, unmarshalGroup);
|
|
@@ -11219,7 +11219,7 @@ let API$j = class API extends API$v {
|
|
|
11219
11219
|
*/
|
|
11220
11220
|
updateGroup = request => this.client.fetch({
|
|
11221
11221
|
body: JSON.stringify(marshalUpdateGroupRequest(request, this.client.settings)),
|
|
11222
|
-
headers: jsonContentHeaders$
|
|
11222
|
+
headers: jsonContentHeaders$j,
|
|
11223
11223
|
method: 'PATCH',
|
|
11224
11224
|
path: `/iam/v1alpha1/groups/${validatePathParam('groupId', request.groupId)}`
|
|
11225
11225
|
}, unmarshalGroup);
|
|
@@ -11234,7 +11234,7 @@ let API$j = class API extends API$v {
|
|
|
11234
11234
|
*/
|
|
11235
11235
|
setGroupMembers = request => this.client.fetch({
|
|
11236
11236
|
body: JSON.stringify(marshalSetGroupMembersRequest(request, this.client.settings)),
|
|
11237
|
-
headers: jsonContentHeaders$
|
|
11237
|
+
headers: jsonContentHeaders$j,
|
|
11238
11238
|
method: 'PUT',
|
|
11239
11239
|
path: `/iam/v1alpha1/groups/${validatePathParam('groupId', request.groupId)}/members`
|
|
11240
11240
|
}, unmarshalGroup);
|
|
@@ -11249,7 +11249,7 @@ let API$j = class API extends API$v {
|
|
|
11249
11249
|
*/
|
|
11250
11250
|
addGroupMember = request => this.client.fetch({
|
|
11251
11251
|
body: JSON.stringify(marshalAddGroupMemberRequest(request, this.client.settings)),
|
|
11252
|
-
headers: jsonContentHeaders$
|
|
11252
|
+
headers: jsonContentHeaders$j,
|
|
11253
11253
|
method: 'POST',
|
|
11254
11254
|
path: `/iam/v1alpha1/groups/${validatePathParam('groupId', request.groupId)}/add-member`
|
|
11255
11255
|
}, unmarshalGroup);
|
|
@@ -11267,7 +11267,7 @@ let API$j = class API extends API$v {
|
|
|
11267
11267
|
*/
|
|
11268
11268
|
addGroupMembers = request => this.client.fetch({
|
|
11269
11269
|
body: JSON.stringify(marshalAddGroupMembersRequest(request, this.client.settings)),
|
|
11270
|
-
headers: jsonContentHeaders$
|
|
11270
|
+
headers: jsonContentHeaders$j,
|
|
11271
11271
|
method: 'POST',
|
|
11272
11272
|
path: `/iam/v1alpha1/groups/${validatePathParam('groupId', request.groupId)}/add-members`
|
|
11273
11273
|
}, unmarshalGroup);
|
|
@@ -11286,7 +11286,7 @@ let API$j = class API extends API$v {
|
|
|
11286
11286
|
*/
|
|
11287
11287
|
removeGroupMember = request => this.client.fetch({
|
|
11288
11288
|
body: JSON.stringify(marshalRemoveGroupMemberRequest(request, this.client.settings)),
|
|
11289
|
-
headers: jsonContentHeaders$
|
|
11289
|
+
headers: jsonContentHeaders$j,
|
|
11290
11290
|
method: 'POST',
|
|
11291
11291
|
path: `/iam/v1alpha1/groups/${validatePathParam('groupId', request.groupId)}/remove-member`
|
|
11292
11292
|
}, unmarshalGroup);
|
|
@@ -11332,7 +11332,7 @@ let API$j = class API extends API$v {
|
|
|
11332
11332
|
*/
|
|
11333
11333
|
createPolicy = request => this.client.fetch({
|
|
11334
11334
|
body: JSON.stringify(marshalCreatePolicyRequest(request, this.client.settings)),
|
|
11335
|
-
headers: jsonContentHeaders$
|
|
11335
|
+
headers: jsonContentHeaders$j,
|
|
11336
11336
|
method: 'POST',
|
|
11337
11337
|
path: `/iam/v1alpha1/policies`
|
|
11338
11338
|
}, unmarshalPolicy);
|
|
@@ -11361,7 +11361,7 @@ let API$j = class API extends API$v {
|
|
|
11361
11361
|
*/
|
|
11362
11362
|
updatePolicy = request => this.client.fetch({
|
|
11363
11363
|
body: JSON.stringify(marshalUpdatePolicyRequest(request, this.client.settings)),
|
|
11364
|
-
headers: jsonContentHeaders$
|
|
11364
|
+
headers: jsonContentHeaders$j,
|
|
11365
11365
|
method: 'PATCH',
|
|
11366
11366
|
path: `/iam/v1alpha1/policies/${validatePathParam('policyId', request.policyId)}`
|
|
11367
11367
|
}, unmarshalPolicy);
|
|
@@ -11388,7 +11388,7 @@ let API$j = class API extends API$v {
|
|
|
11388
11388
|
*/
|
|
11389
11389
|
clonePolicy = request => this.client.fetch({
|
|
11390
11390
|
body: '{}',
|
|
11391
|
-
headers: jsonContentHeaders$
|
|
11391
|
+
headers: jsonContentHeaders$j,
|
|
11392
11392
|
method: 'POST',
|
|
11393
11393
|
path: `/iam/v1alpha1/policies/${validatePathParam('policyId', request.policyId)}/clone`
|
|
11394
11394
|
}, unmarshalPolicy);
|
|
@@ -11406,7 +11406,7 @@ let API$j = class API extends API$v {
|
|
|
11406
11406
|
*/
|
|
11407
11407
|
setRules = request => this.client.fetch({
|
|
11408
11408
|
body: JSON.stringify(marshalSetRulesRequest(request, this.client.settings)),
|
|
11409
|
-
headers: jsonContentHeaders$
|
|
11409
|
+
headers: jsonContentHeaders$j,
|
|
11410
11410
|
method: 'PUT',
|
|
11411
11411
|
path: `/iam/v1alpha1/rules`
|
|
11412
11412
|
}, unmarshalSetRulesResponse);
|
|
@@ -11477,7 +11477,7 @@ let API$j = class API extends API$v {
|
|
|
11477
11477
|
*/
|
|
11478
11478
|
createAPIKey = request => this.client.fetch({
|
|
11479
11479
|
body: JSON.stringify(marshalCreateAPIKeyRequest(request, this.client.settings)),
|
|
11480
|
-
headers: jsonContentHeaders$
|
|
11480
|
+
headers: jsonContentHeaders$j,
|
|
11481
11481
|
method: 'POST',
|
|
11482
11482
|
path: `/iam/v1alpha1/api-keys`
|
|
11483
11483
|
}, unmarshalAPIKey);
|
|
@@ -11507,7 +11507,7 @@ let API$j = class API extends API$v {
|
|
|
11507
11507
|
*/
|
|
11508
11508
|
updateAPIKey = request => this.client.fetch({
|
|
11509
11509
|
body: JSON.stringify(marshalUpdateAPIKeyRequest(request, this.client.settings)),
|
|
11510
|
-
headers: jsonContentHeaders$
|
|
11510
|
+
headers: jsonContentHeaders$j,
|
|
11511
11511
|
method: 'PATCH',
|
|
11512
11512
|
path: `/iam/v1alpha1/api-keys/${validatePathParam('accessKey', request.accessKey)}`
|
|
11513
11513
|
}, unmarshalAPIKey);
|
|
@@ -11815,7 +11815,7 @@ const UpdateSSHKeyRequest = {
|
|
|
11815
11815
|
}
|
|
11816
11816
|
};
|
|
11817
11817
|
|
|
11818
|
-
var validationRules_gen$
|
|
11818
|
+
var validationRules_gen$6 = /*#__PURE__*/Object.freeze({
|
|
11819
11819
|
__proto__: null,
|
|
11820
11820
|
CreateAPIKeyRequest: CreateAPIKeyRequest,
|
|
11821
11821
|
CreateApplicationRequest: CreateApplicationRequest,
|
|
@@ -11844,15 +11844,15 @@ var validationRules_gen$5 = /*#__PURE__*/Object.freeze({
|
|
|
11844
11844
|
// This file was automatically generated. DO NOT EDIT.
|
|
11845
11845
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
11846
11846
|
|
|
11847
|
-
var index_gen$
|
|
11847
|
+
var index_gen$j = /*#__PURE__*/Object.freeze({
|
|
11848
11848
|
__proto__: null,
|
|
11849
|
-
API: API$
|
|
11850
|
-
ValidationRules: validationRules_gen$
|
|
11849
|
+
API: API$k,
|
|
11850
|
+
ValidationRules: validationRules_gen$6
|
|
11851
11851
|
});
|
|
11852
11852
|
|
|
11853
|
-
var index$
|
|
11853
|
+
var index$l = /*#__PURE__*/Object.freeze({
|
|
11854
11854
|
__proto__: null,
|
|
11855
|
-
v1alpha1: index_gen$
|
|
11855
|
+
v1alpha1: index_gen$j
|
|
11856
11856
|
});
|
|
11857
11857
|
|
|
11858
11858
|
// This file was automatically generated. DO NOT EDIT.
|
|
@@ -12766,13 +12766,13 @@ const marshalVolumeTemplate = (request, defaults) => ({
|
|
|
12766
12766
|
size: request.size,
|
|
12767
12767
|
volume_type: request.volumeType,
|
|
12768
12768
|
...resolveOneOf([{
|
|
12769
|
-
default: defaults.defaultOrganizationId,
|
|
12770
|
-
param: 'organization',
|
|
12771
|
-
value: request.organization
|
|
12772
|
-
}, {
|
|
12773
12769
|
default: defaults.defaultProjectId,
|
|
12774
12770
|
param: 'project',
|
|
12775
12771
|
value: request.project
|
|
12772
|
+
}, {
|
|
12773
|
+
default: defaults.defaultOrganizationId,
|
|
12774
|
+
param: 'organization',
|
|
12775
|
+
value: request.organization
|
|
12776
12776
|
}])
|
|
12777
12777
|
});
|
|
12778
12778
|
const marshalCreateImageRequest = (request, defaults) => ({
|
|
@@ -12787,13 +12787,13 @@ const marshalCreateImageRequest = (request, defaults) => ({
|
|
|
12787
12787
|
root_volume: request.rootVolume,
|
|
12788
12788
|
tags: request.tags,
|
|
12789
12789
|
...resolveOneOf([{
|
|
12790
|
-
default: defaults.defaultOrganizationId,
|
|
12791
|
-
param: 'organization',
|
|
12792
|
-
value: request.organization
|
|
12793
|
-
}, {
|
|
12794
12790
|
default: defaults.defaultProjectId,
|
|
12795
12791
|
param: 'project',
|
|
12796
12792
|
value: request.project
|
|
12793
|
+
}, {
|
|
12794
|
+
default: defaults.defaultOrganizationId,
|
|
12795
|
+
param: 'organization',
|
|
12796
|
+
value: request.organization
|
|
12797
12797
|
}])
|
|
12798
12798
|
});
|
|
12799
12799
|
const marshalCreateIpRequest$1 = (request, defaults) => ({
|
|
@@ -12801,13 +12801,13 @@ const marshalCreateIpRequest$1 = (request, defaults) => ({
|
|
|
12801
12801
|
tags: request.tags,
|
|
12802
12802
|
type: request.type,
|
|
12803
12803
|
...resolveOneOf([{
|
|
12804
|
-
default: defaults.defaultOrganizationId,
|
|
12805
|
-
param: 'organization',
|
|
12806
|
-
value: request.organization
|
|
12807
|
-
}, {
|
|
12808
12804
|
default: defaults.defaultProjectId,
|
|
12809
12805
|
param: 'project',
|
|
12810
12806
|
value: request.project
|
|
12807
|
+
}, {
|
|
12808
|
+
default: defaults.defaultOrganizationId,
|
|
12809
|
+
param: 'organization',
|
|
12810
|
+
value: request.organization
|
|
12811
12811
|
}])
|
|
12812
12812
|
});
|
|
12813
12813
|
const marshalCreatePlacementGroupRequest = (request, defaults) => ({
|
|
@@ -12816,13 +12816,13 @@ const marshalCreatePlacementGroupRequest = (request, defaults) => ({
|
|
|
12816
12816
|
policy_type: request.policyType,
|
|
12817
12817
|
tags: request.tags,
|
|
12818
12818
|
...resolveOneOf([{
|
|
12819
|
-
default: defaults.defaultOrganizationId,
|
|
12820
|
-
param: 'organization',
|
|
12821
|
-
value: request.organization
|
|
12822
|
-
}, {
|
|
12823
12819
|
default: defaults.defaultProjectId,
|
|
12824
12820
|
param: 'project',
|
|
12825
12821
|
value: request.project
|
|
12822
|
+
}, {
|
|
12823
|
+
default: defaults.defaultOrganizationId,
|
|
12824
|
+
param: 'organization',
|
|
12825
|
+
value: request.organization
|
|
12826
12826
|
}])
|
|
12827
12827
|
});
|
|
12828
12828
|
const marshalCreatePrivateNICRequest = (request, defaults) => ({
|
|
@@ -12839,13 +12839,13 @@ const marshalCreateSecurityGroupRequest = (request, defaults) => ({
|
|
|
12839
12839
|
stateful: request.stateful,
|
|
12840
12840
|
tags: request.tags,
|
|
12841
12841
|
...resolveOneOf([{
|
|
12842
|
-
default: defaults.defaultOrganizationId,
|
|
12843
|
-
param: 'organization',
|
|
12844
|
-
value: request.organization
|
|
12845
|
-
}, {
|
|
12846
12842
|
default: defaults.defaultProjectId,
|
|
12847
12843
|
param: 'project',
|
|
12848
12844
|
value: request.project
|
|
12845
|
+
}, {
|
|
12846
|
+
default: defaults.defaultOrganizationId,
|
|
12847
|
+
param: 'organization',
|
|
12848
|
+
value: request.organization
|
|
12849
12849
|
}]),
|
|
12850
12850
|
...resolveOneOf([{
|
|
12851
12851
|
param: 'organization_default',
|
|
@@ -12894,13 +12894,13 @@ const marshalCreateServerRequest = (request, defaults) => ({
|
|
|
12894
12894
|
[key]: marshalVolumeServerTemplate(value, defaults)
|
|
12895
12895
|
}), {}) : undefined,
|
|
12896
12896
|
...resolveOneOf([{
|
|
12897
|
-
default: defaults.defaultOrganizationId,
|
|
12898
|
-
param: 'organization',
|
|
12899
|
-
value: request.organization
|
|
12900
|
-
}, {
|
|
12901
12897
|
default: defaults.defaultProjectId,
|
|
12902
12898
|
param: 'project',
|
|
12903
12899
|
value: request.project
|
|
12900
|
+
}, {
|
|
12901
|
+
default: defaults.defaultOrganizationId,
|
|
12902
|
+
param: 'organization',
|
|
12903
|
+
value: request.organization
|
|
12904
12904
|
}])
|
|
12905
12905
|
});
|
|
12906
12906
|
const marshalCreateSnapshotRequest$1 = (request, defaults) => ({
|
|
@@ -12912,13 +12912,13 @@ const marshalCreateSnapshotRequest$1 = (request, defaults) => ({
|
|
|
12912
12912
|
volume_id: request.volumeId,
|
|
12913
12913
|
volume_type: request.volumeType,
|
|
12914
12914
|
...resolveOneOf([{
|
|
12915
|
-
default: defaults.defaultOrganizationId,
|
|
12916
|
-
param: 'organization',
|
|
12917
|
-
value: request.organization
|
|
12918
|
-
}, {
|
|
12919
12915
|
default: defaults.defaultProjectId,
|
|
12920
12916
|
param: 'project',
|
|
12921
12917
|
value: request.project
|
|
12918
|
+
}, {
|
|
12919
|
+
default: defaults.defaultOrganizationId,
|
|
12920
|
+
param: 'organization',
|
|
12921
|
+
value: request.organization
|
|
12922
12922
|
}])
|
|
12923
12923
|
});
|
|
12924
12924
|
const marshalCreateVolumeRequest$1 = (request, defaults) => ({
|
|
@@ -12926,13 +12926,13 @@ const marshalCreateVolumeRequest$1 = (request, defaults) => ({
|
|
|
12926
12926
|
tags: request.tags,
|
|
12927
12927
|
volume_type: request.volumeType,
|
|
12928
12928
|
...resolveOneOf([{
|
|
12929
|
-
default: defaults.defaultOrganizationId,
|
|
12930
|
-
param: 'organization',
|
|
12931
|
-
value: request.organization
|
|
12932
|
-
}, {
|
|
12933
12929
|
default: defaults.defaultProjectId,
|
|
12934
12930
|
param: 'project',
|
|
12935
12931
|
value: request.project
|
|
12932
|
+
}, {
|
|
12933
|
+
default: defaults.defaultOrganizationId,
|
|
12934
|
+
param: 'organization',
|
|
12935
|
+
value: request.organization
|
|
12936
12936
|
}]),
|
|
12937
12937
|
...resolveOneOf([{
|
|
12938
12938
|
param: 'size',
|
|
@@ -13248,12 +13248,12 @@ const marshalUpdateVolumeRequest$1 = (request, defaults) => ({
|
|
|
13248
13248
|
|
|
13249
13249
|
// This file was automatically generated. DO NOT EDIT.
|
|
13250
13250
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
13251
|
-
const jsonContentHeaders$
|
|
13251
|
+
const jsonContentHeaders$i = {
|
|
13252
13252
|
'Content-Type': 'application/json; charset=utf-8'
|
|
13253
13253
|
};
|
|
13254
13254
|
|
|
13255
13255
|
/** Instance API. */
|
|
13256
|
-
let API$
|
|
13256
|
+
let API$j = class API extends API$w {
|
|
13257
13257
|
/** Lists the available zones of the API. */
|
|
13258
13258
|
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
13259
|
|
|
@@ -13309,7 +13309,7 @@ let API$i = class API extends API$v {
|
|
|
13309
13309
|
listServers = (request = {}) => enrichForPagination('servers', this.pageOfListServers, request);
|
|
13310
13310
|
_createServer = request => this.client.fetch({
|
|
13311
13311
|
body: JSON.stringify(marshalCreateServerRequest(request, this.client.settings)),
|
|
13312
|
-
headers: jsonContentHeaders$
|
|
13312
|
+
headers: jsonContentHeaders$i,
|
|
13313
13313
|
method: 'POST',
|
|
13314
13314
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers`
|
|
13315
13315
|
}, unmarshalCreateServerResponse);
|
|
@@ -13336,13 +13336,13 @@ let API$i = class API extends API$v {
|
|
|
13336
13336
|
}, unmarshalGetServerResponse);
|
|
13337
13337
|
_setServer = request => this.client.fetch({
|
|
13338
13338
|
body: JSON.stringify(marshalSetServerRequest(request, this.client.settings)),
|
|
13339
|
-
headers: jsonContentHeaders$
|
|
13339
|
+
headers: jsonContentHeaders$i,
|
|
13340
13340
|
method: 'PUT',
|
|
13341
13341
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('id', request.id)}`
|
|
13342
13342
|
}, unmarshalSetServerResponse);
|
|
13343
13343
|
_updateServer = request => this.client.fetch({
|
|
13344
13344
|
body: JSON.stringify(marshalUpdateServerRequest(request, this.client.settings)),
|
|
13345
|
-
headers: jsonContentHeaders$
|
|
13345
|
+
headers: jsonContentHeaders$i,
|
|
13346
13346
|
method: 'PATCH',
|
|
13347
13347
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}`
|
|
13348
13348
|
}, unmarshalUpdateServerResponse);
|
|
@@ -13380,7 +13380,7 @@ let API$i = class API extends API$v {
|
|
|
13380
13380
|
*/
|
|
13381
13381
|
serverAction = request => this.client.fetch({
|
|
13382
13382
|
body: JSON.stringify(marshalServerActionRequest(request, this.client.settings)),
|
|
13383
|
-
headers: jsonContentHeaders$
|
|
13383
|
+
headers: jsonContentHeaders$i,
|
|
13384
13384
|
method: 'POST',
|
|
13385
13385
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/action`
|
|
13386
13386
|
}, unmarshalServerActionResponse);
|
|
@@ -13439,13 +13439,13 @@ let API$i = class API extends API$v {
|
|
|
13439
13439
|
*/
|
|
13440
13440
|
createImage = request => this.client.fetch({
|
|
13441
13441
|
body: JSON.stringify(marshalCreateImageRequest(request, this.client.settings)),
|
|
13442
|
-
headers: jsonContentHeaders$
|
|
13442
|
+
headers: jsonContentHeaders$i,
|
|
13443
13443
|
method: 'POST',
|
|
13444
13444
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/images`
|
|
13445
13445
|
}, unmarshalCreateImageResponse);
|
|
13446
13446
|
_setImage = request => this.client.fetch({
|
|
13447
13447
|
body: JSON.stringify(marshalSetImageRequest(request, this.client.settings)),
|
|
13448
|
-
headers: jsonContentHeaders$
|
|
13448
|
+
headers: jsonContentHeaders$i,
|
|
13449
13449
|
method: 'PUT',
|
|
13450
13450
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/images/${validatePathParam('id', request.id)}`
|
|
13451
13451
|
}, unmarshalSetImageResponse);
|
|
@@ -13484,7 +13484,7 @@ let API$i = class API extends API$v {
|
|
|
13484
13484
|
*/
|
|
13485
13485
|
createSnapshot = (request = {}) => this.client.fetch({
|
|
13486
13486
|
body: JSON.stringify(marshalCreateSnapshotRequest$1(request, this.client.settings)),
|
|
13487
|
-
headers: jsonContentHeaders$
|
|
13487
|
+
headers: jsonContentHeaders$i,
|
|
13488
13488
|
method: 'POST',
|
|
13489
13489
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/snapshots`
|
|
13490
13490
|
}, unmarshalCreateSnapshotResponse);
|
|
@@ -13501,7 +13501,7 @@ let API$i = class API extends API$v {
|
|
|
13501
13501
|
}, unmarshalGetSnapshotResponse);
|
|
13502
13502
|
_setSnapshot = request => this.client.fetch({
|
|
13503
13503
|
body: JSON.stringify(marshalSetSnapshotRequest(request, this.client.settings)),
|
|
13504
|
-
headers: jsonContentHeaders$
|
|
13504
|
+
headers: jsonContentHeaders$i,
|
|
13505
13505
|
method: 'PUT',
|
|
13506
13506
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/snapshots/${validatePathParam('snapshotId', request.snapshotId)}`
|
|
13507
13507
|
}, unmarshalSetSnapshotResponse);
|
|
@@ -13525,7 +13525,7 @@ let API$i = class API extends API$v {
|
|
|
13525
13525
|
*/
|
|
13526
13526
|
exportSnapshot = request => this.client.fetch({
|
|
13527
13527
|
body: JSON.stringify(marshalExportSnapshotRequest(request, this.client.settings)),
|
|
13528
|
-
headers: jsonContentHeaders$
|
|
13528
|
+
headers: jsonContentHeaders$i,
|
|
13529
13529
|
method: 'POST',
|
|
13530
13530
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/snapshots/${validatePathParam('snapshotId', request.snapshotId)}/export`
|
|
13531
13531
|
}, unmarshalExportSnapshotResponse);
|
|
@@ -13553,7 +13553,7 @@ let API$i = class API extends API$v {
|
|
|
13553
13553
|
*/
|
|
13554
13554
|
createVolume = (request = {}) => this.client.fetch({
|
|
13555
13555
|
body: JSON.stringify(marshalCreateVolumeRequest$1(request, this.client.settings)),
|
|
13556
|
-
headers: jsonContentHeaders$
|
|
13556
|
+
headers: jsonContentHeaders$i,
|
|
13557
13557
|
method: 'POST',
|
|
13558
13558
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/volumes`
|
|
13559
13559
|
}, unmarshalCreateVolumeResponse);
|
|
@@ -13579,7 +13579,7 @@ let API$i = class API extends API$v {
|
|
|
13579
13579
|
*/
|
|
13580
13580
|
updateVolume = request => this.client.fetch({
|
|
13581
13581
|
body: JSON.stringify(marshalUpdateVolumeRequest$1(request, this.client.settings)),
|
|
13582
|
-
headers: jsonContentHeaders$
|
|
13582
|
+
headers: jsonContentHeaders$i,
|
|
13583
13583
|
method: 'PATCH',
|
|
13584
13584
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/volumes/${validatePathParam('volumeId', request.volumeId)}`
|
|
13585
13585
|
}, unmarshalUpdateVolumeResponse);
|
|
@@ -13616,7 +13616,7 @@ let API$i = class API extends API$v {
|
|
|
13616
13616
|
*/
|
|
13617
13617
|
createSecurityGroup = request => this.client.fetch({
|
|
13618
13618
|
body: JSON.stringify(marshalCreateSecurityGroupRequest(request, this.client.settings)),
|
|
13619
|
-
headers: jsonContentHeaders$
|
|
13619
|
+
headers: jsonContentHeaders$i,
|
|
13620
13620
|
method: 'POST',
|
|
13621
13621
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/security_groups`
|
|
13622
13622
|
}, unmarshalCreateSecurityGroupResponse);
|
|
@@ -13644,7 +13644,7 @@ let API$i = class API extends API$v {
|
|
|
13644
13644
|
});
|
|
13645
13645
|
_setSecurityGroup = request => this.client.fetch({
|
|
13646
13646
|
body: JSON.stringify(marshalSetSecurityGroupRequest(request, this.client.settings)),
|
|
13647
|
-
headers: jsonContentHeaders$
|
|
13647
|
+
headers: jsonContentHeaders$i,
|
|
13648
13648
|
method: 'PUT',
|
|
13649
13649
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/security_groups/${validatePathParam('id', request.id)}`
|
|
13650
13650
|
}, unmarshalSetSecurityGroupResponse);
|
|
@@ -13682,7 +13682,7 @@ let API$i = class API extends API$v {
|
|
|
13682
13682
|
*/
|
|
13683
13683
|
createSecurityGroupRule = request => this.client.fetch({
|
|
13684
13684
|
body: JSON.stringify(marshalCreateSecurityGroupRuleRequest(request, this.client.settings)),
|
|
13685
|
-
headers: jsonContentHeaders$
|
|
13685
|
+
headers: jsonContentHeaders$i,
|
|
13686
13686
|
method: 'POST',
|
|
13687
13687
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/security_groups/${validatePathParam('securityGroupId', request.securityGroupId)}/rules`
|
|
13688
13688
|
}, unmarshalCreateSecurityGroupRuleResponse);
|
|
@@ -13698,7 +13698,7 @@ let API$i = class API extends API$v {
|
|
|
13698
13698
|
*/
|
|
13699
13699
|
setSecurityGroupRules = request => this.client.fetch({
|
|
13700
13700
|
body: JSON.stringify(marshalSetSecurityGroupRulesRequest(request, this.client.settings)),
|
|
13701
|
-
headers: jsonContentHeaders$
|
|
13701
|
+
headers: jsonContentHeaders$i,
|
|
13702
13702
|
method: 'PUT',
|
|
13703
13703
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/security_groups/${validatePathParam('securityGroupId', request.securityGroupId)}/rules`
|
|
13704
13704
|
}, unmarshalSetSecurityGroupRulesResponse);
|
|
@@ -13725,7 +13725,7 @@ let API$i = class API extends API$v {
|
|
|
13725
13725
|
}, unmarshalGetSecurityGroupRuleResponse);
|
|
13726
13726
|
_setSecurityGroupRule = request => this.client.fetch({
|
|
13727
13727
|
body: JSON.stringify(marshalSetSecurityGroupRuleRequest(request, this.client.settings)),
|
|
13728
|
-
headers: jsonContentHeaders$
|
|
13728
|
+
headers: jsonContentHeaders$i,
|
|
13729
13729
|
method: 'PUT',
|
|
13730
13730
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/security_groups/${validatePathParam('securityGroupId', request.securityGroupId)}/rules/${validatePathParam('securityGroupRuleId', request.securityGroupRuleId)}`
|
|
13731
13731
|
}, unmarshalSetSecurityGroupRuleResponse);
|
|
@@ -13753,7 +13753,7 @@ let API$i = class API extends API$v {
|
|
|
13753
13753
|
*/
|
|
13754
13754
|
createPlacementGroup = (request = {}) => this.client.fetch({
|
|
13755
13755
|
body: JSON.stringify(marshalCreatePlacementGroupRequest(request, this.client.settings)),
|
|
13756
|
-
headers: jsonContentHeaders$
|
|
13756
|
+
headers: jsonContentHeaders$i,
|
|
13757
13757
|
method: 'POST',
|
|
13758
13758
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/placement_groups`
|
|
13759
13759
|
}, unmarshalCreatePlacementGroupResponse);
|
|
@@ -13777,7 +13777,7 @@ let API$i = class API extends API$v {
|
|
|
13777
13777
|
*/
|
|
13778
13778
|
setPlacementGroup = request => this.client.fetch({
|
|
13779
13779
|
body: JSON.stringify(marshalSetPlacementGroupRequest(request, this.client.settings)),
|
|
13780
|
-
headers: jsonContentHeaders$
|
|
13780
|
+
headers: jsonContentHeaders$i,
|
|
13781
13781
|
method: 'PUT',
|
|
13782
13782
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/placement_groups/${validatePathParam('placementGroupId', request.placementGroupId)}`
|
|
13783
13783
|
}, unmarshalSetPlacementGroupResponse);
|
|
@@ -13791,7 +13791,7 @@ let API$i = class API extends API$v {
|
|
|
13791
13791
|
*/
|
|
13792
13792
|
updatePlacementGroup = request => this.client.fetch({
|
|
13793
13793
|
body: JSON.stringify(marshalUpdatePlacementGroupRequest(request, this.client.settings)),
|
|
13794
|
-
headers: jsonContentHeaders$
|
|
13794
|
+
headers: jsonContentHeaders$i,
|
|
13795
13795
|
method: 'PATCH',
|
|
13796
13796
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/placement_groups/${validatePathParam('placementGroupId', request.placementGroupId)}`
|
|
13797
13797
|
}, unmarshalUpdatePlacementGroupResponse);
|
|
@@ -13827,7 +13827,7 @@ let API$i = class API extends API$v {
|
|
|
13827
13827
|
*/
|
|
13828
13828
|
setPlacementGroupServers = request => this.client.fetch({
|
|
13829
13829
|
body: JSON.stringify(marshalSetPlacementGroupServersRequest(request, this.client.settings)),
|
|
13830
|
-
headers: jsonContentHeaders$
|
|
13830
|
+
headers: jsonContentHeaders$i,
|
|
13831
13831
|
method: 'PUT',
|
|
13832
13832
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/placement_groups/${validatePathParam('placementGroupId', request.placementGroupId)}/servers`
|
|
13833
13833
|
}, unmarshalSetPlacementGroupServersResponse);
|
|
@@ -13841,7 +13841,7 @@ let API$i = class API extends API$v {
|
|
|
13841
13841
|
*/
|
|
13842
13842
|
updatePlacementGroupServers = request => this.client.fetch({
|
|
13843
13843
|
body: JSON.stringify(marshalUpdatePlacementGroupServersRequest(request, this.client.settings)),
|
|
13844
|
-
headers: jsonContentHeaders$
|
|
13844
|
+
headers: jsonContentHeaders$i,
|
|
13845
13845
|
method: 'PATCH',
|
|
13846
13846
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/placement_groups/${validatePathParam('placementGroupId', request.placementGroupId)}/servers`
|
|
13847
13847
|
}, unmarshalUpdatePlacementGroupServersResponse);
|
|
@@ -13868,7 +13868,7 @@ let API$i = class API extends API$v {
|
|
|
13868
13868
|
*/
|
|
13869
13869
|
createIp = (request = {}) => this.client.fetch({
|
|
13870
13870
|
body: JSON.stringify(marshalCreateIpRequest$1(request, this.client.settings)),
|
|
13871
|
-
headers: jsonContentHeaders$
|
|
13871
|
+
headers: jsonContentHeaders$i,
|
|
13872
13872
|
method: 'POST',
|
|
13873
13873
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/ips`
|
|
13874
13874
|
}, unmarshalCreateIpResponse);
|
|
@@ -13893,7 +13893,7 @@ let API$i = class API extends API$v {
|
|
|
13893
13893
|
*/
|
|
13894
13894
|
updateIp = request => this.client.fetch({
|
|
13895
13895
|
body: JSON.stringify(marshalUpdateIpRequest$1(request, this.client.settings)),
|
|
13896
|
-
headers: jsonContentHeaders$
|
|
13896
|
+
headers: jsonContentHeaders$i,
|
|
13897
13897
|
method: 'PATCH',
|
|
13898
13898
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/ips/${validatePathParam('ip', request.ip)}`
|
|
13899
13899
|
}, unmarshalUpdateIpResponse);
|
|
@@ -13929,7 +13929,7 @@ let API$i = class API extends API$v {
|
|
|
13929
13929
|
*/
|
|
13930
13930
|
createPrivateNIC = request => this.client.fetch({
|
|
13931
13931
|
body: JSON.stringify(marshalCreatePrivateNICRequest(request, this.client.settings)),
|
|
13932
|
-
headers: jsonContentHeaders$
|
|
13932
|
+
headers: jsonContentHeaders$i,
|
|
13933
13933
|
method: 'POST',
|
|
13934
13934
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/private_nics`
|
|
13935
13935
|
}, unmarshalCreatePrivateNICResponse);
|
|
@@ -13954,7 +13954,7 @@ let API$i = class API extends API$v {
|
|
|
13954
13954
|
*/
|
|
13955
13955
|
updatePrivateNIC = request => this.client.fetch({
|
|
13956
13956
|
body: JSON.stringify(marshalUpdatePrivateNICRequest(request, this.client.settings)),
|
|
13957
|
-
headers: jsonContentHeaders$
|
|
13957
|
+
headers: jsonContentHeaders$i,
|
|
13958
13958
|
method: 'PATCH',
|
|
13959
13959
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/private_nics/${validatePathParam('privateNicId', request.privateNicId)}`
|
|
13960
13960
|
}, unmarshalPrivateNIC);
|
|
@@ -14014,7 +14014,7 @@ let API$i = class API extends API$v {
|
|
|
14014
14014
|
*/
|
|
14015
14015
|
planBlockMigration = (request = {}) => this.client.fetch({
|
|
14016
14016
|
body: JSON.stringify(marshalPlanBlockMigrationRequest(request, this.client.settings)),
|
|
14017
|
-
headers: jsonContentHeaders$
|
|
14017
|
+
headers: jsonContentHeaders$i,
|
|
14018
14018
|
method: 'POST',
|
|
14019
14019
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/block-migration/plan`
|
|
14020
14020
|
}, unmarshalMigrationPlan);
|
|
@@ -14029,7 +14029,7 @@ let API$i = class API extends API$v {
|
|
|
14029
14029
|
*/
|
|
14030
14030
|
applyBlockMigration = request => this.client.fetch({
|
|
14031
14031
|
body: JSON.stringify(marshalApplyBlockMigrationRequest(request, this.client.settings)),
|
|
14032
|
-
headers: jsonContentHeaders$
|
|
14032
|
+
headers: jsonContentHeaders$i,
|
|
14033
14033
|
method: 'POST',
|
|
14034
14034
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/block-migration/apply`
|
|
14035
14035
|
});
|
|
@@ -14131,7 +14131,7 @@ const validateNotUndefined = obj => {
|
|
|
14131
14131
|
if (obj === undefined) throw new TypeError(`object was found undefined`);
|
|
14132
14132
|
return obj;
|
|
14133
14133
|
};
|
|
14134
|
-
class InstanceV1UtilsAPI extends API$
|
|
14134
|
+
class InstanceV1UtilsAPI extends API$j {
|
|
14135
14135
|
/**
|
|
14136
14136
|
* Waits for {@link Image} to be in a final state.
|
|
14137
14137
|
*
|
|
@@ -14488,7 +14488,7 @@ class InstanceV1UtilsAPI extends API$i {
|
|
|
14488
14488
|
});
|
|
14489
14489
|
}
|
|
14490
14490
|
|
|
14491
|
-
var index$
|
|
14491
|
+
var index$k = /*#__PURE__*/Object.freeze({
|
|
14492
14492
|
__proto__: null,
|
|
14493
14493
|
API: InstanceV1UtilsAPI,
|
|
14494
14494
|
IMAGE_TRANSIENT_STATUSES: IMAGE_TRANSIENT_STATUSES$1,
|
|
@@ -14503,9 +14503,9 @@ var index$j = /*#__PURE__*/Object.freeze({
|
|
|
14503
14503
|
VOLUME_TRANSIENT_STATUSES: VOLUME_TRANSIENT_STATUSES
|
|
14504
14504
|
});
|
|
14505
14505
|
|
|
14506
|
-
var index$
|
|
14506
|
+
var index$j = /*#__PURE__*/Object.freeze({
|
|
14507
14507
|
__proto__: null,
|
|
14508
|
-
v1: index$
|
|
14508
|
+
v1: index$k
|
|
14509
14509
|
});
|
|
14510
14510
|
|
|
14511
14511
|
// This file was automatically generated. DO NOT EDIT.
|
|
@@ -14949,7 +14949,7 @@ const marshalUpdateRouteRequest$1 = (request, defaults) => ({
|
|
|
14949
14949
|
|
|
14950
14950
|
// This file was automatically generated. DO NOT EDIT.
|
|
14951
14951
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
14952
|
-
const jsonContentHeaders$
|
|
14952
|
+
const jsonContentHeaders$h = {
|
|
14953
14953
|
'Content-Type': 'application/json; charset=utf-8'
|
|
14954
14954
|
};
|
|
14955
14955
|
|
|
@@ -14958,7 +14958,7 @@ const jsonContentHeaders$g = {
|
|
|
14958
14958
|
*
|
|
14959
14959
|
* This API allows you to manage IoT hubs and devices.
|
|
14960
14960
|
*/
|
|
14961
|
-
let API$
|
|
14961
|
+
let API$i = class API extends API$w {
|
|
14962
14962
|
/** Lists the available regions of the API. */
|
|
14963
14963
|
static LOCALITIES = ['fr-par'];
|
|
14964
14964
|
pageOfListHubs = (request = {}) => this.client.fetch({
|
|
@@ -14986,7 +14986,7 @@ let API$h = class API extends API$v {
|
|
|
14986
14986
|
*/
|
|
14987
14987
|
createHub = request => this.client.fetch({
|
|
14988
14988
|
body: JSON.stringify(marshalCreateHubRequest(request, this.client.settings)),
|
|
14989
|
-
headers: jsonContentHeaders$
|
|
14989
|
+
headers: jsonContentHeaders$h,
|
|
14990
14990
|
method: 'POST',
|
|
14991
14991
|
path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/hubs`
|
|
14992
14992
|
}, unmarshalHub);
|
|
@@ -15022,7 +15022,7 @@ let API$h = class API extends API$v {
|
|
|
15022
15022
|
*/
|
|
15023
15023
|
updateHub = request => this.client.fetch({
|
|
15024
15024
|
body: JSON.stringify(marshalUpdateHubRequest(request, this.client.settings)),
|
|
15025
|
-
headers: jsonContentHeaders$
|
|
15025
|
+
headers: jsonContentHeaders$h,
|
|
15026
15026
|
method: 'PATCH',
|
|
15027
15027
|
path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/hubs/${validatePathParam('hubId', request.hubId)}`
|
|
15028
15028
|
}, unmarshalHub);
|
|
@@ -15035,7 +15035,7 @@ let API$h = class API extends API$v {
|
|
|
15035
15035
|
*/
|
|
15036
15036
|
enableHub = request => this.client.fetch({
|
|
15037
15037
|
body: '{}',
|
|
15038
|
-
headers: jsonContentHeaders$
|
|
15038
|
+
headers: jsonContentHeaders$h,
|
|
15039
15039
|
method: 'POST',
|
|
15040
15040
|
path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/hubs/${validatePathParam('hubId', request.hubId)}/enable`
|
|
15041
15041
|
}, unmarshalHub);
|
|
@@ -15048,7 +15048,7 @@ let API$h = class API extends API$v {
|
|
|
15048
15048
|
*/
|
|
15049
15049
|
disableHub = request => this.client.fetch({
|
|
15050
15050
|
body: '{}',
|
|
15051
|
-
headers: jsonContentHeaders$
|
|
15051
|
+
headers: jsonContentHeaders$h,
|
|
15052
15052
|
method: 'POST',
|
|
15053
15053
|
path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/hubs/${validatePathParam('hubId', request.hubId)}/disable`
|
|
15054
15054
|
}, unmarshalHub);
|
|
@@ -15088,7 +15088,7 @@ let API$h = class API extends API$v {
|
|
|
15088
15088
|
*/
|
|
15089
15089
|
setHubCA = request => this.client.fetch({
|
|
15090
15090
|
body: JSON.stringify(marshalSetHubCARequest(request, this.client.settings)),
|
|
15091
|
-
headers: jsonContentHeaders$
|
|
15091
|
+
headers: jsonContentHeaders$h,
|
|
15092
15092
|
method: 'POST',
|
|
15093
15093
|
path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/hubs/${validatePathParam('hubId', request.hubId)}/ca`
|
|
15094
15094
|
}, unmarshalHub);
|
|
@@ -15128,7 +15128,7 @@ let API$h = class API extends API$v {
|
|
|
15128
15128
|
*/
|
|
15129
15129
|
createDevice = request => this.client.fetch({
|
|
15130
15130
|
body: JSON.stringify(marshalCreateDeviceRequest(request, this.client.settings)),
|
|
15131
|
-
headers: jsonContentHeaders$
|
|
15131
|
+
headers: jsonContentHeaders$h,
|
|
15132
15132
|
method: 'POST',
|
|
15133
15133
|
path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/devices`
|
|
15134
15134
|
}, unmarshalCreateDeviceResponse);
|
|
@@ -15155,7 +15155,7 @@ let API$h = class API extends API$v {
|
|
|
15155
15155
|
*/
|
|
15156
15156
|
updateDevice = request => this.client.fetch({
|
|
15157
15157
|
body: JSON.stringify(marshalUpdateDeviceRequest(request, this.client.settings)),
|
|
15158
|
-
headers: jsonContentHeaders$
|
|
15158
|
+
headers: jsonContentHeaders$h,
|
|
15159
15159
|
method: 'PATCH',
|
|
15160
15160
|
path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/devices/${validatePathParam('deviceId', request.deviceId)}`
|
|
15161
15161
|
}, unmarshalDevice);
|
|
@@ -15168,7 +15168,7 @@ let API$h = class API extends API$v {
|
|
|
15168
15168
|
*/
|
|
15169
15169
|
enableDevice = request => this.client.fetch({
|
|
15170
15170
|
body: '{}',
|
|
15171
|
-
headers: jsonContentHeaders$
|
|
15171
|
+
headers: jsonContentHeaders$h,
|
|
15172
15172
|
method: 'POST',
|
|
15173
15173
|
path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/devices/${validatePathParam('deviceId', request.deviceId)}/enable`
|
|
15174
15174
|
}, unmarshalDevice);
|
|
@@ -15181,7 +15181,7 @@ let API$h = class API extends API$v {
|
|
|
15181
15181
|
*/
|
|
15182
15182
|
disableDevice = request => this.client.fetch({
|
|
15183
15183
|
body: '{}',
|
|
15184
|
-
headers: jsonContentHeaders$
|
|
15184
|
+
headers: jsonContentHeaders$h,
|
|
15185
15185
|
method: 'POST',
|
|
15186
15186
|
path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/devices/${validatePathParam('deviceId', request.deviceId)}/disable`
|
|
15187
15187
|
}, unmarshalDevice);
|
|
@@ -15195,7 +15195,7 @@ let API$h = class API extends API$v {
|
|
|
15195
15195
|
*/
|
|
15196
15196
|
renewDeviceCertificate = request => this.client.fetch({
|
|
15197
15197
|
body: '{}',
|
|
15198
|
-
headers: jsonContentHeaders$
|
|
15198
|
+
headers: jsonContentHeaders$h,
|
|
15199
15199
|
method: 'POST',
|
|
15200
15200
|
path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/devices/${validatePathParam('deviceId', request.deviceId)}/renew-certificate`
|
|
15201
15201
|
}, unmarshalRenewDeviceCertificateResponse);
|
|
@@ -15209,7 +15209,7 @@ let API$h = class API extends API$v {
|
|
|
15209
15209
|
*/
|
|
15210
15210
|
setDeviceCertificate = request => this.client.fetch({
|
|
15211
15211
|
body: JSON.stringify(marshalSetDeviceCertificateRequest(request, this.client.settings)),
|
|
15212
|
-
headers: jsonContentHeaders$
|
|
15212
|
+
headers: jsonContentHeaders$h,
|
|
15213
15213
|
method: 'PUT',
|
|
15214
15214
|
path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/devices/${validatePathParam('deviceId', request.deviceId)}/certificate`
|
|
15215
15215
|
}, unmarshalSetDeviceCertificateResponse);
|
|
@@ -15284,7 +15284,7 @@ let API$h = class API extends API$v {
|
|
|
15284
15284
|
*/
|
|
15285
15285
|
createRoute = request => this.client.fetch({
|
|
15286
15286
|
body: JSON.stringify(marshalCreateRouteRequest$1(request, this.client.settings)),
|
|
15287
|
-
headers: jsonContentHeaders$
|
|
15287
|
+
headers: jsonContentHeaders$h,
|
|
15288
15288
|
method: 'POST',
|
|
15289
15289
|
path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/routes`
|
|
15290
15290
|
}, unmarshalRoute$1);
|
|
@@ -15298,7 +15298,7 @@ let API$h = class API extends API$v {
|
|
|
15298
15298
|
*/
|
|
15299
15299
|
updateRoute = request => this.client.fetch({
|
|
15300
15300
|
body: JSON.stringify(marshalUpdateRouteRequest$1(request, this.client.settings)),
|
|
15301
|
-
headers: jsonContentHeaders$
|
|
15301
|
+
headers: jsonContentHeaders$h,
|
|
15302
15302
|
method: 'PATCH',
|
|
15303
15303
|
path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/routes/${validatePathParam('routeId', request.routeId)}`
|
|
15304
15304
|
}, unmarshalRoute$1);
|
|
@@ -15350,7 +15350,7 @@ let API$h = class API extends API$v {
|
|
|
15350
15350
|
*/
|
|
15351
15351
|
createNetwork = request => this.client.fetch({
|
|
15352
15352
|
body: JSON.stringify(marshalCreateNetworkRequest(request, this.client.settings)),
|
|
15353
|
-
headers: jsonContentHeaders$
|
|
15353
|
+
headers: jsonContentHeaders$h,
|
|
15354
15354
|
method: 'POST',
|
|
15355
15355
|
path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/networks`
|
|
15356
15356
|
}, unmarshalCreateNetworkResponse);
|
|
@@ -15398,7 +15398,7 @@ let API$h = class API extends API$v {
|
|
|
15398
15398
|
*/
|
|
15399
15399
|
putTwinDocument = request => this.client.fetch({
|
|
15400
15400
|
body: JSON.stringify(marshalPutTwinDocumentRequest(request, this.client.settings)),
|
|
15401
|
-
headers: jsonContentHeaders$
|
|
15401
|
+
headers: jsonContentHeaders$h,
|
|
15402
15402
|
method: 'PUT',
|
|
15403
15403
|
path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/twins/${validatePathParam('twinId', request.twinId)}/documents/${validatePathParam('documentName', request.documentName)}`
|
|
15404
15404
|
}, unmarshalTwinDocument);
|
|
@@ -15411,7 +15411,7 @@ let API$h = class API extends API$v {
|
|
|
15411
15411
|
*/
|
|
15412
15412
|
patchTwinDocument = request => this.client.fetch({
|
|
15413
15413
|
body: JSON.stringify(marshalPatchTwinDocumentRequest(request, this.client.settings)),
|
|
15414
|
-
headers: jsonContentHeaders$
|
|
15414
|
+
headers: jsonContentHeaders$h,
|
|
15415
15415
|
method: 'PATCH',
|
|
15416
15416
|
path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/twins/${validatePathParam('twinId', request.twinId)}/documents/${validatePathParam('documentName', request.documentName)}`
|
|
15417
15417
|
}, unmarshalTwinDocument);
|
|
@@ -15451,15 +15451,15 @@ let API$h = class API extends API$v {
|
|
|
15451
15451
|
// This file was automatically generated. DO NOT EDIT.
|
|
15452
15452
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
15453
15453
|
|
|
15454
|
-
var index_gen$
|
|
15454
|
+
var index_gen$i = /*#__PURE__*/Object.freeze({
|
|
15455
15455
|
__proto__: null,
|
|
15456
|
-
API: API$
|
|
15456
|
+
API: API$i,
|
|
15457
15457
|
HUB_TRANSIENT_STATUSES: HUB_TRANSIENT_STATUSES
|
|
15458
15458
|
});
|
|
15459
15459
|
|
|
15460
|
-
var index$
|
|
15460
|
+
var index$i = /*#__PURE__*/Object.freeze({
|
|
15461
15461
|
__proto__: null,
|
|
15462
|
-
v1: index_gen$
|
|
15462
|
+
v1: index_gen$i
|
|
15463
15463
|
});
|
|
15464
15464
|
|
|
15465
15465
|
// This file was automatically generated. DO NOT EDIT.
|
|
@@ -15537,7 +15537,7 @@ const marshalUpdateIPRequest$1 = (request, defaults) => ({
|
|
|
15537
15537
|
|
|
15538
15538
|
// This file was automatically generated. DO NOT EDIT.
|
|
15539
15539
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
15540
|
-
const jsonContentHeaders$
|
|
15540
|
+
const jsonContentHeaders$g = {
|
|
15541
15541
|
'Content-Type': 'application/json; charset=utf-8'
|
|
15542
15542
|
};
|
|
15543
15543
|
|
|
@@ -15547,7 +15547,7 @@ const jsonContentHeaders$f = {
|
|
|
15547
15547
|
* This API allows you to manage IP addresses with Scaleway's IP Address
|
|
15548
15548
|
* Management tool.
|
|
15549
15549
|
*/
|
|
15550
|
-
let API$
|
|
15550
|
+
let API$h = class API extends API$w {
|
|
15551
15551
|
/** Lists the available regions of the API. */
|
|
15552
15552
|
static LOCALITIES = ['fr-par', 'nl-ams', 'pl-waw'];
|
|
15553
15553
|
|
|
@@ -15560,7 +15560,7 @@ let API$g = class API extends API$v {
|
|
|
15560
15560
|
*/
|
|
15561
15561
|
bookIP = request => this.client.fetch({
|
|
15562
15562
|
body: JSON.stringify(marshalBookIPRequest(request, this.client.settings)),
|
|
15563
|
-
headers: jsonContentHeaders$
|
|
15563
|
+
headers: jsonContentHeaders$g,
|
|
15564
15564
|
method: 'POST',
|
|
15565
15565
|
path: `/ipam/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/ips`
|
|
15566
15566
|
}, unmarshalIP$1);
|
|
@@ -15573,7 +15573,7 @@ let API$g = class API extends API$v {
|
|
|
15573
15573
|
*/
|
|
15574
15574
|
releaseIP = request => this.client.fetch({
|
|
15575
15575
|
body: '{}',
|
|
15576
|
-
headers: jsonContentHeaders$
|
|
15576
|
+
headers: jsonContentHeaders$g,
|
|
15577
15577
|
method: 'DELETE',
|
|
15578
15578
|
path: `/ipam/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/ips/${validatePathParam('ipId', request.ipId)}`
|
|
15579
15579
|
});
|
|
@@ -15597,7 +15597,7 @@ let API$g = class API extends API$v {
|
|
|
15597
15597
|
*/
|
|
15598
15598
|
updateIP = request => this.client.fetch({
|
|
15599
15599
|
body: JSON.stringify(marshalUpdateIPRequest$1(request, this.client.settings)),
|
|
15600
|
-
headers: jsonContentHeaders$
|
|
15600
|
+
headers: jsonContentHeaders$g,
|
|
15601
15601
|
method: 'PATCH',
|
|
15602
15602
|
path: `/ipam/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/ips/${validatePathParam('ipId', request.ipId)}`
|
|
15603
15603
|
}, unmarshalIP$1);
|
|
@@ -15636,7 +15636,7 @@ const ListIPsRequest = {
|
|
|
15636
15636
|
}
|
|
15637
15637
|
};
|
|
15638
15638
|
|
|
15639
|
-
var validationRules_gen$
|
|
15639
|
+
var validationRules_gen$5 = /*#__PURE__*/Object.freeze({
|
|
15640
15640
|
__proto__: null,
|
|
15641
15641
|
ListIPsRequest: ListIPsRequest
|
|
15642
15642
|
});
|
|
@@ -15644,15 +15644,15 @@ var validationRules_gen$4 = /*#__PURE__*/Object.freeze({
|
|
|
15644
15644
|
// This file was automatically generated. DO NOT EDIT.
|
|
15645
15645
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
15646
15646
|
|
|
15647
|
-
var index_gen$
|
|
15647
|
+
var index_gen$h = /*#__PURE__*/Object.freeze({
|
|
15648
15648
|
__proto__: null,
|
|
15649
|
-
API: API$
|
|
15650
|
-
ValidationRules: validationRules_gen$
|
|
15649
|
+
API: API$h,
|
|
15650
|
+
ValidationRules: validationRules_gen$5
|
|
15651
15651
|
});
|
|
15652
15652
|
|
|
15653
|
-
var index$
|
|
15653
|
+
var index$h = /*#__PURE__*/Object.freeze({
|
|
15654
15654
|
__proto__: null,
|
|
15655
|
-
v1: index_gen$
|
|
15655
|
+
v1: index_gen$h
|
|
15656
15656
|
});
|
|
15657
15657
|
|
|
15658
15658
|
// This file was automatically generated. DO NOT EDIT.
|
|
@@ -15835,12 +15835,12 @@ const marshalUpdateVolumeRequest = (request, defaults) => ({
|
|
|
15835
15835
|
|
|
15836
15836
|
// This file was automatically generated. DO NOT EDIT.
|
|
15837
15837
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
15838
|
-
const jsonContentHeaders$
|
|
15838
|
+
const jsonContentHeaders$f = {
|
|
15839
15839
|
'Content-Type': 'application/json; charset=utf-8'
|
|
15840
15840
|
};
|
|
15841
15841
|
|
|
15842
15842
|
/** IPFS Pinning service API. */
|
|
15843
|
-
let API$
|
|
15843
|
+
let API$g = class API extends API$w {
|
|
15844
15844
|
/** Lists the available regions of the API. */
|
|
15845
15845
|
static LOCALITIES = ['fr-par', 'nl-ams', 'pl-waw'];
|
|
15846
15846
|
|
|
@@ -15856,7 +15856,7 @@ let API$f = class API extends API$v {
|
|
|
15856
15856
|
*/
|
|
15857
15857
|
createVolume = request => this.client.fetch({
|
|
15858
15858
|
body: JSON.stringify(marshalCreateVolumeRequest(request, this.client.settings)),
|
|
15859
|
-
headers: jsonContentHeaders$
|
|
15859
|
+
headers: jsonContentHeaders$f,
|
|
15860
15860
|
method: 'POST',
|
|
15861
15861
|
path: `/ipfs/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/volumes`
|
|
15862
15862
|
}, unmarshalVolume$1);
|
|
@@ -15895,7 +15895,7 @@ let API$f = class API extends API$v {
|
|
|
15895
15895
|
*/
|
|
15896
15896
|
updateVolume = request => this.client.fetch({
|
|
15897
15897
|
body: JSON.stringify(marshalUpdateVolumeRequest(request, this.client.settings)),
|
|
15898
|
-
headers: jsonContentHeaders$
|
|
15898
|
+
headers: jsonContentHeaders$f,
|
|
15899
15899
|
method: 'PATCH',
|
|
15900
15900
|
path: `/ipfs/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/volumes/${validatePathParam('volumeId', request.volumeId)}`
|
|
15901
15901
|
}, unmarshalVolume$1);
|
|
@@ -15926,7 +15926,7 @@ let API$f = class API extends API$v {
|
|
|
15926
15926
|
*/
|
|
15927
15927
|
createPinByURL = request => this.client.fetch({
|
|
15928
15928
|
body: JSON.stringify(marshalCreatePinByURLRequest(request, this.client.settings)),
|
|
15929
|
-
headers: jsonContentHeaders$
|
|
15929
|
+
headers: jsonContentHeaders$f,
|
|
15930
15930
|
method: 'POST',
|
|
15931
15931
|
path: `/ipfs/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/pins/create-by-url`
|
|
15932
15932
|
}, unmarshalPin);
|
|
@@ -15945,13 +15945,13 @@ let API$f = class API extends API$v {
|
|
|
15945
15945
|
*/
|
|
15946
15946
|
createPinByCID = request => this.client.fetch({
|
|
15947
15947
|
body: JSON.stringify(marshalCreatePinByCIDRequest(request, this.client.settings)),
|
|
15948
|
-
headers: jsonContentHeaders$
|
|
15948
|
+
headers: jsonContentHeaders$f,
|
|
15949
15949
|
method: 'POST',
|
|
15950
15950
|
path: `/ipfs/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/pins/create-by-cid`
|
|
15951
15951
|
}, unmarshalPin);
|
|
15952
15952
|
replacePin = request => this.client.fetch({
|
|
15953
15953
|
body: JSON.stringify(marshalReplacePinRequest(request, this.client.settings)),
|
|
15954
|
-
headers: jsonContentHeaders$
|
|
15954
|
+
headers: jsonContentHeaders$f,
|
|
15955
15955
|
method: 'POST',
|
|
15956
15956
|
path: `/ipfs/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/pins/${validatePathParam('pinId', request.pinId)}/replace`
|
|
15957
15957
|
}, unmarshalReplacePinResponse);
|
|
@@ -16007,7 +16007,7 @@ let API$f = class API extends API$v {
|
|
|
16007
16007
|
};
|
|
16008
16008
|
|
|
16009
16009
|
/** IPFS Naming service API. */
|
|
16010
|
-
class IpnsAPI extends API$
|
|
16010
|
+
class IpnsAPI extends API$w {
|
|
16011
16011
|
/** Lists the available regions of the API. */
|
|
16012
16012
|
static LOCALITIES = ['fr-par', 'nl-ams', 'pl-waw'];
|
|
16013
16013
|
|
|
@@ -16020,7 +16020,7 @@ class IpnsAPI extends API$v {
|
|
|
16020
16020
|
*/
|
|
16021
16021
|
createName = request => this.client.fetch({
|
|
16022
16022
|
body: JSON.stringify(marshalIpnsApiCreateNameRequest(request, this.client.settings)),
|
|
16023
|
-
headers: jsonContentHeaders$
|
|
16023
|
+
headers: jsonContentHeaders$f,
|
|
16024
16024
|
method: 'POST',
|
|
16025
16025
|
path: `/ipfs/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/names`
|
|
16026
16026
|
}, unmarshalName);
|
|
@@ -16077,7 +16077,7 @@ class IpnsAPI extends API$v {
|
|
|
16077
16077
|
*/
|
|
16078
16078
|
updateName = request => this.client.fetch({
|
|
16079
16079
|
body: JSON.stringify(marshalIpnsApiUpdateNameRequest(request, this.client.settings)),
|
|
16080
|
-
headers: jsonContentHeaders$
|
|
16080
|
+
headers: jsonContentHeaders$f,
|
|
16081
16081
|
method: 'PATCH',
|
|
16082
16082
|
path: `/ipfs/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/names/${validatePathParam('nameId', request.nameId)}`
|
|
16083
16083
|
}, unmarshalName);
|
|
@@ -16101,7 +16101,7 @@ class IpnsAPI extends API$v {
|
|
|
16101
16101
|
*/
|
|
16102
16102
|
importKeyName = request => this.client.fetch({
|
|
16103
16103
|
body: JSON.stringify(marshalIpnsApiImportKeyNameRequest(request, this.client.settings)),
|
|
16104
|
-
headers: jsonContentHeaders$
|
|
16104
|
+
headers: jsonContentHeaders$f,
|
|
16105
16105
|
method: 'POST',
|
|
16106
16106
|
path: `/ipfs/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/names/import-key`
|
|
16107
16107
|
}, unmarshalName);
|
|
@@ -16110,14 +16110,230 @@ class IpnsAPI extends API$v {
|
|
|
16110
16110
|
// This file was automatically generated. DO NOT EDIT.
|
|
16111
16111
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
16112
16112
|
|
|
16113
|
-
var index_gen$
|
|
16113
|
+
var index_gen$g = /*#__PURE__*/Object.freeze({
|
|
16114
16114
|
__proto__: null,
|
|
16115
|
-
API: API$
|
|
16115
|
+
API: API$g,
|
|
16116
16116
|
IpnsAPI: IpnsAPI,
|
|
16117
16117
|
NAME_TRANSIENT_STATUSES: NAME_TRANSIENT_STATUSES,
|
|
16118
16118
|
PIN_TRANSIENT_STATUSES: PIN_TRANSIENT_STATUSES
|
|
16119
16119
|
});
|
|
16120
16120
|
|
|
16121
|
+
var index$g = /*#__PURE__*/Object.freeze({
|
|
16122
|
+
__proto__: null,
|
|
16123
|
+
v1alpha1: index_gen$g
|
|
16124
|
+
});
|
|
16125
|
+
|
|
16126
|
+
// This file was automatically generated. DO NOT EDIT.
|
|
16127
|
+
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
16128
|
+
const unmarshalJobDefinition = data => {
|
|
16129
|
+
if (!isJSONObject(data)) {
|
|
16130
|
+
throw new TypeError(`Unmarshalling the type 'JobDefinition' failed as data isn't a dictionary.`);
|
|
16131
|
+
}
|
|
16132
|
+
return {
|
|
16133
|
+
command: data.command,
|
|
16134
|
+
cpuLimit: data.cpu_limit,
|
|
16135
|
+
createdAt: unmarshalDate(data.created_at),
|
|
16136
|
+
description: data.description,
|
|
16137
|
+
environmentVariables: data.environment_variables,
|
|
16138
|
+
imageUri: data.image_uri,
|
|
16139
|
+
jobDefinitionId: data.job_definition_id,
|
|
16140
|
+
jobTimeout: data.job_timeout,
|
|
16141
|
+
memoryLimit: data.memory_limit,
|
|
16142
|
+
name: data.name,
|
|
16143
|
+
projectId: data.project_id,
|
|
16144
|
+
region: data.region,
|
|
16145
|
+
updatedAt: unmarshalDate(data.updated_at)
|
|
16146
|
+
};
|
|
16147
|
+
};
|
|
16148
|
+
const unmarshalJobRun = data => {
|
|
16149
|
+
if (!isJSONObject(data)) {
|
|
16150
|
+
throw new TypeError(`Unmarshalling the type 'JobRun' failed as data isn't a dictionary.`);
|
|
16151
|
+
}
|
|
16152
|
+
return {
|
|
16153
|
+
createdAt: unmarshalDate(data.created_at),
|
|
16154
|
+
errorMessage: data.error_message,
|
|
16155
|
+
exitCode: data.exit_code,
|
|
16156
|
+
jobDefinitionId: data.job_definition_id,
|
|
16157
|
+
jobRunId: data.job_run_id,
|
|
16158
|
+
region: data.region,
|
|
16159
|
+
runDuration: data.run_duration,
|
|
16160
|
+
state: data.state,
|
|
16161
|
+
terminatedAt: unmarshalDate(data.terminated_at),
|
|
16162
|
+
updatedAt: unmarshalDate(data.updated_at)
|
|
16163
|
+
};
|
|
16164
|
+
};
|
|
16165
|
+
const unmarshalListJobDefinitionsResponse = data => {
|
|
16166
|
+
if (!isJSONObject(data)) {
|
|
16167
|
+
throw new TypeError(`Unmarshalling the type 'ListJobDefinitionsResponse' failed as data isn't a dictionary.`);
|
|
16168
|
+
}
|
|
16169
|
+
return {
|
|
16170
|
+
jobDefinitions: unmarshalArrayOfObject(data.job_definitions, unmarshalJobDefinition),
|
|
16171
|
+
totalCount: data.total_count
|
|
16172
|
+
};
|
|
16173
|
+
};
|
|
16174
|
+
const unmarshalListJobRunsResponse = data => {
|
|
16175
|
+
if (!isJSONObject(data)) {
|
|
16176
|
+
throw new TypeError(`Unmarshalling the type 'ListJobRunsResponse' failed as data isn't a dictionary.`);
|
|
16177
|
+
}
|
|
16178
|
+
return {
|
|
16179
|
+
jobRuns: unmarshalArrayOfObject(data.job_runs, unmarshalJobRun),
|
|
16180
|
+
totalCount: data.total_count
|
|
16181
|
+
};
|
|
16182
|
+
};
|
|
16183
|
+
const marshalCreateJobDefinitionRequest = (request, defaults) => ({
|
|
16184
|
+
command: request.command,
|
|
16185
|
+
cpu_limit: request.cpuLimit,
|
|
16186
|
+
description: request.description,
|
|
16187
|
+
environment_variables: request.environmentVariables !== undefined ? request.environmentVariables : undefined,
|
|
16188
|
+
image_uri: request.imageUri,
|
|
16189
|
+
job_timeout: request.jobTimeout,
|
|
16190
|
+
memory_limit: request.memoryLimit,
|
|
16191
|
+
name: request.name || randomName('job'),
|
|
16192
|
+
project_id: request.projectId ?? defaults.defaultProjectId
|
|
16193
|
+
});
|
|
16194
|
+
const marshalUpdateJobDefinitionRequest = (request, defaults) => ({
|
|
16195
|
+
command: request.command,
|
|
16196
|
+
cpu_limit: request.cpuLimit,
|
|
16197
|
+
description: request.description,
|
|
16198
|
+
environment_variables: request.environmentVariables,
|
|
16199
|
+
image_uri: request.imageUri,
|
|
16200
|
+
job_timeout: request.jobTimeout,
|
|
16201
|
+
memory_limit: request.memoryLimit,
|
|
16202
|
+
name: request.name
|
|
16203
|
+
});
|
|
16204
|
+
|
|
16205
|
+
// This file was automatically generated. DO NOT EDIT.
|
|
16206
|
+
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
16207
|
+
const jsonContentHeaders$e = {
|
|
16208
|
+
'Content-Type': 'application/json; charset=utf-8'
|
|
16209
|
+
};
|
|
16210
|
+
|
|
16211
|
+
/** Serverless Jobs API. */
|
|
16212
|
+
let API$f = class API extends API$w {
|
|
16213
|
+
/** Lists the available regions of the API. */
|
|
16214
|
+
static LOCALITIES = ['fr-par', 'nl-ams', 'pl-waw'];
|
|
16215
|
+
getServiceInfo = (request = {}) => this.client.fetch({
|
|
16216
|
+
method: 'GET',
|
|
16217
|
+
path: `/serverless-jobs/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}`
|
|
16218
|
+
}, unmarshalServiceInfo);
|
|
16219
|
+
createJobDefinition = request => this.client.fetch({
|
|
16220
|
+
body: JSON.stringify(marshalCreateJobDefinitionRequest(request, this.client.settings)),
|
|
16221
|
+
headers: jsonContentHeaders$e,
|
|
16222
|
+
method: 'POST',
|
|
16223
|
+
path: `/serverless-jobs/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/job-definitions`
|
|
16224
|
+
}, unmarshalJobDefinition);
|
|
16225
|
+
getJobDefinition = request => this.client.fetch({
|
|
16226
|
+
method: 'GET',
|
|
16227
|
+
path: `/serverless-jobs/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/job-definitions/${validatePathParam('jobDefinitionId', request.jobDefinitionId)}`
|
|
16228
|
+
}, unmarshalJobDefinition);
|
|
16229
|
+
pageOfListJobDefinitions = (request = {}) => this.client.fetch({
|
|
16230
|
+
method: 'GET',
|
|
16231
|
+
path: `/serverless-jobs/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/job-definitions`,
|
|
16232
|
+
urlParams: urlParams(['order_by', request.orderBy], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['project_id', request.projectId])
|
|
16233
|
+
}, unmarshalListJobDefinitionsResponse);
|
|
16234
|
+
listJobDefinitions = (request = {}) => enrichForPagination('jobDefinitions', this.pageOfListJobDefinitions, request);
|
|
16235
|
+
updateJobDefinition = request => this.client.fetch({
|
|
16236
|
+
body: JSON.stringify(marshalUpdateJobDefinitionRequest(request, this.client.settings)),
|
|
16237
|
+
headers: jsonContentHeaders$e,
|
|
16238
|
+
method: 'PATCH',
|
|
16239
|
+
path: `/serverless-jobs/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/job-definitions/${validatePathParam('jobDefinitionId', request.jobDefinitionId)}`
|
|
16240
|
+
}, unmarshalJobDefinition);
|
|
16241
|
+
deleteJobDefinition = request => this.client.fetch({
|
|
16242
|
+
method: 'DELETE',
|
|
16243
|
+
path: `/serverless-jobs/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/job-definitions/${validatePathParam('jobDefinitionId', request.jobDefinitionId)}`
|
|
16244
|
+
});
|
|
16245
|
+
startJobDefinition = request => this.client.fetch({
|
|
16246
|
+
body: '{}',
|
|
16247
|
+
headers: jsonContentHeaders$e,
|
|
16248
|
+
method: 'POST',
|
|
16249
|
+
path: `/serverless-jobs/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/job-definitions/${validatePathParam('jobDefinitionId', request.jobDefinitionId)}/start`
|
|
16250
|
+
}, unmarshalJobRun);
|
|
16251
|
+
getJobRun = request => this.client.fetch({
|
|
16252
|
+
method: 'GET',
|
|
16253
|
+
path: `/serverless-jobs/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/job-runs/${validatePathParam('jobRunId', request.jobRunId)}`
|
|
16254
|
+
}, unmarshalJobRun);
|
|
16255
|
+
stopJobRun = request => this.client.fetch({
|
|
16256
|
+
body: '{}',
|
|
16257
|
+
headers: jsonContentHeaders$e,
|
|
16258
|
+
method: 'POST',
|
|
16259
|
+
path: `/serverless-jobs/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/job-runs/${validatePathParam('jobRunId', request.jobRunId)}/stop`
|
|
16260
|
+
}, unmarshalJobRun);
|
|
16261
|
+
pageOfListJobRuns = (request = {}) => this.client.fetch({
|
|
16262
|
+
method: 'GET',
|
|
16263
|
+
path: `/serverless-jobs/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/job-runs`,
|
|
16264
|
+
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])
|
|
16265
|
+
}, unmarshalListJobRunsResponse);
|
|
16266
|
+
listJobRuns = (request = {}) => enrichForPagination('jobRuns', this.pageOfListJobRuns, request);
|
|
16267
|
+
};
|
|
16268
|
+
|
|
16269
|
+
// This file was automatically generated. DO NOT EDIT.
|
|
16270
|
+
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
16271
|
+
|
|
16272
|
+
/** Lists transient statutes of the enum {@link JobRunState}. */
|
|
16273
|
+
const JOB_RUN_TRANSIENT_STATUSES = ['queued', 'scheduled', 'running'];
|
|
16274
|
+
|
|
16275
|
+
// This file was automatically generated. DO NOT EDIT.
|
|
16276
|
+
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
16277
|
+
|
|
16278
|
+
const CreateJobDefinitionRequest = {
|
|
16279
|
+
cpuLimit: {
|
|
16280
|
+
greaterThan: 0
|
|
16281
|
+
},
|
|
16282
|
+
memoryLimit: {
|
|
16283
|
+
greaterThan: 0
|
|
16284
|
+
},
|
|
16285
|
+
name: {
|
|
16286
|
+
minLength: 3
|
|
16287
|
+
}
|
|
16288
|
+
};
|
|
16289
|
+
const ListJobDefinitionsRequest = {
|
|
16290
|
+
page: {
|
|
16291
|
+
greaterThanOrEqual: 1
|
|
16292
|
+
},
|
|
16293
|
+
pageSize: {
|
|
16294
|
+
greaterThanOrEqual: 1,
|
|
16295
|
+
lessThanOrEqual: 1000
|
|
16296
|
+
}
|
|
16297
|
+
};
|
|
16298
|
+
const ListJobRunsRequest = {
|
|
16299
|
+
page: {
|
|
16300
|
+
greaterThanOrEqual: 1
|
|
16301
|
+
},
|
|
16302
|
+
pageSize: {
|
|
16303
|
+
greaterThanOrEqual: 1,
|
|
16304
|
+
lessThanOrEqual: 1000
|
|
16305
|
+
}
|
|
16306
|
+
};
|
|
16307
|
+
const UpdateJobDefinitionRequest = {
|
|
16308
|
+
cpuLimit: {
|
|
16309
|
+
greaterThan: 0
|
|
16310
|
+
},
|
|
16311
|
+
memoryLimit: {
|
|
16312
|
+
greaterThan: 0
|
|
16313
|
+
},
|
|
16314
|
+
name: {
|
|
16315
|
+
minLength: 3
|
|
16316
|
+
}
|
|
16317
|
+
};
|
|
16318
|
+
|
|
16319
|
+
var validationRules_gen$4 = /*#__PURE__*/Object.freeze({
|
|
16320
|
+
__proto__: null,
|
|
16321
|
+
CreateJobDefinitionRequest: CreateJobDefinitionRequest,
|
|
16322
|
+
ListJobDefinitionsRequest: ListJobDefinitionsRequest,
|
|
16323
|
+
ListJobRunsRequest: ListJobRunsRequest,
|
|
16324
|
+
UpdateJobDefinitionRequest: UpdateJobDefinitionRequest
|
|
16325
|
+
});
|
|
16326
|
+
|
|
16327
|
+
// This file was automatically generated. DO NOT EDIT.
|
|
16328
|
+
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
16329
|
+
|
|
16330
|
+
var index_gen$f = /*#__PURE__*/Object.freeze({
|
|
16331
|
+
__proto__: null,
|
|
16332
|
+
API: API$f,
|
|
16333
|
+
JOB_RUN_TRANSIENT_STATUSES: JOB_RUN_TRANSIENT_STATUSES,
|
|
16334
|
+
ValidationRules: validationRules_gen$4
|
|
16335
|
+
});
|
|
16336
|
+
|
|
16121
16337
|
var index$f = /*#__PURE__*/Object.freeze({
|
|
16122
16338
|
__proto__: null,
|
|
16123
16339
|
v1alpha1: index_gen$f
|
|
@@ -16454,13 +16670,13 @@ const marshalCreateClusterRequest$1 = (request, defaults) => ({
|
|
|
16454
16670
|
type: request.type,
|
|
16455
16671
|
version: request.version,
|
|
16456
16672
|
...resolveOneOf([{
|
|
16457
|
-
default: defaults.defaultOrganizationId,
|
|
16458
|
-
param: 'organization_id',
|
|
16459
|
-
value: request.organizationId
|
|
16460
|
-
}, {
|
|
16461
16673
|
default: defaults.defaultProjectId,
|
|
16462
16674
|
param: 'project_id',
|
|
16463
16675
|
value: request.projectId
|
|
16676
|
+
}, {
|
|
16677
|
+
default: defaults.defaultOrganizationId,
|
|
16678
|
+
param: 'organization_id',
|
|
16679
|
+
value: request.organizationId
|
|
16464
16680
|
}])
|
|
16465
16681
|
});
|
|
16466
16682
|
const marshalCreatePoolRequestUpgradePolicy = (request, defaults) => ({
|
|
@@ -16558,7 +16774,7 @@ const jsonContentHeaders$d = {
|
|
|
16558
16774
|
};
|
|
16559
16775
|
|
|
16560
16776
|
/** Kubernetes API. */
|
|
16561
|
-
let API$e = class API extends API$
|
|
16777
|
+
let API$e = class API extends API$w {
|
|
16562
16778
|
/** Lists the available regions of the API. */
|
|
16563
16779
|
static LOCALITIES = ['fr-par', 'nl-ams', 'pl-waw'];
|
|
16564
16780
|
pageOfListClusters = (request = {}) => this.client.fetch({
|
|
@@ -17741,13 +17957,13 @@ const marshalCreateFrontendRequest = (request, defaults) => ({
|
|
|
17741
17957
|
const marshalCreateIpRequest = (request, defaults) => ({
|
|
17742
17958
|
reverse: request.reverse,
|
|
17743
17959
|
...resolveOneOf([{
|
|
17744
|
-
default: defaults.defaultOrganizationId,
|
|
17745
|
-
param: 'organization_id',
|
|
17746
|
-
value: request.organizationId
|
|
17747
|
-
}, {
|
|
17748
17960
|
default: defaults.defaultProjectId,
|
|
17749
17961
|
param: 'project_id',
|
|
17750
17962
|
value: request.projectId
|
|
17963
|
+
}, {
|
|
17964
|
+
default: defaults.defaultOrganizationId,
|
|
17965
|
+
param: 'organization_id',
|
|
17966
|
+
value: request.organizationId
|
|
17751
17967
|
}])
|
|
17752
17968
|
});
|
|
17753
17969
|
const marshalCreateLbRequest = (request, defaults) => ({
|
|
@@ -17759,13 +17975,13 @@ const marshalCreateLbRequest = (request, defaults) => ({
|
|
|
17759
17975
|
tags: request.tags,
|
|
17760
17976
|
type: request.type,
|
|
17761
17977
|
...resolveOneOf([{
|
|
17762
|
-
default: defaults.defaultOrganizationId,
|
|
17763
|
-
param: 'organization_id',
|
|
17764
|
-
value: request.organizationId
|
|
17765
|
-
}, {
|
|
17766
17978
|
default: defaults.defaultProjectId,
|
|
17767
17979
|
param: 'project_id',
|
|
17768
17980
|
value: request.projectId
|
|
17981
|
+
}, {
|
|
17982
|
+
default: defaults.defaultOrganizationId,
|
|
17983
|
+
param: 'organization_id',
|
|
17984
|
+
value: request.organizationId
|
|
17769
17985
|
}])
|
|
17770
17986
|
});
|
|
17771
17987
|
const marshalRouteMatch = (request, defaults) => ({
|
|
@@ -17791,13 +18007,13 @@ const marshalSubscriberWebhookConfig = (request, defaults) => ({
|
|
|
17791
18007
|
const marshalCreateSubscriberRequest = (request, defaults) => ({
|
|
17792
18008
|
name: request.name,
|
|
17793
18009
|
...resolveOneOf([{
|
|
17794
|
-
default: defaults.defaultOrganizationId,
|
|
17795
|
-
param: 'organization_id',
|
|
17796
|
-
value: request.organizationId
|
|
17797
|
-
}, {
|
|
17798
18010
|
default: defaults.defaultProjectId,
|
|
17799
18011
|
param: 'project_id',
|
|
17800
18012
|
value: request.projectId
|
|
18013
|
+
}, {
|
|
18014
|
+
default: defaults.defaultOrganizationId,
|
|
18015
|
+
param: 'organization_id',
|
|
18016
|
+
value: request.organizationId
|
|
17801
18017
|
}]),
|
|
17802
18018
|
...resolveOneOf([{
|
|
17803
18019
|
param: 'email_config',
|
|
@@ -17979,13 +18195,13 @@ const marshalZonedApiCreateFrontendRequest = (request, defaults) => ({
|
|
|
17979
18195
|
const marshalZonedApiCreateIpRequest = (request, defaults) => ({
|
|
17980
18196
|
reverse: request.reverse,
|
|
17981
18197
|
...resolveOneOf([{
|
|
17982
|
-
default: defaults.defaultOrganizationId,
|
|
17983
|
-
param: 'organization_id',
|
|
17984
|
-
value: request.organizationId
|
|
17985
|
-
}, {
|
|
17986
18198
|
default: defaults.defaultProjectId,
|
|
17987
18199
|
param: 'project_id',
|
|
17988
18200
|
value: request.projectId
|
|
18201
|
+
}, {
|
|
18202
|
+
default: defaults.defaultOrganizationId,
|
|
18203
|
+
param: 'organization_id',
|
|
18204
|
+
value: request.organizationId
|
|
17989
18205
|
}])
|
|
17990
18206
|
});
|
|
17991
18207
|
const marshalZonedApiCreateLbRequest = (request, defaults) => ({
|
|
@@ -17997,13 +18213,13 @@ const marshalZonedApiCreateLbRequest = (request, defaults) => ({
|
|
|
17997
18213
|
tags: request.tags,
|
|
17998
18214
|
type: request.type,
|
|
17999
18215
|
...resolveOneOf([{
|
|
18000
|
-
default: defaults.defaultOrganizationId,
|
|
18001
|
-
param: 'organization_id',
|
|
18002
|
-
value: request.organizationId
|
|
18003
|
-
}, {
|
|
18004
18216
|
default: defaults.defaultProjectId,
|
|
18005
18217
|
param: 'project_id',
|
|
18006
18218
|
value: request.projectId
|
|
18219
|
+
}, {
|
|
18220
|
+
default: defaults.defaultOrganizationId,
|
|
18221
|
+
param: 'organization_id',
|
|
18222
|
+
value: request.organizationId
|
|
18007
18223
|
}])
|
|
18008
18224
|
});
|
|
18009
18225
|
const marshalZonedApiCreateRouteRequest = (request, defaults) => ({
|
|
@@ -18014,13 +18230,13 @@ const marshalZonedApiCreateRouteRequest = (request, defaults) => ({
|
|
|
18014
18230
|
const marshalZonedApiCreateSubscriberRequest = (request, defaults) => ({
|
|
18015
18231
|
name: request.name,
|
|
18016
18232
|
...resolveOneOf([{
|
|
18017
|
-
default: defaults.defaultOrganizationId,
|
|
18018
|
-
param: 'organization_id',
|
|
18019
|
-
value: request.organizationId
|
|
18020
|
-
}, {
|
|
18021
18233
|
default: defaults.defaultProjectId,
|
|
18022
18234
|
param: 'project_id',
|
|
18023
18235
|
value: request.projectId
|
|
18236
|
+
}, {
|
|
18237
|
+
default: defaults.defaultOrganizationId,
|
|
18238
|
+
param: 'organization_id',
|
|
18239
|
+
value: request.organizationId
|
|
18024
18240
|
}]),
|
|
18025
18241
|
...resolveOneOf([{
|
|
18026
18242
|
param: 'email_config',
|
|
@@ -18157,7 +18373,7 @@ const jsonContentHeaders$c = {
|
|
|
18157
18373
|
*
|
|
18158
18374
|
* This API allows you to manage your Scaleway Load Balancer services.
|
|
18159
18375
|
*/
|
|
18160
|
-
class ZonedAPI extends API$
|
|
18376
|
+
class ZonedAPI extends API$w {
|
|
18161
18377
|
/** Lists the available zones of the API. */
|
|
18162
18378
|
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
18379
|
pageOfListLbs = (request = {}) => this.client.fetch({
|
|
@@ -18960,7 +19176,7 @@ class ZonedAPI extends API$v {
|
|
|
18960
19176
|
*
|
|
18961
19177
|
* This API allows you to manage your load balancer service.
|
|
18962
19178
|
*/
|
|
18963
|
-
let API$d = class API extends API$
|
|
19179
|
+
let API$d = class API extends API$w {
|
|
18964
19180
|
/** Lists the available regions of the API. */
|
|
18965
19181
|
static LOCALITIES = ['fr-par', 'nl-ams', 'pl-waw'];
|
|
18966
19182
|
pageOfListLbs = (request = {}) => this.client.fetch({
|
|
@@ -19813,7 +20029,7 @@ const unmarshalListVersionsResponse$1 = data => {
|
|
|
19813
20029
|
// This file was automatically generated. DO NOT EDIT.
|
|
19814
20030
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
19815
20031
|
/** Marketplace API. */
|
|
19816
|
-
let API$c = class API extends API$
|
|
20032
|
+
let API$c = class API extends API$w {
|
|
19817
20033
|
pageOfListImages = (request = {}) => this.client.fetch({
|
|
19818
20034
|
method: 'GET',
|
|
19819
20035
|
path: `/marketplace/v1/images`,
|
|
@@ -19949,7 +20165,7 @@ const unmarshalListVersionsResponse = data => {
|
|
|
19949
20165
|
// This file was automatically generated. DO NOT EDIT.
|
|
19950
20166
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
19951
20167
|
/** Marketplace API. */
|
|
19952
|
-
let API$b = class API extends API$
|
|
20168
|
+
let API$b = class API extends API$w {
|
|
19953
20169
|
pageOfListImages = request => this.client.fetch({
|
|
19954
20170
|
method: 'GET',
|
|
19955
20171
|
path: `/marketplace/v2/images`,
|
|
@@ -20216,7 +20432,7 @@ const jsonContentHeaders$b = {
|
|
|
20216
20432
|
*
|
|
20217
20433
|
* This API allows you to manage Scaleway Messaging and Queueing brokers.
|
|
20218
20434
|
*/
|
|
20219
|
-
let API$a = class API extends API$
|
|
20435
|
+
let API$a = class API extends API$w {
|
|
20220
20436
|
/** Lists the available regions of the API. */
|
|
20221
20437
|
static LOCALITIES = ['fr-par'];
|
|
20222
20438
|
pageOfListNamespaces = (request = {}) => this.client.fetch({
|
|
@@ -20590,7 +20806,7 @@ const jsonContentHeaders$a = {
|
|
|
20590
20806
|
*
|
|
20591
20807
|
* This API allows you to manage Scaleway Messaging and Queueing NATS accounts.
|
|
20592
20808
|
*/
|
|
20593
|
-
class NatsAPI extends API$
|
|
20809
|
+
class NatsAPI extends API$w {
|
|
20594
20810
|
/** Lists the available regions of the API. */
|
|
20595
20811
|
static LOCALITIES = ['fr-par'];
|
|
20596
20812
|
|
|
@@ -20726,7 +20942,7 @@ class NatsAPI extends API$v {
|
|
|
20726
20942
|
*
|
|
20727
20943
|
* This API allows you to manage Scaleway Messaging and Queueing SNS brokers.
|
|
20728
20944
|
*/
|
|
20729
|
-
class SnsAPI extends API$
|
|
20945
|
+
class SnsAPI extends API$w {
|
|
20730
20946
|
/** Lists the available regions of the API. */
|
|
20731
20947
|
static LOCALITIES = ['fr-par'];
|
|
20732
20948
|
|
|
@@ -20848,7 +21064,7 @@ class SnsAPI extends API$v {
|
|
|
20848
21064
|
*
|
|
20849
21065
|
* This API allows you to manage Scaleway Messaging and Queueing SQS brokers.
|
|
20850
21066
|
*/
|
|
20851
|
-
class SqsAPI extends API$
|
|
21067
|
+
class SqsAPI extends API$w {
|
|
20852
21068
|
/** Lists the available regions of the API. */
|
|
20853
21069
|
static LOCALITIES = ['fr-par'];
|
|
20854
21070
|
|
|
@@ -21660,13 +21876,13 @@ const marshalCreateInstanceRequest = (request, defaults) => ({
|
|
|
21660
21876
|
volume_size: request.volumeSize,
|
|
21661
21877
|
volume_type: request.volumeType,
|
|
21662
21878
|
...resolveOneOf([{
|
|
21663
|
-
default: defaults.defaultOrganizationId,
|
|
21664
|
-
param: 'organization_id',
|
|
21665
|
-
value: request.organizationId
|
|
21666
|
-
}, {
|
|
21667
21879
|
default: defaults.defaultProjectId,
|
|
21668
21880
|
param: 'project_id',
|
|
21669
21881
|
value: request.projectId
|
|
21882
|
+
}, {
|
|
21883
|
+
default: defaults.defaultOrganizationId,
|
|
21884
|
+
param: 'organization_id',
|
|
21885
|
+
value: request.organizationId
|
|
21670
21886
|
}])
|
|
21671
21887
|
});
|
|
21672
21888
|
const marshalReadReplicaEndpointSpecPrivateNetworkIpamConfig = (request, defaults) => ({});
|
|
@@ -21797,7 +22013,7 @@ const jsonContentHeaders$9 = {
|
|
|
21797
22013
|
};
|
|
21798
22014
|
|
|
21799
22015
|
/** Managed Database for PostgreSQL and MySQL API. */
|
|
21800
|
-
let API$9 = class API extends API$
|
|
22016
|
+
let API$9 = class API extends API$w {
|
|
21801
22017
|
/** Lists the available regions of the API. */
|
|
21802
22018
|
static LOCALITIES = ['fr-par', 'nl-ams', 'pl-waw'];
|
|
21803
22019
|
pageOfListDatabaseEngines = (request = {}) => this.client.fetch({
|
|
@@ -23014,7 +23230,7 @@ const jsonContentHeaders$8 = {
|
|
|
23014
23230
|
};
|
|
23015
23231
|
|
|
23016
23232
|
/** Managed Database for Redis™ API. */
|
|
23017
|
-
let API$8 = class API extends API$
|
|
23233
|
+
let API$8 = class API extends API$w {
|
|
23018
23234
|
/** Lists the available zones of the API. */
|
|
23019
23235
|
static LOCALITIES = ['fr-par-1', 'fr-par-2', 'nl-ams-1', 'nl-ams-2', 'pl-waw-1', 'pl-waw-2'];
|
|
23020
23236
|
|
|
@@ -23484,13 +23700,13 @@ const marshalCreateNamespaceRequest = (request, defaults) => ({
|
|
|
23484
23700
|
is_public: request.isPublic,
|
|
23485
23701
|
name: request.name || randomName('ns'),
|
|
23486
23702
|
...resolveOneOf([{
|
|
23487
|
-
default: defaults.defaultOrganizationId,
|
|
23488
|
-
param: 'organization_id',
|
|
23489
|
-
value: request.organizationId
|
|
23490
|
-
}, {
|
|
23491
23703
|
default: defaults.defaultProjectId,
|
|
23492
23704
|
param: 'project_id',
|
|
23493
23705
|
value: request.projectId
|
|
23706
|
+
}, {
|
|
23707
|
+
default: defaults.defaultOrganizationId,
|
|
23708
|
+
param: 'organization_id',
|
|
23709
|
+
value: request.organizationId
|
|
23494
23710
|
}])
|
|
23495
23711
|
});
|
|
23496
23712
|
const marshalUpdateImageRequest = (request, defaults) => ({
|
|
@@ -23508,7 +23724,7 @@ const jsonContentHeaders$7 = {
|
|
|
23508
23724
|
};
|
|
23509
23725
|
|
|
23510
23726
|
/** Container Registry API. */
|
|
23511
|
-
let API$7 = class API extends API$
|
|
23727
|
+
let API$7 = class API extends API$w {
|
|
23512
23728
|
/** Lists the available regions of the API. */
|
|
23513
23729
|
static LOCALITIES = ['fr-par', 'nl-ams', 'pl-waw'];
|
|
23514
23730
|
pageOfListNamespaces = (request = {}) => this.client.fetch({
|
|
@@ -23740,7 +23956,8 @@ const unmarshalFolder = data => {
|
|
|
23740
23956
|
id: data.id,
|
|
23741
23957
|
name: data.name,
|
|
23742
23958
|
path: data.path,
|
|
23743
|
-
projectId: data.project_id
|
|
23959
|
+
projectId: data.project_id,
|
|
23960
|
+
region: data.region
|
|
23744
23961
|
};
|
|
23745
23962
|
};
|
|
23746
23963
|
const unmarshalSecretVersion = data => {
|
|
@@ -23891,7 +24108,7 @@ const jsonContentHeaders$6 = {
|
|
|
23891
24108
|
* Secret Manager API. This API allows you to conveniently store, access and
|
|
23892
24109
|
* share sensitive data.
|
|
23893
24110
|
*/
|
|
23894
|
-
let API$6 = class API extends API$
|
|
24111
|
+
let API$6 = class API extends API$w {
|
|
23895
24112
|
/** Lists the available regions of the API. */
|
|
23896
24113
|
static LOCALITIES = ['fr-par', 'nl-ams', 'pl-waw'];
|
|
23897
24114
|
|
|
@@ -24316,13 +24533,13 @@ const marshalCreateHumanRequest = (request, defaults) => ({
|
|
|
24316
24533
|
name: request.name,
|
|
24317
24534
|
shoe_size: request.shoeSize,
|
|
24318
24535
|
...resolveOneOf([{
|
|
24319
|
-
default: defaults.defaultOrganizationId,
|
|
24320
|
-
param: 'organization_id',
|
|
24321
|
-
value: request.organizationId
|
|
24322
|
-
}, {
|
|
24323
24536
|
default: defaults.defaultProjectId,
|
|
24324
24537
|
param: 'project_id',
|
|
24325
24538
|
value: request.projectId
|
|
24539
|
+
}, {
|
|
24540
|
+
default: defaults.defaultOrganizationId,
|
|
24541
|
+
param: 'organization_id',
|
|
24542
|
+
value: request.organizationId
|
|
24326
24543
|
}])
|
|
24327
24544
|
});
|
|
24328
24545
|
const marshalRegisterRequest = (request, defaults) => ({
|
|
@@ -24351,7 +24568,7 @@ const jsonContentHeaders$5 = {
|
|
|
24351
24568
|
*
|
|
24352
24569
|
* No Auth Service for end-to-end testing.
|
|
24353
24570
|
*/
|
|
24354
|
-
let API$5 = class API extends API$
|
|
24571
|
+
let API$5 = class API extends API$w {
|
|
24355
24572
|
/**
|
|
24356
24573
|
* Register a user. Register a human and return a access-key and a secret-key
|
|
24357
24574
|
* that must be used in all other commands.
|
|
@@ -24675,7 +24892,7 @@ const jsonContentHeaders$4 = {
|
|
|
24675
24892
|
};
|
|
24676
24893
|
|
|
24677
24894
|
/** Transactional Email API. */
|
|
24678
|
-
let API$4 = class API extends API$
|
|
24895
|
+
let API$4 = class API extends API$w {
|
|
24679
24896
|
/** Lists the available regions of the API. */
|
|
24680
24897
|
static LOCALITIES = ['fr-par'];
|
|
24681
24898
|
|
|
@@ -24916,7 +25133,7 @@ const jsonContentHeaders$3 = {
|
|
|
24916
25133
|
};
|
|
24917
25134
|
|
|
24918
25135
|
/** VPC API. */
|
|
24919
|
-
let API$3 = class API extends API$
|
|
25136
|
+
let API$3 = class API extends API$w {
|
|
24920
25137
|
/** Lists the available zones of the API. */
|
|
24921
25138
|
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
25139
|
pageOfListPrivateNetworks = (request = {}) => this.client.fetch({
|
|
@@ -25136,7 +25353,7 @@ const jsonContentHeaders$2 = {
|
|
|
25136
25353
|
};
|
|
25137
25354
|
|
|
25138
25355
|
/** VPC API. */
|
|
25139
|
-
let API$2 = class API extends API$
|
|
25356
|
+
let API$2 = class API extends API$w {
|
|
25140
25357
|
/** Lists the available regions of the API. */
|
|
25141
25358
|
static LOCALITIES = ['fr-par', 'nl-ams', 'pl-waw'];
|
|
25142
25359
|
pageOfListVPCs = (request = {}) => this.client.fetch({
|
|
@@ -25733,7 +25950,7 @@ const jsonContentHeaders$1 = {
|
|
|
25733
25950
|
};
|
|
25734
25951
|
|
|
25735
25952
|
/** Public Gateways API. */
|
|
25736
|
-
let API$1 = class API extends API$
|
|
25953
|
+
let API$1 = class API extends API$w {
|
|
25737
25954
|
/** Lists the available zones of the API. */
|
|
25738
25955
|
static LOCALITIES = ['fr-par-1', 'fr-par-2', 'nl-ams-1', 'nl-ams-2', 'nl-ams-3', 'pl-waw-1', 'pl-waw-2'];
|
|
25739
25956
|
pageOfListGateways = (request = {}) => this.client.fetch({
|
|
@@ -26444,7 +26661,7 @@ const jsonContentHeaders = {
|
|
|
26444
26661
|
};
|
|
26445
26662
|
|
|
26446
26663
|
/** Web Hosting API. */
|
|
26447
|
-
class API extends API$
|
|
26664
|
+
class API extends API$w {
|
|
26448
26665
|
/** Lists the available regions of the API. */
|
|
26449
26666
|
static LOCALITIES = ['fr-par'];
|
|
26450
26667
|
|
|
@@ -26604,24 +26821,25 @@ var index = /*#__PURE__*/Object.freeze({
|
|
|
26604
26821
|
v1alpha1: index_gen
|
|
26605
26822
|
});
|
|
26606
26823
|
|
|
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$
|
|
26824
|
+
exports.API = API$w;
|
|
26825
|
+
exports.Account = index$x;
|
|
26826
|
+
exports.AppleSilicon = index$w;
|
|
26827
|
+
exports.BareMetal = index$u;
|
|
26828
|
+
exports.Billing = index$t;
|
|
26829
|
+
exports.Block = index$s;
|
|
26830
|
+
exports.Cockpit = index$r;
|
|
26831
|
+
exports.Container = index$q;
|
|
26832
|
+
exports.DocumentDB = index$p;
|
|
26833
|
+
exports.Domain = index$o;
|
|
26834
|
+
exports.Errors = index$y;
|
|
26835
|
+
exports.FlexibleIP = index$n;
|
|
26836
|
+
exports.Function = index$m;
|
|
26837
|
+
exports.IAM = index$l;
|
|
26838
|
+
exports.IOT = index$i;
|
|
26839
|
+
exports.IPAM = index$h;
|
|
26840
|
+
exports.IPFS = index$g;
|
|
26841
|
+
exports.Instance = index$j;
|
|
26842
|
+
exports.Jobs = index$f;
|
|
26625
26843
|
exports.K8S = index$d;
|
|
26626
26844
|
exports.LB = index$b;
|
|
26627
26845
|
exports.MNQ = index$9;
|