@scaleway/sdk 1.14.0 → 1.15.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 (49) hide show
  1. package/dist/api/account/v2/api.gen.js +77 -60
  2. package/dist/api/applesilicon/v1alpha1/api.gen.js +174 -152
  3. package/dist/api/baremetal/v1/api.gen.js +434 -378
  4. package/dist/api/baremetal/v1/api.utils.js +19 -22
  5. package/dist/api/billing/v2alpha1/api.gen.js +21 -17
  6. package/dist/api/cockpit/v1beta1/api.gen.js +308 -232
  7. package/dist/api/container/v1beta1/api.gen.js +384 -337
  8. package/dist/api/domain/v2beta1/api.gen.js +754 -668
  9. package/dist/api/flexibleip/v1alpha1/api.gen.js +164 -151
  10. package/dist/api/function/v1beta1/api.gen.js +467 -407
  11. package/dist/api/iam/v1alpha1/api.gen.js +641 -557
  12. package/dist/api/instance/v1/api.gen.js +802 -677
  13. package/dist/api/instance/v1/api.utils.js +337 -325
  14. package/dist/api/instance/v1/marshalling.gen.js +2 -1
  15. package/dist/api/iot/v1/api.gen.js +508 -452
  16. package/dist/api/ipfs/index.js +2 -0
  17. package/dist/api/ipfs/v1alpha1/api.gen.js +197 -0
  18. package/dist/api/ipfs/v1alpha1/content.gen.js +7 -0
  19. package/dist/api/ipfs/v1alpha1/index.gen.js +5 -0
  20. package/dist/api/ipfs/v1alpha1/marshalling.gen.js +125 -0
  21. package/dist/api/k8s/v1/api.gen.js +403 -342
  22. package/dist/api/k8s/v1/api.utils.js +7 -10
  23. package/dist/api/k8s/v1/marshalling.gen.js +19 -1
  24. package/dist/api/k8s/v1/validation-rules.gen.js +10 -1
  25. package/dist/api/lb/v1/api.gen.js +1501 -1363
  26. package/dist/api/lb/v1/api.utils.js +71 -75
  27. package/dist/api/lb/v1/marshalling.gen.js +6 -0
  28. package/dist/api/marketplace/v1/api.gen.js +35 -32
  29. package/dist/api/marketplace/v2/api.gen.js +117 -102
  30. package/dist/api/mnq/v1alpha1/api.gen.js +154 -137
  31. package/dist/api/rdb/v1/api.gen.js +897 -819
  32. package/dist/api/redis/v1/api.gen.js +358 -333
  33. package/dist/api/registry/v1/api.gen.js +211 -189
  34. package/dist/api/secret/v1alpha1/api.gen.js +265 -245
  35. package/dist/api/tem/v1alpha1/api.gen.js +182 -147
  36. package/dist/api/tem/v1alpha1/marshalling.gen.js +32 -1
  37. package/dist/api/test/v1/api.gen.js +116 -104
  38. package/dist/api/vpc/v1/api.gen.js +74 -65
  39. package/dist/api/vpc/v2/api.gen.js +200 -178
  40. package/dist/api/vpc/v2/marshalling.gen.js +1 -0
  41. package/dist/api/vpcgw/v1/api.gen.js +575 -501
  42. package/dist/api/webhosting/v1alpha1/api.gen.js +127 -117
  43. package/dist/index.cjs +732 -311
  44. package/dist/index.d.ts +2040 -1540
  45. package/dist/index.js +28 -26
  46. package/dist/internal/logger/console-logger.js +4 -5
  47. package/dist/scw/constants.js +1 -1
  48. package/dist/scw/errors/scw-error.js +2 -2
  49. package/package.json +2 -2
package/dist/index.cjs CHANGED
@@ -497,7 +497,7 @@ const assertValidSettings = obj => {
497
497
  }
498
498
  };
499
499
 
500
- const version = 'v1.13.0';
500
+ const version = 'v1.14.0';
501
501
  const userAgent = `scaleway-sdk-js/${version}`;
502
502
 
503
503
  const isBrowser = () => typeof window !== 'undefined' && typeof window.document !== 'undefined';
@@ -1577,7 +1577,7 @@ const createAdvancedClient = (...configs) => {
1577
1577
  */
1578
1578
  const createClient = (profile = {}) => createAdvancedClient(withProfile(profile));
1579
1579
 
1580
- var index$t = /*#__PURE__*/Object.freeze({
1580
+ var index$u = /*#__PURE__*/Object.freeze({
1581
1581
  __proto__: null,
1582
1582
  AlreadyExistsError: AlreadyExistsError,
1583
1583
  DeniedAuthenticationError: DeniedAuthenticationError,
@@ -1705,7 +1705,7 @@ const waitForResource = (stop, fetcher, request, options, strategy = createExpon
1705
1705
  *
1706
1706
  * @internal
1707
1707
  */
1708
- let API$r = class API {
1708
+ let API$s = class API {
1709
1709
  constructor(client) {
1710
1710
  this.client = client;
1711
1711
  }
@@ -2067,7 +2067,7 @@ const marshalUpdateProjectRequest = (request, defaults) => ({
2067
2067
 
2068
2068
  // This file was automatically generated. DO NOT EDIT.
2069
2069
  // If you have any remark or suggestion do not hesitate to open an issue.
2070
- const jsonContentHeaders$n = {
2070
+ const jsonContentHeaders$o = {
2071
2071
  'Content-Type': 'application/json; charset=utf-8'
2072
2072
  };
2073
2073
 
@@ -2076,7 +2076,7 @@ const jsonContentHeaders$n = {
2076
2076
  *
2077
2077
  * User related data. This API allows you to manage projects.
2078
2078
  */
2079
- let API$q = class API extends API$r {
2079
+ let API$r = class API extends API$s {
2080
2080
  /**
2081
2081
  * Create a new Project for an Organization. Generate a new Project for an
2082
2082
  * Organization, specifying its configuration including name and description.
@@ -2086,7 +2086,7 @@ let API$q = class API extends API$r {
2086
2086
  */
2087
2087
  createProject = (request = {}) => this.client.fetch({
2088
2088
  body: JSON.stringify(marshalCreateProjectRequest(request, this.client.settings)),
2089
- headers: jsonContentHeaders$n,
2089
+ headers: jsonContentHeaders$o,
2090
2090
  method: 'POST',
2091
2091
  path: `/account/v2/projects`
2092
2092
  }, unmarshalProject);
@@ -2142,7 +2142,7 @@ let API$q = class API extends API$r {
2142
2142
  */
2143
2143
  updateProject = (request = {}) => this.client.fetch({
2144
2144
  body: JSON.stringify(marshalUpdateProjectRequest(request, this.client.settings)),
2145
- headers: jsonContentHeaders$n,
2145
+ headers: jsonContentHeaders$o,
2146
2146
  method: 'PATCH',
2147
2147
  path: `/account/v2/projects/${validatePathParam('projectId', request.projectId ?? this.client.settings.defaultProjectId)}`
2148
2148
  }, unmarshalProject);
@@ -2151,14 +2151,14 @@ let API$q = class API extends API$r {
2151
2151
  // This file was automatically generated. DO NOT EDIT.
2152
2152
  // If you have any remark or suggestion do not hesitate to open an issue.
2153
2153
 
2154
- var index_gen$m = /*#__PURE__*/Object.freeze({
2154
+ var index_gen$n = /*#__PURE__*/Object.freeze({
2155
2155
  __proto__: null,
2156
- API: API$q
2156
+ API: API$r
2157
2157
  });
2158
2158
 
2159
- var index$s = /*#__PURE__*/Object.freeze({
2159
+ var index$t = /*#__PURE__*/Object.freeze({
2160
2160
  __proto__: null,
2161
- v2: index_gen$m
2161
+ v2: index_gen$n
2162
2162
  });
2163
2163
 
2164
2164
  // This file was automatically generated. DO NOT EDIT.
@@ -2277,12 +2277,12 @@ const marshalUpdateServerRequest$2 = (request, defaults) => ({
2277
2277
 
2278
2278
  // This file was automatically generated. DO NOT EDIT.
2279
2279
  // If you have any remark or suggestion do not hesitate to open an issue.
2280
- const jsonContentHeaders$m = {
2280
+ const jsonContentHeaders$n = {
2281
2281
  'Content-Type': 'application/json; charset=utf-8'
2282
2282
  };
2283
2283
 
2284
2284
  /** Apple silicon API. */
2285
- let API$p = class API extends API$r {
2285
+ let API$q = class API extends API$s {
2286
2286
  /** Lists the available zones of the API. */
2287
2287
  static LOCALITIES = ['fr-par-3'];
2288
2288
 
@@ -2320,7 +2320,7 @@ let API$p = class API extends API$r {
2320
2320
  */
2321
2321
  createServer = request => this.client.fetch({
2322
2322
  body: JSON.stringify(marshalCreateServerRequest$2(request, this.client.settings)),
2323
- headers: jsonContentHeaders$m,
2323
+ headers: jsonContentHeaders$n,
2324
2324
  method: 'POST',
2325
2325
  path: `/apple-silicon/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers`
2326
2326
  }, unmarshalServer$2);
@@ -2398,7 +2398,7 @@ let API$p = class API extends API$r {
2398
2398
  */
2399
2399
  updateServer = request => this.client.fetch({
2400
2400
  body: JSON.stringify(marshalUpdateServerRequest$2(request, this.client.settings)),
2401
- headers: jsonContentHeaders$m,
2401
+ headers: jsonContentHeaders$n,
2402
2402
  method: 'PATCH',
2403
2403
  path: `/apple-silicon/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}`
2404
2404
  }, unmarshalServer$2);
@@ -2425,7 +2425,7 @@ let API$p = class API extends API$r {
2425
2425
  */
2426
2426
  rebootServer = request => this.client.fetch({
2427
2427
  body: '{}',
2428
- headers: jsonContentHeaders$m,
2428
+ headers: jsonContentHeaders$n,
2429
2429
  method: 'POST',
2430
2430
  path: `/apple-silicon/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/reboot`
2431
2431
  }, unmarshalServer$2);
@@ -2441,7 +2441,7 @@ let API$p = class API extends API$r {
2441
2441
  */
2442
2442
  reinstallServer = request => this.client.fetch({
2443
2443
  body: '{}',
2444
- headers: jsonContentHeaders$m,
2444
+ headers: jsonContentHeaders$n,
2445
2445
  method: 'POST',
2446
2446
  path: `/apple-silicon/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/reinstall`
2447
2447
  }, unmarshalServer$2);
@@ -2450,15 +2450,15 @@ let API$p = class API extends API$r {
2450
2450
  // This file was automatically generated. DO NOT EDIT.
2451
2451
  // If you have any remark or suggestion do not hesitate to open an issue.
2452
2452
 
2453
- var index_gen$l = /*#__PURE__*/Object.freeze({
2453
+ var index_gen$m = /*#__PURE__*/Object.freeze({
2454
2454
  __proto__: null,
2455
- API: API$p,
2455
+ API: API$q,
2456
2456
  SERVER_TRANSIENT_STATUSES: SERVER_TRANSIENT_STATUSES$2
2457
2457
  });
2458
2458
 
2459
- var index$r = /*#__PURE__*/Object.freeze({
2459
+ var index$s = /*#__PURE__*/Object.freeze({
2460
2460
  __proto__: null,
2461
- v1alpha1: index_gen$l
2461
+ v1alpha1: index_gen$m
2462
2462
  });
2463
2463
 
2464
2464
  // This file was automatically generated. DO NOT EDIT.
@@ -2876,7 +2876,7 @@ const marshalUpdateSettingRequest = (request, defaults) => ({
2876
2876
 
2877
2877
  // This file was automatically generated. DO NOT EDIT.
2878
2878
  // If you have any remark or suggestion do not hesitate to open an issue.
2879
- const jsonContentHeaders$l = {
2879
+ const jsonContentHeaders$m = {
2880
2880
  'Content-Type': 'application/json; charset=utf-8'
2881
2881
  };
2882
2882
 
@@ -2885,7 +2885,7 @@ const jsonContentHeaders$l = {
2885
2885
  *
2886
2886
  * This API allows to manage your Elastic Metal server. Elastic Metal API.
2887
2887
  */
2888
- let API$o = class API extends API$r {
2888
+ let API$p = class API extends API$s {
2889
2889
  /** Lists the available zones of the API. */
2890
2890
  static LOCALITIES = ['fr-par-1', 'fr-par-2', 'nl-ams-1'];
2891
2891
  pageOfListServers = (request = {}) => this.client.fetch({
@@ -2933,7 +2933,7 @@ let API$o = class API extends API$r {
2933
2933
  */
2934
2934
  createServer = request => this.client.fetch({
2935
2935
  body: JSON.stringify(marshalCreateServerRequest$1(request, this.client.settings)),
2936
- headers: jsonContentHeaders$l,
2936
+ headers: jsonContentHeaders$m,
2937
2937
  method: 'POST',
2938
2938
  path: `/baremetal/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers`
2939
2939
  }, unmarshalServer$1);
@@ -2948,7 +2948,7 @@ let API$o = class API extends API$r {
2948
2948
  */
2949
2949
  updateServer = request => this.client.fetch({
2950
2950
  body: JSON.stringify(marshalUpdateServerRequest$1(request, this.client.settings)),
2951
- headers: jsonContentHeaders$l,
2951
+ headers: jsonContentHeaders$m,
2952
2952
  method: 'PATCH',
2953
2953
  path: `/baremetal/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}`
2954
2954
  }, unmarshalServer$1);
@@ -2962,7 +2962,7 @@ let API$o = class API extends API$r {
2962
2962
  */
2963
2963
  installServer = request => this.client.fetch({
2964
2964
  body: JSON.stringify(marshalInstallServerRequest(request, this.client.settings)),
2965
- headers: jsonContentHeaders$l,
2965
+ headers: jsonContentHeaders$m,
2966
2966
  method: 'POST',
2967
2967
  path: `/baremetal/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/install`
2968
2968
  }, unmarshalServer$1);
@@ -3000,7 +3000,7 @@ let API$o = class API extends API$r {
3000
3000
  */
3001
3001
  rebootServer = request => this.client.fetch({
3002
3002
  body: JSON.stringify(marshalRebootServerRequest(request, this.client.settings)),
3003
- headers: jsonContentHeaders$l,
3003
+ headers: jsonContentHeaders$m,
3004
3004
  method: 'POST',
3005
3005
  path: `/baremetal/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/reboot`
3006
3006
  }, unmarshalServer$1);
@@ -3013,7 +3013,7 @@ let API$o = class API extends API$r {
3013
3013
  */
3014
3014
  startServer = request => this.client.fetch({
3015
3015
  body: JSON.stringify(marshalStartServerRequest(request, this.client.settings)),
3016
- headers: jsonContentHeaders$l,
3016
+ headers: jsonContentHeaders$m,
3017
3017
  method: 'POST',
3018
3018
  path: `/baremetal/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/start`
3019
3019
  }, unmarshalServer$1);
@@ -3028,7 +3028,7 @@ let API$o = class API extends API$r {
3028
3028
  */
3029
3029
  stopServer = request => this.client.fetch({
3030
3030
  body: '{}',
3031
- headers: jsonContentHeaders$l,
3031
+ headers: jsonContentHeaders$m,
3032
3032
  method: 'POST',
3033
3033
  path: `/baremetal/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/stop`
3034
3034
  }, unmarshalServer$1);
@@ -3066,7 +3066,7 @@ let API$o = class API extends API$r {
3066
3066
  */
3067
3067
  startBMCAccess = request => this.client.fetch({
3068
3068
  body: JSON.stringify(marshalStartBMCAccessRequest(request, this.client.settings)),
3069
- headers: jsonContentHeaders$l,
3069
+ headers: jsonContentHeaders$m,
3070
3070
  method: 'POST',
3071
3071
  path: `/baremetal/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/bmc-access`
3072
3072
  }, unmarshalBMCAccess);
@@ -3104,7 +3104,7 @@ let API$o = class API extends API$r {
3104
3104
  */
3105
3105
  updateIP = request => this.client.fetch({
3106
3106
  body: JSON.stringify(marshalUpdateIPRequest$1(request, this.client.settings)),
3107
- headers: jsonContentHeaders$l,
3107
+ headers: jsonContentHeaders$m,
3108
3108
  method: 'PATCH',
3109
3109
  path: `/baremetal/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/ips/${validatePathParam('ipId', request.ipId)}`
3110
3110
  }, unmarshalIP$1);
@@ -3118,7 +3118,7 @@ let API$o = class API extends API$r {
3118
3118
  */
3119
3119
  addOptionServer = request => this.client.fetch({
3120
3120
  body: JSON.stringify(marshalAddOptionServerRequest(request, this.client.settings)),
3121
- headers: jsonContentHeaders$l,
3121
+ headers: jsonContentHeaders$m,
3122
3122
  method: 'POST',
3123
3123
  path: `/baremetal/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/options/${validatePathParam('optionId', request.optionId)}`
3124
3124
  }, unmarshalServer$1);
@@ -3203,7 +3203,7 @@ let API$o = class API extends API$r {
3203
3203
  */
3204
3204
  updateSetting = request => this.client.fetch({
3205
3205
  body: JSON.stringify(marshalUpdateSettingRequest(request, this.client.settings)),
3206
- headers: jsonContentHeaders$l,
3206
+ headers: jsonContentHeaders$m,
3207
3207
  method: 'PATCH',
3208
3208
  path: `/baremetal/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/settings/${validatePathParam('settingId', request.settingId)}`
3209
3209
  }, unmarshalSetting);
@@ -3235,7 +3235,7 @@ let API$o = class API extends API$r {
3235
3235
  };
3236
3236
 
3237
3237
  /** Elastic Metal Private Network API. */
3238
- class PrivateNetworkAPI extends API$r {
3238
+ class PrivateNetworkAPI extends API$s {
3239
3239
  /** Lists the available zones of the API. */
3240
3240
  static LOCALITIES = ['fr-par-2'];
3241
3241
 
@@ -3248,7 +3248,7 @@ class PrivateNetworkAPI extends API$r {
3248
3248
  */
3249
3249
  addServerPrivateNetwork = request => this.client.fetch({
3250
3250
  body: JSON.stringify(marshalPrivateNetworkApiAddServerPrivateNetworkRequest(request, this.client.settings)),
3251
- headers: jsonContentHeaders$l,
3251
+ headers: jsonContentHeaders$m,
3252
3252
  method: 'POST',
3253
3253
  path: `/baremetal/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/private-networks`
3254
3254
  }, unmarshalServerPrivateNetwork);
@@ -3262,7 +3262,7 @@ class PrivateNetworkAPI extends API$r {
3262
3262
  */
3263
3263
  setServerPrivateNetworks = request => this.client.fetch({
3264
3264
  body: JSON.stringify(marshalPrivateNetworkApiSetServerPrivateNetworksRequest(request, this.client.settings)),
3265
- headers: jsonContentHeaders$l,
3265
+ headers: jsonContentHeaders$m,
3266
3266
  method: 'PUT',
3267
3267
  path: `/baremetal/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/private-networks`
3268
3268
  }, unmarshalSetServerPrivateNetworksResponse);
@@ -3293,7 +3293,7 @@ class PrivateNetworkAPI extends API$r {
3293
3293
  });
3294
3294
  }
3295
3295
 
3296
- class BaremetalV1UtilsAPI extends API$o {
3296
+ class BaremetalV1UtilsAPI extends API$p {
3297
3297
  /**
3298
3298
  * Waits for {@link ServerInstall} to be in a final state.
3299
3299
  *
@@ -3437,7 +3437,7 @@ var validationRules_gen$4 = /*#__PURE__*/Object.freeze({
3437
3437
  UpdateServerRequest: UpdateServerRequest
3438
3438
  });
3439
3439
 
3440
- var index$q = /*#__PURE__*/Object.freeze({
3440
+ var index$r = /*#__PURE__*/Object.freeze({
3441
3441
  __proto__: null,
3442
3442
  API: BaremetalV1UtilsAPI,
3443
3443
  PrivateNetworkAPI: PrivateNetworkAPI,
@@ -3447,9 +3447,9 @@ var index$q = /*#__PURE__*/Object.freeze({
3447
3447
  ValidationRules: validationRules_gen$4
3448
3448
  });
3449
3449
 
3450
- var index$p = /*#__PURE__*/Object.freeze({
3450
+ var index$q = /*#__PURE__*/Object.freeze({
3451
3451
  __proto__: null,
3452
- v1: index$q
3452
+ v1: index$r
3453
3453
  });
3454
3454
 
3455
3455
  // This file was automatically generated. DO NOT EDIT.
@@ -3507,7 +3507,7 @@ const unmarshalListInvoicesResponse = data => {
3507
3507
  *
3508
3508
  * This API allows you to query your consumption. Billing API.
3509
3509
  */
3510
- let API$n = class API extends API$r {
3510
+ let API$o = class API extends API$s {
3511
3511
  getConsumption = (request = {}) => this.client.fetch({
3512
3512
  method: 'GET',
3513
3513
  path: `/billing/v2alpha1/consumption`,
@@ -3530,14 +3530,14 @@ let API$n = class API extends API$r {
3530
3530
  // This file was automatically generated. DO NOT EDIT.
3531
3531
  // If you have any remark or suggestion do not hesitate to open an issue.
3532
3532
 
3533
- var index_gen$k = /*#__PURE__*/Object.freeze({
3533
+ var index_gen$l = /*#__PURE__*/Object.freeze({
3534
3534
  __proto__: null,
3535
- API: API$n
3535
+ API: API$o
3536
3536
  });
3537
3537
 
3538
- var index$o = /*#__PURE__*/Object.freeze({
3538
+ var index$p = /*#__PURE__*/Object.freeze({
3539
3539
  __proto__: null,
3540
- v2alpha1: index_gen$k
3540
+ v2alpha1: index_gen$l
3541
3541
  });
3542
3542
 
3543
3543
  // This file was automatically generated. DO NOT EDIT.
@@ -3761,7 +3761,7 @@ const marshalTriggerTestAlertRequest = (request, defaults) => ({
3761
3761
 
3762
3762
  // This file was automatically generated. DO NOT EDIT.
3763
3763
  // If you have any remark or suggestion do not hesitate to open an issue.
3764
- const jsonContentHeaders$k = {
3764
+ const jsonContentHeaders$l = {
3765
3765
  'Content-Type': 'application/json; charset=utf-8'
3766
3766
  };
3767
3767
 
@@ -3772,7 +3772,7 @@ const jsonContentHeaders$k = {
3772
3772
  * Projects. Scaleway's Cockpit stores metrics and logs and provides a dedicated
3773
3773
  * Grafana for dashboarding to visualize them.
3774
3774
  */
3775
- let API$m = class API extends API$r {
3775
+ let API$n = class API extends API$s {
3776
3776
  /**
3777
3777
  * Activate a Cockpit. Activate the Cockpit of the specified Project ID.
3778
3778
  *
@@ -3781,7 +3781,7 @@ let API$m = class API extends API$r {
3781
3781
  */
3782
3782
  activateCockpit = (request = {}) => this.client.fetch({
3783
3783
  body: JSON.stringify(marshalActivateCockpitRequest(request, this.client.settings)),
3784
- headers: jsonContentHeaders$k,
3784
+ headers: jsonContentHeaders$l,
3785
3785
  method: 'POST',
3786
3786
  path: `/cockpit/v1beta1/activate`
3787
3787
  }, unmarshalCockpit);
@@ -3828,7 +3828,7 @@ let API$m = class API extends API$r {
3828
3828
  */
3829
3829
  deactivateCockpit = (request = {}) => this.client.fetch({
3830
3830
  body: JSON.stringify(marshalDeactivateCockpitRequest(request, this.client.settings)),
3831
- headers: jsonContentHeaders$k,
3831
+ headers: jsonContentHeaders$l,
3832
3832
  method: 'POST',
3833
3833
  path: `/cockpit/v1beta1/deactivate`
3834
3834
  }, unmarshalCockpit);
@@ -3842,7 +3842,7 @@ let API$m = class API extends API$r {
3842
3842
  */
3843
3843
  resetCockpitGrafana = (request = {}) => this.client.fetch({
3844
3844
  body: JSON.stringify(marshalResetCockpitGrafanaRequest(request, this.client.settings)),
3845
- headers: jsonContentHeaders$k,
3845
+ headers: jsonContentHeaders$l,
3846
3846
  method: 'POST',
3847
3847
  path: `/cockpit/v1beta1/reset-grafana`
3848
3848
  }, unmarshalCockpit);
@@ -3855,7 +3855,7 @@ let API$m = class API extends API$r {
3855
3855
  */
3856
3856
  createToken = (request = {}) => this.client.fetch({
3857
3857
  body: JSON.stringify(marshalCreateTokenRequest$2(request, this.client.settings)),
3858
- headers: jsonContentHeaders$k,
3858
+ headers: jsonContentHeaders$l,
3859
3859
  method: 'POST',
3860
3860
  path: `/cockpit/v1beta1/tokens`
3861
3861
  }, unmarshalToken$2);
@@ -3903,7 +3903,7 @@ let API$m = class API extends API$r {
3903
3903
  */
3904
3904
  createContactPoint = (request = {}) => this.client.fetch({
3905
3905
  body: JSON.stringify(marshalCreateContactPointRequest(request, this.client.settings)),
3906
- headers: jsonContentHeaders$k,
3906
+ headers: jsonContentHeaders$l,
3907
3907
  method: 'POST',
3908
3908
  path: `/cockpit/v1beta1/contact-points`
3909
3909
  }, unmarshalContactPoint);
@@ -3930,7 +3930,7 @@ let API$m = class API extends API$r {
3930
3930
  */
3931
3931
  deleteContactPoint = (request = {}) => this.client.fetch({
3932
3932
  body: JSON.stringify(marshalDeleteContactPointRequest(request, this.client.settings)),
3933
- headers: jsonContentHeaders$k,
3933
+ headers: jsonContentHeaders$l,
3934
3934
  method: 'POST',
3935
3935
  path: `/cockpit/v1beta1/delete-contact-point`
3936
3936
  });
@@ -3943,7 +3943,7 @@ let API$m = class API extends API$r {
3943
3943
  */
3944
3944
  enableManagedAlerts = (request = {}) => this.client.fetch({
3945
3945
  body: JSON.stringify(marshalEnableManagedAlertsRequest(request, this.client.settings)),
3946
- headers: jsonContentHeaders$k,
3946
+ headers: jsonContentHeaders$l,
3947
3947
  method: 'POST',
3948
3948
  path: `/cockpit/v1beta1/enable-managed-alerts`
3949
3949
  });
@@ -3956,7 +3956,7 @@ let API$m = class API extends API$r {
3956
3956
  */
3957
3957
  disableManagedAlerts = (request = {}) => this.client.fetch({
3958
3958
  body: JSON.stringify(marshalDisableManagedAlertsRequest(request, this.client.settings)),
3959
- headers: jsonContentHeaders$k,
3959
+ headers: jsonContentHeaders$l,
3960
3960
  method: 'POST',
3961
3961
  path: `/cockpit/v1beta1/disable-managed-alerts`
3962
3962
  });
@@ -3969,7 +3969,7 @@ let API$m = class API extends API$r {
3969
3969
  */
3970
3970
  triggerTestAlert = (request = {}) => this.client.fetch({
3971
3971
  body: JSON.stringify(marshalTriggerTestAlertRequest(request, this.client.settings)),
3972
- headers: jsonContentHeaders$k,
3972
+ headers: jsonContentHeaders$l,
3973
3973
  method: 'POST',
3974
3974
  path: `/cockpit/v1beta1/trigger-test-alert`
3975
3975
  });
@@ -3984,7 +3984,7 @@ let API$m = class API extends API$r {
3984
3984
  */
3985
3985
  createGrafanaUser = request => this.client.fetch({
3986
3986
  body: JSON.stringify(marshalCreateGrafanaUserRequest(request, this.client.settings)),
3987
- headers: jsonContentHeaders$k,
3987
+ headers: jsonContentHeaders$l,
3988
3988
  method: 'POST',
3989
3989
  path: `/cockpit/v1beta1/grafana-users`
3990
3990
  }, unmarshalGrafanaUser);
@@ -4011,7 +4011,7 @@ let API$m = class API extends API$r {
4011
4011
  */
4012
4012
  deleteGrafanaUser = request => this.client.fetch({
4013
4013
  body: JSON.stringify(marshalDeleteGrafanaUserRequest(request, this.client.settings)),
4014
- headers: jsonContentHeaders$k,
4014
+ headers: jsonContentHeaders$l,
4015
4015
  method: 'POST',
4016
4016
  path: `/cockpit/v1beta1/grafana-users/${validatePathParam('grafanaUserId', request.grafanaUserId)}/delete`
4017
4017
  });
@@ -4025,7 +4025,7 @@ let API$m = class API extends API$r {
4025
4025
  */
4026
4026
  resetGrafanaUserPassword = request => this.client.fetch({
4027
4027
  body: JSON.stringify(marshalResetGrafanaUserPasswordRequest(request, this.client.settings)),
4028
- headers: jsonContentHeaders$k,
4028
+ headers: jsonContentHeaders$l,
4029
4029
  method: 'POST',
4030
4030
  path: `/cockpit/v1beta1/grafana-users/${validatePathParam('grafanaUserId', request.grafanaUserId)}/reset-password`
4031
4031
  }, unmarshalGrafanaUser);
@@ -4053,7 +4053,7 @@ let API$m = class API extends API$r {
4053
4053
  */
4054
4054
  selectPlan = request => this.client.fetch({
4055
4055
  body: JSON.stringify(marshalSelectPlanRequest(request, this.client.settings)),
4056
- headers: jsonContentHeaders$k,
4056
+ headers: jsonContentHeaders$l,
4057
4057
  method: 'POST',
4058
4058
  path: `/cockpit/v1beta1/select-plan`
4059
4059
  }, unmarshalSelectPlanResponse);
@@ -4062,15 +4062,15 @@ let API$m = class API extends API$r {
4062
4062
  // This file was automatically generated. DO NOT EDIT.
4063
4063
  // If you have any remark or suggestion do not hesitate to open an issue.
4064
4064
 
4065
- var index_gen$j = /*#__PURE__*/Object.freeze({
4065
+ var index_gen$k = /*#__PURE__*/Object.freeze({
4066
4066
  __proto__: null,
4067
- API: API$m,
4067
+ API: API$n,
4068
4068
  COCKPIT_TRANSIENT_STATUSES: COCKPIT_TRANSIENT_STATUSES
4069
4069
  });
4070
4070
 
4071
- var index$n = /*#__PURE__*/Object.freeze({
4071
+ var index$o = /*#__PURE__*/Object.freeze({
4072
4072
  __proto__: null,
4073
- v1beta1: index_gen$j
4073
+ v1beta1: index_gen$k
4074
4074
  });
4075
4075
 
4076
4076
  // This file was automatically generated. DO NOT EDIT.
@@ -4338,12 +4338,12 @@ const marshalUpdateNamespaceRequest$3 = (request, defaults) => ({
4338
4338
 
4339
4339
  // This file was automatically generated. DO NOT EDIT.
4340
4340
  // If you have any remark or suggestion do not hesitate to open an issue.
4341
- const jsonContentHeaders$j = {
4341
+ const jsonContentHeaders$k = {
4342
4342
  'Content-Type': 'application/json; charset=utf-8'
4343
4343
  };
4344
4344
 
4345
4345
  /** Serverless Containers API. */
4346
- let API$l = class API extends API$r {
4346
+ let API$m = class API extends API$s {
4347
4347
  /** Lists the available regions of the API. */
4348
4348
  static LOCALITIES = ['fr-par', 'nl-ams', 'pl-waw'];
4349
4349
  pageOfListNamespaces = (request = {}) => this.client.fetch({
@@ -4388,7 +4388,7 @@ let API$l = class API extends API$r {
4388
4388
  */
4389
4389
  createNamespace = (request = {}) => this.client.fetch({
4390
4390
  body: JSON.stringify(marshalCreateNamespaceRequest$3(request, this.client.settings)),
4391
- headers: jsonContentHeaders$j,
4391
+ headers: jsonContentHeaders$k,
4392
4392
  method: 'POST',
4393
4393
  path: `/containers/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/namespaces`
4394
4394
  }, unmarshalNamespace$3);
@@ -4402,7 +4402,7 @@ let API$l = class API extends API$r {
4402
4402
  */
4403
4403
  updateNamespace = request => this.client.fetch({
4404
4404
  body: JSON.stringify(marshalUpdateNamespaceRequest$3(request, this.client.settings)),
4405
- headers: jsonContentHeaders$j,
4405
+ headers: jsonContentHeaders$k,
4406
4406
  method: 'PATCH',
4407
4407
  path: `/containers/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/namespaces/${validatePathParam('namespaceId', request.namespaceId)}`
4408
4408
  }, unmarshalNamespace$3);
@@ -4460,7 +4460,7 @@ let API$l = class API extends API$r {
4460
4460
  */
4461
4461
  createContainer = request => this.client.fetch({
4462
4462
  body: JSON.stringify(marshalCreateContainerRequest(request, this.client.settings)),
4463
- headers: jsonContentHeaders$j,
4463
+ headers: jsonContentHeaders$k,
4464
4464
  method: 'POST',
4465
4465
  path: `/containers/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/containers`
4466
4466
  }, unmarshalContainer);
@@ -4474,7 +4474,7 @@ let API$l = class API extends API$r {
4474
4474
  */
4475
4475
  updateContainer = request => this.client.fetch({
4476
4476
  body: JSON.stringify(marshalUpdateContainerRequest(request, this.client.settings)),
4477
- headers: jsonContentHeaders$j,
4477
+ headers: jsonContentHeaders$k,
4478
4478
  method: 'PATCH',
4479
4479
  path: `/containers/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/containers/${validatePathParam('containerId', request.containerId)}`
4480
4480
  }, unmarshalContainer);
@@ -4498,7 +4498,7 @@ let API$l = class API extends API$r {
4498
4498
  */
4499
4499
  deployContainer = request => this.client.fetch({
4500
4500
  body: '{}',
4501
- headers: jsonContentHeaders$j,
4501
+ headers: jsonContentHeaders$k,
4502
4502
  method: 'POST',
4503
4503
  path: `/containers/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/containers/${validatePathParam('containerId', request.containerId)}/deploy`
4504
4504
  }, unmarshalContainer);
@@ -4544,7 +4544,7 @@ let API$l = class API extends API$r {
4544
4544
  */
4545
4545
  createCron = request => this.client.fetch({
4546
4546
  body: JSON.stringify(marshalCreateCronRequest$1(request, this.client.settings)),
4547
- headers: jsonContentHeaders$j,
4547
+ headers: jsonContentHeaders$k,
4548
4548
  method: 'POST',
4549
4549
  path: `/containers/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/crons`
4550
4550
  }, unmarshalCron$1);
@@ -4557,7 +4557,7 @@ let API$l = class API extends API$r {
4557
4557
  */
4558
4558
  updateCron = request => this.client.fetch({
4559
4559
  body: JSON.stringify(marshalUpdateCronRequest$1(request, this.client.settings)),
4560
- headers: jsonContentHeaders$j,
4560
+ headers: jsonContentHeaders$k,
4561
4561
  method: 'PATCH',
4562
4562
  path: `/containers/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/crons/${validatePathParam('cronId', request.cronId)}`
4563
4563
  }, unmarshalCron$1);
@@ -4631,7 +4631,7 @@ let API$l = class API extends API$r {
4631
4631
  */
4632
4632
  createDomain = request => this.client.fetch({
4633
4633
  body: JSON.stringify(marshalCreateDomainRequest$2(request, this.client.settings)),
4634
- headers: jsonContentHeaders$j,
4634
+ headers: jsonContentHeaders$k,
4635
4635
  method: 'POST',
4636
4636
  path: `/containers/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/domains`
4637
4637
  }, unmarshalDomain$3);
@@ -4673,7 +4673,7 @@ let API$l = class API extends API$r {
4673
4673
  */
4674
4674
  createToken = (request = {}) => this.client.fetch({
4675
4675
  body: JSON.stringify(marshalCreateTokenRequest$1(request, this.client.settings)),
4676
- headers: jsonContentHeaders$j,
4676
+ headers: jsonContentHeaders$k,
4677
4677
  method: 'POST',
4678
4678
  path: `/containers/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/tokens`
4679
4679
  }, unmarshalToken$1);
@@ -4727,9 +4727,9 @@ let API$l = class API extends API$r {
4727
4727
  // This file was automatically generated. DO NOT EDIT.
4728
4728
  // If you have any remark or suggestion do not hesitate to open an issue.
4729
4729
 
4730
- var index_gen$i = /*#__PURE__*/Object.freeze({
4730
+ var index_gen$j = /*#__PURE__*/Object.freeze({
4731
4731
  __proto__: null,
4732
- API: API$l,
4732
+ API: API$m,
4733
4733
  CONTAINER_TRANSIENT_STATUSES: CONTAINER_TRANSIENT_STATUSES,
4734
4734
  CRON_TRANSIENT_STATUSES: CRON_TRANSIENT_STATUSES$1,
4735
4735
  DOMAIN_TRANSIENT_STATUSES: DOMAIN_TRANSIENT_STATUSES$3,
@@ -4737,9 +4737,9 @@ var index_gen$i = /*#__PURE__*/Object.freeze({
4737
4737
  TOKEN_TRANSIENT_STATUSES: TOKEN_TRANSIENT_STATUSES$1
4738
4738
  });
4739
4739
 
4740
- var index$m = /*#__PURE__*/Object.freeze({
4740
+ var index$n = /*#__PURE__*/Object.freeze({
4741
4741
  __proto__: null,
4742
- v1beta1: index_gen$i
4742
+ v1beta1: index_gen$j
4743
4743
  });
4744
4744
 
4745
4745
  // This file was automatically generated. DO NOT EDIT.
@@ -5929,7 +5929,7 @@ const marshalUpdateDNSZoneRequest = (request, defaults) => ({
5929
5929
 
5930
5930
  // This file was automatically generated. DO NOT EDIT.
5931
5931
  // If you have any remark or suggestion do not hesitate to open an issue.
5932
- const jsonContentHeaders$i = {
5932
+ const jsonContentHeaders$j = {
5933
5933
  'Content-Type': 'application/json; charset=utf-8'
5934
5934
  };
5935
5935
 
@@ -5939,7 +5939,7 @@ const jsonContentHeaders$i = {
5939
5939
  * Domains and DNS API. Manage your domains, DNS zones and records with the
5940
5940
  * Domains and DNS API.
5941
5941
  */
5942
- let API$k = class API extends API$r {
5942
+ let API$l = class API extends API$s {
5943
5943
  pageOfListDNSZones = request => this.client.fetch({
5944
5944
  method: 'GET',
5945
5945
  path: `/domain/v2beta1/dns-zones`,
@@ -5964,7 +5964,7 @@ let API$k = class API extends API$r {
5964
5964
  */
5965
5965
  createDNSZone = request => this.client.fetch({
5966
5966
  body: JSON.stringify(marshalCreateDNSZoneRequest(request, this.client.settings)),
5967
- headers: jsonContentHeaders$i,
5967
+ headers: jsonContentHeaders$j,
5968
5968
  method: 'POST',
5969
5969
  path: `/domain/v2beta1/dns-zones`
5970
5970
  }, unmarshalDNSZone);
@@ -5977,7 +5977,7 @@ let API$k = class API extends API$r {
5977
5977
  */
5978
5978
  updateDNSZone = request => this.client.fetch({
5979
5979
  body: JSON.stringify(marshalUpdateDNSZoneRequest(request, this.client.settings)),
5980
- headers: jsonContentHeaders$i,
5980
+ headers: jsonContentHeaders$j,
5981
5981
  method: 'PATCH',
5982
5982
  path: `/domain/v2beta1/dns-zones/${validatePathParam('dnsZone', request.dnsZone)}`
5983
5983
  }, unmarshalDNSZone);
@@ -5991,7 +5991,7 @@ let API$k = class API extends API$r {
5991
5991
  */
5992
5992
  cloneDNSZone = request => this.client.fetch({
5993
5993
  body: JSON.stringify(marshalCloneDNSZoneRequest(request, this.client.settings)),
5994
- headers: jsonContentHeaders$i,
5994
+ headers: jsonContentHeaders$j,
5995
5995
  method: 'POST',
5996
5996
  path: `/domain/v2beta1/dns-zones/${validatePathParam('dnsZone', request.dnsZone)}/clone`
5997
5997
  }, unmarshalDNSZone);
@@ -6044,7 +6044,7 @@ let API$k = class API extends API$r {
6044
6044
  */
6045
6045
  updateDNSZoneRecords = request => this.client.fetch({
6046
6046
  body: JSON.stringify(marshalUpdateDNSZoneRecordsRequest(request, this.client.settings)),
6047
- headers: jsonContentHeaders$i,
6047
+ headers: jsonContentHeaders$j,
6048
6048
  method: 'PATCH',
6049
6049
  path: `/domain/v2beta1/dns-zones/${validatePathParam('dnsZone', request.dnsZone)}/records`
6050
6050
  }, unmarshalUpdateDNSZoneRecordsResponse);
@@ -6071,7 +6071,7 @@ let API$k = class API extends API$r {
6071
6071
  */
6072
6072
  updateDNSZoneNameservers = request => this.client.fetch({
6073
6073
  body: JSON.stringify(marshalUpdateDNSZoneNameserversRequest(request, this.client.settings)),
6074
- headers: jsonContentHeaders$i,
6074
+ headers: jsonContentHeaders$j,
6075
6075
  method: 'PUT',
6076
6076
  path: `/domain/v2beta1/dns-zones/${validatePathParam('dnsZone', request.dnsZone)}/nameservers`
6077
6077
  }, unmarshalUpdateDNSZoneNameserversResponse);
@@ -6111,7 +6111,7 @@ let API$k = class API extends API$r {
6111
6111
  */
6112
6112
  importRawDNSZone = request => this.client.fetch({
6113
6113
  body: JSON.stringify(marshalImportRawDNSZoneRequest(request, this.client.settings)),
6114
- headers: jsonContentHeaders$i,
6114
+ headers: jsonContentHeaders$j,
6115
6115
  method: 'POST',
6116
6116
  path: `/domain/v2beta1/dns-zones/${validatePathParam('dnsZone', request.dnsZone)}/raw`
6117
6117
  }, unmarshalImportRawDNSZoneResponse);
@@ -6125,7 +6125,7 @@ let API$k = class API extends API$r {
6125
6125
  */
6126
6126
  importProviderDNSZone = request => this.client.fetch({
6127
6127
  body: JSON.stringify(marshalImportProviderDNSZoneRequest(request, this.client.settings)),
6128
- headers: jsonContentHeaders$i,
6128
+ headers: jsonContentHeaders$j,
6129
6129
  method: 'POST',
6130
6130
  path: `/domain/v2beta1/dns-zones/${validatePathParam('dnsZone', request.dnsZone)}/import-provider`
6131
6131
  }, unmarshalImportProviderDNSZoneResponse);
@@ -6140,7 +6140,7 @@ let API$k = class API extends API$r {
6140
6140
  */
6141
6141
  refreshDNSZone = request => this.client.fetch({
6142
6142
  body: JSON.stringify(marshalRefreshDNSZoneRequest(request, this.client.settings)),
6143
- headers: jsonContentHeaders$i,
6143
+ headers: jsonContentHeaders$j,
6144
6144
  method: 'POST',
6145
6145
  path: `/domain/v2beta1/dns-zones/${validatePathParam('dnsZone', request.dnsZone)}/refresh`
6146
6146
  }, unmarshalRefreshDNSZoneResponse);
@@ -6195,7 +6195,7 @@ let API$k = class API extends API$r {
6195
6195
  */
6196
6196
  restoreDNSZoneVersion = request => this.client.fetch({
6197
6197
  body: '{}',
6198
- headers: jsonContentHeaders$i,
6198
+ headers: jsonContentHeaders$j,
6199
6199
  method: 'POST',
6200
6200
  path: `/domain/v2beta1/dns-zones/version/${validatePathParam('dnsZoneVersionId', request.dnsZoneVersionId)}/restore`
6201
6201
  }, unmarshalRestoreDNSZoneVersionResponse);
@@ -6230,7 +6230,7 @@ let API$k = class API extends API$r {
6230
6230
  */
6231
6231
  createSSLCertificate = request => this.client.fetch({
6232
6232
  body: JSON.stringify(marshalCreateSSLCertificateRequest(request, this.client.settings)),
6233
- headers: jsonContentHeaders$i,
6233
+ headers: jsonContentHeaders$j,
6234
6234
  method: 'POST',
6235
6235
  path: `/domain/v2beta1/ssl-certificates`
6236
6236
  }, unmarshalSSLCertificate);
@@ -6291,7 +6291,7 @@ let API$k = class API extends API$r {
6291
6291
  *
6292
6292
  * Domains and DNS - Registrar API. Manage your domains and contacts.
6293
6293
  */
6294
- class RegistrarAPI extends API$r {
6294
+ class RegistrarAPI extends API$s {
6295
6295
  pageOfListTasks = (request = {}) => this.client.fetch({
6296
6296
  method: 'GET',
6297
6297
  path: `/domain/v2beta1/tasks`,
@@ -6299,7 +6299,8 @@ class RegistrarAPI extends API$r {
6299
6299
  }, unmarshalListTasksResponse);
6300
6300
 
6301
6301
  /**
6302
- * List tasks. List all account tasks. You can filter the list by domain name.
6302
+ * List tasks. List all operations performed on the account. You can filter
6303
+ * the list of tasks by domain name.
6303
6304
  *
6304
6305
  * @param request - The request {@link RegistrarApiListTasksRequest}
6305
6306
  * @returns A Promise of ListTasksResponse
@@ -6307,59 +6308,62 @@ class RegistrarAPI extends API$r {
6307
6308
  listTasks = (request = {}) => enrichForPagination('tasks', this.pageOfListTasks, request);
6308
6309
 
6309
6310
  /**
6310
- * Buy one or more domains. Request the registration of domain names. You can
6311
- * provide an already existing domain's contact or a new contact.
6311
+ * Purchase domains. Request the registration of domain names. You can provide
6312
+ * a domain's already existing contact or a new contact.
6312
6313
  *
6313
6314
  * @param request - The request {@link RegistrarApiBuyDomainsRequest}
6314
6315
  * @returns A Promise of OrderResponse
6315
6316
  */
6316
6317
  buyDomains = request => this.client.fetch({
6317
6318
  body: JSON.stringify(marshalRegistrarApiBuyDomainsRequest(request, this.client.settings)),
6318
- headers: jsonContentHeaders$i,
6319
+ headers: jsonContentHeaders$j,
6319
6320
  method: 'POST',
6320
6321
  path: `/domain/v2beta1/buy-domains`
6321
6322
  }, unmarshalOrderResponse);
6322
6323
 
6323
6324
  /**
6324
- * Renew one or more domains. Request the renewal of domain names.
6325
+ * Renew domains. Request the renewal of one or more domain names.
6325
6326
  *
6326
6327
  * @param request - The request {@link RegistrarApiRenewDomainsRequest}
6327
6328
  * @returns A Promise of OrderResponse
6328
6329
  */
6329
6330
  renewDomains = request => this.client.fetch({
6330
6331
  body: JSON.stringify(marshalRegistrarApiRenewDomainsRequest(request, this.client.settings)),
6331
- headers: jsonContentHeaders$i,
6332
+ headers: jsonContentHeaders$j,
6332
6333
  method: 'POST',
6333
6334
  path: `/domain/v2beta1/renew-domains`
6334
6335
  }, unmarshalOrderResponse);
6335
6336
 
6336
6337
  /**
6337
- * Transfer a domain. Request the transfer from another registrar domain to
6338
- * Scaleway.
6338
+ * Transfer a domain. Request the transfer of a domain from another registrar
6339
+ * to Scaleway Domains and DNS.
6339
6340
  *
6340
6341
  * @param request - The request {@link RegistrarApiTransferInDomainRequest}
6341
6342
  * @returns A Promise of OrderResponse
6342
6343
  */
6343
6344
  transferInDomain = request => this.client.fetch({
6344
6345
  body: JSON.stringify(marshalRegistrarApiTransferInDomainRequest(request, this.client.settings)),
6345
- headers: jsonContentHeaders$i,
6346
+ headers: jsonContentHeaders$j,
6346
6347
  method: 'POST',
6347
6348
  path: `/domain/v2beta1/domains/transfer-domains`
6348
6349
  }, unmarshalOrderResponse);
6349
6350
 
6350
6351
  /**
6351
- * Trade a domain contact. Request a trade for the contact owner.<br/> If an
6352
- * `organization_id` is given, the change is from the current Scaleway account
6353
- * to another Scaleway account.<br/> If no contact is given, the first contact
6354
- * of the other Scaleway account is taken.<br/> If the other Scaleway account
6355
- * has no contact. An error occurs.
6352
+ * Trade a domain's contact. Request to change a domain's contact owner.<br/>
6353
+ * If you specify the `organization_id` of the domain's new owner, the contact
6354
+ * will change from the current owner's Scaleway account to the new owner's
6355
+ * Scaleway account.<br/> If the new owner's current contact information is
6356
+ * not available, the first ever contact they have created for previous
6357
+ * domains is taken into account to operate the change.<br/> If the new owner
6358
+ * has never created a contact to register domains before, an error message
6359
+ * displays.
6356
6360
  *
6357
6361
  * @param request - The request {@link RegistrarApiTradeDomainRequest}
6358
6362
  * @returns A Promise of OrderResponse
6359
6363
  */
6360
6364
  tradeDomain = request => this.client.fetch({
6361
6365
  body: JSON.stringify(marshalRegistrarApiTradeDomainRequest(request, this.client.settings)),
6362
- headers: jsonContentHeaders$i,
6366
+ headers: jsonContentHeaders$j,
6363
6367
  method: 'POST',
6364
6368
  path: `/domain/v2beta1/domains/${validatePathParam('domain', request.domain)}/trade`
6365
6369
  }, unmarshalOrderResponse);
@@ -6374,7 +6378,7 @@ class RegistrarAPI extends API$r {
6374
6378
  */
6375
6379
  registerExternalDomain = request => this.client.fetch({
6376
6380
  body: JSON.stringify(marshalRegistrarApiRegisterExternalDomainRequest(request, this.client.settings)),
6377
- headers: jsonContentHeaders$i,
6381
+ headers: jsonContentHeaders$j,
6378
6382
  method: 'POST',
6379
6383
  path: `/domain/v2beta1/external-domains`
6380
6384
  }, unmarshalRegisterExternalDomainResponse);
@@ -6391,9 +6395,10 @@ class RegistrarAPI extends API$r {
6391
6395
  }, unmarshalDeleteExternalDomainResponse);
6392
6396
 
6393
6397
  /**
6394
- * Check if contacts are compatible against a domain or a tld. Check if
6395
- * contacts are compatible against a domain or a tld. If not, it will return
6396
- * the information requiring a correction.
6398
+ * Check if contacts are compatible with a domain or a TLD. Check whether
6399
+ * contacts are compatible with a domain or a TLD. If contacts are not
6400
+ * compatible with either the domain or the TLD, the information that needs to
6401
+ * be corrected is returned.
6397
6402
  *
6398
6403
  * @param request - The request
6399
6404
  * {@link RegistrarApiCheckContactsCompatibilityRequest}
@@ -6401,7 +6406,7 @@ class RegistrarAPI extends API$r {
6401
6406
  */
6402
6407
  checkContactsCompatibility = (request = {}) => this.client.fetch({
6403
6408
  body: JSON.stringify(marshalRegistrarApiCheckContactsCompatibilityRequest(request, this.client.settings)),
6404
- headers: jsonContentHeaders$i,
6409
+ headers: jsonContentHeaders$j,
6405
6410
  method: 'POST',
6406
6411
  path: `/domain/v2beta1/check-contacts-compatibility`
6407
6412
  }, unmarshalCheckContactsCompatibilityResponse);
@@ -6412,8 +6417,8 @@ class RegistrarAPI extends API$r {
6412
6417
  }, unmarshalListContactsResponse);
6413
6418
 
6414
6419
  /**
6415
- * List contacts. Return a list of contacts with their domains and roles. You
6416
- * can filter the list by domain name.
6420
+ * List contacts. Retrieve the list of contacts and their associated domains
6421
+ * and roles. You can filter the list by domain name.
6417
6422
  *
6418
6423
  * @param request - The request {@link RegistrarApiListContactsRequest}
6419
6424
  * @returns A Promise of ListContactsResponse
@@ -6421,8 +6426,8 @@ class RegistrarAPI extends API$r {
6421
6426
  listContacts = (request = {}) => enrichForPagination('contacts', this.pageOfListContacts, request);
6422
6427
 
6423
6428
  /**
6424
- * Get a contact. Return a contact details retrieved from the registrar using
6425
- * a given contact ID.
6429
+ * Get a contact. Retrieve a contact's details from the registrar using the
6430
+ * given contact's ID.
6426
6431
  *
6427
6432
  * @param request - The request {@link RegistrarApiGetContactRequest}
6428
6433
  * @returns A Promise of Contact
@@ -6433,14 +6438,14 @@ class RegistrarAPI extends API$r {
6433
6438
  }, unmarshalContact);
6434
6439
 
6435
6440
  /**
6436
- * Update contact. You can edit the contact coordinates.
6441
+ * Update contact. Edit the contact's information.
6437
6442
  *
6438
6443
  * @param request - The request {@link RegistrarApiUpdateContactRequest}
6439
6444
  * @returns A Promise of Contact
6440
6445
  */
6441
6446
  updateContact = request => this.client.fetch({
6442
6447
  body: JSON.stringify(marshalRegistrarApiUpdateContactRequest(request, this.client.settings)),
6443
- headers: jsonContentHeaders$i,
6448
+ headers: jsonContentHeaders$j,
6444
6449
  method: 'PATCH',
6445
6450
  path: `/domain/v2beta1/contacts/${validatePathParam('contactId', request.contactId)}`
6446
6451
  }, unmarshalContact);
@@ -6451,7 +6456,7 @@ class RegistrarAPI extends API$r {
6451
6456
  }, unmarshalListDomainsResponse$2);
6452
6457
 
6453
6458
  /**
6454
- * List domains. Returns a list of domains owned by the user.
6459
+ * List domains. Retrieve the list of domains you own.
6455
6460
  *
6456
6461
  * @param request - The request {@link RegistrarApiListDomainsRequest}
6457
6462
  * @returns A Promise of ListDomainsResponse
@@ -6464,9 +6469,9 @@ class RegistrarAPI extends API$r {
6464
6469
  }, unmarshalListRenewableDomainsResponse);
6465
6470
 
6466
6471
  /**
6467
- * List scaleway domains that can or not be renewed. Returns a list of domains
6468
- * owned by the user with a renew status and if renewable, the maximum renew
6469
- * duration in years.
6472
+ * List domains that can be renewed. Retrieve the list of domains you own that
6473
+ * can be renewed. You can also see the maximum renewal duration in years for
6474
+ * your domains that are renewable.
6470
6475
  *
6471
6476
  * @param request - The request {@link RegistrarApiListRenewableDomainsRequest}
6472
6477
  * @returns A Promise of ListRenewableDomainsResponse
@@ -6474,7 +6479,8 @@ class RegistrarAPI extends API$r {
6474
6479
  listRenewableDomains = (request = {}) => enrichForPagination('domains', this.pageOfListRenewableDomains, request);
6475
6480
 
6476
6481
  /**
6477
- * Get domain. Returns a the domain with more informations.
6482
+ * Get domain. Retrieve a specific domain and display the domain's
6483
+ * information.
6478
6484
  *
6479
6485
  * @param request - The request {@link RegistrarApiGetDomainRequest}
6480
6486
  * @returns A Promise of Domain
@@ -6494,50 +6500,54 @@ class RegistrarAPI extends API$r {
6494
6500
  waitForDomain = (request, options) => waitForResource(options?.stop ?? (res => Promise.resolve(!DOMAIN_TRANSIENT_STATUSES$2.includes(res.status))), this.getDomain, request, options);
6495
6501
 
6496
6502
  /**
6497
- * Update a domain. Update the domain contacts or create a new one.<br/> If
6498
- * you add the same contact for multiple roles. Only one ID will be created
6499
- * and used for all of them.
6503
+ * Update a domain's contacts. Update contacts for a specific domain or create
6504
+ * a new contact.<br/> If you add the same contact for multiple roles (owner,
6505
+ * administrative, technical), only one ID will be created and used for all of
6506
+ * the roles.
6500
6507
  *
6501
6508
  * @param request - The request {@link RegistrarApiUpdateDomainRequest}
6502
6509
  * @returns A Promise of Domain
6503
6510
  */
6504
6511
  updateDomain = request => this.client.fetch({
6505
6512
  body: JSON.stringify(marshalRegistrarApiUpdateDomainRequest(request, this.client.settings)),
6506
- headers: jsonContentHeaders$i,
6513
+ headers: jsonContentHeaders$j,
6507
6514
  method: 'PATCH',
6508
6515
  path: `/domain/v2beta1/domains/${validatePathParam('domain', request.domain)}`
6509
6516
  }, unmarshalDomain$2);
6510
6517
 
6511
6518
  /**
6512
- * Lock domain transfer. Lock domain transfer. A locked domain transfer can't
6513
- * be transferred and the auth code can't be requested.
6519
+ * Lock the transfer of a domain. Lock the transfer of a domain. This means
6520
+ * that the domain cannot be transferred and the authorization code cannot be
6521
+ * requested to your current registrar.
6514
6522
  *
6515
6523
  * @param request - The request {@link RegistrarApiLockDomainTransferRequest}
6516
6524
  * @returns A Promise of Domain
6517
6525
  */
6518
6526
  lockDomainTransfer = request => this.client.fetch({
6519
6527
  body: '{}',
6520
- headers: jsonContentHeaders$i,
6528
+ headers: jsonContentHeaders$j,
6521
6529
  method: 'POST',
6522
6530
  path: `/domain/v2beta1/domains/${validatePathParam('domain', request.domain)}/lock-transfer`
6523
6531
  }, unmarshalDomain$2);
6524
6532
 
6525
6533
  /**
6526
- * Unlock domain transfer. Unlock domain transfer. An unlocked domain can be
6527
- * transferred and the auth code can be requested for this.
6534
+ * Unlock the transfer of a domain. Unlock the transfer of a domain. This
6535
+ * means that the domain can be transferred and the authorization code can be
6536
+ * requested to your current registrar.
6528
6537
  *
6529
6538
  * @param request - The request {@link RegistrarApiUnlockDomainTransferRequest}
6530
6539
  * @returns A Promise of Domain
6531
6540
  */
6532
6541
  unlockDomainTransfer = request => this.client.fetch({
6533
6542
  body: '{}',
6534
- headers: jsonContentHeaders$i,
6543
+ headers: jsonContentHeaders$j,
6535
6544
  method: 'POST',
6536
6545
  path: `/domain/v2beta1/domains/${validatePathParam('domain', request.domain)}/unlock-transfer`
6537
6546
  }, unmarshalDomain$2);
6538
6547
 
6539
6548
  /**
6540
- * Enable domain auto renew.
6549
+ * Enable auto renew. Enable the `auto renew` feature for a domain. This means
6550
+ * the domain will be automatically renewed before its expiry date.
6541
6551
  *
6542
6552
  * @param request - The request
6543
6553
  * {@link RegistrarApiEnableDomainAutoRenewRequest}
@@ -6545,13 +6555,14 @@ class RegistrarAPI extends API$r {
6545
6555
  */
6546
6556
  enableDomainAutoRenew = request => this.client.fetch({
6547
6557
  body: '{}',
6548
- headers: jsonContentHeaders$i,
6558
+ headers: jsonContentHeaders$j,
6549
6559
  method: 'POST',
6550
6560
  path: `/domain/v2beta1/domains/${validatePathParam('domain', request.domain)}/enable-auto-renew`
6551
6561
  }, unmarshalDomain$2);
6552
6562
 
6553
6563
  /**
6554
- * Disable domain auto renew.
6564
+ * Disable auto renew. Disable the `auto renew` feature for a domain. This
6565
+ * means the domain will not be renewed before its expiry date.
6555
6566
  *
6556
6567
  * @param request - The request
6557
6568
  * {@link RegistrarApiDisableDomainAutoRenewRequest}
@@ -6559,16 +6570,17 @@ class RegistrarAPI extends API$r {
6559
6570
  */
6560
6571
  disableDomainAutoRenew = request => this.client.fetch({
6561
6572
  body: '{}',
6562
- headers: jsonContentHeaders$i,
6573
+ headers: jsonContentHeaders$j,
6563
6574
  method: 'POST',
6564
6575
  path: `/domain/v2beta1/domains/${validatePathParam('domain', request.domain)}/disable-auto-renew`
6565
6576
  }, unmarshalDomain$2);
6566
6577
 
6567
6578
  /**
6568
- * Return domain auth code. If possible, return the auth code for an unlocked
6569
- * domain transfer, or an error if the domain is locked. Some TLD may have a
6570
- * different procedure to retrieve the auth code, in that case, the
6571
- * information is given in the message field.
6579
+ * Get a domain's authorization code. Retrieve the authorization code to
6580
+ * tranfer an unlocked domain. The output returns an error if the domain is
6581
+ * locked. Some TLDs may have a different procedure to retrieve the
6582
+ * authorization code. In that case, the information displays in the message
6583
+ * field.
6572
6584
  *
6573
6585
  * @param request - The request {@link RegistrarApiGetDomainAuthCodeRequest}
6574
6586
  * @returns A Promise of GetDomainAuthCodeResponse
@@ -6587,29 +6599,30 @@ class RegistrarAPI extends API$r {
6587
6599
  */
6588
6600
  enableDomainDNSSEC = request => this.client.fetch({
6589
6601
  body: JSON.stringify(marshalRegistrarApiEnableDomainDNSSECRequest(request, this.client.settings)),
6590
- headers: jsonContentHeaders$i,
6602
+ headers: jsonContentHeaders$j,
6591
6603
  method: 'POST',
6592
6604
  path: `/domain/v2beta1/domains/${validatePathParam('domain', request.domain)}/enable-dnssec`
6593
6605
  }, unmarshalDomain$2);
6594
6606
 
6595
6607
  /**
6596
- * Disable domain DNSSEC.
6608
+ * Disable a domain's DNSSEC. Disable DNSSEC for a domain.
6597
6609
  *
6598
6610
  * @param request - The request {@link RegistrarApiDisableDomainDNSSECRequest}
6599
6611
  * @returns A Promise of Domain
6600
6612
  */
6601
6613
  disableDomainDNSSEC = request => this.client.fetch({
6602
6614
  body: '{}',
6603
- headers: jsonContentHeaders$i,
6615
+ headers: jsonContentHeaders$j,
6604
6616
  method: 'POST',
6605
6617
  path: `/domain/v2beta1/domains/${validatePathParam('domain', request.domain)}/disable-dnssec`
6606
6618
  }, unmarshalDomain$2);
6607
6619
 
6608
6620
  /**
6609
- * Search available domains. Search a domain (or at maximum, 10 domains).
6621
+ * Search available domains. Search a domain or a maximum of 10 domains that
6622
+ * are available.
6610
6623
  *
6611
- * If the TLD list is empty or not set the search returns the results from the
6612
- * most popular TLDs.
6624
+ * If the TLD list is empty or not set, the search returns the results from
6625
+ * the most popular TLDs.
6613
6626
  *
6614
6627
  * @param request - The request
6615
6628
  * {@link RegistrarApiSearchAvailableDomainsRequest}
@@ -6622,14 +6635,15 @@ class RegistrarAPI extends API$r {
6622
6635
  }, unmarshalSearchAvailableDomainsResponse);
6623
6636
 
6624
6637
  /**
6625
- * Create domain hostname with glue IPs.
6638
+ * Create a hostname for a domain. Create a hostname for a domain with glue
6639
+ * IPs.
6626
6640
  *
6627
6641
  * @param request - The request {@link RegistrarApiCreateDomainHostRequest}
6628
6642
  * @returns A Promise of Host
6629
6643
  */
6630
6644
  createDomainHost = request => this.client.fetch({
6631
6645
  body: JSON.stringify(marshalRegistrarApiCreateDomainHostRequest(request, this.client.settings)),
6632
- headers: jsonContentHeaders$i,
6646
+ headers: jsonContentHeaders$j,
6633
6647
  method: 'POST',
6634
6648
  path: `/domain/v2beta1/domains/${validatePathParam('domain', request.domain)}/hosts`
6635
6649
  }, unmarshalHost);
@@ -6640,7 +6654,7 @@ class RegistrarAPI extends API$r {
6640
6654
  }, unmarshalListDomainHostsResponse);
6641
6655
 
6642
6656
  /**
6643
- * List domain hostnames with they glue IPs.
6657
+ * List a domain's hostnames. List a domain's hostnames using their glue IPs.
6644
6658
  *
6645
6659
  * @param request - The request {@link RegistrarApiListDomainHostsRequest}
6646
6660
  * @returns A Promise of ListDomainHostsResponse
@@ -6648,20 +6662,20 @@ class RegistrarAPI extends API$r {
6648
6662
  listDomainHosts = request => enrichForPagination('hosts', this.pageOfListDomainHosts, request);
6649
6663
 
6650
6664
  /**
6651
- * Update domain hostname with glue IPs.
6665
+ * Update a domain's hostname. Update a domain's hostname with glue IPs.
6652
6666
  *
6653
6667
  * @param request - The request {@link RegistrarApiUpdateDomainHostRequest}
6654
6668
  * @returns A Promise of Host
6655
6669
  */
6656
6670
  updateDomainHost = request => this.client.fetch({
6657
6671
  body: JSON.stringify(marshalRegistrarApiUpdateDomainHostRequest(request, this.client.settings)),
6658
- headers: jsonContentHeaders$i,
6672
+ headers: jsonContentHeaders$j,
6659
6673
  method: 'PATCH',
6660
6674
  path: `/domain/v2beta1/domains/${validatePathParam('domain', request.domain)}/hosts/${validatePathParam('name', request.name)}`
6661
6675
  }, unmarshalHost);
6662
6676
 
6663
6677
  /**
6664
- * Delete domain hostname.
6678
+ * Delete a domain's hostname. Delete a domain's hostname.
6665
6679
  *
6666
6680
  * @param request - The request {@link RegistrarApiDeleteDomainHostRequest}
6667
6681
  * @returns A Promise of Host
@@ -6675,9 +6689,9 @@ class RegistrarAPI extends API$r {
6675
6689
  // This file was automatically generated. DO NOT EDIT.
6676
6690
  // If you have any remark or suggestion do not hesitate to open an issue.
6677
6691
 
6678
- var index_gen$h = /*#__PURE__*/Object.freeze({
6692
+ var index_gen$i = /*#__PURE__*/Object.freeze({
6679
6693
  __proto__: null,
6680
- API: API$k,
6694
+ API: API$l,
6681
6695
  DNS_ZONE_TRANSIENT_STATUSES: DNS_ZONE_TRANSIENT_STATUSES,
6682
6696
  DOMAIN_FEATURE_TRANSIENT_STATUSES: DOMAIN_FEATURE_TRANSIENT_STATUSES,
6683
6697
  DOMAIN_REGISTRATION_STATUS_TRANSFER_TRANSIENT_STATUSES: DOMAIN_REGISTRATION_STATUS_TRANSFER_TRANSIENT_STATUSES,
@@ -6688,9 +6702,9 @@ var index_gen$h = /*#__PURE__*/Object.freeze({
6688
6702
  TASK_TRANSIENT_STATUSES: TASK_TRANSIENT_STATUSES$1
6689
6703
  });
6690
6704
 
6691
- var index$l = /*#__PURE__*/Object.freeze({
6705
+ var index$m = /*#__PURE__*/Object.freeze({
6692
6706
  __proto__: null,
6693
- v2beta1: index_gen$h
6707
+ v2beta1: index_gen$i
6694
6708
  });
6695
6709
 
6696
6710
  // This file was automatically generated. DO NOT EDIT.
@@ -6797,12 +6811,12 @@ const marshalUpdateFlexibleIPRequest = (request, defaults) => ({
6797
6811
 
6798
6812
  // This file was automatically generated. DO NOT EDIT.
6799
6813
  // If you have any remark or suggestion do not hesitate to open an issue.
6800
- const jsonContentHeaders$h = {
6814
+ const jsonContentHeaders$i = {
6801
6815
  'Content-Type': 'application/json; charset=utf-8'
6802
6816
  };
6803
6817
 
6804
6818
  /** Elastic Metal - Flexible IP API. */
6805
- let API$j = class API extends API$r {
6819
+ let API$k = class API extends API$s {
6806
6820
  /** Lists the available zones of the API. */
6807
6821
  static LOCALITIES = ['fr-par-1', 'fr-par-2', 'nl-ams-1'];
6808
6822
 
@@ -6815,7 +6829,7 @@ let API$j = class API extends API$r {
6815
6829
  */
6816
6830
  createFlexibleIP = request => this.client.fetch({
6817
6831
  body: JSON.stringify(marshalCreateFlexibleIPRequest(request, this.client.settings)),
6818
- headers: jsonContentHeaders$h,
6832
+ headers: jsonContentHeaders$i,
6819
6833
  method: 'POST',
6820
6834
  path: `/flexible-ip/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/fips`
6821
6835
  }, unmarshalFlexibleIP);
@@ -6865,7 +6879,7 @@ let API$j = class API extends API$r {
6865
6879
  */
6866
6880
  updateFlexibleIP = request => this.client.fetch({
6867
6881
  body: JSON.stringify(marshalUpdateFlexibleIPRequest(request, this.client.settings)),
6868
- headers: jsonContentHeaders$h,
6882
+ headers: jsonContentHeaders$i,
6869
6883
  method: 'PATCH',
6870
6884
  path: `/flexible-ip/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/fips/${validatePathParam('fipId', request.fipId)}`
6871
6885
  }, unmarshalFlexibleIP);
@@ -6891,7 +6905,7 @@ let API$j = class API extends API$r {
6891
6905
  */
6892
6906
  attachFlexibleIP = request => this.client.fetch({
6893
6907
  body: JSON.stringify(marshalAttachFlexibleIPRequest(request, this.client.settings)),
6894
- headers: jsonContentHeaders$h,
6908
+ headers: jsonContentHeaders$i,
6895
6909
  method: 'POST',
6896
6910
  path: `/flexible-ip/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/fips/attach`
6897
6911
  }, unmarshalAttachFlexibleIPsResponse);
@@ -6905,7 +6919,7 @@ let API$j = class API extends API$r {
6905
6919
  */
6906
6920
  detachFlexibleIP = request => this.client.fetch({
6907
6921
  body: JSON.stringify(marshalDetachFlexibleIPRequest(request, this.client.settings)),
6908
- headers: jsonContentHeaders$h,
6922
+ headers: jsonContentHeaders$i,
6909
6923
  method: 'POST',
6910
6924
  path: `/flexible-ip/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/fips/detach`
6911
6925
  }, unmarshalDetachFlexibleIPsResponse);
@@ -6919,7 +6933,7 @@ let API$j = class API extends API$r {
6919
6933
  */
6920
6934
  generateMACAddr = request => this.client.fetch({
6921
6935
  body: JSON.stringify(marshalGenerateMACAddrRequest(request, this.client.settings)),
6922
- headers: jsonContentHeaders$h,
6936
+ headers: jsonContentHeaders$i,
6923
6937
  method: 'POST',
6924
6938
  path: `/flexible-ip/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/fips/${validatePathParam('fipId', request.fipId)}/mac`
6925
6939
  }, unmarshalFlexibleIP);
@@ -6934,7 +6948,7 @@ let API$j = class API extends API$r {
6934
6948
  */
6935
6949
  duplicateMACAddr = request => this.client.fetch({
6936
6950
  body: JSON.stringify(marshalDuplicateMACAddrRequest(request, this.client.settings)),
6937
- headers: jsonContentHeaders$h,
6951
+ headers: jsonContentHeaders$i,
6938
6952
  method: 'POST',
6939
6953
  path: `/flexible-ip/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/fips/${validatePathParam('fipId', request.fipId)}/mac/duplicate`
6940
6954
  }, unmarshalFlexibleIP);
@@ -6949,7 +6963,7 @@ let API$j = class API extends API$r {
6949
6963
  */
6950
6964
  moveMACAddr = request => this.client.fetch({
6951
6965
  body: JSON.stringify(marshalMoveMACAddrRequest(request, this.client.settings)),
6952
- headers: jsonContentHeaders$h,
6966
+ headers: jsonContentHeaders$i,
6953
6967
  method: 'POST',
6954
6968
  path: `/flexible-ip/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/fips/${validatePathParam('fipId', request.fipId)}/mac/move`
6955
6969
  }, unmarshalFlexibleIP);
@@ -6987,17 +7001,17 @@ var validationRules_gen$3 = /*#__PURE__*/Object.freeze({
6987
7001
  // This file was automatically generated. DO NOT EDIT.
6988
7002
  // If you have any remark or suggestion do not hesitate to open an issue.
6989
7003
 
6990
- var index_gen$g = /*#__PURE__*/Object.freeze({
7004
+ var index_gen$h = /*#__PURE__*/Object.freeze({
6991
7005
  __proto__: null,
6992
- API: API$j,
7006
+ API: API$k,
6993
7007
  FLEXIBLE_IP_TRANSIENT_STATUSES: FLEXIBLE_IP_TRANSIENT_STATUSES,
6994
7008
  MAC_ADDRESS_TRANSIENT_STATUSES: MAC_ADDRESS_TRANSIENT_STATUSES,
6995
7009
  ValidationRules: validationRules_gen$3
6996
7010
  });
6997
7011
 
6998
- var index$k = /*#__PURE__*/Object.freeze({
7012
+ var index$l = /*#__PURE__*/Object.freeze({
6999
7013
  __proto__: null,
7000
- v1alpha1: index_gen$g
7014
+ v1alpha1: index_gen$h
7001
7015
  });
7002
7016
 
7003
7017
  // This file was automatically generated. DO NOT EDIT.
@@ -7412,12 +7426,12 @@ const marshalUpdateTriggerRequest = (request, defaults) => ({
7412
7426
 
7413
7427
  // This file was automatically generated. DO NOT EDIT.
7414
7428
  // If you have any remark or suggestion do not hesitate to open an issue.
7415
- const jsonContentHeaders$g = {
7429
+ const jsonContentHeaders$h = {
7416
7430
  'Content-Type': 'application/json; charset=utf-8'
7417
7431
  };
7418
7432
 
7419
7433
  /** Serverless Functions API. */
7420
- let API$i = class API extends API$r {
7434
+ let API$j = class API extends API$s {
7421
7435
  /** Lists the available regions of the API. */
7422
7436
  static LOCALITIES = ['fr-par', 'nl-ams', 'pl-waw'];
7423
7437
  pageOfListNamespaces = (request = {}) => this.client.fetch({
@@ -7464,7 +7478,7 @@ let API$i = class API extends API$r {
7464
7478
  */
7465
7479
  createNamespace = (request = {}) => this.client.fetch({
7466
7480
  body: JSON.stringify(marshalCreateNamespaceRequest$2(request, this.client.settings)),
7467
- headers: jsonContentHeaders$g,
7481
+ headers: jsonContentHeaders$h,
7468
7482
  method: 'POST',
7469
7483
  path: `/functions/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/namespaces`
7470
7484
  }, unmarshalNamespace$2);
@@ -7478,7 +7492,7 @@ let API$i = class API extends API$r {
7478
7492
  */
7479
7493
  updateNamespace = request => this.client.fetch({
7480
7494
  body: JSON.stringify(marshalUpdateNamespaceRequest$2(request, this.client.settings)),
7481
- headers: jsonContentHeaders$g,
7495
+ headers: jsonContentHeaders$h,
7482
7496
  method: 'PATCH',
7483
7497
  path: `/functions/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/namespaces/${validatePathParam('namespaceId', request.namespaceId)}`
7484
7498
  }, unmarshalNamespace$2);
@@ -7537,7 +7551,7 @@ let API$i = class API extends API$r {
7537
7551
  */
7538
7552
  createFunction = request => this.client.fetch({
7539
7553
  body: JSON.stringify(marshalCreateFunctionRequest(request, this.client.settings)),
7540
- headers: jsonContentHeaders$g,
7554
+ headers: jsonContentHeaders$h,
7541
7555
  method: 'POST',
7542
7556
  path: `/functions/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/functions`
7543
7557
  }, unmarshalFunction);
@@ -7551,7 +7565,7 @@ let API$i = class API extends API$r {
7551
7565
  */
7552
7566
  updateFunction = request => this.client.fetch({
7553
7567
  body: JSON.stringify(marshalUpdateFunctionRequest(request, this.client.settings)),
7554
- headers: jsonContentHeaders$g,
7568
+ headers: jsonContentHeaders$h,
7555
7569
  method: 'PATCH',
7556
7570
  path: `/functions/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/functions/${validatePathParam('functionId', request.functionId)}`
7557
7571
  }, unmarshalFunction);
@@ -7575,7 +7589,7 @@ let API$i = class API extends API$r {
7575
7589
  */
7576
7590
  deployFunction = request => this.client.fetch({
7577
7591
  body: '{}',
7578
- headers: jsonContentHeaders$g,
7592
+ headers: jsonContentHeaders$h,
7579
7593
  method: 'POST',
7580
7594
  path: `/functions/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/functions/${validatePathParam('functionId', request.functionId)}/deploy`
7581
7595
  }, unmarshalFunction);
@@ -7658,7 +7672,7 @@ let API$i = class API extends API$r {
7658
7672
  */
7659
7673
  createCron = request => this.client.fetch({
7660
7674
  body: JSON.stringify(marshalCreateCronRequest(request, this.client.settings)),
7661
- headers: jsonContentHeaders$g,
7675
+ headers: jsonContentHeaders$h,
7662
7676
  method: 'POST',
7663
7677
  path: `/functions/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/crons`
7664
7678
  }, unmarshalCron);
@@ -7671,7 +7685,7 @@ let API$i = class API extends API$r {
7671
7685
  */
7672
7686
  updateCron = request => this.client.fetch({
7673
7687
  body: JSON.stringify(marshalUpdateCronRequest(request, this.client.settings)),
7674
- headers: jsonContentHeaders$g,
7688
+ headers: jsonContentHeaders$h,
7675
7689
  method: 'PATCH',
7676
7690
  path: `/functions/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/crons/${validatePathParam('cronId', request.cronId)}`
7677
7691
  }, unmarshalCron);
@@ -7745,7 +7759,7 @@ let API$i = class API extends API$r {
7745
7759
  */
7746
7760
  createDomain = request => this.client.fetch({
7747
7761
  body: JSON.stringify(marshalCreateDomainRequest$1(request, this.client.settings)),
7748
- headers: jsonContentHeaders$g,
7762
+ headers: jsonContentHeaders$h,
7749
7763
  method: 'POST',
7750
7764
  path: `/functions/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/domains`
7751
7765
  }, unmarshalDomain$1);
@@ -7787,7 +7801,7 @@ let API$i = class API extends API$r {
7787
7801
  */
7788
7802
  createToken = (request = {}) => this.client.fetch({
7789
7803
  body: JSON.stringify(marshalCreateTokenRequest(request, this.client.settings)),
7790
- headers: jsonContentHeaders$g,
7804
+ headers: jsonContentHeaders$h,
7791
7805
  method: 'POST',
7792
7806
  path: `/functions/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/tokens`
7793
7807
  }, unmarshalToken);
@@ -7837,7 +7851,7 @@ let API$i = class API extends API$r {
7837
7851
  }, unmarshalToken);
7838
7852
  createTrigger = request => this.client.fetch({
7839
7853
  body: JSON.stringify(marshalCreateTriggerRequest(request, this.client.settings)),
7840
- headers: jsonContentHeaders$g,
7854
+ headers: jsonContentHeaders$h,
7841
7855
  method: 'POST',
7842
7856
  path: `/functions/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/triggers`
7843
7857
  }, unmarshalTrigger);
@@ -7872,7 +7886,7 @@ let API$i = class API extends API$r {
7872
7886
  listTriggers = (request = {}) => enrichForPagination('triggers', this.pageOfListTriggers, request);
7873
7887
  updateTrigger = request => this.client.fetch({
7874
7888
  body: JSON.stringify(marshalUpdateTriggerRequest(request, this.client.settings)),
7875
- headers: jsonContentHeaders$g,
7889
+ headers: jsonContentHeaders$h,
7876
7890
  method: 'PATCH',
7877
7891
  path: `/functions/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/triggers/${validatePathParam('triggerId', request.triggerId)}`
7878
7892
  }, unmarshalTrigger);
@@ -7885,9 +7899,9 @@ let API$i = class API extends API$r {
7885
7899
  // This file was automatically generated. DO NOT EDIT.
7886
7900
  // If you have any remark or suggestion do not hesitate to open an issue.
7887
7901
 
7888
- var index_gen$f = /*#__PURE__*/Object.freeze({
7902
+ var index_gen$g = /*#__PURE__*/Object.freeze({
7889
7903
  __proto__: null,
7890
- API: API$i,
7904
+ API: API$j,
7891
7905
  CRON_TRANSIENT_STATUSES: CRON_TRANSIENT_STATUSES,
7892
7906
  DOMAIN_TRANSIENT_STATUSES: DOMAIN_TRANSIENT_STATUSES$1,
7893
7907
  FUNCTION_TRANSIENT_STATUSES: FUNCTION_TRANSIENT_STATUSES,
@@ -7896,9 +7910,9 @@ var index_gen$f = /*#__PURE__*/Object.freeze({
7896
7910
  TRIGGER_TRANSIENT_STATUSES: TRIGGER_TRANSIENT_STATUSES
7897
7911
  });
7898
7912
 
7899
- var index$j = /*#__PURE__*/Object.freeze({
7913
+ var index$k = /*#__PURE__*/Object.freeze({
7900
7914
  __proto__: null,
7901
- v1beta1: index_gen$f
7915
+ v1beta1: index_gen$g
7902
7916
  });
7903
7917
 
7904
7918
  // This file was automatically generated. DO NOT EDIT.
@@ -8277,12 +8291,12 @@ const marshalUpdateSSHKeyRequest = (request, defaults) => ({
8277
8291
 
8278
8292
  // This file was automatically generated. DO NOT EDIT.
8279
8293
  // If you have any remark or suggestion do not hesitate to open an issue.
8280
- const jsonContentHeaders$f = {
8294
+ const jsonContentHeaders$g = {
8281
8295
  'Content-Type': 'application/json; charset=utf-8'
8282
8296
  };
8283
8297
 
8284
8298
  /** IAM API. */
8285
- let API$h = class API extends API$r {
8299
+ let API$i = class API extends API$s {
8286
8300
  pageOfListSSHKeys = (request = {}) => this.client.fetch({
8287
8301
  method: 'GET',
8288
8302
  path: `/iam/v1alpha1/ssh-keys`,
@@ -8309,7 +8323,7 @@ let API$h = class API extends API$r {
8309
8323
  */
8310
8324
  createSSHKey = request => this.client.fetch({
8311
8325
  body: JSON.stringify(marshalCreateSSHKeyRequest(request, this.client.settings)),
8312
- headers: jsonContentHeaders$f,
8326
+ headers: jsonContentHeaders$g,
8313
8327
  method: 'POST',
8314
8328
  path: `/iam/v1alpha1/ssh-keys`
8315
8329
  }, unmarshalSSHKey);
@@ -8336,7 +8350,7 @@ let API$h = class API extends API$r {
8336
8350
  */
8337
8351
  updateSSHKey = request => this.client.fetch({
8338
8352
  body: JSON.stringify(marshalUpdateSSHKeyRequest(request, this.client.settings)),
8339
- headers: jsonContentHeaders$f,
8353
+ headers: jsonContentHeaders$g,
8340
8354
  method: 'PATCH',
8341
8355
  path: `/iam/v1alpha1/ssh-keys/${validatePathParam('sshKeyId', request.sshKeyId)}`
8342
8356
  }, unmarshalSSHKey);
@@ -8424,7 +8438,7 @@ let API$h = class API extends API$r {
8424
8438
  */
8425
8439
  createApplication = request => this.client.fetch({
8426
8440
  body: JSON.stringify(marshalCreateApplicationRequest(request, this.client.settings)),
8427
- headers: jsonContentHeaders$f,
8441
+ headers: jsonContentHeaders$g,
8428
8442
  method: 'POST',
8429
8443
  path: `/iam/v1alpha1/applications`
8430
8444
  }, unmarshalApplication);
@@ -8452,7 +8466,7 @@ let API$h = class API extends API$r {
8452
8466
  */
8453
8467
  updateApplication = request => this.client.fetch({
8454
8468
  body: JSON.stringify(marshalUpdateApplicationRequest(request, this.client.settings)),
8455
- headers: jsonContentHeaders$f,
8469
+ headers: jsonContentHeaders$g,
8456
8470
  method: 'PATCH',
8457
8471
  path: `/iam/v1alpha1/applications/${validatePathParam('applicationId', request.applicationId)}`
8458
8472
  }, unmarshalApplication);
@@ -8496,7 +8510,7 @@ let API$h = class API extends API$r {
8496
8510
  */
8497
8511
  createGroup = request => this.client.fetch({
8498
8512
  body: JSON.stringify(marshalCreateGroupRequest(request, this.client.settings)),
8499
- headers: jsonContentHeaders$f,
8513
+ headers: jsonContentHeaders$g,
8500
8514
  method: 'POST',
8501
8515
  path: `/iam/v1alpha1/groups`
8502
8516
  }, unmarshalGroup);
@@ -8523,7 +8537,7 @@ let API$h = class API extends API$r {
8523
8537
  */
8524
8538
  updateGroup = request => this.client.fetch({
8525
8539
  body: JSON.stringify(marshalUpdateGroupRequest(request, this.client.settings)),
8526
- headers: jsonContentHeaders$f,
8540
+ headers: jsonContentHeaders$g,
8527
8541
  method: 'PATCH',
8528
8542
  path: `/iam/v1alpha1/groups/${validatePathParam('groupId', request.groupId)}`
8529
8543
  }, unmarshalGroup);
@@ -8538,7 +8552,7 @@ let API$h = class API extends API$r {
8538
8552
  */
8539
8553
  setGroupMembers = request => this.client.fetch({
8540
8554
  body: JSON.stringify(marshalSetGroupMembersRequest(request, this.client.settings)),
8541
- headers: jsonContentHeaders$f,
8555
+ headers: jsonContentHeaders$g,
8542
8556
  method: 'PUT',
8543
8557
  path: `/iam/v1alpha1/groups/${validatePathParam('groupId', request.groupId)}/members`
8544
8558
  }, unmarshalGroup);
@@ -8553,7 +8567,7 @@ let API$h = class API extends API$r {
8553
8567
  */
8554
8568
  addGroupMember = request => this.client.fetch({
8555
8569
  body: JSON.stringify(marshalAddGroupMemberRequest(request, this.client.settings)),
8556
- headers: jsonContentHeaders$f,
8570
+ headers: jsonContentHeaders$g,
8557
8571
  method: 'POST',
8558
8572
  path: `/iam/v1alpha1/groups/${validatePathParam('groupId', request.groupId)}/add-member`
8559
8573
  }, unmarshalGroup);
@@ -8571,7 +8585,7 @@ let API$h = class API extends API$r {
8571
8585
  */
8572
8586
  addGroupMembers = request => this.client.fetch({
8573
8587
  body: JSON.stringify(marshalAddGroupMembersRequest(request, this.client.settings)),
8574
- headers: jsonContentHeaders$f,
8588
+ headers: jsonContentHeaders$g,
8575
8589
  method: 'POST',
8576
8590
  path: `/iam/v1alpha1/groups/${validatePathParam('groupId', request.groupId)}/add-members`
8577
8591
  }, unmarshalGroup);
@@ -8590,7 +8604,7 @@ let API$h = class API extends API$r {
8590
8604
  */
8591
8605
  removeGroupMember = request => this.client.fetch({
8592
8606
  body: JSON.stringify(marshalRemoveGroupMemberRequest(request, this.client.settings)),
8593
- headers: jsonContentHeaders$f,
8607
+ headers: jsonContentHeaders$g,
8594
8608
  method: 'POST',
8595
8609
  path: `/iam/v1alpha1/groups/${validatePathParam('groupId', request.groupId)}/remove-member`
8596
8610
  }, unmarshalGroup);
@@ -8636,7 +8650,7 @@ let API$h = class API extends API$r {
8636
8650
  */
8637
8651
  createPolicy = request => this.client.fetch({
8638
8652
  body: JSON.stringify(marshalCreatePolicyRequest(request, this.client.settings)),
8639
- headers: jsonContentHeaders$f,
8653
+ headers: jsonContentHeaders$g,
8640
8654
  method: 'POST',
8641
8655
  path: `/iam/v1alpha1/policies`
8642
8656
  }, unmarshalPolicy);
@@ -8665,7 +8679,7 @@ let API$h = class API extends API$r {
8665
8679
  */
8666
8680
  updatePolicy = request => this.client.fetch({
8667
8681
  body: JSON.stringify(marshalUpdatePolicyRequest(request, this.client.settings)),
8668
- headers: jsonContentHeaders$f,
8682
+ headers: jsonContentHeaders$g,
8669
8683
  method: 'PATCH',
8670
8684
  path: `/iam/v1alpha1/policies/${validatePathParam('policyId', request.policyId)}`
8671
8685
  }, unmarshalPolicy);
@@ -8692,7 +8706,7 @@ let API$h = class API extends API$r {
8692
8706
  */
8693
8707
  clonePolicy = request => this.client.fetch({
8694
8708
  body: '{}',
8695
- headers: jsonContentHeaders$f,
8709
+ headers: jsonContentHeaders$g,
8696
8710
  method: 'POST',
8697
8711
  path: `/iam/v1alpha1/policies/${validatePathParam('policyId', request.policyId)}/clone`
8698
8712
  }, unmarshalPolicy);
@@ -8710,7 +8724,7 @@ let API$h = class API extends API$r {
8710
8724
  */
8711
8725
  setRules = request => this.client.fetch({
8712
8726
  body: JSON.stringify(marshalSetRulesRequest(request, this.client.settings)),
8713
- headers: jsonContentHeaders$f,
8727
+ headers: jsonContentHeaders$g,
8714
8728
  method: 'PUT',
8715
8729
  path: `/iam/v1alpha1/rules`
8716
8730
  }, unmarshalSetRulesResponse);
@@ -8781,7 +8795,7 @@ let API$h = class API extends API$r {
8781
8795
  */
8782
8796
  createAPIKey = request => this.client.fetch({
8783
8797
  body: JSON.stringify(marshalCreateAPIKeyRequest(request, this.client.settings)),
8784
- headers: jsonContentHeaders$f,
8798
+ headers: jsonContentHeaders$g,
8785
8799
  method: 'POST',
8786
8800
  path: `/iam/v1alpha1/api-keys`
8787
8801
  }, unmarshalAPIKey);
@@ -8811,7 +8825,7 @@ let API$h = class API extends API$r {
8811
8825
  */
8812
8826
  updateAPIKey = request => this.client.fetch({
8813
8827
  body: JSON.stringify(marshalUpdateAPIKeyRequest(request, this.client.settings)),
8814
- headers: jsonContentHeaders$f,
8828
+ headers: jsonContentHeaders$g,
8815
8829
  method: 'PATCH',
8816
8830
  path: `/iam/v1alpha1/api-keys/${validatePathParam('accessKey', request.accessKey)}`
8817
8831
  }, unmarshalAPIKey);
@@ -9128,15 +9142,15 @@ var validationRules_gen$2 = /*#__PURE__*/Object.freeze({
9128
9142
  // This file was automatically generated. DO NOT EDIT.
9129
9143
  // If you have any remark or suggestion do not hesitate to open an issue.
9130
9144
 
9131
- var index_gen$e = /*#__PURE__*/Object.freeze({
9145
+ var index_gen$f = /*#__PURE__*/Object.freeze({
9132
9146
  __proto__: null,
9133
- API: API$h,
9147
+ API: API$i,
9134
9148
  ValidationRules: validationRules_gen$2
9135
9149
  });
9136
9150
 
9137
- var index$i = /*#__PURE__*/Object.freeze({
9151
+ var index$j = /*#__PURE__*/Object.freeze({
9138
9152
  __proto__: null,
9139
- v1alpha1: index_gen$e
9153
+ v1alpha1: index_gen$f
9140
9154
  });
9141
9155
 
9142
9156
  // This file was automatically generated. DO NOT EDIT.
@@ -9187,7 +9201,7 @@ const unmarshalServerTypeVolumeConstraintSizes = data => {
9187
9201
  minSize: data.min_size
9188
9202
  };
9189
9203
  };
9190
- const unmarshalVolume$1 = data => {
9204
+ const unmarshalVolume$2 = data => {
9191
9205
  if (!isJSONObject(data)) {
9192
9206
  throw new TypeError(`Unmarshalling the type 'Volume' failed as data isn't a dictionary.`);
9193
9207
  }
@@ -9226,7 +9240,7 @@ const unmarshalImage$3 = data => {
9226
9240
  arch: data.arch,
9227
9241
  creationDate: unmarshalDate(data.creation_date),
9228
9242
  defaultBootscript: data.default_bootscript ? unmarshalBootscript(data.default_bootscript) : undefined,
9229
- extraVolumes: unmarshalMapOfObject(data.extra_volumes, unmarshalVolume$1),
9243
+ extraVolumes: unmarshalMapOfObject(data.extra_volumes, unmarshalVolume$2),
9230
9244
  fromServer: data.from_server,
9231
9245
  id: data.id,
9232
9246
  modificationDate: unmarshalDate(data.modification_date),
@@ -9659,7 +9673,7 @@ const unmarshalCreateVolumeResponse = data => {
9659
9673
  throw new TypeError(`Unmarshalling the type 'CreateVolumeResponse' failed as data isn't a dictionary.`);
9660
9674
  }
9661
9675
  return {
9662
- volume: data.volume ? unmarshalVolume$1(data.volume) : undefined
9676
+ volume: data.volume ? unmarshalVolume$2(data.volume) : undefined
9663
9677
  };
9664
9678
  };
9665
9679
  const unmarshalExportSnapshotResponse = data => {
@@ -9755,7 +9769,8 @@ const unmarshalGetServerTypesAvailabilityResponse = data => {
9755
9769
  throw new TypeError(`Unmarshalling the type 'GetServerTypesAvailabilityResponse' failed as data isn't a dictionary.`);
9756
9770
  }
9757
9771
  return {
9758
- servers: unmarshalMapOfObject(data.servers, unmarshalGetServerTypesAvailabilityResponseAvailability)
9772
+ servers: unmarshalMapOfObject(data.servers, unmarshalGetServerTypesAvailabilityResponseAvailability),
9773
+ totalCount: data.total_count
9759
9774
  };
9760
9775
  };
9761
9776
  const unmarshalGetSnapshotResponse = data => {
@@ -9771,7 +9786,7 @@ const unmarshalGetVolumeResponse = data => {
9771
9786
  throw new TypeError(`Unmarshalling the type 'GetVolumeResponse' failed as data isn't a dictionary.`);
9772
9787
  }
9773
9788
  return {
9774
- volume: data.volume ? unmarshalVolume$1(data.volume) : undefined
9789
+ volume: data.volume ? unmarshalVolume$2(data.volume) : undefined
9775
9790
  };
9776
9791
  };
9777
9792
  const unmarshalListBootscriptsResponse = data => {
@@ -9880,13 +9895,13 @@ const unmarshalListSnapshotsResponse$1 = data => {
9880
9895
  totalCount: data.total_count
9881
9896
  };
9882
9897
  };
9883
- const unmarshalListVolumesResponse = data => {
9898
+ const unmarshalListVolumesResponse$1 = data => {
9884
9899
  if (!isJSONObject(data)) {
9885
9900
  throw new TypeError(`Unmarshalling the type 'ListVolumesResponse' failed as data isn't a dictionary.`);
9886
9901
  }
9887
9902
  return {
9888
9903
  totalCount: data.total_count,
9889
- volumes: unmarshalArrayOfObject(data.volumes, unmarshalVolume$1)
9904
+ volumes: unmarshalArrayOfObject(data.volumes, unmarshalVolume$2)
9890
9905
  };
9891
9906
  };
9892
9907
  const unmarshalListVolumesTypesResponse = data => {
@@ -10007,7 +10022,7 @@ const unmarshalUpdateVolumeResponse = data => {
10007
10022
  throw new TypeError(`Unmarshalling the type 'UpdateVolumeResponse' failed as data isn't a dictionary.`);
10008
10023
  }
10009
10024
  return {
10010
- volume: data.volume ? unmarshalVolume$1(data.volume) : undefined
10025
+ volume: data.volume ? unmarshalVolume$2(data.volume) : undefined
10011
10026
  };
10012
10027
  };
10013
10028
  const marshalServerSummary$1 = (request, defaults) => ({
@@ -10290,7 +10305,7 @@ const marshalCreateSnapshotRequest$1 = (request, defaults) => ({
10290
10305
  value: request.organization
10291
10306
  }])
10292
10307
  });
10293
- const marshalCreateVolumeRequest = (request, defaults) => ({
10308
+ const marshalCreateVolumeRequest$1 = (request, defaults) => ({
10294
10309
  name: request.name || randomName('vol'),
10295
10310
  tags: request.tags,
10296
10311
  volume_type: request.volumeType ?? 'l_ssd',
@@ -10463,7 +10478,7 @@ const marshalUpdateServerRequest = (request, defaults) => ({
10463
10478
  [key]: marshalVolumeServerTemplate(value)
10464
10479
  }), {}) : undefined
10465
10480
  });
10466
- const marshalUpdateVolumeRequest = (request, defaults) => ({
10481
+ const marshalUpdateVolumeRequest$1 = (request, defaults) => ({
10467
10482
  name: request.name,
10468
10483
  size: request.size,
10469
10484
  tags: request.tags
@@ -10471,12 +10486,12 @@ const marshalUpdateVolumeRequest = (request, defaults) => ({
10471
10486
 
10472
10487
  // This file was automatically generated. DO NOT EDIT.
10473
10488
  // If you have any remark or suggestion do not hesitate to open an issue.
10474
- const jsonContentHeaders$e = {
10489
+ const jsonContentHeaders$f = {
10475
10490
  'Content-Type': 'application/json; charset=utf-8'
10476
10491
  };
10477
10492
 
10478
10493
  /** Instance API. */
10479
- let API$g = class API extends API$r {
10494
+ let API$h = class API extends API$s {
10480
10495
  /** Lists the available zones of the API. */
10481
10496
  static LOCALITIES = ['fr-par-1', 'fr-par-2', 'fr-par-3', 'nl-ams-1', 'nl-ams-2', 'pl-waw-1', 'pl-waw-2'];
10482
10497
 
@@ -10532,7 +10547,7 @@ let API$g = class API extends API$r {
10532
10547
  listServers = (request = {}) => enrichForPagination('servers', this.pageOfListServers, request);
10533
10548
  _createServer = request => this.client.fetch({
10534
10549
  body: JSON.stringify(marshalCreateServerRequest(request, this.client.settings)),
10535
- headers: jsonContentHeaders$e,
10550
+ headers: jsonContentHeaders$f,
10536
10551
  method: 'POST',
10537
10552
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers`
10538
10553
  }, unmarshalCreateServerResponse);
@@ -10559,13 +10574,13 @@ let API$g = class API extends API$r {
10559
10574
  }, unmarshalGetServerResponse);
10560
10575
  _setServer = request => this.client.fetch({
10561
10576
  body: JSON.stringify(marshalSetServerRequest(request, this.client.settings)),
10562
- headers: jsonContentHeaders$e,
10577
+ headers: jsonContentHeaders$f,
10563
10578
  method: 'PUT',
10564
10579
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('id', request.id)}`
10565
10580
  }, unmarshalSetServerResponse);
10566
10581
  _updateServer = request => this.client.fetch({
10567
10582
  body: JSON.stringify(marshalUpdateServerRequest(request, this.client.settings)),
10568
- headers: jsonContentHeaders$e,
10583
+ headers: jsonContentHeaders$f,
10569
10584
  method: 'PATCH',
10570
10585
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}`
10571
10586
  }, unmarshalUpdateServerResponse);
@@ -10602,7 +10617,7 @@ let API$g = class API extends API$r {
10602
10617
  */
10603
10618
  serverAction = request => this.client.fetch({
10604
10619
  body: JSON.stringify(marshalServerActionRequest(request, this.client.settings)),
10605
- headers: jsonContentHeaders$e,
10620
+ headers: jsonContentHeaders$f,
10606
10621
  method: 'POST',
10607
10622
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/action`
10608
10623
  }, unmarshalServerActionResponse);
@@ -10661,13 +10676,13 @@ let API$g = class API extends API$r {
10661
10676
  */
10662
10677
  createImage = request => this.client.fetch({
10663
10678
  body: JSON.stringify(marshalCreateImageRequest(request, this.client.settings)),
10664
- headers: jsonContentHeaders$e,
10679
+ headers: jsonContentHeaders$f,
10665
10680
  method: 'POST',
10666
10681
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/images`
10667
10682
  }, unmarshalCreateImageResponse);
10668
10683
  _setImage = request => this.client.fetch({
10669
10684
  body: JSON.stringify(marshalSetImageRequest(request, this.client.settings)),
10670
- headers: jsonContentHeaders$e,
10685
+ headers: jsonContentHeaders$f,
10671
10686
  method: 'PUT',
10672
10687
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/images/${validatePathParam('id', request.id)}`
10673
10688
  }, unmarshalSetImageResponse);
@@ -10706,7 +10721,7 @@ let API$g = class API extends API$r {
10706
10721
  */
10707
10722
  createSnapshot = (request = {}) => this.client.fetch({
10708
10723
  body: JSON.stringify(marshalCreateSnapshotRequest$1(request, this.client.settings)),
10709
- headers: jsonContentHeaders$e,
10724
+ headers: jsonContentHeaders$f,
10710
10725
  method: 'POST',
10711
10726
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/snapshots`
10712
10727
  }, unmarshalCreateSnapshotResponse);
@@ -10723,7 +10738,7 @@ let API$g = class API extends API$r {
10723
10738
  }, unmarshalGetSnapshotResponse);
10724
10739
  _setSnapshot = request => this.client.fetch({
10725
10740
  body: JSON.stringify(marshalSetSnapshotRequest(request, this.client.settings)),
10726
- headers: jsonContentHeaders$e,
10741
+ headers: jsonContentHeaders$f,
10727
10742
  method: 'PUT',
10728
10743
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/snapshots/${validatePathParam('snapshotId', request.snapshotId)}`
10729
10744
  }, unmarshalSetSnapshotResponse);
@@ -10747,7 +10762,7 @@ let API$g = class API extends API$r {
10747
10762
  */
10748
10763
  exportSnapshot = request => this.client.fetch({
10749
10764
  body: JSON.stringify(marshalExportSnapshotRequest(request, this.client.settings)),
10750
- headers: jsonContentHeaders$e,
10765
+ headers: jsonContentHeaders$f,
10751
10766
  method: 'POST',
10752
10767
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/snapshots/${validatePathParam('snapshotId', request.snapshotId)}/export`
10753
10768
  }, unmarshalExportSnapshotResponse);
@@ -10755,7 +10770,7 @@ let API$g = class API extends API$r {
10755
10770
  method: 'GET',
10756
10771
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/volumes`,
10757
10772
  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])
10758
- }, unmarshalListVolumesResponse);
10773
+ }, unmarshalListVolumesResponse$1);
10759
10774
 
10760
10775
  /**
10761
10776
  * List volumes. List volumes in the specified Availability Zone. You can
@@ -10774,8 +10789,8 @@ let API$g = class API extends API$r {
10774
10789
  * @returns A Promise of CreateVolumeResponse
10775
10790
  */
10776
10791
  createVolume = (request = {}) => this.client.fetch({
10777
- body: JSON.stringify(marshalCreateVolumeRequest(request, this.client.settings)),
10778
- headers: jsonContentHeaders$e,
10792
+ body: JSON.stringify(marshalCreateVolumeRequest$1(request, this.client.settings)),
10793
+ headers: jsonContentHeaders$f,
10779
10794
  method: 'POST',
10780
10795
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/volumes`
10781
10796
  }, unmarshalCreateVolumeResponse);
@@ -10800,8 +10815,8 @@ let API$g = class API extends API$r {
10800
10815
  * @returns A Promise of UpdateVolumeResponse
10801
10816
  */
10802
10817
  updateVolume = request => this.client.fetch({
10803
- body: JSON.stringify(marshalUpdateVolumeRequest(request, this.client.settings)),
10804
- headers: jsonContentHeaders$e,
10818
+ body: JSON.stringify(marshalUpdateVolumeRequest$1(request, this.client.settings)),
10819
+ headers: jsonContentHeaders$f,
10805
10820
  method: 'PATCH',
10806
10821
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/volumes/${validatePathParam('volumeId', request.volumeId)}`
10807
10822
  }, unmarshalUpdateVolumeResponse);
@@ -10838,7 +10853,7 @@ let API$g = class API extends API$r {
10838
10853
  */
10839
10854
  createSecurityGroup = request => this.client.fetch({
10840
10855
  body: JSON.stringify(marshalCreateSecurityGroupRequest(request, this.client.settings)),
10841
- headers: jsonContentHeaders$e,
10856
+ headers: jsonContentHeaders$f,
10842
10857
  method: 'POST',
10843
10858
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/security_groups`
10844
10859
  }, unmarshalCreateSecurityGroupResponse);
@@ -10866,7 +10881,7 @@ let API$g = class API extends API$r {
10866
10881
  });
10867
10882
  _setSecurityGroup = request => this.client.fetch({
10868
10883
  body: JSON.stringify(marshalSetSecurityGroupRequest(request, this.client.settings)),
10869
- headers: jsonContentHeaders$e,
10884
+ headers: jsonContentHeaders$f,
10870
10885
  method: 'PUT',
10871
10886
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/security_groups/${validatePathParam('id', request.id)}`
10872
10887
  }, unmarshalSetSecurityGroupResponse);
@@ -10904,7 +10919,7 @@ let API$g = class API extends API$r {
10904
10919
  */
10905
10920
  createSecurityGroupRule = request => this.client.fetch({
10906
10921
  body: JSON.stringify(marshalCreateSecurityGroupRuleRequest(request, this.client.settings)),
10907
- headers: jsonContentHeaders$e,
10922
+ headers: jsonContentHeaders$f,
10908
10923
  method: 'POST',
10909
10924
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/security_groups/${validatePathParam('securityGroupId', request.securityGroupId)}/rules`
10910
10925
  }, unmarshalCreateSecurityGroupRuleResponse);
@@ -10920,7 +10935,7 @@ let API$g = class API extends API$r {
10920
10935
  */
10921
10936
  setSecurityGroupRules = request => this.client.fetch({
10922
10937
  body: JSON.stringify(marshalSetSecurityGroupRulesRequest(request, this.client.settings)),
10923
- headers: jsonContentHeaders$e,
10938
+ headers: jsonContentHeaders$f,
10924
10939
  method: 'PUT',
10925
10940
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/security_groups/${validatePathParam('securityGroupId', request.securityGroupId)}/rules`
10926
10941
  }, unmarshalSetSecurityGroupRulesResponse);
@@ -10947,7 +10962,7 @@ let API$g = class API extends API$r {
10947
10962
  }, unmarshalGetSecurityGroupRuleResponse);
10948
10963
  _setSecurityGroupRule = request => this.client.fetch({
10949
10964
  body: JSON.stringify(marshalSetSecurityGroupRuleRequest(request, this.client.settings)),
10950
- headers: jsonContentHeaders$e,
10965
+ headers: jsonContentHeaders$f,
10951
10966
  method: 'PUT',
10952
10967
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/security_groups/${validatePathParam('securityGroupId', request.securityGroupId)}/rules/${validatePathParam('securityGroupRuleId', request.securityGroupRuleId)}`
10953
10968
  }, unmarshalSetSecurityGroupRuleResponse);
@@ -10975,7 +10990,7 @@ let API$g = class API extends API$r {
10975
10990
  */
10976
10991
  createPlacementGroup = (request = {}) => this.client.fetch({
10977
10992
  body: JSON.stringify(marshalCreatePlacementGroupRequest(request, this.client.settings)),
10978
- headers: jsonContentHeaders$e,
10993
+ headers: jsonContentHeaders$f,
10979
10994
  method: 'POST',
10980
10995
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/placement_groups`
10981
10996
  }, unmarshalCreatePlacementGroupResponse);
@@ -10999,7 +11014,7 @@ let API$g = class API extends API$r {
10999
11014
  */
11000
11015
  setPlacementGroup = request => this.client.fetch({
11001
11016
  body: JSON.stringify(marshalSetPlacementGroupRequest(request, this.client.settings)),
11002
- headers: jsonContentHeaders$e,
11017
+ headers: jsonContentHeaders$f,
11003
11018
  method: 'PUT',
11004
11019
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/placement_groups/${validatePathParam('placementGroupId', request.placementGroupId)}`
11005
11020
  }, unmarshalSetPlacementGroupResponse);
@@ -11013,7 +11028,7 @@ let API$g = class API extends API$r {
11013
11028
  */
11014
11029
  updatePlacementGroup = request => this.client.fetch({
11015
11030
  body: JSON.stringify(marshalUpdatePlacementGroupRequest(request, this.client.settings)),
11016
- headers: jsonContentHeaders$e,
11031
+ headers: jsonContentHeaders$f,
11017
11032
  method: 'PATCH',
11018
11033
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/placement_groups/${validatePathParam('placementGroupId', request.placementGroupId)}`
11019
11034
  }, unmarshalUpdatePlacementGroupResponse);
@@ -11049,7 +11064,7 @@ let API$g = class API extends API$r {
11049
11064
  */
11050
11065
  setPlacementGroupServers = request => this.client.fetch({
11051
11066
  body: JSON.stringify(marshalSetPlacementGroupServersRequest(request, this.client.settings)),
11052
- headers: jsonContentHeaders$e,
11067
+ headers: jsonContentHeaders$f,
11053
11068
  method: 'PUT',
11054
11069
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/placement_groups/${validatePathParam('placementGroupId', request.placementGroupId)}/servers`
11055
11070
  }, unmarshalSetPlacementGroupServersResponse);
@@ -11063,7 +11078,7 @@ let API$g = class API extends API$r {
11063
11078
  */
11064
11079
  updatePlacementGroupServers = request => this.client.fetch({
11065
11080
  body: JSON.stringify(marshalUpdatePlacementGroupServersRequest(request, this.client.settings)),
11066
- headers: jsonContentHeaders$e,
11081
+ headers: jsonContentHeaders$f,
11067
11082
  method: 'PATCH',
11068
11083
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/placement_groups/${validatePathParam('placementGroupId', request.placementGroupId)}/servers`
11069
11084
  }, unmarshalUpdatePlacementGroupServersResponse);
@@ -11090,7 +11105,7 @@ let API$g = class API extends API$r {
11090
11105
  */
11091
11106
  createIp = (request = {}) => this.client.fetch({
11092
11107
  body: JSON.stringify(marshalCreateIpRequest$1(request, this.client.settings)),
11093
- headers: jsonContentHeaders$e,
11108
+ headers: jsonContentHeaders$f,
11094
11109
  method: 'POST',
11095
11110
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/ips`
11096
11111
  }, unmarshalCreateIpResponse);
@@ -11115,7 +11130,7 @@ let API$g = class API extends API$r {
11115
11130
  */
11116
11131
  updateIp = request => this.client.fetch({
11117
11132
  body: JSON.stringify(marshalUpdateIpRequest$1(request, this.client.settings)),
11118
- headers: jsonContentHeaders$e,
11133
+ headers: jsonContentHeaders$f,
11119
11134
  method: 'PATCH',
11120
11135
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/ips/${validatePathParam('ip', request.ip)}`
11121
11136
  }, unmarshalUpdateIpResponse);
@@ -11151,7 +11166,7 @@ let API$g = class API extends API$r {
11151
11166
  */
11152
11167
  createPrivateNIC = request => this.client.fetch({
11153
11168
  body: JSON.stringify(marshalCreatePrivateNICRequest(request, this.client.settings)),
11154
- headers: jsonContentHeaders$e,
11169
+ headers: jsonContentHeaders$f,
11155
11170
  method: 'POST',
11156
11171
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/private_nics`
11157
11172
  }, unmarshalCreatePrivateNICResponse);
@@ -11176,7 +11191,7 @@ let API$g = class API extends API$r {
11176
11191
  */
11177
11192
  updatePrivateNIC = request => this.client.fetch({
11178
11193
  body: JSON.stringify(marshalUpdatePrivateNICRequest(request, this.client.settings)),
11179
- headers: jsonContentHeaders$e,
11194
+ headers: jsonContentHeaders$f,
11180
11195
  method: 'PATCH',
11181
11196
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/private_nics/${validatePathParam('privateNicId', request.privateNicId)}`
11182
11197
  }, unmarshalPrivateNIC);
@@ -11313,7 +11328,7 @@ const validateNotUndefined = obj => {
11313
11328
  if (obj === undefined) throw new TypeError(`object was found undefined`);
11314
11329
  return obj;
11315
11330
  };
11316
- class InstanceV1UtilsAPI extends API$g {
11331
+ class InstanceV1UtilsAPI extends API$h {
11317
11332
  /**
11318
11333
  * Waits for {@link Image} to be in a final state.
11319
11334
  *
@@ -11670,7 +11685,7 @@ class InstanceV1UtilsAPI extends API$g {
11670
11685
  });
11671
11686
  }
11672
11687
 
11673
- var index$h = /*#__PURE__*/Object.freeze({
11688
+ var index$i = /*#__PURE__*/Object.freeze({
11674
11689
  __proto__: null,
11675
11690
  API: InstanceV1UtilsAPI,
11676
11691
  IMAGE_TRANSIENT_STATUSES: IMAGE_TRANSIENT_STATUSES$1,
@@ -11683,9 +11698,9 @@ var index$h = /*#__PURE__*/Object.freeze({
11683
11698
  VOLUME_TRANSIENT_STATUSES: VOLUME_TRANSIENT_STATUSES
11684
11699
  });
11685
11700
 
11686
- var index$g = /*#__PURE__*/Object.freeze({
11701
+ var index$h = /*#__PURE__*/Object.freeze({
11687
11702
  __proto__: null,
11688
- v1: index$h
11703
+ v1: index$i
11689
11704
  });
11690
11705
 
11691
11706
  // This file was automatically generated. DO NOT EDIT.
@@ -12129,7 +12144,7 @@ const marshalUpdateRouteRequest$1 = (request, defaults) => ({
12129
12144
 
12130
12145
  // This file was automatically generated. DO NOT EDIT.
12131
12146
  // If you have any remark or suggestion do not hesitate to open an issue.
12132
- const jsonContentHeaders$d = {
12147
+ const jsonContentHeaders$e = {
12133
12148
  'Content-Type': 'application/json; charset=utf-8'
12134
12149
  };
12135
12150
 
@@ -12138,7 +12153,7 @@ const jsonContentHeaders$d = {
12138
12153
  *
12139
12154
  * This API allows you to manage IoT hubs and devices. IoT Hub API.
12140
12155
  */
12141
- let API$f = class API extends API$r {
12156
+ let API$g = class API extends API$s {
12142
12157
  /** Lists the available regions of the API. */
12143
12158
  static LOCALITIES = ['fr-par'];
12144
12159
  pageOfListHubs = (request = {}) => this.client.fetch({
@@ -12166,7 +12181,7 @@ let API$f = class API extends API$r {
12166
12181
  */
12167
12182
  createHub = request => this.client.fetch({
12168
12183
  body: JSON.stringify(marshalCreateHubRequest(request, this.client.settings)),
12169
- headers: jsonContentHeaders$d,
12184
+ headers: jsonContentHeaders$e,
12170
12185
  method: 'POST',
12171
12186
  path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/hubs`
12172
12187
  }, unmarshalHub);
@@ -12202,7 +12217,7 @@ let API$f = class API extends API$r {
12202
12217
  */
12203
12218
  updateHub = request => this.client.fetch({
12204
12219
  body: JSON.stringify(marshalUpdateHubRequest(request, this.client.settings)),
12205
- headers: jsonContentHeaders$d,
12220
+ headers: jsonContentHeaders$e,
12206
12221
  method: 'PATCH',
12207
12222
  path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/hubs/${validatePathParam('hubId', request.hubId)}`
12208
12223
  }, unmarshalHub);
@@ -12215,7 +12230,7 @@ let API$f = class API extends API$r {
12215
12230
  */
12216
12231
  enableHub = request => this.client.fetch({
12217
12232
  body: '{}',
12218
- headers: jsonContentHeaders$d,
12233
+ headers: jsonContentHeaders$e,
12219
12234
  method: 'POST',
12220
12235
  path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/hubs/${validatePathParam('hubId', request.hubId)}/enable`
12221
12236
  }, unmarshalHub);
@@ -12228,7 +12243,7 @@ let API$f = class API extends API$r {
12228
12243
  */
12229
12244
  disableHub = request => this.client.fetch({
12230
12245
  body: '{}',
12231
- headers: jsonContentHeaders$d,
12246
+ headers: jsonContentHeaders$e,
12232
12247
  method: 'POST',
12233
12248
  path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/hubs/${validatePathParam('hubId', request.hubId)}/disable`
12234
12249
  }, unmarshalHub);
@@ -12268,7 +12283,7 @@ let API$f = class API extends API$r {
12268
12283
  */
12269
12284
  setHubCA = request => this.client.fetch({
12270
12285
  body: JSON.stringify(marshalSetHubCARequest(request, this.client.settings)),
12271
- headers: jsonContentHeaders$d,
12286
+ headers: jsonContentHeaders$e,
12272
12287
  method: 'POST',
12273
12288
  path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/hubs/${validatePathParam('hubId', request.hubId)}/ca`
12274
12289
  }, unmarshalHub);
@@ -12308,7 +12323,7 @@ let API$f = class API extends API$r {
12308
12323
  */
12309
12324
  createDevice = request => this.client.fetch({
12310
12325
  body: JSON.stringify(marshalCreateDeviceRequest(request, this.client.settings)),
12311
- headers: jsonContentHeaders$d,
12326
+ headers: jsonContentHeaders$e,
12312
12327
  method: 'POST',
12313
12328
  path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/devices`
12314
12329
  }, unmarshalCreateDeviceResponse);
@@ -12335,7 +12350,7 @@ let API$f = class API extends API$r {
12335
12350
  */
12336
12351
  updateDevice = request => this.client.fetch({
12337
12352
  body: JSON.stringify(marshalUpdateDeviceRequest(request, this.client.settings)),
12338
- headers: jsonContentHeaders$d,
12353
+ headers: jsonContentHeaders$e,
12339
12354
  method: 'PATCH',
12340
12355
  path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/devices/${validatePathParam('deviceId', request.deviceId)}`
12341
12356
  }, unmarshalDevice);
@@ -12348,7 +12363,7 @@ let API$f = class API extends API$r {
12348
12363
  */
12349
12364
  enableDevice = request => this.client.fetch({
12350
12365
  body: '{}',
12351
- headers: jsonContentHeaders$d,
12366
+ headers: jsonContentHeaders$e,
12352
12367
  method: 'POST',
12353
12368
  path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/devices/${validatePathParam('deviceId', request.deviceId)}/enable`
12354
12369
  }, unmarshalDevice);
@@ -12361,7 +12376,7 @@ let API$f = class API extends API$r {
12361
12376
  */
12362
12377
  disableDevice = request => this.client.fetch({
12363
12378
  body: '{}',
12364
- headers: jsonContentHeaders$d,
12379
+ headers: jsonContentHeaders$e,
12365
12380
  method: 'POST',
12366
12381
  path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/devices/${validatePathParam('deviceId', request.deviceId)}/disable`
12367
12382
  }, unmarshalDevice);
@@ -12375,7 +12390,7 @@ let API$f = class API extends API$r {
12375
12390
  */
12376
12391
  renewDeviceCertificate = request => this.client.fetch({
12377
12392
  body: '{}',
12378
- headers: jsonContentHeaders$d,
12393
+ headers: jsonContentHeaders$e,
12379
12394
  method: 'POST',
12380
12395
  path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/devices/${validatePathParam('deviceId', request.deviceId)}/renew-certificate`
12381
12396
  }, unmarshalRenewDeviceCertificateResponse);
@@ -12389,7 +12404,7 @@ let API$f = class API extends API$r {
12389
12404
  */
12390
12405
  setDeviceCertificate = request => this.client.fetch({
12391
12406
  body: JSON.stringify(marshalSetDeviceCertificateRequest(request, this.client.settings)),
12392
- headers: jsonContentHeaders$d,
12407
+ headers: jsonContentHeaders$e,
12393
12408
  method: 'PUT',
12394
12409
  path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/devices/${validatePathParam('deviceId', request.deviceId)}/certificate`
12395
12410
  }, unmarshalSetDeviceCertificateResponse);
@@ -12464,7 +12479,7 @@ let API$f = class API extends API$r {
12464
12479
  */
12465
12480
  createRoute = request => this.client.fetch({
12466
12481
  body: JSON.stringify(marshalCreateRouteRequest$1(request, this.client.settings)),
12467
- headers: jsonContentHeaders$d,
12482
+ headers: jsonContentHeaders$e,
12468
12483
  method: 'POST',
12469
12484
  path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/routes`
12470
12485
  }, unmarshalRoute$1);
@@ -12478,7 +12493,7 @@ let API$f = class API extends API$r {
12478
12493
  */
12479
12494
  updateRoute = request => this.client.fetch({
12480
12495
  body: JSON.stringify(marshalUpdateRouteRequest$1(request, this.client.settings)),
12481
- headers: jsonContentHeaders$d,
12496
+ headers: jsonContentHeaders$e,
12482
12497
  method: 'PATCH',
12483
12498
  path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/routes/${validatePathParam('routeId', request.routeId)}`
12484
12499
  }, unmarshalRoute$1);
@@ -12530,7 +12545,7 @@ let API$f = class API extends API$r {
12530
12545
  */
12531
12546
  createNetwork = request => this.client.fetch({
12532
12547
  body: JSON.stringify(marshalCreateNetworkRequest(request, this.client.settings)),
12533
- headers: jsonContentHeaders$d,
12548
+ headers: jsonContentHeaders$e,
12534
12549
  method: 'POST',
12535
12550
  path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/networks`
12536
12551
  }, unmarshalCreateNetworkResponse);
@@ -12578,7 +12593,7 @@ let API$f = class API extends API$r {
12578
12593
  */
12579
12594
  putTwinDocument = request => this.client.fetch({
12580
12595
  body: JSON.stringify(marshalPutTwinDocumentRequest(request, this.client.settings)),
12581
- headers: jsonContentHeaders$d,
12596
+ headers: jsonContentHeaders$e,
12582
12597
  method: 'PUT',
12583
12598
  path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/twins/${validatePathParam('twinId', request.twinId)}/documents/${validatePathParam('documentName', request.documentName)}`
12584
12599
  }, unmarshalTwinDocument);
@@ -12591,7 +12606,7 @@ let API$f = class API extends API$r {
12591
12606
  */
12592
12607
  patchTwinDocument = request => this.client.fetch({
12593
12608
  body: JSON.stringify(marshalPatchTwinDocumentRequest(request, this.client.settings)),
12594
- headers: jsonContentHeaders$d,
12609
+ headers: jsonContentHeaders$e,
12595
12610
  method: 'PATCH',
12596
12611
  path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/twins/${validatePathParam('twinId', request.twinId)}/documents/${validatePathParam('documentName', request.documentName)}`
12597
12612
  }, unmarshalTwinDocument);
@@ -12631,15 +12646,329 @@ let API$f = class API extends API$r {
12631
12646
  // This file was automatically generated. DO NOT EDIT.
12632
12647
  // If you have any remark or suggestion do not hesitate to open an issue.
12633
12648
 
12649
+ var index_gen$e = /*#__PURE__*/Object.freeze({
12650
+ __proto__: null,
12651
+ API: API$g,
12652
+ HUB_TRANSIENT_STATUSES: HUB_TRANSIENT_STATUSES
12653
+ });
12654
+
12655
+ var index$g = /*#__PURE__*/Object.freeze({
12656
+ __proto__: null,
12657
+ v1: index_gen$e
12658
+ });
12659
+
12660
+ // This file was automatically generated. DO NOT EDIT.
12661
+ // If you have any remark or suggestion do not hesitate to open an issue.
12662
+
12663
+ /** Lists transient statutes of the enum {@link PinStatus}. */
12664
+ const PIN_TRANSIENT_STATUSES = ['queued', 'pinning'];
12665
+
12666
+ // This file was automatically generated. DO NOT EDIT.
12667
+ // If you have any remark or suggestion do not hesitate to open an issue.
12668
+ const unmarshalPinCIDMeta = data => {
12669
+ if (!isJSONObject(data)) {
12670
+ throw new TypeError(`Unmarshalling the type 'PinCIDMeta' failed as data isn't a dictionary.`);
12671
+ }
12672
+ return {
12673
+ id: data.id
12674
+ };
12675
+ };
12676
+ const unmarshalPinCID = data => {
12677
+ if (!isJSONObject(data)) {
12678
+ throw new TypeError(`Unmarshalling the type 'PinCID' failed as data isn't a dictionary.`);
12679
+ }
12680
+ return {
12681
+ cid: data.cid,
12682
+ meta: data.meta ? unmarshalPinCIDMeta(data.meta) : undefined,
12683
+ name: data.name,
12684
+ origins: data.origins
12685
+ };
12686
+ };
12687
+ const unmarshalPinInfo = data => {
12688
+ if (!isJSONObject(data)) {
12689
+ throw new TypeError(`Unmarshalling the type 'PinInfo' failed as data isn't a dictionary.`);
12690
+ }
12691
+ return {
12692
+ id: data.id,
12693
+ progress: data.progress,
12694
+ size: data.size,
12695
+ statusDetails: data.status_details,
12696
+ url: data.url
12697
+ };
12698
+ };
12699
+ const unmarshalPin = data => {
12700
+ if (!isJSONObject(data)) {
12701
+ throw new TypeError(`Unmarshalling the type 'Pin' failed as data isn't a dictionary.`);
12702
+ }
12703
+ return {
12704
+ cid: data.cid ? unmarshalPinCID(data.cid) : undefined,
12705
+ createdAt: unmarshalDate(data.created_at),
12706
+ delegates: data.delegates,
12707
+ info: data.info ? unmarshalPinInfo(data.info) : undefined,
12708
+ pinId: data.pin_id,
12709
+ status: data.status
12710
+ };
12711
+ };
12712
+ const unmarshalVolume$1 = data => {
12713
+ if (!isJSONObject(data)) {
12714
+ throw new TypeError(`Unmarshalling the type 'Volume' failed as data isn't a dictionary.`);
12715
+ }
12716
+ return {
12717
+ countPin: data.count_pin,
12718
+ createdAt: unmarshalDate(data.created_at),
12719
+ id: data.id,
12720
+ name: data.name,
12721
+ projectId: data.project_id,
12722
+ region: data.region,
12723
+ size: data.size,
12724
+ tags: data.tags,
12725
+ updatedAt: unmarshalDate(data.updated_at)
12726
+ };
12727
+ };
12728
+ const unmarshalListPinsResponse = data => {
12729
+ if (!isJSONObject(data)) {
12730
+ throw new TypeError(`Unmarshalling the type 'ListPinsResponse' failed as data isn't a dictionary.`);
12731
+ }
12732
+ return {
12733
+ pins: unmarshalArrayOfObject(data.pins, unmarshalPin),
12734
+ totalCount: data.total_count
12735
+ };
12736
+ };
12737
+ const unmarshalListVolumesResponse = data => {
12738
+ if (!isJSONObject(data)) {
12739
+ throw new TypeError(`Unmarshalling the type 'ListVolumesResponse' failed as data isn't a dictionary.`);
12740
+ }
12741
+ return {
12742
+ totalCount: data.total_count,
12743
+ volumes: unmarshalArrayOfObject(data.volumes, unmarshalVolume$1)
12744
+ };
12745
+ };
12746
+ const unmarshalReplacePinResponse = data => {
12747
+ if (!isJSONObject(data)) {
12748
+ throw new TypeError(`Unmarshalling the type 'ReplacePinResponse' failed as data isn't a dictionary.`);
12749
+ }
12750
+ return {
12751
+ pin: data.pin ? unmarshalPin(data.pin) : undefined
12752
+ };
12753
+ };
12754
+ const marshalPinOptions = (request, defaults) => ({
12755
+ replication_count: request.replicationCount,
12756
+ required_zones: request.requiredZones
12757
+ });
12758
+ const marshalCreatePinByCIDRequest = (request, defaults) => ({
12759
+ cid: request.cid,
12760
+ name: request.name,
12761
+ origins: request.origins,
12762
+ pin_options: request.pinOptions ? marshalPinOptions(request.pinOptions) : undefined,
12763
+ volume_id: request.volumeId
12764
+ });
12765
+ const marshalCreatePinByURLRequest = (request, defaults) => ({
12766
+ name: request.name,
12767
+ pin_options: request.pinOptions ? marshalPinOptions(request.pinOptions) : undefined,
12768
+ url: request.url,
12769
+ volume_id: request.volumeId
12770
+ });
12771
+ const marshalCreateVolumeRequest = (request, defaults) => ({
12772
+ name: request.name,
12773
+ project_id: request.projectId ?? defaults.defaultProjectId
12774
+ });
12775
+ const marshalReplacePinRequest = (request, defaults) => ({
12776
+ cid: request.cid,
12777
+ name: request.name,
12778
+ origins: request.origins,
12779
+ pin_options: request.pinOptions ? marshalPinOptions(request.pinOptions) : undefined,
12780
+ volume_id: request.volumeId
12781
+ });
12782
+ const marshalUpdateVolumeRequest = (request, defaults) => ({
12783
+ name: request.name,
12784
+ tags: request.tags
12785
+ });
12786
+
12787
+ // This file was automatically generated. DO NOT EDIT.
12788
+ // If you have any remark or suggestion do not hesitate to open an issue.
12789
+ const jsonContentHeaders$d = {
12790
+ 'Content-Type': 'application/json; charset=utf-8'
12791
+ };
12792
+
12793
+ /** IPFS Pinning service API. */
12794
+ let API$f = class API extends API$s {
12795
+ /** Lists the available regions of the API. */
12796
+ static LOCALITIES = ['fr-par', 'nl-ams', 'pl-waw'];
12797
+
12798
+ /**
12799
+ * Create a new volume. Create a new volume from a Project ID. Volume is
12800
+ * identified by an ID and used to host pin references. Volume is personal (at
12801
+ * least to your organization) even if IPFS blocks and CID are available to
12802
+ * anyone. Should be the first command you made because every pin must be
12803
+ * attached to a volume.
12804
+ *
12805
+ * @param request - The request {@link CreateVolumeRequest}
12806
+ * @returns A Promise of Volume
12807
+ */
12808
+ createVolume = request => this.client.fetch({
12809
+ body: JSON.stringify(marshalCreateVolumeRequest(request, this.client.settings)),
12810
+ headers: jsonContentHeaders$d,
12811
+ method: 'POST',
12812
+ path: `/ipfs/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/volumes`
12813
+ }, unmarshalVolume$1);
12814
+
12815
+ /**
12816
+ * Get information about a volume. Retrieve information about a specific
12817
+ * volume.
12818
+ *
12819
+ * @param request - The request {@link GetVolumeRequest}
12820
+ * @returns A Promise of Volume
12821
+ */
12822
+ getVolume = request => this.client.fetch({
12823
+ method: 'GET',
12824
+ path: `/ipfs/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/volumes/${validatePathParam('volumeId', request.volumeId)}`
12825
+ }, unmarshalVolume$1);
12826
+ pageOfListVolumes = (request = {}) => this.client.fetch({
12827
+ method: 'GET',
12828
+ path: `/ipfs/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/volumes`,
12829
+ 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])
12830
+ }, unmarshalListVolumesResponse);
12831
+
12832
+ /**
12833
+ * List all volumes by a Project ID. Retrieve information about all volumes
12834
+ * from a Project ID.
12835
+ *
12836
+ * @param request - The request {@link ListVolumesRequest}
12837
+ * @returns A Promise of ListVolumesResponse
12838
+ */
12839
+ listVolumes = (request = {}) => enrichForPagination('volumes', this.pageOfListVolumes, request);
12840
+
12841
+ /**
12842
+ * Update volume information. Update volume information (tag, name...).
12843
+ *
12844
+ * @param request - The request {@link UpdateVolumeRequest}
12845
+ * @returns A Promise of Volume
12846
+ */
12847
+ updateVolume = request => this.client.fetch({
12848
+ body: JSON.stringify(marshalUpdateVolumeRequest(request, this.client.settings)),
12849
+ headers: jsonContentHeaders$d,
12850
+ method: 'PATCH',
12851
+ path: `/ipfs/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/volumes/${validatePathParam('volumeId', request.volumeId)}`
12852
+ }, unmarshalVolume$1);
12853
+
12854
+ /**
12855
+ * Delete an existing volume. Delete a volume by its ID and every pin attached
12856
+ * to this volume. This process can take a while to conclude, depending on the
12857
+ * size of your pinned content.
12858
+ *
12859
+ * @param request - The request {@link DeleteVolumeRequest}
12860
+ */
12861
+ deleteVolume = request => this.client.fetch({
12862
+ method: 'DELETE',
12863
+ path: `/ipfs/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/volumes/${validatePathParam('volumeId', request.volumeId)}`
12864
+ });
12865
+
12866
+ /**
12867
+ * Create a pin by URL. Will fetch and store the content pointed by the
12868
+ * provided URL. The content must be available on the public IPFS network. The
12869
+ * content (IPFS blocks) will be host by the pinning service until pin
12870
+ * deletion. From that point, any other IPFS peer can fetch and host your
12871
+ * content: Make sure to pin public or encrypted content. Many pin requests
12872
+ * (from different users) can target the same CID. A pin is defined by its ID
12873
+ * (UUID), its status (queued, pinning, pinned or failed) and target CID.
12874
+ *
12875
+ * @param request - The request {@link CreatePinByURLRequest}
12876
+ * @returns A Promise of Pin
12877
+ */
12878
+ createPinByURL = request => this.client.fetch({
12879
+ body: JSON.stringify(marshalCreatePinByURLRequest(request, this.client.settings)),
12880
+ headers: jsonContentHeaders$d,
12881
+ method: 'POST',
12882
+ path: `/ipfs/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/pins/create-by-url`
12883
+ }, unmarshalPin);
12884
+
12885
+ /**
12886
+ * Create a pin by CID. Will fetch and store the content pointed by the
12887
+ * provided CID. The content must be available on the public IPFS network. The
12888
+ * content (IPFS blocks) will be host by the pinning service until pin
12889
+ * deletion. From that point, any other IPFS peer can fetch and host your
12890
+ * content: Make sure to pin public or encrypted content. Many pin requests
12891
+ * (from different users) can target the same CID. A pin is defined by its ID
12892
+ * (UUID), its status (queued, pinning, pinned or failed) and target CID.
12893
+ *
12894
+ * @param request - The request {@link CreatePinByCIDRequest}
12895
+ * @returns A Promise of Pin
12896
+ */
12897
+ createPinByCID = request => this.client.fetch({
12898
+ body: JSON.stringify(marshalCreatePinByCIDRequest(request, this.client.settings)),
12899
+ headers: jsonContentHeaders$d,
12900
+ method: 'POST',
12901
+ path: `/ipfs/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/pins/create-by-cid`
12902
+ }, unmarshalPin);
12903
+ replacePin = request => this.client.fetch({
12904
+ body: JSON.stringify(marshalReplacePinRequest(request, this.client.settings)),
12905
+ headers: jsonContentHeaders$d,
12906
+ method: 'POST',
12907
+ path: `/ipfs/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/pins/${validatePathParam('pinId', request.pinId)}/replace`
12908
+ }, unmarshalReplacePinResponse);
12909
+
12910
+ /**
12911
+ * Get pin information. Retrieve information about the provided **pin ID**,
12912
+ * such as status, last modification, and CID.
12913
+ *
12914
+ * @param request - The request {@link GetPinRequest}
12915
+ * @returns A Promise of Pin
12916
+ */
12917
+ getPin = request => this.client.fetch({
12918
+ method: 'GET',
12919
+ path: `/ipfs/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/pins/${validatePathParam('pinId', request.pinId)}`,
12920
+ urlParams: urlParams(['volume_id', request.volumeId])
12921
+ }, unmarshalPin);
12922
+
12923
+ /**
12924
+ * Waits for {@link Pin} to be in a final state.
12925
+ *
12926
+ * @param request - The request {@link GetPinRequest}
12927
+ * @param options - The waiting options
12928
+ * @returns A Promise of Pin
12929
+ */
12930
+ waitForPin = (request, options) => waitForResource(options?.stop ?? (res => Promise.resolve(!PIN_TRANSIENT_STATUSES.includes(res.status))), this.getPin, request, options);
12931
+ pageOfListPins = request => this.client.fetch({
12932
+ method: 'GET',
12933
+ path: `/ipfs/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/pins`,
12934
+ 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], ['status', request.status ?? 'unknown_status'], ['volume_id', request.volumeId])
12935
+ }, unmarshalListPinsResponse);
12936
+
12937
+ /**
12938
+ * List all pins within a volume. Retrieve information about all pins into a
12939
+ * volume.
12940
+ *
12941
+ * @param request - The request {@link ListPinsRequest}
12942
+ * @returns A Promise of ListPinsResponse
12943
+ */
12944
+ listPins = request => enrichForPagination('pins', this.pageOfListPins, request);
12945
+
12946
+ /**
12947
+ * Create an unpin request. An unpin request means that you no longer own the
12948
+ * content. This content can therefore be removed and no longer provided on
12949
+ * the IPFS network.
12950
+ *
12951
+ * @param request - The request {@link DeletePinRequest}
12952
+ */
12953
+ deletePin = request => this.client.fetch({
12954
+ method: 'DELETE',
12955
+ path: `/ipfs/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/pins/${validatePathParam('pinId', request.pinId)}`,
12956
+ urlParams: urlParams(['volume_id', request.volumeId])
12957
+ });
12958
+ };
12959
+
12960
+ // This file was automatically generated. DO NOT EDIT.
12961
+ // If you have any remark or suggestion do not hesitate to open an issue.
12962
+
12634
12963
  var index_gen$d = /*#__PURE__*/Object.freeze({
12635
12964
  __proto__: null,
12636
12965
  API: API$f,
12637
- HUB_TRANSIENT_STATUSES: HUB_TRANSIENT_STATUSES
12966
+ PIN_TRANSIENT_STATUSES: PIN_TRANSIENT_STATUSES
12638
12967
  });
12639
12968
 
12640
12969
  var index$f = /*#__PURE__*/Object.freeze({
12641
12970
  __proto__: null,
12642
- v1: index_gen$d
12971
+ v1alpha1: index_gen$d
12643
12972
  });
12644
12973
 
12645
12974
  // This file was automatically generated. DO NOT EDIT.
@@ -12746,6 +13075,15 @@ const unmarshalCluster$1 = data => {
12746
13075
  version: data.version
12747
13076
  };
12748
13077
  };
13078
+ const unmarshalClusterType = data => {
13079
+ if (!isJSONObject(data)) {
13080
+ throw new TypeError(`Unmarshalling the type 'ClusterType' failed as data isn't a dictionary.`);
13081
+ }
13082
+ return {
13083
+ availability: data.availability,
13084
+ name: data.name
13085
+ };
13086
+ };
12749
13087
  const unmarshalNode = data => {
12750
13088
  if (!isJSONObject(data)) {
12751
13089
  throw new TypeError(`Unmarshalling the type 'Node' failed as data isn't a dictionary.`);
@@ -12834,6 +13172,15 @@ const unmarshalListClusterAvailableVersionsResponse = data => {
12834
13172
  versions: unmarshalArrayOfObject(data.versions, unmarshalVersion$2)
12835
13173
  };
12836
13174
  };
13175
+ const unmarshalListClusterTypesResponse = data => {
13176
+ if (!isJSONObject(data)) {
13177
+ throw new TypeError(`Unmarshalling the type 'ListClusterTypesResponse' failed as data isn't a dictionary.`);
13178
+ }
13179
+ return {
13180
+ clusterTypes: unmarshalArrayOfObject(data.cluster_types, unmarshalClusterType),
13181
+ totalCount: data.total_count
13182
+ };
13183
+ };
12837
13184
  const unmarshalListClustersResponse$1 = data => {
12838
13185
  if (!isJSONObject(data)) {
12839
13186
  throw new TypeError(`Unmarshalling the type 'ListClustersResponse' failed as data isn't a dictionary.`);
@@ -13040,7 +13387,7 @@ const jsonContentHeaders$c = {
13040
13387
  };
13041
13388
 
13042
13389
  /** Kubernetes API. */
13043
- let API$e = class API extends API$r {
13390
+ let API$e = class API extends API$s {
13044
13391
  /** Lists the available regions of the API. */
13045
13392
  static LOCALITIES = ['fr-par', 'nl-ams', 'pl-waw'];
13046
13393
  pageOfListClusters = (request = {}) => this.client.fetch({
@@ -13408,6 +13755,20 @@ let API$e = class API extends API$r {
13408
13755
  method: 'GET',
13409
13756
  path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/versions/${validatePathParam('versionName', request.versionName)}`
13410
13757
  }, unmarshalVersion$2);
13758
+ pageOfListClusterTypes = (request = {}) => this.client.fetch({
13759
+ method: 'GET',
13760
+ path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/cluster-types`,
13761
+ urlParams: urlParams(['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize])
13762
+ }, unmarshalListClusterTypesResponse);
13763
+
13764
+ /**
13765
+ * List cluster types. List available cluster types and their technical
13766
+ * details.
13767
+ *
13768
+ * @param request - The request {@link ListClusterTypesRequest}
13769
+ * @returns A Promise of ListClusterTypesResponse
13770
+ */
13771
+ listClusterTypes = (request = {}) => enrichForPagination('clusterTypes', this.pageOfListClusterTypes, request);
13411
13772
  };
13412
13773
 
13413
13774
  class K8SUtilsAPI extends API$e {
@@ -13458,6 +13819,15 @@ const CreatePoolRequest = {
13458
13819
  minLength: 1
13459
13820
  }
13460
13821
  };
13822
+ const ListClusterTypesRequest = {
13823
+ page: {
13824
+ greaterThan: 0
13825
+ },
13826
+ pageSize: {
13827
+ greaterThan: 0,
13828
+ lessThanOrEqual: 100
13829
+ }
13830
+ };
13461
13831
  const ListClustersRequest = {
13462
13832
  name: {
13463
13833
  minLength: 1
@@ -13518,6 +13888,7 @@ var validationRules_gen$1 = /*#__PURE__*/Object.freeze({
13518
13888
  CreateClusterRequestOpenIDConnectConfig: CreateClusterRequestOpenIDConnectConfig,
13519
13889
  CreateClusterRequestPoolConfig: CreateClusterRequestPoolConfig,
13520
13890
  CreatePoolRequest: CreatePoolRequest,
13891
+ ListClusterTypesRequest: ListClusterTypesRequest,
13521
13892
  ListClustersRequest: ListClustersRequest,
13522
13893
  ListNodesRequest: ListNodesRequest,
13523
13894
  ListPoolsRequest: ListPoolsRequest,
@@ -14199,6 +14570,7 @@ const marshalCreateFrontendRequest = (request, defaults) => ({
14199
14570
  timeout_client: request.timeoutClient
14200
14571
  });
14201
14572
  const marshalCreateIpRequest = (request, defaults) => ({
14573
+ is_ipv6: request.isIpv6,
14202
14574
  reverse: request.reverse,
14203
14575
  ...resolveOneOf([{
14204
14576
  default: defaults.defaultProjectId,
@@ -14211,8 +14583,10 @@ const marshalCreateIpRequest = (request, defaults) => ({
14211
14583
  }])
14212
14584
  });
14213
14585
  const marshalCreateLbRequest = (request, defaults) => ({
14586
+ assign_flexible_ip: request.assignFlexibleIp,
14214
14587
  description: request.description,
14215
14588
  ip_id: request.ipId,
14589
+ ip_ids: request.ipIds,
14216
14590
  name: request.name || randomName('lb'),
14217
14591
  ssl_compatibility_level: request.sslCompatibilityLevel ?? 'ssl_compatibility_level_unknown',
14218
14592
  tags: request.tags,
@@ -14421,6 +14795,7 @@ const marshalZonedApiCreateFrontendRequest = (request, defaults) => ({
14421
14795
  timeout_client: request.timeoutClient
14422
14796
  });
14423
14797
  const marshalZonedApiCreateIpRequest = (request, defaults) => ({
14798
+ is_ipv6: request.isIpv6,
14424
14799
  reverse: request.reverse,
14425
14800
  ...resolveOneOf([{
14426
14801
  default: defaults.defaultProjectId,
@@ -14433,8 +14808,10 @@ const marshalZonedApiCreateIpRequest = (request, defaults) => ({
14433
14808
  }])
14434
14809
  });
14435
14810
  const marshalZonedApiCreateLbRequest = (request, defaults) => ({
14811
+ assign_flexible_ip: request.assignFlexibleIp,
14436
14812
  description: request.description,
14437
14813
  ip_id: request.ipId,
14814
+ ip_ids: request.ipIds,
14438
14815
  name: request.name || randomName('lb'),
14439
14816
  ssl_compatibility_level: request.sslCompatibilityLevel ?? 'ssl_compatibility_level_unknown',
14440
14817
  tags: request.tags,
@@ -14593,7 +14970,7 @@ const jsonContentHeaders$b = {
14593
14970
  *
14594
14971
  * This API allows you to manage your load balancer service. Load balancer API.
14595
14972
  */
14596
- let API$d = class API extends API$r {
14973
+ let API$d = class API extends API$s {
14597
14974
  /** Lists the available regions of the API. */
14598
14975
  static LOCALITIES = ['fr-par', 'nl-ams', 'pl-waw'];
14599
14976
  pageOfListLbs = (request = {}) => this.client.fetch({
@@ -14699,7 +15076,7 @@ let API$d = class API extends API$r {
14699
15076
  * @param request - The request {@link CreateIpRequest}
14700
15077
  * @returns A Promise of Ip
14701
15078
  */
14702
- createIp = (request = {}) => this.client.fetch({
15079
+ createIp = request => this.client.fetch({
14703
15080
  body: JSON.stringify(marshalCreateIpRequest(request, this.client.settings)),
14704
15081
  headers: jsonContentHeaders$b,
14705
15082
  method: 'POST',
@@ -14987,7 +15364,7 @@ let API$d = class API extends API$r {
14987
15364
  pageOfListBackendStats = request => this.client.fetch({
14988
15365
  method: 'GET',
14989
15366
  path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/lbs/${validatePathParam('lbId', request.lbId)}/backend-stats`,
14990
- urlParams: urlParams(['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize])
15367
+ urlParams: urlParams(['backend_id', request.backendId], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize])
14991
15368
  }, unmarshalListBackendStatsResponse);
14992
15369
  listBackendStats = request => enrichForPagination('backendServersStats', this.pageOfListBackendStats, request);
14993
15370
  pageOfListAcls = request => this.client.fetch({
@@ -15263,7 +15640,7 @@ let API$d = class API extends API$r {
15263
15640
  * This API allows you to manage your Scaleway Load Balancer services. Load
15264
15641
  * Balancer API.
15265
15642
  */
15266
- class ZonedAPI extends API$r {
15643
+ class ZonedAPI extends API$s {
15267
15644
  /** Lists the available zones of the API. */
15268
15645
  static LOCALITIES = ['fr-par-1', 'fr-par-2', 'nl-ams-1', 'nl-ams-2', 'pl-waw-1', 'pl-waw-2'];
15269
15646
  pageOfListLbs = (request = {}) => this.client.fetch({
@@ -15387,7 +15764,7 @@ class ZonedAPI extends API$r {
15387
15764
  * @param request - The request {@link ZonedApiCreateIpRequest}
15388
15765
  * @returns A Promise of Ip
15389
15766
  */
15390
- createIp = (request = {}) => this.client.fetch({
15767
+ createIp = request => this.client.fetch({
15391
15768
  body: JSON.stringify(marshalZonedApiCreateIpRequest(request, this.client.settings)),
15392
15769
  headers: jsonContentHeaders$b,
15393
15770
  method: 'POST',
@@ -15726,7 +16103,7 @@ class ZonedAPI extends API$r {
15726
16103
  pageOfListBackendStats = request => this.client.fetch({
15727
16104
  method: 'GET',
15728
16105
  path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/lbs/${validatePathParam('lbId', request.lbId)}/backend-stats`,
15729
- urlParams: urlParams(['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize])
16106
+ urlParams: urlParams(['backend_id', request.backendId], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize])
15730
16107
  }, unmarshalListBackendStatsResponse);
15731
16108
 
15732
16109
  /**
@@ -16243,7 +16620,7 @@ const unmarshalListVersionsResponse$1 = data => {
16243
16620
  // This file was automatically generated. DO NOT EDIT.
16244
16621
  // If you have any remark or suggestion do not hesitate to open an issue.
16245
16622
  /** Marketplace API. */
16246
- let API$c = class API extends API$r {
16623
+ let API$c = class API extends API$s {
16247
16624
  pageOfListImages = (request = {}) => this.client.fetch({
16248
16625
  method: 'GET',
16249
16626
  path: `/marketplace/v1/images`,
@@ -16378,7 +16755,7 @@ const unmarshalListVersionsResponse = data => {
16378
16755
  // This file was automatically generated. DO NOT EDIT.
16379
16756
  // If you have any remark or suggestion do not hesitate to open an issue.
16380
16757
  /** Marketplace API. */
16381
- let API$b = class API extends API$r {
16758
+ let API$b = class API extends API$s {
16382
16759
  pageOfListImages = request => this.client.fetch({
16383
16760
  method: 'GET',
16384
16761
  path: `/marketplace/v2/images`,
@@ -16646,7 +17023,7 @@ const jsonContentHeaders$a = {
16646
17023
  * This API allows you to manage Scaleway Messaging and Queueing brokers.
16647
17024
  * Messaging and Queuing API.
16648
17025
  */
16649
- let API$a = class API extends API$r {
17026
+ let API$a = class API extends API$s {
16650
17027
  /** Lists the available regions of the API. */
16651
17028
  static LOCALITIES = ['fr-par'];
16652
17029
  pageOfListNamespaces = (request = {}) => this.client.fetch({
@@ -17518,7 +17895,7 @@ const jsonContentHeaders$9 = {
17518
17895
  };
17519
17896
 
17520
17897
  /** Managed Database for PostgreSQL and MySQL API. */
17521
- let API$9 = class API extends API$r {
17898
+ let API$9 = class API extends API$s {
17522
17899
  /** Lists the available regions of the API. */
17523
17900
  static LOCALITIES = ['fr-par', 'nl-ams', 'pl-waw'];
17524
17901
  pageOfListDatabaseEngines = (request = {}) => this.client.fetch({
@@ -18344,9 +18721,7 @@ let API$9 = class API extends API$r {
18344
18721
  /**
18345
18722
  * Create a new Database Instance endpoint. Create a new endpoint for a
18346
18723
  * Database Instance. You can add `load_balancer` and `private_network`
18347
- * specifications to the body of the request. Note that this action replaces
18348
- * your current endpoint, which means you might need to update any environment
18349
- * configurations that point to the old endpoint.
18724
+ * specifications to the body of the request.
18350
18725
  *
18351
18726
  * @param request - The request {@link CreateEndpointRequest}
18352
18727
  * @returns A Promise of Endpoint
@@ -18707,7 +19082,7 @@ const jsonContentHeaders$8 = {
18707
19082
  };
18708
19083
 
18709
19084
  /** Managed Database for Redis™ API. */
18710
- let API$8 = class API extends API$r {
19085
+ let API$8 = class API extends API$s {
18711
19086
  /** Lists the available zones of the API. */
18712
19087
  static LOCALITIES = ['fr-par-1', 'fr-par-2', 'nl-ams-1', 'nl-ams-2', 'pl-waw-1', 'pl-waw-2'];
18713
19088
 
@@ -19201,7 +19576,7 @@ const jsonContentHeaders$7 = {
19201
19576
  };
19202
19577
 
19203
19578
  /** Container Registry API. */
19204
- let API$7 = class API extends API$r {
19579
+ let API$7 = class API extends API$s {
19205
19580
  /** Lists the available regions of the API. */
19206
19581
  static LOCALITIES = ['fr-par', 'nl-ams', 'pl-waw'];
19207
19582
  pageOfListNamespaces = (request = {}) => this.client.fetch({
@@ -19542,7 +19917,7 @@ const jsonContentHeaders$6 = {
19542
19917
  * Secret Manager API. This API allows you to conveniently store, access and
19543
19918
  * share sensitive data.
19544
19919
  */
19545
- let API$6 = class API extends API$r {
19920
+ let API$6 = class API extends API$s {
19546
19921
  /** Lists the available regions of the API. */
19547
19922
  static LOCALITIES = ['fr-par'];
19548
19923
 
@@ -19923,7 +20298,7 @@ const jsonContentHeaders$5 = {
19923
20298
  * access-key. Then, you can use other test commands by setting the
19924
20299
  * SCW_SECRET_KEY env variable.
19925
20300
  */
19926
- let API$5 = class API extends API$r {
20301
+ let API$5 = class API extends API$s {
19927
20302
  /**
19928
20303
  * Register a user. Register a human and return a access-key and a secret-key
19929
20304
  * that must be used in all other commands.
@@ -20108,6 +20483,26 @@ const unmarshalDomain = data => {
20108
20483
  status: data.status
20109
20484
  };
20110
20485
  };
20486
+ const unmarshalDomainLastStatusDkimRecord = data => {
20487
+ if (!isJSONObject(data)) {
20488
+ throw new TypeError(`Unmarshalling the type 'DomainLastStatusDkimRecord' failed as data isn't a dictionary.`);
20489
+ }
20490
+ return {
20491
+ error: data.error,
20492
+ lastValidAt: unmarshalDate(data.last_valid_at),
20493
+ status: data.status
20494
+ };
20495
+ };
20496
+ const unmarshalDomainLastStatusSpfRecord = data => {
20497
+ if (!isJSONObject(data)) {
20498
+ throw new TypeError(`Unmarshalling the type 'DomainLastStatusSpfRecord' failed as data isn't a dictionary.`);
20499
+ }
20500
+ return {
20501
+ error: data.error,
20502
+ lastValidAt: unmarshalDate(data.last_valid_at),
20503
+ status: data.status
20504
+ };
20505
+ };
20111
20506
  const unmarshalEmail = data => {
20112
20507
  if (!isJSONObject(data)) {
20113
20508
  throw new TypeError(`Unmarshalling the type 'Email' failed as data isn't a dictionary.`);
@@ -20137,6 +20532,17 @@ const unmarshalCreateEmailResponse = data => {
20137
20532
  emails: unmarshalArrayOfObject(data.emails, unmarshalEmail)
20138
20533
  };
20139
20534
  };
20535
+ const unmarshalDomainLastStatus = data => {
20536
+ if (!isJSONObject(data)) {
20537
+ throw new TypeError(`Unmarshalling the type 'DomainLastStatus' failed as data isn't a dictionary.`);
20538
+ }
20539
+ return {
20540
+ dkimRecord: data.dkim_record ? unmarshalDomainLastStatusDkimRecord(data.dkim_record) : undefined,
20541
+ domainId: data.domain_id,
20542
+ domainName: data.domain_name,
20543
+ spfRecord: data.spf_record ? unmarshalDomainLastStatusSpfRecord(data.spf_record) : undefined
20544
+ };
20545
+ };
20140
20546
  const unmarshalListDomainsResponse = data => {
20141
20547
  if (!isJSONObject(data)) {
20142
20548
  throw new TypeError(`Unmarshalling the type 'ListDomainsResponse' failed as data isn't a dictionary.`);
@@ -20202,7 +20608,7 @@ const jsonContentHeaders$4 = {
20202
20608
  };
20203
20609
 
20204
20610
  /** Transactional Email API. */
20205
- let API$4 = class API extends API$r {
20611
+ let API$4 = class API extends API$s {
20206
20612
  /** Lists the available regions of the API. */
20207
20613
  static LOCALITIES = ['fr-par'];
20208
20614
 
@@ -20361,6 +20767,19 @@ let API$4 = class API extends API$r {
20361
20767
  method: 'POST',
20362
20768
  path: `/transactional-email/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/domains/${validatePathParam('domainId', request.domainId)}/check`
20363
20769
  }, unmarshalDomain);
20770
+
20771
+ /**
20772
+ * Display SPF and DKIM records status and potential errors. Display SPF and
20773
+ * DKIM records status and potential errors, including the found records to
20774
+ * make debugging easier.
20775
+ *
20776
+ * @param request - The request {@link GetDomainLastStatusRequest}
20777
+ * @returns A Promise of DomainLastStatus
20778
+ */
20779
+ getDomainLastStatus = request => this.client.fetch({
20780
+ method: 'GET',
20781
+ path: `/transactional-email/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/domains/${validatePathParam('domainId', request.domainId)}/verification`
20782
+ }, unmarshalDomainLastStatus);
20364
20783
  };
20365
20784
 
20366
20785
  // This file was automatically generated. DO NOT EDIT.
@@ -20424,7 +20843,7 @@ const jsonContentHeaders$3 = {
20424
20843
  };
20425
20844
 
20426
20845
  /** VPC API. */
20427
- let API$3 = class API extends API$r {
20846
+ let API$3 = class API extends API$s {
20428
20847
  /** Lists the available zones of the API. */
20429
20848
  static LOCALITIES = ['fr-par-1', 'fr-par-2', 'fr-par-3', 'nl-ams-1', 'nl-ams-2', 'pl-waw-1', 'pl-waw-2'];
20430
20849
  pageOfListPrivateNetworks = (request = {}) => this.client.fetch({
@@ -20605,6 +21024,7 @@ const marshalCreatePrivateNetworkRequest = (request, defaults) => ({
20605
21024
  vpc_id: request.vpcId
20606
21025
  });
20607
21026
  const marshalCreateVPCRequest = (request, defaults) => ({
21027
+ default_private_network_name: request.defaultPrivateNetworkName,
20608
21028
  name: request.name || randomName('vpc'),
20609
21029
  project_id: request.projectId ?? defaults.defaultProjectId,
20610
21030
  tags: request.tags
@@ -20643,7 +21063,7 @@ const jsonContentHeaders$2 = {
20643
21063
  };
20644
21064
 
20645
21065
  /** VPC API. */
20646
- let API$2 = class API extends API$r {
21066
+ let API$2 = class API extends API$s {
20647
21067
  /** Lists the available regions of the API. */
20648
21068
  static LOCALITIES = ['fr-par', 'nl-ams', 'pl-waw'];
20649
21069
  pageOfListVPCs = (request = {}) => this.client.fetch({
@@ -20666,7 +21086,7 @@ let API$2 = class API extends API$r {
20666
21086
  * @param request - The request {@link CreateVPCRequest}
20667
21087
  * @returns A Promise of VPC
20668
21088
  */
20669
- createVPC = (request = {}) => this.client.fetch({
21089
+ createVPC = request => this.client.fetch({
20670
21090
  body: JSON.stringify(marshalCreateVPCRequest(request, this.client.settings)),
20671
21091
  headers: jsonContentHeaders$2,
20672
21092
  method: 'POST',
@@ -21200,7 +21620,7 @@ const jsonContentHeaders$1 = {
21200
21620
  };
21201
21621
 
21202
21622
  /** Public Gateways API. */
21203
- let API$1 = class API extends API$r {
21623
+ let API$1 = class API extends API$s {
21204
21624
  /** Lists the available zones of the API. */
21205
21625
  static LOCALITIES = ['fr-par-1', 'fr-par-2', 'nl-ams-1', 'nl-ams-2', 'pl-waw-1', 'pl-waw-2'];
21206
21626
  pageOfListGateways = (request = {}) => this.client.fetch({
@@ -21908,7 +22328,7 @@ const jsonContentHeaders = {
21908
22328
  };
21909
22329
 
21910
22330
  /** Web Hosting API. */
21911
- class API extends API$r {
22331
+ class API extends API$s {
21912
22332
  /** Lists the available regions of the API. */
21913
22333
  static LOCALITIES = ['fr-par'];
21914
22334
 
@@ -22068,20 +22488,21 @@ var index = /*#__PURE__*/Object.freeze({
22068
22488
  v1alpha1: index_gen
22069
22489
  });
22070
22490
 
22071
- exports.API = API$r;
22072
- exports.Account = index$s;
22073
- exports.AppleSilicon = index$r;
22074
- exports.BareMetal = index$p;
22075
- exports.Billing = index$o;
22076
- exports.Cockpit = index$n;
22077
- exports.Container = index$m;
22078
- exports.Domain = index$l;
22079
- exports.Errors = index$t;
22080
- exports.FlexibleIP = index$k;
22081
- exports.Function = index$j;
22082
- exports.IAM = index$i;
22083
- exports.IOT = index$f;
22084
- exports.Instance = index$g;
22491
+ exports.API = API$s;
22492
+ exports.Account = index$t;
22493
+ exports.AppleSilicon = index$s;
22494
+ exports.BareMetal = index$q;
22495
+ exports.Billing = index$p;
22496
+ exports.Cockpit = index$o;
22497
+ exports.Container = index$n;
22498
+ exports.Domain = index$m;
22499
+ exports.Errors = index$u;
22500
+ exports.FlexibleIP = index$l;
22501
+ exports.Function = index$k;
22502
+ exports.IAM = index$j;
22503
+ exports.IOT = index$g;
22504
+ exports.IPFS = index$f;
22505
+ exports.Instance = index$h;
22085
22506
  exports.K8S = index$d;
22086
22507
  exports.LB = index$b;
22087
22508
  exports.MNQ = index$9;