@scaleway/sdk 2.21.1 → 2.22.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 = 'v2.21.0';
500
+ const version = 'v2.21.1';
501
501
  const userAgent = `scaleway-sdk-js/${version}`;
502
502
 
503
503
  const isBrowser = () =>
@@ -1578,7 +1578,7 @@ const createAdvancedClient = (...configs) => {
1578
1578
  */
1579
1579
  const createClient = (profile = {}) => createAdvancedClient(withProfile(profile));
1580
1580
 
1581
- var index$z = /*#__PURE__*/Object.freeze({
1581
+ var index$A = /*#__PURE__*/Object.freeze({
1582
1582
  __proto__: null,
1583
1583
  AlreadyExistsError: AlreadyExistsError,
1584
1584
  DeniedAuthenticationError: DeniedAuthenticationError,
@@ -1706,7 +1706,7 @@ const waitForResource = (stop, fetcher, request, options, strategy = createExpon
1706
1706
  *
1707
1707
  * @internal
1708
1708
  */
1709
- let API$x = class API {
1709
+ let API$y = class API {
1710
1710
  constructor(client) {
1711
1711
  this.client = client;
1712
1712
  }
@@ -2068,7 +2068,7 @@ const marshalUpdateProjectRequest = (request, defaults) => ({
2068
2068
 
2069
2069
  // This file was automatically generated. DO NOT EDIT.
2070
2070
  // If you have any remark or suggestion do not hesitate to open an issue.
2071
- const jsonContentHeaders$v = {
2071
+ const jsonContentHeaders$w = {
2072
2072
  'Content-Type': 'application/json; charset=utf-8'
2073
2073
  };
2074
2074
 
@@ -2077,7 +2077,7 @@ const jsonContentHeaders$v = {
2077
2077
  *
2078
2078
  * User related data. This API allows you to manage projects.
2079
2079
  */
2080
- let API$w = class API extends API$x {
2080
+ let API$x = class API extends API$y {
2081
2081
  /**
2082
2082
  * Create a new Project for an Organization. Deprecated in favor of Account
2083
2083
  * API v3. Generate a new Project for an Organization, specifying its
@@ -2089,7 +2089,7 @@ let API$w = class API extends API$x {
2089
2089
  */
2090
2090
  createProject = (request = {}) => this.client.fetch({
2091
2091
  body: JSON.stringify(marshalCreateProjectRequest(request, this.client.settings)),
2092
- headers: jsonContentHeaders$v,
2092
+ headers: jsonContentHeaders$w,
2093
2093
  method: 'POST',
2094
2094
  path: `/account/v2/projects`
2095
2095
  }, unmarshalProject$1);
@@ -2153,7 +2153,7 @@ let API$w = class API extends API$x {
2153
2153
  */
2154
2154
  updateProject = (request = {}) => this.client.fetch({
2155
2155
  body: JSON.stringify(marshalUpdateProjectRequest(request, this.client.settings)),
2156
- headers: jsonContentHeaders$v,
2156
+ headers: jsonContentHeaders$w,
2157
2157
  method: 'PATCH',
2158
2158
  path: `/account/v2/projects/${validatePathParam('projectId', request.projectId ?? this.client.settings.defaultProjectId)}`
2159
2159
  }, unmarshalProject$1);
@@ -2162,9 +2162,9 @@ let API$w = class API extends API$x {
2162
2162
  // This file was automatically generated. DO NOT EDIT.
2163
2163
  // If you have any remark or suggestion do not hesitate to open an issue.
2164
2164
 
2165
- var index_gen$v = /*#__PURE__*/Object.freeze({
2165
+ var index_gen$w = /*#__PURE__*/Object.freeze({
2166
2166
  __proto__: null,
2167
- API: API$w
2167
+ API: API$x
2168
2168
  });
2169
2169
 
2170
2170
  // This file was automatically generated. DO NOT EDIT.
@@ -2203,7 +2203,7 @@ const marshalProjectApiUpdateProjectRequest = (request, defaults) => ({
2203
2203
 
2204
2204
  // This file was automatically generated. DO NOT EDIT.
2205
2205
  // If you have any remark or suggestion do not hesitate to open an issue.
2206
- const jsonContentHeaders$u = {
2206
+ const jsonContentHeaders$v = {
2207
2207
  'Content-Type': 'application/json; charset=utf-8'
2208
2208
  };
2209
2209
 
@@ -2212,7 +2212,7 @@ const jsonContentHeaders$u = {
2212
2212
  *
2213
2213
  * This API allows you to manage projects.
2214
2214
  */
2215
- class ProjectAPI extends API$x {
2215
+ class ProjectAPI extends API$y {
2216
2216
  /**
2217
2217
  * Create a new Project for an Organization. Generate a new Project for an
2218
2218
  * Organization, specifying its configuration including name and description.
@@ -2222,7 +2222,7 @@ class ProjectAPI extends API$x {
2222
2222
  */
2223
2223
  createProject = request => this.client.fetch({
2224
2224
  body: JSON.stringify(marshalProjectApiCreateProjectRequest(request, this.client.settings)),
2225
- headers: jsonContentHeaders$u,
2225
+ headers: jsonContentHeaders$v,
2226
2226
  method: 'POST',
2227
2227
  path: `/account/v3/projects`
2228
2228
  }, unmarshalProject);
@@ -2278,7 +2278,7 @@ class ProjectAPI extends API$x {
2278
2278
  */
2279
2279
  updateProject = (request = {}) => this.client.fetch({
2280
2280
  body: JSON.stringify(marshalProjectApiUpdateProjectRequest(request, this.client.settings)),
2281
- headers: jsonContentHeaders$u,
2281
+ headers: jsonContentHeaders$v,
2282
2282
  method: 'PATCH',
2283
2283
  path: `/account/v3/projects/${validatePathParam('projectId', request.projectId ?? this.client.settings.defaultProjectId)}`
2284
2284
  }, unmarshalProject);
@@ -2322,7 +2322,7 @@ const ProjectApiUpdateProjectRequest = {
2322
2322
  }
2323
2323
  };
2324
2324
 
2325
- var validationRules_gen$e = /*#__PURE__*/Object.freeze({
2325
+ var validationRules_gen$f = /*#__PURE__*/Object.freeze({
2326
2326
  __proto__: null,
2327
2327
  ProjectApiCreateProjectRequest: ProjectApiCreateProjectRequest,
2328
2328
  ProjectApiListProjectsRequest: ProjectApiListProjectsRequest,
@@ -2332,16 +2332,16 @@ var validationRules_gen$e = /*#__PURE__*/Object.freeze({
2332
2332
  // This file was automatically generated. DO NOT EDIT.
2333
2333
  // If you have any remark or suggestion do not hesitate to open an issue.
2334
2334
 
2335
- var index_gen$u = /*#__PURE__*/Object.freeze({
2335
+ var index_gen$v = /*#__PURE__*/Object.freeze({
2336
2336
  __proto__: null,
2337
2337
  ProjectAPI: ProjectAPI,
2338
- ValidationRules: validationRules_gen$e
2338
+ ValidationRules: validationRules_gen$f
2339
2339
  });
2340
2340
 
2341
- var index$y = /*#__PURE__*/Object.freeze({
2341
+ var index$z = /*#__PURE__*/Object.freeze({
2342
2342
  __proto__: null,
2343
- v2: index_gen$v,
2344
- v3: index_gen$u
2343
+ v2: index_gen$w,
2344
+ v3: index_gen$v
2345
2345
  });
2346
2346
 
2347
2347
  // This file was automatically generated. DO NOT EDIT.
@@ -2460,12 +2460,12 @@ const marshalUpdateServerRequest$2 = (request, defaults) => ({
2460
2460
 
2461
2461
  // This file was automatically generated. DO NOT EDIT.
2462
2462
  // If you have any remark or suggestion do not hesitate to open an issue.
2463
- const jsonContentHeaders$t = {
2463
+ const jsonContentHeaders$u = {
2464
2464
  'Content-Type': 'application/json; charset=utf-8'
2465
2465
  };
2466
2466
 
2467
2467
  /** Apple silicon API. */
2468
- let API$v = class API extends API$x {
2468
+ let API$w = class API extends API$y {
2469
2469
  /** Lists the available zones of the API. */
2470
2470
  static LOCALITIES = ['fr-par-3'];
2471
2471
 
@@ -2503,7 +2503,7 @@ let API$v = class API extends API$x {
2503
2503
  */
2504
2504
  createServer = request => this.client.fetch({
2505
2505
  body: JSON.stringify(marshalCreateServerRequest$2(request, this.client.settings)),
2506
- headers: jsonContentHeaders$t,
2506
+ headers: jsonContentHeaders$u,
2507
2507
  method: 'POST',
2508
2508
  path: `/apple-silicon/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers`
2509
2509
  }, unmarshalServer$2);
@@ -2581,7 +2581,7 @@ let API$v = class API extends API$x {
2581
2581
  */
2582
2582
  updateServer = request => this.client.fetch({
2583
2583
  body: JSON.stringify(marshalUpdateServerRequest$2(request, this.client.settings)),
2584
- headers: jsonContentHeaders$t,
2584
+ headers: jsonContentHeaders$u,
2585
2585
  method: 'PATCH',
2586
2586
  path: `/apple-silicon/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}`
2587
2587
  }, unmarshalServer$2);
@@ -2608,7 +2608,7 @@ let API$v = class API extends API$x {
2608
2608
  */
2609
2609
  rebootServer = request => this.client.fetch({
2610
2610
  body: '{}',
2611
- headers: jsonContentHeaders$t,
2611
+ headers: jsonContentHeaders$u,
2612
2612
  method: 'POST',
2613
2613
  path: `/apple-silicon/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/reboot`
2614
2614
  }, unmarshalServer$2);
@@ -2624,7 +2624,7 @@ let API$v = class API extends API$x {
2624
2624
  */
2625
2625
  reinstallServer = request => this.client.fetch({
2626
2626
  body: '{}',
2627
- headers: jsonContentHeaders$t,
2627
+ headers: jsonContentHeaders$u,
2628
2628
  method: 'POST',
2629
2629
  path: `/apple-silicon/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/reinstall`
2630
2630
  }, unmarshalServer$2);
@@ -2633,15 +2633,15 @@ let API$v = class API extends API$x {
2633
2633
  // This file was automatically generated. DO NOT EDIT.
2634
2634
  // If you have any remark or suggestion do not hesitate to open an issue.
2635
2635
 
2636
- var index_gen$t = /*#__PURE__*/Object.freeze({
2636
+ var index_gen$u = /*#__PURE__*/Object.freeze({
2637
2637
  __proto__: null,
2638
- API: API$v,
2638
+ API: API$w,
2639
2639
  SERVER_TRANSIENT_STATUSES: SERVER_TRANSIENT_STATUSES$2
2640
2640
  });
2641
2641
 
2642
- var index$x = /*#__PURE__*/Object.freeze({
2642
+ var index$y = /*#__PURE__*/Object.freeze({
2643
2643
  __proto__: null,
2644
- v1alpha1: index_gen$t
2644
+ v1alpha1: index_gen$u
2645
2645
  });
2646
2646
 
2647
2647
  // This file was automatically generated. DO NOT EDIT.
@@ -3059,7 +3059,7 @@ const marshalUpdateSettingRequest = (request, defaults) => ({
3059
3059
 
3060
3060
  // This file was automatically generated. DO NOT EDIT.
3061
3061
  // If you have any remark or suggestion do not hesitate to open an issue.
3062
- const jsonContentHeaders$s = {
3062
+ const jsonContentHeaders$t = {
3063
3063
  'Content-Type': 'application/json; charset=utf-8'
3064
3064
  };
3065
3065
 
@@ -3068,7 +3068,7 @@ const jsonContentHeaders$s = {
3068
3068
  *
3069
3069
  * This API allows to manage your Elastic Metal server.
3070
3070
  */
3071
- let API$u = class API extends API$x {
3071
+ let API$v = class API extends API$y {
3072
3072
  /** Lists the available zones of the API. */
3073
3073
  static LOCALITIES = ['fr-par-1', 'fr-par-2', 'nl-ams-1', 'nl-ams-2'];
3074
3074
  pageOfListServers = (request = {}) => this.client.fetch({
@@ -3116,7 +3116,7 @@ let API$u = class API extends API$x {
3116
3116
  */
3117
3117
  createServer = request => this.client.fetch({
3118
3118
  body: JSON.stringify(marshalCreateServerRequest$1(request, this.client.settings)),
3119
- headers: jsonContentHeaders$s,
3119
+ headers: jsonContentHeaders$t,
3120
3120
  method: 'POST',
3121
3121
  path: `/baremetal/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers`
3122
3122
  }, unmarshalServer$1);
@@ -3131,7 +3131,7 @@ let API$u = class API extends API$x {
3131
3131
  */
3132
3132
  updateServer = request => this.client.fetch({
3133
3133
  body: JSON.stringify(marshalUpdateServerRequest$1(request, this.client.settings)),
3134
- headers: jsonContentHeaders$s,
3134
+ headers: jsonContentHeaders$t,
3135
3135
  method: 'PATCH',
3136
3136
  path: `/baremetal/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}`
3137
3137
  }, unmarshalServer$1);
@@ -3145,7 +3145,7 @@ let API$u = class API extends API$x {
3145
3145
  */
3146
3146
  installServer = request => this.client.fetch({
3147
3147
  body: JSON.stringify(marshalInstallServerRequest(request, this.client.settings)),
3148
- headers: jsonContentHeaders$s,
3148
+ headers: jsonContentHeaders$t,
3149
3149
  method: 'POST',
3150
3150
  path: `/baremetal/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/install`
3151
3151
  }, unmarshalServer$1);
@@ -3183,7 +3183,7 @@ let API$u = class API extends API$x {
3183
3183
  */
3184
3184
  rebootServer = request => this.client.fetch({
3185
3185
  body: JSON.stringify(marshalRebootServerRequest(request, this.client.settings)),
3186
- headers: jsonContentHeaders$s,
3186
+ headers: jsonContentHeaders$t,
3187
3187
  method: 'POST',
3188
3188
  path: `/baremetal/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/reboot`
3189
3189
  }, unmarshalServer$1);
@@ -3196,7 +3196,7 @@ let API$u = class API extends API$x {
3196
3196
  */
3197
3197
  startServer = request => this.client.fetch({
3198
3198
  body: JSON.stringify(marshalStartServerRequest(request, this.client.settings)),
3199
- headers: jsonContentHeaders$s,
3199
+ headers: jsonContentHeaders$t,
3200
3200
  method: 'POST',
3201
3201
  path: `/baremetal/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/start`
3202
3202
  }, unmarshalServer$1);
@@ -3211,7 +3211,7 @@ let API$u = class API extends API$x {
3211
3211
  */
3212
3212
  stopServer = request => this.client.fetch({
3213
3213
  body: '{}',
3214
- headers: jsonContentHeaders$s,
3214
+ headers: jsonContentHeaders$t,
3215
3215
  method: 'POST',
3216
3216
  path: `/baremetal/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/stop`
3217
3217
  }, unmarshalServer$1);
@@ -3249,7 +3249,7 @@ let API$u = class API extends API$x {
3249
3249
  */
3250
3250
  startBMCAccess = request => this.client.fetch({
3251
3251
  body: JSON.stringify(marshalStartBMCAccessRequest(request, this.client.settings)),
3252
- headers: jsonContentHeaders$s,
3252
+ headers: jsonContentHeaders$t,
3253
3253
  method: 'POST',
3254
3254
  path: `/baremetal/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/bmc-access`
3255
3255
  }, unmarshalBMCAccess);
@@ -3287,7 +3287,7 @@ let API$u = class API extends API$x {
3287
3287
  */
3288
3288
  updateIP = request => this.client.fetch({
3289
3289
  body: JSON.stringify(marshalUpdateIPRequest$2(request, this.client.settings)),
3290
- headers: jsonContentHeaders$s,
3290
+ headers: jsonContentHeaders$t,
3291
3291
  method: 'PATCH',
3292
3292
  path: `/baremetal/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/ips/${validatePathParam('ipId', request.ipId)}`
3293
3293
  }, unmarshalIP$2);
@@ -3301,7 +3301,7 @@ let API$u = class API extends API$x {
3301
3301
  */
3302
3302
  addOptionServer = request => this.client.fetch({
3303
3303
  body: JSON.stringify(marshalAddOptionServerRequest(request, this.client.settings)),
3304
- headers: jsonContentHeaders$s,
3304
+ headers: jsonContentHeaders$t,
3305
3305
  method: 'POST',
3306
3306
  path: `/baremetal/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/options/${validatePathParam('optionId', request.optionId)}`
3307
3307
  }, unmarshalServer$1);
@@ -3386,7 +3386,7 @@ let API$u = class API extends API$x {
3386
3386
  */
3387
3387
  updateSetting = request => this.client.fetch({
3388
3388
  body: JSON.stringify(marshalUpdateSettingRequest(request, this.client.settings)),
3389
- headers: jsonContentHeaders$s,
3389
+ headers: jsonContentHeaders$t,
3390
3390
  method: 'PATCH',
3391
3391
  path: `/baremetal/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/settings/${validatePathParam('settingId', request.settingId)}`
3392
3392
  }, unmarshalSetting);
@@ -3418,7 +3418,7 @@ let API$u = class API extends API$x {
3418
3418
  };
3419
3419
 
3420
3420
  /** Elastic Metal Private Network API. */
3421
- class PrivateNetworkAPI extends API$x {
3421
+ class PrivateNetworkAPI extends API$y {
3422
3422
  /** Lists the available zones of the API. */
3423
3423
  static LOCALITIES = ['fr-par-2'];
3424
3424
 
@@ -3431,7 +3431,7 @@ class PrivateNetworkAPI extends API$x {
3431
3431
  */
3432
3432
  addServerPrivateNetwork = request => this.client.fetch({
3433
3433
  body: JSON.stringify(marshalPrivateNetworkApiAddServerPrivateNetworkRequest(request, this.client.settings)),
3434
- headers: jsonContentHeaders$s,
3434
+ headers: jsonContentHeaders$t,
3435
3435
  method: 'POST',
3436
3436
  path: `/baremetal/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/private-networks`
3437
3437
  }, unmarshalServerPrivateNetwork);
@@ -3445,7 +3445,7 @@ class PrivateNetworkAPI extends API$x {
3445
3445
  */
3446
3446
  setServerPrivateNetworks = request => this.client.fetch({
3447
3447
  body: JSON.stringify(marshalPrivateNetworkApiSetServerPrivateNetworksRequest(request, this.client.settings)),
3448
- headers: jsonContentHeaders$s,
3448
+ headers: jsonContentHeaders$t,
3449
3449
  method: 'PUT',
3450
3450
  path: `/baremetal/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/private-networks`
3451
3451
  }, unmarshalSetServerPrivateNetworksResponse);
@@ -3476,7 +3476,7 @@ class PrivateNetworkAPI extends API$x {
3476
3476
  });
3477
3477
  }
3478
3478
 
3479
- class BaremetalV1UtilsAPI extends API$u {
3479
+ class BaremetalV1UtilsAPI extends API$v {
3480
3480
  /**
3481
3481
  * Waits for {@link ServerInstall} to be in a final state.
3482
3482
  *
@@ -3606,7 +3606,7 @@ const UpdateServerRequest = {
3606
3606
  }
3607
3607
  };
3608
3608
 
3609
- var validationRules_gen$d = /*#__PURE__*/Object.freeze({
3609
+ var validationRules_gen$e = /*#__PURE__*/Object.freeze({
3610
3610
  __proto__: null,
3611
3611
  CreateServerRequest: CreateServerRequest,
3612
3612
  CreateServerRequestInstall: CreateServerRequestInstall,
@@ -3620,19 +3620,19 @@ var validationRules_gen$d = /*#__PURE__*/Object.freeze({
3620
3620
  UpdateServerRequest: UpdateServerRequest
3621
3621
  });
3622
3622
 
3623
- var index$w = /*#__PURE__*/Object.freeze({
3623
+ var index$x = /*#__PURE__*/Object.freeze({
3624
3624
  __proto__: null,
3625
3625
  API: BaremetalV1UtilsAPI,
3626
3626
  PrivateNetworkAPI: PrivateNetworkAPI,
3627
3627
  SERVER_INSTALL_TRANSIENT_STATUSES: SERVER_INSTALL_TRANSIENT_STATUSES,
3628
3628
  SERVER_PRIVATE_NETWORK_TRANSIENT_STATUSES: SERVER_PRIVATE_NETWORK_TRANSIENT_STATUSES,
3629
3629
  SERVER_TRANSIENT_STATUSES: SERVER_TRANSIENT_STATUSES$1,
3630
- ValidationRules: validationRules_gen$d
3630
+ ValidationRules: validationRules_gen$e
3631
3631
  });
3632
3632
 
3633
- var index$v = /*#__PURE__*/Object.freeze({
3633
+ var index$w = /*#__PURE__*/Object.freeze({
3634
3634
  __proto__: null,
3635
- v1: index$w
3635
+ v1: index$x
3636
3636
  });
3637
3637
 
3638
3638
  // This file was automatically generated. DO NOT EDIT.
@@ -3735,7 +3735,7 @@ const unmarshalListInvoicesResponse$1 = data => {
3735
3735
  *
3736
3736
  * This API allows you to query your consumption.
3737
3737
  */
3738
- let API$t = class API extends API$x {
3738
+ let API$u = class API extends API$y {
3739
3739
  /**
3740
3740
  * Get current month's consumption. The consumption reflects the amount of
3741
3741
  * money you have spent for the products you have used. The consumption value
@@ -3796,9 +3796,9 @@ let API$t = class API extends API$x {
3796
3796
  // This file was automatically generated. DO NOT EDIT.
3797
3797
  // If you have any remark or suggestion do not hesitate to open an issue.
3798
3798
 
3799
- var index_gen$s = /*#__PURE__*/Object.freeze({
3799
+ var index_gen$t = /*#__PURE__*/Object.freeze({
3800
3800
  __proto__: null,
3801
- API: API$t
3801
+ API: API$u
3802
3802
  });
3803
3803
 
3804
3804
  // This file was automatically generated. DO NOT EDIT.
@@ -3936,7 +3936,7 @@ const unmarshalListTaxesResponse = data => {
3936
3936
  *
3937
3937
  * This API allows you to query your consumption.
3938
3938
  */
3939
- let API$s = class API extends API$x {
3939
+ let API$t = class API extends API$y {
3940
3940
  pageOfListConsumptions = (request = {}) => this.client.fetch({
3941
3941
  method: 'GET',
3942
3942
  path: `/billing/v2beta1/consumptions`,
@@ -4044,15 +4044,15 @@ let API$s = class API extends API$x {
4044
4044
  // This file was automatically generated. DO NOT EDIT.
4045
4045
  // If you have any remark or suggestion do not hesitate to open an issue.
4046
4046
 
4047
- var index_gen$r = /*#__PURE__*/Object.freeze({
4047
+ var index_gen$s = /*#__PURE__*/Object.freeze({
4048
4048
  __proto__: null,
4049
- API: API$s
4049
+ API: API$t
4050
4050
  });
4051
4051
 
4052
- var index$u = /*#__PURE__*/Object.freeze({
4052
+ var index$v = /*#__PURE__*/Object.freeze({
4053
4053
  __proto__: null,
4054
- v2alpha1: index_gen$s,
4055
- v2beta1: index_gen$r
4054
+ v2alpha1: index_gen$t,
4055
+ v2beta1: index_gen$s
4056
4056
  });
4057
4057
 
4058
4058
  // This file was automatically generated. DO NOT EDIT.
@@ -4222,7 +4222,7 @@ const marshalUpdateVolumeRequest$2 = (request, defaults) => ({
4222
4222
 
4223
4223
  // This file was automatically generated. DO NOT EDIT.
4224
4224
  // If you have any remark or suggestion do not hesitate to open an issue.
4225
- const jsonContentHeaders$r = {
4225
+ const jsonContentHeaders$s = {
4226
4226
  'Content-Type': 'application/json; charset=utf-8'
4227
4227
  };
4228
4228
 
@@ -4231,7 +4231,7 @@ const jsonContentHeaders$r = {
4231
4231
  *
4232
4232
  * This API allows you to use and manage your Block Storage volumes.
4233
4233
  */
4234
- let API$r = class API extends API$x {
4234
+ let API$s = class API extends API$y {
4235
4235
  /** Lists the available zones of the API. */
4236
4236
  static LOCALITIES = ['fr-par-1', 'fr-par-2', 'nl-ams-1', 'nl-ams-3', 'pl-waw-3'];
4237
4237
  pageOfListVolumeTypes = (request = {}) => this.client.fetch({
@@ -4277,7 +4277,7 @@ let API$r = class API extends API$x {
4277
4277
  */
4278
4278
  createVolume = request => this.client.fetch({
4279
4279
  body: JSON.stringify(marshalCreateVolumeRequest$2(request, this.client.settings)),
4280
- headers: jsonContentHeaders$r,
4280
+ headers: jsonContentHeaders$s,
4281
4281
  method: 'POST',
4282
4282
  path: `/block/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/volumes`
4283
4283
  }, unmarshalVolume$4);
@@ -4325,7 +4325,7 @@ let API$r = class API extends API$x {
4325
4325
  */
4326
4326
  updateVolume = request => this.client.fetch({
4327
4327
  body: JSON.stringify(marshalUpdateVolumeRequest$2(request, this.client.settings)),
4328
- headers: jsonContentHeaders$r,
4328
+ headers: jsonContentHeaders$s,
4329
4329
  method: 'PATCH',
4330
4330
  path: `/block/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/volumes/${validatePathParam('volumeId', request.volumeId)}`
4331
4331
  }, unmarshalVolume$4);
@@ -4377,7 +4377,7 @@ let API$r = class API extends API$x {
4377
4377
  */
4378
4378
  createSnapshot = request => this.client.fetch({
4379
4379
  body: JSON.stringify(marshalCreateSnapshotRequest$3(request, this.client.settings)),
4380
- headers: jsonContentHeaders$r,
4380
+ headers: jsonContentHeaders$s,
4381
4381
  method: 'POST',
4382
4382
  path: `/block/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/snapshots`
4383
4383
  }, unmarshalSnapshot$3);
@@ -4401,7 +4401,7 @@ let API$r = class API extends API$x {
4401
4401
  */
4402
4402
  updateSnapshot = request => this.client.fetch({
4403
4403
  body: JSON.stringify(marshalUpdateSnapshotRequest$3(request, this.client.settings)),
4404
- headers: jsonContentHeaders$r,
4404
+ headers: jsonContentHeaders$s,
4405
4405
  method: 'PATCH',
4406
4406
  path: `/block/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/snapshots/${validatePathParam('snapshotId', request.snapshotId)}`
4407
4407
  }, unmarshalSnapshot$3);
@@ -4453,7 +4453,7 @@ const Reference = {
4453
4453
  }
4454
4454
  };
4455
4455
 
4456
- var validationRules_gen$c = /*#__PURE__*/Object.freeze({
4456
+ var validationRules_gen$d = /*#__PURE__*/Object.freeze({
4457
4457
  __proto__: null,
4458
4458
  CreateSnapshotRequest: CreateSnapshotRequest,
4459
4459
  CreateVolumeRequest: CreateVolumeRequest,
@@ -4466,18 +4466,18 @@ var validationRules_gen$c = /*#__PURE__*/Object.freeze({
4466
4466
  // This file was automatically generated. DO NOT EDIT.
4467
4467
  // If you have any remark or suggestion do not hesitate to open an issue.
4468
4468
 
4469
- var index_gen$q = /*#__PURE__*/Object.freeze({
4469
+ var index_gen$r = /*#__PURE__*/Object.freeze({
4470
4470
  __proto__: null,
4471
- API: API$r,
4471
+ API: API$s,
4472
4472
  REFERENCE_TRANSIENT_STATUSES: REFERENCE_TRANSIENT_STATUSES,
4473
4473
  SNAPSHOT_TRANSIENT_STATUSES: SNAPSHOT_TRANSIENT_STATUSES$3,
4474
4474
  VOLUME_TRANSIENT_STATUSES: VOLUME_TRANSIENT_STATUSES$1,
4475
- ValidationRules: validationRules_gen$c
4475
+ ValidationRules: validationRules_gen$d
4476
4476
  });
4477
4477
 
4478
- var index$t = /*#__PURE__*/Object.freeze({
4478
+ var index$u = /*#__PURE__*/Object.freeze({
4479
4479
  __proto__: null,
4480
- v1alpha1: index_gen$q
4480
+ v1alpha1: index_gen$r
4481
4481
  });
4482
4482
 
4483
4483
  // This file was automatically generated. DO NOT EDIT.
@@ -4754,7 +4754,7 @@ const marshalTriggerTestAlertRequest = (request, defaults) => ({
4754
4754
 
4755
4755
  // This file was automatically generated. DO NOT EDIT.
4756
4756
  // If you have any remark or suggestion do not hesitate to open an issue.
4757
- const jsonContentHeaders$q = {
4757
+ const jsonContentHeaders$r = {
4758
4758
  'Content-Type': 'application/json; charset=utf-8'
4759
4759
  };
4760
4760
 
@@ -4765,7 +4765,7 @@ const jsonContentHeaders$q = {
4765
4765
  * logs. It also provides you with a dedicated Grafana for dashboarding to
4766
4766
  * visualize your metrics and logs.
4767
4767
  */
4768
- let API$q = class API extends API$x {
4768
+ let API$r = class API extends API$y {
4769
4769
  /**
4770
4770
  * Activate the Cockpit of a given Project specified by the Project ID.
4771
4771
  *
@@ -4774,7 +4774,7 @@ let API$q = class API extends API$x {
4774
4774
  */
4775
4775
  activateCockpit = (request = {}) => this.client.fetch({
4776
4776
  body: JSON.stringify(marshalActivateCockpitRequest(request, this.client.settings)),
4777
- headers: jsonContentHeaders$q,
4777
+ headers: jsonContentHeaders$r,
4778
4778
  method: 'POST',
4779
4779
  path: `/cockpit/v1beta1/activate`
4780
4780
  }, unmarshalCockpit);
@@ -4821,7 +4821,7 @@ let API$q = class API extends API$x {
4821
4821
  */
4822
4822
  deactivateCockpit = (request = {}) => this.client.fetch({
4823
4823
  body: JSON.stringify(marshalDeactivateCockpitRequest(request, this.client.settings)),
4824
- headers: jsonContentHeaders$q,
4824
+ headers: jsonContentHeaders$r,
4825
4825
  method: 'POST',
4826
4826
  path: `/cockpit/v1beta1/deactivate`
4827
4827
  }, unmarshalCockpit);
@@ -4835,7 +4835,7 @@ let API$q = class API extends API$x {
4835
4835
  */
4836
4836
  createDatasource = request => this.client.fetch({
4837
4837
  body: JSON.stringify(marshalCreateDatasourceRequest(request, this.client.settings)),
4838
- headers: jsonContentHeaders$q,
4838
+ headers: jsonContentHeaders$r,
4839
4839
  method: 'POST',
4840
4840
  path: `/cockpit/v1beta1/datasources`
4841
4841
  }, unmarshalDatasource);
@@ -4871,7 +4871,7 @@ let API$q = class API extends API$x {
4871
4871
  */
4872
4872
  createToken = (request = {}) => this.client.fetch({
4873
4873
  body: JSON.stringify(marshalCreateTokenRequest$2(request, this.client.settings)),
4874
- headers: jsonContentHeaders$q,
4874
+ headers: jsonContentHeaders$r,
4875
4875
  method: 'POST',
4876
4876
  path: `/cockpit/v1beta1/tokens`
4877
4877
  }, unmarshalToken$2);
@@ -4919,7 +4919,7 @@ let API$q = class API extends API$x {
4919
4919
  */
4920
4920
  createContactPoint = (request = {}) => this.client.fetch({
4921
4921
  body: JSON.stringify(marshalCreateContactPointRequest(request, this.client.settings)),
4922
- headers: jsonContentHeaders$q,
4922
+ headers: jsonContentHeaders$r,
4923
4923
  method: 'POST',
4924
4924
  path: `/cockpit/v1beta1/contact-points`
4925
4925
  }, unmarshalContactPoint);
@@ -4945,7 +4945,7 @@ let API$q = class API extends API$x {
4945
4945
  */
4946
4946
  deleteContactPoint = (request = {}) => this.client.fetch({
4947
4947
  body: JSON.stringify(marshalDeleteContactPointRequest(request, this.client.settings)),
4948
- headers: jsonContentHeaders$q,
4948
+ headers: jsonContentHeaders$r,
4949
4949
  method: 'POST',
4950
4950
  path: `/cockpit/v1beta1/delete-contact-point`
4951
4951
  });
@@ -4958,7 +4958,7 @@ let API$q = class API extends API$x {
4958
4958
  */
4959
4959
  enableManagedAlerts = (request = {}) => this.client.fetch({
4960
4960
  body: JSON.stringify(marshalEnableManagedAlertsRequest(request, this.client.settings)),
4961
- headers: jsonContentHeaders$q,
4961
+ headers: jsonContentHeaders$r,
4962
4962
  method: 'POST',
4963
4963
  path: `/cockpit/v1beta1/enable-managed-alerts`
4964
4964
  });
@@ -4971,7 +4971,7 @@ let API$q = class API extends API$x {
4971
4971
  */
4972
4972
  disableManagedAlerts = (request = {}) => this.client.fetch({
4973
4973
  body: JSON.stringify(marshalDisableManagedAlertsRequest(request, this.client.settings)),
4974
- headers: jsonContentHeaders$q,
4974
+ headers: jsonContentHeaders$r,
4975
4975
  method: 'POST',
4976
4976
  path: `/cockpit/v1beta1/disable-managed-alerts`
4977
4977
  });
@@ -4984,7 +4984,7 @@ let API$q = class API extends API$x {
4984
4984
  */
4985
4985
  triggerTestAlert = (request = {}) => this.client.fetch({
4986
4986
  body: JSON.stringify(marshalTriggerTestAlertRequest(request, this.client.settings)),
4987
- headers: jsonContentHeaders$q,
4987
+ headers: jsonContentHeaders$r,
4988
4988
  method: 'POST',
4989
4989
  path: `/cockpit/v1beta1/trigger-test-alert`
4990
4990
  });
@@ -4998,7 +4998,7 @@ let API$q = class API extends API$x {
4998
4998
  */
4999
4999
  createGrafanaUser = request => this.client.fetch({
5000
5000
  body: JSON.stringify(marshalCreateGrafanaUserRequest(request, this.client.settings)),
5001
- headers: jsonContentHeaders$q,
5001
+ headers: jsonContentHeaders$r,
5002
5002
  method: 'POST',
5003
5003
  path: `/cockpit/v1beta1/grafana-users`
5004
5004
  }, unmarshalGrafanaUser);
@@ -5024,7 +5024,7 @@ let API$q = class API extends API$x {
5024
5024
  */
5025
5025
  deleteGrafanaUser = request => this.client.fetch({
5026
5026
  body: JSON.stringify(marshalDeleteGrafanaUserRequest(request, this.client.settings)),
5027
- headers: jsonContentHeaders$q,
5027
+ headers: jsonContentHeaders$r,
5028
5028
  method: 'POST',
5029
5029
  path: `/cockpit/v1beta1/grafana-users/${validatePathParam('grafanaUserId', request.grafanaUserId)}/delete`
5030
5030
  });
@@ -5038,7 +5038,7 @@ let API$q = class API extends API$x {
5038
5038
  */
5039
5039
  resetGrafanaUserPassword = request => this.client.fetch({
5040
5040
  body: JSON.stringify(marshalResetGrafanaUserPasswordRequest(request, this.client.settings)),
5041
- headers: jsonContentHeaders$q,
5041
+ headers: jsonContentHeaders$r,
5042
5042
  method: 'POST',
5043
5043
  path: `/cockpit/v1beta1/grafana-users/${validatePathParam('grafanaUserId', request.grafanaUserId)}/reset-password`
5044
5044
  }, unmarshalGrafanaUser);
@@ -5065,7 +5065,7 @@ let API$q = class API extends API$x {
5065
5065
  */
5066
5066
  selectPlan = request => this.client.fetch({
5067
5067
  body: JSON.stringify(marshalSelectPlanRequest(request, this.client.settings)),
5068
- headers: jsonContentHeaders$q,
5068
+ headers: jsonContentHeaders$r,
5069
5069
  method: 'POST',
5070
5070
  path: `/cockpit/v1beta1/select-plan`
5071
5071
  }, unmarshalSelectPlanResponse);
@@ -5100,15 +5100,15 @@ let API$q = class API extends API$x {
5100
5100
  // This file was automatically generated. DO NOT EDIT.
5101
5101
  // If you have any remark or suggestion do not hesitate to open an issue.
5102
5102
 
5103
- var index_gen$p = /*#__PURE__*/Object.freeze({
5103
+ var index_gen$q = /*#__PURE__*/Object.freeze({
5104
5104
  __proto__: null,
5105
- API: API$q,
5105
+ API: API$r,
5106
5106
  COCKPIT_TRANSIENT_STATUSES: COCKPIT_TRANSIENT_STATUSES
5107
5107
  });
5108
5108
 
5109
- var index$s = /*#__PURE__*/Object.freeze({
5109
+ var index$t = /*#__PURE__*/Object.freeze({
5110
5110
  __proto__: null,
5111
- v1beta1: index_gen$p
5111
+ v1beta1: index_gen$q
5112
5112
  });
5113
5113
 
5114
5114
  // This file was automatically generated. DO NOT EDIT.
@@ -5461,12 +5461,12 @@ const marshalUpdateTriggerRequest$1 = (request, defaults) => ({
5461
5461
 
5462
5462
  // This file was automatically generated. DO NOT EDIT.
5463
5463
  // If you have any remark or suggestion do not hesitate to open an issue.
5464
- const jsonContentHeaders$p = {
5464
+ const jsonContentHeaders$q = {
5465
5465
  'Content-Type': 'application/json; charset=utf-8'
5466
5466
  };
5467
5467
 
5468
5468
  /** Serverless Containers API. */
5469
- let API$p = class API extends API$x {
5469
+ let API$q = class API extends API$y {
5470
5470
  /** Lists the available regions of the API. */
5471
5471
  static LOCALITIES = ['fr-par', 'nl-ams', 'pl-waw'];
5472
5472
  pageOfListNamespaces = (request = {}) => this.client.fetch({
@@ -5511,7 +5511,7 @@ let API$p = class API extends API$x {
5511
5511
  */
5512
5512
  createNamespace = (request = {}) => this.client.fetch({
5513
5513
  body: JSON.stringify(marshalCreateNamespaceRequest$2(request, this.client.settings)),
5514
- headers: jsonContentHeaders$p,
5514
+ headers: jsonContentHeaders$q,
5515
5515
  method: 'POST',
5516
5516
  path: `/containers/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/namespaces`
5517
5517
  }, unmarshalNamespace$2);
@@ -5525,7 +5525,7 @@ let API$p = class API extends API$x {
5525
5525
  */
5526
5526
  updateNamespace = request => this.client.fetch({
5527
5527
  body: JSON.stringify(marshalUpdateNamespaceRequest$2(request, this.client.settings)),
5528
- headers: jsonContentHeaders$p,
5528
+ headers: jsonContentHeaders$q,
5529
5529
  method: 'PATCH',
5530
5530
  path: `/containers/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/namespaces/${validatePathParam('namespaceId', request.namespaceId)}`
5531
5531
  }, unmarshalNamespace$2);
@@ -5583,7 +5583,7 @@ let API$p = class API extends API$x {
5583
5583
  */
5584
5584
  createContainer = request => this.client.fetch({
5585
5585
  body: JSON.stringify(marshalCreateContainerRequest(request, this.client.settings)),
5586
- headers: jsonContentHeaders$p,
5586
+ headers: jsonContentHeaders$q,
5587
5587
  method: 'POST',
5588
5588
  path: `/containers/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/containers`
5589
5589
  }, unmarshalContainer);
@@ -5597,7 +5597,7 @@ let API$p = class API extends API$x {
5597
5597
  */
5598
5598
  updateContainer = request => this.client.fetch({
5599
5599
  body: JSON.stringify(marshalUpdateContainerRequest(request, this.client.settings)),
5600
- headers: jsonContentHeaders$p,
5600
+ headers: jsonContentHeaders$q,
5601
5601
  method: 'PATCH',
5602
5602
  path: `/containers/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/containers/${validatePathParam('containerId', request.containerId)}`
5603
5603
  }, unmarshalContainer);
@@ -5621,7 +5621,7 @@ let API$p = class API extends API$x {
5621
5621
  */
5622
5622
  deployContainer = request => this.client.fetch({
5623
5623
  body: '{}',
5624
- headers: jsonContentHeaders$p,
5624
+ headers: jsonContentHeaders$q,
5625
5625
  method: 'POST',
5626
5626
  path: `/containers/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/containers/${validatePathParam('containerId', request.containerId)}/deploy`
5627
5627
  }, unmarshalContainer);
@@ -5667,7 +5667,7 @@ let API$p = class API extends API$x {
5667
5667
  */
5668
5668
  createCron = request => this.client.fetch({
5669
5669
  body: JSON.stringify(marshalCreateCronRequest$1(request, this.client.settings)),
5670
- headers: jsonContentHeaders$p,
5670
+ headers: jsonContentHeaders$q,
5671
5671
  method: 'POST',
5672
5672
  path: `/containers/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/crons`
5673
5673
  }, unmarshalCron$1);
@@ -5680,7 +5680,7 @@ let API$p = class API extends API$x {
5680
5680
  */
5681
5681
  updateCron = request => this.client.fetch({
5682
5682
  body: JSON.stringify(marshalUpdateCronRequest$1(request, this.client.settings)),
5683
- headers: jsonContentHeaders$p,
5683
+ headers: jsonContentHeaders$q,
5684
5684
  method: 'PATCH',
5685
5685
  path: `/containers/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/crons/${validatePathParam('cronId', request.cronId)}`
5686
5686
  }, unmarshalCron$1);
@@ -5740,7 +5740,7 @@ let API$p = class API extends API$x {
5740
5740
  */
5741
5741
  createDomain = request => this.client.fetch({
5742
5742
  body: JSON.stringify(marshalCreateDomainRequest$2(request, this.client.settings)),
5743
- headers: jsonContentHeaders$p,
5743
+ headers: jsonContentHeaders$q,
5744
5744
  method: 'POST',
5745
5745
  path: `/containers/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/domains`
5746
5746
  }, unmarshalDomain$3);
@@ -5784,7 +5784,7 @@ let API$p = class API extends API$x {
5784
5784
  */
5785
5785
  createToken = (request = {}) => this.client.fetch({
5786
5786
  body: JSON.stringify(marshalCreateTokenRequest$1(request, this.client.settings)),
5787
- headers: jsonContentHeaders$p,
5787
+ headers: jsonContentHeaders$q,
5788
5788
  method: 'POST',
5789
5789
  path: `/containers/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/tokens`
5790
5790
  }, unmarshalToken$1);
@@ -5842,7 +5842,7 @@ let API$p = class API extends API$x {
5842
5842
  */
5843
5843
  createTrigger = request => this.client.fetch({
5844
5844
  body: JSON.stringify(marshalCreateTriggerRequest$1(request, this.client.settings)),
5845
- headers: jsonContentHeaders$p,
5845
+ headers: jsonContentHeaders$q,
5846
5846
  method: 'POST',
5847
5847
  path: `/containers/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/triggers`
5848
5848
  }, unmarshalTrigger$1);
@@ -5899,7 +5899,7 @@ let API$p = class API extends API$x {
5899
5899
  */
5900
5900
  updateTrigger = request => this.client.fetch({
5901
5901
  body: JSON.stringify(marshalUpdateTriggerRequest$1(request, this.client.settings)),
5902
- headers: jsonContentHeaders$p,
5902
+ headers: jsonContentHeaders$q,
5903
5903
  method: 'PATCH',
5904
5904
  path: `/containers/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/triggers/${validatePathParam('triggerId', request.triggerId)}`
5905
5905
  }, unmarshalTrigger$1);
@@ -5959,7 +5959,7 @@ const UpdateTriggerRequest$1 = {
5959
5959
  }
5960
5960
  };
5961
5961
 
5962
- var validationRules_gen$b = /*#__PURE__*/Object.freeze({
5962
+ var validationRules_gen$c = /*#__PURE__*/Object.freeze({
5963
5963
  __proto__: null,
5964
5964
  CreateTriggerRequest: CreateTriggerRequest$1,
5965
5965
  CreateTriggerRequestMnqNatsClientConfig: CreateTriggerRequestMnqNatsClientConfig$1,
@@ -5970,21 +5970,21 @@ var validationRules_gen$b = /*#__PURE__*/Object.freeze({
5970
5970
  // This file was automatically generated. DO NOT EDIT.
5971
5971
  // If you have any remark or suggestion do not hesitate to open an issue.
5972
5972
 
5973
- var index_gen$o = /*#__PURE__*/Object.freeze({
5973
+ var index_gen$p = /*#__PURE__*/Object.freeze({
5974
5974
  __proto__: null,
5975
- API: API$p,
5975
+ API: API$q,
5976
5976
  CONTAINER_TRANSIENT_STATUSES: CONTAINER_TRANSIENT_STATUSES,
5977
5977
  CRON_TRANSIENT_STATUSES: CRON_TRANSIENT_STATUSES$1,
5978
5978
  DOMAIN_TRANSIENT_STATUSES: DOMAIN_TRANSIENT_STATUSES$3,
5979
5979
  NAMESPACE_TRANSIENT_STATUSES: NAMESPACE_TRANSIENT_STATUSES$2,
5980
5980
  TOKEN_TRANSIENT_STATUSES: TOKEN_TRANSIENT_STATUSES$1,
5981
5981
  TRIGGER_TRANSIENT_STATUSES: TRIGGER_TRANSIENT_STATUSES$1,
5982
- ValidationRules: validationRules_gen$b
5982
+ ValidationRules: validationRules_gen$c
5983
5983
  });
5984
5984
 
5985
- var index$r = /*#__PURE__*/Object.freeze({
5985
+ var index$s = /*#__PURE__*/Object.freeze({
5986
5986
  __proto__: null,
5987
- v1beta1: index_gen$o
5987
+ v1beta1: index_gen$p
5988
5988
  });
5989
5989
 
5990
5990
  // This file was automatically generated. DO NOT EDIT.
@@ -5997,7 +5997,7 @@ const INSTANCE_LOG_TRANSIENT_STATUSES$1 = ['creating'];
5997
5997
  const INSTANCE_TRANSIENT_STATUSES$2 = ['provisioning', 'configuring', 'deleting', 'autohealing', 'initializing', 'backuping', 'snapshotting', 'restarting'];
5998
5998
 
5999
5999
  /** Lists transient statutes of the enum {@link MaintenanceStatus}. */
6000
- const MAINTENANCE_TRANSIENT_STATUSES$1 = ['pending'];
6000
+ const MAINTENANCE_TRANSIENT_STATUSES$1 = ['ongoing'];
6001
6001
 
6002
6002
  /** Lists transient statutes of the enum {@link ReadReplicaStatus}. */
6003
6003
  const READ_REPLICA_TRANSIENT_STATUSES$1 = ['provisioning', 'initializing', 'deleting', 'configuring', 'promoting'];
@@ -6019,7 +6019,7 @@ const unmarshalEndpointLoadBalancerDetails$1 = data => {
6019
6019
  }
6020
6020
  return {};
6021
6021
  };
6022
- const unmarshalEndpointPrivateNetworkDetails$1 = data => {
6022
+ const unmarshalEndpointPrivateNetworkDetails$2 = data => {
6023
6023
  if (!isJSONObject(data)) {
6024
6024
  throw new TypeError(`Unmarshalling the type 'EndpointPrivateNetworkDetails' failed as data isn't a dictionary.`);
6025
6025
  }
@@ -6029,7 +6029,7 @@ const unmarshalEndpointPrivateNetworkDetails$1 = data => {
6029
6029
  zone: data.zone
6030
6030
  };
6031
6031
  };
6032
- const unmarshalEndpoint$2 = data => {
6032
+ const unmarshalEndpoint$3 = data => {
6033
6033
  if (!isJSONObject(data)) {
6034
6034
  throw new TypeError(`Unmarshalling the type 'Endpoint' failed as data isn't a dictionary.`);
6035
6035
  }
@@ -6041,7 +6041,20 @@ const unmarshalEndpoint$2 = data => {
6041
6041
  loadBalancer: data.load_balancer ? unmarshalEndpointLoadBalancerDetails$1(data.load_balancer) : undefined,
6042
6042
  name: data.name,
6043
6043
  port: data.port,
6044
- privateNetwork: data.private_network ? unmarshalEndpointPrivateNetworkDetails$1(data.private_network) : undefined
6044
+ privateNetwork: data.private_network ? unmarshalEndpointPrivateNetworkDetails$2(data.private_network) : undefined
6045
+ };
6046
+ };
6047
+ const unmarshalMaintenance$1 = data => {
6048
+ if (!isJSONObject(data)) {
6049
+ throw new TypeError(`Unmarshalling the type 'Maintenance' failed as data isn't a dictionary.`);
6050
+ }
6051
+ return {
6052
+ closedAt: unmarshalDate(data.closed_at),
6053
+ forcedAt: unmarshalDate(data.forced_at),
6054
+ reason: data.reason,
6055
+ startsAt: unmarshalDate(data.starts_at),
6056
+ status: data.status,
6057
+ stopsAt: unmarshalDate(data.stops_at)
6045
6058
  };
6046
6059
  };
6047
6060
  const unmarshalReadReplica$1 = data => {
@@ -6049,7 +6062,7 @@ const unmarshalReadReplica$1 = data => {
6049
6062
  throw new TypeError(`Unmarshalling the type 'ReadReplica' failed as data isn't a dictionary.`);
6050
6063
  }
6051
6064
  return {
6052
- endpoints: unmarshalArrayOfObject(data.endpoints, unmarshalEndpoint$2),
6065
+ endpoints: unmarshalArrayOfObject(data.endpoints, unmarshalEndpoint$3),
6053
6066
  id: data.id,
6054
6067
  region: data.region,
6055
6068
  sameZone: data.same_zone,
@@ -6110,18 +6123,6 @@ const unmarshalLogsPolicy$1 = data => {
6110
6123
  totalDiskRetention: data.total_disk_retention
6111
6124
  };
6112
6125
  };
6113
- const unmarshalMaintenance$1 = data => {
6114
- if (!isJSONObject(data)) {
6115
- throw new TypeError(`Unmarshalling the type 'Maintenance' failed as data isn't a dictionary.`);
6116
- }
6117
- return {
6118
- closedAt: unmarshalDate(data.closed_at),
6119
- reason: data.reason,
6120
- startsAt: unmarshalDate(data.starts_at),
6121
- status: data.status,
6122
- stopsAt: unmarshalDate(data.stops_at)
6123
- };
6124
- };
6125
6126
  const unmarshalUpgradableVersion$1 = data => {
6126
6127
  if (!isJSONObject(data)) {
6127
6128
  throw new TypeError(`Unmarshalling the type 'UpgradableVersion' failed as data isn't a dictionary.`);
@@ -6151,8 +6152,8 @@ const unmarshalInstance$2 = data => {
6151
6152
  backupSameRegion: data.backup_same_region,
6152
6153
  backupSchedule: data.backup_schedule ? unmarshalBackupSchedule$1(data.backup_schedule) : undefined,
6153
6154
  createdAt: unmarshalDate(data.created_at),
6154
- endpoint: data.endpoint ? unmarshalEndpoint$2(data.endpoint) : undefined,
6155
- endpoints: unmarshalArrayOfObject(data.endpoints, unmarshalEndpoint$2),
6155
+ endpoint: data.endpoint ? unmarshalEndpoint$3(data.endpoint) : undefined,
6156
+ endpoints: unmarshalArrayOfObject(data.endpoints, unmarshalEndpoint$3),
6156
6157
  engine: data.engine,
6157
6158
  id: data.id,
6158
6159
  initSettings: unmarshalArrayOfObject(data.init_settings, unmarshalInstanceSetting$1),
@@ -6219,7 +6220,7 @@ const unmarshalUser$2 = data => {
6219
6220
  name: data.name
6220
6221
  };
6221
6222
  };
6222
- const unmarshalACLRule$2 = data => {
6223
+ const unmarshalACLRule$3 = data => {
6223
6224
  if (!isJSONObject(data)) {
6224
6225
  throw new TypeError(`Unmarshalling the type 'ACLRule' failed as data isn't a dictionary.`);
6225
6226
  }
@@ -6237,7 +6238,7 @@ const unmarshalAddInstanceACLRulesResponse$1 = data => {
6237
6238
  throw new TypeError(`Unmarshalling the type 'AddInstanceACLRulesResponse' failed as data isn't a dictionary.`);
6238
6239
  }
6239
6240
  return {
6240
- rules: unmarshalArrayOfObject(data.rules, unmarshalACLRule$2)
6241
+ rules: unmarshalArrayOfObject(data.rules, unmarshalACLRule$3)
6241
6242
  };
6242
6243
  };
6243
6244
  const unmarshalAddInstanceSettingsResponse$1 = data => {
@@ -6253,7 +6254,7 @@ const unmarshalDeleteInstanceACLRulesResponse$1 = data => {
6253
6254
  throw new TypeError(`Unmarshalling the type 'DeleteInstanceACLRulesResponse' failed as data isn't a dictionary.`);
6254
6255
  }
6255
6256
  return {
6256
- rules: unmarshalArrayOfObject(data.rules, unmarshalACLRule$2)
6257
+ rules: unmarshalArrayOfObject(data.rules, unmarshalACLRule$3)
6257
6258
  };
6258
6259
  };
6259
6260
  const unmarshalDeleteInstanceSettingsResponse$1 = data => {
@@ -6338,7 +6339,7 @@ const unmarshalListInstanceACLRulesResponse$1 = data => {
6338
6339
  throw new TypeError(`Unmarshalling the type 'ListInstanceACLRulesResponse' failed as data isn't a dictionary.`);
6339
6340
  }
6340
6341
  return {
6341
- rules: unmarshalArrayOfObject(data.rules, unmarshalACLRule$2),
6342
+ rules: unmarshalArrayOfObject(data.rules, unmarshalACLRule$3),
6342
6343
  totalCount: data.total_count
6343
6344
  };
6344
6345
  };
@@ -6398,7 +6399,7 @@ const unmarshalNodeTypeVolumeType$1 = data => {
6398
6399
  type: data.type
6399
6400
  };
6400
6401
  };
6401
- const unmarshalNodeType$2 = data => {
6402
+ const unmarshalNodeType$3 = data => {
6402
6403
  if (!isJSONObject(data)) {
6403
6404
  throw new TypeError(`Unmarshalling the type 'NodeType' failed as data isn't a dictionary.`);
6404
6405
  }
@@ -6419,12 +6420,12 @@ const unmarshalNodeType$2 = data => {
6419
6420
  volumeConstraint: data.volume_constraint ? unmarshalNodeTypeVolumeConstraintSizes$1(data.volume_constraint) : undefined
6420
6421
  };
6421
6422
  };
6422
- const unmarshalListNodeTypesResponse$2 = data => {
6423
+ const unmarshalListNodeTypesResponse$3 = data => {
6423
6424
  if (!isJSONObject(data)) {
6424
6425
  throw new TypeError(`Unmarshalling the type 'ListNodeTypesResponse' failed as data isn't a dictionary.`);
6425
6426
  }
6426
6427
  return {
6427
- nodeTypes: unmarshalArrayOfObject(data.node_types, unmarshalNodeType$2),
6428
+ nodeTypes: unmarshalArrayOfObject(data.node_types, unmarshalNodeType$3),
6428
6429
  totalCount: data.total_count
6429
6430
  };
6430
6431
  };
@@ -6460,7 +6461,7 @@ const unmarshalSetInstanceACLRulesResponse$1 = data => {
6460
6461
  throw new TypeError(`Unmarshalling the type 'SetInstanceACLRulesResponse' failed as data isn't a dictionary.`);
6461
6462
  }
6462
6463
  return {
6463
- rules: unmarshalArrayOfObject(data.rules, unmarshalACLRule$2)
6464
+ rules: unmarshalArrayOfObject(data.rules, unmarshalACLRule$3)
6464
6465
  };
6465
6466
  };
6466
6467
  const unmarshalSetInstanceSettingsResponse$1 = data => {
@@ -6471,12 +6472,12 @@ const unmarshalSetInstanceSettingsResponse$1 = data => {
6471
6472
  settings: unmarshalArrayOfObject(data.settings, unmarshalInstanceSetting$1)
6472
6473
  };
6473
6474
  };
6474
- const marshalACLRuleRequest$1 = (request, defaults) => ({
6475
+ const marshalACLRuleRequest$2 = (request, defaults) => ({
6475
6476
  description: request.description,
6476
6477
  ip: request.ip
6477
6478
  });
6478
6479
  const marshalAddInstanceACLRulesRequest$1 = (request, defaults) => ({
6479
- rules: request.rules.map(elt => marshalACLRuleRequest$1(elt))
6480
+ rules: request.rules.map(elt => marshalACLRuleRequest$2(elt))
6480
6481
  });
6481
6482
  const marshalInstanceSetting$1 = (request, defaults) => ({
6482
6483
  name: request.name,
@@ -6494,7 +6495,7 @@ const marshalCreateDatabaseRequest$2 = (request, defaults) => ({
6494
6495
  });
6495
6496
  const marshalEndpointSpecPrivateNetworkIpamConfig$1 = (request, defaults) => ({});
6496
6497
  const marshalEndpointSpecLoadBalancer$1 = (request, defaults) => ({});
6497
- const marshalEndpointSpecPrivateNetwork$1 = (request, defaults) => ({
6498
+ const marshalEndpointSpecPrivateNetwork$2 = (request, defaults) => ({
6498
6499
  private_network_id: request.privateNetworkId,
6499
6500
  ...resolveOneOf([{
6500
6501
  param: 'service_ip',
@@ -6504,17 +6505,17 @@ const marshalEndpointSpecPrivateNetwork$1 = (request, defaults) => ({
6504
6505
  value: request.ipamConfig !== undefined ? marshalEndpointSpecPrivateNetworkIpamConfig$1(request.ipamConfig) : undefined
6505
6506
  }])
6506
6507
  });
6507
- const marshalEndpointSpec$2 = (request, defaults) => ({
6508
+ const marshalEndpointSpec$3 = (request, defaults) => ({
6508
6509
  ...resolveOneOf([{
6509
6510
  param: 'load_balancer',
6510
6511
  value: request.loadBalancer !== undefined ? marshalEndpointSpecLoadBalancer$1(request.loadBalancer) : undefined
6511
6512
  }, {
6512
6513
  param: 'private_network',
6513
- value: request.privateNetwork !== undefined ? marshalEndpointSpecPrivateNetwork$1(request.privateNetwork) : undefined
6514
+ value: request.privateNetwork !== undefined ? marshalEndpointSpecPrivateNetwork$2(request.privateNetwork) : undefined
6514
6515
  }])
6515
6516
  });
6516
- const marshalCreateEndpointRequest$1 = (request, defaults) => ({
6517
- endpoint_spec: request.endpointSpec !== undefined ? marshalEndpointSpec$2(request.endpointSpec) : undefined
6517
+ const marshalCreateEndpointRequest$2 = (request, defaults) => ({
6518
+ endpoint_spec: request.endpointSpec !== undefined ? marshalEndpointSpec$3(request.endpointSpec) : undefined
6518
6519
  });
6519
6520
  const marshalCreateInstanceFromSnapshotRequest$1 = (request, defaults) => ({
6520
6521
  instance_name: request.instanceName,
@@ -6525,7 +6526,7 @@ const marshalCreateInstanceRequest$1 = (request, defaults) => ({
6525
6526
  backup_same_region: request.backupSameRegion,
6526
6527
  disable_backup: request.disableBackup,
6527
6528
  engine: request.engine,
6528
- init_endpoints: request.initEndpoints !== undefined ? request.initEndpoints.map(elt => marshalEndpointSpec$2(elt)) : undefined,
6529
+ init_endpoints: request.initEndpoints !== undefined ? request.initEndpoints.map(elt => marshalEndpointSpec$3(elt)) : undefined,
6529
6530
  init_settings: request.initSettings !== undefined ? request.initSettings.map(elt => marshalInstanceSetting$1(elt)) : undefined,
6530
6531
  is_ha_cluster: request.isHaCluster,
6531
6532
  name: request.name || randomName('ins'),
@@ -6596,7 +6597,7 @@ const marshalPurgeInstanceLogsRequest$1 = (request, defaults) => ({
6596
6597
  log_name: request.logName
6597
6598
  });
6598
6599
  const marshalSetInstanceACLRulesRequest$1 = (request, defaults) => ({
6599
- rules: request.rules.map(elt => marshalACLRuleRequest$1(elt))
6600
+ rules: request.rules.map(elt => marshalACLRuleRequest$2(elt))
6600
6601
  });
6601
6602
  const marshalSetInstanceSettingsRequest$1 = (request, defaults) => ({
6602
6603
  settings: request.settings.map(elt => marshalInstanceSetting$1(elt))
@@ -6656,12 +6657,12 @@ const marshalUpgradeInstanceRequest$1 = (request, defaults) => ({
6656
6657
 
6657
6658
  // This file was automatically generated. DO NOT EDIT.
6658
6659
  // If you have any remark or suggestion do not hesitate to open an issue.
6659
- const jsonContentHeaders$o = {
6660
+ const jsonContentHeaders$p = {
6660
6661
  'Content-Type': 'application/json; charset=utf-8'
6661
6662
  };
6662
6663
 
6663
6664
  /** Managed Document Databases API. */
6664
- let API$o = class API extends API$x {
6665
+ let API$p = class API extends API$y {
6665
6666
  /** Lists the available regions of the API. */
6666
6667
  static LOCALITIES = ['fr-par', 'nl-ams', 'pl-waw'];
6667
6668
  pageOfListDatabaseEngines = (request = {}) => this.client.fetch({
@@ -6682,7 +6683,7 @@ let API$o = class API extends API$x {
6682
6683
  method: 'GET',
6683
6684
  path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/node-types`,
6684
6685
  urlParams: urlParams(['include_disabled_types', request.includeDisabledTypes], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize])
6685
- }, unmarshalListNodeTypesResponse$2);
6686
+ }, unmarshalListNodeTypesResponse$3);
6686
6687
 
6687
6688
  /**
6688
6689
  * List available node types. List all available node types. By default, the
@@ -6705,7 +6706,7 @@ let API$o = class API extends API$x {
6705
6706
  */
6706
6707
  upgradeInstance = request => this.client.fetch({
6707
6708
  body: JSON.stringify(marshalUpgradeInstanceRequest$1(request, this.client.settings)),
6708
- headers: jsonContentHeaders$o,
6709
+ headers: jsonContentHeaders$p,
6709
6710
  method: 'POST',
6710
6711
  path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/upgrade`
6711
6712
  }, unmarshalInstance$2);
@@ -6763,7 +6764,7 @@ let API$o = class API extends API$x {
6763
6764
  */
6764
6765
  createInstance = request => this.client.fetch({
6765
6766
  body: JSON.stringify(marshalCreateInstanceRequest$1(request, this.client.settings)),
6766
- headers: jsonContentHeaders$o,
6767
+ headers: jsonContentHeaders$p,
6767
6768
  method: 'POST',
6768
6769
  path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances`
6769
6770
  }, unmarshalInstance$2);
@@ -6777,7 +6778,7 @@ let API$o = class API extends API$x {
6777
6778
  */
6778
6779
  updateInstance = request => this.client.fetch({
6779
6780
  body: JSON.stringify(marshalUpdateInstanceRequest$1(request, this.client.settings)),
6780
- headers: jsonContentHeaders$o,
6781
+ headers: jsonContentHeaders$p,
6781
6782
  method: 'PATCH',
6782
6783
  path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}`
6783
6784
  }, unmarshalInstance$2);
@@ -6808,7 +6809,7 @@ let API$o = class API extends API$x {
6808
6809
  */
6809
6810
  cloneInstance = request => this.client.fetch({
6810
6811
  body: JSON.stringify(marshalCloneInstanceRequest$1(request, this.client.settings)),
6811
- headers: jsonContentHeaders$o,
6812
+ headers: jsonContentHeaders$p,
6812
6813
  method: 'POST',
6813
6814
  path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/clone`
6814
6815
  }, unmarshalInstance$2);
@@ -6823,7 +6824,7 @@ let API$o = class API extends API$x {
6823
6824
  */
6824
6825
  restartInstance = request => this.client.fetch({
6825
6826
  body: '{}',
6826
- headers: jsonContentHeaders$o,
6827
+ headers: jsonContentHeaders$p,
6827
6828
  method: 'POST',
6828
6829
  path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/restart`
6829
6830
  }, unmarshalInstance$2);
@@ -6854,7 +6855,7 @@ let API$o = class API extends API$x {
6854
6855
  */
6855
6856
  renewInstanceCertificate = request => this.client.fetch({
6856
6857
  body: '{}',
6857
- headers: jsonContentHeaders$o,
6858
+ headers: jsonContentHeaders$p,
6858
6859
  method: 'POST',
6859
6860
  path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/renew-certificate`
6860
6861
  });
@@ -6883,7 +6884,7 @@ let API$o = class API extends API$x {
6883
6884
  */
6884
6885
  createReadReplica = request => this.client.fetch({
6885
6886
  body: JSON.stringify(marshalCreateReadReplicaRequest$1(request, this.client.settings)),
6886
- headers: jsonContentHeaders$o,
6887
+ headers: jsonContentHeaders$p,
6887
6888
  method: 'POST',
6888
6889
  path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/read-replicas`
6889
6890
  }, unmarshalReadReplica$1);
@@ -6935,7 +6936,7 @@ let API$o = class API extends API$x {
6935
6936
  */
6936
6937
  resetReadReplica = request => this.client.fetch({
6937
6938
  body: '{}',
6938
- headers: jsonContentHeaders$o,
6939
+ headers: jsonContentHeaders$p,
6939
6940
  method: 'POST',
6940
6941
  path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/read-replicas/${validatePathParam('readReplicaId', request.readReplicaId)}/reset`
6941
6942
  }, unmarshalReadReplica$1);
@@ -6949,7 +6950,7 @@ let API$o = class API extends API$x {
6949
6950
  */
6950
6951
  promoteReadReplica = request => this.client.fetch({
6951
6952
  body: '{}',
6952
- headers: jsonContentHeaders$o,
6953
+ headers: jsonContentHeaders$p,
6953
6954
  method: 'POST',
6954
6955
  path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/read-replicas/${validatePathParam('readReplicaId', request.readReplicaId)}/promote`
6955
6956
  }, unmarshalInstance$2);
@@ -6964,7 +6965,7 @@ let API$o = class API extends API$x {
6964
6965
  */
6965
6966
  createReadReplicaEndpoint = request => this.client.fetch({
6966
6967
  body: JSON.stringify(marshalCreateReadReplicaEndpointRequest$1(request, this.client.settings)),
6967
- headers: jsonContentHeaders$o,
6968
+ headers: jsonContentHeaders$p,
6968
6969
  method: 'POST',
6969
6970
  path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/read-replicas/${validatePathParam('readReplicaId', request.readReplicaId)}/endpoints`
6970
6971
  }, unmarshalReadReplica$1);
@@ -7016,7 +7017,7 @@ let API$o = class API extends API$x {
7016
7017
  */
7017
7018
  purgeInstanceLogs = request => this.client.fetch({
7018
7019
  body: JSON.stringify(marshalPurgeInstanceLogsRequest$1(request, this.client.settings)),
7019
- headers: jsonContentHeaders$o,
7020
+ headers: jsonContentHeaders$p,
7020
7021
  method: 'POST',
7021
7022
  path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/purge-logs`
7022
7023
  });
@@ -7044,7 +7045,7 @@ let API$o = class API extends API$x {
7044
7045
  */
7045
7046
  addInstanceSettings = request => this.client.fetch({
7046
7047
  body: JSON.stringify(marshalAddInstanceSettingsRequest$1(request, this.client.settings)),
7047
- headers: jsonContentHeaders$o,
7048
+ headers: jsonContentHeaders$p,
7048
7049
  method: 'POST',
7049
7050
  path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/settings`
7050
7051
  }, unmarshalAddInstanceSettingsResponse$1);
@@ -7059,7 +7060,7 @@ let API$o = class API extends API$x {
7059
7060
  */
7060
7061
  deleteInstanceSettings = request => this.client.fetch({
7061
7062
  body: JSON.stringify(marshalDeleteInstanceSettingsRequest$1(request, this.client.settings)),
7062
- headers: jsonContentHeaders$o,
7063
+ headers: jsonContentHeaders$p,
7063
7064
  method: 'DELETE',
7064
7065
  path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/settings`
7065
7066
  }, unmarshalDeleteInstanceSettingsResponse$1);
@@ -7074,7 +7075,7 @@ let API$o = class API extends API$x {
7074
7075
  */
7075
7076
  setInstanceSettings = request => this.client.fetch({
7076
7077
  body: JSON.stringify(marshalSetInstanceSettingsRequest$1(request, this.client.settings)),
7077
- headers: jsonContentHeaders$o,
7078
+ headers: jsonContentHeaders$p,
7078
7079
  method: 'PUT',
7079
7080
  path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/settings`
7080
7081
  }, unmarshalSetInstanceSettingsResponse$1);
@@ -7104,7 +7105,7 @@ let API$o = class API extends API$x {
7104
7105
  */
7105
7106
  addInstanceACLRules = request => this.client.fetch({
7106
7107
  body: JSON.stringify(marshalAddInstanceACLRulesRequest$1(request, this.client.settings)),
7107
- headers: jsonContentHeaders$o,
7108
+ headers: jsonContentHeaders$p,
7108
7109
  method: 'POST',
7109
7110
  path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/acls`
7110
7111
  }, unmarshalAddInstanceACLRulesResponse$1);
@@ -7118,7 +7119,7 @@ let API$o = class API extends API$x {
7118
7119
  */
7119
7120
  setInstanceACLRules = request => this.client.fetch({
7120
7121
  body: JSON.stringify(marshalSetInstanceACLRulesRequest$1(request, this.client.settings)),
7121
- headers: jsonContentHeaders$o,
7122
+ headers: jsonContentHeaders$p,
7122
7123
  method: 'PUT',
7123
7124
  path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/acls`
7124
7125
  }, unmarshalSetInstanceACLRulesResponse$1);
@@ -7132,7 +7133,7 @@ let API$o = class API extends API$x {
7132
7133
  */
7133
7134
  deleteInstanceACLRules = request => this.client.fetch({
7134
7135
  body: JSON.stringify(marshalDeleteInstanceACLRulesRequest$1(request, this.client.settings)),
7135
- headers: jsonContentHeaders$o,
7136
+ headers: jsonContentHeaders$p,
7136
7137
  method: 'DELETE',
7137
7138
  path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/acls`
7138
7139
  }, unmarshalDeleteInstanceACLRulesResponse$1);
@@ -7163,7 +7164,7 @@ let API$o = class API extends API$x {
7163
7164
  */
7164
7165
  createUser = request => this.client.fetch({
7165
7166
  body: JSON.stringify(marshalCreateUserRequest$2(request, this.client.settings)),
7166
- headers: jsonContentHeaders$o,
7167
+ headers: jsonContentHeaders$p,
7167
7168
  method: 'POST',
7168
7169
  path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/users`
7169
7170
  }, unmarshalUser$2);
@@ -7178,7 +7179,7 @@ let API$o = class API extends API$x {
7178
7179
  */
7179
7180
  updateUser = request => this.client.fetch({
7180
7181
  body: JSON.stringify(marshalUpdateUserRequest$2(request, this.client.settings)),
7181
- headers: jsonContentHeaders$o,
7182
+ headers: jsonContentHeaders$p,
7182
7183
  method: 'PATCH',
7183
7184
  path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/users/${validatePathParam('name', request.name)}`
7184
7185
  }, unmarshalUser$2);
@@ -7221,7 +7222,7 @@ let API$o = class API extends API$x {
7221
7222
  */
7222
7223
  createDatabase = request => this.client.fetch({
7223
7224
  body: JSON.stringify(marshalCreateDatabaseRequest$2(request, this.client.settings)),
7224
- headers: jsonContentHeaders$o,
7225
+ headers: jsonContentHeaders$p,
7225
7226
  method: 'POST',
7226
7227
  path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/databases`
7227
7228
  }, unmarshalDatabase$2);
@@ -7265,7 +7266,7 @@ let API$o = class API extends API$x {
7265
7266
  */
7266
7267
  setPrivilege = request => this.client.fetch({
7267
7268
  body: JSON.stringify(marshalSetPrivilegeRequest$1(request, this.client.settings)),
7268
- headers: jsonContentHeaders$o,
7269
+ headers: jsonContentHeaders$p,
7269
7270
  method: 'PUT',
7270
7271
  path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/privileges`
7271
7272
  }, unmarshalPrivilege$1);
@@ -7318,7 +7319,7 @@ let API$o = class API extends API$x {
7318
7319
  */
7319
7320
  createSnapshot = request => this.client.fetch({
7320
7321
  body: JSON.stringify(marshalCreateSnapshotRequest$2(request, this.client.settings)),
7321
- headers: jsonContentHeaders$o,
7322
+ headers: jsonContentHeaders$p,
7322
7323
  method: 'POST',
7323
7324
  path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/snapshots`
7324
7325
  }, unmarshalSnapshot$2);
@@ -7333,7 +7334,7 @@ let API$o = class API extends API$x {
7333
7334
  */
7334
7335
  updateSnapshot = request => this.client.fetch({
7335
7336
  body: JSON.stringify(marshalUpdateSnapshotRequest$2(request, this.client.settings)),
7336
- headers: jsonContentHeaders$o,
7337
+ headers: jsonContentHeaders$p,
7337
7338
  method: 'PATCH',
7338
7339
  path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/snapshots/${validatePathParam('snapshotId', request.snapshotId)}`
7339
7340
  }, unmarshalSnapshot$2);
@@ -7366,7 +7367,7 @@ let API$o = class API extends API$x {
7366
7367
  */
7367
7368
  createInstanceFromSnapshot = request => this.client.fetch({
7368
7369
  body: JSON.stringify(marshalCreateInstanceFromSnapshotRequest$1(request, this.client.settings)),
7369
- headers: jsonContentHeaders$o,
7370
+ headers: jsonContentHeaders$p,
7370
7371
  method: 'POST',
7371
7372
  path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/snapshots/${validatePathParam('snapshotId', request.snapshotId)}/create-instance`
7372
7373
  }, unmarshalInstance$2);
@@ -7380,11 +7381,11 @@ let API$o = class API extends API$x {
7380
7381
  * @returns A Promise of Endpoint
7381
7382
  */
7382
7383
  createEndpoint = request => this.client.fetch({
7383
- body: JSON.stringify(marshalCreateEndpointRequest$1(request, this.client.settings)),
7384
- headers: jsonContentHeaders$o,
7384
+ body: JSON.stringify(marshalCreateEndpointRequest$2(request, this.client.settings)),
7385
+ headers: jsonContentHeaders$p,
7385
7386
  method: 'POST',
7386
7387
  path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/endpoints`
7387
- }, unmarshalEndpoint$2);
7388
+ }, unmarshalEndpoint$3);
7388
7389
 
7389
7390
  /**
7390
7391
  * Delete a Database Instance endpoint. Delete the endpoint of a Database
@@ -7411,7 +7412,7 @@ let API$o = class API extends API$x {
7411
7412
  getEndpoint = request => this.client.fetch({
7412
7413
  method: 'GET',
7413
7414
  path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/endpoints/${validatePathParam('endpointId', request.endpointId)}`
7414
- }, unmarshalEndpoint$2);
7415
+ }, unmarshalEndpoint$3);
7415
7416
 
7416
7417
  /**
7417
7418
  * Migrate Database Instance endpoint. Migrate an existing Database Instance
@@ -7422,10 +7423,24 @@ let API$o = class API extends API$x {
7422
7423
  */
7423
7424
  migrateEndpoint = request => this.client.fetch({
7424
7425
  body: JSON.stringify(marshalMigrateEndpointRequest$1(request, this.client.settings)),
7425
- headers: jsonContentHeaders$o,
7426
+ headers: jsonContentHeaders$p,
7426
7427
  method: 'POST',
7427
7428
  path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/endpoints/${validatePathParam('endpointId', request.endpointId)}/migrate`
7428
- }, unmarshalEndpoint$2);
7429
+ }, unmarshalEndpoint$3);
7430
+
7431
+ /**
7432
+ * Apply an instance maintenance. Apply a pending instance maintenance on your
7433
+ * instance. This action can generate some service interruption.
7434
+ *
7435
+ * @param request - The request {@link ApplyInstanceMaintenanceRequest}
7436
+ * @returns A Promise of Maintenance
7437
+ */
7438
+ applyInstanceMaintenance = request => this.client.fetch({
7439
+ body: '{}',
7440
+ headers: jsonContentHeaders$p,
7441
+ method: 'POST',
7442
+ path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/apply-maintenance`
7443
+ }, unmarshalMaintenance$1);
7429
7444
  };
7430
7445
 
7431
7446
  // This file was automatically generated. DO NOT EDIT.
@@ -7437,7 +7452,7 @@ const UpdateInstanceRequest$1 = {
7437
7452
  }
7438
7453
  };
7439
7454
 
7440
- var validationRules_gen$a = /*#__PURE__*/Object.freeze({
7455
+ var validationRules_gen$b = /*#__PURE__*/Object.freeze({
7441
7456
  __proto__: null,
7442
7457
  UpdateInstanceRequest: UpdateInstanceRequest$1
7443
7458
  });
@@ -7445,20 +7460,20 @@ var validationRules_gen$a = /*#__PURE__*/Object.freeze({
7445
7460
  // This file was automatically generated. DO NOT EDIT.
7446
7461
  // If you have any remark or suggestion do not hesitate to open an issue.
7447
7462
 
7448
- var index_gen$n = /*#__PURE__*/Object.freeze({
7463
+ var index_gen$o = /*#__PURE__*/Object.freeze({
7449
7464
  __proto__: null,
7450
- API: API$o,
7465
+ API: API$p,
7451
7466
  INSTANCE_LOG_TRANSIENT_STATUSES: INSTANCE_LOG_TRANSIENT_STATUSES$1,
7452
7467
  INSTANCE_TRANSIENT_STATUSES: INSTANCE_TRANSIENT_STATUSES$2,
7453
7468
  MAINTENANCE_TRANSIENT_STATUSES: MAINTENANCE_TRANSIENT_STATUSES$1,
7454
7469
  READ_REPLICA_TRANSIENT_STATUSES: READ_REPLICA_TRANSIENT_STATUSES$1,
7455
7470
  SNAPSHOT_TRANSIENT_STATUSES: SNAPSHOT_TRANSIENT_STATUSES$2,
7456
- ValidationRules: validationRules_gen$a
7471
+ ValidationRules: validationRules_gen$b
7457
7472
  });
7458
7473
 
7459
- var index$q = /*#__PURE__*/Object.freeze({
7474
+ var index$r = /*#__PURE__*/Object.freeze({
7460
7475
  __proto__: null,
7461
- v1beta1: index_gen$n
7476
+ v1beta1: index_gen$o
7462
7477
  });
7463
7478
 
7464
7479
  // This file was automatically generated. DO NOT EDIT.
@@ -8664,7 +8679,7 @@ const marshalUpdateDNSZoneRequest = (request, defaults) => ({
8664
8679
 
8665
8680
  // This file was automatically generated. DO NOT EDIT.
8666
8681
  // If you have any remark or suggestion do not hesitate to open an issue.
8667
- const jsonContentHeaders$n = {
8682
+ const jsonContentHeaders$o = {
8668
8683
  'Content-Type': 'application/json; charset=utf-8'
8669
8684
  };
8670
8685
 
@@ -8673,7 +8688,7 @@ const jsonContentHeaders$n = {
8673
8688
  *
8674
8689
  * Manage your domains, DNS zones and records with the Domains and DNS API.
8675
8690
  */
8676
- let API$n = class API extends API$x {
8691
+ let API$o = class API extends API$y {
8677
8692
  pageOfListDNSZones = request => this.client.fetch({
8678
8693
  method: 'GET',
8679
8694
  path: `/domain/v2beta1/dns-zones`,
@@ -8698,7 +8713,7 @@ let API$n = class API extends API$x {
8698
8713
  */
8699
8714
  createDNSZone = request => this.client.fetch({
8700
8715
  body: JSON.stringify(marshalCreateDNSZoneRequest(request, this.client.settings)),
8701
- headers: jsonContentHeaders$n,
8716
+ headers: jsonContentHeaders$o,
8702
8717
  method: 'POST',
8703
8718
  path: `/domain/v2beta1/dns-zones`
8704
8719
  }, unmarshalDNSZone);
@@ -8711,7 +8726,7 @@ let API$n = class API extends API$x {
8711
8726
  */
8712
8727
  updateDNSZone = request => this.client.fetch({
8713
8728
  body: JSON.stringify(marshalUpdateDNSZoneRequest(request, this.client.settings)),
8714
- headers: jsonContentHeaders$n,
8729
+ headers: jsonContentHeaders$o,
8715
8730
  method: 'PATCH',
8716
8731
  path: `/domain/v2beta1/dns-zones/${validatePathParam('dnsZone', request.dnsZone)}`
8717
8732
  }, unmarshalDNSZone);
@@ -8725,7 +8740,7 @@ let API$n = class API extends API$x {
8725
8740
  */
8726
8741
  cloneDNSZone = request => this.client.fetch({
8727
8742
  body: JSON.stringify(marshalCloneDNSZoneRequest(request, this.client.settings)),
8728
- headers: jsonContentHeaders$n,
8743
+ headers: jsonContentHeaders$o,
8729
8744
  method: 'POST',
8730
8745
  path: `/domain/v2beta1/dns-zones/${validatePathParam('dnsZone', request.dnsZone)}/clone`
8731
8746
  }, unmarshalDNSZone);
@@ -8778,7 +8793,7 @@ let API$n = class API extends API$x {
8778
8793
  */
8779
8794
  updateDNSZoneRecords = request => this.client.fetch({
8780
8795
  body: JSON.stringify(marshalUpdateDNSZoneRecordsRequest(request, this.client.settings)),
8781
- headers: jsonContentHeaders$n,
8796
+ headers: jsonContentHeaders$o,
8782
8797
  method: 'PATCH',
8783
8798
  path: `/domain/v2beta1/dns-zones/${validatePathParam('dnsZone', request.dnsZone)}/records`
8784
8799
  }, unmarshalUpdateDNSZoneRecordsResponse);
@@ -8805,7 +8820,7 @@ let API$n = class API extends API$x {
8805
8820
  */
8806
8821
  updateDNSZoneNameservers = request => this.client.fetch({
8807
8822
  body: JSON.stringify(marshalUpdateDNSZoneNameserversRequest(request, this.client.settings)),
8808
- headers: jsonContentHeaders$n,
8823
+ headers: jsonContentHeaders$o,
8809
8824
  method: 'PUT',
8810
8825
  path: `/domain/v2beta1/dns-zones/${validatePathParam('dnsZone', request.dnsZone)}/nameservers`
8811
8826
  }, unmarshalUpdateDNSZoneNameserversResponse);
@@ -8845,7 +8860,7 @@ let API$n = class API extends API$x {
8845
8860
  */
8846
8861
  importRawDNSZone = request => this.client.fetch({
8847
8862
  body: JSON.stringify(marshalImportRawDNSZoneRequest(request, this.client.settings)),
8848
- headers: jsonContentHeaders$n,
8863
+ headers: jsonContentHeaders$o,
8849
8864
  method: 'POST',
8850
8865
  path: `/domain/v2beta1/dns-zones/${validatePathParam('dnsZone', request.dnsZone)}/raw`
8851
8866
  }, unmarshalImportRawDNSZoneResponse);
@@ -8859,7 +8874,7 @@ let API$n = class API extends API$x {
8859
8874
  */
8860
8875
  importProviderDNSZone = request => this.client.fetch({
8861
8876
  body: JSON.stringify(marshalImportProviderDNSZoneRequest(request, this.client.settings)),
8862
- headers: jsonContentHeaders$n,
8877
+ headers: jsonContentHeaders$o,
8863
8878
  method: 'POST',
8864
8879
  path: `/domain/v2beta1/dns-zones/${validatePathParam('dnsZone', request.dnsZone)}/import-provider`
8865
8880
  }, unmarshalImportProviderDNSZoneResponse);
@@ -8874,7 +8889,7 @@ let API$n = class API extends API$x {
8874
8889
  */
8875
8890
  refreshDNSZone = request => this.client.fetch({
8876
8891
  body: JSON.stringify(marshalRefreshDNSZoneRequest(request, this.client.settings)),
8877
- headers: jsonContentHeaders$n,
8892
+ headers: jsonContentHeaders$o,
8878
8893
  method: 'POST',
8879
8894
  path: `/domain/v2beta1/dns-zones/${validatePathParam('dnsZone', request.dnsZone)}/refresh`
8880
8895
  }, unmarshalRefreshDNSZoneResponse);
@@ -8929,7 +8944,7 @@ let API$n = class API extends API$x {
8929
8944
  */
8930
8945
  restoreDNSZoneVersion = request => this.client.fetch({
8931
8946
  body: '{}',
8932
- headers: jsonContentHeaders$n,
8947
+ headers: jsonContentHeaders$o,
8933
8948
  method: 'POST',
8934
8949
  path: `/domain/v2beta1/dns-zones/version/${validatePathParam('dnsZoneVersionId', request.dnsZoneVersionId)}/restore`
8935
8950
  }, unmarshalRestoreDNSZoneVersionResponse);
@@ -8964,7 +8979,7 @@ let API$n = class API extends API$x {
8964
8979
  */
8965
8980
  createSSLCertificate = request => this.client.fetch({
8966
8981
  body: JSON.stringify(marshalCreateSSLCertificateRequest(request, this.client.settings)),
8967
- headers: jsonContentHeaders$n,
8982
+ headers: jsonContentHeaders$o,
8968
8983
  method: 'POST',
8969
8984
  path: `/domain/v2beta1/ssl-certificates`
8970
8985
  }, unmarshalSSLCertificate);
@@ -9025,7 +9040,7 @@ let API$n = class API extends API$x {
9025
9040
  *
9026
9041
  * Manage your domains and contacts.
9027
9042
  */
9028
- class RegistrarAPI extends API$x {
9043
+ class RegistrarAPI extends API$y {
9029
9044
  pageOfListTasks = (request = {}) => this.client.fetch({
9030
9045
  method: 'GET',
9031
9046
  path: `/domain/v2beta1/tasks`,
@@ -9050,7 +9065,7 @@ class RegistrarAPI extends API$x {
9050
9065
  */
9051
9066
  buyDomains = request => this.client.fetch({
9052
9067
  body: JSON.stringify(marshalRegistrarApiBuyDomainsRequest(request, this.client.settings)),
9053
- headers: jsonContentHeaders$n,
9068
+ headers: jsonContentHeaders$o,
9054
9069
  method: 'POST',
9055
9070
  path: `/domain/v2beta1/buy-domains`
9056
9071
  }, unmarshalOrderResponse);
@@ -9063,7 +9078,7 @@ class RegistrarAPI extends API$x {
9063
9078
  */
9064
9079
  renewDomains = request => this.client.fetch({
9065
9080
  body: JSON.stringify(marshalRegistrarApiRenewDomainsRequest(request, this.client.settings)),
9066
- headers: jsonContentHeaders$n,
9081
+ headers: jsonContentHeaders$o,
9067
9082
  method: 'POST',
9068
9083
  path: `/domain/v2beta1/renew-domains`
9069
9084
  }, unmarshalOrderResponse);
@@ -9077,7 +9092,7 @@ class RegistrarAPI extends API$x {
9077
9092
  */
9078
9093
  transferInDomain = request => this.client.fetch({
9079
9094
  body: JSON.stringify(marshalRegistrarApiTransferInDomainRequest(request, this.client.settings)),
9080
- headers: jsonContentHeaders$n,
9095
+ headers: jsonContentHeaders$o,
9081
9096
  method: 'POST',
9082
9097
  path: `/domain/v2beta1/domains/transfer-domains`
9083
9098
  }, unmarshalOrderResponse);
@@ -9097,7 +9112,7 @@ class RegistrarAPI extends API$x {
9097
9112
  */
9098
9113
  tradeDomain = request => this.client.fetch({
9099
9114
  body: JSON.stringify(marshalRegistrarApiTradeDomainRequest(request, this.client.settings)),
9100
- headers: jsonContentHeaders$n,
9115
+ headers: jsonContentHeaders$o,
9101
9116
  method: 'POST',
9102
9117
  path: `/domain/v2beta1/domains/${validatePathParam('domain', request.domain)}/trade`
9103
9118
  }, unmarshalOrderResponse);
@@ -9112,7 +9127,7 @@ class RegistrarAPI extends API$x {
9112
9127
  */
9113
9128
  registerExternalDomain = request => this.client.fetch({
9114
9129
  body: JSON.stringify(marshalRegistrarApiRegisterExternalDomainRequest(request, this.client.settings)),
9115
- headers: jsonContentHeaders$n,
9130
+ headers: jsonContentHeaders$o,
9116
9131
  method: 'POST',
9117
9132
  path: `/domain/v2beta1/external-domains`
9118
9133
  }, unmarshalRegisterExternalDomainResponse);
@@ -9140,7 +9155,7 @@ class RegistrarAPI extends API$x {
9140
9155
  */
9141
9156
  checkContactsCompatibility = (request = {}) => this.client.fetch({
9142
9157
  body: JSON.stringify(marshalRegistrarApiCheckContactsCompatibilityRequest(request, this.client.settings)),
9143
- headers: jsonContentHeaders$n,
9158
+ headers: jsonContentHeaders$o,
9144
9159
  method: 'POST',
9145
9160
  path: `/domain/v2beta1/check-contacts-compatibility`
9146
9161
  }, unmarshalCheckContactsCompatibilityResponse);
@@ -9179,7 +9194,7 @@ class RegistrarAPI extends API$x {
9179
9194
  */
9180
9195
  updateContact = request => this.client.fetch({
9181
9196
  body: JSON.stringify(marshalRegistrarApiUpdateContactRequest(request, this.client.settings)),
9182
- headers: jsonContentHeaders$n,
9197
+ headers: jsonContentHeaders$o,
9183
9198
  method: 'PATCH',
9184
9199
  path: `/domain/v2beta1/contacts/${validatePathParam('contactId', request.contactId)}`
9185
9200
  }, unmarshalContact);
@@ -9244,7 +9259,7 @@ class RegistrarAPI extends API$x {
9244
9259
  */
9245
9260
  updateDomain = request => this.client.fetch({
9246
9261
  body: JSON.stringify(marshalRegistrarApiUpdateDomainRequest(request, this.client.settings)),
9247
- headers: jsonContentHeaders$n,
9262
+ headers: jsonContentHeaders$o,
9248
9263
  method: 'PATCH',
9249
9264
  path: `/domain/v2beta1/domains/${validatePathParam('domain', request.domain)}`
9250
9265
  }, unmarshalDomain$2);
@@ -9259,7 +9274,7 @@ class RegistrarAPI extends API$x {
9259
9274
  */
9260
9275
  lockDomainTransfer = request => this.client.fetch({
9261
9276
  body: '{}',
9262
- headers: jsonContentHeaders$n,
9277
+ headers: jsonContentHeaders$o,
9263
9278
  method: 'POST',
9264
9279
  path: `/domain/v2beta1/domains/${validatePathParam('domain', request.domain)}/lock-transfer`
9265
9280
  }, unmarshalDomain$2);
@@ -9274,7 +9289,7 @@ class RegistrarAPI extends API$x {
9274
9289
  */
9275
9290
  unlockDomainTransfer = request => this.client.fetch({
9276
9291
  body: '{}',
9277
- headers: jsonContentHeaders$n,
9292
+ headers: jsonContentHeaders$o,
9278
9293
  method: 'POST',
9279
9294
  path: `/domain/v2beta1/domains/${validatePathParam('domain', request.domain)}/unlock-transfer`
9280
9295
  }, unmarshalDomain$2);
@@ -9289,7 +9304,7 @@ class RegistrarAPI extends API$x {
9289
9304
  */
9290
9305
  enableDomainAutoRenew = request => this.client.fetch({
9291
9306
  body: '{}',
9292
- headers: jsonContentHeaders$n,
9307
+ headers: jsonContentHeaders$o,
9293
9308
  method: 'POST',
9294
9309
  path: `/domain/v2beta1/domains/${validatePathParam('domain', request.domain)}/enable-auto-renew`
9295
9310
  }, unmarshalDomain$2);
@@ -9304,7 +9319,7 @@ class RegistrarAPI extends API$x {
9304
9319
  */
9305
9320
  disableDomainAutoRenew = request => this.client.fetch({
9306
9321
  body: '{}',
9307
- headers: jsonContentHeaders$n,
9322
+ headers: jsonContentHeaders$o,
9308
9323
  method: 'POST',
9309
9324
  path: `/domain/v2beta1/domains/${validatePathParam('domain', request.domain)}/disable-auto-renew`
9310
9325
  }, unmarshalDomain$2);
@@ -9333,7 +9348,7 @@ class RegistrarAPI extends API$x {
9333
9348
  */
9334
9349
  enableDomainDNSSEC = request => this.client.fetch({
9335
9350
  body: JSON.stringify(marshalRegistrarApiEnableDomainDNSSECRequest(request, this.client.settings)),
9336
- headers: jsonContentHeaders$n,
9351
+ headers: jsonContentHeaders$o,
9337
9352
  method: 'POST',
9338
9353
  path: `/domain/v2beta1/domains/${validatePathParam('domain', request.domain)}/enable-dnssec`
9339
9354
  }, unmarshalDomain$2);
@@ -9346,7 +9361,7 @@ class RegistrarAPI extends API$x {
9346
9361
  */
9347
9362
  disableDomainDNSSEC = request => this.client.fetch({
9348
9363
  body: '{}',
9349
- headers: jsonContentHeaders$n,
9364
+ headers: jsonContentHeaders$o,
9350
9365
  method: 'POST',
9351
9366
  path: `/domain/v2beta1/domains/${validatePathParam('domain', request.domain)}/disable-dnssec`
9352
9367
  }, unmarshalDomain$2);
@@ -9390,7 +9405,7 @@ class RegistrarAPI extends API$x {
9390
9405
  */
9391
9406
  createDomainHost = request => this.client.fetch({
9392
9407
  body: JSON.stringify(marshalRegistrarApiCreateDomainHostRequest(request, this.client.settings)),
9393
- headers: jsonContentHeaders$n,
9408
+ headers: jsonContentHeaders$o,
9394
9409
  method: 'POST',
9395
9410
  path: `/domain/v2beta1/domains/${validatePathParam('domain', request.domain)}/hosts`
9396
9411
  }, unmarshalHost);
@@ -9416,7 +9431,7 @@ class RegistrarAPI extends API$x {
9416
9431
  */
9417
9432
  updateDomainHost = request => this.client.fetch({
9418
9433
  body: JSON.stringify(marshalRegistrarApiUpdateDomainHostRequest(request, this.client.settings)),
9419
- headers: jsonContentHeaders$n,
9434
+ headers: jsonContentHeaders$o,
9420
9435
  method: 'PATCH',
9421
9436
  path: `/domain/v2beta1/domains/${validatePathParam('domain', request.domain)}/hosts/${validatePathParam('name', request.name)}`
9422
9437
  }, unmarshalHost);
@@ -9436,9 +9451,9 @@ class RegistrarAPI extends API$x {
9436
9451
  // This file was automatically generated. DO NOT EDIT.
9437
9452
  // If you have any remark or suggestion do not hesitate to open an issue.
9438
9453
 
9439
- var index_gen$m = /*#__PURE__*/Object.freeze({
9454
+ var index_gen$n = /*#__PURE__*/Object.freeze({
9440
9455
  __proto__: null,
9441
- API: API$n,
9456
+ API: API$o,
9442
9457
  DNS_ZONE_TRANSIENT_STATUSES: DNS_ZONE_TRANSIENT_STATUSES,
9443
9458
  DOMAIN_FEATURE_TRANSIENT_STATUSES: DOMAIN_FEATURE_TRANSIENT_STATUSES,
9444
9459
  DOMAIN_REGISTRATION_STATUS_TRANSFER_TRANSIENT_STATUSES: DOMAIN_REGISTRATION_STATUS_TRANSFER_TRANSIENT_STATUSES,
@@ -9449,9 +9464,9 @@ var index_gen$m = /*#__PURE__*/Object.freeze({
9449
9464
  TASK_TRANSIENT_STATUSES: TASK_TRANSIENT_STATUSES$1
9450
9465
  });
9451
9466
 
9452
- var index$p = /*#__PURE__*/Object.freeze({
9467
+ var index$q = /*#__PURE__*/Object.freeze({
9453
9468
  __proto__: null,
9454
- v2beta1: index_gen$m
9469
+ v2beta1: index_gen$n
9455
9470
  });
9456
9471
 
9457
9472
  // This file was automatically generated. DO NOT EDIT.
@@ -9558,12 +9573,12 @@ const marshalUpdateFlexibleIPRequest = (request, defaults) => ({
9558
9573
 
9559
9574
  // This file was automatically generated. DO NOT EDIT.
9560
9575
  // If you have any remark or suggestion do not hesitate to open an issue.
9561
- const jsonContentHeaders$m = {
9576
+ const jsonContentHeaders$n = {
9562
9577
  'Content-Type': 'application/json; charset=utf-8'
9563
9578
  };
9564
9579
 
9565
9580
  /** Elastic Metal - Flexible IP API. */
9566
- let API$m = class API extends API$x {
9581
+ let API$n = class API extends API$y {
9567
9582
  /** Lists the available zones of the API. */
9568
9583
  static LOCALITIES = ['fr-par-1', 'fr-par-2', 'nl-ams-1'];
9569
9584
 
@@ -9576,7 +9591,7 @@ let API$m = class API extends API$x {
9576
9591
  */
9577
9592
  createFlexibleIP = request => this.client.fetch({
9578
9593
  body: JSON.stringify(marshalCreateFlexibleIPRequest(request, this.client.settings)),
9579
- headers: jsonContentHeaders$m,
9594
+ headers: jsonContentHeaders$n,
9580
9595
  method: 'POST',
9581
9596
  path: `/flexible-ip/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/fips`
9582
9597
  }, unmarshalFlexibleIP);
@@ -9626,7 +9641,7 @@ let API$m = class API extends API$x {
9626
9641
  */
9627
9642
  updateFlexibleIP = request => this.client.fetch({
9628
9643
  body: JSON.stringify(marshalUpdateFlexibleIPRequest(request, this.client.settings)),
9629
- headers: jsonContentHeaders$m,
9644
+ headers: jsonContentHeaders$n,
9630
9645
  method: 'PATCH',
9631
9646
  path: `/flexible-ip/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/fips/${validatePathParam('fipId', request.fipId)}`
9632
9647
  }, unmarshalFlexibleIP);
@@ -9652,7 +9667,7 @@ let API$m = class API extends API$x {
9652
9667
  */
9653
9668
  attachFlexibleIP = request => this.client.fetch({
9654
9669
  body: JSON.stringify(marshalAttachFlexibleIPRequest(request, this.client.settings)),
9655
- headers: jsonContentHeaders$m,
9670
+ headers: jsonContentHeaders$n,
9656
9671
  method: 'POST',
9657
9672
  path: `/flexible-ip/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/fips/attach`
9658
9673
  }, unmarshalAttachFlexibleIPsResponse);
@@ -9666,7 +9681,7 @@ let API$m = class API extends API$x {
9666
9681
  */
9667
9682
  detachFlexibleIP = request => this.client.fetch({
9668
9683
  body: JSON.stringify(marshalDetachFlexibleIPRequest(request, this.client.settings)),
9669
- headers: jsonContentHeaders$m,
9684
+ headers: jsonContentHeaders$n,
9670
9685
  method: 'POST',
9671
9686
  path: `/flexible-ip/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/fips/detach`
9672
9687
  }, unmarshalDetachFlexibleIPsResponse);
@@ -9680,7 +9695,7 @@ let API$m = class API extends API$x {
9680
9695
  */
9681
9696
  generateMACAddr = request => this.client.fetch({
9682
9697
  body: JSON.stringify(marshalGenerateMACAddrRequest(request, this.client.settings)),
9683
- headers: jsonContentHeaders$m,
9698
+ headers: jsonContentHeaders$n,
9684
9699
  method: 'POST',
9685
9700
  path: `/flexible-ip/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/fips/${validatePathParam('fipId', request.fipId)}/mac`
9686
9701
  }, unmarshalFlexibleIP);
@@ -9695,7 +9710,7 @@ let API$m = class API extends API$x {
9695
9710
  */
9696
9711
  duplicateMACAddr = request => this.client.fetch({
9697
9712
  body: JSON.stringify(marshalDuplicateMACAddrRequest(request, this.client.settings)),
9698
- headers: jsonContentHeaders$m,
9713
+ headers: jsonContentHeaders$n,
9699
9714
  method: 'POST',
9700
9715
  path: `/flexible-ip/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/fips/${validatePathParam('fipId', request.fipId)}/mac/duplicate`
9701
9716
  }, unmarshalFlexibleIP);
@@ -9710,7 +9725,7 @@ let API$m = class API extends API$x {
9710
9725
  */
9711
9726
  moveMACAddr = request => this.client.fetch({
9712
9727
  body: JSON.stringify(marshalMoveMACAddrRequest(request, this.client.settings)),
9713
- headers: jsonContentHeaders$m,
9728
+ headers: jsonContentHeaders$n,
9714
9729
  method: 'POST',
9715
9730
  path: `/flexible-ip/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/fips/${validatePathParam('fipId', request.fipId)}/mac/move`
9716
9731
  }, unmarshalFlexibleIP);
@@ -9740,7 +9755,7 @@ const ListFlexibleIPsRequest = {
9740
9755
  }
9741
9756
  };
9742
9757
 
9743
- var validationRules_gen$9 = /*#__PURE__*/Object.freeze({
9758
+ var validationRules_gen$a = /*#__PURE__*/Object.freeze({
9744
9759
  __proto__: null,
9745
9760
  ListFlexibleIPsRequest: ListFlexibleIPsRequest
9746
9761
  });
@@ -9748,17 +9763,17 @@ var validationRules_gen$9 = /*#__PURE__*/Object.freeze({
9748
9763
  // This file was automatically generated. DO NOT EDIT.
9749
9764
  // If you have any remark or suggestion do not hesitate to open an issue.
9750
9765
 
9751
- var index_gen$l = /*#__PURE__*/Object.freeze({
9766
+ var index_gen$m = /*#__PURE__*/Object.freeze({
9752
9767
  __proto__: null,
9753
- API: API$m,
9768
+ API: API$n,
9754
9769
  FLEXIBLE_IP_TRANSIENT_STATUSES: FLEXIBLE_IP_TRANSIENT_STATUSES,
9755
9770
  MAC_ADDRESS_TRANSIENT_STATUSES: MAC_ADDRESS_TRANSIENT_STATUSES,
9756
- ValidationRules: validationRules_gen$9
9771
+ ValidationRules: validationRules_gen$a
9757
9772
  });
9758
9773
 
9759
- var index$o = /*#__PURE__*/Object.freeze({
9774
+ var index$p = /*#__PURE__*/Object.freeze({
9760
9775
  __proto__: null,
9761
- v1alpha1: index_gen$l
9776
+ v1alpha1: index_gen$m
9762
9777
  });
9763
9778
 
9764
9779
  // This file was automatically generated. DO NOT EDIT.
@@ -10149,12 +10164,12 @@ const marshalUpdateTriggerRequest = (request, defaults) => ({
10149
10164
 
10150
10165
  // This file was automatically generated. DO NOT EDIT.
10151
10166
  // If you have any remark or suggestion do not hesitate to open an issue.
10152
- const jsonContentHeaders$l = {
10167
+ const jsonContentHeaders$m = {
10153
10168
  'Content-Type': 'application/json; charset=utf-8'
10154
10169
  };
10155
10170
 
10156
10171
  /** Serverless Functions API. */
10157
- let API$l = class API extends API$x {
10172
+ let API$m = class API extends API$y {
10158
10173
  /** Lists the available regions of the API. */
10159
10174
  static LOCALITIES = ['fr-par', 'nl-ams', 'pl-waw'];
10160
10175
  pageOfListNamespaces = (request = {}) => this.client.fetch({
@@ -10201,7 +10216,7 @@ let API$l = class API extends API$x {
10201
10216
  */
10202
10217
  createNamespace = (request = {}) => this.client.fetch({
10203
10218
  body: JSON.stringify(marshalCreateNamespaceRequest$1(request, this.client.settings)),
10204
- headers: jsonContentHeaders$l,
10219
+ headers: jsonContentHeaders$m,
10205
10220
  method: 'POST',
10206
10221
  path: `/functions/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/namespaces`
10207
10222
  }, unmarshalNamespace$1);
@@ -10215,7 +10230,7 @@ let API$l = class API extends API$x {
10215
10230
  */
10216
10231
  updateNamespace = request => this.client.fetch({
10217
10232
  body: JSON.stringify(marshalUpdateNamespaceRequest$1(request, this.client.settings)),
10218
- headers: jsonContentHeaders$l,
10233
+ headers: jsonContentHeaders$m,
10219
10234
  method: 'PATCH',
10220
10235
  path: `/functions/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/namespaces/${validatePathParam('namespaceId', request.namespaceId)}`
10221
10236
  }, unmarshalNamespace$1);
@@ -10274,7 +10289,7 @@ let API$l = class API extends API$x {
10274
10289
  */
10275
10290
  createFunction = request => this.client.fetch({
10276
10291
  body: JSON.stringify(marshalCreateFunctionRequest(request, this.client.settings)),
10277
- headers: jsonContentHeaders$l,
10292
+ headers: jsonContentHeaders$m,
10278
10293
  method: 'POST',
10279
10294
  path: `/functions/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/functions`
10280
10295
  }, unmarshalFunction);
@@ -10288,7 +10303,7 @@ let API$l = class API extends API$x {
10288
10303
  */
10289
10304
  updateFunction = request => this.client.fetch({
10290
10305
  body: JSON.stringify(marshalUpdateFunctionRequest(request, this.client.settings)),
10291
- headers: jsonContentHeaders$l,
10306
+ headers: jsonContentHeaders$m,
10292
10307
  method: 'PATCH',
10293
10308
  path: `/functions/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/functions/${validatePathParam('functionId', request.functionId)}`
10294
10309
  }, unmarshalFunction);
@@ -10312,7 +10327,7 @@ let API$l = class API extends API$x {
10312
10327
  */
10313
10328
  deployFunction = request => this.client.fetch({
10314
10329
  body: '{}',
10315
- headers: jsonContentHeaders$l,
10330
+ headers: jsonContentHeaders$m,
10316
10331
  method: 'POST',
10317
10332
  path: `/functions/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/functions/${validatePathParam('functionId', request.functionId)}/deploy`
10318
10333
  }, unmarshalFunction);
@@ -10395,7 +10410,7 @@ let API$l = class API extends API$x {
10395
10410
  */
10396
10411
  createCron = request => this.client.fetch({
10397
10412
  body: JSON.stringify(marshalCreateCronRequest(request, this.client.settings)),
10398
- headers: jsonContentHeaders$l,
10413
+ headers: jsonContentHeaders$m,
10399
10414
  method: 'POST',
10400
10415
  path: `/functions/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/crons`
10401
10416
  }, unmarshalCron);
@@ -10408,7 +10423,7 @@ let API$l = class API extends API$x {
10408
10423
  */
10409
10424
  updateCron = request => this.client.fetch({
10410
10425
  body: JSON.stringify(marshalUpdateCronRequest(request, this.client.settings)),
10411
- headers: jsonContentHeaders$l,
10426
+ headers: jsonContentHeaders$m,
10412
10427
  method: 'PATCH',
10413
10428
  path: `/functions/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/crons/${validatePathParam('cronId', request.cronId)}`
10414
10429
  }, unmarshalCron);
@@ -10468,7 +10483,7 @@ let API$l = class API extends API$x {
10468
10483
  */
10469
10484
  createDomain = request => this.client.fetch({
10470
10485
  body: JSON.stringify(marshalCreateDomainRequest$1(request, this.client.settings)),
10471
- headers: jsonContentHeaders$l,
10486
+ headers: jsonContentHeaders$m,
10472
10487
  method: 'POST',
10473
10488
  path: `/functions/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/domains`
10474
10489
  }, unmarshalDomain$1);
@@ -10512,7 +10527,7 @@ let API$l = class API extends API$x {
10512
10527
  */
10513
10528
  createToken = (request = {}) => this.client.fetch({
10514
10529
  body: JSON.stringify(marshalCreateTokenRequest(request, this.client.settings)),
10515
- headers: jsonContentHeaders$l,
10530
+ headers: jsonContentHeaders$m,
10516
10531
  method: 'POST',
10517
10532
  path: `/functions/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/tokens`
10518
10533
  }, unmarshalToken);
@@ -10569,7 +10584,7 @@ let API$l = class API extends API$x {
10569
10584
  */
10570
10585
  createTrigger = request => this.client.fetch({
10571
10586
  body: JSON.stringify(marshalCreateTriggerRequest(request, this.client.settings)),
10572
- headers: jsonContentHeaders$l,
10587
+ headers: jsonContentHeaders$m,
10573
10588
  method: 'POST',
10574
10589
  path: `/functions/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/triggers`
10575
10590
  }, unmarshalTrigger);
@@ -10626,7 +10641,7 @@ let API$l = class API extends API$x {
10626
10641
  */
10627
10642
  updateTrigger = request => this.client.fetch({
10628
10643
  body: JSON.stringify(marshalUpdateTriggerRequest(request, this.client.settings)),
10629
- headers: jsonContentHeaders$l,
10644
+ headers: jsonContentHeaders$m,
10630
10645
  method: 'PATCH',
10631
10646
  path: `/functions/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/triggers/${validatePathParam('triggerId', request.triggerId)}`
10632
10647
  }, unmarshalTrigger);
@@ -10686,7 +10701,7 @@ const UpdateTriggerRequest = {
10686
10701
  }
10687
10702
  };
10688
10703
 
10689
- var validationRules_gen$8 = /*#__PURE__*/Object.freeze({
10704
+ var validationRules_gen$9 = /*#__PURE__*/Object.freeze({
10690
10705
  __proto__: null,
10691
10706
  CreateTriggerRequest: CreateTriggerRequest,
10692
10707
  CreateTriggerRequestMnqNatsClientConfig: CreateTriggerRequestMnqNatsClientConfig,
@@ -10697,21 +10712,21 @@ var validationRules_gen$8 = /*#__PURE__*/Object.freeze({
10697
10712
  // This file was automatically generated. DO NOT EDIT.
10698
10713
  // If you have any remark or suggestion do not hesitate to open an issue.
10699
10714
 
10700
- var index_gen$k = /*#__PURE__*/Object.freeze({
10715
+ var index_gen$l = /*#__PURE__*/Object.freeze({
10701
10716
  __proto__: null,
10702
- API: API$l,
10717
+ API: API$m,
10703
10718
  CRON_TRANSIENT_STATUSES: CRON_TRANSIENT_STATUSES,
10704
10719
  DOMAIN_TRANSIENT_STATUSES: DOMAIN_TRANSIENT_STATUSES$1,
10705
10720
  FUNCTION_TRANSIENT_STATUSES: FUNCTION_TRANSIENT_STATUSES,
10706
10721
  NAMESPACE_TRANSIENT_STATUSES: NAMESPACE_TRANSIENT_STATUSES$1,
10707
10722
  TOKEN_TRANSIENT_STATUSES: TOKEN_TRANSIENT_STATUSES,
10708
10723
  TRIGGER_TRANSIENT_STATUSES: TRIGGER_TRANSIENT_STATUSES,
10709
- ValidationRules: validationRules_gen$8
10724
+ ValidationRules: validationRules_gen$9
10710
10725
  });
10711
10726
 
10712
- var index$n = /*#__PURE__*/Object.freeze({
10727
+ var index$o = /*#__PURE__*/Object.freeze({
10713
10728
  __proto__: null,
10714
- v1beta1: index_gen$k
10729
+ v1beta1: index_gen$l
10715
10730
  });
10716
10731
 
10717
10732
  // This file was automatically generated. DO NOT EDIT.
@@ -11147,12 +11162,12 @@ const marshalUpdateUserRequest$1 = (request, defaults) => ({
11147
11162
 
11148
11163
  // This file was automatically generated. DO NOT EDIT.
11149
11164
  // If you have any remark or suggestion do not hesitate to open an issue.
11150
- const jsonContentHeaders$k = {
11165
+ const jsonContentHeaders$l = {
11151
11166
  'Content-Type': 'application/json; charset=utf-8'
11152
11167
  };
11153
11168
 
11154
11169
  /** IAM API. */
11155
- let API$k = class API extends API$x {
11170
+ let API$l = class API extends API$y {
11156
11171
  pageOfListSSHKeys = (request = {}) => this.client.fetch({
11157
11172
  method: 'GET',
11158
11173
  path: `/iam/v1alpha1/ssh-keys`,
@@ -11179,7 +11194,7 @@ let API$k = class API extends API$x {
11179
11194
  */
11180
11195
  createSSHKey = request => this.client.fetch({
11181
11196
  body: JSON.stringify(marshalCreateSSHKeyRequest(request, this.client.settings)),
11182
- headers: jsonContentHeaders$k,
11197
+ headers: jsonContentHeaders$l,
11183
11198
  method: 'POST',
11184
11199
  path: `/iam/v1alpha1/ssh-keys`
11185
11200
  }, unmarshalSSHKey);
@@ -11206,7 +11221,7 @@ let API$k = class API extends API$x {
11206
11221
  */
11207
11222
  updateSSHKey = request => this.client.fetch({
11208
11223
  body: JSON.stringify(marshalUpdateSSHKeyRequest(request, this.client.settings)),
11209
- headers: jsonContentHeaders$k,
11224
+ headers: jsonContentHeaders$l,
11210
11225
  method: 'PATCH',
11211
11226
  path: `/iam/v1alpha1/ssh-keys/${validatePathParam('sshKeyId', request.sshKeyId)}`
11212
11227
  }, unmarshalSSHKey);
@@ -11261,7 +11276,7 @@ let API$k = class API extends API$x {
11261
11276
  */
11262
11277
  updateUser = request => this.client.fetch({
11263
11278
  body: JSON.stringify(marshalUpdateUserRequest$1(request, this.client.settings)),
11264
- headers: jsonContentHeaders$k,
11279
+ headers: jsonContentHeaders$l,
11265
11280
  method: 'PATCH',
11266
11281
  path: `/iam/v1alpha1/users/${validatePathParam('userId', request.userId)}`
11267
11282
  }, unmarshalUser$1);
@@ -11289,7 +11304,7 @@ let API$k = class API extends API$x {
11289
11304
  */
11290
11305
  createUser = request => this.client.fetch({
11291
11306
  body: JSON.stringify(marshalCreateUserRequest$1(request, this.client.settings)),
11292
- headers: jsonContentHeaders$k,
11307
+ headers: jsonContentHeaders$l,
11293
11308
  method: 'POST',
11294
11309
  path: `/iam/v1alpha1/users`
11295
11310
  }, unmarshalUser$1);
@@ -11321,7 +11336,7 @@ let API$k = class API extends API$x {
11321
11336
  */
11322
11337
  createApplication = request => this.client.fetch({
11323
11338
  body: JSON.stringify(marshalCreateApplicationRequest(request, this.client.settings)),
11324
- headers: jsonContentHeaders$k,
11339
+ headers: jsonContentHeaders$l,
11325
11340
  method: 'POST',
11326
11341
  path: `/iam/v1alpha1/applications`
11327
11342
  }, unmarshalApplication);
@@ -11349,7 +11364,7 @@ let API$k = class API extends API$x {
11349
11364
  */
11350
11365
  updateApplication = request => this.client.fetch({
11351
11366
  body: JSON.stringify(marshalUpdateApplicationRequest(request, this.client.settings)),
11352
- headers: jsonContentHeaders$k,
11367
+ headers: jsonContentHeaders$l,
11353
11368
  method: 'PATCH',
11354
11369
  path: `/iam/v1alpha1/applications/${validatePathParam('applicationId', request.applicationId)}`
11355
11370
  }, unmarshalApplication);
@@ -11393,7 +11408,7 @@ let API$k = class API extends API$x {
11393
11408
  */
11394
11409
  createGroup = request => this.client.fetch({
11395
11410
  body: JSON.stringify(marshalCreateGroupRequest(request, this.client.settings)),
11396
- headers: jsonContentHeaders$k,
11411
+ headers: jsonContentHeaders$l,
11397
11412
  method: 'POST',
11398
11413
  path: `/iam/v1alpha1/groups`
11399
11414
  }, unmarshalGroup);
@@ -11420,7 +11435,7 @@ let API$k = class API extends API$x {
11420
11435
  */
11421
11436
  updateGroup = request => this.client.fetch({
11422
11437
  body: JSON.stringify(marshalUpdateGroupRequest(request, this.client.settings)),
11423
- headers: jsonContentHeaders$k,
11438
+ headers: jsonContentHeaders$l,
11424
11439
  method: 'PATCH',
11425
11440
  path: `/iam/v1alpha1/groups/${validatePathParam('groupId', request.groupId)}`
11426
11441
  }, unmarshalGroup);
@@ -11435,7 +11450,7 @@ let API$k = class API extends API$x {
11435
11450
  */
11436
11451
  setGroupMembers = request => this.client.fetch({
11437
11452
  body: JSON.stringify(marshalSetGroupMembersRequest(request, this.client.settings)),
11438
- headers: jsonContentHeaders$k,
11453
+ headers: jsonContentHeaders$l,
11439
11454
  method: 'PUT',
11440
11455
  path: `/iam/v1alpha1/groups/${validatePathParam('groupId', request.groupId)}/members`
11441
11456
  }, unmarshalGroup);
@@ -11450,7 +11465,7 @@ let API$k = class API extends API$x {
11450
11465
  */
11451
11466
  addGroupMember = request => this.client.fetch({
11452
11467
  body: JSON.stringify(marshalAddGroupMemberRequest(request, this.client.settings)),
11453
- headers: jsonContentHeaders$k,
11468
+ headers: jsonContentHeaders$l,
11454
11469
  method: 'POST',
11455
11470
  path: `/iam/v1alpha1/groups/${validatePathParam('groupId', request.groupId)}/add-member`
11456
11471
  }, unmarshalGroup);
@@ -11468,7 +11483,7 @@ let API$k = class API extends API$x {
11468
11483
  */
11469
11484
  addGroupMembers = request => this.client.fetch({
11470
11485
  body: JSON.stringify(marshalAddGroupMembersRequest(request, this.client.settings)),
11471
- headers: jsonContentHeaders$k,
11486
+ headers: jsonContentHeaders$l,
11472
11487
  method: 'POST',
11473
11488
  path: `/iam/v1alpha1/groups/${validatePathParam('groupId', request.groupId)}/add-members`
11474
11489
  }, unmarshalGroup);
@@ -11487,7 +11502,7 @@ let API$k = class API extends API$x {
11487
11502
  */
11488
11503
  removeGroupMember = request => this.client.fetch({
11489
11504
  body: JSON.stringify(marshalRemoveGroupMemberRequest(request, this.client.settings)),
11490
- headers: jsonContentHeaders$k,
11505
+ headers: jsonContentHeaders$l,
11491
11506
  method: 'POST',
11492
11507
  path: `/iam/v1alpha1/groups/${validatePathParam('groupId', request.groupId)}/remove-member`
11493
11508
  }, unmarshalGroup);
@@ -11533,7 +11548,7 @@ let API$k = class API extends API$x {
11533
11548
  */
11534
11549
  createPolicy = request => this.client.fetch({
11535
11550
  body: JSON.stringify(marshalCreatePolicyRequest(request, this.client.settings)),
11536
- headers: jsonContentHeaders$k,
11551
+ headers: jsonContentHeaders$l,
11537
11552
  method: 'POST',
11538
11553
  path: `/iam/v1alpha1/policies`
11539
11554
  }, unmarshalPolicy);
@@ -11562,7 +11577,7 @@ let API$k = class API extends API$x {
11562
11577
  */
11563
11578
  updatePolicy = request => this.client.fetch({
11564
11579
  body: JSON.stringify(marshalUpdatePolicyRequest(request, this.client.settings)),
11565
- headers: jsonContentHeaders$k,
11580
+ headers: jsonContentHeaders$l,
11566
11581
  method: 'PATCH',
11567
11582
  path: `/iam/v1alpha1/policies/${validatePathParam('policyId', request.policyId)}`
11568
11583
  }, unmarshalPolicy);
@@ -11589,7 +11604,7 @@ let API$k = class API extends API$x {
11589
11604
  */
11590
11605
  clonePolicy = request => this.client.fetch({
11591
11606
  body: '{}',
11592
- headers: jsonContentHeaders$k,
11607
+ headers: jsonContentHeaders$l,
11593
11608
  method: 'POST',
11594
11609
  path: `/iam/v1alpha1/policies/${validatePathParam('policyId', request.policyId)}/clone`
11595
11610
  }, unmarshalPolicy);
@@ -11607,7 +11622,7 @@ let API$k = class API extends API$x {
11607
11622
  */
11608
11623
  setRules = request => this.client.fetch({
11609
11624
  body: JSON.stringify(marshalSetRulesRequest(request, this.client.settings)),
11610
- headers: jsonContentHeaders$k,
11625
+ headers: jsonContentHeaders$l,
11611
11626
  method: 'PUT',
11612
11627
  path: `/iam/v1alpha1/rules`
11613
11628
  }, unmarshalSetRulesResponse);
@@ -11678,7 +11693,7 @@ let API$k = class API extends API$x {
11678
11693
  */
11679
11694
  createAPIKey = request => this.client.fetch({
11680
11695
  body: JSON.stringify(marshalCreateAPIKeyRequest(request, this.client.settings)),
11681
- headers: jsonContentHeaders$k,
11696
+ headers: jsonContentHeaders$l,
11682
11697
  method: 'POST',
11683
11698
  path: `/iam/v1alpha1/api-keys`
11684
11699
  }, unmarshalAPIKey);
@@ -11708,7 +11723,7 @@ let API$k = class API extends API$x {
11708
11723
  */
11709
11724
  updateAPIKey = request => this.client.fetch({
11710
11725
  body: JSON.stringify(marshalUpdateAPIKeyRequest(request, this.client.settings)),
11711
- headers: jsonContentHeaders$k,
11726
+ headers: jsonContentHeaders$l,
11712
11727
  method: 'PATCH',
11713
11728
  path: `/iam/v1alpha1/api-keys/${validatePathParam('accessKey', request.accessKey)}`
11714
11729
  }, unmarshalAPIKey);
@@ -11777,7 +11792,7 @@ let API$k = class API extends API$x {
11777
11792
  */
11778
11793
  createJWT = request => this.client.fetch({
11779
11794
  body: JSON.stringify(marshalCreateJWTRequest(request, this.client.settings)),
11780
- headers: jsonContentHeaders$k,
11795
+ headers: jsonContentHeaders$l,
11781
11796
  method: 'POST',
11782
11797
  path: `/iam/v1alpha1/jwts`
11783
11798
  }, unmarshalEncodedJWT);
@@ -12047,7 +12062,7 @@ const UpdateSSHKeyRequest = {
12047
12062
  }
12048
12063
  };
12049
12064
 
12050
- var validationRules_gen$7 = /*#__PURE__*/Object.freeze({
12065
+ var validationRules_gen$8 = /*#__PURE__*/Object.freeze({
12051
12066
  __proto__: null,
12052
12067
  CreateAPIKeyRequest: CreateAPIKeyRequest,
12053
12068
  CreateApplicationRequest: CreateApplicationRequest,
@@ -12076,15 +12091,15 @@ var validationRules_gen$7 = /*#__PURE__*/Object.freeze({
12076
12091
  // This file was automatically generated. DO NOT EDIT.
12077
12092
  // If you have any remark or suggestion do not hesitate to open an issue.
12078
12093
 
12079
- var index_gen$j = /*#__PURE__*/Object.freeze({
12094
+ var index_gen$k = /*#__PURE__*/Object.freeze({
12080
12095
  __proto__: null,
12081
- API: API$k,
12082
- ValidationRules: validationRules_gen$7
12096
+ API: API$l,
12097
+ ValidationRules: validationRules_gen$8
12083
12098
  });
12084
12099
 
12085
- var index$m = /*#__PURE__*/Object.freeze({
12100
+ var index$n = /*#__PURE__*/Object.freeze({
12086
12101
  __proto__: null,
12087
- v1alpha1: index_gen$j
12102
+ v1alpha1: index_gen$k
12088
12103
  });
12089
12104
 
12090
12105
  // This file was automatically generated. DO NOT EDIT.
@@ -13573,12 +13588,12 @@ const marshalUpdateVolumeRequest$1 = (request, defaults) => ({
13573
13588
 
13574
13589
  // This file was automatically generated. DO NOT EDIT.
13575
13590
  // If you have any remark or suggestion do not hesitate to open an issue.
13576
- const jsonContentHeaders$j = {
13591
+ const jsonContentHeaders$k = {
13577
13592
  'Content-Type': 'application/json; charset=utf-8'
13578
13593
  };
13579
13594
 
13580
13595
  /** Instance API. */
13581
- let API$j = class API extends API$x {
13596
+ let API$k = class API extends API$y {
13582
13597
  /** Lists the available zones of the API. */
13583
13598
  static LOCALITIES = ['fr-par-1', 'fr-par-2', 'fr-par-3', 'nl-ams-1', 'nl-ams-2', 'nl-ams-3', 'pl-waw-1', 'pl-waw-2', 'pl-waw-3'];
13584
13599
 
@@ -13634,7 +13649,7 @@ let API$j = class API extends API$x {
13634
13649
  listServers = (request = {}) => enrichForPagination('servers', this.pageOfListServers, request);
13635
13650
  _createServer = request => this.client.fetch({
13636
13651
  body: JSON.stringify(marshalCreateServerRequest(request, this.client.settings)),
13637
- headers: jsonContentHeaders$j,
13652
+ headers: jsonContentHeaders$k,
13638
13653
  method: 'POST',
13639
13654
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers`
13640
13655
  }, unmarshalCreateServerResponse);
@@ -13661,13 +13676,13 @@ let API$j = class API extends API$x {
13661
13676
  }, unmarshalGetServerResponse);
13662
13677
  _setServer = request => this.client.fetch({
13663
13678
  body: JSON.stringify(marshalSetServerRequest(request, this.client.settings)),
13664
- headers: jsonContentHeaders$j,
13679
+ headers: jsonContentHeaders$k,
13665
13680
  method: 'PUT',
13666
13681
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('id', request.id)}`
13667
13682
  }, unmarshalSetServerResponse);
13668
13683
  _updateServer = request => this.client.fetch({
13669
13684
  body: JSON.stringify(marshalUpdateServerRequest(request, this.client.settings)),
13670
- headers: jsonContentHeaders$j,
13685
+ headers: jsonContentHeaders$k,
13671
13686
  method: 'PATCH',
13672
13687
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}`
13673
13688
  }, unmarshalUpdateServerResponse);
@@ -13705,7 +13720,7 @@ let API$j = class API extends API$x {
13705
13720
  */
13706
13721
  serverAction = request => this.client.fetch({
13707
13722
  body: JSON.stringify(marshalServerActionRequest(request, this.client.settings)),
13708
- headers: jsonContentHeaders$j,
13723
+ headers: jsonContentHeaders$k,
13709
13724
  method: 'POST',
13710
13725
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/action`
13711
13726
  }, unmarshalServerActionResponse);
@@ -13732,13 +13747,13 @@ let API$j = class API extends API$x {
13732
13747
  });
13733
13748
  attachServerVolume = request => this.client.fetch({
13734
13749
  body: JSON.stringify(marshalAttachServerVolumeRequest(request, this.client.settings)),
13735
- headers: jsonContentHeaders$j,
13750
+ headers: jsonContentHeaders$k,
13736
13751
  method: 'POST',
13737
13752
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/attach-volume`
13738
13753
  }, unmarshalAttachServerVolumeResponse);
13739
13754
  detachServerVolume = request => this.client.fetch({
13740
13755
  body: JSON.stringify(marshalDetachServerVolumeRequest(request, this.client.settings)),
13741
- headers: jsonContentHeaders$j,
13756
+ headers: jsonContentHeaders$k,
13742
13757
  method: 'POST',
13743
13758
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/detach-volume`
13744
13759
  }, unmarshalDetachServerVolumeResponse);
@@ -13776,13 +13791,13 @@ let API$j = class API extends API$x {
13776
13791
  */
13777
13792
  createImage = request => this.client.fetch({
13778
13793
  body: JSON.stringify(marshalCreateImageRequest(request, this.client.settings)),
13779
- headers: jsonContentHeaders$j,
13794
+ headers: jsonContentHeaders$k,
13780
13795
  method: 'POST',
13781
13796
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/images`
13782
13797
  }, unmarshalCreateImageResponse);
13783
13798
  _setImage = request => this.client.fetch({
13784
13799
  body: JSON.stringify(marshalSetImageRequest(request, this.client.settings)),
13785
- headers: jsonContentHeaders$j,
13800
+ headers: jsonContentHeaders$k,
13786
13801
  method: 'PUT',
13787
13802
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/images/${validatePathParam('id', request.id)}`
13788
13803
  }, unmarshalSetImageResponse);
@@ -13795,7 +13810,7 @@ let API$j = class API extends API$x {
13795
13810
  */
13796
13811
  updateImage = request => this.client.fetch({
13797
13812
  body: JSON.stringify(marshalUpdateImageRequest$1(request, this.client.settings)),
13798
- headers: jsonContentHeaders$j,
13813
+ headers: jsonContentHeaders$k,
13799
13814
  method: 'PATCH',
13800
13815
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/images/${validatePathParam('imageId', request.imageId)}`
13801
13816
  }, unmarshalUpdateImageResponse);
@@ -13834,7 +13849,7 @@ let API$j = class API extends API$x {
13834
13849
  */
13835
13850
  createSnapshot = (request = {}) => this.client.fetch({
13836
13851
  body: JSON.stringify(marshalCreateSnapshotRequest$1(request, this.client.settings)),
13837
- headers: jsonContentHeaders$j,
13852
+ headers: jsonContentHeaders$k,
13838
13853
  method: 'POST',
13839
13854
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/snapshots`
13840
13855
  }, unmarshalCreateSnapshotResponse);
@@ -13851,7 +13866,7 @@ let API$j = class API extends API$x {
13851
13866
  }, unmarshalGetSnapshotResponse);
13852
13867
  _setSnapshot = request => this.client.fetch({
13853
13868
  body: JSON.stringify(marshalSetSnapshotRequest(request, this.client.settings)),
13854
- headers: jsonContentHeaders$j,
13869
+ headers: jsonContentHeaders$k,
13855
13870
  method: 'PUT',
13856
13871
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/snapshots/${validatePathParam('snapshotId', request.snapshotId)}`
13857
13872
  }, unmarshalSetSnapshotResponse);
@@ -13864,7 +13879,7 @@ let API$j = class API extends API$x {
13864
13879
  */
13865
13880
  updateSnapshot = request => this.client.fetch({
13866
13881
  body: JSON.stringify(marshalUpdateSnapshotRequest$1(request, this.client.settings)),
13867
- headers: jsonContentHeaders$j,
13882
+ headers: jsonContentHeaders$k,
13868
13883
  method: 'PATCH',
13869
13884
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/snapshots/${validatePathParam('snapshotId', request.snapshotId)}`
13870
13885
  }, unmarshalUpdateSnapshotResponse);
@@ -13888,7 +13903,7 @@ let API$j = class API extends API$x {
13888
13903
  */
13889
13904
  exportSnapshot = request => this.client.fetch({
13890
13905
  body: JSON.stringify(marshalExportSnapshotRequest(request, this.client.settings)),
13891
- headers: jsonContentHeaders$j,
13906
+ headers: jsonContentHeaders$k,
13892
13907
  method: 'POST',
13893
13908
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/snapshots/${validatePathParam('snapshotId', request.snapshotId)}/export`
13894
13909
  }, unmarshalExportSnapshotResponse);
@@ -13916,7 +13931,7 @@ let API$j = class API extends API$x {
13916
13931
  */
13917
13932
  createVolume = (request = {}) => this.client.fetch({
13918
13933
  body: JSON.stringify(marshalCreateVolumeRequest$1(request, this.client.settings)),
13919
- headers: jsonContentHeaders$j,
13934
+ headers: jsonContentHeaders$k,
13920
13935
  method: 'POST',
13921
13936
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/volumes`
13922
13937
  }, unmarshalCreateVolumeResponse);
@@ -13942,7 +13957,7 @@ let API$j = class API extends API$x {
13942
13957
  */
13943
13958
  updateVolume = request => this.client.fetch({
13944
13959
  body: JSON.stringify(marshalUpdateVolumeRequest$1(request, this.client.settings)),
13945
- headers: jsonContentHeaders$j,
13960
+ headers: jsonContentHeaders$k,
13946
13961
  method: 'PATCH',
13947
13962
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/volumes/${validatePathParam('volumeId', request.volumeId)}`
13948
13963
  }, unmarshalUpdateVolumeResponse);
@@ -13979,7 +13994,7 @@ let API$j = class API extends API$x {
13979
13994
  */
13980
13995
  createSecurityGroup = request => this.client.fetch({
13981
13996
  body: JSON.stringify(marshalCreateSecurityGroupRequest(request, this.client.settings)),
13982
- headers: jsonContentHeaders$j,
13997
+ headers: jsonContentHeaders$k,
13983
13998
  method: 'POST',
13984
13999
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/security_groups`
13985
14000
  }, unmarshalCreateSecurityGroupResponse);
@@ -14007,7 +14022,7 @@ let API$j = class API extends API$x {
14007
14022
  });
14008
14023
  _setSecurityGroup = request => this.client.fetch({
14009
14024
  body: JSON.stringify(marshalSetSecurityGroupRequest(request, this.client.settings)),
14010
- headers: jsonContentHeaders$j,
14025
+ headers: jsonContentHeaders$k,
14011
14026
  method: 'PUT',
14012
14027
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/security_groups/${validatePathParam('id', request.id)}`
14013
14028
  }, unmarshalSetSecurityGroupResponse);
@@ -14020,7 +14035,7 @@ let API$j = class API extends API$x {
14020
14035
  */
14021
14036
  updateSecurityGroup = request => this.client.fetch({
14022
14037
  body: JSON.stringify(marshalUpdateSecurityGroupRequest(request, this.client.settings)),
14023
- headers: jsonContentHeaders$j,
14038
+ headers: jsonContentHeaders$k,
14024
14039
  method: 'PATCH',
14025
14040
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/security_groups/${validatePathParam('securityGroupId', request.securityGroupId)}`
14026
14041
  }, unmarshalUpdateSecurityGroupResponse);
@@ -14058,7 +14073,7 @@ let API$j = class API extends API$x {
14058
14073
  */
14059
14074
  createSecurityGroupRule = request => this.client.fetch({
14060
14075
  body: JSON.stringify(marshalCreateSecurityGroupRuleRequest(request, this.client.settings)),
14061
- headers: jsonContentHeaders$j,
14076
+ headers: jsonContentHeaders$k,
14062
14077
  method: 'POST',
14063
14078
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/security_groups/${validatePathParam('securityGroupId', request.securityGroupId)}/rules`
14064
14079
  }, unmarshalCreateSecurityGroupRuleResponse);
@@ -14074,7 +14089,7 @@ let API$j = class API extends API$x {
14074
14089
  */
14075
14090
  setSecurityGroupRules = request => this.client.fetch({
14076
14091
  body: JSON.stringify(marshalSetSecurityGroupRulesRequest(request, this.client.settings)),
14077
- headers: jsonContentHeaders$j,
14092
+ headers: jsonContentHeaders$k,
14078
14093
  method: 'PUT',
14079
14094
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/security_groups/${validatePathParam('securityGroupId', request.securityGroupId)}/rules`
14080
14095
  }, unmarshalSetSecurityGroupRulesResponse);
@@ -14101,7 +14116,7 @@ let API$j = class API extends API$x {
14101
14116
  }, unmarshalGetSecurityGroupRuleResponse);
14102
14117
  _setSecurityGroupRule = request => this.client.fetch({
14103
14118
  body: JSON.stringify(marshalSetSecurityGroupRuleRequest(request, this.client.settings)),
14104
- headers: jsonContentHeaders$j,
14119
+ headers: jsonContentHeaders$k,
14105
14120
  method: 'PUT',
14106
14121
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/security_groups/${validatePathParam('securityGroupId', request.securityGroupId)}/rules/${validatePathParam('securityGroupRuleId', request.securityGroupRuleId)}`
14107
14122
  }, unmarshalSetSecurityGroupRuleResponse);
@@ -14115,7 +14130,7 @@ let API$j = class API extends API$x {
14115
14130
  */
14116
14131
  updateSecurityGroupRule = request => this.client.fetch({
14117
14132
  body: JSON.stringify(marshalUpdateSecurityGroupRuleRequest(request, this.client.settings)),
14118
- headers: jsonContentHeaders$j,
14133
+ headers: jsonContentHeaders$k,
14119
14134
  method: 'PATCH',
14120
14135
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/security_groups/${validatePathParam('securityGroupId', request.securityGroupId)}/rules/${validatePathParam('securityGroupRuleId', request.securityGroupRuleId)}`
14121
14136
  }, unmarshalUpdateSecurityGroupRuleResponse);
@@ -14143,7 +14158,7 @@ let API$j = class API extends API$x {
14143
14158
  */
14144
14159
  createPlacementGroup = (request = {}) => this.client.fetch({
14145
14160
  body: JSON.stringify(marshalCreatePlacementGroupRequest(request, this.client.settings)),
14146
- headers: jsonContentHeaders$j,
14161
+ headers: jsonContentHeaders$k,
14147
14162
  method: 'POST',
14148
14163
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/placement_groups`
14149
14164
  }, unmarshalCreatePlacementGroupResponse);
@@ -14167,7 +14182,7 @@ let API$j = class API extends API$x {
14167
14182
  */
14168
14183
  setPlacementGroup = request => this.client.fetch({
14169
14184
  body: JSON.stringify(marshalSetPlacementGroupRequest(request, this.client.settings)),
14170
- headers: jsonContentHeaders$j,
14185
+ headers: jsonContentHeaders$k,
14171
14186
  method: 'PUT',
14172
14187
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/placement_groups/${validatePathParam('placementGroupId', request.placementGroupId)}`
14173
14188
  }, unmarshalSetPlacementGroupResponse);
@@ -14181,7 +14196,7 @@ let API$j = class API extends API$x {
14181
14196
  */
14182
14197
  updatePlacementGroup = request => this.client.fetch({
14183
14198
  body: JSON.stringify(marshalUpdatePlacementGroupRequest(request, this.client.settings)),
14184
- headers: jsonContentHeaders$j,
14199
+ headers: jsonContentHeaders$k,
14185
14200
  method: 'PATCH',
14186
14201
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/placement_groups/${validatePathParam('placementGroupId', request.placementGroupId)}`
14187
14202
  }, unmarshalUpdatePlacementGroupResponse);
@@ -14217,7 +14232,7 @@ let API$j = class API extends API$x {
14217
14232
  */
14218
14233
  setPlacementGroupServers = request => this.client.fetch({
14219
14234
  body: JSON.stringify(marshalSetPlacementGroupServersRequest(request, this.client.settings)),
14220
- headers: jsonContentHeaders$j,
14235
+ headers: jsonContentHeaders$k,
14221
14236
  method: 'PUT',
14222
14237
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/placement_groups/${validatePathParam('placementGroupId', request.placementGroupId)}/servers`
14223
14238
  }, unmarshalSetPlacementGroupServersResponse);
@@ -14231,7 +14246,7 @@ let API$j = class API extends API$x {
14231
14246
  */
14232
14247
  updatePlacementGroupServers = request => this.client.fetch({
14233
14248
  body: JSON.stringify(marshalUpdatePlacementGroupServersRequest(request, this.client.settings)),
14234
- headers: jsonContentHeaders$j,
14249
+ headers: jsonContentHeaders$k,
14235
14250
  method: 'PATCH',
14236
14251
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/placement_groups/${validatePathParam('placementGroupId', request.placementGroupId)}/servers`
14237
14252
  }, unmarshalUpdatePlacementGroupServersResponse);
@@ -14258,7 +14273,7 @@ let API$j = class API extends API$x {
14258
14273
  */
14259
14274
  createIp = (request = {}) => this.client.fetch({
14260
14275
  body: JSON.stringify(marshalCreateIpRequest$1(request, this.client.settings)),
14261
- headers: jsonContentHeaders$j,
14276
+ headers: jsonContentHeaders$k,
14262
14277
  method: 'POST',
14263
14278
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/ips`
14264
14279
  }, unmarshalCreateIpResponse);
@@ -14283,7 +14298,7 @@ let API$j = class API extends API$x {
14283
14298
  */
14284
14299
  updateIp = request => this.client.fetch({
14285
14300
  body: JSON.stringify(marshalUpdateIpRequest$1(request, this.client.settings)),
14286
- headers: jsonContentHeaders$j,
14301
+ headers: jsonContentHeaders$k,
14287
14302
  method: 'PATCH',
14288
14303
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/ips/${validatePathParam('ip', request.ip)}`
14289
14304
  }, unmarshalUpdateIpResponse);
@@ -14319,7 +14334,7 @@ let API$j = class API extends API$x {
14319
14334
  */
14320
14335
  createPrivateNIC = request => this.client.fetch({
14321
14336
  body: JSON.stringify(marshalCreatePrivateNICRequest(request, this.client.settings)),
14322
- headers: jsonContentHeaders$j,
14337
+ headers: jsonContentHeaders$k,
14323
14338
  method: 'POST',
14324
14339
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/private_nics`
14325
14340
  }, unmarshalCreatePrivateNICResponse);
@@ -14344,7 +14359,7 @@ let API$j = class API extends API$x {
14344
14359
  */
14345
14360
  updatePrivateNIC = request => this.client.fetch({
14346
14361
  body: JSON.stringify(marshalUpdatePrivateNICRequest(request, this.client.settings)),
14347
- headers: jsonContentHeaders$j,
14362
+ headers: jsonContentHeaders$k,
14348
14363
  method: 'PATCH',
14349
14364
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/private_nics/${validatePathParam('privateNicId', request.privateNicId)}`
14350
14365
  }, unmarshalPrivateNIC);
@@ -14404,7 +14419,7 @@ let API$j = class API extends API$x {
14404
14419
  */
14405
14420
  planBlockMigration = (request = {}) => this.client.fetch({
14406
14421
  body: JSON.stringify(marshalPlanBlockMigrationRequest(request, this.client.settings)),
14407
- headers: jsonContentHeaders$j,
14422
+ headers: jsonContentHeaders$k,
14408
14423
  method: 'POST',
14409
14424
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/block-migration/plan`
14410
14425
  }, unmarshalMigrationPlan);
@@ -14419,7 +14434,7 @@ let API$j = class API extends API$x {
14419
14434
  */
14420
14435
  applyBlockMigration = request => this.client.fetch({
14421
14436
  body: JSON.stringify(marshalApplyBlockMigrationRequest(request, this.client.settings)),
14422
- headers: jsonContentHeaders$j,
14437
+ headers: jsonContentHeaders$k,
14423
14438
  method: 'POST',
14424
14439
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/block-migration/apply`
14425
14440
  });
@@ -14462,7 +14477,7 @@ const validateNotUndefined = obj => {
14462
14477
  if (obj === undefined) throw new TypeError(`object was found undefined`);
14463
14478
  return obj;
14464
14479
  };
14465
- class InstanceV1UtilsAPI extends API$j {
14480
+ class InstanceV1UtilsAPI extends API$k {
14466
14481
  /**
14467
14482
  * Waits for {@link Image} to be in a final state.
14468
14483
  *
@@ -14695,7 +14710,7 @@ class InstanceV1UtilsAPI extends API$j {
14695
14710
  });
14696
14711
  }
14697
14712
 
14698
- var index$l = /*#__PURE__*/Object.freeze({
14713
+ var index$m = /*#__PURE__*/Object.freeze({
14699
14714
  __proto__: null,
14700
14715
  API: InstanceV1UtilsAPI,
14701
14716
  IMAGE_TRANSIENT_STATUSES: IMAGE_TRANSIENT_STATUSES$1,
@@ -14710,9 +14725,9 @@ var index$l = /*#__PURE__*/Object.freeze({
14710
14725
  VOLUME_TRANSIENT_STATUSES: VOLUME_TRANSIENT_STATUSES
14711
14726
  });
14712
14727
 
14713
- var index$k = /*#__PURE__*/Object.freeze({
14728
+ var index$l = /*#__PURE__*/Object.freeze({
14714
14729
  __proto__: null,
14715
- v1: index$l
14730
+ v1: index$m
14716
14731
  });
14717
14732
 
14718
14733
  // This file was automatically generated. DO NOT EDIT.
@@ -15156,7 +15171,7 @@ const marshalUpdateRouteRequest$1 = (request, defaults) => ({
15156
15171
 
15157
15172
  // This file was automatically generated. DO NOT EDIT.
15158
15173
  // If you have any remark or suggestion do not hesitate to open an issue.
15159
- const jsonContentHeaders$i = {
15174
+ const jsonContentHeaders$j = {
15160
15175
  'Content-Type': 'application/json; charset=utf-8'
15161
15176
  };
15162
15177
 
@@ -15165,7 +15180,7 @@ const jsonContentHeaders$i = {
15165
15180
  *
15166
15181
  * This API allows you to manage IoT hubs and devices.
15167
15182
  */
15168
- let API$i = class API extends API$x {
15183
+ let API$j = class API extends API$y {
15169
15184
  /** Lists the available regions of the API. */
15170
15185
  static LOCALITIES = ['fr-par'];
15171
15186
  pageOfListHubs = (request = {}) => this.client.fetch({
@@ -15193,7 +15208,7 @@ let API$i = class API extends API$x {
15193
15208
  */
15194
15209
  createHub = request => this.client.fetch({
15195
15210
  body: JSON.stringify(marshalCreateHubRequest(request, this.client.settings)),
15196
- headers: jsonContentHeaders$i,
15211
+ headers: jsonContentHeaders$j,
15197
15212
  method: 'POST',
15198
15213
  path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/hubs`
15199
15214
  }, unmarshalHub);
@@ -15229,7 +15244,7 @@ let API$i = class API extends API$x {
15229
15244
  */
15230
15245
  updateHub = request => this.client.fetch({
15231
15246
  body: JSON.stringify(marshalUpdateHubRequest(request, this.client.settings)),
15232
- headers: jsonContentHeaders$i,
15247
+ headers: jsonContentHeaders$j,
15233
15248
  method: 'PATCH',
15234
15249
  path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/hubs/${validatePathParam('hubId', request.hubId)}`
15235
15250
  }, unmarshalHub);
@@ -15242,7 +15257,7 @@ let API$i = class API extends API$x {
15242
15257
  */
15243
15258
  enableHub = request => this.client.fetch({
15244
15259
  body: '{}',
15245
- headers: jsonContentHeaders$i,
15260
+ headers: jsonContentHeaders$j,
15246
15261
  method: 'POST',
15247
15262
  path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/hubs/${validatePathParam('hubId', request.hubId)}/enable`
15248
15263
  }, unmarshalHub);
@@ -15255,7 +15270,7 @@ let API$i = class API extends API$x {
15255
15270
  */
15256
15271
  disableHub = request => this.client.fetch({
15257
15272
  body: '{}',
15258
- headers: jsonContentHeaders$i,
15273
+ headers: jsonContentHeaders$j,
15259
15274
  method: 'POST',
15260
15275
  path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/hubs/${validatePathParam('hubId', request.hubId)}/disable`
15261
15276
  }, unmarshalHub);
@@ -15295,7 +15310,7 @@ let API$i = class API extends API$x {
15295
15310
  */
15296
15311
  setHubCA = request => this.client.fetch({
15297
15312
  body: JSON.stringify(marshalSetHubCARequest(request, this.client.settings)),
15298
- headers: jsonContentHeaders$i,
15313
+ headers: jsonContentHeaders$j,
15299
15314
  method: 'POST',
15300
15315
  path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/hubs/${validatePathParam('hubId', request.hubId)}/ca`
15301
15316
  }, unmarshalHub);
@@ -15335,7 +15350,7 @@ let API$i = class API extends API$x {
15335
15350
  */
15336
15351
  createDevice = request => this.client.fetch({
15337
15352
  body: JSON.stringify(marshalCreateDeviceRequest(request, this.client.settings)),
15338
- headers: jsonContentHeaders$i,
15353
+ headers: jsonContentHeaders$j,
15339
15354
  method: 'POST',
15340
15355
  path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/devices`
15341
15356
  }, unmarshalCreateDeviceResponse);
@@ -15362,7 +15377,7 @@ let API$i = class API extends API$x {
15362
15377
  */
15363
15378
  updateDevice = request => this.client.fetch({
15364
15379
  body: JSON.stringify(marshalUpdateDeviceRequest(request, this.client.settings)),
15365
- headers: jsonContentHeaders$i,
15380
+ headers: jsonContentHeaders$j,
15366
15381
  method: 'PATCH',
15367
15382
  path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/devices/${validatePathParam('deviceId', request.deviceId)}`
15368
15383
  }, unmarshalDevice);
@@ -15375,7 +15390,7 @@ let API$i = class API extends API$x {
15375
15390
  */
15376
15391
  enableDevice = request => this.client.fetch({
15377
15392
  body: '{}',
15378
- headers: jsonContentHeaders$i,
15393
+ headers: jsonContentHeaders$j,
15379
15394
  method: 'POST',
15380
15395
  path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/devices/${validatePathParam('deviceId', request.deviceId)}/enable`
15381
15396
  }, unmarshalDevice);
@@ -15388,7 +15403,7 @@ let API$i = class API extends API$x {
15388
15403
  */
15389
15404
  disableDevice = request => this.client.fetch({
15390
15405
  body: '{}',
15391
- headers: jsonContentHeaders$i,
15406
+ headers: jsonContentHeaders$j,
15392
15407
  method: 'POST',
15393
15408
  path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/devices/${validatePathParam('deviceId', request.deviceId)}/disable`
15394
15409
  }, unmarshalDevice);
@@ -15402,7 +15417,7 @@ let API$i = class API extends API$x {
15402
15417
  */
15403
15418
  renewDeviceCertificate = request => this.client.fetch({
15404
15419
  body: '{}',
15405
- headers: jsonContentHeaders$i,
15420
+ headers: jsonContentHeaders$j,
15406
15421
  method: 'POST',
15407
15422
  path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/devices/${validatePathParam('deviceId', request.deviceId)}/renew-certificate`
15408
15423
  }, unmarshalRenewDeviceCertificateResponse);
@@ -15416,7 +15431,7 @@ let API$i = class API extends API$x {
15416
15431
  */
15417
15432
  setDeviceCertificate = request => this.client.fetch({
15418
15433
  body: JSON.stringify(marshalSetDeviceCertificateRequest(request, this.client.settings)),
15419
- headers: jsonContentHeaders$i,
15434
+ headers: jsonContentHeaders$j,
15420
15435
  method: 'PUT',
15421
15436
  path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/devices/${validatePathParam('deviceId', request.deviceId)}/certificate`
15422
15437
  }, unmarshalSetDeviceCertificateResponse);
@@ -15491,7 +15506,7 @@ let API$i = class API extends API$x {
15491
15506
  */
15492
15507
  createRoute = request => this.client.fetch({
15493
15508
  body: JSON.stringify(marshalCreateRouteRequest$1(request, this.client.settings)),
15494
- headers: jsonContentHeaders$i,
15509
+ headers: jsonContentHeaders$j,
15495
15510
  method: 'POST',
15496
15511
  path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/routes`
15497
15512
  }, unmarshalRoute$1);
@@ -15505,7 +15520,7 @@ let API$i = class API extends API$x {
15505
15520
  */
15506
15521
  updateRoute = request => this.client.fetch({
15507
15522
  body: JSON.stringify(marshalUpdateRouteRequest$1(request, this.client.settings)),
15508
- headers: jsonContentHeaders$i,
15523
+ headers: jsonContentHeaders$j,
15509
15524
  method: 'PATCH',
15510
15525
  path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/routes/${validatePathParam('routeId', request.routeId)}`
15511
15526
  }, unmarshalRoute$1);
@@ -15557,7 +15572,7 @@ let API$i = class API extends API$x {
15557
15572
  */
15558
15573
  createNetwork = request => this.client.fetch({
15559
15574
  body: JSON.stringify(marshalCreateNetworkRequest(request, this.client.settings)),
15560
- headers: jsonContentHeaders$i,
15575
+ headers: jsonContentHeaders$j,
15561
15576
  method: 'POST',
15562
15577
  path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/networks`
15563
15578
  }, unmarshalCreateNetworkResponse);
@@ -15605,7 +15620,7 @@ let API$i = class API extends API$x {
15605
15620
  */
15606
15621
  putTwinDocument = request => this.client.fetch({
15607
15622
  body: JSON.stringify(marshalPutTwinDocumentRequest(request, this.client.settings)),
15608
- headers: jsonContentHeaders$i,
15623
+ headers: jsonContentHeaders$j,
15609
15624
  method: 'PUT',
15610
15625
  path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/twins/${validatePathParam('twinId', request.twinId)}/documents/${validatePathParam('documentName', request.documentName)}`
15611
15626
  }, unmarshalTwinDocument);
@@ -15618,7 +15633,7 @@ let API$i = class API extends API$x {
15618
15633
  */
15619
15634
  patchTwinDocument = request => this.client.fetch({
15620
15635
  body: JSON.stringify(marshalPatchTwinDocumentRequest(request, this.client.settings)),
15621
- headers: jsonContentHeaders$i,
15636
+ headers: jsonContentHeaders$j,
15622
15637
  method: 'PATCH',
15623
15638
  path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/twins/${validatePathParam('twinId', request.twinId)}/documents/${validatePathParam('documentName', request.documentName)}`
15624
15639
  }, unmarshalTwinDocument);
@@ -15658,15 +15673,15 @@ let API$i = class API extends API$x {
15658
15673
  // This file was automatically generated. DO NOT EDIT.
15659
15674
  // If you have any remark or suggestion do not hesitate to open an issue.
15660
15675
 
15661
- var index_gen$i = /*#__PURE__*/Object.freeze({
15676
+ var index_gen$j = /*#__PURE__*/Object.freeze({
15662
15677
  __proto__: null,
15663
- API: API$i,
15678
+ API: API$j,
15664
15679
  HUB_TRANSIENT_STATUSES: HUB_TRANSIENT_STATUSES
15665
15680
  });
15666
15681
 
15667
- var index$j = /*#__PURE__*/Object.freeze({
15682
+ var index$k = /*#__PURE__*/Object.freeze({
15668
15683
  __proto__: null,
15669
- v1: index_gen$i
15684
+ v1: index_gen$j
15670
15685
  });
15671
15686
 
15672
15687
  // This file was automatically generated. DO NOT EDIT.
@@ -15759,7 +15774,7 @@ const marshalUpdateIPRequest$1 = (request, defaults) => ({
15759
15774
 
15760
15775
  // This file was automatically generated. DO NOT EDIT.
15761
15776
  // If you have any remark or suggestion do not hesitate to open an issue.
15762
- const jsonContentHeaders$h = {
15777
+ const jsonContentHeaders$i = {
15763
15778
  'Content-Type': 'application/json; charset=utf-8'
15764
15779
  };
15765
15780
 
@@ -15769,7 +15784,7 @@ const jsonContentHeaders$h = {
15769
15784
  * This API allows you to manage IP addresses with Scaleway's IP Address
15770
15785
  * Management tool.
15771
15786
  */
15772
- let API$h = class API extends API$x {
15787
+ let API$i = class API extends API$y {
15773
15788
  /** Lists the available regions of the API. */
15774
15789
  static LOCALITIES = ['fr-par', 'nl-ams', 'pl-waw'];
15775
15790
 
@@ -15782,7 +15797,7 @@ let API$h = class API extends API$x {
15782
15797
  */
15783
15798
  bookIP = request => this.client.fetch({
15784
15799
  body: JSON.stringify(marshalBookIPRequest(request, this.client.settings)),
15785
- headers: jsonContentHeaders$h,
15800
+ headers: jsonContentHeaders$i,
15786
15801
  method: 'POST',
15787
15802
  path: `/ipam/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/ips`
15788
15803
  }, unmarshalIP$1);
@@ -15795,7 +15810,7 @@ let API$h = class API extends API$x {
15795
15810
  */
15796
15811
  releaseIP = request => this.client.fetch({
15797
15812
  body: '{}',
15798
- headers: jsonContentHeaders$h,
15813
+ headers: jsonContentHeaders$i,
15799
15814
  method: 'DELETE',
15800
15815
  path: `/ipam/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/ips/${validatePathParam('ipId', request.ipId)}`
15801
15816
  });
@@ -15819,7 +15834,7 @@ let API$h = class API extends API$x {
15819
15834
  */
15820
15835
  updateIP = request => this.client.fetch({
15821
15836
  body: JSON.stringify(marshalUpdateIPRequest$1(request, this.client.settings)),
15822
- headers: jsonContentHeaders$h,
15837
+ headers: jsonContentHeaders$i,
15823
15838
  method: 'PATCH',
15824
15839
  path: `/ipam/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/ips/${validatePathParam('ipId', request.ipId)}`
15825
15840
  }, unmarshalIP$1);
@@ -15858,7 +15873,7 @@ const ListIPsRequest = {
15858
15873
  }
15859
15874
  };
15860
15875
 
15861
- var validationRules_gen$6 = /*#__PURE__*/Object.freeze({
15876
+ var validationRules_gen$7 = /*#__PURE__*/Object.freeze({
15862
15877
  __proto__: null,
15863
15878
  ListIPsRequest: ListIPsRequest
15864
15879
  });
@@ -15866,15 +15881,15 @@ var validationRules_gen$6 = /*#__PURE__*/Object.freeze({
15866
15881
  // This file was automatically generated. DO NOT EDIT.
15867
15882
  // If you have any remark or suggestion do not hesitate to open an issue.
15868
15883
 
15869
- var index_gen$h = /*#__PURE__*/Object.freeze({
15884
+ var index_gen$i = /*#__PURE__*/Object.freeze({
15870
15885
  __proto__: null,
15871
- API: API$h,
15872
- ValidationRules: validationRules_gen$6
15886
+ API: API$i,
15887
+ ValidationRules: validationRules_gen$7
15873
15888
  });
15874
15889
 
15875
- var index$i = /*#__PURE__*/Object.freeze({
15890
+ var index$j = /*#__PURE__*/Object.freeze({
15876
15891
  __proto__: null,
15877
- v1: index_gen$h
15892
+ v1: index_gen$i
15878
15893
  });
15879
15894
 
15880
15895
  // This file was automatically generated. DO NOT EDIT.
@@ -16057,12 +16072,12 @@ const marshalUpdateVolumeRequest = (request, defaults) => ({
16057
16072
 
16058
16073
  // This file was automatically generated. DO NOT EDIT.
16059
16074
  // If you have any remark or suggestion do not hesitate to open an issue.
16060
- const jsonContentHeaders$g = {
16075
+ const jsonContentHeaders$h = {
16061
16076
  'Content-Type': 'application/json; charset=utf-8'
16062
16077
  };
16063
16078
 
16064
16079
  /** IPFS Pinning service API. */
16065
- let API$g = class API extends API$x {
16080
+ let API$h = class API extends API$y {
16066
16081
  /** Lists the available regions of the API. */
16067
16082
  static LOCALITIES = ['fr-par', 'nl-ams', 'pl-waw'];
16068
16083
 
@@ -16078,7 +16093,7 @@ let API$g = class API extends API$x {
16078
16093
  */
16079
16094
  createVolume = request => this.client.fetch({
16080
16095
  body: JSON.stringify(marshalCreateVolumeRequest(request, this.client.settings)),
16081
- headers: jsonContentHeaders$g,
16096
+ headers: jsonContentHeaders$h,
16082
16097
  method: 'POST',
16083
16098
  path: `/ipfs/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/volumes`
16084
16099
  }, unmarshalVolume$1);
@@ -16117,7 +16132,7 @@ let API$g = class API extends API$x {
16117
16132
  */
16118
16133
  updateVolume = request => this.client.fetch({
16119
16134
  body: JSON.stringify(marshalUpdateVolumeRequest(request, this.client.settings)),
16120
- headers: jsonContentHeaders$g,
16135
+ headers: jsonContentHeaders$h,
16121
16136
  method: 'PATCH',
16122
16137
  path: `/ipfs/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/volumes/${validatePathParam('volumeId', request.volumeId)}`
16123
16138
  }, unmarshalVolume$1);
@@ -16148,7 +16163,7 @@ let API$g = class API extends API$x {
16148
16163
  */
16149
16164
  createPinByURL = request => this.client.fetch({
16150
16165
  body: JSON.stringify(marshalCreatePinByURLRequest(request, this.client.settings)),
16151
- headers: jsonContentHeaders$g,
16166
+ headers: jsonContentHeaders$h,
16152
16167
  method: 'POST',
16153
16168
  path: `/ipfs/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/pins/create-by-url`
16154
16169
  }, unmarshalPin);
@@ -16167,7 +16182,7 @@ let API$g = class API extends API$x {
16167
16182
  */
16168
16183
  createPinByCID = request => this.client.fetch({
16169
16184
  body: JSON.stringify(marshalCreatePinByCIDRequest(request, this.client.settings)),
16170
- headers: jsonContentHeaders$g,
16185
+ headers: jsonContentHeaders$h,
16171
16186
  method: 'POST',
16172
16187
  path: `/ipfs/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/pins/create-by-cid`
16173
16188
  }, unmarshalPin);
@@ -16188,7 +16203,7 @@ let API$g = class API extends API$x {
16188
16203
  */
16189
16204
  replacePin = request => this.client.fetch({
16190
16205
  body: JSON.stringify(marshalReplacePinRequest(request, this.client.settings)),
16191
- headers: jsonContentHeaders$g,
16206
+ headers: jsonContentHeaders$h,
16192
16207
  method: 'POST',
16193
16208
  path: `/ipfs/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/pins/${validatePathParam('pinId', request.pinId)}/replace`
16194
16209
  }, unmarshalReplacePinResponse);
@@ -16244,7 +16259,7 @@ let API$g = class API extends API$x {
16244
16259
  };
16245
16260
 
16246
16261
  /** IPFS Naming service API. */
16247
- class IpnsAPI extends API$x {
16262
+ class IpnsAPI extends API$y {
16248
16263
  /** Lists the available regions of the API. */
16249
16264
  static LOCALITIES = ['fr-par', 'nl-ams', 'pl-waw'];
16250
16265
 
@@ -16257,7 +16272,7 @@ class IpnsAPI extends API$x {
16257
16272
  */
16258
16273
  createName = request => this.client.fetch({
16259
16274
  body: JSON.stringify(marshalIpnsApiCreateNameRequest(request, this.client.settings)),
16260
- headers: jsonContentHeaders$g,
16275
+ headers: jsonContentHeaders$h,
16261
16276
  method: 'POST',
16262
16277
  path: `/ipfs/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/names`
16263
16278
  }, unmarshalName);
@@ -16314,7 +16329,7 @@ class IpnsAPI extends API$x {
16314
16329
  */
16315
16330
  updateName = request => this.client.fetch({
16316
16331
  body: JSON.stringify(marshalIpnsApiUpdateNameRequest(request, this.client.settings)),
16317
- headers: jsonContentHeaders$g,
16332
+ headers: jsonContentHeaders$h,
16318
16333
  method: 'PATCH',
16319
16334
  path: `/ipfs/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/names/${validatePathParam('nameId', request.nameId)}`
16320
16335
  }, unmarshalName);
@@ -16338,7 +16353,7 @@ class IpnsAPI extends API$x {
16338
16353
  */
16339
16354
  importKeyName = request => this.client.fetch({
16340
16355
  body: JSON.stringify(marshalIpnsApiImportKeyNameRequest(request, this.client.settings)),
16341
- headers: jsonContentHeaders$g,
16356
+ headers: jsonContentHeaders$h,
16342
16357
  method: 'POST',
16343
16358
  path: `/ipfs/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/names/import-key`
16344
16359
  }, unmarshalName);
@@ -16347,17 +16362,17 @@ class IpnsAPI extends API$x {
16347
16362
  // This file was automatically generated. DO NOT EDIT.
16348
16363
  // If you have any remark or suggestion do not hesitate to open an issue.
16349
16364
 
16350
- var index_gen$g = /*#__PURE__*/Object.freeze({
16365
+ var index_gen$h = /*#__PURE__*/Object.freeze({
16351
16366
  __proto__: null,
16352
- API: API$g,
16367
+ API: API$h,
16353
16368
  IpnsAPI: IpnsAPI,
16354
16369
  NAME_TRANSIENT_STATUSES: NAME_TRANSIENT_STATUSES,
16355
16370
  PIN_TRANSIENT_STATUSES: PIN_TRANSIENT_STATUSES
16356
16371
  });
16357
16372
 
16358
- var index$h = /*#__PURE__*/Object.freeze({
16373
+ var index$i = /*#__PURE__*/Object.freeze({
16359
16374
  __proto__: null,
16360
- v1alpha1: index_gen$g
16375
+ v1alpha1: index_gen$h
16361
16376
  });
16362
16377
 
16363
16378
  // This file was automatically generated. DO NOT EDIT.
@@ -16410,6 +16425,7 @@ const unmarshalJobRun = data => {
16410
16425
  memoryLimit: data.memory_limit,
16411
16426
  region: data.region,
16412
16427
  runDuration: data.run_duration,
16428
+ startedAt: unmarshalDate(data.started_at),
16413
16429
  state: data.state,
16414
16430
  terminatedAt: unmarshalDate(data.terminated_at),
16415
16431
  updatedAt: unmarshalDate(data.updated_at)
@@ -16482,12 +16498,12 @@ const marshalUpdateJobDefinitionRequest = (request, defaults) => ({
16482
16498
 
16483
16499
  // This file was automatically generated. DO NOT EDIT.
16484
16500
  // If you have any remark or suggestion do not hesitate to open an issue.
16485
- const jsonContentHeaders$f = {
16501
+ const jsonContentHeaders$g = {
16486
16502
  'Content-Type': 'application/json; charset=utf-8'
16487
16503
  };
16488
16504
 
16489
16505
  /** Serverless Jobs API. */
16490
- let API$f = class API extends API$x {
16506
+ let API$g = class API extends API$y {
16491
16507
  /** Lists the available regions of the API. */
16492
16508
  static LOCALITIES = ['fr-par', 'nl-ams', 'pl-waw'];
16493
16509
 
@@ -16499,7 +16515,7 @@ let API$f = class API extends API$x {
16499
16515
  */
16500
16516
  createJobDefinition = request => this.client.fetch({
16501
16517
  body: JSON.stringify(marshalCreateJobDefinitionRequest(request, this.client.settings)),
16502
- headers: jsonContentHeaders$f,
16518
+ headers: jsonContentHeaders$g,
16503
16519
  method: 'POST',
16504
16520
  path: `/serverless-jobs/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/job-definitions`
16505
16521
  }, unmarshalJobDefinition);
@@ -16537,7 +16553,7 @@ let API$f = class API extends API$x {
16537
16553
  */
16538
16554
  updateJobDefinition = request => this.client.fetch({
16539
16555
  body: JSON.stringify(marshalUpdateJobDefinitionRequest(request, this.client.settings)),
16540
- headers: jsonContentHeaders$f,
16556
+ headers: jsonContentHeaders$g,
16541
16557
  method: 'PATCH',
16542
16558
  path: `/serverless-jobs/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/job-definitions/${validatePathParam('jobDefinitionId', request.jobDefinitionId)}`
16543
16559
  }, unmarshalJobDefinition);
@@ -16561,7 +16577,7 @@ let API$f = class API extends API$x {
16561
16577
  */
16562
16578
  startJobDefinition = request => this.client.fetch({
16563
16579
  body: JSON.stringify(marshalStartJobDefinitionRequest(request, this.client.settings)),
16564
- headers: jsonContentHeaders$f,
16580
+ headers: jsonContentHeaders$g,
16565
16581
  method: 'POST',
16566
16582
  path: `/serverless-jobs/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/job-definitions/${validatePathParam('jobDefinitionId', request.jobDefinitionId)}/start`
16567
16583
  }, unmarshalStartJobDefinitionResponse);
@@ -16585,7 +16601,7 @@ let API$f = class API extends API$x {
16585
16601
  */
16586
16602
  stopJobRun = request => this.client.fetch({
16587
16603
  body: '{}',
16588
- headers: jsonContentHeaders$f,
16604
+ headers: jsonContentHeaders$g,
16589
16605
  method: 'POST',
16590
16606
  path: `/serverless-jobs/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/job-runs/${validatePathParam('jobRunId', request.jobRunId)}/stop`
16591
16607
  }, unmarshalJobRun);
@@ -16701,7 +16717,7 @@ const UpdateJobDefinitionRequestCronScheduleConfig = {
16701
16717
  }
16702
16718
  };
16703
16719
 
16704
- var validationRules_gen$5 = /*#__PURE__*/Object.freeze({
16720
+ var validationRules_gen$6 = /*#__PURE__*/Object.freeze({
16705
16721
  __proto__: null,
16706
16722
  CreateJobDefinitionRequest: CreateJobDefinitionRequest,
16707
16723
  CreateJobDefinitionRequestCronScheduleConfig: CreateJobDefinitionRequestCronScheduleConfig,
@@ -16716,16 +16732,16 @@ var validationRules_gen$5 = /*#__PURE__*/Object.freeze({
16716
16732
  // This file was automatically generated. DO NOT EDIT.
16717
16733
  // If you have any remark or suggestion do not hesitate to open an issue.
16718
16734
 
16719
- var index_gen$f = /*#__PURE__*/Object.freeze({
16735
+ var index_gen$g = /*#__PURE__*/Object.freeze({
16720
16736
  __proto__: null,
16721
- API: API$f,
16737
+ API: API$g,
16722
16738
  JOB_RUN_TRANSIENT_STATUSES: JOB_RUN_TRANSIENT_STATUSES,
16723
- ValidationRules: validationRules_gen$5
16739
+ ValidationRules: validationRules_gen$6
16724
16740
  });
16725
16741
 
16726
- var index$g = /*#__PURE__*/Object.freeze({
16742
+ var index$h = /*#__PURE__*/Object.freeze({
16727
16743
  __proto__: null,
16728
- v1alpha1: index_gen$f
16744
+ v1alpha1: index_gen$g
16729
16745
  });
16730
16746
 
16731
16747
  // This file was automatically generated. DO NOT EDIT.
@@ -17167,12 +17183,12 @@ const marshalUpgradePoolRequest = (request, defaults) => ({
17167
17183
 
17168
17184
  // This file was automatically generated. DO NOT EDIT.
17169
17185
  // If you have any remark or suggestion do not hesitate to open an issue.
17170
- const jsonContentHeaders$e = {
17186
+ const jsonContentHeaders$f = {
17171
17187
  'Content-Type': 'application/json; charset=utf-8'
17172
17188
  };
17173
17189
 
17174
17190
  /** Kubernetes API. */
17175
- let API$e = class API extends API$x {
17191
+ let API$f = class API extends API$y {
17176
17192
  /** Lists the available regions of the API. */
17177
17193
  static LOCALITIES = ['fr-par', 'nl-ams', 'pl-waw'];
17178
17194
  pageOfListClusters = (request = {}) => this.client.fetch({
@@ -17197,7 +17213,7 @@ let API$e = class API extends API$x {
17197
17213
  */
17198
17214
  createCluster = request => this.client.fetch({
17199
17215
  body: JSON.stringify(marshalCreateClusterRequest$1(request, this.client.settings)),
17200
- headers: jsonContentHeaders$e,
17216
+ headers: jsonContentHeaders$f,
17201
17217
  method: 'POST',
17202
17218
  path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/clusters`
17203
17219
  }, unmarshalCluster$1);
@@ -17232,7 +17248,7 @@ let API$e = class API extends API$x {
17232
17248
  */
17233
17249
  updateCluster = request => this.client.fetch({
17234
17250
  body: JSON.stringify(marshalUpdateClusterRequest$1(request, this.client.settings)),
17235
- headers: jsonContentHeaders$e,
17251
+ headers: jsonContentHeaders$f,
17236
17252
  method: 'PATCH',
17237
17253
  path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/clusters/${validatePathParam('clusterId', request.clusterId)}`
17238
17254
  }, unmarshalCluster$1);
@@ -17260,7 +17276,7 @@ let API$e = class API extends API$x {
17260
17276
  */
17261
17277
  upgradeCluster = request => this.client.fetch({
17262
17278
  body: JSON.stringify(marshalUpgradeClusterRequest(request, this.client.settings)),
17263
- headers: jsonContentHeaders$e,
17279
+ headers: jsonContentHeaders$f,
17264
17280
  method: 'POST',
17265
17281
  path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/clusters/${validatePathParam('clusterId', request.clusterId)}/upgrade`
17266
17282
  }, unmarshalCluster$1);
@@ -17276,7 +17292,7 @@ let API$e = class API extends API$x {
17276
17292
  */
17277
17293
  setClusterType = request => this.client.fetch({
17278
17294
  body: JSON.stringify(marshalSetClusterTypeRequest(request, this.client.settings)),
17279
- headers: jsonContentHeaders$e,
17295
+ headers: jsonContentHeaders$f,
17280
17296
  method: 'POST',
17281
17297
  path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/clusters/${validatePathParam('clusterId', request.clusterId)}/set-type`
17282
17298
  }, unmarshalCluster$1);
@@ -17324,7 +17340,7 @@ let API$e = class API extends API$x {
17324
17340
  */
17325
17341
  resetClusterAdminToken = request => this.client.fetch({
17326
17342
  body: '{}',
17327
- headers: jsonContentHeaders$e,
17343
+ headers: jsonContentHeaders$f,
17328
17344
  method: 'POST',
17329
17345
  path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/clusters/${validatePathParam('clusterId', request.clusterId)}/reset-admin-token`
17330
17346
  });
@@ -17339,7 +17355,7 @@ let API$e = class API extends API$x {
17339
17355
  */
17340
17356
  migrateToPrivateNetworkCluster = request => this.client.fetch({
17341
17357
  body: JSON.stringify(marshalMigrateToPrivateNetworkClusterRequest(request, this.client.settings)),
17342
- headers: jsonContentHeaders$e,
17358
+ headers: jsonContentHeaders$f,
17343
17359
  method: 'POST',
17344
17360
  path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/clusters/${validatePathParam('clusterId', request.clusterId)}/migrate-to-private-network`
17345
17361
  }, unmarshalCluster$1);
@@ -17367,7 +17383,7 @@ let API$e = class API extends API$x {
17367
17383
  */
17368
17384
  createPool = request => this.client.fetch({
17369
17385
  body: JSON.stringify(marshalCreatePoolRequest(request, this.client.settings)),
17370
- headers: jsonContentHeaders$e,
17386
+ headers: jsonContentHeaders$f,
17371
17387
  method: 'POST',
17372
17388
  path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/clusters/${validatePathParam('clusterId', request.clusterId)}/pools`
17373
17389
  }, unmarshalPool);
@@ -17403,7 +17419,7 @@ let API$e = class API extends API$x {
17403
17419
  */
17404
17420
  upgradePool = request => this.client.fetch({
17405
17421
  body: JSON.stringify(marshalUpgradePoolRequest(request, this.client.settings)),
17406
- headers: jsonContentHeaders$e,
17422
+ headers: jsonContentHeaders$f,
17407
17423
  method: 'POST',
17408
17424
  path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/pools/${validatePathParam('poolId', request.poolId)}/upgrade`
17409
17425
  }, unmarshalPool);
@@ -17417,7 +17433,7 @@ let API$e = class API extends API$x {
17417
17433
  */
17418
17434
  updatePool = request => this.client.fetch({
17419
17435
  body: JSON.stringify(marshalUpdatePoolRequest(request, this.client.settings)),
17420
- headers: jsonContentHeaders$e,
17436
+ headers: jsonContentHeaders$f,
17421
17437
  method: 'PATCH',
17422
17438
  path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/pools/${validatePathParam('poolId', request.poolId)}`
17423
17439
  }, unmarshalPool);
@@ -17444,7 +17460,7 @@ let API$e = class API extends API$x {
17444
17460
  */
17445
17461
  createExternalNode = request => this.client.fetch({
17446
17462
  body: '{}',
17447
- headers: jsonContentHeaders$e,
17463
+ headers: jsonContentHeaders$f,
17448
17464
  method: 'POST',
17449
17465
  path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/pools/${validatePathParam('poolId', request.poolId)}/external-nodes`
17450
17466
  }, unmarshalExternalNode);
@@ -17497,7 +17513,7 @@ let API$e = class API extends API$x {
17497
17513
  */
17498
17514
  replaceNode = request => this.client.fetch({
17499
17515
  body: '{}',
17500
- headers: jsonContentHeaders$e,
17516
+ headers: jsonContentHeaders$f,
17501
17517
  method: 'POST',
17502
17518
  path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/nodes/${validatePathParam('nodeId', request.nodeId)}/replace`
17503
17519
  }, unmarshalNode);
@@ -17514,7 +17530,7 @@ let API$e = class API extends API$x {
17514
17530
  */
17515
17531
  rebootNode = request => this.client.fetch({
17516
17532
  body: '{}',
17517
- headers: jsonContentHeaders$e,
17533
+ headers: jsonContentHeaders$f,
17518
17534
  method: 'POST',
17519
17535
  path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/nodes/${validatePathParam('nodeId', request.nodeId)}/reboot`
17520
17536
  }, unmarshalNode);
@@ -17571,7 +17587,7 @@ let API$e = class API extends API$x {
17571
17587
  listClusterTypes = (request = {}) => enrichForPagination('clusterTypes', this.pageOfListClusterTypes, request);
17572
17588
  };
17573
17589
 
17574
- class K8SUtilsAPI extends API$e {
17590
+ class K8SUtilsAPI extends API$f {
17575
17591
  /**
17576
17592
  * Get configuration of a kube cluster.
17577
17593
  *
@@ -17681,7 +17697,7 @@ const UpdateClusterRequestAutoscalerConfig = {
17681
17697
  }
17682
17698
  };
17683
17699
 
17684
- var validationRules_gen$4 = /*#__PURE__*/Object.freeze({
17700
+ var validationRules_gen$5 = /*#__PURE__*/Object.freeze({
17685
17701
  __proto__: null,
17686
17702
  CreateClusterRequest: CreateClusterRequest,
17687
17703
  CreateClusterRequestAutoscalerConfig: CreateClusterRequestAutoscalerConfig,
@@ -17697,18 +17713,18 @@ var validationRules_gen$4 = /*#__PURE__*/Object.freeze({
17697
17713
  UpdateClusterRequestAutoscalerConfig: UpdateClusterRequestAutoscalerConfig
17698
17714
  });
17699
17715
 
17700
- var index$f = /*#__PURE__*/Object.freeze({
17716
+ var index$g = /*#__PURE__*/Object.freeze({
17701
17717
  __proto__: null,
17702
17718
  API: K8SUtilsAPI,
17703
17719
  CLUSTER_TRANSIENT_STATUSES: CLUSTER_TRANSIENT_STATUSES$1,
17704
17720
  NODE_TRANSIENT_STATUSES: NODE_TRANSIENT_STATUSES,
17705
17721
  POOL_TRANSIENT_STATUSES: POOL_TRANSIENT_STATUSES,
17706
- ValidationRules: validationRules_gen$4
17722
+ ValidationRules: validationRules_gen$5
17707
17723
  });
17708
17724
 
17709
- var index$e = /*#__PURE__*/Object.freeze({
17725
+ var index$f = /*#__PURE__*/Object.freeze({
17710
17726
  __proto__: null,
17711
- v1: index$f
17727
+ v1: index$g
17712
17728
  });
17713
17729
 
17714
17730
  // This file was automatically generated. DO NOT EDIT.
@@ -18770,7 +18786,7 @@ const marshalZonedApiUpdateSubscriberRequest = (request, defaults) => ({
18770
18786
 
18771
18787
  // This file was automatically generated. DO NOT EDIT.
18772
18788
  // If you have any remark or suggestion do not hesitate to open an issue.
18773
- const jsonContentHeaders$d = {
18789
+ const jsonContentHeaders$e = {
18774
18790
  'Content-Type': 'application/json; charset=utf-8'
18775
18791
  };
18776
18792
 
@@ -18779,13 +18795,13 @@ const jsonContentHeaders$d = {
18779
18795
  *
18780
18796
  * This API allows you to manage your Scaleway Load Balancer services.
18781
18797
  */
18782
- class ZonedAPI extends API$x {
18798
+ class ZonedAPI extends API$y {
18783
18799
  /** Lists the available zones of the API. */
18784
18800
  static LOCALITIES = ['fr-par-1', 'fr-par-2', 'nl-ams-1', 'nl-ams-2', 'nl-ams-3', 'pl-waw-1', 'pl-waw-2', 'pl-waw-3'];
18785
18801
  pageOfListLbs = (request = {}) => this.client.fetch({
18786
18802
  method: 'GET',
18787
18803
  path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/lbs`,
18788
- urlParams: urlParams(['name', request.name], ['order_by', request.orderBy], ['organization_id', request.organizationId], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['project_id', request.projectId])
18804
+ urlParams: urlParams(['name', request.name], ['order_by', request.orderBy], ['organization_id', request.organizationId], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['project_id', request.projectId], ['tags', request.tags])
18789
18805
  }, unmarshalListLbsResponse);
18790
18806
 
18791
18807
  /**
@@ -18809,7 +18825,7 @@ class ZonedAPI extends API$x {
18809
18825
  */
18810
18826
  createLb = request => this.client.fetch({
18811
18827
  body: JSON.stringify(marshalZonedApiCreateLbRequest(request, this.client.settings)),
18812
- headers: jsonContentHeaders$d,
18828
+ headers: jsonContentHeaders$e,
18813
18829
  method: 'POST',
18814
18830
  path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/lbs`
18815
18831
  }, unmarshalLb);
@@ -18846,7 +18862,7 @@ class ZonedAPI extends API$x {
18846
18862
  */
18847
18863
  updateLb = request => this.client.fetch({
18848
18864
  body: JSON.stringify(marshalZonedApiUpdateLbRequest(request, this.client.settings)),
18849
- headers: jsonContentHeaders$d,
18865
+ headers: jsonContentHeaders$e,
18850
18866
  method: 'PUT',
18851
18867
  path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/lbs/${validatePathParam('lbId', request.lbId)}`
18852
18868
  }, unmarshalLb);
@@ -18875,7 +18891,7 @@ class ZonedAPI extends API$x {
18875
18891
  */
18876
18892
  migrateLb = request => this.client.fetch({
18877
18893
  body: JSON.stringify(marshalZonedApiMigrateLbRequest(request, this.client.settings)),
18878
- headers: jsonContentHeaders$d,
18894
+ headers: jsonContentHeaders$e,
18879
18895
  method: 'POST',
18880
18896
  path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/lbs/${validatePathParam('lbId', request.lbId)}/migrate`
18881
18897
  }, unmarshalLb);
@@ -18905,7 +18921,7 @@ class ZonedAPI extends API$x {
18905
18921
  */
18906
18922
  createIp = request => this.client.fetch({
18907
18923
  body: JSON.stringify(marshalZonedApiCreateIpRequest(request, this.client.settings)),
18908
- headers: jsonContentHeaders$d,
18924
+ headers: jsonContentHeaders$e,
18909
18925
  method: 'POST',
18910
18926
  path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/ips`
18911
18927
  }, unmarshalIp);
@@ -18942,7 +18958,7 @@ class ZonedAPI extends API$x {
18942
18958
  */
18943
18959
  updateIp = request => this.client.fetch({
18944
18960
  body: JSON.stringify(marshalZonedApiUpdateIpRequest(request, this.client.settings)),
18945
- headers: jsonContentHeaders$d,
18961
+ headers: jsonContentHeaders$e,
18946
18962
  method: 'PATCH',
18947
18963
  path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/ips/${validatePathParam('ipId', request.ipId)}`
18948
18964
  }, unmarshalIp);
@@ -18975,7 +18991,7 @@ class ZonedAPI extends API$x {
18975
18991
  */
18976
18992
  createBackend = request => this.client.fetch({
18977
18993
  body: JSON.stringify(marshalZonedApiCreateBackendRequest(request, this.client.settings)),
18978
- headers: jsonContentHeaders$d,
18994
+ headers: jsonContentHeaders$e,
18979
18995
  method: 'POST',
18980
18996
  path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/lbs/${validatePathParam('lbId', request.lbId)}/backends`
18981
18997
  }, unmarshalBackend);
@@ -19004,7 +19020,7 @@ class ZonedAPI extends API$x {
19004
19020
  */
19005
19021
  updateBackend = request => this.client.fetch({
19006
19022
  body: JSON.stringify(marshalZonedApiUpdateBackendRequest(request, this.client.settings)),
19007
- headers: jsonContentHeaders$d,
19023
+ headers: jsonContentHeaders$e,
19008
19024
  method: 'PUT',
19009
19025
  path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/backends/${validatePathParam('backendId', request.backendId)}`
19010
19026
  }, unmarshalBackend);
@@ -19032,7 +19048,7 @@ class ZonedAPI extends API$x {
19032
19048
  */
19033
19049
  addBackendServers = request => this.client.fetch({
19034
19050
  body: JSON.stringify(marshalZonedApiAddBackendServersRequest(request, this.client.settings)),
19035
- headers: jsonContentHeaders$d,
19051
+ headers: jsonContentHeaders$e,
19036
19052
  method: 'POST',
19037
19053
  path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/backends/${validatePathParam('backendId', request.backendId)}/servers`
19038
19054
  }, unmarshalBackend);
@@ -19047,7 +19063,7 @@ class ZonedAPI extends API$x {
19047
19063
  */
19048
19064
  removeBackendServers = request => this.client.fetch({
19049
19065
  body: JSON.stringify(marshalZonedApiRemoveBackendServersRequest(request, this.client.settings)),
19050
- headers: jsonContentHeaders$d,
19066
+ headers: jsonContentHeaders$e,
19051
19067
  method: 'DELETE',
19052
19068
  path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/backends/${validatePathParam('backendId', request.backendId)}/servers`
19053
19069
  }, unmarshalBackend);
@@ -19063,7 +19079,7 @@ class ZonedAPI extends API$x {
19063
19079
  */
19064
19080
  setBackendServers = request => this.client.fetch({
19065
19081
  body: JSON.stringify(marshalZonedApiSetBackendServersRequest(request, this.client.settings)),
19066
- headers: jsonContentHeaders$d,
19082
+ headers: jsonContentHeaders$e,
19067
19083
  method: 'PUT',
19068
19084
  path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/backends/${validatePathParam('backendId', request.backendId)}/servers`
19069
19085
  }, unmarshalBackend);
@@ -19079,7 +19095,7 @@ class ZonedAPI extends API$x {
19079
19095
  */
19080
19096
  updateHealthCheck = request => this.client.fetch({
19081
19097
  body: JSON.stringify(marshalZonedApiUpdateHealthCheckRequest(request, this.client.settings)),
19082
- headers: jsonContentHeaders$d,
19098
+ headers: jsonContentHeaders$e,
19083
19099
  method: 'PUT',
19084
19100
  path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/backends/${validatePathParam('backendId', request.backendId)}/healthcheck`
19085
19101
  }, unmarshalHealthCheck);
@@ -19112,7 +19128,7 @@ class ZonedAPI extends API$x {
19112
19128
  */
19113
19129
  createFrontend = request => this.client.fetch({
19114
19130
  body: JSON.stringify(marshalZonedApiCreateFrontendRequest(request, this.client.settings)),
19115
- headers: jsonContentHeaders$d,
19131
+ headers: jsonContentHeaders$e,
19116
19132
  method: 'POST',
19117
19133
  path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/lbs/${validatePathParam('lbId', request.lbId)}/frontends`
19118
19134
  }, unmarshalFrontend);
@@ -19142,7 +19158,7 @@ class ZonedAPI extends API$x {
19142
19158
  */
19143
19159
  updateFrontend = request => this.client.fetch({
19144
19160
  body: JSON.stringify(marshalZonedApiUpdateFrontendRequest(request, this.client.settings)),
19145
- headers: jsonContentHeaders$d,
19161
+ headers: jsonContentHeaders$e,
19146
19162
  method: 'PUT',
19147
19163
  path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/frontends/${validatePathParam('frontendId', request.frontendId)}`
19148
19164
  }, unmarshalFrontend);
@@ -19184,7 +19200,7 @@ class ZonedAPI extends API$x {
19184
19200
  */
19185
19201
  createRoute = request => this.client.fetch({
19186
19202
  body: JSON.stringify(marshalZonedApiCreateRouteRequest(request, this.client.settings)),
19187
- headers: jsonContentHeaders$d,
19203
+ headers: jsonContentHeaders$e,
19188
19204
  method: 'POST',
19189
19205
  path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/routes`
19190
19206
  }, unmarshalRoute);
@@ -19211,7 +19227,7 @@ class ZonedAPI extends API$x {
19211
19227
  */
19212
19228
  updateRoute = request => this.client.fetch({
19213
19229
  body: JSON.stringify(marshalZonedApiUpdateRouteRequest(request, this.client.settings)),
19214
- headers: jsonContentHeaders$d,
19230
+ headers: jsonContentHeaders$e,
19215
19231
  method: 'PUT',
19216
19232
  path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/routes/${validatePathParam('routeId', request.routeId)}`
19217
19233
  }, unmarshalRoute);
@@ -19281,7 +19297,7 @@ class ZonedAPI extends API$x {
19281
19297
  */
19282
19298
  createAcl = request => this.client.fetch({
19283
19299
  body: JSON.stringify(marshalZonedApiCreateAclRequest(request, this.client.settings)),
19284
- headers: jsonContentHeaders$d,
19300
+ headers: jsonContentHeaders$e,
19285
19301
  method: 'POST',
19286
19302
  path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/frontends/${validatePathParam('frontendId', request.frontendId)}/acls`
19287
19303
  }, unmarshalAcl);
@@ -19308,7 +19324,7 @@ class ZonedAPI extends API$x {
19308
19324
  */
19309
19325
  updateAcl = request => this.client.fetch({
19310
19326
  body: JSON.stringify(marshalZonedApiUpdateAclRequest(request, this.client.settings)),
19311
- headers: jsonContentHeaders$d,
19327
+ headers: jsonContentHeaders$e,
19312
19328
  method: 'PUT',
19313
19329
  path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/acls/${validatePathParam('aclId', request.aclId)}`
19314
19330
  }, unmarshalAcl);
@@ -19334,7 +19350,7 @@ class ZonedAPI extends API$x {
19334
19350
  */
19335
19351
  setAcls = request => this.client.fetch({
19336
19352
  body: JSON.stringify(marshalZonedApiSetAclsRequest(request, this.client.settings)),
19337
- headers: jsonContentHeaders$d,
19353
+ headers: jsonContentHeaders$e,
19338
19354
  method: 'PUT',
19339
19355
  path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/frontends/${validatePathParam('frontendId', request.frontendId)}/acls`
19340
19356
  }, unmarshalSetAclsResponse);
@@ -19349,7 +19365,7 @@ class ZonedAPI extends API$x {
19349
19365
  */
19350
19366
  createCertificate = request => this.client.fetch({
19351
19367
  body: JSON.stringify(marshalZonedApiCreateCertificateRequest(request, this.client.settings)),
19352
- headers: jsonContentHeaders$d,
19368
+ headers: jsonContentHeaders$e,
19353
19369
  method: 'POST',
19354
19370
  path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/lbs/${validatePathParam('lbId', request.lbId)}/certificates`
19355
19371
  }, unmarshalCertificate);
@@ -19402,7 +19418,7 @@ class ZonedAPI extends API$x {
19402
19418
  */
19403
19419
  updateCertificate = request => this.client.fetch({
19404
19420
  body: JSON.stringify(marshalZonedApiUpdateCertificateRequest(request, this.client.settings)),
19405
- headers: jsonContentHeaders$d,
19421
+ headers: jsonContentHeaders$e,
19406
19422
  method: 'PUT',
19407
19423
  path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/certificates/${validatePathParam('certificateId', request.certificateId)}`
19408
19424
  }, unmarshalCertificate);
@@ -19444,7 +19460,7 @@ class ZonedAPI extends API$x {
19444
19460
  */
19445
19461
  createSubscriber = request => this.client.fetch({
19446
19462
  body: JSON.stringify(marshalZonedApiCreateSubscriberRequest(request, this.client.settings)),
19447
- headers: jsonContentHeaders$d,
19463
+ headers: jsonContentHeaders$e,
19448
19464
  method: 'POST',
19449
19465
  path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/subscribers`
19450
19466
  }, unmarshalSubscriber);
@@ -19488,7 +19504,7 @@ class ZonedAPI extends API$x {
19488
19504
  */
19489
19505
  updateSubscriber = request => this.client.fetch({
19490
19506
  body: JSON.stringify(marshalZonedApiUpdateSubscriberRequest(request, this.client.settings)),
19491
- headers: jsonContentHeaders$d,
19507
+ headers: jsonContentHeaders$e,
19492
19508
  method: 'PUT',
19493
19509
  path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/subscribers/${validatePathParam('subscriberId', request.subscriberId)}`
19494
19510
  }, unmarshalSubscriber);
@@ -19513,7 +19529,7 @@ class ZonedAPI extends API$x {
19513
19529
  */
19514
19530
  subscribeToLb = request => this.client.fetch({
19515
19531
  body: JSON.stringify(marshalZonedApiSubscribeToLbRequest(request, this.client.settings)),
19516
- headers: jsonContentHeaders$d,
19532
+ headers: jsonContentHeaders$e,
19517
19533
  method: 'POST',
19518
19534
  path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/lb/${validatePathParam('lbId', request.lbId)}/subscribe`
19519
19535
  }, unmarshalLb);
@@ -19558,7 +19574,7 @@ class ZonedAPI extends API$x {
19558
19574
  */
19559
19575
  attachPrivateNetwork = request => this.client.fetch({
19560
19576
  body: JSON.stringify(marshalZonedApiAttachPrivateNetworkRequest(request, this.client.settings)),
19561
- headers: jsonContentHeaders$d,
19577
+ headers: jsonContentHeaders$e,
19562
19578
  method: 'POST',
19563
19579
  path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/lbs/${validatePathParam('lbId', request.lbId)}/private-networks/${validatePathParam('privateNetworkId', request.privateNetworkId)}/attach`
19564
19580
  }, unmarshalPrivateNetwork$3);
@@ -19571,7 +19587,7 @@ class ZonedAPI extends API$x {
19571
19587
  */
19572
19588
  detachPrivateNetwork = request => this.client.fetch({
19573
19589
  body: '{}',
19574
- headers: jsonContentHeaders$d,
19590
+ headers: jsonContentHeaders$e,
19575
19591
  method: 'POST',
19576
19592
  path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/lbs/${validatePathParam('lbId', request.lbId)}/private-networks/${validatePathParam('privateNetworkId', request.privateNetworkId)}/detach`
19577
19593
  });
@@ -19582,13 +19598,13 @@ class ZonedAPI extends API$x {
19582
19598
  *
19583
19599
  * This API allows you to manage your load balancer service.
19584
19600
  */
19585
- let API$d = class API extends API$x {
19601
+ let API$e = class API extends API$y {
19586
19602
  /** Lists the available regions of the API. */
19587
19603
  static LOCALITIES = ['fr-par', 'nl-ams', 'pl-waw'];
19588
19604
  pageOfListLbs = (request = {}) => this.client.fetch({
19589
19605
  method: 'GET',
19590
19606
  path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/lbs`,
19591
- urlParams: urlParams(['name', request.name], ['order_by', request.orderBy], ['organization_id', request.organizationId], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['project_id', request.projectId])
19607
+ urlParams: urlParams(['name', request.name], ['order_by', request.orderBy], ['organization_id', request.organizationId], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['project_id', request.projectId], ['tags', request.tags])
19592
19608
  }, unmarshalListLbsResponse);
19593
19609
 
19594
19610
  /**
@@ -19607,7 +19623,7 @@ let API$d = class API extends API$x {
19607
19623
  */
19608
19624
  createLb = request => this.client.fetch({
19609
19625
  body: JSON.stringify(marshalCreateLbRequest(request, this.client.settings)),
19610
- headers: jsonContentHeaders$d,
19626
+ headers: jsonContentHeaders$e,
19611
19627
  method: 'POST',
19612
19628
  path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/lbs`
19613
19629
  }, unmarshalLb);
@@ -19640,7 +19656,7 @@ let API$d = class API extends API$x {
19640
19656
  */
19641
19657
  updateLb = request => this.client.fetch({
19642
19658
  body: JSON.stringify(marshalUpdateLbRequest(request, this.client.settings)),
19643
- headers: jsonContentHeaders$d,
19659
+ headers: jsonContentHeaders$e,
19644
19660
  method: 'PUT',
19645
19661
  path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/lbs/${validatePathParam('lbId', request.lbId)}`
19646
19662
  }, unmarshalLb);
@@ -19664,7 +19680,7 @@ let API$d = class API extends API$x {
19664
19680
  */
19665
19681
  migrateLb = request => this.client.fetch({
19666
19682
  body: JSON.stringify(marshalMigrateLbRequest(request, this.client.settings)),
19667
- headers: jsonContentHeaders$d,
19683
+ headers: jsonContentHeaders$e,
19668
19684
  method: 'POST',
19669
19685
  path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/lbs/${validatePathParam('lbId', request.lbId)}/migrate`
19670
19686
  }, unmarshalLb);
@@ -19690,7 +19706,7 @@ let API$d = class API extends API$x {
19690
19706
  */
19691
19707
  createIp = request => this.client.fetch({
19692
19708
  body: JSON.stringify(marshalCreateIpRequest(request, this.client.settings)),
19693
- headers: jsonContentHeaders$d,
19709
+ headers: jsonContentHeaders$e,
19694
19710
  method: 'POST',
19695
19711
  path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/ips`
19696
19712
  }, unmarshalIp);
@@ -19724,7 +19740,7 @@ let API$d = class API extends API$x {
19724
19740
  */
19725
19741
  updateIp = request => this.client.fetch({
19726
19742
  body: JSON.stringify(marshalUpdateIpRequest(request, this.client.settings)),
19727
- headers: jsonContentHeaders$d,
19743
+ headers: jsonContentHeaders$e,
19728
19744
  method: 'PATCH',
19729
19745
  path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/ips/${validatePathParam('ipId', request.ipId)}`
19730
19746
  }, unmarshalIp);
@@ -19750,7 +19766,7 @@ let API$d = class API extends API$x {
19750
19766
  */
19751
19767
  createBackend = request => this.client.fetch({
19752
19768
  body: JSON.stringify(marshalCreateBackendRequest(request, this.client.settings)),
19753
- headers: jsonContentHeaders$d,
19769
+ headers: jsonContentHeaders$e,
19754
19770
  method: 'POST',
19755
19771
  path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/lbs/${validatePathParam('lbId', request.lbId)}/backends`
19756
19772
  }, unmarshalBackend);
@@ -19774,7 +19790,7 @@ let API$d = class API extends API$x {
19774
19790
  */
19775
19791
  updateBackend = request => this.client.fetch({
19776
19792
  body: JSON.stringify(marshalUpdateBackendRequest(request, this.client.settings)),
19777
- headers: jsonContentHeaders$d,
19793
+ headers: jsonContentHeaders$e,
19778
19794
  method: 'PUT',
19779
19795
  path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/backends/${validatePathParam('backendId', request.backendId)}`
19780
19796
  }, unmarshalBackend);
@@ -19797,7 +19813,7 @@ let API$d = class API extends API$x {
19797
19813
  */
19798
19814
  addBackendServers = request => this.client.fetch({
19799
19815
  body: JSON.stringify(marshalAddBackendServersRequest(request, this.client.settings)),
19800
- headers: jsonContentHeaders$d,
19816
+ headers: jsonContentHeaders$e,
19801
19817
  method: 'POST',
19802
19818
  path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/backends/${validatePathParam('backendId', request.backendId)}/servers`
19803
19819
  }, unmarshalBackend);
@@ -19810,7 +19826,7 @@ let API$d = class API extends API$x {
19810
19826
  */
19811
19827
  removeBackendServers = request => this.client.fetch({
19812
19828
  body: JSON.stringify(marshalRemoveBackendServersRequest(request, this.client.settings)),
19813
- headers: jsonContentHeaders$d,
19829
+ headers: jsonContentHeaders$e,
19814
19830
  method: 'DELETE',
19815
19831
  path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/backends/${validatePathParam('backendId', request.backendId)}/servers`
19816
19832
  }, unmarshalBackend);
@@ -19823,7 +19839,7 @@ let API$d = class API extends API$x {
19823
19839
  */
19824
19840
  setBackendServers = request => this.client.fetch({
19825
19841
  body: JSON.stringify(marshalSetBackendServersRequest(request, this.client.settings)),
19826
- headers: jsonContentHeaders$d,
19842
+ headers: jsonContentHeaders$e,
19827
19843
  method: 'PUT',
19828
19844
  path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/backends/${validatePathParam('backendId', request.backendId)}/servers`
19829
19845
  }, unmarshalBackend);
@@ -19836,7 +19852,7 @@ let API$d = class API extends API$x {
19836
19852
  */
19837
19853
  updateHealthCheck = request => this.client.fetch({
19838
19854
  body: JSON.stringify(marshalUpdateHealthCheckRequest(request, this.client.settings)),
19839
- headers: jsonContentHeaders$d,
19855
+ headers: jsonContentHeaders$e,
19840
19856
  method: 'PUT',
19841
19857
  path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/backends/${validatePathParam('backendId', request.backendId)}/healthcheck`
19842
19858
  }, unmarshalHealthCheck);
@@ -19862,7 +19878,7 @@ let API$d = class API extends API$x {
19862
19878
  */
19863
19879
  createFrontend = request => this.client.fetch({
19864
19880
  body: JSON.stringify(marshalCreateFrontendRequest(request, this.client.settings)),
19865
- headers: jsonContentHeaders$d,
19881
+ headers: jsonContentHeaders$e,
19866
19882
  method: 'POST',
19867
19883
  path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/lbs/${validatePathParam('lbId', request.lbId)}/frontends`
19868
19884
  }, unmarshalFrontend);
@@ -19886,7 +19902,7 @@ let API$d = class API extends API$x {
19886
19902
  */
19887
19903
  updateFrontend = request => this.client.fetch({
19888
19904
  body: JSON.stringify(marshalUpdateFrontendRequest(request, this.client.settings)),
19889
- headers: jsonContentHeaders$d,
19905
+ headers: jsonContentHeaders$e,
19890
19906
  method: 'PUT',
19891
19907
  path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/frontends/${validatePathParam('frontendId', request.frontendId)}`
19892
19908
  }, unmarshalFrontend);
@@ -19922,7 +19938,7 @@ let API$d = class API extends API$x {
19922
19938
  */
19923
19939
  createRoute = request => this.client.fetch({
19924
19940
  body: JSON.stringify(marshalCreateRouteRequest(request, this.client.settings)),
19925
- headers: jsonContentHeaders$d,
19941
+ headers: jsonContentHeaders$e,
19926
19942
  method: 'POST',
19927
19943
  path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/routes`
19928
19944
  }, unmarshalRoute);
@@ -19946,7 +19962,7 @@ let API$d = class API extends API$x {
19946
19962
  */
19947
19963
  updateRoute = request => this.client.fetch({
19948
19964
  body: JSON.stringify(marshalUpdateRouteRequest(request, this.client.settings)),
19949
- headers: jsonContentHeaders$d,
19965
+ headers: jsonContentHeaders$e,
19950
19966
  method: 'PUT',
19951
19967
  path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/routes/${validatePathParam('routeId', request.routeId)}`
19952
19968
  }, unmarshalRoute);
@@ -20008,7 +20024,7 @@ let API$d = class API extends API$x {
20008
20024
  */
20009
20025
  createAcl = request => this.client.fetch({
20010
20026
  body: JSON.stringify(marshalCreateAclRequest(request, this.client.settings)),
20011
- headers: jsonContentHeaders$d,
20027
+ headers: jsonContentHeaders$e,
20012
20028
  method: 'POST',
20013
20029
  path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/frontends/${validatePathParam('frontendId', request.frontendId)}/acls`
20014
20030
  }, unmarshalAcl);
@@ -20032,7 +20048,7 @@ let API$d = class API extends API$x {
20032
20048
  */
20033
20049
  updateAcl = request => this.client.fetch({
20034
20050
  body: JSON.stringify(marshalUpdateAclRequest(request, this.client.settings)),
20035
- headers: jsonContentHeaders$d,
20051
+ headers: jsonContentHeaders$e,
20036
20052
  method: 'PUT',
20037
20053
  path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/acls/${validatePathParam('aclId', request.aclId)}`
20038
20054
  }, unmarshalAcl);
@@ -20056,7 +20072,7 @@ let API$d = class API extends API$x {
20056
20072
  */
20057
20073
  createCertificate = request => this.client.fetch({
20058
20074
  body: JSON.stringify(marshalCreateCertificateRequest(request, this.client.settings)),
20059
- headers: jsonContentHeaders$d,
20075
+ headers: jsonContentHeaders$e,
20060
20076
  method: 'POST',
20061
20077
  path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/lbs/${validatePathParam('lbId', request.lbId)}/certificates`
20062
20078
  }, unmarshalCertificate);
@@ -20102,7 +20118,7 @@ let API$d = class API extends API$x {
20102
20118
  */
20103
20119
  updateCertificate = request => this.client.fetch({
20104
20120
  body: JSON.stringify(marshalUpdateCertificateRequest(request, this.client.settings)),
20105
- headers: jsonContentHeaders$d,
20121
+ headers: jsonContentHeaders$e,
20106
20122
  method: 'PUT',
20107
20123
  path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/certificates/${validatePathParam('certificateId', request.certificateId)}`
20108
20124
  }, unmarshalCertificate);
@@ -20138,7 +20154,7 @@ let API$d = class API extends API$x {
20138
20154
  */
20139
20155
  createSubscriber = request => this.client.fetch({
20140
20156
  body: JSON.stringify(marshalCreateSubscriberRequest(request, this.client.settings)),
20141
- headers: jsonContentHeaders$d,
20157
+ headers: jsonContentHeaders$e,
20142
20158
  method: 'POST',
20143
20159
  path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/subscribers`
20144
20160
  }, unmarshalSubscriber);
@@ -20175,7 +20191,7 @@ let API$d = class API extends API$x {
20175
20191
  */
20176
20192
  updateSubscriber = request => this.client.fetch({
20177
20193
  body: JSON.stringify(marshalUpdateSubscriberRequest(request, this.client.settings)),
20178
- headers: jsonContentHeaders$d,
20194
+ headers: jsonContentHeaders$e,
20179
20195
  method: 'PUT',
20180
20196
  path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/subscribers/${validatePathParam('subscriberId', request.subscriberId)}`
20181
20197
  }, unmarshalSubscriber);
@@ -20198,7 +20214,7 @@ let API$d = class API extends API$x {
20198
20214
  */
20199
20215
  subscribeToLb = request => this.client.fetch({
20200
20216
  body: JSON.stringify(marshalSubscribeToLbRequest(request, this.client.settings)),
20201
- headers: jsonContentHeaders$d,
20217
+ headers: jsonContentHeaders$e,
20202
20218
  method: 'POST',
20203
20219
  path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/lb/${validatePathParam('lbId', request.lbId)}/subscribe`
20204
20220
  }, unmarshalLb);
@@ -20235,7 +20251,7 @@ let API$d = class API extends API$x {
20235
20251
  */
20236
20252
  attachPrivateNetwork = request => this.client.fetch({
20237
20253
  body: JSON.stringify(marshalAttachPrivateNetworkRequest(request, this.client.settings)),
20238
- headers: jsonContentHeaders$d,
20254
+ headers: jsonContentHeaders$e,
20239
20255
  method: 'POST',
20240
20256
  path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/lbs/${validatePathParam('lbId', request.lbId)}/private-networks/${validatePathParam('privateNetworkId', request.privateNetworkId)}/attach`
20241
20257
  }, unmarshalPrivateNetwork$3);
@@ -20247,13 +20263,13 @@ let API$d = class API extends API$x {
20247
20263
  */
20248
20264
  detachPrivateNetwork = request => this.client.fetch({
20249
20265
  body: '{}',
20250
- headers: jsonContentHeaders$d,
20266
+ headers: jsonContentHeaders$e,
20251
20267
  method: 'POST',
20252
20268
  path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/lbs/${validatePathParam('lbId', request.lbId)}/private-networks/${validatePathParam('privateNetworkId', request.privateNetworkId)}/detach`
20253
20269
  });
20254
20270
  };
20255
20271
 
20256
- class LbV1UtilsAPI extends API$d {
20272
+ class LbV1UtilsAPI extends API$e {
20257
20273
  /**
20258
20274
  * Waits for all private networks of a load balancer to be in a final state.
20259
20275
  *
@@ -20329,7 +20345,7 @@ class LbZonedV1UtilsAPI extends ZonedAPI {
20329
20345
  }, createExponentialBackoffStrategy(options?.minDelay ?? 1, options?.maxDelay ?? 30), options?.timeout);
20330
20346
  }
20331
20347
 
20332
- var index$d = /*#__PURE__*/Object.freeze({
20348
+ var index$e = /*#__PURE__*/Object.freeze({
20333
20349
  __proto__: null,
20334
20350
  API: LbV1UtilsAPI,
20335
20351
  CERTIFICATE_TRANSIENT_STATUSES: CERTIFICATE_TRANSIENT_STATUSES,
@@ -20339,9 +20355,537 @@ var index$d = /*#__PURE__*/Object.freeze({
20339
20355
  ZonedAPI: LbZonedV1UtilsAPI
20340
20356
  });
20341
20357
 
20342
- var index$c = /*#__PURE__*/Object.freeze({
20358
+ var index$d = /*#__PURE__*/Object.freeze({
20359
+ __proto__: null,
20360
+ v1: index$e
20361
+ });
20362
+
20363
+ // This file was automatically generated. DO NOT EDIT.
20364
+ // If you have any remark or suggestion do not hesitate to open an issue.
20365
+
20366
+ /** Lists transient statutes of the enum {@link DeploymentStatus}. */
20367
+ const DEPLOYMENT_TRANSIENT_STATUSES = ['creating', 'deploying', 'deleting'];
20368
+
20369
+ // This file was automatically generated. DO NOT EDIT.
20370
+ // If you have any remark or suggestion do not hesitate to open an issue.
20371
+ const unmarshalEndpointPrivateNetworkDetails$1 = data => {
20372
+ if (!isJSONObject(data)) {
20373
+ throw new TypeError(`Unmarshalling the type 'EndpointPrivateNetworkDetails' failed as data isn't a dictionary.`);
20374
+ }
20375
+ return {
20376
+ privateNetworkId: data.private_network_id
20377
+ };
20378
+ };
20379
+ const unmarshalEndpointPublicAccessDetails = data => {
20380
+ if (!isJSONObject(data)) {
20381
+ throw new TypeError(`Unmarshalling the type 'EndpointPublicAccessDetails' failed as data isn't a dictionary.`);
20382
+ }
20383
+ return {};
20384
+ };
20385
+ const unmarshalEndpoint$2 = data => {
20386
+ if (!isJSONObject(data)) {
20387
+ throw new TypeError(`Unmarshalling the type 'Endpoint' failed as data isn't a dictionary.`);
20388
+ }
20389
+ return {
20390
+ disableAuth: data.disable_auth,
20391
+ id: data.id,
20392
+ privateNetwork: data.private_network ? unmarshalEndpointPrivateNetworkDetails$1(data.private_network) : undefined,
20393
+ publicAccess: data.public_access ? unmarshalEndpointPublicAccessDetails(data.public_access) : undefined,
20394
+ url: data.url
20395
+ };
20396
+ };
20397
+ const unmarshalDeployment = data => {
20398
+ if (!isJSONObject(data)) {
20399
+ throw new TypeError(`Unmarshalling the type 'Deployment' failed as data isn't a dictionary.`);
20400
+ }
20401
+ return {
20402
+ createdAt: unmarshalDate(data.created_at),
20403
+ endpoints: unmarshalArrayOfObject(data.endpoints, unmarshalEndpoint$2),
20404
+ errorMessage: data.error_message,
20405
+ id: data.id,
20406
+ maxSize: data.max_size,
20407
+ minSize: data.min_size,
20408
+ modelName: data.model_name,
20409
+ name: data.name,
20410
+ nodeType: data.node_type,
20411
+ projectId: data.project_id,
20412
+ region: data.region,
20413
+ size: data.size,
20414
+ status: data.status,
20415
+ tags: data.tags,
20416
+ updatedAt: unmarshalDate(data.updated_at)
20417
+ };
20418
+ };
20419
+ const unmarshalModelS3Model = data => {
20420
+ if (!isJSONObject(data)) {
20421
+ throw new TypeError(`Unmarshalling the type 'ModelS3Model' failed as data isn't a dictionary.`);
20422
+ }
20423
+ return {
20424
+ nodeType: data.node_type,
20425
+ pythonDependencies: data.python_dependencies,
20426
+ s3Url: data.s3_url,
20427
+ tritonServerVersion: data.triton_server_version
20428
+ };
20429
+ };
20430
+ const unmarshalModel = data => {
20431
+ if (!isJSONObject(data)) {
20432
+ throw new TypeError(`Unmarshalling the type 'Model' failed as data isn't a dictionary.`);
20433
+ }
20434
+ return {
20435
+ compatibleNodeTypes: data.compatible_node_types,
20436
+ createdAt: unmarshalDate(data.created_at),
20437
+ description: data.description,
20438
+ hasEula: data.has_eula,
20439
+ id: data.id,
20440
+ isPublic: data.is_public,
20441
+ name: data.name,
20442
+ projectId: data.project_id,
20443
+ provider: data.provider,
20444
+ quantizationLevel: data.quantization_level,
20445
+ region: data.region,
20446
+ s3Model: data.s3_model ? unmarshalModelS3Model(data.s3_model) : undefined,
20447
+ tags: data.tags,
20448
+ updatedAt: unmarshalDate(data.updated_at)
20449
+ };
20450
+ };
20451
+ const unmarshalACLRule$2 = data => {
20452
+ if (!isJSONObject(data)) {
20453
+ throw new TypeError(`Unmarshalling the type 'ACLRule' failed as data isn't a dictionary.`);
20454
+ }
20455
+ return {
20456
+ description: data.description,
20457
+ id: data.id,
20458
+ ip: data.ip
20459
+ };
20460
+ };
20461
+ const unmarshalAddDeploymentACLRulesResponse = data => {
20462
+ if (!isJSONObject(data)) {
20463
+ throw new TypeError(`Unmarshalling the type 'AddDeploymentACLRulesResponse' failed as data isn't a dictionary.`);
20464
+ }
20465
+ return {
20466
+ rules: unmarshalArrayOfObject(data.rules, unmarshalACLRule$2)
20467
+ };
20468
+ };
20469
+ const unmarshalEula = data => {
20470
+ if (!isJSONObject(data)) {
20471
+ throw new TypeError(`Unmarshalling the type 'Eula' failed as data isn't a dictionary.`);
20472
+ }
20473
+ return {
20474
+ content: data.content
20475
+ };
20476
+ };
20477
+ const unmarshalListDeploymentACLRulesResponse = data => {
20478
+ if (!isJSONObject(data)) {
20479
+ throw new TypeError(`Unmarshalling the type 'ListDeploymentACLRulesResponse' failed as data isn't a dictionary.`);
20480
+ }
20481
+ return {
20482
+ rules: unmarshalArrayOfObject(data.rules, unmarshalACLRule$2),
20483
+ totalCount: data.total_count
20484
+ };
20485
+ };
20486
+ const unmarshalListDeploymentsResponse = data => {
20487
+ if (!isJSONObject(data)) {
20488
+ throw new TypeError(`Unmarshalling the type 'ListDeploymentsResponse' failed as data isn't a dictionary.`);
20489
+ }
20490
+ return {
20491
+ deployments: unmarshalArrayOfObject(data.deployments, unmarshalDeployment),
20492
+ totalCount: data.total_count
20493
+ };
20494
+ };
20495
+ const unmarshalListModelsResponse = data => {
20496
+ if (!isJSONObject(data)) {
20497
+ throw new TypeError(`Unmarshalling the type 'ListModelsResponse' failed as data isn't a dictionary.`);
20498
+ }
20499
+ return {
20500
+ models: unmarshalArrayOfObject(data.models, unmarshalModel),
20501
+ totalCount: data.total_count
20502
+ };
20503
+ };
20504
+ const unmarshalNodeType$2 = data => {
20505
+ if (!isJSONObject(data)) {
20506
+ throw new TypeError(`Unmarshalling the type 'NodeType' failed as data isn't a dictionary.`);
20507
+ }
20508
+ return {
20509
+ beta: data.beta,
20510
+ createdAt: unmarshalDate(data.created_at),
20511
+ description: data.description,
20512
+ disabled: data.disabled,
20513
+ gpus: data.gpus,
20514
+ memory: data.memory,
20515
+ name: data.name,
20516
+ region: data.region,
20517
+ stockStatus: data.stock_status,
20518
+ updatedAt: unmarshalDate(data.updated_at),
20519
+ vcpus: data.vcpus,
20520
+ vram: data.vram
20521
+ };
20522
+ };
20523
+ const unmarshalListNodeTypesResponse$2 = data => {
20524
+ if (!isJSONObject(data)) {
20525
+ throw new TypeError(`Unmarshalling the type 'ListNodeTypesResponse' failed as data isn't a dictionary.`);
20526
+ }
20527
+ return {
20528
+ nodeTypes: unmarshalArrayOfObject(data.node_types, unmarshalNodeType$2),
20529
+ totalCount: data.total_count
20530
+ };
20531
+ };
20532
+ const unmarshalSetDeploymentACLRulesResponse = data => {
20533
+ if (!isJSONObject(data)) {
20534
+ throw new TypeError(`Unmarshalling the type 'SetDeploymentACLRulesResponse' failed as data isn't a dictionary.`);
20535
+ }
20536
+ return {
20537
+ rules: unmarshalArrayOfObject(data.rules, unmarshalACLRule$2)
20538
+ };
20539
+ };
20540
+ const marshalACLRuleRequest$1 = (request, defaults) => ({
20541
+ description: request.description,
20542
+ ip: request.ip
20543
+ });
20544
+ const marshalAddDeploymentACLRulesRequest = (request, defaults) => ({
20545
+ acls: request.acls !== undefined ? request.acls.map(elt => marshalACLRuleRequest$1(elt)) : undefined
20546
+ });
20547
+ const marshalEndpointSpecPrivateNetwork$1 = (request, defaults) => ({
20548
+ private_network_id: request.privateNetworkId
20549
+ });
20550
+ const marshalEndpointSpecPublic = (request, defaults) => ({});
20551
+ const marshalEndpointSpec$2 = (request, defaults) => ({
20552
+ disable_auth: request.disableAuth,
20553
+ ...resolveOneOf([{
20554
+ param: 'public',
20555
+ value: request.public !== undefined ? marshalEndpointSpecPublic(request.public) : undefined
20556
+ }, {
20557
+ param: 'private_network',
20558
+ value: request.privateNetwork !== undefined ? marshalEndpointSpecPrivateNetwork$1(request.privateNetwork) : undefined
20559
+ }])
20560
+ });
20561
+ const marshalCreateDeploymentRequest = (request, defaults) => ({
20562
+ accept_eula: request.acceptEula,
20563
+ endpoints: request.endpoints.map(elt => marshalEndpointSpec$2(elt)),
20564
+ max_size: request.maxSize,
20565
+ min_size: request.minSize,
20566
+ model_name: request.modelName,
20567
+ name: request.name || randomName('llm'),
20568
+ node_type: request.nodeType,
20569
+ project_id: request.projectId ?? defaults.defaultProjectId,
20570
+ tags: request.tags
20571
+ });
20572
+ const marshalCreateEndpointRequest$1 = (request, defaults) => ({
20573
+ deployment_id: request.deploymentId,
20574
+ endpoint: marshalEndpointSpec$2(request.endpoint)
20575
+ });
20576
+ const marshalSetDeploymentACLRulesRequest = (request, defaults) => ({
20577
+ acls: request.acls !== undefined ? request.acls.map(elt => marshalACLRuleRequest$1(elt)) : undefined
20578
+ });
20579
+ const marshalUpdateDeploymentRequest = (request, defaults) => ({
20580
+ max_size: request.maxSize,
20581
+ min_size: request.minSize,
20582
+ name: request.name,
20583
+ tags: request.tags
20584
+ });
20585
+ const marshalUpdateEndpointRequest$1 = (request, defaults) => ({
20586
+ disable_auth: request.disableAuth
20587
+ });
20588
+
20589
+ // This file was automatically generated. DO NOT EDIT.
20590
+ // If you have any remark or suggestion do not hesitate to open an issue.
20591
+ const jsonContentHeaders$d = {
20592
+ 'Content-Type': 'application/json; charset=utf-8'
20593
+ };
20594
+
20595
+ /** LLM Inference API. */
20596
+ let API$d = class API extends API$y {
20597
+ /** Lists the available regions of the API. */
20598
+ static LOCALITIES = ['fr-par'];
20599
+ pageOfListDeployments = (request = {}) => this.client.fetch({
20600
+ method: 'GET',
20601
+ path: `/llm-inference/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/deployments`,
20602
+ urlParams: urlParams(['name', request.name], ['order_by', request.orderBy], ['organization_id', request.organizationId], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['project_id', request.projectId], ['tags', request.tags])
20603
+ }, unmarshalListDeploymentsResponse);
20604
+
20605
+ /**
20606
+ * List inference deployments. List all your inference deployments.
20607
+ *
20608
+ * @param request - The request {@link ListDeploymentsRequest}
20609
+ * @returns A Promise of ListDeploymentsResponse
20610
+ */
20611
+ listDeployments = (request = {}) => enrichForPagination('deployments', this.pageOfListDeployments, request);
20612
+
20613
+ /**
20614
+ * Get a deployment. Get the deployment for the given ID.
20615
+ *
20616
+ * @param request - The request {@link GetDeploymentRequest}
20617
+ * @returns A Promise of Deployment
20618
+ */
20619
+ getDeployment = request => this.client.fetch({
20620
+ method: 'GET',
20621
+ path: `/llm-inference/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/deployments/${validatePathParam('deploymentId', request.deploymentId)}`
20622
+ }, unmarshalDeployment);
20623
+
20624
+ /**
20625
+ * Waits for {@link Deployment} to be in a final state.
20626
+ *
20627
+ * @param request - The request {@link GetDeploymentRequest}
20628
+ * @param options - The waiting options
20629
+ * @returns A Promise of Deployment
20630
+ */
20631
+ waitForDeployment = (request, options) => waitForResource(options?.stop ?? (res => Promise.resolve(!DEPLOYMENT_TRANSIENT_STATUSES.includes(res.status))), this.getDeployment, request, options);
20632
+
20633
+ /**
20634
+ * Create a deployment. Create a new inference deployment related to a
20635
+ * specific model.
20636
+ *
20637
+ * @param request - The request {@link CreateDeploymentRequest}
20638
+ * @returns A Promise of Deployment
20639
+ */
20640
+ createDeployment = request => this.client.fetch({
20641
+ body: JSON.stringify(marshalCreateDeploymentRequest(request, this.client.settings)),
20642
+ headers: jsonContentHeaders$d,
20643
+ method: 'POST',
20644
+ path: `/llm-inference/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/deployments`
20645
+ }, unmarshalDeployment);
20646
+
20647
+ /**
20648
+ * Update a deployment. Update an existing inference deployment.
20649
+ *
20650
+ * @param request - The request {@link UpdateDeploymentRequest}
20651
+ * @returns A Promise of Deployment
20652
+ */
20653
+ updateDeployment = request => this.client.fetch({
20654
+ body: JSON.stringify(marshalUpdateDeploymentRequest(request, this.client.settings)),
20655
+ headers: jsonContentHeaders$d,
20656
+ method: 'PATCH',
20657
+ path: `/llm-inference/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/deployments/${validatePathParam('deploymentId', request.deploymentId)}`
20658
+ }, unmarshalDeployment);
20659
+
20660
+ /**
20661
+ * Delete a deployment. Delete an existing inference deployment.
20662
+ *
20663
+ * @param request - The request {@link DeleteDeploymentRequest}
20664
+ * @returns A Promise of Deployment
20665
+ */
20666
+ deleteDeployment = request => this.client.fetch({
20667
+ method: 'DELETE',
20668
+ path: `/llm-inference/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/deployments/${validatePathParam('deploymentId', request.deploymentId)}`
20669
+ }, unmarshalDeployment);
20670
+
20671
+ /**
20672
+ * Get the CA certificate. Get the CA certificate used for the deployment of
20673
+ * private endpoints. The CA certificate will be returned as a PEM file.
20674
+ *
20675
+ * @param request - The request {@link GetDeploymentCertificateRequest}
20676
+ * @returns A Promise of Blob
20677
+ */
20678
+ getDeploymentCertificate = request => this.client.fetch({
20679
+ method: 'GET',
20680
+ path: `/llm-inference/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/deployments/${validatePathParam('deploymentId', request.deploymentId)}/certificate`,
20681
+ urlParams: urlParams(['dl', 1]),
20682
+ responseType: 'blob'
20683
+ });
20684
+
20685
+ /**
20686
+ * Create an endpoint. Create a new Endpoint related to a specific deployment.
20687
+ *
20688
+ * @param request - The request {@link CreateEndpointRequest}
20689
+ * @returns A Promise of Endpoint
20690
+ */
20691
+ createEndpoint = request => this.client.fetch({
20692
+ body: JSON.stringify(marshalCreateEndpointRequest$1(request, this.client.settings)),
20693
+ headers: jsonContentHeaders$d,
20694
+ method: 'POST',
20695
+ path: `/llm-inference/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/endpoints`
20696
+ }, unmarshalEndpoint$2);
20697
+
20698
+ /**
20699
+ * Update an endpoint. Update an existing Endpoint.
20700
+ *
20701
+ * @param request - The request {@link UpdateEndpointRequest}
20702
+ * @returns A Promise of Endpoint
20703
+ */
20704
+ updateEndpoint = request => this.client.fetch({
20705
+ body: JSON.stringify(marshalUpdateEndpointRequest$1(request, this.client.settings)),
20706
+ headers: jsonContentHeaders$d,
20707
+ method: 'PATCH',
20708
+ path: `/llm-inference/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/endpoints/${validatePathParam('endpointId', request.endpointId)}`
20709
+ }, unmarshalEndpoint$2);
20710
+
20711
+ /**
20712
+ * Delete an endpoint. Delete an existing Endpoint.
20713
+ *
20714
+ * @param request - The request {@link DeleteEndpointRequest}
20715
+ */
20716
+ deleteEndpoint = request => this.client.fetch({
20717
+ method: 'DELETE',
20718
+ path: `/llm-inference/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/endpoints/${validatePathParam('endpointId', request.endpointId)}`
20719
+ });
20720
+ pageOfListDeploymentACLRules = request => this.client.fetch({
20721
+ method: 'GET',
20722
+ path: `/llm-inference/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/deployments/${validatePathParam('deploymentId', request.deploymentId)}/acls`,
20723
+ urlParams: urlParams(['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize])
20724
+ }, unmarshalListDeploymentACLRulesResponse);
20725
+
20726
+ /**
20727
+ * List your ACLs. List ACLs for a specific deployment.
20728
+ *
20729
+ * @param request - The request {@link ListDeploymentACLRulesRequest}
20730
+ * @returns A Promise of ListDeploymentACLRulesResponse
20731
+ */
20732
+ listDeploymentACLRules = request => enrichForPagination('rules', this.pageOfListDeploymentACLRules, request);
20733
+
20734
+ /**
20735
+ * Add new ACLs. Add new ACL rules for a specific deployment.
20736
+ *
20737
+ * @param request - The request {@link AddDeploymentACLRulesRequest}
20738
+ * @returns A Promise of AddDeploymentACLRulesResponse
20739
+ */
20740
+ addDeploymentACLRules = request => this.client.fetch({
20741
+ body: JSON.stringify(marshalAddDeploymentACLRulesRequest(request, this.client.settings)),
20742
+ headers: jsonContentHeaders$d,
20743
+ method: 'POST',
20744
+ path: `/llm-inference/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/deployments/${validatePathParam('deploymentId', request.deploymentId)}/acls`
20745
+ }, unmarshalAddDeploymentACLRulesResponse);
20746
+
20747
+ /**
20748
+ * Set new ACL. Set new ACL rules for a specific deployment.
20749
+ *
20750
+ * @param request - The request {@link SetDeploymentACLRulesRequest}
20751
+ * @returns A Promise of SetDeploymentACLRulesResponse
20752
+ */
20753
+ setDeploymentACLRules = request => this.client.fetch({
20754
+ body: JSON.stringify(marshalSetDeploymentACLRulesRequest(request, this.client.settings)),
20755
+ headers: jsonContentHeaders$d,
20756
+ method: 'PUT',
20757
+ path: `/llm-inference/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/deployments/${validatePathParam('deploymentId', request.deploymentId)}/acls`
20758
+ }, unmarshalSetDeploymentACLRulesResponse);
20759
+
20760
+ /**
20761
+ * Delete an exising ACL.
20762
+ *
20763
+ * @param request - The request {@link DeleteDeploymentACLRuleRequest}
20764
+ */
20765
+ deleteDeploymentACLRule = request => this.client.fetch({
20766
+ method: 'DELETE',
20767
+ path: `/llm-inference/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/acls/${validatePathParam('aclId', request.aclId)}`
20768
+ });
20769
+ pageOfListModels = (request = {}) => this.client.fetch({
20770
+ method: 'GET',
20771
+ path: `/llm-inference/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/models`,
20772
+ urlParams: urlParams(['name', request.name], ['order_by', request.orderBy], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['project_id', request.projectId], ['tags', request.tags])
20773
+ }, unmarshalListModelsResponse);
20774
+
20775
+ /**
20776
+ * List models. List all available LLM models.
20777
+ *
20778
+ * @param request - The request {@link ListModelsRequest}
20779
+ * @returns A Promise of ListModelsResponse
20780
+ */
20781
+ listModels = (request = {}) => enrichForPagination('models', this.pageOfListModels, request);
20782
+
20783
+ /**
20784
+ * Get a model. Get the model for the given ID.
20785
+ *
20786
+ * @param request - The request {@link GetModelRequest}
20787
+ * @returns A Promise of Model
20788
+ */
20789
+ getModel = request => this.client.fetch({
20790
+ method: 'GET',
20791
+ path: `/llm-inference/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/models/${validatePathParam('modelId', request.modelId)}`
20792
+ }, unmarshalModel);
20793
+ getModelEula = request => this.client.fetch({
20794
+ method: 'GET',
20795
+ path: `/llm-inference/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/models/${validatePathParam('modelId', request.modelId)}/eula`
20796
+ }, unmarshalEula);
20797
+ pageOfListNodeTypes = request => this.client.fetch({
20798
+ method: 'GET',
20799
+ path: `/llm-inference/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/node-types`,
20800
+ urlParams: urlParams(['include_disabled_types', request.includeDisabledTypes], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize])
20801
+ }, unmarshalListNodeTypesResponse$2);
20802
+
20803
+ /**
20804
+ * List available node types. List all available node types. By default, the
20805
+ * node types returned in the list are ordered by creation date in ascending
20806
+ * order, though this can be modified via the `order_by` field.
20807
+ *
20808
+ * @param request - The request {@link ListNodeTypesRequest}
20809
+ * @returns A Promise of ListNodeTypesResponse
20810
+ */
20811
+ listNodeTypes = request => enrichForPagination('nodeTypes', this.pageOfListNodeTypes, request);
20812
+ };
20813
+
20814
+ // This file was automatically generated. DO NOT EDIT.
20815
+ // If you have any remark or suggestion do not hesitate to open an issue.
20816
+
20817
+ const CreateDeploymentRequest = {
20818
+ maxSize: {
20819
+ greaterThanOrEqual: 1,
20820
+ lessThanOrEqual: 50
20821
+ },
20822
+ minSize: {
20823
+ greaterThanOrEqual: 1,
20824
+ lessThanOrEqual: 50
20825
+ },
20826
+ modelName: {
20827
+ maxLength: 255,
20828
+ minLength: 0,
20829
+ pattern: /^[\w-_]+\/[\w-_.]+(:[\w]+)?$/
20830
+ },
20831
+ name: {
20832
+ maxLength: 255,
20833
+ minLength: 1,
20834
+ pattern: /^[A-Za-z0-9-_]+$/
20835
+ },
20836
+ nodeType: {
20837
+ maxLength: 64,
20838
+ minLength: 1
20839
+ }
20840
+ };
20841
+ const ListDeploymentsRequest = {
20842
+ name: {
20843
+ maxLength: 255,
20844
+ minLength: 1
20845
+ }
20846
+ };
20847
+ const ListModelsRequest = {
20848
+ name: {
20849
+ maxLength: 255,
20850
+ minLength: 1
20851
+ }
20852
+ };
20853
+ const UpdateDeploymentRequest = {
20854
+ maxSize: {
20855
+ greaterThanOrEqual: 1,
20856
+ lessThanOrEqual: 50
20857
+ },
20858
+ minSize: {
20859
+ greaterThanOrEqual: 1,
20860
+ lessThanOrEqual: 50
20861
+ },
20862
+ name: {
20863
+ maxLength: 255,
20864
+ minLength: 1
20865
+ }
20866
+ };
20867
+
20868
+ var validationRules_gen$4 = /*#__PURE__*/Object.freeze({
20869
+ __proto__: null,
20870
+ CreateDeploymentRequest: CreateDeploymentRequest,
20871
+ ListDeploymentsRequest: ListDeploymentsRequest,
20872
+ ListModelsRequest: ListModelsRequest,
20873
+ UpdateDeploymentRequest: UpdateDeploymentRequest
20874
+ });
20875
+
20876
+ // This file was automatically generated. DO NOT EDIT.
20877
+ // If you have any remark or suggestion do not hesitate to open an issue.
20878
+
20879
+ var index_gen$f = /*#__PURE__*/Object.freeze({
20880
+ __proto__: null,
20881
+ API: API$d,
20882
+ DEPLOYMENT_TRANSIENT_STATUSES: DEPLOYMENT_TRANSIENT_STATUSES,
20883
+ ValidationRules: validationRules_gen$4
20884
+ });
20885
+
20886
+ var index$c = /*#__PURE__*/Object.freeze({
20343
20887
  __proto__: null,
20344
- v1: index$d
20888
+ v1beta1: index_gen$f
20345
20889
  });
20346
20890
 
20347
20891
  // This file was automatically generated. DO NOT EDIT.
@@ -20437,7 +20981,7 @@ const unmarshalListVersionsResponse = data => {
20437
20981
  // This file was automatically generated. DO NOT EDIT.
20438
20982
  // If you have any remark or suggestion do not hesitate to open an issue.
20439
20983
  /** Marketplace API. */
20440
- let API$c = class API extends API$x {
20984
+ let API$c = class API extends API$y {
20441
20985
  pageOfListImages = request => this.client.fetch({
20442
20986
  method: 'GET',
20443
20987
  path: `/marketplace/v2/images`,
@@ -20789,7 +21333,7 @@ const jsonContentHeaders$c = {
20789
21333
  *
20790
21334
  * This API allows you to manage Scaleway Messaging and Queueing NATS accounts.
20791
21335
  */
20792
- class NatsAPI extends API$x {
21336
+ class NatsAPI extends API$y {
20793
21337
  /** Lists the available regions of the API. */
20794
21338
  static LOCALITIES = ['fr-par', 'nl-ams'];
20795
21339
 
@@ -20925,7 +21469,7 @@ class NatsAPI extends API$x {
20925
21469
  *
20926
21470
  * This API allows you to manage Scaleway Messaging and Queueing SNS brokers.
20927
21471
  */
20928
- class SnsAPI extends API$x {
21472
+ class SnsAPI extends API$y {
20929
21473
  /** Lists the available regions of the API. */
20930
21474
  static LOCALITIES = ['fr-par', 'nl-ams'];
20931
21475
 
@@ -21047,7 +21591,7 @@ class SnsAPI extends API$x {
21047
21591
  *
21048
21592
  * This API allows you to manage Scaleway Messaging and Queueing SQS brokers.
21049
21593
  */
21050
- class SqsAPI extends API$x {
21594
+ class SqsAPI extends API$y {
21051
21595
  /** Lists the available regions of the API. */
21052
21596
  static LOCALITIES = ['fr-par', 'nl-ams'];
21053
21597
 
@@ -21285,7 +21829,7 @@ const INSTANCE_LOG_TRANSIENT_STATUSES = ['creating'];
21285
21829
  const INSTANCE_TRANSIENT_STATUSES = ['provisioning', 'configuring', 'deleting', 'autohealing', 'initializing', 'backuping', 'snapshotting', 'restarting'];
21286
21830
 
21287
21831
  /** Lists transient statutes of the enum {@link MaintenanceStatus}. */
21288
- const MAINTENANCE_TRANSIENT_STATUSES = ['pending'];
21832
+ const MAINTENANCE_TRANSIENT_STATUSES = ['ongoing'];
21289
21833
 
21290
21834
  /** Lists transient statutes of the enum {@link ReadReplicaStatus}. */
21291
21835
  const READ_REPLICA_TRANSIENT_STATUSES = ['provisioning', 'initializing', 'deleting', 'configuring', 'promoting'];
@@ -21332,6 +21876,19 @@ const unmarshalEndpoint$1 = data => {
21332
21876
  privateNetwork: data.private_network ? unmarshalEndpointPrivateNetworkDetails(data.private_network) : undefined
21333
21877
  };
21334
21878
  };
21879
+ const unmarshalMaintenance = data => {
21880
+ if (!isJSONObject(data)) {
21881
+ throw new TypeError(`Unmarshalling the type 'Maintenance' failed as data isn't a dictionary.`);
21882
+ }
21883
+ return {
21884
+ closedAt: unmarshalDate(data.closed_at),
21885
+ forcedAt: unmarshalDate(data.forced_at),
21886
+ reason: data.reason,
21887
+ startsAt: unmarshalDate(data.starts_at),
21888
+ status: data.status,
21889
+ stopsAt: unmarshalDate(data.stops_at)
21890
+ };
21891
+ };
21335
21892
  const unmarshalReadReplica = data => {
21336
21893
  if (!isJSONObject(data)) {
21337
21894
  throw new TypeError(`Unmarshalling the type 'ReadReplica' failed as data isn't a dictionary.`);
@@ -21420,18 +21977,6 @@ const unmarshalLogsPolicy = data => {
21420
21977
  totalDiskRetention: data.total_disk_retention
21421
21978
  };
21422
21979
  };
21423
- const unmarshalMaintenance = data => {
21424
- if (!isJSONObject(data)) {
21425
- throw new TypeError(`Unmarshalling the type 'Maintenance' failed as data isn't a dictionary.`);
21426
- }
21427
- return {
21428
- closedAt: unmarshalDate(data.closed_at),
21429
- reason: data.reason,
21430
- startsAt: unmarshalDate(data.starts_at),
21431
- status: data.status,
21432
- stopsAt: unmarshalDate(data.stops_at)
21433
- };
21434
- };
21435
21980
  const unmarshalUpgradableVersion = data => {
21436
21981
  if (!isJSONObject(data)) {
21437
21982
  throw new TypeError(`Unmarshalling the type 'UpgradableVersion' failed as data isn't a dictionary.`);
@@ -22006,7 +22551,7 @@ const jsonContentHeaders$b = {
22006
22551
  };
22007
22552
 
22008
22553
  /** Managed Database for PostgreSQL and MySQL API. */
22009
- let API$b = class API extends API$x {
22554
+ let API$b = class API extends API$y {
22010
22555
  /** Lists the available regions of the API. */
22011
22556
  static LOCALITIES = ['fr-par', 'nl-ams', 'pl-waw'];
22012
22557
  pageOfListDatabaseEngines = (request = {}) => this.client.fetch({
@@ -22897,6 +23442,23 @@ let API$b = class API extends API$x {
22897
23442
  method: 'POST',
22898
23443
  path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/endpoints/${validatePathParam('endpointId', request.endpointId)}/migrate`
22899
23444
  }, unmarshalEndpoint$1);
23445
+
23446
+ /**
23447
+ * Apply Database Instance maintenance. Apply maintenance tasks to your
23448
+ * Database Instance. This will trigger pending maintenance tasks to start in
23449
+ * your Database Instance and can generate service interruption. Maintenance
23450
+ * tasks can be applied between `starts_at` and `stops_at` times, and are run
23451
+ * directly by Scaleway at `forced_at` timestamp.
23452
+ *
23453
+ * @param request - The request {@link ApplyInstanceMaintenanceRequest}
23454
+ * @returns A Promise of Maintenance
23455
+ */
23456
+ applyInstanceMaintenance = request => this.client.fetch({
23457
+ body: '{}',
23458
+ headers: jsonContentHeaders$b,
23459
+ method: 'POST',
23460
+ path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/apply-maintenance`
23461
+ }, unmarshalMaintenance);
22900
23462
  };
22901
23463
 
22902
23464
  // This file was automatically generated. DO NOT EDIT.
@@ -23223,7 +23785,7 @@ const jsonContentHeaders$a = {
23223
23785
  };
23224
23786
 
23225
23787
  /** Managed Database for Redis™ API. */
23226
- let API$a = class API extends API$x {
23788
+ let API$a = class API extends API$y {
23227
23789
  /** Lists the available zones of the API. */
23228
23790
  static LOCALITIES = ['fr-par-1', 'fr-par-2', 'nl-ams-1', 'nl-ams-2', 'pl-waw-1', 'pl-waw-2'];
23229
23791
 
@@ -23717,7 +24279,7 @@ const jsonContentHeaders$9 = {
23717
24279
  };
23718
24280
 
23719
24281
  /** Container Registry API. */
23720
- let API$9 = class API extends API$x {
24282
+ let API$9 = class API extends API$y {
23721
24283
  /** Lists the available regions of the API. */
23722
24284
  static LOCALITIES = ['fr-par', 'nl-ams', 'pl-waw'];
23723
24285
  pageOfListNamespaces = (request = {}) => this.client.fetch({
@@ -24133,7 +24695,7 @@ const jsonContentHeaders$8 = {
24133
24695
  * Secret Manager API. This API allows you to conveniently store, access and
24134
24696
  * share sensitive data.
24135
24697
  */
24136
- let API$8 = class API extends API$x {
24698
+ let API$8 = class API extends API$y {
24137
24699
  /** Lists the available regions of the API. */
24138
24700
  static LOCALITIES = ['fr-par', 'nl-ams', 'pl-waw'];
24139
24701
 
@@ -24701,7 +25263,7 @@ const jsonContentHeaders$7 = {
24701
25263
  * This API allows you to conveniently store, access and share sensitive data
24702
25264
  * such as passwords, API keys and certificates.
24703
25265
  */
24704
- let API$7 = class API extends API$x {
25266
+ let API$7 = class API extends API$y {
24705
25267
  /** Lists the available regions of the API. */
24706
25268
  static LOCALITIES = ['fr-par', 'nl-ams', 'pl-waw'];
24707
25269
 
@@ -24782,7 +25344,7 @@ let API$7 = class API extends API$x {
24782
25344
  browseSecrets = request => this.client.fetch({
24783
25345
  method: 'GET',
24784
25346
  path: `/secret-manager/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/secrets/browse`,
24785
- urlParams: urlParams(['order_by', request.orderBy], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['prefix', request.prefix], ['project_id', request.projectId])
25347
+ urlParams: urlParams(['order_by', request.orderBy], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['prefix', request.prefix], ['project_id', request.projectId], ['tags', request.tags])
24786
25348
  }, unmarshalBrowseSecretsResponse);
24787
25349
 
24788
25350
  /**
@@ -25053,7 +25615,7 @@ const jsonContentHeaders$6 = {
25053
25615
  *
25054
25616
  * This API allows you to manage your Serverless SQL DB databases.
25055
25617
  */
25056
- let API$6 = class API extends API$x {
25618
+ let API$6 = class API extends API$y {
25057
25619
  /** Lists the available regions of the API. */
25058
25620
  static LOCALITIES = ['fr-par'];
25059
25621
 
@@ -25377,7 +25939,7 @@ const jsonContentHeaders$5 = {
25377
25939
  *
25378
25940
  * No Auth Service for end-to-end testing.
25379
25941
  */
25380
- let API$5 = class API extends API$x {
25942
+ let API$5 = class API extends API$y {
25381
25943
  /**
25382
25944
  * Register a user. Register a human and return a access-key and a secret-key
25383
25945
  * that must be used in all other commands.
@@ -25735,7 +26297,7 @@ const jsonContentHeaders$4 = {
25735
26297
  };
25736
26298
 
25737
26299
  /** Transactional Email API. */
25738
- let API$4 = class API extends API$x {
26300
+ let API$4 = class API extends API$y {
25739
26301
  /** Lists the available regions of the API. */
25740
26302
  static LOCALITIES = ['fr-par'];
25741
26303
 
@@ -25976,7 +26538,7 @@ const jsonContentHeaders$3 = {
25976
26538
  };
25977
26539
 
25978
26540
  /** VPC API. */
25979
- let API$3 = class API extends API$x {
26541
+ let API$3 = class API extends API$y {
25980
26542
  /** Lists the available zones of the API. */
25981
26543
  static LOCALITIES = ['fr-par-1', 'fr-par-2', 'fr-par-3', 'nl-ams-1', 'nl-ams-2', 'nl-ams-3', 'pl-waw-1', 'pl-waw-2'];
25982
26544
  pageOfListPrivateNetworks = (request = {}) => this.client.fetch({
@@ -26198,7 +26760,7 @@ const jsonContentHeaders$2 = {
26198
26760
  };
26199
26761
 
26200
26762
  /** VPC API. */
26201
- let API$2 = class API extends API$x {
26763
+ let API$2 = class API extends API$y {
26202
26764
  /** Lists the available regions of the API. */
26203
26765
  static LOCALITIES = ['fr-par', 'nl-ams', 'pl-waw'];
26204
26766
  pageOfListVPCs = (request = {}) => this.client.fetch({
@@ -26796,7 +27358,7 @@ const jsonContentHeaders$1 = {
26796
27358
  };
26797
27359
 
26798
27360
  /** Public Gateways API. */
26799
- let API$1 = class API extends API$x {
27361
+ let API$1 = class API extends API$y {
26800
27362
  /** Lists the available zones of the API. */
26801
27363
  static LOCALITIES = ['fr-par-1', 'fr-par-2', 'nl-ams-1', 'nl-ams-2', 'nl-ams-3', 'pl-waw-1', 'pl-waw-2', 'pl-waw-3'];
26802
27364
  pageOfListGateways = (request = {}) => this.client.fetch({
@@ -27555,7 +28117,7 @@ const jsonContentHeaders = {
27555
28117
  };
27556
28118
 
27557
28119
  /** Web Hosting API. */
27558
- class API extends API$x {
28120
+ class API extends API$y {
27559
28121
  /** Lists the available regions of the API. */
27560
28122
  static LOCALITIES = ['fr-par', 'nl-ams'];
27561
28123
 
@@ -27739,27 +28301,28 @@ var index = /*#__PURE__*/Object.freeze({
27739
28301
  v1alpha1: index_gen
27740
28302
  });
27741
28303
 
27742
- exports.API = API$x;
27743
- exports.Account = index$y;
27744
- exports.AppleSilicon = index$x;
27745
- exports.BareMetal = index$v;
27746
- exports.Billing = index$u;
27747
- exports.Block = index$t;
27748
- exports.Cockpit = index$s;
27749
- exports.Container = index$r;
27750
- exports.DocumentDB = index$q;
27751
- exports.Domain = index$p;
27752
- exports.Errors = index$z;
27753
- exports.FlexibleIP = index$o;
27754
- exports.Function = index$n;
27755
- exports.IAM = index$m;
27756
- exports.IOT = index$j;
27757
- exports.IPAM = index$i;
27758
- exports.IPFS = index$h;
27759
- exports.Instance = index$k;
27760
- exports.Jobs = index$g;
27761
- exports.K8S = index$e;
27762
- exports.LB = index$c;
28304
+ exports.API = API$y;
28305
+ exports.Account = index$z;
28306
+ exports.AppleSilicon = index$y;
28307
+ exports.BareMetal = index$w;
28308
+ exports.Billing = index$v;
28309
+ exports.Block = index$u;
28310
+ exports.Cockpit = index$t;
28311
+ exports.Container = index$s;
28312
+ exports.DocumentDB = index$r;
28313
+ exports.Domain = index$q;
28314
+ exports.Errors = index$A;
28315
+ exports.FlexibleIP = index$p;
28316
+ exports.Function = index$o;
28317
+ exports.IAM = index$n;
28318
+ exports.IOT = index$k;
28319
+ exports.IPAM = index$j;
28320
+ exports.IPFS = index$i;
28321
+ exports.Instance = index$l;
28322
+ exports.Jobs = index$h;
28323
+ exports.K8S = index$f;
28324
+ exports.LB = index$d;
28325
+ exports.LLMInference = index$c;
27763
28326
  exports.MNQ = index$a;
27764
28327
  exports.Marketplace = index$b;
27765
28328
  exports.RDB = index$9;