@scaleway/sdk 1.12.0 → 1.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -497,7 +497,7 @@ const assertValidSettings = obj => {
497
497
  }
498
498
  };
499
499
 
500
- const version = 'v1.11.0';
500
+ const version = 'v1.12.0';
501
501
  const userAgent = `scaleway-sdk-js/${version}`;
502
502
 
503
503
  const isBrowser = () => typeof window !== 'undefined' && typeof window.document !== 'undefined';
@@ -1705,7 +1705,7 @@ const waitForResource = (stop, fetcher, request, options, strategy = createExpon
1705
1705
  *
1706
1706
  * @internal
1707
1707
  */
1708
- let API$q = class API {
1708
+ let API$r = class API {
1709
1709
  constructor(client) {
1710
1710
  this.client = client;
1711
1711
  }
@@ -2067,7 +2067,7 @@ const marshalUpdateProjectRequest = (request, defaults) => ({
2067
2067
 
2068
2068
  // This file was automatically generated. DO NOT EDIT.
2069
2069
  // If you have any remark or suggestion do not hesitate to open an issue.
2070
- const jsonContentHeaders$m = {
2070
+ const jsonContentHeaders$n = {
2071
2071
  'Content-Type': 'application/json; charset=utf-8'
2072
2072
  };
2073
2073
 
@@ -2076,7 +2076,7 @@ const jsonContentHeaders$m = {
2076
2076
  *
2077
2077
  * User related data. This API allows you to manage projects.
2078
2078
  */
2079
- let API$p = class API extends API$q {
2079
+ let API$q = class API extends API$r {
2080
2080
  /**
2081
2081
  * Create a new Project for an Organization. Generate a new Project for an
2082
2082
  * Organization, specifying its configuration including name and description.
@@ -2086,7 +2086,7 @@ let API$p = class API extends API$q {
2086
2086
  */
2087
2087
  createProject = (request = {}) => this.client.fetch({
2088
2088
  body: JSON.stringify(marshalCreateProjectRequest(request, this.client.settings)),
2089
- headers: jsonContentHeaders$m,
2089
+ headers: jsonContentHeaders$n,
2090
2090
  method: 'POST',
2091
2091
  path: `/account/v2/projects`
2092
2092
  }, unmarshalProject);
@@ -2142,7 +2142,7 @@ let API$p = class API extends API$q {
2142
2142
  */
2143
2143
  updateProject = (request = {}) => this.client.fetch({
2144
2144
  body: JSON.stringify(marshalUpdateProjectRequest(request, this.client.settings)),
2145
- headers: jsonContentHeaders$m,
2145
+ headers: jsonContentHeaders$n,
2146
2146
  method: 'PATCH',
2147
2147
  path: `/account/v2/projects/${validatePathParam('projectId', request.projectId ?? this.client.settings.defaultProjectId)}`
2148
2148
  }, unmarshalProject);
@@ -2151,14 +2151,14 @@ let API$p = class API extends API$q {
2151
2151
  // This file was automatically generated. DO NOT EDIT.
2152
2152
  // If you have any remark or suggestion do not hesitate to open an issue.
2153
2153
 
2154
- var index_gen$l = /*#__PURE__*/Object.freeze({
2154
+ var index_gen$m = /*#__PURE__*/Object.freeze({
2155
2155
  __proto__: null,
2156
- API: API$p
2156
+ API: API$q
2157
2157
  });
2158
2158
 
2159
2159
  var index$s = /*#__PURE__*/Object.freeze({
2160
2160
  __proto__: null,
2161
- v2: index_gen$l
2161
+ v2: index_gen$m
2162
2162
  });
2163
2163
 
2164
2164
  // This file was automatically generated. DO NOT EDIT.
@@ -2277,7 +2277,7 @@ const marshalUpdateServerRequest$2 = (request, defaults) => ({
2277
2277
 
2278
2278
  // This file was automatically generated. DO NOT EDIT.
2279
2279
  // If you have any remark or suggestion do not hesitate to open an issue.
2280
- const jsonContentHeaders$l = {
2280
+ const jsonContentHeaders$m = {
2281
2281
  'Content-Type': 'application/json; charset=utf-8'
2282
2282
  };
2283
2283
 
@@ -2302,7 +2302,7 @@ const jsonContentHeaders$l = {
2302
2302
  * Cisco in the U.S. and other countries and is used by Apple under license.
2303
2303
  * Scaleway is not affiliated with Apple Inc.
2304
2304
  */
2305
- let API$o = class API extends API$q {
2305
+ let API$p = class API extends API$r {
2306
2306
  /** Lists the available zones of the API. */
2307
2307
  static LOCALITIES = ['fr-par-3'];
2308
2308
 
@@ -2340,7 +2340,7 @@ let API$o = class API extends API$q {
2340
2340
  */
2341
2341
  createServer = request => this.client.fetch({
2342
2342
  body: JSON.stringify(marshalCreateServerRequest$2(request, this.client.settings)),
2343
- headers: jsonContentHeaders$l,
2343
+ headers: jsonContentHeaders$m,
2344
2344
  method: 'POST',
2345
2345
  path: `/apple-silicon/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers`
2346
2346
  }, unmarshalServer$2);
@@ -2418,7 +2418,7 @@ let API$o = class API extends API$q {
2418
2418
  */
2419
2419
  updateServer = request => this.client.fetch({
2420
2420
  body: JSON.stringify(marshalUpdateServerRequest$2(request, this.client.settings)),
2421
- headers: jsonContentHeaders$l,
2421
+ headers: jsonContentHeaders$m,
2422
2422
  method: 'PATCH',
2423
2423
  path: `/apple-silicon/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}`
2424
2424
  }, unmarshalServer$2);
@@ -2445,7 +2445,7 @@ let API$o = class API extends API$q {
2445
2445
  */
2446
2446
  rebootServer = request => this.client.fetch({
2447
2447
  body: '{}',
2448
- headers: jsonContentHeaders$l,
2448
+ headers: jsonContentHeaders$m,
2449
2449
  method: 'POST',
2450
2450
  path: `/apple-silicon/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/reboot`
2451
2451
  }, unmarshalServer$2);
@@ -2461,7 +2461,7 @@ let API$o = class API extends API$q {
2461
2461
  */
2462
2462
  reinstallServer = request => this.client.fetch({
2463
2463
  body: '{}',
2464
- headers: jsonContentHeaders$l,
2464
+ headers: jsonContentHeaders$m,
2465
2465
  method: 'POST',
2466
2466
  path: `/apple-silicon/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/reinstall`
2467
2467
  }, unmarshalServer$2);
@@ -2470,15 +2470,15 @@ let API$o = class API extends API$q {
2470
2470
  // This file was automatically generated. DO NOT EDIT.
2471
2471
  // If you have any remark or suggestion do not hesitate to open an issue.
2472
2472
 
2473
- var index_gen$k = /*#__PURE__*/Object.freeze({
2473
+ var index_gen$l = /*#__PURE__*/Object.freeze({
2474
2474
  __proto__: null,
2475
- API: API$o,
2475
+ API: API$p,
2476
2476
  SERVER_TRANSIENT_STATUSES: SERVER_TRANSIENT_STATUSES$2
2477
2477
  });
2478
2478
 
2479
2479
  var index$r = /*#__PURE__*/Object.freeze({
2480
2480
  __proto__: null,
2481
- v1alpha1: index_gen$k
2481
+ v1alpha1: index_gen$l
2482
2482
  });
2483
2483
 
2484
2484
  // This file was automatically generated. DO NOT EDIT.
@@ -2896,7 +2896,7 @@ const marshalUpdateSettingRequest = (request, defaults) => ({
2896
2896
 
2897
2897
  // This file was automatically generated. DO NOT EDIT.
2898
2898
  // If you have any remark or suggestion do not hesitate to open an issue.
2899
- const jsonContentHeaders$k = {
2899
+ const jsonContentHeaders$l = {
2900
2900
  'Content-Type': 'application/json; charset=utf-8'
2901
2901
  };
2902
2902
 
@@ -2905,7 +2905,7 @@ const jsonContentHeaders$k = {
2905
2905
  *
2906
2906
  * This API allows to manage your Elastic Metal server. Elastic Metal API.
2907
2907
  */
2908
- let API$n = class API extends API$q {
2908
+ let API$o = class API extends API$r {
2909
2909
  /** Lists the available zones of the API. */
2910
2910
  static LOCALITIES = ['fr-par-1', 'fr-par-2', 'nl-ams-1'];
2911
2911
  pageOfListServers = (request = {}) => this.client.fetch({
@@ -2953,7 +2953,7 @@ let API$n = class API extends API$q {
2953
2953
  */
2954
2954
  createServer = request => this.client.fetch({
2955
2955
  body: JSON.stringify(marshalCreateServerRequest$1(request, this.client.settings)),
2956
- headers: jsonContentHeaders$k,
2956
+ headers: jsonContentHeaders$l,
2957
2957
  method: 'POST',
2958
2958
  path: `/baremetal/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers`
2959
2959
  }, unmarshalServer$1);
@@ -2968,7 +2968,7 @@ let API$n = class API extends API$q {
2968
2968
  */
2969
2969
  updateServer = request => this.client.fetch({
2970
2970
  body: JSON.stringify(marshalUpdateServerRequest$1(request, this.client.settings)),
2971
- headers: jsonContentHeaders$k,
2971
+ headers: jsonContentHeaders$l,
2972
2972
  method: 'PATCH',
2973
2973
  path: `/baremetal/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}`
2974
2974
  }, unmarshalServer$1);
@@ -2982,7 +2982,7 @@ let API$n = class API extends API$q {
2982
2982
  */
2983
2983
  installServer = request => this.client.fetch({
2984
2984
  body: JSON.stringify(marshalInstallServerRequest(request, this.client.settings)),
2985
- headers: jsonContentHeaders$k,
2985
+ headers: jsonContentHeaders$l,
2986
2986
  method: 'POST',
2987
2987
  path: `/baremetal/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/install`
2988
2988
  }, unmarshalServer$1);
@@ -3020,7 +3020,7 @@ let API$n = class API extends API$q {
3020
3020
  */
3021
3021
  rebootServer = request => this.client.fetch({
3022
3022
  body: JSON.stringify(marshalRebootServerRequest(request, this.client.settings)),
3023
- headers: jsonContentHeaders$k,
3023
+ headers: jsonContentHeaders$l,
3024
3024
  method: 'POST',
3025
3025
  path: `/baremetal/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/reboot`
3026
3026
  }, unmarshalServer$1);
@@ -3033,7 +3033,7 @@ let API$n = class API extends API$q {
3033
3033
  */
3034
3034
  startServer = request => this.client.fetch({
3035
3035
  body: JSON.stringify(marshalStartServerRequest(request, this.client.settings)),
3036
- headers: jsonContentHeaders$k,
3036
+ headers: jsonContentHeaders$l,
3037
3037
  method: 'POST',
3038
3038
  path: `/baremetal/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/start`
3039
3039
  }, unmarshalServer$1);
@@ -3048,7 +3048,7 @@ let API$n = class API extends API$q {
3048
3048
  */
3049
3049
  stopServer = request => this.client.fetch({
3050
3050
  body: '{}',
3051
- headers: jsonContentHeaders$k,
3051
+ headers: jsonContentHeaders$l,
3052
3052
  method: 'POST',
3053
3053
  path: `/baremetal/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/stop`
3054
3054
  }, unmarshalServer$1);
@@ -3086,7 +3086,7 @@ let API$n = class API extends API$q {
3086
3086
  */
3087
3087
  startBMCAccess = request => this.client.fetch({
3088
3088
  body: JSON.stringify(marshalStartBMCAccessRequest(request, this.client.settings)),
3089
- headers: jsonContentHeaders$k,
3089
+ headers: jsonContentHeaders$l,
3090
3090
  method: 'POST',
3091
3091
  path: `/baremetal/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/bmc-access`
3092
3092
  }, unmarshalBMCAccess);
@@ -3124,7 +3124,7 @@ let API$n = class API extends API$q {
3124
3124
  */
3125
3125
  updateIP = request => this.client.fetch({
3126
3126
  body: JSON.stringify(marshalUpdateIPRequest$1(request, this.client.settings)),
3127
- headers: jsonContentHeaders$k,
3127
+ headers: jsonContentHeaders$l,
3128
3128
  method: 'PATCH',
3129
3129
  path: `/baremetal/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/ips/${validatePathParam('ipId', request.ipId)}`
3130
3130
  }, unmarshalIP$1);
@@ -3138,7 +3138,7 @@ let API$n = class API extends API$q {
3138
3138
  */
3139
3139
  addOptionServer = request => this.client.fetch({
3140
3140
  body: JSON.stringify(marshalAddOptionServerRequest(request, this.client.settings)),
3141
- headers: jsonContentHeaders$k,
3141
+ headers: jsonContentHeaders$l,
3142
3142
  method: 'POST',
3143
3143
  path: `/baremetal/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/options/${validatePathParam('optionId', request.optionId)}`
3144
3144
  }, unmarshalServer$1);
@@ -3223,7 +3223,7 @@ let API$n = class API extends API$q {
3223
3223
  */
3224
3224
  updateSetting = request => this.client.fetch({
3225
3225
  body: JSON.stringify(marshalUpdateSettingRequest(request, this.client.settings)),
3226
- headers: jsonContentHeaders$k,
3226
+ headers: jsonContentHeaders$l,
3227
3227
  method: 'PATCH',
3228
3228
  path: `/baremetal/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/settings/${validatePathParam('settingId', request.settingId)}`
3229
3229
  }, unmarshalSetting);
@@ -3255,7 +3255,7 @@ let API$n = class API extends API$q {
3255
3255
  };
3256
3256
 
3257
3257
  /** Elastic Metal Private Network API. */
3258
- class PrivateNetworkAPI extends API$q {
3258
+ class PrivateNetworkAPI extends API$r {
3259
3259
  /** Lists the available zones of the API. */
3260
3260
  static LOCALITIES = ['fr-par-2'];
3261
3261
 
@@ -3268,7 +3268,7 @@ class PrivateNetworkAPI extends API$q {
3268
3268
  */
3269
3269
  addServerPrivateNetwork = request => this.client.fetch({
3270
3270
  body: JSON.stringify(marshalPrivateNetworkApiAddServerPrivateNetworkRequest(request, this.client.settings)),
3271
- headers: jsonContentHeaders$k,
3271
+ headers: jsonContentHeaders$l,
3272
3272
  method: 'POST',
3273
3273
  path: `/baremetal/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/private-networks`
3274
3274
  }, unmarshalServerPrivateNetwork);
@@ -3282,7 +3282,7 @@ class PrivateNetworkAPI extends API$q {
3282
3282
  */
3283
3283
  setServerPrivateNetworks = request => this.client.fetch({
3284
3284
  body: JSON.stringify(marshalPrivateNetworkApiSetServerPrivateNetworksRequest(request, this.client.settings)),
3285
- headers: jsonContentHeaders$k,
3285
+ headers: jsonContentHeaders$l,
3286
3286
  method: 'PUT',
3287
3287
  path: `/baremetal/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/private-networks`
3288
3288
  }, unmarshalSetServerPrivateNetworksResponse);
@@ -3313,7 +3313,7 @@ class PrivateNetworkAPI extends API$q {
3313
3313
  });
3314
3314
  }
3315
3315
 
3316
- class BaremetalV1UtilsAPI extends API$n {
3316
+ class BaremetalV1UtilsAPI extends API$o {
3317
3317
  /**
3318
3318
  * Waits for {@link ServerInstall} to be in a final state.
3319
3319
  *
@@ -3527,7 +3527,7 @@ const unmarshalListInvoicesResponse = data => {
3527
3527
  *
3528
3528
  * This API allows you to query your consumption. Billing API.
3529
3529
  */
3530
- let API$m = class API extends API$q {
3530
+ let API$n = class API extends API$r {
3531
3531
  getConsumption = (request = {}) => this.client.fetch({
3532
3532
  method: 'GET',
3533
3533
  path: `/billing/v2alpha1/consumption`,
@@ -3550,14 +3550,14 @@ let API$m = class API extends API$q {
3550
3550
  // This file was automatically generated. DO NOT EDIT.
3551
3551
  // If you have any remark or suggestion do not hesitate to open an issue.
3552
3552
 
3553
- var index_gen$j = /*#__PURE__*/Object.freeze({
3553
+ var index_gen$k = /*#__PURE__*/Object.freeze({
3554
3554
  __proto__: null,
3555
- API: API$m
3555
+ API: API$n
3556
3556
  });
3557
3557
 
3558
3558
  var index$o = /*#__PURE__*/Object.freeze({
3559
3559
  __proto__: null,
3560
- v2alpha1: index_gen$j
3560
+ v2alpha1: index_gen$k
3561
3561
  });
3562
3562
 
3563
3563
  // This file was automatically generated. DO NOT EDIT.
@@ -3781,7 +3781,7 @@ const marshalTriggerTestAlertRequest = (request, defaults) => ({
3781
3781
 
3782
3782
  // This file was automatically generated. DO NOT EDIT.
3783
3783
  // If you have any remark or suggestion do not hesitate to open an issue.
3784
- const jsonContentHeaders$j = {
3784
+ const jsonContentHeaders$k = {
3785
3785
  'Content-Type': 'application/json; charset=utf-8'
3786
3786
  };
3787
3787
 
@@ -3792,7 +3792,7 @@ const jsonContentHeaders$j = {
3792
3792
  * Projects. Scaleway's Cockpit stores metrics and logs and provides a dedicated
3793
3793
  * Grafana for dashboarding to visualize them.
3794
3794
  */
3795
- let API$l = class API extends API$q {
3795
+ let API$m = class API extends API$r {
3796
3796
  /**
3797
3797
  * Activate a Cockpit. Activate the Cockpit of the specified Project ID.
3798
3798
  *
@@ -3801,7 +3801,7 @@ let API$l = class API extends API$q {
3801
3801
  */
3802
3802
  activateCockpit = (request = {}) => this.client.fetch({
3803
3803
  body: JSON.stringify(marshalActivateCockpitRequest(request, this.client.settings)),
3804
- headers: jsonContentHeaders$j,
3804
+ headers: jsonContentHeaders$k,
3805
3805
  method: 'POST',
3806
3806
  path: `/cockpit/v1beta1/activate`
3807
3807
  }, unmarshalCockpit);
@@ -3848,7 +3848,7 @@ let API$l = class API extends API$q {
3848
3848
  */
3849
3849
  deactivateCockpit = (request = {}) => this.client.fetch({
3850
3850
  body: JSON.stringify(marshalDeactivateCockpitRequest(request, this.client.settings)),
3851
- headers: jsonContentHeaders$j,
3851
+ headers: jsonContentHeaders$k,
3852
3852
  method: 'POST',
3853
3853
  path: `/cockpit/v1beta1/deactivate`
3854
3854
  }, unmarshalCockpit);
@@ -3862,7 +3862,7 @@ let API$l = class API extends API$q {
3862
3862
  */
3863
3863
  resetCockpitGrafana = (request = {}) => this.client.fetch({
3864
3864
  body: JSON.stringify(marshalResetCockpitGrafanaRequest(request, this.client.settings)),
3865
- headers: jsonContentHeaders$j,
3865
+ headers: jsonContentHeaders$k,
3866
3866
  method: 'POST',
3867
3867
  path: `/cockpit/v1beta1/reset-grafana`
3868
3868
  }, unmarshalCockpit);
@@ -3875,7 +3875,7 @@ let API$l = class API extends API$q {
3875
3875
  */
3876
3876
  createToken = (request = {}) => this.client.fetch({
3877
3877
  body: JSON.stringify(marshalCreateTokenRequest$2(request, this.client.settings)),
3878
- headers: jsonContentHeaders$j,
3878
+ headers: jsonContentHeaders$k,
3879
3879
  method: 'POST',
3880
3880
  path: `/cockpit/v1beta1/tokens`
3881
3881
  }, unmarshalToken$2);
@@ -3923,7 +3923,7 @@ let API$l = class API extends API$q {
3923
3923
  */
3924
3924
  createContactPoint = (request = {}) => this.client.fetch({
3925
3925
  body: JSON.stringify(marshalCreateContactPointRequest(request, this.client.settings)),
3926
- headers: jsonContentHeaders$j,
3926
+ headers: jsonContentHeaders$k,
3927
3927
  method: 'POST',
3928
3928
  path: `/cockpit/v1beta1/contact-points`
3929
3929
  }, unmarshalContactPoint);
@@ -3950,7 +3950,7 @@ let API$l = class API extends API$q {
3950
3950
  */
3951
3951
  deleteContactPoint = (request = {}) => this.client.fetch({
3952
3952
  body: JSON.stringify(marshalDeleteContactPointRequest(request, this.client.settings)),
3953
- headers: jsonContentHeaders$j,
3953
+ headers: jsonContentHeaders$k,
3954
3954
  method: 'POST',
3955
3955
  path: `/cockpit/v1beta1/delete-contact-point`
3956
3956
  });
@@ -3963,7 +3963,7 @@ let API$l = class API extends API$q {
3963
3963
  */
3964
3964
  enableManagedAlerts = (request = {}) => this.client.fetch({
3965
3965
  body: JSON.stringify(marshalEnableManagedAlertsRequest(request, this.client.settings)),
3966
- headers: jsonContentHeaders$j,
3966
+ headers: jsonContentHeaders$k,
3967
3967
  method: 'POST',
3968
3968
  path: `/cockpit/v1beta1/enable-managed-alerts`
3969
3969
  });
@@ -3976,7 +3976,7 @@ let API$l = class API extends API$q {
3976
3976
  */
3977
3977
  disableManagedAlerts = (request = {}) => this.client.fetch({
3978
3978
  body: JSON.stringify(marshalDisableManagedAlertsRequest(request, this.client.settings)),
3979
- headers: jsonContentHeaders$j,
3979
+ headers: jsonContentHeaders$k,
3980
3980
  method: 'POST',
3981
3981
  path: `/cockpit/v1beta1/disable-managed-alerts`
3982
3982
  });
@@ -3989,7 +3989,7 @@ let API$l = class API extends API$q {
3989
3989
  */
3990
3990
  triggerTestAlert = (request = {}) => this.client.fetch({
3991
3991
  body: JSON.stringify(marshalTriggerTestAlertRequest(request, this.client.settings)),
3992
- headers: jsonContentHeaders$j,
3992
+ headers: jsonContentHeaders$k,
3993
3993
  method: 'POST',
3994
3994
  path: `/cockpit/v1beta1/trigger-test-alert`
3995
3995
  });
@@ -4004,7 +4004,7 @@ let API$l = class API extends API$q {
4004
4004
  */
4005
4005
  createGrafanaUser = request => this.client.fetch({
4006
4006
  body: JSON.stringify(marshalCreateGrafanaUserRequest(request, this.client.settings)),
4007
- headers: jsonContentHeaders$j,
4007
+ headers: jsonContentHeaders$k,
4008
4008
  method: 'POST',
4009
4009
  path: `/cockpit/v1beta1/grafana-users`
4010
4010
  }, unmarshalGrafanaUser);
@@ -4031,7 +4031,7 @@ let API$l = class API extends API$q {
4031
4031
  */
4032
4032
  deleteGrafanaUser = request => this.client.fetch({
4033
4033
  body: JSON.stringify(marshalDeleteGrafanaUserRequest(request, this.client.settings)),
4034
- headers: jsonContentHeaders$j,
4034
+ headers: jsonContentHeaders$k,
4035
4035
  method: 'POST',
4036
4036
  path: `/cockpit/v1beta1/grafana-users/${validatePathParam('grafanaUserId', request.grafanaUserId)}/delete`
4037
4037
  });
@@ -4045,7 +4045,7 @@ let API$l = class API extends API$q {
4045
4045
  */
4046
4046
  resetGrafanaUserPassword = request => this.client.fetch({
4047
4047
  body: JSON.stringify(marshalResetGrafanaUserPasswordRequest(request, this.client.settings)),
4048
- headers: jsonContentHeaders$j,
4048
+ headers: jsonContentHeaders$k,
4049
4049
  method: 'POST',
4050
4050
  path: `/cockpit/v1beta1/grafana-users/${validatePathParam('grafanaUserId', request.grafanaUserId)}/reset-password`
4051
4051
  }, unmarshalGrafanaUser);
@@ -4073,7 +4073,7 @@ let API$l = class API extends API$q {
4073
4073
  */
4074
4074
  selectPlan = request => this.client.fetch({
4075
4075
  body: JSON.stringify(marshalSelectPlanRequest(request, this.client.settings)),
4076
- headers: jsonContentHeaders$j,
4076
+ headers: jsonContentHeaders$k,
4077
4077
  method: 'POST',
4078
4078
  path: `/cockpit/v1beta1/select-plan`
4079
4079
  }, unmarshalSelectPlanResponse);
@@ -4082,15 +4082,15 @@ let API$l = class API extends API$q {
4082
4082
  // This file was automatically generated. DO NOT EDIT.
4083
4083
  // If you have any remark or suggestion do not hesitate to open an issue.
4084
4084
 
4085
- var index_gen$i = /*#__PURE__*/Object.freeze({
4085
+ var index_gen$j = /*#__PURE__*/Object.freeze({
4086
4086
  __proto__: null,
4087
- API: API$l,
4087
+ API: API$m,
4088
4088
  COCKPIT_TRANSIENT_STATUSES: COCKPIT_TRANSIENT_STATUSES
4089
4089
  });
4090
4090
 
4091
4091
  var index$n = /*#__PURE__*/Object.freeze({
4092
4092
  __proto__: null,
4093
- v1beta1: index_gen$i
4093
+ v1beta1: index_gen$j
4094
4094
  });
4095
4095
 
4096
4096
  // This file was automatically generated. DO NOT EDIT.
@@ -4358,12 +4358,12 @@ const marshalUpdateNamespaceRequest$3 = (request, defaults) => ({
4358
4358
 
4359
4359
  // This file was automatically generated. DO NOT EDIT.
4360
4360
  // If you have any remark or suggestion do not hesitate to open an issue.
4361
- const jsonContentHeaders$i = {
4361
+ const jsonContentHeaders$j = {
4362
4362
  'Content-Type': 'application/json; charset=utf-8'
4363
4363
  };
4364
4364
 
4365
4365
  /** Serverless Containers API. */
4366
- let API$k = class API extends API$q {
4366
+ let API$l = class API extends API$r {
4367
4367
  /** Lists the available regions of the API. */
4368
4368
  static LOCALITIES = ['fr-par', 'nl-ams', 'pl-waw'];
4369
4369
  pageOfListNamespaces = (request = {}) => this.client.fetch({
@@ -4408,7 +4408,7 @@ let API$k = class API extends API$q {
4408
4408
  */
4409
4409
  createNamespace = (request = {}) => this.client.fetch({
4410
4410
  body: JSON.stringify(marshalCreateNamespaceRequest$3(request, this.client.settings)),
4411
- headers: jsonContentHeaders$i,
4411
+ headers: jsonContentHeaders$j,
4412
4412
  method: 'POST',
4413
4413
  path: `/containers/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/namespaces`
4414
4414
  }, unmarshalNamespace$3);
@@ -4422,7 +4422,7 @@ let API$k = class API extends API$q {
4422
4422
  */
4423
4423
  updateNamespace = request => this.client.fetch({
4424
4424
  body: JSON.stringify(marshalUpdateNamespaceRequest$3(request, this.client.settings)),
4425
- headers: jsonContentHeaders$i,
4425
+ headers: jsonContentHeaders$j,
4426
4426
  method: 'PATCH',
4427
4427
  path: `/containers/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/namespaces/${validatePathParam('namespaceId', request.namespaceId)}`
4428
4428
  }, unmarshalNamespace$3);
@@ -4480,7 +4480,7 @@ let API$k = class API extends API$q {
4480
4480
  */
4481
4481
  createContainer = request => this.client.fetch({
4482
4482
  body: JSON.stringify(marshalCreateContainerRequest(request, this.client.settings)),
4483
- headers: jsonContentHeaders$i,
4483
+ headers: jsonContentHeaders$j,
4484
4484
  method: 'POST',
4485
4485
  path: `/containers/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/containers`
4486
4486
  }, unmarshalContainer);
@@ -4494,7 +4494,7 @@ let API$k = class API extends API$q {
4494
4494
  */
4495
4495
  updateContainer = request => this.client.fetch({
4496
4496
  body: JSON.stringify(marshalUpdateContainerRequest(request, this.client.settings)),
4497
- headers: jsonContentHeaders$i,
4497
+ headers: jsonContentHeaders$j,
4498
4498
  method: 'PATCH',
4499
4499
  path: `/containers/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/containers/${validatePathParam('containerId', request.containerId)}`
4500
4500
  }, unmarshalContainer);
@@ -4518,7 +4518,7 @@ let API$k = class API extends API$q {
4518
4518
  */
4519
4519
  deployContainer = request => this.client.fetch({
4520
4520
  body: '{}',
4521
- headers: jsonContentHeaders$i,
4521
+ headers: jsonContentHeaders$j,
4522
4522
  method: 'POST',
4523
4523
  path: `/containers/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/containers/${validatePathParam('containerId', request.containerId)}/deploy`
4524
4524
  }, unmarshalContainer);
@@ -4564,7 +4564,7 @@ let API$k = class API extends API$q {
4564
4564
  */
4565
4565
  createCron = request => this.client.fetch({
4566
4566
  body: JSON.stringify(marshalCreateCronRequest$1(request, this.client.settings)),
4567
- headers: jsonContentHeaders$i,
4567
+ headers: jsonContentHeaders$j,
4568
4568
  method: 'POST',
4569
4569
  path: `/containers/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/crons`
4570
4570
  }, unmarshalCron$1);
@@ -4577,7 +4577,7 @@ let API$k = class API extends API$q {
4577
4577
  */
4578
4578
  updateCron = request => this.client.fetch({
4579
4579
  body: JSON.stringify(marshalUpdateCronRequest$1(request, this.client.settings)),
4580
- headers: jsonContentHeaders$i,
4580
+ headers: jsonContentHeaders$j,
4581
4581
  method: 'PATCH',
4582
4582
  path: `/containers/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/crons/${validatePathParam('cronId', request.cronId)}`
4583
4583
  }, unmarshalCron$1);
@@ -4651,7 +4651,7 @@ let API$k = class API extends API$q {
4651
4651
  */
4652
4652
  createDomain = request => this.client.fetch({
4653
4653
  body: JSON.stringify(marshalCreateDomainRequest$2(request, this.client.settings)),
4654
- headers: jsonContentHeaders$i,
4654
+ headers: jsonContentHeaders$j,
4655
4655
  method: 'POST',
4656
4656
  path: `/containers/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/domains`
4657
4657
  }, unmarshalDomain$3);
@@ -4693,7 +4693,7 @@ let API$k = class API extends API$q {
4693
4693
  */
4694
4694
  createToken = (request = {}) => this.client.fetch({
4695
4695
  body: JSON.stringify(marshalCreateTokenRequest$1(request, this.client.settings)),
4696
- headers: jsonContentHeaders$i,
4696
+ headers: jsonContentHeaders$j,
4697
4697
  method: 'POST',
4698
4698
  path: `/containers/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/tokens`
4699
4699
  }, unmarshalToken$1);
@@ -4747,9 +4747,9 @@ let API$k = class API extends API$q {
4747
4747
  // This file was automatically generated. DO NOT EDIT.
4748
4748
  // If you have any remark or suggestion do not hesitate to open an issue.
4749
4749
 
4750
- var index_gen$h = /*#__PURE__*/Object.freeze({
4750
+ var index_gen$i = /*#__PURE__*/Object.freeze({
4751
4751
  __proto__: null,
4752
- API: API$k,
4752
+ API: API$l,
4753
4753
  CONTAINER_TRANSIENT_STATUSES: CONTAINER_TRANSIENT_STATUSES,
4754
4754
  CRON_TRANSIENT_STATUSES: CRON_TRANSIENT_STATUSES$1,
4755
4755
  DOMAIN_TRANSIENT_STATUSES: DOMAIN_TRANSIENT_STATUSES$3,
@@ -4759,7 +4759,7 @@ var index_gen$h = /*#__PURE__*/Object.freeze({
4759
4759
 
4760
4760
  var index$m = /*#__PURE__*/Object.freeze({
4761
4761
  __proto__: null,
4762
- v1beta1: index_gen$h
4762
+ v1beta1: index_gen$i
4763
4763
  });
4764
4764
 
4765
4765
  // This file was automatically generated. DO NOT EDIT.
@@ -5949,7 +5949,7 @@ const marshalUpdateDNSZoneRequest = (request, defaults) => ({
5949
5949
 
5950
5950
  // This file was automatically generated. DO NOT EDIT.
5951
5951
  // If you have any remark or suggestion do not hesitate to open an issue.
5952
- const jsonContentHeaders$h = {
5952
+ const jsonContentHeaders$i = {
5953
5953
  'Content-Type': 'application/json; charset=utf-8'
5954
5954
  };
5955
5955
 
@@ -5959,7 +5959,7 @@ const jsonContentHeaders$h = {
5959
5959
  * Domains and DNS API. Manage your domains, DNS zones and records with the
5960
5960
  * Domains and DNS API.
5961
5961
  */
5962
- let API$j = class API extends API$q {
5962
+ let API$k = class API extends API$r {
5963
5963
  pageOfListDNSZones = request => this.client.fetch({
5964
5964
  method: 'GET',
5965
5965
  path: `/domain/v2beta1/dns-zones`,
@@ -5984,7 +5984,7 @@ let API$j = class API extends API$q {
5984
5984
  */
5985
5985
  createDNSZone = request => this.client.fetch({
5986
5986
  body: JSON.stringify(marshalCreateDNSZoneRequest(request, this.client.settings)),
5987
- headers: jsonContentHeaders$h,
5987
+ headers: jsonContentHeaders$i,
5988
5988
  method: 'POST',
5989
5989
  path: `/domain/v2beta1/dns-zones`
5990
5990
  }, unmarshalDNSZone);
@@ -5997,7 +5997,7 @@ let API$j = class API extends API$q {
5997
5997
  */
5998
5998
  updateDNSZone = request => this.client.fetch({
5999
5999
  body: JSON.stringify(marshalUpdateDNSZoneRequest(request, this.client.settings)),
6000
- headers: jsonContentHeaders$h,
6000
+ headers: jsonContentHeaders$i,
6001
6001
  method: 'PATCH',
6002
6002
  path: `/domain/v2beta1/dns-zones/${validatePathParam('dnsZone', request.dnsZone)}`
6003
6003
  }, unmarshalDNSZone);
@@ -6011,7 +6011,7 @@ let API$j = class API extends API$q {
6011
6011
  */
6012
6012
  cloneDNSZone = request => this.client.fetch({
6013
6013
  body: JSON.stringify(marshalCloneDNSZoneRequest(request, this.client.settings)),
6014
- headers: jsonContentHeaders$h,
6014
+ headers: jsonContentHeaders$i,
6015
6015
  method: 'POST',
6016
6016
  path: `/domain/v2beta1/dns-zones/${validatePathParam('dnsZone', request.dnsZone)}/clone`
6017
6017
  }, unmarshalDNSZone);
@@ -6064,7 +6064,7 @@ let API$j = class API extends API$q {
6064
6064
  */
6065
6065
  updateDNSZoneRecords = request => this.client.fetch({
6066
6066
  body: JSON.stringify(marshalUpdateDNSZoneRecordsRequest(request, this.client.settings)),
6067
- headers: jsonContentHeaders$h,
6067
+ headers: jsonContentHeaders$i,
6068
6068
  method: 'PATCH',
6069
6069
  path: `/domain/v2beta1/dns-zones/${validatePathParam('dnsZone', request.dnsZone)}/records`
6070
6070
  }, unmarshalUpdateDNSZoneRecordsResponse);
@@ -6091,7 +6091,7 @@ let API$j = class API extends API$q {
6091
6091
  */
6092
6092
  updateDNSZoneNameservers = request => this.client.fetch({
6093
6093
  body: JSON.stringify(marshalUpdateDNSZoneNameserversRequest(request, this.client.settings)),
6094
- headers: jsonContentHeaders$h,
6094
+ headers: jsonContentHeaders$i,
6095
6095
  method: 'PUT',
6096
6096
  path: `/domain/v2beta1/dns-zones/${validatePathParam('dnsZone', request.dnsZone)}/nameservers`
6097
6097
  }, unmarshalUpdateDNSZoneNameserversResponse);
@@ -6131,7 +6131,7 @@ let API$j = class API extends API$q {
6131
6131
  */
6132
6132
  importRawDNSZone = request => this.client.fetch({
6133
6133
  body: JSON.stringify(marshalImportRawDNSZoneRequest(request, this.client.settings)),
6134
- headers: jsonContentHeaders$h,
6134
+ headers: jsonContentHeaders$i,
6135
6135
  method: 'POST',
6136
6136
  path: `/domain/v2beta1/dns-zones/${validatePathParam('dnsZone', request.dnsZone)}/raw`
6137
6137
  }, unmarshalImportRawDNSZoneResponse);
@@ -6145,7 +6145,7 @@ let API$j = class API extends API$q {
6145
6145
  */
6146
6146
  importProviderDNSZone = request => this.client.fetch({
6147
6147
  body: JSON.stringify(marshalImportProviderDNSZoneRequest(request, this.client.settings)),
6148
- headers: jsonContentHeaders$h,
6148
+ headers: jsonContentHeaders$i,
6149
6149
  method: 'POST',
6150
6150
  path: `/domain/v2beta1/dns-zones/${validatePathParam('dnsZone', request.dnsZone)}/import-provider`
6151
6151
  }, unmarshalImportProviderDNSZoneResponse);
@@ -6160,7 +6160,7 @@ let API$j = class API extends API$q {
6160
6160
  */
6161
6161
  refreshDNSZone = request => this.client.fetch({
6162
6162
  body: JSON.stringify(marshalRefreshDNSZoneRequest(request, this.client.settings)),
6163
- headers: jsonContentHeaders$h,
6163
+ headers: jsonContentHeaders$i,
6164
6164
  method: 'POST',
6165
6165
  path: `/domain/v2beta1/dns-zones/${validatePathParam('dnsZone', request.dnsZone)}/refresh`
6166
6166
  }, unmarshalRefreshDNSZoneResponse);
@@ -6215,7 +6215,7 @@ let API$j = class API extends API$q {
6215
6215
  */
6216
6216
  restoreDNSZoneVersion = request => this.client.fetch({
6217
6217
  body: '{}',
6218
- headers: jsonContentHeaders$h,
6218
+ headers: jsonContentHeaders$i,
6219
6219
  method: 'POST',
6220
6220
  path: `/domain/v2beta1/dns-zones/version/${validatePathParam('dnsZoneVersionId', request.dnsZoneVersionId)}/restore`
6221
6221
  }, unmarshalRestoreDNSZoneVersionResponse);
@@ -6250,7 +6250,7 @@ let API$j = class API extends API$q {
6250
6250
  */
6251
6251
  createSSLCertificate = request => this.client.fetch({
6252
6252
  body: JSON.stringify(marshalCreateSSLCertificateRequest(request, this.client.settings)),
6253
- headers: jsonContentHeaders$h,
6253
+ headers: jsonContentHeaders$i,
6254
6254
  method: 'POST',
6255
6255
  path: `/domain/v2beta1/ssl-certificates`
6256
6256
  }, unmarshalSSLCertificate);
@@ -6311,7 +6311,7 @@ let API$j = class API extends API$q {
6311
6311
  *
6312
6312
  * Domains and DNS - Registrar API. Manage your domains and contacts.
6313
6313
  */
6314
- class RegistrarAPI extends API$q {
6314
+ class RegistrarAPI extends API$r {
6315
6315
  pageOfListTasks = (request = {}) => this.client.fetch({
6316
6316
  method: 'GET',
6317
6317
  path: `/domain/v2beta1/tasks`,
@@ -6335,7 +6335,7 @@ class RegistrarAPI extends API$q {
6335
6335
  */
6336
6336
  buyDomains = request => this.client.fetch({
6337
6337
  body: JSON.stringify(marshalRegistrarApiBuyDomainsRequest(request, this.client.settings)),
6338
- headers: jsonContentHeaders$h,
6338
+ headers: jsonContentHeaders$i,
6339
6339
  method: 'POST',
6340
6340
  path: `/domain/v2beta1/buy-domains`
6341
6341
  }, unmarshalOrderResponse);
@@ -6348,7 +6348,7 @@ class RegistrarAPI extends API$q {
6348
6348
  */
6349
6349
  renewDomains = request => this.client.fetch({
6350
6350
  body: JSON.stringify(marshalRegistrarApiRenewDomainsRequest(request, this.client.settings)),
6351
- headers: jsonContentHeaders$h,
6351
+ headers: jsonContentHeaders$i,
6352
6352
  method: 'POST',
6353
6353
  path: `/domain/v2beta1/renew-domains`
6354
6354
  }, unmarshalOrderResponse);
@@ -6362,7 +6362,7 @@ class RegistrarAPI extends API$q {
6362
6362
  */
6363
6363
  transferInDomain = request => this.client.fetch({
6364
6364
  body: JSON.stringify(marshalRegistrarApiTransferInDomainRequest(request, this.client.settings)),
6365
- headers: jsonContentHeaders$h,
6365
+ headers: jsonContentHeaders$i,
6366
6366
  method: 'POST',
6367
6367
  path: `/domain/v2beta1/domains/transfer-domains`
6368
6368
  }, unmarshalOrderResponse);
@@ -6379,7 +6379,7 @@ class RegistrarAPI extends API$q {
6379
6379
  */
6380
6380
  tradeDomain = request => this.client.fetch({
6381
6381
  body: JSON.stringify(marshalRegistrarApiTradeDomainRequest(request, this.client.settings)),
6382
- headers: jsonContentHeaders$h,
6382
+ headers: jsonContentHeaders$i,
6383
6383
  method: 'POST',
6384
6384
  path: `/domain/v2beta1/domains/${validatePathParam('domain', request.domain)}/trade`
6385
6385
  }, unmarshalOrderResponse);
@@ -6394,7 +6394,7 @@ class RegistrarAPI extends API$q {
6394
6394
  */
6395
6395
  registerExternalDomain = request => this.client.fetch({
6396
6396
  body: JSON.stringify(marshalRegistrarApiRegisterExternalDomainRequest(request, this.client.settings)),
6397
- headers: jsonContentHeaders$h,
6397
+ headers: jsonContentHeaders$i,
6398
6398
  method: 'POST',
6399
6399
  path: `/domain/v2beta1/external-domains`
6400
6400
  }, unmarshalRegisterExternalDomainResponse);
@@ -6421,7 +6421,7 @@ class RegistrarAPI extends API$q {
6421
6421
  */
6422
6422
  checkContactsCompatibility = (request = {}) => this.client.fetch({
6423
6423
  body: JSON.stringify(marshalRegistrarApiCheckContactsCompatibilityRequest(request, this.client.settings)),
6424
- headers: jsonContentHeaders$h,
6424
+ headers: jsonContentHeaders$i,
6425
6425
  method: 'POST',
6426
6426
  path: `/domain/v2beta1/check-contacts-compatibility`
6427
6427
  }, unmarshalCheckContactsCompatibilityResponse);
@@ -6460,7 +6460,7 @@ class RegistrarAPI extends API$q {
6460
6460
  */
6461
6461
  updateContact = request => this.client.fetch({
6462
6462
  body: JSON.stringify(marshalRegistrarApiUpdateContactRequest(request, this.client.settings)),
6463
- headers: jsonContentHeaders$h,
6463
+ headers: jsonContentHeaders$i,
6464
6464
  method: 'PATCH',
6465
6465
  path: `/domain/v2beta1/contacts/${validatePathParam('contactId', request.contactId)}`
6466
6466
  }, unmarshalContact);
@@ -6523,7 +6523,7 @@ class RegistrarAPI extends API$q {
6523
6523
  */
6524
6524
  updateDomain = request => this.client.fetch({
6525
6525
  body: JSON.stringify(marshalRegistrarApiUpdateDomainRequest(request, this.client.settings)),
6526
- headers: jsonContentHeaders$h,
6526
+ headers: jsonContentHeaders$i,
6527
6527
  method: 'PATCH',
6528
6528
  path: `/domain/v2beta1/domains/${validatePathParam('domain', request.domain)}`
6529
6529
  }, unmarshalDomain$2);
@@ -6537,7 +6537,7 @@ class RegistrarAPI extends API$q {
6537
6537
  */
6538
6538
  lockDomainTransfer = request => this.client.fetch({
6539
6539
  body: '{}',
6540
- headers: jsonContentHeaders$h,
6540
+ headers: jsonContentHeaders$i,
6541
6541
  method: 'POST',
6542
6542
  path: `/domain/v2beta1/domains/${validatePathParam('domain', request.domain)}/lock-transfer`
6543
6543
  }, unmarshalDomain$2);
@@ -6551,7 +6551,7 @@ class RegistrarAPI extends API$q {
6551
6551
  */
6552
6552
  unlockDomainTransfer = request => this.client.fetch({
6553
6553
  body: '{}',
6554
- headers: jsonContentHeaders$h,
6554
+ headers: jsonContentHeaders$i,
6555
6555
  method: 'POST',
6556
6556
  path: `/domain/v2beta1/domains/${validatePathParam('domain', request.domain)}/unlock-transfer`
6557
6557
  }, unmarshalDomain$2);
@@ -6565,7 +6565,7 @@ class RegistrarAPI extends API$q {
6565
6565
  */
6566
6566
  enableDomainAutoRenew = request => this.client.fetch({
6567
6567
  body: '{}',
6568
- headers: jsonContentHeaders$h,
6568
+ headers: jsonContentHeaders$i,
6569
6569
  method: 'POST',
6570
6570
  path: `/domain/v2beta1/domains/${validatePathParam('domain', request.domain)}/enable-auto-renew`
6571
6571
  }, unmarshalDomain$2);
@@ -6579,7 +6579,7 @@ class RegistrarAPI extends API$q {
6579
6579
  */
6580
6580
  disableDomainAutoRenew = request => this.client.fetch({
6581
6581
  body: '{}',
6582
- headers: jsonContentHeaders$h,
6582
+ headers: jsonContentHeaders$i,
6583
6583
  method: 'POST',
6584
6584
  path: `/domain/v2beta1/domains/${validatePathParam('domain', request.domain)}/disable-auto-renew`
6585
6585
  }, unmarshalDomain$2);
@@ -6600,34 +6600,14 @@ class RegistrarAPI extends API$q {
6600
6600
 
6601
6601
  /**
6602
6602
  * Update domain DNSSEC. If your domain has the default Scaleway NS and uses
6603
- * another registrar, you have to update the DS record manually. For the
6604
- * algorithm, here are the code numbers for each type:
6605
- *
6606
- * - 1: RSAMD5
6607
- * - 2: DIFFIE_HELLMAN
6608
- * - 3: DSA_SHA1
6609
- * - 5: RSA_SHA1
6610
- * - 6: DSA_NSEC3_SHA1
6611
- * - 7: RSASHA1_NSEC3_SHA1
6612
- * - 8: RSASHA256
6613
- * - 10: RSASHA512
6614
- * - 12: ECC_GOST
6615
- * - 13: ECDSAP256SHA256
6616
- * - 14: ECDSAP384SHA384
6617
- *
6618
- * And for the digest type:
6619
- *
6620
- * - 1: SHA_1
6621
- * - 2: SHA_256
6622
- * - 3: GOST_R_34_11_94
6623
- * - 4: SHA_384
6603
+ * another registrar, you have to update the DS record manually.
6624
6604
  *
6625
6605
  * @param request - The request {@link RegistrarApiEnableDomainDNSSECRequest}
6626
6606
  * @returns A Promise of Domain
6627
6607
  */
6628
6608
  enableDomainDNSSEC = request => this.client.fetch({
6629
6609
  body: JSON.stringify(marshalRegistrarApiEnableDomainDNSSECRequest(request, this.client.settings)),
6630
- headers: jsonContentHeaders$h,
6610
+ headers: jsonContentHeaders$i,
6631
6611
  method: 'POST',
6632
6612
  path: `/domain/v2beta1/domains/${validatePathParam('domain', request.domain)}/enable-dnssec`
6633
6613
  }, unmarshalDomain$2);
@@ -6640,7 +6620,7 @@ class RegistrarAPI extends API$q {
6640
6620
  */
6641
6621
  disableDomainDNSSEC = request => this.client.fetch({
6642
6622
  body: '{}',
6643
- headers: jsonContentHeaders$h,
6623
+ headers: jsonContentHeaders$i,
6644
6624
  method: 'POST',
6645
6625
  path: `/domain/v2beta1/domains/${validatePathParam('domain', request.domain)}/disable-dnssec`
6646
6626
  }, unmarshalDomain$2);
@@ -6669,7 +6649,7 @@ class RegistrarAPI extends API$q {
6669
6649
  */
6670
6650
  createDomainHost = request => this.client.fetch({
6671
6651
  body: JSON.stringify(marshalRegistrarApiCreateDomainHostRequest(request, this.client.settings)),
6672
- headers: jsonContentHeaders$h,
6652
+ headers: jsonContentHeaders$i,
6673
6653
  method: 'POST',
6674
6654
  path: `/domain/v2beta1/domains/${validatePathParam('domain', request.domain)}/hosts`
6675
6655
  }, unmarshalHost);
@@ -6695,7 +6675,7 @@ class RegistrarAPI extends API$q {
6695
6675
  */
6696
6676
  updateDomainHost = request => this.client.fetch({
6697
6677
  body: JSON.stringify(marshalRegistrarApiUpdateDomainHostRequest(request, this.client.settings)),
6698
- headers: jsonContentHeaders$h,
6678
+ headers: jsonContentHeaders$i,
6699
6679
  method: 'PATCH',
6700
6680
  path: `/domain/v2beta1/domains/${validatePathParam('domain', request.domain)}/hosts/${validatePathParam('name', request.name)}`
6701
6681
  }, unmarshalHost);
@@ -6715,9 +6695,9 @@ class RegistrarAPI extends API$q {
6715
6695
  // This file was automatically generated. DO NOT EDIT.
6716
6696
  // If you have any remark or suggestion do not hesitate to open an issue.
6717
6697
 
6718
- var index_gen$g = /*#__PURE__*/Object.freeze({
6698
+ var index_gen$h = /*#__PURE__*/Object.freeze({
6719
6699
  __proto__: null,
6720
- API: API$j,
6700
+ API: API$k,
6721
6701
  DNS_ZONE_TRANSIENT_STATUSES: DNS_ZONE_TRANSIENT_STATUSES,
6722
6702
  DOMAIN_FEATURE_TRANSIENT_STATUSES: DOMAIN_FEATURE_TRANSIENT_STATUSES,
6723
6703
  DOMAIN_REGISTRATION_STATUS_TRANSFER_TRANSIENT_STATUSES: DOMAIN_REGISTRATION_STATUS_TRANSFER_TRANSIENT_STATUSES,
@@ -6730,7 +6710,7 @@ var index_gen$g = /*#__PURE__*/Object.freeze({
6730
6710
 
6731
6711
  var index$l = /*#__PURE__*/Object.freeze({
6732
6712
  __proto__: null,
6733
- v2beta1: index_gen$g
6713
+ v2beta1: index_gen$h
6734
6714
  });
6735
6715
 
6736
6716
  // This file was automatically generated. DO NOT EDIT.
@@ -6837,12 +6817,12 @@ const marshalUpdateFlexibleIPRequest = (request, defaults) => ({
6837
6817
 
6838
6818
  // This file was automatically generated. DO NOT EDIT.
6839
6819
  // If you have any remark or suggestion do not hesitate to open an issue.
6840
- const jsonContentHeaders$g = {
6820
+ const jsonContentHeaders$h = {
6841
6821
  'Content-Type': 'application/json; charset=utf-8'
6842
6822
  };
6843
6823
 
6844
6824
  /** Elastic Metal - Flexible IP API. */
6845
- let API$i = class API extends API$q {
6825
+ let API$j = class API extends API$r {
6846
6826
  /** Lists the available zones of the API. */
6847
6827
  static LOCALITIES = ['fr-par-1', 'fr-par-2', 'nl-ams-1'];
6848
6828
 
@@ -6855,7 +6835,7 @@ let API$i = class API extends API$q {
6855
6835
  */
6856
6836
  createFlexibleIP = request => this.client.fetch({
6857
6837
  body: JSON.stringify(marshalCreateFlexibleIPRequest(request, this.client.settings)),
6858
- headers: jsonContentHeaders$g,
6838
+ headers: jsonContentHeaders$h,
6859
6839
  method: 'POST',
6860
6840
  path: `/flexible-ip/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/fips`
6861
6841
  }, unmarshalFlexibleIP);
@@ -6905,7 +6885,7 @@ let API$i = class API extends API$q {
6905
6885
  */
6906
6886
  updateFlexibleIP = request => this.client.fetch({
6907
6887
  body: JSON.stringify(marshalUpdateFlexibleIPRequest(request, this.client.settings)),
6908
- headers: jsonContentHeaders$g,
6888
+ headers: jsonContentHeaders$h,
6909
6889
  method: 'PATCH',
6910
6890
  path: `/flexible-ip/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/fips/${validatePathParam('fipId', request.fipId)}`
6911
6891
  }, unmarshalFlexibleIP);
@@ -6931,7 +6911,7 @@ let API$i = class API extends API$q {
6931
6911
  */
6932
6912
  attachFlexibleIP = request => this.client.fetch({
6933
6913
  body: JSON.stringify(marshalAttachFlexibleIPRequest(request, this.client.settings)),
6934
- headers: jsonContentHeaders$g,
6914
+ headers: jsonContentHeaders$h,
6935
6915
  method: 'POST',
6936
6916
  path: `/flexible-ip/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/fips/attach`
6937
6917
  }, unmarshalAttachFlexibleIPsResponse);
@@ -6945,7 +6925,7 @@ let API$i = class API extends API$q {
6945
6925
  */
6946
6926
  detachFlexibleIP = request => this.client.fetch({
6947
6927
  body: JSON.stringify(marshalDetachFlexibleIPRequest(request, this.client.settings)),
6948
- headers: jsonContentHeaders$g,
6928
+ headers: jsonContentHeaders$h,
6949
6929
  method: 'POST',
6950
6930
  path: `/flexible-ip/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/fips/detach`
6951
6931
  }, unmarshalDetachFlexibleIPsResponse);
@@ -6959,7 +6939,7 @@ let API$i = class API extends API$q {
6959
6939
  */
6960
6940
  generateMACAddr = request => this.client.fetch({
6961
6941
  body: JSON.stringify(marshalGenerateMACAddrRequest(request, this.client.settings)),
6962
- headers: jsonContentHeaders$g,
6942
+ headers: jsonContentHeaders$h,
6963
6943
  method: 'POST',
6964
6944
  path: `/flexible-ip/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/fips/${validatePathParam('fipId', request.fipId)}/mac`
6965
6945
  }, unmarshalFlexibleIP);
@@ -6974,7 +6954,7 @@ let API$i = class API extends API$q {
6974
6954
  */
6975
6955
  duplicateMACAddr = request => this.client.fetch({
6976
6956
  body: JSON.stringify(marshalDuplicateMACAddrRequest(request, this.client.settings)),
6977
- headers: jsonContentHeaders$g,
6957
+ headers: jsonContentHeaders$h,
6978
6958
  method: 'POST',
6979
6959
  path: `/flexible-ip/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/fips/${validatePathParam('fipId', request.fipId)}/mac/duplicate`
6980
6960
  }, unmarshalFlexibleIP);
@@ -6989,7 +6969,7 @@ let API$i = class API extends API$q {
6989
6969
  */
6990
6970
  moveMACAddr = request => this.client.fetch({
6991
6971
  body: JSON.stringify(marshalMoveMACAddrRequest(request, this.client.settings)),
6992
- headers: jsonContentHeaders$g,
6972
+ headers: jsonContentHeaders$h,
6993
6973
  method: 'POST',
6994
6974
  path: `/flexible-ip/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/fips/${validatePathParam('fipId', request.fipId)}/mac/move`
6995
6975
  }, unmarshalFlexibleIP);
@@ -7027,9 +7007,9 @@ var validationRules_gen$3 = /*#__PURE__*/Object.freeze({
7027
7007
  // This file was automatically generated. DO NOT EDIT.
7028
7008
  // If you have any remark or suggestion do not hesitate to open an issue.
7029
7009
 
7030
- var index_gen$f = /*#__PURE__*/Object.freeze({
7010
+ var index_gen$g = /*#__PURE__*/Object.freeze({
7031
7011
  __proto__: null,
7032
- API: API$i,
7012
+ API: API$j,
7033
7013
  FLEXIBLE_IP_TRANSIENT_STATUSES: FLEXIBLE_IP_TRANSIENT_STATUSES,
7034
7014
  MAC_ADDRESS_TRANSIENT_STATUSES: MAC_ADDRESS_TRANSIENT_STATUSES,
7035
7015
  ValidationRules: validationRules_gen$3
@@ -7037,7 +7017,7 @@ var index_gen$f = /*#__PURE__*/Object.freeze({
7037
7017
 
7038
7018
  var index$k = /*#__PURE__*/Object.freeze({
7039
7019
  __proto__: null,
7040
- v1alpha1: index_gen$f
7020
+ v1alpha1: index_gen$g
7041
7021
  });
7042
7022
 
7043
7023
  // This file was automatically generated. DO NOT EDIT.
@@ -7452,12 +7432,12 @@ const marshalUpdateTriggerRequest = (request, defaults) => ({
7452
7432
 
7453
7433
  // This file was automatically generated. DO NOT EDIT.
7454
7434
  // If you have any remark or suggestion do not hesitate to open an issue.
7455
- const jsonContentHeaders$f = {
7435
+ const jsonContentHeaders$g = {
7456
7436
  'Content-Type': 'application/json; charset=utf-8'
7457
7437
  };
7458
7438
 
7459
7439
  /** Serverless Functions API. */
7460
- let API$h = class API extends API$q {
7440
+ let API$i = class API extends API$r {
7461
7441
  /** Lists the available regions of the API. */
7462
7442
  static LOCALITIES = ['fr-par', 'nl-ams', 'pl-waw'];
7463
7443
  pageOfListNamespaces = (request = {}) => this.client.fetch({
@@ -7504,7 +7484,7 @@ let API$h = class API extends API$q {
7504
7484
  */
7505
7485
  createNamespace = (request = {}) => this.client.fetch({
7506
7486
  body: JSON.stringify(marshalCreateNamespaceRequest$2(request, this.client.settings)),
7507
- headers: jsonContentHeaders$f,
7487
+ headers: jsonContentHeaders$g,
7508
7488
  method: 'POST',
7509
7489
  path: `/functions/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/namespaces`
7510
7490
  }, unmarshalNamespace$2);
@@ -7518,7 +7498,7 @@ let API$h = class API extends API$q {
7518
7498
  */
7519
7499
  updateNamespace = request => this.client.fetch({
7520
7500
  body: JSON.stringify(marshalUpdateNamespaceRequest$2(request, this.client.settings)),
7521
- headers: jsonContentHeaders$f,
7501
+ headers: jsonContentHeaders$g,
7522
7502
  method: 'PATCH',
7523
7503
  path: `/functions/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/namespaces/${validatePathParam('namespaceId', request.namespaceId)}`
7524
7504
  }, unmarshalNamespace$2);
@@ -7577,7 +7557,7 @@ let API$h = class API extends API$q {
7577
7557
  */
7578
7558
  createFunction = request => this.client.fetch({
7579
7559
  body: JSON.stringify(marshalCreateFunctionRequest(request, this.client.settings)),
7580
- headers: jsonContentHeaders$f,
7560
+ headers: jsonContentHeaders$g,
7581
7561
  method: 'POST',
7582
7562
  path: `/functions/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/functions`
7583
7563
  }, unmarshalFunction);
@@ -7591,7 +7571,7 @@ let API$h = class API extends API$q {
7591
7571
  */
7592
7572
  updateFunction = request => this.client.fetch({
7593
7573
  body: JSON.stringify(marshalUpdateFunctionRequest(request, this.client.settings)),
7594
- headers: jsonContentHeaders$f,
7574
+ headers: jsonContentHeaders$g,
7595
7575
  method: 'PATCH',
7596
7576
  path: `/functions/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/functions/${validatePathParam('functionId', request.functionId)}`
7597
7577
  }, unmarshalFunction);
@@ -7615,7 +7595,7 @@ let API$h = class API extends API$q {
7615
7595
  */
7616
7596
  deployFunction = request => this.client.fetch({
7617
7597
  body: '{}',
7618
- headers: jsonContentHeaders$f,
7598
+ headers: jsonContentHeaders$g,
7619
7599
  method: 'POST',
7620
7600
  path: `/functions/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/functions/${validatePathParam('functionId', request.functionId)}/deploy`
7621
7601
  }, unmarshalFunction);
@@ -7698,7 +7678,7 @@ let API$h = class API extends API$q {
7698
7678
  */
7699
7679
  createCron = request => this.client.fetch({
7700
7680
  body: JSON.stringify(marshalCreateCronRequest(request, this.client.settings)),
7701
- headers: jsonContentHeaders$f,
7681
+ headers: jsonContentHeaders$g,
7702
7682
  method: 'POST',
7703
7683
  path: `/functions/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/crons`
7704
7684
  }, unmarshalCron);
@@ -7711,7 +7691,7 @@ let API$h = class API extends API$q {
7711
7691
  */
7712
7692
  updateCron = request => this.client.fetch({
7713
7693
  body: JSON.stringify(marshalUpdateCronRequest(request, this.client.settings)),
7714
- headers: jsonContentHeaders$f,
7694
+ headers: jsonContentHeaders$g,
7715
7695
  method: 'PATCH',
7716
7696
  path: `/functions/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/crons/${validatePathParam('cronId', request.cronId)}`
7717
7697
  }, unmarshalCron);
@@ -7785,7 +7765,7 @@ let API$h = class API extends API$q {
7785
7765
  */
7786
7766
  createDomain = request => this.client.fetch({
7787
7767
  body: JSON.stringify(marshalCreateDomainRequest$1(request, this.client.settings)),
7788
- headers: jsonContentHeaders$f,
7768
+ headers: jsonContentHeaders$g,
7789
7769
  method: 'POST',
7790
7770
  path: `/functions/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/domains`
7791
7771
  }, unmarshalDomain$1);
@@ -7827,7 +7807,7 @@ let API$h = class API extends API$q {
7827
7807
  */
7828
7808
  createToken = (request = {}) => this.client.fetch({
7829
7809
  body: JSON.stringify(marshalCreateTokenRequest(request, this.client.settings)),
7830
- headers: jsonContentHeaders$f,
7810
+ headers: jsonContentHeaders$g,
7831
7811
  method: 'POST',
7832
7812
  path: `/functions/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/tokens`
7833
7813
  }, unmarshalToken);
@@ -7877,7 +7857,7 @@ let API$h = class API extends API$q {
7877
7857
  }, unmarshalToken);
7878
7858
  createTrigger = request => this.client.fetch({
7879
7859
  body: JSON.stringify(marshalCreateTriggerRequest(request, this.client.settings)),
7880
- headers: jsonContentHeaders$f,
7860
+ headers: jsonContentHeaders$g,
7881
7861
  method: 'POST',
7882
7862
  path: `/functions/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/triggers`
7883
7863
  }, unmarshalTrigger);
@@ -7912,7 +7892,7 @@ let API$h = class API extends API$q {
7912
7892
  listTriggers = (request = {}) => enrichForPagination('triggers', this.pageOfListTriggers, request);
7913
7893
  updateTrigger = request => this.client.fetch({
7914
7894
  body: JSON.stringify(marshalUpdateTriggerRequest(request, this.client.settings)),
7915
- headers: jsonContentHeaders$f,
7895
+ headers: jsonContentHeaders$g,
7916
7896
  method: 'PATCH',
7917
7897
  path: `/functions/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/triggers/${validatePathParam('triggerId', request.triggerId)}`
7918
7898
  }, unmarshalTrigger);
@@ -7925,9 +7905,9 @@ let API$h = class API extends API$q {
7925
7905
  // This file was automatically generated. DO NOT EDIT.
7926
7906
  // If you have any remark or suggestion do not hesitate to open an issue.
7927
7907
 
7928
- var index_gen$e = /*#__PURE__*/Object.freeze({
7908
+ var index_gen$f = /*#__PURE__*/Object.freeze({
7929
7909
  __proto__: null,
7930
- API: API$h,
7910
+ API: API$i,
7931
7911
  CRON_TRANSIENT_STATUSES: CRON_TRANSIENT_STATUSES,
7932
7912
  DOMAIN_TRANSIENT_STATUSES: DOMAIN_TRANSIENT_STATUSES$1,
7933
7913
  FUNCTION_TRANSIENT_STATUSES: FUNCTION_TRANSIENT_STATUSES,
@@ -7938,7 +7918,7 @@ var index_gen$e = /*#__PURE__*/Object.freeze({
7938
7918
 
7939
7919
  var index$j = /*#__PURE__*/Object.freeze({
7940
7920
  __proto__: null,
7941
- v1beta1: index_gen$e
7921
+ v1beta1: index_gen$f
7942
7922
  });
7943
7923
 
7944
7924
  // This file was automatically generated. DO NOT EDIT.
@@ -8317,12 +8297,12 @@ const marshalUpdateSSHKeyRequest = (request, defaults) => ({
8317
8297
 
8318
8298
  // This file was automatically generated. DO NOT EDIT.
8319
8299
  // If you have any remark or suggestion do not hesitate to open an issue.
8320
- const jsonContentHeaders$e = {
8300
+ const jsonContentHeaders$f = {
8321
8301
  'Content-Type': 'application/json; charset=utf-8'
8322
8302
  };
8323
8303
 
8324
8304
  /** IAM API. */
8325
- let API$g = class API extends API$q {
8305
+ let API$h = class API extends API$r {
8326
8306
  pageOfListSSHKeys = (request = {}) => this.client.fetch({
8327
8307
  method: 'GET',
8328
8308
  path: `/iam/v1alpha1/ssh-keys`,
@@ -8349,7 +8329,7 @@ let API$g = class API extends API$q {
8349
8329
  */
8350
8330
  createSSHKey = request => this.client.fetch({
8351
8331
  body: JSON.stringify(marshalCreateSSHKeyRequest(request, this.client.settings)),
8352
- headers: jsonContentHeaders$e,
8332
+ headers: jsonContentHeaders$f,
8353
8333
  method: 'POST',
8354
8334
  path: `/iam/v1alpha1/ssh-keys`
8355
8335
  }, unmarshalSSHKey);
@@ -8376,7 +8356,7 @@ let API$g = class API extends API$q {
8376
8356
  */
8377
8357
  updateSSHKey = request => this.client.fetch({
8378
8358
  body: JSON.stringify(marshalUpdateSSHKeyRequest(request, this.client.settings)),
8379
- headers: jsonContentHeaders$e,
8359
+ headers: jsonContentHeaders$f,
8380
8360
  method: 'PATCH',
8381
8361
  path: `/iam/v1alpha1/ssh-keys/${validatePathParam('sshKeyId', request.sshKeyId)}`
8382
8362
  }, unmarshalSSHKey);
@@ -8464,7 +8444,7 @@ let API$g = class API extends API$q {
8464
8444
  */
8465
8445
  createApplication = request => this.client.fetch({
8466
8446
  body: JSON.stringify(marshalCreateApplicationRequest(request, this.client.settings)),
8467
- headers: jsonContentHeaders$e,
8447
+ headers: jsonContentHeaders$f,
8468
8448
  method: 'POST',
8469
8449
  path: `/iam/v1alpha1/applications`
8470
8450
  }, unmarshalApplication);
@@ -8492,7 +8472,7 @@ let API$g = class API extends API$q {
8492
8472
  */
8493
8473
  updateApplication = request => this.client.fetch({
8494
8474
  body: JSON.stringify(marshalUpdateApplicationRequest(request, this.client.settings)),
8495
- headers: jsonContentHeaders$e,
8475
+ headers: jsonContentHeaders$f,
8496
8476
  method: 'PATCH',
8497
8477
  path: `/iam/v1alpha1/applications/${validatePathParam('applicationId', request.applicationId)}`
8498
8478
  }, unmarshalApplication);
@@ -8536,7 +8516,7 @@ let API$g = class API extends API$q {
8536
8516
  */
8537
8517
  createGroup = request => this.client.fetch({
8538
8518
  body: JSON.stringify(marshalCreateGroupRequest(request, this.client.settings)),
8539
- headers: jsonContentHeaders$e,
8519
+ headers: jsonContentHeaders$f,
8540
8520
  method: 'POST',
8541
8521
  path: `/iam/v1alpha1/groups`
8542
8522
  }, unmarshalGroup);
@@ -8563,7 +8543,7 @@ let API$g = class API extends API$q {
8563
8543
  */
8564
8544
  updateGroup = request => this.client.fetch({
8565
8545
  body: JSON.stringify(marshalUpdateGroupRequest(request, this.client.settings)),
8566
- headers: jsonContentHeaders$e,
8546
+ headers: jsonContentHeaders$f,
8567
8547
  method: 'PATCH',
8568
8548
  path: `/iam/v1alpha1/groups/${validatePathParam('groupId', request.groupId)}`
8569
8549
  }, unmarshalGroup);
@@ -8578,7 +8558,7 @@ let API$g = class API extends API$q {
8578
8558
  */
8579
8559
  setGroupMembers = request => this.client.fetch({
8580
8560
  body: JSON.stringify(marshalSetGroupMembersRequest(request, this.client.settings)),
8581
- headers: jsonContentHeaders$e,
8561
+ headers: jsonContentHeaders$f,
8582
8562
  method: 'PUT',
8583
8563
  path: `/iam/v1alpha1/groups/${validatePathParam('groupId', request.groupId)}/members`
8584
8564
  }, unmarshalGroup);
@@ -8593,7 +8573,7 @@ let API$g = class API extends API$q {
8593
8573
  */
8594
8574
  addGroupMember = request => this.client.fetch({
8595
8575
  body: JSON.stringify(marshalAddGroupMemberRequest(request, this.client.settings)),
8596
- headers: jsonContentHeaders$e,
8576
+ headers: jsonContentHeaders$f,
8597
8577
  method: 'POST',
8598
8578
  path: `/iam/v1alpha1/groups/${validatePathParam('groupId', request.groupId)}/add-member`
8599
8579
  }, unmarshalGroup);
@@ -8611,7 +8591,7 @@ let API$g = class API extends API$q {
8611
8591
  */
8612
8592
  addGroupMembers = request => this.client.fetch({
8613
8593
  body: JSON.stringify(marshalAddGroupMembersRequest(request, this.client.settings)),
8614
- headers: jsonContentHeaders$e,
8594
+ headers: jsonContentHeaders$f,
8615
8595
  method: 'POST',
8616
8596
  path: `/iam/v1alpha1/groups/${validatePathParam('groupId', request.groupId)}/add-members`
8617
8597
  }, unmarshalGroup);
@@ -8630,7 +8610,7 @@ let API$g = class API extends API$q {
8630
8610
  */
8631
8611
  removeGroupMember = request => this.client.fetch({
8632
8612
  body: JSON.stringify(marshalRemoveGroupMemberRequest(request, this.client.settings)),
8633
- headers: jsonContentHeaders$e,
8613
+ headers: jsonContentHeaders$f,
8634
8614
  method: 'POST',
8635
8615
  path: `/iam/v1alpha1/groups/${validatePathParam('groupId', request.groupId)}/remove-member`
8636
8616
  }, unmarshalGroup);
@@ -8676,7 +8656,7 @@ let API$g = class API extends API$q {
8676
8656
  */
8677
8657
  createPolicy = request => this.client.fetch({
8678
8658
  body: JSON.stringify(marshalCreatePolicyRequest(request, this.client.settings)),
8679
- headers: jsonContentHeaders$e,
8659
+ headers: jsonContentHeaders$f,
8680
8660
  method: 'POST',
8681
8661
  path: `/iam/v1alpha1/policies`
8682
8662
  }, unmarshalPolicy);
@@ -8705,7 +8685,7 @@ let API$g = class API extends API$q {
8705
8685
  */
8706
8686
  updatePolicy = request => this.client.fetch({
8707
8687
  body: JSON.stringify(marshalUpdatePolicyRequest(request, this.client.settings)),
8708
- headers: jsonContentHeaders$e,
8688
+ headers: jsonContentHeaders$f,
8709
8689
  method: 'PATCH',
8710
8690
  path: `/iam/v1alpha1/policies/${validatePathParam('policyId', request.policyId)}`
8711
8691
  }, unmarshalPolicy);
@@ -8732,7 +8712,7 @@ let API$g = class API extends API$q {
8732
8712
  */
8733
8713
  clonePolicy = request => this.client.fetch({
8734
8714
  body: '{}',
8735
- headers: jsonContentHeaders$e,
8715
+ headers: jsonContentHeaders$f,
8736
8716
  method: 'POST',
8737
8717
  path: `/iam/v1alpha1/policies/${validatePathParam('policyId', request.policyId)}/clone`
8738
8718
  }, unmarshalPolicy);
@@ -8750,7 +8730,7 @@ let API$g = class API extends API$q {
8750
8730
  */
8751
8731
  setRules = request => this.client.fetch({
8752
8732
  body: JSON.stringify(marshalSetRulesRequest(request, this.client.settings)),
8753
- headers: jsonContentHeaders$e,
8733
+ headers: jsonContentHeaders$f,
8754
8734
  method: 'PUT',
8755
8735
  path: `/iam/v1alpha1/rules`
8756
8736
  }, unmarshalSetRulesResponse);
@@ -8821,7 +8801,7 @@ let API$g = class API extends API$q {
8821
8801
  */
8822
8802
  createAPIKey = request => this.client.fetch({
8823
8803
  body: JSON.stringify(marshalCreateAPIKeyRequest(request, this.client.settings)),
8824
- headers: jsonContentHeaders$e,
8804
+ headers: jsonContentHeaders$f,
8825
8805
  method: 'POST',
8826
8806
  path: `/iam/v1alpha1/api-keys`
8827
8807
  }, unmarshalAPIKey);
@@ -8851,7 +8831,7 @@ let API$g = class API extends API$q {
8851
8831
  */
8852
8832
  updateAPIKey = request => this.client.fetch({
8853
8833
  body: JSON.stringify(marshalUpdateAPIKeyRequest(request, this.client.settings)),
8854
- headers: jsonContentHeaders$e,
8834
+ headers: jsonContentHeaders$f,
8855
8835
  method: 'PATCH',
8856
8836
  path: `/iam/v1alpha1/api-keys/${validatePathParam('accessKey', request.accessKey)}`
8857
8837
  }, unmarshalAPIKey);
@@ -9168,15 +9148,15 @@ var validationRules_gen$2 = /*#__PURE__*/Object.freeze({
9168
9148
  // This file was automatically generated. DO NOT EDIT.
9169
9149
  // If you have any remark or suggestion do not hesitate to open an issue.
9170
9150
 
9171
- var index_gen$d = /*#__PURE__*/Object.freeze({
9151
+ var index_gen$e = /*#__PURE__*/Object.freeze({
9172
9152
  __proto__: null,
9173
- API: API$g,
9153
+ API: API$h,
9174
9154
  ValidationRules: validationRules_gen$2
9175
9155
  });
9176
9156
 
9177
9157
  var index$i = /*#__PURE__*/Object.freeze({
9178
9158
  __proto__: null,
9179
- v1alpha1: index_gen$d
9159
+ v1alpha1: index_gen$e
9180
9160
  });
9181
9161
 
9182
9162
  // This file was automatically generated. DO NOT EDIT.
@@ -10511,12 +10491,12 @@ const marshalUpdateVolumeRequest = (request, defaults) => ({
10511
10491
 
10512
10492
  // This file was automatically generated. DO NOT EDIT.
10513
10493
  // If you have any remark or suggestion do not hesitate to open an issue.
10514
- const jsonContentHeaders$d = {
10494
+ const jsonContentHeaders$e = {
10515
10495
  'Content-Type': 'application/json; charset=utf-8'
10516
10496
  };
10517
10497
 
10518
10498
  /** Instance API. */
10519
- let API$f = class API extends API$q {
10499
+ let API$g = class API extends API$r {
10520
10500
  /** Lists the available zones of the API. */
10521
10501
  static LOCALITIES = ['fr-par-1', 'fr-par-2', 'fr-par-3', 'nl-ams-1', 'nl-ams-2', 'pl-waw-1', 'pl-waw-2'];
10522
10502
 
@@ -10572,7 +10552,7 @@ let API$f = class API extends API$q {
10572
10552
  listServers = (request = {}) => enrichForPagination('servers', this.pageOfListServers, request);
10573
10553
  _createServer = request => this.client.fetch({
10574
10554
  body: JSON.stringify(marshalCreateServerRequest(request, this.client.settings)),
10575
- headers: jsonContentHeaders$d,
10555
+ headers: jsonContentHeaders$e,
10576
10556
  method: 'POST',
10577
10557
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers`
10578
10558
  }, unmarshalCreateServerResponse);
@@ -10599,13 +10579,13 @@ let API$f = class API extends API$q {
10599
10579
  }, unmarshalGetServerResponse);
10600
10580
  _setServer = request => this.client.fetch({
10601
10581
  body: JSON.stringify(marshalSetServerRequest(request, this.client.settings)),
10602
- headers: jsonContentHeaders$d,
10582
+ headers: jsonContentHeaders$e,
10603
10583
  method: 'PUT',
10604
10584
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('id', request.id)}`
10605
10585
  }, unmarshalSetServerResponse);
10606
10586
  _updateServer = request => this.client.fetch({
10607
10587
  body: JSON.stringify(marshalUpdateServerRequest(request, this.client.settings)),
10608
- headers: jsonContentHeaders$d,
10588
+ headers: jsonContentHeaders$e,
10609
10589
  method: 'PATCH',
10610
10590
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}`
10611
10591
  }, unmarshalUpdateServerResponse);
@@ -10642,7 +10622,7 @@ let API$f = class API extends API$q {
10642
10622
  */
10643
10623
  serverAction = request => this.client.fetch({
10644
10624
  body: JSON.stringify(marshalServerActionRequest(request, this.client.settings)),
10645
- headers: jsonContentHeaders$d,
10625
+ headers: jsonContentHeaders$e,
10646
10626
  method: 'POST',
10647
10627
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/action`
10648
10628
  }, unmarshalServerActionResponse);
@@ -10701,13 +10681,13 @@ let API$f = class API extends API$q {
10701
10681
  */
10702
10682
  createImage = request => this.client.fetch({
10703
10683
  body: JSON.stringify(marshalCreateImageRequest(request, this.client.settings)),
10704
- headers: jsonContentHeaders$d,
10684
+ headers: jsonContentHeaders$e,
10705
10685
  method: 'POST',
10706
10686
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/images`
10707
10687
  }, unmarshalCreateImageResponse);
10708
10688
  _setImage = request => this.client.fetch({
10709
10689
  body: JSON.stringify(marshalSetImageRequest(request, this.client.settings)),
10710
- headers: jsonContentHeaders$d,
10690
+ headers: jsonContentHeaders$e,
10711
10691
  method: 'PUT',
10712
10692
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/images/${validatePathParam('id', request.id)}`
10713
10693
  }, unmarshalSetImageResponse);
@@ -10746,7 +10726,7 @@ let API$f = class API extends API$q {
10746
10726
  */
10747
10727
  createSnapshot = (request = {}) => this.client.fetch({
10748
10728
  body: JSON.stringify(marshalCreateSnapshotRequest$1(request, this.client.settings)),
10749
- headers: jsonContentHeaders$d,
10729
+ headers: jsonContentHeaders$e,
10750
10730
  method: 'POST',
10751
10731
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/snapshots`
10752
10732
  }, unmarshalCreateSnapshotResponse);
@@ -10763,7 +10743,7 @@ let API$f = class API extends API$q {
10763
10743
  }, unmarshalGetSnapshotResponse);
10764
10744
  _setSnapshot = request => this.client.fetch({
10765
10745
  body: JSON.stringify(marshalSetSnapshotRequest(request, this.client.settings)),
10766
- headers: jsonContentHeaders$d,
10746
+ headers: jsonContentHeaders$e,
10767
10747
  method: 'PUT',
10768
10748
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/snapshots/${validatePathParam('snapshotId', request.snapshotId)}`
10769
10749
  }, unmarshalSetSnapshotResponse);
@@ -10787,7 +10767,7 @@ let API$f = class API extends API$q {
10787
10767
  */
10788
10768
  exportSnapshot = request => this.client.fetch({
10789
10769
  body: JSON.stringify(marshalExportSnapshotRequest(request, this.client.settings)),
10790
- headers: jsonContentHeaders$d,
10770
+ headers: jsonContentHeaders$e,
10791
10771
  method: 'POST',
10792
10772
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/snapshots/${validatePathParam('snapshotId', request.snapshotId)}/export`
10793
10773
  }, unmarshalExportSnapshotResponse);
@@ -10815,7 +10795,7 @@ let API$f = class API extends API$q {
10815
10795
  */
10816
10796
  createVolume = (request = {}) => this.client.fetch({
10817
10797
  body: JSON.stringify(marshalCreateVolumeRequest(request, this.client.settings)),
10818
- headers: jsonContentHeaders$d,
10798
+ headers: jsonContentHeaders$e,
10819
10799
  method: 'POST',
10820
10800
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/volumes`
10821
10801
  }, unmarshalCreateVolumeResponse);
@@ -10841,7 +10821,7 @@ let API$f = class API extends API$q {
10841
10821
  */
10842
10822
  updateVolume = request => this.client.fetch({
10843
10823
  body: JSON.stringify(marshalUpdateVolumeRequest(request, this.client.settings)),
10844
- headers: jsonContentHeaders$d,
10824
+ headers: jsonContentHeaders$e,
10845
10825
  method: 'PATCH',
10846
10826
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/volumes/${validatePathParam('volumeId', request.volumeId)}`
10847
10827
  }, unmarshalUpdateVolumeResponse);
@@ -10878,7 +10858,7 @@ let API$f = class API extends API$q {
10878
10858
  */
10879
10859
  createSecurityGroup = request => this.client.fetch({
10880
10860
  body: JSON.stringify(marshalCreateSecurityGroupRequest(request, this.client.settings)),
10881
- headers: jsonContentHeaders$d,
10861
+ headers: jsonContentHeaders$e,
10882
10862
  method: 'POST',
10883
10863
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/security_groups`
10884
10864
  }, unmarshalCreateSecurityGroupResponse);
@@ -10906,7 +10886,7 @@ let API$f = class API extends API$q {
10906
10886
  });
10907
10887
  _setSecurityGroup = request => this.client.fetch({
10908
10888
  body: JSON.stringify(marshalSetSecurityGroupRequest(request, this.client.settings)),
10909
- headers: jsonContentHeaders$d,
10889
+ headers: jsonContentHeaders$e,
10910
10890
  method: 'PUT',
10911
10891
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/security_groups/${validatePathParam('id', request.id)}`
10912
10892
  }, unmarshalSetSecurityGroupResponse);
@@ -10944,7 +10924,7 @@ let API$f = class API extends API$q {
10944
10924
  */
10945
10925
  createSecurityGroupRule = request => this.client.fetch({
10946
10926
  body: JSON.stringify(marshalCreateSecurityGroupRuleRequest(request, this.client.settings)),
10947
- headers: jsonContentHeaders$d,
10927
+ headers: jsonContentHeaders$e,
10948
10928
  method: 'POST',
10949
10929
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/security_groups/${validatePathParam('securityGroupId', request.securityGroupId)}/rules`
10950
10930
  }, unmarshalCreateSecurityGroupRuleResponse);
@@ -10960,7 +10940,7 @@ let API$f = class API extends API$q {
10960
10940
  */
10961
10941
  setSecurityGroupRules = request => this.client.fetch({
10962
10942
  body: JSON.stringify(marshalSetSecurityGroupRulesRequest(request, this.client.settings)),
10963
- headers: jsonContentHeaders$d,
10943
+ headers: jsonContentHeaders$e,
10964
10944
  method: 'PUT',
10965
10945
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/security_groups/${validatePathParam('securityGroupId', request.securityGroupId)}/rules`
10966
10946
  }, unmarshalSetSecurityGroupRulesResponse);
@@ -10987,7 +10967,7 @@ let API$f = class API extends API$q {
10987
10967
  }, unmarshalGetSecurityGroupRuleResponse);
10988
10968
  _setSecurityGroupRule = request => this.client.fetch({
10989
10969
  body: JSON.stringify(marshalSetSecurityGroupRuleRequest(request, this.client.settings)),
10990
- headers: jsonContentHeaders$d,
10970
+ headers: jsonContentHeaders$e,
10991
10971
  method: 'PUT',
10992
10972
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/security_groups/${validatePathParam('securityGroupId', request.securityGroupId)}/rules/${validatePathParam('securityGroupRuleId', request.securityGroupRuleId)}`
10993
10973
  }, unmarshalSetSecurityGroupRuleResponse);
@@ -11015,7 +10995,7 @@ let API$f = class API extends API$q {
11015
10995
  */
11016
10996
  createPlacementGroup = (request = {}) => this.client.fetch({
11017
10997
  body: JSON.stringify(marshalCreatePlacementGroupRequest(request, this.client.settings)),
11018
- headers: jsonContentHeaders$d,
10998
+ headers: jsonContentHeaders$e,
11019
10999
  method: 'POST',
11020
11000
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/placement_groups`
11021
11001
  }, unmarshalCreatePlacementGroupResponse);
@@ -11039,7 +11019,7 @@ let API$f = class API extends API$q {
11039
11019
  */
11040
11020
  setPlacementGroup = request => this.client.fetch({
11041
11021
  body: JSON.stringify(marshalSetPlacementGroupRequest(request, this.client.settings)),
11042
- headers: jsonContentHeaders$d,
11022
+ headers: jsonContentHeaders$e,
11043
11023
  method: 'PUT',
11044
11024
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/placement_groups/${validatePathParam('placementGroupId', request.placementGroupId)}`
11045
11025
  }, unmarshalSetPlacementGroupResponse);
@@ -11053,7 +11033,7 @@ let API$f = class API extends API$q {
11053
11033
  */
11054
11034
  updatePlacementGroup = request => this.client.fetch({
11055
11035
  body: JSON.stringify(marshalUpdatePlacementGroupRequest(request, this.client.settings)),
11056
- headers: jsonContentHeaders$d,
11036
+ headers: jsonContentHeaders$e,
11057
11037
  method: 'PATCH',
11058
11038
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/placement_groups/${validatePathParam('placementGroupId', request.placementGroupId)}`
11059
11039
  }, unmarshalUpdatePlacementGroupResponse);
@@ -11089,7 +11069,7 @@ let API$f = class API extends API$q {
11089
11069
  */
11090
11070
  setPlacementGroupServers = request => this.client.fetch({
11091
11071
  body: JSON.stringify(marshalSetPlacementGroupServersRequest(request, this.client.settings)),
11092
- headers: jsonContentHeaders$d,
11072
+ headers: jsonContentHeaders$e,
11093
11073
  method: 'PUT',
11094
11074
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/placement_groups/${validatePathParam('placementGroupId', request.placementGroupId)}/servers`
11095
11075
  }, unmarshalSetPlacementGroupServersResponse);
@@ -11103,7 +11083,7 @@ let API$f = class API extends API$q {
11103
11083
  */
11104
11084
  updatePlacementGroupServers = request => this.client.fetch({
11105
11085
  body: JSON.stringify(marshalUpdatePlacementGroupServersRequest(request, this.client.settings)),
11106
- headers: jsonContentHeaders$d,
11086
+ headers: jsonContentHeaders$e,
11107
11087
  method: 'PATCH',
11108
11088
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/placement_groups/${validatePathParam('placementGroupId', request.placementGroupId)}/servers`
11109
11089
  }, unmarshalUpdatePlacementGroupServersResponse);
@@ -11130,7 +11110,7 @@ let API$f = class API extends API$q {
11130
11110
  */
11131
11111
  createIp = (request = {}) => this.client.fetch({
11132
11112
  body: JSON.stringify(marshalCreateIpRequest$1(request, this.client.settings)),
11133
- headers: jsonContentHeaders$d,
11113
+ headers: jsonContentHeaders$e,
11134
11114
  method: 'POST',
11135
11115
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/ips`
11136
11116
  }, unmarshalCreateIpResponse);
@@ -11155,7 +11135,7 @@ let API$f = class API extends API$q {
11155
11135
  */
11156
11136
  updateIp = request => this.client.fetch({
11157
11137
  body: JSON.stringify(marshalUpdateIpRequest$1(request, this.client.settings)),
11158
- headers: jsonContentHeaders$d,
11138
+ headers: jsonContentHeaders$e,
11159
11139
  method: 'PATCH',
11160
11140
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/ips/${validatePathParam('ip', request.ip)}`
11161
11141
  }, unmarshalUpdateIpResponse);
@@ -11191,7 +11171,7 @@ let API$f = class API extends API$q {
11191
11171
  */
11192
11172
  createPrivateNIC = request => this.client.fetch({
11193
11173
  body: JSON.stringify(marshalCreatePrivateNICRequest(request, this.client.settings)),
11194
- headers: jsonContentHeaders$d,
11174
+ headers: jsonContentHeaders$e,
11195
11175
  method: 'POST',
11196
11176
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/private_nics`
11197
11177
  }, unmarshalCreatePrivateNICResponse);
@@ -11216,7 +11196,7 @@ let API$f = class API extends API$q {
11216
11196
  */
11217
11197
  updatePrivateNIC = request => this.client.fetch({
11218
11198
  body: JSON.stringify(marshalUpdatePrivateNICRequest(request, this.client.settings)),
11219
- headers: jsonContentHeaders$d,
11199
+ headers: jsonContentHeaders$e,
11220
11200
  method: 'PATCH',
11221
11201
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/private_nics/${validatePathParam('privateNicId', request.privateNicId)}`
11222
11202
  }, unmarshalPrivateNIC);
@@ -11353,7 +11333,7 @@ const validateNotUndefined = obj => {
11353
11333
  if (obj === undefined) throw new TypeError(`object was found undefined`);
11354
11334
  return obj;
11355
11335
  };
11356
- class InstanceV1UtilsAPI extends API$f {
11336
+ class InstanceV1UtilsAPI extends API$g {
11357
11337
  /**
11358
11338
  * Waits for {@link Image} to be in a final state.
11359
11339
  *
@@ -12169,7 +12149,7 @@ const marshalUpdateRouteRequest$1 = (request, defaults) => ({
12169
12149
 
12170
12150
  // This file was automatically generated. DO NOT EDIT.
12171
12151
  // If you have any remark or suggestion do not hesitate to open an issue.
12172
- const jsonContentHeaders$c = {
12152
+ const jsonContentHeaders$d = {
12173
12153
  'Content-Type': 'application/json; charset=utf-8'
12174
12154
  };
12175
12155
 
@@ -12178,7 +12158,7 @@ const jsonContentHeaders$c = {
12178
12158
  *
12179
12159
  * This API allows you to manage IoT hubs and devices. IoT Hub API.
12180
12160
  */
12181
- let API$e = class API extends API$q {
12161
+ let API$f = class API extends API$r {
12182
12162
  /** Lists the available regions of the API. */
12183
12163
  static LOCALITIES = ['fr-par'];
12184
12164
  pageOfListHubs = (request = {}) => this.client.fetch({
@@ -12206,7 +12186,7 @@ let API$e = class API extends API$q {
12206
12186
  */
12207
12187
  createHub = request => this.client.fetch({
12208
12188
  body: JSON.stringify(marshalCreateHubRequest(request, this.client.settings)),
12209
- headers: jsonContentHeaders$c,
12189
+ headers: jsonContentHeaders$d,
12210
12190
  method: 'POST',
12211
12191
  path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/hubs`
12212
12192
  }, unmarshalHub);
@@ -12242,7 +12222,7 @@ let API$e = class API extends API$q {
12242
12222
  */
12243
12223
  updateHub = request => this.client.fetch({
12244
12224
  body: JSON.stringify(marshalUpdateHubRequest(request, this.client.settings)),
12245
- headers: jsonContentHeaders$c,
12225
+ headers: jsonContentHeaders$d,
12246
12226
  method: 'PATCH',
12247
12227
  path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/hubs/${validatePathParam('hubId', request.hubId)}`
12248
12228
  }, unmarshalHub);
@@ -12255,7 +12235,7 @@ let API$e = class API extends API$q {
12255
12235
  */
12256
12236
  enableHub = request => this.client.fetch({
12257
12237
  body: '{}',
12258
- headers: jsonContentHeaders$c,
12238
+ headers: jsonContentHeaders$d,
12259
12239
  method: 'POST',
12260
12240
  path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/hubs/${validatePathParam('hubId', request.hubId)}/enable`
12261
12241
  }, unmarshalHub);
@@ -12268,7 +12248,7 @@ let API$e = class API extends API$q {
12268
12248
  */
12269
12249
  disableHub = request => this.client.fetch({
12270
12250
  body: '{}',
12271
- headers: jsonContentHeaders$c,
12251
+ headers: jsonContentHeaders$d,
12272
12252
  method: 'POST',
12273
12253
  path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/hubs/${validatePathParam('hubId', request.hubId)}/disable`
12274
12254
  }, unmarshalHub);
@@ -12308,7 +12288,7 @@ let API$e = class API extends API$q {
12308
12288
  */
12309
12289
  setHubCA = request => this.client.fetch({
12310
12290
  body: JSON.stringify(marshalSetHubCARequest(request, this.client.settings)),
12311
- headers: jsonContentHeaders$c,
12291
+ headers: jsonContentHeaders$d,
12312
12292
  method: 'POST',
12313
12293
  path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/hubs/${validatePathParam('hubId', request.hubId)}/ca`
12314
12294
  }, unmarshalHub);
@@ -12348,7 +12328,7 @@ let API$e = class API extends API$q {
12348
12328
  */
12349
12329
  createDevice = request => this.client.fetch({
12350
12330
  body: JSON.stringify(marshalCreateDeviceRequest(request, this.client.settings)),
12351
- headers: jsonContentHeaders$c,
12331
+ headers: jsonContentHeaders$d,
12352
12332
  method: 'POST',
12353
12333
  path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/devices`
12354
12334
  }, unmarshalCreateDeviceResponse);
@@ -12375,7 +12355,7 @@ let API$e = class API extends API$q {
12375
12355
  */
12376
12356
  updateDevice = request => this.client.fetch({
12377
12357
  body: JSON.stringify(marshalUpdateDeviceRequest(request, this.client.settings)),
12378
- headers: jsonContentHeaders$c,
12358
+ headers: jsonContentHeaders$d,
12379
12359
  method: 'PATCH',
12380
12360
  path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/devices/${validatePathParam('deviceId', request.deviceId)}`
12381
12361
  }, unmarshalDevice);
@@ -12388,7 +12368,7 @@ let API$e = class API extends API$q {
12388
12368
  */
12389
12369
  enableDevice = request => this.client.fetch({
12390
12370
  body: '{}',
12391
- headers: jsonContentHeaders$c,
12371
+ headers: jsonContentHeaders$d,
12392
12372
  method: 'POST',
12393
12373
  path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/devices/${validatePathParam('deviceId', request.deviceId)}/enable`
12394
12374
  }, unmarshalDevice);
@@ -12401,7 +12381,7 @@ let API$e = class API extends API$q {
12401
12381
  */
12402
12382
  disableDevice = request => this.client.fetch({
12403
12383
  body: '{}',
12404
- headers: jsonContentHeaders$c,
12384
+ headers: jsonContentHeaders$d,
12405
12385
  method: 'POST',
12406
12386
  path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/devices/${validatePathParam('deviceId', request.deviceId)}/disable`
12407
12387
  }, unmarshalDevice);
@@ -12415,7 +12395,7 @@ let API$e = class API extends API$q {
12415
12395
  */
12416
12396
  renewDeviceCertificate = request => this.client.fetch({
12417
12397
  body: '{}',
12418
- headers: jsonContentHeaders$c,
12398
+ headers: jsonContentHeaders$d,
12419
12399
  method: 'POST',
12420
12400
  path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/devices/${validatePathParam('deviceId', request.deviceId)}/renew-certificate`
12421
12401
  }, unmarshalRenewDeviceCertificateResponse);
@@ -12429,7 +12409,7 @@ let API$e = class API extends API$q {
12429
12409
  */
12430
12410
  setDeviceCertificate = request => this.client.fetch({
12431
12411
  body: JSON.stringify(marshalSetDeviceCertificateRequest(request, this.client.settings)),
12432
- headers: jsonContentHeaders$c,
12412
+ headers: jsonContentHeaders$d,
12433
12413
  method: 'PUT',
12434
12414
  path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/devices/${validatePathParam('deviceId', request.deviceId)}/certificate`
12435
12415
  }, unmarshalSetDeviceCertificateResponse);
@@ -12504,7 +12484,7 @@ let API$e = class API extends API$q {
12504
12484
  */
12505
12485
  createRoute = request => this.client.fetch({
12506
12486
  body: JSON.stringify(marshalCreateRouteRequest$1(request, this.client.settings)),
12507
- headers: jsonContentHeaders$c,
12487
+ headers: jsonContentHeaders$d,
12508
12488
  method: 'POST',
12509
12489
  path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/routes`
12510
12490
  }, unmarshalRoute$1);
@@ -12518,7 +12498,7 @@ let API$e = class API extends API$q {
12518
12498
  */
12519
12499
  updateRoute = request => this.client.fetch({
12520
12500
  body: JSON.stringify(marshalUpdateRouteRequest$1(request, this.client.settings)),
12521
- headers: jsonContentHeaders$c,
12501
+ headers: jsonContentHeaders$d,
12522
12502
  method: 'PATCH',
12523
12503
  path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/routes/${validatePathParam('routeId', request.routeId)}`
12524
12504
  }, unmarshalRoute$1);
@@ -12570,7 +12550,7 @@ let API$e = class API extends API$q {
12570
12550
  */
12571
12551
  createNetwork = request => this.client.fetch({
12572
12552
  body: JSON.stringify(marshalCreateNetworkRequest(request, this.client.settings)),
12573
- headers: jsonContentHeaders$c,
12553
+ headers: jsonContentHeaders$d,
12574
12554
  method: 'POST',
12575
12555
  path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/networks`
12576
12556
  }, unmarshalCreateNetworkResponse);
@@ -12618,7 +12598,7 @@ let API$e = class API extends API$q {
12618
12598
  */
12619
12599
  putTwinDocument = request => this.client.fetch({
12620
12600
  body: JSON.stringify(marshalPutTwinDocumentRequest(request, this.client.settings)),
12621
- headers: jsonContentHeaders$c,
12601
+ headers: jsonContentHeaders$d,
12622
12602
  method: 'PUT',
12623
12603
  path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/twins/${validatePathParam('twinId', request.twinId)}/documents/${validatePathParam('documentName', request.documentName)}`
12624
12604
  }, unmarshalTwinDocument);
@@ -12631,7 +12611,7 @@ let API$e = class API extends API$q {
12631
12611
  */
12632
12612
  patchTwinDocument = request => this.client.fetch({
12633
12613
  body: JSON.stringify(marshalPatchTwinDocumentRequest(request, this.client.settings)),
12634
- headers: jsonContentHeaders$c,
12614
+ headers: jsonContentHeaders$d,
12635
12615
  method: 'PATCH',
12636
12616
  path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/twins/${validatePathParam('twinId', request.twinId)}/documents/${validatePathParam('documentName', request.documentName)}`
12637
12617
  }, unmarshalTwinDocument);
@@ -12671,15 +12651,15 @@ let API$e = class API extends API$q {
12671
12651
  // This file was automatically generated. DO NOT EDIT.
12672
12652
  // If you have any remark or suggestion do not hesitate to open an issue.
12673
12653
 
12674
- var index_gen$c = /*#__PURE__*/Object.freeze({
12654
+ var index_gen$d = /*#__PURE__*/Object.freeze({
12675
12655
  __proto__: null,
12676
- API: API$e,
12656
+ API: API$f,
12677
12657
  HUB_TRANSIENT_STATUSES: HUB_TRANSIENT_STATUSES
12678
12658
  });
12679
12659
 
12680
12660
  var index$f = /*#__PURE__*/Object.freeze({
12681
12661
  __proto__: null,
12682
- v1: index_gen$c
12662
+ v1: index_gen$d
12683
12663
  });
12684
12664
 
12685
12665
  // This file was automatically generated. DO NOT EDIT.
@@ -13036,6 +13016,9 @@ const marshalCreatePoolRequest = (request, defaults) => ({
13036
13016
  upgrade_policy: request.upgradePolicy ? marshalCreatePoolRequestUpgradePolicy(request.upgradePolicy) : undefined,
13037
13017
  zone: request.zone ?? defaults.defaultZone
13038
13018
  });
13019
+ const marshalMigrateToPrivateNetworkClusterRequest = (request, defaults) => ({
13020
+ private_network_id: request.privateNetworkId
13021
+ });
13039
13022
  const marshalSetClusterTypeRequest = (request, defaults) => ({
13040
13023
  type: request.type
13041
13024
  });
@@ -13072,12 +13055,12 @@ const marshalUpgradePoolRequest = (request, defaults) => ({
13072
13055
 
13073
13056
  // This file was automatically generated. DO NOT EDIT.
13074
13057
  // If you have any remark or suggestion do not hesitate to open an issue.
13075
- const jsonContentHeaders$b = {
13058
+ const jsonContentHeaders$c = {
13076
13059
  'Content-Type': 'application/json; charset=utf-8'
13077
13060
  };
13078
13061
 
13079
13062
  /** Kubernetes API. */
13080
- let API$d = class API extends API$q {
13063
+ let API$e = class API extends API$r {
13081
13064
  /** Lists the available regions of the API. */
13082
13065
  static LOCALITIES = ['fr-par', 'nl-ams', 'pl-waw'];
13083
13066
  pageOfListClusters = (request = {}) => this.client.fetch({
@@ -13102,7 +13085,7 @@ let API$d = class API extends API$q {
13102
13085
  */
13103
13086
  createCluster = request => this.client.fetch({
13104
13087
  body: JSON.stringify(marshalCreateClusterRequest$1(request, this.client.settings)),
13105
- headers: jsonContentHeaders$b,
13088
+ headers: jsonContentHeaders$c,
13106
13089
  method: 'POST',
13107
13090
  path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/clusters`
13108
13091
  }, unmarshalCluster$1);
@@ -13137,7 +13120,7 @@ let API$d = class API extends API$q {
13137
13120
  */
13138
13121
  updateCluster = request => this.client.fetch({
13139
13122
  body: JSON.stringify(marshalUpdateClusterRequest$1(request, this.client.settings)),
13140
- headers: jsonContentHeaders$b,
13123
+ headers: jsonContentHeaders$c,
13141
13124
  method: 'PATCH',
13142
13125
  path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/clusters/${validatePathParam('clusterId', request.clusterId)}`
13143
13126
  }, unmarshalCluster$1);
@@ -13165,7 +13148,7 @@ let API$d = class API extends API$q {
13165
13148
  */
13166
13149
  upgradeCluster = request => this.client.fetch({
13167
13150
  body: JSON.stringify(marshalUpgradeClusterRequest(request, this.client.settings)),
13168
- headers: jsonContentHeaders$b,
13151
+ headers: jsonContentHeaders$c,
13169
13152
  method: 'POST',
13170
13153
  path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/clusters/${validatePathParam('clusterId', request.clusterId)}/upgrade`
13171
13154
  }, unmarshalCluster$1);
@@ -13178,7 +13161,7 @@ let API$d = class API extends API$q {
13178
13161
  */
13179
13162
  setClusterType = request => this.client.fetch({
13180
13163
  body: JSON.stringify(marshalSetClusterTypeRequest(request, this.client.settings)),
13181
- headers: jsonContentHeaders$b,
13164
+ headers: jsonContentHeaders$c,
13182
13165
  method: 'POST',
13183
13166
  path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/clusters/${validatePathParam('clusterId', request.clusterId)}/set-type`
13184
13167
  }, unmarshalCluster$1);
@@ -13214,10 +13197,25 @@ let API$d = class API extends API$q {
13214
13197
  */
13215
13198
  resetClusterAdminToken = request => this.client.fetch({
13216
13199
  body: '{}',
13217
- headers: jsonContentHeaders$b,
13200
+ headers: jsonContentHeaders$c,
13218
13201
  method: 'POST',
13219
13202
  path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/clusters/${validatePathParam('clusterId', request.clusterId)}/reset-admin-token`
13220
13203
  });
13204
+
13205
+ /**
13206
+ * Migrate an existing cluster to a Private Network cluster. Migrate a cluster
13207
+ * that was created before the release of Private Network clusters to a new
13208
+ * one with a Private Network.
13209
+ *
13210
+ * @param request - The request {@link MigrateToPrivateNetworkClusterRequest}
13211
+ * @returns A Promise of Cluster
13212
+ */
13213
+ migrateToPrivateNetworkCluster = request => this.client.fetch({
13214
+ body: JSON.stringify(marshalMigrateToPrivateNetworkClusterRequest(request, this.client.settings)),
13215
+ headers: jsonContentHeaders$c,
13216
+ method: 'POST',
13217
+ path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/clusters/${validatePathParam('clusterId', request.clusterId)}/migrate-to-private-network`
13218
+ }, unmarshalCluster$1);
13221
13219
  pageOfListPools = request => this.client.fetch({
13222
13220
  method: 'GET',
13223
13221
  path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/clusters/${validatePathParam('clusterId', request.clusterId)}/pools`,
@@ -13242,7 +13240,7 @@ let API$d = class API extends API$q {
13242
13240
  */
13243
13241
  createPool = request => this.client.fetch({
13244
13242
  body: JSON.stringify(marshalCreatePoolRequest(request, this.client.settings)),
13245
- headers: jsonContentHeaders$b,
13243
+ headers: jsonContentHeaders$c,
13246
13244
  method: 'POST',
13247
13245
  path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/clusters/${validatePathParam('clusterId', request.clusterId)}/pools`
13248
13246
  }, unmarshalPool);
@@ -13278,7 +13276,7 @@ let API$d = class API extends API$q {
13278
13276
  */
13279
13277
  upgradePool = request => this.client.fetch({
13280
13278
  body: JSON.stringify(marshalUpgradePoolRequest(request, this.client.settings)),
13281
- headers: jsonContentHeaders$b,
13279
+ headers: jsonContentHeaders$c,
13282
13280
  method: 'POST',
13283
13281
  path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/pools/${validatePathParam('poolId', request.poolId)}/upgrade`
13284
13282
  }, unmarshalPool);
@@ -13292,7 +13290,7 @@ let API$d = class API extends API$q {
13292
13290
  */
13293
13291
  updatePool = request => this.client.fetch({
13294
13292
  body: JSON.stringify(marshalUpdatePoolRequest(request, this.client.settings)),
13295
- headers: jsonContentHeaders$b,
13293
+ headers: jsonContentHeaders$c,
13296
13294
  method: 'PATCH',
13297
13295
  path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/pools/${validatePathParam('poolId', request.poolId)}`
13298
13296
  }, unmarshalPool);
@@ -13319,7 +13317,7 @@ let API$d = class API extends API$q {
13319
13317
  */
13320
13318
  createExternalNode = request => this.client.fetch({
13321
13319
  body: '{}',
13322
- headers: jsonContentHeaders$b,
13320
+ headers: jsonContentHeaders$c,
13323
13321
  method: 'POST',
13324
13322
  path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/pools/${validatePathParam('poolId', request.poolId)}/external-nodes`
13325
13323
  }, unmarshalExternalNode);
@@ -13372,7 +13370,7 @@ let API$d = class API extends API$q {
13372
13370
  */
13373
13371
  replaceNode = request => this.client.fetch({
13374
13372
  body: '{}',
13375
- headers: jsonContentHeaders$b,
13373
+ headers: jsonContentHeaders$c,
13376
13374
  method: 'POST',
13377
13375
  path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/nodes/${validatePathParam('nodeId', request.nodeId)}/replace`
13378
13376
  }, unmarshalNode);
@@ -13389,7 +13387,7 @@ let API$d = class API extends API$q {
13389
13387
  */
13390
13388
  rebootNode = request => this.client.fetch({
13391
13389
  body: '{}',
13392
- headers: jsonContentHeaders$b,
13390
+ headers: jsonContentHeaders$c,
13393
13391
  method: 'POST',
13394
13392
  path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/nodes/${validatePathParam('nodeId', request.nodeId)}/reboot`
13395
13393
  }, unmarshalNode);
@@ -13432,7 +13430,7 @@ let API$d = class API extends API$q {
13432
13430
  }, unmarshalVersion$2);
13433
13431
  };
13434
13432
 
13435
- class K8SUtilsAPI extends API$d {
13433
+ class K8SUtilsAPI extends API$e {
13436
13434
  /**
13437
13435
  * Get configuration of a kube cluster.
13438
13436
  *
@@ -13910,7 +13908,7 @@ const unmarshalLbType = data => {
13910
13908
  zone: data.zone
13911
13909
  };
13912
13910
  };
13913
- const unmarshalPrivateNetwork$2 = data => {
13911
+ const unmarshalPrivateNetwork$3 = data => {
13914
13912
  if (!isJSONObject(data)) {
13915
13913
  throw new TypeError(`Unmarshalling the type 'PrivateNetwork' failed as data isn't a dictionary.`);
13916
13914
  }
@@ -14005,7 +14003,7 @@ const unmarshalListLbPrivateNetworksResponse = data => {
14005
14003
  throw new TypeError(`Unmarshalling the type 'ListLbPrivateNetworksResponse' failed as data isn't a dictionary.`);
14006
14004
  }
14007
14005
  return {
14008
- privateNetwork: unmarshalArrayOfObject(data.private_network, unmarshalPrivateNetwork$2),
14006
+ privateNetwork: unmarshalArrayOfObject(data.private_network, unmarshalPrivateNetwork$3),
14009
14007
  totalCount: data.total_count
14010
14008
  };
14011
14009
  };
@@ -14606,7 +14604,7 @@ const marshalZonedApiUpdateSubscriberRequest = (request, defaults) => ({
14606
14604
 
14607
14605
  // This file was automatically generated. DO NOT EDIT.
14608
14606
  // If you have any remark or suggestion do not hesitate to open an issue.
14609
- const jsonContentHeaders$a = {
14607
+ const jsonContentHeaders$b = {
14610
14608
  'Content-Type': 'application/json; charset=utf-8'
14611
14609
  };
14612
14610
 
@@ -14615,7 +14613,7 @@ const jsonContentHeaders$a = {
14615
14613
  *
14616
14614
  * This API allows you to manage your load balancer service. Load balancer API.
14617
14615
  */
14618
- let API$c = class API extends API$q {
14616
+ let API$d = class API extends API$r {
14619
14617
  /** Lists the available regions of the API. */
14620
14618
  static LOCALITIES = ['fr-par', 'nl-ams', 'pl-waw'];
14621
14619
  pageOfListLbs = (request = {}) => this.client.fetch({
@@ -14640,7 +14638,7 @@ let API$c = class API extends API$q {
14640
14638
  */
14641
14639
  createLb = request => this.client.fetch({
14642
14640
  body: JSON.stringify(marshalCreateLbRequest(request, this.client.settings)),
14643
- headers: jsonContentHeaders$a,
14641
+ headers: jsonContentHeaders$b,
14644
14642
  method: 'POST',
14645
14643
  path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/lbs`
14646
14644
  }, unmarshalLb);
@@ -14673,7 +14671,7 @@ let API$c = class API extends API$q {
14673
14671
  */
14674
14672
  updateLb = request => this.client.fetch({
14675
14673
  body: JSON.stringify(marshalUpdateLbRequest(request, this.client.settings)),
14676
- headers: jsonContentHeaders$a,
14674
+ headers: jsonContentHeaders$b,
14677
14675
  method: 'PUT',
14678
14676
  path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/lbs/${validatePathParam('lbId', request.lbId)}`
14679
14677
  }, unmarshalLb);
@@ -14697,7 +14695,7 @@ let API$c = class API extends API$q {
14697
14695
  */
14698
14696
  migrateLb = request => this.client.fetch({
14699
14697
  body: JSON.stringify(marshalMigrateLbRequest(request, this.client.settings)),
14700
- headers: jsonContentHeaders$a,
14698
+ headers: jsonContentHeaders$b,
14701
14699
  method: 'POST',
14702
14700
  path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/lbs/${validatePathParam('lbId', request.lbId)}/migrate`
14703
14701
  }, unmarshalLb);
@@ -14723,7 +14721,7 @@ let API$c = class API extends API$q {
14723
14721
  */
14724
14722
  createIp = (request = {}) => this.client.fetch({
14725
14723
  body: JSON.stringify(marshalCreateIpRequest(request, this.client.settings)),
14726
- headers: jsonContentHeaders$a,
14724
+ headers: jsonContentHeaders$b,
14727
14725
  method: 'POST',
14728
14726
  path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/ips`
14729
14727
  }, unmarshalIp);
@@ -14757,7 +14755,7 @@ let API$c = class API extends API$q {
14757
14755
  */
14758
14756
  updateIp = request => this.client.fetch({
14759
14757
  body: JSON.stringify(marshalUpdateIpRequest(request, this.client.settings)),
14760
- headers: jsonContentHeaders$a,
14758
+ headers: jsonContentHeaders$b,
14761
14759
  method: 'PATCH',
14762
14760
  path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/ips/${validatePathParam('ipId', request.ipId)}`
14763
14761
  }, unmarshalIp);
@@ -14783,7 +14781,7 @@ let API$c = class API extends API$q {
14783
14781
  */
14784
14782
  createBackend = request => this.client.fetch({
14785
14783
  body: JSON.stringify(marshalCreateBackendRequest(request, this.client.settings)),
14786
- headers: jsonContentHeaders$a,
14784
+ headers: jsonContentHeaders$b,
14787
14785
  method: 'POST',
14788
14786
  path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/lbs/${validatePathParam('lbId', request.lbId)}/backends`
14789
14787
  }, unmarshalBackend);
@@ -14807,7 +14805,7 @@ let API$c = class API extends API$q {
14807
14805
  */
14808
14806
  updateBackend = request => this.client.fetch({
14809
14807
  body: JSON.stringify(marshalUpdateBackendRequest(request, this.client.settings)),
14810
- headers: jsonContentHeaders$a,
14808
+ headers: jsonContentHeaders$b,
14811
14809
  method: 'PUT',
14812
14810
  path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/backends/${validatePathParam('backendId', request.backendId)}`
14813
14811
  }, unmarshalBackend);
@@ -14830,7 +14828,7 @@ let API$c = class API extends API$q {
14830
14828
  */
14831
14829
  addBackendServers = request => this.client.fetch({
14832
14830
  body: JSON.stringify(marshalAddBackendServersRequest(request, this.client.settings)),
14833
- headers: jsonContentHeaders$a,
14831
+ headers: jsonContentHeaders$b,
14834
14832
  method: 'POST',
14835
14833
  path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/backends/${validatePathParam('backendId', request.backendId)}/servers`
14836
14834
  }, unmarshalBackend);
@@ -14843,7 +14841,7 @@ let API$c = class API extends API$q {
14843
14841
  */
14844
14842
  removeBackendServers = request => this.client.fetch({
14845
14843
  body: JSON.stringify(marshalRemoveBackendServersRequest(request, this.client.settings)),
14846
- headers: jsonContentHeaders$a,
14844
+ headers: jsonContentHeaders$b,
14847
14845
  method: 'DELETE',
14848
14846
  path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/backends/${validatePathParam('backendId', request.backendId)}/servers`
14849
14847
  }, unmarshalBackend);
@@ -14856,7 +14854,7 @@ let API$c = class API extends API$q {
14856
14854
  */
14857
14855
  setBackendServers = request => this.client.fetch({
14858
14856
  body: JSON.stringify(marshalSetBackendServersRequest(request, this.client.settings)),
14859
- headers: jsonContentHeaders$a,
14857
+ headers: jsonContentHeaders$b,
14860
14858
  method: 'PUT',
14861
14859
  path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/backends/${validatePathParam('backendId', request.backendId)}/servers`
14862
14860
  }, unmarshalBackend);
@@ -14869,7 +14867,7 @@ let API$c = class API extends API$q {
14869
14867
  */
14870
14868
  updateHealthCheck = request => this.client.fetch({
14871
14869
  body: JSON.stringify(marshalUpdateHealthCheckRequest(request, this.client.settings)),
14872
- headers: jsonContentHeaders$a,
14870
+ headers: jsonContentHeaders$b,
14873
14871
  method: 'PUT',
14874
14872
  path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/backends/${validatePathParam('backendId', request.backendId)}/healthcheck`
14875
14873
  }, unmarshalHealthCheck);
@@ -14895,7 +14893,7 @@ let API$c = class API extends API$q {
14895
14893
  */
14896
14894
  createFrontend = request => this.client.fetch({
14897
14895
  body: JSON.stringify(marshalCreateFrontendRequest(request, this.client.settings)),
14898
- headers: jsonContentHeaders$a,
14896
+ headers: jsonContentHeaders$b,
14899
14897
  method: 'POST',
14900
14898
  path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/lbs/${validatePathParam('lbId', request.lbId)}/frontends`
14901
14899
  }, unmarshalFrontend);
@@ -14919,7 +14917,7 @@ let API$c = class API extends API$q {
14919
14917
  */
14920
14918
  updateFrontend = request => this.client.fetch({
14921
14919
  body: JSON.stringify(marshalUpdateFrontendRequest(request, this.client.settings)),
14922
- headers: jsonContentHeaders$a,
14920
+ headers: jsonContentHeaders$b,
14923
14921
  method: 'PUT',
14924
14922
  path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/frontends/${validatePathParam('frontendId', request.frontendId)}`
14925
14923
  }, unmarshalFrontend);
@@ -14955,7 +14953,7 @@ let API$c = class API extends API$q {
14955
14953
  */
14956
14954
  createRoute = request => this.client.fetch({
14957
14955
  body: JSON.stringify(marshalCreateRouteRequest(request, this.client.settings)),
14958
- headers: jsonContentHeaders$a,
14956
+ headers: jsonContentHeaders$b,
14959
14957
  method: 'POST',
14960
14958
  path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/routes`
14961
14959
  }, unmarshalRoute);
@@ -14979,7 +14977,7 @@ let API$c = class API extends API$q {
14979
14977
  */
14980
14978
  updateRoute = request => this.client.fetch({
14981
14979
  body: JSON.stringify(marshalUpdateRouteRequest(request, this.client.settings)),
14982
- headers: jsonContentHeaders$a,
14980
+ headers: jsonContentHeaders$b,
14983
14981
  method: 'PUT',
14984
14982
  path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/routes/${validatePathParam('routeId', request.routeId)}`
14985
14983
  }, unmarshalRoute);
@@ -15003,7 +15001,8 @@ let API$c = class API extends API$q {
15003
15001
  */
15004
15002
  getLbStats = request => this.client.fetch({
15005
15003
  method: 'GET',
15006
- path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/lbs/${validatePathParam('lbId', request.lbId)}/stats`
15004
+ path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/lbs/${validatePathParam('lbId', request.lbId)}/stats`,
15005
+ urlParams: urlParams(['backend_id', request.backendId])
15007
15006
  }, unmarshalLbStats);
15008
15007
  pageOfListBackendStats = request => this.client.fetch({
15009
15008
  method: 'GET',
@@ -15033,7 +15032,7 @@ let API$c = class API extends API$q {
15033
15032
  */
15034
15033
  createAcl = request => this.client.fetch({
15035
15034
  body: JSON.stringify(marshalCreateAclRequest(request, this.client.settings)),
15036
- headers: jsonContentHeaders$a,
15035
+ headers: jsonContentHeaders$b,
15037
15036
  method: 'POST',
15038
15037
  path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/frontends/${validatePathParam('frontendId', request.frontendId)}/acls`
15039
15038
  }, unmarshalAcl);
@@ -15057,7 +15056,7 @@ let API$c = class API extends API$q {
15057
15056
  */
15058
15057
  updateAcl = request => this.client.fetch({
15059
15058
  body: JSON.stringify(marshalUpdateAclRequest(request, this.client.settings)),
15060
- headers: jsonContentHeaders$a,
15059
+ headers: jsonContentHeaders$b,
15061
15060
  method: 'PUT',
15062
15061
  path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/acls/${validatePathParam('aclId', request.aclId)}`
15063
15062
  }, unmarshalAcl);
@@ -15081,7 +15080,7 @@ let API$c = class API extends API$q {
15081
15080
  */
15082
15081
  createCertificate = request => this.client.fetch({
15083
15082
  body: JSON.stringify(marshalCreateCertificateRequest(request, this.client.settings)),
15084
- headers: jsonContentHeaders$a,
15083
+ headers: jsonContentHeaders$b,
15085
15084
  method: 'POST',
15086
15085
  path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/lbs/${validatePathParam('lbId', request.lbId)}/certificates`
15087
15086
  }, unmarshalCertificate);
@@ -15127,7 +15126,7 @@ let API$c = class API extends API$q {
15127
15126
  */
15128
15127
  updateCertificate = request => this.client.fetch({
15129
15128
  body: JSON.stringify(marshalUpdateCertificateRequest(request, this.client.settings)),
15130
- headers: jsonContentHeaders$a,
15129
+ headers: jsonContentHeaders$b,
15131
15130
  method: 'PUT',
15132
15131
  path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/certificates/${validatePathParam('certificateId', request.certificateId)}`
15133
15132
  }, unmarshalCertificate);
@@ -15163,7 +15162,7 @@ let API$c = class API extends API$q {
15163
15162
  */
15164
15163
  createSubscriber = request => this.client.fetch({
15165
15164
  body: JSON.stringify(marshalCreateSubscriberRequest(request, this.client.settings)),
15166
- headers: jsonContentHeaders$a,
15165
+ headers: jsonContentHeaders$b,
15167
15166
  method: 'POST',
15168
15167
  path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/subscribers`
15169
15168
  }, unmarshalSubscriber);
@@ -15200,7 +15199,7 @@ let API$c = class API extends API$q {
15200
15199
  */
15201
15200
  updateSubscriber = request => this.client.fetch({
15202
15201
  body: JSON.stringify(marshalUpdateSubscriberRequest(request, this.client.settings)),
15203
- headers: jsonContentHeaders$a,
15202
+ headers: jsonContentHeaders$b,
15204
15203
  method: 'PUT',
15205
15204
  path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/subscribers/${validatePathParam('subscriberId', request.subscriberId)}`
15206
15205
  }, unmarshalSubscriber);
@@ -15223,7 +15222,7 @@ let API$c = class API extends API$q {
15223
15222
  */
15224
15223
  subscribeToLb = request => this.client.fetch({
15225
15224
  body: JSON.stringify(marshalSubscribeToLbRequest(request, this.client.settings)),
15226
- headers: jsonContentHeaders$a,
15225
+ headers: jsonContentHeaders$b,
15227
15226
  method: 'POST',
15228
15227
  path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/lb/${validatePathParam('lbId', request.lbId)}/subscribe`
15229
15228
  }, unmarshalLb);
@@ -15260,10 +15259,10 @@ let API$c = class API extends API$q {
15260
15259
  */
15261
15260
  attachPrivateNetwork = request => this.client.fetch({
15262
15261
  body: JSON.stringify(marshalAttachPrivateNetworkRequest(request, this.client.settings)),
15263
- headers: jsonContentHeaders$a,
15262
+ headers: jsonContentHeaders$b,
15264
15263
  method: 'POST',
15265
15264
  path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/lbs/${validatePathParam('lbId', request.lbId)}/private-networks/${validatePathParam('privateNetworkId', request.privateNetworkId)}/attach`
15266
- }, unmarshalPrivateNetwork$2);
15265
+ }, unmarshalPrivateNetwork$3);
15267
15266
 
15268
15267
  /**
15269
15268
  * Remove load balancer of private network.
@@ -15272,7 +15271,7 @@ let API$c = class API extends API$q {
15272
15271
  */
15273
15272
  detachPrivateNetwork = request => this.client.fetch({
15274
15273
  body: '{}',
15275
- headers: jsonContentHeaders$a,
15274
+ headers: jsonContentHeaders$b,
15276
15275
  method: 'POST',
15277
15276
  path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/lbs/${validatePathParam('lbId', request.lbId)}/private-networks/${validatePathParam('privateNetworkId', request.privateNetworkId)}/detach`
15278
15277
  });
@@ -15284,7 +15283,7 @@ let API$c = class API extends API$q {
15284
15283
  * This API allows you to manage your Scaleway Load Balancer services. Load
15285
15284
  * Balancer API.
15286
15285
  */
15287
- class ZonedAPI extends API$q {
15286
+ class ZonedAPI extends API$r {
15288
15287
  /** Lists the available zones of the API. */
15289
15288
  static LOCALITIES = ['fr-par-1', 'fr-par-2', 'nl-ams-1', 'nl-ams-2', 'pl-waw-1', 'pl-waw-2'];
15290
15289
  pageOfListLbs = (request = {}) => this.client.fetch({
@@ -15314,7 +15313,7 @@ class ZonedAPI extends API$q {
15314
15313
  */
15315
15314
  createLb = request => this.client.fetch({
15316
15315
  body: JSON.stringify(marshalZonedApiCreateLbRequest(request, this.client.settings)),
15317
- headers: jsonContentHeaders$a,
15316
+ headers: jsonContentHeaders$b,
15318
15317
  method: 'POST',
15319
15318
  path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/lbs`
15320
15319
  }, unmarshalLb);
@@ -15351,7 +15350,7 @@ class ZonedAPI extends API$q {
15351
15350
  */
15352
15351
  updateLb = request => this.client.fetch({
15353
15352
  body: JSON.stringify(marshalZonedApiUpdateLbRequest(request, this.client.settings)),
15354
- headers: jsonContentHeaders$a,
15353
+ headers: jsonContentHeaders$b,
15355
15354
  method: 'PUT',
15356
15355
  path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/lbs/${validatePathParam('lbId', request.lbId)}`
15357
15356
  }, unmarshalLb);
@@ -15380,7 +15379,7 @@ class ZonedAPI extends API$q {
15380
15379
  */
15381
15380
  migrateLb = request => this.client.fetch({
15382
15381
  body: JSON.stringify(marshalZonedApiMigrateLbRequest(request, this.client.settings)),
15383
- headers: jsonContentHeaders$a,
15382
+ headers: jsonContentHeaders$b,
15384
15383
  method: 'POST',
15385
15384
  path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/lbs/${validatePathParam('lbId', request.lbId)}/migrate`
15386
15385
  }, unmarshalLb);
@@ -15410,7 +15409,7 @@ class ZonedAPI extends API$q {
15410
15409
  */
15411
15410
  createIp = (request = {}) => this.client.fetch({
15412
15411
  body: JSON.stringify(marshalZonedApiCreateIpRequest(request, this.client.settings)),
15413
- headers: jsonContentHeaders$a,
15412
+ headers: jsonContentHeaders$b,
15414
15413
  method: 'POST',
15415
15414
  path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/ips`
15416
15415
  }, unmarshalIp);
@@ -15447,7 +15446,7 @@ class ZonedAPI extends API$q {
15447
15446
  */
15448
15447
  updateIp = request => this.client.fetch({
15449
15448
  body: JSON.stringify(marshalZonedApiUpdateIpRequest(request, this.client.settings)),
15450
- headers: jsonContentHeaders$a,
15449
+ headers: jsonContentHeaders$b,
15451
15450
  method: 'PATCH',
15452
15451
  path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/ips/${validatePathParam('ipId', request.ipId)}`
15453
15452
  }, unmarshalIp);
@@ -15480,7 +15479,7 @@ class ZonedAPI extends API$q {
15480
15479
  */
15481
15480
  createBackend = request => this.client.fetch({
15482
15481
  body: JSON.stringify(marshalZonedApiCreateBackendRequest(request, this.client.settings)),
15483
- headers: jsonContentHeaders$a,
15482
+ headers: jsonContentHeaders$b,
15484
15483
  method: 'POST',
15485
15484
  path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/lbs/${validatePathParam('lbId', request.lbId)}/backends`
15486
15485
  }, unmarshalBackend);
@@ -15509,7 +15508,7 @@ class ZonedAPI extends API$q {
15509
15508
  */
15510
15509
  updateBackend = request => this.client.fetch({
15511
15510
  body: JSON.stringify(marshalZonedApiUpdateBackendRequest(request, this.client.settings)),
15512
- headers: jsonContentHeaders$a,
15511
+ headers: jsonContentHeaders$b,
15513
15512
  method: 'PUT',
15514
15513
  path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/backends/${validatePathParam('backendId', request.backendId)}`
15515
15514
  }, unmarshalBackend);
@@ -15537,7 +15536,7 @@ class ZonedAPI extends API$q {
15537
15536
  */
15538
15537
  addBackendServers = request => this.client.fetch({
15539
15538
  body: JSON.stringify(marshalZonedApiAddBackendServersRequest(request, this.client.settings)),
15540
- headers: jsonContentHeaders$a,
15539
+ headers: jsonContentHeaders$b,
15541
15540
  method: 'POST',
15542
15541
  path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/backends/${validatePathParam('backendId', request.backendId)}/servers`
15543
15542
  }, unmarshalBackend);
@@ -15552,7 +15551,7 @@ class ZonedAPI extends API$q {
15552
15551
  */
15553
15552
  removeBackendServers = request => this.client.fetch({
15554
15553
  body: JSON.stringify(marshalZonedApiRemoveBackendServersRequest(request, this.client.settings)),
15555
- headers: jsonContentHeaders$a,
15554
+ headers: jsonContentHeaders$b,
15556
15555
  method: 'DELETE',
15557
15556
  path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/backends/${validatePathParam('backendId', request.backendId)}/servers`
15558
15557
  }, unmarshalBackend);
@@ -15568,7 +15567,7 @@ class ZonedAPI extends API$q {
15568
15567
  */
15569
15568
  setBackendServers = request => this.client.fetch({
15570
15569
  body: JSON.stringify(marshalZonedApiSetBackendServersRequest(request, this.client.settings)),
15571
- headers: jsonContentHeaders$a,
15570
+ headers: jsonContentHeaders$b,
15572
15571
  method: 'PUT',
15573
15572
  path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/backends/${validatePathParam('backendId', request.backendId)}/servers`
15574
15573
  }, unmarshalBackend);
@@ -15584,7 +15583,7 @@ class ZonedAPI extends API$q {
15584
15583
  */
15585
15584
  updateHealthCheck = request => this.client.fetch({
15586
15585
  body: JSON.stringify(marshalZonedApiUpdateHealthCheckRequest(request, this.client.settings)),
15587
- headers: jsonContentHeaders$a,
15586
+ headers: jsonContentHeaders$b,
15588
15587
  method: 'PUT',
15589
15588
  path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/backends/${validatePathParam('backendId', request.backendId)}/healthcheck`
15590
15589
  }, unmarshalHealthCheck);
@@ -15617,7 +15616,7 @@ class ZonedAPI extends API$q {
15617
15616
  */
15618
15617
  createFrontend = request => this.client.fetch({
15619
15618
  body: JSON.stringify(marshalZonedApiCreateFrontendRequest(request, this.client.settings)),
15620
- headers: jsonContentHeaders$a,
15619
+ headers: jsonContentHeaders$b,
15621
15620
  method: 'POST',
15622
15621
  path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/lbs/${validatePathParam('lbId', request.lbId)}/frontends`
15623
15622
  }, unmarshalFrontend);
@@ -15647,7 +15646,7 @@ class ZonedAPI extends API$q {
15647
15646
  */
15648
15647
  updateFrontend = request => this.client.fetch({
15649
15648
  body: JSON.stringify(marshalZonedApiUpdateFrontendRequest(request, this.client.settings)),
15650
- headers: jsonContentHeaders$a,
15649
+ headers: jsonContentHeaders$b,
15651
15650
  method: 'PUT',
15652
15651
  path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/frontends/${validatePathParam('frontendId', request.frontendId)}`
15653
15652
  }, unmarshalFrontend);
@@ -15689,7 +15688,7 @@ class ZonedAPI extends API$q {
15689
15688
  */
15690
15689
  createRoute = request => this.client.fetch({
15691
15690
  body: JSON.stringify(marshalZonedApiCreateRouteRequest(request, this.client.settings)),
15692
- headers: jsonContentHeaders$a,
15691
+ headers: jsonContentHeaders$b,
15693
15692
  method: 'POST',
15694
15693
  path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/routes`
15695
15694
  }, unmarshalRoute);
@@ -15716,7 +15715,7 @@ class ZonedAPI extends API$q {
15716
15715
  */
15717
15716
  updateRoute = request => this.client.fetch({
15718
15717
  body: JSON.stringify(marshalZonedApiUpdateRouteRequest(request, this.client.settings)),
15719
- headers: jsonContentHeaders$a,
15718
+ headers: jsonContentHeaders$b,
15720
15719
  method: 'PUT',
15721
15720
  path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/routes/${validatePathParam('routeId', request.routeId)}`
15722
15721
  }, unmarshalRoute);
@@ -15741,7 +15740,8 @@ class ZonedAPI extends API$q {
15741
15740
  */
15742
15741
  getLbStats = request => this.client.fetch({
15743
15742
  method: 'GET',
15744
- path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/lbs/${validatePathParam('lbId', request.lbId)}/stats`
15743
+ path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/lbs/${validatePathParam('lbId', request.lbId)}/stats`,
15744
+ urlParams: urlParams(['backend_id', request.backendId])
15745
15745
  }, unmarshalLbStats);
15746
15746
  pageOfListBackendStats = request => this.client.fetch({
15747
15747
  method: 'GET',
@@ -15785,7 +15785,7 @@ class ZonedAPI extends API$q {
15785
15785
  */
15786
15786
  createAcl = request => this.client.fetch({
15787
15787
  body: JSON.stringify(marshalZonedApiCreateAclRequest(request, this.client.settings)),
15788
- headers: jsonContentHeaders$a,
15788
+ headers: jsonContentHeaders$b,
15789
15789
  method: 'POST',
15790
15790
  path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/frontends/${validatePathParam('frontendId', request.frontendId)}/acls`
15791
15791
  }, unmarshalAcl);
@@ -15812,7 +15812,7 @@ class ZonedAPI extends API$q {
15812
15812
  */
15813
15813
  updateAcl = request => this.client.fetch({
15814
15814
  body: JSON.stringify(marshalZonedApiUpdateAclRequest(request, this.client.settings)),
15815
- headers: jsonContentHeaders$a,
15815
+ headers: jsonContentHeaders$b,
15816
15816
  method: 'PUT',
15817
15817
  path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/acls/${validatePathParam('aclId', request.aclId)}`
15818
15818
  }, unmarshalAcl);
@@ -15838,7 +15838,7 @@ class ZonedAPI extends API$q {
15838
15838
  */
15839
15839
  setAcls = request => this.client.fetch({
15840
15840
  body: JSON.stringify(marshalZonedApiSetAclsRequest(request, this.client.settings)),
15841
- headers: jsonContentHeaders$a,
15841
+ headers: jsonContentHeaders$b,
15842
15842
  method: 'PUT',
15843
15843
  path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/frontends/${validatePathParam('frontendId', request.frontendId)}/acls`
15844
15844
  }, unmarshalSetAclsResponse);
@@ -15853,7 +15853,7 @@ class ZonedAPI extends API$q {
15853
15853
  */
15854
15854
  createCertificate = request => this.client.fetch({
15855
15855
  body: JSON.stringify(marshalZonedApiCreateCertificateRequest(request, this.client.settings)),
15856
- headers: jsonContentHeaders$a,
15856
+ headers: jsonContentHeaders$b,
15857
15857
  method: 'POST',
15858
15858
  path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/lbs/${validatePathParam('lbId', request.lbId)}/certificates`
15859
15859
  }, unmarshalCertificate);
@@ -15906,7 +15906,7 @@ class ZonedAPI extends API$q {
15906
15906
  */
15907
15907
  updateCertificate = request => this.client.fetch({
15908
15908
  body: JSON.stringify(marshalZonedApiUpdateCertificateRequest(request, this.client.settings)),
15909
- headers: jsonContentHeaders$a,
15909
+ headers: jsonContentHeaders$b,
15910
15910
  method: 'PUT',
15911
15911
  path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/certificates/${validatePathParam('certificateId', request.certificateId)}`
15912
15912
  }, unmarshalCertificate);
@@ -15948,7 +15948,7 @@ class ZonedAPI extends API$q {
15948
15948
  */
15949
15949
  createSubscriber = request => this.client.fetch({
15950
15950
  body: JSON.stringify(marshalZonedApiCreateSubscriberRequest(request, this.client.settings)),
15951
- headers: jsonContentHeaders$a,
15951
+ headers: jsonContentHeaders$b,
15952
15952
  method: 'POST',
15953
15953
  path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/subscribers`
15954
15954
  }, unmarshalSubscriber);
@@ -15992,7 +15992,7 @@ class ZonedAPI extends API$q {
15992
15992
  */
15993
15993
  updateSubscriber = request => this.client.fetch({
15994
15994
  body: JSON.stringify(marshalZonedApiUpdateSubscriberRequest(request, this.client.settings)),
15995
- headers: jsonContentHeaders$a,
15995
+ headers: jsonContentHeaders$b,
15996
15996
  method: 'PUT',
15997
15997
  path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/subscribers/${validatePathParam('subscriberId', request.subscriberId)}`
15998
15998
  }, unmarshalSubscriber);
@@ -16017,7 +16017,7 @@ class ZonedAPI extends API$q {
16017
16017
  */
16018
16018
  subscribeToLb = request => this.client.fetch({
16019
16019
  body: JSON.stringify(marshalZonedApiSubscribeToLbRequest(request, this.client.settings)),
16020
- headers: jsonContentHeaders$a,
16020
+ headers: jsonContentHeaders$b,
16021
16021
  method: 'POST',
16022
16022
  path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/lb/${validatePathParam('lbId', request.lbId)}/subscribe`
16023
16023
  }, unmarshalLb);
@@ -16062,10 +16062,10 @@ class ZonedAPI extends API$q {
16062
16062
  */
16063
16063
  attachPrivateNetwork = request => this.client.fetch({
16064
16064
  body: JSON.stringify(marshalZonedApiAttachPrivateNetworkRequest(request, this.client.settings)),
16065
- headers: jsonContentHeaders$a,
16065
+ headers: jsonContentHeaders$b,
16066
16066
  method: 'POST',
16067
16067
  path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/lbs/${validatePathParam('lbId', request.lbId)}/private-networks/${validatePathParam('privateNetworkId', request.privateNetworkId)}/attach`
16068
- }, unmarshalPrivateNetwork$2);
16068
+ }, unmarshalPrivateNetwork$3);
16069
16069
 
16070
16070
  /**
16071
16071
  * Detach Load Balancer from Private Network. Detach a specified Load Balancer
@@ -16075,13 +16075,13 @@ class ZonedAPI extends API$q {
16075
16075
  */
16076
16076
  detachPrivateNetwork = request => this.client.fetch({
16077
16077
  body: '{}',
16078
- headers: jsonContentHeaders$a,
16078
+ headers: jsonContentHeaders$b,
16079
16079
  method: 'POST',
16080
16080
  path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/lbs/${validatePathParam('lbId', request.lbId)}/private-networks/${validatePathParam('privateNetworkId', request.privateNetworkId)}/detach`
16081
16081
  });
16082
16082
  }
16083
16083
 
16084
- class LbV1UtilsAPI extends API$c {
16084
+ class LbV1UtilsAPI extends API$d {
16085
16085
  /**
16086
16086
  * Waits for all private networks of a load balancer to be in a final state.
16087
16087
  *
@@ -16263,7 +16263,7 @@ const unmarshalListVersionsResponse$1 = data => {
16263
16263
  // This file was automatically generated. DO NOT EDIT.
16264
16264
  // If you have any remark or suggestion do not hesitate to open an issue.
16265
16265
  /** Marketplace API. */
16266
- let API$b = class API extends API$q {
16266
+ let API$c = class API extends API$r {
16267
16267
  pageOfListImages = (request = {}) => this.client.fetch({
16268
16268
  method: 'GET',
16269
16269
  path: `/marketplace/v1/images`,
@@ -16301,9 +16301,9 @@ let API$b = class API extends API$q {
16301
16301
  // This file was automatically generated. DO NOT EDIT.
16302
16302
  // If you have any remark or suggestion do not hesitate to open an issue.
16303
16303
 
16304
- var index_gen$b = /*#__PURE__*/Object.freeze({
16304
+ var index_gen$c = /*#__PURE__*/Object.freeze({
16305
16305
  __proto__: null,
16306
- API: API$b
16306
+ API: API$c
16307
16307
  });
16308
16308
 
16309
16309
  // This file was automatically generated. DO NOT EDIT.
@@ -16398,7 +16398,7 @@ const unmarshalListVersionsResponse = data => {
16398
16398
  // This file was automatically generated. DO NOT EDIT.
16399
16399
  // If you have any remark or suggestion do not hesitate to open an issue.
16400
16400
  /** Marketplace API. */
16401
- let API$a = class API extends API$q {
16401
+ let API$b = class API extends API$r {
16402
16402
  pageOfListImages = request => this.client.fetch({
16403
16403
  method: 'GET',
16404
16404
  path: `/marketplace/v2/images`,
@@ -16522,15 +16522,15 @@ let API$a = class API extends API$q {
16522
16522
  // This file was automatically generated. DO NOT EDIT.
16523
16523
  // If you have any remark or suggestion do not hesitate to open an issue.
16524
16524
 
16525
- var index_gen$a = /*#__PURE__*/Object.freeze({
16525
+ var index_gen$b = /*#__PURE__*/Object.freeze({
16526
16526
  __proto__: null,
16527
- API: API$a
16527
+ API: API$b
16528
16528
  });
16529
16529
 
16530
16530
  var index$a = /*#__PURE__*/Object.freeze({
16531
16531
  __proto__: null,
16532
- v1: index_gen$b,
16533
- v2: index_gen$a
16532
+ v1: index_gen$c,
16533
+ v2: index_gen$b
16534
16534
  });
16535
16535
 
16536
16536
  // This file was automatically generated. DO NOT EDIT.
@@ -16656,7 +16656,7 @@ const marshalUpdateNamespaceRequest$1 = (request, defaults) => ({
16656
16656
 
16657
16657
  // This file was automatically generated. DO NOT EDIT.
16658
16658
  // If you have any remark or suggestion do not hesitate to open an issue.
16659
- const jsonContentHeaders$9 = {
16659
+ const jsonContentHeaders$a = {
16660
16660
  'Content-Type': 'application/json; charset=utf-8'
16661
16661
  };
16662
16662
 
@@ -16666,7 +16666,7 @@ const jsonContentHeaders$9 = {
16666
16666
  * This API allows you to manage Scaleway Messaging and Queueing brokers.
16667
16667
  * Messaging and Queuing API.
16668
16668
  */
16669
- let API$9 = class API extends API$q {
16669
+ let API$a = class API extends API$r {
16670
16670
  /** Lists the available regions of the API. */
16671
16671
  static LOCALITIES = ['fr-par'];
16672
16672
  pageOfListNamespaces = (request = {}) => this.client.fetch({
@@ -16695,7 +16695,7 @@ let API$9 = class API extends API$q {
16695
16695
  */
16696
16696
  createNamespace = request => this.client.fetch({
16697
16697
  body: JSON.stringify(marshalCreateNamespaceRequest$1(request, this.client.settings)),
16698
- headers: jsonContentHeaders$9,
16698
+ headers: jsonContentHeaders$a,
16699
16699
  method: 'POST',
16700
16700
  path: `/mnq/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/namespaces`
16701
16701
  }, unmarshalNamespace$1);
@@ -16709,7 +16709,7 @@ let API$9 = class API extends API$q {
16709
16709
  */
16710
16710
  updateNamespace = request => this.client.fetch({
16711
16711
  body: JSON.stringify(marshalUpdateNamespaceRequest$1(request, this.client.settings)),
16712
- headers: jsonContentHeaders$9,
16712
+ headers: jsonContentHeaders$a,
16713
16713
  method: 'PATCH',
16714
16714
  path: `/mnq/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/namespaces`
16715
16715
  }, unmarshalNamespace$1);
@@ -16752,7 +16752,7 @@ let API$9 = class API extends API$q {
16752
16752
  */
16753
16753
  createCredential = request => this.client.fetch({
16754
16754
  body: JSON.stringify(marshalCreateCredentialRequest(request, this.client.settings)),
16755
- headers: jsonContentHeaders$9,
16755
+ headers: jsonContentHeaders$a,
16756
16756
  method: 'POST',
16757
16757
  path: `/mnq/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/credentials`
16758
16758
  }, unmarshalCredential);
@@ -16795,7 +16795,7 @@ let API$9 = class API extends API$q {
16795
16795
  */
16796
16796
  updateCredential = request => this.client.fetch({
16797
16797
  body: JSON.stringify(marshalUpdateCredentialRequest(request, this.client.settings)),
16798
- headers: jsonContentHeaders$9,
16798
+ headers: jsonContentHeaders$a,
16799
16799
  method: 'PATCH',
16800
16800
  path: `/mnq/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/credentials/${validatePathParam('credentialId', request.credentialId)}`
16801
16801
  }, unmarshalCredential);
@@ -16817,14 +16817,14 @@ let API$9 = class API extends API$q {
16817
16817
  // This file was automatically generated. DO NOT EDIT.
16818
16818
  // If you have any remark or suggestion do not hesitate to open an issue.
16819
16819
 
16820
- var index_gen$9 = /*#__PURE__*/Object.freeze({
16820
+ var index_gen$a = /*#__PURE__*/Object.freeze({
16821
16821
  __proto__: null,
16822
- API: API$9
16822
+ API: API$a
16823
16823
  });
16824
16824
 
16825
16825
  var index$9 = /*#__PURE__*/Object.freeze({
16826
16826
  __proto__: null,
16827
- v1alpha1: index_gen$9
16827
+ v1alpha1: index_gen$a
16828
16828
  });
16829
16829
 
16830
16830
  // This file was automatically generated. DO NOT EDIT.
@@ -16988,6 +16988,7 @@ const unmarshalReadReplica = data => {
16988
16988
  endpoints: unmarshalArrayOfObject(data.endpoints, unmarshalEndpoint$1),
16989
16989
  id: data.id,
16990
16990
  region: data.region,
16991
+ sameZone: data.same_zone,
16991
16992
  status: data.status
16992
16993
  };
16993
16994
  };
@@ -17447,7 +17448,8 @@ const marshalCreateReadReplicaEndpointRequest = (request, defaults) => ({
17447
17448
  });
17448
17449
  const marshalCreateReadReplicaRequest = (request, defaults) => ({
17449
17450
  endpoint_spec: request.endpointSpec ? request.endpointSpec.map(elt => marshalReadReplicaEndpointSpec(elt)) : undefined,
17450
- instance_id: request.instanceId
17451
+ instance_id: request.instanceId,
17452
+ same_zone: request.sameZone
17451
17453
  });
17452
17454
  const marshalCreateSnapshotRequest = (request, defaults) => ({
17453
17455
  expires_at: request.expiresAt,
@@ -17531,12 +17533,12 @@ const marshalUpgradeInstanceRequest = (request, defaults) => ({
17531
17533
 
17532
17534
  // This file was automatically generated. DO NOT EDIT.
17533
17535
  // If you have any remark or suggestion do not hesitate to open an issue.
17534
- const jsonContentHeaders$8 = {
17536
+ const jsonContentHeaders$9 = {
17535
17537
  'Content-Type': 'application/json; charset=utf-8'
17536
17538
  };
17537
17539
 
17538
17540
  /** Managed Database for PostgreSQL and MySQL API. */
17539
- let API$8 = class API extends API$q {
17541
+ let API$9 = class API extends API$r {
17540
17542
  /** Lists the available regions of the API. */
17541
17543
  static LOCALITIES = ['fr-par', 'nl-ams', 'pl-waw'];
17542
17544
  pageOfListDatabaseEngines = (request = {}) => this.client.fetch({
@@ -17594,7 +17596,7 @@ let API$8 = class API extends API$q {
17594
17596
  */
17595
17597
  createDatabaseBackup = request => this.client.fetch({
17596
17598
  body: JSON.stringify(marshalCreateDatabaseBackupRequest(request, this.client.settings)),
17597
- headers: jsonContentHeaders$8,
17599
+ headers: jsonContentHeaders$9,
17598
17600
  method: 'POST',
17599
17601
  path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/backups`
17600
17602
  }, unmarshalDatabaseBackup);
@@ -17630,7 +17632,7 @@ let API$8 = class API extends API$q {
17630
17632
  */
17631
17633
  updateDatabaseBackup = request => this.client.fetch({
17632
17634
  body: JSON.stringify(marshalUpdateDatabaseBackupRequest(request, this.client.settings)),
17633
- headers: jsonContentHeaders$8,
17635
+ headers: jsonContentHeaders$9,
17634
17636
  method: 'PATCH',
17635
17637
  path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/backups/${validatePathParam('databaseBackupId', request.databaseBackupId)}`
17636
17638
  }, unmarshalDatabaseBackup);
@@ -17658,7 +17660,7 @@ let API$8 = class API extends API$q {
17658
17660
  */
17659
17661
  restoreDatabaseBackup = request => this.client.fetch({
17660
17662
  body: JSON.stringify(marshalRestoreDatabaseBackupRequest(request, this.client.settings)),
17661
- headers: jsonContentHeaders$8,
17663
+ headers: jsonContentHeaders$9,
17662
17664
  method: 'POST',
17663
17665
  path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/backups/${validatePathParam('databaseBackupId', request.databaseBackupId)}/restore`
17664
17666
  }, unmarshalDatabaseBackup);
@@ -17673,7 +17675,7 @@ let API$8 = class API extends API$q {
17673
17675
  */
17674
17676
  exportDatabaseBackup = request => this.client.fetch({
17675
17677
  body: '{}',
17676
- headers: jsonContentHeaders$8,
17678
+ headers: jsonContentHeaders$9,
17677
17679
  method: 'POST',
17678
17680
  path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/backups/${validatePathParam('databaseBackupId', request.databaseBackupId)}/export`
17679
17681
  }, unmarshalDatabaseBackup);
@@ -17689,7 +17691,7 @@ let API$8 = class API extends API$q {
17689
17691
  */
17690
17692
  upgradeInstance = request => this.client.fetch({
17691
17693
  body: JSON.stringify(marshalUpgradeInstanceRequest(request, this.client.settings)),
17692
- headers: jsonContentHeaders$8,
17694
+ headers: jsonContentHeaders$9,
17693
17695
  method: 'POST',
17694
17696
  path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/upgrade`
17695
17697
  }, unmarshalInstance);
@@ -17747,7 +17749,7 @@ let API$8 = class API extends API$q {
17747
17749
  */
17748
17750
  createInstance = request => this.client.fetch({
17749
17751
  body: JSON.stringify(marshalCreateInstanceRequest(request, this.client.settings)),
17750
- headers: jsonContentHeaders$8,
17752
+ headers: jsonContentHeaders$9,
17751
17753
  method: 'POST',
17752
17754
  path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances`
17753
17755
  }, unmarshalInstance);
@@ -17761,7 +17763,7 @@ let API$8 = class API extends API$q {
17761
17763
  */
17762
17764
  updateInstance = request => this.client.fetch({
17763
17765
  body: JSON.stringify(marshalUpdateInstanceRequest(request, this.client.settings)),
17764
- headers: jsonContentHeaders$8,
17766
+ headers: jsonContentHeaders$9,
17765
17767
  method: 'PATCH',
17766
17768
  path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}`
17767
17769
  }, unmarshalInstance);
@@ -17792,7 +17794,7 @@ let API$8 = class API extends API$q {
17792
17794
  */
17793
17795
  cloneInstance = request => this.client.fetch({
17794
17796
  body: JSON.stringify(marshalCloneInstanceRequest(request, this.client.settings)),
17795
- headers: jsonContentHeaders$8,
17797
+ headers: jsonContentHeaders$9,
17796
17798
  method: 'POST',
17797
17799
  path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/clone`
17798
17800
  }, unmarshalInstance);
@@ -17807,7 +17809,7 @@ let API$8 = class API extends API$q {
17807
17809
  */
17808
17810
  restartInstance = request => this.client.fetch({
17809
17811
  body: '{}',
17810
- headers: jsonContentHeaders$8,
17812
+ headers: jsonContentHeaders$9,
17811
17813
  method: 'POST',
17812
17814
  path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/restart`
17813
17815
  }, unmarshalInstance);
@@ -17838,7 +17840,7 @@ let API$8 = class API extends API$q {
17838
17840
  */
17839
17841
  renewInstanceCertificate = request => this.client.fetch({
17840
17842
  body: '{}',
17841
- headers: jsonContentHeaders$8,
17843
+ headers: jsonContentHeaders$9,
17842
17844
  method: 'POST',
17843
17845
  path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/renew-certificate`
17844
17846
  });
@@ -17867,7 +17869,7 @@ let API$8 = class API extends API$q {
17867
17869
  */
17868
17870
  createReadReplica = request => this.client.fetch({
17869
17871
  body: JSON.stringify(marshalCreateReadReplicaRequest(request, this.client.settings)),
17870
- headers: jsonContentHeaders$8,
17872
+ headers: jsonContentHeaders$9,
17871
17873
  method: 'POST',
17872
17874
  path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/read-replicas`
17873
17875
  }, unmarshalReadReplica);
@@ -17919,7 +17921,7 @@ let API$8 = class API extends API$q {
17919
17921
  */
17920
17922
  resetReadReplica = request => this.client.fetch({
17921
17923
  body: '{}',
17922
- headers: jsonContentHeaders$8,
17924
+ headers: jsonContentHeaders$9,
17923
17925
  method: 'POST',
17924
17926
  path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/read-replicas/${validatePathParam('readReplicaId', request.readReplicaId)}/reset`
17925
17927
  }, unmarshalReadReplica);
@@ -17934,7 +17936,7 @@ let API$8 = class API extends API$q {
17934
17936
  */
17935
17937
  createReadReplicaEndpoint = request => this.client.fetch({
17936
17938
  body: JSON.stringify(marshalCreateReadReplicaEndpointRequest(request, this.client.settings)),
17937
- headers: jsonContentHeaders$8,
17939
+ headers: jsonContentHeaders$9,
17938
17940
  method: 'POST',
17939
17941
  path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/read-replicas/${validatePathParam('readReplicaId', request.readReplicaId)}/endpoints`
17940
17942
  }, unmarshalReadReplica);
@@ -17952,7 +17954,7 @@ let API$8 = class API extends API$q {
17952
17954
  */
17953
17955
  prepareInstanceLogs = request => this.client.fetch({
17954
17956
  body: JSON.stringify(marshalPrepareInstanceLogsRequest(request, this.client.settings)),
17955
- headers: jsonContentHeaders$8,
17957
+ headers: jsonContentHeaders$9,
17956
17958
  method: 'POST',
17957
17959
  path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/prepare-logs`
17958
17960
  }, unmarshalPrepareInstanceLogsResponse);
@@ -18004,7 +18006,7 @@ let API$8 = class API extends API$q {
18004
18006
  */
18005
18007
  purgeInstanceLogs = request => this.client.fetch({
18006
18008
  body: JSON.stringify(marshalPurgeInstanceLogsRequest(request, this.client.settings)),
18007
- headers: jsonContentHeaders$8,
18009
+ headers: jsonContentHeaders$9,
18008
18010
  method: 'POST',
18009
18011
  path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/purge-logs`
18010
18012
  });
@@ -18032,7 +18034,7 @@ let API$8 = class API extends API$q {
18032
18034
  */
18033
18035
  addInstanceSettings = request => this.client.fetch({
18034
18036
  body: JSON.stringify(marshalAddInstanceSettingsRequest(request, this.client.settings)),
18035
- headers: jsonContentHeaders$8,
18037
+ headers: jsonContentHeaders$9,
18036
18038
  method: 'POST',
18037
18039
  path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/settings`
18038
18040
  }, unmarshalAddInstanceSettingsResponse);
@@ -18047,7 +18049,7 @@ let API$8 = class API extends API$q {
18047
18049
  */
18048
18050
  deleteInstanceSettings = request => this.client.fetch({
18049
18051
  body: JSON.stringify(marshalDeleteInstanceSettingsRequest(request, this.client.settings)),
18050
- headers: jsonContentHeaders$8,
18052
+ headers: jsonContentHeaders$9,
18051
18053
  method: 'DELETE',
18052
18054
  path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/settings`
18053
18055
  }, unmarshalDeleteInstanceSettingsResponse);
@@ -18062,7 +18064,7 @@ let API$8 = class API extends API$q {
18062
18064
  */
18063
18065
  setInstanceSettings = request => this.client.fetch({
18064
18066
  body: JSON.stringify(marshalSetInstanceSettingsRequest(request, this.client.settings)),
18065
- headers: jsonContentHeaders$8,
18067
+ headers: jsonContentHeaders$9,
18066
18068
  method: 'PUT',
18067
18069
  path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/settings`
18068
18070
  }, unmarshalSetInstanceSettingsResponse);
@@ -18092,7 +18094,7 @@ let API$8 = class API extends API$q {
18092
18094
  */
18093
18095
  addInstanceACLRules = request => this.client.fetch({
18094
18096
  body: JSON.stringify(marshalAddInstanceACLRulesRequest(request, this.client.settings)),
18095
- headers: jsonContentHeaders$8,
18097
+ headers: jsonContentHeaders$9,
18096
18098
  method: 'POST',
18097
18099
  path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/acls`
18098
18100
  }, unmarshalAddInstanceACLRulesResponse);
@@ -18106,7 +18108,7 @@ let API$8 = class API extends API$q {
18106
18108
  */
18107
18109
  setInstanceACLRules = request => this.client.fetch({
18108
18110
  body: JSON.stringify(marshalSetInstanceACLRulesRequest(request, this.client.settings)),
18109
- headers: jsonContentHeaders$8,
18111
+ headers: jsonContentHeaders$9,
18110
18112
  method: 'PUT',
18111
18113
  path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/acls`
18112
18114
  }, unmarshalSetInstanceACLRulesResponse);
@@ -18120,7 +18122,7 @@ let API$8 = class API extends API$q {
18120
18122
  */
18121
18123
  deleteInstanceACLRules = request => this.client.fetch({
18122
18124
  body: JSON.stringify(marshalDeleteInstanceACLRulesRequest(request, this.client.settings)),
18123
- headers: jsonContentHeaders$8,
18125
+ headers: jsonContentHeaders$9,
18124
18126
  method: 'DELETE',
18125
18127
  path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/acls`
18126
18128
  }, unmarshalDeleteInstanceACLRulesResponse);
@@ -18151,7 +18153,7 @@ let API$8 = class API extends API$q {
18151
18153
  */
18152
18154
  createUser = request => this.client.fetch({
18153
18155
  body: JSON.stringify(marshalCreateUserRequest(request, this.client.settings)),
18154
- headers: jsonContentHeaders$8,
18156
+ headers: jsonContentHeaders$9,
18155
18157
  method: 'POST',
18156
18158
  path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/users`
18157
18159
  }, unmarshalUser);
@@ -18166,7 +18168,7 @@ let API$8 = class API extends API$q {
18166
18168
  */
18167
18169
  updateUser = request => this.client.fetch({
18168
18170
  body: JSON.stringify(marshalUpdateUserRequest(request, this.client.settings)),
18169
- headers: jsonContentHeaders$8,
18171
+ headers: jsonContentHeaders$9,
18170
18172
  method: 'PATCH',
18171
18173
  path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/users/${validatePathParam('name', request.name)}`
18172
18174
  }, unmarshalUser);
@@ -18209,7 +18211,7 @@ let API$8 = class API extends API$q {
18209
18211
  */
18210
18212
  createDatabase = request => this.client.fetch({
18211
18213
  body: JSON.stringify(marshalCreateDatabaseRequest(request, this.client.settings)),
18212
- headers: jsonContentHeaders$8,
18214
+ headers: jsonContentHeaders$9,
18213
18215
  method: 'POST',
18214
18216
  path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/databases`
18215
18217
  }, unmarshalDatabase);
@@ -18253,7 +18255,7 @@ let API$8 = class API extends API$q {
18253
18255
  */
18254
18256
  setPrivilege = request => this.client.fetch({
18255
18257
  body: JSON.stringify(marshalSetPrivilegeRequest(request, this.client.settings)),
18256
- headers: jsonContentHeaders$8,
18258
+ headers: jsonContentHeaders$9,
18257
18259
  method: 'PUT',
18258
18260
  path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/privileges`
18259
18261
  }, unmarshalPrivilege);
@@ -18306,7 +18308,7 @@ let API$8 = class API extends API$q {
18306
18308
  */
18307
18309
  createSnapshot = request => this.client.fetch({
18308
18310
  body: JSON.stringify(marshalCreateSnapshotRequest(request, this.client.settings)),
18309
- headers: jsonContentHeaders$8,
18311
+ headers: jsonContentHeaders$9,
18310
18312
  method: 'POST',
18311
18313
  path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/snapshots`
18312
18314
  }, unmarshalSnapshot);
@@ -18321,7 +18323,7 @@ let API$8 = class API extends API$q {
18321
18323
  */
18322
18324
  updateSnapshot = request => this.client.fetch({
18323
18325
  body: JSON.stringify(marshalUpdateSnapshotRequest(request, this.client.settings)),
18324
- headers: jsonContentHeaders$8,
18326
+ headers: jsonContentHeaders$9,
18325
18327
  method: 'PATCH',
18326
18328
  path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/snapshots/${validatePathParam('snapshotId', request.snapshotId)}`
18327
18329
  }, unmarshalSnapshot);
@@ -18354,7 +18356,7 @@ let API$8 = class API extends API$q {
18354
18356
  */
18355
18357
  createInstanceFromSnapshot = request => this.client.fetch({
18356
18358
  body: JSON.stringify(marshalCreateInstanceFromSnapshotRequest(request, this.client.settings)),
18357
- headers: jsonContentHeaders$8,
18359
+ headers: jsonContentHeaders$9,
18358
18360
  method: 'POST',
18359
18361
  path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/snapshots/${validatePathParam('snapshotId', request.snapshotId)}/create-instance`
18360
18362
  }, unmarshalInstance);
@@ -18371,7 +18373,7 @@ let API$8 = class API extends API$q {
18371
18373
  */
18372
18374
  createEndpoint = request => this.client.fetch({
18373
18375
  body: JSON.stringify(marshalCreateEndpointRequest(request, this.client.settings)),
18374
- headers: jsonContentHeaders$8,
18376
+ headers: jsonContentHeaders$9,
18375
18377
  method: 'POST',
18376
18378
  path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/endpoints`
18377
18379
  }, unmarshalEndpoint$1);
@@ -18411,7 +18413,7 @@ let API$8 = class API extends API$q {
18411
18413
  */
18412
18414
  migrateEndpoint = request => this.client.fetch({
18413
18415
  body: JSON.stringify(marshalMigrateEndpointRequest(request, this.client.settings)),
18414
- headers: jsonContentHeaders$8,
18416
+ headers: jsonContentHeaders$9,
18415
18417
  method: 'POST',
18416
18418
  path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/endpoints/${validatePathParam('endpointId', request.endpointId)}/migrate`
18417
18419
  }, unmarshalEndpoint$1);
@@ -18420,9 +18422,9 @@ let API$8 = class API extends API$q {
18420
18422
  // This file was automatically generated. DO NOT EDIT.
18421
18423
  // If you have any remark or suggestion do not hesitate to open an issue.
18422
18424
 
18423
- var index_gen$8 = /*#__PURE__*/Object.freeze({
18425
+ var index_gen$9 = /*#__PURE__*/Object.freeze({
18424
18426
  __proto__: null,
18425
- API: API$8,
18427
+ API: API$9,
18426
18428
  DATABASE_BACKUP_TRANSIENT_STATUSES: DATABASE_BACKUP_TRANSIENT_STATUSES,
18427
18429
  INSTANCE_LOG_TRANSIENT_STATUSES: INSTANCE_LOG_TRANSIENT_STATUSES,
18428
18430
  INSTANCE_TRANSIENT_STATUSES: INSTANCE_TRANSIENT_STATUSES,
@@ -18433,7 +18435,7 @@ var index_gen$8 = /*#__PURE__*/Object.freeze({
18433
18435
 
18434
18436
  var index$8 = /*#__PURE__*/Object.freeze({
18435
18437
  __proto__: null,
18436
- v1: index_gen$8
18438
+ v1: index_gen$9
18437
18439
  });
18438
18440
 
18439
18441
  // This file was automatically generated. DO NOT EDIT.
@@ -18444,7 +18446,7 @@ const CLUSTER_TRANSIENT_STATUSES = ['provisioning', 'configuring', 'deleting', '
18444
18446
 
18445
18447
  // This file was automatically generated. DO NOT EDIT.
18446
18448
  // If you have any remark or suggestion do not hesitate to open an issue.
18447
- const unmarshalPrivateNetwork$1 = data => {
18449
+ const unmarshalPrivateNetwork$2 = data => {
18448
18450
  if (!isJSONObject(data)) {
18449
18451
  throw new TypeError(`Unmarshalling the type 'PrivateNetwork' failed as data isn't a dictionary.`);
18450
18452
  }
@@ -18502,7 +18504,7 @@ const unmarshalEndpoint = data => {
18502
18504
  id: data.id,
18503
18505
  ips: data.ips,
18504
18506
  port: data.port,
18505
- privateNetwork: data.private_network ? unmarshalPrivateNetwork$1(data.private_network) : undefined,
18507
+ privateNetwork: data.private_network ? unmarshalPrivateNetwork$2(data.private_network) : undefined,
18506
18508
  publicNetwork: data.public_network ? unmarshalPublicNetwork(data.public_network) : undefined
18507
18509
  };
18508
18510
  };
@@ -18720,12 +18722,12 @@ const marshalUpdateEndpointRequest = (request, defaults) => ({
18720
18722
 
18721
18723
  // This file was automatically generated. DO NOT EDIT.
18722
18724
  // If you have any remark or suggestion do not hesitate to open an issue.
18723
- const jsonContentHeaders$7 = {
18725
+ const jsonContentHeaders$8 = {
18724
18726
  'Content-Type': 'application/json; charset=utf-8'
18725
18727
  };
18726
18728
 
18727
18729
  /** Managed Database for Redis™ API. */
18728
- let API$7 = class API extends API$q {
18730
+ let API$8 = class API extends API$r {
18729
18731
  /** Lists the available zones of the API. */
18730
18732
  static LOCALITIES = ['fr-par-1', 'fr-par-2', 'nl-ams-1', 'nl-ams-2', 'pl-waw-1', 'pl-waw-2'];
18731
18733
 
@@ -18740,7 +18742,7 @@ let API$7 = class API extends API$q {
18740
18742
  */
18741
18743
  createCluster = request => this.client.fetch({
18742
18744
  body: JSON.stringify(marshalCreateClusterRequest(request, this.client.settings)),
18743
- headers: jsonContentHeaders$7,
18745
+ headers: jsonContentHeaders$8,
18744
18746
  method: 'POST',
18745
18747
  path: `/redis/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/clusters`
18746
18748
  }, unmarshalCluster);
@@ -18755,7 +18757,7 @@ let API$7 = class API extends API$q {
18755
18757
  */
18756
18758
  updateCluster = request => this.client.fetch({
18757
18759
  body: JSON.stringify(marshalUpdateClusterRequest(request, this.client.settings)),
18758
- headers: jsonContentHeaders$7,
18760
+ headers: jsonContentHeaders$8,
18759
18761
  method: 'PATCH',
18760
18762
  path: `/redis/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/clusters/${validatePathParam('clusterId', request.clusterId)}`
18761
18763
  }, unmarshalCluster);
@@ -18816,7 +18818,7 @@ let API$7 = class API extends API$q {
18816
18818
  */
18817
18819
  migrateCluster = request => this.client.fetch({
18818
18820
  body: JSON.stringify(marshalMigrateClusterRequest(request, this.client.settings)),
18819
- headers: jsonContentHeaders$7,
18821
+ headers: jsonContentHeaders$8,
18820
18822
  method: 'POST',
18821
18823
  path: `/redis/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/clusters/${validatePathParam('clusterId', request.clusterId)}/migrate`
18822
18824
  }, unmarshalCluster);
@@ -18906,7 +18908,7 @@ let API$7 = class API extends API$q {
18906
18908
  */
18907
18909
  renewClusterCertificate = request => this.client.fetch({
18908
18910
  body: '{}',
18909
- headers: jsonContentHeaders$7,
18911
+ headers: jsonContentHeaders$8,
18910
18912
  method: 'POST',
18911
18913
  path: `/redis/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/clusters/${validatePathParam('clusterId', request.clusterId)}/renew-certificate`
18912
18914
  }, unmarshalCluster);
@@ -18921,7 +18923,7 @@ let API$7 = class API extends API$q {
18921
18923
  */
18922
18924
  addClusterSettings = request => this.client.fetch({
18923
18925
  body: JSON.stringify(marshalAddClusterSettingsRequest(request, this.client.settings)),
18924
- headers: jsonContentHeaders$7,
18926
+ headers: jsonContentHeaders$8,
18925
18927
  method: 'POST',
18926
18928
  path: `/redis/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/clusters/${validatePathParam('clusterId', request.clusterId)}/settings`
18927
18929
  }, unmarshalClusterSettingsResponse);
@@ -18949,7 +18951,7 @@ let API$7 = class API extends API$q {
18949
18951
  */
18950
18952
  setClusterSettings = request => this.client.fetch({
18951
18953
  body: JSON.stringify(marshalSetClusterSettingsRequest(request, this.client.settings)),
18952
- headers: jsonContentHeaders$7,
18954
+ headers: jsonContentHeaders$8,
18953
18955
  method: 'PUT',
18954
18956
  path: `/redis/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/clusters/${validatePathParam('clusterId', request.clusterId)}/settings`
18955
18957
  }, unmarshalClusterSettingsResponse);
@@ -18963,7 +18965,7 @@ let API$7 = class API extends API$q {
18963
18965
  */
18964
18966
  setAclRules = request => this.client.fetch({
18965
18967
  body: JSON.stringify(marshalSetAclRulesRequest(request, this.client.settings)),
18966
- headers: jsonContentHeaders$7,
18968
+ headers: jsonContentHeaders$8,
18967
18969
  method: 'PUT',
18968
18970
  path: `/redis/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/clusters/${validatePathParam('clusterId', request.clusterId)}/acls`
18969
18971
  }, unmarshalSetAclRulesResponse);
@@ -18977,7 +18979,7 @@ let API$7 = class API extends API$q {
18977
18979
  */
18978
18980
  addAclRules = request => this.client.fetch({
18979
18981
  body: JSON.stringify(marshalAddAclRulesRequest(request, this.client.settings)),
18980
- headers: jsonContentHeaders$7,
18982
+ headers: jsonContentHeaders$8,
18981
18983
  method: 'POST',
18982
18984
  path: `/redis/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/clusters/${validatePathParam('clusterId', request.clusterId)}/acls`
18983
18985
  }, unmarshalAddAclRulesResponse);
@@ -19018,7 +19020,7 @@ let API$7 = class API extends API$q {
19018
19020
  */
19019
19021
  setEndpoints = request => this.client.fetch({
19020
19022
  body: JSON.stringify(marshalSetEndpointsRequest(request, this.client.settings)),
19021
- headers: jsonContentHeaders$7,
19023
+ headers: jsonContentHeaders$8,
19022
19024
  method: 'PUT',
19023
19025
  path: `/redis/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/clusters/${validatePathParam('clusterId', request.clusterId)}/endpoints`
19024
19026
  }, unmarshalSetEndpointsResponse);
@@ -19033,7 +19035,7 @@ let API$7 = class API extends API$q {
19033
19035
  */
19034
19036
  addEndpoints = request => this.client.fetch({
19035
19037
  body: JSON.stringify(marshalAddEndpointsRequest(request, this.client.settings)),
19036
- headers: jsonContentHeaders$7,
19038
+ headers: jsonContentHeaders$8,
19037
19039
  method: 'POST',
19038
19040
  path: `/redis/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/clusters/${validatePathParam('clusterId', request.clusterId)}/endpoints`
19039
19041
  }, unmarshalAddEndpointsResponse);
@@ -19077,7 +19079,7 @@ let API$7 = class API extends API$q {
19077
19079
  */
19078
19080
  updateEndpoint = request => this.client.fetch({
19079
19081
  body: JSON.stringify(marshalUpdateEndpointRequest(request, this.client.settings)),
19080
- headers: jsonContentHeaders$7,
19082
+ headers: jsonContentHeaders$8,
19081
19083
  method: 'PATCH',
19082
19084
  path: `/redis/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/endpoints/${validatePathParam('endpointId', request.endpointId)}`
19083
19085
  }, unmarshalEndpoint);
@@ -19086,15 +19088,15 @@ let API$7 = class API extends API$q {
19086
19088
  // This file was automatically generated. DO NOT EDIT.
19087
19089
  // If you have any remark or suggestion do not hesitate to open an issue.
19088
19090
 
19089
- var index_gen$7 = /*#__PURE__*/Object.freeze({
19091
+ var index_gen$8 = /*#__PURE__*/Object.freeze({
19090
19092
  __proto__: null,
19091
- API: API$7,
19093
+ API: API$8,
19092
19094
  CLUSTER_TRANSIENT_STATUSES: CLUSTER_TRANSIENT_STATUSES
19093
19095
  });
19094
19096
 
19095
19097
  var index$7 = /*#__PURE__*/Object.freeze({
19096
19098
  __proto__: null,
19097
- v1: index_gen$7
19099
+ v1: index_gen$8
19098
19100
  });
19099
19101
 
19100
19102
  // This file was automatically generated. DO NOT EDIT.
@@ -19214,12 +19216,12 @@ const marshalUpdateNamespaceRequest = (request, defaults) => ({
19214
19216
 
19215
19217
  // This file was automatically generated. DO NOT EDIT.
19216
19218
  // If you have any remark or suggestion do not hesitate to open an issue.
19217
- const jsonContentHeaders$6 = {
19219
+ const jsonContentHeaders$7 = {
19218
19220
  'Content-Type': 'application/json; charset=utf-8'
19219
19221
  };
19220
19222
 
19221
19223
  /** Container Registry API. */
19222
- let API$6 = class API extends API$q {
19224
+ let API$7 = class API extends API$r {
19223
19225
  /** Lists the available regions of the API. */
19224
19226
  static LOCALITIES = ['fr-par', 'nl-ams', 'pl-waw'];
19225
19227
  pageOfListNamespaces = (request = {}) => this.client.fetch({
@@ -19274,7 +19276,7 @@ let API$6 = class API extends API$q {
19274
19276
  */
19275
19277
  createNamespace = request => this.client.fetch({
19276
19278
  body: JSON.stringify(marshalCreateNamespaceRequest(request, this.client.settings)),
19277
- headers: jsonContentHeaders$6,
19279
+ headers: jsonContentHeaders$7,
19278
19280
  method: 'POST',
19279
19281
  path: `/registry/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/namespaces`
19280
19282
  }, unmarshalNamespace);
@@ -19289,7 +19291,7 @@ let API$6 = class API extends API$q {
19289
19291
  */
19290
19292
  updateNamespace = request => this.client.fetch({
19291
19293
  body: JSON.stringify(marshalUpdateNamespaceRequest(request, this.client.settings)),
19292
- headers: jsonContentHeaders$6,
19294
+ headers: jsonContentHeaders$7,
19293
19295
  method: 'PATCH',
19294
19296
  path: `/registry/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/namespaces/${validatePathParam('namespaceId', request.namespaceId)}`
19295
19297
  }, unmarshalNamespace);
@@ -19355,7 +19357,7 @@ let API$6 = class API extends API$q {
19355
19357
  */
19356
19358
  updateImage = request => this.client.fetch({
19357
19359
  body: JSON.stringify(marshalUpdateImageRequest(request, this.client.settings)),
19358
- headers: jsonContentHeaders$6,
19360
+ headers: jsonContentHeaders$7,
19359
19361
  method: 'PATCH',
19360
19362
  path: `/registry/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/images/${validatePathParam('imageId', request.imageId)}`
19361
19363
  }, unmarshalImage);
@@ -19427,9 +19429,9 @@ let API$6 = class API extends API$q {
19427
19429
  // This file was automatically generated. DO NOT EDIT.
19428
19430
  // If you have any remark or suggestion do not hesitate to open an issue.
19429
19431
 
19430
- var index_gen$6 = /*#__PURE__*/Object.freeze({
19432
+ var index_gen$7 = /*#__PURE__*/Object.freeze({
19431
19433
  __proto__: null,
19432
- API: API$6,
19434
+ API: API$7,
19433
19435
  IMAGE_TRANSIENT_STATUSES: IMAGE_TRANSIENT_STATUSES,
19434
19436
  NAMESPACE_TRANSIENT_STATUSES: NAMESPACE_TRANSIENT_STATUSES,
19435
19437
  TAG_TRANSIENT_STATUSES: TAG_TRANSIENT_STATUSES
@@ -19437,7 +19439,7 @@ var index_gen$6 = /*#__PURE__*/Object.freeze({
19437
19439
 
19438
19440
  var index$6 = /*#__PURE__*/Object.freeze({
19439
19441
  __proto__: null,
19440
- v1: index_gen$6
19442
+ v1: index_gen$7
19441
19443
  });
19442
19444
 
19443
19445
  // This file was automatically generated. DO NOT EDIT.
@@ -19529,6 +19531,15 @@ const marshalCreateSecretVersionRequest = (request, defaults) => ({
19529
19531
  value: request.passwordGeneration ? marshalPasswordGenerationParams(request.passwordGeneration) : undefined
19530
19532
  }])
19531
19533
  });
19534
+ const marshalGeneratePasswordRequest = (request, defaults) => ({
19535
+ additional_chars: request.additionalChars,
19536
+ description: request.description,
19537
+ disable_previous: request.disablePrevious,
19538
+ length: request.length,
19539
+ no_digits: request.noDigits,
19540
+ no_lowercase_letters: request.noLowercaseLetters,
19541
+ no_uppercase_letters: request.noUppercaseLetters
19542
+ });
19532
19543
  const marshalUpdateSecretRequest = (request, defaults) => ({
19533
19544
  description: request.description,
19534
19545
  name: request.name,
@@ -19540,7 +19551,7 @@ const marshalUpdateSecretVersionRequest = (request, defaults) => ({
19540
19551
 
19541
19552
  // This file was automatically generated. DO NOT EDIT.
19542
19553
  // If you have any remark or suggestion do not hesitate to open an issue.
19543
- const jsonContentHeaders$5 = {
19554
+ const jsonContentHeaders$6 = {
19544
19555
  'Content-Type': 'application/json; charset=utf-8'
19545
19556
  };
19546
19557
 
@@ -19550,7 +19561,7 @@ const jsonContentHeaders$5 = {
19550
19561
  * Secret Manager API. This API allows you to conveniently store, access and
19551
19562
  * share sensitive data.
19552
19563
  */
19553
- let API$5 = class API extends API$q {
19564
+ let API$6 = class API extends API$r {
19554
19565
  /** Lists the available regions of the API. */
19555
19566
  static LOCALITIES = ['fr-par'];
19556
19567
 
@@ -19562,7 +19573,7 @@ let API$5 = class API extends API$q {
19562
19573
  */
19563
19574
  createSecret = request => this.client.fetch({
19564
19575
  body: JSON.stringify(marshalCreateSecretRequest(request, this.client.settings)),
19565
- headers: jsonContentHeaders$5,
19576
+ headers: jsonContentHeaders$6,
19566
19577
  method: 'POST',
19567
19578
  path: `/secret-manager/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/secrets`
19568
19579
  }, unmarshalSecret);
@@ -19581,14 +19592,15 @@ let API$5 = class API extends API$q {
19581
19592
 
19582
19593
  /**
19583
19594
  * Get metadata using the secret's ID. Retrieve the metadata of a secret
19584
- * specified by the `region` and the `secret_id` parameters.
19595
+ * specified by the `region`, `secret_id` and `project_id` parameters.
19585
19596
  *
19586
19597
  * @param request - The request {@link GetSecretByNameRequest}
19587
19598
  * @returns A Promise of Secret
19588
19599
  */
19589
19600
  getSecretByName = request => this.client.fetch({
19590
19601
  method: 'GET',
19591
- path: `/secret-manager/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/secrets-by-name/${validatePathParam('secretName', request.secretName)}`
19602
+ path: `/secret-manager/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/secrets-by-name/${validatePathParam('secretName', request.secretName)}`,
19603
+ urlParams: urlParams(['project_id', request.projectId])
19592
19604
  }, unmarshalSecret);
19593
19605
 
19594
19606
  /**
@@ -19601,7 +19613,7 @@ let API$5 = class API extends API$q {
19601
19613
  */
19602
19614
  updateSecret = request => this.client.fetch({
19603
19615
  body: JSON.stringify(marshalUpdateSecretRequest(request, this.client.settings)),
19604
- headers: jsonContentHeaders$5,
19616
+ headers: jsonContentHeaders$6,
19605
19617
  method: 'PATCH',
19606
19618
  path: `/secret-manager/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/secrets/${validatePathParam('secretId', request.secretId)}`
19607
19619
  }, unmarshalSecret);
@@ -19639,7 +19651,7 @@ let API$5 = class API extends API$q {
19639
19651
  */
19640
19652
  addSecretOwner = request => this.client.fetch({
19641
19653
  body: JSON.stringify(marshalAddSecretOwnerRequest(request, this.client.settings)),
19642
- headers: jsonContentHeaders$5,
19654
+ headers: jsonContentHeaders$6,
19643
19655
  method: 'POST',
19644
19656
  path: `/secret-manager/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/secrets/${validatePathParam('secretId', request.secretId)}/add-owner`
19645
19657
  });
@@ -19653,11 +19665,26 @@ let API$5 = class API extends API$q {
19653
19665
  */
19654
19666
  createSecretVersion = request => this.client.fetch({
19655
19667
  body: JSON.stringify(marshalCreateSecretVersionRequest(request, this.client.settings)),
19656
- headers: jsonContentHeaders$5,
19668
+ headers: jsonContentHeaders$6,
19657
19669
  method: 'POST',
19658
19670
  path: `/secret-manager/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/secrets/${validatePathParam('secretId', request.secretId)}/versions`
19659
19671
  }, unmarshalSecretVersion);
19660
19672
 
19673
+ /**
19674
+ * Generate a password in a new version. Generate a password for the given
19675
+ * secret specified by the `region` and `secret_id` parameters. This will also
19676
+ * create a new version of the secret that will store the password.
19677
+ *
19678
+ * @param request - The request {@link GeneratePasswordRequest}
19679
+ * @returns A Promise of SecretVersion
19680
+ */
19681
+ generatePassword = request => this.client.fetch({
19682
+ body: JSON.stringify(marshalGeneratePasswordRequest(request, this.client.settings)),
19683
+ headers: jsonContentHeaders$6,
19684
+ method: 'POST',
19685
+ path: `/secret-manager/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/secrets/${validatePathParam('secretId', request.secretId)}/generate-password`
19686
+ }, unmarshalSecretVersion);
19687
+
19661
19688
  /**
19662
19689
  * Get metadata of a secret's version using the secret's ID. Retrieve the
19663
19690
  * metadata of a secret's given version specified by the `region`, `secret_id`
@@ -19674,14 +19701,15 @@ let API$5 = class API extends API$q {
19674
19701
  /**
19675
19702
  * Get metadata of a secret's version using the secret's name. Retrieve the
19676
19703
  * metadata of a secret's given version specified by the `region`,
19677
- * `secret_name` and `revision` parameters.
19704
+ * `secret_name`, `revision` and `project_id` parameters.
19678
19705
  *
19679
19706
  * @param request - The request {@link GetSecretVersionByNameRequest}
19680
19707
  * @returns A Promise of SecretVersion
19681
19708
  */
19682
19709
  getSecretVersionByName = request => this.client.fetch({
19683
19710
  method: 'GET',
19684
- 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)}`
19711
+ 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)}`,
19712
+ urlParams: urlParams(['project_id', request.projectId])
19685
19713
  }, unmarshalSecretVersion);
19686
19714
 
19687
19715
  /**
@@ -19693,7 +19721,7 @@ let API$5 = class API extends API$q {
19693
19721
  */
19694
19722
  updateSecretVersion = request => this.client.fetch({
19695
19723
  body: JSON.stringify(marshalUpdateSecretVersionRequest(request, this.client.settings)),
19696
- headers: jsonContentHeaders$5,
19724
+ headers: jsonContentHeaders$6,
19697
19725
  method: 'PATCH',
19698
19726
  path: `/secret-manager/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/secrets/${validatePathParam('secretId', request.secretId)}/versions/${validatePathParam('revision', request.revision)}`
19699
19727
  }, unmarshalSecretVersion);
@@ -19715,13 +19743,13 @@ let API$5 = class API extends API$q {
19715
19743
  pageOfListSecretVersionsByName = request => this.client.fetch({
19716
19744
  method: 'GET',
19717
19745
  path: `/secret-manager/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/secrets-by-name/${validatePathParam('secretName', request.secretName)}/versions`,
19718
- urlParams: urlParams(['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['status', request.status])
19746
+ urlParams: urlParams(['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['project_id', request.projectId], ['status', request.status])
19719
19747
  }, unmarshalListSecretVersionsResponse);
19720
19748
 
19721
19749
  /**
19722
19750
  * List versions of a secret using the secret's name. Retrieve the list of a
19723
- * given secret's versions specified by the `secret_name` and `region`
19724
- * parameters.
19751
+ * given secret's versions specified by the `secret_name`,`region` and
19752
+ * `project_id` parameters.
19725
19753
  *
19726
19754
  * @param request - The request {@link ListSecretVersionsByNameRequest}
19727
19755
  * @returns A Promise of ListSecretVersionsResponse
@@ -19737,7 +19765,7 @@ let API$5 = class API extends API$q {
19737
19765
  */
19738
19766
  enableSecretVersion = request => this.client.fetch({
19739
19767
  body: '{}',
19740
- headers: jsonContentHeaders$5,
19768
+ headers: jsonContentHeaders$6,
19741
19769
  method: 'POST',
19742
19770
  path: `/secret-manager/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/secrets/${validatePathParam('secretId', request.secretId)}/versions/${validatePathParam('revision', request.revision)}/enable`
19743
19771
  }, unmarshalSecretVersion);
@@ -19751,7 +19779,7 @@ let API$5 = class API extends API$q {
19751
19779
  */
19752
19780
  disableSecretVersion = request => this.client.fetch({
19753
19781
  body: '{}',
19754
- headers: jsonContentHeaders$5,
19782
+ headers: jsonContentHeaders$6,
19755
19783
  method: 'POST',
19756
19784
  path: `/secret-manager/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/secrets/${validatePathParam('secretId', request.secretId)}/versions/${validatePathParam('revision', request.revision)}/disable`
19757
19785
  }, unmarshalSecretVersion);
@@ -19771,15 +19799,16 @@ let API$5 = class API extends API$q {
19771
19799
 
19772
19800
  /**
19773
19801
  * Access a secret's version using the secret's name. Access sensitive data in
19774
- * a secret's version specified by the `region`, `secret_name` and `revision`
19775
- * parameters.
19802
+ * a secret's version specified by the `region`, `secret_name`, `revision` and
19803
+ * `project_id` parameters.
19776
19804
  *
19777
19805
  * @param request - The request {@link AccessSecretVersionByNameRequest}
19778
19806
  * @returns A Promise of AccessSecretVersionResponse
19779
19807
  */
19780
19808
  accessSecretVersionByName = request => this.client.fetch({
19781
19809
  method: 'GET',
19782
- 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`
19810
+ 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`,
19811
+ urlParams: urlParams(['project_id', request.projectId])
19783
19812
  }, unmarshalAccessSecretVersionResponse);
19784
19813
 
19785
19814
  /**
@@ -19791,7 +19820,7 @@ let API$5 = class API extends API$q {
19791
19820
  */
19792
19821
  destroySecretVersion = request => this.client.fetch({
19793
19822
  body: '{}',
19794
- headers: jsonContentHeaders$5,
19823
+ headers: jsonContentHeaders$6,
19795
19824
  method: 'POST',
19796
19825
  path: `/secret-manager/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/secrets/${validatePathParam('secretId', request.secretId)}/versions/${validatePathParam('revision', request.revision)}/destroy`
19797
19826
  }, unmarshalSecretVersion);
@@ -19800,14 +19829,14 @@ let API$5 = class API extends API$q {
19800
19829
  // This file was automatically generated. DO NOT EDIT.
19801
19830
  // If you have any remark or suggestion do not hesitate to open an issue.
19802
19831
 
19803
- var index_gen$5 = /*#__PURE__*/Object.freeze({
19832
+ var index_gen$6 = /*#__PURE__*/Object.freeze({
19804
19833
  __proto__: null,
19805
- API: API$5
19834
+ API: API$6
19806
19835
  });
19807
19836
 
19808
19837
  var index$5 = /*#__PURE__*/Object.freeze({
19809
19838
  __proto__: null,
19810
- v1alpha1: index_gen$5
19839
+ v1alpha1: index_gen$6
19811
19840
  });
19812
19841
 
19813
19842
  // This file was automatically generated. DO NOT EDIT.
@@ -19895,7 +19924,7 @@ const marshalUpdateHumanRequest = (request, defaults) => ({
19895
19924
 
19896
19925
  // This file was automatically generated. DO NOT EDIT.
19897
19926
  // If you have any remark or suggestion do not hesitate to open an issue.
19898
- const jsonContentHeaders$4 = {
19927
+ const jsonContentHeaders$5 = {
19899
19928
  'Content-Type': 'application/json; charset=utf-8'
19900
19929
  };
19901
19930
 
@@ -19913,7 +19942,7 @@ const jsonContentHeaders$4 = {
19913
19942
  * access-key. Then, you can use other test commands by setting the
19914
19943
  * SCW_SECRET_KEY env variable.
19915
19944
  */
19916
- let API$4 = class API extends API$q {
19945
+ let API$5 = class API extends API$r {
19917
19946
  /**
19918
19947
  * Register a user. Register a human and return a access-key and a secret-key
19919
19948
  * that must be used in all other commands.
@@ -19926,7 +19955,7 @@ let API$4 = class API extends API$q {
19926
19955
  */
19927
19956
  register = request => this.client.fetch({
19928
19957
  body: JSON.stringify(marshalRegisterRequest(request, this.client.settings)),
19929
- headers: jsonContentHeaders$4,
19958
+ headers: jsonContentHeaders$5,
19930
19959
  method: 'POST',
19931
19960
  path: `/test/v1/register`
19932
19961
  }, unmarshalRegisterResponse);
@@ -19972,7 +20001,7 @@ let API$4 = class API extends API$q {
19972
20001
  */
19973
20002
  createHuman = request => this.client.fetch({
19974
20003
  body: JSON.stringify(marshalCreateHumanRequest(request, this.client.settings)),
19975
- headers: jsonContentHeaders$4,
20004
+ headers: jsonContentHeaders$5,
19976
20005
  method: 'POST',
19977
20006
  path: `/test/v1/humans`
19978
20007
  }, unmarshalHuman);
@@ -19985,7 +20014,7 @@ let API$4 = class API extends API$q {
19985
20014
  */
19986
20015
  updateHuman = request => this.client.fetch({
19987
20016
  body: JSON.stringify(marshalUpdateHumanRequest(request, this.client.settings)),
19988
- headers: jsonContentHeaders$4,
20017
+ headers: jsonContentHeaders$5,
19989
20018
  method: 'PATCH',
19990
20019
  path: `/test/v1/humans/${validatePathParam('humanId', request.humanId)}`
19991
20020
  }, unmarshalHuman);
@@ -20010,7 +20039,7 @@ let API$4 = class API extends API$q {
20010
20039
  */
20011
20040
  runHuman = request => this.client.fetch({
20012
20041
  body: '{}',
20013
- headers: jsonContentHeaders$4,
20042
+ headers: jsonContentHeaders$5,
20014
20043
  method: 'POST',
20015
20044
  path: `/test/v1/humans/${validatePathParam('humanId', request.humanId)}/run`
20016
20045
  }, unmarshalHuman);
@@ -20024,7 +20053,7 @@ let API$4 = class API extends API$q {
20024
20053
  */
20025
20054
  smokeHuman = (request = {}) => this.client.fetch({
20026
20055
  body: '{}',
20027
- headers: jsonContentHeaders$4,
20056
+ headers: jsonContentHeaders$5,
20028
20057
  method: 'POST',
20029
20058
  path: `/test/v1/humans/${validatePathParam('humanId', request.humanId)}/smoke`
20030
20059
  }, unmarshalHuman);
@@ -20033,15 +20062,15 @@ let API$4 = class API extends API$q {
20033
20062
  // This file was automatically generated. DO NOT EDIT.
20034
20063
  // If you have any remark or suggestion do not hesitate to open an issue.
20035
20064
 
20036
- var index_gen$4 = /*#__PURE__*/Object.freeze({
20065
+ var index_gen$5 = /*#__PURE__*/Object.freeze({
20037
20066
  __proto__: null,
20038
- API: API$4,
20067
+ API: API$5,
20039
20068
  HUMAN_TRANSIENT_STATUSES: HUMAN_TRANSIENT_STATUSES
20040
20069
  });
20041
20070
 
20042
20071
  var index$4 = /*#__PURE__*/Object.freeze({
20043
20072
  __proto__: null,
20044
- v1: index_gen$4
20073
+ v1: index_gen$5
20045
20074
  });
20046
20075
 
20047
20076
  // This file was automatically generated. DO NOT EDIT.
@@ -20187,12 +20216,12 @@ const marshalCreateEmailRequest = (request, defaults) => ({
20187
20216
 
20188
20217
  // This file was automatically generated. DO NOT EDIT.
20189
20218
  // If you have any remark or suggestion do not hesitate to open an issue.
20190
- const jsonContentHeaders$3 = {
20219
+ const jsonContentHeaders$4 = {
20191
20220
  'Content-Type': 'application/json; charset=utf-8'
20192
20221
  };
20193
20222
 
20194
20223
  /** Transactional Email API. */
20195
- let API$3 = class API extends API$q {
20224
+ let API$4 = class API extends API$r {
20196
20225
  /** Lists the available regions of the API. */
20197
20226
  static LOCALITIES = ['fr-par'];
20198
20227
 
@@ -20207,7 +20236,7 @@ let API$3 = class API extends API$q {
20207
20236
  */
20208
20237
  createEmail = request => this.client.fetch({
20209
20238
  body: JSON.stringify(marshalCreateEmailRequest(request, this.client.settings)),
20210
- headers: jsonContentHeaders$3,
20239
+ headers: jsonContentHeaders$4,
20211
20240
  method: 'POST',
20212
20241
  path: `/transactional-email/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/emails`
20213
20242
  }, unmarshalCreateEmailResponse);
@@ -20277,7 +20306,7 @@ let API$3 = class API extends API$q {
20277
20306
  */
20278
20307
  cancelEmail = request => this.client.fetch({
20279
20308
  body: '{}',
20280
- headers: jsonContentHeaders$3,
20309
+ headers: jsonContentHeaders$4,
20281
20310
  method: 'POST',
20282
20311
  path: `/transactional-email/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/emails/${validatePathParam('emailId', request.emailId)}/cancel`
20283
20312
  }, unmarshalEmail);
@@ -20291,7 +20320,7 @@ let API$3 = class API extends API$q {
20291
20320
  */
20292
20321
  createDomain = request => this.client.fetch({
20293
20322
  body: JSON.stringify(marshalCreateDomainRequest(request, this.client.settings)),
20294
- headers: jsonContentHeaders$3,
20323
+ headers: jsonContentHeaders$4,
20295
20324
  method: 'POST',
20296
20325
  path: `/transactional-email/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/domains`
20297
20326
  }, unmarshalDomain);
@@ -20341,7 +20370,7 @@ let API$3 = class API extends API$q {
20341
20370
  */
20342
20371
  revokeDomain = request => this.client.fetch({
20343
20372
  body: '{}',
20344
- headers: jsonContentHeaders$3,
20373
+ headers: jsonContentHeaders$4,
20345
20374
  method: 'POST',
20346
20375
  path: `/transactional-email/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/domains/${validatePathParam('domainId', request.domainId)}/revoke`
20347
20376
  }, unmarshalDomain);
@@ -20355,7 +20384,7 @@ let API$3 = class API extends API$q {
20355
20384
  */
20356
20385
  checkDomain = request => this.client.fetch({
20357
20386
  body: '{}',
20358
- headers: jsonContentHeaders$3,
20387
+ headers: jsonContentHeaders$4,
20359
20388
  method: 'POST',
20360
20389
  path: `/transactional-email/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/domains/${validatePathParam('domainId', request.domainId)}/check`
20361
20390
  }, unmarshalDomain);
@@ -20364,21 +20393,21 @@ let API$3 = class API extends API$q {
20364
20393
  // This file was automatically generated. DO NOT EDIT.
20365
20394
  // If you have any remark or suggestion do not hesitate to open an issue.
20366
20395
 
20367
- var index_gen$3 = /*#__PURE__*/Object.freeze({
20396
+ var index_gen$4 = /*#__PURE__*/Object.freeze({
20368
20397
  __proto__: null,
20369
- API: API$3,
20398
+ API: API$4,
20370
20399
  DOMAIN_TRANSIENT_STATUSES: DOMAIN_TRANSIENT_STATUSES,
20371
20400
  EMAIL_TRANSIENT_STATUSES: EMAIL_TRANSIENT_STATUSES
20372
20401
  });
20373
20402
 
20374
20403
  var index$3 = /*#__PURE__*/Object.freeze({
20375
20404
  __proto__: null,
20376
- v1alpha1: index_gen$3
20405
+ v1alpha1: index_gen$4
20377
20406
  });
20378
20407
 
20379
20408
  // This file was automatically generated. DO NOT EDIT.
20380
20409
  // If you have any remark or suggestion do not hesitate to open an issue.
20381
- const unmarshalPrivateNetwork = data => {
20410
+ const unmarshalPrivateNetwork$1 = data => {
20382
20411
  if (!isJSONObject(data)) {
20383
20412
  throw new TypeError(`Unmarshalling the type 'PrivateNetwork' failed as data isn't a dictionary.`);
20384
20413
  }
@@ -20394,22 +20423,22 @@ const unmarshalPrivateNetwork = data => {
20394
20423
  zone: data.zone
20395
20424
  };
20396
20425
  };
20397
- const unmarshalListPrivateNetworksResponse = data => {
20426
+ const unmarshalListPrivateNetworksResponse$1 = data => {
20398
20427
  if (!isJSONObject(data)) {
20399
20428
  throw new TypeError(`Unmarshalling the type 'ListPrivateNetworksResponse' failed as data isn't a dictionary.`);
20400
20429
  }
20401
20430
  return {
20402
- privateNetworks: unmarshalArrayOfObject(data.private_networks, unmarshalPrivateNetwork),
20431
+ privateNetworks: unmarshalArrayOfObject(data.private_networks, unmarshalPrivateNetwork$1),
20403
20432
  totalCount: data.total_count
20404
20433
  };
20405
20434
  };
20406
- const marshalCreatePrivateNetworkRequest = (request, defaults) => ({
20435
+ const marshalCreatePrivateNetworkRequest$1 = (request, defaults) => ({
20407
20436
  name: request.name || randomName('pn'),
20408
20437
  project_id: request.projectId ?? defaults.defaultProjectId,
20409
20438
  subnets: request.subnets,
20410
20439
  tags: request.tags
20411
20440
  });
20412
- const marshalUpdatePrivateNetworkRequest = (request, defaults) => ({
20441
+ const marshalUpdatePrivateNetworkRequest$1 = (request, defaults) => ({
20413
20442
  name: request.name,
20414
20443
  subnets: request.subnets,
20415
20444
  tags: request.tags
@@ -20417,19 +20446,19 @@ const marshalUpdatePrivateNetworkRequest = (request, defaults) => ({
20417
20446
 
20418
20447
  // This file was automatically generated. DO NOT EDIT.
20419
20448
  // If you have any remark or suggestion do not hesitate to open an issue.
20420
- const jsonContentHeaders$2 = {
20449
+ const jsonContentHeaders$3 = {
20421
20450
  'Content-Type': 'application/json; charset=utf-8'
20422
20451
  };
20423
20452
 
20424
20453
  /** VPC API. */
20425
- let API$2 = class API extends API$q {
20454
+ let API$3 = class API extends API$r {
20426
20455
  /** Lists the available zones of the API. */
20427
20456
  static LOCALITIES = ['fr-par-1', 'fr-par-2', 'fr-par-3', 'nl-ams-1', 'nl-ams-2', 'pl-waw-1', 'pl-waw-2'];
20428
20457
  pageOfListPrivateNetworks = (request = {}) => this.client.fetch({
20429
20458
  method: 'GET',
20430
20459
  path: `/vpc/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/private-networks`,
20431
20460
  urlParams: urlParams(['include_regional', request.includeRegional], ['name', request.name], ['order_by', request.orderBy ?? 'created_at_asc'], ['organization_id', request.organizationId], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['private_network_ids', request.privateNetworkIds], ['project_id', request.projectId], ['tags', request.tags])
20432
- }, unmarshalListPrivateNetworksResponse);
20461
+ }, unmarshalListPrivateNetworksResponse$1);
20433
20462
 
20434
20463
  /**
20435
20464
  * List Private Networks. List existing Private Networks in a specified
@@ -20449,11 +20478,289 @@ let API$2 = class API extends API$q {
20449
20478
  * @param request - The request {@link CreatePrivateNetworkRequest}
20450
20479
  * @returns A Promise of PrivateNetwork
20451
20480
  */
20481
+ createPrivateNetwork = (request = {}) => this.client.fetch({
20482
+ body: JSON.stringify(marshalCreatePrivateNetworkRequest$1(request, this.client.settings)),
20483
+ headers: jsonContentHeaders$3,
20484
+ method: 'POST',
20485
+ path: `/vpc/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/private-networks`
20486
+ }, unmarshalPrivateNetwork$1);
20487
+
20488
+ /**
20489
+ * Get a Private Network. Retrieve information about an existing Private
20490
+ * Network, specified by its Private Network ID. Its full details are returned
20491
+ * in the response object.
20492
+ *
20493
+ * @param request - The request {@link GetPrivateNetworkRequest}
20494
+ * @returns A Promise of PrivateNetwork
20495
+ */
20496
+ getPrivateNetwork = request => this.client.fetch({
20497
+ method: 'GET',
20498
+ path: `/vpc/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/private-networks/${validatePathParam('privateNetworkId', request.privateNetworkId)}`
20499
+ }, unmarshalPrivateNetwork$1);
20500
+
20501
+ /**
20502
+ * Update Private Network. Update parameters (such as name or tags) of an
20503
+ * existing Private Network, specified by its Private Network ID.
20504
+ *
20505
+ * @param request - The request {@link UpdatePrivateNetworkRequest}
20506
+ * @returns A Promise of PrivateNetwork
20507
+ */
20508
+ updatePrivateNetwork = request => this.client.fetch({
20509
+ body: JSON.stringify(marshalUpdatePrivateNetworkRequest$1(request, this.client.settings)),
20510
+ headers: jsonContentHeaders$3,
20511
+ method: 'PATCH',
20512
+ path: `/vpc/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/private-networks/${validatePathParam('privateNetworkId', request.privateNetworkId)}`
20513
+ }, unmarshalPrivateNetwork$1);
20514
+
20515
+ /**
20516
+ * Delete a Private Network. Delete an existing Private Network. Note that you
20517
+ * must first detach all resources from the network, in order to delete it.
20518
+ *
20519
+ * @param request - The request {@link DeletePrivateNetworkRequest}
20520
+ */
20521
+ deletePrivateNetwork = request => this.client.fetch({
20522
+ method: 'DELETE',
20523
+ path: `/vpc/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/private-networks/${validatePathParam('privateNetworkId', request.privateNetworkId)}`
20524
+ });
20525
+ };
20526
+
20527
+ // This file was automatically generated. DO NOT EDIT.
20528
+ // If you have any remark or suggestion do not hesitate to open an issue.
20529
+
20530
+ var index_gen$3 = /*#__PURE__*/Object.freeze({
20531
+ __proto__: null,
20532
+ API: API$3
20533
+ });
20534
+
20535
+ // This file was automatically generated. DO NOT EDIT.
20536
+ // If you have any remark or suggestion do not hesitate to open an issue.
20537
+ const unmarshalSubnet = data => {
20538
+ if (!isJSONObject(data)) {
20539
+ throw new TypeError(`Unmarshalling the type 'Subnet' failed as data isn't a dictionary.`);
20540
+ }
20541
+ return {
20542
+ createdAt: unmarshalDate(data.created_at),
20543
+ id: data.id,
20544
+ subnet: data.subnet,
20545
+ updatedAt: unmarshalDate(data.updated_at)
20546
+ };
20547
+ };
20548
+ const unmarshalPrivateNetwork = data => {
20549
+ if (!isJSONObject(data)) {
20550
+ throw new TypeError(`Unmarshalling the type 'PrivateNetwork' failed as data isn't a dictionary.`);
20551
+ }
20552
+ return {
20553
+ createdAt: unmarshalDate(data.created_at),
20554
+ id: data.id,
20555
+ name: data.name,
20556
+ organizationId: data.organization_id,
20557
+ projectId: data.project_id,
20558
+ region: data.region,
20559
+ subnets: unmarshalArrayOfObject(data.subnets, unmarshalSubnet),
20560
+ tags: data.tags,
20561
+ updatedAt: unmarshalDate(data.updated_at),
20562
+ vpcId: data.vpc_id
20563
+ };
20564
+ };
20565
+ const unmarshalVPC = data => {
20566
+ if (!isJSONObject(data)) {
20567
+ throw new TypeError(`Unmarshalling the type 'VPC' failed as data isn't a dictionary.`);
20568
+ }
20569
+ return {
20570
+ createdAt: unmarshalDate(data.created_at),
20571
+ id: data.id,
20572
+ isDefault: data.is_default,
20573
+ name: data.name,
20574
+ organizationId: data.organization_id,
20575
+ projectId: data.project_id,
20576
+ region: data.region,
20577
+ tags: data.tags,
20578
+ updatedAt: unmarshalDate(data.updated_at)
20579
+ };
20580
+ };
20581
+ const unmarshalAddSubnetsResponse = data => {
20582
+ if (!isJSONObject(data)) {
20583
+ throw new TypeError(`Unmarshalling the type 'AddSubnetsResponse' failed as data isn't a dictionary.`);
20584
+ }
20585
+ return {
20586
+ subnets: data.subnets
20587
+ };
20588
+ };
20589
+ const unmarshalDeleteSubnetsResponse = data => {
20590
+ if (!isJSONObject(data)) {
20591
+ throw new TypeError(`Unmarshalling the type 'DeleteSubnetsResponse' failed as data isn't a dictionary.`);
20592
+ }
20593
+ return {
20594
+ subnets: data.subnets
20595
+ };
20596
+ };
20597
+ const unmarshalListPrivateNetworksResponse = data => {
20598
+ if (!isJSONObject(data)) {
20599
+ throw new TypeError(`Unmarshalling the type 'ListPrivateNetworksResponse' failed as data isn't a dictionary.`);
20600
+ }
20601
+ return {
20602
+ privateNetworks: unmarshalArrayOfObject(data.private_networks, unmarshalPrivateNetwork),
20603
+ totalCount: data.total_count
20604
+ };
20605
+ };
20606
+ const unmarshalListVPCsResponse = data => {
20607
+ if (!isJSONObject(data)) {
20608
+ throw new TypeError(`Unmarshalling the type 'ListVPCsResponse' failed as data isn't a dictionary.`);
20609
+ }
20610
+ return {
20611
+ totalCount: data.total_count,
20612
+ vpcs: unmarshalArrayOfObject(data.vpcs, unmarshalVPC)
20613
+ };
20614
+ };
20615
+ const unmarshalSetSubnetsResponse = data => {
20616
+ if (!isJSONObject(data)) {
20617
+ throw new TypeError(`Unmarshalling the type 'SetSubnetsResponse' failed as data isn't a dictionary.`);
20618
+ }
20619
+ return {
20620
+ subnets: data.subnets
20621
+ };
20622
+ };
20623
+ const marshalAddSubnetsRequest = (request, defaults) => ({
20624
+ subnets: request.subnets
20625
+ });
20626
+ const marshalCreatePrivateNetworkRequest = (request, defaults) => ({
20627
+ name: request.name || randomName('pn'),
20628
+ project_id: request.projectId ?? defaults.defaultProjectId,
20629
+ subnets: request.subnets,
20630
+ tags: request.tags,
20631
+ vpc_id: request.vpcId
20632
+ });
20633
+ const marshalCreateVPCRequest = (request, defaults) => ({
20634
+ name: request.name || randomName('vpc'),
20635
+ project_id: request.projectId ?? defaults.defaultProjectId,
20636
+ tags: request.tags
20637
+ });
20638
+ const marshalDeleteSubnetsRequest = (request, defaults) => ({
20639
+ subnets: request.subnets
20640
+ });
20641
+ const marshalMigrateZonalPrivateNetworksRequest = (request, defaults) => ({
20642
+ private_network_ids: request.privateNetworkIds,
20643
+ ...resolveOneOf([{
20644
+ default: defaults.defaultProjectId,
20645
+ param: 'project_id',
20646
+ value: request.projectId
20647
+ }, {
20648
+ default: defaults.defaultOrganizationId,
20649
+ param: 'organization_id',
20650
+ value: request.organizationId
20651
+ }])
20652
+ });
20653
+ const marshalSetSubnetsRequest = (request, defaults) => ({
20654
+ subnets: request.subnets
20655
+ });
20656
+ const marshalUpdatePrivateNetworkRequest = (request, defaults) => ({
20657
+ name: request.name,
20658
+ tags: request.tags
20659
+ });
20660
+ const marshalUpdateVPCRequest = (request, defaults) => ({
20661
+ name: request.name,
20662
+ tags: request.tags
20663
+ });
20664
+
20665
+ // This file was automatically generated. DO NOT EDIT.
20666
+ // If you have any remark or suggestion do not hesitate to open an issue.
20667
+ const jsonContentHeaders$2 = {
20668
+ 'Content-Type': 'application/json; charset=utf-8'
20669
+ };
20670
+
20671
+ /** VPC API. */
20672
+ let API$2 = class API extends API$r {
20673
+ /** Lists the available regions of the API. */
20674
+ static LOCALITIES = ['fr-par', 'nl-ams', 'pl-waw'];
20675
+ pageOfListVPCs = (request = {}) => this.client.fetch({
20676
+ method: 'GET',
20677
+ path: `/vpc/v2/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/vpcs`,
20678
+ urlParams: urlParams(['is_default', request.isDefault], ['name', request.name], ['order_by', request.orderBy ?? 'created_at_asc'], ['organization_id', request.organizationId], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['project_id', request.projectId], ['tags', request.tags])
20679
+ }, unmarshalListVPCsResponse);
20680
+
20681
+ /**
20682
+ * List VPCs. List existing VPCs in the specified region.
20683
+ *
20684
+ * @param request - The request {@link ListVPCsRequest}
20685
+ * @returns A Promise of ListVPCsResponse
20686
+ */
20687
+ listVPCs = (request = {}) => enrichForPagination('vpcs', this.pageOfListVPCs, request);
20688
+
20689
+ /**
20690
+ * Create a VPC. Create a new VPC in the specified region.
20691
+ *
20692
+ * @param request - The request {@link CreateVPCRequest}
20693
+ * @returns A Promise of VPC
20694
+ */
20695
+ createVPC = (request = {}) => this.client.fetch({
20696
+ body: JSON.stringify(marshalCreateVPCRequest(request, this.client.settings)),
20697
+ headers: jsonContentHeaders$2,
20698
+ method: 'POST',
20699
+ path: `/vpc/v2/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/vpcs`
20700
+ }, unmarshalVPC);
20701
+
20702
+ /**
20703
+ * Get a VPC. Retrieve details of an existing VPC, specified by its VPC ID.
20704
+ *
20705
+ * @param request - The request {@link GetVPCRequest}
20706
+ * @returns A Promise of VPC
20707
+ */
20708
+ getVPC = request => this.client.fetch({
20709
+ method: 'GET',
20710
+ path: `/vpc/v2/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/vpcs/${validatePathParam('vpcId', request.vpcId)}`
20711
+ }, unmarshalVPC);
20712
+
20713
+ /**
20714
+ * Update VPC. Update parameters including name and tags of the specified VPC.
20715
+ *
20716
+ * @param request - The request {@link UpdateVPCRequest}
20717
+ * @returns A Promise of VPC
20718
+ */
20719
+ updateVPC = request => this.client.fetch({
20720
+ body: JSON.stringify(marshalUpdateVPCRequest(request, this.client.settings)),
20721
+ headers: jsonContentHeaders$2,
20722
+ method: 'PATCH',
20723
+ path: `/vpc/v2/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/vpcs/${validatePathParam('vpcId', request.vpcId)}`
20724
+ }, unmarshalVPC);
20725
+
20726
+ /**
20727
+ * Delete a VPC. Delete a VPC specified by its VPC ID.
20728
+ *
20729
+ * @param request - The request {@link DeleteVPCRequest}
20730
+ */
20731
+ deleteVPC = request => this.client.fetch({
20732
+ method: 'DELETE',
20733
+ path: `/vpc/v2/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/vpcs/${validatePathParam('vpcId', request.vpcId)}`
20734
+ });
20735
+ pageOfListPrivateNetworks = (request = {}) => this.client.fetch({
20736
+ method: 'GET',
20737
+ path: `/vpc/v2/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/private-networks`,
20738
+ urlParams: urlParams(['name', request.name], ['order_by', request.orderBy ?? 'created_at_asc'], ['organization_id', request.organizationId], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['private_network_ids', request.privateNetworkIds], ['project_id', request.projectId], ['tags', request.tags], ['vpc_id', request.vpcId])
20739
+ }, unmarshalListPrivateNetworksResponse);
20740
+
20741
+ /**
20742
+ * List Private Networks. List existing Private Networks in the specified
20743
+ * region. By default, the Private Networks returned in the list are ordered
20744
+ * by creation date in ascending order, though this can be modified via the
20745
+ * order_by field.
20746
+ *
20747
+ * @param request - The request {@link ListPrivateNetworksRequest}
20748
+ * @returns A Promise of ListPrivateNetworksResponse
20749
+ */
20750
+ listPrivateNetworks = (request = {}) => enrichForPagination('privateNetworks', this.pageOfListPrivateNetworks, request);
20751
+
20752
+ /**
20753
+ * Create a Private Network. Create a new Private Network. Once created, you
20754
+ * can attach Scaleway resources which are in the same region.
20755
+ *
20756
+ * @param request - The request {@link CreatePrivateNetworkRequest}
20757
+ * @returns A Promise of PrivateNetwork
20758
+ */
20452
20759
  createPrivateNetwork = (request = {}) => this.client.fetch({
20453
20760
  body: JSON.stringify(marshalCreatePrivateNetworkRequest(request, this.client.settings)),
20454
20761
  headers: jsonContentHeaders$2,
20455
20762
  method: 'POST',
20456
- path: `/vpc/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/private-networks`
20763
+ path: `/vpc/v2/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/private-networks`
20457
20764
  }, unmarshalPrivateNetwork);
20458
20765
 
20459
20766
  /**
@@ -20466,7 +20773,7 @@ let API$2 = class API extends API$q {
20466
20773
  */
20467
20774
  getPrivateNetwork = request => this.client.fetch({
20468
20775
  method: 'GET',
20469
- path: `/vpc/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/private-networks/${validatePathParam('privateNetworkId', request.privateNetworkId)}`
20776
+ path: `/vpc/v2/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/private-networks/${validatePathParam('privateNetworkId', request.privateNetworkId)}`
20470
20777
  }, unmarshalPrivateNetwork);
20471
20778
 
20472
20779
  /**
@@ -20480,7 +20787,7 @@ let API$2 = class API extends API$q {
20480
20787
  body: JSON.stringify(marshalUpdatePrivateNetworkRequest(request, this.client.settings)),
20481
20788
  headers: jsonContentHeaders$2,
20482
20789
  method: 'PATCH',
20483
- path: `/vpc/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/private-networks/${validatePathParam('privateNetworkId', request.privateNetworkId)}`
20790
+ path: `/vpc/v2/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/private-networks/${validatePathParam('privateNetworkId', request.privateNetworkId)}`
20484
20791
  }, unmarshalPrivateNetwork);
20485
20792
 
20486
20793
  /**
@@ -20491,8 +20798,67 @@ let API$2 = class API extends API$q {
20491
20798
  */
20492
20799
  deletePrivateNetwork = request => this.client.fetch({
20493
20800
  method: 'DELETE',
20494
- path: `/vpc/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/private-networks/${validatePathParam('privateNetworkId', request.privateNetworkId)}`
20801
+ path: `/vpc/v2/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/private-networks/${validatePathParam('privateNetworkId', request.privateNetworkId)}`
20802
+ });
20803
+
20804
+ /**
20805
+ * Migrate Private Networks from zoned to regional. Transform multiple
20806
+ * existing zoned Private Networks (scoped to a single Availability Zone) into
20807
+ * regional Private Networks, scoped to an entire region. You can transform
20808
+ * one or many Private Networks (specified by their Private Network IDs)
20809
+ * within a single Scaleway Organization or Project, with the same call.
20810
+ *
20811
+ * @param request - The request {@link MigrateZonalPrivateNetworksRequest}
20812
+ */
20813
+ migrateZonalPrivateNetworks = (request = {}) => this.client.fetch({
20814
+ body: JSON.stringify(marshalMigrateZonalPrivateNetworksRequest(request, this.client.settings)),
20815
+ headers: jsonContentHeaders$2,
20816
+ method: 'POST',
20817
+ path: `/vpc/v2/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/private-networks/migrate-zonal`
20495
20818
  });
20819
+
20820
+ /**
20821
+ * Set the subnets of a Private Network. Set subnets for an existing Private
20822
+ * Network. Note that the method is PUT and not PATCH. Any existing subnets
20823
+ * will be removed in favor of the new specified set of subnets.
20824
+ *
20825
+ * @param request - The request {@link SetSubnetsRequest}
20826
+ * @returns A Promise of SetSubnetsResponse
20827
+ */
20828
+ setSubnets = request => this.client.fetch({
20829
+ body: JSON.stringify(marshalSetSubnetsRequest(request, this.client.settings)),
20830
+ headers: jsonContentHeaders$2,
20831
+ method: 'PUT',
20832
+ path: `/vpc/v2/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/private-networks/${validatePathParam('privateNetworkId', request.privateNetworkId)}/subnets`
20833
+ }, unmarshalSetSubnetsResponse);
20834
+
20835
+ /**
20836
+ * Add subnets to a Private Network. Add new subnets to an existing Private
20837
+ * Network.
20838
+ *
20839
+ * @param request - The request {@link AddSubnetsRequest}
20840
+ * @returns A Promise of AddSubnetsResponse
20841
+ */
20842
+ addSubnets = request => this.client.fetch({
20843
+ body: JSON.stringify(marshalAddSubnetsRequest(request, this.client.settings)),
20844
+ headers: jsonContentHeaders$2,
20845
+ method: 'POST',
20846
+ path: `/vpc/v2/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/private-networks/${validatePathParam('privateNetworkId', request.privateNetworkId)}/subnets`
20847
+ }, unmarshalAddSubnetsResponse);
20848
+
20849
+ /**
20850
+ * Delete subnets from a Private Network. Delete the specified subnets from a
20851
+ * Private Network.
20852
+ *
20853
+ * @param request - The request {@link DeleteSubnetsRequest}
20854
+ * @returns A Promise of DeleteSubnetsResponse
20855
+ */
20856
+ deleteSubnets = request => this.client.fetch({
20857
+ body: JSON.stringify(marshalDeleteSubnetsRequest(request, this.client.settings)),
20858
+ headers: jsonContentHeaders$2,
20859
+ method: 'DELETE',
20860
+ path: `/vpc/v2/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/private-networks/${validatePathParam('privateNetworkId', request.privateNetworkId)}/subnets`
20861
+ }, unmarshalDeleteSubnetsResponse);
20496
20862
  };
20497
20863
 
20498
20864
  // This file was automatically generated. DO NOT EDIT.
@@ -20505,7 +20871,8 @@ var index_gen$2 = /*#__PURE__*/Object.freeze({
20505
20871
 
20506
20872
  var index$2 = /*#__PURE__*/Object.freeze({
20507
20873
  __proto__: null,
20508
- v1: index_gen$2
20874
+ v1: index_gen$3,
20875
+ v2: index_gen$2
20509
20876
  });
20510
20877
 
20511
20878
  // This file was automatically generated. DO NOT EDIT.
@@ -20859,7 +21226,7 @@ const jsonContentHeaders$1 = {
20859
21226
  };
20860
21227
 
20861
21228
  /** Public Gateways API. */
20862
- let API$1 = class API extends API$q {
21229
+ let API$1 = class API extends API$r {
20863
21230
  /** Lists the available zones of the API. */
20864
21231
  static LOCALITIES = ['fr-par-1', 'fr-par-2', 'nl-ams-1', 'nl-ams-2', 'pl-waw-1', 'pl-waw-2'];
20865
21232
  pageOfListGateways = (request = {}) => this.client.fetch({
@@ -21567,7 +21934,7 @@ const jsonContentHeaders = {
21567
21934
  };
21568
21935
 
21569
21936
  /** Web Hosting API. */
21570
- class API extends API$q {
21937
+ class API extends API$r {
21571
21938
  /** Lists the available regions of the API. */
21572
21939
  static LOCALITIES = ['fr-par'];
21573
21940
 
@@ -21727,7 +22094,7 @@ var index = /*#__PURE__*/Object.freeze({
21727
22094
  v1alpha1: index_gen
21728
22095
  });
21729
22096
 
21730
- exports.API = API$q;
22097
+ exports.API = API$r;
21731
22098
  exports.Account = index$s;
21732
22099
  exports.AppleSilicon = index$r;
21733
22100
  exports.BareMetal = index$p;