@scaleway/sdk 1.0.0 → 1.1.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.
Files changed (43) hide show
  1. package/dist/api/account/v2/api.gen.js +29 -0
  2. package/dist/api/account/v2alpha1/api.gen.js +29 -0
  3. package/dist/api/applesilicon/v1alpha1/api.gen.js +74 -1
  4. package/dist/api/baremetal/v1/api.gen.js +202 -2
  5. package/dist/api/baremetal/v1/api.utils.js +7 -0
  6. package/dist/api/baremetal/v1/marshalling.gen.js +4 -1
  7. package/dist/api/cockpit/index.js +2 -0
  8. package/dist/api/cockpit/v1beta1/api.gen.js +307 -0
  9. package/dist/api/cockpit/v1beta1/content.gen.js +7 -0
  10. package/dist/api/cockpit/v1beta1/index.gen.js +4 -0
  11. package/dist/api/cockpit/v1beta1/marshalling.gen.js +174 -0
  12. package/dist/api/container/v1beta1/api.gen.js +189 -2
  13. package/dist/api/domain/v2beta1/api.gen.js +395 -8
  14. package/dist/api/domain/v2beta1/marshalling.gen.js +2 -2
  15. package/dist/api/flexibleip/v1alpha1/api.gen.js +68 -1
  16. package/dist/api/function/v1beta1/api.gen.js +214 -2
  17. package/dist/api/function/v1beta1/marshalling.gen.js +12 -0
  18. package/dist/api/iam/v1alpha1/api.gen.js +200 -2
  19. package/dist/api/instance/v1/api.gen.js +351 -11
  20. package/dist/api/instance/v1/api.utils.js +101 -0
  21. package/dist/api/instance/v1/marshalling.gen.js +12 -5
  22. package/dist/api/iot/v1/api.gen.js +230 -1
  23. package/dist/api/k8s/v1/api.gen.js +189 -1
  24. package/dist/api/lb/v1/api.gen.js +652 -6
  25. package/dist/api/lb/v1/api.utils.js +29 -0
  26. package/dist/api/marketplace/v1/api.gen.js +12 -0
  27. package/dist/api/marketplace/v2/api.gen.js +18 -0
  28. package/dist/api/mnq/v1alpha1/api.gen.js +60 -1
  29. package/dist/api/rdb/v1/api.gen.js +370 -3
  30. package/dist/api/rdb/v1/marshalling.gen.js +1 -0
  31. package/dist/api/redis/v1/api.gen.js +144 -1
  32. package/dist/api/registry/v1/api.gen.js +96 -2
  33. package/dist/api/secret/v1alpha1/api.gen.js +134 -44
  34. package/dist/api/tem/v1alpha1/api.gen.js +79 -3
  35. package/dist/api/test/v1/api.gen.js +61 -1
  36. package/dist/api/vpc/v1/api.gen.js +31 -1
  37. package/dist/api/vpcgw/v1/api.gen.js +227 -3
  38. package/dist/index.cjs +646 -156
  39. package/dist/index.d.ts +830 -298
  40. package/dist/index.js +40 -38
  41. package/dist/scw/constants.js +1 -1
  42. package/dist/scw/fetch/build-fetcher.js +1 -1
  43. package/package.json +2 -2
package/dist/index.cjs CHANGED
@@ -390,7 +390,7 @@ const assertValidSettings = obj => {
390
390
  }
391
391
  };
392
392
 
393
- const version = 'v0.1.0-beta.38';
393
+ const version = 'v1.0.0';
394
394
  const userAgent = `scaleway-sdk-js/${version}`;
395
395
 
396
396
  const isBrowser = () => typeof window !== 'undefined' && typeof window.document !== 'undefined';
@@ -1287,7 +1287,7 @@ const buildRequest = (request, settings) => {
1287
1287
  body: request.body,
1288
1288
  headers: {
1289
1289
  Accept: 'application/json',
1290
- ...(!isBrowser() ? {
1290
+ ...( /* istanbul ignore next */!isBrowser() ? {
1291
1291
  'User-Agent': settings.userAgent
1292
1292
  } : {}),
1293
1293
  ...request.headers
@@ -1399,7 +1399,7 @@ const createAdvancedClient = (...configs) => {
1399
1399
  */
1400
1400
  const createClient = (profile = {}) => createAdvancedClient(withProfile(profile));
1401
1401
 
1402
- var index$q = /*#__PURE__*/Object.freeze({
1402
+ var index$r = /*#__PURE__*/Object.freeze({
1403
1403
  __proto__: null,
1404
1404
  AlreadyExistsError: AlreadyExistsError,
1405
1405
  DeniedAuthenticationError: DeniedAuthenticationError,
@@ -1521,7 +1521,7 @@ const waitForResource = (stop, fetcher, request, options, strategy = createExpon
1521
1521
  *
1522
1522
  * @internal
1523
1523
  */
1524
- let API$n = class API {
1524
+ let API$o = class API {
1525
1525
  constructor(client) {
1526
1526
  this.client = client;
1527
1527
  }
@@ -1883,12 +1883,12 @@ const marshalUpdateSSHKeyRequest$1 = (request, defaults) => ({
1883
1883
  });
1884
1884
 
1885
1885
  // This file was automatically generated. DO NOT EDIT.
1886
- const jsonContentHeaders$l = {
1886
+ const jsonContentHeaders$m = {
1887
1887
  'Content-Type': 'application/json; charset=utf-8'
1888
1888
  };
1889
1889
 
1890
1890
  /** Account API. */
1891
- class AccountV2Alpha1GenAPI extends API$n {
1891
+ class AccountV2Alpha1GenAPI extends API$o {
1892
1892
  pageOfListSSHKeys = (request = {}) => this.client.fetch({
1893
1893
  method: 'GET',
1894
1894
  path: `/account/v2alpha1/ssh-keys`,
@@ -1911,7 +1911,7 @@ class AccountV2Alpha1GenAPI extends API$n {
1911
1911
  */
1912
1912
  createSSHKey = request => this.client.fetch({
1913
1913
  body: JSON.stringify(marshalCreateSSHKeyRequest$1(request, this.client.settings)),
1914
- headers: jsonContentHeaders$l,
1914
+ headers: jsonContentHeaders$m,
1915
1915
  method: 'POST',
1916
1916
  path: `/account/v2alpha1/ssh-keys`
1917
1917
  }, unmarshalSSHKey$1);
@@ -1935,7 +1935,7 @@ class AccountV2Alpha1GenAPI extends API$n {
1935
1935
  */
1936
1936
  updateSSHKey = request => this.client.fetch({
1937
1937
  body: JSON.stringify(marshalUpdateSSHKeyRequest$1(request, this.client.settings)),
1938
- headers: jsonContentHeaders$l,
1938
+ headers: jsonContentHeaders$m,
1939
1939
  method: 'PATCH',
1940
1940
  path: `/account/v2alpha1/ssh-key/${validatePathParam('sshKeyId', request.sshKeyId)}`
1941
1941
  }, unmarshalSSHKey$1);
@@ -1951,7 +1951,7 @@ class AccountV2Alpha1GenAPI extends API$n {
1951
1951
  });
1952
1952
  }
1953
1953
 
1954
- var index$p = /*#__PURE__*/Object.freeze({
1954
+ var index$q = /*#__PURE__*/Object.freeze({
1955
1955
  __proto__: null,
1956
1956
  API: AccountV2Alpha1GenAPI
1957
1957
  });
@@ -1990,7 +1990,7 @@ const marshalUpdateProjectRequest = (request, defaults) => ({
1990
1990
  });
1991
1991
 
1992
1992
  // This file was automatically generated. DO NOT EDIT.
1993
- const jsonContentHeaders$k = {
1993
+ const jsonContentHeaders$l = {
1994
1994
  'Content-Type': 'application/json; charset=utf-8'
1995
1995
  };
1996
1996
 
@@ -1999,7 +1999,7 @@ const jsonContentHeaders$k = {
1999
1999
  *
2000
2000
  * This API allows you to manage projects.
2001
2001
  */
2002
- let API$m = class API extends API$n {
2002
+ let API$n = class API extends API$o {
2003
2003
  /**
2004
2004
  * Create project
2005
2005
  *
@@ -2008,7 +2008,7 @@ let API$m = class API extends API$n {
2008
2008
  */
2009
2009
  createProject = request => this.client.fetch({
2010
2010
  body: JSON.stringify(marshalCreateProjectRequest(request, this.client.settings)),
2011
- headers: jsonContentHeaders$k,
2011
+ headers: jsonContentHeaders$l,
2012
2012
  method: 'POST',
2013
2013
  path: `/account/v2/projects`
2014
2014
  }, unmarshalProject);
@@ -2055,7 +2055,7 @@ let API$m = class API extends API$n {
2055
2055
  */
2056
2056
  updateProject = (request = {}) => this.client.fetch({
2057
2057
  body: JSON.stringify(marshalUpdateProjectRequest(request, this.client.settings)),
2058
- headers: jsonContentHeaders$k,
2058
+ headers: jsonContentHeaders$l,
2059
2059
  method: 'PATCH',
2060
2060
  path: `/account/v2/projects/${validatePathParam('projectId', request.projectId ?? this.client.settings.defaultProjectId)}`
2061
2061
  }, unmarshalProject);
@@ -2063,15 +2063,15 @@ let API$m = class API extends API$n {
2063
2063
 
2064
2064
  // This file was automatically generated. DO NOT EDIT.
2065
2065
 
2066
- var index_gen$j = /*#__PURE__*/Object.freeze({
2066
+ var index_gen$k = /*#__PURE__*/Object.freeze({
2067
2067
  __proto__: null,
2068
- API: API$m
2068
+ API: API$n
2069
2069
  });
2070
2070
 
2071
- var index$o = /*#__PURE__*/Object.freeze({
2071
+ var index$p = /*#__PURE__*/Object.freeze({
2072
2072
  __proto__: null,
2073
- v2: index_gen$j,
2074
- v2alpha1: index$p
2073
+ v2: index_gen$k,
2074
+ v2alpha1: index$q
2075
2075
  });
2076
2076
 
2077
2077
  // This file was automatically generated. DO NOT EDIT.
@@ -2200,7 +2200,7 @@ const marshalUpdateServerRequest$2 = (request, defaults) => ({
2200
2200
  });
2201
2201
 
2202
2202
  // This file was automatically generated. DO NOT EDIT.
2203
- const jsonContentHeaders$j = {
2203
+ const jsonContentHeaders$k = {
2204
2204
  'Content-Type': 'application/json; charset=utf-8'
2205
2205
  };
2206
2206
 
@@ -2225,7 +2225,7 @@ const jsonContentHeaders$j = {
2225
2225
  * Cisco in the U.S. and other countries and is used by Apple under license.
2226
2226
  * Scaleway is not affiliated with Apple Inc.
2227
2227
  */
2228
- let API$l = class API extends API$n {
2228
+ let API$m = class API extends API$o {
2229
2229
  /** Lists the available zones of the API. */
2230
2230
  static LOCALITIES = ['fr-par-3'];
2231
2231
 
@@ -2259,14 +2259,14 @@ let API$l = class API extends API$n {
2259
2259
  */
2260
2260
  createServer = request => this.client.fetch({
2261
2261
  body: JSON.stringify(marshalCreateServerRequest$2(request, this.client.settings)),
2262
- headers: jsonContentHeaders$j,
2262
+ headers: jsonContentHeaders$k,
2263
2263
  method: 'POST',
2264
2264
  path: `/apple-silicon/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers`
2265
2265
  }, unmarshalServer$2);
2266
2266
  pageOfListServers = (request = {}) => this.client.fetch({
2267
2267
  method: 'GET',
2268
2268
  path: `/apple-silicon/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers`,
2269
- urlParams: urlParams(['order_by', request.orderBy ?? 'created_at_asc'], ['organization_id', request.organizationId ?? this.client.settings.defaultOrganizationId], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['project_id', request.projectId ?? this.client.settings.defaultProjectId])
2269
+ urlParams: urlParams(['order_by', request.orderBy ?? 'created_at_asc'], ['organization_id', request.organizationId], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['project_id', request.projectId])
2270
2270
  }, unmarshalListServersResponse$2);
2271
2271
 
2272
2272
  /**
@@ -2329,7 +2329,7 @@ let API$l = class API extends API$n {
2329
2329
  */
2330
2330
  updateServer = request => this.client.fetch({
2331
2331
  body: JSON.stringify(marshalUpdateServerRequest$2(request, this.client.settings)),
2332
- headers: jsonContentHeaders$j,
2332
+ headers: jsonContentHeaders$k,
2333
2333
  method: 'PATCH',
2334
2334
  path: `/apple-silicon/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}`
2335
2335
  }, unmarshalServer$2);
@@ -2352,7 +2352,7 @@ let API$l = class API extends API$n {
2352
2352
  */
2353
2353
  rebootServer = request => this.client.fetch({
2354
2354
  body: '{}',
2355
- headers: jsonContentHeaders$j,
2355
+ headers: jsonContentHeaders$k,
2356
2356
  method: 'POST',
2357
2357
  path: `/apple-silicon/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/reboot`
2358
2358
  }, unmarshalServer$2);
@@ -2365,7 +2365,7 @@ let API$l = class API extends API$n {
2365
2365
  */
2366
2366
  reinstallServer = request => this.client.fetch({
2367
2367
  body: '{}',
2368
- headers: jsonContentHeaders$j,
2368
+ headers: jsonContentHeaders$k,
2369
2369
  method: 'POST',
2370
2370
  path: `/apple-silicon/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/reinstall`
2371
2371
  }, unmarshalServer$2);
@@ -2373,15 +2373,15 @@ let API$l = class API extends API$n {
2373
2373
 
2374
2374
  // This file was automatically generated. DO NOT EDIT.
2375
2375
 
2376
- var index_gen$i = /*#__PURE__*/Object.freeze({
2376
+ var index_gen$j = /*#__PURE__*/Object.freeze({
2377
2377
  __proto__: null,
2378
- API: API$l,
2378
+ API: API$m,
2379
2379
  SERVER_TRANSIENT_STATUSES: SERVER_TRANSIENT_STATUSES$2
2380
2380
  });
2381
2381
 
2382
- var index$n = /*#__PURE__*/Object.freeze({
2382
+ var index$o = /*#__PURE__*/Object.freeze({
2383
2383
  __proto__: null,
2384
- v1alpha1: index_gen$i
2384
+ v1alpha1: index_gen$j
2385
2385
  });
2386
2386
 
2387
2387
  // This file was automatically generated. DO NOT EDIT.
@@ -2558,10 +2558,13 @@ const unmarshalOffer = data => {
2558
2558
  persistentMemories: unmarshalArrayOfObject(data.persistent_memories, unmarshalPersistentMemory),
2559
2559
  pricePerHour: data.price_per_hour ? unmarshalMoney(data.price_per_hour) : undefined,
2560
2560
  pricePerMonth: data.price_per_month ? unmarshalMoney(data.price_per_month) : undefined,
2561
+ privateBandwidth: data.private_bandwidth,
2561
2562
  quotaName: data.quota_name,
2562
2563
  raidControllers: unmarshalArrayOfObject(data.raid_controllers, unmarshalRaidController),
2564
+ sharedBandwidth: data.shared_bandwidth,
2563
2565
  stock: data.stock,
2564
- subscriptionPeriod: data.subscription_period
2566
+ subscriptionPeriod: data.subscription_period,
2567
+ tags: data.tags
2565
2568
  };
2566
2569
  };
2567
2570
  const unmarshalOption = data => {
@@ -2793,7 +2796,7 @@ const marshalUpdateSettingRequest = (request, defaults) => ({
2793
2796
  });
2794
2797
 
2795
2798
  // This file was automatically generated. DO NOT EDIT.
2796
- const jsonContentHeaders$i = {
2799
+ const jsonContentHeaders$j = {
2797
2800
  'Content-Type': 'application/json; charset=utf-8'
2798
2801
  };
2799
2802
 
@@ -2802,13 +2805,13 @@ const jsonContentHeaders$i = {
2802
2805
  *
2803
2806
  * This API allows to manage your Bare metal server.
2804
2807
  */
2805
- let API$k = class API extends API$n {
2808
+ let API$l = class API extends API$o {
2806
2809
  /** Lists the available zones of the API. */
2807
2810
  static LOCALITIES = ['fr-par-1', 'fr-par-2', 'nl-ams-1'];
2808
2811
  pageOfListServers = (request = {}) => this.client.fetch({
2809
2812
  method: 'GET',
2810
2813
  path: `/baremetal/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers`,
2811
- urlParams: urlParams(['name', request.name], ['option_id', request.optionId], ['order_by', request.orderBy ?? 'created_at_asc'], ['organization_id', request.organizationId ?? this.client.settings.defaultOrganizationId], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['project_id', request.projectId ?? this.client.settings.defaultProjectId], ['status', request.status], ['tags', request.tags])
2814
+ urlParams: urlParams(['name', request.name], ['option_id', request.optionId], ['order_by', request.orderBy ?? 'created_at_asc'], ['organization_id', request.organizationId], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['project_id', request.projectId], ['status', request.status], ['tags', request.tags])
2812
2815
  }, unmarshalListServersResponse$1);
2813
2816
 
2814
2817
  /**
@@ -2848,7 +2851,7 @@ let API$k = class API extends API$n {
2848
2851
  */
2849
2852
  createServer = request => this.client.fetch({
2850
2853
  body: JSON.stringify(marshalCreateServerRequest$1(request, this.client.settings)),
2851
- headers: jsonContentHeaders$i,
2854
+ headers: jsonContentHeaders$j,
2852
2855
  method: 'POST',
2853
2856
  path: `/baremetal/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers`
2854
2857
  }, unmarshalServer$1);
@@ -2861,7 +2864,7 @@ let API$k = class API extends API$n {
2861
2864
  */
2862
2865
  updateServer = request => this.client.fetch({
2863
2866
  body: JSON.stringify(marshalUpdateServerRequest$1(request, this.client.settings)),
2864
- headers: jsonContentHeaders$i,
2867
+ headers: jsonContentHeaders$j,
2865
2868
  method: 'PATCH',
2866
2869
  path: `/baremetal/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}`
2867
2870
  }, unmarshalServer$1);
@@ -2874,7 +2877,7 @@ let API$k = class API extends API$n {
2874
2877
  */
2875
2878
  installServer = request => this.client.fetch({
2876
2879
  body: JSON.stringify(marshalInstallServerRequest(request, this.client.settings)),
2877
- headers: jsonContentHeaders$i,
2880
+ headers: jsonContentHeaders$j,
2878
2881
  method: 'POST',
2879
2882
  path: `/baremetal/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/install`
2880
2883
  }, unmarshalServer$1);
@@ -2910,7 +2913,7 @@ let API$k = class API extends API$n {
2910
2913
  */
2911
2914
  rebootServer = request => this.client.fetch({
2912
2915
  body: JSON.stringify(marshalRebootServerRequest(request, this.client.settings)),
2913
- headers: jsonContentHeaders$i,
2916
+ headers: jsonContentHeaders$j,
2914
2917
  method: 'POST',
2915
2918
  path: `/baremetal/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/reboot`
2916
2919
  }, unmarshalServer$1);
@@ -2923,7 +2926,7 @@ let API$k = class API extends API$n {
2923
2926
  */
2924
2927
  startServer = request => this.client.fetch({
2925
2928
  body: JSON.stringify(marshalStartServerRequest(request, this.client.settings)),
2926
- headers: jsonContentHeaders$i,
2929
+ headers: jsonContentHeaders$j,
2927
2930
  method: 'POST',
2928
2931
  path: `/baremetal/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/start`
2929
2932
  }, unmarshalServer$1);
@@ -2936,7 +2939,7 @@ let API$k = class API extends API$n {
2936
2939
  */
2937
2940
  stopServer = request => this.client.fetch({
2938
2941
  body: '{}',
2939
- headers: jsonContentHeaders$i,
2942
+ headers: jsonContentHeaders$j,
2940
2943
  method: 'POST',
2941
2944
  path: `/baremetal/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/stop`
2942
2945
  }, unmarshalServer$1);
@@ -2972,7 +2975,7 @@ let API$k = class API extends API$n {
2972
2975
  */
2973
2976
  startBMCAccess = request => this.client.fetch({
2974
2977
  body: JSON.stringify(marshalStartBMCAccessRequest(request, this.client.settings)),
2975
- headers: jsonContentHeaders$i,
2978
+ headers: jsonContentHeaders$j,
2976
2979
  method: 'POST',
2977
2980
  path: `/baremetal/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/bmc-access`
2978
2981
  }, unmarshalBMCAccess);
@@ -3009,7 +3012,7 @@ let API$k = class API extends API$n {
3009
3012
  */
3010
3013
  updateIP = request => this.client.fetch({
3011
3014
  body: JSON.stringify(marshalUpdateIPRequest$1(request, this.client.settings)),
3012
- headers: jsonContentHeaders$i,
3015
+ headers: jsonContentHeaders$j,
3013
3016
  method: 'PATCH',
3014
3017
  path: `/baremetal/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/ips/${validatePathParam('ipId', request.ipId)}`
3015
3018
  }, unmarshalIP$1);
@@ -3022,7 +3025,7 @@ let API$k = class API extends API$n {
3022
3025
  */
3023
3026
  addOptionServer = request => this.client.fetch({
3024
3027
  body: JSON.stringify(marshalAddOptionServerRequest(request, this.client.settings)),
3025
- headers: jsonContentHeaders$i,
3028
+ headers: jsonContentHeaders$j,
3026
3029
  method: 'POST',
3027
3030
  path: `/baremetal/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/options/${validatePathParam('optionId', request.optionId)}`
3028
3031
  }, unmarshalServer$1);
@@ -3107,7 +3110,7 @@ let API$k = class API extends API$n {
3107
3110
  */
3108
3111
  updateSetting = request => this.client.fetch({
3109
3112
  body: JSON.stringify(marshalUpdateSettingRequest(request, this.client.settings)),
3110
- headers: jsonContentHeaders$i,
3113
+ headers: jsonContentHeaders$j,
3111
3114
  method: 'PATCH',
3112
3115
  path: `/baremetal/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/settings/${validatePathParam('settingId', request.settingId)}`
3113
3116
  }, unmarshalSetting);
@@ -3138,7 +3141,7 @@ let API$k = class API extends API$n {
3138
3141
  };
3139
3142
 
3140
3143
  /** Elastic Metal Private Network API. */
3141
- class PrivateNetworkAPI extends API$n {
3144
+ class PrivateNetworkAPI extends API$o {
3142
3145
  /** Lists the available zones of the API. */
3143
3146
  static LOCALITIES = ['fr-par-2'];
3144
3147
 
@@ -3151,7 +3154,7 @@ class PrivateNetworkAPI extends API$n {
3151
3154
  */
3152
3155
  addServerPrivateNetwork = request => this.client.fetch({
3153
3156
  body: JSON.stringify(marshalPrivateNetworkApiAddServerPrivateNetworkRequest(request, this.client.settings)),
3154
- headers: jsonContentHeaders$i,
3157
+ headers: jsonContentHeaders$j,
3155
3158
  method: 'POST',
3156
3159
  path: `/baremetal/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/private-networks`
3157
3160
  }, unmarshalServerPrivateNetwork);
@@ -3165,14 +3168,14 @@ class PrivateNetworkAPI extends API$n {
3165
3168
  */
3166
3169
  setServerPrivateNetworks = request => this.client.fetch({
3167
3170
  body: JSON.stringify(marshalPrivateNetworkApiSetServerPrivateNetworksRequest(request, this.client.settings)),
3168
- headers: jsonContentHeaders$i,
3171
+ headers: jsonContentHeaders$j,
3169
3172
  method: 'PUT',
3170
3173
  path: `/baremetal/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/private-networks`
3171
3174
  }, unmarshalSetServerPrivateNetworksResponse);
3172
3175
  pageOfListServerPrivateNetworks = (request = {}) => this.client.fetch({
3173
3176
  method: 'GET',
3174
3177
  path: `/baremetal/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/server-private-networks`,
3175
- urlParams: urlParams(['order_by', request.orderBy ?? 'created_at_asc'], ['organization_id', request.organizationId ?? this.client.settings.defaultOrganizationId], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['private_network_id', request.privateNetworkId], ['project_id', request.projectId ?? this.client.settings.defaultProjectId], ['server_id', request.serverId])
3178
+ urlParams: urlParams(['order_by', request.orderBy ?? 'created_at_asc'], ['organization_id', request.organizationId], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['private_network_id', request.privateNetworkId], ['project_id', request.projectId], ['server_id', request.serverId])
3176
3179
  }, unmarshalListServerPrivateNetworksResponse);
3177
3180
 
3178
3181
  /**
@@ -3196,7 +3199,7 @@ class PrivateNetworkAPI extends API$n {
3196
3199
  });
3197
3200
  }
3198
3201
 
3199
- class BaremetalV1UtilsAPI extends API$k {
3202
+ class BaremetalV1UtilsAPI extends API$l {
3200
3203
  /**
3201
3204
  * Waits for {@link ServerInstall} to be in a final state.
3202
3205
  *
@@ -3340,7 +3343,7 @@ var validationRules_gen$3 = /*#__PURE__*/Object.freeze({
3340
3343
  UpdateServerRequest: UpdateServerRequest
3341
3344
  });
3342
3345
 
3343
- var index$m = /*#__PURE__*/Object.freeze({
3346
+ var index$n = /*#__PURE__*/Object.freeze({
3344
3347
  __proto__: null,
3345
3348
  API: BaremetalV1UtilsAPI,
3346
3349
  PrivateNetworkAPI: PrivateNetworkAPI,
@@ -3350,9 +3353,429 @@ var index$m = /*#__PURE__*/Object.freeze({
3350
3353
  ValidationRules: validationRules_gen$3
3351
3354
  });
3352
3355
 
3356
+ var index$m = /*#__PURE__*/Object.freeze({
3357
+ __proto__: null,
3358
+ v1: index$n
3359
+ });
3360
+
3361
+ // This file was automatically generated. DO NOT EDIT.
3362
+ // If you have any remark or suggestion do not hesitate to open an issue.
3363
+
3364
+ /** Lists transient statutes of the enum {@link CockpitStatus}. */
3365
+ const COCKPIT_TRANSIENT_STATUSES = ['creating', 'deleting', 'updating'];
3366
+
3367
+ // This file was automatically generated. DO NOT EDIT.
3368
+ const unmarshalContactPointEmail = data => {
3369
+ if (!isJSONObject(data)) {
3370
+ throw new TypeError(`Unmarshalling the type 'ContactPointEmail' failed as data isn't a dictionary.`);
3371
+ }
3372
+ return {
3373
+ to: data.to
3374
+ };
3375
+ };
3376
+ const unmarshalTokenScopes = data => {
3377
+ if (!isJSONObject(data)) {
3378
+ throw new TypeError(`Unmarshalling the type 'TokenScopes' failed as data isn't a dictionary.`);
3379
+ }
3380
+ return {
3381
+ queryLogs: data.query_logs,
3382
+ queryMetrics: data.query_metrics,
3383
+ setupAlerts: data.setup_alerts,
3384
+ setupLogsRules: data.setup_logs_rules,
3385
+ setupMetricsRules: data.setup_metrics_rules,
3386
+ writeLogs: data.write_logs,
3387
+ writeMetrics: data.write_metrics
3388
+ };
3389
+ };
3390
+ const unmarshalCockpitEndpoints = data => {
3391
+ if (!isJSONObject(data)) {
3392
+ throw new TypeError(`Unmarshalling the type 'CockpitEndpoints' failed as data isn't a dictionary.`);
3393
+ }
3394
+ return {
3395
+ alertmanagerUrl: data.alertmanager_url,
3396
+ grafanaUrl: data.grafana_url,
3397
+ logsUrl: data.logs_url,
3398
+ metricsUrl: data.metrics_url
3399
+ };
3400
+ };
3401
+ const unmarshalContactPoint = data => {
3402
+ if (!isJSONObject(data)) {
3403
+ throw new TypeError(`Unmarshalling the type 'ContactPoint' failed as data isn't a dictionary.`);
3404
+ }
3405
+ return {
3406
+ email: data.email ? unmarshalContactPointEmail(data.email) : undefined
3407
+ };
3408
+ };
3409
+ const unmarshalGrafanaUser = data => {
3410
+ if (!isJSONObject(data)) {
3411
+ throw new TypeError(`Unmarshalling the type 'GrafanaUser' failed as data isn't a dictionary.`);
3412
+ }
3413
+ return {
3414
+ id: data.id,
3415
+ login: data.login,
3416
+ password: data.password,
3417
+ role: data.role
3418
+ };
3419
+ };
3420
+ const unmarshalToken$2 = data => {
3421
+ if (!isJSONObject(data)) {
3422
+ throw new TypeError(`Unmarshalling the type 'Token' failed as data isn't a dictionary.`);
3423
+ }
3424
+ return {
3425
+ createdAt: unmarshalDate(data.created_at),
3426
+ id: data.id,
3427
+ name: data.name,
3428
+ projectId: data.project_id,
3429
+ scopes: data.scopes ? unmarshalTokenScopes(data.scopes) : undefined,
3430
+ secretKey: data.secret_key,
3431
+ updatedAt: unmarshalDate(data.updated_at)
3432
+ };
3433
+ };
3434
+ const unmarshalCockpit = data => {
3435
+ if (!isJSONObject(data)) {
3436
+ throw new TypeError(`Unmarshalling the type 'Cockpit' failed as data isn't a dictionary.`);
3437
+ }
3438
+ return {
3439
+ createdAt: unmarshalDate(data.created_at),
3440
+ endpoints: data.endpoints ? unmarshalCockpitEndpoints(data.endpoints) : undefined,
3441
+ managedAlertsEnabled: data.managed_alerts_enabled,
3442
+ projectId: data.project_id,
3443
+ status: data.status,
3444
+ updatedAt: unmarshalDate(data.updated_at)
3445
+ };
3446
+ };
3447
+ const unmarshalListContactPointsResponse = data => {
3448
+ if (!isJSONObject(data)) {
3449
+ throw new TypeError(`Unmarshalling the type 'ListContactPointsResponse' failed as data isn't a dictionary.`);
3450
+ }
3451
+ return {
3452
+ contactPoints: unmarshalArrayOfObject(data.contact_points, unmarshalContactPoint),
3453
+ hasAdditionalContactPoints: data.has_additional_contact_points,
3454
+ hasAdditionalReceivers: data.has_additional_receivers,
3455
+ totalCount: data.total_count
3456
+ };
3457
+ };
3458
+ const unmarshalListGrafanaUsersResponse = data => {
3459
+ if (!isJSONObject(data)) {
3460
+ throw new TypeError(`Unmarshalling the type 'ListGrafanaUsersResponse' failed as data isn't a dictionary.`);
3461
+ }
3462
+ return {
3463
+ grafanaUsers: unmarshalArrayOfObject(data.grafana_users, unmarshalGrafanaUser),
3464
+ totalCount: data.total_count
3465
+ };
3466
+ };
3467
+ const unmarshalListTokensResponse$2 = data => {
3468
+ if (!isJSONObject(data)) {
3469
+ throw new TypeError(`Unmarshalling the type 'ListTokensResponse' failed as data isn't a dictionary.`);
3470
+ }
3471
+ return {
3472
+ tokens: unmarshalArrayOfObject(data.tokens, unmarshalToken$2),
3473
+ totalCount: data.total_count
3474
+ };
3475
+ };
3476
+ const marshalContactPointEmail = (request, defaults) => ({
3477
+ to: request.to
3478
+ });
3479
+ const marshalContactPoint = (request, defaults) => ({
3480
+ ...resolveOneOf([{
3481
+ param: 'email',
3482
+ value: request.email ? marshalContactPointEmail(request.email) : undefined
3483
+ }])
3484
+ });
3485
+ const marshalTokenScopes = (request, defaults) => ({
3486
+ query_logs: request.queryLogs,
3487
+ query_metrics: request.queryMetrics,
3488
+ setup_alerts: request.setupAlerts,
3489
+ setup_logs_rules: request.setupLogsRules,
3490
+ setup_metrics_rules: request.setupMetricsRules,
3491
+ write_logs: request.writeLogs,
3492
+ write_metrics: request.writeMetrics
3493
+ });
3494
+ const marshalActivateCockpitRequest = (request, defaults) => ({
3495
+ project_id: request.projectId ?? defaults.defaultProjectId
3496
+ });
3497
+ const marshalCreateContactPointRequest = (request, defaults) => ({
3498
+ contact_point: request.contactPoint ? marshalContactPoint(request.contactPoint) : undefined,
3499
+ project_id: request.projectId ?? defaults.defaultProjectId
3500
+ });
3501
+ const marshalCreateGrafanaUserRequest = (request, defaults) => ({
3502
+ login: request.login,
3503
+ project_id: request.projectId ?? defaults.defaultProjectId,
3504
+ role: request.role ?? 'unknown_role'
3505
+ });
3506
+ const marshalCreateTokenRequest$2 = (request, defaults) => ({
3507
+ name: request.name,
3508
+ project_id: request.projectId ?? defaults.defaultProjectId,
3509
+ scopes: request.scopes ? marshalTokenScopes(request.scopes) : undefined
3510
+ });
3511
+ const marshalDeactivateCockpitRequest = (request, defaults) => ({
3512
+ project_id: request.projectId ?? defaults.defaultProjectId
3513
+ });
3514
+ const marshalDeleteContactPointRequest = (request, defaults) => ({
3515
+ contact_point: request.contactPoint ? marshalContactPoint(request.contactPoint) : undefined,
3516
+ project_id: request.projectId ?? defaults.defaultProjectId
3517
+ });
3518
+ const marshalDeleteGrafanaUserRequest = (request, defaults) => ({
3519
+ project_id: request.projectId ?? defaults.defaultProjectId
3520
+ });
3521
+ const marshalDisableManagedAlertsRequest = (request, defaults) => ({
3522
+ project_id: request.projectId ?? defaults.defaultProjectId
3523
+ });
3524
+ const marshalEnableManagedAlertsRequest = (request, defaults) => ({
3525
+ project_id: request.projectId ?? defaults.defaultProjectId
3526
+ });
3527
+ const marshalResetCockpitGrafanaRequest = (request, defaults) => ({
3528
+ project_id: request.projectId ?? defaults.defaultProjectId
3529
+ });
3530
+ const marshalResetGrafanaUserPasswordRequest = (request, defaults) => ({
3531
+ project_id: request.projectId ?? defaults.defaultProjectId
3532
+ });
3533
+ const marshalTriggerTestAlertRequest = (request, defaults) => ({
3534
+ project_id: request.projectId ?? defaults.defaultProjectId
3535
+ });
3536
+
3537
+ // This file was automatically generated. DO NOT EDIT.
3538
+ const jsonContentHeaders$i = {
3539
+ 'Content-Type': 'application/json; charset=utf-8'
3540
+ };
3541
+
3542
+ /**
3543
+ * Cockpit API.
3544
+ *
3545
+ * This API allows to manage Cockpits.
3546
+ */
3547
+ let API$k = class API extends API$o {
3548
+ activateCockpit = (request = {}) => this.client.fetch({
3549
+ body: JSON.stringify(marshalActivateCockpitRequest(request, this.client.settings)),
3550
+ headers: jsonContentHeaders$i,
3551
+ method: 'POST',
3552
+ path: `/cockpit/v1beta1/activate`
3553
+ }, unmarshalCockpit);
3554
+
3555
+ /**
3556
+ * Get the cockpit associated with the given project ID.
3557
+ *
3558
+ * @param request - The request {@link GetCockpitRequest}
3559
+ * @returns A Promise of Cockpit
3560
+ */
3561
+ getCockpit = (request = {}) => this.client.fetch({
3562
+ method: 'GET',
3563
+ path: `/cockpit/v1beta1/cockpit`,
3564
+ urlParams: urlParams(['project_id', request.projectId ?? this.client.settings.defaultProjectId])
3565
+ }, unmarshalCockpit);
3566
+
3567
+ /**
3568
+ * Waits for {@link Cockpit} to be in a final state.
3569
+ *
3570
+ * @param request - The request {@link GetCockpitRequest}
3571
+ * @param options - The waiting options
3572
+ * @returns A Promise of Cockpit
3573
+ */
3574
+ waitForCockpit = (request = {}, options) => waitForResource(options?.stop ?? (res => Promise.resolve(!COCKPIT_TRANSIENT_STATUSES.includes(res.status))), this.getCockpit, request, options);
3575
+ deactivateCockpit = (request = {}) => this.client.fetch({
3576
+ body: JSON.stringify(marshalDeactivateCockpitRequest(request, this.client.settings)),
3577
+ headers: jsonContentHeaders$i,
3578
+ method: 'POST',
3579
+ path: `/cockpit/v1beta1/deactivate`
3580
+ }, unmarshalCockpit);
3581
+
3582
+ /**
3583
+ * Reset the Grafana your cockpit associated with the given project ID.
3584
+ *
3585
+ * @param request - The request {@link ResetCockpitGrafanaRequest}
3586
+ * @returns A Promise of Cockpit
3587
+ */
3588
+ resetCockpitGrafana = (request = {}) => this.client.fetch({
3589
+ body: JSON.stringify(marshalResetCockpitGrafanaRequest(request, this.client.settings)),
3590
+ headers: jsonContentHeaders$i,
3591
+ method: 'POST',
3592
+ path: `/cockpit/v1beta1/reset-grafana`
3593
+ }, unmarshalCockpit);
3594
+
3595
+ /**
3596
+ * Create token associated with the given project ID.
3597
+ *
3598
+ * @param request - The request {@link CreateTokenRequest}
3599
+ * @returns A Promise of Token
3600
+ */
3601
+ createToken = request => this.client.fetch({
3602
+ body: JSON.stringify(marshalCreateTokenRequest$2(request, this.client.settings)),
3603
+ headers: jsonContentHeaders$i,
3604
+ method: 'POST',
3605
+ path: `/cockpit/v1beta1/tokens`
3606
+ }, unmarshalToken$2);
3607
+ pageOfListTokens = (request = {}) => this.client.fetch({
3608
+ method: 'GET',
3609
+ path: `/cockpit/v1beta1/tokens`,
3610
+ urlParams: urlParams(['order_by', request.orderBy ?? 'created_at_asc'], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['project_id', request.projectId ?? this.client.settings.defaultProjectId])
3611
+ }, unmarshalListTokensResponse$2);
3612
+
3613
+ /**
3614
+ * List tokens associated with the given project ID.
3615
+ *
3616
+ * @param request - The request {@link ListTokensRequest}
3617
+ * @returns A Promise of ListTokensResponse
3618
+ */
3619
+ listTokens = (request = {}) => enrichForPagination('tokens', this.pageOfListTokens, request);
3620
+
3621
+ /**
3622
+ * Get the token associated with the given ID.
3623
+ *
3624
+ * @param request - The request {@link GetTokenRequest}
3625
+ * @returns A Promise of Token
3626
+ */
3627
+ getToken = request => this.client.fetch({
3628
+ method: 'GET',
3629
+ path: `/cockpit/v1beta1/tokens/${validatePathParam('tokenId', request.tokenId)}`
3630
+ }, unmarshalToken$2);
3631
+
3632
+ /**
3633
+ * Delete the token associated with the given ID.
3634
+ *
3635
+ * @param request - The request {@link DeleteTokenRequest}
3636
+ */
3637
+ deleteToken = request => this.client.fetch({
3638
+ method: 'DELETE',
3639
+ path: `/cockpit/v1beta1/tokens/${validatePathParam('tokenId', request.tokenId)}`
3640
+ });
3641
+
3642
+ /**
3643
+ * Create an alert contact point for the default receiver.
3644
+ *
3645
+ * @param request - The request {@link CreateContactPointRequest}
3646
+ * @returns A Promise of ContactPoint
3647
+ */
3648
+ createContactPoint = (request = {}) => this.client.fetch({
3649
+ body: JSON.stringify(marshalCreateContactPointRequest(request, this.client.settings)),
3650
+ headers: jsonContentHeaders$i,
3651
+ method: 'POST',
3652
+ path: `/cockpit/v1beta1/contact-points`
3653
+ }, unmarshalContactPoint);
3654
+ pageOfListContactPoints = (request = {}) => this.client.fetch({
3655
+ method: 'GET',
3656
+ path: `/cockpit/v1beta1/contact-points`,
3657
+ urlParams: urlParams(['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['project_id', request.projectId ?? this.client.settings.defaultProjectId])
3658
+ }, unmarshalListContactPointsResponse);
3659
+
3660
+ /**
3661
+ * List alert contact points associated with the given cockpit ID.
3662
+ *
3663
+ * @param request - The request {@link ListContactPointsRequest}
3664
+ * @returns A Promise of ListContactPointsResponse
3665
+ */
3666
+ listContactPoints = (request = {}) => enrichForPagination('contactPoints', this.pageOfListContactPoints, request);
3667
+
3668
+ /**
3669
+ * Delete an alert contact point for the default receiver.
3670
+ *
3671
+ * @param request - The request {@link DeleteContactPointRequest}
3672
+ */
3673
+ deleteContactPoint = (request = {}) => this.client.fetch({
3674
+ body: JSON.stringify(marshalDeleteContactPointRequest(request, this.client.settings)),
3675
+ headers: jsonContentHeaders$i,
3676
+ method: 'POST',
3677
+ path: `/cockpit/v1beta1/delete-contact-point`
3678
+ });
3679
+
3680
+ /**
3681
+ * Enable managed alerts.
3682
+ *
3683
+ * @param request - The request {@link EnableManagedAlertsRequest}
3684
+ */
3685
+ enableManagedAlerts = (request = {}) => this.client.fetch({
3686
+ body: JSON.stringify(marshalEnableManagedAlertsRequest(request, this.client.settings)),
3687
+ headers: jsonContentHeaders$i,
3688
+ method: 'POST',
3689
+ path: `/cockpit/v1beta1/enable-managed-alerts`
3690
+ });
3691
+
3692
+ /**
3693
+ * Disable managed alerts.
3694
+ *
3695
+ * @param request - The request {@link DisableManagedAlertsRequest}
3696
+ */
3697
+ disableManagedAlerts = (request = {}) => this.client.fetch({
3698
+ body: JSON.stringify(marshalDisableManagedAlertsRequest(request, this.client.settings)),
3699
+ headers: jsonContentHeaders$i,
3700
+ method: 'POST',
3701
+ path: `/cockpit/v1beta1/disable-managed-alerts`
3702
+ });
3703
+
3704
+ /**
3705
+ * Trigger a test alert to all receivers.
3706
+ *
3707
+ * @param request - The request {@link TriggerTestAlertRequest}
3708
+ */
3709
+ triggerTestAlert = (request = {}) => this.client.fetch({
3710
+ body: JSON.stringify(marshalTriggerTestAlertRequest(request, this.client.settings)),
3711
+ headers: jsonContentHeaders$i,
3712
+ method: 'POST',
3713
+ path: `/cockpit/v1beta1/trigger-test-alert`
3714
+ });
3715
+
3716
+ /**
3717
+ * Create a grafana user for your grafana instance.
3718
+ *
3719
+ * @param request - The request {@link CreateGrafanaUserRequest}
3720
+ * @returns A Promise of GrafanaUser
3721
+ */
3722
+ createGrafanaUser = request => this.client.fetch({
3723
+ body: JSON.stringify(marshalCreateGrafanaUserRequest(request, this.client.settings)),
3724
+ headers: jsonContentHeaders$i,
3725
+ method: 'POST',
3726
+ path: `/cockpit/v1beta1/grafana-users`
3727
+ }, unmarshalGrafanaUser);
3728
+ pageOfListGrafanaUsers = (request = {}) => this.client.fetch({
3729
+ method: 'GET',
3730
+ path: `/cockpit/v1beta1/grafana-users`,
3731
+ urlParams: urlParams(['order_by', request.orderBy ?? 'login_asc'], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['project_id', request.projectId ?? this.client.settings.defaultProjectId])
3732
+ }, unmarshalListGrafanaUsersResponse);
3733
+
3734
+ /**
3735
+ * List grafana users who are able to connect to your grafana instance.
3736
+ *
3737
+ * @param request - The request {@link ListGrafanaUsersRequest}
3738
+ * @returns A Promise of ListGrafanaUsersResponse
3739
+ */
3740
+ listGrafanaUsers = (request = {}) => enrichForPagination('grafanaUsers', this.pageOfListGrafanaUsers, request);
3741
+
3742
+ /**
3743
+ * Delete a grafana user from your grafana instance.
3744
+ *
3745
+ * @param request - The request {@link DeleteGrafanaUserRequest}
3746
+ */
3747
+ deleteGrafanaUser = request => this.client.fetch({
3748
+ body: JSON.stringify(marshalDeleteGrafanaUserRequest(request, this.client.settings)),
3749
+ headers: jsonContentHeaders$i,
3750
+ method: 'POST',
3751
+ path: `/cockpit/v1beta1/grafana-users/${validatePathParam('grafanaUserId', request.grafanaUserId)}/delete`
3752
+ });
3753
+
3754
+ /**
3755
+ * Reset the Grafana user password from your grafana instance.
3756
+ *
3757
+ * @param request - The request {@link ResetGrafanaUserPasswordRequest}
3758
+ * @returns A Promise of GrafanaUser
3759
+ */
3760
+ resetGrafanaUserPassword = request => this.client.fetch({
3761
+ body: JSON.stringify(marshalResetGrafanaUserPasswordRequest(request, this.client.settings)),
3762
+ headers: jsonContentHeaders$i,
3763
+ method: 'POST',
3764
+ path: `/cockpit/v1beta1/grafana-users/${validatePathParam('grafanaUserId', request.grafanaUserId)}/reset-password`
3765
+ }, unmarshalGrafanaUser);
3766
+ };
3767
+
3768
+ // This file was automatically generated. DO NOT EDIT.
3769
+
3770
+ var index_gen$i = /*#__PURE__*/Object.freeze({
3771
+ __proto__: null,
3772
+ API: API$k,
3773
+ COCKPIT_TRANSIENT_STATUSES: COCKPIT_TRANSIENT_STATUSES
3774
+ });
3775
+
3353
3776
  var index$l = /*#__PURE__*/Object.freeze({
3354
3777
  __proto__: null,
3355
- v1: index$m
3778
+ v1beta1: index_gen$i
3356
3779
  });
3357
3780
 
3358
3781
  // This file was automatically generated. DO NOT EDIT.
@@ -3625,13 +4048,13 @@ const jsonContentHeaders$h = {
3625
4048
  *
3626
4049
  * Serverless Containers API.
3627
4050
  */
3628
- let API$j = class API extends API$n {
4051
+ let API$j = class API extends API$o {
3629
4052
  /** Lists the available regions of the API. */
3630
4053
  static LOCALITIES = ['fr-par', 'nl-ams', 'pl-waw'];
3631
4054
  pageOfListNamespaces = (request = {}) => this.client.fetch({
3632
4055
  method: 'GET',
3633
4056
  path: `/containers/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/namespaces`,
3634
- urlParams: urlParams(['name', request.name], ['order_by', request.orderBy ?? 'created_at_asc'], ['organization_id', request.organizationId ?? this.client.settings.defaultOrganizationId], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['project_id', request.projectId ?? this.client.settings.defaultProjectId])
4057
+ urlParams: urlParams(['name', request.name], ['order_by', request.orderBy ?? 'created_at_asc'], ['organization_id', request.organizationId], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['project_id', request.projectId])
3635
4058
  }, unmarshalListNamespacesResponse$3);
3636
4059
 
3637
4060
  /**
@@ -3701,7 +4124,7 @@ let API$j = class API extends API$n {
3701
4124
  pageOfListContainers = request => this.client.fetch({
3702
4125
  method: 'GET',
3703
4126
  path: `/containers/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/containers`,
3704
- urlParams: urlParams(['name', request.name], ['namespace_id', request.namespaceId], ['order_by', request.orderBy ?? 'created_at_asc'], ['organization_id', request.organizationId ?? this.client.settings.defaultOrganizationId], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['project_id', request.projectId ?? this.client.settings.defaultProjectId])
4127
+ urlParams: urlParams(['name', request.name], ['namespace_id', request.namespaceId], ['order_by', request.orderBy ?? 'created_at_asc'], ['organization_id', request.organizationId], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['project_id', request.projectId])
3705
4128
  }, unmarshalListContainersResponse);
3706
4129
 
3707
4130
  /**
@@ -4998,7 +5421,7 @@ const marshalUpdateContactRequestQuestion = (request, defaults) => ({
4998
5421
  const marshalCloneDNSZoneRequest = (request, defaults) => ({
4999
5422
  dest_dns_zone: request.destDnsZone,
5000
5423
  overwrite: request.overwrite,
5001
- project_id: request.projectId ?? defaults.defaultProjectId
5424
+ project_id: request.projectId
5002
5425
  });
5003
5426
  const marshalCreateDNSZoneRequest = (request, defaults) => ({
5004
5427
  domain: request.domain,
@@ -5099,7 +5522,7 @@ const marshalRegistrarApiRenewDomainsRequest = (request, defaults) => ({
5099
5522
  force_late_renewal: request.forceLateRenewal
5100
5523
  });
5101
5524
  const marshalRegistrarApiTradeDomainRequest = (request, defaults) => ({
5102
- project_id: request.projectId ?? defaults.defaultProjectId,
5525
+ project_id: request.projectId,
5103
5526
  ...resolveOneOf([{
5104
5527
  param: 'new_owner_contact_id',
5105
5528
  value: request.newOwnerContactId
@@ -5204,11 +5627,11 @@ const jsonContentHeaders$g = {
5204
5627
  *
5205
5628
  * Manage your DNS zones and records.
5206
5629
  */
5207
- let API$i = class API extends API$n {
5630
+ let API$i = class API extends API$o {
5208
5631
  pageOfListDNSZones = request => this.client.fetch({
5209
5632
  method: 'GET',
5210
5633
  path: `/domain/v2beta1/dns-zones`,
5211
- urlParams: urlParams(['dns_zone', request.dnsZone], ['domain', request.domain], ['order_by', request.orderBy ?? 'domain_asc'], ['organization_id', request.organizationId ?? this.client.settings.defaultOrganizationId], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['project_id', request.projectId ?? this.client.settings.defaultProjectId])
5634
+ urlParams: urlParams(['dns_zone', request.dnsZone], ['domain', request.domain], ['order_by', request.orderBy ?? 'domain_asc'], ['organization_id', request.organizationId], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['project_id', request.projectId])
5212
5635
  }, unmarshalListDNSZonesResponse);
5213
5636
 
5214
5637
  /**
@@ -5273,7 +5696,7 @@ let API$i = class API extends API$n {
5273
5696
  pageOfListDNSZoneRecords = request => this.client.fetch({
5274
5697
  method: 'GET',
5275
5698
  path: `/domain/v2beta1/dns-zones/${validatePathParam('dnsZone', request.dnsZone)}/records`,
5276
- urlParams: urlParams(['id', request.id], ['name', request.name], ['order_by', request.orderBy ?? 'name_asc'], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['project_id', request.projectId ?? this.client.settings.defaultProjectId], ['type', request.type ?? 'unknown'])
5699
+ urlParams: urlParams(['id', request.id], ['name', request.name], ['order_by', request.orderBy ?? 'name_asc'], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['project_id', request.projectId], ['type', request.type ?? 'unknown'])
5277
5700
  }, unmarshalListDNSZoneRecordsResponse);
5278
5701
 
5279
5702
  /**
@@ -5324,7 +5747,7 @@ let API$i = class API extends API$n {
5324
5747
  listDNSZoneNameservers = request => this.client.fetch({
5325
5748
  method: 'GET',
5326
5749
  path: `/domain/v2beta1/dns-zones/${validatePathParam('dnsZone', request.dnsZone)}/nameservers`,
5327
- urlParams: urlParams(['project_id', request.projectId ?? this.client.settings.defaultProjectId])
5750
+ urlParams: urlParams(['project_id', request.projectId])
5328
5751
  }, unmarshalListDNSZoneNameserversResponse);
5329
5752
 
5330
5753
  /**
@@ -5492,7 +5915,7 @@ let API$i = class API extends API$n {
5492
5915
  pageOfListSSLCertificates = request => this.client.fetch({
5493
5916
  method: 'GET',
5494
5917
  path: `/domain/v2beta1/ssl-certificates`,
5495
- urlParams: urlParams(['dns_zone', request.dnsZone], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['project_id', request.projectId ?? this.client.settings.defaultProjectId])
5918
+ urlParams: urlParams(['dns_zone', request.dnsZone], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['project_id', request.projectId])
5496
5919
  }, unmarshalListSSLCertificatesResponse);
5497
5920
 
5498
5921
  /**
@@ -5541,11 +5964,11 @@ let API$i = class API extends API$n {
5541
5964
  *
5542
5965
  * Manage your domains and contacts.
5543
5966
  */
5544
- class RegistrarAPI extends API$n {
5967
+ class RegistrarAPI extends API$o {
5545
5968
  pageOfListTasks = (request = {}) => this.client.fetch({
5546
5969
  method: 'GET',
5547
5970
  path: `/domain/v2beta1/tasks`,
5548
- urlParams: urlParams(['domain', request.domain], ['order_by', request.orderBy ?? 'domain_desc'], ['organization_id', request.organizationId ?? this.client.settings.defaultOrganizationId], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['project_id', request.projectId ?? this.client.settings.defaultProjectId], ['statuses', request.statuses], ['types', request.types])
5971
+ urlParams: urlParams(['domain', request.domain], ['order_by', request.orderBy ?? 'domain_desc'], ['organization_id', request.organizationId], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['project_id', request.projectId], ['statuses', request.statuses], ['types', request.types])
5549
5972
  }, unmarshalListTasksResponse);
5550
5973
 
5551
5974
  /**
@@ -5655,7 +6078,7 @@ class RegistrarAPI extends API$n {
5655
6078
  pageOfListContacts = (request = {}) => this.client.fetch({
5656
6079
  method: 'GET',
5657
6080
  path: `/domain/v2beta1/contacts`,
5658
- urlParams: urlParams(['domain', request.domain], ['organization_id', request.organizationId ?? this.client.settings.defaultOrganizationId], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['project_id', request.projectId ?? this.client.settings.defaultProjectId])
6081
+ urlParams: urlParams(['domain', request.domain], ['organization_id', request.organizationId], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['project_id', request.projectId])
5659
6082
  }, unmarshalListContactsResponse);
5660
6083
 
5661
6084
  /**
@@ -5694,7 +6117,7 @@ class RegistrarAPI extends API$n {
5694
6117
  pageOfListDomains = (request = {}) => this.client.fetch({
5695
6118
  method: 'GET',
5696
6119
  path: `/domain/v2beta1/domains`,
5697
- urlParams: urlParams(['domain', request.domain], ['is_external', request.isExternal], ['order_by', request.orderBy ?? 'domain_asc'], ['organization_id', request.organizationId ?? this.client.settings.defaultOrganizationId], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['project_id', request.projectId ?? this.client.settings.defaultProjectId], ['registrar', request.registrar], ['status', request.status ?? 'status_unknown'])
6120
+ urlParams: urlParams(['domain', request.domain], ['is_external', request.isExternal], ['order_by', request.orderBy ?? 'domain_asc'], ['organization_id', request.organizationId], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['project_id', request.projectId], ['registrar', request.registrar], ['status', request.status ?? 'status_unknown'])
5698
6121
  }, unmarshalListDomainsResponse$2);
5699
6122
 
5700
6123
  /**
@@ -5707,7 +6130,7 @@ class RegistrarAPI extends API$n {
5707
6130
  pageOfListRenewableDomains = (request = {}) => this.client.fetch({
5708
6131
  method: 'GET',
5709
6132
  path: `/domain/v2beta1/renewable-domains`,
5710
- urlParams: urlParams(['order_by', request.orderBy ?? 'domain_asc'], ['organization_id', request.organizationId ?? this.client.settings.defaultOrganizationId], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['project_id', request.projectId ?? this.client.settings.defaultProjectId])
6133
+ urlParams: urlParams(['order_by', request.orderBy ?? 'domain_asc'], ['organization_id', request.organizationId], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['project_id', request.projectId])
5711
6134
  }, unmarshalListRenewableDomainsResponse);
5712
6135
 
5713
6136
  /**
@@ -6065,7 +6488,7 @@ const jsonContentHeaders$f = {
6065
6488
  };
6066
6489
 
6067
6490
  /** Flexible IP API. */
6068
- let API$h = class API extends API$n {
6491
+ let API$h = class API extends API$o {
6069
6492
  /** Lists the available zones of the API. */
6070
6493
  static LOCALITIES = ['fr-par-1', 'fr-par-2', 'nl-ams-1'];
6071
6494
 
@@ -6104,7 +6527,7 @@ let API$h = class API extends API$n {
6104
6527
  pageOfListFlexibleIPs = (request = {}) => this.client.fetch({
6105
6528
  method: 'GET',
6106
6529
  path: `/flexible-ip/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/fips`,
6107
- urlParams: urlParams(['order_by', request.orderBy ?? 'created_at_asc'], ['organization_id', request.organizationId ?? this.client.settings.defaultOrganizationId], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['project_id', request.projectId ?? this.client.settings.defaultProjectId], ['server_ids', request.serverIds], ['status', request.status], ['tags', request.tags])
6530
+ urlParams: urlParams(['order_by', request.orderBy ?? 'created_at_asc'], ['organization_id', request.organizationId], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['project_id', request.projectId], ['server_ids', request.serverIds], ['status', request.status], ['tags', request.tags])
6108
6531
  }, unmarshalListFlexibleIPsResponse);
6109
6532
 
6110
6533
  /**
@@ -6278,6 +6701,8 @@ const unmarshalTriggerMnqNatsClientConfig = data => {
6278
6701
  }
6279
6702
  return {
6280
6703
  mnqNamespaceId: data.mnq_namespace_id,
6704
+ mnqProjectId: data.mnq_project_id,
6705
+ mnqRegion: data.mnq_region,
6281
6706
  subject: data.subject
6282
6707
  };
6283
6708
  };
@@ -6287,6 +6712,8 @@ const unmarshalTriggerMnqSqsClientConfig = data => {
6287
6712
  }
6288
6713
  return {
6289
6714
  mnqNamespaceId: data.mnq_namespace_id,
6715
+ mnqProjectId: data.mnq_project_id,
6716
+ mnqRegion: data.mnq_region,
6290
6717
  queue: data.queue
6291
6718
  };
6292
6719
  };
@@ -6526,10 +6953,14 @@ const unmarshalUploadURL = data => {
6526
6953
  };
6527
6954
  const marshalCreateTriggerRequestMnqNatsClientConfig = (request, defaults) => ({
6528
6955
  mnq_namespace_id: request.mnqNamespaceId,
6956
+ mnq_project_id: request.mnqProjectId,
6957
+ mnq_region: request.mnqRegion,
6529
6958
  subject: request.subject
6530
6959
  });
6531
6960
  const marshalCreateTriggerRequestMnqSqsClientConfig = (request, defaults) => ({
6532
6961
  mnq_namespace_id: request.mnqNamespaceId,
6962
+ mnq_project_id: request.mnqProjectId,
6963
+ mnq_region: request.mnqRegion,
6533
6964
  queue: request.queue
6534
6965
  });
6535
6966
  const marshalCreateTriggerRequestSqsClientConfig = (request, defaults) => ({
@@ -6544,10 +6975,14 @@ const marshalSecret = (request, defaults) => ({
6544
6975
  });
6545
6976
  const marshalUpdateTriggerRequestMnqNatsClientConfig = (request, defaults) => ({
6546
6977
  mnq_namespace_id: request.mnqNamespaceId,
6978
+ mnq_project_id: request.mnqProjectId,
6979
+ mnq_region: request.mnqRegion,
6547
6980
  subject: request.subject
6548
6981
  });
6549
6982
  const marshalUpdateTriggerRequestMnqSqsClientConfig = (request, defaults) => ({
6550
6983
  mnq_namespace_id: request.mnqNamespaceId,
6984
+ mnq_project_id: request.mnqProjectId,
6985
+ mnq_region: request.mnqRegion,
6551
6986
  queue: request.queue
6552
6987
  });
6553
6988
  const marshalUpdateTriggerRequestSqsClientConfig = (request, defaults) => ({
@@ -6664,13 +7099,13 @@ const jsonContentHeaders$e = {
6664
7099
  *
6665
7100
  * Serverless functions API.
6666
7101
  */
6667
- let API$g = class API extends API$n {
7102
+ let API$g = class API extends API$o {
6668
7103
  /** Lists the available regions of the API. */
6669
7104
  static LOCALITIES = ['fr-par', 'nl-ams', 'pl-waw'];
6670
7105
  pageOfListNamespaces = (request = {}) => this.client.fetch({
6671
7106
  method: 'GET',
6672
7107
  path: `/functions/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/namespaces`,
6673
- urlParams: urlParams(['name', request.name], ['order_by', request.orderBy ?? 'created_at_asc'], ['organization_id', request.organizationId ?? this.client.settings.defaultOrganizationId], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['project_id', request.projectId ?? this.client.settings.defaultProjectId])
7108
+ urlParams: urlParams(['name', request.name], ['order_by', request.orderBy ?? 'created_at_asc'], ['organization_id', request.organizationId], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['project_id', request.projectId])
6674
7109
  }, unmarshalListNamespacesResponse$2);
6675
7110
 
6676
7111
  /**
@@ -6740,7 +7175,7 @@ let API$g = class API extends API$n {
6740
7175
  pageOfListFunctions = request => this.client.fetch({
6741
7176
  method: 'GET',
6742
7177
  path: `/functions/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/functions`,
6743
- urlParams: urlParams(['name', request.name], ['namespace_id', request.namespaceId], ['order_by', request.orderBy ?? 'created_at_asc'], ['organization_id', request.organizationId ?? this.client.settings.defaultOrganizationId], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['project_id', request.projectId ?? this.client.settings.defaultProjectId])
7178
+ urlParams: urlParams(['name', request.name], ['namespace_id', request.namespaceId], ['order_by', request.orderBy ?? 'created_at_asc'], ['organization_id', request.organizationId], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['project_id', request.projectId])
6744
7179
  }, unmarshalListFunctionsResponse);
6745
7180
 
6746
7181
  /**
@@ -7459,11 +7894,11 @@ const jsonContentHeaders$d = {
7459
7894
  };
7460
7895
 
7461
7896
  /** IAM API. */
7462
- let API$f = class API extends API$n {
7897
+ let API$f = class API extends API$o {
7463
7898
  pageOfListSSHKeys = (request = {}) => this.client.fetch({
7464
7899
  method: 'GET',
7465
7900
  path: `/iam/v1alpha1/ssh-keys`,
7466
- urlParams: urlParams(['disabled', request.disabled], ['name', request.name], ['order_by', request.orderBy ?? 'created_at_asc'], ['organization_id', request.organizationId ?? this.client.settings.defaultOrganizationId], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['project_id', request.projectId ?? this.client.settings.defaultProjectId])
7901
+ urlParams: urlParams(['disabled', request.disabled], ['name', request.name], ['order_by', request.orderBy ?? 'created_at_asc'], ['organization_id', request.organizationId], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['project_id', request.projectId])
7467
7902
  }, unmarshalListSSHKeysResponse);
7468
7903
 
7469
7904
  /**
@@ -7617,7 +8052,7 @@ let API$f = class API extends API$n {
7617
8052
  pageOfListGroups = (request = {}) => this.client.fetch({
7618
8053
  method: 'GET',
7619
8054
  path: `/iam/v1alpha1/groups`,
7620
- urlParams: urlParams(['application_ids', request.applicationIds], ['group_ids', request.groupIds], ['name', request.name], ['order_by', request.orderBy ?? 'created_at_asc'], ['organization_id', request.organizationId ?? this.client.settings.defaultOrganizationId], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['user_ids', request.userIds])
8055
+ urlParams: urlParams(['application_ids', request.applicationIds], ['group_ids', request.groupIds], ['name', request.name], ['order_by', request.orderBy ?? 'created_at_asc'], ['organization_id', request.organizationId], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['user_ids', request.userIds])
7621
8056
  }, unmarshalListGroupsResponse);
7622
8057
 
7623
8058
  /**
@@ -8229,7 +8664,8 @@ const unmarshalPrivateNIC = data => {
8229
8664
  macAddress: data.mac_address,
8230
8665
  privateNetworkId: data.private_network_id,
8231
8666
  serverId: data.server_id,
8232
- state: data.state
8667
+ state: data.state,
8668
+ tags: data.tags
8233
8669
  };
8234
8670
  };
8235
8671
  const unmarshalSecurityGroupSummary = data => {
@@ -8778,7 +9214,8 @@ const unmarshalListPrivateNICsResponse = data => {
8778
9214
  throw new TypeError(`Unmarshalling the type 'ListPrivateNICsResponse' failed as data isn't a dictionary.`);
8779
9215
  }
8780
9216
  return {
8781
- privateNics: unmarshalArrayOfObject(data.private_nics, unmarshalPrivateNIC)
9217
+ privateNics: unmarshalArrayOfObject(data.private_nics, unmarshalPrivateNIC),
9218
+ totalCount: data.total_count
8782
9219
  };
8783
9220
  };
8784
9221
  const unmarshalListSecurityGroupRulesResponse = data => {
@@ -9047,7 +9484,8 @@ const marshalPrivateNIC = (request, defaults) => ({
9047
9484
  mac_address: request.macAddress,
9048
9485
  private_network_id: request.privateNetworkId,
9049
9486
  server_id: request.serverId,
9050
- state: request.state
9487
+ state: request.state,
9488
+ tags: request.tags
9051
9489
  });
9052
9490
  const marshalSecurityGroupSummary = (request, defaults) => ({
9053
9491
  id: request.id,
@@ -9169,7 +9607,8 @@ const marshalCreatePlacementGroupRequest = (request, defaults) => ({
9169
9607
  }])
9170
9608
  });
9171
9609
  const marshalCreatePrivateNICRequest = (request, defaults) => ({
9172
- private_network_id: request.privateNetworkId
9610
+ private_network_id: request.privateNetworkId,
9611
+ tags: request.tags
9173
9612
  });
9174
9613
  const marshalCreateSecurityGroupRequest = (request, defaults) => ({
9175
9614
  description: request.description,
@@ -9404,6 +9843,9 @@ const marshalUpdatePlacementGroupRequest = (request, defaults) => ({
9404
9843
  const marshalUpdatePlacementGroupServersRequest = (request, defaults) => ({
9405
9844
  servers: request.servers
9406
9845
  });
9846
+ const marshalUpdatePrivateNICRequest = (request, defaults) => ({
9847
+ tags: request.tags
9848
+ });
9407
9849
  const marshalUpdateServerRequest = (request, defaults) => ({
9408
9850
  boot_type: request.bootType,
9409
9851
  bootscript: request.bootscript,
@@ -9432,7 +9874,7 @@ const jsonContentHeaders$c = {
9432
9874
  };
9433
9875
 
9434
9876
  /** Instance API. */
9435
- let API$e = class API extends API$n {
9877
+ let API$e = class API extends API$o {
9436
9878
  /** Lists the available zones of the API. */
9437
9879
  static LOCALITIES = ['fr-par-1', 'fr-par-2', 'fr-par-3', 'nl-ams-1', 'nl-ams-2', 'pl-waw-1', 'pl-waw-2'];
9438
9880
 
@@ -9474,7 +9916,7 @@ let API$e = class API extends API$n {
9474
9916
  pageOfListServers = (request = {}) => this.client.fetch({
9475
9917
  method: 'GET',
9476
9918
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers`,
9477
- urlParams: urlParams(['commercial_type', request.commercialType], ['name', request.name], ['order', request.order], ['organization', request.organization ?? this.client.settings.defaultOrganizationId], ['page', request.page], ['per_page', request.perPage ?? this.client.settings.defaultPageSize], ['private_ip', request.privateIp], ['private_network', request.privateNetwork], ['project', request.project ?? this.client.settings.defaultProjectId], ['state', request.state], ['tags', request.tags && request.tags.length > 0 ? request.tags.join(',') : undefined], ['without_ip', request.withoutIp])
9919
+ urlParams: urlParams(['commercial_type', request.commercialType], ['name', request.name], ['order', request.order], ['organization', request.organization], ['page', request.page], ['per_page', request.perPage ?? this.client.settings.defaultPageSize], ['private_ip', request.privateIp], ['private_network', request.privateNetwork], ['project', request.project], ['state', request.state], ['tags', request.tags && request.tags.length > 0 ? request.tags.join(',') : undefined], ['without_ip', request.withoutIp])
9478
9920
  }, unmarshalListServersResponse);
9479
9921
 
9480
9922
  /**
@@ -9576,7 +10018,7 @@ let API$e = class API extends API$n {
9576
10018
  pageOfListImages = (request = {}) => this.client.fetch({
9577
10019
  method: 'GET',
9578
10020
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/images`,
9579
- urlParams: urlParams(['arch', request.arch], ['name', request.name], ['organization', request.organization ?? this.client.settings.defaultOrganizationId], ['page', request.page], ['per_page', request.perPage ?? this.client.settings.defaultPageSize], ['project', request.project ?? this.client.settings.defaultProjectId], ['public', request.public], ['tags', request.tags])
10021
+ urlParams: urlParams(['arch', request.arch], ['name', request.name], ['organization', request.organization], ['page', request.page], ['per_page', request.perPage ?? this.client.settings.defaultPageSize], ['project', request.project], ['public', request.public], ['tags', request.tags])
9580
10022
  }, unmarshalListImagesResponse$3);
9581
10023
 
9582
10024
  /**
@@ -9629,7 +10071,7 @@ let API$e = class API extends API$n {
9629
10071
  pageOfListSnapshots = (request = {}) => this.client.fetch({
9630
10072
  method: 'GET',
9631
10073
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/snapshots`,
9632
- urlParams: urlParams(['name', request.name], ['organization', request.organization ?? this.client.settings.defaultOrganizationId], ['page', request.page], ['per_page', request.perPage ?? this.client.settings.defaultPageSize], ['project', request.project ?? this.client.settings.defaultProjectId], ['tags', request.tags])
10074
+ urlParams: urlParams(['name', request.name], ['organization', request.organization], ['page', request.page], ['per_page', request.perPage ?? this.client.settings.defaultPageSize], ['project', request.project], ['tags', request.tags])
9633
10075
  }, unmarshalListSnapshotsResponse$1);
9634
10076
 
9635
10077
  /**
@@ -9695,7 +10137,7 @@ let API$e = class API extends API$n {
9695
10137
  pageOfListVolumes = (request = {}) => this.client.fetch({
9696
10138
  method: 'GET',
9697
10139
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/volumes`,
9698
- urlParams: urlParams(['name', request.name], ['organization', request.organization ?? this.client.settings.defaultOrganizationId], ['page', request.page], ['per_page', request.perPage ?? this.client.settings.defaultPageSize], ['project', request.project ?? this.client.settings.defaultProjectId], ['tags', request.tags && request.tags.length > 0 ? request.tags.join(',') : undefined], ['volume_type', request.volumeType])
10140
+ urlParams: urlParams(['name', request.name], ['organization', request.organization], ['page', request.page], ['per_page', request.perPage ?? this.client.settings.defaultPageSize], ['project', request.project], ['tags', request.tags && request.tags.length > 0 ? request.tags.join(',') : undefined], ['volume_type', request.volumeType])
9699
10141
  }, unmarshalListVolumesResponse);
9700
10142
 
9701
10143
  /**
@@ -9757,7 +10199,7 @@ let API$e = class API extends API$n {
9757
10199
  pageOfListSecurityGroups = (request = {}) => this.client.fetch({
9758
10200
  method: 'GET',
9759
10201
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/security_groups`,
9760
- urlParams: urlParams(['name', request.name], ['organization', request.organization ?? this.client.settings.defaultOrganizationId], ['page', request.page], ['per_page', request.perPage ?? this.client.settings.defaultPageSize], ['project', request.project ?? this.client.settings.defaultProjectId], ['project_default', request.projectDefault], ['tags', request.tags && request.tags.length > 0 ? request.tags.join(',') : undefined])
10202
+ urlParams: urlParams(['name', request.name], ['organization', request.organization], ['page', request.page], ['per_page', request.perPage ?? this.client.settings.defaultPageSize], ['project', request.project], ['project_default', request.projectDefault], ['tags', request.tags && request.tags.length > 0 ? request.tags.join(',') : undefined])
9761
10203
  }, unmarshalListSecurityGroupsResponse);
9762
10204
 
9763
10205
  /**
@@ -9889,7 +10331,7 @@ let API$e = class API extends API$n {
9889
10331
  pageOfListPlacementGroups = (request = {}) => this.client.fetch({
9890
10332
  method: 'GET',
9891
10333
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/placement_groups`,
9892
- urlParams: urlParams(['name', request.name], ['organization', request.organization ?? this.client.settings.defaultOrganizationId], ['page', request.page], ['per_page', request.perPage ?? this.client.settings.defaultPageSize], ['project', request.project ?? this.client.settings.defaultProjectId], ['tags', request.tags && request.tags.length > 0 ? request.tags.join(',') : undefined])
10334
+ urlParams: urlParams(['name', request.name], ['organization', request.organization], ['page', request.page], ['per_page', request.perPage ?? this.client.settings.defaultPageSize], ['project', request.project], ['tags', request.tags && request.tags.length > 0 ? request.tags.join(',') : undefined])
9893
10335
  }, unmarshalListPlacementGroupsResponse);
9894
10336
 
9895
10337
  /**
@@ -9999,7 +10441,7 @@ let API$e = class API extends API$n {
9999
10441
  pageOfListIps = (request = {}) => this.client.fetch({
10000
10442
  method: 'GET',
10001
10443
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/ips`,
10002
- urlParams: urlParams(['name', request.name], ['organization', request.organization ?? this.client.settings.defaultOrganizationId], ['page', request.page], ['per_page', request.perPage ?? this.client.settings.defaultPageSize], ['project', request.project ?? this.client.settings.defaultProjectId], ['tags', request.tags && request.tags.length > 0 ? request.tags.join(',') : undefined])
10444
+ urlParams: urlParams(['name', request.name], ['organization', request.organization], ['page', request.page], ['per_page', request.perPage ?? this.client.settings.defaultPageSize], ['project', request.project], ['tags', request.tags && request.tags.length > 0 ? request.tags.join(',') : undefined])
10003
10445
  }, unmarshalListIpsResponse$1);
10004
10446
 
10005
10447
  /**
@@ -10056,6 +10498,11 @@ let API$e = class API extends API$n {
10056
10498
  method: 'DELETE',
10057
10499
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/ips/${validatePathParam('ip', request.ip)}`
10058
10500
  });
10501
+ pageOfListPrivateNICs = request => this.client.fetch({
10502
+ method: 'GET',
10503
+ path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/private_nics`,
10504
+ urlParams: urlParams(['page', request.page], ['per_page', request.perPage ?? this.client.settings.defaultPageSize], ['tags', request.tags && request.tags.length > 0 ? request.tags.join(',') : undefined])
10505
+ }, unmarshalListPrivateNICsResponse);
10059
10506
 
10060
10507
  /**
10061
10508
  * List all private NICs of a given server.
@@ -10063,10 +10510,7 @@ let API$e = class API extends API$n {
10063
10510
  * @param request - The request {@link ListPrivateNICsRequest}
10064
10511
  * @returns A Promise of ListPrivateNICsResponse
10065
10512
  */
10066
- listPrivateNICs = request => this.client.fetch({
10067
- method: 'GET',
10068
- path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/private_nics`
10069
- }, unmarshalListPrivateNICsResponse);
10513
+ listPrivateNICs = request => enrichForPagination('privateNics', this.pageOfListPrivateNICs, request);
10070
10514
 
10071
10515
  /**
10072
10516
  * Create a private NIC connecting a server to a private network.
@@ -10092,6 +10536,19 @@ let API$e = class API extends API$n {
10092
10536
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/private_nics/${validatePathParam('privateNicId', request.privateNicId)}`
10093
10537
  }, unmarshalGetPrivateNICResponse);
10094
10538
 
10539
+ /**
10540
+ * Update one or more parameter/s to a given private NIC.
10541
+ *
10542
+ * @param request - The request {@link UpdatePrivateNICRequest}
10543
+ * @returns A Promise of PrivateNIC
10544
+ */
10545
+ updatePrivateNIC = request => this.client.fetch({
10546
+ body: JSON.stringify(marshalUpdatePrivateNICRequest(request, this.client.settings)),
10547
+ headers: jsonContentHeaders$c,
10548
+ method: 'PATCH',
10549
+ path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/private_nics/${validatePathParam('privateNicId', request.privateNicId)}`
10550
+ }, unmarshalPrivateNIC);
10551
+
10095
10552
  /**
10096
10553
  * Delete a private NIC.
10097
10554
  *
@@ -10130,7 +10587,7 @@ let API$e = class API extends API$n {
10130
10587
  getDashboard = (request = {}) => this.client.fetch({
10131
10588
  method: 'GET',
10132
10589
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/dashboard`,
10133
- urlParams: urlParams(['organization', request.organization ?? this.client.settings.defaultOrganizationId], ['project', request.project ?? this.client.settings.defaultProjectId])
10590
+ urlParams: urlParams(['organization', request.organization], ['project', request.project])
10134
10591
  }, unmarshalGetDashboardResponse);
10135
10592
  };
10136
10593
 
@@ -11047,13 +11504,13 @@ const jsonContentHeaders$b = {
11047
11504
  *
11048
11505
  * This API allows you to manage IoT hubs and devices.
11049
11506
  */
11050
- let API$d = class API extends API$n {
11507
+ let API$d = class API extends API$o {
11051
11508
  /** Lists the available regions of the API. */
11052
11509
  static LOCALITIES = ['fr-par'];
11053
11510
  pageOfListHubs = (request = {}) => this.client.fetch({
11054
11511
  method: 'GET',
11055
11512
  path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/hubs`,
11056
- urlParams: urlParams(['name', request.name], ['order_by', request.orderBy ?? 'name_asc'], ['organization_id', request.organizationId ?? this.client.settings.defaultOrganizationId], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['project_id', request.projectId ?? this.client.settings.defaultProjectId])
11513
+ urlParams: urlParams(['name', request.name], ['order_by', request.orderBy ?? 'name_asc'], ['organization_id', request.organizationId], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['project_id', request.projectId])
11057
11514
  }, unmarshalListHubsResponse);
11058
11515
 
11059
11516
  /**
@@ -11905,13 +12362,13 @@ const jsonContentHeaders$a = {
11905
12362
  };
11906
12363
 
11907
12364
  /** Kapsule API. */
11908
- let API$c = class API extends API$n {
12365
+ let API$c = class API extends API$o {
11909
12366
  /** Lists the available regions of the API. */
11910
12367
  static LOCALITIES = ['fr-par', 'nl-ams', 'pl-waw'];
11911
12368
  pageOfListClusters = (request = {}) => this.client.fetch({
11912
12369
  method: 'GET',
11913
12370
  path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/clusters`,
11914
- urlParams: urlParams(['name', request.name], ['order_by', request.orderBy ?? 'created_at_asc'], ['organization_id', request.organizationId ?? this.client.settings.defaultOrganizationId], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['project_id', request.projectId ?? this.client.settings.defaultProjectId], ['status', request.status ?? 'unknown'], ['type', request.type])
12371
+ urlParams: urlParams(['name', request.name], ['order_by', request.orderBy ?? 'created_at_asc'], ['organization_id', request.organizationId], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['project_id', request.projectId], ['status', request.status ?? 'unknown'], ['type', request.type])
11915
12372
  }, unmarshalListClustersResponse$1);
11916
12373
 
11917
12374
  /**
@@ -13382,13 +13839,13 @@ const jsonContentHeaders$9 = {
13382
13839
  *
13383
13840
  * This API allows you to manage your load balancer service.
13384
13841
  */
13385
- let API$b = class API extends API$n {
13842
+ let API$b = class API extends API$o {
13386
13843
  /** Lists the available regions of the API. */
13387
13844
  static LOCALITIES = ['fr-par', 'nl-ams', 'pl-waw'];
13388
13845
  pageOfListLbs = (request = {}) => this.client.fetch({
13389
13846
  method: 'GET',
13390
13847
  path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/lbs`,
13391
- urlParams: urlParams(['name', request.name], ['order_by', request.orderBy ?? 'created_at_asc'], ['organization_id', request.organizationId ?? this.client.settings.defaultOrganizationId], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['project_id', request.projectId ?? this.client.settings.defaultProjectId])
13848
+ urlParams: urlParams(['name', request.name], ['order_by', request.orderBy ?? 'created_at_asc'], ['organization_id', request.organizationId], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['project_id', request.projectId])
13392
13849
  }, unmarshalListLbsResponse);
13393
13850
 
13394
13851
  /**
@@ -13471,7 +13928,7 @@ let API$b = class API extends API$n {
13471
13928
  pageOfListIPs = (request = {}) => this.client.fetch({
13472
13929
  method: 'GET',
13473
13930
  path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/ips`,
13474
- urlParams: urlParams(['ip_address', request.ipAddress], ['organization_id', request.organizationId ?? this.client.settings.defaultOrganizationId], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['project_id', request.projectId ?? this.client.settings.defaultProjectId])
13931
+ urlParams: urlParams(['ip_address', request.ipAddress], ['organization_id', request.organizationId], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['project_id', request.projectId])
13475
13932
  }, unmarshalListIpsResponse);
13476
13933
 
13477
13934
  /**
@@ -13948,7 +14405,7 @@ let API$b = class API extends API$n {
13948
14405
  pageOfListSubscriber = request => this.client.fetch({
13949
14406
  method: 'GET',
13950
14407
  path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/subscribers`,
13951
- urlParams: urlParams(['name', request.name], ['order_by', request.orderBy ?? 'created_at_asc'], ['organization_id', request.organizationId ?? this.client.settings.defaultOrganizationId], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['project_id', request.projectId ?? this.client.settings.defaultProjectId])
14408
+ urlParams: urlParams(['name', request.name], ['order_by', request.orderBy ?? 'created_at_asc'], ['organization_id', request.organizationId], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['project_id', request.projectId])
13952
14409
  }, unmarshalListSubscriberResponse);
13953
14410
 
13954
14411
  /**
@@ -14050,13 +14507,13 @@ let API$b = class API extends API$n {
14050
14507
  *
14051
14508
  * This API allows you to manage your load balancer service.
14052
14509
  */
14053
- class ZonedAPI extends API$n {
14510
+ class ZonedAPI extends API$o {
14054
14511
  /** Lists the available zones of the API. */
14055
14512
  static LOCALITIES = ['fr-par-1', 'fr-par-2', 'nl-ams-1', 'nl-ams-2', 'pl-waw-1', 'pl-waw-2'];
14056
14513
  pageOfListLbs = (request = {}) => this.client.fetch({
14057
14514
  method: 'GET',
14058
14515
  path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/lbs`,
14059
- urlParams: urlParams(['name', request.name], ['order_by', request.orderBy ?? 'created_at_asc'], ['organization_id', request.organizationId ?? this.client.settings.defaultOrganizationId], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['project_id', request.projectId ?? this.client.settings.defaultProjectId])
14516
+ urlParams: urlParams(['name', request.name], ['order_by', request.orderBy ?? 'created_at_asc'], ['organization_id', request.organizationId], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['project_id', request.projectId])
14060
14517
  }, unmarshalListLbsResponse);
14061
14518
 
14062
14519
  /**
@@ -14139,7 +14596,7 @@ class ZonedAPI extends API$n {
14139
14596
  pageOfListIPs = (request = {}) => this.client.fetch({
14140
14597
  method: 'GET',
14141
14598
  path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/ips`,
14142
- urlParams: urlParams(['ip_address', request.ipAddress], ['organization_id', request.organizationId ?? this.client.settings.defaultOrganizationId], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['project_id', request.projectId ?? this.client.settings.defaultProjectId])
14599
+ urlParams: urlParams(['ip_address', request.ipAddress], ['organization_id', request.organizationId], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['project_id', request.projectId])
14143
14600
  }, unmarshalListIpsResponse);
14144
14601
 
14145
14602
  /**
@@ -14629,7 +15086,7 @@ class ZonedAPI extends API$n {
14629
15086
  pageOfListSubscriber = request => this.client.fetch({
14630
15087
  method: 'GET',
14631
15088
  path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/subscribers`,
14632
- urlParams: urlParams(['name', request.name], ['order_by', request.orderBy ?? 'created_at_asc'], ['organization_id', request.organizationId ?? this.client.settings.defaultOrganizationId], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['project_id', request.projectId ?? this.client.settings.defaultProjectId])
15089
+ urlParams: urlParams(['name', request.name], ['order_by', request.orderBy ?? 'created_at_asc'], ['organization_id', request.organizationId], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['project_id', request.projectId])
14633
15090
  }, unmarshalListSubscriberResponse);
14634
15091
 
14635
15092
  /**
@@ -14906,7 +15363,7 @@ const unmarshalListVersionsResponse$1 = data => {
14906
15363
 
14907
15364
  // This file was automatically generated. DO NOT EDIT.
14908
15365
  /** Marketplace API. */
14909
- let API$a = class API extends API$n {
15366
+ let API$a = class API extends API$o {
14910
15367
  pageOfListImages = (request = {}) => this.client.fetch({
14911
15368
  method: 'GET',
14912
15369
  path: `/marketplace/v1/images`,
@@ -15038,7 +15495,7 @@ const unmarshalListVersionsResponse = data => {
15038
15495
 
15039
15496
  // This file was automatically generated. DO NOT EDIT.
15040
15497
  /** Marketplace API. */
15041
- let API$9 = class API extends API$n {
15498
+ let API$9 = class API extends API$o {
15042
15499
  pageOfListImages = request => this.client.fetch({
15043
15500
  method: 'GET',
15044
15501
  path: `/marketplace/v2/images`,
@@ -15260,13 +15717,13 @@ const jsonContentHeaders$8 = {
15260
15717
  *
15261
15718
  * This API allows you to manage Messaging or Queueing brokers.
15262
15719
  */
15263
- let API$8 = class API extends API$n {
15720
+ let API$8 = class API extends API$o {
15264
15721
  /** Lists the available regions of the API. */
15265
15722
  static LOCALITIES = ['fr-par'];
15266
15723
  pageOfListNamespaces = (request = {}) => this.client.fetch({
15267
15724
  method: 'GET',
15268
15725
  path: `/mnq/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/namespaces`,
15269
- urlParams: urlParams(['order_by', request.orderBy ?? 'created_at_asc'], ['organization_id', request.organizationId ?? this.client.settings.defaultOrganizationId], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['project_id', request.projectId ?? this.client.settings.defaultProjectId])
15726
+ urlParams: urlParams(['order_by', request.orderBy ?? 'created_at_asc'], ['organization_id', request.organizationId], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['project_id', request.projectId])
15270
15727
  }, unmarshalListNamespacesResponse$1);
15271
15728
 
15272
15729
  /**
@@ -15697,6 +16154,7 @@ const unmarshalNodeType$1 = data => {
15697
16154
  beta: data.beta,
15698
16155
  description: data.description,
15699
16156
  disabled: data.disabled,
16157
+ generation: data.generation,
15700
16158
  isBssdCompatible: data.is_bssd_compatible,
15701
16159
  isHaRequired: data.is_ha_required,
15702
16160
  memory: data.memory,
@@ -16086,7 +16544,7 @@ const jsonContentHeaders$7 = {
16086
16544
  };
16087
16545
 
16088
16546
  /** Database RDB API. */
16089
- let API$7 = class API extends API$n {
16547
+ let API$7 = class API extends API$o {
16090
16548
  /** Lists the available regions of the API. */
16091
16549
  static LOCALITIES = ['fr-par', 'nl-ams', 'pl-waw'];
16092
16550
  pageOfListDatabaseEngines = (request = {}) => this.client.fetch({
@@ -16118,7 +16576,7 @@ let API$7 = class API extends API$n {
16118
16576
  pageOfListDatabaseBackups = (request = {}) => this.client.fetch({
16119
16577
  method: 'GET',
16120
16578
  path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/backups`,
16121
- urlParams: urlParams(['instance_id', request.instanceId], ['name', request.name], ['order_by', request.orderBy ?? 'created_at_asc'], ['organization_id', request.organizationId ?? this.client.settings.defaultOrganizationId], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['project_id', request.projectId ?? this.client.settings.defaultProjectId])
16579
+ urlParams: urlParams(['instance_id', request.instanceId], ['name', request.name], ['order_by', request.orderBy ?? 'created_at_asc'], ['organization_id', request.organizationId], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['project_id', request.projectId])
16122
16580
  }, unmarshalListDatabaseBackupsResponse);
16123
16581
 
16124
16582
  /**
@@ -16228,7 +16686,7 @@ let API$7 = class API extends API$n {
16228
16686
  pageOfListInstances = (request = {}) => this.client.fetch({
16229
16687
  method: 'GET',
16230
16688
  path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances`,
16231
- urlParams: urlParams(['name', request.name], ['order_by', request.orderBy ?? 'created_at_asc'], ['organization_id', request.organizationId ?? this.client.settings.defaultOrganizationId], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['project_id', request.projectId ?? this.client.settings.defaultProjectId], ['tags', request.tags])
16689
+ urlParams: urlParams(['name', request.name], ['order_by', request.orderBy ?? 'created_at_asc'], ['organization_id', request.organizationId], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['project_id', request.projectId], ['tags', request.tags])
16232
16690
  }, unmarshalListInstancesResponse);
16233
16691
 
16234
16692
  /**
@@ -16706,7 +17164,7 @@ let API$7 = class API extends API$n {
16706
17164
  pageOfListSnapshots = (request = {}) => this.client.fetch({
16707
17165
  method: 'GET',
16708
17166
  path: `/rdb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/snapshots`,
16709
- urlParams: urlParams(['instance_id', request.instanceId], ['name', request.name], ['order_by', request.orderBy ?? 'created_at_asc'], ['organization_id', request.organizationId ?? this.client.settings.defaultOrganizationId], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['project_id', request.projectId ?? this.client.settings.defaultProjectId])
17167
+ urlParams: urlParams(['instance_id', request.instanceId], ['name', request.name], ['order_by', request.orderBy ?? 'created_at_asc'], ['organization_id', request.organizationId], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['project_id', request.projectId])
16710
17168
  }, unmarshalListSnapshotsResponse);
16711
17169
 
16712
17170
  /**
@@ -17125,7 +17583,7 @@ const jsonContentHeaders$6 = {
17125
17583
  };
17126
17584
 
17127
17585
  /** Managed Database for Redis™ API. */
17128
- let API$6 = class API extends API$n {
17586
+ let API$6 = class API extends API$o {
17129
17587
  /** Lists the available zones of the API. */
17130
17588
  static LOCALITIES = ['fr-par-1', 'fr-par-2', 'nl-ams-1', 'nl-ams-2', 'pl-waw-1', 'pl-waw-2'];
17131
17589
 
@@ -17177,7 +17635,7 @@ let API$6 = class API extends API$n {
17177
17635
  pageOfListClusters = (request = {}) => this.client.fetch({
17178
17636
  method: 'GET',
17179
17637
  path: `/redis/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/clusters`,
17180
- urlParams: urlParams(['name', request.name], ['order_by', request.orderBy ?? 'created_at_asc'], ['organization_id', request.organizationId ?? this.client.settings.defaultOrganizationId], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['project_id', request.projectId ?? this.client.settings.defaultProjectId], ['tags', request.tags], ['version', request.version])
17638
+ urlParams: urlParams(['name', request.name], ['order_by', request.orderBy ?? 'created_at_asc'], ['organization_id', request.organizationId], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['project_id', request.projectId], ['tags', request.tags], ['version', request.version])
17181
17639
  }, unmarshalListClustersResponse);
17182
17640
 
17183
17641
  /**
@@ -17556,13 +18014,13 @@ const jsonContentHeaders$5 = {
17556
18014
  *
17557
18015
  * Container registry API.
17558
18016
  */
17559
- let API$5 = class API extends API$n {
18017
+ let API$5 = class API extends API$o {
17560
18018
  /** Lists the available regions of the API. */
17561
18019
  static LOCALITIES = ['fr-par', 'nl-ams', 'pl-waw'];
17562
18020
  pageOfListNamespaces = (request = {}) => this.client.fetch({
17563
18021
  method: 'GET',
17564
18022
  path: `/registry/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/namespaces`,
17565
- urlParams: urlParams(['name', request.name], ['order_by', request.orderBy ?? 'created_at_asc'], ['organization_id', request.organizationId ?? this.client.settings.defaultOrganizationId], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['project_id', request.projectId ?? this.client.settings.defaultProjectId])
18023
+ urlParams: urlParams(['name', request.name], ['order_by', request.orderBy ?? 'created_at_asc'], ['organization_id', request.organizationId], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['project_id', request.projectId])
17566
18024
  }, unmarshalListNamespacesResponse);
17567
18025
 
17568
18026
  /**
@@ -17632,7 +18090,7 @@ let API$5 = class API extends API$n {
17632
18090
  pageOfListImages = (request = {}) => this.client.fetch({
17633
18091
  method: 'GET',
17634
18092
  path: `/registry/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/images`,
17635
- urlParams: urlParams(['name', request.name], ['namespace_id', request.namespaceId], ['order_by', request.orderBy ?? 'created_at_asc'], ['organization_id', request.organizationId ?? this.client.settings.defaultOrganizationId], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['project_id', request.projectId ?? this.client.settings.defaultProjectId])
18093
+ urlParams: urlParams(['name', request.name], ['namespace_id', request.namespaceId], ['order_by', request.orderBy ?? 'created_at_asc'], ['organization_id', request.organizationId], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['project_id', request.projectId])
17636
18094
  }, unmarshalListImagesResponse);
17637
18095
 
17638
18096
  /**
@@ -17836,7 +18294,7 @@ const jsonContentHeaders$4 = {
17836
18294
  *
17837
18295
  * This API allows you to conveniently store, access and share sensitive data.
17838
18296
  */
17839
- let API$4 = class API extends API$n {
18297
+ let API$4 = class API extends API$o {
17840
18298
  /** Lists the available regions of the API. */
17841
18299
  static LOCALITIES = ['fr-par'];
17842
18300
 
@@ -17859,13 +18317,20 @@ let API$4 = class API extends API$n {
17859
18317
  * @param request - The request {@link GetSecretRequest}
17860
18318
  * @returns A Promise of Secret
17861
18319
  */
17862
- getSecret = (request = {}) => this.client.fetch({
18320
+ getSecret = request => this.client.fetch({
17863
18321
  method: 'GET',
17864
- path: `/secret-manager/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/secrets/${validatePathParam('secretId', request.secretId)}`,
17865
- urlParams: urlParams(...Object.entries(resolveOneOf([{
17866
- param: 'secret_name',
17867
- value: request.secretName
17868
- }])))
18322
+ path: `/secret-manager/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/secrets/${validatePathParam('secretId', request.secretId)}`
18323
+ }, unmarshalSecret);
18324
+
18325
+ /**
18326
+ * Get metadata of a Secret
18327
+ *
18328
+ * @param request - The request {@link GetSecretByNameRequest}
18329
+ * @returns A Promise of Secret
18330
+ */
18331
+ getSecretByName = request => this.client.fetch({
18332
+ method: 'GET',
18333
+ path: `/secret-manager/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/secrets-by-name/${validatePathParam('secretName', request.secretName)}`
17869
18334
  }, unmarshalSecret);
17870
18335
 
17871
18336
  /**
@@ -17883,7 +18348,7 @@ let API$4 = class API extends API$n {
17883
18348
  pageOfListSecrets = (request = {}) => this.client.fetch({
17884
18349
  method: 'GET',
17885
18350
  path: `/secret-manager/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/secrets`,
17886
- urlParams: urlParams(['name', request.name], ['order_by', request.orderBy ?? 'name_asc'], ['organization_id', request.organizationId ?? this.client.settings.defaultOrganizationId], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['project_id', request.projectId ?? this.client.settings.defaultProjectId], ['tags', request.tags])
18351
+ urlParams: urlParams(['name', request.name], ['order_by', request.orderBy ?? 'name_asc'], ['organization_id', request.organizationId], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['project_id', request.projectId], ['tags', request.tags])
17887
18352
  }, unmarshalListSecretsResponse);
17888
18353
 
17889
18354
  /**
@@ -17925,11 +18390,18 @@ let API$4 = class API extends API$n {
17925
18390
  */
17926
18391
  getSecretVersion = request => this.client.fetch({
17927
18392
  method: 'GET',
17928
- path: `/secret-manager/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/secrets/${validatePathParam('secretId', request.secretId)}/versions/${validatePathParam('revision', request.revision)}`,
17929
- urlParams: urlParams(...Object.entries(resolveOneOf([{
17930
- param: 'secret_name',
17931
- value: request.secretName
17932
- }])))
18393
+ path: `/secret-manager/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/secrets/${validatePathParam('secretId', request.secretId)}/versions/${validatePathParam('revision', request.revision)}`
18394
+ }, unmarshalSecretVersion);
18395
+
18396
+ /**
18397
+ * Get metadata of a SecretVersion
18398
+ *
18399
+ * @param request - The request {@link GetSecretVersionByNameRequest}
18400
+ * @returns A Promise of SecretVersion
18401
+ */
18402
+ getSecretVersionByName = request => this.client.fetch({
18403
+ method: 'GET',
18404
+ path: `/secret-manager/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/secrets-by-name/${validatePathParam('secretName', request.secretName)}/versions/${validatePathParam('revision', request.revision)}`
17933
18405
  }, unmarshalSecretVersion);
17934
18406
 
17935
18407
  /**
@@ -17944,13 +18416,10 @@ let API$4 = class API extends API$n {
17944
18416
  method: 'PATCH',
17945
18417
  path: `/secret-manager/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/secrets/${validatePathParam('secretId', request.secretId)}/versions/${validatePathParam('revision', request.revision)}`
17946
18418
  }, unmarshalSecretVersion);
17947
- pageOfListSecretVersions = (request = {}) => this.client.fetch({
18419
+ pageOfListSecretVersions = request => this.client.fetch({
17948
18420
  method: 'GET',
17949
18421
  path: `/secret-manager/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/secrets/${validatePathParam('secretId', request.secretId)}/versions`,
17950
- urlParams: urlParams(['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['status', request.status], ...Object.entries(resolveOneOf([{
17951
- param: 'secret_name',
17952
- value: request.secretName
17953
- }])))
18422
+ urlParams: urlParams(['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['status', request.status])
17954
18423
  }, unmarshalListSecretVersionsResponse);
17955
18424
 
17956
18425
  /**
@@ -17959,7 +18428,20 @@ let API$4 = class API extends API$n {
17959
18428
  * @param request - The request {@link ListSecretVersionsRequest}
17960
18429
  * @returns A Promise of ListSecretVersionsResponse
17961
18430
  */
17962
- listSecretVersions = (request = {}) => enrichForPagination('versions', this.pageOfListSecretVersions, request);
18431
+ listSecretVersions = request => enrichForPagination('versions', this.pageOfListSecretVersions, request);
18432
+ pageOfListSecretVersionsByName = request => this.client.fetch({
18433
+ method: 'GET',
18434
+ path: `/secret-manager/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/secrets-by-name/${validatePathParam('secretName', request.secretName)}/versions`,
18435
+ urlParams: urlParams(['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['status', request.status])
18436
+ }, unmarshalListSecretVersionsResponse);
18437
+
18438
+ /**
18439
+ * List versions of a secret, not returning any sensitive data
18440
+ *
18441
+ * @param request - The request {@link ListSecretVersionsByNameRequest}
18442
+ * @returns A Promise of ListSecretVersionsResponse
18443
+ */
18444
+ listSecretVersionsByName = request => enrichForPagination('versions', this.pageOfListSecretVersionsByName, request);
17963
18445
 
17964
18446
  /**
17965
18447
  * Destroy a SecretVersion, permanently destroying the sensitive data
@@ -18008,11 +18490,18 @@ let API$4 = class API extends API$n {
18008
18490
  */
18009
18491
  accessSecretVersion = request => this.client.fetch({
18010
18492
  method: 'GET',
18011
- path: `/secret-manager/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/secrets/${validatePathParam('secretId', request.secretId)}/versions/${validatePathParam('revision', request.revision)}/access`,
18012
- urlParams: urlParams(...Object.entries(resolveOneOf([{
18013
- param: 'secret_name',
18014
- value: request.secretName
18015
- }])))
18493
+ path: `/secret-manager/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/secrets/${validatePathParam('secretId', request.secretId)}/versions/${validatePathParam('revision', request.revision)}/access`
18494
+ }, unmarshalAccessSecretVersionResponse);
18495
+
18496
+ /**
18497
+ * Access a SecretVersion, returning the sensitive data
18498
+ *
18499
+ * @param request - The request {@link AccessSecretVersionByNameRequest}
18500
+ * @returns A Promise of AccessSecretVersionResponse
18501
+ */
18502
+ accessSecretVersionByName = request => this.client.fetch({
18503
+ method: 'GET',
18504
+ path: `/secret-manager/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/secrets-by-name/${validatePathParam('secretName', request.secretName)}/versions/${validatePathParam('revision', request.revision)}/access`
18016
18505
  }, unmarshalAccessSecretVersionResponse);
18017
18506
  };
18018
18507
 
@@ -18129,7 +18618,7 @@ const jsonContentHeaders$3 = {
18129
18618
  * access-key. Then, you can use other test commands by setting the
18130
18619
  * SCW_SECRET_KEY env variable.
18131
18620
  */
18132
- let API$3 = class API extends API$n {
18621
+ let API$3 = class API extends API$o {
18133
18622
  /**
18134
18623
  * Register a human and return a access-key and a secret-key that must be used
18135
18624
  * in all other commands.
@@ -18149,7 +18638,7 @@ let API$3 = class API extends API$n {
18149
18638
  pageOfListHumans = (request = {}) => this.client.fetch({
18150
18639
  method: 'GET',
18151
18640
  path: `/test/v1/humans`,
18152
- urlParams: urlParams(['order_by', request.orderBy ?? 'created_at_asc'], ['organization_id', request.organizationId ?? this.client.settings.defaultOrganizationId], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['project_id', request.projectId ?? this.client.settings.defaultProjectId])
18641
+ urlParams: urlParams(['order_by', request.orderBy ?? 'created_at_asc'], ['organization_id', request.organizationId], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['project_id', request.projectId])
18153
18642
  }, unmarshalListHumansResponse);
18154
18643
 
18155
18644
  /**
@@ -18405,7 +18894,7 @@ const jsonContentHeaders$2 = {
18405
18894
  *
18406
18895
  * Tem.
18407
18896
  */
18408
- let API$2 = class API extends API$n {
18897
+ let API$2 = class API extends API$o {
18409
18898
  /** Lists the available regions of the API. */
18410
18899
  static LOCALITIES = ['fr-par'];
18411
18900
 
@@ -18444,7 +18933,7 @@ let API$2 = class API extends API$n {
18444
18933
  pageOfListEmails = (request = {}) => this.client.fetch({
18445
18934
  method: 'GET',
18446
18935
  path: `/transactional-email/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/emails`,
18447
- urlParams: urlParams(['domain_id', request.domainId], ['mail_from', request.mailFrom], ['mail_to', request.mailTo], ['message_id', request.messageId], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['project_id', request.projectId ?? this.client.settings.defaultProjectId], ['since', request.since], ['statuses', request.statuses], ['until', request.until])
18936
+ urlParams: urlParams(['domain_id', request.domainId], ['mail_from', request.mailFrom], ['mail_to', request.mailTo], ['message_id', request.messageId], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['project_id', request.projectId], ['since', request.since], ['statuses', request.statuses], ['until', request.until])
18448
18937
  }, unmarshalListEmailsResponse);
18449
18938
 
18450
18939
  /**
@@ -18465,7 +18954,7 @@ let API$2 = class API extends API$n {
18465
18954
  getStatistics = (request = {}) => this.client.fetch({
18466
18955
  method: 'GET',
18467
18956
  path: `/transactional-email/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/statistics`,
18468
- urlParams: urlParams(['domain_id', request.domainId], ['mail_from', request.mailFrom], ['project_id', request.projectId ?? this.client.settings.defaultProjectId], ['since', request.since], ['until', request.until])
18957
+ urlParams: urlParams(['domain_id', request.domainId], ['mail_from', request.mailFrom], ['project_id', request.projectId], ['since', request.since], ['until', request.until])
18469
18958
  }, unmarshalStatistics);
18470
18959
 
18471
18960
  /**
@@ -18516,7 +19005,7 @@ let API$2 = class API extends API$n {
18516
19005
  pageOfListDomains = (request = {}) => this.client.fetch({
18517
19006
  method: 'GET',
18518
19007
  path: `/transactional-email/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/domains`,
18519
- urlParams: urlParams(['name', request.name], ['organization_id', request.organizationId ?? this.client.settings.defaultOrganizationId], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['project_id', request.projectId ?? this.client.settings.defaultProjectId], ['status', request.status])
19008
+ urlParams: urlParams(['name', request.name], ['organization_id', request.organizationId], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['project_id', request.projectId], ['status', request.status])
18520
19009
  }, unmarshalListDomainsResponse);
18521
19010
 
18522
19011
  /**
@@ -18612,13 +19101,13 @@ const jsonContentHeaders$1 = {
18612
19101
  };
18613
19102
 
18614
19103
  /** VPC API. */
18615
- let API$1 = class API extends API$n {
19104
+ let API$1 = class API extends API$o {
18616
19105
  /** Lists the available zones of the API. */
18617
19106
  static LOCALITIES = ['fr-par-1', 'fr-par-2', 'fr-par-3', 'nl-ams-1', 'nl-ams-2', 'pl-waw-1', 'pl-waw-2'];
18618
19107
  pageOfListPrivateNetworks = (request = {}) => this.client.fetch({
18619
19108
  method: 'GET',
18620
19109
  path: `/vpc/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/private-networks`,
18621
- urlParams: urlParams(['name', request.name], ['order_by', request.orderBy ?? 'created_at_asc'], ['organization_id', request.organizationId ?? this.client.settings.defaultOrganizationId], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['private_network_ids', request.privateNetworkIds], ['project_id', request.projectId ?? this.client.settings.defaultProjectId], ['tags', request.tags])
19110
+ urlParams: urlParams(['name', request.name], ['order_by', request.orderBy ?? 'created_at_asc'], ['organization_id', request.organizationId], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['private_network_ids', request.privateNetworkIds], ['project_id', request.projectId], ['tags', request.tags])
18622
19111
  }, unmarshalListPrivateNetworksResponse);
18623
19112
 
18624
19113
  /**
@@ -19035,13 +19524,13 @@ const jsonContentHeaders = {
19035
19524
  };
19036
19525
 
19037
19526
  /** VPC Public Gateway API. */
19038
- class API extends API$n {
19527
+ class API extends API$o {
19039
19528
  /** Lists the available zones of the API. */
19040
19529
  static LOCALITIES = ['fr-par-1', 'fr-par-2', 'nl-ams-1', 'nl-ams-2', 'pl-waw-1', 'pl-waw-2'];
19041
19530
  pageOfListGateways = (request = {}) => this.client.fetch({
19042
19531
  method: 'GET',
19043
19532
  path: `/vpc-gw/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/gateways`,
19044
- urlParams: urlParams(['name', request.name], ['order_by', request.orderBy ?? 'created_at_asc'], ['organization_id', request.organizationId ?? this.client.settings.defaultOrganizationId], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['private_network_id', request.privateNetworkId], ['project_id', request.projectId ?? this.client.settings.defaultProjectId], ['status', request.status ?? 'unknown'], ['tags', request.tags], ['type', request.type])
19533
+ urlParams: urlParams(['name', request.name], ['order_by', request.orderBy ?? 'created_at_asc'], ['organization_id', request.organizationId], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['private_network_id', request.privateNetworkId], ['project_id', request.projectId], ['status', request.status ?? 'unknown'], ['tags', request.tags], ['type', request.type])
19045
19534
  }, unmarshalListGatewaysResponse);
19046
19535
 
19047
19536
  /**
@@ -19194,7 +19683,7 @@ class API extends API$n {
19194
19683
  pageOfListDHCPs = (request = {}) => this.client.fetch({
19195
19684
  method: 'GET',
19196
19685
  path: `/vpc-gw/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/dhcps`,
19197
- urlParams: urlParams(['address', request.address], ['has_address', request.hasAddress], ['order_by', request.orderBy ?? 'created_at_asc'], ['organization_id', request.organizationId ?? this.client.settings.defaultOrganizationId], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['project_id', request.projectId ?? this.client.settings.defaultProjectId])
19686
+ urlParams: urlParams(['address', request.address], ['has_address', request.hasAddress], ['order_by', request.orderBy ?? 'created_at_asc'], ['organization_id', request.organizationId], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['project_id', request.projectId])
19198
19687
  }, unmarshalListDHCPsResponse);
19199
19688
 
19200
19689
  /**
@@ -19416,7 +19905,7 @@ class API extends API$n {
19416
19905
  pageOfListIPs = (request = {}) => this.client.fetch({
19417
19906
  method: 'GET',
19418
19907
  path: `/vpc-gw/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/ips`,
19419
- urlParams: urlParams(['is_free', request.isFree], ['order_by', request.orderBy ?? 'created_at_asc'], ['organization_id', request.organizationId ?? this.client.settings.defaultOrganizationId], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['project_id', request.projectId ?? this.client.settings.defaultProjectId], ['reverse', request.reverse], ['tags', request.tags])
19908
+ urlParams: urlParams(['is_free', request.isFree], ['order_by', request.orderBy ?? 'created_at_asc'], ['organization_id', request.organizationId], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['project_id', request.projectId], ['reverse', request.reverse], ['tags', request.tags])
19420
19909
  }, unmarshalListIPsResponse);
19421
19910
 
19422
19911
  /**
@@ -19502,13 +19991,14 @@ var index = /*#__PURE__*/Object.freeze({
19502
19991
  v1: index_gen
19503
19992
  });
19504
19993
 
19505
- exports.API = API$n;
19506
- exports.Account = index$o;
19507
- exports.AppleSilicon = index$n;
19508
- exports.BareMetal = index$l;
19994
+ exports.API = API$o;
19995
+ exports.Account = index$p;
19996
+ exports.AppleSilicon = index$o;
19997
+ exports.BareMetal = index$m;
19998
+ exports.Cockpit = index$l;
19509
19999
  exports.Container = index$k;
19510
20000
  exports.Domain = index$j;
19511
- exports.Errors = index$q;
20001
+ exports.Errors = index$r;
19512
20002
  exports.FlexibleIP = index$i;
19513
20003
  exports.Function = index$h;
19514
20004
  exports.IAM = index$g;