@scaleway/sdk 2.3.0 → 2.4.1
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/block/v1alpha1/api.gen.js +2 -2
- package/dist/api/domain/v2beta1/marshalling.gen.js +2 -0
- package/dist/api/iam/v1alpha1/api.gen.js +4 -4
- package/dist/api/iam/v1alpha1/marshalling.gen.js +16 -5
- package/dist/api/instance/v1/marshalling.gen.js +0 -3
- package/dist/api/jobs/v1alpha1/validation-rules.gen.js +8 -2
- package/dist/api/mnq/index.js +2 -4
- package/dist/index.cjs +433 -704
- package/dist/index.d.ts +768 -1061
- package/dist/index.js +1 -1
- package/dist/scw/constants.js +1 -1
- package/package.json +2 -2
- package/dist/api/mnq/v1alpha1/api.gen.js +0 -197
- package/dist/api/mnq/v1alpha1/index.gen.js +0 -4
- package/dist/api/mnq/v1alpha1/marshalling.gen.js +0 -126
package/dist/index.cjs
CHANGED
|
@@ -497,7 +497,7 @@ const assertValidSettings = obj => {
|
|
|
497
497
|
}
|
|
498
498
|
};
|
|
499
499
|
|
|
500
|
-
const version = 'v2.
|
|
500
|
+
const version = 'v2.4.0';
|
|
501
501
|
const userAgent = `scaleway-sdk-js/${version}`;
|
|
502
502
|
|
|
503
503
|
const isBrowser = () =>
|
|
@@ -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$v = 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$t = {
|
|
2075
2075
|
'Content-Type': 'application/json; charset=utf-8'
|
|
2076
2076
|
};
|
|
2077
2077
|
|
|
@@ -2080,7 +2080,7 @@ const jsonContentHeaders$u = {
|
|
|
2080
2080
|
*
|
|
2081
2081
|
* User related data. This API allows you to manage projects.
|
|
2082
2082
|
*/
|
|
2083
|
-
let API$
|
|
2083
|
+
let API$u = class API extends API$v {
|
|
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$v = class API extends API$w {
|
|
|
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$t,
|
|
2096
2096
|
method: 'POST',
|
|
2097
2097
|
path: `/account/v2/projects`
|
|
2098
2098
|
}, unmarshalProject$1);
|
|
@@ -2156,7 +2156,7 @@ let API$v = class API extends API$w {
|
|
|
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$t,
|
|
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$v = class API extends API$w {
|
|
|
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$t = /*#__PURE__*/Object.freeze({
|
|
2169
2169
|
__proto__: null,
|
|
2170
|
-
API: API$
|
|
2170
|
+
API: API$u
|
|
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$s = {
|
|
2210
2210
|
'Content-Type': 'application/json; charset=utf-8'
|
|
2211
2211
|
};
|
|
2212
2212
|
|
|
@@ -2215,7 +2215,7 @@ const jsonContentHeaders$t = {
|
|
|
2215
2215
|
*
|
|
2216
2216
|
* This API allows you to manage projects.
|
|
2217
2217
|
*/
|
|
2218
|
-
class ProjectAPI extends API$
|
|
2218
|
+
class ProjectAPI extends API$v {
|
|
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$w {
|
|
|
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$s,
|
|
2229
2229
|
method: 'POST',
|
|
2230
2230
|
path: `/account/v3/projects`
|
|
2231
2231
|
}, unmarshalProject);
|
|
@@ -2281,7 +2281,7 @@ class ProjectAPI extends API$w {
|
|
|
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$s,
|
|
2285
2285
|
method: 'PATCH',
|
|
2286
2286
|
path: `/account/v3/projects/${validatePathParam('projectId', request.projectId ?? this.client.settings.defaultProjectId)}`
|
|
2287
2287
|
}, unmarshalProject);
|
|
@@ -2335,7 +2335,7 @@ var validationRules_gen$d = /*#__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$s = /*#__PURE__*/Object.freeze({
|
|
2339
2339
|
__proto__: null,
|
|
2340
2340
|
ProjectAPI: ProjectAPI,
|
|
2341
2341
|
ValidationRules: validationRules_gen$d
|
|
@@ -2343,8 +2343,8 @@ var index_gen$t = /*#__PURE__*/Object.freeze({
|
|
|
2343
2343
|
|
|
2344
2344
|
var index$x = /*#__PURE__*/Object.freeze({
|
|
2345
2345
|
__proto__: null,
|
|
2346
|
-
v2: index_gen$
|
|
2347
|
-
v3: index_gen$
|
|
2346
|
+
v2: index_gen$t,
|
|
2347
|
+
v3: index_gen$s
|
|
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$r = {
|
|
2467
2467
|
'Content-Type': 'application/json; charset=utf-8'
|
|
2468
2468
|
};
|
|
2469
2469
|
|
|
2470
2470
|
/** Apple silicon API. */
|
|
2471
|
-
let API$
|
|
2471
|
+
let API$t = class API extends API$v {
|
|
2472
2472
|
/** Lists the available zones of the API. */
|
|
2473
2473
|
static LOCALITIES = ['fr-par-3'];
|
|
2474
2474
|
|
|
@@ -2506,7 +2506,7 @@ let API$u = class API extends API$w {
|
|
|
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$r,
|
|
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$u = class API extends API$w {
|
|
|
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$r,
|
|
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$u = class API extends API$w {
|
|
|
2611
2611
|
*/
|
|
2612
2612
|
rebootServer = request => this.client.fetch({
|
|
2613
2613
|
body: '{}',
|
|
2614
|
-
headers: jsonContentHeaders$
|
|
2614
|
+
headers: jsonContentHeaders$r,
|
|
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$u = class API extends API$w {
|
|
|
2627
2627
|
*/
|
|
2628
2628
|
reinstallServer = request => this.client.fetch({
|
|
2629
2629
|
body: '{}',
|
|
2630
|
-
headers: jsonContentHeaders$
|
|
2630
|
+
headers: jsonContentHeaders$r,
|
|
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$u = class API extends API$w {
|
|
|
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$r = /*#__PURE__*/Object.freeze({
|
|
2640
2640
|
__proto__: null,
|
|
2641
|
-
API: API$
|
|
2641
|
+
API: API$t,
|
|
2642
2642
|
SERVER_TRANSIENT_STATUSES: SERVER_TRANSIENT_STATUSES$2
|
|
2643
2643
|
});
|
|
2644
2644
|
|
|
2645
2645
|
var index$w = /*#__PURE__*/Object.freeze({
|
|
2646
2646
|
__proto__: null,
|
|
2647
|
-
v1alpha1: index_gen$
|
|
2647
|
+
v1alpha1: index_gen$r
|
|
2648
2648
|
});
|
|
2649
2649
|
|
|
2650
2650
|
// This file was automatically generated. DO NOT EDIT.
|
|
@@ -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$q = {
|
|
3066
3066
|
'Content-Type': 'application/json; charset=utf-8'
|
|
3067
3067
|
};
|
|
3068
3068
|
|
|
@@ -3071,7 +3071,7 @@ const jsonContentHeaders$r = {
|
|
|
3071
3071
|
*
|
|
3072
3072
|
* This API allows to manage your Elastic Metal server.
|
|
3073
3073
|
*/
|
|
3074
|
-
let API$
|
|
3074
|
+
let API$s = class API extends API$v {
|
|
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$t = class API extends API$w {
|
|
|
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$q,
|
|
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$t = class API extends API$w {
|
|
|
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$q,
|
|
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$t = class API extends API$w {
|
|
|
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$q,
|
|
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$t = class API extends API$w {
|
|
|
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$q,
|
|
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$t = class API extends API$w {
|
|
|
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$q,
|
|
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$t = class API extends API$w {
|
|
|
3214
3214
|
*/
|
|
3215
3215
|
stopServer = request => this.client.fetch({
|
|
3216
3216
|
body: '{}',
|
|
3217
|
-
headers: jsonContentHeaders$
|
|
3217
|
+
headers: jsonContentHeaders$q,
|
|
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$t = class API extends API$w {
|
|
|
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$q,
|
|
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$t = class API extends API$w {
|
|
|
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$q,
|
|
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$t = class API extends API$w {
|
|
|
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$q,
|
|
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$t = class API extends API$w {
|
|
|
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$q,
|
|
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$t = class API extends API$w {
|
|
|
3421
3421
|
};
|
|
3422
3422
|
|
|
3423
3423
|
/** Elastic Metal Private Network API. */
|
|
3424
|
-
class PrivateNetworkAPI extends API$
|
|
3424
|
+
class PrivateNetworkAPI extends API$v {
|
|
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$w {
|
|
|
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$q,
|
|
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$w {
|
|
|
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$q,
|
|
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$w {
|
|
|
3479
3479
|
});
|
|
3480
3480
|
}
|
|
3481
3481
|
|
|
3482
|
-
class BaremetalV1UtilsAPI extends API$
|
|
3482
|
+
class BaremetalV1UtilsAPI extends API$s {
|
|
3483
3483
|
/**
|
|
3484
3484
|
* Waits for {@link ServerInstall} to be in a final state.
|
|
3485
3485
|
*
|
|
@@ -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$r = class API extends API$v {
|
|
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$s = class API extends API$w {
|
|
|
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$q = /*#__PURE__*/Object.freeze({
|
|
3803
3803
|
__proto__: null,
|
|
3804
|
-
API: API$
|
|
3804
|
+
API: API$r
|
|
3805
3805
|
});
|
|
3806
3806
|
|
|
3807
3807
|
var index$t = /*#__PURE__*/Object.freeze({
|
|
3808
3808
|
__proto__: null,
|
|
3809
|
-
v2alpha1: index_gen$
|
|
3809
|
+
v2alpha1: index_gen$q
|
|
3810
3810
|
});
|
|
3811
3811
|
|
|
3812
3812
|
// This file was automatically generated. DO NOT EDIT.
|
|
@@ -4001,7 +4001,7 @@ const marshalUpdateVolumeRequest$2 = (request, defaults) => ({
|
|
|
4001
4001
|
|
|
4002
4002
|
// This file was automatically generated. DO NOT EDIT.
|
|
4003
4003
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
4004
|
-
const jsonContentHeaders$
|
|
4004
|
+
const jsonContentHeaders$p = {
|
|
4005
4005
|
'Content-Type': 'application/json; charset=utf-8'
|
|
4006
4006
|
};
|
|
4007
4007
|
|
|
@@ -4010,7 +4010,7 @@ const jsonContentHeaders$q = {
|
|
|
4010
4010
|
*
|
|
4011
4011
|
* This API allows you to use and manage your Block Storage volumes.
|
|
4012
4012
|
*/
|
|
4013
|
-
let API$
|
|
4013
|
+
let API$q = class API extends API$v {
|
|
4014
4014
|
/** Lists the available zones of the API. */
|
|
4015
4015
|
static LOCALITIES = ['fr-par-1', 'pl-waw-3'];
|
|
4016
4016
|
pageOfListVolumeTypes = (request = {}) => this.client.fetch({
|
|
@@ -4030,7 +4030,7 @@ let API$r = class API extends API$w {
|
|
|
4030
4030
|
pageOfListVolumes = (request = {}) => this.client.fetch({
|
|
4031
4031
|
method: 'GET',
|
|
4032
4032
|
path: `/block/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/volumes`,
|
|
4033
|
-
urlParams: urlParams(['name', request.name], ['order_by', request.orderBy], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['product_resource_id', request.productResourceId], ['project_id', request.projectId])
|
|
4033
|
+
urlParams: urlParams(['name', request.name], ['order_by', request.orderBy], ['organization_id', request.organizationId], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['product_resource_id', request.productResourceId], ['project_id', request.projectId])
|
|
4034
4034
|
}, unmarshalListVolumesResponse$2);
|
|
4035
4035
|
|
|
4036
4036
|
/**
|
|
@@ -4056,7 +4056,7 @@ let API$r = class API extends API$w {
|
|
|
4056
4056
|
*/
|
|
4057
4057
|
createVolume = request => this.client.fetch({
|
|
4058
4058
|
body: JSON.stringify(marshalCreateVolumeRequest$2(request, this.client.settings)),
|
|
4059
|
-
headers: jsonContentHeaders$
|
|
4059
|
+
headers: jsonContentHeaders$p,
|
|
4060
4060
|
method: 'POST',
|
|
4061
4061
|
path: `/block/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/volumes`
|
|
4062
4062
|
}, unmarshalVolume$4);
|
|
@@ -4104,14 +4104,14 @@ let API$r = class API extends API$w {
|
|
|
4104
4104
|
*/
|
|
4105
4105
|
updateVolume = request => this.client.fetch({
|
|
4106
4106
|
body: JSON.stringify(marshalUpdateVolumeRequest$2(request, this.client.settings)),
|
|
4107
|
-
headers: jsonContentHeaders$
|
|
4107
|
+
headers: jsonContentHeaders$p,
|
|
4108
4108
|
method: 'PATCH',
|
|
4109
4109
|
path: `/block/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/volumes/${validatePathParam('volumeId', request.volumeId)}`
|
|
4110
4110
|
}, unmarshalVolume$4);
|
|
4111
4111
|
pageOfListSnapshots = (request = {}) => this.client.fetch({
|
|
4112
4112
|
method: 'GET',
|
|
4113
4113
|
path: `/block/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/snapshots`,
|
|
4114
|
-
urlParams: urlParams(['name', request.name], ['order_by', request.orderBy], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['project_id', request.projectId], ['volume_id', request.volumeId])
|
|
4114
|
+
urlParams: urlParams(['name', request.name], ['order_by', request.orderBy], ['organization_id', request.organizationId], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['project_id', request.projectId], ['volume_id', request.volumeId])
|
|
4115
4115
|
}, unmarshalListSnapshotsResponse$3);
|
|
4116
4116
|
|
|
4117
4117
|
/**
|
|
@@ -4156,13 +4156,13 @@ let API$r = class API extends API$w {
|
|
|
4156
4156
|
*/
|
|
4157
4157
|
createSnapshot = request => this.client.fetch({
|
|
4158
4158
|
body: JSON.stringify(marshalCreateSnapshotRequest$3(request, this.client.settings)),
|
|
4159
|
-
headers: jsonContentHeaders$
|
|
4159
|
+
headers: jsonContentHeaders$p,
|
|
4160
4160
|
method: 'POST',
|
|
4161
4161
|
path: `/block/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/snapshots`
|
|
4162
4162
|
}, unmarshalSnapshot$3);
|
|
4163
4163
|
importSnapshotFromS3 = request => this.client.fetch({
|
|
4164
4164
|
body: JSON.stringify(marshalImportSnapshotFromS3Request(request, this.client.settings)),
|
|
4165
|
-
headers: jsonContentHeaders$
|
|
4165
|
+
headers: jsonContentHeaders$p,
|
|
4166
4166
|
method: 'POST',
|
|
4167
4167
|
path: `/block/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/snapshots/import-from-s3`
|
|
4168
4168
|
}, unmarshalSnapshot$3);
|
|
@@ -4186,7 +4186,7 @@ let API$r = class API extends API$w {
|
|
|
4186
4186
|
*/
|
|
4187
4187
|
updateSnapshot = request => this.client.fetch({
|
|
4188
4188
|
body: JSON.stringify(marshalUpdateSnapshotRequest$2(request, this.client.settings)),
|
|
4189
|
-
headers: jsonContentHeaders$
|
|
4189
|
+
headers: jsonContentHeaders$p,
|
|
4190
4190
|
method: 'PATCH',
|
|
4191
4191
|
path: `/block/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/snapshots/${validatePathParam('snapshotId', request.snapshotId)}`
|
|
4192
4192
|
}, unmarshalSnapshot$3);
|
|
@@ -4257,9 +4257,9 @@ var validationRules_gen$b = /*#__PURE__*/Object.freeze({
|
|
|
4257
4257
|
// This file was automatically generated. DO NOT EDIT.
|
|
4258
4258
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
4259
4259
|
|
|
4260
|
-
var index_gen$
|
|
4260
|
+
var index_gen$p = /*#__PURE__*/Object.freeze({
|
|
4261
4261
|
__proto__: null,
|
|
4262
|
-
API: API$
|
|
4262
|
+
API: API$q,
|
|
4263
4263
|
REFERENCE_TRANSIENT_STATUSES: REFERENCE_TRANSIENT_STATUSES,
|
|
4264
4264
|
SNAPSHOT_TRANSIENT_STATUSES: SNAPSHOT_TRANSIENT_STATUSES$3,
|
|
4265
4265
|
VOLUME_TRANSIENT_STATUSES: VOLUME_TRANSIENT_STATUSES$1,
|
|
@@ -4268,7 +4268,7 @@ var index_gen$q = /*#__PURE__*/Object.freeze({
|
|
|
4268
4268
|
|
|
4269
4269
|
var index$s = /*#__PURE__*/Object.freeze({
|
|
4270
4270
|
__proto__: null,
|
|
4271
|
-
v1alpha1: index_gen$
|
|
4271
|
+
v1alpha1: index_gen$p
|
|
4272
4272
|
});
|
|
4273
4273
|
|
|
4274
4274
|
// 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$o = {
|
|
4549
4549
|
'Content-Type': 'application/json; charset=utf-8'
|
|
4550
4550
|
};
|
|
4551
4551
|
|
|
@@ -4556,7 +4556,7 @@ const jsonContentHeaders$p = {
|
|
|
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$p = class API extends API$v {
|
|
4560
4560
|
/**
|
|
4561
4561
|
* Activate the Cockpit of the specified Project ID.
|
|
4562
4562
|
*
|
|
@@ -4565,7 +4565,7 @@ let API$q = class API extends API$w {
|
|
|
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$o,
|
|
4569
4569
|
method: 'POST',
|
|
4570
4570
|
path: `/cockpit/v1beta1/activate`
|
|
4571
4571
|
}, unmarshalCockpit);
|
|
@@ -4611,7 +4611,7 @@ let API$q = class API extends API$w {
|
|
|
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$o,
|
|
4615
4615
|
method: 'POST',
|
|
4616
4616
|
path: `/cockpit/v1beta1/deactivate`
|
|
4617
4617
|
}, unmarshalCockpit);
|
|
@@ -4624,7 +4624,7 @@ let API$q = class API extends API$w {
|
|
|
4624
4624
|
*/
|
|
4625
4625
|
createDatasource = request => this.client.fetch({
|
|
4626
4626
|
body: JSON.stringify(marshalCreateDatasourceRequest(request, this.client.settings)),
|
|
4627
|
-
headers: jsonContentHeaders$
|
|
4627
|
+
headers: jsonContentHeaders$o,
|
|
4628
4628
|
method: 'POST',
|
|
4629
4629
|
path: `/cockpit/v1beta1/datasources`
|
|
4630
4630
|
}, unmarshalDatasource);
|
|
@@ -4650,7 +4650,7 @@ let API$q = class API extends API$w {
|
|
|
4650
4650
|
*/
|
|
4651
4651
|
createToken = (request = {}) => this.client.fetch({
|
|
4652
4652
|
body: JSON.stringify(marshalCreateTokenRequest$2(request, this.client.settings)),
|
|
4653
|
-
headers: jsonContentHeaders$
|
|
4653
|
+
headers: jsonContentHeaders$o,
|
|
4654
4654
|
method: 'POST',
|
|
4655
4655
|
path: `/cockpit/v1beta1/tokens`
|
|
4656
4656
|
}, unmarshalToken$2);
|
|
@@ -4697,7 +4697,7 @@ let API$q = class API extends API$w {
|
|
|
4697
4697
|
*/
|
|
4698
4698
|
createContactPoint = (request = {}) => this.client.fetch({
|
|
4699
4699
|
body: JSON.stringify(marshalCreateContactPointRequest(request, this.client.settings)),
|
|
4700
|
-
headers: jsonContentHeaders$
|
|
4700
|
+
headers: jsonContentHeaders$o,
|
|
4701
4701
|
method: 'POST',
|
|
4702
4702
|
path: `/cockpit/v1beta1/contact-points`
|
|
4703
4703
|
}, unmarshalContactPoint);
|
|
@@ -4723,7 +4723,7 @@ let API$q = class API extends API$w {
|
|
|
4723
4723
|
*/
|
|
4724
4724
|
deleteContactPoint = (request = {}) => this.client.fetch({
|
|
4725
4725
|
body: JSON.stringify(marshalDeleteContactPointRequest(request, this.client.settings)),
|
|
4726
|
-
headers: jsonContentHeaders$
|
|
4726
|
+
headers: jsonContentHeaders$o,
|
|
4727
4727
|
method: 'POST',
|
|
4728
4728
|
path: `/cockpit/v1beta1/delete-contact-point`
|
|
4729
4729
|
});
|
|
@@ -4735,7 +4735,7 @@ let API$q = class API extends API$w {
|
|
|
4735
4735
|
*/
|
|
4736
4736
|
enableManagedAlerts = (request = {}) => this.client.fetch({
|
|
4737
4737
|
body: JSON.stringify(marshalEnableManagedAlertsRequest(request, this.client.settings)),
|
|
4738
|
-
headers: jsonContentHeaders$
|
|
4738
|
+
headers: jsonContentHeaders$o,
|
|
4739
4739
|
method: 'POST',
|
|
4740
4740
|
path: `/cockpit/v1beta1/enable-managed-alerts`
|
|
4741
4741
|
});
|
|
@@ -4747,7 +4747,7 @@ let API$q = class API extends API$w {
|
|
|
4747
4747
|
*/
|
|
4748
4748
|
disableManagedAlerts = (request = {}) => this.client.fetch({
|
|
4749
4749
|
body: JSON.stringify(marshalDisableManagedAlertsRequest(request, this.client.settings)),
|
|
4750
|
-
headers: jsonContentHeaders$
|
|
4750
|
+
headers: jsonContentHeaders$o,
|
|
4751
4751
|
method: 'POST',
|
|
4752
4752
|
path: `/cockpit/v1beta1/disable-managed-alerts`
|
|
4753
4753
|
});
|
|
@@ -4759,7 +4759,7 @@ let API$q = class API extends API$w {
|
|
|
4759
4759
|
*/
|
|
4760
4760
|
triggerTestAlert = (request = {}) => this.client.fetch({
|
|
4761
4761
|
body: JSON.stringify(marshalTriggerTestAlertRequest(request, this.client.settings)),
|
|
4762
|
-
headers: jsonContentHeaders$
|
|
4762
|
+
headers: jsonContentHeaders$o,
|
|
4763
4763
|
method: 'POST',
|
|
4764
4764
|
path: `/cockpit/v1beta1/trigger-test-alert`
|
|
4765
4765
|
});
|
|
@@ -4773,7 +4773,7 @@ let API$q = class API extends API$w {
|
|
|
4773
4773
|
*/
|
|
4774
4774
|
createGrafanaUser = request => this.client.fetch({
|
|
4775
4775
|
body: JSON.stringify(marshalCreateGrafanaUserRequest(request, this.client.settings)),
|
|
4776
|
-
headers: jsonContentHeaders$
|
|
4776
|
+
headers: jsonContentHeaders$o,
|
|
4777
4777
|
method: 'POST',
|
|
4778
4778
|
path: `/cockpit/v1beta1/grafana-users`
|
|
4779
4779
|
}, unmarshalGrafanaUser);
|
|
@@ -4800,7 +4800,7 @@ let API$q = class API extends API$w {
|
|
|
4800
4800
|
*/
|
|
4801
4801
|
deleteGrafanaUser = request => this.client.fetch({
|
|
4802
4802
|
body: JSON.stringify(marshalDeleteGrafanaUserRequest(request, this.client.settings)),
|
|
4803
|
-
headers: jsonContentHeaders$
|
|
4803
|
+
headers: jsonContentHeaders$o,
|
|
4804
4804
|
method: 'POST',
|
|
4805
4805
|
path: `/cockpit/v1beta1/grafana-users/${validatePathParam('grafanaUserId', request.grafanaUserId)}/delete`
|
|
4806
4806
|
});
|
|
@@ -4814,7 +4814,7 @@ let API$q = class API extends API$w {
|
|
|
4814
4814
|
*/
|
|
4815
4815
|
resetGrafanaUserPassword = request => this.client.fetch({
|
|
4816
4816
|
body: JSON.stringify(marshalResetGrafanaUserPasswordRequest(request, this.client.settings)),
|
|
4817
|
-
headers: jsonContentHeaders$
|
|
4817
|
+
headers: jsonContentHeaders$o,
|
|
4818
4818
|
method: 'POST',
|
|
4819
4819
|
path: `/cockpit/v1beta1/grafana-users/${validatePathParam('grafanaUserId', request.grafanaUserId)}/reset-password`
|
|
4820
4820
|
}, unmarshalGrafanaUser);
|
|
@@ -4841,7 +4841,7 @@ let API$q = class API extends API$w {
|
|
|
4841
4841
|
*/
|
|
4842
4842
|
selectPlan = request => this.client.fetch({
|
|
4843
4843
|
body: JSON.stringify(marshalSelectPlanRequest(request, this.client.settings)),
|
|
4844
|
-
headers: jsonContentHeaders$
|
|
4844
|
+
headers: jsonContentHeaders$o,
|
|
4845
4845
|
method: 'POST',
|
|
4846
4846
|
path: `/cockpit/v1beta1/select-plan`
|
|
4847
4847
|
}, unmarshalSelectPlanResponse);
|
|
@@ -4876,15 +4876,15 @@ let API$q = class API extends API$w {
|
|
|
4876
4876
|
// This file was automatically generated. DO NOT EDIT.
|
|
4877
4877
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
4878
4878
|
|
|
4879
|
-
var index_gen$
|
|
4879
|
+
var index_gen$o = /*#__PURE__*/Object.freeze({
|
|
4880
4880
|
__proto__: null,
|
|
4881
|
-
API: API$
|
|
4881
|
+
API: API$p,
|
|
4882
4882
|
COCKPIT_TRANSIENT_STATUSES: COCKPIT_TRANSIENT_STATUSES
|
|
4883
4883
|
});
|
|
4884
4884
|
|
|
4885
4885
|
var index$r = /*#__PURE__*/Object.freeze({
|
|
4886
4886
|
__proto__: null,
|
|
4887
|
-
v1beta1: index_gen$
|
|
4887
|
+
v1beta1: index_gen$o
|
|
4888
4888
|
});
|
|
4889
4889
|
|
|
4890
4890
|
// This file was automatically generated. DO NOT EDIT.
|
|
@@ -4973,7 +4973,7 @@ const unmarshalDomain$3 = data => {
|
|
|
4973
4973
|
url: data.url
|
|
4974
4974
|
};
|
|
4975
4975
|
};
|
|
4976
|
-
const unmarshalNamespace$
|
|
4976
|
+
const unmarshalNamespace$2 = data => {
|
|
4977
4977
|
if (!isJSONObject(data)) {
|
|
4978
4978
|
throw new TypeError(`Unmarshalling the type 'Namespace' failed as data isn't a dictionary.`);
|
|
4979
4979
|
}
|
|
@@ -5109,12 +5109,12 @@ const unmarshalListLogsResponse$2 = data => {
|
|
|
5109
5109
|
totalCount: data.total_count
|
|
5110
5110
|
};
|
|
5111
5111
|
};
|
|
5112
|
-
const unmarshalListNamespacesResponse$
|
|
5112
|
+
const unmarshalListNamespacesResponse$2 = data => {
|
|
5113
5113
|
if (!isJSONObject(data)) {
|
|
5114
5114
|
throw new TypeError(`Unmarshalling the type 'ListNamespacesResponse' failed as data isn't a dictionary.`);
|
|
5115
5115
|
}
|
|
5116
5116
|
return {
|
|
5117
|
-
namespaces: unmarshalArrayOfObject(data.namespaces, unmarshalNamespace$
|
|
5117
|
+
namespaces: unmarshalArrayOfObject(data.namespaces, unmarshalNamespace$2),
|
|
5118
5118
|
totalCount: data.total_count
|
|
5119
5119
|
};
|
|
5120
5120
|
};
|
|
@@ -5168,7 +5168,7 @@ const marshalCreateDomainRequest$2 = (request, defaults) => ({
|
|
|
5168
5168
|
container_id: request.containerId,
|
|
5169
5169
|
hostname: request.hostname
|
|
5170
5170
|
});
|
|
5171
|
-
const marshalCreateNamespaceRequest$
|
|
5171
|
+
const marshalCreateNamespaceRequest$2 = (request, defaults) => ({
|
|
5172
5172
|
description: request.description,
|
|
5173
5173
|
environment_variables: request.environmentVariables,
|
|
5174
5174
|
name: request.name || randomName('cns'),
|
|
@@ -5243,7 +5243,7 @@ const marshalUpdateCronRequest$1 = (request, defaults) => ({
|
|
|
5243
5243
|
name: request.name,
|
|
5244
5244
|
schedule: request.schedule
|
|
5245
5245
|
});
|
|
5246
|
-
const marshalUpdateNamespaceRequest$
|
|
5246
|
+
const marshalUpdateNamespaceRequest$2 = (request, defaults) => ({
|
|
5247
5247
|
description: request.description,
|
|
5248
5248
|
environment_variables: request.environmentVariables,
|
|
5249
5249
|
secret_environment_variables: request.secretEnvironmentVariables !== undefined ? request.secretEnvironmentVariables.map(elt => marshalSecret$1(elt)) : undefined
|
|
@@ -5263,19 +5263,19 @@ const marshalUpdateTriggerRequest$1 = (request, defaults) => ({
|
|
|
5263
5263
|
|
|
5264
5264
|
// This file was automatically generated. DO NOT EDIT.
|
|
5265
5265
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
5266
|
-
const jsonContentHeaders$
|
|
5266
|
+
const jsonContentHeaders$n = {
|
|
5267
5267
|
'Content-Type': 'application/json; charset=utf-8'
|
|
5268
5268
|
};
|
|
5269
5269
|
|
|
5270
5270
|
/** Serverless Containers API. */
|
|
5271
|
-
let API$
|
|
5271
|
+
let API$o = class API extends API$v {
|
|
5272
5272
|
/** Lists the available regions of the API. */
|
|
5273
5273
|
static LOCALITIES = ['fr-par', 'nl-ams', 'pl-waw'];
|
|
5274
5274
|
pageOfListNamespaces = (request = {}) => this.client.fetch({
|
|
5275
5275
|
method: 'GET',
|
|
5276
5276
|
path: `/containers/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/namespaces`,
|
|
5277
5277
|
urlParams: urlParams(['name', request.name], ['order_by', request.orderBy], ['organization_id', request.organizationId], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['project_id', request.projectId])
|
|
5278
|
-
}, unmarshalListNamespacesResponse$
|
|
5278
|
+
}, unmarshalListNamespacesResponse$2);
|
|
5279
5279
|
|
|
5280
5280
|
/**
|
|
5281
5281
|
* List all your namespaces. List all namespaces in a specified region.
|
|
@@ -5294,7 +5294,7 @@ let API$p = class API extends API$w {
|
|
|
5294
5294
|
getNamespace = request => this.client.fetch({
|
|
5295
5295
|
method: 'GET',
|
|
5296
5296
|
path: `/containers/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/namespaces/${validatePathParam('namespaceId', request.namespaceId)}`
|
|
5297
|
-
}, unmarshalNamespace$
|
|
5297
|
+
}, unmarshalNamespace$2);
|
|
5298
5298
|
|
|
5299
5299
|
/**
|
|
5300
5300
|
* Waits for {@link Namespace} to be in a final state.
|
|
@@ -5312,11 +5312,11 @@ let API$p = class API extends API$w {
|
|
|
5312
5312
|
* @returns A Promise of Namespace
|
|
5313
5313
|
*/
|
|
5314
5314
|
createNamespace = (request = {}) => this.client.fetch({
|
|
5315
|
-
body: JSON.stringify(marshalCreateNamespaceRequest$
|
|
5316
|
-
headers: jsonContentHeaders$
|
|
5315
|
+
body: JSON.stringify(marshalCreateNamespaceRequest$2(request, this.client.settings)),
|
|
5316
|
+
headers: jsonContentHeaders$n,
|
|
5317
5317
|
method: 'POST',
|
|
5318
5318
|
path: `/containers/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/namespaces`
|
|
5319
|
-
}, unmarshalNamespace$
|
|
5319
|
+
}, unmarshalNamespace$2);
|
|
5320
5320
|
|
|
5321
5321
|
/**
|
|
5322
5322
|
* Update an existing namespace. Update the space associated with the
|
|
@@ -5326,11 +5326,11 @@ let API$p = class API extends API$w {
|
|
|
5326
5326
|
* @returns A Promise of Namespace
|
|
5327
5327
|
*/
|
|
5328
5328
|
updateNamespace = request => this.client.fetch({
|
|
5329
|
-
body: JSON.stringify(marshalUpdateNamespaceRequest$
|
|
5330
|
-
headers: jsonContentHeaders$
|
|
5329
|
+
body: JSON.stringify(marshalUpdateNamespaceRequest$2(request, this.client.settings)),
|
|
5330
|
+
headers: jsonContentHeaders$n,
|
|
5331
5331
|
method: 'PATCH',
|
|
5332
5332
|
path: `/containers/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/namespaces/${validatePathParam('namespaceId', request.namespaceId)}`
|
|
5333
|
-
}, unmarshalNamespace$
|
|
5333
|
+
}, unmarshalNamespace$2);
|
|
5334
5334
|
|
|
5335
5335
|
/**
|
|
5336
5336
|
* Delete an existing namespace. Delete the namespace associated with the
|
|
@@ -5342,7 +5342,7 @@ let API$p = class API extends API$w {
|
|
|
5342
5342
|
deleteNamespace = request => this.client.fetch({
|
|
5343
5343
|
method: 'DELETE',
|
|
5344
5344
|
path: `/containers/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/namespaces/${validatePathParam('namespaceId', request.namespaceId)}`
|
|
5345
|
-
}, unmarshalNamespace$
|
|
5345
|
+
}, unmarshalNamespace$2);
|
|
5346
5346
|
pageOfListContainers = request => this.client.fetch({
|
|
5347
5347
|
method: 'GET',
|
|
5348
5348
|
path: `/containers/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/containers`,
|
|
@@ -5385,7 +5385,7 @@ let API$p = class API extends API$w {
|
|
|
5385
5385
|
*/
|
|
5386
5386
|
createContainer = request => this.client.fetch({
|
|
5387
5387
|
body: JSON.stringify(marshalCreateContainerRequest(request, this.client.settings)),
|
|
5388
|
-
headers: jsonContentHeaders$
|
|
5388
|
+
headers: jsonContentHeaders$n,
|
|
5389
5389
|
method: 'POST',
|
|
5390
5390
|
path: `/containers/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/containers`
|
|
5391
5391
|
}, unmarshalContainer);
|
|
@@ -5399,7 +5399,7 @@ let API$p = class API extends API$w {
|
|
|
5399
5399
|
*/
|
|
5400
5400
|
updateContainer = request => this.client.fetch({
|
|
5401
5401
|
body: JSON.stringify(marshalUpdateContainerRequest(request, this.client.settings)),
|
|
5402
|
-
headers: jsonContentHeaders$
|
|
5402
|
+
headers: jsonContentHeaders$n,
|
|
5403
5403
|
method: 'PATCH',
|
|
5404
5404
|
path: `/containers/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/containers/${validatePathParam('containerId', request.containerId)}`
|
|
5405
5405
|
}, unmarshalContainer);
|
|
@@ -5423,7 +5423,7 @@ let API$p = class API extends API$w {
|
|
|
5423
5423
|
*/
|
|
5424
5424
|
deployContainer = request => this.client.fetch({
|
|
5425
5425
|
body: '{}',
|
|
5426
|
-
headers: jsonContentHeaders$
|
|
5426
|
+
headers: jsonContentHeaders$n,
|
|
5427
5427
|
method: 'POST',
|
|
5428
5428
|
path: `/containers/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/containers/${validatePathParam('containerId', request.containerId)}/deploy`
|
|
5429
5429
|
}, unmarshalContainer);
|
|
@@ -5469,7 +5469,7 @@ let API$p = class API extends API$w {
|
|
|
5469
5469
|
*/
|
|
5470
5470
|
createCron = request => this.client.fetch({
|
|
5471
5471
|
body: JSON.stringify(marshalCreateCronRequest$1(request, this.client.settings)),
|
|
5472
|
-
headers: jsonContentHeaders$
|
|
5472
|
+
headers: jsonContentHeaders$n,
|
|
5473
5473
|
method: 'POST',
|
|
5474
5474
|
path: `/containers/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/crons`
|
|
5475
5475
|
}, unmarshalCron$1);
|
|
@@ -5482,7 +5482,7 @@ let API$p = class API extends API$w {
|
|
|
5482
5482
|
*/
|
|
5483
5483
|
updateCron = request => this.client.fetch({
|
|
5484
5484
|
body: JSON.stringify(marshalUpdateCronRequest$1(request, this.client.settings)),
|
|
5485
|
-
headers: jsonContentHeaders$
|
|
5485
|
+
headers: jsonContentHeaders$n,
|
|
5486
5486
|
method: 'PATCH',
|
|
5487
5487
|
path: `/containers/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/crons/${validatePathParam('cronId', request.cronId)}`
|
|
5488
5488
|
}, unmarshalCron$1);
|
|
@@ -5556,7 +5556,7 @@ let API$p = class API extends API$w {
|
|
|
5556
5556
|
*/
|
|
5557
5557
|
createDomain = request => this.client.fetch({
|
|
5558
5558
|
body: JSON.stringify(marshalCreateDomainRequest$2(request, this.client.settings)),
|
|
5559
|
-
headers: jsonContentHeaders$
|
|
5559
|
+
headers: jsonContentHeaders$n,
|
|
5560
5560
|
method: 'POST',
|
|
5561
5561
|
path: `/containers/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/domains`
|
|
5562
5562
|
}, unmarshalDomain$3);
|
|
@@ -5600,7 +5600,7 @@ let API$p = class API extends API$w {
|
|
|
5600
5600
|
*/
|
|
5601
5601
|
createToken = (request = {}) => this.client.fetch({
|
|
5602
5602
|
body: JSON.stringify(marshalCreateTokenRequest$1(request, this.client.settings)),
|
|
5603
|
-
headers: jsonContentHeaders$
|
|
5603
|
+
headers: jsonContentHeaders$n,
|
|
5604
5604
|
method: 'POST',
|
|
5605
5605
|
path: `/containers/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/tokens`
|
|
5606
5606
|
}, unmarshalToken$1);
|
|
@@ -5658,7 +5658,7 @@ let API$p = class API extends API$w {
|
|
|
5658
5658
|
*/
|
|
5659
5659
|
createTrigger = request => this.client.fetch({
|
|
5660
5660
|
body: JSON.stringify(marshalCreateTriggerRequest$1(request, this.client.settings)),
|
|
5661
|
-
headers: jsonContentHeaders$
|
|
5661
|
+
headers: jsonContentHeaders$n,
|
|
5662
5662
|
method: 'POST',
|
|
5663
5663
|
path: `/containers/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/triggers`
|
|
5664
5664
|
}, unmarshalTrigger$1);
|
|
@@ -5715,7 +5715,7 @@ let API$p = class API extends API$w {
|
|
|
5715
5715
|
*/
|
|
5716
5716
|
updateTrigger = request => this.client.fetch({
|
|
5717
5717
|
body: JSON.stringify(marshalUpdateTriggerRequest$1(request, this.client.settings)),
|
|
5718
|
-
headers: jsonContentHeaders$
|
|
5718
|
+
headers: jsonContentHeaders$n,
|
|
5719
5719
|
method: 'PATCH',
|
|
5720
5720
|
path: `/containers/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/triggers/${validatePathParam('triggerId', request.triggerId)}`
|
|
5721
5721
|
}, unmarshalTrigger$1);
|
|
@@ -5786,9 +5786,9 @@ var validationRules_gen$a = /*#__PURE__*/Object.freeze({
|
|
|
5786
5786
|
// This file was automatically generated. DO NOT EDIT.
|
|
5787
5787
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
5788
5788
|
|
|
5789
|
-
var index_gen$
|
|
5789
|
+
var index_gen$n = /*#__PURE__*/Object.freeze({
|
|
5790
5790
|
__proto__: null,
|
|
5791
|
-
API: API$
|
|
5791
|
+
API: API$o,
|
|
5792
5792
|
CONTAINER_TRANSIENT_STATUSES: CONTAINER_TRANSIENT_STATUSES,
|
|
5793
5793
|
CRON_TRANSIENT_STATUSES: CRON_TRANSIENT_STATUSES$1,
|
|
5794
5794
|
DOMAIN_TRANSIENT_STATUSES: DOMAIN_TRANSIENT_STATUSES$3,
|
|
@@ -5800,7 +5800,7 @@ var index_gen$o = /*#__PURE__*/Object.freeze({
|
|
|
5800
5800
|
|
|
5801
5801
|
var index$q = /*#__PURE__*/Object.freeze({
|
|
5802
5802
|
__proto__: null,
|
|
5803
|
-
v1beta1: index_gen$
|
|
5803
|
+
v1beta1: index_gen$n
|
|
5804
5804
|
});
|
|
5805
5805
|
|
|
5806
5806
|
// This file was automatically generated. DO NOT EDIT.
|
|
@@ -6453,12 +6453,12 @@ const marshalUpgradeInstanceRequest$1 = (request, defaults) => ({
|
|
|
6453
6453
|
|
|
6454
6454
|
// This file was automatically generated. DO NOT EDIT.
|
|
6455
6455
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
6456
|
-
const jsonContentHeaders$
|
|
6456
|
+
const jsonContentHeaders$m = {
|
|
6457
6457
|
'Content-Type': 'application/json; charset=utf-8'
|
|
6458
6458
|
};
|
|
6459
6459
|
|
|
6460
6460
|
/** Managed Document Databases API. */
|
|
6461
|
-
let API$
|
|
6461
|
+
let API$n = class API extends API$v {
|
|
6462
6462
|
/** Lists the available regions of the API. */
|
|
6463
6463
|
static LOCALITIES = ['fr-par', 'nl-ams', 'pl-waw'];
|
|
6464
6464
|
pageOfListDatabaseEngines = (request = {}) => this.client.fetch({
|
|
@@ -6502,7 +6502,7 @@ let API$o = class API extends API$w {
|
|
|
6502
6502
|
*/
|
|
6503
6503
|
upgradeInstance = request => this.client.fetch({
|
|
6504
6504
|
body: JSON.stringify(marshalUpgradeInstanceRequest$1(request, this.client.settings)),
|
|
6505
|
-
headers: jsonContentHeaders$
|
|
6505
|
+
headers: jsonContentHeaders$m,
|
|
6506
6506
|
method: 'POST',
|
|
6507
6507
|
path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/upgrade`
|
|
6508
6508
|
}, unmarshalInstance$2);
|
|
@@ -6560,7 +6560,7 @@ let API$o = class API extends API$w {
|
|
|
6560
6560
|
*/
|
|
6561
6561
|
createInstance = request => this.client.fetch({
|
|
6562
6562
|
body: JSON.stringify(marshalCreateInstanceRequest$1(request, this.client.settings)),
|
|
6563
|
-
headers: jsonContentHeaders$
|
|
6563
|
+
headers: jsonContentHeaders$m,
|
|
6564
6564
|
method: 'POST',
|
|
6565
6565
|
path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances`
|
|
6566
6566
|
}, unmarshalInstance$2);
|
|
@@ -6574,7 +6574,7 @@ let API$o = class API extends API$w {
|
|
|
6574
6574
|
*/
|
|
6575
6575
|
updateInstance = request => this.client.fetch({
|
|
6576
6576
|
body: JSON.stringify(marshalUpdateInstanceRequest$1(request, this.client.settings)),
|
|
6577
|
-
headers: jsonContentHeaders$
|
|
6577
|
+
headers: jsonContentHeaders$m,
|
|
6578
6578
|
method: 'PATCH',
|
|
6579
6579
|
path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}`
|
|
6580
6580
|
}, unmarshalInstance$2);
|
|
@@ -6605,7 +6605,7 @@ let API$o = class API extends API$w {
|
|
|
6605
6605
|
*/
|
|
6606
6606
|
cloneInstance = request => this.client.fetch({
|
|
6607
6607
|
body: JSON.stringify(marshalCloneInstanceRequest$1(request, this.client.settings)),
|
|
6608
|
-
headers: jsonContentHeaders$
|
|
6608
|
+
headers: jsonContentHeaders$m,
|
|
6609
6609
|
method: 'POST',
|
|
6610
6610
|
path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/clone`
|
|
6611
6611
|
}, unmarshalInstance$2);
|
|
@@ -6620,7 +6620,7 @@ let API$o = class API extends API$w {
|
|
|
6620
6620
|
*/
|
|
6621
6621
|
restartInstance = request => this.client.fetch({
|
|
6622
6622
|
body: '{}',
|
|
6623
|
-
headers: jsonContentHeaders$
|
|
6623
|
+
headers: jsonContentHeaders$m,
|
|
6624
6624
|
method: 'POST',
|
|
6625
6625
|
path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/restart`
|
|
6626
6626
|
}, unmarshalInstance$2);
|
|
@@ -6651,7 +6651,7 @@ let API$o = class API extends API$w {
|
|
|
6651
6651
|
*/
|
|
6652
6652
|
renewInstanceCertificate = request => this.client.fetch({
|
|
6653
6653
|
body: '{}',
|
|
6654
|
-
headers: jsonContentHeaders$
|
|
6654
|
+
headers: jsonContentHeaders$m,
|
|
6655
6655
|
method: 'POST',
|
|
6656
6656
|
path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/renew-certificate`
|
|
6657
6657
|
});
|
|
@@ -6680,7 +6680,7 @@ let API$o = class API extends API$w {
|
|
|
6680
6680
|
*/
|
|
6681
6681
|
createReadReplica = request => this.client.fetch({
|
|
6682
6682
|
body: JSON.stringify(marshalCreateReadReplicaRequest$1(request, this.client.settings)),
|
|
6683
|
-
headers: jsonContentHeaders$
|
|
6683
|
+
headers: jsonContentHeaders$m,
|
|
6684
6684
|
method: 'POST',
|
|
6685
6685
|
path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/read-replicas`
|
|
6686
6686
|
}, unmarshalReadReplica$1);
|
|
@@ -6732,7 +6732,7 @@ let API$o = class API extends API$w {
|
|
|
6732
6732
|
*/
|
|
6733
6733
|
resetReadReplica = request => this.client.fetch({
|
|
6734
6734
|
body: '{}',
|
|
6735
|
-
headers: jsonContentHeaders$
|
|
6735
|
+
headers: jsonContentHeaders$m,
|
|
6736
6736
|
method: 'POST',
|
|
6737
6737
|
path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/read-replicas/${validatePathParam('readReplicaId', request.readReplicaId)}/reset`
|
|
6738
6738
|
}, unmarshalReadReplica$1);
|
|
@@ -6746,7 +6746,7 @@ let API$o = class API extends API$w {
|
|
|
6746
6746
|
*/
|
|
6747
6747
|
promoteReadReplica = request => this.client.fetch({
|
|
6748
6748
|
body: '{}',
|
|
6749
|
-
headers: jsonContentHeaders$
|
|
6749
|
+
headers: jsonContentHeaders$m,
|
|
6750
6750
|
method: 'POST',
|
|
6751
6751
|
path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/read-replicas/${validatePathParam('readReplicaId', request.readReplicaId)}/promote`
|
|
6752
6752
|
}, unmarshalInstance$2);
|
|
@@ -6761,7 +6761,7 @@ let API$o = class API extends API$w {
|
|
|
6761
6761
|
*/
|
|
6762
6762
|
createReadReplicaEndpoint = request => this.client.fetch({
|
|
6763
6763
|
body: JSON.stringify(marshalCreateReadReplicaEndpointRequest$1(request, this.client.settings)),
|
|
6764
|
-
headers: jsonContentHeaders$
|
|
6764
|
+
headers: jsonContentHeaders$m,
|
|
6765
6765
|
method: 'POST',
|
|
6766
6766
|
path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/read-replicas/${validatePathParam('readReplicaId', request.readReplicaId)}/endpoints`
|
|
6767
6767
|
}, unmarshalReadReplica$1);
|
|
@@ -6813,7 +6813,7 @@ let API$o = class API extends API$w {
|
|
|
6813
6813
|
*/
|
|
6814
6814
|
purgeInstanceLogs = request => this.client.fetch({
|
|
6815
6815
|
body: JSON.stringify(marshalPurgeInstanceLogsRequest$1(request, this.client.settings)),
|
|
6816
|
-
headers: jsonContentHeaders$
|
|
6816
|
+
headers: jsonContentHeaders$m,
|
|
6817
6817
|
method: 'POST',
|
|
6818
6818
|
path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/purge-logs`
|
|
6819
6819
|
});
|
|
@@ -6841,7 +6841,7 @@ let API$o = class API extends API$w {
|
|
|
6841
6841
|
*/
|
|
6842
6842
|
addInstanceSettings = request => this.client.fetch({
|
|
6843
6843
|
body: JSON.stringify(marshalAddInstanceSettingsRequest$1(request, this.client.settings)),
|
|
6844
|
-
headers: jsonContentHeaders$
|
|
6844
|
+
headers: jsonContentHeaders$m,
|
|
6845
6845
|
method: 'POST',
|
|
6846
6846
|
path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/settings`
|
|
6847
6847
|
}, unmarshalAddInstanceSettingsResponse$1);
|
|
@@ -6856,7 +6856,7 @@ let API$o = class API extends API$w {
|
|
|
6856
6856
|
*/
|
|
6857
6857
|
deleteInstanceSettings = request => this.client.fetch({
|
|
6858
6858
|
body: JSON.stringify(marshalDeleteInstanceSettingsRequest$1(request, this.client.settings)),
|
|
6859
|
-
headers: jsonContentHeaders$
|
|
6859
|
+
headers: jsonContentHeaders$m,
|
|
6860
6860
|
method: 'DELETE',
|
|
6861
6861
|
path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/settings`
|
|
6862
6862
|
}, unmarshalDeleteInstanceSettingsResponse$1);
|
|
@@ -6871,7 +6871,7 @@ let API$o = class API extends API$w {
|
|
|
6871
6871
|
*/
|
|
6872
6872
|
setInstanceSettings = request => this.client.fetch({
|
|
6873
6873
|
body: JSON.stringify(marshalSetInstanceSettingsRequest$1(request, this.client.settings)),
|
|
6874
|
-
headers: jsonContentHeaders$
|
|
6874
|
+
headers: jsonContentHeaders$m,
|
|
6875
6875
|
method: 'PUT',
|
|
6876
6876
|
path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/settings`
|
|
6877
6877
|
}, unmarshalSetInstanceSettingsResponse$1);
|
|
@@ -6901,7 +6901,7 @@ let API$o = class API extends API$w {
|
|
|
6901
6901
|
*/
|
|
6902
6902
|
addInstanceACLRules = request => this.client.fetch({
|
|
6903
6903
|
body: JSON.stringify(marshalAddInstanceACLRulesRequest$1(request, this.client.settings)),
|
|
6904
|
-
headers: jsonContentHeaders$
|
|
6904
|
+
headers: jsonContentHeaders$m,
|
|
6905
6905
|
method: 'POST',
|
|
6906
6906
|
path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/acls`
|
|
6907
6907
|
}, unmarshalAddInstanceACLRulesResponse$1);
|
|
@@ -6915,7 +6915,7 @@ let API$o = class API extends API$w {
|
|
|
6915
6915
|
*/
|
|
6916
6916
|
setInstanceACLRules = request => this.client.fetch({
|
|
6917
6917
|
body: JSON.stringify(marshalSetInstanceACLRulesRequest$1(request, this.client.settings)),
|
|
6918
|
-
headers: jsonContentHeaders$
|
|
6918
|
+
headers: jsonContentHeaders$m,
|
|
6919
6919
|
method: 'PUT',
|
|
6920
6920
|
path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/acls`
|
|
6921
6921
|
}, unmarshalSetInstanceACLRulesResponse$1);
|
|
@@ -6929,7 +6929,7 @@ let API$o = class API extends API$w {
|
|
|
6929
6929
|
*/
|
|
6930
6930
|
deleteInstanceACLRules = request => this.client.fetch({
|
|
6931
6931
|
body: JSON.stringify(marshalDeleteInstanceACLRulesRequest$1(request, this.client.settings)),
|
|
6932
|
-
headers: jsonContentHeaders$
|
|
6932
|
+
headers: jsonContentHeaders$m,
|
|
6933
6933
|
method: 'DELETE',
|
|
6934
6934
|
path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/acls`
|
|
6935
6935
|
}, unmarshalDeleteInstanceACLRulesResponse$1);
|
|
@@ -6960,7 +6960,7 @@ let API$o = class API extends API$w {
|
|
|
6960
6960
|
*/
|
|
6961
6961
|
createUser = request => this.client.fetch({
|
|
6962
6962
|
body: JSON.stringify(marshalCreateUserRequest$2(request, this.client.settings)),
|
|
6963
|
-
headers: jsonContentHeaders$
|
|
6963
|
+
headers: jsonContentHeaders$m,
|
|
6964
6964
|
method: 'POST',
|
|
6965
6965
|
path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/users`
|
|
6966
6966
|
}, unmarshalUser$2);
|
|
@@ -6975,7 +6975,7 @@ let API$o = class API extends API$w {
|
|
|
6975
6975
|
*/
|
|
6976
6976
|
updateUser = request => this.client.fetch({
|
|
6977
6977
|
body: JSON.stringify(marshalUpdateUserRequest$1(request, this.client.settings)),
|
|
6978
|
-
headers: jsonContentHeaders$
|
|
6978
|
+
headers: jsonContentHeaders$m,
|
|
6979
6979
|
method: 'PATCH',
|
|
6980
6980
|
path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/users/${validatePathParam('name', request.name)}`
|
|
6981
6981
|
}, unmarshalUser$2);
|
|
@@ -7018,7 +7018,7 @@ let API$o = class API extends API$w {
|
|
|
7018
7018
|
*/
|
|
7019
7019
|
createDatabase = request => this.client.fetch({
|
|
7020
7020
|
body: JSON.stringify(marshalCreateDatabaseRequest$1(request, this.client.settings)),
|
|
7021
|
-
headers: jsonContentHeaders$
|
|
7021
|
+
headers: jsonContentHeaders$m,
|
|
7022
7022
|
method: 'POST',
|
|
7023
7023
|
path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/databases`
|
|
7024
7024
|
}, unmarshalDatabase$1);
|
|
@@ -7062,7 +7062,7 @@ let API$o = class API extends API$w {
|
|
|
7062
7062
|
*/
|
|
7063
7063
|
setPrivilege = request => this.client.fetch({
|
|
7064
7064
|
body: JSON.stringify(marshalSetPrivilegeRequest$1(request, this.client.settings)),
|
|
7065
|
-
headers: jsonContentHeaders$
|
|
7065
|
+
headers: jsonContentHeaders$m,
|
|
7066
7066
|
method: 'PUT',
|
|
7067
7067
|
path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/privileges`
|
|
7068
7068
|
}, unmarshalPrivilege$1);
|
|
@@ -7115,7 +7115,7 @@ let API$o = class API extends API$w {
|
|
|
7115
7115
|
*/
|
|
7116
7116
|
createSnapshot = request => this.client.fetch({
|
|
7117
7117
|
body: JSON.stringify(marshalCreateSnapshotRequest$2(request, this.client.settings)),
|
|
7118
|
-
headers: jsonContentHeaders$
|
|
7118
|
+
headers: jsonContentHeaders$m,
|
|
7119
7119
|
method: 'POST',
|
|
7120
7120
|
path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/snapshots`
|
|
7121
7121
|
}, unmarshalSnapshot$2);
|
|
@@ -7130,7 +7130,7 @@ let API$o = class API extends API$w {
|
|
|
7130
7130
|
*/
|
|
7131
7131
|
updateSnapshot = request => this.client.fetch({
|
|
7132
7132
|
body: JSON.stringify(marshalUpdateSnapshotRequest$1(request, this.client.settings)),
|
|
7133
|
-
headers: jsonContentHeaders$
|
|
7133
|
+
headers: jsonContentHeaders$m,
|
|
7134
7134
|
method: 'PATCH',
|
|
7135
7135
|
path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/snapshots/${validatePathParam('snapshotId', request.snapshotId)}`
|
|
7136
7136
|
}, unmarshalSnapshot$2);
|
|
@@ -7163,7 +7163,7 @@ let API$o = class API extends API$w {
|
|
|
7163
7163
|
*/
|
|
7164
7164
|
createInstanceFromSnapshot = request => this.client.fetch({
|
|
7165
7165
|
body: JSON.stringify(marshalCreateInstanceFromSnapshotRequest$1(request, this.client.settings)),
|
|
7166
|
-
headers: jsonContentHeaders$
|
|
7166
|
+
headers: jsonContentHeaders$m,
|
|
7167
7167
|
method: 'POST',
|
|
7168
7168
|
path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/snapshots/${validatePathParam('snapshotId', request.snapshotId)}/create-instance`
|
|
7169
7169
|
}, unmarshalInstance$2);
|
|
@@ -7178,7 +7178,7 @@ let API$o = class API extends API$w {
|
|
|
7178
7178
|
*/
|
|
7179
7179
|
createEndpoint = request => this.client.fetch({
|
|
7180
7180
|
body: JSON.stringify(marshalCreateEndpointRequest$1(request, this.client.settings)),
|
|
7181
|
-
headers: jsonContentHeaders$
|
|
7181
|
+
headers: jsonContentHeaders$m,
|
|
7182
7182
|
method: 'POST',
|
|
7183
7183
|
path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/endpoints`
|
|
7184
7184
|
}, unmarshalEndpoint$2);
|
|
@@ -7219,7 +7219,7 @@ let API$o = class API extends API$w {
|
|
|
7219
7219
|
*/
|
|
7220
7220
|
migrateEndpoint = request => this.client.fetch({
|
|
7221
7221
|
body: JSON.stringify(marshalMigrateEndpointRequest$1(request, this.client.settings)),
|
|
7222
|
-
headers: jsonContentHeaders$
|
|
7222
|
+
headers: jsonContentHeaders$m,
|
|
7223
7223
|
method: 'POST',
|
|
7224
7224
|
path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/endpoints/${validatePathParam('endpointId', request.endpointId)}/migrate`
|
|
7225
7225
|
}, unmarshalEndpoint$2);
|
|
@@ -7242,9 +7242,9 @@ var validationRules_gen$9 = /*#__PURE__*/Object.freeze({
|
|
|
7242
7242
|
// This file was automatically generated. DO NOT EDIT.
|
|
7243
7243
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
7244
7244
|
|
|
7245
|
-
var index_gen$
|
|
7245
|
+
var index_gen$m = /*#__PURE__*/Object.freeze({
|
|
7246
7246
|
__proto__: null,
|
|
7247
|
-
API: API$
|
|
7247
|
+
API: API$n,
|
|
7248
7248
|
INSTANCE_LOG_TRANSIENT_STATUSES: INSTANCE_LOG_TRANSIENT_STATUSES$1,
|
|
7249
7249
|
INSTANCE_TRANSIENT_STATUSES: INSTANCE_TRANSIENT_STATUSES$2,
|
|
7250
7250
|
MAINTENANCE_TRANSIENT_STATUSES: MAINTENANCE_TRANSIENT_STATUSES$1,
|
|
@@ -7255,7 +7255,7 @@ var index_gen$n = /*#__PURE__*/Object.freeze({
|
|
|
7255
7255
|
|
|
7256
7256
|
var index$p = /*#__PURE__*/Object.freeze({
|
|
7257
7257
|
__proto__: null,
|
|
7258
|
-
v1beta1: index_gen$
|
|
7258
|
+
v1beta1: index_gen$m
|
|
7259
7259
|
});
|
|
7260
7260
|
|
|
7261
7261
|
// This file was automatically generated. DO NOT EDIT.
|
|
@@ -7406,6 +7406,7 @@ const unmarshalDNSZone = data => {
|
|
|
7406
7406
|
}
|
|
7407
7407
|
return {
|
|
7408
7408
|
domain: data.domain,
|
|
7409
|
+
linkedProducts: data.linked_products,
|
|
7409
7410
|
message: data.message,
|
|
7410
7411
|
ns: data.ns,
|
|
7411
7412
|
nsDefault: data.ns_default,
|
|
@@ -7579,6 +7580,7 @@ const unmarshalDomain$2 = data => {
|
|
|
7579
7580
|
expiredAt: unmarshalDate(data.expired_at),
|
|
7580
7581
|
externalDomainRegistrationStatus: data.external_domain_registration_status ? unmarshalDomainRegistrationStatusExternalDomain(data.external_domain_registration_status) : undefined,
|
|
7581
7582
|
isExternal: data.is_external,
|
|
7583
|
+
linkedProducts: data.linked_products,
|
|
7582
7584
|
organizationId: data.organization_id,
|
|
7583
7585
|
ownerContact: data.owner_contact ? unmarshalContact(data.owner_contact) : undefined,
|
|
7584
7586
|
projectId: data.project_id,
|
|
@@ -8454,7 +8456,7 @@ const marshalUpdateDNSZoneRequest = (request, defaults) => ({
|
|
|
8454
8456
|
|
|
8455
8457
|
// This file was automatically generated. DO NOT EDIT.
|
|
8456
8458
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
8457
|
-
const jsonContentHeaders$
|
|
8459
|
+
const jsonContentHeaders$l = {
|
|
8458
8460
|
'Content-Type': 'application/json; charset=utf-8'
|
|
8459
8461
|
};
|
|
8460
8462
|
|
|
@@ -8463,7 +8465,7 @@ const jsonContentHeaders$m = {
|
|
|
8463
8465
|
*
|
|
8464
8466
|
* Manage your domains, DNS zones and records with the Domains and DNS API.
|
|
8465
8467
|
*/
|
|
8466
|
-
let API$
|
|
8468
|
+
let API$m = class API extends API$v {
|
|
8467
8469
|
pageOfListDNSZones = request => this.client.fetch({
|
|
8468
8470
|
method: 'GET',
|
|
8469
8471
|
path: `/domain/v2beta1/dns-zones`,
|
|
@@ -8488,7 +8490,7 @@ let API$n = class API extends API$w {
|
|
|
8488
8490
|
*/
|
|
8489
8491
|
createDNSZone = request => this.client.fetch({
|
|
8490
8492
|
body: JSON.stringify(marshalCreateDNSZoneRequest(request, this.client.settings)),
|
|
8491
|
-
headers: jsonContentHeaders$
|
|
8493
|
+
headers: jsonContentHeaders$l,
|
|
8492
8494
|
method: 'POST',
|
|
8493
8495
|
path: `/domain/v2beta1/dns-zones`
|
|
8494
8496
|
}, unmarshalDNSZone);
|
|
@@ -8501,7 +8503,7 @@ let API$n = class API extends API$w {
|
|
|
8501
8503
|
*/
|
|
8502
8504
|
updateDNSZone = request => this.client.fetch({
|
|
8503
8505
|
body: JSON.stringify(marshalUpdateDNSZoneRequest(request, this.client.settings)),
|
|
8504
|
-
headers: jsonContentHeaders$
|
|
8506
|
+
headers: jsonContentHeaders$l,
|
|
8505
8507
|
method: 'PATCH',
|
|
8506
8508
|
path: `/domain/v2beta1/dns-zones/${validatePathParam('dnsZone', request.dnsZone)}`
|
|
8507
8509
|
}, unmarshalDNSZone);
|
|
@@ -8515,7 +8517,7 @@ let API$n = class API extends API$w {
|
|
|
8515
8517
|
*/
|
|
8516
8518
|
cloneDNSZone = request => this.client.fetch({
|
|
8517
8519
|
body: JSON.stringify(marshalCloneDNSZoneRequest(request, this.client.settings)),
|
|
8518
|
-
headers: jsonContentHeaders$
|
|
8520
|
+
headers: jsonContentHeaders$l,
|
|
8519
8521
|
method: 'POST',
|
|
8520
8522
|
path: `/domain/v2beta1/dns-zones/${validatePathParam('dnsZone', request.dnsZone)}/clone`
|
|
8521
8523
|
}, unmarshalDNSZone);
|
|
@@ -8568,7 +8570,7 @@ let API$n = class API extends API$w {
|
|
|
8568
8570
|
*/
|
|
8569
8571
|
updateDNSZoneRecords = request => this.client.fetch({
|
|
8570
8572
|
body: JSON.stringify(marshalUpdateDNSZoneRecordsRequest(request, this.client.settings)),
|
|
8571
|
-
headers: jsonContentHeaders$
|
|
8573
|
+
headers: jsonContentHeaders$l,
|
|
8572
8574
|
method: 'PATCH',
|
|
8573
8575
|
path: `/domain/v2beta1/dns-zones/${validatePathParam('dnsZone', request.dnsZone)}/records`
|
|
8574
8576
|
}, unmarshalUpdateDNSZoneRecordsResponse);
|
|
@@ -8595,7 +8597,7 @@ let API$n = class API extends API$w {
|
|
|
8595
8597
|
*/
|
|
8596
8598
|
updateDNSZoneNameservers = request => this.client.fetch({
|
|
8597
8599
|
body: JSON.stringify(marshalUpdateDNSZoneNameserversRequest(request, this.client.settings)),
|
|
8598
|
-
headers: jsonContentHeaders$
|
|
8600
|
+
headers: jsonContentHeaders$l,
|
|
8599
8601
|
method: 'PUT',
|
|
8600
8602
|
path: `/domain/v2beta1/dns-zones/${validatePathParam('dnsZone', request.dnsZone)}/nameservers`
|
|
8601
8603
|
}, unmarshalUpdateDNSZoneNameserversResponse);
|
|
@@ -8635,7 +8637,7 @@ let API$n = class API extends API$w {
|
|
|
8635
8637
|
*/
|
|
8636
8638
|
importRawDNSZone = request => this.client.fetch({
|
|
8637
8639
|
body: JSON.stringify(marshalImportRawDNSZoneRequest(request, this.client.settings)),
|
|
8638
|
-
headers: jsonContentHeaders$
|
|
8640
|
+
headers: jsonContentHeaders$l,
|
|
8639
8641
|
method: 'POST',
|
|
8640
8642
|
path: `/domain/v2beta1/dns-zones/${validatePathParam('dnsZone', request.dnsZone)}/raw`
|
|
8641
8643
|
}, unmarshalImportRawDNSZoneResponse);
|
|
@@ -8649,7 +8651,7 @@ let API$n = class API extends API$w {
|
|
|
8649
8651
|
*/
|
|
8650
8652
|
importProviderDNSZone = request => this.client.fetch({
|
|
8651
8653
|
body: JSON.stringify(marshalImportProviderDNSZoneRequest(request, this.client.settings)),
|
|
8652
|
-
headers: jsonContentHeaders$
|
|
8654
|
+
headers: jsonContentHeaders$l,
|
|
8653
8655
|
method: 'POST',
|
|
8654
8656
|
path: `/domain/v2beta1/dns-zones/${validatePathParam('dnsZone', request.dnsZone)}/import-provider`
|
|
8655
8657
|
}, unmarshalImportProviderDNSZoneResponse);
|
|
@@ -8664,7 +8666,7 @@ let API$n = class API extends API$w {
|
|
|
8664
8666
|
*/
|
|
8665
8667
|
refreshDNSZone = request => this.client.fetch({
|
|
8666
8668
|
body: JSON.stringify(marshalRefreshDNSZoneRequest(request, this.client.settings)),
|
|
8667
|
-
headers: jsonContentHeaders$
|
|
8669
|
+
headers: jsonContentHeaders$l,
|
|
8668
8670
|
method: 'POST',
|
|
8669
8671
|
path: `/domain/v2beta1/dns-zones/${validatePathParam('dnsZone', request.dnsZone)}/refresh`
|
|
8670
8672
|
}, unmarshalRefreshDNSZoneResponse);
|
|
@@ -8719,7 +8721,7 @@ let API$n = class API extends API$w {
|
|
|
8719
8721
|
*/
|
|
8720
8722
|
restoreDNSZoneVersion = request => this.client.fetch({
|
|
8721
8723
|
body: '{}',
|
|
8722
|
-
headers: jsonContentHeaders$
|
|
8724
|
+
headers: jsonContentHeaders$l,
|
|
8723
8725
|
method: 'POST',
|
|
8724
8726
|
path: `/domain/v2beta1/dns-zones/version/${validatePathParam('dnsZoneVersionId', request.dnsZoneVersionId)}/restore`
|
|
8725
8727
|
}, unmarshalRestoreDNSZoneVersionResponse);
|
|
@@ -8754,7 +8756,7 @@ let API$n = class API extends API$w {
|
|
|
8754
8756
|
*/
|
|
8755
8757
|
createSSLCertificate = request => this.client.fetch({
|
|
8756
8758
|
body: JSON.stringify(marshalCreateSSLCertificateRequest(request, this.client.settings)),
|
|
8757
|
-
headers: jsonContentHeaders$
|
|
8759
|
+
headers: jsonContentHeaders$l,
|
|
8758
8760
|
method: 'POST',
|
|
8759
8761
|
path: `/domain/v2beta1/ssl-certificates`
|
|
8760
8762
|
}, unmarshalSSLCertificate);
|
|
@@ -8815,7 +8817,7 @@ let API$n = class API extends API$w {
|
|
|
8815
8817
|
*
|
|
8816
8818
|
* Manage your domains and contacts.
|
|
8817
8819
|
*/
|
|
8818
|
-
class RegistrarAPI extends API$
|
|
8820
|
+
class RegistrarAPI extends API$v {
|
|
8819
8821
|
pageOfListTasks = (request = {}) => this.client.fetch({
|
|
8820
8822
|
method: 'GET',
|
|
8821
8823
|
path: `/domain/v2beta1/tasks`,
|
|
@@ -8840,7 +8842,7 @@ class RegistrarAPI extends API$w {
|
|
|
8840
8842
|
*/
|
|
8841
8843
|
buyDomains = request => this.client.fetch({
|
|
8842
8844
|
body: JSON.stringify(marshalRegistrarApiBuyDomainsRequest(request, this.client.settings)),
|
|
8843
|
-
headers: jsonContentHeaders$
|
|
8845
|
+
headers: jsonContentHeaders$l,
|
|
8844
8846
|
method: 'POST',
|
|
8845
8847
|
path: `/domain/v2beta1/buy-domains`
|
|
8846
8848
|
}, unmarshalOrderResponse);
|
|
@@ -8853,7 +8855,7 @@ class RegistrarAPI extends API$w {
|
|
|
8853
8855
|
*/
|
|
8854
8856
|
renewDomains = request => this.client.fetch({
|
|
8855
8857
|
body: JSON.stringify(marshalRegistrarApiRenewDomainsRequest(request, this.client.settings)),
|
|
8856
|
-
headers: jsonContentHeaders$
|
|
8858
|
+
headers: jsonContentHeaders$l,
|
|
8857
8859
|
method: 'POST',
|
|
8858
8860
|
path: `/domain/v2beta1/renew-domains`
|
|
8859
8861
|
}, unmarshalOrderResponse);
|
|
@@ -8867,7 +8869,7 @@ class RegistrarAPI extends API$w {
|
|
|
8867
8869
|
*/
|
|
8868
8870
|
transferInDomain = request => this.client.fetch({
|
|
8869
8871
|
body: JSON.stringify(marshalRegistrarApiTransferInDomainRequest(request, this.client.settings)),
|
|
8870
|
-
headers: jsonContentHeaders$
|
|
8872
|
+
headers: jsonContentHeaders$l,
|
|
8871
8873
|
method: 'POST',
|
|
8872
8874
|
path: `/domain/v2beta1/domains/transfer-domains`
|
|
8873
8875
|
}, unmarshalOrderResponse);
|
|
@@ -8887,7 +8889,7 @@ class RegistrarAPI extends API$w {
|
|
|
8887
8889
|
*/
|
|
8888
8890
|
tradeDomain = request => this.client.fetch({
|
|
8889
8891
|
body: JSON.stringify(marshalRegistrarApiTradeDomainRequest(request, this.client.settings)),
|
|
8890
|
-
headers: jsonContentHeaders$
|
|
8892
|
+
headers: jsonContentHeaders$l,
|
|
8891
8893
|
method: 'POST',
|
|
8892
8894
|
path: `/domain/v2beta1/domains/${validatePathParam('domain', request.domain)}/trade`
|
|
8893
8895
|
}, unmarshalOrderResponse);
|
|
@@ -8902,7 +8904,7 @@ class RegistrarAPI extends API$w {
|
|
|
8902
8904
|
*/
|
|
8903
8905
|
registerExternalDomain = request => this.client.fetch({
|
|
8904
8906
|
body: JSON.stringify(marshalRegistrarApiRegisterExternalDomainRequest(request, this.client.settings)),
|
|
8905
|
-
headers: jsonContentHeaders$
|
|
8907
|
+
headers: jsonContentHeaders$l,
|
|
8906
8908
|
method: 'POST',
|
|
8907
8909
|
path: `/domain/v2beta1/external-domains`
|
|
8908
8910
|
}, unmarshalRegisterExternalDomainResponse);
|
|
@@ -8930,7 +8932,7 @@ class RegistrarAPI extends API$w {
|
|
|
8930
8932
|
*/
|
|
8931
8933
|
checkContactsCompatibility = (request = {}) => this.client.fetch({
|
|
8932
8934
|
body: JSON.stringify(marshalRegistrarApiCheckContactsCompatibilityRequest(request, this.client.settings)),
|
|
8933
|
-
headers: jsonContentHeaders$
|
|
8935
|
+
headers: jsonContentHeaders$l,
|
|
8934
8936
|
method: 'POST',
|
|
8935
8937
|
path: `/domain/v2beta1/check-contacts-compatibility`
|
|
8936
8938
|
}, unmarshalCheckContactsCompatibilityResponse);
|
|
@@ -8969,7 +8971,7 @@ class RegistrarAPI extends API$w {
|
|
|
8969
8971
|
*/
|
|
8970
8972
|
updateContact = request => this.client.fetch({
|
|
8971
8973
|
body: JSON.stringify(marshalRegistrarApiUpdateContactRequest(request, this.client.settings)),
|
|
8972
|
-
headers: jsonContentHeaders$
|
|
8974
|
+
headers: jsonContentHeaders$l,
|
|
8973
8975
|
method: 'PATCH',
|
|
8974
8976
|
path: `/domain/v2beta1/contacts/${validatePathParam('contactId', request.contactId)}`
|
|
8975
8977
|
}, unmarshalContact);
|
|
@@ -9034,7 +9036,7 @@ class RegistrarAPI extends API$w {
|
|
|
9034
9036
|
*/
|
|
9035
9037
|
updateDomain = request => this.client.fetch({
|
|
9036
9038
|
body: JSON.stringify(marshalRegistrarApiUpdateDomainRequest(request, this.client.settings)),
|
|
9037
|
-
headers: jsonContentHeaders$
|
|
9039
|
+
headers: jsonContentHeaders$l,
|
|
9038
9040
|
method: 'PATCH',
|
|
9039
9041
|
path: `/domain/v2beta1/domains/${validatePathParam('domain', request.domain)}`
|
|
9040
9042
|
}, unmarshalDomain$2);
|
|
@@ -9049,7 +9051,7 @@ class RegistrarAPI extends API$w {
|
|
|
9049
9051
|
*/
|
|
9050
9052
|
lockDomainTransfer = request => this.client.fetch({
|
|
9051
9053
|
body: '{}',
|
|
9052
|
-
headers: jsonContentHeaders$
|
|
9054
|
+
headers: jsonContentHeaders$l,
|
|
9053
9055
|
method: 'POST',
|
|
9054
9056
|
path: `/domain/v2beta1/domains/${validatePathParam('domain', request.domain)}/lock-transfer`
|
|
9055
9057
|
}, unmarshalDomain$2);
|
|
@@ -9064,7 +9066,7 @@ class RegistrarAPI extends API$w {
|
|
|
9064
9066
|
*/
|
|
9065
9067
|
unlockDomainTransfer = request => this.client.fetch({
|
|
9066
9068
|
body: '{}',
|
|
9067
|
-
headers: jsonContentHeaders$
|
|
9069
|
+
headers: jsonContentHeaders$l,
|
|
9068
9070
|
method: 'POST',
|
|
9069
9071
|
path: `/domain/v2beta1/domains/${validatePathParam('domain', request.domain)}/unlock-transfer`
|
|
9070
9072
|
}, unmarshalDomain$2);
|
|
@@ -9079,7 +9081,7 @@ class RegistrarAPI extends API$w {
|
|
|
9079
9081
|
*/
|
|
9080
9082
|
enableDomainAutoRenew = request => this.client.fetch({
|
|
9081
9083
|
body: '{}',
|
|
9082
|
-
headers: jsonContentHeaders$
|
|
9084
|
+
headers: jsonContentHeaders$l,
|
|
9083
9085
|
method: 'POST',
|
|
9084
9086
|
path: `/domain/v2beta1/domains/${validatePathParam('domain', request.domain)}/enable-auto-renew`
|
|
9085
9087
|
}, unmarshalDomain$2);
|
|
@@ -9094,7 +9096,7 @@ class RegistrarAPI extends API$w {
|
|
|
9094
9096
|
*/
|
|
9095
9097
|
disableDomainAutoRenew = request => this.client.fetch({
|
|
9096
9098
|
body: '{}',
|
|
9097
|
-
headers: jsonContentHeaders$
|
|
9099
|
+
headers: jsonContentHeaders$l,
|
|
9098
9100
|
method: 'POST',
|
|
9099
9101
|
path: `/domain/v2beta1/domains/${validatePathParam('domain', request.domain)}/disable-auto-renew`
|
|
9100
9102
|
}, unmarshalDomain$2);
|
|
@@ -9123,7 +9125,7 @@ class RegistrarAPI extends API$w {
|
|
|
9123
9125
|
*/
|
|
9124
9126
|
enableDomainDNSSEC = request => this.client.fetch({
|
|
9125
9127
|
body: JSON.stringify(marshalRegistrarApiEnableDomainDNSSECRequest(request, this.client.settings)),
|
|
9126
|
-
headers: jsonContentHeaders$
|
|
9128
|
+
headers: jsonContentHeaders$l,
|
|
9127
9129
|
method: 'POST',
|
|
9128
9130
|
path: `/domain/v2beta1/domains/${validatePathParam('domain', request.domain)}/enable-dnssec`
|
|
9129
9131
|
}, unmarshalDomain$2);
|
|
@@ -9136,7 +9138,7 @@ class RegistrarAPI extends API$w {
|
|
|
9136
9138
|
*/
|
|
9137
9139
|
disableDomainDNSSEC = request => this.client.fetch({
|
|
9138
9140
|
body: '{}',
|
|
9139
|
-
headers: jsonContentHeaders$
|
|
9141
|
+
headers: jsonContentHeaders$l,
|
|
9140
9142
|
method: 'POST',
|
|
9141
9143
|
path: `/domain/v2beta1/domains/${validatePathParam('domain', request.domain)}/disable-dnssec`
|
|
9142
9144
|
}, unmarshalDomain$2);
|
|
@@ -9180,7 +9182,7 @@ class RegistrarAPI extends API$w {
|
|
|
9180
9182
|
*/
|
|
9181
9183
|
createDomainHost = request => this.client.fetch({
|
|
9182
9184
|
body: JSON.stringify(marshalRegistrarApiCreateDomainHostRequest(request, this.client.settings)),
|
|
9183
|
-
headers: jsonContentHeaders$
|
|
9185
|
+
headers: jsonContentHeaders$l,
|
|
9184
9186
|
method: 'POST',
|
|
9185
9187
|
path: `/domain/v2beta1/domains/${validatePathParam('domain', request.domain)}/hosts`
|
|
9186
9188
|
}, unmarshalHost);
|
|
@@ -9206,7 +9208,7 @@ class RegistrarAPI extends API$w {
|
|
|
9206
9208
|
*/
|
|
9207
9209
|
updateDomainHost = request => this.client.fetch({
|
|
9208
9210
|
body: JSON.stringify(marshalRegistrarApiUpdateDomainHostRequest(request, this.client.settings)),
|
|
9209
|
-
headers: jsonContentHeaders$
|
|
9211
|
+
headers: jsonContentHeaders$l,
|
|
9210
9212
|
method: 'PATCH',
|
|
9211
9213
|
path: `/domain/v2beta1/domains/${validatePathParam('domain', request.domain)}/hosts/${validatePathParam('name', request.name)}`
|
|
9212
9214
|
}, unmarshalHost);
|
|
@@ -9226,9 +9228,9 @@ class RegistrarAPI extends API$w {
|
|
|
9226
9228
|
// This file was automatically generated. DO NOT EDIT.
|
|
9227
9229
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
9228
9230
|
|
|
9229
|
-
var index_gen$
|
|
9231
|
+
var index_gen$l = /*#__PURE__*/Object.freeze({
|
|
9230
9232
|
__proto__: null,
|
|
9231
|
-
API: API$
|
|
9233
|
+
API: API$m,
|
|
9232
9234
|
DNS_ZONE_TRANSIENT_STATUSES: DNS_ZONE_TRANSIENT_STATUSES,
|
|
9233
9235
|
DOMAIN_FEATURE_TRANSIENT_STATUSES: DOMAIN_FEATURE_TRANSIENT_STATUSES,
|
|
9234
9236
|
DOMAIN_REGISTRATION_STATUS_TRANSFER_TRANSIENT_STATUSES: DOMAIN_REGISTRATION_STATUS_TRANSFER_TRANSIENT_STATUSES,
|
|
@@ -9241,7 +9243,7 @@ var index_gen$m = /*#__PURE__*/Object.freeze({
|
|
|
9241
9243
|
|
|
9242
9244
|
var index$o = /*#__PURE__*/Object.freeze({
|
|
9243
9245
|
__proto__: null,
|
|
9244
|
-
v2beta1: index_gen$
|
|
9246
|
+
v2beta1: index_gen$l
|
|
9245
9247
|
});
|
|
9246
9248
|
|
|
9247
9249
|
// This file was automatically generated. DO NOT EDIT.
|
|
@@ -9348,12 +9350,12 @@ const marshalUpdateFlexibleIPRequest = (request, defaults) => ({
|
|
|
9348
9350
|
|
|
9349
9351
|
// This file was automatically generated. DO NOT EDIT.
|
|
9350
9352
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
9351
|
-
const jsonContentHeaders$
|
|
9353
|
+
const jsonContentHeaders$k = {
|
|
9352
9354
|
'Content-Type': 'application/json; charset=utf-8'
|
|
9353
9355
|
};
|
|
9354
9356
|
|
|
9355
9357
|
/** Elastic Metal - Flexible IP API. */
|
|
9356
|
-
let API$
|
|
9358
|
+
let API$l = class API extends API$v {
|
|
9357
9359
|
/** Lists the available zones of the API. */
|
|
9358
9360
|
static LOCALITIES = ['fr-par-1', 'fr-par-2', 'nl-ams-1'];
|
|
9359
9361
|
|
|
@@ -9366,7 +9368,7 @@ let API$m = class API extends API$w {
|
|
|
9366
9368
|
*/
|
|
9367
9369
|
createFlexibleIP = request => this.client.fetch({
|
|
9368
9370
|
body: JSON.stringify(marshalCreateFlexibleIPRequest(request, this.client.settings)),
|
|
9369
|
-
headers: jsonContentHeaders$
|
|
9371
|
+
headers: jsonContentHeaders$k,
|
|
9370
9372
|
method: 'POST',
|
|
9371
9373
|
path: `/flexible-ip/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/fips`
|
|
9372
9374
|
}, unmarshalFlexibleIP);
|
|
@@ -9416,7 +9418,7 @@ let API$m = class API extends API$w {
|
|
|
9416
9418
|
*/
|
|
9417
9419
|
updateFlexibleIP = request => this.client.fetch({
|
|
9418
9420
|
body: JSON.stringify(marshalUpdateFlexibleIPRequest(request, this.client.settings)),
|
|
9419
|
-
headers: jsonContentHeaders$
|
|
9421
|
+
headers: jsonContentHeaders$k,
|
|
9420
9422
|
method: 'PATCH',
|
|
9421
9423
|
path: `/flexible-ip/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/fips/${validatePathParam('fipId', request.fipId)}`
|
|
9422
9424
|
}, unmarshalFlexibleIP);
|
|
@@ -9442,7 +9444,7 @@ let API$m = class API extends API$w {
|
|
|
9442
9444
|
*/
|
|
9443
9445
|
attachFlexibleIP = request => this.client.fetch({
|
|
9444
9446
|
body: JSON.stringify(marshalAttachFlexibleIPRequest(request, this.client.settings)),
|
|
9445
|
-
headers: jsonContentHeaders$
|
|
9447
|
+
headers: jsonContentHeaders$k,
|
|
9446
9448
|
method: 'POST',
|
|
9447
9449
|
path: `/flexible-ip/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/fips/attach`
|
|
9448
9450
|
}, unmarshalAttachFlexibleIPsResponse);
|
|
@@ -9456,7 +9458,7 @@ let API$m = class API extends API$w {
|
|
|
9456
9458
|
*/
|
|
9457
9459
|
detachFlexibleIP = request => this.client.fetch({
|
|
9458
9460
|
body: JSON.stringify(marshalDetachFlexibleIPRequest(request, this.client.settings)),
|
|
9459
|
-
headers: jsonContentHeaders$
|
|
9461
|
+
headers: jsonContentHeaders$k,
|
|
9460
9462
|
method: 'POST',
|
|
9461
9463
|
path: `/flexible-ip/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/fips/detach`
|
|
9462
9464
|
}, unmarshalDetachFlexibleIPsResponse);
|
|
@@ -9470,7 +9472,7 @@ let API$m = class API extends API$w {
|
|
|
9470
9472
|
*/
|
|
9471
9473
|
generateMACAddr = request => this.client.fetch({
|
|
9472
9474
|
body: JSON.stringify(marshalGenerateMACAddrRequest(request, this.client.settings)),
|
|
9473
|
-
headers: jsonContentHeaders$
|
|
9475
|
+
headers: jsonContentHeaders$k,
|
|
9474
9476
|
method: 'POST',
|
|
9475
9477
|
path: `/flexible-ip/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/fips/${validatePathParam('fipId', request.fipId)}/mac`
|
|
9476
9478
|
}, unmarshalFlexibleIP);
|
|
@@ -9485,7 +9487,7 @@ let API$m = class API extends API$w {
|
|
|
9485
9487
|
*/
|
|
9486
9488
|
duplicateMACAddr = request => this.client.fetch({
|
|
9487
9489
|
body: JSON.stringify(marshalDuplicateMACAddrRequest(request, this.client.settings)),
|
|
9488
|
-
headers: jsonContentHeaders$
|
|
9490
|
+
headers: jsonContentHeaders$k,
|
|
9489
9491
|
method: 'POST',
|
|
9490
9492
|
path: `/flexible-ip/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/fips/${validatePathParam('fipId', request.fipId)}/mac/duplicate`
|
|
9491
9493
|
}, unmarshalFlexibleIP);
|
|
@@ -9500,7 +9502,7 @@ let API$m = class API extends API$w {
|
|
|
9500
9502
|
*/
|
|
9501
9503
|
moveMACAddr = request => this.client.fetch({
|
|
9502
9504
|
body: JSON.stringify(marshalMoveMACAddrRequest(request, this.client.settings)),
|
|
9503
|
-
headers: jsonContentHeaders$
|
|
9505
|
+
headers: jsonContentHeaders$k,
|
|
9504
9506
|
method: 'POST',
|
|
9505
9507
|
path: `/flexible-ip/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/fips/${validatePathParam('fipId', request.fipId)}/mac/move`
|
|
9506
9508
|
}, unmarshalFlexibleIP);
|
|
@@ -9538,9 +9540,9 @@ var validationRules_gen$8 = /*#__PURE__*/Object.freeze({
|
|
|
9538
9540
|
// This file was automatically generated. DO NOT EDIT.
|
|
9539
9541
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
9540
9542
|
|
|
9541
|
-
var index_gen$
|
|
9543
|
+
var index_gen$k = /*#__PURE__*/Object.freeze({
|
|
9542
9544
|
__proto__: null,
|
|
9543
|
-
API: API$
|
|
9545
|
+
API: API$l,
|
|
9544
9546
|
FLEXIBLE_IP_TRANSIENT_STATUSES: FLEXIBLE_IP_TRANSIENT_STATUSES,
|
|
9545
9547
|
MAC_ADDRESS_TRANSIENT_STATUSES: MAC_ADDRESS_TRANSIENT_STATUSES,
|
|
9546
9548
|
ValidationRules: validationRules_gen$8
|
|
@@ -9548,7 +9550,7 @@ var index_gen$l = /*#__PURE__*/Object.freeze({
|
|
|
9548
9550
|
|
|
9549
9551
|
var index$n = /*#__PURE__*/Object.freeze({
|
|
9550
9552
|
__proto__: null,
|
|
9551
|
-
v1alpha1: index_gen$
|
|
9553
|
+
v1alpha1: index_gen$k
|
|
9552
9554
|
});
|
|
9553
9555
|
|
|
9554
9556
|
// This file was automatically generated. DO NOT EDIT.
|
|
@@ -9637,7 +9639,7 @@ const unmarshalFunction = data => {
|
|
|
9637
9639
|
timeout: data.timeout
|
|
9638
9640
|
};
|
|
9639
9641
|
};
|
|
9640
|
-
const unmarshalNamespace$
|
|
9642
|
+
const unmarshalNamespace$1 = data => {
|
|
9641
9643
|
if (!isJSONObject(data)) {
|
|
9642
9644
|
throw new TypeError(`Unmarshalling the type 'Namespace' failed as data isn't a dictionary.`);
|
|
9643
9645
|
}
|
|
@@ -9808,12 +9810,12 @@ const unmarshalListLogsResponse$1 = data => {
|
|
|
9808
9810
|
totalCount: data.total_count
|
|
9809
9811
|
};
|
|
9810
9812
|
};
|
|
9811
|
-
const unmarshalListNamespacesResponse$
|
|
9813
|
+
const unmarshalListNamespacesResponse$1 = data => {
|
|
9812
9814
|
if (!isJSONObject(data)) {
|
|
9813
9815
|
throw new TypeError(`Unmarshalling the type 'ListNamespacesResponse' failed as data isn't a dictionary.`);
|
|
9814
9816
|
}
|
|
9815
9817
|
return {
|
|
9816
|
-
namespaces: unmarshalArrayOfObject(data.namespaces, unmarshalNamespace$
|
|
9818
|
+
namespaces: unmarshalArrayOfObject(data.namespaces, unmarshalNamespace$1),
|
|
9817
9819
|
totalCount: data.total_count
|
|
9818
9820
|
};
|
|
9819
9821
|
};
|
|
@@ -9873,7 +9875,7 @@ const marshalCreateFunctionRequest = (request, defaults) => ({
|
|
|
9873
9875
|
secret_environment_variables: request.secretEnvironmentVariables !== undefined ? request.secretEnvironmentVariables.map(elt => marshalSecret(elt)) : undefined,
|
|
9874
9876
|
timeout: request.timeout
|
|
9875
9877
|
});
|
|
9876
|
-
const marshalCreateNamespaceRequest$
|
|
9878
|
+
const marshalCreateNamespaceRequest$1 = (request, defaults) => ({
|
|
9877
9879
|
description: request.description,
|
|
9878
9880
|
environment_variables: request.environmentVariables,
|
|
9879
9881
|
name: request.name || randomName('ns'),
|
|
@@ -9945,7 +9947,7 @@ const marshalUpdateFunctionRequest = (request, defaults) => ({
|
|
|
9945
9947
|
secret_environment_variables: request.secretEnvironmentVariables !== undefined ? request.secretEnvironmentVariables.map(elt => marshalSecret(elt)) : undefined,
|
|
9946
9948
|
timeout: request.timeout
|
|
9947
9949
|
});
|
|
9948
|
-
const marshalUpdateNamespaceRequest$
|
|
9950
|
+
const marshalUpdateNamespaceRequest$1 = (request, defaults) => ({
|
|
9949
9951
|
description: request.description,
|
|
9950
9952
|
environment_variables: request.environmentVariables,
|
|
9951
9953
|
secret_environment_variables: request.secretEnvironmentVariables !== undefined ? request.secretEnvironmentVariables.map(elt => marshalSecret(elt)) : undefined
|
|
@@ -9965,19 +9967,19 @@ const marshalUpdateTriggerRequest = (request, defaults) => ({
|
|
|
9965
9967
|
|
|
9966
9968
|
// This file was automatically generated. DO NOT EDIT.
|
|
9967
9969
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
9968
|
-
const jsonContentHeaders$
|
|
9970
|
+
const jsonContentHeaders$j = {
|
|
9969
9971
|
'Content-Type': 'application/json; charset=utf-8'
|
|
9970
9972
|
};
|
|
9971
9973
|
|
|
9972
9974
|
/** Serverless Functions API. */
|
|
9973
|
-
let API$
|
|
9975
|
+
let API$k = class API extends API$v {
|
|
9974
9976
|
/** Lists the available regions of the API. */
|
|
9975
9977
|
static LOCALITIES = ['fr-par', 'nl-ams', 'pl-waw'];
|
|
9976
9978
|
pageOfListNamespaces = (request = {}) => this.client.fetch({
|
|
9977
9979
|
method: 'GET',
|
|
9978
9980
|
path: `/functions/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/namespaces`,
|
|
9979
9981
|
urlParams: urlParams(['name', request.name], ['order_by', request.orderBy], ['organization_id', request.organizationId], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['project_id', request.projectId])
|
|
9980
|
-
}, unmarshalListNamespacesResponse$
|
|
9982
|
+
}, unmarshalListNamespacesResponse$1);
|
|
9981
9983
|
|
|
9982
9984
|
/**
|
|
9983
9985
|
* List all your namespaces. List all existing namespaces in the specified
|
|
@@ -9997,7 +9999,7 @@ let API$l = class API extends API$w {
|
|
|
9997
9999
|
getNamespace = request => this.client.fetch({
|
|
9998
10000
|
method: 'GET',
|
|
9999
10001
|
path: `/functions/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/namespaces/${validatePathParam('namespaceId', request.namespaceId)}`
|
|
10000
|
-
}, unmarshalNamespace$
|
|
10002
|
+
}, unmarshalNamespace$1);
|
|
10001
10003
|
|
|
10002
10004
|
/**
|
|
10003
10005
|
* Waits for {@link Namespace} to be in a final state.
|
|
@@ -10016,11 +10018,11 @@ let API$l = class API extends API$w {
|
|
|
10016
10018
|
* @returns A Promise of Namespace
|
|
10017
10019
|
*/
|
|
10018
10020
|
createNamespace = (request = {}) => this.client.fetch({
|
|
10019
|
-
body: JSON.stringify(marshalCreateNamespaceRequest$
|
|
10020
|
-
headers: jsonContentHeaders$
|
|
10021
|
+
body: JSON.stringify(marshalCreateNamespaceRequest$1(request, this.client.settings)),
|
|
10022
|
+
headers: jsonContentHeaders$j,
|
|
10021
10023
|
method: 'POST',
|
|
10022
10024
|
path: `/functions/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/namespaces`
|
|
10023
|
-
}, unmarshalNamespace$
|
|
10025
|
+
}, unmarshalNamespace$1);
|
|
10024
10026
|
|
|
10025
10027
|
/**
|
|
10026
10028
|
* Update an existing namespace. Update the namespace associated with the
|
|
@@ -10030,11 +10032,11 @@ let API$l = class API extends API$w {
|
|
|
10030
10032
|
* @returns A Promise of Namespace
|
|
10031
10033
|
*/
|
|
10032
10034
|
updateNamespace = request => this.client.fetch({
|
|
10033
|
-
body: JSON.stringify(marshalUpdateNamespaceRequest$
|
|
10034
|
-
headers: jsonContentHeaders$
|
|
10035
|
+
body: JSON.stringify(marshalUpdateNamespaceRequest$1(request, this.client.settings)),
|
|
10036
|
+
headers: jsonContentHeaders$j,
|
|
10035
10037
|
method: 'PATCH',
|
|
10036
10038
|
path: `/functions/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/namespaces/${validatePathParam('namespaceId', request.namespaceId)}`
|
|
10037
|
-
}, unmarshalNamespace$
|
|
10039
|
+
}, unmarshalNamespace$1);
|
|
10038
10040
|
|
|
10039
10041
|
/**
|
|
10040
10042
|
* Delete an existing namespace. Delete the namespace associated with the
|
|
@@ -10046,7 +10048,7 @@ let API$l = class API extends API$w {
|
|
|
10046
10048
|
deleteNamespace = request => this.client.fetch({
|
|
10047
10049
|
method: 'DELETE',
|
|
10048
10050
|
path: `/functions/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/namespaces/${validatePathParam('namespaceId', request.namespaceId)}`
|
|
10049
|
-
}, unmarshalNamespace$
|
|
10051
|
+
}, unmarshalNamespace$1);
|
|
10050
10052
|
pageOfListFunctions = request => this.client.fetch({
|
|
10051
10053
|
method: 'GET',
|
|
10052
10054
|
path: `/functions/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/functions`,
|
|
@@ -10090,7 +10092,7 @@ let API$l = class API extends API$w {
|
|
|
10090
10092
|
*/
|
|
10091
10093
|
createFunction = request => this.client.fetch({
|
|
10092
10094
|
body: JSON.stringify(marshalCreateFunctionRequest(request, this.client.settings)),
|
|
10093
|
-
headers: jsonContentHeaders$
|
|
10095
|
+
headers: jsonContentHeaders$j,
|
|
10094
10096
|
method: 'POST',
|
|
10095
10097
|
path: `/functions/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/functions`
|
|
10096
10098
|
}, unmarshalFunction);
|
|
@@ -10104,7 +10106,7 @@ let API$l = class API extends API$w {
|
|
|
10104
10106
|
*/
|
|
10105
10107
|
updateFunction = request => this.client.fetch({
|
|
10106
10108
|
body: JSON.stringify(marshalUpdateFunctionRequest(request, this.client.settings)),
|
|
10107
|
-
headers: jsonContentHeaders$
|
|
10109
|
+
headers: jsonContentHeaders$j,
|
|
10108
10110
|
method: 'PATCH',
|
|
10109
10111
|
path: `/functions/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/functions/${validatePathParam('functionId', request.functionId)}`
|
|
10110
10112
|
}, unmarshalFunction);
|
|
@@ -10128,7 +10130,7 @@ let API$l = class API extends API$w {
|
|
|
10128
10130
|
*/
|
|
10129
10131
|
deployFunction = request => this.client.fetch({
|
|
10130
10132
|
body: '{}',
|
|
10131
|
-
headers: jsonContentHeaders$
|
|
10133
|
+
headers: jsonContentHeaders$j,
|
|
10132
10134
|
method: 'POST',
|
|
10133
10135
|
path: `/functions/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/functions/${validatePathParam('functionId', request.functionId)}/deploy`
|
|
10134
10136
|
}, unmarshalFunction);
|
|
@@ -10211,7 +10213,7 @@ let API$l = class API extends API$w {
|
|
|
10211
10213
|
*/
|
|
10212
10214
|
createCron = request => this.client.fetch({
|
|
10213
10215
|
body: JSON.stringify(marshalCreateCronRequest(request, this.client.settings)),
|
|
10214
|
-
headers: jsonContentHeaders$
|
|
10216
|
+
headers: jsonContentHeaders$j,
|
|
10215
10217
|
method: 'POST',
|
|
10216
10218
|
path: `/functions/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/crons`
|
|
10217
10219
|
}, unmarshalCron);
|
|
@@ -10224,7 +10226,7 @@ let API$l = class API extends API$w {
|
|
|
10224
10226
|
*/
|
|
10225
10227
|
updateCron = request => this.client.fetch({
|
|
10226
10228
|
body: JSON.stringify(marshalUpdateCronRequest(request, this.client.settings)),
|
|
10227
|
-
headers: jsonContentHeaders$
|
|
10229
|
+
headers: jsonContentHeaders$j,
|
|
10228
10230
|
method: 'PATCH',
|
|
10229
10231
|
path: `/functions/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/crons/${validatePathParam('cronId', request.cronId)}`
|
|
10230
10232
|
}, unmarshalCron);
|
|
@@ -10298,7 +10300,7 @@ let API$l = class API extends API$w {
|
|
|
10298
10300
|
*/
|
|
10299
10301
|
createDomain = request => this.client.fetch({
|
|
10300
10302
|
body: JSON.stringify(marshalCreateDomainRequest$1(request, this.client.settings)),
|
|
10301
|
-
headers: jsonContentHeaders$
|
|
10303
|
+
headers: jsonContentHeaders$j,
|
|
10302
10304
|
method: 'POST',
|
|
10303
10305
|
path: `/functions/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/domains`
|
|
10304
10306
|
}, unmarshalDomain$1);
|
|
@@ -10342,7 +10344,7 @@ let API$l = class API extends API$w {
|
|
|
10342
10344
|
*/
|
|
10343
10345
|
createToken = (request = {}) => this.client.fetch({
|
|
10344
10346
|
body: JSON.stringify(marshalCreateTokenRequest(request, this.client.settings)),
|
|
10345
|
-
headers: jsonContentHeaders$
|
|
10347
|
+
headers: jsonContentHeaders$j,
|
|
10346
10348
|
method: 'POST',
|
|
10347
10349
|
path: `/functions/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/tokens`
|
|
10348
10350
|
}, unmarshalToken);
|
|
@@ -10399,7 +10401,7 @@ let API$l = class API extends API$w {
|
|
|
10399
10401
|
*/
|
|
10400
10402
|
createTrigger = request => this.client.fetch({
|
|
10401
10403
|
body: JSON.stringify(marshalCreateTriggerRequest(request, this.client.settings)),
|
|
10402
|
-
headers: jsonContentHeaders$
|
|
10404
|
+
headers: jsonContentHeaders$j,
|
|
10403
10405
|
method: 'POST',
|
|
10404
10406
|
path: `/functions/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/triggers`
|
|
10405
10407
|
}, unmarshalTrigger);
|
|
@@ -10456,7 +10458,7 @@ let API$l = class API extends API$w {
|
|
|
10456
10458
|
*/
|
|
10457
10459
|
updateTrigger = request => this.client.fetch({
|
|
10458
10460
|
body: JSON.stringify(marshalUpdateTriggerRequest(request, this.client.settings)),
|
|
10459
|
-
headers: jsonContentHeaders$
|
|
10461
|
+
headers: jsonContentHeaders$j,
|
|
10460
10462
|
method: 'PATCH',
|
|
10461
10463
|
path: `/functions/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/triggers/${validatePathParam('triggerId', request.triggerId)}`
|
|
10462
10464
|
}, unmarshalTrigger);
|
|
@@ -10527,9 +10529,9 @@ var validationRules_gen$7 = /*#__PURE__*/Object.freeze({
|
|
|
10527
10529
|
// This file was automatically generated. DO NOT EDIT.
|
|
10528
10530
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
10529
10531
|
|
|
10530
|
-
var index_gen$
|
|
10532
|
+
var index_gen$j = /*#__PURE__*/Object.freeze({
|
|
10531
10533
|
__proto__: null,
|
|
10532
|
-
API: API$
|
|
10534
|
+
API: API$k,
|
|
10533
10535
|
CRON_TRANSIENT_STATUSES: CRON_TRANSIENT_STATUSES,
|
|
10534
10536
|
DOMAIN_TRANSIENT_STATUSES: DOMAIN_TRANSIENT_STATUSES$1,
|
|
10535
10537
|
FUNCTION_TRANSIENT_STATUSES: FUNCTION_TRANSIENT_STATUSES,
|
|
@@ -10541,7 +10543,7 @@ var index_gen$k = /*#__PURE__*/Object.freeze({
|
|
|
10541
10543
|
|
|
10542
10544
|
var index$m = /*#__PURE__*/Object.freeze({
|
|
10543
10545
|
__proto__: null,
|
|
10544
|
-
v1beta1: index_gen$
|
|
10546
|
+
v1beta1: index_gen$j
|
|
10545
10547
|
});
|
|
10546
10548
|
|
|
10547
10549
|
// This file was automatically generated. DO NOT EDIT.
|
|
@@ -10591,6 +10593,7 @@ const unmarshalApplication = data => {
|
|
|
10591
10593
|
name: data.name,
|
|
10592
10594
|
nbApiKeys: data.nb_api_keys,
|
|
10593
10595
|
organizationId: data.organization_id,
|
|
10596
|
+
tags: data.tags,
|
|
10594
10597
|
updatedAt: unmarshalDate(data.updated_at)
|
|
10595
10598
|
};
|
|
10596
10599
|
};
|
|
@@ -10605,6 +10608,7 @@ const unmarshalGroup = data => {
|
|
|
10605
10608
|
id: data.id,
|
|
10606
10609
|
name: data.name,
|
|
10607
10610
|
organizationId: data.organization_id,
|
|
10611
|
+
tags: data.tags,
|
|
10608
10612
|
updatedAt: unmarshalDate(data.updated_at),
|
|
10609
10613
|
userIds: data.user_ids
|
|
10610
10614
|
};
|
|
@@ -10642,6 +10646,7 @@ const unmarshalPolicy = data => {
|
|
|
10642
10646
|
nbScopes: data.nb_scopes,
|
|
10643
10647
|
noPrincipal: data.no_principal,
|
|
10644
10648
|
organizationId: data.organization_id,
|
|
10649
|
+
tags: data.tags,
|
|
10645
10650
|
updatedAt: unmarshalDate(data.updated_at),
|
|
10646
10651
|
userId: data.user_id
|
|
10647
10652
|
};
|
|
@@ -10686,6 +10691,7 @@ const unmarshalUser$1 = data => {
|
|
|
10686
10691
|
mfa: data.mfa,
|
|
10687
10692
|
organizationId: data.organization_id,
|
|
10688
10693
|
status: data.status,
|
|
10694
|
+
tags: data.tags,
|
|
10689
10695
|
twoFactorEnabled: data.two_factor_enabled,
|
|
10690
10696
|
type: data.type,
|
|
10691
10697
|
updatedAt: unmarshalDate(data.updated_at)
|
|
@@ -10851,12 +10857,14 @@ const marshalCreateAPIKeyRequest = (request, defaults) => ({
|
|
|
10851
10857
|
const marshalCreateApplicationRequest = (request, defaults) => ({
|
|
10852
10858
|
description: request.description,
|
|
10853
10859
|
name: request.name || randomName('app'),
|
|
10854
|
-
organization_id: request.organizationId ?? defaults.defaultOrganizationId
|
|
10860
|
+
organization_id: request.organizationId ?? defaults.defaultOrganizationId,
|
|
10861
|
+
tags: request.tags
|
|
10855
10862
|
});
|
|
10856
10863
|
const marshalCreateGroupRequest = (request, defaults) => ({
|
|
10857
10864
|
description: request.description,
|
|
10858
10865
|
name: request.name || randomName('grp'),
|
|
10859
|
-
organization_id: request.organizationId ?? defaults.defaultOrganizationId
|
|
10866
|
+
organization_id: request.organizationId ?? defaults.defaultOrganizationId,
|
|
10867
|
+
tags: request.tags
|
|
10860
10868
|
});
|
|
10861
10869
|
const marshalRuleSpecs = (request, defaults) => ({
|
|
10862
10870
|
permission_set_names: request.permissionSetNames,
|
|
@@ -10873,6 +10881,7 @@ const marshalCreatePolicyRequest = (request, defaults) => ({
|
|
|
10873
10881
|
name: request.name || randomName('pol'),
|
|
10874
10882
|
organization_id: request.organizationId ?? defaults.defaultOrganizationId,
|
|
10875
10883
|
rules: request.rules !== undefined ? request.rules.map(elt => marshalRuleSpecs(elt)) : undefined,
|
|
10884
|
+
tags: request.tags,
|
|
10876
10885
|
...resolveOneOf([{
|
|
10877
10886
|
param: 'user_id',
|
|
10878
10887
|
value: request.userId
|
|
@@ -10894,7 +10903,8 @@ const marshalCreateSSHKeyRequest = (request, defaults) => ({
|
|
|
10894
10903
|
});
|
|
10895
10904
|
const marshalCreateUserRequest$1 = (request, defaults) => ({
|
|
10896
10905
|
email: request.email,
|
|
10897
|
-
organization_id: request.organizationId ?? defaults.defaultOrganizationId
|
|
10906
|
+
organization_id: request.organizationId ?? defaults.defaultOrganizationId,
|
|
10907
|
+
tags: request.tags
|
|
10898
10908
|
});
|
|
10899
10909
|
const marshalRemoveGroupMemberRequest = (request, defaults) => ({
|
|
10900
10910
|
...resolveOneOf([{
|
|
@@ -10919,15 +10929,18 @@ const marshalUpdateAPIKeyRequest = (request, defaults) => ({
|
|
|
10919
10929
|
});
|
|
10920
10930
|
const marshalUpdateApplicationRequest = (request, defaults) => ({
|
|
10921
10931
|
description: request.description,
|
|
10922
|
-
name: request.name
|
|
10932
|
+
name: request.name,
|
|
10933
|
+
tags: request.tags
|
|
10923
10934
|
});
|
|
10924
10935
|
const marshalUpdateGroupRequest = (request, defaults) => ({
|
|
10925
10936
|
description: request.description,
|
|
10926
|
-
name: request.name
|
|
10937
|
+
name: request.name,
|
|
10938
|
+
tags: request.tags
|
|
10927
10939
|
});
|
|
10928
10940
|
const marshalUpdatePolicyRequest = (request, defaults) => ({
|
|
10929
10941
|
description: request.description,
|
|
10930
10942
|
name: request.name,
|
|
10943
|
+
tags: request.tags,
|
|
10931
10944
|
...resolveOneOf([{
|
|
10932
10945
|
param: 'user_id',
|
|
10933
10946
|
value: request.userId
|
|
@@ -10949,12 +10962,12 @@ const marshalUpdateSSHKeyRequest = (request, defaults) => ({
|
|
|
10949
10962
|
|
|
10950
10963
|
// This file was automatically generated. DO NOT EDIT.
|
|
10951
10964
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
10952
|
-
const jsonContentHeaders$
|
|
10965
|
+
const jsonContentHeaders$i = {
|
|
10953
10966
|
'Content-Type': 'application/json; charset=utf-8'
|
|
10954
10967
|
};
|
|
10955
10968
|
|
|
10956
10969
|
/** IAM API. */
|
|
10957
|
-
let API$
|
|
10970
|
+
let API$j = class API extends API$v {
|
|
10958
10971
|
pageOfListSSHKeys = (request = {}) => this.client.fetch({
|
|
10959
10972
|
method: 'GET',
|
|
10960
10973
|
path: `/iam/v1alpha1/ssh-keys`,
|
|
@@ -10981,7 +10994,7 @@ let API$k = class API extends API$w {
|
|
|
10981
10994
|
*/
|
|
10982
10995
|
createSSHKey = request => this.client.fetch({
|
|
10983
10996
|
body: JSON.stringify(marshalCreateSSHKeyRequest(request, this.client.settings)),
|
|
10984
|
-
headers: jsonContentHeaders$
|
|
10997
|
+
headers: jsonContentHeaders$i,
|
|
10985
10998
|
method: 'POST',
|
|
10986
10999
|
path: `/iam/v1alpha1/ssh-keys`
|
|
10987
11000
|
}, unmarshalSSHKey);
|
|
@@ -11008,7 +11021,7 @@ let API$k = class API extends API$w {
|
|
|
11008
11021
|
*/
|
|
11009
11022
|
updateSSHKey = request => this.client.fetch({
|
|
11010
11023
|
body: JSON.stringify(marshalUpdateSSHKeyRequest(request, this.client.settings)),
|
|
11011
|
-
headers: jsonContentHeaders$
|
|
11024
|
+
headers: jsonContentHeaders$i,
|
|
11012
11025
|
method: 'PATCH',
|
|
11013
11026
|
path: `/iam/v1alpha1/ssh-keys/${validatePathParam('sshKeyId', request.sshKeyId)}`
|
|
11014
11027
|
}, unmarshalSSHKey);
|
|
@@ -11027,7 +11040,7 @@ let API$k = class API extends API$w {
|
|
|
11027
11040
|
pageOfListUsers = (request = {}) => this.client.fetch({
|
|
11028
11041
|
method: 'GET',
|
|
11029
11042
|
path: `/iam/v1alpha1/users`,
|
|
11030
|
-
urlParams: urlParams(['mfa', request.mfa], ['order_by', request.orderBy], ['organization_id', request.organizationId ?? this.client.settings.defaultOrganizationId], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['user_ids', request.userIds])
|
|
11043
|
+
urlParams: urlParams(['mfa', request.mfa], ['order_by', request.orderBy], ['organization_id', request.organizationId ?? this.client.settings.defaultOrganizationId], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['tag', request.tag], ['user_ids', request.userIds])
|
|
11031
11044
|
}, unmarshalListUsersResponse$1);
|
|
11032
11045
|
|
|
11033
11046
|
/**
|
|
@@ -11078,14 +11091,14 @@ let API$k = class API extends API$w {
|
|
|
11078
11091
|
*/
|
|
11079
11092
|
createUser = request => this.client.fetch({
|
|
11080
11093
|
body: JSON.stringify(marshalCreateUserRequest$1(request, this.client.settings)),
|
|
11081
|
-
headers: jsonContentHeaders$
|
|
11094
|
+
headers: jsonContentHeaders$i,
|
|
11082
11095
|
method: 'POST',
|
|
11083
11096
|
path: `/iam/v1alpha1/users`
|
|
11084
11097
|
}, unmarshalUser$1);
|
|
11085
11098
|
pageOfListApplications = (request = {}) => this.client.fetch({
|
|
11086
11099
|
method: 'GET',
|
|
11087
11100
|
path: `/iam/v1alpha1/applications`,
|
|
11088
|
-
urlParams: urlParams(['application_ids', request.applicationIds], ['editable', request.editable], ['name', request.name], ['order_by', request.orderBy], ['organization_id', request.organizationId ?? this.client.settings.defaultOrganizationId], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize])
|
|
11101
|
+
urlParams: urlParams(['application_ids', request.applicationIds], ['editable', request.editable], ['name', request.name], ['order_by', request.orderBy], ['organization_id', request.organizationId ?? this.client.settings.defaultOrganizationId], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['tag', request.tag])
|
|
11089
11102
|
}, unmarshalListApplicationsResponse);
|
|
11090
11103
|
|
|
11091
11104
|
/**
|
|
@@ -11110,7 +11123,7 @@ let API$k = class API extends API$w {
|
|
|
11110
11123
|
*/
|
|
11111
11124
|
createApplication = request => this.client.fetch({
|
|
11112
11125
|
body: JSON.stringify(marshalCreateApplicationRequest(request, this.client.settings)),
|
|
11113
|
-
headers: jsonContentHeaders$
|
|
11126
|
+
headers: jsonContentHeaders$i,
|
|
11114
11127
|
method: 'POST',
|
|
11115
11128
|
path: `/iam/v1alpha1/applications`
|
|
11116
11129
|
}, unmarshalApplication);
|
|
@@ -11138,7 +11151,7 @@ let API$k = class API extends API$w {
|
|
|
11138
11151
|
*/
|
|
11139
11152
|
updateApplication = request => this.client.fetch({
|
|
11140
11153
|
body: JSON.stringify(marshalUpdateApplicationRequest(request, this.client.settings)),
|
|
11141
|
-
headers: jsonContentHeaders$
|
|
11154
|
+
headers: jsonContentHeaders$i,
|
|
11142
11155
|
method: 'PATCH',
|
|
11143
11156
|
path: `/iam/v1alpha1/applications/${validatePathParam('applicationId', request.applicationId)}`
|
|
11144
11157
|
}, unmarshalApplication);
|
|
@@ -11158,7 +11171,7 @@ let API$k = class API extends API$w {
|
|
|
11158
11171
|
pageOfListGroups = (request = {}) => this.client.fetch({
|
|
11159
11172
|
method: 'GET',
|
|
11160
11173
|
path: `/iam/v1alpha1/groups`,
|
|
11161
|
-
urlParams: urlParams(['application_ids', request.applicationIds], ['group_ids', request.groupIds], ['name', request.name], ['order_by', request.orderBy], ['organization_id', request.organizationId ?? this.client.settings.defaultOrganizationId], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['user_ids', request.userIds])
|
|
11174
|
+
urlParams: urlParams(['application_ids', request.applicationIds], ['group_ids', request.groupIds], ['name', request.name], ['order_by', request.orderBy], ['organization_id', request.organizationId ?? this.client.settings.defaultOrganizationId], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['tag', request.tag], ['user_ids', request.userIds])
|
|
11162
11175
|
}, unmarshalListGroupsResponse);
|
|
11163
11176
|
|
|
11164
11177
|
/**
|
|
@@ -11182,7 +11195,7 @@ let API$k = class API extends API$w {
|
|
|
11182
11195
|
*/
|
|
11183
11196
|
createGroup = request => this.client.fetch({
|
|
11184
11197
|
body: JSON.stringify(marshalCreateGroupRequest(request, this.client.settings)),
|
|
11185
|
-
headers: jsonContentHeaders$
|
|
11198
|
+
headers: jsonContentHeaders$i,
|
|
11186
11199
|
method: 'POST',
|
|
11187
11200
|
path: `/iam/v1alpha1/groups`
|
|
11188
11201
|
}, unmarshalGroup);
|
|
@@ -11209,7 +11222,7 @@ let API$k = class API extends API$w {
|
|
|
11209
11222
|
*/
|
|
11210
11223
|
updateGroup = request => this.client.fetch({
|
|
11211
11224
|
body: JSON.stringify(marshalUpdateGroupRequest(request, this.client.settings)),
|
|
11212
|
-
headers: jsonContentHeaders$
|
|
11225
|
+
headers: jsonContentHeaders$i,
|
|
11213
11226
|
method: 'PATCH',
|
|
11214
11227
|
path: `/iam/v1alpha1/groups/${validatePathParam('groupId', request.groupId)}`
|
|
11215
11228
|
}, unmarshalGroup);
|
|
@@ -11224,7 +11237,7 @@ let API$k = class API extends API$w {
|
|
|
11224
11237
|
*/
|
|
11225
11238
|
setGroupMembers = request => this.client.fetch({
|
|
11226
11239
|
body: JSON.stringify(marshalSetGroupMembersRequest(request, this.client.settings)),
|
|
11227
|
-
headers: jsonContentHeaders$
|
|
11240
|
+
headers: jsonContentHeaders$i,
|
|
11228
11241
|
method: 'PUT',
|
|
11229
11242
|
path: `/iam/v1alpha1/groups/${validatePathParam('groupId', request.groupId)}/members`
|
|
11230
11243
|
}, unmarshalGroup);
|
|
@@ -11239,7 +11252,7 @@ let API$k = class API extends API$w {
|
|
|
11239
11252
|
*/
|
|
11240
11253
|
addGroupMember = request => this.client.fetch({
|
|
11241
11254
|
body: JSON.stringify(marshalAddGroupMemberRequest(request, this.client.settings)),
|
|
11242
|
-
headers: jsonContentHeaders$
|
|
11255
|
+
headers: jsonContentHeaders$i,
|
|
11243
11256
|
method: 'POST',
|
|
11244
11257
|
path: `/iam/v1alpha1/groups/${validatePathParam('groupId', request.groupId)}/add-member`
|
|
11245
11258
|
}, unmarshalGroup);
|
|
@@ -11257,7 +11270,7 @@ let API$k = class API extends API$w {
|
|
|
11257
11270
|
*/
|
|
11258
11271
|
addGroupMembers = request => this.client.fetch({
|
|
11259
11272
|
body: JSON.stringify(marshalAddGroupMembersRequest(request, this.client.settings)),
|
|
11260
|
-
headers: jsonContentHeaders$
|
|
11273
|
+
headers: jsonContentHeaders$i,
|
|
11261
11274
|
method: 'POST',
|
|
11262
11275
|
path: `/iam/v1alpha1/groups/${validatePathParam('groupId', request.groupId)}/add-members`
|
|
11263
11276
|
}, unmarshalGroup);
|
|
@@ -11276,7 +11289,7 @@ let API$k = class API extends API$w {
|
|
|
11276
11289
|
*/
|
|
11277
11290
|
removeGroupMember = request => this.client.fetch({
|
|
11278
11291
|
body: JSON.stringify(marshalRemoveGroupMemberRequest(request, this.client.settings)),
|
|
11279
|
-
headers: jsonContentHeaders$
|
|
11292
|
+
headers: jsonContentHeaders$i,
|
|
11280
11293
|
method: 'POST',
|
|
11281
11294
|
path: `/iam/v1alpha1/groups/${validatePathParam('groupId', request.groupId)}/remove-member`
|
|
11282
11295
|
}, unmarshalGroup);
|
|
@@ -11295,7 +11308,7 @@ let API$k = class API extends API$w {
|
|
|
11295
11308
|
pageOfListPolicies = (request = {}) => this.client.fetch({
|
|
11296
11309
|
method: 'GET',
|
|
11297
11310
|
path: `/iam/v1alpha1/policies`,
|
|
11298
|
-
urlParams: urlParams(['application_ids', request.applicationIds], ['editable', request.editable], ['group_ids', request.groupIds], ['no_principal', request.noPrincipal], ['order_by', request.orderBy], ['organization_id', request.organizationId ?? this.client.settings.defaultOrganizationId], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['policy_name', request.policyName], ['user_ids', request.userIds])
|
|
11311
|
+
urlParams: urlParams(['application_ids', request.applicationIds], ['editable', request.editable], ['group_ids', request.groupIds], ['no_principal', request.noPrincipal], ['order_by', request.orderBy], ['organization_id', request.organizationId ?? this.client.settings.defaultOrganizationId], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['policy_name', request.policyName], ['tag', request.tag], ['user_ids', request.userIds])
|
|
11299
11312
|
}, unmarshalListPoliciesResponse);
|
|
11300
11313
|
|
|
11301
11314
|
/**
|
|
@@ -11322,7 +11335,7 @@ let API$k = class API extends API$w {
|
|
|
11322
11335
|
*/
|
|
11323
11336
|
createPolicy = request => this.client.fetch({
|
|
11324
11337
|
body: JSON.stringify(marshalCreatePolicyRequest(request, this.client.settings)),
|
|
11325
|
-
headers: jsonContentHeaders$
|
|
11338
|
+
headers: jsonContentHeaders$i,
|
|
11326
11339
|
method: 'POST',
|
|
11327
11340
|
path: `/iam/v1alpha1/policies`
|
|
11328
11341
|
}, unmarshalPolicy);
|
|
@@ -11351,7 +11364,7 @@ let API$k = class API extends API$w {
|
|
|
11351
11364
|
*/
|
|
11352
11365
|
updatePolicy = request => this.client.fetch({
|
|
11353
11366
|
body: JSON.stringify(marshalUpdatePolicyRequest(request, this.client.settings)),
|
|
11354
|
-
headers: jsonContentHeaders$
|
|
11367
|
+
headers: jsonContentHeaders$i,
|
|
11355
11368
|
method: 'PATCH',
|
|
11356
11369
|
path: `/iam/v1alpha1/policies/${validatePathParam('policyId', request.policyId)}`
|
|
11357
11370
|
}, unmarshalPolicy);
|
|
@@ -11378,7 +11391,7 @@ let API$k = class API extends API$w {
|
|
|
11378
11391
|
*/
|
|
11379
11392
|
clonePolicy = request => this.client.fetch({
|
|
11380
11393
|
body: '{}',
|
|
11381
|
-
headers: jsonContentHeaders$
|
|
11394
|
+
headers: jsonContentHeaders$i,
|
|
11382
11395
|
method: 'POST',
|
|
11383
11396
|
path: `/iam/v1alpha1/policies/${validatePathParam('policyId', request.policyId)}/clone`
|
|
11384
11397
|
}, unmarshalPolicy);
|
|
@@ -11396,7 +11409,7 @@ let API$k = class API extends API$w {
|
|
|
11396
11409
|
*/
|
|
11397
11410
|
setRules = request => this.client.fetch({
|
|
11398
11411
|
body: JSON.stringify(marshalSetRulesRequest(request, this.client.settings)),
|
|
11399
|
-
headers: jsonContentHeaders$
|
|
11412
|
+
headers: jsonContentHeaders$i,
|
|
11400
11413
|
method: 'PUT',
|
|
11401
11414
|
path: `/iam/v1alpha1/rules`
|
|
11402
11415
|
}, unmarshalSetRulesResponse);
|
|
@@ -11467,7 +11480,7 @@ let API$k = class API extends API$w {
|
|
|
11467
11480
|
*/
|
|
11468
11481
|
createAPIKey = request => this.client.fetch({
|
|
11469
11482
|
body: JSON.stringify(marshalCreateAPIKeyRequest(request, this.client.settings)),
|
|
11470
|
-
headers: jsonContentHeaders$
|
|
11483
|
+
headers: jsonContentHeaders$i,
|
|
11471
11484
|
method: 'POST',
|
|
11472
11485
|
path: `/iam/v1alpha1/api-keys`
|
|
11473
11486
|
}, unmarshalAPIKey);
|
|
@@ -11497,7 +11510,7 @@ let API$k = class API extends API$w {
|
|
|
11497
11510
|
*/
|
|
11498
11511
|
updateAPIKey = request => this.client.fetch({
|
|
11499
11512
|
body: JSON.stringify(marshalUpdateAPIKeyRequest(request, this.client.settings)),
|
|
11500
|
-
headers: jsonContentHeaders$
|
|
11513
|
+
headers: jsonContentHeaders$i,
|
|
11501
11514
|
method: 'PATCH',
|
|
11502
11515
|
path: `/iam/v1alpha1/api-keys/${validatePathParam('accessKey', request.accessKey)}`
|
|
11503
11516
|
}, unmarshalAPIKey);
|
|
@@ -11834,15 +11847,15 @@ var validationRules_gen$6 = /*#__PURE__*/Object.freeze({
|
|
|
11834
11847
|
// This file was automatically generated. DO NOT EDIT.
|
|
11835
11848
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
11836
11849
|
|
|
11837
|
-
var index_gen$
|
|
11850
|
+
var index_gen$i = /*#__PURE__*/Object.freeze({
|
|
11838
11851
|
__proto__: null,
|
|
11839
|
-
API: API$
|
|
11852
|
+
API: API$j,
|
|
11840
11853
|
ValidationRules: validationRules_gen$6
|
|
11841
11854
|
});
|
|
11842
11855
|
|
|
11843
11856
|
var index$l = /*#__PURE__*/Object.freeze({
|
|
11844
11857
|
__proto__: null,
|
|
11845
|
-
v1alpha1: index_gen$
|
|
11858
|
+
v1alpha1: index_gen$i
|
|
11846
11859
|
});
|
|
11847
11860
|
|
|
11848
11861
|
// This file was automatically generated. DO NOT EDIT.
|
|
@@ -12946,9 +12959,6 @@ const marshalCreateVolumeRequest$1 = (request, defaults) => ({
|
|
|
12946
12959
|
...resolveOneOf([{
|
|
12947
12960
|
param: 'size',
|
|
12948
12961
|
value: request.size
|
|
12949
|
-
}, {
|
|
12950
|
-
param: 'base_volume',
|
|
12951
|
-
value: request.baseVolume
|
|
12952
12962
|
}, {
|
|
12953
12963
|
param: 'base_snapshot',
|
|
12954
12964
|
value: request.baseSnapshot
|
|
@@ -13260,12 +13270,12 @@ const marshalUpdateVolumeRequest$1 = (request, defaults) => ({
|
|
|
13260
13270
|
|
|
13261
13271
|
// This file was automatically generated. DO NOT EDIT.
|
|
13262
13272
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
13263
|
-
const jsonContentHeaders$
|
|
13273
|
+
const jsonContentHeaders$h = {
|
|
13264
13274
|
'Content-Type': 'application/json; charset=utf-8'
|
|
13265
13275
|
};
|
|
13266
13276
|
|
|
13267
13277
|
/** Instance API. */
|
|
13268
|
-
let API$
|
|
13278
|
+
let API$i = class API extends API$v {
|
|
13269
13279
|
/** Lists the available zones of the API. */
|
|
13270
13280
|
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'];
|
|
13271
13281
|
|
|
@@ -13321,7 +13331,7 @@ let API$j = class API extends API$w {
|
|
|
13321
13331
|
listServers = (request = {}) => enrichForPagination('servers', this.pageOfListServers, request);
|
|
13322
13332
|
_createServer = request => this.client.fetch({
|
|
13323
13333
|
body: JSON.stringify(marshalCreateServerRequest(request, this.client.settings)),
|
|
13324
|
-
headers: jsonContentHeaders$
|
|
13334
|
+
headers: jsonContentHeaders$h,
|
|
13325
13335
|
method: 'POST',
|
|
13326
13336
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers`
|
|
13327
13337
|
}, unmarshalCreateServerResponse);
|
|
@@ -13348,13 +13358,13 @@ let API$j = class API extends API$w {
|
|
|
13348
13358
|
}, unmarshalGetServerResponse);
|
|
13349
13359
|
_setServer = request => this.client.fetch({
|
|
13350
13360
|
body: JSON.stringify(marshalSetServerRequest(request, this.client.settings)),
|
|
13351
|
-
headers: jsonContentHeaders$
|
|
13361
|
+
headers: jsonContentHeaders$h,
|
|
13352
13362
|
method: 'PUT',
|
|
13353
13363
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('id', request.id)}`
|
|
13354
13364
|
}, unmarshalSetServerResponse);
|
|
13355
13365
|
_updateServer = request => this.client.fetch({
|
|
13356
13366
|
body: JSON.stringify(marshalUpdateServerRequest(request, this.client.settings)),
|
|
13357
|
-
headers: jsonContentHeaders$
|
|
13367
|
+
headers: jsonContentHeaders$h,
|
|
13358
13368
|
method: 'PATCH',
|
|
13359
13369
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}`
|
|
13360
13370
|
}, unmarshalUpdateServerResponse);
|
|
@@ -13392,7 +13402,7 @@ let API$j = class API extends API$w {
|
|
|
13392
13402
|
*/
|
|
13393
13403
|
serverAction = request => this.client.fetch({
|
|
13394
13404
|
body: JSON.stringify(marshalServerActionRequest(request, this.client.settings)),
|
|
13395
|
-
headers: jsonContentHeaders$
|
|
13405
|
+
headers: jsonContentHeaders$h,
|
|
13396
13406
|
method: 'POST',
|
|
13397
13407
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/action`
|
|
13398
13408
|
}, unmarshalServerActionResponse);
|
|
@@ -13426,7 +13436,7 @@ let API$j = class API extends API$w {
|
|
|
13426
13436
|
*/
|
|
13427
13437
|
attachServerVolume = request => this.client.fetch({
|
|
13428
13438
|
body: JSON.stringify(marshalAttachServerVolumeRequest(request, this.client.settings)),
|
|
13429
|
-
headers: jsonContentHeaders$
|
|
13439
|
+
headers: jsonContentHeaders$h,
|
|
13430
13440
|
method: 'POST',
|
|
13431
13441
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/attach-volume`
|
|
13432
13442
|
}, unmarshalAttachServerVolumeResponse);
|
|
@@ -13439,7 +13449,7 @@ let API$j = class API extends API$w {
|
|
|
13439
13449
|
*/
|
|
13440
13450
|
detachServerVolume = request => this.client.fetch({
|
|
13441
13451
|
body: JSON.stringify(marshalDetachServerVolumeRequest(request, this.client.settings)),
|
|
13442
|
-
headers: jsonContentHeaders$
|
|
13452
|
+
headers: jsonContentHeaders$h,
|
|
13443
13453
|
method: 'POST',
|
|
13444
13454
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/detach-volume`
|
|
13445
13455
|
}, unmarshalDetachServerVolumeResponse);
|
|
@@ -13477,13 +13487,13 @@ let API$j = class API extends API$w {
|
|
|
13477
13487
|
*/
|
|
13478
13488
|
createImage = request => this.client.fetch({
|
|
13479
13489
|
body: JSON.stringify(marshalCreateImageRequest(request, this.client.settings)),
|
|
13480
|
-
headers: jsonContentHeaders$
|
|
13490
|
+
headers: jsonContentHeaders$h,
|
|
13481
13491
|
method: 'POST',
|
|
13482
13492
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/images`
|
|
13483
13493
|
}, unmarshalCreateImageResponse);
|
|
13484
13494
|
_setImage = request => this.client.fetch({
|
|
13485
13495
|
body: JSON.stringify(marshalSetImageRequest(request, this.client.settings)),
|
|
13486
|
-
headers: jsonContentHeaders$
|
|
13496
|
+
headers: jsonContentHeaders$h,
|
|
13487
13497
|
method: 'PUT',
|
|
13488
13498
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/images/${validatePathParam('id', request.id)}`
|
|
13489
13499
|
}, unmarshalSetImageResponse);
|
|
@@ -13522,7 +13532,7 @@ let API$j = class API extends API$w {
|
|
|
13522
13532
|
*/
|
|
13523
13533
|
createSnapshot = (request = {}) => this.client.fetch({
|
|
13524
13534
|
body: JSON.stringify(marshalCreateSnapshotRequest$1(request, this.client.settings)),
|
|
13525
|
-
headers: jsonContentHeaders$
|
|
13535
|
+
headers: jsonContentHeaders$h,
|
|
13526
13536
|
method: 'POST',
|
|
13527
13537
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/snapshots`
|
|
13528
13538
|
}, unmarshalCreateSnapshotResponse);
|
|
@@ -13539,7 +13549,7 @@ let API$j = class API extends API$w {
|
|
|
13539
13549
|
}, unmarshalGetSnapshotResponse);
|
|
13540
13550
|
_setSnapshot = request => this.client.fetch({
|
|
13541
13551
|
body: JSON.stringify(marshalSetSnapshotRequest(request, this.client.settings)),
|
|
13542
|
-
headers: jsonContentHeaders$
|
|
13552
|
+
headers: jsonContentHeaders$h,
|
|
13543
13553
|
method: 'PUT',
|
|
13544
13554
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/snapshots/${validatePathParam('snapshotId', request.snapshotId)}`
|
|
13545
13555
|
}, unmarshalSetSnapshotResponse);
|
|
@@ -13563,7 +13573,7 @@ let API$j = class API extends API$w {
|
|
|
13563
13573
|
*/
|
|
13564
13574
|
exportSnapshot = request => this.client.fetch({
|
|
13565
13575
|
body: JSON.stringify(marshalExportSnapshotRequest(request, this.client.settings)),
|
|
13566
|
-
headers: jsonContentHeaders$
|
|
13576
|
+
headers: jsonContentHeaders$h,
|
|
13567
13577
|
method: 'POST',
|
|
13568
13578
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/snapshots/${validatePathParam('snapshotId', request.snapshotId)}/export`
|
|
13569
13579
|
}, unmarshalExportSnapshotResponse);
|
|
@@ -13591,7 +13601,7 @@ let API$j = class API extends API$w {
|
|
|
13591
13601
|
*/
|
|
13592
13602
|
createVolume = (request = {}) => this.client.fetch({
|
|
13593
13603
|
body: JSON.stringify(marshalCreateVolumeRequest$1(request, this.client.settings)),
|
|
13594
|
-
headers: jsonContentHeaders$
|
|
13604
|
+
headers: jsonContentHeaders$h,
|
|
13595
13605
|
method: 'POST',
|
|
13596
13606
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/volumes`
|
|
13597
13607
|
}, unmarshalCreateVolumeResponse);
|
|
@@ -13617,7 +13627,7 @@ let API$j = class API extends API$w {
|
|
|
13617
13627
|
*/
|
|
13618
13628
|
updateVolume = request => this.client.fetch({
|
|
13619
13629
|
body: JSON.stringify(marshalUpdateVolumeRequest$1(request, this.client.settings)),
|
|
13620
|
-
headers: jsonContentHeaders$
|
|
13630
|
+
headers: jsonContentHeaders$h,
|
|
13621
13631
|
method: 'PATCH',
|
|
13622
13632
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/volumes/${validatePathParam('volumeId', request.volumeId)}`
|
|
13623
13633
|
}, unmarshalUpdateVolumeResponse);
|
|
@@ -13654,7 +13664,7 @@ let API$j = class API extends API$w {
|
|
|
13654
13664
|
*/
|
|
13655
13665
|
createSecurityGroup = request => this.client.fetch({
|
|
13656
13666
|
body: JSON.stringify(marshalCreateSecurityGroupRequest(request, this.client.settings)),
|
|
13657
|
-
headers: jsonContentHeaders$
|
|
13667
|
+
headers: jsonContentHeaders$h,
|
|
13658
13668
|
method: 'POST',
|
|
13659
13669
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/security_groups`
|
|
13660
13670
|
}, unmarshalCreateSecurityGroupResponse);
|
|
@@ -13682,7 +13692,7 @@ let API$j = class API extends API$w {
|
|
|
13682
13692
|
});
|
|
13683
13693
|
_setSecurityGroup = request => this.client.fetch({
|
|
13684
13694
|
body: JSON.stringify(marshalSetSecurityGroupRequest(request, this.client.settings)),
|
|
13685
|
-
headers: jsonContentHeaders$
|
|
13695
|
+
headers: jsonContentHeaders$h,
|
|
13686
13696
|
method: 'PUT',
|
|
13687
13697
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/security_groups/${validatePathParam('id', request.id)}`
|
|
13688
13698
|
}, unmarshalSetSecurityGroupResponse);
|
|
@@ -13720,7 +13730,7 @@ let API$j = class API extends API$w {
|
|
|
13720
13730
|
*/
|
|
13721
13731
|
createSecurityGroupRule = request => this.client.fetch({
|
|
13722
13732
|
body: JSON.stringify(marshalCreateSecurityGroupRuleRequest(request, this.client.settings)),
|
|
13723
|
-
headers: jsonContentHeaders$
|
|
13733
|
+
headers: jsonContentHeaders$h,
|
|
13724
13734
|
method: 'POST',
|
|
13725
13735
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/security_groups/${validatePathParam('securityGroupId', request.securityGroupId)}/rules`
|
|
13726
13736
|
}, unmarshalCreateSecurityGroupRuleResponse);
|
|
@@ -13736,7 +13746,7 @@ let API$j = class API extends API$w {
|
|
|
13736
13746
|
*/
|
|
13737
13747
|
setSecurityGroupRules = request => this.client.fetch({
|
|
13738
13748
|
body: JSON.stringify(marshalSetSecurityGroupRulesRequest(request, this.client.settings)),
|
|
13739
|
-
headers: jsonContentHeaders$
|
|
13749
|
+
headers: jsonContentHeaders$h,
|
|
13740
13750
|
method: 'PUT',
|
|
13741
13751
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/security_groups/${validatePathParam('securityGroupId', request.securityGroupId)}/rules`
|
|
13742
13752
|
}, unmarshalSetSecurityGroupRulesResponse);
|
|
@@ -13763,7 +13773,7 @@ let API$j = class API extends API$w {
|
|
|
13763
13773
|
}, unmarshalGetSecurityGroupRuleResponse);
|
|
13764
13774
|
_setSecurityGroupRule = request => this.client.fetch({
|
|
13765
13775
|
body: JSON.stringify(marshalSetSecurityGroupRuleRequest(request, this.client.settings)),
|
|
13766
|
-
headers: jsonContentHeaders$
|
|
13776
|
+
headers: jsonContentHeaders$h,
|
|
13767
13777
|
method: 'PUT',
|
|
13768
13778
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/security_groups/${validatePathParam('securityGroupId', request.securityGroupId)}/rules/${validatePathParam('securityGroupRuleId', request.securityGroupRuleId)}`
|
|
13769
13779
|
}, unmarshalSetSecurityGroupRuleResponse);
|
|
@@ -13791,7 +13801,7 @@ let API$j = class API extends API$w {
|
|
|
13791
13801
|
*/
|
|
13792
13802
|
createPlacementGroup = (request = {}) => this.client.fetch({
|
|
13793
13803
|
body: JSON.stringify(marshalCreatePlacementGroupRequest(request, this.client.settings)),
|
|
13794
|
-
headers: jsonContentHeaders$
|
|
13804
|
+
headers: jsonContentHeaders$h,
|
|
13795
13805
|
method: 'POST',
|
|
13796
13806
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/placement_groups`
|
|
13797
13807
|
}, unmarshalCreatePlacementGroupResponse);
|
|
@@ -13815,7 +13825,7 @@ let API$j = class API extends API$w {
|
|
|
13815
13825
|
*/
|
|
13816
13826
|
setPlacementGroup = request => this.client.fetch({
|
|
13817
13827
|
body: JSON.stringify(marshalSetPlacementGroupRequest(request, this.client.settings)),
|
|
13818
|
-
headers: jsonContentHeaders$
|
|
13828
|
+
headers: jsonContentHeaders$h,
|
|
13819
13829
|
method: 'PUT',
|
|
13820
13830
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/placement_groups/${validatePathParam('placementGroupId', request.placementGroupId)}`
|
|
13821
13831
|
}, unmarshalSetPlacementGroupResponse);
|
|
@@ -13829,7 +13839,7 @@ let API$j = class API extends API$w {
|
|
|
13829
13839
|
*/
|
|
13830
13840
|
updatePlacementGroup = request => this.client.fetch({
|
|
13831
13841
|
body: JSON.stringify(marshalUpdatePlacementGroupRequest(request, this.client.settings)),
|
|
13832
|
-
headers: jsonContentHeaders$
|
|
13842
|
+
headers: jsonContentHeaders$h,
|
|
13833
13843
|
method: 'PATCH',
|
|
13834
13844
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/placement_groups/${validatePathParam('placementGroupId', request.placementGroupId)}`
|
|
13835
13845
|
}, unmarshalUpdatePlacementGroupResponse);
|
|
@@ -13865,7 +13875,7 @@ let API$j = class API extends API$w {
|
|
|
13865
13875
|
*/
|
|
13866
13876
|
setPlacementGroupServers = request => this.client.fetch({
|
|
13867
13877
|
body: JSON.stringify(marshalSetPlacementGroupServersRequest(request, this.client.settings)),
|
|
13868
|
-
headers: jsonContentHeaders$
|
|
13878
|
+
headers: jsonContentHeaders$h,
|
|
13869
13879
|
method: 'PUT',
|
|
13870
13880
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/placement_groups/${validatePathParam('placementGroupId', request.placementGroupId)}/servers`
|
|
13871
13881
|
}, unmarshalSetPlacementGroupServersResponse);
|
|
@@ -13879,7 +13889,7 @@ let API$j = class API extends API$w {
|
|
|
13879
13889
|
*/
|
|
13880
13890
|
updatePlacementGroupServers = request => this.client.fetch({
|
|
13881
13891
|
body: JSON.stringify(marshalUpdatePlacementGroupServersRequest(request, this.client.settings)),
|
|
13882
|
-
headers: jsonContentHeaders$
|
|
13892
|
+
headers: jsonContentHeaders$h,
|
|
13883
13893
|
method: 'PATCH',
|
|
13884
13894
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/placement_groups/${validatePathParam('placementGroupId', request.placementGroupId)}/servers`
|
|
13885
13895
|
}, unmarshalUpdatePlacementGroupServersResponse);
|
|
@@ -13906,7 +13916,7 @@ let API$j = class API extends API$w {
|
|
|
13906
13916
|
*/
|
|
13907
13917
|
createIp = (request = {}) => this.client.fetch({
|
|
13908
13918
|
body: JSON.stringify(marshalCreateIpRequest$1(request, this.client.settings)),
|
|
13909
|
-
headers: jsonContentHeaders$
|
|
13919
|
+
headers: jsonContentHeaders$h,
|
|
13910
13920
|
method: 'POST',
|
|
13911
13921
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/ips`
|
|
13912
13922
|
}, unmarshalCreateIpResponse);
|
|
@@ -13931,7 +13941,7 @@ let API$j = class API extends API$w {
|
|
|
13931
13941
|
*/
|
|
13932
13942
|
updateIp = request => this.client.fetch({
|
|
13933
13943
|
body: JSON.stringify(marshalUpdateIpRequest$1(request, this.client.settings)),
|
|
13934
|
-
headers: jsonContentHeaders$
|
|
13944
|
+
headers: jsonContentHeaders$h,
|
|
13935
13945
|
method: 'PATCH',
|
|
13936
13946
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/ips/${validatePathParam('ip', request.ip)}`
|
|
13937
13947
|
}, unmarshalUpdateIpResponse);
|
|
@@ -13967,7 +13977,7 @@ let API$j = class API extends API$w {
|
|
|
13967
13977
|
*/
|
|
13968
13978
|
createPrivateNIC = request => this.client.fetch({
|
|
13969
13979
|
body: JSON.stringify(marshalCreatePrivateNICRequest(request, this.client.settings)),
|
|
13970
|
-
headers: jsonContentHeaders$
|
|
13980
|
+
headers: jsonContentHeaders$h,
|
|
13971
13981
|
method: 'POST',
|
|
13972
13982
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/private_nics`
|
|
13973
13983
|
}, unmarshalCreatePrivateNICResponse);
|
|
@@ -13992,7 +14002,7 @@ let API$j = class API extends API$w {
|
|
|
13992
14002
|
*/
|
|
13993
14003
|
updatePrivateNIC = request => this.client.fetch({
|
|
13994
14004
|
body: JSON.stringify(marshalUpdatePrivateNICRequest(request, this.client.settings)),
|
|
13995
|
-
headers: jsonContentHeaders$
|
|
14005
|
+
headers: jsonContentHeaders$h,
|
|
13996
14006
|
method: 'PATCH',
|
|
13997
14007
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/private_nics/${validatePathParam('privateNicId', request.privateNicId)}`
|
|
13998
14008
|
}, unmarshalPrivateNIC);
|
|
@@ -14052,7 +14062,7 @@ let API$j = class API extends API$w {
|
|
|
14052
14062
|
*/
|
|
14053
14063
|
planBlockMigration = (request = {}) => this.client.fetch({
|
|
14054
14064
|
body: JSON.stringify(marshalPlanBlockMigrationRequest(request, this.client.settings)),
|
|
14055
|
-
headers: jsonContentHeaders$
|
|
14065
|
+
headers: jsonContentHeaders$h,
|
|
14056
14066
|
method: 'POST',
|
|
14057
14067
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/block-migration/plan`
|
|
14058
14068
|
}, unmarshalMigrationPlan);
|
|
@@ -14067,7 +14077,7 @@ let API$j = class API extends API$w {
|
|
|
14067
14077
|
*/
|
|
14068
14078
|
applyBlockMigration = request => this.client.fetch({
|
|
14069
14079
|
body: JSON.stringify(marshalApplyBlockMigrationRequest(request, this.client.settings)),
|
|
14070
|
-
headers: jsonContentHeaders$
|
|
14080
|
+
headers: jsonContentHeaders$h,
|
|
14071
14081
|
method: 'POST',
|
|
14072
14082
|
path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/block-migration/apply`
|
|
14073
14083
|
});
|
|
@@ -14169,7 +14179,7 @@ const validateNotUndefined = obj => {
|
|
|
14169
14179
|
if (obj === undefined) throw new TypeError(`object was found undefined`);
|
|
14170
14180
|
return obj;
|
|
14171
14181
|
};
|
|
14172
|
-
class InstanceV1UtilsAPI extends API$
|
|
14182
|
+
class InstanceV1UtilsAPI extends API$i {
|
|
14173
14183
|
/**
|
|
14174
14184
|
* Waits for {@link Image} to be in a final state.
|
|
14175
14185
|
*
|
|
@@ -14987,7 +14997,7 @@ const marshalUpdateRouteRequest$1 = (request, defaults) => ({
|
|
|
14987
14997
|
|
|
14988
14998
|
// This file was automatically generated. DO NOT EDIT.
|
|
14989
14999
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
14990
|
-
const jsonContentHeaders$
|
|
15000
|
+
const jsonContentHeaders$g = {
|
|
14991
15001
|
'Content-Type': 'application/json; charset=utf-8'
|
|
14992
15002
|
};
|
|
14993
15003
|
|
|
@@ -14996,7 +15006,7 @@ const jsonContentHeaders$h = {
|
|
|
14996
15006
|
*
|
|
14997
15007
|
* This API allows you to manage IoT hubs and devices.
|
|
14998
15008
|
*/
|
|
14999
|
-
let API$
|
|
15009
|
+
let API$h = class API extends API$v {
|
|
15000
15010
|
/** Lists the available regions of the API. */
|
|
15001
15011
|
static LOCALITIES = ['fr-par'];
|
|
15002
15012
|
pageOfListHubs = (request = {}) => this.client.fetch({
|
|
@@ -15024,7 +15034,7 @@ let API$i = class API extends API$w {
|
|
|
15024
15034
|
*/
|
|
15025
15035
|
createHub = request => this.client.fetch({
|
|
15026
15036
|
body: JSON.stringify(marshalCreateHubRequest(request, this.client.settings)),
|
|
15027
|
-
headers: jsonContentHeaders$
|
|
15037
|
+
headers: jsonContentHeaders$g,
|
|
15028
15038
|
method: 'POST',
|
|
15029
15039
|
path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/hubs`
|
|
15030
15040
|
}, unmarshalHub);
|
|
@@ -15060,7 +15070,7 @@ let API$i = class API extends API$w {
|
|
|
15060
15070
|
*/
|
|
15061
15071
|
updateHub = request => this.client.fetch({
|
|
15062
15072
|
body: JSON.stringify(marshalUpdateHubRequest(request, this.client.settings)),
|
|
15063
|
-
headers: jsonContentHeaders$
|
|
15073
|
+
headers: jsonContentHeaders$g,
|
|
15064
15074
|
method: 'PATCH',
|
|
15065
15075
|
path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/hubs/${validatePathParam('hubId', request.hubId)}`
|
|
15066
15076
|
}, unmarshalHub);
|
|
@@ -15073,7 +15083,7 @@ let API$i = class API extends API$w {
|
|
|
15073
15083
|
*/
|
|
15074
15084
|
enableHub = request => this.client.fetch({
|
|
15075
15085
|
body: '{}',
|
|
15076
|
-
headers: jsonContentHeaders$
|
|
15086
|
+
headers: jsonContentHeaders$g,
|
|
15077
15087
|
method: 'POST',
|
|
15078
15088
|
path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/hubs/${validatePathParam('hubId', request.hubId)}/enable`
|
|
15079
15089
|
}, unmarshalHub);
|
|
@@ -15086,7 +15096,7 @@ let API$i = class API extends API$w {
|
|
|
15086
15096
|
*/
|
|
15087
15097
|
disableHub = request => this.client.fetch({
|
|
15088
15098
|
body: '{}',
|
|
15089
|
-
headers: jsonContentHeaders$
|
|
15099
|
+
headers: jsonContentHeaders$g,
|
|
15090
15100
|
method: 'POST',
|
|
15091
15101
|
path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/hubs/${validatePathParam('hubId', request.hubId)}/disable`
|
|
15092
15102
|
}, unmarshalHub);
|
|
@@ -15126,7 +15136,7 @@ let API$i = class API extends API$w {
|
|
|
15126
15136
|
*/
|
|
15127
15137
|
setHubCA = request => this.client.fetch({
|
|
15128
15138
|
body: JSON.stringify(marshalSetHubCARequest(request, this.client.settings)),
|
|
15129
|
-
headers: jsonContentHeaders$
|
|
15139
|
+
headers: jsonContentHeaders$g,
|
|
15130
15140
|
method: 'POST',
|
|
15131
15141
|
path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/hubs/${validatePathParam('hubId', request.hubId)}/ca`
|
|
15132
15142
|
}, unmarshalHub);
|
|
@@ -15166,7 +15176,7 @@ let API$i = class API extends API$w {
|
|
|
15166
15176
|
*/
|
|
15167
15177
|
createDevice = request => this.client.fetch({
|
|
15168
15178
|
body: JSON.stringify(marshalCreateDeviceRequest(request, this.client.settings)),
|
|
15169
|
-
headers: jsonContentHeaders$
|
|
15179
|
+
headers: jsonContentHeaders$g,
|
|
15170
15180
|
method: 'POST',
|
|
15171
15181
|
path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/devices`
|
|
15172
15182
|
}, unmarshalCreateDeviceResponse);
|
|
@@ -15193,7 +15203,7 @@ let API$i = class API extends API$w {
|
|
|
15193
15203
|
*/
|
|
15194
15204
|
updateDevice = request => this.client.fetch({
|
|
15195
15205
|
body: JSON.stringify(marshalUpdateDeviceRequest(request, this.client.settings)),
|
|
15196
|
-
headers: jsonContentHeaders$
|
|
15206
|
+
headers: jsonContentHeaders$g,
|
|
15197
15207
|
method: 'PATCH',
|
|
15198
15208
|
path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/devices/${validatePathParam('deviceId', request.deviceId)}`
|
|
15199
15209
|
}, unmarshalDevice);
|
|
@@ -15206,7 +15216,7 @@ let API$i = class API extends API$w {
|
|
|
15206
15216
|
*/
|
|
15207
15217
|
enableDevice = request => this.client.fetch({
|
|
15208
15218
|
body: '{}',
|
|
15209
|
-
headers: jsonContentHeaders$
|
|
15219
|
+
headers: jsonContentHeaders$g,
|
|
15210
15220
|
method: 'POST',
|
|
15211
15221
|
path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/devices/${validatePathParam('deviceId', request.deviceId)}/enable`
|
|
15212
15222
|
}, unmarshalDevice);
|
|
@@ -15219,7 +15229,7 @@ let API$i = class API extends API$w {
|
|
|
15219
15229
|
*/
|
|
15220
15230
|
disableDevice = request => this.client.fetch({
|
|
15221
15231
|
body: '{}',
|
|
15222
|
-
headers: jsonContentHeaders$
|
|
15232
|
+
headers: jsonContentHeaders$g,
|
|
15223
15233
|
method: 'POST',
|
|
15224
15234
|
path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/devices/${validatePathParam('deviceId', request.deviceId)}/disable`
|
|
15225
15235
|
}, unmarshalDevice);
|
|
@@ -15233,7 +15243,7 @@ let API$i = class API extends API$w {
|
|
|
15233
15243
|
*/
|
|
15234
15244
|
renewDeviceCertificate = request => this.client.fetch({
|
|
15235
15245
|
body: '{}',
|
|
15236
|
-
headers: jsonContentHeaders$
|
|
15246
|
+
headers: jsonContentHeaders$g,
|
|
15237
15247
|
method: 'POST',
|
|
15238
15248
|
path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/devices/${validatePathParam('deviceId', request.deviceId)}/renew-certificate`
|
|
15239
15249
|
}, unmarshalRenewDeviceCertificateResponse);
|
|
@@ -15247,7 +15257,7 @@ let API$i = class API extends API$w {
|
|
|
15247
15257
|
*/
|
|
15248
15258
|
setDeviceCertificate = request => this.client.fetch({
|
|
15249
15259
|
body: JSON.stringify(marshalSetDeviceCertificateRequest(request, this.client.settings)),
|
|
15250
|
-
headers: jsonContentHeaders$
|
|
15260
|
+
headers: jsonContentHeaders$g,
|
|
15251
15261
|
method: 'PUT',
|
|
15252
15262
|
path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/devices/${validatePathParam('deviceId', request.deviceId)}/certificate`
|
|
15253
15263
|
}, unmarshalSetDeviceCertificateResponse);
|
|
@@ -15322,7 +15332,7 @@ let API$i = class API extends API$w {
|
|
|
15322
15332
|
*/
|
|
15323
15333
|
createRoute = request => this.client.fetch({
|
|
15324
15334
|
body: JSON.stringify(marshalCreateRouteRequest$1(request, this.client.settings)),
|
|
15325
|
-
headers: jsonContentHeaders$
|
|
15335
|
+
headers: jsonContentHeaders$g,
|
|
15326
15336
|
method: 'POST',
|
|
15327
15337
|
path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/routes`
|
|
15328
15338
|
}, unmarshalRoute$1);
|
|
@@ -15336,7 +15346,7 @@ let API$i = class API extends API$w {
|
|
|
15336
15346
|
*/
|
|
15337
15347
|
updateRoute = request => this.client.fetch({
|
|
15338
15348
|
body: JSON.stringify(marshalUpdateRouteRequest$1(request, this.client.settings)),
|
|
15339
|
-
headers: jsonContentHeaders$
|
|
15349
|
+
headers: jsonContentHeaders$g,
|
|
15340
15350
|
method: 'PATCH',
|
|
15341
15351
|
path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/routes/${validatePathParam('routeId', request.routeId)}`
|
|
15342
15352
|
}, unmarshalRoute$1);
|
|
@@ -15388,7 +15398,7 @@ let API$i = class API extends API$w {
|
|
|
15388
15398
|
*/
|
|
15389
15399
|
createNetwork = request => this.client.fetch({
|
|
15390
15400
|
body: JSON.stringify(marshalCreateNetworkRequest(request, this.client.settings)),
|
|
15391
|
-
headers: jsonContentHeaders$
|
|
15401
|
+
headers: jsonContentHeaders$g,
|
|
15392
15402
|
method: 'POST',
|
|
15393
15403
|
path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/networks`
|
|
15394
15404
|
}, unmarshalCreateNetworkResponse);
|
|
@@ -15436,7 +15446,7 @@ let API$i = class API extends API$w {
|
|
|
15436
15446
|
*/
|
|
15437
15447
|
putTwinDocument = request => this.client.fetch({
|
|
15438
15448
|
body: JSON.stringify(marshalPutTwinDocumentRequest(request, this.client.settings)),
|
|
15439
|
-
headers: jsonContentHeaders$
|
|
15449
|
+
headers: jsonContentHeaders$g,
|
|
15440
15450
|
method: 'PUT',
|
|
15441
15451
|
path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/twins/${validatePathParam('twinId', request.twinId)}/documents/${validatePathParam('documentName', request.documentName)}`
|
|
15442
15452
|
}, unmarshalTwinDocument);
|
|
@@ -15449,7 +15459,7 @@ let API$i = class API extends API$w {
|
|
|
15449
15459
|
*/
|
|
15450
15460
|
patchTwinDocument = request => this.client.fetch({
|
|
15451
15461
|
body: JSON.stringify(marshalPatchTwinDocumentRequest(request, this.client.settings)),
|
|
15452
|
-
headers: jsonContentHeaders$
|
|
15462
|
+
headers: jsonContentHeaders$g,
|
|
15453
15463
|
method: 'PATCH',
|
|
15454
15464
|
path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/twins/${validatePathParam('twinId', request.twinId)}/documents/${validatePathParam('documentName', request.documentName)}`
|
|
15455
15465
|
}, unmarshalTwinDocument);
|
|
@@ -15489,15 +15499,15 @@ let API$i = class API extends API$w {
|
|
|
15489
15499
|
// This file was automatically generated. DO NOT EDIT.
|
|
15490
15500
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
15491
15501
|
|
|
15492
|
-
var index_gen$
|
|
15502
|
+
var index_gen$h = /*#__PURE__*/Object.freeze({
|
|
15493
15503
|
__proto__: null,
|
|
15494
|
-
API: API$
|
|
15504
|
+
API: API$h,
|
|
15495
15505
|
HUB_TRANSIENT_STATUSES: HUB_TRANSIENT_STATUSES
|
|
15496
15506
|
});
|
|
15497
15507
|
|
|
15498
15508
|
var index$i = /*#__PURE__*/Object.freeze({
|
|
15499
15509
|
__proto__: null,
|
|
15500
|
-
v1: index_gen$
|
|
15510
|
+
v1: index_gen$h
|
|
15501
15511
|
});
|
|
15502
15512
|
|
|
15503
15513
|
// This file was automatically generated. DO NOT EDIT.
|
|
@@ -15575,7 +15585,7 @@ const marshalUpdateIPRequest$1 = (request, defaults) => ({
|
|
|
15575
15585
|
|
|
15576
15586
|
// This file was automatically generated. DO NOT EDIT.
|
|
15577
15587
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
15578
|
-
const jsonContentHeaders$
|
|
15588
|
+
const jsonContentHeaders$f = {
|
|
15579
15589
|
'Content-Type': 'application/json; charset=utf-8'
|
|
15580
15590
|
};
|
|
15581
15591
|
|
|
@@ -15585,7 +15595,7 @@ const jsonContentHeaders$g = {
|
|
|
15585
15595
|
* This API allows you to manage IP addresses with Scaleway's IP Address
|
|
15586
15596
|
* Management tool.
|
|
15587
15597
|
*/
|
|
15588
|
-
let API$
|
|
15598
|
+
let API$g = class API extends API$v {
|
|
15589
15599
|
/** Lists the available regions of the API. */
|
|
15590
15600
|
static LOCALITIES = ['fr-par', 'nl-ams', 'pl-waw'];
|
|
15591
15601
|
|
|
@@ -15598,7 +15608,7 @@ let API$h = class API extends API$w {
|
|
|
15598
15608
|
*/
|
|
15599
15609
|
bookIP = request => this.client.fetch({
|
|
15600
15610
|
body: JSON.stringify(marshalBookIPRequest(request, this.client.settings)),
|
|
15601
|
-
headers: jsonContentHeaders$
|
|
15611
|
+
headers: jsonContentHeaders$f,
|
|
15602
15612
|
method: 'POST',
|
|
15603
15613
|
path: `/ipam/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/ips`
|
|
15604
15614
|
}, unmarshalIP$1);
|
|
@@ -15611,7 +15621,7 @@ let API$h = class API extends API$w {
|
|
|
15611
15621
|
*/
|
|
15612
15622
|
releaseIP = request => this.client.fetch({
|
|
15613
15623
|
body: '{}',
|
|
15614
|
-
headers: jsonContentHeaders$
|
|
15624
|
+
headers: jsonContentHeaders$f,
|
|
15615
15625
|
method: 'DELETE',
|
|
15616
15626
|
path: `/ipam/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/ips/${validatePathParam('ipId', request.ipId)}`
|
|
15617
15627
|
});
|
|
@@ -15635,7 +15645,7 @@ let API$h = class API extends API$w {
|
|
|
15635
15645
|
*/
|
|
15636
15646
|
updateIP = request => this.client.fetch({
|
|
15637
15647
|
body: JSON.stringify(marshalUpdateIPRequest$1(request, this.client.settings)),
|
|
15638
|
-
headers: jsonContentHeaders$
|
|
15648
|
+
headers: jsonContentHeaders$f,
|
|
15639
15649
|
method: 'PATCH',
|
|
15640
15650
|
path: `/ipam/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/ips/${validatePathParam('ipId', request.ipId)}`
|
|
15641
15651
|
}, unmarshalIP$1);
|
|
@@ -15682,15 +15692,15 @@ var validationRules_gen$5 = /*#__PURE__*/Object.freeze({
|
|
|
15682
15692
|
// This file was automatically generated. DO NOT EDIT.
|
|
15683
15693
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
15684
15694
|
|
|
15685
|
-
var index_gen$
|
|
15695
|
+
var index_gen$g = /*#__PURE__*/Object.freeze({
|
|
15686
15696
|
__proto__: null,
|
|
15687
|
-
API: API$
|
|
15697
|
+
API: API$g,
|
|
15688
15698
|
ValidationRules: validationRules_gen$5
|
|
15689
15699
|
});
|
|
15690
15700
|
|
|
15691
15701
|
var index$h = /*#__PURE__*/Object.freeze({
|
|
15692
15702
|
__proto__: null,
|
|
15693
|
-
v1: index_gen$
|
|
15703
|
+
v1: index_gen$g
|
|
15694
15704
|
});
|
|
15695
15705
|
|
|
15696
15706
|
// This file was automatically generated. DO NOT EDIT.
|
|
@@ -15873,12 +15883,12 @@ const marshalUpdateVolumeRequest = (request, defaults) => ({
|
|
|
15873
15883
|
|
|
15874
15884
|
// This file was automatically generated. DO NOT EDIT.
|
|
15875
15885
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
15876
|
-
const jsonContentHeaders$
|
|
15886
|
+
const jsonContentHeaders$e = {
|
|
15877
15887
|
'Content-Type': 'application/json; charset=utf-8'
|
|
15878
15888
|
};
|
|
15879
15889
|
|
|
15880
15890
|
/** IPFS Pinning service API. */
|
|
15881
|
-
let API$
|
|
15891
|
+
let API$f = class API extends API$v {
|
|
15882
15892
|
/** Lists the available regions of the API. */
|
|
15883
15893
|
static LOCALITIES = ['fr-par', 'nl-ams', 'pl-waw'];
|
|
15884
15894
|
|
|
@@ -15894,7 +15904,7 @@ let API$g = class API extends API$w {
|
|
|
15894
15904
|
*/
|
|
15895
15905
|
createVolume = request => this.client.fetch({
|
|
15896
15906
|
body: JSON.stringify(marshalCreateVolumeRequest(request, this.client.settings)),
|
|
15897
|
-
headers: jsonContentHeaders$
|
|
15907
|
+
headers: jsonContentHeaders$e,
|
|
15898
15908
|
method: 'POST',
|
|
15899
15909
|
path: `/ipfs/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/volumes`
|
|
15900
15910
|
}, unmarshalVolume$1);
|
|
@@ -15933,7 +15943,7 @@ let API$g = class API extends API$w {
|
|
|
15933
15943
|
*/
|
|
15934
15944
|
updateVolume = request => this.client.fetch({
|
|
15935
15945
|
body: JSON.stringify(marshalUpdateVolumeRequest(request, this.client.settings)),
|
|
15936
|
-
headers: jsonContentHeaders$
|
|
15946
|
+
headers: jsonContentHeaders$e,
|
|
15937
15947
|
method: 'PATCH',
|
|
15938
15948
|
path: `/ipfs/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/volumes/${validatePathParam('volumeId', request.volumeId)}`
|
|
15939
15949
|
}, unmarshalVolume$1);
|
|
@@ -15964,7 +15974,7 @@ let API$g = class API extends API$w {
|
|
|
15964
15974
|
*/
|
|
15965
15975
|
createPinByURL = request => this.client.fetch({
|
|
15966
15976
|
body: JSON.stringify(marshalCreatePinByURLRequest(request, this.client.settings)),
|
|
15967
|
-
headers: jsonContentHeaders$
|
|
15977
|
+
headers: jsonContentHeaders$e,
|
|
15968
15978
|
method: 'POST',
|
|
15969
15979
|
path: `/ipfs/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/pins/create-by-url`
|
|
15970
15980
|
}, unmarshalPin);
|
|
@@ -15983,7 +15993,7 @@ let API$g = class API extends API$w {
|
|
|
15983
15993
|
*/
|
|
15984
15994
|
createPinByCID = request => this.client.fetch({
|
|
15985
15995
|
body: JSON.stringify(marshalCreatePinByCIDRequest(request, this.client.settings)),
|
|
15986
|
-
headers: jsonContentHeaders$
|
|
15996
|
+
headers: jsonContentHeaders$e,
|
|
15987
15997
|
method: 'POST',
|
|
15988
15998
|
path: `/ipfs/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/pins/create-by-cid`
|
|
15989
15999
|
}, unmarshalPin);
|
|
@@ -16004,7 +16014,7 @@ let API$g = class API extends API$w {
|
|
|
16004
16014
|
*/
|
|
16005
16015
|
replacePin = request => this.client.fetch({
|
|
16006
16016
|
body: JSON.stringify(marshalReplacePinRequest(request, this.client.settings)),
|
|
16007
|
-
headers: jsonContentHeaders$
|
|
16017
|
+
headers: jsonContentHeaders$e,
|
|
16008
16018
|
method: 'POST',
|
|
16009
16019
|
path: `/ipfs/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/pins/${validatePathParam('pinId', request.pinId)}/replace`
|
|
16010
16020
|
}, unmarshalReplacePinResponse);
|
|
@@ -16060,7 +16070,7 @@ let API$g = class API extends API$w {
|
|
|
16060
16070
|
};
|
|
16061
16071
|
|
|
16062
16072
|
/** IPFS Naming service API. */
|
|
16063
|
-
class IpnsAPI extends API$
|
|
16073
|
+
class IpnsAPI extends API$v {
|
|
16064
16074
|
/** Lists the available regions of the API. */
|
|
16065
16075
|
static LOCALITIES = ['fr-par', 'nl-ams', 'pl-waw'];
|
|
16066
16076
|
|
|
@@ -16073,7 +16083,7 @@ class IpnsAPI extends API$w {
|
|
|
16073
16083
|
*/
|
|
16074
16084
|
createName = request => this.client.fetch({
|
|
16075
16085
|
body: JSON.stringify(marshalIpnsApiCreateNameRequest(request, this.client.settings)),
|
|
16076
|
-
headers: jsonContentHeaders$
|
|
16086
|
+
headers: jsonContentHeaders$e,
|
|
16077
16087
|
method: 'POST',
|
|
16078
16088
|
path: `/ipfs/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/names`
|
|
16079
16089
|
}, unmarshalName);
|
|
@@ -16130,7 +16140,7 @@ class IpnsAPI extends API$w {
|
|
|
16130
16140
|
*/
|
|
16131
16141
|
updateName = request => this.client.fetch({
|
|
16132
16142
|
body: JSON.stringify(marshalIpnsApiUpdateNameRequest(request, this.client.settings)),
|
|
16133
|
-
headers: jsonContentHeaders$
|
|
16143
|
+
headers: jsonContentHeaders$e,
|
|
16134
16144
|
method: 'PATCH',
|
|
16135
16145
|
path: `/ipfs/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/names/${validatePathParam('nameId', request.nameId)}`
|
|
16136
16146
|
}, unmarshalName);
|
|
@@ -16154,7 +16164,7 @@ class IpnsAPI extends API$w {
|
|
|
16154
16164
|
*/
|
|
16155
16165
|
importKeyName = request => this.client.fetch({
|
|
16156
16166
|
body: JSON.stringify(marshalIpnsApiImportKeyNameRequest(request, this.client.settings)),
|
|
16157
|
-
headers: jsonContentHeaders$
|
|
16167
|
+
headers: jsonContentHeaders$e,
|
|
16158
16168
|
method: 'POST',
|
|
16159
16169
|
path: `/ipfs/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/names/import-key`
|
|
16160
16170
|
}, unmarshalName);
|
|
@@ -16163,9 +16173,9 @@ class IpnsAPI extends API$w {
|
|
|
16163
16173
|
// This file was automatically generated. DO NOT EDIT.
|
|
16164
16174
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
16165
16175
|
|
|
16166
|
-
var index_gen$
|
|
16176
|
+
var index_gen$f = /*#__PURE__*/Object.freeze({
|
|
16167
16177
|
__proto__: null,
|
|
16168
|
-
API: API$
|
|
16178
|
+
API: API$f,
|
|
16169
16179
|
IpnsAPI: IpnsAPI,
|
|
16170
16180
|
NAME_TRANSIENT_STATUSES: NAME_TRANSIENT_STATUSES,
|
|
16171
16181
|
PIN_TRANSIENT_STATUSES: PIN_TRANSIENT_STATUSES
|
|
@@ -16173,7 +16183,7 @@ var index_gen$g = /*#__PURE__*/Object.freeze({
|
|
|
16173
16183
|
|
|
16174
16184
|
var index$g = /*#__PURE__*/Object.freeze({
|
|
16175
16185
|
__proto__: null,
|
|
16176
|
-
v1alpha1: index_gen$
|
|
16186
|
+
v1alpha1: index_gen$f
|
|
16177
16187
|
});
|
|
16178
16188
|
|
|
16179
16189
|
// This file was automatically generated. DO NOT EDIT.
|
|
@@ -16257,12 +16267,12 @@ const marshalUpdateJobDefinitionRequest = (request, defaults) => ({
|
|
|
16257
16267
|
|
|
16258
16268
|
// This file was automatically generated. DO NOT EDIT.
|
|
16259
16269
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
16260
|
-
const jsonContentHeaders$
|
|
16270
|
+
const jsonContentHeaders$d = {
|
|
16261
16271
|
'Content-Type': 'application/json; charset=utf-8'
|
|
16262
16272
|
};
|
|
16263
16273
|
|
|
16264
16274
|
/** Serverless Jobs API. */
|
|
16265
|
-
let API$
|
|
16275
|
+
let API$e = class API extends API$v {
|
|
16266
16276
|
/** Lists the available regions of the API. */
|
|
16267
16277
|
static LOCALITIES = ['fr-par', 'nl-ams', 'pl-waw'];
|
|
16268
16278
|
getServiceInfo = (request = {}) => this.client.fetch({
|
|
@@ -16271,7 +16281,7 @@ let API$f = class API extends API$w {
|
|
|
16271
16281
|
}, unmarshalServiceInfo);
|
|
16272
16282
|
createJobDefinition = request => this.client.fetch({
|
|
16273
16283
|
body: JSON.stringify(marshalCreateJobDefinitionRequest(request, this.client.settings)),
|
|
16274
|
-
headers: jsonContentHeaders$
|
|
16284
|
+
headers: jsonContentHeaders$d,
|
|
16275
16285
|
method: 'POST',
|
|
16276
16286
|
path: `/serverless-jobs/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/job-definitions`
|
|
16277
16287
|
}, unmarshalJobDefinition);
|
|
@@ -16287,7 +16297,7 @@ let API$f = class API extends API$w {
|
|
|
16287
16297
|
listJobDefinitions = (request = {}) => enrichForPagination('jobDefinitions', this.pageOfListJobDefinitions, request);
|
|
16288
16298
|
updateJobDefinition = request => this.client.fetch({
|
|
16289
16299
|
body: JSON.stringify(marshalUpdateJobDefinitionRequest(request, this.client.settings)),
|
|
16290
|
-
headers: jsonContentHeaders$
|
|
16300
|
+
headers: jsonContentHeaders$d,
|
|
16291
16301
|
method: 'PATCH',
|
|
16292
16302
|
path: `/serverless-jobs/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/job-definitions/${validatePathParam('id', request.id)}`
|
|
16293
16303
|
}, unmarshalJobDefinition);
|
|
@@ -16297,7 +16307,7 @@ let API$f = class API extends API$w {
|
|
|
16297
16307
|
});
|
|
16298
16308
|
startJobDefinition = request => this.client.fetch({
|
|
16299
16309
|
body: '{}',
|
|
16300
|
-
headers: jsonContentHeaders$
|
|
16310
|
+
headers: jsonContentHeaders$d,
|
|
16301
16311
|
method: 'POST',
|
|
16302
16312
|
path: `/serverless-jobs/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/job-definitions/${validatePathParam('id', request.id)}/start`
|
|
16303
16313
|
}, unmarshalJobRun);
|
|
@@ -16307,7 +16317,7 @@ let API$f = class API extends API$w {
|
|
|
16307
16317
|
}, unmarshalJobRun);
|
|
16308
16318
|
stopJobRun = request => this.client.fetch({
|
|
16309
16319
|
body: '{}',
|
|
16310
|
-
headers: jsonContentHeaders$
|
|
16320
|
+
headers: jsonContentHeaders$d,
|
|
16311
16321
|
method: 'POST',
|
|
16312
16322
|
path: `/serverless-jobs/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/job-runs/${validatePathParam('id', request.id)}/stop`
|
|
16313
16323
|
}, unmarshalJobRun);
|
|
@@ -16332,11 +16342,14 @@ const CreateJobDefinitionRequest = {
|
|
|
16332
16342
|
cpuLimit: {
|
|
16333
16343
|
greaterThan: 0
|
|
16334
16344
|
},
|
|
16345
|
+
imageUri: {
|
|
16346
|
+
pattern: /^((?:(?:(?:[a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9-]*[a-zA-Z0-9])(?:\.(?:[a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9-]*[a-zA-Z0-9]))*|\[(?:[a-fA-F0-9:]+)\])(?::[0-9]+)?\/)?[a-z0-9]+(?:(?:[._]|__|[-]+)[a-z0-9]+)*(?:\/[a-z0-9]+(?:(?:[._]|__|[-]+)[a-z0-9]+)*)*)(?::([\w][\w.-]{0,127}))?(?:@([A-Za-z][A-Za-z0-9]*(?:[-_+.][A-Za-z][A-Za-z0-9]*)*[:][[:xdigit:]]{32,}))?$/
|
|
16347
|
+
},
|
|
16335
16348
|
memoryLimit: {
|
|
16336
16349
|
greaterThan: 0
|
|
16337
16350
|
},
|
|
16338
16351
|
name: {
|
|
16339
|
-
|
|
16352
|
+
pattern: /^[A-Za-z0-9-_]{3,50}$/
|
|
16340
16353
|
}
|
|
16341
16354
|
};
|
|
16342
16355
|
const ListJobDefinitionsRequest = {
|
|
@@ -16361,11 +16374,14 @@ const UpdateJobDefinitionRequest = {
|
|
|
16361
16374
|
cpuLimit: {
|
|
16362
16375
|
greaterThan: 0
|
|
16363
16376
|
},
|
|
16377
|
+
imageUri: {
|
|
16378
|
+
pattern: /^((?:(?:(?:[a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9-]*[a-zA-Z0-9])(?:\.(?:[a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9-]*[a-zA-Z0-9]))*|\[(?:[a-fA-F0-9:]+)\])(?::[0-9]+)?\/)?[a-z0-9]+(?:(?:[._]|__|[-]+)[a-z0-9]+)*(?:\/[a-z0-9]+(?:(?:[._]|__|[-]+)[a-z0-9]+)*)*)(?::([\w][\w.-]{0,127}))?(?:@([A-Za-z][A-Za-z0-9]*(?:[-_+.][A-Za-z][A-Za-z0-9]*)*[:][[:xdigit:]]{32,}))?$/
|
|
16379
|
+
},
|
|
16364
16380
|
memoryLimit: {
|
|
16365
16381
|
greaterThan: 0
|
|
16366
16382
|
},
|
|
16367
16383
|
name: {
|
|
16368
|
-
|
|
16384
|
+
pattern: /^[A-Za-z0-9-_]{3,50}$/
|
|
16369
16385
|
}
|
|
16370
16386
|
};
|
|
16371
16387
|
|
|
@@ -16380,16 +16396,16 @@ var validationRules_gen$4 = /*#__PURE__*/Object.freeze({
|
|
|
16380
16396
|
// This file was automatically generated. DO NOT EDIT.
|
|
16381
16397
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
16382
16398
|
|
|
16383
|
-
var index_gen$
|
|
16399
|
+
var index_gen$e = /*#__PURE__*/Object.freeze({
|
|
16384
16400
|
__proto__: null,
|
|
16385
|
-
API: API$
|
|
16401
|
+
API: API$e,
|
|
16386
16402
|
JOB_RUN_TRANSIENT_STATUSES: JOB_RUN_TRANSIENT_STATUSES,
|
|
16387
16403
|
ValidationRules: validationRules_gen$4
|
|
16388
16404
|
});
|
|
16389
16405
|
|
|
16390
16406
|
var index$f = /*#__PURE__*/Object.freeze({
|
|
16391
16407
|
__proto__: null,
|
|
16392
|
-
v1alpha1: index_gen$
|
|
16408
|
+
v1alpha1: index_gen$e
|
|
16393
16409
|
});
|
|
16394
16410
|
|
|
16395
16411
|
// This file was automatically generated. DO NOT EDIT.
|
|
@@ -16822,12 +16838,12 @@ const marshalUpgradePoolRequest = (request, defaults) => ({
|
|
|
16822
16838
|
|
|
16823
16839
|
// This file was automatically generated. DO NOT EDIT.
|
|
16824
16840
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
16825
|
-
const jsonContentHeaders$
|
|
16841
|
+
const jsonContentHeaders$c = {
|
|
16826
16842
|
'Content-Type': 'application/json; charset=utf-8'
|
|
16827
16843
|
};
|
|
16828
16844
|
|
|
16829
16845
|
/** Kubernetes API. */
|
|
16830
|
-
let API$
|
|
16846
|
+
let API$d = class API extends API$v {
|
|
16831
16847
|
/** Lists the available regions of the API. */
|
|
16832
16848
|
static LOCALITIES = ['fr-par', 'nl-ams', 'pl-waw'];
|
|
16833
16849
|
pageOfListClusters = (request = {}) => this.client.fetch({
|
|
@@ -16852,7 +16868,7 @@ let API$e = class API extends API$w {
|
|
|
16852
16868
|
*/
|
|
16853
16869
|
createCluster = request => this.client.fetch({
|
|
16854
16870
|
body: JSON.stringify(marshalCreateClusterRequest$1(request, this.client.settings)),
|
|
16855
|
-
headers: jsonContentHeaders$
|
|
16871
|
+
headers: jsonContentHeaders$c,
|
|
16856
16872
|
method: 'POST',
|
|
16857
16873
|
path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/clusters`
|
|
16858
16874
|
}, unmarshalCluster$1);
|
|
@@ -16887,7 +16903,7 @@ let API$e = class API extends API$w {
|
|
|
16887
16903
|
*/
|
|
16888
16904
|
updateCluster = request => this.client.fetch({
|
|
16889
16905
|
body: JSON.stringify(marshalUpdateClusterRequest$1(request, this.client.settings)),
|
|
16890
|
-
headers: jsonContentHeaders$
|
|
16906
|
+
headers: jsonContentHeaders$c,
|
|
16891
16907
|
method: 'PATCH',
|
|
16892
16908
|
path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/clusters/${validatePathParam('clusterId', request.clusterId)}`
|
|
16893
16909
|
}, unmarshalCluster$1);
|
|
@@ -16915,7 +16931,7 @@ let API$e = class API extends API$w {
|
|
|
16915
16931
|
*/
|
|
16916
16932
|
upgradeCluster = request => this.client.fetch({
|
|
16917
16933
|
body: JSON.stringify(marshalUpgradeClusterRequest(request, this.client.settings)),
|
|
16918
|
-
headers: jsonContentHeaders$
|
|
16934
|
+
headers: jsonContentHeaders$c,
|
|
16919
16935
|
method: 'POST',
|
|
16920
16936
|
path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/clusters/${validatePathParam('clusterId', request.clusterId)}/upgrade`
|
|
16921
16937
|
}, unmarshalCluster$1);
|
|
@@ -16931,7 +16947,7 @@ let API$e = class API extends API$w {
|
|
|
16931
16947
|
*/
|
|
16932
16948
|
setClusterType = request => this.client.fetch({
|
|
16933
16949
|
body: JSON.stringify(marshalSetClusterTypeRequest(request, this.client.settings)),
|
|
16934
|
-
headers: jsonContentHeaders$
|
|
16950
|
+
headers: jsonContentHeaders$c,
|
|
16935
16951
|
method: 'POST',
|
|
16936
16952
|
path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/clusters/${validatePathParam('clusterId', request.clusterId)}/set-type`
|
|
16937
16953
|
}, unmarshalCluster$1);
|
|
@@ -16979,7 +16995,7 @@ let API$e = class API extends API$w {
|
|
|
16979
16995
|
*/
|
|
16980
16996
|
resetClusterAdminToken = request => this.client.fetch({
|
|
16981
16997
|
body: '{}',
|
|
16982
|
-
headers: jsonContentHeaders$
|
|
16998
|
+
headers: jsonContentHeaders$c,
|
|
16983
16999
|
method: 'POST',
|
|
16984
17000
|
path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/clusters/${validatePathParam('clusterId', request.clusterId)}/reset-admin-token`
|
|
16985
17001
|
});
|
|
@@ -16994,7 +17010,7 @@ let API$e = class API extends API$w {
|
|
|
16994
17010
|
*/
|
|
16995
17011
|
migrateToPrivateNetworkCluster = request => this.client.fetch({
|
|
16996
17012
|
body: JSON.stringify(marshalMigrateToPrivateNetworkClusterRequest(request, this.client.settings)),
|
|
16997
|
-
headers: jsonContentHeaders$
|
|
17013
|
+
headers: jsonContentHeaders$c,
|
|
16998
17014
|
method: 'POST',
|
|
16999
17015
|
path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/clusters/${validatePathParam('clusterId', request.clusterId)}/migrate-to-private-network`
|
|
17000
17016
|
}, unmarshalCluster$1);
|
|
@@ -17022,7 +17038,7 @@ let API$e = class API extends API$w {
|
|
|
17022
17038
|
*/
|
|
17023
17039
|
createPool = request => this.client.fetch({
|
|
17024
17040
|
body: JSON.stringify(marshalCreatePoolRequest(request, this.client.settings)),
|
|
17025
|
-
headers: jsonContentHeaders$
|
|
17041
|
+
headers: jsonContentHeaders$c,
|
|
17026
17042
|
method: 'POST',
|
|
17027
17043
|
path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/clusters/${validatePathParam('clusterId', request.clusterId)}/pools`
|
|
17028
17044
|
}, unmarshalPool);
|
|
@@ -17058,7 +17074,7 @@ let API$e = class API extends API$w {
|
|
|
17058
17074
|
*/
|
|
17059
17075
|
upgradePool = request => this.client.fetch({
|
|
17060
17076
|
body: JSON.stringify(marshalUpgradePoolRequest(request, this.client.settings)),
|
|
17061
|
-
headers: jsonContentHeaders$
|
|
17077
|
+
headers: jsonContentHeaders$c,
|
|
17062
17078
|
method: 'POST',
|
|
17063
17079
|
path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/pools/${validatePathParam('poolId', request.poolId)}/upgrade`
|
|
17064
17080
|
}, unmarshalPool);
|
|
@@ -17072,7 +17088,7 @@ let API$e = class API extends API$w {
|
|
|
17072
17088
|
*/
|
|
17073
17089
|
updatePool = request => this.client.fetch({
|
|
17074
17090
|
body: JSON.stringify(marshalUpdatePoolRequest(request, this.client.settings)),
|
|
17075
|
-
headers: jsonContentHeaders$
|
|
17091
|
+
headers: jsonContentHeaders$c,
|
|
17076
17092
|
method: 'PATCH',
|
|
17077
17093
|
path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/pools/${validatePathParam('poolId', request.poolId)}`
|
|
17078
17094
|
}, unmarshalPool);
|
|
@@ -17099,7 +17115,7 @@ let API$e = class API extends API$w {
|
|
|
17099
17115
|
*/
|
|
17100
17116
|
createExternalNode = request => this.client.fetch({
|
|
17101
17117
|
body: '{}',
|
|
17102
|
-
headers: jsonContentHeaders$
|
|
17118
|
+
headers: jsonContentHeaders$c,
|
|
17103
17119
|
method: 'POST',
|
|
17104
17120
|
path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/pools/${validatePathParam('poolId', request.poolId)}/external-nodes`
|
|
17105
17121
|
}, unmarshalExternalNode);
|
|
@@ -17152,7 +17168,7 @@ let API$e = class API extends API$w {
|
|
|
17152
17168
|
*/
|
|
17153
17169
|
replaceNode = request => this.client.fetch({
|
|
17154
17170
|
body: '{}',
|
|
17155
|
-
headers: jsonContentHeaders$
|
|
17171
|
+
headers: jsonContentHeaders$c,
|
|
17156
17172
|
method: 'POST',
|
|
17157
17173
|
path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/nodes/${validatePathParam('nodeId', request.nodeId)}/replace`
|
|
17158
17174
|
}, unmarshalNode);
|
|
@@ -17169,7 +17185,7 @@ let API$e = class API extends API$w {
|
|
|
17169
17185
|
*/
|
|
17170
17186
|
rebootNode = request => this.client.fetch({
|
|
17171
17187
|
body: '{}',
|
|
17172
|
-
headers: jsonContentHeaders$
|
|
17188
|
+
headers: jsonContentHeaders$c,
|
|
17173
17189
|
method: 'POST',
|
|
17174
17190
|
path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/nodes/${validatePathParam('nodeId', request.nodeId)}/reboot`
|
|
17175
17191
|
}, unmarshalNode);
|
|
@@ -17226,7 +17242,7 @@ let API$e = class API extends API$w {
|
|
|
17226
17242
|
listClusterTypes = (request = {}) => enrichForPagination('clusterTypes', this.pageOfListClusterTypes, request);
|
|
17227
17243
|
};
|
|
17228
17244
|
|
|
17229
|
-
class K8SUtilsAPI extends API$
|
|
17245
|
+
class K8SUtilsAPI extends API$d {
|
|
17230
17246
|
/**
|
|
17231
17247
|
* Get configuration of a kube cluster.
|
|
17232
17248
|
*
|
|
@@ -18417,7 +18433,7 @@ const marshalZonedApiUpdateSubscriberRequest = (request, defaults) => ({
|
|
|
18417
18433
|
|
|
18418
18434
|
// This file was automatically generated. DO NOT EDIT.
|
|
18419
18435
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
18420
|
-
const jsonContentHeaders$
|
|
18436
|
+
const jsonContentHeaders$b = {
|
|
18421
18437
|
'Content-Type': 'application/json; charset=utf-8'
|
|
18422
18438
|
};
|
|
18423
18439
|
|
|
@@ -18426,7 +18442,7 @@ const jsonContentHeaders$c = {
|
|
|
18426
18442
|
*
|
|
18427
18443
|
* This API allows you to manage your Scaleway Load Balancer services.
|
|
18428
18444
|
*/
|
|
18429
|
-
class ZonedAPI extends API$
|
|
18445
|
+
class ZonedAPI extends API$v {
|
|
18430
18446
|
/** Lists the available zones of the API. */
|
|
18431
18447
|
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'];
|
|
18432
18448
|
pageOfListLbs = (request = {}) => this.client.fetch({
|
|
@@ -18456,7 +18472,7 @@ class ZonedAPI extends API$w {
|
|
|
18456
18472
|
*/
|
|
18457
18473
|
createLb = request => this.client.fetch({
|
|
18458
18474
|
body: JSON.stringify(marshalZonedApiCreateLbRequest(request, this.client.settings)),
|
|
18459
|
-
headers: jsonContentHeaders$
|
|
18475
|
+
headers: jsonContentHeaders$b,
|
|
18460
18476
|
method: 'POST',
|
|
18461
18477
|
path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/lbs`
|
|
18462
18478
|
}, unmarshalLb);
|
|
@@ -18493,7 +18509,7 @@ class ZonedAPI extends API$w {
|
|
|
18493
18509
|
*/
|
|
18494
18510
|
updateLb = request => this.client.fetch({
|
|
18495
18511
|
body: JSON.stringify(marshalZonedApiUpdateLbRequest(request, this.client.settings)),
|
|
18496
|
-
headers: jsonContentHeaders$
|
|
18512
|
+
headers: jsonContentHeaders$b,
|
|
18497
18513
|
method: 'PUT',
|
|
18498
18514
|
path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/lbs/${validatePathParam('lbId', request.lbId)}`
|
|
18499
18515
|
}, unmarshalLb);
|
|
@@ -18522,7 +18538,7 @@ class ZonedAPI extends API$w {
|
|
|
18522
18538
|
*/
|
|
18523
18539
|
migrateLb = request => this.client.fetch({
|
|
18524
18540
|
body: JSON.stringify(marshalZonedApiMigrateLbRequest(request, this.client.settings)),
|
|
18525
|
-
headers: jsonContentHeaders$
|
|
18541
|
+
headers: jsonContentHeaders$b,
|
|
18526
18542
|
method: 'POST',
|
|
18527
18543
|
path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/lbs/${validatePathParam('lbId', request.lbId)}/migrate`
|
|
18528
18544
|
}, unmarshalLb);
|
|
@@ -18552,7 +18568,7 @@ class ZonedAPI extends API$w {
|
|
|
18552
18568
|
*/
|
|
18553
18569
|
createIp = (request = {}) => this.client.fetch({
|
|
18554
18570
|
body: JSON.stringify(marshalZonedApiCreateIpRequest(request, this.client.settings)),
|
|
18555
|
-
headers: jsonContentHeaders$
|
|
18571
|
+
headers: jsonContentHeaders$b,
|
|
18556
18572
|
method: 'POST',
|
|
18557
18573
|
path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/ips`
|
|
18558
18574
|
}, unmarshalIp);
|
|
@@ -18589,7 +18605,7 @@ class ZonedAPI extends API$w {
|
|
|
18589
18605
|
*/
|
|
18590
18606
|
updateIp = request => this.client.fetch({
|
|
18591
18607
|
body: JSON.stringify(marshalZonedApiUpdateIpRequest(request, this.client.settings)),
|
|
18592
|
-
headers: jsonContentHeaders$
|
|
18608
|
+
headers: jsonContentHeaders$b,
|
|
18593
18609
|
method: 'PATCH',
|
|
18594
18610
|
path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/ips/${validatePathParam('ipId', request.ipId)}`
|
|
18595
18611
|
}, unmarshalIp);
|
|
@@ -18622,7 +18638,7 @@ class ZonedAPI extends API$w {
|
|
|
18622
18638
|
*/
|
|
18623
18639
|
createBackend = request => this.client.fetch({
|
|
18624
18640
|
body: JSON.stringify(marshalZonedApiCreateBackendRequest(request, this.client.settings)),
|
|
18625
|
-
headers: jsonContentHeaders$
|
|
18641
|
+
headers: jsonContentHeaders$b,
|
|
18626
18642
|
method: 'POST',
|
|
18627
18643
|
path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/lbs/${validatePathParam('lbId', request.lbId)}/backends`
|
|
18628
18644
|
}, unmarshalBackend);
|
|
@@ -18651,7 +18667,7 @@ class ZonedAPI extends API$w {
|
|
|
18651
18667
|
*/
|
|
18652
18668
|
updateBackend = request => this.client.fetch({
|
|
18653
18669
|
body: JSON.stringify(marshalZonedApiUpdateBackendRequest(request, this.client.settings)),
|
|
18654
|
-
headers: jsonContentHeaders$
|
|
18670
|
+
headers: jsonContentHeaders$b,
|
|
18655
18671
|
method: 'PUT',
|
|
18656
18672
|
path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/backends/${validatePathParam('backendId', request.backendId)}`
|
|
18657
18673
|
}, unmarshalBackend);
|
|
@@ -18679,7 +18695,7 @@ class ZonedAPI extends API$w {
|
|
|
18679
18695
|
*/
|
|
18680
18696
|
addBackendServers = request => this.client.fetch({
|
|
18681
18697
|
body: JSON.stringify(marshalZonedApiAddBackendServersRequest(request, this.client.settings)),
|
|
18682
|
-
headers: jsonContentHeaders$
|
|
18698
|
+
headers: jsonContentHeaders$b,
|
|
18683
18699
|
method: 'POST',
|
|
18684
18700
|
path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/backends/${validatePathParam('backendId', request.backendId)}/servers`
|
|
18685
18701
|
}, unmarshalBackend);
|
|
@@ -18694,7 +18710,7 @@ class ZonedAPI extends API$w {
|
|
|
18694
18710
|
*/
|
|
18695
18711
|
removeBackendServers = request => this.client.fetch({
|
|
18696
18712
|
body: JSON.stringify(marshalZonedApiRemoveBackendServersRequest(request, this.client.settings)),
|
|
18697
|
-
headers: jsonContentHeaders$
|
|
18713
|
+
headers: jsonContentHeaders$b,
|
|
18698
18714
|
method: 'DELETE',
|
|
18699
18715
|
path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/backends/${validatePathParam('backendId', request.backendId)}/servers`
|
|
18700
18716
|
}, unmarshalBackend);
|
|
@@ -18710,7 +18726,7 @@ class ZonedAPI extends API$w {
|
|
|
18710
18726
|
*/
|
|
18711
18727
|
setBackendServers = request => this.client.fetch({
|
|
18712
18728
|
body: JSON.stringify(marshalZonedApiSetBackendServersRequest(request, this.client.settings)),
|
|
18713
|
-
headers: jsonContentHeaders$
|
|
18729
|
+
headers: jsonContentHeaders$b,
|
|
18714
18730
|
method: 'PUT',
|
|
18715
18731
|
path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/backends/${validatePathParam('backendId', request.backendId)}/servers`
|
|
18716
18732
|
}, unmarshalBackend);
|
|
@@ -18726,7 +18742,7 @@ class ZonedAPI extends API$w {
|
|
|
18726
18742
|
*/
|
|
18727
18743
|
updateHealthCheck = request => this.client.fetch({
|
|
18728
18744
|
body: JSON.stringify(marshalZonedApiUpdateHealthCheckRequest(request, this.client.settings)),
|
|
18729
|
-
headers: jsonContentHeaders$
|
|
18745
|
+
headers: jsonContentHeaders$b,
|
|
18730
18746
|
method: 'PUT',
|
|
18731
18747
|
path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/backends/${validatePathParam('backendId', request.backendId)}/healthcheck`
|
|
18732
18748
|
}, unmarshalHealthCheck);
|
|
@@ -18759,7 +18775,7 @@ class ZonedAPI extends API$w {
|
|
|
18759
18775
|
*/
|
|
18760
18776
|
createFrontend = request => this.client.fetch({
|
|
18761
18777
|
body: JSON.stringify(marshalZonedApiCreateFrontendRequest(request, this.client.settings)),
|
|
18762
|
-
headers: jsonContentHeaders$
|
|
18778
|
+
headers: jsonContentHeaders$b,
|
|
18763
18779
|
method: 'POST',
|
|
18764
18780
|
path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/lbs/${validatePathParam('lbId', request.lbId)}/frontends`
|
|
18765
18781
|
}, unmarshalFrontend);
|
|
@@ -18789,7 +18805,7 @@ class ZonedAPI extends API$w {
|
|
|
18789
18805
|
*/
|
|
18790
18806
|
updateFrontend = request => this.client.fetch({
|
|
18791
18807
|
body: JSON.stringify(marshalZonedApiUpdateFrontendRequest(request, this.client.settings)),
|
|
18792
|
-
headers: jsonContentHeaders$
|
|
18808
|
+
headers: jsonContentHeaders$b,
|
|
18793
18809
|
method: 'PUT',
|
|
18794
18810
|
path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/frontends/${validatePathParam('frontendId', request.frontendId)}`
|
|
18795
18811
|
}, unmarshalFrontend);
|
|
@@ -18831,7 +18847,7 @@ class ZonedAPI extends API$w {
|
|
|
18831
18847
|
*/
|
|
18832
18848
|
createRoute = request => this.client.fetch({
|
|
18833
18849
|
body: JSON.stringify(marshalZonedApiCreateRouteRequest(request, this.client.settings)),
|
|
18834
|
-
headers: jsonContentHeaders$
|
|
18850
|
+
headers: jsonContentHeaders$b,
|
|
18835
18851
|
method: 'POST',
|
|
18836
18852
|
path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/routes`
|
|
18837
18853
|
}, unmarshalRoute);
|
|
@@ -18858,7 +18874,7 @@ class ZonedAPI extends API$w {
|
|
|
18858
18874
|
*/
|
|
18859
18875
|
updateRoute = request => this.client.fetch({
|
|
18860
18876
|
body: JSON.stringify(marshalZonedApiUpdateRouteRequest(request, this.client.settings)),
|
|
18861
|
-
headers: jsonContentHeaders$
|
|
18877
|
+
headers: jsonContentHeaders$b,
|
|
18862
18878
|
method: 'PUT',
|
|
18863
18879
|
path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/routes/${validatePathParam('routeId', request.routeId)}`
|
|
18864
18880
|
}, unmarshalRoute);
|
|
@@ -18928,7 +18944,7 @@ class ZonedAPI extends API$w {
|
|
|
18928
18944
|
*/
|
|
18929
18945
|
createAcl = request => this.client.fetch({
|
|
18930
18946
|
body: JSON.stringify(marshalZonedApiCreateAclRequest(request, this.client.settings)),
|
|
18931
|
-
headers: jsonContentHeaders$
|
|
18947
|
+
headers: jsonContentHeaders$b,
|
|
18932
18948
|
method: 'POST',
|
|
18933
18949
|
path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/frontends/${validatePathParam('frontendId', request.frontendId)}/acls`
|
|
18934
18950
|
}, unmarshalAcl);
|
|
@@ -18955,7 +18971,7 @@ class ZonedAPI extends API$w {
|
|
|
18955
18971
|
*/
|
|
18956
18972
|
updateAcl = request => this.client.fetch({
|
|
18957
18973
|
body: JSON.stringify(marshalZonedApiUpdateAclRequest(request, this.client.settings)),
|
|
18958
|
-
headers: jsonContentHeaders$
|
|
18974
|
+
headers: jsonContentHeaders$b,
|
|
18959
18975
|
method: 'PUT',
|
|
18960
18976
|
path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/acls/${validatePathParam('aclId', request.aclId)}`
|
|
18961
18977
|
}, unmarshalAcl);
|
|
@@ -18981,7 +18997,7 @@ class ZonedAPI extends API$w {
|
|
|
18981
18997
|
*/
|
|
18982
18998
|
setAcls = request => this.client.fetch({
|
|
18983
18999
|
body: JSON.stringify(marshalZonedApiSetAclsRequest(request, this.client.settings)),
|
|
18984
|
-
headers: jsonContentHeaders$
|
|
19000
|
+
headers: jsonContentHeaders$b,
|
|
18985
19001
|
method: 'PUT',
|
|
18986
19002
|
path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/frontends/${validatePathParam('frontendId', request.frontendId)}/acls`
|
|
18987
19003
|
}, unmarshalSetAclsResponse);
|
|
@@ -18996,7 +19012,7 @@ class ZonedAPI extends API$w {
|
|
|
18996
19012
|
*/
|
|
18997
19013
|
createCertificate = request => this.client.fetch({
|
|
18998
19014
|
body: JSON.stringify(marshalZonedApiCreateCertificateRequest(request, this.client.settings)),
|
|
18999
|
-
headers: jsonContentHeaders$
|
|
19015
|
+
headers: jsonContentHeaders$b,
|
|
19000
19016
|
method: 'POST',
|
|
19001
19017
|
path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/lbs/${validatePathParam('lbId', request.lbId)}/certificates`
|
|
19002
19018
|
}, unmarshalCertificate);
|
|
@@ -19049,7 +19065,7 @@ class ZonedAPI extends API$w {
|
|
|
19049
19065
|
*/
|
|
19050
19066
|
updateCertificate = request => this.client.fetch({
|
|
19051
19067
|
body: JSON.stringify(marshalZonedApiUpdateCertificateRequest(request, this.client.settings)),
|
|
19052
|
-
headers: jsonContentHeaders$
|
|
19068
|
+
headers: jsonContentHeaders$b,
|
|
19053
19069
|
method: 'PUT',
|
|
19054
19070
|
path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/certificates/${validatePathParam('certificateId', request.certificateId)}`
|
|
19055
19071
|
}, unmarshalCertificate);
|
|
@@ -19091,7 +19107,7 @@ class ZonedAPI extends API$w {
|
|
|
19091
19107
|
*/
|
|
19092
19108
|
createSubscriber = request => this.client.fetch({
|
|
19093
19109
|
body: JSON.stringify(marshalZonedApiCreateSubscriberRequest(request, this.client.settings)),
|
|
19094
|
-
headers: jsonContentHeaders$
|
|
19110
|
+
headers: jsonContentHeaders$b,
|
|
19095
19111
|
method: 'POST',
|
|
19096
19112
|
path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/subscribers`
|
|
19097
19113
|
}, unmarshalSubscriber);
|
|
@@ -19135,7 +19151,7 @@ class ZonedAPI extends API$w {
|
|
|
19135
19151
|
*/
|
|
19136
19152
|
updateSubscriber = request => this.client.fetch({
|
|
19137
19153
|
body: JSON.stringify(marshalZonedApiUpdateSubscriberRequest(request, this.client.settings)),
|
|
19138
|
-
headers: jsonContentHeaders$
|
|
19154
|
+
headers: jsonContentHeaders$b,
|
|
19139
19155
|
method: 'PUT',
|
|
19140
19156
|
path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/subscribers/${validatePathParam('subscriberId', request.subscriberId)}`
|
|
19141
19157
|
}, unmarshalSubscriber);
|
|
@@ -19160,7 +19176,7 @@ class ZonedAPI extends API$w {
|
|
|
19160
19176
|
*/
|
|
19161
19177
|
subscribeToLb = request => this.client.fetch({
|
|
19162
19178
|
body: JSON.stringify(marshalZonedApiSubscribeToLbRequest(request, this.client.settings)),
|
|
19163
|
-
headers: jsonContentHeaders$
|
|
19179
|
+
headers: jsonContentHeaders$b,
|
|
19164
19180
|
method: 'POST',
|
|
19165
19181
|
path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/lb/${validatePathParam('lbId', request.lbId)}/subscribe`
|
|
19166
19182
|
}, unmarshalLb);
|
|
@@ -19205,7 +19221,7 @@ class ZonedAPI extends API$w {
|
|
|
19205
19221
|
*/
|
|
19206
19222
|
attachPrivateNetwork = request => this.client.fetch({
|
|
19207
19223
|
body: JSON.stringify(marshalZonedApiAttachPrivateNetworkRequest(request, this.client.settings)),
|
|
19208
|
-
headers: jsonContentHeaders$
|
|
19224
|
+
headers: jsonContentHeaders$b,
|
|
19209
19225
|
method: 'POST',
|
|
19210
19226
|
path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/lbs/${validatePathParam('lbId', request.lbId)}/private-networks/${validatePathParam('privateNetworkId', request.privateNetworkId)}/attach`
|
|
19211
19227
|
}, unmarshalPrivateNetwork$3);
|
|
@@ -19218,7 +19234,7 @@ class ZonedAPI extends API$w {
|
|
|
19218
19234
|
*/
|
|
19219
19235
|
detachPrivateNetwork = request => this.client.fetch({
|
|
19220
19236
|
body: '{}',
|
|
19221
|
-
headers: jsonContentHeaders$
|
|
19237
|
+
headers: jsonContentHeaders$b,
|
|
19222
19238
|
method: 'POST',
|
|
19223
19239
|
path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/lbs/${validatePathParam('lbId', request.lbId)}/private-networks/${validatePathParam('privateNetworkId', request.privateNetworkId)}/detach`
|
|
19224
19240
|
});
|
|
@@ -19229,7 +19245,7 @@ class ZonedAPI extends API$w {
|
|
|
19229
19245
|
*
|
|
19230
19246
|
* This API allows you to manage your load balancer service.
|
|
19231
19247
|
*/
|
|
19232
|
-
let API$
|
|
19248
|
+
let API$c = class API extends API$v {
|
|
19233
19249
|
/** Lists the available regions of the API. */
|
|
19234
19250
|
static LOCALITIES = ['fr-par', 'nl-ams', 'pl-waw'];
|
|
19235
19251
|
pageOfListLbs = (request = {}) => this.client.fetch({
|
|
@@ -19254,7 +19270,7 @@ let API$d = class API extends API$w {
|
|
|
19254
19270
|
*/
|
|
19255
19271
|
createLb = request => this.client.fetch({
|
|
19256
19272
|
body: JSON.stringify(marshalCreateLbRequest(request, this.client.settings)),
|
|
19257
|
-
headers: jsonContentHeaders$
|
|
19273
|
+
headers: jsonContentHeaders$b,
|
|
19258
19274
|
method: 'POST',
|
|
19259
19275
|
path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/lbs`
|
|
19260
19276
|
}, unmarshalLb);
|
|
@@ -19287,7 +19303,7 @@ let API$d = class API extends API$w {
|
|
|
19287
19303
|
*/
|
|
19288
19304
|
updateLb = request => this.client.fetch({
|
|
19289
19305
|
body: JSON.stringify(marshalUpdateLbRequest(request, this.client.settings)),
|
|
19290
|
-
headers: jsonContentHeaders$
|
|
19306
|
+
headers: jsonContentHeaders$b,
|
|
19291
19307
|
method: 'PUT',
|
|
19292
19308
|
path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/lbs/${validatePathParam('lbId', request.lbId)}`
|
|
19293
19309
|
}, unmarshalLb);
|
|
@@ -19311,7 +19327,7 @@ let API$d = class API extends API$w {
|
|
|
19311
19327
|
*/
|
|
19312
19328
|
migrateLb = request => this.client.fetch({
|
|
19313
19329
|
body: JSON.stringify(marshalMigrateLbRequest(request, this.client.settings)),
|
|
19314
|
-
headers: jsonContentHeaders$
|
|
19330
|
+
headers: jsonContentHeaders$b,
|
|
19315
19331
|
method: 'POST',
|
|
19316
19332
|
path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/lbs/${validatePathParam('lbId', request.lbId)}/migrate`
|
|
19317
19333
|
}, unmarshalLb);
|
|
@@ -19337,7 +19353,7 @@ let API$d = class API extends API$w {
|
|
|
19337
19353
|
*/
|
|
19338
19354
|
createIp = (request = {}) => this.client.fetch({
|
|
19339
19355
|
body: JSON.stringify(marshalCreateIpRequest(request, this.client.settings)),
|
|
19340
|
-
headers: jsonContentHeaders$
|
|
19356
|
+
headers: jsonContentHeaders$b,
|
|
19341
19357
|
method: 'POST',
|
|
19342
19358
|
path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/ips`
|
|
19343
19359
|
}, unmarshalIp);
|
|
@@ -19371,7 +19387,7 @@ let API$d = class API extends API$w {
|
|
|
19371
19387
|
*/
|
|
19372
19388
|
updateIp = request => this.client.fetch({
|
|
19373
19389
|
body: JSON.stringify(marshalUpdateIpRequest(request, this.client.settings)),
|
|
19374
|
-
headers: jsonContentHeaders$
|
|
19390
|
+
headers: jsonContentHeaders$b,
|
|
19375
19391
|
method: 'PATCH',
|
|
19376
19392
|
path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/ips/${validatePathParam('ipId', request.ipId)}`
|
|
19377
19393
|
}, unmarshalIp);
|
|
@@ -19397,7 +19413,7 @@ let API$d = class API extends API$w {
|
|
|
19397
19413
|
*/
|
|
19398
19414
|
createBackend = request => this.client.fetch({
|
|
19399
19415
|
body: JSON.stringify(marshalCreateBackendRequest(request, this.client.settings)),
|
|
19400
|
-
headers: jsonContentHeaders$
|
|
19416
|
+
headers: jsonContentHeaders$b,
|
|
19401
19417
|
method: 'POST',
|
|
19402
19418
|
path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/lbs/${validatePathParam('lbId', request.lbId)}/backends`
|
|
19403
19419
|
}, unmarshalBackend);
|
|
@@ -19421,7 +19437,7 @@ let API$d = class API extends API$w {
|
|
|
19421
19437
|
*/
|
|
19422
19438
|
updateBackend = request => this.client.fetch({
|
|
19423
19439
|
body: JSON.stringify(marshalUpdateBackendRequest(request, this.client.settings)),
|
|
19424
|
-
headers: jsonContentHeaders$
|
|
19440
|
+
headers: jsonContentHeaders$b,
|
|
19425
19441
|
method: 'PUT',
|
|
19426
19442
|
path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/backends/${validatePathParam('backendId', request.backendId)}`
|
|
19427
19443
|
}, unmarshalBackend);
|
|
@@ -19444,7 +19460,7 @@ let API$d = class API extends API$w {
|
|
|
19444
19460
|
*/
|
|
19445
19461
|
addBackendServers = request => this.client.fetch({
|
|
19446
19462
|
body: JSON.stringify(marshalAddBackendServersRequest(request, this.client.settings)),
|
|
19447
|
-
headers: jsonContentHeaders$
|
|
19463
|
+
headers: jsonContentHeaders$b,
|
|
19448
19464
|
method: 'POST',
|
|
19449
19465
|
path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/backends/${validatePathParam('backendId', request.backendId)}/servers`
|
|
19450
19466
|
}, unmarshalBackend);
|
|
@@ -19457,7 +19473,7 @@ let API$d = class API extends API$w {
|
|
|
19457
19473
|
*/
|
|
19458
19474
|
removeBackendServers = request => this.client.fetch({
|
|
19459
19475
|
body: JSON.stringify(marshalRemoveBackendServersRequest(request, this.client.settings)),
|
|
19460
|
-
headers: jsonContentHeaders$
|
|
19476
|
+
headers: jsonContentHeaders$b,
|
|
19461
19477
|
method: 'DELETE',
|
|
19462
19478
|
path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/backends/${validatePathParam('backendId', request.backendId)}/servers`
|
|
19463
19479
|
}, unmarshalBackend);
|
|
@@ -19470,7 +19486,7 @@ let API$d = class API extends API$w {
|
|
|
19470
19486
|
*/
|
|
19471
19487
|
setBackendServers = request => this.client.fetch({
|
|
19472
19488
|
body: JSON.stringify(marshalSetBackendServersRequest(request, this.client.settings)),
|
|
19473
|
-
headers: jsonContentHeaders$
|
|
19489
|
+
headers: jsonContentHeaders$b,
|
|
19474
19490
|
method: 'PUT',
|
|
19475
19491
|
path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/backends/${validatePathParam('backendId', request.backendId)}/servers`
|
|
19476
19492
|
}, unmarshalBackend);
|
|
@@ -19483,7 +19499,7 @@ let API$d = class API extends API$w {
|
|
|
19483
19499
|
*/
|
|
19484
19500
|
updateHealthCheck = request => this.client.fetch({
|
|
19485
19501
|
body: JSON.stringify(marshalUpdateHealthCheckRequest(request, this.client.settings)),
|
|
19486
|
-
headers: jsonContentHeaders$
|
|
19502
|
+
headers: jsonContentHeaders$b,
|
|
19487
19503
|
method: 'PUT',
|
|
19488
19504
|
path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/backends/${validatePathParam('backendId', request.backendId)}/healthcheck`
|
|
19489
19505
|
}, unmarshalHealthCheck);
|
|
@@ -19509,7 +19525,7 @@ let API$d = class API extends API$w {
|
|
|
19509
19525
|
*/
|
|
19510
19526
|
createFrontend = request => this.client.fetch({
|
|
19511
19527
|
body: JSON.stringify(marshalCreateFrontendRequest(request, this.client.settings)),
|
|
19512
|
-
headers: jsonContentHeaders$
|
|
19528
|
+
headers: jsonContentHeaders$b,
|
|
19513
19529
|
method: 'POST',
|
|
19514
19530
|
path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/lbs/${validatePathParam('lbId', request.lbId)}/frontends`
|
|
19515
19531
|
}, unmarshalFrontend);
|
|
@@ -19533,7 +19549,7 @@ let API$d = class API extends API$w {
|
|
|
19533
19549
|
*/
|
|
19534
19550
|
updateFrontend = request => this.client.fetch({
|
|
19535
19551
|
body: JSON.stringify(marshalUpdateFrontendRequest(request, this.client.settings)),
|
|
19536
|
-
headers: jsonContentHeaders$
|
|
19552
|
+
headers: jsonContentHeaders$b,
|
|
19537
19553
|
method: 'PUT',
|
|
19538
19554
|
path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/frontends/${validatePathParam('frontendId', request.frontendId)}`
|
|
19539
19555
|
}, unmarshalFrontend);
|
|
@@ -19569,7 +19585,7 @@ let API$d = class API extends API$w {
|
|
|
19569
19585
|
*/
|
|
19570
19586
|
createRoute = request => this.client.fetch({
|
|
19571
19587
|
body: JSON.stringify(marshalCreateRouteRequest(request, this.client.settings)),
|
|
19572
|
-
headers: jsonContentHeaders$
|
|
19588
|
+
headers: jsonContentHeaders$b,
|
|
19573
19589
|
method: 'POST',
|
|
19574
19590
|
path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/routes`
|
|
19575
19591
|
}, unmarshalRoute);
|
|
@@ -19593,7 +19609,7 @@ let API$d = class API extends API$w {
|
|
|
19593
19609
|
*/
|
|
19594
19610
|
updateRoute = request => this.client.fetch({
|
|
19595
19611
|
body: JSON.stringify(marshalUpdateRouteRequest(request, this.client.settings)),
|
|
19596
|
-
headers: jsonContentHeaders$
|
|
19612
|
+
headers: jsonContentHeaders$b,
|
|
19597
19613
|
method: 'PUT',
|
|
19598
19614
|
path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/routes/${validatePathParam('routeId', request.routeId)}`
|
|
19599
19615
|
}, unmarshalRoute);
|
|
@@ -19655,7 +19671,7 @@ let API$d = class API extends API$w {
|
|
|
19655
19671
|
*/
|
|
19656
19672
|
createAcl = request => this.client.fetch({
|
|
19657
19673
|
body: JSON.stringify(marshalCreateAclRequest(request, this.client.settings)),
|
|
19658
|
-
headers: jsonContentHeaders$
|
|
19674
|
+
headers: jsonContentHeaders$b,
|
|
19659
19675
|
method: 'POST',
|
|
19660
19676
|
path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/frontends/${validatePathParam('frontendId', request.frontendId)}/acls`
|
|
19661
19677
|
}, unmarshalAcl);
|
|
@@ -19679,7 +19695,7 @@ let API$d = class API extends API$w {
|
|
|
19679
19695
|
*/
|
|
19680
19696
|
updateAcl = request => this.client.fetch({
|
|
19681
19697
|
body: JSON.stringify(marshalUpdateAclRequest(request, this.client.settings)),
|
|
19682
|
-
headers: jsonContentHeaders$
|
|
19698
|
+
headers: jsonContentHeaders$b,
|
|
19683
19699
|
method: 'PUT',
|
|
19684
19700
|
path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/acls/${validatePathParam('aclId', request.aclId)}`
|
|
19685
19701
|
}, unmarshalAcl);
|
|
@@ -19703,7 +19719,7 @@ let API$d = class API extends API$w {
|
|
|
19703
19719
|
*/
|
|
19704
19720
|
createCertificate = request => this.client.fetch({
|
|
19705
19721
|
body: JSON.stringify(marshalCreateCertificateRequest(request, this.client.settings)),
|
|
19706
|
-
headers: jsonContentHeaders$
|
|
19722
|
+
headers: jsonContentHeaders$b,
|
|
19707
19723
|
method: 'POST',
|
|
19708
19724
|
path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/lbs/${validatePathParam('lbId', request.lbId)}/certificates`
|
|
19709
19725
|
}, unmarshalCertificate);
|
|
@@ -19749,7 +19765,7 @@ let API$d = class API extends API$w {
|
|
|
19749
19765
|
*/
|
|
19750
19766
|
updateCertificate = request => this.client.fetch({
|
|
19751
19767
|
body: JSON.stringify(marshalUpdateCertificateRequest(request, this.client.settings)),
|
|
19752
|
-
headers: jsonContentHeaders$
|
|
19768
|
+
headers: jsonContentHeaders$b,
|
|
19753
19769
|
method: 'PUT',
|
|
19754
19770
|
path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/certificates/${validatePathParam('certificateId', request.certificateId)}`
|
|
19755
19771
|
}, unmarshalCertificate);
|
|
@@ -19785,7 +19801,7 @@ let API$d = class API extends API$w {
|
|
|
19785
19801
|
*/
|
|
19786
19802
|
createSubscriber = request => this.client.fetch({
|
|
19787
19803
|
body: JSON.stringify(marshalCreateSubscriberRequest(request, this.client.settings)),
|
|
19788
|
-
headers: jsonContentHeaders$
|
|
19804
|
+
headers: jsonContentHeaders$b,
|
|
19789
19805
|
method: 'POST',
|
|
19790
19806
|
path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/subscribers`
|
|
19791
19807
|
}, unmarshalSubscriber);
|
|
@@ -19822,7 +19838,7 @@ let API$d = class API extends API$w {
|
|
|
19822
19838
|
*/
|
|
19823
19839
|
updateSubscriber = request => this.client.fetch({
|
|
19824
19840
|
body: JSON.stringify(marshalUpdateSubscriberRequest(request, this.client.settings)),
|
|
19825
|
-
headers: jsonContentHeaders$
|
|
19841
|
+
headers: jsonContentHeaders$b,
|
|
19826
19842
|
method: 'PUT',
|
|
19827
19843
|
path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/subscribers/${validatePathParam('subscriberId', request.subscriberId)}`
|
|
19828
19844
|
}, unmarshalSubscriber);
|
|
@@ -19845,7 +19861,7 @@ let API$d = class API extends API$w {
|
|
|
19845
19861
|
*/
|
|
19846
19862
|
subscribeToLb = request => this.client.fetch({
|
|
19847
19863
|
body: JSON.stringify(marshalSubscribeToLbRequest(request, this.client.settings)),
|
|
19848
|
-
headers: jsonContentHeaders$
|
|
19864
|
+
headers: jsonContentHeaders$b,
|
|
19849
19865
|
method: 'POST',
|
|
19850
19866
|
path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/lb/${validatePathParam('lbId', request.lbId)}/subscribe`
|
|
19851
19867
|
}, unmarshalLb);
|
|
@@ -19882,7 +19898,7 @@ let API$d = class API extends API$w {
|
|
|
19882
19898
|
*/
|
|
19883
19899
|
attachPrivateNetwork = request => this.client.fetch({
|
|
19884
19900
|
body: JSON.stringify(marshalAttachPrivateNetworkRequest(request, this.client.settings)),
|
|
19885
|
-
headers: jsonContentHeaders$
|
|
19901
|
+
headers: jsonContentHeaders$b,
|
|
19886
19902
|
method: 'POST',
|
|
19887
19903
|
path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/lbs/${validatePathParam('lbId', request.lbId)}/private-networks/${validatePathParam('privateNetworkId', request.privateNetworkId)}/attach`
|
|
19888
19904
|
}, unmarshalPrivateNetwork$3);
|
|
@@ -19894,13 +19910,13 @@ let API$d = class API extends API$w {
|
|
|
19894
19910
|
*/
|
|
19895
19911
|
detachPrivateNetwork = request => this.client.fetch({
|
|
19896
19912
|
body: '{}',
|
|
19897
|
-
headers: jsonContentHeaders$
|
|
19913
|
+
headers: jsonContentHeaders$b,
|
|
19898
19914
|
method: 'POST',
|
|
19899
19915
|
path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/lbs/${validatePathParam('lbId', request.lbId)}/private-networks/${validatePathParam('privateNetworkId', request.privateNetworkId)}/detach`
|
|
19900
19916
|
});
|
|
19901
19917
|
};
|
|
19902
19918
|
|
|
19903
|
-
class LbV1UtilsAPI extends API$
|
|
19919
|
+
class LbV1UtilsAPI extends API$c {
|
|
19904
19920
|
/**
|
|
19905
19921
|
* Waits for all private networks of a load balancer to be in a final state.
|
|
19906
19922
|
*
|
|
@@ -20082,7 +20098,7 @@ const unmarshalListVersionsResponse$1 = data => {
|
|
|
20082
20098
|
// This file was automatically generated. DO NOT EDIT.
|
|
20083
20099
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
20084
20100
|
/** Marketplace API. */
|
|
20085
|
-
let API$
|
|
20101
|
+
let API$b = class API extends API$v {
|
|
20086
20102
|
pageOfListImages = (request = {}) => this.client.fetch({
|
|
20087
20103
|
method: 'GET',
|
|
20088
20104
|
path: `/marketplace/v1/images`,
|
|
@@ -20120,9 +20136,9 @@ let API$c = class API extends API$w {
|
|
|
20120
20136
|
// This file was automatically generated. DO NOT EDIT.
|
|
20121
20137
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
20122
20138
|
|
|
20123
|
-
var index_gen$
|
|
20139
|
+
var index_gen$d = /*#__PURE__*/Object.freeze({
|
|
20124
20140
|
__proto__: null,
|
|
20125
|
-
API: API$
|
|
20141
|
+
API: API$b
|
|
20126
20142
|
});
|
|
20127
20143
|
|
|
20128
20144
|
// This file was automatically generated. DO NOT EDIT.
|
|
@@ -20218,7 +20234,7 @@ const unmarshalListVersionsResponse = data => {
|
|
|
20218
20234
|
// This file was automatically generated. DO NOT EDIT.
|
|
20219
20235
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
20220
20236
|
/** Marketplace API. */
|
|
20221
|
-
let API$
|
|
20237
|
+
let API$a = class API extends API$v {
|
|
20222
20238
|
pageOfListImages = request => this.client.fetch({
|
|
20223
20239
|
method: 'GET',
|
|
20224
20240
|
path: `/marketplace/v2/images`,
|
|
@@ -20342,303 +20358,15 @@ let API$b = class API extends API$w {
|
|
|
20342
20358
|
// This file was automatically generated. DO NOT EDIT.
|
|
20343
20359
|
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
20344
20360
|
|
|
20345
|
-
var index_gen$
|
|
20361
|
+
var index_gen$c = /*#__PURE__*/Object.freeze({
|
|
20346
20362
|
__proto__: null,
|
|
20347
|
-
API: API$
|
|
20363
|
+
API: API$a
|
|
20348
20364
|
});
|
|
20349
20365
|
|
|
20350
20366
|
var index$a = /*#__PURE__*/Object.freeze({
|
|
20351
20367
|
__proto__: null,
|
|
20352
|
-
v1: index_gen$
|
|
20353
|
-
v2: index_gen$
|
|
20354
|
-
});
|
|
20355
|
-
|
|
20356
|
-
// This file was automatically generated. DO NOT EDIT.
|
|
20357
|
-
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
20358
|
-
const unmarshalNamespace$1 = data => {
|
|
20359
|
-
if (!isJSONObject(data)) {
|
|
20360
|
-
throw new TypeError(`Unmarshalling the type 'Namespace' failed as data isn't a dictionary.`);
|
|
20361
|
-
}
|
|
20362
|
-
return {
|
|
20363
|
-
createdAt: unmarshalDate(data.created_at),
|
|
20364
|
-
endpoint: data.endpoint,
|
|
20365
|
-
id: data.id,
|
|
20366
|
-
name: data.name,
|
|
20367
|
-
projectId: data.project_id,
|
|
20368
|
-
protocol: data.protocol,
|
|
20369
|
-
region: data.region,
|
|
20370
|
-
updatedAt: unmarshalDate(data.updated_at)
|
|
20371
|
-
};
|
|
20372
|
-
};
|
|
20373
|
-
const unmarshalPermissions = data => {
|
|
20374
|
-
if (!isJSONObject(data)) {
|
|
20375
|
-
throw new TypeError(`Unmarshalling the type 'Permissions' failed as data isn't a dictionary.`);
|
|
20376
|
-
}
|
|
20377
|
-
return {
|
|
20378
|
-
canManage: data.can_manage,
|
|
20379
|
-
canPublish: data.can_publish,
|
|
20380
|
-
canReceive: data.can_receive
|
|
20381
|
-
};
|
|
20382
|
-
};
|
|
20383
|
-
const unmarshalCredentialNATSCredsFile = data => {
|
|
20384
|
-
if (!isJSONObject(data)) {
|
|
20385
|
-
throw new TypeError(`Unmarshalling the type 'CredentialNATSCredsFile' failed as data isn't a dictionary.`);
|
|
20386
|
-
}
|
|
20387
|
-
return {
|
|
20388
|
-
content: data.content
|
|
20389
|
-
};
|
|
20390
|
-
};
|
|
20391
|
-
const unmarshalCredentialSQSSNSCreds = data => {
|
|
20392
|
-
if (!isJSONObject(data)) {
|
|
20393
|
-
throw new TypeError(`Unmarshalling the type 'CredentialSQSSNSCreds' failed as data isn't a dictionary.`);
|
|
20394
|
-
}
|
|
20395
|
-
return {
|
|
20396
|
-
accessKey: data.access_key,
|
|
20397
|
-
permissions: data.permissions ? unmarshalPermissions(data.permissions) : undefined,
|
|
20398
|
-
secretKey: data.secret_key
|
|
20399
|
-
};
|
|
20400
|
-
};
|
|
20401
|
-
const unmarshalCredential = data => {
|
|
20402
|
-
if (!isJSONObject(data)) {
|
|
20403
|
-
throw new TypeError(`Unmarshalling the type 'Credential' failed as data isn't a dictionary.`);
|
|
20404
|
-
}
|
|
20405
|
-
return {
|
|
20406
|
-
id: data.id,
|
|
20407
|
-
name: data.name,
|
|
20408
|
-
namespaceId: data.namespace_id,
|
|
20409
|
-
natsCredentials: data.nats_credentials ? unmarshalCredentialNATSCredsFile(data.nats_credentials) : undefined,
|
|
20410
|
-
protocol: data.protocol,
|
|
20411
|
-
sqsSnsCredentials: data.sqs_sns_credentials ? unmarshalCredentialSQSSNSCreds(data.sqs_sns_credentials) : undefined
|
|
20412
|
-
};
|
|
20413
|
-
};
|
|
20414
|
-
const unmarshalCredentialSummarySQSSNSCreds = data => {
|
|
20415
|
-
if (!isJSONObject(data)) {
|
|
20416
|
-
throw new TypeError(`Unmarshalling the type 'CredentialSummarySQSSNSCreds' failed as data isn't a dictionary.`);
|
|
20417
|
-
}
|
|
20418
|
-
return {
|
|
20419
|
-
accessKey: data.access_key,
|
|
20420
|
-
permissions: data.permissions ? unmarshalPermissions(data.permissions) : undefined
|
|
20421
|
-
};
|
|
20422
|
-
};
|
|
20423
|
-
const unmarshalCredentialSummary = data => {
|
|
20424
|
-
if (!isJSONObject(data)) {
|
|
20425
|
-
throw new TypeError(`Unmarshalling the type 'CredentialSummary' failed as data isn't a dictionary.`);
|
|
20426
|
-
}
|
|
20427
|
-
return {
|
|
20428
|
-
id: data.id,
|
|
20429
|
-
name: data.name,
|
|
20430
|
-
namespaceId: data.namespace_id,
|
|
20431
|
-
protocol: data.protocol,
|
|
20432
|
-
sqsSnsCredentials: data.sqs_sns_credentials ? unmarshalCredentialSummarySQSSNSCreds(data.sqs_sns_credentials) : undefined
|
|
20433
|
-
};
|
|
20434
|
-
};
|
|
20435
|
-
const unmarshalListCredentialsResponse = data => {
|
|
20436
|
-
if (!isJSONObject(data)) {
|
|
20437
|
-
throw new TypeError(`Unmarshalling the type 'ListCredentialsResponse' failed as data isn't a dictionary.`);
|
|
20438
|
-
}
|
|
20439
|
-
return {
|
|
20440
|
-
credentials: unmarshalArrayOfObject(data.credentials, unmarshalCredentialSummary),
|
|
20441
|
-
totalCount: data.total_count
|
|
20442
|
-
};
|
|
20443
|
-
};
|
|
20444
|
-
const unmarshalListNamespacesResponse$1 = data => {
|
|
20445
|
-
if (!isJSONObject(data)) {
|
|
20446
|
-
throw new TypeError(`Unmarshalling the type 'ListNamespacesResponse' failed as data isn't a dictionary.`);
|
|
20447
|
-
}
|
|
20448
|
-
return {
|
|
20449
|
-
namespaces: unmarshalArrayOfObject(data.namespaces, unmarshalNamespace$1),
|
|
20450
|
-
totalCount: data.total_count
|
|
20451
|
-
};
|
|
20452
|
-
};
|
|
20453
|
-
const marshalPermissions = (request, defaults) => ({
|
|
20454
|
-
can_manage: request.canManage,
|
|
20455
|
-
can_publish: request.canPublish,
|
|
20456
|
-
can_receive: request.canReceive
|
|
20457
|
-
});
|
|
20458
|
-
const marshalCreateCredentialRequest = (request, defaults) => ({
|
|
20459
|
-
name: request.name || randomName('mnq'),
|
|
20460
|
-
namespace_id: request.namespaceId,
|
|
20461
|
-
permissions: request.permissions !== undefined ? marshalPermissions(request.permissions) : undefined
|
|
20462
|
-
});
|
|
20463
|
-
const marshalCreateNamespaceRequest$1 = (request, defaults) => ({
|
|
20464
|
-
name: request.name || randomName('mnq'),
|
|
20465
|
-
project_id: request.projectId ?? defaults.defaultProjectId,
|
|
20466
|
-
protocol: request.protocol
|
|
20467
|
-
});
|
|
20468
|
-
const marshalUpdateCredentialRequest = (request, defaults) => ({
|
|
20469
|
-
name: request.name,
|
|
20470
|
-
permissions: request.permissions !== undefined ? marshalPermissions(request.permissions) : undefined
|
|
20471
|
-
});
|
|
20472
|
-
const marshalUpdateNamespaceRequest$1 = (request, defaults) => ({
|
|
20473
|
-
name: request.name,
|
|
20474
|
-
namespace_id: request.namespaceId
|
|
20475
|
-
});
|
|
20476
|
-
|
|
20477
|
-
// This file was automatically generated. DO NOT EDIT.
|
|
20478
|
-
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
20479
|
-
const jsonContentHeaders$b = {
|
|
20480
|
-
'Content-Type': 'application/json; charset=utf-8'
|
|
20481
|
-
};
|
|
20482
|
-
|
|
20483
|
-
/**
|
|
20484
|
-
* Messaging and Queuing API.
|
|
20485
|
-
*
|
|
20486
|
-
* This API allows you to manage Scaleway Messaging and Queueing brokers.
|
|
20487
|
-
*/
|
|
20488
|
-
let API$a = class API extends API$w {
|
|
20489
|
-
/** Lists the available regions of the API. */
|
|
20490
|
-
static LOCALITIES = ['fr-par'];
|
|
20491
|
-
pageOfListNamespaces = (request = {}) => this.client.fetch({
|
|
20492
|
-
method: 'GET',
|
|
20493
|
-
path: `/mnq/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/namespaces`,
|
|
20494
|
-
urlParams: urlParams(['order_by', request.orderBy], ['organization_id', request.organizationId], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['project_id', request.projectId])
|
|
20495
|
-
}, unmarshalListNamespacesResponse$1);
|
|
20496
|
-
|
|
20497
|
-
/**
|
|
20498
|
-
* List namespaces. List all Messaging and Queuing namespaces in the specified
|
|
20499
|
-
* region, for a Scaleway Organization or Project. By default, the namespaces
|
|
20500
|
-
* returned in the list are ordered by creation date in ascending order,
|
|
20501
|
-
* though this can be modified via the `order_by` field.
|
|
20502
|
-
*
|
|
20503
|
-
* @param request - The request {@link ListNamespacesRequest}
|
|
20504
|
-
* @returns A Promise of ListNamespacesResponse
|
|
20505
|
-
*/
|
|
20506
|
-
listNamespaces = (request = {}) => enrichForPagination('namespaces', this.pageOfListNamespaces, request);
|
|
20507
|
-
|
|
20508
|
-
/**
|
|
20509
|
-
* Create a namespace. Create a Messaging and Queuing namespace, set to the
|
|
20510
|
-
* desired protocol.
|
|
20511
|
-
*
|
|
20512
|
-
* @param request - The request {@link CreateNamespaceRequest}
|
|
20513
|
-
* @returns A Promise of Namespace
|
|
20514
|
-
*/
|
|
20515
|
-
createNamespace = request => this.client.fetch({
|
|
20516
|
-
body: JSON.stringify(marshalCreateNamespaceRequest$1(request, this.client.settings)),
|
|
20517
|
-
headers: jsonContentHeaders$b,
|
|
20518
|
-
method: 'POST',
|
|
20519
|
-
path: `/mnq/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/namespaces`
|
|
20520
|
-
}, unmarshalNamespace$1);
|
|
20521
|
-
|
|
20522
|
-
/**
|
|
20523
|
-
* Update the name of a namespace. Update the name of a Messaging and Queuing
|
|
20524
|
-
* namespace, specified by its namespace ID.
|
|
20525
|
-
*
|
|
20526
|
-
* @param request - The request {@link UpdateNamespaceRequest}
|
|
20527
|
-
* @returns A Promise of Namespace
|
|
20528
|
-
*/
|
|
20529
|
-
updateNamespace = request => this.client.fetch({
|
|
20530
|
-
body: JSON.stringify(marshalUpdateNamespaceRequest$1(request, this.client.settings)),
|
|
20531
|
-
headers: jsonContentHeaders$b,
|
|
20532
|
-
method: 'PATCH',
|
|
20533
|
-
path: `/mnq/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/namespaces`
|
|
20534
|
-
}, unmarshalNamespace$1);
|
|
20535
|
-
|
|
20536
|
-
/**
|
|
20537
|
-
* Get a namespace. Retrieve information about an existing Messaging and
|
|
20538
|
-
* Queuing namespace, identified by its namespace ID. Its full details,
|
|
20539
|
-
* including name, endpoint and protocol, are returned in the response.
|
|
20540
|
-
*
|
|
20541
|
-
* @param request - The request {@link GetNamespaceRequest}
|
|
20542
|
-
* @returns A Promise of Namespace
|
|
20543
|
-
*/
|
|
20544
|
-
getNamespace = request => this.client.fetch({
|
|
20545
|
-
method: 'GET',
|
|
20546
|
-
path: `/mnq/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/namespaces/${validatePathParam('namespaceId', request.namespaceId)}`
|
|
20547
|
-
}, unmarshalNamespace$1);
|
|
20548
|
-
|
|
20549
|
-
/**
|
|
20550
|
-
* Delete a namespace. Delete a Messaging and Queuing namespace, specified by
|
|
20551
|
-
* its namespace ID. Note that deleting a namespace is irreversible, and any
|
|
20552
|
-
* URLs, credentials and queued messages belonging to this namespace will also
|
|
20553
|
-
* be deleted.
|
|
20554
|
-
*
|
|
20555
|
-
* @param request - The request {@link DeleteNamespaceRequest}
|
|
20556
|
-
*/
|
|
20557
|
-
deleteNamespace = request => this.client.fetch({
|
|
20558
|
-
method: 'DELETE',
|
|
20559
|
-
path: `/mnq/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/namespaces/${validatePathParam('namespaceId', request.namespaceId)}`
|
|
20560
|
-
});
|
|
20561
|
-
|
|
20562
|
-
/**
|
|
20563
|
-
* Create credentials. Create a set of credentials for a Messaging and Queuing
|
|
20564
|
-
* namespace, specified by its namespace ID. If creating credentials for a
|
|
20565
|
-
* NATS namespace, the `permissions` object must not be included in the
|
|
20566
|
-
* request. If creating credentials for an SQS/SNS namespace, the
|
|
20567
|
-
* `permissions` object is required, with all three of its child attributes.
|
|
20568
|
-
*
|
|
20569
|
-
* @param request - The request {@link CreateCredentialRequest}
|
|
20570
|
-
* @returns A Promise of Credential
|
|
20571
|
-
*/
|
|
20572
|
-
createCredential = request => this.client.fetch({
|
|
20573
|
-
body: JSON.stringify(marshalCreateCredentialRequest(request, this.client.settings)),
|
|
20574
|
-
headers: jsonContentHeaders$b,
|
|
20575
|
-
method: 'POST',
|
|
20576
|
-
path: `/mnq/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/credentials`
|
|
20577
|
-
}, unmarshalCredential);
|
|
20578
|
-
|
|
20579
|
-
/**
|
|
20580
|
-
* Delete credentials. Delete a set of credentials, specified by their
|
|
20581
|
-
* credential ID. Deleting credentials is irreversible and cannot be undone.
|
|
20582
|
-
* The credentials can no longer be used to access the namespace.
|
|
20583
|
-
*
|
|
20584
|
-
* @param request - The request {@link DeleteCredentialRequest}
|
|
20585
|
-
*/
|
|
20586
|
-
deleteCredential = request => this.client.fetch({
|
|
20587
|
-
method: 'DELETE',
|
|
20588
|
-
path: `/mnq/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/credentials/${validatePathParam('credentialId', request.credentialId)}`
|
|
20589
|
-
});
|
|
20590
|
-
pageOfListCredentials = (request = {}) => this.client.fetch({
|
|
20591
|
-
method: 'GET',
|
|
20592
|
-
path: `/mnq/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/credentials`,
|
|
20593
|
-
urlParams: urlParams(['namespace_id', request.namespaceId], ['order_by', request.orderBy], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize])
|
|
20594
|
-
}, unmarshalListCredentialsResponse);
|
|
20595
|
-
|
|
20596
|
-
/**
|
|
20597
|
-
* List credentials. List existing credentials in the specified region. The
|
|
20598
|
-
* response contains only the metadata for the credentials, not the
|
|
20599
|
-
* credentials themselves (for this, use **Get Credentials**).
|
|
20600
|
-
*
|
|
20601
|
-
* @param request - The request {@link ListCredentialsRequest}
|
|
20602
|
-
* @returns A Promise of ListCredentialsResponse
|
|
20603
|
-
*/
|
|
20604
|
-
listCredentials = (request = {}) => enrichForPagination('credentials', this.pageOfListCredentials, request);
|
|
20605
|
-
|
|
20606
|
-
/**
|
|
20607
|
-
* Update credentials. Update a set of credentials. You can update the
|
|
20608
|
-
* credentials' name, or (in the case of SQS/SNS credentials only) their
|
|
20609
|
-
* permissions. To update the name of NATS credentials, do not include the
|
|
20610
|
-
* `permissions` object in your request.
|
|
20611
|
-
*
|
|
20612
|
-
* @param request - The request {@link UpdateCredentialRequest}
|
|
20613
|
-
* @returns A Promise of Credential
|
|
20614
|
-
*/
|
|
20615
|
-
updateCredential = request => this.client.fetch({
|
|
20616
|
-
body: JSON.stringify(marshalUpdateCredentialRequest(request, this.client.settings)),
|
|
20617
|
-
headers: jsonContentHeaders$b,
|
|
20618
|
-
method: 'PATCH',
|
|
20619
|
-
path: `/mnq/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/credentials/${validatePathParam('credentialId', request.credentialId)}`
|
|
20620
|
-
}, unmarshalCredential);
|
|
20621
|
-
|
|
20622
|
-
/**
|
|
20623
|
-
* Get credentials. Retrieve an existing set of credentials, identified by the
|
|
20624
|
-
* `credential_id`. The credentials themselves, as well as their metadata
|
|
20625
|
-
* (protocol, namespace ID etc), are returned in the response.
|
|
20626
|
-
*
|
|
20627
|
-
* @param request - The request {@link GetCredentialRequest}
|
|
20628
|
-
* @returns A Promise of Credential
|
|
20629
|
-
*/
|
|
20630
|
-
getCredential = request => this.client.fetch({
|
|
20631
|
-
method: 'GET',
|
|
20632
|
-
path: `/mnq/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/credentials/${validatePathParam('credentialId', request.credentialId)}`
|
|
20633
|
-
}, unmarshalCredential);
|
|
20634
|
-
};
|
|
20635
|
-
|
|
20636
|
-
// This file was automatically generated. DO NOT EDIT.
|
|
20637
|
-
// If you have any remark or suggestion do not hesitate to open an issue.
|
|
20638
|
-
|
|
20639
|
-
var index_gen$c = /*#__PURE__*/Object.freeze({
|
|
20640
|
-
__proto__: null,
|
|
20641
|
-
API: API$a
|
|
20368
|
+
v1: index_gen$d,
|
|
20369
|
+
v2: index_gen$c
|
|
20642
20370
|
});
|
|
20643
20371
|
|
|
20644
20372
|
// This file was automatically generated. DO NOT EDIT.
|
|
@@ -20859,7 +20587,7 @@ const jsonContentHeaders$a = {
|
|
|
20859
20587
|
*
|
|
20860
20588
|
* This API allows you to manage Scaleway Messaging and Queueing NATS accounts.
|
|
20861
20589
|
*/
|
|
20862
|
-
class NatsAPI extends API$
|
|
20590
|
+
class NatsAPI extends API$v {
|
|
20863
20591
|
/** Lists the available regions of the API. */
|
|
20864
20592
|
static LOCALITIES = ['fr-par'];
|
|
20865
20593
|
|
|
@@ -20995,7 +20723,7 @@ class NatsAPI extends API$w {
|
|
|
20995
20723
|
*
|
|
20996
20724
|
* This API allows you to manage Scaleway Messaging and Queueing SNS brokers.
|
|
20997
20725
|
*/
|
|
20998
|
-
class SnsAPI extends API$
|
|
20726
|
+
class SnsAPI extends API$v {
|
|
20999
20727
|
/** Lists the available regions of the API. */
|
|
21000
20728
|
static LOCALITIES = ['fr-par'];
|
|
21001
20729
|
|
|
@@ -21117,7 +20845,7 @@ class SnsAPI extends API$w {
|
|
|
21117
20845
|
*
|
|
21118
20846
|
* This API allows you to manage Scaleway Messaging and Queueing SQS brokers.
|
|
21119
20847
|
*/
|
|
21120
|
-
class SqsAPI extends API$
|
|
20848
|
+
class SqsAPI extends API$v {
|
|
21121
20849
|
/** Lists the available regions of the API. */
|
|
21122
20850
|
static LOCALITIES = ['fr-par'];
|
|
21123
20851
|
|
|
@@ -21339,7 +21067,6 @@ var index_gen$b = /*#__PURE__*/Object.freeze({
|
|
|
21339
21067
|
|
|
21340
21068
|
var index$9 = /*#__PURE__*/Object.freeze({
|
|
21341
21069
|
__proto__: null,
|
|
21342
|
-
v1alpha1: index_gen$c,
|
|
21343
21070
|
v1beta1: index_gen$b
|
|
21344
21071
|
});
|
|
21345
21072
|
|
|
@@ -22066,7 +21793,7 @@ const jsonContentHeaders$9 = {
|
|
|
22066
21793
|
};
|
|
22067
21794
|
|
|
22068
21795
|
/** Managed Database for PostgreSQL and MySQL API. */
|
|
22069
|
-
let API$9 = class API extends API$
|
|
21796
|
+
let API$9 = class API extends API$v {
|
|
22070
21797
|
/** Lists the available regions of the API. */
|
|
22071
21798
|
static LOCALITIES = ['fr-par', 'nl-ams', 'pl-waw'];
|
|
22072
21799
|
pageOfListDatabaseEngines = (request = {}) => this.client.fetch({
|
|
@@ -23283,7 +23010,7 @@ const jsonContentHeaders$8 = {
|
|
|
23283
23010
|
};
|
|
23284
23011
|
|
|
23285
23012
|
/** Managed Database for Redis™ API. */
|
|
23286
|
-
let API$8 = class API extends API$
|
|
23013
|
+
let API$8 = class API extends API$v {
|
|
23287
23014
|
/** Lists the available zones of the API. */
|
|
23288
23015
|
static LOCALITIES = ['fr-par-1', 'fr-par-2', 'nl-ams-1', 'nl-ams-2', 'pl-waw-1', 'pl-waw-2'];
|
|
23289
23016
|
|
|
@@ -23777,7 +23504,7 @@ const jsonContentHeaders$7 = {
|
|
|
23777
23504
|
};
|
|
23778
23505
|
|
|
23779
23506
|
/** Container Registry API. */
|
|
23780
|
-
let API$7 = class API extends API$
|
|
23507
|
+
let API$7 = class API extends API$v {
|
|
23781
23508
|
/** Lists the available regions of the API. */
|
|
23782
23509
|
static LOCALITIES = ['fr-par', 'nl-ams', 'pl-waw'];
|
|
23783
23510
|
pageOfListNamespaces = (request = {}) => this.client.fetch({
|
|
@@ -24161,7 +23888,7 @@ const jsonContentHeaders$6 = {
|
|
|
24161
23888
|
* Secret Manager API. This API allows you to conveniently store, access and
|
|
24162
23889
|
* share sensitive data.
|
|
24163
23890
|
*/
|
|
24164
|
-
let API$6 = class API extends API$
|
|
23891
|
+
let API$6 = class API extends API$v {
|
|
24165
23892
|
/** Lists the available regions of the API. */
|
|
24166
23893
|
static LOCALITIES = ['fr-par', 'nl-ams', 'pl-waw'];
|
|
24167
23894
|
|
|
@@ -24642,7 +24369,7 @@ const jsonContentHeaders$5 = {
|
|
|
24642
24369
|
*
|
|
24643
24370
|
* No Auth Service for end-to-end testing.
|
|
24644
24371
|
*/
|
|
24645
|
-
let API$5 = class API extends API$
|
|
24372
|
+
let API$5 = class API extends API$v {
|
|
24646
24373
|
/**
|
|
24647
24374
|
* Register a user. Register a human and return a access-key and a secret-key
|
|
24648
24375
|
* that must be used in all other commands.
|
|
@@ -24966,7 +24693,7 @@ const jsonContentHeaders$4 = {
|
|
|
24966
24693
|
};
|
|
24967
24694
|
|
|
24968
24695
|
/** Transactional Email API. */
|
|
24969
|
-
let API$4 = class API extends API$
|
|
24696
|
+
let API$4 = class API extends API$v {
|
|
24970
24697
|
/** Lists the available regions of the API. */
|
|
24971
24698
|
static LOCALITIES = ['fr-par'];
|
|
24972
24699
|
|
|
@@ -25207,7 +24934,7 @@ const jsonContentHeaders$3 = {
|
|
|
25207
24934
|
};
|
|
25208
24935
|
|
|
25209
24936
|
/** VPC API. */
|
|
25210
|
-
let API$3 = class API extends API$
|
|
24937
|
+
let API$3 = class API extends API$v {
|
|
25211
24938
|
/** Lists the available zones of the API. */
|
|
25212
24939
|
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'];
|
|
25213
24940
|
pageOfListPrivateNetworks = (request = {}) => this.client.fetch({
|
|
@@ -25427,7 +25154,7 @@ const jsonContentHeaders$2 = {
|
|
|
25427
25154
|
};
|
|
25428
25155
|
|
|
25429
25156
|
/** VPC API. */
|
|
25430
|
-
let API$2 = class API extends API$
|
|
25157
|
+
let API$2 = class API extends API$v {
|
|
25431
25158
|
/** Lists the available regions of the API. */
|
|
25432
25159
|
static LOCALITIES = ['fr-par', 'nl-ams', 'pl-waw'];
|
|
25433
25160
|
pageOfListVPCs = (request = {}) => this.client.fetch({
|
|
@@ -26024,7 +25751,7 @@ const jsonContentHeaders$1 = {
|
|
|
26024
25751
|
};
|
|
26025
25752
|
|
|
26026
25753
|
/** Public Gateways API. */
|
|
26027
|
-
let API$1 = class API extends API$
|
|
25754
|
+
let API$1 = class API extends API$v {
|
|
26028
25755
|
/** Lists the available zones of the API. */
|
|
26029
25756
|
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'];
|
|
26030
25757
|
pageOfListGateways = (request = {}) => this.client.fetch({
|
|
@@ -26756,7 +26483,7 @@ const jsonContentHeaders = {
|
|
|
26756
26483
|
};
|
|
26757
26484
|
|
|
26758
26485
|
/** Web Hosting API. */
|
|
26759
|
-
class API extends API$
|
|
26486
|
+
class API extends API$v {
|
|
26760
26487
|
/** Lists the available regions of the API. */
|
|
26761
26488
|
static LOCALITIES = ['fr-par', 'nl-ams'];
|
|
26762
26489
|
|
|
@@ -26940,7 +26667,7 @@ var index = /*#__PURE__*/Object.freeze({
|
|
|
26940
26667
|
v1alpha1: index_gen
|
|
26941
26668
|
});
|
|
26942
26669
|
|
|
26943
|
-
exports.API = API$
|
|
26670
|
+
exports.API = API$v;
|
|
26944
26671
|
exports.Account = index$x;
|
|
26945
26672
|
exports.AppleSilicon = index$w;
|
|
26946
26673
|
exports.BareMetal = index$u;
|
|
@@ -26977,6 +26704,7 @@ exports.addAsyncHeaderInterceptor = addAsyncHeaderInterceptor;
|
|
|
26977
26704
|
exports.authenticateWithSessionToken = authenticateWithSessionToken;
|
|
26978
26705
|
exports.createAdvancedClient = createAdvancedClient;
|
|
26979
26706
|
exports.createClient = createClient;
|
|
26707
|
+
exports.createExponentialBackoffStrategy = createExponentialBackoffStrategy;
|
|
26980
26708
|
exports.enableConsoleLogger = enableConsoleLogger;
|
|
26981
26709
|
exports.enrichForPagination = enrichForPagination;
|
|
26982
26710
|
exports.isJSONObject = isJSONObject;
|
|
@@ -26985,6 +26713,7 @@ exports.marshalScwFile = marshalScwFile;
|
|
|
26985
26713
|
exports.marshalTimeSeries = marshalTimeSeries;
|
|
26986
26714
|
exports.resolveOneOf = resolveOneOf;
|
|
26987
26715
|
exports.setLogger = setLogger;
|
|
26716
|
+
exports.tryAtIntervals = tryAtIntervals;
|
|
26988
26717
|
exports.unmarshalArrayOfObject = unmarshalArrayOfObject;
|
|
26989
26718
|
exports.unmarshalDate = unmarshalDate;
|
|
26990
26719
|
exports.unmarshalMapOfObject = unmarshalMapOfObject;
|