@scaleway/sdk 2.17.0 → 2.18.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/index.cjs CHANGED
@@ -497,7 +497,7 @@ const assertValidSettings = obj => {
497
497
  }
498
498
  };
499
499
 
500
- const version = 'v2.16.0';
500
+ const version = 'v2.18.0';
501
501
  const userAgent = `scaleway-sdk-js/${version}`;
502
502
 
503
503
  const isBrowser = () =>
@@ -1706,7 +1706,7 @@ const waitForResource = (stop, fetcher, request, options, strategy = createExpon
1706
1706
  *
1707
1707
  * @internal
1708
1708
  */
1709
- let API$x = class API {
1709
+ let API$y = class API {
1710
1710
  constructor(client) {
1711
1711
  this.client = client;
1712
1712
  }
@@ -2068,7 +2068,7 @@ const marshalUpdateProjectRequest = (request, defaults) => ({
2068
2068
 
2069
2069
  // This file was automatically generated. DO NOT EDIT.
2070
2070
  // If you have any remark or suggestion do not hesitate to open an issue.
2071
- const jsonContentHeaders$u = {
2071
+ const jsonContentHeaders$v = {
2072
2072
  'Content-Type': 'application/json; charset=utf-8'
2073
2073
  };
2074
2074
 
@@ -2077,7 +2077,7 @@ const jsonContentHeaders$u = {
2077
2077
  *
2078
2078
  * User related data. This API allows you to manage projects.
2079
2079
  */
2080
- let API$w = class API extends API$x {
2080
+ let API$x = class API extends API$y {
2081
2081
  /**
2082
2082
  * Create a new Project for an Organization. Deprecated in favor of Account
2083
2083
  * API v3. Generate a new Project for an Organization, specifying its
@@ -2089,7 +2089,7 @@ let API$w = class API extends API$x {
2089
2089
  */
2090
2090
  createProject = (request = {}) => this.client.fetch({
2091
2091
  body: JSON.stringify(marshalCreateProjectRequest(request, this.client.settings)),
2092
- headers: jsonContentHeaders$u,
2092
+ headers: jsonContentHeaders$v,
2093
2093
  method: 'POST',
2094
2094
  path: `/account/v2/projects`
2095
2095
  }, unmarshalProject$1);
@@ -2153,7 +2153,7 @@ let API$w = class API extends API$x {
2153
2153
  */
2154
2154
  updateProject = (request = {}) => this.client.fetch({
2155
2155
  body: JSON.stringify(marshalUpdateProjectRequest(request, this.client.settings)),
2156
- headers: jsonContentHeaders$u,
2156
+ headers: jsonContentHeaders$v,
2157
2157
  method: 'PATCH',
2158
2158
  path: `/account/v2/projects/${validatePathParam('projectId', request.projectId ?? this.client.settings.defaultProjectId)}`
2159
2159
  }, unmarshalProject$1);
@@ -2162,9 +2162,9 @@ let API$w = class API extends API$x {
2162
2162
  // This file was automatically generated. DO NOT EDIT.
2163
2163
  // If you have any remark or suggestion do not hesitate to open an issue.
2164
2164
 
2165
- var index_gen$v = /*#__PURE__*/Object.freeze({
2165
+ var index_gen$w = /*#__PURE__*/Object.freeze({
2166
2166
  __proto__: null,
2167
- API: API$w
2167
+ API: API$x
2168
2168
  });
2169
2169
 
2170
2170
  // This file was automatically generated. DO NOT EDIT.
@@ -2203,7 +2203,7 @@ const marshalProjectApiUpdateProjectRequest = (request, defaults) => ({
2203
2203
 
2204
2204
  // This file was automatically generated. DO NOT EDIT.
2205
2205
  // If you have any remark or suggestion do not hesitate to open an issue.
2206
- const jsonContentHeaders$t = {
2206
+ const jsonContentHeaders$u = {
2207
2207
  'Content-Type': 'application/json; charset=utf-8'
2208
2208
  };
2209
2209
 
@@ -2212,7 +2212,7 @@ const jsonContentHeaders$t = {
2212
2212
  *
2213
2213
  * This API allows you to manage projects.
2214
2214
  */
2215
- class ProjectAPI extends API$x {
2215
+ class ProjectAPI extends API$y {
2216
2216
  /**
2217
2217
  * Create a new Project for an Organization. Generate a new Project for an
2218
2218
  * Organization, specifying its configuration including name and description.
@@ -2222,7 +2222,7 @@ class ProjectAPI extends API$x {
2222
2222
  */
2223
2223
  createProject = request => this.client.fetch({
2224
2224
  body: JSON.stringify(marshalProjectApiCreateProjectRequest(request, this.client.settings)),
2225
- headers: jsonContentHeaders$t,
2225
+ headers: jsonContentHeaders$u,
2226
2226
  method: 'POST',
2227
2227
  path: `/account/v3/projects`
2228
2228
  }, unmarshalProject);
@@ -2278,7 +2278,7 @@ class ProjectAPI extends API$x {
2278
2278
  */
2279
2279
  updateProject = (request = {}) => this.client.fetch({
2280
2280
  body: JSON.stringify(marshalProjectApiUpdateProjectRequest(request, this.client.settings)),
2281
- headers: jsonContentHeaders$t,
2281
+ headers: jsonContentHeaders$u,
2282
2282
  method: 'PATCH',
2283
2283
  path: `/account/v3/projects/${validatePathParam('projectId', request.projectId ?? this.client.settings.defaultProjectId)}`
2284
2284
  }, unmarshalProject);
@@ -2332,7 +2332,7 @@ var validationRules_gen$e = /*#__PURE__*/Object.freeze({
2332
2332
  // This file was automatically generated. DO NOT EDIT.
2333
2333
  // If you have any remark or suggestion do not hesitate to open an issue.
2334
2334
 
2335
- var index_gen$u = /*#__PURE__*/Object.freeze({
2335
+ var index_gen$v = /*#__PURE__*/Object.freeze({
2336
2336
  __proto__: null,
2337
2337
  ProjectAPI: ProjectAPI,
2338
2338
  ValidationRules: validationRules_gen$e
@@ -2340,8 +2340,8 @@ var index_gen$u = /*#__PURE__*/Object.freeze({
2340
2340
 
2341
2341
  var index$y = /*#__PURE__*/Object.freeze({
2342
2342
  __proto__: null,
2343
- v2: index_gen$v,
2344
- v3: index_gen$u
2343
+ v2: index_gen$w,
2344
+ v3: index_gen$v
2345
2345
  });
2346
2346
 
2347
2347
  // This file was automatically generated. DO NOT EDIT.
@@ -2460,12 +2460,12 @@ const marshalUpdateServerRequest$2 = (request, defaults) => ({
2460
2460
 
2461
2461
  // This file was automatically generated. DO NOT EDIT.
2462
2462
  // If you have any remark or suggestion do not hesitate to open an issue.
2463
- const jsonContentHeaders$s = {
2463
+ const jsonContentHeaders$t = {
2464
2464
  'Content-Type': 'application/json; charset=utf-8'
2465
2465
  };
2466
2466
 
2467
2467
  /** Apple silicon API. */
2468
- let API$v = class API extends API$x {
2468
+ let API$w = class API extends API$y {
2469
2469
  /** Lists the available zones of the API. */
2470
2470
  static LOCALITIES = ['fr-par-3'];
2471
2471
 
@@ -2503,7 +2503,7 @@ let API$v = class API extends API$x {
2503
2503
  */
2504
2504
  createServer = request => this.client.fetch({
2505
2505
  body: JSON.stringify(marshalCreateServerRequest$2(request, this.client.settings)),
2506
- headers: jsonContentHeaders$s,
2506
+ headers: jsonContentHeaders$t,
2507
2507
  method: 'POST',
2508
2508
  path: `/apple-silicon/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers`
2509
2509
  }, unmarshalServer$2);
@@ -2581,7 +2581,7 @@ let API$v = class API extends API$x {
2581
2581
  */
2582
2582
  updateServer = request => this.client.fetch({
2583
2583
  body: JSON.stringify(marshalUpdateServerRequest$2(request, this.client.settings)),
2584
- headers: jsonContentHeaders$s,
2584
+ headers: jsonContentHeaders$t,
2585
2585
  method: 'PATCH',
2586
2586
  path: `/apple-silicon/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}`
2587
2587
  }, unmarshalServer$2);
@@ -2608,7 +2608,7 @@ let API$v = class API extends API$x {
2608
2608
  */
2609
2609
  rebootServer = request => this.client.fetch({
2610
2610
  body: '{}',
2611
- headers: jsonContentHeaders$s,
2611
+ headers: jsonContentHeaders$t,
2612
2612
  method: 'POST',
2613
2613
  path: `/apple-silicon/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/reboot`
2614
2614
  }, unmarshalServer$2);
@@ -2624,7 +2624,7 @@ let API$v = class API extends API$x {
2624
2624
  */
2625
2625
  reinstallServer = request => this.client.fetch({
2626
2626
  body: '{}',
2627
- headers: jsonContentHeaders$s,
2627
+ headers: jsonContentHeaders$t,
2628
2628
  method: 'POST',
2629
2629
  path: `/apple-silicon/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/reinstall`
2630
2630
  }, unmarshalServer$2);
@@ -2633,15 +2633,15 @@ let API$v = class API extends API$x {
2633
2633
  // This file was automatically generated. DO NOT EDIT.
2634
2634
  // If you have any remark or suggestion do not hesitate to open an issue.
2635
2635
 
2636
- var index_gen$t = /*#__PURE__*/Object.freeze({
2636
+ var index_gen$u = /*#__PURE__*/Object.freeze({
2637
2637
  __proto__: null,
2638
- API: API$v,
2638
+ API: API$w,
2639
2639
  SERVER_TRANSIENT_STATUSES: SERVER_TRANSIENT_STATUSES$2
2640
2640
  });
2641
2641
 
2642
2642
  var index$x = /*#__PURE__*/Object.freeze({
2643
2643
  __proto__: null,
2644
- v1alpha1: index_gen$t
2644
+ v1alpha1: index_gen$u
2645
2645
  });
2646
2646
 
2647
2647
  // This file was automatically generated. DO NOT EDIT.
@@ -3059,7 +3059,7 @@ const marshalUpdateSettingRequest = (request, defaults) => ({
3059
3059
 
3060
3060
  // This file was automatically generated. DO NOT EDIT.
3061
3061
  // If you have any remark or suggestion do not hesitate to open an issue.
3062
- const jsonContentHeaders$r = {
3062
+ const jsonContentHeaders$s = {
3063
3063
  'Content-Type': 'application/json; charset=utf-8'
3064
3064
  };
3065
3065
 
@@ -3068,7 +3068,7 @@ const jsonContentHeaders$r = {
3068
3068
  *
3069
3069
  * This API allows to manage your Elastic Metal server.
3070
3070
  */
3071
- let API$u = class API extends API$x {
3071
+ let API$v = class API extends API$y {
3072
3072
  /** Lists the available zones of the API. */
3073
3073
  static LOCALITIES = ['fr-par-1', 'fr-par-2', 'nl-ams-1', 'nl-ams-2'];
3074
3074
  pageOfListServers = (request = {}) => this.client.fetch({
@@ -3116,7 +3116,7 @@ let API$u = class API extends API$x {
3116
3116
  */
3117
3117
  createServer = request => this.client.fetch({
3118
3118
  body: JSON.stringify(marshalCreateServerRequest$1(request, this.client.settings)),
3119
- headers: jsonContentHeaders$r,
3119
+ headers: jsonContentHeaders$s,
3120
3120
  method: 'POST',
3121
3121
  path: `/baremetal/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers`
3122
3122
  }, unmarshalServer$1);
@@ -3131,7 +3131,7 @@ let API$u = class API extends API$x {
3131
3131
  */
3132
3132
  updateServer = request => this.client.fetch({
3133
3133
  body: JSON.stringify(marshalUpdateServerRequest$1(request, this.client.settings)),
3134
- headers: jsonContentHeaders$r,
3134
+ headers: jsonContentHeaders$s,
3135
3135
  method: 'PATCH',
3136
3136
  path: `/baremetal/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}`
3137
3137
  }, unmarshalServer$1);
@@ -3145,7 +3145,7 @@ let API$u = class API extends API$x {
3145
3145
  */
3146
3146
  installServer = request => this.client.fetch({
3147
3147
  body: JSON.stringify(marshalInstallServerRequest(request, this.client.settings)),
3148
- headers: jsonContentHeaders$r,
3148
+ headers: jsonContentHeaders$s,
3149
3149
  method: 'POST',
3150
3150
  path: `/baremetal/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/install`
3151
3151
  }, unmarshalServer$1);
@@ -3183,7 +3183,7 @@ let API$u = class API extends API$x {
3183
3183
  */
3184
3184
  rebootServer = request => this.client.fetch({
3185
3185
  body: JSON.stringify(marshalRebootServerRequest(request, this.client.settings)),
3186
- headers: jsonContentHeaders$r,
3186
+ headers: jsonContentHeaders$s,
3187
3187
  method: 'POST',
3188
3188
  path: `/baremetal/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/reboot`
3189
3189
  }, unmarshalServer$1);
@@ -3196,7 +3196,7 @@ let API$u = class API extends API$x {
3196
3196
  */
3197
3197
  startServer = request => this.client.fetch({
3198
3198
  body: JSON.stringify(marshalStartServerRequest(request, this.client.settings)),
3199
- headers: jsonContentHeaders$r,
3199
+ headers: jsonContentHeaders$s,
3200
3200
  method: 'POST',
3201
3201
  path: `/baremetal/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/start`
3202
3202
  }, unmarshalServer$1);
@@ -3211,7 +3211,7 @@ let API$u = class API extends API$x {
3211
3211
  */
3212
3212
  stopServer = request => this.client.fetch({
3213
3213
  body: '{}',
3214
- headers: jsonContentHeaders$r,
3214
+ headers: jsonContentHeaders$s,
3215
3215
  method: 'POST',
3216
3216
  path: `/baremetal/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/stop`
3217
3217
  }, unmarshalServer$1);
@@ -3249,7 +3249,7 @@ let API$u = class API extends API$x {
3249
3249
  */
3250
3250
  startBMCAccess = request => this.client.fetch({
3251
3251
  body: JSON.stringify(marshalStartBMCAccessRequest(request, this.client.settings)),
3252
- headers: jsonContentHeaders$r,
3252
+ headers: jsonContentHeaders$s,
3253
3253
  method: 'POST',
3254
3254
  path: `/baremetal/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/bmc-access`
3255
3255
  }, unmarshalBMCAccess);
@@ -3287,7 +3287,7 @@ let API$u = class API extends API$x {
3287
3287
  */
3288
3288
  updateIP = request => this.client.fetch({
3289
3289
  body: JSON.stringify(marshalUpdateIPRequest$2(request, this.client.settings)),
3290
- headers: jsonContentHeaders$r,
3290
+ headers: jsonContentHeaders$s,
3291
3291
  method: 'PATCH',
3292
3292
  path: `/baremetal/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/ips/${validatePathParam('ipId', request.ipId)}`
3293
3293
  }, unmarshalIP$2);
@@ -3301,7 +3301,7 @@ let API$u = class API extends API$x {
3301
3301
  */
3302
3302
  addOptionServer = request => this.client.fetch({
3303
3303
  body: JSON.stringify(marshalAddOptionServerRequest(request, this.client.settings)),
3304
- headers: jsonContentHeaders$r,
3304
+ headers: jsonContentHeaders$s,
3305
3305
  method: 'POST',
3306
3306
  path: `/baremetal/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/options/${validatePathParam('optionId', request.optionId)}`
3307
3307
  }, unmarshalServer$1);
@@ -3386,7 +3386,7 @@ let API$u = class API extends API$x {
3386
3386
  */
3387
3387
  updateSetting = request => this.client.fetch({
3388
3388
  body: JSON.stringify(marshalUpdateSettingRequest(request, this.client.settings)),
3389
- headers: jsonContentHeaders$r,
3389
+ headers: jsonContentHeaders$s,
3390
3390
  method: 'PATCH',
3391
3391
  path: `/baremetal/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/settings/${validatePathParam('settingId', request.settingId)}`
3392
3392
  }, unmarshalSetting);
@@ -3418,7 +3418,7 @@ let API$u = class API extends API$x {
3418
3418
  };
3419
3419
 
3420
3420
  /** Elastic Metal Private Network API. */
3421
- class PrivateNetworkAPI extends API$x {
3421
+ class PrivateNetworkAPI extends API$y {
3422
3422
  /** Lists the available zones of the API. */
3423
3423
  static LOCALITIES = ['fr-par-2'];
3424
3424
 
@@ -3431,7 +3431,7 @@ class PrivateNetworkAPI extends API$x {
3431
3431
  */
3432
3432
  addServerPrivateNetwork = request => this.client.fetch({
3433
3433
  body: JSON.stringify(marshalPrivateNetworkApiAddServerPrivateNetworkRequest(request, this.client.settings)),
3434
- headers: jsonContentHeaders$r,
3434
+ headers: jsonContentHeaders$s,
3435
3435
  method: 'POST',
3436
3436
  path: `/baremetal/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/private-networks`
3437
3437
  }, unmarshalServerPrivateNetwork);
@@ -3445,7 +3445,7 @@ class PrivateNetworkAPI extends API$x {
3445
3445
  */
3446
3446
  setServerPrivateNetworks = request => this.client.fetch({
3447
3447
  body: JSON.stringify(marshalPrivateNetworkApiSetServerPrivateNetworksRequest(request, this.client.settings)),
3448
- headers: jsonContentHeaders$r,
3448
+ headers: jsonContentHeaders$s,
3449
3449
  method: 'PUT',
3450
3450
  path: `/baremetal/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/private-networks`
3451
3451
  }, unmarshalSetServerPrivateNetworksResponse);
@@ -3476,7 +3476,7 @@ class PrivateNetworkAPI extends API$x {
3476
3476
  });
3477
3477
  }
3478
3478
 
3479
- class BaremetalV1UtilsAPI extends API$u {
3479
+ class BaremetalV1UtilsAPI extends API$v {
3480
3480
  /**
3481
3481
  * Waits for {@link ServerInstall} to be in a final state.
3482
3482
  *
@@ -3735,7 +3735,7 @@ const unmarshalListInvoicesResponse$1 = data => {
3735
3735
  *
3736
3736
  * This API allows you to query your consumption.
3737
3737
  */
3738
- let API$t = class API extends API$x {
3738
+ let API$u = class API extends API$y {
3739
3739
  /**
3740
3740
  * Get current month's consumption. The consumption reflects the amount of
3741
3741
  * money you have spent for the products you have used. The consumption value
@@ -3796,9 +3796,9 @@ let API$t = class API extends API$x {
3796
3796
  // This file was automatically generated. DO NOT EDIT.
3797
3797
  // If you have any remark or suggestion do not hesitate to open an issue.
3798
3798
 
3799
- var index_gen$s = /*#__PURE__*/Object.freeze({
3799
+ var index_gen$t = /*#__PURE__*/Object.freeze({
3800
3800
  __proto__: null,
3801
- API: API$t
3801
+ API: API$u
3802
3802
  });
3803
3803
 
3804
3804
  // This file was automatically generated. DO NOT EDIT.
@@ -3936,7 +3936,7 @@ const unmarshalListTaxesResponse = data => {
3936
3936
  *
3937
3937
  * This API allows you to query your consumption.
3938
3938
  */
3939
- let API$s = class API extends API$x {
3939
+ let API$t = class API extends API$y {
3940
3940
  pageOfListConsumptions = (request = {}) => this.client.fetch({
3941
3941
  method: 'GET',
3942
3942
  path: `/billing/v2beta1/consumptions`,
@@ -4044,15 +4044,15 @@ let API$s = class API extends API$x {
4044
4044
  // This file was automatically generated. DO NOT EDIT.
4045
4045
  // If you have any remark or suggestion do not hesitate to open an issue.
4046
4046
 
4047
- var index_gen$r = /*#__PURE__*/Object.freeze({
4047
+ var index_gen$s = /*#__PURE__*/Object.freeze({
4048
4048
  __proto__: null,
4049
- API: API$s
4049
+ API: API$t
4050
4050
  });
4051
4051
 
4052
4052
  var index$u = /*#__PURE__*/Object.freeze({
4053
4053
  __proto__: null,
4054
- v2alpha1: index_gen$s,
4055
- v2beta1: index_gen$r
4054
+ v2alpha1: index_gen$t,
4055
+ v2beta1: index_gen$s
4056
4056
  });
4057
4057
 
4058
4058
  // This file was automatically generated. DO NOT EDIT.
@@ -4222,7 +4222,7 @@ const marshalUpdateVolumeRequest$2 = (request, defaults) => ({
4222
4222
 
4223
4223
  // This file was automatically generated. DO NOT EDIT.
4224
4224
  // If you have any remark or suggestion do not hesitate to open an issue.
4225
- const jsonContentHeaders$q = {
4225
+ const jsonContentHeaders$r = {
4226
4226
  'Content-Type': 'application/json; charset=utf-8'
4227
4227
  };
4228
4228
 
@@ -4231,7 +4231,7 @@ const jsonContentHeaders$q = {
4231
4231
  *
4232
4232
  * This API allows you to use and manage your Block Storage volumes.
4233
4233
  */
4234
- let API$r = class API extends API$x {
4234
+ let API$s = class API extends API$y {
4235
4235
  /** Lists the available zones of the API. */
4236
4236
  static LOCALITIES = ['fr-par-1', 'fr-par-2', 'nl-ams-1', 'nl-ams-3', 'pl-waw-3'];
4237
4237
  pageOfListVolumeTypes = (request = {}) => this.client.fetch({
@@ -4277,7 +4277,7 @@ let API$r = class API extends API$x {
4277
4277
  */
4278
4278
  createVolume = request => this.client.fetch({
4279
4279
  body: JSON.stringify(marshalCreateVolumeRequest$2(request, this.client.settings)),
4280
- headers: jsonContentHeaders$q,
4280
+ headers: jsonContentHeaders$r,
4281
4281
  method: 'POST',
4282
4282
  path: `/block/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/volumes`
4283
4283
  }, unmarshalVolume$4);
@@ -4325,7 +4325,7 @@ let API$r = class API extends API$x {
4325
4325
  */
4326
4326
  updateVolume = request => this.client.fetch({
4327
4327
  body: JSON.stringify(marshalUpdateVolumeRequest$2(request, this.client.settings)),
4328
- headers: jsonContentHeaders$q,
4328
+ headers: jsonContentHeaders$r,
4329
4329
  method: 'PATCH',
4330
4330
  path: `/block/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/volumes/${validatePathParam('volumeId', request.volumeId)}`
4331
4331
  }, unmarshalVolume$4);
@@ -4377,7 +4377,7 @@ let API$r = class API extends API$x {
4377
4377
  */
4378
4378
  createSnapshot = request => this.client.fetch({
4379
4379
  body: JSON.stringify(marshalCreateSnapshotRequest$3(request, this.client.settings)),
4380
- headers: jsonContentHeaders$q,
4380
+ headers: jsonContentHeaders$r,
4381
4381
  method: 'POST',
4382
4382
  path: `/block/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/snapshots`
4383
4383
  }, unmarshalSnapshot$3);
@@ -4401,7 +4401,7 @@ let API$r = class API extends API$x {
4401
4401
  */
4402
4402
  updateSnapshot = request => this.client.fetch({
4403
4403
  body: JSON.stringify(marshalUpdateSnapshotRequest$3(request, this.client.settings)),
4404
- headers: jsonContentHeaders$q,
4404
+ headers: jsonContentHeaders$r,
4405
4405
  method: 'PATCH',
4406
4406
  path: `/block/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/snapshots/${validatePathParam('snapshotId', request.snapshotId)}`
4407
4407
  }, unmarshalSnapshot$3);
@@ -4466,9 +4466,9 @@ var validationRules_gen$c = /*#__PURE__*/Object.freeze({
4466
4466
  // This file was automatically generated. DO NOT EDIT.
4467
4467
  // If you have any remark or suggestion do not hesitate to open an issue.
4468
4468
 
4469
- var index_gen$q = /*#__PURE__*/Object.freeze({
4469
+ var index_gen$r = /*#__PURE__*/Object.freeze({
4470
4470
  __proto__: null,
4471
- API: API$r,
4471
+ API: API$s,
4472
4472
  REFERENCE_TRANSIENT_STATUSES: REFERENCE_TRANSIENT_STATUSES,
4473
4473
  SNAPSHOT_TRANSIENT_STATUSES: SNAPSHOT_TRANSIENT_STATUSES$3,
4474
4474
  VOLUME_TRANSIENT_STATUSES: VOLUME_TRANSIENT_STATUSES$1,
@@ -4477,7 +4477,7 @@ var index_gen$q = /*#__PURE__*/Object.freeze({
4477
4477
 
4478
4478
  var index$t = /*#__PURE__*/Object.freeze({
4479
4479
  __proto__: null,
4480
- v1alpha1: index_gen$q
4480
+ v1alpha1: index_gen$r
4481
4481
  });
4482
4482
 
4483
4483
  // This file was automatically generated. DO NOT EDIT.
@@ -4754,7 +4754,7 @@ const marshalTriggerTestAlertRequest = (request, defaults) => ({
4754
4754
 
4755
4755
  // This file was automatically generated. DO NOT EDIT.
4756
4756
  // If you have any remark or suggestion do not hesitate to open an issue.
4757
- const jsonContentHeaders$p = {
4757
+ const jsonContentHeaders$q = {
4758
4758
  'Content-Type': 'application/json; charset=utf-8'
4759
4759
  };
4760
4760
 
@@ -4765,7 +4765,7 @@ const jsonContentHeaders$p = {
4765
4765
  * logs. It also provides you with a dedicated Grafana for dashboarding to
4766
4766
  * visualize your metrics and logs.
4767
4767
  */
4768
- let API$q = class API extends API$x {
4768
+ let API$r = class API extends API$y {
4769
4769
  /**
4770
4770
  * Activate the Cockpit of a given Project specified by the Project ID.
4771
4771
  *
@@ -4774,7 +4774,7 @@ let API$q = class API extends API$x {
4774
4774
  */
4775
4775
  activateCockpit = (request = {}) => this.client.fetch({
4776
4776
  body: JSON.stringify(marshalActivateCockpitRequest(request, this.client.settings)),
4777
- headers: jsonContentHeaders$p,
4777
+ headers: jsonContentHeaders$q,
4778
4778
  method: 'POST',
4779
4779
  path: `/cockpit/v1beta1/activate`
4780
4780
  }, unmarshalCockpit);
@@ -4821,7 +4821,7 @@ let API$q = class API extends API$x {
4821
4821
  */
4822
4822
  deactivateCockpit = (request = {}) => this.client.fetch({
4823
4823
  body: JSON.stringify(marshalDeactivateCockpitRequest(request, this.client.settings)),
4824
- headers: jsonContentHeaders$p,
4824
+ headers: jsonContentHeaders$q,
4825
4825
  method: 'POST',
4826
4826
  path: `/cockpit/v1beta1/deactivate`
4827
4827
  }, unmarshalCockpit);
@@ -4835,7 +4835,7 @@ let API$q = class API extends API$x {
4835
4835
  */
4836
4836
  createDatasource = request => this.client.fetch({
4837
4837
  body: JSON.stringify(marshalCreateDatasourceRequest(request, this.client.settings)),
4838
- headers: jsonContentHeaders$p,
4838
+ headers: jsonContentHeaders$q,
4839
4839
  method: 'POST',
4840
4840
  path: `/cockpit/v1beta1/datasources`
4841
4841
  }, unmarshalDatasource);
@@ -4871,7 +4871,7 @@ let API$q = class API extends API$x {
4871
4871
  */
4872
4872
  createToken = (request = {}) => this.client.fetch({
4873
4873
  body: JSON.stringify(marshalCreateTokenRequest$2(request, this.client.settings)),
4874
- headers: jsonContentHeaders$p,
4874
+ headers: jsonContentHeaders$q,
4875
4875
  method: 'POST',
4876
4876
  path: `/cockpit/v1beta1/tokens`
4877
4877
  }, unmarshalToken$2);
@@ -4919,7 +4919,7 @@ let API$q = class API extends API$x {
4919
4919
  */
4920
4920
  createContactPoint = (request = {}) => this.client.fetch({
4921
4921
  body: JSON.stringify(marshalCreateContactPointRequest(request, this.client.settings)),
4922
- headers: jsonContentHeaders$p,
4922
+ headers: jsonContentHeaders$q,
4923
4923
  method: 'POST',
4924
4924
  path: `/cockpit/v1beta1/contact-points`
4925
4925
  }, unmarshalContactPoint);
@@ -4945,7 +4945,7 @@ let API$q = class API extends API$x {
4945
4945
  */
4946
4946
  deleteContactPoint = (request = {}) => this.client.fetch({
4947
4947
  body: JSON.stringify(marshalDeleteContactPointRequest(request, this.client.settings)),
4948
- headers: jsonContentHeaders$p,
4948
+ headers: jsonContentHeaders$q,
4949
4949
  method: 'POST',
4950
4950
  path: `/cockpit/v1beta1/delete-contact-point`
4951
4951
  });
@@ -4958,7 +4958,7 @@ let API$q = class API extends API$x {
4958
4958
  */
4959
4959
  enableManagedAlerts = (request = {}) => this.client.fetch({
4960
4960
  body: JSON.stringify(marshalEnableManagedAlertsRequest(request, this.client.settings)),
4961
- headers: jsonContentHeaders$p,
4961
+ headers: jsonContentHeaders$q,
4962
4962
  method: 'POST',
4963
4963
  path: `/cockpit/v1beta1/enable-managed-alerts`
4964
4964
  });
@@ -4971,7 +4971,7 @@ let API$q = class API extends API$x {
4971
4971
  */
4972
4972
  disableManagedAlerts = (request = {}) => this.client.fetch({
4973
4973
  body: JSON.stringify(marshalDisableManagedAlertsRequest(request, this.client.settings)),
4974
- headers: jsonContentHeaders$p,
4974
+ headers: jsonContentHeaders$q,
4975
4975
  method: 'POST',
4976
4976
  path: `/cockpit/v1beta1/disable-managed-alerts`
4977
4977
  });
@@ -4984,7 +4984,7 @@ let API$q = class API extends API$x {
4984
4984
  */
4985
4985
  triggerTestAlert = (request = {}) => this.client.fetch({
4986
4986
  body: JSON.stringify(marshalTriggerTestAlertRequest(request, this.client.settings)),
4987
- headers: jsonContentHeaders$p,
4987
+ headers: jsonContentHeaders$q,
4988
4988
  method: 'POST',
4989
4989
  path: `/cockpit/v1beta1/trigger-test-alert`
4990
4990
  });
@@ -4998,7 +4998,7 @@ let API$q = class API extends API$x {
4998
4998
  */
4999
4999
  createGrafanaUser = request => this.client.fetch({
5000
5000
  body: JSON.stringify(marshalCreateGrafanaUserRequest(request, this.client.settings)),
5001
- headers: jsonContentHeaders$p,
5001
+ headers: jsonContentHeaders$q,
5002
5002
  method: 'POST',
5003
5003
  path: `/cockpit/v1beta1/grafana-users`
5004
5004
  }, unmarshalGrafanaUser);
@@ -5024,7 +5024,7 @@ let API$q = class API extends API$x {
5024
5024
  */
5025
5025
  deleteGrafanaUser = request => this.client.fetch({
5026
5026
  body: JSON.stringify(marshalDeleteGrafanaUserRequest(request, this.client.settings)),
5027
- headers: jsonContentHeaders$p,
5027
+ headers: jsonContentHeaders$q,
5028
5028
  method: 'POST',
5029
5029
  path: `/cockpit/v1beta1/grafana-users/${validatePathParam('grafanaUserId', request.grafanaUserId)}/delete`
5030
5030
  });
@@ -5038,7 +5038,7 @@ let API$q = class API extends API$x {
5038
5038
  */
5039
5039
  resetGrafanaUserPassword = request => this.client.fetch({
5040
5040
  body: JSON.stringify(marshalResetGrafanaUserPasswordRequest(request, this.client.settings)),
5041
- headers: jsonContentHeaders$p,
5041
+ headers: jsonContentHeaders$q,
5042
5042
  method: 'POST',
5043
5043
  path: `/cockpit/v1beta1/grafana-users/${validatePathParam('grafanaUserId', request.grafanaUserId)}/reset-password`
5044
5044
  }, unmarshalGrafanaUser);
@@ -5065,7 +5065,7 @@ let API$q = class API extends API$x {
5065
5065
  */
5066
5066
  selectPlan = request => this.client.fetch({
5067
5067
  body: JSON.stringify(marshalSelectPlanRequest(request, this.client.settings)),
5068
- headers: jsonContentHeaders$p,
5068
+ headers: jsonContentHeaders$q,
5069
5069
  method: 'POST',
5070
5070
  path: `/cockpit/v1beta1/select-plan`
5071
5071
  }, unmarshalSelectPlanResponse);
@@ -5100,15 +5100,15 @@ let API$q = class API extends API$x {
5100
5100
  // This file was automatically generated. DO NOT EDIT.
5101
5101
  // If you have any remark or suggestion do not hesitate to open an issue.
5102
5102
 
5103
- var index_gen$p = /*#__PURE__*/Object.freeze({
5103
+ var index_gen$q = /*#__PURE__*/Object.freeze({
5104
5104
  __proto__: null,
5105
- API: API$q,
5105
+ API: API$r,
5106
5106
  COCKPIT_TRANSIENT_STATUSES: COCKPIT_TRANSIENT_STATUSES
5107
5107
  });
5108
5108
 
5109
5109
  var index$s = /*#__PURE__*/Object.freeze({
5110
5110
  __proto__: null,
5111
- v1beta1: index_gen$p
5111
+ v1beta1: index_gen$q
5112
5112
  });
5113
5113
 
5114
5114
  // This file was automatically generated. DO NOT EDIT.
@@ -5487,12 +5487,12 @@ const marshalUpdateTriggerRequest$1 = (request, defaults) => ({
5487
5487
 
5488
5488
  // This file was automatically generated. DO NOT EDIT.
5489
5489
  // If you have any remark or suggestion do not hesitate to open an issue.
5490
- const jsonContentHeaders$o = {
5490
+ const jsonContentHeaders$p = {
5491
5491
  'Content-Type': 'application/json; charset=utf-8'
5492
5492
  };
5493
5493
 
5494
5494
  /** Serverless Containers API. */
5495
- let API$p = class API extends API$x {
5495
+ let API$q = class API extends API$y {
5496
5496
  /** Lists the available regions of the API. */
5497
5497
  static LOCALITIES = ['fr-par', 'nl-ams', 'pl-waw'];
5498
5498
  pageOfListNamespaces = (request = {}) => this.client.fetch({
@@ -5537,7 +5537,7 @@ let API$p = class API extends API$x {
5537
5537
  */
5538
5538
  createNamespace = (request = {}) => this.client.fetch({
5539
5539
  body: JSON.stringify(marshalCreateNamespaceRequest$2(request, this.client.settings)),
5540
- headers: jsonContentHeaders$o,
5540
+ headers: jsonContentHeaders$p,
5541
5541
  method: 'POST',
5542
5542
  path: `/containers/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/namespaces`
5543
5543
  }, unmarshalNamespace$2);
@@ -5551,7 +5551,7 @@ let API$p = class API extends API$x {
5551
5551
  */
5552
5552
  updateNamespace = request => this.client.fetch({
5553
5553
  body: JSON.stringify(marshalUpdateNamespaceRequest$2(request, this.client.settings)),
5554
- headers: jsonContentHeaders$o,
5554
+ headers: jsonContentHeaders$p,
5555
5555
  method: 'PATCH',
5556
5556
  path: `/containers/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/namespaces/${validatePathParam('namespaceId', request.namespaceId)}`
5557
5557
  }, unmarshalNamespace$2);
@@ -5609,7 +5609,7 @@ let API$p = class API extends API$x {
5609
5609
  */
5610
5610
  createContainer = request => this.client.fetch({
5611
5611
  body: JSON.stringify(marshalCreateContainerRequest(request, this.client.settings)),
5612
- headers: jsonContentHeaders$o,
5612
+ headers: jsonContentHeaders$p,
5613
5613
  method: 'POST',
5614
5614
  path: `/containers/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/containers`
5615
5615
  }, unmarshalContainer);
@@ -5623,7 +5623,7 @@ let API$p = class API extends API$x {
5623
5623
  */
5624
5624
  updateContainer = request => this.client.fetch({
5625
5625
  body: JSON.stringify(marshalUpdateContainerRequest(request, this.client.settings)),
5626
- headers: jsonContentHeaders$o,
5626
+ headers: jsonContentHeaders$p,
5627
5627
  method: 'PATCH',
5628
5628
  path: `/containers/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/containers/${validatePathParam('containerId', request.containerId)}`
5629
5629
  }, unmarshalContainer);
@@ -5647,7 +5647,7 @@ let API$p = class API extends API$x {
5647
5647
  */
5648
5648
  deployContainer = request => this.client.fetch({
5649
5649
  body: '{}',
5650
- headers: jsonContentHeaders$o,
5650
+ headers: jsonContentHeaders$p,
5651
5651
  method: 'POST',
5652
5652
  path: `/containers/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/containers/${validatePathParam('containerId', request.containerId)}/deploy`
5653
5653
  }, unmarshalContainer);
@@ -5693,7 +5693,7 @@ let API$p = class API extends API$x {
5693
5693
  */
5694
5694
  createCron = request => this.client.fetch({
5695
5695
  body: JSON.stringify(marshalCreateCronRequest$1(request, this.client.settings)),
5696
- headers: jsonContentHeaders$o,
5696
+ headers: jsonContentHeaders$p,
5697
5697
  method: 'POST',
5698
5698
  path: `/containers/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/crons`
5699
5699
  }, unmarshalCron$1);
@@ -5706,7 +5706,7 @@ let API$p = class API extends API$x {
5706
5706
  */
5707
5707
  updateCron = request => this.client.fetch({
5708
5708
  body: JSON.stringify(marshalUpdateCronRequest$1(request, this.client.settings)),
5709
- headers: jsonContentHeaders$o,
5709
+ headers: jsonContentHeaders$p,
5710
5710
  method: 'PATCH',
5711
5711
  path: `/containers/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/crons/${validatePathParam('cronId', request.cronId)}`
5712
5712
  }, unmarshalCron$1);
@@ -5784,7 +5784,7 @@ let API$p = class API extends API$x {
5784
5784
  */
5785
5785
  createDomain = request => this.client.fetch({
5786
5786
  body: JSON.stringify(marshalCreateDomainRequest$2(request, this.client.settings)),
5787
- headers: jsonContentHeaders$o,
5787
+ headers: jsonContentHeaders$p,
5788
5788
  method: 'POST',
5789
5789
  path: `/containers/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/domains`
5790
5790
  }, unmarshalDomain$3);
@@ -5828,7 +5828,7 @@ let API$p = class API extends API$x {
5828
5828
  */
5829
5829
  createToken = (request = {}) => this.client.fetch({
5830
5830
  body: JSON.stringify(marshalCreateTokenRequest$1(request, this.client.settings)),
5831
- headers: jsonContentHeaders$o,
5831
+ headers: jsonContentHeaders$p,
5832
5832
  method: 'POST',
5833
5833
  path: `/containers/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/tokens`
5834
5834
  }, unmarshalToken$1);
@@ -5886,7 +5886,7 @@ let API$p = class API extends API$x {
5886
5886
  */
5887
5887
  createTrigger = request => this.client.fetch({
5888
5888
  body: JSON.stringify(marshalCreateTriggerRequest$1(request, this.client.settings)),
5889
- headers: jsonContentHeaders$o,
5889
+ headers: jsonContentHeaders$p,
5890
5890
  method: 'POST',
5891
5891
  path: `/containers/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/triggers`
5892
5892
  }, unmarshalTrigger$1);
@@ -5943,7 +5943,7 @@ let API$p = class API extends API$x {
5943
5943
  */
5944
5944
  updateTrigger = request => this.client.fetch({
5945
5945
  body: JSON.stringify(marshalUpdateTriggerRequest$1(request, this.client.settings)),
5946
- headers: jsonContentHeaders$o,
5946
+ headers: jsonContentHeaders$p,
5947
5947
  method: 'PATCH',
5948
5948
  path: `/containers/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/triggers/${validatePathParam('triggerId', request.triggerId)}`
5949
5949
  }, unmarshalTrigger$1);
@@ -6014,9 +6014,9 @@ var validationRules_gen$b = /*#__PURE__*/Object.freeze({
6014
6014
  // This file was automatically generated. DO NOT EDIT.
6015
6015
  // If you have any remark or suggestion do not hesitate to open an issue.
6016
6016
 
6017
- var index_gen$o = /*#__PURE__*/Object.freeze({
6017
+ var index_gen$p = /*#__PURE__*/Object.freeze({
6018
6018
  __proto__: null,
6019
- API: API$p,
6019
+ API: API$q,
6020
6020
  CONTAINER_TRANSIENT_STATUSES: CONTAINER_TRANSIENT_STATUSES,
6021
6021
  CRON_TRANSIENT_STATUSES: CRON_TRANSIENT_STATUSES$1,
6022
6022
  DOMAIN_TRANSIENT_STATUSES: DOMAIN_TRANSIENT_STATUSES$3,
@@ -6028,7 +6028,7 @@ var index_gen$o = /*#__PURE__*/Object.freeze({
6028
6028
 
6029
6029
  var index$r = /*#__PURE__*/Object.freeze({
6030
6030
  __proto__: null,
6031
- v1beta1: index_gen$o
6031
+ v1beta1: index_gen$p
6032
6032
  });
6033
6033
 
6034
6034
  // This file was automatically generated. DO NOT EDIT.
@@ -6700,12 +6700,12 @@ const marshalUpgradeInstanceRequest$1 = (request, defaults) => ({
6700
6700
 
6701
6701
  // This file was automatically generated. DO NOT EDIT.
6702
6702
  // If you have any remark or suggestion do not hesitate to open an issue.
6703
- const jsonContentHeaders$n = {
6703
+ const jsonContentHeaders$o = {
6704
6704
  'Content-Type': 'application/json; charset=utf-8'
6705
6705
  };
6706
6706
 
6707
6707
  /** Managed Document Databases API. */
6708
- let API$o = class API extends API$x {
6708
+ let API$p = class API extends API$y {
6709
6709
  /** Lists the available regions of the API. */
6710
6710
  static LOCALITIES = ['fr-par', 'nl-ams', 'pl-waw'];
6711
6711
  pageOfListDatabaseEngines = (request = {}) => this.client.fetch({
@@ -6749,7 +6749,7 @@ let API$o = class API extends API$x {
6749
6749
  */
6750
6750
  upgradeInstance = request => this.client.fetch({
6751
6751
  body: JSON.stringify(marshalUpgradeInstanceRequest$1(request, this.client.settings)),
6752
- headers: jsonContentHeaders$n,
6752
+ headers: jsonContentHeaders$o,
6753
6753
  method: 'POST',
6754
6754
  path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/upgrade`
6755
6755
  }, unmarshalInstance$2);
@@ -6807,7 +6807,7 @@ let API$o = class API extends API$x {
6807
6807
  */
6808
6808
  createInstance = request => this.client.fetch({
6809
6809
  body: JSON.stringify(marshalCreateInstanceRequest$1(request, this.client.settings)),
6810
- headers: jsonContentHeaders$n,
6810
+ headers: jsonContentHeaders$o,
6811
6811
  method: 'POST',
6812
6812
  path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances`
6813
6813
  }, unmarshalInstance$2);
@@ -6821,7 +6821,7 @@ let API$o = class API extends API$x {
6821
6821
  */
6822
6822
  updateInstance = request => this.client.fetch({
6823
6823
  body: JSON.stringify(marshalUpdateInstanceRequest$1(request, this.client.settings)),
6824
- headers: jsonContentHeaders$n,
6824
+ headers: jsonContentHeaders$o,
6825
6825
  method: 'PATCH',
6826
6826
  path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}`
6827
6827
  }, unmarshalInstance$2);
@@ -6852,7 +6852,7 @@ let API$o = class API extends API$x {
6852
6852
  */
6853
6853
  cloneInstance = request => this.client.fetch({
6854
6854
  body: JSON.stringify(marshalCloneInstanceRequest$1(request, this.client.settings)),
6855
- headers: jsonContentHeaders$n,
6855
+ headers: jsonContentHeaders$o,
6856
6856
  method: 'POST',
6857
6857
  path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/clone`
6858
6858
  }, unmarshalInstance$2);
@@ -6867,7 +6867,7 @@ let API$o = class API extends API$x {
6867
6867
  */
6868
6868
  restartInstance = request => this.client.fetch({
6869
6869
  body: '{}',
6870
- headers: jsonContentHeaders$n,
6870
+ headers: jsonContentHeaders$o,
6871
6871
  method: 'POST',
6872
6872
  path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/restart`
6873
6873
  }, unmarshalInstance$2);
@@ -6898,7 +6898,7 @@ let API$o = class API extends API$x {
6898
6898
  */
6899
6899
  renewInstanceCertificate = request => this.client.fetch({
6900
6900
  body: '{}',
6901
- headers: jsonContentHeaders$n,
6901
+ headers: jsonContentHeaders$o,
6902
6902
  method: 'POST',
6903
6903
  path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/renew-certificate`
6904
6904
  });
@@ -6927,7 +6927,7 @@ let API$o = class API extends API$x {
6927
6927
  */
6928
6928
  createReadReplica = request => this.client.fetch({
6929
6929
  body: JSON.stringify(marshalCreateReadReplicaRequest$1(request, this.client.settings)),
6930
- headers: jsonContentHeaders$n,
6930
+ headers: jsonContentHeaders$o,
6931
6931
  method: 'POST',
6932
6932
  path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/read-replicas`
6933
6933
  }, unmarshalReadReplica$1);
@@ -6979,7 +6979,7 @@ let API$o = class API extends API$x {
6979
6979
  */
6980
6980
  resetReadReplica = request => this.client.fetch({
6981
6981
  body: '{}',
6982
- headers: jsonContentHeaders$n,
6982
+ headers: jsonContentHeaders$o,
6983
6983
  method: 'POST',
6984
6984
  path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/read-replicas/${validatePathParam('readReplicaId', request.readReplicaId)}/reset`
6985
6985
  }, unmarshalReadReplica$1);
@@ -6993,7 +6993,7 @@ let API$o = class API extends API$x {
6993
6993
  */
6994
6994
  promoteReadReplica = request => this.client.fetch({
6995
6995
  body: '{}',
6996
- headers: jsonContentHeaders$n,
6996
+ headers: jsonContentHeaders$o,
6997
6997
  method: 'POST',
6998
6998
  path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/read-replicas/${validatePathParam('readReplicaId', request.readReplicaId)}/promote`
6999
6999
  }, unmarshalInstance$2);
@@ -7008,7 +7008,7 @@ let API$o = class API extends API$x {
7008
7008
  */
7009
7009
  createReadReplicaEndpoint = request => this.client.fetch({
7010
7010
  body: JSON.stringify(marshalCreateReadReplicaEndpointRequest$1(request, this.client.settings)),
7011
- headers: jsonContentHeaders$n,
7011
+ headers: jsonContentHeaders$o,
7012
7012
  method: 'POST',
7013
7013
  path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/read-replicas/${validatePathParam('readReplicaId', request.readReplicaId)}/endpoints`
7014
7014
  }, unmarshalReadReplica$1);
@@ -7060,7 +7060,7 @@ let API$o = class API extends API$x {
7060
7060
  */
7061
7061
  purgeInstanceLogs = request => this.client.fetch({
7062
7062
  body: JSON.stringify(marshalPurgeInstanceLogsRequest$1(request, this.client.settings)),
7063
- headers: jsonContentHeaders$n,
7063
+ headers: jsonContentHeaders$o,
7064
7064
  method: 'POST',
7065
7065
  path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/purge-logs`
7066
7066
  });
@@ -7088,7 +7088,7 @@ let API$o = class API extends API$x {
7088
7088
  */
7089
7089
  addInstanceSettings = request => this.client.fetch({
7090
7090
  body: JSON.stringify(marshalAddInstanceSettingsRequest$1(request, this.client.settings)),
7091
- headers: jsonContentHeaders$n,
7091
+ headers: jsonContentHeaders$o,
7092
7092
  method: 'POST',
7093
7093
  path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/settings`
7094
7094
  }, unmarshalAddInstanceSettingsResponse$1);
@@ -7103,7 +7103,7 @@ let API$o = class API extends API$x {
7103
7103
  */
7104
7104
  deleteInstanceSettings = request => this.client.fetch({
7105
7105
  body: JSON.stringify(marshalDeleteInstanceSettingsRequest$1(request, this.client.settings)),
7106
- headers: jsonContentHeaders$n,
7106
+ headers: jsonContentHeaders$o,
7107
7107
  method: 'DELETE',
7108
7108
  path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/settings`
7109
7109
  }, unmarshalDeleteInstanceSettingsResponse$1);
@@ -7118,7 +7118,7 @@ let API$o = class API extends API$x {
7118
7118
  */
7119
7119
  setInstanceSettings = request => this.client.fetch({
7120
7120
  body: JSON.stringify(marshalSetInstanceSettingsRequest$1(request, this.client.settings)),
7121
- headers: jsonContentHeaders$n,
7121
+ headers: jsonContentHeaders$o,
7122
7122
  method: 'PUT',
7123
7123
  path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/settings`
7124
7124
  }, unmarshalSetInstanceSettingsResponse$1);
@@ -7148,7 +7148,7 @@ let API$o = class API extends API$x {
7148
7148
  */
7149
7149
  addInstanceACLRules = request => this.client.fetch({
7150
7150
  body: JSON.stringify(marshalAddInstanceACLRulesRequest$1(request, this.client.settings)),
7151
- headers: jsonContentHeaders$n,
7151
+ headers: jsonContentHeaders$o,
7152
7152
  method: 'POST',
7153
7153
  path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/acls`
7154
7154
  }, unmarshalAddInstanceACLRulesResponse$1);
@@ -7162,7 +7162,7 @@ let API$o = class API extends API$x {
7162
7162
  */
7163
7163
  setInstanceACLRules = request => this.client.fetch({
7164
7164
  body: JSON.stringify(marshalSetInstanceACLRulesRequest$1(request, this.client.settings)),
7165
- headers: jsonContentHeaders$n,
7165
+ headers: jsonContentHeaders$o,
7166
7166
  method: 'PUT',
7167
7167
  path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/acls`
7168
7168
  }, unmarshalSetInstanceACLRulesResponse$1);
@@ -7176,7 +7176,7 @@ let API$o = class API extends API$x {
7176
7176
  */
7177
7177
  deleteInstanceACLRules = request => this.client.fetch({
7178
7178
  body: JSON.stringify(marshalDeleteInstanceACLRulesRequest$1(request, this.client.settings)),
7179
- headers: jsonContentHeaders$n,
7179
+ headers: jsonContentHeaders$o,
7180
7180
  method: 'DELETE',
7181
7181
  path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/acls`
7182
7182
  }, unmarshalDeleteInstanceACLRulesResponse$1);
@@ -7207,7 +7207,7 @@ let API$o = class API extends API$x {
7207
7207
  */
7208
7208
  createUser = request => this.client.fetch({
7209
7209
  body: JSON.stringify(marshalCreateUserRequest$2(request, this.client.settings)),
7210
- headers: jsonContentHeaders$n,
7210
+ headers: jsonContentHeaders$o,
7211
7211
  method: 'POST',
7212
7212
  path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/users`
7213
7213
  }, unmarshalUser$2);
@@ -7222,7 +7222,7 @@ let API$o = class API extends API$x {
7222
7222
  */
7223
7223
  updateUser = request => this.client.fetch({
7224
7224
  body: JSON.stringify(marshalUpdateUserRequest$2(request, this.client.settings)),
7225
- headers: jsonContentHeaders$n,
7225
+ headers: jsonContentHeaders$o,
7226
7226
  method: 'PATCH',
7227
7227
  path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/users/${validatePathParam('name', request.name)}`
7228
7228
  }, unmarshalUser$2);
@@ -7265,7 +7265,7 @@ let API$o = class API extends API$x {
7265
7265
  */
7266
7266
  createDatabase = request => this.client.fetch({
7267
7267
  body: JSON.stringify(marshalCreateDatabaseRequest$2(request, this.client.settings)),
7268
- headers: jsonContentHeaders$n,
7268
+ headers: jsonContentHeaders$o,
7269
7269
  method: 'POST',
7270
7270
  path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/databases`
7271
7271
  }, unmarshalDatabase$2);
@@ -7309,7 +7309,7 @@ let API$o = class API extends API$x {
7309
7309
  */
7310
7310
  setPrivilege = request => this.client.fetch({
7311
7311
  body: JSON.stringify(marshalSetPrivilegeRequest$1(request, this.client.settings)),
7312
- headers: jsonContentHeaders$n,
7312
+ headers: jsonContentHeaders$o,
7313
7313
  method: 'PUT',
7314
7314
  path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/privileges`
7315
7315
  }, unmarshalPrivilege$1);
@@ -7362,7 +7362,7 @@ let API$o = class API extends API$x {
7362
7362
  */
7363
7363
  createSnapshot = request => this.client.fetch({
7364
7364
  body: JSON.stringify(marshalCreateSnapshotRequest$2(request, this.client.settings)),
7365
- headers: jsonContentHeaders$n,
7365
+ headers: jsonContentHeaders$o,
7366
7366
  method: 'POST',
7367
7367
  path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/snapshots`
7368
7368
  }, unmarshalSnapshot$2);
@@ -7377,7 +7377,7 @@ let API$o = class API extends API$x {
7377
7377
  */
7378
7378
  updateSnapshot = request => this.client.fetch({
7379
7379
  body: JSON.stringify(marshalUpdateSnapshotRequest$2(request, this.client.settings)),
7380
- headers: jsonContentHeaders$n,
7380
+ headers: jsonContentHeaders$o,
7381
7381
  method: 'PATCH',
7382
7382
  path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/snapshots/${validatePathParam('snapshotId', request.snapshotId)}`
7383
7383
  }, unmarshalSnapshot$2);
@@ -7410,7 +7410,7 @@ let API$o = class API extends API$x {
7410
7410
  */
7411
7411
  createInstanceFromSnapshot = request => this.client.fetch({
7412
7412
  body: JSON.stringify(marshalCreateInstanceFromSnapshotRequest$1(request, this.client.settings)),
7413
- headers: jsonContentHeaders$n,
7413
+ headers: jsonContentHeaders$o,
7414
7414
  method: 'POST',
7415
7415
  path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/snapshots/${validatePathParam('snapshotId', request.snapshotId)}/create-instance`
7416
7416
  }, unmarshalInstance$2);
@@ -7425,7 +7425,7 @@ let API$o = class API extends API$x {
7425
7425
  */
7426
7426
  createEndpoint = request => this.client.fetch({
7427
7427
  body: JSON.stringify(marshalCreateEndpointRequest$1(request, this.client.settings)),
7428
- headers: jsonContentHeaders$n,
7428
+ headers: jsonContentHeaders$o,
7429
7429
  method: 'POST',
7430
7430
  path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/endpoints`
7431
7431
  }, unmarshalEndpoint$2);
@@ -7466,7 +7466,7 @@ let API$o = class API extends API$x {
7466
7466
  */
7467
7467
  migrateEndpoint = request => this.client.fetch({
7468
7468
  body: JSON.stringify(marshalMigrateEndpointRequest$1(request, this.client.settings)),
7469
- headers: jsonContentHeaders$n,
7469
+ headers: jsonContentHeaders$o,
7470
7470
  method: 'POST',
7471
7471
  path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/endpoints/${validatePathParam('endpointId', request.endpointId)}/migrate`
7472
7472
  }, unmarshalEndpoint$2);
@@ -7489,9 +7489,9 @@ var validationRules_gen$a = /*#__PURE__*/Object.freeze({
7489
7489
  // This file was automatically generated. DO NOT EDIT.
7490
7490
  // If you have any remark or suggestion do not hesitate to open an issue.
7491
7491
 
7492
- var index_gen$n = /*#__PURE__*/Object.freeze({
7492
+ var index_gen$o = /*#__PURE__*/Object.freeze({
7493
7493
  __proto__: null,
7494
- API: API$o,
7494
+ API: API$p,
7495
7495
  INSTANCE_LOG_TRANSIENT_STATUSES: INSTANCE_LOG_TRANSIENT_STATUSES$1,
7496
7496
  INSTANCE_TRANSIENT_STATUSES: INSTANCE_TRANSIENT_STATUSES$2,
7497
7497
  MAINTENANCE_TRANSIENT_STATUSES: MAINTENANCE_TRANSIENT_STATUSES$1,
@@ -7502,7 +7502,7 @@ var index_gen$n = /*#__PURE__*/Object.freeze({
7502
7502
 
7503
7503
  var index$q = /*#__PURE__*/Object.freeze({
7504
7504
  __proto__: null,
7505
- v1beta1: index_gen$n
7505
+ v1beta1: index_gen$o
7506
7506
  });
7507
7507
 
7508
7508
  // This file was automatically generated. DO NOT EDIT.
@@ -8705,7 +8705,7 @@ const marshalUpdateDNSZoneRequest = (request, defaults) => ({
8705
8705
 
8706
8706
  // This file was automatically generated. DO NOT EDIT.
8707
8707
  // If you have any remark or suggestion do not hesitate to open an issue.
8708
- const jsonContentHeaders$m = {
8708
+ const jsonContentHeaders$n = {
8709
8709
  'Content-Type': 'application/json; charset=utf-8'
8710
8710
  };
8711
8711
 
@@ -8714,7 +8714,7 @@ const jsonContentHeaders$m = {
8714
8714
  *
8715
8715
  * Manage your domains, DNS zones and records with the Domains and DNS API.
8716
8716
  */
8717
- let API$n = class API extends API$x {
8717
+ let API$o = class API extends API$y {
8718
8718
  pageOfListDNSZones = request => this.client.fetch({
8719
8719
  method: 'GET',
8720
8720
  path: `/domain/v2beta1/dns-zones`,
@@ -8739,7 +8739,7 @@ let API$n = class API extends API$x {
8739
8739
  */
8740
8740
  createDNSZone = request => this.client.fetch({
8741
8741
  body: JSON.stringify(marshalCreateDNSZoneRequest(request, this.client.settings)),
8742
- headers: jsonContentHeaders$m,
8742
+ headers: jsonContentHeaders$n,
8743
8743
  method: 'POST',
8744
8744
  path: `/domain/v2beta1/dns-zones`
8745
8745
  }, unmarshalDNSZone);
@@ -8752,7 +8752,7 @@ let API$n = class API extends API$x {
8752
8752
  */
8753
8753
  updateDNSZone = request => this.client.fetch({
8754
8754
  body: JSON.stringify(marshalUpdateDNSZoneRequest(request, this.client.settings)),
8755
- headers: jsonContentHeaders$m,
8755
+ headers: jsonContentHeaders$n,
8756
8756
  method: 'PATCH',
8757
8757
  path: `/domain/v2beta1/dns-zones/${validatePathParam('dnsZone', request.dnsZone)}`
8758
8758
  }, unmarshalDNSZone);
@@ -8766,7 +8766,7 @@ let API$n = class API extends API$x {
8766
8766
  */
8767
8767
  cloneDNSZone = request => this.client.fetch({
8768
8768
  body: JSON.stringify(marshalCloneDNSZoneRequest(request, this.client.settings)),
8769
- headers: jsonContentHeaders$m,
8769
+ headers: jsonContentHeaders$n,
8770
8770
  method: 'POST',
8771
8771
  path: `/domain/v2beta1/dns-zones/${validatePathParam('dnsZone', request.dnsZone)}/clone`
8772
8772
  }, unmarshalDNSZone);
@@ -8819,7 +8819,7 @@ let API$n = class API extends API$x {
8819
8819
  */
8820
8820
  updateDNSZoneRecords = request => this.client.fetch({
8821
8821
  body: JSON.stringify(marshalUpdateDNSZoneRecordsRequest(request, this.client.settings)),
8822
- headers: jsonContentHeaders$m,
8822
+ headers: jsonContentHeaders$n,
8823
8823
  method: 'PATCH',
8824
8824
  path: `/domain/v2beta1/dns-zones/${validatePathParam('dnsZone', request.dnsZone)}/records`
8825
8825
  }, unmarshalUpdateDNSZoneRecordsResponse);
@@ -8846,7 +8846,7 @@ let API$n = class API extends API$x {
8846
8846
  */
8847
8847
  updateDNSZoneNameservers = request => this.client.fetch({
8848
8848
  body: JSON.stringify(marshalUpdateDNSZoneNameserversRequest(request, this.client.settings)),
8849
- headers: jsonContentHeaders$m,
8849
+ headers: jsonContentHeaders$n,
8850
8850
  method: 'PUT',
8851
8851
  path: `/domain/v2beta1/dns-zones/${validatePathParam('dnsZone', request.dnsZone)}/nameservers`
8852
8852
  }, unmarshalUpdateDNSZoneNameserversResponse);
@@ -8886,7 +8886,7 @@ let API$n = class API extends API$x {
8886
8886
  */
8887
8887
  importRawDNSZone = request => this.client.fetch({
8888
8888
  body: JSON.stringify(marshalImportRawDNSZoneRequest(request, this.client.settings)),
8889
- headers: jsonContentHeaders$m,
8889
+ headers: jsonContentHeaders$n,
8890
8890
  method: 'POST',
8891
8891
  path: `/domain/v2beta1/dns-zones/${validatePathParam('dnsZone', request.dnsZone)}/raw`
8892
8892
  }, unmarshalImportRawDNSZoneResponse);
@@ -8900,7 +8900,7 @@ let API$n = class API extends API$x {
8900
8900
  */
8901
8901
  importProviderDNSZone = request => this.client.fetch({
8902
8902
  body: JSON.stringify(marshalImportProviderDNSZoneRequest(request, this.client.settings)),
8903
- headers: jsonContentHeaders$m,
8903
+ headers: jsonContentHeaders$n,
8904
8904
  method: 'POST',
8905
8905
  path: `/domain/v2beta1/dns-zones/${validatePathParam('dnsZone', request.dnsZone)}/import-provider`
8906
8906
  }, unmarshalImportProviderDNSZoneResponse);
@@ -8915,7 +8915,7 @@ let API$n = class API extends API$x {
8915
8915
  */
8916
8916
  refreshDNSZone = request => this.client.fetch({
8917
8917
  body: JSON.stringify(marshalRefreshDNSZoneRequest(request, this.client.settings)),
8918
- headers: jsonContentHeaders$m,
8918
+ headers: jsonContentHeaders$n,
8919
8919
  method: 'POST',
8920
8920
  path: `/domain/v2beta1/dns-zones/${validatePathParam('dnsZone', request.dnsZone)}/refresh`
8921
8921
  }, unmarshalRefreshDNSZoneResponse);
@@ -8970,7 +8970,7 @@ let API$n = class API extends API$x {
8970
8970
  */
8971
8971
  restoreDNSZoneVersion = request => this.client.fetch({
8972
8972
  body: '{}',
8973
- headers: jsonContentHeaders$m,
8973
+ headers: jsonContentHeaders$n,
8974
8974
  method: 'POST',
8975
8975
  path: `/domain/v2beta1/dns-zones/version/${validatePathParam('dnsZoneVersionId', request.dnsZoneVersionId)}/restore`
8976
8976
  }, unmarshalRestoreDNSZoneVersionResponse);
@@ -9005,7 +9005,7 @@ let API$n = class API extends API$x {
9005
9005
  */
9006
9006
  createSSLCertificate = request => this.client.fetch({
9007
9007
  body: JSON.stringify(marshalCreateSSLCertificateRequest(request, this.client.settings)),
9008
- headers: jsonContentHeaders$m,
9008
+ headers: jsonContentHeaders$n,
9009
9009
  method: 'POST',
9010
9010
  path: `/domain/v2beta1/ssl-certificates`
9011
9011
  }, unmarshalSSLCertificate);
@@ -9066,7 +9066,7 @@ let API$n = class API extends API$x {
9066
9066
  *
9067
9067
  * Manage your domains and contacts.
9068
9068
  */
9069
- class RegistrarAPI extends API$x {
9069
+ class RegistrarAPI extends API$y {
9070
9070
  pageOfListTasks = (request = {}) => this.client.fetch({
9071
9071
  method: 'GET',
9072
9072
  path: `/domain/v2beta1/tasks`,
@@ -9091,7 +9091,7 @@ class RegistrarAPI extends API$x {
9091
9091
  */
9092
9092
  buyDomains = request => this.client.fetch({
9093
9093
  body: JSON.stringify(marshalRegistrarApiBuyDomainsRequest(request, this.client.settings)),
9094
- headers: jsonContentHeaders$m,
9094
+ headers: jsonContentHeaders$n,
9095
9095
  method: 'POST',
9096
9096
  path: `/domain/v2beta1/buy-domains`
9097
9097
  }, unmarshalOrderResponse);
@@ -9104,7 +9104,7 @@ class RegistrarAPI extends API$x {
9104
9104
  */
9105
9105
  renewDomains = request => this.client.fetch({
9106
9106
  body: JSON.stringify(marshalRegistrarApiRenewDomainsRequest(request, this.client.settings)),
9107
- headers: jsonContentHeaders$m,
9107
+ headers: jsonContentHeaders$n,
9108
9108
  method: 'POST',
9109
9109
  path: `/domain/v2beta1/renew-domains`
9110
9110
  }, unmarshalOrderResponse);
@@ -9118,7 +9118,7 @@ class RegistrarAPI extends API$x {
9118
9118
  */
9119
9119
  transferInDomain = request => this.client.fetch({
9120
9120
  body: JSON.stringify(marshalRegistrarApiTransferInDomainRequest(request, this.client.settings)),
9121
- headers: jsonContentHeaders$m,
9121
+ headers: jsonContentHeaders$n,
9122
9122
  method: 'POST',
9123
9123
  path: `/domain/v2beta1/domains/transfer-domains`
9124
9124
  }, unmarshalOrderResponse);
@@ -9138,7 +9138,7 @@ class RegistrarAPI extends API$x {
9138
9138
  */
9139
9139
  tradeDomain = request => this.client.fetch({
9140
9140
  body: JSON.stringify(marshalRegistrarApiTradeDomainRequest(request, this.client.settings)),
9141
- headers: jsonContentHeaders$m,
9141
+ headers: jsonContentHeaders$n,
9142
9142
  method: 'POST',
9143
9143
  path: `/domain/v2beta1/domains/${validatePathParam('domain', request.domain)}/trade`
9144
9144
  }, unmarshalOrderResponse);
@@ -9153,7 +9153,7 @@ class RegistrarAPI extends API$x {
9153
9153
  */
9154
9154
  registerExternalDomain = request => this.client.fetch({
9155
9155
  body: JSON.stringify(marshalRegistrarApiRegisterExternalDomainRequest(request, this.client.settings)),
9156
- headers: jsonContentHeaders$m,
9156
+ headers: jsonContentHeaders$n,
9157
9157
  method: 'POST',
9158
9158
  path: `/domain/v2beta1/external-domains`
9159
9159
  }, unmarshalRegisterExternalDomainResponse);
@@ -9181,7 +9181,7 @@ class RegistrarAPI extends API$x {
9181
9181
  */
9182
9182
  checkContactsCompatibility = (request = {}) => this.client.fetch({
9183
9183
  body: JSON.stringify(marshalRegistrarApiCheckContactsCompatibilityRequest(request, this.client.settings)),
9184
- headers: jsonContentHeaders$m,
9184
+ headers: jsonContentHeaders$n,
9185
9185
  method: 'POST',
9186
9186
  path: `/domain/v2beta1/check-contacts-compatibility`
9187
9187
  }, unmarshalCheckContactsCompatibilityResponse);
@@ -9220,7 +9220,7 @@ class RegistrarAPI extends API$x {
9220
9220
  */
9221
9221
  updateContact = request => this.client.fetch({
9222
9222
  body: JSON.stringify(marshalRegistrarApiUpdateContactRequest(request, this.client.settings)),
9223
- headers: jsonContentHeaders$m,
9223
+ headers: jsonContentHeaders$n,
9224
9224
  method: 'PATCH',
9225
9225
  path: `/domain/v2beta1/contacts/${validatePathParam('contactId', request.contactId)}`
9226
9226
  }, unmarshalContact);
@@ -9285,7 +9285,7 @@ class RegistrarAPI extends API$x {
9285
9285
  */
9286
9286
  updateDomain = request => this.client.fetch({
9287
9287
  body: JSON.stringify(marshalRegistrarApiUpdateDomainRequest(request, this.client.settings)),
9288
- headers: jsonContentHeaders$m,
9288
+ headers: jsonContentHeaders$n,
9289
9289
  method: 'PATCH',
9290
9290
  path: `/domain/v2beta1/domains/${validatePathParam('domain', request.domain)}`
9291
9291
  }, unmarshalDomain$2);
@@ -9300,7 +9300,7 @@ class RegistrarAPI extends API$x {
9300
9300
  */
9301
9301
  lockDomainTransfer = request => this.client.fetch({
9302
9302
  body: '{}',
9303
- headers: jsonContentHeaders$m,
9303
+ headers: jsonContentHeaders$n,
9304
9304
  method: 'POST',
9305
9305
  path: `/domain/v2beta1/domains/${validatePathParam('domain', request.domain)}/lock-transfer`
9306
9306
  }, unmarshalDomain$2);
@@ -9315,7 +9315,7 @@ class RegistrarAPI extends API$x {
9315
9315
  */
9316
9316
  unlockDomainTransfer = request => this.client.fetch({
9317
9317
  body: '{}',
9318
- headers: jsonContentHeaders$m,
9318
+ headers: jsonContentHeaders$n,
9319
9319
  method: 'POST',
9320
9320
  path: `/domain/v2beta1/domains/${validatePathParam('domain', request.domain)}/unlock-transfer`
9321
9321
  }, unmarshalDomain$2);
@@ -9330,7 +9330,7 @@ class RegistrarAPI extends API$x {
9330
9330
  */
9331
9331
  enableDomainAutoRenew = request => this.client.fetch({
9332
9332
  body: '{}',
9333
- headers: jsonContentHeaders$m,
9333
+ headers: jsonContentHeaders$n,
9334
9334
  method: 'POST',
9335
9335
  path: `/domain/v2beta1/domains/${validatePathParam('domain', request.domain)}/enable-auto-renew`
9336
9336
  }, unmarshalDomain$2);
@@ -9345,7 +9345,7 @@ class RegistrarAPI extends API$x {
9345
9345
  */
9346
9346
  disableDomainAutoRenew = request => this.client.fetch({
9347
9347
  body: '{}',
9348
- headers: jsonContentHeaders$m,
9348
+ headers: jsonContentHeaders$n,
9349
9349
  method: 'POST',
9350
9350
  path: `/domain/v2beta1/domains/${validatePathParam('domain', request.domain)}/disable-auto-renew`
9351
9351
  }, unmarshalDomain$2);
@@ -9374,7 +9374,7 @@ class RegistrarAPI extends API$x {
9374
9374
  */
9375
9375
  enableDomainDNSSEC = request => this.client.fetch({
9376
9376
  body: JSON.stringify(marshalRegistrarApiEnableDomainDNSSECRequest(request, this.client.settings)),
9377
- headers: jsonContentHeaders$m,
9377
+ headers: jsonContentHeaders$n,
9378
9378
  method: 'POST',
9379
9379
  path: `/domain/v2beta1/domains/${validatePathParam('domain', request.domain)}/enable-dnssec`
9380
9380
  }, unmarshalDomain$2);
@@ -9387,7 +9387,7 @@ class RegistrarAPI extends API$x {
9387
9387
  */
9388
9388
  disableDomainDNSSEC = request => this.client.fetch({
9389
9389
  body: '{}',
9390
- headers: jsonContentHeaders$m,
9390
+ headers: jsonContentHeaders$n,
9391
9391
  method: 'POST',
9392
9392
  path: `/domain/v2beta1/domains/${validatePathParam('domain', request.domain)}/disable-dnssec`
9393
9393
  }, unmarshalDomain$2);
@@ -9431,7 +9431,7 @@ class RegistrarAPI extends API$x {
9431
9431
  */
9432
9432
  createDomainHost = request => this.client.fetch({
9433
9433
  body: JSON.stringify(marshalRegistrarApiCreateDomainHostRequest(request, this.client.settings)),
9434
- headers: jsonContentHeaders$m,
9434
+ headers: jsonContentHeaders$n,
9435
9435
  method: 'POST',
9436
9436
  path: `/domain/v2beta1/domains/${validatePathParam('domain', request.domain)}/hosts`
9437
9437
  }, unmarshalHost);
@@ -9457,7 +9457,7 @@ class RegistrarAPI extends API$x {
9457
9457
  */
9458
9458
  updateDomainHost = request => this.client.fetch({
9459
9459
  body: JSON.stringify(marshalRegistrarApiUpdateDomainHostRequest(request, this.client.settings)),
9460
- headers: jsonContentHeaders$m,
9460
+ headers: jsonContentHeaders$n,
9461
9461
  method: 'PATCH',
9462
9462
  path: `/domain/v2beta1/domains/${validatePathParam('domain', request.domain)}/hosts/${validatePathParam('name', request.name)}`
9463
9463
  }, unmarshalHost);
@@ -9477,9 +9477,9 @@ class RegistrarAPI extends API$x {
9477
9477
  // This file was automatically generated. DO NOT EDIT.
9478
9478
  // If you have any remark or suggestion do not hesitate to open an issue.
9479
9479
 
9480
- var index_gen$m = /*#__PURE__*/Object.freeze({
9480
+ var index_gen$n = /*#__PURE__*/Object.freeze({
9481
9481
  __proto__: null,
9482
- API: API$n,
9482
+ API: API$o,
9483
9483
  DNS_ZONE_TRANSIENT_STATUSES: DNS_ZONE_TRANSIENT_STATUSES,
9484
9484
  DOMAIN_FEATURE_TRANSIENT_STATUSES: DOMAIN_FEATURE_TRANSIENT_STATUSES,
9485
9485
  DOMAIN_REGISTRATION_STATUS_TRANSFER_TRANSIENT_STATUSES: DOMAIN_REGISTRATION_STATUS_TRANSFER_TRANSIENT_STATUSES,
@@ -9492,7 +9492,7 @@ var index_gen$m = /*#__PURE__*/Object.freeze({
9492
9492
 
9493
9493
  var index$p = /*#__PURE__*/Object.freeze({
9494
9494
  __proto__: null,
9495
- v2beta1: index_gen$m
9495
+ v2beta1: index_gen$n
9496
9496
  });
9497
9497
 
9498
9498
  // This file was automatically generated. DO NOT EDIT.
@@ -9599,12 +9599,12 @@ const marshalUpdateFlexibleIPRequest = (request, defaults) => ({
9599
9599
 
9600
9600
  // This file was automatically generated. DO NOT EDIT.
9601
9601
  // If you have any remark or suggestion do not hesitate to open an issue.
9602
- const jsonContentHeaders$l = {
9602
+ const jsonContentHeaders$m = {
9603
9603
  'Content-Type': 'application/json; charset=utf-8'
9604
9604
  };
9605
9605
 
9606
9606
  /** Elastic Metal - Flexible IP API. */
9607
- let API$m = class API extends API$x {
9607
+ let API$n = class API extends API$y {
9608
9608
  /** Lists the available zones of the API. */
9609
9609
  static LOCALITIES = ['fr-par-1', 'fr-par-2', 'nl-ams-1'];
9610
9610
 
@@ -9617,7 +9617,7 @@ let API$m = class API extends API$x {
9617
9617
  */
9618
9618
  createFlexibleIP = request => this.client.fetch({
9619
9619
  body: JSON.stringify(marshalCreateFlexibleIPRequest(request, this.client.settings)),
9620
- headers: jsonContentHeaders$l,
9620
+ headers: jsonContentHeaders$m,
9621
9621
  method: 'POST',
9622
9622
  path: `/flexible-ip/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/fips`
9623
9623
  }, unmarshalFlexibleIP);
@@ -9667,7 +9667,7 @@ let API$m = class API extends API$x {
9667
9667
  */
9668
9668
  updateFlexibleIP = request => this.client.fetch({
9669
9669
  body: JSON.stringify(marshalUpdateFlexibleIPRequest(request, this.client.settings)),
9670
- headers: jsonContentHeaders$l,
9670
+ headers: jsonContentHeaders$m,
9671
9671
  method: 'PATCH',
9672
9672
  path: `/flexible-ip/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/fips/${validatePathParam('fipId', request.fipId)}`
9673
9673
  }, unmarshalFlexibleIP);
@@ -9693,7 +9693,7 @@ let API$m = class API extends API$x {
9693
9693
  */
9694
9694
  attachFlexibleIP = request => this.client.fetch({
9695
9695
  body: JSON.stringify(marshalAttachFlexibleIPRequest(request, this.client.settings)),
9696
- headers: jsonContentHeaders$l,
9696
+ headers: jsonContentHeaders$m,
9697
9697
  method: 'POST',
9698
9698
  path: `/flexible-ip/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/fips/attach`
9699
9699
  }, unmarshalAttachFlexibleIPsResponse);
@@ -9707,7 +9707,7 @@ let API$m = class API extends API$x {
9707
9707
  */
9708
9708
  detachFlexibleIP = request => this.client.fetch({
9709
9709
  body: JSON.stringify(marshalDetachFlexibleIPRequest(request, this.client.settings)),
9710
- headers: jsonContentHeaders$l,
9710
+ headers: jsonContentHeaders$m,
9711
9711
  method: 'POST',
9712
9712
  path: `/flexible-ip/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/fips/detach`
9713
9713
  }, unmarshalDetachFlexibleIPsResponse);
@@ -9721,7 +9721,7 @@ let API$m = class API extends API$x {
9721
9721
  */
9722
9722
  generateMACAddr = request => this.client.fetch({
9723
9723
  body: JSON.stringify(marshalGenerateMACAddrRequest(request, this.client.settings)),
9724
- headers: jsonContentHeaders$l,
9724
+ headers: jsonContentHeaders$m,
9725
9725
  method: 'POST',
9726
9726
  path: `/flexible-ip/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/fips/${validatePathParam('fipId', request.fipId)}/mac`
9727
9727
  }, unmarshalFlexibleIP);
@@ -9736,7 +9736,7 @@ let API$m = class API extends API$x {
9736
9736
  */
9737
9737
  duplicateMACAddr = request => this.client.fetch({
9738
9738
  body: JSON.stringify(marshalDuplicateMACAddrRequest(request, this.client.settings)),
9739
- headers: jsonContentHeaders$l,
9739
+ headers: jsonContentHeaders$m,
9740
9740
  method: 'POST',
9741
9741
  path: `/flexible-ip/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/fips/${validatePathParam('fipId', request.fipId)}/mac/duplicate`
9742
9742
  }, unmarshalFlexibleIP);
@@ -9751,7 +9751,7 @@ let API$m = class API extends API$x {
9751
9751
  */
9752
9752
  moveMACAddr = request => this.client.fetch({
9753
9753
  body: JSON.stringify(marshalMoveMACAddrRequest(request, this.client.settings)),
9754
- headers: jsonContentHeaders$l,
9754
+ headers: jsonContentHeaders$m,
9755
9755
  method: 'POST',
9756
9756
  path: `/flexible-ip/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/fips/${validatePathParam('fipId', request.fipId)}/mac/move`
9757
9757
  }, unmarshalFlexibleIP);
@@ -9789,9 +9789,9 @@ var validationRules_gen$9 = /*#__PURE__*/Object.freeze({
9789
9789
  // This file was automatically generated. DO NOT EDIT.
9790
9790
  // If you have any remark or suggestion do not hesitate to open an issue.
9791
9791
 
9792
- var index_gen$l = /*#__PURE__*/Object.freeze({
9792
+ var index_gen$m = /*#__PURE__*/Object.freeze({
9793
9793
  __proto__: null,
9794
- API: API$m,
9794
+ API: API$n,
9795
9795
  FLEXIBLE_IP_TRANSIENT_STATUSES: FLEXIBLE_IP_TRANSIENT_STATUSES,
9796
9796
  MAC_ADDRESS_TRANSIENT_STATUSES: MAC_ADDRESS_TRANSIENT_STATUSES,
9797
9797
  ValidationRules: validationRules_gen$9
@@ -9799,7 +9799,7 @@ var index_gen$l = /*#__PURE__*/Object.freeze({
9799
9799
 
9800
9800
  var index$o = /*#__PURE__*/Object.freeze({
9801
9801
  __proto__: null,
9802
- v1alpha1: index_gen$l
9802
+ v1alpha1: index_gen$m
9803
9803
  });
9804
9804
 
9805
9805
  // This file was automatically generated. DO NOT EDIT.
@@ -10216,12 +10216,12 @@ const marshalUpdateTriggerRequest = (request, defaults) => ({
10216
10216
 
10217
10217
  // This file was automatically generated. DO NOT EDIT.
10218
10218
  // If you have any remark or suggestion do not hesitate to open an issue.
10219
- const jsonContentHeaders$k = {
10219
+ const jsonContentHeaders$l = {
10220
10220
  'Content-Type': 'application/json; charset=utf-8'
10221
10221
  };
10222
10222
 
10223
10223
  /** Serverless Functions API. */
10224
- let API$l = class API extends API$x {
10224
+ let API$m = class API extends API$y {
10225
10225
  /** Lists the available regions of the API. */
10226
10226
  static LOCALITIES = ['fr-par', 'nl-ams', 'pl-waw'];
10227
10227
  pageOfListNamespaces = (request = {}) => this.client.fetch({
@@ -10268,7 +10268,7 @@ let API$l = class API extends API$x {
10268
10268
  */
10269
10269
  createNamespace = (request = {}) => this.client.fetch({
10270
10270
  body: JSON.stringify(marshalCreateNamespaceRequest$1(request, this.client.settings)),
10271
- headers: jsonContentHeaders$k,
10271
+ headers: jsonContentHeaders$l,
10272
10272
  method: 'POST',
10273
10273
  path: `/functions/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/namespaces`
10274
10274
  }, unmarshalNamespace$1);
@@ -10282,7 +10282,7 @@ let API$l = class API extends API$x {
10282
10282
  */
10283
10283
  updateNamespace = request => this.client.fetch({
10284
10284
  body: JSON.stringify(marshalUpdateNamespaceRequest$1(request, this.client.settings)),
10285
- headers: jsonContentHeaders$k,
10285
+ headers: jsonContentHeaders$l,
10286
10286
  method: 'PATCH',
10287
10287
  path: `/functions/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/namespaces/${validatePathParam('namespaceId', request.namespaceId)}`
10288
10288
  }, unmarshalNamespace$1);
@@ -10341,7 +10341,7 @@ let API$l = class API extends API$x {
10341
10341
  */
10342
10342
  createFunction = request => this.client.fetch({
10343
10343
  body: JSON.stringify(marshalCreateFunctionRequest(request, this.client.settings)),
10344
- headers: jsonContentHeaders$k,
10344
+ headers: jsonContentHeaders$l,
10345
10345
  method: 'POST',
10346
10346
  path: `/functions/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/functions`
10347
10347
  }, unmarshalFunction);
@@ -10355,7 +10355,7 @@ let API$l = class API extends API$x {
10355
10355
  */
10356
10356
  updateFunction = request => this.client.fetch({
10357
10357
  body: JSON.stringify(marshalUpdateFunctionRequest(request, this.client.settings)),
10358
- headers: jsonContentHeaders$k,
10358
+ headers: jsonContentHeaders$l,
10359
10359
  method: 'PATCH',
10360
10360
  path: `/functions/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/functions/${validatePathParam('functionId', request.functionId)}`
10361
10361
  }, unmarshalFunction);
@@ -10379,7 +10379,7 @@ let API$l = class API extends API$x {
10379
10379
  */
10380
10380
  deployFunction = request => this.client.fetch({
10381
10381
  body: '{}',
10382
- headers: jsonContentHeaders$k,
10382
+ headers: jsonContentHeaders$l,
10383
10383
  method: 'POST',
10384
10384
  path: `/functions/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/functions/${validatePathParam('functionId', request.functionId)}/deploy`
10385
10385
  }, unmarshalFunction);
@@ -10462,7 +10462,7 @@ let API$l = class API extends API$x {
10462
10462
  */
10463
10463
  createCron = request => this.client.fetch({
10464
10464
  body: JSON.stringify(marshalCreateCronRequest(request, this.client.settings)),
10465
- headers: jsonContentHeaders$k,
10465
+ headers: jsonContentHeaders$l,
10466
10466
  method: 'POST',
10467
10467
  path: `/functions/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/crons`
10468
10468
  }, unmarshalCron);
@@ -10475,7 +10475,7 @@ let API$l = class API extends API$x {
10475
10475
  */
10476
10476
  updateCron = request => this.client.fetch({
10477
10477
  body: JSON.stringify(marshalUpdateCronRequest(request, this.client.settings)),
10478
- headers: jsonContentHeaders$k,
10478
+ headers: jsonContentHeaders$l,
10479
10479
  method: 'PATCH',
10480
10480
  path: `/functions/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/crons/${validatePathParam('cronId', request.cronId)}`
10481
10481
  }, unmarshalCron);
@@ -10553,7 +10553,7 @@ let API$l = class API extends API$x {
10553
10553
  */
10554
10554
  createDomain = request => this.client.fetch({
10555
10555
  body: JSON.stringify(marshalCreateDomainRequest$1(request, this.client.settings)),
10556
- headers: jsonContentHeaders$k,
10556
+ headers: jsonContentHeaders$l,
10557
10557
  method: 'POST',
10558
10558
  path: `/functions/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/domains`
10559
10559
  }, unmarshalDomain$1);
@@ -10597,7 +10597,7 @@ let API$l = class API extends API$x {
10597
10597
  */
10598
10598
  createToken = (request = {}) => this.client.fetch({
10599
10599
  body: JSON.stringify(marshalCreateTokenRequest(request, this.client.settings)),
10600
- headers: jsonContentHeaders$k,
10600
+ headers: jsonContentHeaders$l,
10601
10601
  method: 'POST',
10602
10602
  path: `/functions/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/tokens`
10603
10603
  }, unmarshalToken);
@@ -10654,7 +10654,7 @@ let API$l = class API extends API$x {
10654
10654
  */
10655
10655
  createTrigger = request => this.client.fetch({
10656
10656
  body: JSON.stringify(marshalCreateTriggerRequest(request, this.client.settings)),
10657
- headers: jsonContentHeaders$k,
10657
+ headers: jsonContentHeaders$l,
10658
10658
  method: 'POST',
10659
10659
  path: `/functions/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/triggers`
10660
10660
  }, unmarshalTrigger);
@@ -10711,7 +10711,7 @@ let API$l = class API extends API$x {
10711
10711
  */
10712
10712
  updateTrigger = request => this.client.fetch({
10713
10713
  body: JSON.stringify(marshalUpdateTriggerRequest(request, this.client.settings)),
10714
- headers: jsonContentHeaders$k,
10714
+ headers: jsonContentHeaders$l,
10715
10715
  method: 'PATCH',
10716
10716
  path: `/functions/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/triggers/${validatePathParam('triggerId', request.triggerId)}`
10717
10717
  }, unmarshalTrigger);
@@ -10782,9 +10782,9 @@ var validationRules_gen$8 = /*#__PURE__*/Object.freeze({
10782
10782
  // This file was automatically generated. DO NOT EDIT.
10783
10783
  // If you have any remark or suggestion do not hesitate to open an issue.
10784
10784
 
10785
- var index_gen$k = /*#__PURE__*/Object.freeze({
10785
+ var index_gen$l = /*#__PURE__*/Object.freeze({
10786
10786
  __proto__: null,
10787
- API: API$l,
10787
+ API: API$m,
10788
10788
  CRON_TRANSIENT_STATUSES: CRON_TRANSIENT_STATUSES,
10789
10789
  DOMAIN_TRANSIENT_STATUSES: DOMAIN_TRANSIENT_STATUSES$1,
10790
10790
  FUNCTION_TRANSIENT_STATUSES: FUNCTION_TRANSIENT_STATUSES,
@@ -10796,7 +10796,7 @@ var index_gen$k = /*#__PURE__*/Object.freeze({
10796
10796
 
10797
10797
  var index$n = /*#__PURE__*/Object.freeze({
10798
10798
  __proto__: null,
10799
- v1beta1: index_gen$k
10799
+ v1beta1: index_gen$l
10800
10800
  });
10801
10801
 
10802
10802
  // This file was automatically generated. DO NOT EDIT.
@@ -11218,12 +11218,12 @@ const marshalUpdateUserRequest$1 = (request, defaults) => ({
11218
11218
 
11219
11219
  // This file was automatically generated. DO NOT EDIT.
11220
11220
  // If you have any remark or suggestion do not hesitate to open an issue.
11221
- const jsonContentHeaders$j = {
11221
+ const jsonContentHeaders$k = {
11222
11222
  'Content-Type': 'application/json; charset=utf-8'
11223
11223
  };
11224
11224
 
11225
11225
  /** IAM API. */
11226
- let API$k = class API extends API$x {
11226
+ let API$l = class API extends API$y {
11227
11227
  pageOfListSSHKeys = (request = {}) => this.client.fetch({
11228
11228
  method: 'GET',
11229
11229
  path: `/iam/v1alpha1/ssh-keys`,
@@ -11250,7 +11250,7 @@ let API$k = class API extends API$x {
11250
11250
  */
11251
11251
  createSSHKey = request => this.client.fetch({
11252
11252
  body: JSON.stringify(marshalCreateSSHKeyRequest(request, this.client.settings)),
11253
- headers: jsonContentHeaders$j,
11253
+ headers: jsonContentHeaders$k,
11254
11254
  method: 'POST',
11255
11255
  path: `/iam/v1alpha1/ssh-keys`
11256
11256
  }, unmarshalSSHKey);
@@ -11277,7 +11277,7 @@ let API$k = class API extends API$x {
11277
11277
  */
11278
11278
  updateSSHKey = request => this.client.fetch({
11279
11279
  body: JSON.stringify(marshalUpdateSSHKeyRequest(request, this.client.settings)),
11280
- headers: jsonContentHeaders$j,
11280
+ headers: jsonContentHeaders$k,
11281
11281
  method: 'PATCH',
11282
11282
  path: `/iam/v1alpha1/ssh-keys/${validatePathParam('sshKeyId', request.sshKeyId)}`
11283
11283
  }, unmarshalSSHKey);
@@ -11332,7 +11332,7 @@ let API$k = class API extends API$x {
11332
11332
  */
11333
11333
  updateUser = request => this.client.fetch({
11334
11334
  body: JSON.stringify(marshalUpdateUserRequest$1(request, this.client.settings)),
11335
- headers: jsonContentHeaders$j,
11335
+ headers: jsonContentHeaders$k,
11336
11336
  method: 'PATCH',
11337
11337
  path: `/iam/v1alpha1/users/${validatePathParam('userId', request.userId)}`
11338
11338
  }, unmarshalUser$1);
@@ -11360,7 +11360,7 @@ let API$k = class API extends API$x {
11360
11360
  */
11361
11361
  createUser = request => this.client.fetch({
11362
11362
  body: JSON.stringify(marshalCreateUserRequest$1(request, this.client.settings)),
11363
- headers: jsonContentHeaders$j,
11363
+ headers: jsonContentHeaders$k,
11364
11364
  method: 'POST',
11365
11365
  path: `/iam/v1alpha1/users`
11366
11366
  }, unmarshalUser$1);
@@ -11392,7 +11392,7 @@ let API$k = class API extends API$x {
11392
11392
  */
11393
11393
  createApplication = request => this.client.fetch({
11394
11394
  body: JSON.stringify(marshalCreateApplicationRequest(request, this.client.settings)),
11395
- headers: jsonContentHeaders$j,
11395
+ headers: jsonContentHeaders$k,
11396
11396
  method: 'POST',
11397
11397
  path: `/iam/v1alpha1/applications`
11398
11398
  }, unmarshalApplication);
@@ -11420,7 +11420,7 @@ let API$k = class API extends API$x {
11420
11420
  */
11421
11421
  updateApplication = request => this.client.fetch({
11422
11422
  body: JSON.stringify(marshalUpdateApplicationRequest(request, this.client.settings)),
11423
- headers: jsonContentHeaders$j,
11423
+ headers: jsonContentHeaders$k,
11424
11424
  method: 'PATCH',
11425
11425
  path: `/iam/v1alpha1/applications/${validatePathParam('applicationId', request.applicationId)}`
11426
11426
  }, unmarshalApplication);
@@ -11464,7 +11464,7 @@ let API$k = class API extends API$x {
11464
11464
  */
11465
11465
  createGroup = request => this.client.fetch({
11466
11466
  body: JSON.stringify(marshalCreateGroupRequest(request, this.client.settings)),
11467
- headers: jsonContentHeaders$j,
11467
+ headers: jsonContentHeaders$k,
11468
11468
  method: 'POST',
11469
11469
  path: `/iam/v1alpha1/groups`
11470
11470
  }, unmarshalGroup);
@@ -11491,7 +11491,7 @@ let API$k = class API extends API$x {
11491
11491
  */
11492
11492
  updateGroup = request => this.client.fetch({
11493
11493
  body: JSON.stringify(marshalUpdateGroupRequest(request, this.client.settings)),
11494
- headers: jsonContentHeaders$j,
11494
+ headers: jsonContentHeaders$k,
11495
11495
  method: 'PATCH',
11496
11496
  path: `/iam/v1alpha1/groups/${validatePathParam('groupId', request.groupId)}`
11497
11497
  }, unmarshalGroup);
@@ -11506,7 +11506,7 @@ let API$k = class API extends API$x {
11506
11506
  */
11507
11507
  setGroupMembers = request => this.client.fetch({
11508
11508
  body: JSON.stringify(marshalSetGroupMembersRequest(request, this.client.settings)),
11509
- headers: jsonContentHeaders$j,
11509
+ headers: jsonContentHeaders$k,
11510
11510
  method: 'PUT',
11511
11511
  path: `/iam/v1alpha1/groups/${validatePathParam('groupId', request.groupId)}/members`
11512
11512
  }, unmarshalGroup);
@@ -11521,7 +11521,7 @@ let API$k = class API extends API$x {
11521
11521
  */
11522
11522
  addGroupMember = request => this.client.fetch({
11523
11523
  body: JSON.stringify(marshalAddGroupMemberRequest(request, this.client.settings)),
11524
- headers: jsonContentHeaders$j,
11524
+ headers: jsonContentHeaders$k,
11525
11525
  method: 'POST',
11526
11526
  path: `/iam/v1alpha1/groups/${validatePathParam('groupId', request.groupId)}/add-member`
11527
11527
  }, unmarshalGroup);
@@ -11539,7 +11539,7 @@ let API$k = class API extends API$x {
11539
11539
  */
11540
11540
  addGroupMembers = request => this.client.fetch({
11541
11541
  body: JSON.stringify(marshalAddGroupMembersRequest(request, this.client.settings)),
11542
- headers: jsonContentHeaders$j,
11542
+ headers: jsonContentHeaders$k,
11543
11543
  method: 'POST',
11544
11544
  path: `/iam/v1alpha1/groups/${validatePathParam('groupId', request.groupId)}/add-members`
11545
11545
  }, unmarshalGroup);
@@ -11558,7 +11558,7 @@ let API$k = class API extends API$x {
11558
11558
  */
11559
11559
  removeGroupMember = request => this.client.fetch({
11560
11560
  body: JSON.stringify(marshalRemoveGroupMemberRequest(request, this.client.settings)),
11561
- headers: jsonContentHeaders$j,
11561
+ headers: jsonContentHeaders$k,
11562
11562
  method: 'POST',
11563
11563
  path: `/iam/v1alpha1/groups/${validatePathParam('groupId', request.groupId)}/remove-member`
11564
11564
  }, unmarshalGroup);
@@ -11604,7 +11604,7 @@ let API$k = class API extends API$x {
11604
11604
  */
11605
11605
  createPolicy = request => this.client.fetch({
11606
11606
  body: JSON.stringify(marshalCreatePolicyRequest(request, this.client.settings)),
11607
- headers: jsonContentHeaders$j,
11607
+ headers: jsonContentHeaders$k,
11608
11608
  method: 'POST',
11609
11609
  path: `/iam/v1alpha1/policies`
11610
11610
  }, unmarshalPolicy);
@@ -11633,7 +11633,7 @@ let API$k = class API extends API$x {
11633
11633
  */
11634
11634
  updatePolicy = request => this.client.fetch({
11635
11635
  body: JSON.stringify(marshalUpdatePolicyRequest(request, this.client.settings)),
11636
- headers: jsonContentHeaders$j,
11636
+ headers: jsonContentHeaders$k,
11637
11637
  method: 'PATCH',
11638
11638
  path: `/iam/v1alpha1/policies/${validatePathParam('policyId', request.policyId)}`
11639
11639
  }, unmarshalPolicy);
@@ -11660,7 +11660,7 @@ let API$k = class API extends API$x {
11660
11660
  */
11661
11661
  clonePolicy = request => this.client.fetch({
11662
11662
  body: '{}',
11663
- headers: jsonContentHeaders$j,
11663
+ headers: jsonContentHeaders$k,
11664
11664
  method: 'POST',
11665
11665
  path: `/iam/v1alpha1/policies/${validatePathParam('policyId', request.policyId)}/clone`
11666
11666
  }, unmarshalPolicy);
@@ -11678,7 +11678,7 @@ let API$k = class API extends API$x {
11678
11678
  */
11679
11679
  setRules = request => this.client.fetch({
11680
11680
  body: JSON.stringify(marshalSetRulesRequest(request, this.client.settings)),
11681
- headers: jsonContentHeaders$j,
11681
+ headers: jsonContentHeaders$k,
11682
11682
  method: 'PUT',
11683
11683
  path: `/iam/v1alpha1/rules`
11684
11684
  }, unmarshalSetRulesResponse);
@@ -11749,7 +11749,7 @@ let API$k = class API extends API$x {
11749
11749
  */
11750
11750
  createAPIKey = request => this.client.fetch({
11751
11751
  body: JSON.stringify(marshalCreateAPIKeyRequest(request, this.client.settings)),
11752
- headers: jsonContentHeaders$j,
11752
+ headers: jsonContentHeaders$k,
11753
11753
  method: 'POST',
11754
11754
  path: `/iam/v1alpha1/api-keys`
11755
11755
  }, unmarshalAPIKey);
@@ -11779,7 +11779,7 @@ let API$k = class API extends API$x {
11779
11779
  */
11780
11780
  updateAPIKey = request => this.client.fetch({
11781
11781
  body: JSON.stringify(marshalUpdateAPIKeyRequest(request, this.client.settings)),
11782
- headers: jsonContentHeaders$j,
11782
+ headers: jsonContentHeaders$k,
11783
11783
  method: 'PATCH',
11784
11784
  path: `/iam/v1alpha1/api-keys/${validatePathParam('accessKey', request.accessKey)}`
11785
11785
  }, unmarshalAPIKey);
@@ -12134,15 +12134,15 @@ var validationRules_gen$7 = /*#__PURE__*/Object.freeze({
12134
12134
  // This file was automatically generated. DO NOT EDIT.
12135
12135
  // If you have any remark or suggestion do not hesitate to open an issue.
12136
12136
 
12137
- var index_gen$j = /*#__PURE__*/Object.freeze({
12137
+ var index_gen$k = /*#__PURE__*/Object.freeze({
12138
12138
  __proto__: null,
12139
- API: API$k,
12139
+ API: API$l,
12140
12140
  ValidationRules: validationRules_gen$7
12141
12141
  });
12142
12142
 
12143
12143
  var index$m = /*#__PURE__*/Object.freeze({
12144
12144
  __proto__: null,
12145
- v1alpha1: index_gen$j
12145
+ v1alpha1: index_gen$k
12146
12146
  });
12147
12147
 
12148
12148
  // This file was automatically generated. DO NOT EDIT.
@@ -13631,12 +13631,12 @@ const marshalUpdateVolumeRequest$1 = (request, defaults) => ({
13631
13631
 
13632
13632
  // This file was automatically generated. DO NOT EDIT.
13633
13633
  // If you have any remark or suggestion do not hesitate to open an issue.
13634
- const jsonContentHeaders$i = {
13634
+ const jsonContentHeaders$j = {
13635
13635
  'Content-Type': 'application/json; charset=utf-8'
13636
13636
  };
13637
13637
 
13638
13638
  /** Instance API. */
13639
- let API$j = class API extends API$x {
13639
+ let API$k = class API extends API$y {
13640
13640
  /** Lists the available zones of the API. */
13641
13641
  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'];
13642
13642
 
@@ -13692,7 +13692,7 @@ let API$j = class API extends API$x {
13692
13692
  listServers = (request = {}) => enrichForPagination('servers', this.pageOfListServers, request);
13693
13693
  _createServer = request => this.client.fetch({
13694
13694
  body: JSON.stringify(marshalCreateServerRequest(request, this.client.settings)),
13695
- headers: jsonContentHeaders$i,
13695
+ headers: jsonContentHeaders$j,
13696
13696
  method: 'POST',
13697
13697
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers`
13698
13698
  }, unmarshalCreateServerResponse);
@@ -13719,13 +13719,13 @@ let API$j = class API extends API$x {
13719
13719
  }, unmarshalGetServerResponse);
13720
13720
  _setServer = request => this.client.fetch({
13721
13721
  body: JSON.stringify(marshalSetServerRequest(request, this.client.settings)),
13722
- headers: jsonContentHeaders$i,
13722
+ headers: jsonContentHeaders$j,
13723
13723
  method: 'PUT',
13724
13724
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('id', request.id)}`
13725
13725
  }, unmarshalSetServerResponse);
13726
13726
  _updateServer = request => this.client.fetch({
13727
13727
  body: JSON.stringify(marshalUpdateServerRequest(request, this.client.settings)),
13728
- headers: jsonContentHeaders$i,
13728
+ headers: jsonContentHeaders$j,
13729
13729
  method: 'PATCH',
13730
13730
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}`
13731
13731
  }, unmarshalUpdateServerResponse);
@@ -13763,7 +13763,7 @@ let API$j = class API extends API$x {
13763
13763
  */
13764
13764
  serverAction = request => this.client.fetch({
13765
13765
  body: JSON.stringify(marshalServerActionRequest(request, this.client.settings)),
13766
- headers: jsonContentHeaders$i,
13766
+ headers: jsonContentHeaders$j,
13767
13767
  method: 'POST',
13768
13768
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/action`
13769
13769
  }, unmarshalServerActionResponse);
@@ -13790,13 +13790,13 @@ let API$j = class API extends API$x {
13790
13790
  });
13791
13791
  attachServerVolume = request => this.client.fetch({
13792
13792
  body: JSON.stringify(marshalAttachServerVolumeRequest(request, this.client.settings)),
13793
- headers: jsonContentHeaders$i,
13793
+ headers: jsonContentHeaders$j,
13794
13794
  method: 'POST',
13795
13795
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/attach-volume`
13796
13796
  }, unmarshalAttachServerVolumeResponse);
13797
13797
  detachServerVolume = request => this.client.fetch({
13798
13798
  body: JSON.stringify(marshalDetachServerVolumeRequest(request, this.client.settings)),
13799
- headers: jsonContentHeaders$i,
13799
+ headers: jsonContentHeaders$j,
13800
13800
  method: 'POST',
13801
13801
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/detach-volume`
13802
13802
  }, unmarshalDetachServerVolumeResponse);
@@ -13834,13 +13834,13 @@ let API$j = class API extends API$x {
13834
13834
  */
13835
13835
  createImage = request => this.client.fetch({
13836
13836
  body: JSON.stringify(marshalCreateImageRequest(request, this.client.settings)),
13837
- headers: jsonContentHeaders$i,
13837
+ headers: jsonContentHeaders$j,
13838
13838
  method: 'POST',
13839
13839
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/images`
13840
13840
  }, unmarshalCreateImageResponse);
13841
13841
  _setImage = request => this.client.fetch({
13842
13842
  body: JSON.stringify(marshalSetImageRequest(request, this.client.settings)),
13843
- headers: jsonContentHeaders$i,
13843
+ headers: jsonContentHeaders$j,
13844
13844
  method: 'PUT',
13845
13845
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/images/${validatePathParam('id', request.id)}`
13846
13846
  }, unmarshalSetImageResponse);
@@ -13853,7 +13853,7 @@ let API$j = class API extends API$x {
13853
13853
  */
13854
13854
  updateImage = request => this.client.fetch({
13855
13855
  body: JSON.stringify(marshalUpdateImageRequest$1(request, this.client.settings)),
13856
- headers: jsonContentHeaders$i,
13856
+ headers: jsonContentHeaders$j,
13857
13857
  method: 'PATCH',
13858
13858
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/images/${validatePathParam('imageId', request.imageId)}`
13859
13859
  }, unmarshalUpdateImageResponse);
@@ -13892,7 +13892,7 @@ let API$j = class API extends API$x {
13892
13892
  */
13893
13893
  createSnapshot = (request = {}) => this.client.fetch({
13894
13894
  body: JSON.stringify(marshalCreateSnapshotRequest$1(request, this.client.settings)),
13895
- headers: jsonContentHeaders$i,
13895
+ headers: jsonContentHeaders$j,
13896
13896
  method: 'POST',
13897
13897
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/snapshots`
13898
13898
  }, unmarshalCreateSnapshotResponse);
@@ -13909,7 +13909,7 @@ let API$j = class API extends API$x {
13909
13909
  }, unmarshalGetSnapshotResponse);
13910
13910
  _setSnapshot = request => this.client.fetch({
13911
13911
  body: JSON.stringify(marshalSetSnapshotRequest(request, this.client.settings)),
13912
- headers: jsonContentHeaders$i,
13912
+ headers: jsonContentHeaders$j,
13913
13913
  method: 'PUT',
13914
13914
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/snapshots/${validatePathParam('snapshotId', request.snapshotId)}`
13915
13915
  }, unmarshalSetSnapshotResponse);
@@ -13922,7 +13922,7 @@ let API$j = class API extends API$x {
13922
13922
  */
13923
13923
  updateSnapshot = request => this.client.fetch({
13924
13924
  body: JSON.stringify(marshalUpdateSnapshotRequest$1(request, this.client.settings)),
13925
- headers: jsonContentHeaders$i,
13925
+ headers: jsonContentHeaders$j,
13926
13926
  method: 'PATCH',
13927
13927
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/snapshots/${validatePathParam('snapshotId', request.snapshotId)}`
13928
13928
  }, unmarshalUpdateSnapshotResponse);
@@ -13946,7 +13946,7 @@ let API$j = class API extends API$x {
13946
13946
  */
13947
13947
  exportSnapshot = request => this.client.fetch({
13948
13948
  body: JSON.stringify(marshalExportSnapshotRequest(request, this.client.settings)),
13949
- headers: jsonContentHeaders$i,
13949
+ headers: jsonContentHeaders$j,
13950
13950
  method: 'POST',
13951
13951
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/snapshots/${validatePathParam('snapshotId', request.snapshotId)}/export`
13952
13952
  }, unmarshalExportSnapshotResponse);
@@ -13974,7 +13974,7 @@ let API$j = class API extends API$x {
13974
13974
  */
13975
13975
  createVolume = (request = {}) => this.client.fetch({
13976
13976
  body: JSON.stringify(marshalCreateVolumeRequest$1(request, this.client.settings)),
13977
- headers: jsonContentHeaders$i,
13977
+ headers: jsonContentHeaders$j,
13978
13978
  method: 'POST',
13979
13979
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/volumes`
13980
13980
  }, unmarshalCreateVolumeResponse);
@@ -14000,7 +14000,7 @@ let API$j = class API extends API$x {
14000
14000
  */
14001
14001
  updateVolume = request => this.client.fetch({
14002
14002
  body: JSON.stringify(marshalUpdateVolumeRequest$1(request, this.client.settings)),
14003
- headers: jsonContentHeaders$i,
14003
+ headers: jsonContentHeaders$j,
14004
14004
  method: 'PATCH',
14005
14005
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/volumes/${validatePathParam('volumeId', request.volumeId)}`
14006
14006
  }, unmarshalUpdateVolumeResponse);
@@ -14037,7 +14037,7 @@ let API$j = class API extends API$x {
14037
14037
  */
14038
14038
  createSecurityGroup = request => this.client.fetch({
14039
14039
  body: JSON.stringify(marshalCreateSecurityGroupRequest(request, this.client.settings)),
14040
- headers: jsonContentHeaders$i,
14040
+ headers: jsonContentHeaders$j,
14041
14041
  method: 'POST',
14042
14042
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/security_groups`
14043
14043
  }, unmarshalCreateSecurityGroupResponse);
@@ -14065,7 +14065,7 @@ let API$j = class API extends API$x {
14065
14065
  });
14066
14066
  _setSecurityGroup = request => this.client.fetch({
14067
14067
  body: JSON.stringify(marshalSetSecurityGroupRequest(request, this.client.settings)),
14068
- headers: jsonContentHeaders$i,
14068
+ headers: jsonContentHeaders$j,
14069
14069
  method: 'PUT',
14070
14070
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/security_groups/${validatePathParam('id', request.id)}`
14071
14071
  }, unmarshalSetSecurityGroupResponse);
@@ -14078,7 +14078,7 @@ let API$j = class API extends API$x {
14078
14078
  */
14079
14079
  updateSecurityGroup = request => this.client.fetch({
14080
14080
  body: JSON.stringify(marshalUpdateSecurityGroupRequest(request, this.client.settings)),
14081
- headers: jsonContentHeaders$i,
14081
+ headers: jsonContentHeaders$j,
14082
14082
  method: 'PATCH',
14083
14083
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/security_groups/${validatePathParam('securityGroupId', request.securityGroupId)}`
14084
14084
  }, unmarshalUpdateSecurityGroupResponse);
@@ -14116,7 +14116,7 @@ let API$j = class API extends API$x {
14116
14116
  */
14117
14117
  createSecurityGroupRule = request => this.client.fetch({
14118
14118
  body: JSON.stringify(marshalCreateSecurityGroupRuleRequest(request, this.client.settings)),
14119
- headers: jsonContentHeaders$i,
14119
+ headers: jsonContentHeaders$j,
14120
14120
  method: 'POST',
14121
14121
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/security_groups/${validatePathParam('securityGroupId', request.securityGroupId)}/rules`
14122
14122
  }, unmarshalCreateSecurityGroupRuleResponse);
@@ -14132,7 +14132,7 @@ let API$j = class API extends API$x {
14132
14132
  */
14133
14133
  setSecurityGroupRules = request => this.client.fetch({
14134
14134
  body: JSON.stringify(marshalSetSecurityGroupRulesRequest(request, this.client.settings)),
14135
- headers: jsonContentHeaders$i,
14135
+ headers: jsonContentHeaders$j,
14136
14136
  method: 'PUT',
14137
14137
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/security_groups/${validatePathParam('securityGroupId', request.securityGroupId)}/rules`
14138
14138
  }, unmarshalSetSecurityGroupRulesResponse);
@@ -14159,7 +14159,7 @@ let API$j = class API extends API$x {
14159
14159
  }, unmarshalGetSecurityGroupRuleResponse);
14160
14160
  _setSecurityGroupRule = request => this.client.fetch({
14161
14161
  body: JSON.stringify(marshalSetSecurityGroupRuleRequest(request, this.client.settings)),
14162
- headers: jsonContentHeaders$i,
14162
+ headers: jsonContentHeaders$j,
14163
14163
  method: 'PUT',
14164
14164
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/security_groups/${validatePathParam('securityGroupId', request.securityGroupId)}/rules/${validatePathParam('securityGroupRuleId', request.securityGroupRuleId)}`
14165
14165
  }, unmarshalSetSecurityGroupRuleResponse);
@@ -14173,7 +14173,7 @@ let API$j = class API extends API$x {
14173
14173
  */
14174
14174
  updateSecurityGroupRule = request => this.client.fetch({
14175
14175
  body: JSON.stringify(marshalUpdateSecurityGroupRuleRequest(request, this.client.settings)),
14176
- headers: jsonContentHeaders$i,
14176
+ headers: jsonContentHeaders$j,
14177
14177
  method: 'PATCH',
14178
14178
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/security_groups/${validatePathParam('securityGroupId', request.securityGroupId)}/rules/${validatePathParam('securityGroupRuleId', request.securityGroupRuleId)}`
14179
14179
  }, unmarshalUpdateSecurityGroupRuleResponse);
@@ -14201,7 +14201,7 @@ let API$j = class API extends API$x {
14201
14201
  */
14202
14202
  createPlacementGroup = (request = {}) => this.client.fetch({
14203
14203
  body: JSON.stringify(marshalCreatePlacementGroupRequest(request, this.client.settings)),
14204
- headers: jsonContentHeaders$i,
14204
+ headers: jsonContentHeaders$j,
14205
14205
  method: 'POST',
14206
14206
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/placement_groups`
14207
14207
  }, unmarshalCreatePlacementGroupResponse);
@@ -14225,7 +14225,7 @@ let API$j = class API extends API$x {
14225
14225
  */
14226
14226
  setPlacementGroup = request => this.client.fetch({
14227
14227
  body: JSON.stringify(marshalSetPlacementGroupRequest(request, this.client.settings)),
14228
- headers: jsonContentHeaders$i,
14228
+ headers: jsonContentHeaders$j,
14229
14229
  method: 'PUT',
14230
14230
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/placement_groups/${validatePathParam('placementGroupId', request.placementGroupId)}`
14231
14231
  }, unmarshalSetPlacementGroupResponse);
@@ -14239,7 +14239,7 @@ let API$j = class API extends API$x {
14239
14239
  */
14240
14240
  updatePlacementGroup = request => this.client.fetch({
14241
14241
  body: JSON.stringify(marshalUpdatePlacementGroupRequest(request, this.client.settings)),
14242
- headers: jsonContentHeaders$i,
14242
+ headers: jsonContentHeaders$j,
14243
14243
  method: 'PATCH',
14244
14244
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/placement_groups/${validatePathParam('placementGroupId', request.placementGroupId)}`
14245
14245
  }, unmarshalUpdatePlacementGroupResponse);
@@ -14275,7 +14275,7 @@ let API$j = class API extends API$x {
14275
14275
  */
14276
14276
  setPlacementGroupServers = request => this.client.fetch({
14277
14277
  body: JSON.stringify(marshalSetPlacementGroupServersRequest(request, this.client.settings)),
14278
- headers: jsonContentHeaders$i,
14278
+ headers: jsonContentHeaders$j,
14279
14279
  method: 'PUT',
14280
14280
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/placement_groups/${validatePathParam('placementGroupId', request.placementGroupId)}/servers`
14281
14281
  }, unmarshalSetPlacementGroupServersResponse);
@@ -14289,7 +14289,7 @@ let API$j = class API extends API$x {
14289
14289
  */
14290
14290
  updatePlacementGroupServers = request => this.client.fetch({
14291
14291
  body: JSON.stringify(marshalUpdatePlacementGroupServersRequest(request, this.client.settings)),
14292
- headers: jsonContentHeaders$i,
14292
+ headers: jsonContentHeaders$j,
14293
14293
  method: 'PATCH',
14294
14294
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/placement_groups/${validatePathParam('placementGroupId', request.placementGroupId)}/servers`
14295
14295
  }, unmarshalUpdatePlacementGroupServersResponse);
@@ -14316,7 +14316,7 @@ let API$j = class API extends API$x {
14316
14316
  */
14317
14317
  createIp = (request = {}) => this.client.fetch({
14318
14318
  body: JSON.stringify(marshalCreateIpRequest$1(request, this.client.settings)),
14319
- headers: jsonContentHeaders$i,
14319
+ headers: jsonContentHeaders$j,
14320
14320
  method: 'POST',
14321
14321
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/ips`
14322
14322
  }, unmarshalCreateIpResponse);
@@ -14341,7 +14341,7 @@ let API$j = class API extends API$x {
14341
14341
  */
14342
14342
  updateIp = request => this.client.fetch({
14343
14343
  body: JSON.stringify(marshalUpdateIpRequest$1(request, this.client.settings)),
14344
- headers: jsonContentHeaders$i,
14344
+ headers: jsonContentHeaders$j,
14345
14345
  method: 'PATCH',
14346
14346
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/ips/${validatePathParam('ip', request.ip)}`
14347
14347
  }, unmarshalUpdateIpResponse);
@@ -14377,7 +14377,7 @@ let API$j = class API extends API$x {
14377
14377
  */
14378
14378
  createPrivateNIC = request => this.client.fetch({
14379
14379
  body: JSON.stringify(marshalCreatePrivateNICRequest(request, this.client.settings)),
14380
- headers: jsonContentHeaders$i,
14380
+ headers: jsonContentHeaders$j,
14381
14381
  method: 'POST',
14382
14382
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/private_nics`
14383
14383
  }, unmarshalCreatePrivateNICResponse);
@@ -14402,7 +14402,7 @@ let API$j = class API extends API$x {
14402
14402
  */
14403
14403
  updatePrivateNIC = request => this.client.fetch({
14404
14404
  body: JSON.stringify(marshalUpdatePrivateNICRequest(request, this.client.settings)),
14405
- headers: jsonContentHeaders$i,
14405
+ headers: jsonContentHeaders$j,
14406
14406
  method: 'PATCH',
14407
14407
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/private_nics/${validatePathParam('privateNicId', request.privateNicId)}`
14408
14408
  }, unmarshalPrivateNIC);
@@ -14462,7 +14462,7 @@ let API$j = class API extends API$x {
14462
14462
  */
14463
14463
  planBlockMigration = (request = {}) => this.client.fetch({
14464
14464
  body: JSON.stringify(marshalPlanBlockMigrationRequest(request, this.client.settings)),
14465
- headers: jsonContentHeaders$i,
14465
+ headers: jsonContentHeaders$j,
14466
14466
  method: 'POST',
14467
14467
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/block-migration/plan`
14468
14468
  }, unmarshalMigrationPlan);
@@ -14477,7 +14477,7 @@ let API$j = class API extends API$x {
14477
14477
  */
14478
14478
  applyBlockMigration = request => this.client.fetch({
14479
14479
  body: JSON.stringify(marshalApplyBlockMigrationRequest(request, this.client.settings)),
14480
- headers: jsonContentHeaders$i,
14480
+ headers: jsonContentHeaders$j,
14481
14481
  method: 'POST',
14482
14482
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/block-migration/apply`
14483
14483
  });
@@ -14520,7 +14520,7 @@ const validateNotUndefined = obj => {
14520
14520
  if (obj === undefined) throw new TypeError(`object was found undefined`);
14521
14521
  return obj;
14522
14522
  };
14523
- class InstanceV1UtilsAPI extends API$j {
14523
+ class InstanceV1UtilsAPI extends API$k {
14524
14524
  /**
14525
14525
  * Waits for {@link Image} to be in a final state.
14526
14526
  *
@@ -15214,7 +15214,7 @@ const marshalUpdateRouteRequest$1 = (request, defaults) => ({
15214
15214
 
15215
15215
  // This file was automatically generated. DO NOT EDIT.
15216
15216
  // If you have any remark or suggestion do not hesitate to open an issue.
15217
- const jsonContentHeaders$h = {
15217
+ const jsonContentHeaders$i = {
15218
15218
  'Content-Type': 'application/json; charset=utf-8'
15219
15219
  };
15220
15220
 
@@ -15223,7 +15223,7 @@ const jsonContentHeaders$h = {
15223
15223
  *
15224
15224
  * This API allows you to manage IoT hubs and devices.
15225
15225
  */
15226
- let API$i = class API extends API$x {
15226
+ let API$j = class API extends API$y {
15227
15227
  /** Lists the available regions of the API. */
15228
15228
  static LOCALITIES = ['fr-par'];
15229
15229
  pageOfListHubs = (request = {}) => this.client.fetch({
@@ -15251,7 +15251,7 @@ let API$i = class API extends API$x {
15251
15251
  */
15252
15252
  createHub = request => this.client.fetch({
15253
15253
  body: JSON.stringify(marshalCreateHubRequest(request, this.client.settings)),
15254
- headers: jsonContentHeaders$h,
15254
+ headers: jsonContentHeaders$i,
15255
15255
  method: 'POST',
15256
15256
  path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/hubs`
15257
15257
  }, unmarshalHub);
@@ -15287,7 +15287,7 @@ let API$i = class API extends API$x {
15287
15287
  */
15288
15288
  updateHub = request => this.client.fetch({
15289
15289
  body: JSON.stringify(marshalUpdateHubRequest(request, this.client.settings)),
15290
- headers: jsonContentHeaders$h,
15290
+ headers: jsonContentHeaders$i,
15291
15291
  method: 'PATCH',
15292
15292
  path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/hubs/${validatePathParam('hubId', request.hubId)}`
15293
15293
  }, unmarshalHub);
@@ -15300,7 +15300,7 @@ let API$i = class API extends API$x {
15300
15300
  */
15301
15301
  enableHub = request => this.client.fetch({
15302
15302
  body: '{}',
15303
- headers: jsonContentHeaders$h,
15303
+ headers: jsonContentHeaders$i,
15304
15304
  method: 'POST',
15305
15305
  path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/hubs/${validatePathParam('hubId', request.hubId)}/enable`
15306
15306
  }, unmarshalHub);
@@ -15313,7 +15313,7 @@ let API$i = class API extends API$x {
15313
15313
  */
15314
15314
  disableHub = request => this.client.fetch({
15315
15315
  body: '{}',
15316
- headers: jsonContentHeaders$h,
15316
+ headers: jsonContentHeaders$i,
15317
15317
  method: 'POST',
15318
15318
  path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/hubs/${validatePathParam('hubId', request.hubId)}/disable`
15319
15319
  }, unmarshalHub);
@@ -15353,7 +15353,7 @@ let API$i = class API extends API$x {
15353
15353
  */
15354
15354
  setHubCA = request => this.client.fetch({
15355
15355
  body: JSON.stringify(marshalSetHubCARequest(request, this.client.settings)),
15356
- headers: jsonContentHeaders$h,
15356
+ headers: jsonContentHeaders$i,
15357
15357
  method: 'POST',
15358
15358
  path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/hubs/${validatePathParam('hubId', request.hubId)}/ca`
15359
15359
  }, unmarshalHub);
@@ -15393,7 +15393,7 @@ let API$i = class API extends API$x {
15393
15393
  */
15394
15394
  createDevice = request => this.client.fetch({
15395
15395
  body: JSON.stringify(marshalCreateDeviceRequest(request, this.client.settings)),
15396
- headers: jsonContentHeaders$h,
15396
+ headers: jsonContentHeaders$i,
15397
15397
  method: 'POST',
15398
15398
  path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/devices`
15399
15399
  }, unmarshalCreateDeviceResponse);
@@ -15420,7 +15420,7 @@ let API$i = class API extends API$x {
15420
15420
  */
15421
15421
  updateDevice = request => this.client.fetch({
15422
15422
  body: JSON.stringify(marshalUpdateDeviceRequest(request, this.client.settings)),
15423
- headers: jsonContentHeaders$h,
15423
+ headers: jsonContentHeaders$i,
15424
15424
  method: 'PATCH',
15425
15425
  path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/devices/${validatePathParam('deviceId', request.deviceId)}`
15426
15426
  }, unmarshalDevice);
@@ -15433,7 +15433,7 @@ let API$i = class API extends API$x {
15433
15433
  */
15434
15434
  enableDevice = request => this.client.fetch({
15435
15435
  body: '{}',
15436
- headers: jsonContentHeaders$h,
15436
+ headers: jsonContentHeaders$i,
15437
15437
  method: 'POST',
15438
15438
  path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/devices/${validatePathParam('deviceId', request.deviceId)}/enable`
15439
15439
  }, unmarshalDevice);
@@ -15446,7 +15446,7 @@ let API$i = class API extends API$x {
15446
15446
  */
15447
15447
  disableDevice = request => this.client.fetch({
15448
15448
  body: '{}',
15449
- headers: jsonContentHeaders$h,
15449
+ headers: jsonContentHeaders$i,
15450
15450
  method: 'POST',
15451
15451
  path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/devices/${validatePathParam('deviceId', request.deviceId)}/disable`
15452
15452
  }, unmarshalDevice);
@@ -15460,7 +15460,7 @@ let API$i = class API extends API$x {
15460
15460
  */
15461
15461
  renewDeviceCertificate = request => this.client.fetch({
15462
15462
  body: '{}',
15463
- headers: jsonContentHeaders$h,
15463
+ headers: jsonContentHeaders$i,
15464
15464
  method: 'POST',
15465
15465
  path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/devices/${validatePathParam('deviceId', request.deviceId)}/renew-certificate`
15466
15466
  }, unmarshalRenewDeviceCertificateResponse);
@@ -15474,7 +15474,7 @@ let API$i = class API extends API$x {
15474
15474
  */
15475
15475
  setDeviceCertificate = request => this.client.fetch({
15476
15476
  body: JSON.stringify(marshalSetDeviceCertificateRequest(request, this.client.settings)),
15477
- headers: jsonContentHeaders$h,
15477
+ headers: jsonContentHeaders$i,
15478
15478
  method: 'PUT',
15479
15479
  path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/devices/${validatePathParam('deviceId', request.deviceId)}/certificate`
15480
15480
  }, unmarshalSetDeviceCertificateResponse);
@@ -15549,7 +15549,7 @@ let API$i = class API extends API$x {
15549
15549
  */
15550
15550
  createRoute = request => this.client.fetch({
15551
15551
  body: JSON.stringify(marshalCreateRouteRequest$1(request, this.client.settings)),
15552
- headers: jsonContentHeaders$h,
15552
+ headers: jsonContentHeaders$i,
15553
15553
  method: 'POST',
15554
15554
  path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/routes`
15555
15555
  }, unmarshalRoute$1);
@@ -15563,7 +15563,7 @@ let API$i = class API extends API$x {
15563
15563
  */
15564
15564
  updateRoute = request => this.client.fetch({
15565
15565
  body: JSON.stringify(marshalUpdateRouteRequest$1(request, this.client.settings)),
15566
- headers: jsonContentHeaders$h,
15566
+ headers: jsonContentHeaders$i,
15567
15567
  method: 'PATCH',
15568
15568
  path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/routes/${validatePathParam('routeId', request.routeId)}`
15569
15569
  }, unmarshalRoute$1);
@@ -15615,7 +15615,7 @@ let API$i = class API extends API$x {
15615
15615
  */
15616
15616
  createNetwork = request => this.client.fetch({
15617
15617
  body: JSON.stringify(marshalCreateNetworkRequest(request, this.client.settings)),
15618
- headers: jsonContentHeaders$h,
15618
+ headers: jsonContentHeaders$i,
15619
15619
  method: 'POST',
15620
15620
  path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/networks`
15621
15621
  }, unmarshalCreateNetworkResponse);
@@ -15663,7 +15663,7 @@ let API$i = class API extends API$x {
15663
15663
  */
15664
15664
  putTwinDocument = request => this.client.fetch({
15665
15665
  body: JSON.stringify(marshalPutTwinDocumentRequest(request, this.client.settings)),
15666
- headers: jsonContentHeaders$h,
15666
+ headers: jsonContentHeaders$i,
15667
15667
  method: 'PUT',
15668
15668
  path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/twins/${validatePathParam('twinId', request.twinId)}/documents/${validatePathParam('documentName', request.documentName)}`
15669
15669
  }, unmarshalTwinDocument);
@@ -15676,7 +15676,7 @@ let API$i = class API extends API$x {
15676
15676
  */
15677
15677
  patchTwinDocument = request => this.client.fetch({
15678
15678
  body: JSON.stringify(marshalPatchTwinDocumentRequest(request, this.client.settings)),
15679
- headers: jsonContentHeaders$h,
15679
+ headers: jsonContentHeaders$i,
15680
15680
  method: 'PATCH',
15681
15681
  path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/twins/${validatePathParam('twinId', request.twinId)}/documents/${validatePathParam('documentName', request.documentName)}`
15682
15682
  }, unmarshalTwinDocument);
@@ -15716,15 +15716,15 @@ let API$i = class API extends API$x {
15716
15716
  // This file was automatically generated. DO NOT EDIT.
15717
15717
  // If you have any remark or suggestion do not hesitate to open an issue.
15718
15718
 
15719
- var index_gen$i = /*#__PURE__*/Object.freeze({
15719
+ var index_gen$j = /*#__PURE__*/Object.freeze({
15720
15720
  __proto__: null,
15721
- API: API$i,
15721
+ API: API$j,
15722
15722
  HUB_TRANSIENT_STATUSES: HUB_TRANSIENT_STATUSES
15723
15723
  });
15724
15724
 
15725
15725
  var index$j = /*#__PURE__*/Object.freeze({
15726
15726
  __proto__: null,
15727
- v1: index_gen$i
15727
+ v1: index_gen$j
15728
15728
  });
15729
15729
 
15730
15730
  // This file was automatically generated. DO NOT EDIT.
@@ -15817,7 +15817,7 @@ const marshalUpdateIPRequest$1 = (request, defaults) => ({
15817
15817
 
15818
15818
  // This file was automatically generated. DO NOT EDIT.
15819
15819
  // If you have any remark or suggestion do not hesitate to open an issue.
15820
- const jsonContentHeaders$g = {
15820
+ const jsonContentHeaders$h = {
15821
15821
  'Content-Type': 'application/json; charset=utf-8'
15822
15822
  };
15823
15823
 
@@ -15827,7 +15827,7 @@ const jsonContentHeaders$g = {
15827
15827
  * This API allows you to manage IP addresses with Scaleway's IP Address
15828
15828
  * Management tool.
15829
15829
  */
15830
- let API$h = class API extends API$x {
15830
+ let API$i = class API extends API$y {
15831
15831
  /** Lists the available regions of the API. */
15832
15832
  static LOCALITIES = ['fr-par', 'nl-ams', 'pl-waw'];
15833
15833
 
@@ -15840,7 +15840,7 @@ let API$h = class API extends API$x {
15840
15840
  */
15841
15841
  bookIP = request => this.client.fetch({
15842
15842
  body: JSON.stringify(marshalBookIPRequest(request, this.client.settings)),
15843
- headers: jsonContentHeaders$g,
15843
+ headers: jsonContentHeaders$h,
15844
15844
  method: 'POST',
15845
15845
  path: `/ipam/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/ips`
15846
15846
  }, unmarshalIP$1);
@@ -15853,7 +15853,7 @@ let API$h = class API extends API$x {
15853
15853
  */
15854
15854
  releaseIP = request => this.client.fetch({
15855
15855
  body: '{}',
15856
- headers: jsonContentHeaders$g,
15856
+ headers: jsonContentHeaders$h,
15857
15857
  method: 'DELETE',
15858
15858
  path: `/ipam/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/ips/${validatePathParam('ipId', request.ipId)}`
15859
15859
  });
@@ -15877,7 +15877,7 @@ let API$h = class API extends API$x {
15877
15877
  */
15878
15878
  updateIP = request => this.client.fetch({
15879
15879
  body: JSON.stringify(marshalUpdateIPRequest$1(request, this.client.settings)),
15880
- headers: jsonContentHeaders$g,
15880
+ headers: jsonContentHeaders$h,
15881
15881
  method: 'PATCH',
15882
15882
  path: `/ipam/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/ips/${validatePathParam('ipId', request.ipId)}`
15883
15883
  }, unmarshalIP$1);
@@ -15924,15 +15924,15 @@ var validationRules_gen$6 = /*#__PURE__*/Object.freeze({
15924
15924
  // This file was automatically generated. DO NOT EDIT.
15925
15925
  // If you have any remark or suggestion do not hesitate to open an issue.
15926
15926
 
15927
- var index_gen$h = /*#__PURE__*/Object.freeze({
15927
+ var index_gen$i = /*#__PURE__*/Object.freeze({
15928
15928
  __proto__: null,
15929
- API: API$h,
15929
+ API: API$i,
15930
15930
  ValidationRules: validationRules_gen$6
15931
15931
  });
15932
15932
 
15933
15933
  var index$i = /*#__PURE__*/Object.freeze({
15934
15934
  __proto__: null,
15935
- v1: index_gen$h
15935
+ v1: index_gen$i
15936
15936
  });
15937
15937
 
15938
15938
  // This file was automatically generated. DO NOT EDIT.
@@ -16115,12 +16115,12 @@ const marshalUpdateVolumeRequest = (request, defaults) => ({
16115
16115
 
16116
16116
  // This file was automatically generated. DO NOT EDIT.
16117
16117
  // If you have any remark or suggestion do not hesitate to open an issue.
16118
- const jsonContentHeaders$f = {
16118
+ const jsonContentHeaders$g = {
16119
16119
  'Content-Type': 'application/json; charset=utf-8'
16120
16120
  };
16121
16121
 
16122
16122
  /** IPFS Pinning service API. */
16123
- let API$g = class API extends API$x {
16123
+ let API$h = class API extends API$y {
16124
16124
  /** Lists the available regions of the API. */
16125
16125
  static LOCALITIES = ['fr-par', 'nl-ams', 'pl-waw'];
16126
16126
 
@@ -16136,7 +16136,7 @@ let API$g = class API extends API$x {
16136
16136
  */
16137
16137
  createVolume = request => this.client.fetch({
16138
16138
  body: JSON.stringify(marshalCreateVolumeRequest(request, this.client.settings)),
16139
- headers: jsonContentHeaders$f,
16139
+ headers: jsonContentHeaders$g,
16140
16140
  method: 'POST',
16141
16141
  path: `/ipfs/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/volumes`
16142
16142
  }, unmarshalVolume$1);
@@ -16175,7 +16175,7 @@ let API$g = class API extends API$x {
16175
16175
  */
16176
16176
  updateVolume = request => this.client.fetch({
16177
16177
  body: JSON.stringify(marshalUpdateVolumeRequest(request, this.client.settings)),
16178
- headers: jsonContentHeaders$f,
16178
+ headers: jsonContentHeaders$g,
16179
16179
  method: 'PATCH',
16180
16180
  path: `/ipfs/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/volumes/${validatePathParam('volumeId', request.volumeId)}`
16181
16181
  }, unmarshalVolume$1);
@@ -16206,7 +16206,7 @@ let API$g = class API extends API$x {
16206
16206
  */
16207
16207
  createPinByURL = request => this.client.fetch({
16208
16208
  body: JSON.stringify(marshalCreatePinByURLRequest(request, this.client.settings)),
16209
- headers: jsonContentHeaders$f,
16209
+ headers: jsonContentHeaders$g,
16210
16210
  method: 'POST',
16211
16211
  path: `/ipfs/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/pins/create-by-url`
16212
16212
  }, unmarshalPin);
@@ -16225,7 +16225,7 @@ let API$g = class API extends API$x {
16225
16225
  */
16226
16226
  createPinByCID = request => this.client.fetch({
16227
16227
  body: JSON.stringify(marshalCreatePinByCIDRequest(request, this.client.settings)),
16228
- headers: jsonContentHeaders$f,
16228
+ headers: jsonContentHeaders$g,
16229
16229
  method: 'POST',
16230
16230
  path: `/ipfs/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/pins/create-by-cid`
16231
16231
  }, unmarshalPin);
@@ -16246,7 +16246,7 @@ let API$g = class API extends API$x {
16246
16246
  */
16247
16247
  replacePin = request => this.client.fetch({
16248
16248
  body: JSON.stringify(marshalReplacePinRequest(request, this.client.settings)),
16249
- headers: jsonContentHeaders$f,
16249
+ headers: jsonContentHeaders$g,
16250
16250
  method: 'POST',
16251
16251
  path: `/ipfs/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/pins/${validatePathParam('pinId', request.pinId)}/replace`
16252
16252
  }, unmarshalReplacePinResponse);
@@ -16302,7 +16302,7 @@ let API$g = class API extends API$x {
16302
16302
  };
16303
16303
 
16304
16304
  /** IPFS Naming service API. */
16305
- class IpnsAPI extends API$x {
16305
+ class IpnsAPI extends API$y {
16306
16306
  /** Lists the available regions of the API. */
16307
16307
  static LOCALITIES = ['fr-par', 'nl-ams', 'pl-waw'];
16308
16308
 
@@ -16315,7 +16315,7 @@ class IpnsAPI extends API$x {
16315
16315
  */
16316
16316
  createName = request => this.client.fetch({
16317
16317
  body: JSON.stringify(marshalIpnsApiCreateNameRequest(request, this.client.settings)),
16318
- headers: jsonContentHeaders$f,
16318
+ headers: jsonContentHeaders$g,
16319
16319
  method: 'POST',
16320
16320
  path: `/ipfs/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/names`
16321
16321
  }, unmarshalName);
@@ -16372,7 +16372,7 @@ class IpnsAPI extends API$x {
16372
16372
  */
16373
16373
  updateName = request => this.client.fetch({
16374
16374
  body: JSON.stringify(marshalIpnsApiUpdateNameRequest(request, this.client.settings)),
16375
- headers: jsonContentHeaders$f,
16375
+ headers: jsonContentHeaders$g,
16376
16376
  method: 'PATCH',
16377
16377
  path: `/ipfs/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/names/${validatePathParam('nameId', request.nameId)}`
16378
16378
  }, unmarshalName);
@@ -16396,7 +16396,7 @@ class IpnsAPI extends API$x {
16396
16396
  */
16397
16397
  importKeyName = request => this.client.fetch({
16398
16398
  body: JSON.stringify(marshalIpnsApiImportKeyNameRequest(request, this.client.settings)),
16399
- headers: jsonContentHeaders$f,
16399
+ headers: jsonContentHeaders$g,
16400
16400
  method: 'POST',
16401
16401
  path: `/ipfs/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/names/import-key`
16402
16402
  }, unmarshalName);
@@ -16405,9 +16405,9 @@ class IpnsAPI extends API$x {
16405
16405
  // This file was automatically generated. DO NOT EDIT.
16406
16406
  // If you have any remark or suggestion do not hesitate to open an issue.
16407
16407
 
16408
- var index_gen$g = /*#__PURE__*/Object.freeze({
16408
+ var index_gen$h = /*#__PURE__*/Object.freeze({
16409
16409
  __proto__: null,
16410
- API: API$g,
16410
+ API: API$h,
16411
16411
  IpnsAPI: IpnsAPI,
16412
16412
  NAME_TRANSIENT_STATUSES: NAME_TRANSIENT_STATUSES,
16413
16413
  PIN_TRANSIENT_STATUSES: PIN_TRANSIENT_STATUSES
@@ -16415,7 +16415,7 @@ var index_gen$g = /*#__PURE__*/Object.freeze({
16415
16415
 
16416
16416
  var index$h = /*#__PURE__*/Object.freeze({
16417
16417
  __proto__: null,
16418
- v1alpha1: index_gen$g
16418
+ v1alpha1: index_gen$h
16419
16419
  });
16420
16420
 
16421
16421
  // This file was automatically generated. DO NOT EDIT.
@@ -16540,12 +16540,12 @@ const marshalUpdateJobDefinitionRequest = (request, defaults) => ({
16540
16540
 
16541
16541
  // This file was automatically generated. DO NOT EDIT.
16542
16542
  // If you have any remark or suggestion do not hesitate to open an issue.
16543
- const jsonContentHeaders$e = {
16543
+ const jsonContentHeaders$f = {
16544
16544
  'Content-Type': 'application/json; charset=utf-8'
16545
16545
  };
16546
16546
 
16547
16547
  /** Serverless Jobs API. */
16548
- let API$f = class API extends API$x {
16548
+ let API$g = class API extends API$y {
16549
16549
  /** Lists the available regions of the API. */
16550
16550
  static LOCALITIES = ['fr-par', 'nl-ams', 'pl-waw'];
16551
16551
 
@@ -16557,7 +16557,7 @@ let API$f = class API extends API$x {
16557
16557
  */
16558
16558
  createJobDefinition = request => this.client.fetch({
16559
16559
  body: JSON.stringify(marshalCreateJobDefinitionRequest(request, this.client.settings)),
16560
- headers: jsonContentHeaders$e,
16560
+ headers: jsonContentHeaders$f,
16561
16561
  method: 'POST',
16562
16562
  path: `/serverless-jobs/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/job-definitions`
16563
16563
  }, unmarshalJobDefinition);
@@ -16595,7 +16595,7 @@ let API$f = class API extends API$x {
16595
16595
  */
16596
16596
  updateJobDefinition = request => this.client.fetch({
16597
16597
  body: JSON.stringify(marshalUpdateJobDefinitionRequest(request, this.client.settings)),
16598
- headers: jsonContentHeaders$e,
16598
+ headers: jsonContentHeaders$f,
16599
16599
  method: 'PATCH',
16600
16600
  path: `/serverless-jobs/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/job-definitions/${validatePathParam('jobDefinitionId', request.jobDefinitionId)}`
16601
16601
  }, unmarshalJobDefinition);
@@ -16619,7 +16619,7 @@ let API$f = class API extends API$x {
16619
16619
  */
16620
16620
  startJobDefinition = request => this.client.fetch({
16621
16621
  body: JSON.stringify(marshalStartJobDefinitionRequest(request, this.client.settings)),
16622
- headers: jsonContentHeaders$e,
16622
+ headers: jsonContentHeaders$f,
16623
16623
  method: 'POST',
16624
16624
  path: `/serverless-jobs/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/job-definitions/${validatePathParam('jobDefinitionId', request.jobDefinitionId)}/start`
16625
16625
  }, unmarshalStartJobDefinitionResponse);
@@ -16643,7 +16643,7 @@ let API$f = class API extends API$x {
16643
16643
  */
16644
16644
  stopJobRun = request => this.client.fetch({
16645
16645
  body: '{}',
16646
- headers: jsonContentHeaders$e,
16646
+ headers: jsonContentHeaders$f,
16647
16647
  method: 'POST',
16648
16648
  path: `/serverless-jobs/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/job-runs/${validatePathParam('jobRunId', request.jobRunId)}/stop`
16649
16649
  }, unmarshalJobRun);
@@ -16774,16 +16774,16 @@ var validationRules_gen$5 = /*#__PURE__*/Object.freeze({
16774
16774
  // This file was automatically generated. DO NOT EDIT.
16775
16775
  // If you have any remark or suggestion do not hesitate to open an issue.
16776
16776
 
16777
- var index_gen$f = /*#__PURE__*/Object.freeze({
16777
+ var index_gen$g = /*#__PURE__*/Object.freeze({
16778
16778
  __proto__: null,
16779
- API: API$f,
16779
+ API: API$g,
16780
16780
  JOB_RUN_TRANSIENT_STATUSES: JOB_RUN_TRANSIENT_STATUSES,
16781
16781
  ValidationRules: validationRules_gen$5
16782
16782
  });
16783
16783
 
16784
16784
  var index$g = /*#__PURE__*/Object.freeze({
16785
16785
  __proto__: null,
16786
- v1alpha1: index_gen$f
16786
+ v1alpha1: index_gen$g
16787
16787
  });
16788
16788
 
16789
16789
  // This file was automatically generated. DO NOT EDIT.
@@ -17225,12 +17225,12 @@ const marshalUpgradePoolRequest = (request, defaults) => ({
17225
17225
 
17226
17226
  // This file was automatically generated. DO NOT EDIT.
17227
17227
  // If you have any remark or suggestion do not hesitate to open an issue.
17228
- const jsonContentHeaders$d = {
17228
+ const jsonContentHeaders$e = {
17229
17229
  'Content-Type': 'application/json; charset=utf-8'
17230
17230
  };
17231
17231
 
17232
17232
  /** Kubernetes API. */
17233
- let API$e = class API extends API$x {
17233
+ let API$f = class API extends API$y {
17234
17234
  /** Lists the available regions of the API. */
17235
17235
  static LOCALITIES = ['fr-par', 'nl-ams', 'pl-waw'];
17236
17236
  pageOfListClusters = (request = {}) => this.client.fetch({
@@ -17255,7 +17255,7 @@ let API$e = class API extends API$x {
17255
17255
  */
17256
17256
  createCluster = request => this.client.fetch({
17257
17257
  body: JSON.stringify(marshalCreateClusterRequest$1(request, this.client.settings)),
17258
- headers: jsonContentHeaders$d,
17258
+ headers: jsonContentHeaders$e,
17259
17259
  method: 'POST',
17260
17260
  path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/clusters`
17261
17261
  }, unmarshalCluster$1);
@@ -17290,7 +17290,7 @@ let API$e = class API extends API$x {
17290
17290
  */
17291
17291
  updateCluster = request => this.client.fetch({
17292
17292
  body: JSON.stringify(marshalUpdateClusterRequest$1(request, this.client.settings)),
17293
- headers: jsonContentHeaders$d,
17293
+ headers: jsonContentHeaders$e,
17294
17294
  method: 'PATCH',
17295
17295
  path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/clusters/${validatePathParam('clusterId', request.clusterId)}`
17296
17296
  }, unmarshalCluster$1);
@@ -17318,7 +17318,7 @@ let API$e = class API extends API$x {
17318
17318
  */
17319
17319
  upgradeCluster = request => this.client.fetch({
17320
17320
  body: JSON.stringify(marshalUpgradeClusterRequest(request, this.client.settings)),
17321
- headers: jsonContentHeaders$d,
17321
+ headers: jsonContentHeaders$e,
17322
17322
  method: 'POST',
17323
17323
  path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/clusters/${validatePathParam('clusterId', request.clusterId)}/upgrade`
17324
17324
  }, unmarshalCluster$1);
@@ -17334,7 +17334,7 @@ let API$e = class API extends API$x {
17334
17334
  */
17335
17335
  setClusterType = request => this.client.fetch({
17336
17336
  body: JSON.stringify(marshalSetClusterTypeRequest(request, this.client.settings)),
17337
- headers: jsonContentHeaders$d,
17337
+ headers: jsonContentHeaders$e,
17338
17338
  method: 'POST',
17339
17339
  path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/clusters/${validatePathParam('clusterId', request.clusterId)}/set-type`
17340
17340
  }, unmarshalCluster$1);
@@ -17382,7 +17382,7 @@ let API$e = class API extends API$x {
17382
17382
  */
17383
17383
  resetClusterAdminToken = request => this.client.fetch({
17384
17384
  body: '{}',
17385
- headers: jsonContentHeaders$d,
17385
+ headers: jsonContentHeaders$e,
17386
17386
  method: 'POST',
17387
17387
  path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/clusters/${validatePathParam('clusterId', request.clusterId)}/reset-admin-token`
17388
17388
  });
@@ -17397,7 +17397,7 @@ let API$e = class API extends API$x {
17397
17397
  */
17398
17398
  migrateToPrivateNetworkCluster = request => this.client.fetch({
17399
17399
  body: JSON.stringify(marshalMigrateToPrivateNetworkClusterRequest(request, this.client.settings)),
17400
- headers: jsonContentHeaders$d,
17400
+ headers: jsonContentHeaders$e,
17401
17401
  method: 'POST',
17402
17402
  path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/clusters/${validatePathParam('clusterId', request.clusterId)}/migrate-to-private-network`
17403
17403
  }, unmarshalCluster$1);
@@ -17425,7 +17425,7 @@ let API$e = class API extends API$x {
17425
17425
  */
17426
17426
  createPool = request => this.client.fetch({
17427
17427
  body: JSON.stringify(marshalCreatePoolRequest(request, this.client.settings)),
17428
- headers: jsonContentHeaders$d,
17428
+ headers: jsonContentHeaders$e,
17429
17429
  method: 'POST',
17430
17430
  path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/clusters/${validatePathParam('clusterId', request.clusterId)}/pools`
17431
17431
  }, unmarshalPool);
@@ -17461,7 +17461,7 @@ let API$e = class API extends API$x {
17461
17461
  */
17462
17462
  upgradePool = request => this.client.fetch({
17463
17463
  body: JSON.stringify(marshalUpgradePoolRequest(request, this.client.settings)),
17464
- headers: jsonContentHeaders$d,
17464
+ headers: jsonContentHeaders$e,
17465
17465
  method: 'POST',
17466
17466
  path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/pools/${validatePathParam('poolId', request.poolId)}/upgrade`
17467
17467
  }, unmarshalPool);
@@ -17475,7 +17475,7 @@ let API$e = class API extends API$x {
17475
17475
  */
17476
17476
  updatePool = request => this.client.fetch({
17477
17477
  body: JSON.stringify(marshalUpdatePoolRequest(request, this.client.settings)),
17478
- headers: jsonContentHeaders$d,
17478
+ headers: jsonContentHeaders$e,
17479
17479
  method: 'PATCH',
17480
17480
  path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/pools/${validatePathParam('poolId', request.poolId)}`
17481
17481
  }, unmarshalPool);
@@ -17502,7 +17502,7 @@ let API$e = class API extends API$x {
17502
17502
  */
17503
17503
  createExternalNode = request => this.client.fetch({
17504
17504
  body: '{}',
17505
- headers: jsonContentHeaders$d,
17505
+ headers: jsonContentHeaders$e,
17506
17506
  method: 'POST',
17507
17507
  path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/pools/${validatePathParam('poolId', request.poolId)}/external-nodes`
17508
17508
  }, unmarshalExternalNode);
@@ -17555,7 +17555,7 @@ let API$e = class API extends API$x {
17555
17555
  */
17556
17556
  replaceNode = request => this.client.fetch({
17557
17557
  body: '{}',
17558
- headers: jsonContentHeaders$d,
17558
+ headers: jsonContentHeaders$e,
17559
17559
  method: 'POST',
17560
17560
  path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/nodes/${validatePathParam('nodeId', request.nodeId)}/replace`
17561
17561
  }, unmarshalNode);
@@ -17572,7 +17572,7 @@ let API$e = class API extends API$x {
17572
17572
  */
17573
17573
  rebootNode = request => this.client.fetch({
17574
17574
  body: '{}',
17575
- headers: jsonContentHeaders$d,
17575
+ headers: jsonContentHeaders$e,
17576
17576
  method: 'POST',
17577
17577
  path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/nodes/${validatePathParam('nodeId', request.nodeId)}/reboot`
17578
17578
  }, unmarshalNode);
@@ -17629,7 +17629,7 @@ let API$e = class API extends API$x {
17629
17629
  listClusterTypes = (request = {}) => enrichForPagination('clusterTypes', this.pageOfListClusterTypes, request);
17630
17630
  };
17631
17631
 
17632
- class K8SUtilsAPI extends API$e {
17632
+ class K8SUtilsAPI extends API$f {
17633
17633
  /**
17634
17634
  * Get configuration of a kube cluster.
17635
17635
  *
@@ -18828,7 +18828,7 @@ const marshalZonedApiUpdateSubscriberRequest = (request, defaults) => ({
18828
18828
 
18829
18829
  // This file was automatically generated. DO NOT EDIT.
18830
18830
  // If you have any remark or suggestion do not hesitate to open an issue.
18831
- const jsonContentHeaders$c = {
18831
+ const jsonContentHeaders$d = {
18832
18832
  'Content-Type': 'application/json; charset=utf-8'
18833
18833
  };
18834
18834
 
@@ -18837,7 +18837,7 @@ const jsonContentHeaders$c = {
18837
18837
  *
18838
18838
  * This API allows you to manage your Scaleway Load Balancer services.
18839
18839
  */
18840
- class ZonedAPI extends API$x {
18840
+ class ZonedAPI extends API$y {
18841
18841
  /** Lists the available zones of the API. */
18842
18842
  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'];
18843
18843
  pageOfListLbs = (request = {}) => this.client.fetch({
@@ -18867,7 +18867,7 @@ class ZonedAPI extends API$x {
18867
18867
  */
18868
18868
  createLb = request => this.client.fetch({
18869
18869
  body: JSON.stringify(marshalZonedApiCreateLbRequest(request, this.client.settings)),
18870
- headers: jsonContentHeaders$c,
18870
+ headers: jsonContentHeaders$d,
18871
18871
  method: 'POST',
18872
18872
  path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/lbs`
18873
18873
  }, unmarshalLb);
@@ -18904,7 +18904,7 @@ class ZonedAPI extends API$x {
18904
18904
  */
18905
18905
  updateLb = request => this.client.fetch({
18906
18906
  body: JSON.stringify(marshalZonedApiUpdateLbRequest(request, this.client.settings)),
18907
- headers: jsonContentHeaders$c,
18907
+ headers: jsonContentHeaders$d,
18908
18908
  method: 'PUT',
18909
18909
  path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/lbs/${validatePathParam('lbId', request.lbId)}`
18910
18910
  }, unmarshalLb);
@@ -18933,7 +18933,7 @@ class ZonedAPI extends API$x {
18933
18933
  */
18934
18934
  migrateLb = request => this.client.fetch({
18935
18935
  body: JSON.stringify(marshalZonedApiMigrateLbRequest(request, this.client.settings)),
18936
- headers: jsonContentHeaders$c,
18936
+ headers: jsonContentHeaders$d,
18937
18937
  method: 'POST',
18938
18938
  path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/lbs/${validatePathParam('lbId', request.lbId)}/migrate`
18939
18939
  }, unmarshalLb);
@@ -18963,7 +18963,7 @@ class ZonedAPI extends API$x {
18963
18963
  */
18964
18964
  createIp = request => this.client.fetch({
18965
18965
  body: JSON.stringify(marshalZonedApiCreateIpRequest(request, this.client.settings)),
18966
- headers: jsonContentHeaders$c,
18966
+ headers: jsonContentHeaders$d,
18967
18967
  method: 'POST',
18968
18968
  path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/ips`
18969
18969
  }, unmarshalIp);
@@ -19000,7 +19000,7 @@ class ZonedAPI extends API$x {
19000
19000
  */
19001
19001
  updateIp = request => this.client.fetch({
19002
19002
  body: JSON.stringify(marshalZonedApiUpdateIpRequest(request, this.client.settings)),
19003
- headers: jsonContentHeaders$c,
19003
+ headers: jsonContentHeaders$d,
19004
19004
  method: 'PATCH',
19005
19005
  path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/ips/${validatePathParam('ipId', request.ipId)}`
19006
19006
  }, unmarshalIp);
@@ -19033,7 +19033,7 @@ class ZonedAPI extends API$x {
19033
19033
  */
19034
19034
  createBackend = request => this.client.fetch({
19035
19035
  body: JSON.stringify(marshalZonedApiCreateBackendRequest(request, this.client.settings)),
19036
- headers: jsonContentHeaders$c,
19036
+ headers: jsonContentHeaders$d,
19037
19037
  method: 'POST',
19038
19038
  path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/lbs/${validatePathParam('lbId', request.lbId)}/backends`
19039
19039
  }, unmarshalBackend);
@@ -19062,7 +19062,7 @@ class ZonedAPI extends API$x {
19062
19062
  */
19063
19063
  updateBackend = request => this.client.fetch({
19064
19064
  body: JSON.stringify(marshalZonedApiUpdateBackendRequest(request, this.client.settings)),
19065
- headers: jsonContentHeaders$c,
19065
+ headers: jsonContentHeaders$d,
19066
19066
  method: 'PUT',
19067
19067
  path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/backends/${validatePathParam('backendId', request.backendId)}`
19068
19068
  }, unmarshalBackend);
@@ -19090,7 +19090,7 @@ class ZonedAPI extends API$x {
19090
19090
  */
19091
19091
  addBackendServers = request => this.client.fetch({
19092
19092
  body: JSON.stringify(marshalZonedApiAddBackendServersRequest(request, this.client.settings)),
19093
- headers: jsonContentHeaders$c,
19093
+ headers: jsonContentHeaders$d,
19094
19094
  method: 'POST',
19095
19095
  path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/backends/${validatePathParam('backendId', request.backendId)}/servers`
19096
19096
  }, unmarshalBackend);
@@ -19105,7 +19105,7 @@ class ZonedAPI extends API$x {
19105
19105
  */
19106
19106
  removeBackendServers = request => this.client.fetch({
19107
19107
  body: JSON.stringify(marshalZonedApiRemoveBackendServersRequest(request, this.client.settings)),
19108
- headers: jsonContentHeaders$c,
19108
+ headers: jsonContentHeaders$d,
19109
19109
  method: 'DELETE',
19110
19110
  path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/backends/${validatePathParam('backendId', request.backendId)}/servers`
19111
19111
  }, unmarshalBackend);
@@ -19121,7 +19121,7 @@ class ZonedAPI extends API$x {
19121
19121
  */
19122
19122
  setBackendServers = request => this.client.fetch({
19123
19123
  body: JSON.stringify(marshalZonedApiSetBackendServersRequest(request, this.client.settings)),
19124
- headers: jsonContentHeaders$c,
19124
+ headers: jsonContentHeaders$d,
19125
19125
  method: 'PUT',
19126
19126
  path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/backends/${validatePathParam('backendId', request.backendId)}/servers`
19127
19127
  }, unmarshalBackend);
@@ -19137,7 +19137,7 @@ class ZonedAPI extends API$x {
19137
19137
  */
19138
19138
  updateHealthCheck = request => this.client.fetch({
19139
19139
  body: JSON.stringify(marshalZonedApiUpdateHealthCheckRequest(request, this.client.settings)),
19140
- headers: jsonContentHeaders$c,
19140
+ headers: jsonContentHeaders$d,
19141
19141
  method: 'PUT',
19142
19142
  path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/backends/${validatePathParam('backendId', request.backendId)}/healthcheck`
19143
19143
  }, unmarshalHealthCheck);
@@ -19170,7 +19170,7 @@ class ZonedAPI extends API$x {
19170
19170
  */
19171
19171
  createFrontend = request => this.client.fetch({
19172
19172
  body: JSON.stringify(marshalZonedApiCreateFrontendRequest(request, this.client.settings)),
19173
- headers: jsonContentHeaders$c,
19173
+ headers: jsonContentHeaders$d,
19174
19174
  method: 'POST',
19175
19175
  path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/lbs/${validatePathParam('lbId', request.lbId)}/frontends`
19176
19176
  }, unmarshalFrontend);
@@ -19200,7 +19200,7 @@ class ZonedAPI extends API$x {
19200
19200
  */
19201
19201
  updateFrontend = request => this.client.fetch({
19202
19202
  body: JSON.stringify(marshalZonedApiUpdateFrontendRequest(request, this.client.settings)),
19203
- headers: jsonContentHeaders$c,
19203
+ headers: jsonContentHeaders$d,
19204
19204
  method: 'PUT',
19205
19205
  path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/frontends/${validatePathParam('frontendId', request.frontendId)}`
19206
19206
  }, unmarshalFrontend);
@@ -19242,7 +19242,7 @@ class ZonedAPI extends API$x {
19242
19242
  */
19243
19243
  createRoute = request => this.client.fetch({
19244
19244
  body: JSON.stringify(marshalZonedApiCreateRouteRequest(request, this.client.settings)),
19245
- headers: jsonContentHeaders$c,
19245
+ headers: jsonContentHeaders$d,
19246
19246
  method: 'POST',
19247
19247
  path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/routes`
19248
19248
  }, unmarshalRoute);
@@ -19269,7 +19269,7 @@ class ZonedAPI extends API$x {
19269
19269
  */
19270
19270
  updateRoute = request => this.client.fetch({
19271
19271
  body: JSON.stringify(marshalZonedApiUpdateRouteRequest(request, this.client.settings)),
19272
- headers: jsonContentHeaders$c,
19272
+ headers: jsonContentHeaders$d,
19273
19273
  method: 'PUT',
19274
19274
  path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/routes/${validatePathParam('routeId', request.routeId)}`
19275
19275
  }, unmarshalRoute);
@@ -19339,7 +19339,7 @@ class ZonedAPI extends API$x {
19339
19339
  */
19340
19340
  createAcl = request => this.client.fetch({
19341
19341
  body: JSON.stringify(marshalZonedApiCreateAclRequest(request, this.client.settings)),
19342
- headers: jsonContentHeaders$c,
19342
+ headers: jsonContentHeaders$d,
19343
19343
  method: 'POST',
19344
19344
  path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/frontends/${validatePathParam('frontendId', request.frontendId)}/acls`
19345
19345
  }, unmarshalAcl);
@@ -19366,7 +19366,7 @@ class ZonedAPI extends API$x {
19366
19366
  */
19367
19367
  updateAcl = request => this.client.fetch({
19368
19368
  body: JSON.stringify(marshalZonedApiUpdateAclRequest(request, this.client.settings)),
19369
- headers: jsonContentHeaders$c,
19369
+ headers: jsonContentHeaders$d,
19370
19370
  method: 'PUT',
19371
19371
  path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/acls/${validatePathParam('aclId', request.aclId)}`
19372
19372
  }, unmarshalAcl);
@@ -19392,7 +19392,7 @@ class ZonedAPI extends API$x {
19392
19392
  */
19393
19393
  setAcls = request => this.client.fetch({
19394
19394
  body: JSON.stringify(marshalZonedApiSetAclsRequest(request, this.client.settings)),
19395
- headers: jsonContentHeaders$c,
19395
+ headers: jsonContentHeaders$d,
19396
19396
  method: 'PUT',
19397
19397
  path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/frontends/${validatePathParam('frontendId', request.frontendId)}/acls`
19398
19398
  }, unmarshalSetAclsResponse);
@@ -19407,7 +19407,7 @@ class ZonedAPI extends API$x {
19407
19407
  */
19408
19408
  createCertificate = request => this.client.fetch({
19409
19409
  body: JSON.stringify(marshalZonedApiCreateCertificateRequest(request, this.client.settings)),
19410
- headers: jsonContentHeaders$c,
19410
+ headers: jsonContentHeaders$d,
19411
19411
  method: 'POST',
19412
19412
  path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/lbs/${validatePathParam('lbId', request.lbId)}/certificates`
19413
19413
  }, unmarshalCertificate);
@@ -19460,7 +19460,7 @@ class ZonedAPI extends API$x {
19460
19460
  */
19461
19461
  updateCertificate = request => this.client.fetch({
19462
19462
  body: JSON.stringify(marshalZonedApiUpdateCertificateRequest(request, this.client.settings)),
19463
- headers: jsonContentHeaders$c,
19463
+ headers: jsonContentHeaders$d,
19464
19464
  method: 'PUT',
19465
19465
  path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/certificates/${validatePathParam('certificateId', request.certificateId)}`
19466
19466
  }, unmarshalCertificate);
@@ -19502,7 +19502,7 @@ class ZonedAPI extends API$x {
19502
19502
  */
19503
19503
  createSubscriber = request => this.client.fetch({
19504
19504
  body: JSON.stringify(marshalZonedApiCreateSubscriberRequest(request, this.client.settings)),
19505
- headers: jsonContentHeaders$c,
19505
+ headers: jsonContentHeaders$d,
19506
19506
  method: 'POST',
19507
19507
  path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/subscribers`
19508
19508
  }, unmarshalSubscriber);
@@ -19546,7 +19546,7 @@ class ZonedAPI extends API$x {
19546
19546
  */
19547
19547
  updateSubscriber = request => this.client.fetch({
19548
19548
  body: JSON.stringify(marshalZonedApiUpdateSubscriberRequest(request, this.client.settings)),
19549
- headers: jsonContentHeaders$c,
19549
+ headers: jsonContentHeaders$d,
19550
19550
  method: 'PUT',
19551
19551
  path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/subscribers/${validatePathParam('subscriberId', request.subscriberId)}`
19552
19552
  }, unmarshalSubscriber);
@@ -19571,7 +19571,7 @@ class ZonedAPI extends API$x {
19571
19571
  */
19572
19572
  subscribeToLb = request => this.client.fetch({
19573
19573
  body: JSON.stringify(marshalZonedApiSubscribeToLbRequest(request, this.client.settings)),
19574
- headers: jsonContentHeaders$c,
19574
+ headers: jsonContentHeaders$d,
19575
19575
  method: 'POST',
19576
19576
  path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/lb/${validatePathParam('lbId', request.lbId)}/subscribe`
19577
19577
  }, unmarshalLb);
@@ -19616,7 +19616,7 @@ class ZonedAPI extends API$x {
19616
19616
  */
19617
19617
  attachPrivateNetwork = request => this.client.fetch({
19618
19618
  body: JSON.stringify(marshalZonedApiAttachPrivateNetworkRequest(request, this.client.settings)),
19619
- headers: jsonContentHeaders$c,
19619
+ headers: jsonContentHeaders$d,
19620
19620
  method: 'POST',
19621
19621
  path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/lbs/${validatePathParam('lbId', request.lbId)}/private-networks/${validatePathParam('privateNetworkId', request.privateNetworkId)}/attach`
19622
19622
  }, unmarshalPrivateNetwork$3);
@@ -19629,7 +19629,7 @@ class ZonedAPI extends API$x {
19629
19629
  */
19630
19630
  detachPrivateNetwork = request => this.client.fetch({
19631
19631
  body: '{}',
19632
- headers: jsonContentHeaders$c,
19632
+ headers: jsonContentHeaders$d,
19633
19633
  method: 'POST',
19634
19634
  path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/lbs/${validatePathParam('lbId', request.lbId)}/private-networks/${validatePathParam('privateNetworkId', request.privateNetworkId)}/detach`
19635
19635
  });
@@ -19640,7 +19640,7 @@ class ZonedAPI extends API$x {
19640
19640
  *
19641
19641
  * This API allows you to manage your load balancer service.
19642
19642
  */
19643
- let API$d = class API extends API$x {
19643
+ let API$e = class API extends API$y {
19644
19644
  /** Lists the available regions of the API. */
19645
19645
  static LOCALITIES = ['fr-par', 'nl-ams', 'pl-waw'];
19646
19646
  pageOfListLbs = (request = {}) => this.client.fetch({
@@ -19665,7 +19665,7 @@ let API$d = class API extends API$x {
19665
19665
  */
19666
19666
  createLb = request => this.client.fetch({
19667
19667
  body: JSON.stringify(marshalCreateLbRequest(request, this.client.settings)),
19668
- headers: jsonContentHeaders$c,
19668
+ headers: jsonContentHeaders$d,
19669
19669
  method: 'POST',
19670
19670
  path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/lbs`
19671
19671
  }, unmarshalLb);
@@ -19698,7 +19698,7 @@ let API$d = class API extends API$x {
19698
19698
  */
19699
19699
  updateLb = request => this.client.fetch({
19700
19700
  body: JSON.stringify(marshalUpdateLbRequest(request, this.client.settings)),
19701
- headers: jsonContentHeaders$c,
19701
+ headers: jsonContentHeaders$d,
19702
19702
  method: 'PUT',
19703
19703
  path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/lbs/${validatePathParam('lbId', request.lbId)}`
19704
19704
  }, unmarshalLb);
@@ -19722,7 +19722,7 @@ let API$d = class API extends API$x {
19722
19722
  */
19723
19723
  migrateLb = request => this.client.fetch({
19724
19724
  body: JSON.stringify(marshalMigrateLbRequest(request, this.client.settings)),
19725
- headers: jsonContentHeaders$c,
19725
+ headers: jsonContentHeaders$d,
19726
19726
  method: 'POST',
19727
19727
  path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/lbs/${validatePathParam('lbId', request.lbId)}/migrate`
19728
19728
  }, unmarshalLb);
@@ -19748,7 +19748,7 @@ let API$d = class API extends API$x {
19748
19748
  */
19749
19749
  createIp = request => this.client.fetch({
19750
19750
  body: JSON.stringify(marshalCreateIpRequest(request, this.client.settings)),
19751
- headers: jsonContentHeaders$c,
19751
+ headers: jsonContentHeaders$d,
19752
19752
  method: 'POST',
19753
19753
  path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/ips`
19754
19754
  }, unmarshalIp);
@@ -19782,7 +19782,7 @@ let API$d = class API extends API$x {
19782
19782
  */
19783
19783
  updateIp = request => this.client.fetch({
19784
19784
  body: JSON.stringify(marshalUpdateIpRequest(request, this.client.settings)),
19785
- headers: jsonContentHeaders$c,
19785
+ headers: jsonContentHeaders$d,
19786
19786
  method: 'PATCH',
19787
19787
  path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/ips/${validatePathParam('ipId', request.ipId)}`
19788
19788
  }, unmarshalIp);
@@ -19808,7 +19808,7 @@ let API$d = class API extends API$x {
19808
19808
  */
19809
19809
  createBackend = request => this.client.fetch({
19810
19810
  body: JSON.stringify(marshalCreateBackendRequest(request, this.client.settings)),
19811
- headers: jsonContentHeaders$c,
19811
+ headers: jsonContentHeaders$d,
19812
19812
  method: 'POST',
19813
19813
  path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/lbs/${validatePathParam('lbId', request.lbId)}/backends`
19814
19814
  }, unmarshalBackend);
@@ -19832,7 +19832,7 @@ let API$d = class API extends API$x {
19832
19832
  */
19833
19833
  updateBackend = request => this.client.fetch({
19834
19834
  body: JSON.stringify(marshalUpdateBackendRequest(request, this.client.settings)),
19835
- headers: jsonContentHeaders$c,
19835
+ headers: jsonContentHeaders$d,
19836
19836
  method: 'PUT',
19837
19837
  path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/backends/${validatePathParam('backendId', request.backendId)}`
19838
19838
  }, unmarshalBackend);
@@ -19855,7 +19855,7 @@ let API$d = class API extends API$x {
19855
19855
  */
19856
19856
  addBackendServers = request => this.client.fetch({
19857
19857
  body: JSON.stringify(marshalAddBackendServersRequest(request, this.client.settings)),
19858
- headers: jsonContentHeaders$c,
19858
+ headers: jsonContentHeaders$d,
19859
19859
  method: 'POST',
19860
19860
  path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/backends/${validatePathParam('backendId', request.backendId)}/servers`
19861
19861
  }, unmarshalBackend);
@@ -19868,7 +19868,7 @@ let API$d = class API extends API$x {
19868
19868
  */
19869
19869
  removeBackendServers = request => this.client.fetch({
19870
19870
  body: JSON.stringify(marshalRemoveBackendServersRequest(request, this.client.settings)),
19871
- headers: jsonContentHeaders$c,
19871
+ headers: jsonContentHeaders$d,
19872
19872
  method: 'DELETE',
19873
19873
  path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/backends/${validatePathParam('backendId', request.backendId)}/servers`
19874
19874
  }, unmarshalBackend);
@@ -19881,7 +19881,7 @@ let API$d = class API extends API$x {
19881
19881
  */
19882
19882
  setBackendServers = request => this.client.fetch({
19883
19883
  body: JSON.stringify(marshalSetBackendServersRequest(request, this.client.settings)),
19884
- headers: jsonContentHeaders$c,
19884
+ headers: jsonContentHeaders$d,
19885
19885
  method: 'PUT',
19886
19886
  path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/backends/${validatePathParam('backendId', request.backendId)}/servers`
19887
19887
  }, unmarshalBackend);
@@ -19894,7 +19894,7 @@ let API$d = class API extends API$x {
19894
19894
  */
19895
19895
  updateHealthCheck = request => this.client.fetch({
19896
19896
  body: JSON.stringify(marshalUpdateHealthCheckRequest(request, this.client.settings)),
19897
- headers: jsonContentHeaders$c,
19897
+ headers: jsonContentHeaders$d,
19898
19898
  method: 'PUT',
19899
19899
  path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/backends/${validatePathParam('backendId', request.backendId)}/healthcheck`
19900
19900
  }, unmarshalHealthCheck);
@@ -19920,7 +19920,7 @@ let API$d = class API extends API$x {
19920
19920
  */
19921
19921
  createFrontend = request => this.client.fetch({
19922
19922
  body: JSON.stringify(marshalCreateFrontendRequest(request, this.client.settings)),
19923
- headers: jsonContentHeaders$c,
19923
+ headers: jsonContentHeaders$d,
19924
19924
  method: 'POST',
19925
19925
  path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/lbs/${validatePathParam('lbId', request.lbId)}/frontends`
19926
19926
  }, unmarshalFrontend);
@@ -19944,7 +19944,7 @@ let API$d = class API extends API$x {
19944
19944
  */
19945
19945
  updateFrontend = request => this.client.fetch({
19946
19946
  body: JSON.stringify(marshalUpdateFrontendRequest(request, this.client.settings)),
19947
- headers: jsonContentHeaders$c,
19947
+ headers: jsonContentHeaders$d,
19948
19948
  method: 'PUT',
19949
19949
  path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/frontends/${validatePathParam('frontendId', request.frontendId)}`
19950
19950
  }, unmarshalFrontend);
@@ -19980,7 +19980,7 @@ let API$d = class API extends API$x {
19980
19980
  */
19981
19981
  createRoute = request => this.client.fetch({
19982
19982
  body: JSON.stringify(marshalCreateRouteRequest(request, this.client.settings)),
19983
- headers: jsonContentHeaders$c,
19983
+ headers: jsonContentHeaders$d,
19984
19984
  method: 'POST',
19985
19985
  path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/routes`
19986
19986
  }, unmarshalRoute);
@@ -20004,7 +20004,7 @@ let API$d = class API extends API$x {
20004
20004
  */
20005
20005
  updateRoute = request => this.client.fetch({
20006
20006
  body: JSON.stringify(marshalUpdateRouteRequest(request, this.client.settings)),
20007
- headers: jsonContentHeaders$c,
20007
+ headers: jsonContentHeaders$d,
20008
20008
  method: 'PUT',
20009
20009
  path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/routes/${validatePathParam('routeId', request.routeId)}`
20010
20010
  }, unmarshalRoute);
@@ -20066,7 +20066,7 @@ let API$d = class API extends API$x {
20066
20066
  */
20067
20067
  createAcl = request => this.client.fetch({
20068
20068
  body: JSON.stringify(marshalCreateAclRequest(request, this.client.settings)),
20069
- headers: jsonContentHeaders$c,
20069
+ headers: jsonContentHeaders$d,
20070
20070
  method: 'POST',
20071
20071
  path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/frontends/${validatePathParam('frontendId', request.frontendId)}/acls`
20072
20072
  }, unmarshalAcl);
@@ -20090,7 +20090,7 @@ let API$d = class API extends API$x {
20090
20090
  */
20091
20091
  updateAcl = request => this.client.fetch({
20092
20092
  body: JSON.stringify(marshalUpdateAclRequest(request, this.client.settings)),
20093
- headers: jsonContentHeaders$c,
20093
+ headers: jsonContentHeaders$d,
20094
20094
  method: 'PUT',
20095
20095
  path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/acls/${validatePathParam('aclId', request.aclId)}`
20096
20096
  }, unmarshalAcl);
@@ -20114,7 +20114,7 @@ let API$d = class API extends API$x {
20114
20114
  */
20115
20115
  createCertificate = request => this.client.fetch({
20116
20116
  body: JSON.stringify(marshalCreateCertificateRequest(request, this.client.settings)),
20117
- headers: jsonContentHeaders$c,
20117
+ headers: jsonContentHeaders$d,
20118
20118
  method: 'POST',
20119
20119
  path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/lbs/${validatePathParam('lbId', request.lbId)}/certificates`
20120
20120
  }, unmarshalCertificate);
@@ -20160,7 +20160,7 @@ let API$d = class API extends API$x {
20160
20160
  */
20161
20161
  updateCertificate = request => this.client.fetch({
20162
20162
  body: JSON.stringify(marshalUpdateCertificateRequest(request, this.client.settings)),
20163
- headers: jsonContentHeaders$c,
20163
+ headers: jsonContentHeaders$d,
20164
20164
  method: 'PUT',
20165
20165
  path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/certificates/${validatePathParam('certificateId', request.certificateId)}`
20166
20166
  }, unmarshalCertificate);
@@ -20196,7 +20196,7 @@ let API$d = class API extends API$x {
20196
20196
  */
20197
20197
  createSubscriber = request => this.client.fetch({
20198
20198
  body: JSON.stringify(marshalCreateSubscriberRequest(request, this.client.settings)),
20199
- headers: jsonContentHeaders$c,
20199
+ headers: jsonContentHeaders$d,
20200
20200
  method: 'POST',
20201
20201
  path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/subscribers`
20202
20202
  }, unmarshalSubscriber);
@@ -20233,7 +20233,7 @@ let API$d = class API extends API$x {
20233
20233
  */
20234
20234
  updateSubscriber = request => this.client.fetch({
20235
20235
  body: JSON.stringify(marshalUpdateSubscriberRequest(request, this.client.settings)),
20236
- headers: jsonContentHeaders$c,
20236
+ headers: jsonContentHeaders$d,
20237
20237
  method: 'PUT',
20238
20238
  path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/subscribers/${validatePathParam('subscriberId', request.subscriberId)}`
20239
20239
  }, unmarshalSubscriber);
@@ -20256,7 +20256,7 @@ let API$d = class API extends API$x {
20256
20256
  */
20257
20257
  subscribeToLb = request => this.client.fetch({
20258
20258
  body: JSON.stringify(marshalSubscribeToLbRequest(request, this.client.settings)),
20259
- headers: jsonContentHeaders$c,
20259
+ headers: jsonContentHeaders$d,
20260
20260
  method: 'POST',
20261
20261
  path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/lb/${validatePathParam('lbId', request.lbId)}/subscribe`
20262
20262
  }, unmarshalLb);
@@ -20293,7 +20293,7 @@ let API$d = class API extends API$x {
20293
20293
  */
20294
20294
  attachPrivateNetwork = request => this.client.fetch({
20295
20295
  body: JSON.stringify(marshalAttachPrivateNetworkRequest(request, this.client.settings)),
20296
- headers: jsonContentHeaders$c,
20296
+ headers: jsonContentHeaders$d,
20297
20297
  method: 'POST',
20298
20298
  path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/lbs/${validatePathParam('lbId', request.lbId)}/private-networks/${validatePathParam('privateNetworkId', request.privateNetworkId)}/attach`
20299
20299
  }, unmarshalPrivateNetwork$3);
@@ -20305,13 +20305,13 @@ let API$d = class API extends API$x {
20305
20305
  */
20306
20306
  detachPrivateNetwork = request => this.client.fetch({
20307
20307
  body: '{}',
20308
- headers: jsonContentHeaders$c,
20308
+ headers: jsonContentHeaders$d,
20309
20309
  method: 'POST',
20310
20310
  path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/lbs/${validatePathParam('lbId', request.lbId)}/private-networks/${validatePathParam('privateNetworkId', request.privateNetworkId)}/detach`
20311
20311
  });
20312
20312
  };
20313
20313
 
20314
- class LbV1UtilsAPI extends API$d {
20314
+ class LbV1UtilsAPI extends API$e {
20315
20315
  /**
20316
20316
  * Waits for all private networks of a load balancer to be in a final state.
20317
20317
  *
@@ -20476,7 +20476,7 @@ const unmarshalListImagesResponse$2 = data => {
20476
20476
  // This file was automatically generated. DO NOT EDIT.
20477
20477
  // If you have any remark or suggestion do not hesitate to open an issue.
20478
20478
  /** Marketplace API. */
20479
- let API$c = class API extends API$x {
20479
+ let API$d = class API extends API$y {
20480
20480
  pageOfListImages = (request = {}) => this.client.fetch({
20481
20481
  method: 'GET',
20482
20482
  path: `/marketplace/v1/images`,
@@ -20506,9 +20506,9 @@ let API$c = class API extends API$x {
20506
20506
  // This file was automatically generated. DO NOT EDIT.
20507
20507
  // If you have any remark or suggestion do not hesitate to open an issue.
20508
20508
 
20509
- var index_gen$e = /*#__PURE__*/Object.freeze({
20509
+ var index_gen$f = /*#__PURE__*/Object.freeze({
20510
20510
  __proto__: null,
20511
- API: API$c
20511
+ API: API$d
20512
20512
  });
20513
20513
 
20514
20514
  // This file was automatically generated. DO NOT EDIT.
@@ -20604,7 +20604,7 @@ const unmarshalListVersionsResponse = data => {
20604
20604
  // This file was automatically generated. DO NOT EDIT.
20605
20605
  // If you have any remark or suggestion do not hesitate to open an issue.
20606
20606
  /** Marketplace API. */
20607
- let API$b = class API extends API$x {
20607
+ let API$c = class API extends API$y {
20608
20608
  pageOfListImages = request => this.client.fetch({
20609
20609
  method: 'GET',
20610
20610
  path: `/marketplace/v2/images`,
@@ -20728,15 +20728,15 @@ let API$b = class API extends API$x {
20728
20728
  // This file was automatically generated. DO NOT EDIT.
20729
20729
  // If you have any remark or suggestion do not hesitate to open an issue.
20730
20730
 
20731
- var index_gen$d = /*#__PURE__*/Object.freeze({
20731
+ var index_gen$e = /*#__PURE__*/Object.freeze({
20732
20732
  __proto__: null,
20733
- API: API$b
20733
+ API: API$c
20734
20734
  });
20735
20735
 
20736
20736
  var index$b = /*#__PURE__*/Object.freeze({
20737
20737
  __proto__: null,
20738
- v1: index_gen$e,
20739
- v2: index_gen$d
20738
+ v1: index_gen$f,
20739
+ v2: index_gen$e
20740
20740
  });
20741
20741
 
20742
20742
  // This file was automatically generated. DO NOT EDIT.
@@ -20948,7 +20948,7 @@ const marshalSqsApiUpdateSqsCredentialsRequest = (request, defaults) => ({
20948
20948
 
20949
20949
  // This file was automatically generated. DO NOT EDIT.
20950
20950
  // If you have any remark or suggestion do not hesitate to open an issue.
20951
- const jsonContentHeaders$b = {
20951
+ const jsonContentHeaders$c = {
20952
20952
  'Content-Type': 'application/json; charset=utf-8'
20953
20953
  };
20954
20954
 
@@ -20957,9 +20957,9 @@ const jsonContentHeaders$b = {
20957
20957
  *
20958
20958
  * This API allows you to manage Scaleway Messaging and Queueing NATS accounts.
20959
20959
  */
20960
- class NatsAPI extends API$x {
20960
+ class NatsAPI extends API$y {
20961
20961
  /** Lists the available regions of the API. */
20962
- static LOCALITIES = ['fr-par'];
20962
+ static LOCALITIES = ['fr-par', 'nl-ams'];
20963
20963
 
20964
20964
  /**
20965
20965
  * Create a NATS account. Create a NATS account associated with a Project.
@@ -20969,7 +20969,7 @@ class NatsAPI extends API$x {
20969
20969
  */
20970
20970
  createNatsAccount = (request = {}) => this.client.fetch({
20971
20971
  body: JSON.stringify(marshalNatsApiCreateNatsAccountRequest(request, this.client.settings)),
20972
- headers: jsonContentHeaders$b,
20972
+ headers: jsonContentHeaders$c,
20973
20973
  method: 'POST',
20974
20974
  path: `/mnq/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/nats-accounts`
20975
20975
  }, unmarshalNatsAccount);
@@ -20996,7 +20996,7 @@ class NatsAPI extends API$x {
20996
20996
  */
20997
20997
  updateNatsAccount = request => this.client.fetch({
20998
20998
  body: JSON.stringify(marshalNatsApiUpdateNatsAccountRequest(request, this.client.settings)),
20999
- headers: jsonContentHeaders$b,
20999
+ headers: jsonContentHeaders$c,
21000
21000
  method: 'PATCH',
21001
21001
  path: `/mnq/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/nats-accounts/${validatePathParam('natsAccountId', request.natsAccountId)}`
21002
21002
  }, unmarshalNatsAccount);
@@ -21039,7 +21039,7 @@ class NatsAPI extends API$x {
21039
21039
  */
21040
21040
  createNatsCredentials = request => this.client.fetch({
21041
21041
  body: JSON.stringify(marshalNatsApiCreateNatsCredentialsRequest(request, this.client.settings)),
21042
- headers: jsonContentHeaders$b,
21042
+ headers: jsonContentHeaders$c,
21043
21043
  method: 'POST',
21044
21044
  path: `/mnq/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/nats-credentials`
21045
21045
  }, unmarshalNatsCredentials);
@@ -21093,9 +21093,9 @@ class NatsAPI extends API$x {
21093
21093
  *
21094
21094
  * This API allows you to manage Scaleway Messaging and Queueing SNS brokers.
21095
21095
  */
21096
- class SnsAPI extends API$x {
21096
+ class SnsAPI extends API$y {
21097
21097
  /** Lists the available regions of the API. */
21098
- static LOCALITIES = ['fr-par'];
21098
+ static LOCALITIES = ['fr-par', 'nl-ams'];
21099
21099
 
21100
21100
  /**
21101
21101
  * Activate SNS. Activate SNS for the specified Project ID. SNS must be
@@ -21107,7 +21107,7 @@ class SnsAPI extends API$x {
21107
21107
  */
21108
21108
  activateSns = (request = {}) => this.client.fetch({
21109
21109
  body: JSON.stringify(marshalSnsApiActivateSnsRequest(request, this.client.settings)),
21110
- headers: jsonContentHeaders$b,
21110
+ headers: jsonContentHeaders$c,
21111
21111
  method: 'POST',
21112
21112
  path: `/mnq/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/activate-sns`
21113
21113
  }, unmarshalSnsInfo);
@@ -21135,7 +21135,7 @@ class SnsAPI extends API$x {
21135
21135
  */
21136
21136
  deactivateSns = (request = {}) => this.client.fetch({
21137
21137
  body: JSON.stringify(marshalSnsApiDeactivateSnsRequest(request, this.client.settings)),
21138
- headers: jsonContentHeaders$b,
21138
+ headers: jsonContentHeaders$c,
21139
21139
  method: 'POST',
21140
21140
  path: `/mnq/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/deactivate-sns`
21141
21141
  }, unmarshalSnsInfo);
@@ -21150,7 +21150,7 @@ class SnsAPI extends API$x {
21150
21150
  */
21151
21151
  createSnsCredentials = (request = {}) => this.client.fetch({
21152
21152
  body: JSON.stringify(marshalSnsApiCreateSnsCredentialsRequest(request, this.client.settings)),
21153
- headers: jsonContentHeaders$b,
21153
+ headers: jsonContentHeaders$c,
21154
21154
  method: 'POST',
21155
21155
  path: `/mnq/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/sns-credentials`
21156
21156
  }, unmarshalSnsCredentials);
@@ -21176,7 +21176,7 @@ class SnsAPI extends API$x {
21176
21176
  */
21177
21177
  updateSnsCredentials = request => this.client.fetch({
21178
21178
  body: JSON.stringify(marshalSnsApiUpdateSnsCredentialsRequest(request, this.client.settings)),
21179
- headers: jsonContentHeaders$b,
21179
+ headers: jsonContentHeaders$c,
21180
21180
  method: 'PATCH',
21181
21181
  path: `/mnq/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/sns-credentials/${validatePathParam('snsCredentialsId', request.snsCredentialsId)}`
21182
21182
  }, unmarshalSnsCredentials);
@@ -21215,9 +21215,9 @@ class SnsAPI extends API$x {
21215
21215
  *
21216
21216
  * This API allows you to manage Scaleway Messaging and Queueing SQS brokers.
21217
21217
  */
21218
- class SqsAPI extends API$x {
21218
+ class SqsAPI extends API$y {
21219
21219
  /** Lists the available regions of the API. */
21220
- static LOCALITIES = ['fr-par'];
21220
+ static LOCALITIES = ['fr-par', 'nl-ams'];
21221
21221
 
21222
21222
  /**
21223
21223
  * Activate SQS. Activate SQS for the specified Project ID. SQS must be
@@ -21230,7 +21230,7 @@ class SqsAPI extends API$x {
21230
21230
  */
21231
21231
  activateSqs = (request = {}) => this.client.fetch({
21232
21232
  body: JSON.stringify(marshalSqsApiActivateSqsRequest(request, this.client.settings)),
21233
- headers: jsonContentHeaders$b,
21233
+ headers: jsonContentHeaders$c,
21234
21234
  method: 'POST',
21235
21235
  path: `/mnq/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/activate-sqs`
21236
21236
  }, unmarshalSqsInfo);
@@ -21258,7 +21258,7 @@ class SqsAPI extends API$x {
21258
21258
  */
21259
21259
  deactivateSqs = (request = {}) => this.client.fetch({
21260
21260
  body: JSON.stringify(marshalSqsApiDeactivateSqsRequest(request, this.client.settings)),
21261
- headers: jsonContentHeaders$b,
21261
+ headers: jsonContentHeaders$c,
21262
21262
  method: 'POST',
21263
21263
  path: `/mnq/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/deactivate-sqs`
21264
21264
  }, unmarshalSqsInfo);
@@ -21273,7 +21273,7 @@ class SqsAPI extends API$x {
21273
21273
  */
21274
21274
  createSqsCredentials = (request = {}) => this.client.fetch({
21275
21275
  body: JSON.stringify(marshalSqsApiCreateSqsCredentialsRequest(request, this.client.settings)),
21276
- headers: jsonContentHeaders$b,
21276
+ headers: jsonContentHeaders$c,
21277
21277
  method: 'POST',
21278
21278
  path: `/mnq/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/sqs-credentials`
21279
21279
  }, unmarshalSqsCredentials);
@@ -21299,7 +21299,7 @@ class SqsAPI extends API$x {
21299
21299
  */
21300
21300
  updateSqsCredentials = request => this.client.fetch({
21301
21301
  body: JSON.stringify(marshalSqsApiUpdateSqsCredentialsRequest(request, this.client.settings)),
21302
- headers: jsonContentHeaders$b,
21302
+ headers: jsonContentHeaders$c,
21303
21303
  method: 'PATCH',
21304
21304
  path: `/mnq/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/sqs-credentials/${validatePathParam('sqsCredentialsId', request.sqsCredentialsId)}`
21305
21305
  }, unmarshalSqsCredentials);
@@ -21427,7 +21427,7 @@ var validationRules_gen$3 = /*#__PURE__*/Object.freeze({
21427
21427
  // This file was automatically generated. DO NOT EDIT.
21428
21428
  // If you have any remark or suggestion do not hesitate to open an issue.
21429
21429
 
21430
- var index_gen$c = /*#__PURE__*/Object.freeze({
21430
+ var index_gen$d = /*#__PURE__*/Object.freeze({
21431
21431
  __proto__: null,
21432
21432
  NatsAPI: NatsAPI,
21433
21433
  SnsAPI: SnsAPI,
@@ -21437,7 +21437,7 @@ var index_gen$c = /*#__PURE__*/Object.freeze({
21437
21437
 
21438
21438
  var index$a = /*#__PURE__*/Object.freeze({
21439
21439
  __proto__: null,
21440
- v1beta1: index_gen$c
21440
+ v1beta1: index_gen$d
21441
21441
  });
21442
21442
 
21443
21443
  // This file was automatically generated. DO NOT EDIT.
@@ -22169,12 +22169,12 @@ const marshalUpgradeInstanceRequest = (request, defaults) => ({
22169
22169
 
22170
22170
  // This file was automatically generated. DO NOT EDIT.
22171
22171
  // If you have any remark or suggestion do not hesitate to open an issue.
22172
- const jsonContentHeaders$a = {
22172
+ const jsonContentHeaders$b = {
22173
22173
  'Content-Type': 'application/json; charset=utf-8'
22174
22174
  };
22175
22175
 
22176
22176
  /** Managed Database for PostgreSQL and MySQL API. */
22177
- let API$a = class API extends API$x {
22177
+ let API$b = class API extends API$y {
22178
22178
  /** Lists the available regions of the API. */
22179
22179
  static LOCALITIES = ['fr-par', 'nl-ams', 'pl-waw'];
22180
22180
  pageOfListDatabaseEngines = (request = {}) => this.client.fetch({
@@ -22232,7 +22232,7 @@ let API$a = class API extends API$x {
22232
22232
  */
22233
22233
  createDatabaseBackup = request => this.client.fetch({
22234
22234
  body: JSON.stringify(marshalCreateDatabaseBackupRequest(request, this.client.settings)),
22235
- headers: jsonContentHeaders$a,
22235
+ headers: jsonContentHeaders$b,
22236
22236
  method: 'POST',
22237
22237
  path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/backups`
22238
22238
  }, unmarshalDatabaseBackup$1);
@@ -22268,7 +22268,7 @@ let API$a = class API extends API$x {
22268
22268
  */
22269
22269
  updateDatabaseBackup = request => this.client.fetch({
22270
22270
  body: JSON.stringify(marshalUpdateDatabaseBackupRequest(request, this.client.settings)),
22271
- headers: jsonContentHeaders$a,
22271
+ headers: jsonContentHeaders$b,
22272
22272
  method: 'PATCH',
22273
22273
  path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/backups/${validatePathParam('databaseBackupId', request.databaseBackupId)}`
22274
22274
  }, unmarshalDatabaseBackup$1);
@@ -22296,7 +22296,7 @@ let API$a = class API extends API$x {
22296
22296
  */
22297
22297
  restoreDatabaseBackup = request => this.client.fetch({
22298
22298
  body: JSON.stringify(marshalRestoreDatabaseBackupRequest(request, this.client.settings)),
22299
- headers: jsonContentHeaders$a,
22299
+ headers: jsonContentHeaders$b,
22300
22300
  method: 'POST',
22301
22301
  path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/backups/${validatePathParam('databaseBackupId', request.databaseBackupId)}/restore`
22302
22302
  }, unmarshalDatabaseBackup$1);
@@ -22311,7 +22311,7 @@ let API$a = class API extends API$x {
22311
22311
  */
22312
22312
  exportDatabaseBackup = request => this.client.fetch({
22313
22313
  body: '{}',
22314
- headers: jsonContentHeaders$a,
22314
+ headers: jsonContentHeaders$b,
22315
22315
  method: 'POST',
22316
22316
  path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/backups/${validatePathParam('databaseBackupId', request.databaseBackupId)}/export`
22317
22317
  }, unmarshalDatabaseBackup$1);
@@ -22327,7 +22327,7 @@ let API$a = class API extends API$x {
22327
22327
  */
22328
22328
  upgradeInstance = request => this.client.fetch({
22329
22329
  body: JSON.stringify(marshalUpgradeInstanceRequest(request, this.client.settings)),
22330
- headers: jsonContentHeaders$a,
22330
+ headers: jsonContentHeaders$b,
22331
22331
  method: 'POST',
22332
22332
  path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/upgrade`
22333
22333
  }, unmarshalInstance);
@@ -22385,7 +22385,7 @@ let API$a = class API extends API$x {
22385
22385
  */
22386
22386
  createInstance = request => this.client.fetch({
22387
22387
  body: JSON.stringify(marshalCreateInstanceRequest(request, this.client.settings)),
22388
- headers: jsonContentHeaders$a,
22388
+ headers: jsonContentHeaders$b,
22389
22389
  method: 'POST',
22390
22390
  path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances`
22391
22391
  }, unmarshalInstance);
@@ -22399,7 +22399,7 @@ let API$a = class API extends API$x {
22399
22399
  */
22400
22400
  updateInstance = request => this.client.fetch({
22401
22401
  body: JSON.stringify(marshalUpdateInstanceRequest(request, this.client.settings)),
22402
- headers: jsonContentHeaders$a,
22402
+ headers: jsonContentHeaders$b,
22403
22403
  method: 'PATCH',
22404
22404
  path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}`
22405
22405
  }, unmarshalInstance);
@@ -22430,7 +22430,7 @@ let API$a = class API extends API$x {
22430
22430
  */
22431
22431
  cloneInstance = request => this.client.fetch({
22432
22432
  body: JSON.stringify(marshalCloneInstanceRequest(request, this.client.settings)),
22433
- headers: jsonContentHeaders$a,
22433
+ headers: jsonContentHeaders$b,
22434
22434
  method: 'POST',
22435
22435
  path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/clone`
22436
22436
  }, unmarshalInstance);
@@ -22445,7 +22445,7 @@ let API$a = class API extends API$x {
22445
22445
  */
22446
22446
  restartInstance = request => this.client.fetch({
22447
22447
  body: '{}',
22448
- headers: jsonContentHeaders$a,
22448
+ headers: jsonContentHeaders$b,
22449
22449
  method: 'POST',
22450
22450
  path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/restart`
22451
22451
  }, unmarshalInstance);
@@ -22476,7 +22476,7 @@ let API$a = class API extends API$x {
22476
22476
  */
22477
22477
  renewInstanceCertificate = request => this.client.fetch({
22478
22478
  body: '{}',
22479
- headers: jsonContentHeaders$a,
22479
+ headers: jsonContentHeaders$b,
22480
22480
  method: 'POST',
22481
22481
  path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/renew-certificate`
22482
22482
  });
@@ -22505,7 +22505,7 @@ let API$a = class API extends API$x {
22505
22505
  */
22506
22506
  createReadReplica = request => this.client.fetch({
22507
22507
  body: JSON.stringify(marshalCreateReadReplicaRequest(request, this.client.settings)),
22508
- headers: jsonContentHeaders$a,
22508
+ headers: jsonContentHeaders$b,
22509
22509
  method: 'POST',
22510
22510
  path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/read-replicas`
22511
22511
  }, unmarshalReadReplica);
@@ -22557,7 +22557,7 @@ let API$a = class API extends API$x {
22557
22557
  */
22558
22558
  resetReadReplica = request => this.client.fetch({
22559
22559
  body: '{}',
22560
- headers: jsonContentHeaders$a,
22560
+ headers: jsonContentHeaders$b,
22561
22561
  method: 'POST',
22562
22562
  path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/read-replicas/${validatePathParam('readReplicaId', request.readReplicaId)}/reset`
22563
22563
  }, unmarshalReadReplica);
@@ -22571,7 +22571,7 @@ let API$a = class API extends API$x {
22571
22571
  */
22572
22572
  promoteReadReplica = request => this.client.fetch({
22573
22573
  body: '{}',
22574
- headers: jsonContentHeaders$a,
22574
+ headers: jsonContentHeaders$b,
22575
22575
  method: 'POST',
22576
22576
  path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/read-replicas/${validatePathParam('readReplicaId', request.readReplicaId)}/promote`
22577
22577
  }, unmarshalInstance);
@@ -22586,7 +22586,7 @@ let API$a = class API extends API$x {
22586
22586
  */
22587
22587
  createReadReplicaEndpoint = request => this.client.fetch({
22588
22588
  body: JSON.stringify(marshalCreateReadReplicaEndpointRequest(request, this.client.settings)),
22589
- headers: jsonContentHeaders$a,
22589
+ headers: jsonContentHeaders$b,
22590
22590
  method: 'POST',
22591
22591
  path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/read-replicas/${validatePathParam('readReplicaId', request.readReplicaId)}/endpoints`
22592
22592
  }, unmarshalReadReplica);
@@ -22604,7 +22604,7 @@ let API$a = class API extends API$x {
22604
22604
  */
22605
22605
  prepareInstanceLogs = request => this.client.fetch({
22606
22606
  body: JSON.stringify(marshalPrepareInstanceLogsRequest(request, this.client.settings)),
22607
- headers: jsonContentHeaders$a,
22607
+ headers: jsonContentHeaders$b,
22608
22608
  method: 'POST',
22609
22609
  path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/prepare-logs`
22610
22610
  }, unmarshalPrepareInstanceLogsResponse);
@@ -22656,7 +22656,7 @@ let API$a = class API extends API$x {
22656
22656
  */
22657
22657
  purgeInstanceLogs = request => this.client.fetch({
22658
22658
  body: JSON.stringify(marshalPurgeInstanceLogsRequest(request, this.client.settings)),
22659
- headers: jsonContentHeaders$a,
22659
+ headers: jsonContentHeaders$b,
22660
22660
  method: 'POST',
22661
22661
  path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/purge-logs`
22662
22662
  });
@@ -22684,7 +22684,7 @@ let API$a = class API extends API$x {
22684
22684
  */
22685
22685
  addInstanceSettings = request => this.client.fetch({
22686
22686
  body: JSON.stringify(marshalAddInstanceSettingsRequest(request, this.client.settings)),
22687
- headers: jsonContentHeaders$a,
22687
+ headers: jsonContentHeaders$b,
22688
22688
  method: 'POST',
22689
22689
  path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/settings`
22690
22690
  }, unmarshalAddInstanceSettingsResponse);
@@ -22699,7 +22699,7 @@ let API$a = class API extends API$x {
22699
22699
  */
22700
22700
  deleteInstanceSettings = request => this.client.fetch({
22701
22701
  body: JSON.stringify(marshalDeleteInstanceSettingsRequest(request, this.client.settings)),
22702
- headers: jsonContentHeaders$a,
22702
+ headers: jsonContentHeaders$b,
22703
22703
  method: 'DELETE',
22704
22704
  path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/settings`
22705
22705
  }, unmarshalDeleteInstanceSettingsResponse);
@@ -22714,7 +22714,7 @@ let API$a = class API extends API$x {
22714
22714
  */
22715
22715
  setInstanceSettings = request => this.client.fetch({
22716
22716
  body: JSON.stringify(marshalSetInstanceSettingsRequest(request, this.client.settings)),
22717
- headers: jsonContentHeaders$a,
22717
+ headers: jsonContentHeaders$b,
22718
22718
  method: 'PUT',
22719
22719
  path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/settings`
22720
22720
  }, unmarshalSetInstanceSettingsResponse);
@@ -22744,7 +22744,7 @@ let API$a = class API extends API$x {
22744
22744
  */
22745
22745
  addInstanceACLRules = request => this.client.fetch({
22746
22746
  body: JSON.stringify(marshalAddInstanceACLRulesRequest(request, this.client.settings)),
22747
- headers: jsonContentHeaders$a,
22747
+ headers: jsonContentHeaders$b,
22748
22748
  method: 'POST',
22749
22749
  path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/acls`
22750
22750
  }, unmarshalAddInstanceACLRulesResponse);
@@ -22758,7 +22758,7 @@ let API$a = class API extends API$x {
22758
22758
  */
22759
22759
  setInstanceACLRules = request => this.client.fetch({
22760
22760
  body: JSON.stringify(marshalSetInstanceACLRulesRequest(request, this.client.settings)),
22761
- headers: jsonContentHeaders$a,
22761
+ headers: jsonContentHeaders$b,
22762
22762
  method: 'PUT',
22763
22763
  path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/acls`
22764
22764
  }, unmarshalSetInstanceACLRulesResponse);
@@ -22772,7 +22772,7 @@ let API$a = class API extends API$x {
22772
22772
  */
22773
22773
  deleteInstanceACLRules = request => this.client.fetch({
22774
22774
  body: JSON.stringify(marshalDeleteInstanceACLRulesRequest(request, this.client.settings)),
22775
- headers: jsonContentHeaders$a,
22775
+ headers: jsonContentHeaders$b,
22776
22776
  method: 'DELETE',
22777
22777
  path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/acls`
22778
22778
  }, unmarshalDeleteInstanceACLRulesResponse);
@@ -22803,7 +22803,7 @@ let API$a = class API extends API$x {
22803
22803
  */
22804
22804
  createUser = request => this.client.fetch({
22805
22805
  body: JSON.stringify(marshalCreateUserRequest(request, this.client.settings)),
22806
- headers: jsonContentHeaders$a,
22806
+ headers: jsonContentHeaders$b,
22807
22807
  method: 'POST',
22808
22808
  path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/users`
22809
22809
  }, unmarshalUser);
@@ -22818,7 +22818,7 @@ let API$a = class API extends API$x {
22818
22818
  */
22819
22819
  updateUser = request => this.client.fetch({
22820
22820
  body: JSON.stringify(marshalUpdateUserRequest(request, this.client.settings)),
22821
- headers: jsonContentHeaders$a,
22821
+ headers: jsonContentHeaders$b,
22822
22822
  method: 'PATCH',
22823
22823
  path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/users/${validatePathParam('name', request.name)}`
22824
22824
  }, unmarshalUser);
@@ -22861,7 +22861,7 @@ let API$a = class API extends API$x {
22861
22861
  */
22862
22862
  createDatabase = request => this.client.fetch({
22863
22863
  body: JSON.stringify(marshalCreateDatabaseRequest$1(request, this.client.settings)),
22864
- headers: jsonContentHeaders$a,
22864
+ headers: jsonContentHeaders$b,
22865
22865
  method: 'POST',
22866
22866
  path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/databases`
22867
22867
  }, unmarshalDatabase$1);
@@ -22905,7 +22905,7 @@ let API$a = class API extends API$x {
22905
22905
  */
22906
22906
  setPrivilege = request => this.client.fetch({
22907
22907
  body: JSON.stringify(marshalSetPrivilegeRequest(request, this.client.settings)),
22908
- headers: jsonContentHeaders$a,
22908
+ headers: jsonContentHeaders$b,
22909
22909
  method: 'PUT',
22910
22910
  path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/privileges`
22911
22911
  }, unmarshalPrivilege);
@@ -22958,7 +22958,7 @@ let API$a = class API extends API$x {
22958
22958
  */
22959
22959
  createSnapshot = request => this.client.fetch({
22960
22960
  body: JSON.stringify(marshalCreateSnapshotRequest(request, this.client.settings)),
22961
- headers: jsonContentHeaders$a,
22961
+ headers: jsonContentHeaders$b,
22962
22962
  method: 'POST',
22963
22963
  path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/snapshots`
22964
22964
  }, unmarshalSnapshot);
@@ -22973,7 +22973,7 @@ let API$a = class API extends API$x {
22973
22973
  */
22974
22974
  updateSnapshot = request => this.client.fetch({
22975
22975
  body: JSON.stringify(marshalUpdateSnapshotRequest(request, this.client.settings)),
22976
- headers: jsonContentHeaders$a,
22976
+ headers: jsonContentHeaders$b,
22977
22977
  method: 'PATCH',
22978
22978
  path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/snapshots/${validatePathParam('snapshotId', request.snapshotId)}`
22979
22979
  }, unmarshalSnapshot);
@@ -23006,7 +23006,7 @@ let API$a = class API extends API$x {
23006
23006
  */
23007
23007
  createInstanceFromSnapshot = request => this.client.fetch({
23008
23008
  body: JSON.stringify(marshalCreateInstanceFromSnapshotRequest(request, this.client.settings)),
23009
- headers: jsonContentHeaders$a,
23009
+ headers: jsonContentHeaders$b,
23010
23010
  method: 'POST',
23011
23011
  path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/snapshots/${validatePathParam('snapshotId', request.snapshotId)}/create-instance`
23012
23012
  }, unmarshalInstance);
@@ -23021,7 +23021,7 @@ let API$a = class API extends API$x {
23021
23021
  */
23022
23022
  createEndpoint = request => this.client.fetch({
23023
23023
  body: JSON.stringify(marshalCreateEndpointRequest(request, this.client.settings)),
23024
- headers: jsonContentHeaders$a,
23024
+ headers: jsonContentHeaders$b,
23025
23025
  method: 'POST',
23026
23026
  path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/endpoints`
23027
23027
  }, unmarshalEndpoint$1);
@@ -23061,7 +23061,7 @@ let API$a = class API extends API$x {
23061
23061
  */
23062
23062
  migrateEndpoint = request => this.client.fetch({
23063
23063
  body: JSON.stringify(marshalMigrateEndpointRequest(request, this.client.settings)),
23064
- headers: jsonContentHeaders$a,
23064
+ headers: jsonContentHeaders$b,
23065
23065
  method: 'POST',
23066
23066
  path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/endpoints/${validatePathParam('endpointId', request.endpointId)}/migrate`
23067
23067
  }, unmarshalEndpoint$1);
@@ -23084,9 +23084,9 @@ var validationRules_gen$2 = /*#__PURE__*/Object.freeze({
23084
23084
  // This file was automatically generated. DO NOT EDIT.
23085
23085
  // If you have any remark or suggestion do not hesitate to open an issue.
23086
23086
 
23087
- var index_gen$b = /*#__PURE__*/Object.freeze({
23087
+ var index_gen$c = /*#__PURE__*/Object.freeze({
23088
23088
  __proto__: null,
23089
- API: API$a,
23089
+ API: API$b,
23090
23090
  DATABASE_BACKUP_TRANSIENT_STATUSES: DATABASE_BACKUP_TRANSIENT_STATUSES,
23091
23091
  INSTANCE_LOG_TRANSIENT_STATUSES: INSTANCE_LOG_TRANSIENT_STATUSES,
23092
23092
  INSTANCE_TRANSIENT_STATUSES: INSTANCE_TRANSIENT_STATUSES,
@@ -23098,7 +23098,7 @@ var index_gen$b = /*#__PURE__*/Object.freeze({
23098
23098
 
23099
23099
  var index$9 = /*#__PURE__*/Object.freeze({
23100
23100
  __proto__: null,
23101
- v1: index_gen$b
23101
+ v1: index_gen$c
23102
23102
  });
23103
23103
 
23104
23104
  // This file was automatically generated. DO NOT EDIT.
@@ -23386,12 +23386,12 @@ const marshalUpdateEndpointRequest = (request, defaults) => ({
23386
23386
 
23387
23387
  // This file was automatically generated. DO NOT EDIT.
23388
23388
  // If you have any remark or suggestion do not hesitate to open an issue.
23389
- const jsonContentHeaders$9 = {
23389
+ const jsonContentHeaders$a = {
23390
23390
  'Content-Type': 'application/json; charset=utf-8'
23391
23391
  };
23392
23392
 
23393
23393
  /** Managed Database for Redis™ API. */
23394
- let API$9 = class API extends API$x {
23394
+ let API$a = class API extends API$y {
23395
23395
  /** Lists the available zones of the API. */
23396
23396
  static LOCALITIES = ['fr-par-1', 'fr-par-2', 'nl-ams-1', 'nl-ams-2', 'pl-waw-1', 'pl-waw-2'];
23397
23397
 
@@ -23406,7 +23406,7 @@ let API$9 = class API extends API$x {
23406
23406
  */
23407
23407
  createCluster = request => this.client.fetch({
23408
23408
  body: JSON.stringify(marshalCreateClusterRequest(request, this.client.settings)),
23409
- headers: jsonContentHeaders$9,
23409
+ headers: jsonContentHeaders$a,
23410
23410
  method: 'POST',
23411
23411
  path: `/redis/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/clusters`
23412
23412
  }, unmarshalCluster);
@@ -23421,7 +23421,7 @@ let API$9 = class API extends API$x {
23421
23421
  */
23422
23422
  updateCluster = request => this.client.fetch({
23423
23423
  body: JSON.stringify(marshalUpdateClusterRequest(request, this.client.settings)),
23424
- headers: jsonContentHeaders$9,
23424
+ headers: jsonContentHeaders$a,
23425
23425
  method: 'PATCH',
23426
23426
  path: `/redis/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/clusters/${validatePathParam('clusterId', request.clusterId)}`
23427
23427
  }, unmarshalCluster);
@@ -23469,20 +23469,20 @@ let API$9 = class API extends API$x {
23469
23469
  listClusters = (request = {}) => enrichForPagination('clusters', this.pageOfListClusters, request);
23470
23470
 
23471
23471
  /**
23472
- * Scale up a Redis™ Database Instance. Upgrade your standalone Redis™
23473
- * Database Instance node, either by upgrading to a bigger node type (vertical
23474
- * scaling) or by adding more nodes to your Database Instance to increase your
23475
- * number of endpoints and distribute cache (horizontal scaling). Note that
23476
- * scaling horizontally your Redis™ Database Instance will not renew its TLS
23477
- * certificate. In order to refresh the TLS certificate, you must use the
23478
- * Renew TLS certificate endpoint.
23472
+ * Scale up a Redis™ Database Instance. Upgrade your Redis™ Database Instance,
23473
+ * either by upgrading to a bigger node type (vertical scaling) or by adding
23474
+ * more nodes to your Database Instance to increase your number of endpoints
23475
+ * and distribute cache (horizontal scaling, available for clusters only).
23476
+ * Note that scaling horizontally your Redis™ Database Instance will not renew
23477
+ * its TLS certificate. In order to refresh the TLS certificate, you must use
23478
+ * the Renew TLS certificate endpoint.
23479
23479
  *
23480
23480
  * @param request - The request {@link MigrateClusterRequest}
23481
23481
  * @returns A Promise of Cluster
23482
23482
  */
23483
23483
  migrateCluster = request => this.client.fetch({
23484
23484
  body: JSON.stringify(marshalMigrateClusterRequest(request, this.client.settings)),
23485
- headers: jsonContentHeaders$9,
23485
+ headers: jsonContentHeaders$a,
23486
23486
  method: 'POST',
23487
23487
  path: `/redis/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/clusters/${validatePathParam('clusterId', request.clusterId)}/migrate`
23488
23488
  }, unmarshalCluster);
@@ -23572,7 +23572,7 @@ let API$9 = class API extends API$x {
23572
23572
  */
23573
23573
  renewClusterCertificate = request => this.client.fetch({
23574
23574
  body: '{}',
23575
- headers: jsonContentHeaders$9,
23575
+ headers: jsonContentHeaders$a,
23576
23576
  method: 'POST',
23577
23577
  path: `/redis/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/clusters/${validatePathParam('clusterId', request.clusterId)}/renew-certificate`
23578
23578
  }, unmarshalCluster);
@@ -23587,7 +23587,7 @@ let API$9 = class API extends API$x {
23587
23587
  */
23588
23588
  addClusterSettings = request => this.client.fetch({
23589
23589
  body: JSON.stringify(marshalAddClusterSettingsRequest(request, this.client.settings)),
23590
- headers: jsonContentHeaders$9,
23590
+ headers: jsonContentHeaders$a,
23591
23591
  method: 'POST',
23592
23592
  path: `/redis/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/clusters/${validatePathParam('clusterId', request.clusterId)}/settings`
23593
23593
  }, unmarshalClusterSettingsResponse);
@@ -23615,7 +23615,7 @@ let API$9 = class API extends API$x {
23615
23615
  */
23616
23616
  setClusterSettings = request => this.client.fetch({
23617
23617
  body: JSON.stringify(marshalSetClusterSettingsRequest(request, this.client.settings)),
23618
- headers: jsonContentHeaders$9,
23618
+ headers: jsonContentHeaders$a,
23619
23619
  method: 'PUT',
23620
23620
  path: `/redis/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/clusters/${validatePathParam('clusterId', request.clusterId)}/settings`
23621
23621
  }, unmarshalClusterSettingsResponse);
@@ -23629,7 +23629,7 @@ let API$9 = class API extends API$x {
23629
23629
  */
23630
23630
  setAclRules = request => this.client.fetch({
23631
23631
  body: JSON.stringify(marshalSetAclRulesRequest(request, this.client.settings)),
23632
- headers: jsonContentHeaders$9,
23632
+ headers: jsonContentHeaders$a,
23633
23633
  method: 'PUT',
23634
23634
  path: `/redis/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/clusters/${validatePathParam('clusterId', request.clusterId)}/acls`
23635
23635
  }, unmarshalSetAclRulesResponse);
@@ -23643,7 +23643,7 @@ let API$9 = class API extends API$x {
23643
23643
  */
23644
23644
  addAclRules = request => this.client.fetch({
23645
23645
  body: JSON.stringify(marshalAddAclRulesRequest(request, this.client.settings)),
23646
- headers: jsonContentHeaders$9,
23646
+ headers: jsonContentHeaders$a,
23647
23647
  method: 'POST',
23648
23648
  path: `/redis/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/clusters/${validatePathParam('clusterId', request.clusterId)}/acls`
23649
23649
  }, unmarshalAddAclRulesResponse);
@@ -23684,7 +23684,7 @@ let API$9 = class API extends API$x {
23684
23684
  */
23685
23685
  setEndpoints = request => this.client.fetch({
23686
23686
  body: JSON.stringify(marshalSetEndpointsRequest(request, this.client.settings)),
23687
- headers: jsonContentHeaders$9,
23687
+ headers: jsonContentHeaders$a,
23688
23688
  method: 'PUT',
23689
23689
  path: `/redis/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/clusters/${validatePathParam('clusterId', request.clusterId)}/endpoints`
23690
23690
  }, unmarshalSetEndpointsResponse);
@@ -23699,7 +23699,7 @@ let API$9 = class API extends API$x {
23699
23699
  */
23700
23700
  addEndpoints = request => this.client.fetch({
23701
23701
  body: JSON.stringify(marshalAddEndpointsRequest(request, this.client.settings)),
23702
- headers: jsonContentHeaders$9,
23702
+ headers: jsonContentHeaders$a,
23703
23703
  method: 'POST',
23704
23704
  path: `/redis/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/clusters/${validatePathParam('clusterId', request.clusterId)}/endpoints`
23705
23705
  }, unmarshalAddEndpointsResponse);
@@ -23743,7 +23743,7 @@ let API$9 = class API extends API$x {
23743
23743
  */
23744
23744
  updateEndpoint = request => this.client.fetch({
23745
23745
  body: JSON.stringify(marshalUpdateEndpointRequest(request, this.client.settings)),
23746
- headers: jsonContentHeaders$9,
23746
+ headers: jsonContentHeaders$a,
23747
23747
  method: 'PATCH',
23748
23748
  path: `/redis/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/endpoints/${validatePathParam('endpointId', request.endpointId)}`
23749
23749
  }, unmarshalEndpoint);
@@ -23752,15 +23752,15 @@ let API$9 = class API extends API$x {
23752
23752
  // This file was automatically generated. DO NOT EDIT.
23753
23753
  // If you have any remark or suggestion do not hesitate to open an issue.
23754
23754
 
23755
- var index_gen$a = /*#__PURE__*/Object.freeze({
23755
+ var index_gen$b = /*#__PURE__*/Object.freeze({
23756
23756
  __proto__: null,
23757
- API: API$9,
23757
+ API: API$a,
23758
23758
  CLUSTER_TRANSIENT_STATUSES: CLUSTER_TRANSIENT_STATUSES
23759
23759
  });
23760
23760
 
23761
23761
  var index$8 = /*#__PURE__*/Object.freeze({
23762
23762
  __proto__: null,
23763
- v1: index_gen$a
23763
+ v1: index_gen$b
23764
23764
  });
23765
23765
 
23766
23766
  // This file was automatically generated. DO NOT EDIT.
@@ -23880,12 +23880,12 @@ const marshalUpdateNamespaceRequest = (request, defaults) => ({
23880
23880
 
23881
23881
  // This file was automatically generated. DO NOT EDIT.
23882
23882
  // If you have any remark or suggestion do not hesitate to open an issue.
23883
- const jsonContentHeaders$8 = {
23883
+ const jsonContentHeaders$9 = {
23884
23884
  'Content-Type': 'application/json; charset=utf-8'
23885
23885
  };
23886
23886
 
23887
23887
  /** Container Registry API. */
23888
- let API$8 = class API extends API$x {
23888
+ let API$9 = class API extends API$y {
23889
23889
  /** Lists the available regions of the API. */
23890
23890
  static LOCALITIES = ['fr-par', 'nl-ams', 'pl-waw'];
23891
23891
  pageOfListNamespaces = (request = {}) => this.client.fetch({
@@ -23940,7 +23940,7 @@ let API$8 = class API extends API$x {
23940
23940
  */
23941
23941
  createNamespace = request => this.client.fetch({
23942
23942
  body: JSON.stringify(marshalCreateNamespaceRequest(request, this.client.settings)),
23943
- headers: jsonContentHeaders$8,
23943
+ headers: jsonContentHeaders$9,
23944
23944
  method: 'POST',
23945
23945
  path: `/registry/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/namespaces`
23946
23946
  }, unmarshalNamespace);
@@ -23955,7 +23955,7 @@ let API$8 = class API extends API$x {
23955
23955
  */
23956
23956
  updateNamespace = request => this.client.fetch({
23957
23957
  body: JSON.stringify(marshalUpdateNamespaceRequest(request, this.client.settings)),
23958
- headers: jsonContentHeaders$8,
23958
+ headers: jsonContentHeaders$9,
23959
23959
  method: 'PATCH',
23960
23960
  path: `/registry/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/namespaces/${validatePathParam('namespaceId', request.namespaceId)}`
23961
23961
  }, unmarshalNamespace);
@@ -24021,7 +24021,7 @@ let API$8 = class API extends API$x {
24021
24021
  */
24022
24022
  updateImage = request => this.client.fetch({
24023
24023
  body: JSON.stringify(marshalUpdateImageRequest(request, this.client.settings)),
24024
- headers: jsonContentHeaders$8,
24024
+ headers: jsonContentHeaders$9,
24025
24025
  method: 'PATCH',
24026
24026
  path: `/registry/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/images/${validatePathParam('imageId', request.imageId)}`
24027
24027
  }, unmarshalImage);
@@ -24093,9 +24093,9 @@ let API$8 = class API extends API$x {
24093
24093
  // This file was automatically generated. DO NOT EDIT.
24094
24094
  // If you have any remark or suggestion do not hesitate to open an issue.
24095
24095
 
24096
- var index_gen$9 = /*#__PURE__*/Object.freeze({
24096
+ var index_gen$a = /*#__PURE__*/Object.freeze({
24097
24097
  __proto__: null,
24098
- API: API$8,
24098
+ API: API$9,
24099
24099
  IMAGE_TRANSIENT_STATUSES: IMAGE_TRANSIENT_STATUSES,
24100
24100
  NAMESPACE_TRANSIENT_STATUSES: NAMESPACE_TRANSIENT_STATUSES,
24101
24101
  TAG_TRANSIENT_STATUSES: TAG_TRANSIENT_STATUSES
@@ -24103,7 +24103,7 @@ var index_gen$9 = /*#__PURE__*/Object.freeze({
24103
24103
 
24104
24104
  var index$7 = /*#__PURE__*/Object.freeze({
24105
24105
  __proto__: null,
24106
- v1: index_gen$9
24106
+ v1: index_gen$a
24107
24107
  });
24108
24108
 
24109
24109
  // This file was automatically generated. DO NOT EDIT.
@@ -24121,7 +24121,7 @@ const unmarshalFolder = data => {
24121
24121
  region: data.region
24122
24122
  };
24123
24123
  };
24124
- const unmarshalEphemeralProperties = data => {
24124
+ const unmarshalEphemeralProperties$1 = data => {
24125
24125
  if (!isJSONObject(data)) {
24126
24126
  throw new TypeError(`Unmarshalling the type 'EphemeralProperties' failed as data isn't a dictionary.`);
24127
24127
  }
@@ -24131,14 +24131,14 @@ const unmarshalEphemeralProperties = data => {
24131
24131
  expiresOnceAccessed: data.expires_once_accessed
24132
24132
  };
24133
24133
  };
24134
- const unmarshalSecretVersion = data => {
24134
+ const unmarshalSecretVersion$1 = data => {
24135
24135
  if (!isJSONObject(data)) {
24136
24136
  throw new TypeError(`Unmarshalling the type 'SecretVersion' failed as data isn't a dictionary.`);
24137
24137
  }
24138
24138
  return {
24139
24139
  createdAt: unmarshalDate(data.created_at),
24140
24140
  description: data.description,
24141
- ephemeralProperties: data.ephemeral_properties ? unmarshalEphemeralProperties(data.ephemeral_properties) : undefined,
24141
+ ephemeralProperties: data.ephemeral_properties ? unmarshalEphemeralProperties$1(data.ephemeral_properties) : undefined,
24142
24142
  isLatest: data.is_latest,
24143
24143
  revision: data.revision,
24144
24144
  secretId: data.secret_id,
@@ -24146,7 +24146,7 @@ const unmarshalSecretVersion = data => {
24146
24146
  updatedAt: unmarshalDate(data.updated_at)
24147
24147
  };
24148
24148
  };
24149
- const unmarshalEphemeralPolicy = data => {
24149
+ const unmarshalEphemeralPolicy$1 = data => {
24150
24150
  if (!isJSONObject(data)) {
24151
24151
  throw new TypeError(`Unmarshalling the type 'EphemeralPolicy' failed as data isn't a dictionary.`);
24152
24152
  }
@@ -24156,14 +24156,14 @@ const unmarshalEphemeralPolicy = data => {
24156
24156
  timeToLive: data.time_to_live
24157
24157
  };
24158
24158
  };
24159
- const unmarshalSecret = data => {
24159
+ const unmarshalSecret$1 = data => {
24160
24160
  if (!isJSONObject(data)) {
24161
24161
  throw new TypeError(`Unmarshalling the type 'Secret' failed as data isn't a dictionary.`);
24162
24162
  }
24163
24163
  return {
24164
24164
  createdAt: unmarshalDate(data.created_at),
24165
24165
  description: data.description,
24166
- ephemeralPolicy: data.ephemeral_policy ? unmarshalEphemeralPolicy(data.ephemeral_policy) : undefined,
24166
+ ephemeralPolicy: data.ephemeral_policy ? unmarshalEphemeralPolicy$1(data.ephemeral_policy) : undefined,
24167
24167
  id: data.id,
24168
24168
  isManaged: data.is_managed,
24169
24169
  isProtected: data.is_protected,
@@ -24178,7 +24178,7 @@ const unmarshalSecret = data => {
24178
24178
  versionCount: data.version_count
24179
24179
  };
24180
24180
  };
24181
- const unmarshalAccessSecretVersionResponse = data => {
24181
+ const unmarshalAccessSecretVersionResponse$1 = data => {
24182
24182
  if (!isJSONObject(data)) {
24183
24183
  throw new TypeError(`Unmarshalling the type 'AccessSecretVersionResponse' failed as data isn't a dictionary.`);
24184
24184
  }
@@ -24198,21 +24198,21 @@ const unmarshalListFoldersResponse = data => {
24198
24198
  totalCount: data.total_count
24199
24199
  };
24200
24200
  };
24201
- const unmarshalListSecretVersionsResponse = data => {
24201
+ const unmarshalListSecretVersionsResponse$1 = data => {
24202
24202
  if (!isJSONObject(data)) {
24203
24203
  throw new TypeError(`Unmarshalling the type 'ListSecretVersionsResponse' failed as data isn't a dictionary.`);
24204
24204
  }
24205
24205
  return {
24206
24206
  totalCount: data.total_count,
24207
- versions: unmarshalArrayOfObject(data.versions, unmarshalSecretVersion)
24207
+ versions: unmarshalArrayOfObject(data.versions, unmarshalSecretVersion$1)
24208
24208
  };
24209
24209
  };
24210
- const unmarshalListSecretsResponse = data => {
24210
+ const unmarshalListSecretsResponse$1 = data => {
24211
24211
  if (!isJSONObject(data)) {
24212
24212
  throw new TypeError(`Unmarshalling the type 'ListSecretsResponse' failed as data isn't a dictionary.`);
24213
24213
  }
24214
24214
  return {
24215
- secrets: unmarshalArrayOfObject(data.secrets, unmarshalSecret),
24215
+ secrets: unmarshalArrayOfObject(data.secrets, unmarshalSecret$1),
24216
24216
  totalCount: data.total_count
24217
24217
  };
24218
24218
  };
@@ -24225,7 +24225,7 @@ const unmarshalListTagsResponse = data => {
24225
24225
  totalCount: data.total_count
24226
24226
  };
24227
24227
  };
24228
- const marshalAddSecretOwnerRequest = (request, defaults) => ({
24228
+ const marshalAddSecretOwnerRequest$1 = (request, defaults) => ({
24229
24229
  product: request.product,
24230
24230
  product_name: request.productName
24231
24231
  });
@@ -24234,14 +24234,14 @@ const marshalCreateFolderRequest = (request, defaults) => ({
24234
24234
  path: request.path,
24235
24235
  project_id: request.projectId ?? defaults.defaultProjectId
24236
24236
  });
24237
- const marshalEphemeralPolicy = (request, defaults) => ({
24237
+ const marshalEphemeralPolicy$1 = (request, defaults) => ({
24238
24238
  action: request.action,
24239
24239
  expires_once_accessed: request.expiresOnceAccessed,
24240
24240
  time_to_live: request.timeToLive
24241
24241
  });
24242
- const marshalCreateSecretRequest = (request, defaults) => ({
24242
+ const marshalCreateSecretRequest$1 = (request, defaults) => ({
24243
24243
  description: request.description,
24244
- ephemeral_policy: request.ephemeralPolicy !== undefined ? marshalEphemeralPolicy(request.ephemeralPolicy) : undefined,
24244
+ ephemeral_policy: request.ephemeralPolicy !== undefined ? marshalEphemeralPolicy$1(request.ephemeralPolicy) : undefined,
24245
24245
  is_protected: request.isProtected,
24246
24246
  name: request.name,
24247
24247
  path: request.path,
@@ -24256,7 +24256,7 @@ const marshalPasswordGenerationParams = (request, defaults) => ({
24256
24256
  no_lowercase_letters: request.noLowercaseLetters,
24257
24257
  no_uppercase_letters: request.noUppercaseLetters
24258
24258
  });
24259
- const marshalCreateSecretVersionRequest = (request, defaults) => ({
24259
+ const marshalCreateSecretVersionRequest$1 = (request, defaults) => ({
24260
24260
  data: request.data,
24261
24261
  data_crc32: request.dataCrc32,
24262
24262
  description: request.description,
@@ -24272,26 +24272,26 @@ const marshalGeneratePasswordRequest = (request, defaults) => ({
24272
24272
  no_lowercase_letters: request.noLowercaseLetters,
24273
24273
  no_uppercase_letters: request.noUppercaseLetters
24274
24274
  });
24275
- const marshalUpdateSecretRequest = (request, defaults) => ({
24275
+ const marshalUpdateSecretRequest$1 = (request, defaults) => ({
24276
24276
  description: request.description,
24277
- ephemeral_policy: request.ephemeralPolicy !== undefined ? marshalEphemeralPolicy(request.ephemeralPolicy) : undefined,
24277
+ ephemeral_policy: request.ephemeralPolicy !== undefined ? marshalEphemeralPolicy$1(request.ephemeralPolicy) : undefined,
24278
24278
  name: request.name,
24279
24279
  path: request.path,
24280
24280
  tags: request.tags
24281
24281
  });
24282
- const marshalEphemeralProperties = (request, defaults) => ({
24282
+ const marshalEphemeralProperties$1 = (request, defaults) => ({
24283
24283
  action: request.action,
24284
24284
  expires_at: request.expiresAt,
24285
24285
  expires_once_accessed: request.expiresOnceAccessed
24286
24286
  });
24287
- const marshalUpdateSecretVersionRequest = (request, defaults) => ({
24287
+ const marshalUpdateSecretVersionRequest$1 = (request, defaults) => ({
24288
24288
  description: request.description,
24289
- ephemeral_properties: request.ephemeralProperties !== undefined ? marshalEphemeralProperties(request.ephemeralProperties) : undefined
24289
+ ephemeral_properties: request.ephemeralProperties !== undefined ? marshalEphemeralProperties$1(request.ephemeralProperties) : undefined
24290
24290
  });
24291
24291
 
24292
24292
  // This file was automatically generated. DO NOT EDIT.
24293
24293
  // If you have any remark or suggestion do not hesitate to open an issue.
24294
- const jsonContentHeaders$7 = {
24294
+ const jsonContentHeaders$8 = {
24295
24295
  'Content-Type': 'application/json; charset=utf-8'
24296
24296
  };
24297
24297
 
@@ -24301,7 +24301,7 @@ const jsonContentHeaders$7 = {
24301
24301
  * Secret Manager API. This API allows you to conveniently store, access and
24302
24302
  * share sensitive data.
24303
24303
  */
24304
- let API$7 = class API extends API$x {
24304
+ let API$8 = class API extends API$y {
24305
24305
  /** Lists the available regions of the API. */
24306
24306
  static LOCALITIES = ['fr-par', 'nl-ams', 'pl-waw'];
24307
24307
 
@@ -24312,11 +24312,11 @@ let API$7 = class API extends API$x {
24312
24312
  * @returns A Promise of Secret
24313
24313
  */
24314
24314
  createSecret = request => this.client.fetch({
24315
- body: JSON.stringify(marshalCreateSecretRequest(request, this.client.settings)),
24316
- headers: jsonContentHeaders$7,
24315
+ body: JSON.stringify(marshalCreateSecretRequest$1(request, this.client.settings)),
24316
+ headers: jsonContentHeaders$8,
24317
24317
  method: 'POST',
24318
24318
  path: `/secret-manager/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/secrets`
24319
- }, unmarshalSecret);
24319
+ }, unmarshalSecret$1);
24320
24320
 
24321
24321
  /**
24322
24322
  * Create folder.
@@ -24326,7 +24326,7 @@ let API$7 = class API extends API$x {
24326
24326
  */
24327
24327
  createFolder = request => this.client.fetch({
24328
24328
  body: JSON.stringify(marshalCreateFolderRequest(request, this.client.settings)),
24329
- headers: jsonContentHeaders$7,
24329
+ headers: jsonContentHeaders$8,
24330
24330
  method: 'POST',
24331
24331
  path: `/secret-manager/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/folders`
24332
24332
  }, unmarshalFolder);
@@ -24341,7 +24341,7 @@ let API$7 = class API extends API$x {
24341
24341
  getSecret = request => this.client.fetch({
24342
24342
  method: 'GET',
24343
24343
  path: `/secret-manager/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/secrets/${validatePathParam('secretId', request.secretId)}`
24344
- }, unmarshalSecret);
24344
+ }, unmarshalSecret$1);
24345
24345
 
24346
24346
  /**
24347
24347
  * Get metadata using the secret's name. Retrieve the metadata of a secret
@@ -24360,7 +24360,7 @@ let API$7 = class API extends API$x {
24360
24360
  method: 'GET',
24361
24361
  path: `/secret-manager/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/secrets-by-name/${validatePathParam('secretName', request.secretName)}`,
24362
24362
  urlParams: urlParams(['project_id', request.projectId])
24363
- }, unmarshalSecret);
24363
+ }, unmarshalSecret$1);
24364
24364
 
24365
24365
  /**
24366
24366
  * Update metadata of a secret. Edit a secret's metadata such as name, tag(s),
@@ -24371,16 +24371,16 @@ let API$7 = class API extends API$x {
24371
24371
  * @returns A Promise of Secret
24372
24372
  */
24373
24373
  updateSecret = request => this.client.fetch({
24374
- body: JSON.stringify(marshalUpdateSecretRequest(request, this.client.settings)),
24375
- headers: jsonContentHeaders$7,
24374
+ body: JSON.stringify(marshalUpdateSecretRequest$1(request, this.client.settings)),
24375
+ headers: jsonContentHeaders$8,
24376
24376
  method: 'PATCH',
24377
24377
  path: `/secret-manager/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/secrets/${validatePathParam('secretId', request.secretId)}`
24378
- }, unmarshalSecret);
24378
+ }, unmarshalSecret$1);
24379
24379
  pageOfListSecrets = (request = {}) => this.client.fetch({
24380
24380
  method: 'GET',
24381
24381
  path: `/secret-manager/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/secrets`,
24382
24382
  urlParams: urlParams(['is_ephemeral', request.isEphemeral], ['is_managed', request.isManaged], ['name', request.name], ['order_by', request.orderBy], ['organization_id', request.organizationId], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['path', request.path], ['project_id', request.projectId], ['tags', request.tags])
24383
- }, unmarshalListSecretsResponse);
24383
+ }, unmarshalListSecretsResponse$1);
24384
24384
 
24385
24385
  /**
24386
24386
  * List secrets. Retrieve the list of secrets created within an Organization
@@ -24436,10 +24436,10 @@ let API$7 = class API extends API$x {
24436
24436
  */
24437
24437
  protectSecret = request => this.client.fetch({
24438
24438
  body: '{}',
24439
- headers: jsonContentHeaders$7,
24439
+ headers: jsonContentHeaders$8,
24440
24440
  method: 'POST',
24441
24441
  path: `/secret-manager/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/secrets/${validatePathParam('secretId', request.secretId)}/protect`
24442
- }, unmarshalSecret);
24442
+ }, unmarshalSecret$1);
24443
24443
 
24444
24444
  /**
24445
24445
  * Unprotect a secret. Unprotect a given secret specified by the `secret_id`
@@ -24450,10 +24450,10 @@ let API$7 = class API extends API$x {
24450
24450
  */
24451
24451
  unprotectSecret = request => this.client.fetch({
24452
24452
  body: '{}',
24453
- headers: jsonContentHeaders$7,
24453
+ headers: jsonContentHeaders$8,
24454
24454
  method: 'POST',
24455
24455
  path: `/secret-manager/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/secrets/${validatePathParam('secretId', request.secretId)}/unprotect`
24456
- }, unmarshalSecret);
24456
+ }, unmarshalSecret$1);
24457
24457
 
24458
24458
  /**
24459
24459
  * Allow a product to use the secret.
@@ -24461,8 +24461,8 @@ let API$7 = class API extends API$x {
24461
24461
  * @param request - The request {@link AddSecretOwnerRequest}
24462
24462
  */
24463
24463
  addSecretOwner = request => this.client.fetch({
24464
- body: JSON.stringify(marshalAddSecretOwnerRequest(request, this.client.settings)),
24465
- headers: jsonContentHeaders$7,
24464
+ body: JSON.stringify(marshalAddSecretOwnerRequest$1(request, this.client.settings)),
24465
+ headers: jsonContentHeaders$8,
24466
24466
  method: 'POST',
24467
24467
  path: `/secret-manager/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/secrets/${validatePathParam('secretId', request.secretId)}/add-owner`
24468
24468
  });
@@ -24475,11 +24475,11 @@ let API$7 = class API extends API$x {
24475
24475
  * @returns A Promise of SecretVersion
24476
24476
  */
24477
24477
  createSecretVersion = request => this.client.fetch({
24478
- body: JSON.stringify(marshalCreateSecretVersionRequest(request, this.client.settings)),
24479
- headers: jsonContentHeaders$7,
24478
+ body: JSON.stringify(marshalCreateSecretVersionRequest$1(request, this.client.settings)),
24479
+ headers: jsonContentHeaders$8,
24480
24480
  method: 'POST',
24481
24481
  path: `/secret-manager/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/secrets/${validatePathParam('secretId', request.secretId)}/versions`
24482
- }, unmarshalSecretVersion);
24482
+ }, unmarshalSecretVersion$1);
24483
24483
 
24484
24484
  /**
24485
24485
  * Generate a password in a new version. Generate a password for the given
@@ -24491,10 +24491,10 @@ let API$7 = class API extends API$x {
24491
24491
  */
24492
24492
  generatePassword = request => this.client.fetch({
24493
24493
  body: JSON.stringify(marshalGeneratePasswordRequest(request, this.client.settings)),
24494
- headers: jsonContentHeaders$7,
24494
+ headers: jsonContentHeaders$8,
24495
24495
  method: 'POST',
24496
24496
  path: `/secret-manager/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/secrets/${validatePathParam('secretId', request.secretId)}/generate-password`
24497
- }, unmarshalSecretVersion);
24497
+ }, unmarshalSecretVersion$1);
24498
24498
 
24499
24499
  /**
24500
24500
  * Get metadata of a secret's version using the secret's ID. Retrieve the
@@ -24507,7 +24507,7 @@ let API$7 = class API extends API$x {
24507
24507
  getSecretVersion = request => this.client.fetch({
24508
24508
  method: 'GET',
24509
24509
  path: `/secret-manager/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/secrets/${validatePathParam('secretId', request.secretId)}/versions/${validatePathParam('revision', request.revision)}`
24510
- }, unmarshalSecretVersion);
24510
+ }, unmarshalSecretVersion$1);
24511
24511
 
24512
24512
  /**
24513
24513
  * Get metadata of a secret's version using the secret's name. Retrieve the
@@ -24528,7 +24528,7 @@ let API$7 = class API extends API$x {
24528
24528
  method: 'GET',
24529
24529
  path: `/secret-manager/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/secrets-by-name/${validatePathParam('secretName', request.secretName)}/versions/${validatePathParam('revision', request.revision)}`,
24530
24530
  urlParams: urlParams(['project_id', request.projectId])
24531
- }, unmarshalSecretVersion);
24531
+ }, unmarshalSecretVersion$1);
24532
24532
 
24533
24533
  /**
24534
24534
  * Update metadata of a version. Edit the metadata of a secret's given
@@ -24538,16 +24538,16 @@ let API$7 = class API extends API$x {
24538
24538
  * @returns A Promise of SecretVersion
24539
24539
  */
24540
24540
  updateSecretVersion = request => this.client.fetch({
24541
- body: JSON.stringify(marshalUpdateSecretVersionRequest(request, this.client.settings)),
24542
- headers: jsonContentHeaders$7,
24541
+ body: JSON.stringify(marshalUpdateSecretVersionRequest$1(request, this.client.settings)),
24542
+ headers: jsonContentHeaders$8,
24543
24543
  method: 'PATCH',
24544
24544
  path: `/secret-manager/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/secrets/${validatePathParam('secretId', request.secretId)}/versions/${validatePathParam('revision', request.revision)}`
24545
- }, unmarshalSecretVersion);
24545
+ }, unmarshalSecretVersion$1);
24546
24546
  pageOfListSecretVersions = request => this.client.fetch({
24547
24547
  method: 'GET',
24548
24548
  path: `/secret-manager/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/secrets/${validatePathParam('secretId', request.secretId)}/versions`,
24549
24549
  urlParams: urlParams(['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['status', request.status])
24550
- }, unmarshalListSecretVersionsResponse);
24550
+ }, unmarshalListSecretVersionsResponse$1);
24551
24551
 
24552
24552
  /**
24553
24553
  * List versions of a secret using the secret's ID. Retrieve the list of a
@@ -24562,7 +24562,7 @@ let API$7 = class API extends API$x {
24562
24562
  method: 'GET',
24563
24563
  path: `/secret-manager/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/secrets-by-name/${validatePathParam('secretName', request.secretName)}/versions`,
24564
24564
  urlParams: urlParams(['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['project_id', request.projectId], ['status', request.status])
24565
- }, unmarshalListSecretVersionsResponse);
24565
+ }, unmarshalListSecretVersionsResponse$1);
24566
24566
 
24567
24567
  /**
24568
24568
  * List versions of a secret using the secret's name. Retrieve the list of a
@@ -24590,10 +24590,10 @@ let API$7 = class API extends API$x {
24590
24590
  */
24591
24591
  enableSecretVersion = request => this.client.fetch({
24592
24592
  body: '{}',
24593
- headers: jsonContentHeaders$7,
24593
+ headers: jsonContentHeaders$8,
24594
24594
  method: 'POST',
24595
24595
  path: `/secret-manager/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/secrets/${validatePathParam('secretId', request.secretId)}/versions/${validatePathParam('revision', request.revision)}/enable`
24596
- }, unmarshalSecretVersion);
24596
+ }, unmarshalSecretVersion$1);
24597
24597
 
24598
24598
  /**
24599
24599
  * Disable a version. Make a specific version inaccessible. You must specify
@@ -24604,10 +24604,10 @@ let API$7 = class API extends API$x {
24604
24604
  */
24605
24605
  disableSecretVersion = request => this.client.fetch({
24606
24606
  body: '{}',
24607
- headers: jsonContentHeaders$7,
24607
+ headers: jsonContentHeaders$8,
24608
24608
  method: 'POST',
24609
24609
  path: `/secret-manager/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/secrets/${validatePathParam('secretId', request.secretId)}/versions/${validatePathParam('revision', request.revision)}/disable`
24610
- }, unmarshalSecretVersion);
24610
+ }, unmarshalSecretVersion$1);
24611
24611
 
24612
24612
  /**
24613
24613
  * Access a secret's version using the secret's ID. Access sensitive data in a
@@ -24620,7 +24620,7 @@ let API$7 = class API extends API$x {
24620
24620
  accessSecretVersion = request => this.client.fetch({
24621
24621
  method: 'GET',
24622
24622
  path: `/secret-manager/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/secrets/${validatePathParam('secretId', request.secretId)}/versions/${validatePathParam('revision', request.revision)}/access`
24623
- }, unmarshalAccessSecretVersionResponse);
24623
+ }, unmarshalAccessSecretVersionResponse$1);
24624
24624
 
24625
24625
  /**
24626
24626
  * Access a secret's version using the secret's name. Access sensitive data in
@@ -24641,7 +24641,7 @@ let API$7 = class API extends API$x {
24641
24641
  method: 'GET',
24642
24642
  path: `/secret-manager/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/secrets-by-name/${validatePathParam('secretName', request.secretName)}/versions/${validatePathParam('revision', request.revision)}/access`,
24643
24643
  urlParams: urlParams(['project_id', request.projectId])
24644
- }, unmarshalAccessSecretVersionResponse);
24644
+ }, unmarshalAccessSecretVersionResponse$1);
24645
24645
 
24646
24646
  /**
24647
24647
  * Delete a version. Delete a secret's version and the sensitive data
@@ -24652,10 +24652,10 @@ let API$7 = class API extends API$x {
24652
24652
  */
24653
24653
  destroySecretVersion = request => this.client.fetch({
24654
24654
  body: '{}',
24655
- headers: jsonContentHeaders$7,
24655
+ headers: jsonContentHeaders$8,
24656
24656
  method: 'POST',
24657
24657
  path: `/secret-manager/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/secrets/${validatePathParam('secretId', request.secretId)}/versions/${validatePathParam('revision', request.revision)}/destroy`
24658
- }, unmarshalSecretVersion);
24658
+ }, unmarshalSecretVersion$1);
24659
24659
  pageOfListTags = (request = {}) => this.client.fetch({
24660
24660
  method: 'GET',
24661
24661
  path: `/secret-manager/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/tags`,
@@ -24674,6 +24674,430 @@ let API$7 = class API extends API$x {
24674
24674
  // This file was automatically generated. DO NOT EDIT.
24675
24675
  // If you have any remark or suggestion do not hesitate to open an issue.
24676
24676
 
24677
+ var index_gen$9 = /*#__PURE__*/Object.freeze({
24678
+ __proto__: null,
24679
+ API: API$8
24680
+ });
24681
+
24682
+ // This file was automatically generated. DO NOT EDIT.
24683
+ // If you have any remark or suggestion do not hesitate to open an issue.
24684
+ const unmarshalEphemeralProperties = data => {
24685
+ if (!isJSONObject(data)) {
24686
+ throw new TypeError(`Unmarshalling the type 'EphemeralProperties' failed as data isn't a dictionary.`);
24687
+ }
24688
+ return {
24689
+ action: data.action,
24690
+ expiresAt: unmarshalDate(data.expires_at),
24691
+ expiresOnceAccessed: data.expires_once_accessed
24692
+ };
24693
+ };
24694
+ const unmarshalSecretVersion = data => {
24695
+ if (!isJSONObject(data)) {
24696
+ throw new TypeError(`Unmarshalling the type 'SecretVersion' failed as data isn't a dictionary.`);
24697
+ }
24698
+ return {
24699
+ createdAt: unmarshalDate(data.created_at),
24700
+ description: data.description,
24701
+ ephemeralProperties: data.ephemeral_properties ? unmarshalEphemeralProperties(data.ephemeral_properties) : undefined,
24702
+ latest: data.latest,
24703
+ revision: data.revision,
24704
+ secretId: data.secret_id,
24705
+ status: data.status,
24706
+ updatedAt: unmarshalDate(data.updated_at)
24707
+ };
24708
+ };
24709
+ const unmarshalEphemeralPolicy = data => {
24710
+ if (!isJSONObject(data)) {
24711
+ throw new TypeError(`Unmarshalling the type 'EphemeralPolicy' failed as data isn't a dictionary.`);
24712
+ }
24713
+ return {
24714
+ action: data.action,
24715
+ expiresOnceAccessed: data.expires_once_accessed,
24716
+ timeToLive: data.time_to_live
24717
+ };
24718
+ };
24719
+ const unmarshalSecret = data => {
24720
+ if (!isJSONObject(data)) {
24721
+ throw new TypeError(`Unmarshalling the type 'Secret' failed as data isn't a dictionary.`);
24722
+ }
24723
+ return {
24724
+ createdAt: unmarshalDate(data.created_at),
24725
+ description: data.description,
24726
+ ephemeralPolicy: data.ephemeral_policy ? unmarshalEphemeralPolicy(data.ephemeral_policy) : undefined,
24727
+ id: data.id,
24728
+ managed: data.managed,
24729
+ name: data.name,
24730
+ path: data.path,
24731
+ projectId: data.project_id,
24732
+ protected: data.protected,
24733
+ region: data.region,
24734
+ status: data.status,
24735
+ tags: data.tags,
24736
+ type: data.type,
24737
+ updatedAt: unmarshalDate(data.updated_at),
24738
+ versionCount: data.version_count
24739
+ };
24740
+ };
24741
+ const unmarshalAccessSecretVersionResponse = data => {
24742
+ if (!isJSONObject(data)) {
24743
+ throw new TypeError(`Unmarshalling the type 'AccessSecretVersionResponse' failed as data isn't a dictionary.`);
24744
+ }
24745
+ return {
24746
+ data: data.data,
24747
+ dataCrc32: data.data_crc32,
24748
+ revision: data.revision,
24749
+ secretId: data.secret_id
24750
+ };
24751
+ };
24752
+ const unmarshalBrowseSecretsResponseItemFolderDetails = data => {
24753
+ if (!isJSONObject(data)) {
24754
+ throw new TypeError(`Unmarshalling the type 'BrowseSecretsResponseItemFolderDetails' failed as data isn't a dictionary.`);
24755
+ }
24756
+ return {};
24757
+ };
24758
+ const unmarshalBrowseSecretsResponseItemSecretDetails = data => {
24759
+ if (!isJSONObject(data)) {
24760
+ throw new TypeError(`Unmarshalling the type 'BrowseSecretsResponseItemSecretDetails' failed as data isn't a dictionary.`);
24761
+ }
24762
+ return {
24763
+ ephemeralPolicy: data.ephemeral_policy ? unmarshalEphemeralPolicy(data.ephemeral_policy) : undefined,
24764
+ id: data.id,
24765
+ protected: data.protected,
24766
+ tags: data.tags,
24767
+ versionCount: data.version_count
24768
+ };
24769
+ };
24770
+ const unmarshalBrowseSecretsResponseItem = data => {
24771
+ if (!isJSONObject(data)) {
24772
+ throw new TypeError(`Unmarshalling the type 'BrowseSecretsResponseItem' failed as data isn't a dictionary.`);
24773
+ }
24774
+ return {
24775
+ createdAt: unmarshalDate(data.created_at),
24776
+ folder: data.folder ? unmarshalBrowseSecretsResponseItemFolderDetails(data.folder) : undefined,
24777
+ name: data.name,
24778
+ secret: data.secret ? unmarshalBrowseSecretsResponseItemSecretDetails(data.secret) : undefined,
24779
+ updatedAt: unmarshalDate(data.updated_at)
24780
+ };
24781
+ };
24782
+ const unmarshalBrowseSecretsResponse = data => {
24783
+ if (!isJSONObject(data)) {
24784
+ throw new TypeError(`Unmarshalling the type 'BrowseSecretsResponse' failed as data isn't a dictionary.`);
24785
+ }
24786
+ return {
24787
+ currentPath: data.current_path,
24788
+ items: unmarshalArrayOfObject(data.items, unmarshalBrowseSecretsResponseItem),
24789
+ totalCount: data.total_count
24790
+ };
24791
+ };
24792
+ const unmarshalListSecretVersionsResponse = data => {
24793
+ if (!isJSONObject(data)) {
24794
+ throw new TypeError(`Unmarshalling the type 'ListSecretVersionsResponse' failed as data isn't a dictionary.`);
24795
+ }
24796
+ return {
24797
+ totalCount: data.total_count,
24798
+ versions: unmarshalArrayOfObject(data.versions, unmarshalSecretVersion)
24799
+ };
24800
+ };
24801
+ const unmarshalListSecretsResponse = data => {
24802
+ if (!isJSONObject(data)) {
24803
+ throw new TypeError(`Unmarshalling the type 'ListSecretsResponse' failed as data isn't a dictionary.`);
24804
+ }
24805
+ return {
24806
+ secrets: unmarshalArrayOfObject(data.secrets, unmarshalSecret),
24807
+ totalCount: data.total_count
24808
+ };
24809
+ };
24810
+ const marshalAddSecretOwnerRequest = (request, defaults) => ({
24811
+ product: request.product
24812
+ });
24813
+ const marshalEphemeralPolicy = (request, defaults) => ({
24814
+ action: request.action,
24815
+ expires_once_accessed: request.expiresOnceAccessed,
24816
+ time_to_live: request.timeToLive
24817
+ });
24818
+ const marshalCreateSecretRequest = (request, defaults) => ({
24819
+ description: request.description,
24820
+ ephemeral_policy: request.ephemeralPolicy !== undefined ? marshalEphemeralPolicy(request.ephemeralPolicy) : undefined,
24821
+ name: request.name,
24822
+ path: request.path,
24823
+ project_id: request.projectId ?? defaults.defaultProjectId,
24824
+ protected: request.protected,
24825
+ tags: request.tags,
24826
+ type: request.type
24827
+ });
24828
+ const marshalCreateSecretVersionRequest = (request, defaults) => ({
24829
+ data: request.data,
24830
+ data_crc32: request.dataCrc32,
24831
+ description: request.description,
24832
+ disable_previous: request.disablePrevious
24833
+ });
24834
+ const marshalUpdateSecretRequest = (request, defaults) => ({
24835
+ description: request.description,
24836
+ ephemeral_policy: request.ephemeralPolicy !== undefined ? marshalEphemeralPolicy(request.ephemeralPolicy) : undefined,
24837
+ name: request.name,
24838
+ path: request.path,
24839
+ tags: request.tags
24840
+ });
24841
+ const marshalEphemeralProperties = (request, defaults) => ({
24842
+ action: request.action,
24843
+ expires_at: request.expiresAt,
24844
+ expires_once_accessed: request.expiresOnceAccessed
24845
+ });
24846
+ const marshalUpdateSecretVersionRequest = (request, defaults) => ({
24847
+ description: request.description,
24848
+ ephemeral_properties: request.ephemeralProperties !== undefined ? marshalEphemeralProperties(request.ephemeralProperties) : undefined
24849
+ });
24850
+
24851
+ // This file was automatically generated. DO NOT EDIT.
24852
+ // If you have any remark or suggestion do not hesitate to open an issue.
24853
+ const jsonContentHeaders$7 = {
24854
+ 'Content-Type': 'application/json; charset=utf-8'
24855
+ };
24856
+
24857
+ /**
24858
+ * Secret Manager API.
24859
+ *
24860
+ * This API allows you to conveniently store, access and share sensitive data
24861
+ * such as passwords, API keys and certificates.
24862
+ */
24863
+ let API$7 = class API extends API$y {
24864
+ /** Lists the available regions of the API. */
24865
+ static LOCALITIES = ['fr-par', 'nl-ams', 'pl-waw'];
24866
+
24867
+ /**
24868
+ * Create a secret. You must specify the `region` to create a secret.
24869
+ *
24870
+ * @param request - The request {@link CreateSecretRequest}
24871
+ * @returns A Promise of Secret
24872
+ */
24873
+ createSecret = request => this.client.fetch({
24874
+ body: JSON.stringify(marshalCreateSecretRequest(request, this.client.settings)),
24875
+ headers: jsonContentHeaders$7,
24876
+ method: 'POST',
24877
+ path: `/secret-manager/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/secrets`
24878
+ }, unmarshalSecret);
24879
+
24880
+ /**
24881
+ * Get metadata using the secret's ID. Retrieve the metadata of a secret
24882
+ * specified by the `region` and `secret_id` parameters.
24883
+ *
24884
+ * @param request - The request {@link GetSecretRequest}
24885
+ * @returns A Promise of Secret
24886
+ */
24887
+ getSecret = request => this.client.fetch({
24888
+ method: 'GET',
24889
+ path: `/secret-manager/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/secrets/${validatePathParam('secretId', request.secretId)}`
24890
+ }, unmarshalSecret);
24891
+
24892
+ /**
24893
+ * Update metadata of a secret. Edit a secret's metadata such as name, tag(s),
24894
+ * description and ephemeral policy. The secret to update is specified by the
24895
+ * `secret_id` and `region` parameters.
24896
+ *
24897
+ * @param request - The request {@link UpdateSecretRequest}
24898
+ * @returns A Promise of Secret
24899
+ */
24900
+ updateSecret = request => this.client.fetch({
24901
+ body: JSON.stringify(marshalUpdateSecretRequest(request, this.client.settings)),
24902
+ headers: jsonContentHeaders$7,
24903
+ method: 'PATCH',
24904
+ path: `/secret-manager/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/secrets/${validatePathParam('secretId', request.secretId)}`
24905
+ }, unmarshalSecret);
24906
+
24907
+ /**
24908
+ * Delete a secret. Delete a given secret specified by the `region` and
24909
+ * `secret_id` parameters.
24910
+ *
24911
+ * @param request - The request {@link DeleteSecretRequest}
24912
+ */
24913
+ deleteSecret = request => this.client.fetch({
24914
+ method: 'DELETE',
24915
+ path: `/secret-manager/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/secrets/${validatePathParam('secretId', request.secretId)}`
24916
+ });
24917
+ pageOfListSecrets = (request = {}) => this.client.fetch({
24918
+ method: 'GET',
24919
+ path: `/secret-manager/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/secrets`,
24920
+ urlParams: urlParams(['ephemeral', request.ephemeral], ['name', request.name], ['order_by', request.orderBy], ['organization_id', request.organizationId], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['path', request.path], ['project_id', request.projectId], ['tags', request.tags])
24921
+ }, unmarshalListSecretsResponse);
24922
+
24923
+ /**
24924
+ * List secrets. Retrieve the list of secrets created within an Organization
24925
+ * and/or Project. You must specify either the `organization_id` or the
24926
+ * `project_id` and the `region`.
24927
+ *
24928
+ * @param request - The request {@link ListSecretsRequest}
24929
+ * @returns A Promise of ListSecretsResponse
24930
+ */
24931
+ listSecrets = (request = {}) => enrichForPagination('secrets', this.pageOfListSecrets, request);
24932
+
24933
+ /**
24934
+ * Browse secrets. Retrieve the list of secrets and folders for the given
24935
+ * prefix. You must specify either the `organization_id` or the `project_id`
24936
+ * and the `region`.
24937
+ *
24938
+ * @param request - The request {@link BrowseSecretsRequest}
24939
+ * @returns A Promise of BrowseSecretsResponse
24940
+ */
24941
+ browseSecrets = request => this.client.fetch({
24942
+ method: 'GET',
24943
+ path: `/secret-manager/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/secrets/browse`,
24944
+ urlParams: urlParams(['order_by', request.orderBy], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['prefix', request.prefix], ['project_id', request.projectId])
24945
+ }, unmarshalBrowseSecretsResponse);
24946
+
24947
+ /**
24948
+ * Enable secret protection. Enable secret protection for a given secret
24949
+ * specified by the `secret_id` parameter. Enabling secret protection means
24950
+ * that your secret can be read and modified, but it cannot be deleted.
24951
+ *
24952
+ * @param request - The request {@link ProtectSecretRequest}
24953
+ * @returns A Promise of Secret
24954
+ */
24955
+ protectSecret = request => this.client.fetch({
24956
+ body: '{}',
24957
+ headers: jsonContentHeaders$7,
24958
+ method: 'POST',
24959
+ path: `/secret-manager/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/secrets/${validatePathParam('secretId', request.secretId)}/protect`
24960
+ }, unmarshalSecret);
24961
+
24962
+ /**
24963
+ * Disable secret protection. Disable secret protection for a given secret
24964
+ * specified by the `secret_id` parameter. Disabling secret protection means
24965
+ * that your secret can be read, modified and deleted.
24966
+ *
24967
+ * @param request - The request {@link UnprotectSecretRequest}
24968
+ * @returns A Promise of Secret
24969
+ */
24970
+ unprotectSecret = request => this.client.fetch({
24971
+ body: '{}',
24972
+ headers: jsonContentHeaders$7,
24973
+ method: 'POST',
24974
+ path: `/secret-manager/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/secrets/${validatePathParam('secretId', request.secretId)}/unprotect`
24975
+ }, unmarshalSecret);
24976
+
24977
+ /**
24978
+ * Allow a product to use the secret.
24979
+ *
24980
+ * @param request - The request {@link AddSecretOwnerRequest}
24981
+ */
24982
+ addSecretOwner = request => this.client.fetch({
24983
+ body: JSON.stringify(marshalAddSecretOwnerRequest(request, this.client.settings)),
24984
+ headers: jsonContentHeaders$7,
24985
+ method: 'POST',
24986
+ path: `/secret-manager/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/secrets/${validatePathParam('secretId', request.secretId)}/add-owner`
24987
+ });
24988
+
24989
+ /**
24990
+ * Create a version. Create a version of a given secret specified by the
24991
+ * `region` and `secret_id` parameters.
24992
+ *
24993
+ * @param request - The request {@link CreateSecretVersionRequest}
24994
+ * @returns A Promise of SecretVersion
24995
+ */
24996
+ createSecretVersion = request => this.client.fetch({
24997
+ body: JSON.stringify(marshalCreateSecretVersionRequest(request, this.client.settings)),
24998
+ headers: jsonContentHeaders$7,
24999
+ method: 'POST',
25000
+ path: `/secret-manager/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/secrets/${validatePathParam('secretId', request.secretId)}/versions`
25001
+ }, unmarshalSecretVersion);
25002
+
25003
+ /**
25004
+ * Get metadata of a secret's version using the secret's ID. Retrieve the
25005
+ * metadata of a secret's given version specified by the `region`, `secret_id`
25006
+ * and `revision` parameters.
25007
+ *
25008
+ * @param request - The request {@link GetSecretVersionRequest}
25009
+ * @returns A Promise of SecretVersion
25010
+ */
25011
+ getSecretVersion = request => this.client.fetch({
25012
+ method: 'GET',
25013
+ path: `/secret-manager/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/secrets/${validatePathParam('secretId', request.secretId)}/versions/${validatePathParam('revision', request.revision)}`
25014
+ }, unmarshalSecretVersion);
25015
+
25016
+ /**
25017
+ * Update metadata of a version. Edit the metadata of a secret's given
25018
+ * version, specified by the `region`, `secret_id` and `revision` parameters.
25019
+ *
25020
+ * @param request - The request {@link UpdateSecretVersionRequest}
25021
+ * @returns A Promise of SecretVersion
25022
+ */
25023
+ updateSecretVersion = request => this.client.fetch({
25024
+ body: JSON.stringify(marshalUpdateSecretVersionRequest(request, this.client.settings)),
25025
+ headers: jsonContentHeaders$7,
25026
+ method: 'PATCH',
25027
+ path: `/secret-manager/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/secrets/${validatePathParam('secretId', request.secretId)}/versions/${validatePathParam('revision', request.revision)}`
25028
+ }, unmarshalSecretVersion);
25029
+
25030
+ /**
25031
+ * Delete a version. Delete a secret's version and the sensitive data
25032
+ * contained in it. Deleting a version is permanent and cannot be undone.
25033
+ *
25034
+ * @param request - The request {@link DeleteSecretVersionRequest}
25035
+ */
25036
+ deleteSecretVersion = request => this.client.fetch({
25037
+ method: 'DELETE',
25038
+ path: `/secret-manager/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/secrets/${validatePathParam('secretId', request.secretId)}/versions/${validatePathParam('revision', request.revision)}`
25039
+ });
25040
+ pageOfListSecretVersions = request => this.client.fetch({
25041
+ method: 'GET',
25042
+ path: `/secret-manager/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/secrets/${validatePathParam('secretId', request.secretId)}/versions`,
25043
+ urlParams: urlParams(['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['status', request.status])
25044
+ }, unmarshalListSecretVersionsResponse);
25045
+
25046
+ /**
25047
+ * List versions of a secret using the secret's ID. Retrieve the list of a
25048
+ * given secret's versions specified by the `secret_id` and `region`
25049
+ * parameters.
25050
+ *
25051
+ * @param request - The request {@link ListSecretVersionsRequest}
25052
+ * @returns A Promise of ListSecretVersionsResponse
25053
+ */
25054
+ listSecretVersions = request => enrichForPagination('versions', this.pageOfListSecretVersions, request);
25055
+
25056
+ /**
25057
+ * Access a secret's version using the secret's ID. Access sensitive data in a
25058
+ * secret's version specified by the `region`, `secret_id` and `revision`
25059
+ * parameters.
25060
+ *
25061
+ * @param request - The request {@link AccessSecretVersionRequest}
25062
+ * @returns A Promise of AccessSecretVersionResponse
25063
+ */
25064
+ accessSecretVersion = request => this.client.fetch({
25065
+ method: 'GET',
25066
+ path: `/secret-manager/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/secrets/${validatePathParam('secretId', request.secretId)}/versions/${validatePathParam('revision', request.revision)}/access`
25067
+ }, unmarshalAccessSecretVersionResponse);
25068
+
25069
+ /**
25070
+ * Enable a version. Make a specific version accessible. You must specify the
25071
+ * `region`, `secret_id` and `revision` parameters.
25072
+ *
25073
+ * @param request - The request {@link EnableSecretVersionRequest}
25074
+ * @returns A Promise of SecretVersion
25075
+ */
25076
+ enableSecretVersion = request => this.client.fetch({
25077
+ body: '{}',
25078
+ headers: jsonContentHeaders$7,
25079
+ method: 'POST',
25080
+ path: `/secret-manager/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/secrets/${validatePathParam('secretId', request.secretId)}/versions/${validatePathParam('revision', request.revision)}/enable`
25081
+ }, unmarshalSecretVersion);
25082
+
25083
+ /**
25084
+ * Disable a version. Make a specific version inaccessible. You must specify
25085
+ * the `region`, `secret_id` and `revision` parameters.
25086
+ *
25087
+ * @param request - The request {@link DisableSecretVersionRequest}
25088
+ * @returns A Promise of SecretVersion
25089
+ */
25090
+ disableSecretVersion = request => this.client.fetch({
25091
+ body: '{}',
25092
+ headers: jsonContentHeaders$7,
25093
+ method: 'POST',
25094
+ path: `/secret-manager/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/secrets/${validatePathParam('secretId', request.secretId)}/versions/${validatePathParam('revision', request.revision)}/disable`
25095
+ }, unmarshalSecretVersion);
25096
+ };
25097
+
25098
+ // This file was automatically generated. DO NOT EDIT.
25099
+ // If you have any remark or suggestion do not hesitate to open an issue.
25100
+
24677
25101
  var index_gen$8 = /*#__PURE__*/Object.freeze({
24678
25102
  __proto__: null,
24679
25103
  API: API$7
@@ -24681,7 +25105,8 @@ var index_gen$8 = /*#__PURE__*/Object.freeze({
24681
25105
 
24682
25106
  var index$6 = /*#__PURE__*/Object.freeze({
24683
25107
  __proto__: null,
24684
- v1alpha1: index_gen$8
25108
+ v1alpha1: index_gen$9,
25109
+ v1beta1: index_gen$8
24685
25110
  });
24686
25111
 
24687
25112
  // This file was automatically generated. DO NOT EDIT.
@@ -24774,7 +25199,7 @@ const jsonContentHeaders$6 = {
24774
25199
  *
24775
25200
  * This API allows you to manage your Serverless SQL DB databases.
24776
25201
  */
24777
- let API$6 = class API extends API$x {
25202
+ let API$6 = class API extends API$y {
24778
25203
  /** Lists the available regions of the API. */
24779
25204
  static LOCALITIES = ['fr-par'];
24780
25205
 
@@ -25098,7 +25523,7 @@ const jsonContentHeaders$5 = {
25098
25523
  *
25099
25524
  * No Auth Service for end-to-end testing.
25100
25525
  */
25101
- let API$5 = class API extends API$x {
25526
+ let API$5 = class API extends API$y {
25102
25527
  /**
25103
25528
  * Register a user. Register a human and return a access-key and a secret-key
25104
25529
  * that must be used in all other commands.
@@ -25438,7 +25863,7 @@ const jsonContentHeaders$4 = {
25438
25863
  };
25439
25864
 
25440
25865
  /** Transactional Email API. */
25441
- let API$4 = class API extends API$x {
25866
+ let API$4 = class API extends API$y {
25442
25867
  /** Lists the available regions of the API. */
25443
25868
  static LOCALITIES = ['fr-par'];
25444
25869
 
@@ -25679,7 +26104,7 @@ const jsonContentHeaders$3 = {
25679
26104
  };
25680
26105
 
25681
26106
  /** VPC API. */
25682
- let API$3 = class API extends API$x {
26107
+ let API$3 = class API extends API$y {
25683
26108
  /** Lists the available zones of the API. */
25684
26109
  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'];
25685
26110
  pageOfListPrivateNetworks = (request = {}) => this.client.fetch({
@@ -25899,7 +26324,7 @@ const jsonContentHeaders$2 = {
25899
26324
  };
25900
26325
 
25901
26326
  /** VPC API. */
25902
- let API$2 = class API extends API$x {
26327
+ let API$2 = class API extends API$y {
25903
26328
  /** Lists the available regions of the API. */
25904
26329
  static LOCALITIES = ['fr-par', 'nl-ams', 'pl-waw'];
25905
26330
  pageOfListVPCs = (request = {}) => this.client.fetch({
@@ -26241,6 +26666,7 @@ const unmarshalGateway = data => {
26241
26666
  gatewayNetworks: unmarshalArrayOfObject(data.gateway_networks, unmarshalGatewayNetwork),
26242
26667
  id: data.id,
26243
26668
  ip: data.ip ? unmarshalIP(data.ip) : undefined,
26669
+ ipMobilityEnabled: data.ip_mobility_enabled,
26244
26670
  isLegacy: data.is_legacy,
26245
26671
  name: data.name,
26246
26672
  organizationId: data.organization_id,
@@ -26496,7 +26922,7 @@ const jsonContentHeaders$1 = {
26496
26922
  };
26497
26923
 
26498
26924
  /** Public Gateways API. */
26499
- let API$1 = class API extends API$x {
26925
+ let API$1 = class API extends API$y {
26500
26926
  /** Lists the available zones of the API. */
26501
26927
  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'];
26502
26928
  pageOfListGateways = (request = {}) => this.client.fetch({
@@ -26594,6 +27020,20 @@ let API$1 = class API extends API$x {
26594
27020
  method: 'POST',
26595
27021
  path: `/vpc-gw/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/gateways/${validatePathParam('gatewayId', request.gatewayId)}/upgrade`
26596
27022
  }, unmarshalGateway);
27023
+
27024
+ /**
27025
+ * Upgrade a Public Gateway to IP mobility. Upgrade a Public Gateway to IP
27026
+ * mobility (move from NAT IP to routed IP). This is idempotent: repeated
27027
+ * calls after the first will return no error but have no effect.
27028
+ *
27029
+ * @param request - The request {@link EnableIPMobilityRequest}
27030
+ */
27031
+ enableIPMobility = request => this.client.fetch({
27032
+ body: '{}',
27033
+ headers: jsonContentHeaders$1,
27034
+ method: 'POST',
27035
+ path: `/vpc-gw/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/gateways/${validatePathParam('gatewayId', request.gatewayId)}/enable-ip-mobility`
27036
+ });
26597
27037
  pageOfListGatewayNetworks = (request = {}) => this.client.fetch({
26598
27038
  method: 'GET',
26599
27039
  path: `/vpc-gw/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/gateway-networks`,
@@ -27232,7 +27672,7 @@ const jsonContentHeaders = {
27232
27672
  };
27233
27673
 
27234
27674
  /** Web Hosting API. */
27235
- class API extends API$x {
27675
+ class API extends API$y {
27236
27676
  /** Lists the available regions of the API. */
27237
27677
  static LOCALITIES = ['fr-par', 'nl-ams'];
27238
27678
 
@@ -27416,7 +27856,7 @@ var index = /*#__PURE__*/Object.freeze({
27416
27856
  v1alpha1: index_gen
27417
27857
  });
27418
27858
 
27419
- exports.API = API$x;
27859
+ exports.API = API$y;
27420
27860
  exports.Account = index$y;
27421
27861
  exports.AppleSilicon = index$x;
27422
27862
  exports.BareMetal = index$v;