@scaleway/sdk 1.34.0 → 1.36.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -497,7 +497,7 @@ const assertValidSettings = obj => {
497
497
  }
498
498
  };
499
499
 
500
- const version = 'v1.33.0';
500
+ const version = 'v1.35.0';
501
501
  const userAgent = `scaleway-sdk-js/${version}`;
502
502
 
503
503
  const isBrowser = () =>
@@ -2071,7 +2071,7 @@ const marshalUpdateProjectRequest = (request, defaults) => ({
2071
2071
 
2072
2072
  // This file was automatically generated. DO NOT EDIT.
2073
2073
  // If you have any remark or suggestion do not hesitate to open an issue.
2074
- const jsonContentHeaders$r = {
2074
+ const jsonContentHeaders$s = {
2075
2075
  'Content-Type': 'application/json; charset=utf-8'
2076
2076
  };
2077
2077
 
@@ -2092,7 +2092,7 @@ let API$t = class API extends API$u {
2092
2092
  */
2093
2093
  createProject = (request = {}) => this.client.fetch({
2094
2094
  body: JSON.stringify(marshalCreateProjectRequest(request, this.client.settings)),
2095
- headers: jsonContentHeaders$r,
2095
+ headers: jsonContentHeaders$s,
2096
2096
  method: 'POST',
2097
2097
  path: `/account/v2/projects`
2098
2098
  }, unmarshalProject$1);
@@ -2156,7 +2156,7 @@ let API$t = class API extends API$u {
2156
2156
  */
2157
2157
  updateProject = (request = {}) => this.client.fetch({
2158
2158
  body: JSON.stringify(marshalUpdateProjectRequest(request, this.client.settings)),
2159
- headers: jsonContentHeaders$r,
2159
+ headers: jsonContentHeaders$s,
2160
2160
  method: 'PATCH',
2161
2161
  path: `/account/v2/projects/${validatePathParam('projectId', request.projectId ?? this.client.settings.defaultProjectId)}`
2162
2162
  }, unmarshalProject$1);
@@ -2165,7 +2165,7 @@ let API$t = class API extends API$u {
2165
2165
  // This file was automatically generated. DO NOT EDIT.
2166
2166
  // If you have any remark or suggestion do not hesitate to open an issue.
2167
2167
 
2168
- var index_gen$q = /*#__PURE__*/Object.freeze({
2168
+ var index_gen$r = /*#__PURE__*/Object.freeze({
2169
2169
  __proto__: null,
2170
2170
  API: API$t
2171
2171
  });
@@ -2206,7 +2206,7 @@ const marshalProjectApiUpdateProjectRequest = (request, defaults) => ({
2206
2206
 
2207
2207
  // This file was automatically generated. DO NOT EDIT.
2208
2208
  // If you have any remark or suggestion do not hesitate to open an issue.
2209
- const jsonContentHeaders$q = {
2209
+ const jsonContentHeaders$r = {
2210
2210
  'Content-Type': 'application/json; charset=utf-8'
2211
2211
  };
2212
2212
 
@@ -2225,7 +2225,7 @@ class ProjectAPI extends API$u {
2225
2225
  */
2226
2226
  createProject = request => this.client.fetch({
2227
2227
  body: JSON.stringify(marshalProjectApiCreateProjectRequest(request, this.client.settings)),
2228
- headers: jsonContentHeaders$q,
2228
+ headers: jsonContentHeaders$r,
2229
2229
  method: 'POST',
2230
2230
  path: `/account/v3/projects`
2231
2231
  }, unmarshalProject);
@@ -2281,7 +2281,7 @@ class ProjectAPI extends API$u {
2281
2281
  */
2282
2282
  updateProject = (request = {}) => this.client.fetch({
2283
2283
  body: JSON.stringify(marshalProjectApiUpdateProjectRequest(request, this.client.settings)),
2284
- headers: jsonContentHeaders$q,
2284
+ headers: jsonContentHeaders$r,
2285
2285
  method: 'PATCH',
2286
2286
  path: `/account/v3/projects/${validatePathParam('projectId', request.projectId ?? this.client.settings.defaultProjectId)}`
2287
2287
  }, unmarshalProject);
@@ -2325,7 +2325,7 @@ const ProjectApiUpdateProjectRequest = {
2325
2325
  }
2326
2326
  };
2327
2327
 
2328
- var validationRules_gen$8 = /*#__PURE__*/Object.freeze({
2328
+ var validationRules_gen$9 = /*#__PURE__*/Object.freeze({
2329
2329
  __proto__: null,
2330
2330
  ProjectApiCreateProjectRequest: ProjectApiCreateProjectRequest,
2331
2331
  ProjectApiListProjectsRequest: ProjectApiListProjectsRequest,
@@ -2335,16 +2335,16 @@ var validationRules_gen$8 = /*#__PURE__*/Object.freeze({
2335
2335
  // This file was automatically generated. DO NOT EDIT.
2336
2336
  // If you have any remark or suggestion do not hesitate to open an issue.
2337
2337
 
2338
- var index_gen$p = /*#__PURE__*/Object.freeze({
2338
+ var index_gen$q = /*#__PURE__*/Object.freeze({
2339
2339
  __proto__: null,
2340
2340
  ProjectAPI: ProjectAPI,
2341
- ValidationRules: validationRules_gen$8
2341
+ ValidationRules: validationRules_gen$9
2342
2342
  });
2343
2343
 
2344
2344
  var index$v = /*#__PURE__*/Object.freeze({
2345
2345
  __proto__: null,
2346
- v2: index_gen$q,
2347
- v3: index_gen$p
2346
+ v2: index_gen$r,
2347
+ v3: index_gen$q
2348
2348
  });
2349
2349
 
2350
2350
  // This file was automatically generated. DO NOT EDIT.
@@ -2463,7 +2463,7 @@ const marshalUpdateServerRequest$2 = (request, defaults) => ({
2463
2463
 
2464
2464
  // This file was automatically generated. DO NOT EDIT.
2465
2465
  // If you have any remark or suggestion do not hesitate to open an issue.
2466
- const jsonContentHeaders$p = {
2466
+ const jsonContentHeaders$q = {
2467
2467
  'Content-Type': 'application/json; charset=utf-8'
2468
2468
  };
2469
2469
 
@@ -2506,7 +2506,7 @@ let API$s = class API extends API$u {
2506
2506
  */
2507
2507
  createServer = request => this.client.fetch({
2508
2508
  body: JSON.stringify(marshalCreateServerRequest$2(request, this.client.settings)),
2509
- headers: jsonContentHeaders$p,
2509
+ headers: jsonContentHeaders$q,
2510
2510
  method: 'POST',
2511
2511
  path: `/apple-silicon/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers`
2512
2512
  }, unmarshalServer$2);
@@ -2584,7 +2584,7 @@ let API$s = class API extends API$u {
2584
2584
  */
2585
2585
  updateServer = request => this.client.fetch({
2586
2586
  body: JSON.stringify(marshalUpdateServerRequest$2(request, this.client.settings)),
2587
- headers: jsonContentHeaders$p,
2587
+ headers: jsonContentHeaders$q,
2588
2588
  method: 'PATCH',
2589
2589
  path: `/apple-silicon/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}`
2590
2590
  }, unmarshalServer$2);
@@ -2611,7 +2611,7 @@ let API$s = class API extends API$u {
2611
2611
  */
2612
2612
  rebootServer = request => this.client.fetch({
2613
2613
  body: '{}',
2614
- headers: jsonContentHeaders$p,
2614
+ headers: jsonContentHeaders$q,
2615
2615
  method: 'POST',
2616
2616
  path: `/apple-silicon/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/reboot`
2617
2617
  }, unmarshalServer$2);
@@ -2627,7 +2627,7 @@ let API$s = class API extends API$u {
2627
2627
  */
2628
2628
  reinstallServer = request => this.client.fetch({
2629
2629
  body: '{}',
2630
- headers: jsonContentHeaders$p,
2630
+ headers: jsonContentHeaders$q,
2631
2631
  method: 'POST',
2632
2632
  path: `/apple-silicon/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/reinstall`
2633
2633
  }, unmarshalServer$2);
@@ -2636,7 +2636,7 @@ let API$s = class API extends API$u {
2636
2636
  // This file was automatically generated. DO NOT EDIT.
2637
2637
  // If you have any remark or suggestion do not hesitate to open an issue.
2638
2638
 
2639
- var index_gen$o = /*#__PURE__*/Object.freeze({
2639
+ var index_gen$p = /*#__PURE__*/Object.freeze({
2640
2640
  __proto__: null,
2641
2641
  API: API$s,
2642
2642
  SERVER_TRANSIENT_STATUSES: SERVER_TRANSIENT_STATUSES$2
@@ -2644,7 +2644,7 @@ var index_gen$o = /*#__PURE__*/Object.freeze({
2644
2644
 
2645
2645
  var index$u = /*#__PURE__*/Object.freeze({
2646
2646
  __proto__: null,
2647
- v1alpha1: index_gen$o
2647
+ v1alpha1: index_gen$p
2648
2648
  });
2649
2649
 
2650
2650
  // This file was automatically generated. DO NOT EDIT.
@@ -3062,7 +3062,7 @@ const marshalUpdateSettingRequest = (request, defaults) => ({
3062
3062
 
3063
3063
  // This file was automatically generated. DO NOT EDIT.
3064
3064
  // If you have any remark or suggestion do not hesitate to open an issue.
3065
- const jsonContentHeaders$o = {
3065
+ const jsonContentHeaders$p = {
3066
3066
  'Content-Type': 'application/json; charset=utf-8'
3067
3067
  };
3068
3068
 
@@ -3119,7 +3119,7 @@ let API$r = class API extends API$u {
3119
3119
  */
3120
3120
  createServer = request => this.client.fetch({
3121
3121
  body: JSON.stringify(marshalCreateServerRequest$1(request, this.client.settings)),
3122
- headers: jsonContentHeaders$o,
3122
+ headers: jsonContentHeaders$p,
3123
3123
  method: 'POST',
3124
3124
  path: `/baremetal/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers`
3125
3125
  }, unmarshalServer$1);
@@ -3134,7 +3134,7 @@ let API$r = class API extends API$u {
3134
3134
  */
3135
3135
  updateServer = request => this.client.fetch({
3136
3136
  body: JSON.stringify(marshalUpdateServerRequest$1(request, this.client.settings)),
3137
- headers: jsonContentHeaders$o,
3137
+ headers: jsonContentHeaders$p,
3138
3138
  method: 'PATCH',
3139
3139
  path: `/baremetal/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}`
3140
3140
  }, unmarshalServer$1);
@@ -3148,7 +3148,7 @@ let API$r = class API extends API$u {
3148
3148
  */
3149
3149
  installServer = request => this.client.fetch({
3150
3150
  body: JSON.stringify(marshalInstallServerRequest(request, this.client.settings)),
3151
- headers: jsonContentHeaders$o,
3151
+ headers: jsonContentHeaders$p,
3152
3152
  method: 'POST',
3153
3153
  path: `/baremetal/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/install`
3154
3154
  }, unmarshalServer$1);
@@ -3186,7 +3186,7 @@ let API$r = class API extends API$u {
3186
3186
  */
3187
3187
  rebootServer = request => this.client.fetch({
3188
3188
  body: JSON.stringify(marshalRebootServerRequest(request, this.client.settings)),
3189
- headers: jsonContentHeaders$o,
3189
+ headers: jsonContentHeaders$p,
3190
3190
  method: 'POST',
3191
3191
  path: `/baremetal/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/reboot`
3192
3192
  }, unmarshalServer$1);
@@ -3199,7 +3199,7 @@ let API$r = class API extends API$u {
3199
3199
  */
3200
3200
  startServer = request => this.client.fetch({
3201
3201
  body: JSON.stringify(marshalStartServerRequest(request, this.client.settings)),
3202
- headers: jsonContentHeaders$o,
3202
+ headers: jsonContentHeaders$p,
3203
3203
  method: 'POST',
3204
3204
  path: `/baremetal/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/start`
3205
3205
  }, unmarshalServer$1);
@@ -3214,7 +3214,7 @@ let API$r = class API extends API$u {
3214
3214
  */
3215
3215
  stopServer = request => this.client.fetch({
3216
3216
  body: '{}',
3217
- headers: jsonContentHeaders$o,
3217
+ headers: jsonContentHeaders$p,
3218
3218
  method: 'POST',
3219
3219
  path: `/baremetal/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/stop`
3220
3220
  }, unmarshalServer$1);
@@ -3252,7 +3252,7 @@ let API$r = class API extends API$u {
3252
3252
  */
3253
3253
  startBMCAccess = request => this.client.fetch({
3254
3254
  body: JSON.stringify(marshalStartBMCAccessRequest(request, this.client.settings)),
3255
- headers: jsonContentHeaders$o,
3255
+ headers: jsonContentHeaders$p,
3256
3256
  method: 'POST',
3257
3257
  path: `/baremetal/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/bmc-access`
3258
3258
  }, unmarshalBMCAccess);
@@ -3290,7 +3290,7 @@ let API$r = class API extends API$u {
3290
3290
  */
3291
3291
  updateIP = request => this.client.fetch({
3292
3292
  body: JSON.stringify(marshalUpdateIPRequest$1(request, this.client.settings)),
3293
- headers: jsonContentHeaders$o,
3293
+ headers: jsonContentHeaders$p,
3294
3294
  method: 'PATCH',
3295
3295
  path: `/baremetal/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/ips/${validatePathParam('ipId', request.ipId)}`
3296
3296
  }, unmarshalIP$1);
@@ -3304,7 +3304,7 @@ let API$r = class API extends API$u {
3304
3304
  */
3305
3305
  addOptionServer = request => this.client.fetch({
3306
3306
  body: JSON.stringify(marshalAddOptionServerRequest(request, this.client.settings)),
3307
- headers: jsonContentHeaders$o,
3307
+ headers: jsonContentHeaders$p,
3308
3308
  method: 'POST',
3309
3309
  path: `/baremetal/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/options/${validatePathParam('optionId', request.optionId)}`
3310
3310
  }, unmarshalServer$1);
@@ -3389,7 +3389,7 @@ let API$r = class API extends API$u {
3389
3389
  */
3390
3390
  updateSetting = request => this.client.fetch({
3391
3391
  body: JSON.stringify(marshalUpdateSettingRequest(request, this.client.settings)),
3392
- headers: jsonContentHeaders$o,
3392
+ headers: jsonContentHeaders$p,
3393
3393
  method: 'PATCH',
3394
3394
  path: `/baremetal/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/settings/${validatePathParam('settingId', request.settingId)}`
3395
3395
  }, unmarshalSetting);
@@ -3434,7 +3434,7 @@ class PrivateNetworkAPI extends API$u {
3434
3434
  */
3435
3435
  addServerPrivateNetwork = request => this.client.fetch({
3436
3436
  body: JSON.stringify(marshalPrivateNetworkApiAddServerPrivateNetworkRequest(request, this.client.settings)),
3437
- headers: jsonContentHeaders$o,
3437
+ headers: jsonContentHeaders$p,
3438
3438
  method: 'POST',
3439
3439
  path: `/baremetal/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/private-networks`
3440
3440
  }, unmarshalServerPrivateNetwork);
@@ -3448,7 +3448,7 @@ class PrivateNetworkAPI extends API$u {
3448
3448
  */
3449
3449
  setServerPrivateNetworks = request => this.client.fetch({
3450
3450
  body: JSON.stringify(marshalPrivateNetworkApiSetServerPrivateNetworksRequest(request, this.client.settings)),
3451
- headers: jsonContentHeaders$o,
3451
+ headers: jsonContentHeaders$p,
3452
3452
  method: 'PUT',
3453
3453
  path: `/baremetal/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/private-networks`
3454
3454
  }, unmarshalSetServerPrivateNetworksResponse);
@@ -3609,7 +3609,7 @@ const UpdateServerRequest = {
3609
3609
  }
3610
3610
  };
3611
3611
 
3612
- var validationRules_gen$7 = /*#__PURE__*/Object.freeze({
3612
+ var validationRules_gen$8 = /*#__PURE__*/Object.freeze({
3613
3613
  __proto__: null,
3614
3614
  CreateServerRequest: CreateServerRequest,
3615
3615
  CreateServerRequestInstall: CreateServerRequestInstall,
@@ -3630,7 +3630,7 @@ var index$t = /*#__PURE__*/Object.freeze({
3630
3630
  SERVER_INSTALL_TRANSIENT_STATUSES: SERVER_INSTALL_TRANSIENT_STATUSES,
3631
3631
  SERVER_PRIVATE_NETWORK_TRANSIENT_STATUSES: SERVER_PRIVATE_NETWORK_TRANSIENT_STATUSES,
3632
3632
  SERVER_TRANSIENT_STATUSES: SERVER_TRANSIENT_STATUSES$1,
3633
- ValidationRules: validationRules_gen$7
3633
+ ValidationRules: validationRules_gen$8
3634
3634
  });
3635
3635
 
3636
3636
  var index$s = /*#__PURE__*/Object.freeze({
@@ -3739,14 +3739,14 @@ let API$q = class API extends API$u {
3739
3739
  // This file was automatically generated. DO NOT EDIT.
3740
3740
  // If you have any remark or suggestion do not hesitate to open an issue.
3741
3741
 
3742
- var index_gen$n = /*#__PURE__*/Object.freeze({
3742
+ var index_gen$o = /*#__PURE__*/Object.freeze({
3743
3743
  __proto__: null,
3744
3744
  API: API$q
3745
3745
  });
3746
3746
 
3747
3747
  var index$r = /*#__PURE__*/Object.freeze({
3748
3748
  __proto__: null,
3749
- v2alpha1: index_gen$n
3749
+ v2alpha1: index_gen$o
3750
3750
  });
3751
3751
 
3752
3752
  // This file was automatically generated. DO NOT EDIT.
@@ -3920,6 +3920,13 @@ const marshalCreateVolumeRequest$2 = (request, defaults) => ({
3920
3920
  value: request.perfIops
3921
3921
  }], true)
3922
3922
  });
3923
+ const marshalImportSnapshotFromS3Request = (request, defaults) => ({
3924
+ bucket: request.bucket,
3925
+ key: request.key,
3926
+ name: request.name,
3927
+ project_id: request.projectId ?? defaults.defaultProjectId,
3928
+ tags: request.tags
3929
+ });
3923
3930
  const marshalUpdateSnapshotRequest$2 = (request, defaults) => ({
3924
3931
  name: request.name,
3925
3932
  tags: request.tags
@@ -3933,15 +3940,15 @@ const marshalUpdateVolumeRequest$2 = (request, defaults) => ({
3933
3940
 
3934
3941
  // This file was automatically generated. DO NOT EDIT.
3935
3942
  // If you have any remark or suggestion do not hesitate to open an issue.
3936
- const jsonContentHeaders$n = {
3943
+ const jsonContentHeaders$o = {
3937
3944
  'Content-Type': 'application/json; charset=utf-8'
3938
3945
  };
3939
3946
 
3940
3947
  /**
3941
- * Scaleway Block Storage (SBS) API.
3948
+ * Scaleway Block Storage API.
3942
3949
  *
3943
3950
  * This API allows you to use and manage your Block Storage volumes. Scaleway
3944
- * Block Storage (SBS) API.
3951
+ * Block Storage API.
3945
3952
  */
3946
3953
  let API$p = class API extends API$u {
3947
3954
  /** Lists the available zones of the API. */
@@ -3968,8 +3975,8 @@ let API$p = class API extends API$u {
3968
3975
 
3969
3976
  /**
3970
3977
  * List volumes. List all existing volumes in a specified zone. By default,
3971
- * the volume listed are ordered by creation date in ascending order. This can
3972
- * be modified via the `order_by` field.
3978
+ * the volumes listed are ordered by creation date in ascending order. This
3979
+ * can be modified via the `order_by` field.
3973
3980
  *
3974
3981
  * @param request - The request {@link ListVolumesRequest}
3975
3982
  * @returns A Promise of ListVolumesResponse
@@ -3977,20 +3984,19 @@ let API$p = class API extends API$u {
3977
3984
  listVolumes = (request = {}) => enrichForPagination('volumes', this.pageOfListVolumes, request);
3978
3985
 
3979
3986
  /**
3980
- * Create a new empty volume by specifying the `size`. To create a volume from
3981
- * an existing snapshot, specify the `snapshot_id` in the request payload
3987
+ * Create a volume. To create a new volume from scratch, you must specify
3988
+ * `from_empty` and the `size`. To create a volume from an existing snapshot,
3989
+ * specify `from_snapshot` and the `snapshot_id` in the request payload
3982
3990
  * instead, size is optional and can be specified if you need to extend the
3983
- * original size. In that case the created volume will have the same volume
3984
- * class (and underlying IOPS limitations) as the originating snapshot. You
3985
- * can specify the desired performance of the volume by setting `requirements`
3986
- * accordingly.
3991
+ * original size. The volume will take on the same volume class and underlying
3992
+ * IOPS limitations as the original snapshot.
3987
3993
  *
3988
3994
  * @param request - The request {@link CreateVolumeRequest}
3989
3995
  * @returns A Promise of Volume
3990
3996
  */
3991
3997
  createVolume = request => this.client.fetch({
3992
3998
  body: JSON.stringify(marshalCreateVolumeRequest$2(request, this.client.settings)),
3993
- headers: jsonContentHeaders$n,
3999
+ headers: jsonContentHeaders$o,
3994
4000
  method: 'POST',
3995
4001
  path: `/block/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/volumes`
3996
4002
  }, unmarshalVolume$4);
@@ -4028,17 +4034,17 @@ let API$p = class API extends API$u {
4028
4034
  });
4029
4035
 
4030
4036
  /**
4031
- * Update a volume. Update technical details about a volume, such as its name,
4032
- * tags, or its new size and `volume_type` (within the same Block Storage
4033
- * class). You can only resize a volume to a larger size. It is not possible
4034
- * for now to change your Block Storage Class.
4037
+ * Update a volume. Update the technical details of a volume, such as its
4038
+ * name, tags, or its new size and `volume_type` (within the same Block
4039
+ * Storage class). You can only resize a volume to a larger size. It is
4040
+ * currently not possible to change your Block Storage Class.
4035
4041
  *
4036
4042
  * @param request - The request {@link UpdateVolumeRequest}
4037
4043
  * @returns A Promise of Volume
4038
4044
  */
4039
4045
  updateVolume = request => this.client.fetch({
4040
4046
  body: JSON.stringify(marshalUpdateVolumeRequest$2(request, this.client.settings)),
4041
- headers: jsonContentHeaders$n,
4047
+ headers: jsonContentHeaders$o,
4042
4048
  method: 'PATCH',
4043
4049
  path: `/block/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/volumes/${validatePathParam('volumeId', request.volumeId)}`
4044
4050
  }, unmarshalVolume$4);
@@ -4090,10 +4096,16 @@ let API$p = class API extends API$u {
4090
4096
  */
4091
4097
  createSnapshot = request => this.client.fetch({
4092
4098
  body: JSON.stringify(marshalCreateSnapshotRequest$3(request, this.client.settings)),
4093
- headers: jsonContentHeaders$n,
4099
+ headers: jsonContentHeaders$o,
4094
4100
  method: 'POST',
4095
4101
  path: `/block/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/snapshots`
4096
4102
  }, unmarshalSnapshot$3);
4103
+ importSnapshotFromS3 = request => this.client.fetch({
4104
+ body: JSON.stringify(marshalImportSnapshotFromS3Request(request, this.client.settings)),
4105
+ headers: jsonContentHeaders$o,
4106
+ method: 'POST',
4107
+ path: `/block/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/snapshots/import-from-s3`
4108
+ }, unmarshalSnapshot$3);
4097
4109
 
4098
4110
  /**
4099
4111
  * Delete a snapshot. You must specify the `snapshot_id` of the snapshot you
@@ -4107,14 +4119,14 @@ let API$p = class API extends API$u {
4107
4119
  });
4108
4120
 
4109
4121
  /**
4110
- * Update a snapshot. Update name or tags of the snapshot.
4122
+ * Update a snapshot. Update the name or tags of the snapshot.
4111
4123
  *
4112
4124
  * @param request - The request {@link UpdateSnapshotRequest}
4113
4125
  * @returns A Promise of Snapshot
4114
4126
  */
4115
4127
  updateSnapshot = request => this.client.fetch({
4116
4128
  body: JSON.stringify(marshalUpdateSnapshotRequest$2(request, this.client.settings)),
4117
- headers: jsonContentHeaders$n,
4129
+ headers: jsonContentHeaders$o,
4118
4130
  method: 'PATCH',
4119
4131
  path: `/block/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/snapshots/${validatePathParam('snapshotId', request.snapshotId)}`
4120
4132
  }, unmarshalSnapshot$3);
@@ -4133,6 +4145,11 @@ const CreateVolumeRequest = {
4133
4145
  minLength: 1
4134
4146
  }
4135
4147
  };
4148
+ const ImportSnapshotFromS3Request = {
4149
+ name: {
4150
+ minLength: 1
4151
+ }
4152
+ };
4136
4153
  const ListSnapshotsRequest = {
4137
4154
  page: {
4138
4155
  greaterThan: 0
@@ -4161,10 +4178,11 @@ const ListVolumesRequest = {
4161
4178
  }
4162
4179
  };
4163
4180
 
4164
- var validationRules_gen$6 = /*#__PURE__*/Object.freeze({
4181
+ var validationRules_gen$7 = /*#__PURE__*/Object.freeze({
4165
4182
  __proto__: null,
4166
4183
  CreateSnapshotRequest: CreateSnapshotRequest,
4167
4184
  CreateVolumeRequest: CreateVolumeRequest,
4185
+ ImportSnapshotFromS3Request: ImportSnapshotFromS3Request,
4168
4186
  ListSnapshotsRequest: ListSnapshotsRequest,
4169
4187
  ListVolumeTypesRequest: ListVolumeTypesRequest,
4170
4188
  ListVolumesRequest: ListVolumesRequest
@@ -4173,18 +4191,18 @@ var validationRules_gen$6 = /*#__PURE__*/Object.freeze({
4173
4191
  // This file was automatically generated. DO NOT EDIT.
4174
4192
  // If you have any remark or suggestion do not hesitate to open an issue.
4175
4193
 
4176
- var index_gen$m = /*#__PURE__*/Object.freeze({
4194
+ var index_gen$n = /*#__PURE__*/Object.freeze({
4177
4195
  __proto__: null,
4178
4196
  API: API$p,
4179
4197
  REFERENCE_TRANSIENT_STATUSES: REFERENCE_TRANSIENT_STATUSES,
4180
4198
  SNAPSHOT_TRANSIENT_STATUSES: SNAPSHOT_TRANSIENT_STATUSES$3,
4181
4199
  VOLUME_TRANSIENT_STATUSES: VOLUME_TRANSIENT_STATUSES$1,
4182
- ValidationRules: validationRules_gen$6
4200
+ ValidationRules: validationRules_gen$7
4183
4201
  });
4184
4202
 
4185
4203
  var index$q = /*#__PURE__*/Object.freeze({
4186
4204
  __proto__: null,
4187
- v1alpha1: index_gen$m
4205
+ v1alpha1: index_gen$n
4188
4206
  });
4189
4207
 
4190
4208
  // This file was automatically generated. DO NOT EDIT.
@@ -4238,6 +4256,30 @@ const unmarshalContactPoint = data => {
4238
4256
  email: data.email ? unmarshalContactPointEmail(data.email) : undefined
4239
4257
  };
4240
4258
  };
4259
+ const unmarshalDatasource = data => {
4260
+ if (!isJSONObject(data)) {
4261
+ throw new TypeError(`Unmarshalling the type 'Datasource' failed as data isn't a dictionary.`);
4262
+ }
4263
+ return {
4264
+ id: data.id,
4265
+ name: data.name,
4266
+ projectId: data.project_id,
4267
+ type: data.type,
4268
+ url: data.url
4269
+ };
4270
+ };
4271
+ const unmarshalGrafanaProductDashboard = data => {
4272
+ if (!isJSONObject(data)) {
4273
+ throw new TypeError(`Unmarshalling the type 'GrafanaProductDashboard' failed as data isn't a dictionary.`);
4274
+ }
4275
+ return {
4276
+ dashboardName: data.dashboard_name,
4277
+ tags: data.tags,
4278
+ title: data.title,
4279
+ url: data.url,
4280
+ variables: data.variables
4281
+ };
4282
+ };
4241
4283
  const unmarshalGrafanaUser = data => {
4242
4284
  if (!isJSONObject(data)) {
4243
4285
  throw new TypeError(`Unmarshalling the type 'GrafanaUser' failed as data isn't a dictionary.`);
@@ -4299,18 +4341,6 @@ const unmarshalCockpitMetrics = data => {
4299
4341
  timeseries: unmarshalArrayOfObject(data.timeseries, unmarshalTimeSeries)
4300
4342
  };
4301
4343
  };
4302
- const unmarshalDatasource = data => {
4303
- if (!isJSONObject(data)) {
4304
- throw new TypeError(`Unmarshalling the type 'Datasource' failed as data isn't a dictionary.`);
4305
- }
4306
- return {
4307
- id: data.id,
4308
- name: data.name,
4309
- projectId: data.project_id,
4310
- type: data.type,
4311
- url: data.url
4312
- };
4313
- };
4314
4344
  const unmarshalListContactPointsResponse = data => {
4315
4345
  if (!isJSONObject(data)) {
4316
4346
  throw new TypeError(`Unmarshalling the type 'ListContactPointsResponse' failed as data isn't a dictionary.`);
@@ -4322,6 +4352,24 @@ const unmarshalListContactPointsResponse = data => {
4322
4352
  totalCount: data.total_count
4323
4353
  };
4324
4354
  };
4355
+ const unmarshalListDatasourcesResponse = data => {
4356
+ if (!isJSONObject(data)) {
4357
+ throw new TypeError(`Unmarshalling the type 'ListDatasourcesResponse' failed as data isn't a dictionary.`);
4358
+ }
4359
+ return {
4360
+ datasources: unmarshalArrayOfObject(data.datasources, unmarshalDatasource),
4361
+ totalCount: data.total_count
4362
+ };
4363
+ };
4364
+ const unmarshalListGrafanaProductDashboardsResponse = data => {
4365
+ if (!isJSONObject(data)) {
4366
+ throw new TypeError(`Unmarshalling the type 'ListGrafanaProductDashboardsResponse' failed as data isn't a dictionary.`);
4367
+ }
4368
+ return {
4369
+ dashboards: unmarshalArrayOfObject(data.dashboards, unmarshalGrafanaProductDashboard),
4370
+ totalCount: data.total_count
4371
+ };
4372
+ };
4325
4373
  const unmarshalListGrafanaUsersResponse = data => {
4326
4374
  if (!isJSONObject(data)) {
4327
4375
  throw new TypeError(`Unmarshalling the type 'ListGrafanaUsersResponse' failed as data isn't a dictionary.`);
@@ -4429,7 +4477,7 @@ const marshalTriggerTestAlertRequest = (request, defaults) => ({
4429
4477
 
4430
4478
  // This file was automatically generated. DO NOT EDIT.
4431
4479
  // If you have any remark or suggestion do not hesitate to open an issue.
4432
- const jsonContentHeaders$m = {
4480
+ const jsonContentHeaders$n = {
4433
4481
  'Content-Type': 'application/json; charset=utf-8'
4434
4482
  };
4435
4483
 
@@ -4449,7 +4497,7 @@ let API$o = class API extends API$u {
4449
4497
  */
4450
4498
  activateCockpit = (request = {}) => this.client.fetch({
4451
4499
  body: JSON.stringify(marshalActivateCockpitRequest(request, this.client.settings)),
4452
- headers: jsonContentHeaders$m,
4500
+ headers: jsonContentHeaders$n,
4453
4501
  method: 'POST',
4454
4502
  path: `/cockpit/v1beta1/activate`
4455
4503
  }, unmarshalCockpit);
@@ -4495,7 +4543,7 @@ let API$o = class API extends API$u {
4495
4543
  */
4496
4544
  deactivateCockpit = (request = {}) => this.client.fetch({
4497
4545
  body: JSON.stringify(marshalDeactivateCockpitRequest(request, this.client.settings)),
4498
- headers: jsonContentHeaders$m,
4546
+ headers: jsonContentHeaders$n,
4499
4547
  method: 'POST',
4500
4548
  path: `/cockpit/v1beta1/deactivate`
4501
4549
  }, unmarshalCockpit);
@@ -4508,7 +4556,7 @@ let API$o = class API extends API$u {
4508
4556
  */
4509
4557
  resetCockpitGrafana = (request = {}) => this.client.fetch({
4510
4558
  body: JSON.stringify(marshalResetCockpitGrafanaRequest(request, this.client.settings)),
4511
- headers: jsonContentHeaders$m,
4559
+ headers: jsonContentHeaders$n,
4512
4560
  method: 'POST',
4513
4561
  path: `/cockpit/v1beta1/reset-grafana`
4514
4562
  }, unmarshalCockpit);
@@ -4521,10 +4569,23 @@ let API$o = class API extends API$u {
4521
4569
  */
4522
4570
  createDatasource = request => this.client.fetch({
4523
4571
  body: JSON.stringify(marshalCreateDatasourceRequest(request, this.client.settings)),
4524
- headers: jsonContentHeaders$m,
4572
+ headers: jsonContentHeaders$n,
4525
4573
  method: 'POST',
4526
4574
  path: `/cockpit/v1beta1/datasources`
4527
4575
  }, unmarshalDatasource);
4576
+ pageOfListDatasources = (request = {}) => this.client.fetch({
4577
+ method: 'GET',
4578
+ path: `/cockpit/v1beta1/datasources`,
4579
+ 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], ['types', request.types])
4580
+ }, unmarshalListDatasourcesResponse);
4581
+
4582
+ /**
4583
+ * Get a list of datasources for the specified Project ID.
4584
+ *
4585
+ * @param request - The request {@link ListDatasourcesRequest}
4586
+ * @returns A Promise of ListDatasourcesResponse
4587
+ */
4588
+ listDatasources = (request = {}) => enrichForPagination('datasources', this.pageOfListDatasources, request);
4528
4589
 
4529
4590
  /**
4530
4591
  * Create a token associated with the specified Project ID.
@@ -4534,7 +4595,7 @@ let API$o = class API extends API$u {
4534
4595
  */
4535
4596
  createToken = (request = {}) => this.client.fetch({
4536
4597
  body: JSON.stringify(marshalCreateTokenRequest$2(request, this.client.settings)),
4537
- headers: jsonContentHeaders$m,
4598
+ headers: jsonContentHeaders$n,
4538
4599
  method: 'POST',
4539
4600
  path: `/cockpit/v1beta1/tokens`
4540
4601
  }, unmarshalToken$2);
@@ -4581,7 +4642,7 @@ let API$o = class API extends API$u {
4581
4642
  */
4582
4643
  createContactPoint = (request = {}) => this.client.fetch({
4583
4644
  body: JSON.stringify(marshalCreateContactPointRequest(request, this.client.settings)),
4584
- headers: jsonContentHeaders$m,
4645
+ headers: jsonContentHeaders$n,
4585
4646
  method: 'POST',
4586
4647
  path: `/cockpit/v1beta1/contact-points`
4587
4648
  }, unmarshalContactPoint);
@@ -4607,7 +4668,7 @@ let API$o = class API extends API$u {
4607
4668
  */
4608
4669
  deleteContactPoint = (request = {}) => this.client.fetch({
4609
4670
  body: JSON.stringify(marshalDeleteContactPointRequest(request, this.client.settings)),
4610
- headers: jsonContentHeaders$m,
4671
+ headers: jsonContentHeaders$n,
4611
4672
  method: 'POST',
4612
4673
  path: `/cockpit/v1beta1/delete-contact-point`
4613
4674
  });
@@ -4619,7 +4680,7 @@ let API$o = class API extends API$u {
4619
4680
  */
4620
4681
  enableManagedAlerts = (request = {}) => this.client.fetch({
4621
4682
  body: JSON.stringify(marshalEnableManagedAlertsRequest(request, this.client.settings)),
4622
- headers: jsonContentHeaders$m,
4683
+ headers: jsonContentHeaders$n,
4623
4684
  method: 'POST',
4624
4685
  path: `/cockpit/v1beta1/enable-managed-alerts`
4625
4686
  });
@@ -4631,7 +4692,7 @@ let API$o = class API extends API$u {
4631
4692
  */
4632
4693
  disableManagedAlerts = (request = {}) => this.client.fetch({
4633
4694
  body: JSON.stringify(marshalDisableManagedAlertsRequest(request, this.client.settings)),
4634
- headers: jsonContentHeaders$m,
4695
+ headers: jsonContentHeaders$n,
4635
4696
  method: 'POST',
4636
4697
  path: `/cockpit/v1beta1/disable-managed-alerts`
4637
4698
  });
@@ -4643,7 +4704,7 @@ let API$o = class API extends API$u {
4643
4704
  */
4644
4705
  triggerTestAlert = (request = {}) => this.client.fetch({
4645
4706
  body: JSON.stringify(marshalTriggerTestAlertRequest(request, this.client.settings)),
4646
- headers: jsonContentHeaders$m,
4707
+ headers: jsonContentHeaders$n,
4647
4708
  method: 'POST',
4648
4709
  path: `/cockpit/v1beta1/trigger-test-alert`
4649
4710
  });
@@ -4657,7 +4718,7 @@ let API$o = class API extends API$u {
4657
4718
  */
4658
4719
  createGrafanaUser = request => this.client.fetch({
4659
4720
  body: JSON.stringify(marshalCreateGrafanaUserRequest(request, this.client.settings)),
4660
- headers: jsonContentHeaders$m,
4721
+ headers: jsonContentHeaders$n,
4661
4722
  method: 'POST',
4662
4723
  path: `/cockpit/v1beta1/grafana-users`
4663
4724
  }, unmarshalGrafanaUser);
@@ -4684,7 +4745,7 @@ let API$o = class API extends API$u {
4684
4745
  */
4685
4746
  deleteGrafanaUser = request => this.client.fetch({
4686
4747
  body: JSON.stringify(marshalDeleteGrafanaUserRequest(request, this.client.settings)),
4687
- headers: jsonContentHeaders$m,
4748
+ headers: jsonContentHeaders$n,
4688
4749
  method: 'POST',
4689
4750
  path: `/cockpit/v1beta1/grafana-users/${validatePathParam('grafanaUserId', request.grafanaUserId)}/delete`
4690
4751
  });
@@ -4698,7 +4759,7 @@ let API$o = class API extends API$u {
4698
4759
  */
4699
4760
  resetGrafanaUserPassword = request => this.client.fetch({
4700
4761
  body: JSON.stringify(marshalResetGrafanaUserPasswordRequest(request, this.client.settings)),
4701
- headers: jsonContentHeaders$m,
4762
+ headers: jsonContentHeaders$n,
4702
4763
  method: 'POST',
4703
4764
  path: `/cockpit/v1beta1/grafana-users/${validatePathParam('grafanaUserId', request.grafanaUserId)}/reset-password`
4704
4765
  }, unmarshalGrafanaUser);
@@ -4725,16 +4786,42 @@ let API$o = class API extends API$u {
4725
4786
  */
4726
4787
  selectPlan = request => this.client.fetch({
4727
4788
  body: JSON.stringify(marshalSelectPlanRequest(request, this.client.settings)),
4728
- headers: jsonContentHeaders$m,
4789
+ headers: jsonContentHeaders$n,
4729
4790
  method: 'POST',
4730
4791
  path: `/cockpit/v1beta1/select-plan`
4731
4792
  }, unmarshalSelectPlanResponse);
4793
+ pageOfListGrafanaProductDashboards = (request = {}) => this.client.fetch({
4794
+ method: 'GET',
4795
+ path: `/cockpit/v1beta1/grafana-product-dashboards`,
4796
+ urlParams: urlParams(['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['project_id', request.projectId ?? this.client.settings.defaultProjectId], ['tags', request.tags])
4797
+ }, unmarshalListGrafanaProductDashboardsResponse);
4798
+
4799
+ /**
4800
+ * List product dashboards. Get a list of available product dashboards.
4801
+ *
4802
+ * @param request - The request {@link ListGrafanaProductDashboardsRequest}
4803
+ * @returns A Promise of ListGrafanaProductDashboardsResponse
4804
+ */
4805
+ listGrafanaProductDashboards = (request = {}) => enrichForPagination('dashboards', this.pageOfListGrafanaProductDashboards, request);
4806
+
4807
+ /**
4808
+ * Get a product dashboard. Get a product dashboard specified by the dashboard
4809
+ * ID.
4810
+ *
4811
+ * @param request - The request {@link GetGrafanaProductDashboardRequest}
4812
+ * @returns A Promise of GrafanaProductDashboard
4813
+ */
4814
+ getGrafanaProductDashboard = request => this.client.fetch({
4815
+ method: 'GET',
4816
+ path: `/cockpit/v1beta1/grafana-product-dashboards/${validatePathParam('dashboardName', request.dashboardName)}`,
4817
+ urlParams: urlParams(['project_id', request.projectId ?? this.client.settings.defaultProjectId])
4818
+ }, unmarshalGrafanaProductDashboard);
4732
4819
  };
4733
4820
 
4734
4821
  // This file was automatically generated. DO NOT EDIT.
4735
4822
  // If you have any remark or suggestion do not hesitate to open an issue.
4736
4823
 
4737
- var index_gen$l = /*#__PURE__*/Object.freeze({
4824
+ var index_gen$m = /*#__PURE__*/Object.freeze({
4738
4825
  __proto__: null,
4739
4826
  API: API$o,
4740
4827
  COCKPIT_TRANSIENT_STATUSES: COCKPIT_TRANSIENT_STATUSES
@@ -4742,7 +4829,7 @@ var index_gen$l = /*#__PURE__*/Object.freeze({
4742
4829
 
4743
4830
  var index$p = /*#__PURE__*/Object.freeze({
4744
4831
  __proto__: null,
4745
- v1beta1: index_gen$l
4832
+ v1beta1: index_gen$m
4746
4833
  });
4747
4834
 
4748
4835
  // This file was automatically generated. DO NOT EDIT.
@@ -4995,6 +5082,7 @@ const unmarshalListTriggersResponse$1 = data => {
4995
5082
  };
4996
5083
  const marshalCreateTriggerRequestMnqNatsClientConfig$1 = (request, defaults) => ({
4997
5084
  mnq_namespace_id: request.mnqNamespaceId,
5085
+ mnq_nats_account_id: request.mnqNatsAccountId,
4998
5086
  mnq_project_id: request.mnqProjectId,
4999
5087
  mnq_region: request.mnqRegion,
5000
5088
  subject: request.subject
@@ -5119,7 +5207,7 @@ const marshalUpdateTriggerRequest$1 = (request, defaults) => ({
5119
5207
 
5120
5208
  // This file was automatically generated. DO NOT EDIT.
5121
5209
  // If you have any remark or suggestion do not hesitate to open an issue.
5122
- const jsonContentHeaders$l = {
5210
+ const jsonContentHeaders$m = {
5123
5211
  'Content-Type': 'application/json; charset=utf-8'
5124
5212
  };
5125
5213
 
@@ -5169,7 +5257,7 @@ let API$n = class API extends API$u {
5169
5257
  */
5170
5258
  createNamespace = (request = {}) => this.client.fetch({
5171
5259
  body: JSON.stringify(marshalCreateNamespaceRequest$3(request, this.client.settings)),
5172
- headers: jsonContentHeaders$l,
5260
+ headers: jsonContentHeaders$m,
5173
5261
  method: 'POST',
5174
5262
  path: `/containers/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/namespaces`
5175
5263
  }, unmarshalNamespace$3);
@@ -5183,7 +5271,7 @@ let API$n = class API extends API$u {
5183
5271
  */
5184
5272
  updateNamespace = request => this.client.fetch({
5185
5273
  body: JSON.stringify(marshalUpdateNamespaceRequest$3(request, this.client.settings)),
5186
- headers: jsonContentHeaders$l,
5274
+ headers: jsonContentHeaders$m,
5187
5275
  method: 'PATCH',
5188
5276
  path: `/containers/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/namespaces/${validatePathParam('namespaceId', request.namespaceId)}`
5189
5277
  }, unmarshalNamespace$3);
@@ -5241,7 +5329,7 @@ let API$n = class API extends API$u {
5241
5329
  */
5242
5330
  createContainer = request => this.client.fetch({
5243
5331
  body: JSON.stringify(marshalCreateContainerRequest(request, this.client.settings)),
5244
- headers: jsonContentHeaders$l,
5332
+ headers: jsonContentHeaders$m,
5245
5333
  method: 'POST',
5246
5334
  path: `/containers/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/containers`
5247
5335
  }, unmarshalContainer);
@@ -5255,7 +5343,7 @@ let API$n = class API extends API$u {
5255
5343
  */
5256
5344
  updateContainer = request => this.client.fetch({
5257
5345
  body: JSON.stringify(marshalUpdateContainerRequest(request, this.client.settings)),
5258
- headers: jsonContentHeaders$l,
5346
+ headers: jsonContentHeaders$m,
5259
5347
  method: 'PATCH',
5260
5348
  path: `/containers/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/containers/${validatePathParam('containerId', request.containerId)}`
5261
5349
  }, unmarshalContainer);
@@ -5279,7 +5367,7 @@ let API$n = class API extends API$u {
5279
5367
  */
5280
5368
  deployContainer = request => this.client.fetch({
5281
5369
  body: '{}',
5282
- headers: jsonContentHeaders$l,
5370
+ headers: jsonContentHeaders$m,
5283
5371
  method: 'POST',
5284
5372
  path: `/containers/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/containers/${validatePathParam('containerId', request.containerId)}/deploy`
5285
5373
  }, unmarshalContainer);
@@ -5325,7 +5413,7 @@ let API$n = class API extends API$u {
5325
5413
  */
5326
5414
  createCron = request => this.client.fetch({
5327
5415
  body: JSON.stringify(marshalCreateCronRequest$1(request, this.client.settings)),
5328
- headers: jsonContentHeaders$l,
5416
+ headers: jsonContentHeaders$m,
5329
5417
  method: 'POST',
5330
5418
  path: `/containers/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/crons`
5331
5419
  }, unmarshalCron$1);
@@ -5338,7 +5426,7 @@ let API$n = class API extends API$u {
5338
5426
  */
5339
5427
  updateCron = request => this.client.fetch({
5340
5428
  body: JSON.stringify(marshalUpdateCronRequest$1(request, this.client.settings)),
5341
- headers: jsonContentHeaders$l,
5429
+ headers: jsonContentHeaders$m,
5342
5430
  method: 'PATCH',
5343
5431
  path: `/containers/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/crons/${validatePathParam('cronId', request.cronId)}`
5344
5432
  }, unmarshalCron$1);
@@ -5412,7 +5500,7 @@ let API$n = class API extends API$u {
5412
5500
  */
5413
5501
  createDomain = request => this.client.fetch({
5414
5502
  body: JSON.stringify(marshalCreateDomainRequest$2(request, this.client.settings)),
5415
- headers: jsonContentHeaders$l,
5503
+ headers: jsonContentHeaders$m,
5416
5504
  method: 'POST',
5417
5505
  path: `/containers/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/domains`
5418
5506
  }, unmarshalDomain$3);
@@ -5454,7 +5542,7 @@ let API$n = class API extends API$u {
5454
5542
  */
5455
5543
  createToken = (request = {}) => this.client.fetch({
5456
5544
  body: JSON.stringify(marshalCreateTokenRequest$1(request, this.client.settings)),
5457
- headers: jsonContentHeaders$l,
5545
+ headers: jsonContentHeaders$m,
5458
5546
  method: 'POST',
5459
5547
  path: `/containers/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/tokens`
5460
5548
  }, unmarshalToken$1);
@@ -5512,7 +5600,7 @@ let API$n = class API extends API$u {
5512
5600
  */
5513
5601
  createTrigger = request => this.client.fetch({
5514
5602
  body: JSON.stringify(marshalCreateTriggerRequest$1(request, this.client.settings)),
5515
- headers: jsonContentHeaders$l,
5603
+ headers: jsonContentHeaders$m,
5516
5604
  method: 'POST',
5517
5605
  path: `/containers/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/triggers`
5518
5606
  }, unmarshalTrigger$1);
@@ -5569,7 +5657,7 @@ let API$n = class API extends API$u {
5569
5657
  */
5570
5658
  updateTrigger = request => this.client.fetch({
5571
5659
  body: JSON.stringify(marshalUpdateTriggerRequest$1(request, this.client.settings)),
5572
- headers: jsonContentHeaders$l,
5660
+ headers: jsonContentHeaders$m,
5573
5661
  method: 'PATCH',
5574
5662
  path: `/containers/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/triggers/${validatePathParam('triggerId', request.triggerId)}`
5575
5663
  }, unmarshalTrigger$1);
@@ -5589,7 +5677,7 @@ let API$n = class API extends API$u {
5589
5677
  // This file was automatically generated. DO NOT EDIT.
5590
5678
  // If you have any remark or suggestion do not hesitate to open an issue.
5591
5679
 
5592
- var index_gen$k = /*#__PURE__*/Object.freeze({
5680
+ var index_gen$l = /*#__PURE__*/Object.freeze({
5593
5681
  __proto__: null,
5594
5682
  API: API$n,
5595
5683
  CONTAINER_TRANSIENT_STATUSES: CONTAINER_TRANSIENT_STATUSES,
@@ -5602,7 +5690,7 @@ var index_gen$k = /*#__PURE__*/Object.freeze({
5602
5690
 
5603
5691
  var index$o = /*#__PURE__*/Object.freeze({
5604
5692
  __proto__: null,
5605
- v1beta1: index_gen$k
5693
+ v1beta1: index_gen$l
5606
5694
  });
5607
5695
 
5608
5696
  // This file was automatically generated. DO NOT EDIT.
@@ -6255,7 +6343,7 @@ const marshalUpgradeInstanceRequest$1 = (request, defaults) => ({
6255
6343
 
6256
6344
  // This file was automatically generated. DO NOT EDIT.
6257
6345
  // If you have any remark or suggestion do not hesitate to open an issue.
6258
- const jsonContentHeaders$k = {
6346
+ const jsonContentHeaders$l = {
6259
6347
  'Content-Type': 'application/json; charset=utf-8'
6260
6348
  };
6261
6349
 
@@ -6304,7 +6392,7 @@ let API$m = class API extends API$u {
6304
6392
  */
6305
6393
  upgradeInstance = request => this.client.fetch({
6306
6394
  body: JSON.stringify(marshalUpgradeInstanceRequest$1(request, this.client.settings)),
6307
- headers: jsonContentHeaders$k,
6395
+ headers: jsonContentHeaders$l,
6308
6396
  method: 'POST',
6309
6397
  path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/upgrade`
6310
6398
  }, unmarshalInstance$2);
@@ -6362,7 +6450,7 @@ let API$m = class API extends API$u {
6362
6450
  */
6363
6451
  createInstance = request => this.client.fetch({
6364
6452
  body: JSON.stringify(marshalCreateInstanceRequest$1(request, this.client.settings)),
6365
- headers: jsonContentHeaders$k,
6453
+ headers: jsonContentHeaders$l,
6366
6454
  method: 'POST',
6367
6455
  path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances`
6368
6456
  }, unmarshalInstance$2);
@@ -6376,7 +6464,7 @@ let API$m = class API extends API$u {
6376
6464
  */
6377
6465
  updateInstance = request => this.client.fetch({
6378
6466
  body: JSON.stringify(marshalUpdateInstanceRequest$1(request, this.client.settings)),
6379
- headers: jsonContentHeaders$k,
6467
+ headers: jsonContentHeaders$l,
6380
6468
  method: 'PATCH',
6381
6469
  path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}`
6382
6470
  }, unmarshalInstance$2);
@@ -6407,7 +6495,7 @@ let API$m = class API extends API$u {
6407
6495
  */
6408
6496
  cloneInstance = request => this.client.fetch({
6409
6497
  body: JSON.stringify(marshalCloneInstanceRequest$1(request, this.client.settings)),
6410
- headers: jsonContentHeaders$k,
6498
+ headers: jsonContentHeaders$l,
6411
6499
  method: 'POST',
6412
6500
  path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/clone`
6413
6501
  }, unmarshalInstance$2);
@@ -6422,7 +6510,7 @@ let API$m = class API extends API$u {
6422
6510
  */
6423
6511
  restartInstance = request => this.client.fetch({
6424
6512
  body: '{}',
6425
- headers: jsonContentHeaders$k,
6513
+ headers: jsonContentHeaders$l,
6426
6514
  method: 'POST',
6427
6515
  path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/restart`
6428
6516
  }, unmarshalInstance$2);
@@ -6453,7 +6541,7 @@ let API$m = class API extends API$u {
6453
6541
  */
6454
6542
  renewInstanceCertificate = request => this.client.fetch({
6455
6543
  body: '{}',
6456
- headers: jsonContentHeaders$k,
6544
+ headers: jsonContentHeaders$l,
6457
6545
  method: 'POST',
6458
6546
  path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/renew-certificate`
6459
6547
  });
@@ -6482,7 +6570,7 @@ let API$m = class API extends API$u {
6482
6570
  */
6483
6571
  createReadReplica = request => this.client.fetch({
6484
6572
  body: JSON.stringify(marshalCreateReadReplicaRequest$1(request, this.client.settings)),
6485
- headers: jsonContentHeaders$k,
6573
+ headers: jsonContentHeaders$l,
6486
6574
  method: 'POST',
6487
6575
  path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/read-replicas`
6488
6576
  }, unmarshalReadReplica$1);
@@ -6534,7 +6622,7 @@ let API$m = class API extends API$u {
6534
6622
  */
6535
6623
  resetReadReplica = request => this.client.fetch({
6536
6624
  body: '{}',
6537
- headers: jsonContentHeaders$k,
6625
+ headers: jsonContentHeaders$l,
6538
6626
  method: 'POST',
6539
6627
  path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/read-replicas/${validatePathParam('readReplicaId', request.readReplicaId)}/reset`
6540
6628
  }, unmarshalReadReplica$1);
@@ -6548,7 +6636,7 @@ let API$m = class API extends API$u {
6548
6636
  */
6549
6637
  promoteReadReplica = request => this.client.fetch({
6550
6638
  body: '{}',
6551
- headers: jsonContentHeaders$k,
6639
+ headers: jsonContentHeaders$l,
6552
6640
  method: 'POST',
6553
6641
  path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/read-replicas/${validatePathParam('readReplicaId', request.readReplicaId)}/promote`
6554
6642
  }, unmarshalInstance$2);
@@ -6563,7 +6651,7 @@ let API$m = class API extends API$u {
6563
6651
  */
6564
6652
  createReadReplicaEndpoint = request => this.client.fetch({
6565
6653
  body: JSON.stringify(marshalCreateReadReplicaEndpointRequest$1(request, this.client.settings)),
6566
- headers: jsonContentHeaders$k,
6654
+ headers: jsonContentHeaders$l,
6567
6655
  method: 'POST',
6568
6656
  path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/read-replicas/${validatePathParam('readReplicaId', request.readReplicaId)}/endpoints`
6569
6657
  }, unmarshalReadReplica$1);
@@ -6615,7 +6703,7 @@ let API$m = class API extends API$u {
6615
6703
  */
6616
6704
  purgeInstanceLogs = request => this.client.fetch({
6617
6705
  body: JSON.stringify(marshalPurgeInstanceLogsRequest$1(request, this.client.settings)),
6618
- headers: jsonContentHeaders$k,
6706
+ headers: jsonContentHeaders$l,
6619
6707
  method: 'POST',
6620
6708
  path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/purge-logs`
6621
6709
  });
@@ -6643,7 +6731,7 @@ let API$m = class API extends API$u {
6643
6731
  */
6644
6732
  addInstanceSettings = request => this.client.fetch({
6645
6733
  body: JSON.stringify(marshalAddInstanceSettingsRequest$1(request, this.client.settings)),
6646
- headers: jsonContentHeaders$k,
6734
+ headers: jsonContentHeaders$l,
6647
6735
  method: 'POST',
6648
6736
  path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/settings`
6649
6737
  }, unmarshalAddInstanceSettingsResponse$1);
@@ -6658,7 +6746,7 @@ let API$m = class API extends API$u {
6658
6746
  */
6659
6747
  deleteInstanceSettings = request => this.client.fetch({
6660
6748
  body: JSON.stringify(marshalDeleteInstanceSettingsRequest$1(request, this.client.settings)),
6661
- headers: jsonContentHeaders$k,
6749
+ headers: jsonContentHeaders$l,
6662
6750
  method: 'DELETE',
6663
6751
  path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/settings`
6664
6752
  }, unmarshalDeleteInstanceSettingsResponse$1);
@@ -6673,7 +6761,7 @@ let API$m = class API extends API$u {
6673
6761
  */
6674
6762
  setInstanceSettings = request => this.client.fetch({
6675
6763
  body: JSON.stringify(marshalSetInstanceSettingsRequest$1(request, this.client.settings)),
6676
- headers: jsonContentHeaders$k,
6764
+ headers: jsonContentHeaders$l,
6677
6765
  method: 'PUT',
6678
6766
  path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/settings`
6679
6767
  }, unmarshalSetInstanceSettingsResponse$1);
@@ -6703,7 +6791,7 @@ let API$m = class API extends API$u {
6703
6791
  */
6704
6792
  addInstanceACLRules = request => this.client.fetch({
6705
6793
  body: JSON.stringify(marshalAddInstanceACLRulesRequest$1(request, this.client.settings)),
6706
- headers: jsonContentHeaders$k,
6794
+ headers: jsonContentHeaders$l,
6707
6795
  method: 'POST',
6708
6796
  path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/acls`
6709
6797
  }, unmarshalAddInstanceACLRulesResponse$1);
@@ -6717,7 +6805,7 @@ let API$m = class API extends API$u {
6717
6805
  */
6718
6806
  setInstanceACLRules = request => this.client.fetch({
6719
6807
  body: JSON.stringify(marshalSetInstanceACLRulesRequest$1(request, this.client.settings)),
6720
- headers: jsonContentHeaders$k,
6808
+ headers: jsonContentHeaders$l,
6721
6809
  method: 'PUT',
6722
6810
  path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/acls`
6723
6811
  }, unmarshalSetInstanceACLRulesResponse$1);
@@ -6731,7 +6819,7 @@ let API$m = class API extends API$u {
6731
6819
  */
6732
6820
  deleteInstanceACLRules = request => this.client.fetch({
6733
6821
  body: JSON.stringify(marshalDeleteInstanceACLRulesRequest$1(request, this.client.settings)),
6734
- headers: jsonContentHeaders$k,
6822
+ headers: jsonContentHeaders$l,
6735
6823
  method: 'DELETE',
6736
6824
  path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/acls`
6737
6825
  }, unmarshalDeleteInstanceACLRulesResponse$1);
@@ -6762,7 +6850,7 @@ let API$m = class API extends API$u {
6762
6850
  */
6763
6851
  createUser = request => this.client.fetch({
6764
6852
  body: JSON.stringify(marshalCreateUserRequest$2(request, this.client.settings)),
6765
- headers: jsonContentHeaders$k,
6853
+ headers: jsonContentHeaders$l,
6766
6854
  method: 'POST',
6767
6855
  path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/users`
6768
6856
  }, unmarshalUser$2);
@@ -6777,7 +6865,7 @@ let API$m = class API extends API$u {
6777
6865
  */
6778
6866
  updateUser = request => this.client.fetch({
6779
6867
  body: JSON.stringify(marshalUpdateUserRequest$1(request, this.client.settings)),
6780
- headers: jsonContentHeaders$k,
6868
+ headers: jsonContentHeaders$l,
6781
6869
  method: 'PATCH',
6782
6870
  path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/users/${validatePathParam('name', request.name)}`
6783
6871
  }, unmarshalUser$2);
@@ -6820,7 +6908,7 @@ let API$m = class API extends API$u {
6820
6908
  */
6821
6909
  createDatabase = request => this.client.fetch({
6822
6910
  body: JSON.stringify(marshalCreateDatabaseRequest$1(request, this.client.settings)),
6823
- headers: jsonContentHeaders$k,
6911
+ headers: jsonContentHeaders$l,
6824
6912
  method: 'POST',
6825
6913
  path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/databases`
6826
6914
  }, unmarshalDatabase$1);
@@ -6864,7 +6952,7 @@ let API$m = class API extends API$u {
6864
6952
  */
6865
6953
  setPrivilege = request => this.client.fetch({
6866
6954
  body: JSON.stringify(marshalSetPrivilegeRequest$1(request, this.client.settings)),
6867
- headers: jsonContentHeaders$k,
6955
+ headers: jsonContentHeaders$l,
6868
6956
  method: 'PUT',
6869
6957
  path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/privileges`
6870
6958
  }, unmarshalPrivilege$1);
@@ -6917,7 +7005,7 @@ let API$m = class API extends API$u {
6917
7005
  */
6918
7006
  createSnapshot = request => this.client.fetch({
6919
7007
  body: JSON.stringify(marshalCreateSnapshotRequest$2(request, this.client.settings)),
6920
- headers: jsonContentHeaders$k,
7008
+ headers: jsonContentHeaders$l,
6921
7009
  method: 'POST',
6922
7010
  path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/snapshots`
6923
7011
  }, unmarshalSnapshot$2);
@@ -6932,7 +7020,7 @@ let API$m = class API extends API$u {
6932
7020
  */
6933
7021
  updateSnapshot = request => this.client.fetch({
6934
7022
  body: JSON.stringify(marshalUpdateSnapshotRequest$1(request, this.client.settings)),
6935
- headers: jsonContentHeaders$k,
7023
+ headers: jsonContentHeaders$l,
6936
7024
  method: 'PATCH',
6937
7025
  path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/snapshots/${validatePathParam('snapshotId', request.snapshotId)}`
6938
7026
  }, unmarshalSnapshot$2);
@@ -6965,7 +7053,7 @@ let API$m = class API extends API$u {
6965
7053
  */
6966
7054
  createInstanceFromSnapshot = request => this.client.fetch({
6967
7055
  body: JSON.stringify(marshalCreateInstanceFromSnapshotRequest$1(request, this.client.settings)),
6968
- headers: jsonContentHeaders$k,
7056
+ headers: jsonContentHeaders$l,
6969
7057
  method: 'POST',
6970
7058
  path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/snapshots/${validatePathParam('snapshotId', request.snapshotId)}/create-instance`
6971
7059
  }, unmarshalInstance$2);
@@ -6980,7 +7068,7 @@ let API$m = class API extends API$u {
6980
7068
  */
6981
7069
  createEndpoint = request => this.client.fetch({
6982
7070
  body: JSON.stringify(marshalCreateEndpointRequest$1(request, this.client.settings)),
6983
- headers: jsonContentHeaders$k,
7071
+ headers: jsonContentHeaders$l,
6984
7072
  method: 'POST',
6985
7073
  path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/endpoints`
6986
7074
  }, unmarshalEndpoint$2);
@@ -7021,7 +7109,7 @@ let API$m = class API extends API$u {
7021
7109
  */
7022
7110
  migrateEndpoint = request => this.client.fetch({
7023
7111
  body: JSON.stringify(marshalMigrateEndpointRequest$1(request, this.client.settings)),
7024
- headers: jsonContentHeaders$k,
7112
+ headers: jsonContentHeaders$l,
7025
7113
  method: 'POST',
7026
7114
  path: `/document-db/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/endpoints/${validatePathParam('endpointId', request.endpointId)}/migrate`
7027
7115
  }, unmarshalEndpoint$2);
@@ -7036,7 +7124,7 @@ const UpdateInstanceRequest$1 = {
7036
7124
  }
7037
7125
  };
7038
7126
 
7039
- var validationRules_gen$5 = /*#__PURE__*/Object.freeze({
7127
+ var validationRules_gen$6 = /*#__PURE__*/Object.freeze({
7040
7128
  __proto__: null,
7041
7129
  UpdateInstanceRequest: UpdateInstanceRequest$1
7042
7130
  });
@@ -7044,7 +7132,7 @@ var validationRules_gen$5 = /*#__PURE__*/Object.freeze({
7044
7132
  // This file was automatically generated. DO NOT EDIT.
7045
7133
  // If you have any remark or suggestion do not hesitate to open an issue.
7046
7134
 
7047
- var index_gen$j = /*#__PURE__*/Object.freeze({
7135
+ var index_gen$k = /*#__PURE__*/Object.freeze({
7048
7136
  __proto__: null,
7049
7137
  API: API$m,
7050
7138
  INSTANCE_LOG_TRANSIENT_STATUSES: INSTANCE_LOG_TRANSIENT_STATUSES$1,
@@ -7052,12 +7140,12 @@ var index_gen$j = /*#__PURE__*/Object.freeze({
7052
7140
  MAINTENANCE_TRANSIENT_STATUSES: MAINTENANCE_TRANSIENT_STATUSES$1,
7053
7141
  READ_REPLICA_TRANSIENT_STATUSES: READ_REPLICA_TRANSIENT_STATUSES$1,
7054
7142
  SNAPSHOT_TRANSIENT_STATUSES: SNAPSHOT_TRANSIENT_STATUSES$2,
7055
- ValidationRules: validationRules_gen$5
7143
+ ValidationRules: validationRules_gen$6
7056
7144
  });
7057
7145
 
7058
7146
  var index$n = /*#__PURE__*/Object.freeze({
7059
7147
  __proto__: null,
7060
- v1beta1: index_gen$j
7148
+ v1beta1: index_gen$k
7061
7149
  });
7062
7150
 
7063
7151
  // This file was automatically generated. DO NOT EDIT.
@@ -8256,7 +8344,7 @@ const marshalUpdateDNSZoneRequest = (request, defaults) => ({
8256
8344
 
8257
8345
  // This file was automatically generated. DO NOT EDIT.
8258
8346
  // If you have any remark or suggestion do not hesitate to open an issue.
8259
- const jsonContentHeaders$j = {
8347
+ const jsonContentHeaders$k = {
8260
8348
  'Content-Type': 'application/json; charset=utf-8'
8261
8349
  };
8262
8350
 
@@ -8291,7 +8379,7 @@ let API$l = class API extends API$u {
8291
8379
  */
8292
8380
  createDNSZone = request => this.client.fetch({
8293
8381
  body: JSON.stringify(marshalCreateDNSZoneRequest(request, this.client.settings)),
8294
- headers: jsonContentHeaders$j,
8382
+ headers: jsonContentHeaders$k,
8295
8383
  method: 'POST',
8296
8384
  path: `/domain/v2beta1/dns-zones`
8297
8385
  }, unmarshalDNSZone);
@@ -8304,7 +8392,7 @@ let API$l = class API extends API$u {
8304
8392
  */
8305
8393
  updateDNSZone = request => this.client.fetch({
8306
8394
  body: JSON.stringify(marshalUpdateDNSZoneRequest(request, this.client.settings)),
8307
- headers: jsonContentHeaders$j,
8395
+ headers: jsonContentHeaders$k,
8308
8396
  method: 'PATCH',
8309
8397
  path: `/domain/v2beta1/dns-zones/${validatePathParam('dnsZone', request.dnsZone)}`
8310
8398
  }, unmarshalDNSZone);
@@ -8318,7 +8406,7 @@ let API$l = class API extends API$u {
8318
8406
  */
8319
8407
  cloneDNSZone = request => this.client.fetch({
8320
8408
  body: JSON.stringify(marshalCloneDNSZoneRequest(request, this.client.settings)),
8321
- headers: jsonContentHeaders$j,
8409
+ headers: jsonContentHeaders$k,
8322
8410
  method: 'POST',
8323
8411
  path: `/domain/v2beta1/dns-zones/${validatePathParam('dnsZone', request.dnsZone)}/clone`
8324
8412
  }, unmarshalDNSZone);
@@ -8371,7 +8459,7 @@ let API$l = class API extends API$u {
8371
8459
  */
8372
8460
  updateDNSZoneRecords = request => this.client.fetch({
8373
8461
  body: JSON.stringify(marshalUpdateDNSZoneRecordsRequest(request, this.client.settings)),
8374
- headers: jsonContentHeaders$j,
8462
+ headers: jsonContentHeaders$k,
8375
8463
  method: 'PATCH',
8376
8464
  path: `/domain/v2beta1/dns-zones/${validatePathParam('dnsZone', request.dnsZone)}/records`
8377
8465
  }, unmarshalUpdateDNSZoneRecordsResponse);
@@ -8398,7 +8486,7 @@ let API$l = class API extends API$u {
8398
8486
  */
8399
8487
  updateDNSZoneNameservers = request => this.client.fetch({
8400
8488
  body: JSON.stringify(marshalUpdateDNSZoneNameserversRequest(request, this.client.settings)),
8401
- headers: jsonContentHeaders$j,
8489
+ headers: jsonContentHeaders$k,
8402
8490
  method: 'PUT',
8403
8491
  path: `/domain/v2beta1/dns-zones/${validatePathParam('dnsZone', request.dnsZone)}/nameservers`
8404
8492
  }, unmarshalUpdateDNSZoneNameserversResponse);
@@ -8438,7 +8526,7 @@ let API$l = class API extends API$u {
8438
8526
  */
8439
8527
  importRawDNSZone = request => this.client.fetch({
8440
8528
  body: JSON.stringify(marshalImportRawDNSZoneRequest(request, this.client.settings)),
8441
- headers: jsonContentHeaders$j,
8529
+ headers: jsonContentHeaders$k,
8442
8530
  method: 'POST',
8443
8531
  path: `/domain/v2beta1/dns-zones/${validatePathParam('dnsZone', request.dnsZone)}/raw`
8444
8532
  }, unmarshalImportRawDNSZoneResponse);
@@ -8452,7 +8540,7 @@ let API$l = class API extends API$u {
8452
8540
  */
8453
8541
  importProviderDNSZone = request => this.client.fetch({
8454
8542
  body: JSON.stringify(marshalImportProviderDNSZoneRequest(request, this.client.settings)),
8455
- headers: jsonContentHeaders$j,
8543
+ headers: jsonContentHeaders$k,
8456
8544
  method: 'POST',
8457
8545
  path: `/domain/v2beta1/dns-zones/${validatePathParam('dnsZone', request.dnsZone)}/import-provider`
8458
8546
  }, unmarshalImportProviderDNSZoneResponse);
@@ -8467,7 +8555,7 @@ let API$l = class API extends API$u {
8467
8555
  */
8468
8556
  refreshDNSZone = request => this.client.fetch({
8469
8557
  body: JSON.stringify(marshalRefreshDNSZoneRequest(request, this.client.settings)),
8470
- headers: jsonContentHeaders$j,
8558
+ headers: jsonContentHeaders$k,
8471
8559
  method: 'POST',
8472
8560
  path: `/domain/v2beta1/dns-zones/${validatePathParam('dnsZone', request.dnsZone)}/refresh`
8473
8561
  }, unmarshalRefreshDNSZoneResponse);
@@ -8522,7 +8610,7 @@ let API$l = class API extends API$u {
8522
8610
  */
8523
8611
  restoreDNSZoneVersion = request => this.client.fetch({
8524
8612
  body: '{}',
8525
- headers: jsonContentHeaders$j,
8613
+ headers: jsonContentHeaders$k,
8526
8614
  method: 'POST',
8527
8615
  path: `/domain/v2beta1/dns-zones/version/${validatePathParam('dnsZoneVersionId', request.dnsZoneVersionId)}/restore`
8528
8616
  }, unmarshalRestoreDNSZoneVersionResponse);
@@ -8557,7 +8645,7 @@ let API$l = class API extends API$u {
8557
8645
  */
8558
8646
  createSSLCertificate = request => this.client.fetch({
8559
8647
  body: JSON.stringify(marshalCreateSSLCertificateRequest(request, this.client.settings)),
8560
- headers: jsonContentHeaders$j,
8648
+ headers: jsonContentHeaders$k,
8561
8649
  method: 'POST',
8562
8650
  path: `/domain/v2beta1/ssl-certificates`
8563
8651
  }, unmarshalSSLCertificate);
@@ -8643,7 +8731,7 @@ class RegistrarAPI extends API$u {
8643
8731
  */
8644
8732
  buyDomains = request => this.client.fetch({
8645
8733
  body: JSON.stringify(marshalRegistrarApiBuyDomainsRequest(request, this.client.settings)),
8646
- headers: jsonContentHeaders$j,
8734
+ headers: jsonContentHeaders$k,
8647
8735
  method: 'POST',
8648
8736
  path: `/domain/v2beta1/buy-domains`
8649
8737
  }, unmarshalOrderResponse);
@@ -8656,7 +8744,7 @@ class RegistrarAPI extends API$u {
8656
8744
  */
8657
8745
  renewDomains = request => this.client.fetch({
8658
8746
  body: JSON.stringify(marshalRegistrarApiRenewDomainsRequest(request, this.client.settings)),
8659
- headers: jsonContentHeaders$j,
8747
+ headers: jsonContentHeaders$k,
8660
8748
  method: 'POST',
8661
8749
  path: `/domain/v2beta1/renew-domains`
8662
8750
  }, unmarshalOrderResponse);
@@ -8670,7 +8758,7 @@ class RegistrarAPI extends API$u {
8670
8758
  */
8671
8759
  transferInDomain = request => this.client.fetch({
8672
8760
  body: JSON.stringify(marshalRegistrarApiTransferInDomainRequest(request, this.client.settings)),
8673
- headers: jsonContentHeaders$j,
8761
+ headers: jsonContentHeaders$k,
8674
8762
  method: 'POST',
8675
8763
  path: `/domain/v2beta1/domains/transfer-domains`
8676
8764
  }, unmarshalOrderResponse);
@@ -8690,7 +8778,7 @@ class RegistrarAPI extends API$u {
8690
8778
  */
8691
8779
  tradeDomain = request => this.client.fetch({
8692
8780
  body: JSON.stringify(marshalRegistrarApiTradeDomainRequest(request, this.client.settings)),
8693
- headers: jsonContentHeaders$j,
8781
+ headers: jsonContentHeaders$k,
8694
8782
  method: 'POST',
8695
8783
  path: `/domain/v2beta1/domains/${validatePathParam('domain', request.domain)}/trade`
8696
8784
  }, unmarshalOrderResponse);
@@ -8705,7 +8793,7 @@ class RegistrarAPI extends API$u {
8705
8793
  */
8706
8794
  registerExternalDomain = request => this.client.fetch({
8707
8795
  body: JSON.stringify(marshalRegistrarApiRegisterExternalDomainRequest(request, this.client.settings)),
8708
- headers: jsonContentHeaders$j,
8796
+ headers: jsonContentHeaders$k,
8709
8797
  method: 'POST',
8710
8798
  path: `/domain/v2beta1/external-domains`
8711
8799
  }, unmarshalRegisterExternalDomainResponse);
@@ -8733,7 +8821,7 @@ class RegistrarAPI extends API$u {
8733
8821
  */
8734
8822
  checkContactsCompatibility = (request = {}) => this.client.fetch({
8735
8823
  body: JSON.stringify(marshalRegistrarApiCheckContactsCompatibilityRequest(request, this.client.settings)),
8736
- headers: jsonContentHeaders$j,
8824
+ headers: jsonContentHeaders$k,
8737
8825
  method: 'POST',
8738
8826
  path: `/domain/v2beta1/check-contacts-compatibility`
8739
8827
  }, unmarshalCheckContactsCompatibilityResponse);
@@ -8772,7 +8860,7 @@ class RegistrarAPI extends API$u {
8772
8860
  */
8773
8861
  updateContact = request => this.client.fetch({
8774
8862
  body: JSON.stringify(marshalRegistrarApiUpdateContactRequest(request, this.client.settings)),
8775
- headers: jsonContentHeaders$j,
8863
+ headers: jsonContentHeaders$k,
8776
8864
  method: 'PATCH',
8777
8865
  path: `/domain/v2beta1/contacts/${validatePathParam('contactId', request.contactId)}`
8778
8866
  }, unmarshalContact);
@@ -8837,7 +8925,7 @@ class RegistrarAPI extends API$u {
8837
8925
  */
8838
8926
  updateDomain = request => this.client.fetch({
8839
8927
  body: JSON.stringify(marshalRegistrarApiUpdateDomainRequest(request, this.client.settings)),
8840
- headers: jsonContentHeaders$j,
8928
+ headers: jsonContentHeaders$k,
8841
8929
  method: 'PATCH',
8842
8930
  path: `/domain/v2beta1/domains/${validatePathParam('domain', request.domain)}`
8843
8931
  }, unmarshalDomain$2);
@@ -8852,7 +8940,7 @@ class RegistrarAPI extends API$u {
8852
8940
  */
8853
8941
  lockDomainTransfer = request => this.client.fetch({
8854
8942
  body: '{}',
8855
- headers: jsonContentHeaders$j,
8943
+ headers: jsonContentHeaders$k,
8856
8944
  method: 'POST',
8857
8945
  path: `/domain/v2beta1/domains/${validatePathParam('domain', request.domain)}/lock-transfer`
8858
8946
  }, unmarshalDomain$2);
@@ -8867,7 +8955,7 @@ class RegistrarAPI extends API$u {
8867
8955
  */
8868
8956
  unlockDomainTransfer = request => this.client.fetch({
8869
8957
  body: '{}',
8870
- headers: jsonContentHeaders$j,
8958
+ headers: jsonContentHeaders$k,
8871
8959
  method: 'POST',
8872
8960
  path: `/domain/v2beta1/domains/${validatePathParam('domain', request.domain)}/unlock-transfer`
8873
8961
  }, unmarshalDomain$2);
@@ -8882,7 +8970,7 @@ class RegistrarAPI extends API$u {
8882
8970
  */
8883
8971
  enableDomainAutoRenew = request => this.client.fetch({
8884
8972
  body: '{}',
8885
- headers: jsonContentHeaders$j,
8973
+ headers: jsonContentHeaders$k,
8886
8974
  method: 'POST',
8887
8975
  path: `/domain/v2beta1/domains/${validatePathParam('domain', request.domain)}/enable-auto-renew`
8888
8976
  }, unmarshalDomain$2);
@@ -8897,7 +8985,7 @@ class RegistrarAPI extends API$u {
8897
8985
  */
8898
8986
  disableDomainAutoRenew = request => this.client.fetch({
8899
8987
  body: '{}',
8900
- headers: jsonContentHeaders$j,
8988
+ headers: jsonContentHeaders$k,
8901
8989
  method: 'POST',
8902
8990
  path: `/domain/v2beta1/domains/${validatePathParam('domain', request.domain)}/disable-auto-renew`
8903
8991
  }, unmarshalDomain$2);
@@ -8926,7 +9014,7 @@ class RegistrarAPI extends API$u {
8926
9014
  */
8927
9015
  enableDomainDNSSEC = request => this.client.fetch({
8928
9016
  body: JSON.stringify(marshalRegistrarApiEnableDomainDNSSECRequest(request, this.client.settings)),
8929
- headers: jsonContentHeaders$j,
9017
+ headers: jsonContentHeaders$k,
8930
9018
  method: 'POST',
8931
9019
  path: `/domain/v2beta1/domains/${validatePathParam('domain', request.domain)}/enable-dnssec`
8932
9020
  }, unmarshalDomain$2);
@@ -8939,7 +9027,7 @@ class RegistrarAPI extends API$u {
8939
9027
  */
8940
9028
  disableDomainDNSSEC = request => this.client.fetch({
8941
9029
  body: '{}',
8942
- headers: jsonContentHeaders$j,
9030
+ headers: jsonContentHeaders$k,
8943
9031
  method: 'POST',
8944
9032
  path: `/domain/v2beta1/domains/${validatePathParam('domain', request.domain)}/disable-dnssec`
8945
9033
  }, unmarshalDomain$2);
@@ -8983,7 +9071,7 @@ class RegistrarAPI extends API$u {
8983
9071
  */
8984
9072
  createDomainHost = request => this.client.fetch({
8985
9073
  body: JSON.stringify(marshalRegistrarApiCreateDomainHostRequest(request, this.client.settings)),
8986
- headers: jsonContentHeaders$j,
9074
+ headers: jsonContentHeaders$k,
8987
9075
  method: 'POST',
8988
9076
  path: `/domain/v2beta1/domains/${validatePathParam('domain', request.domain)}/hosts`
8989
9077
  }, unmarshalHost);
@@ -9009,7 +9097,7 @@ class RegistrarAPI extends API$u {
9009
9097
  */
9010
9098
  updateDomainHost = request => this.client.fetch({
9011
9099
  body: JSON.stringify(marshalRegistrarApiUpdateDomainHostRequest(request, this.client.settings)),
9012
- headers: jsonContentHeaders$j,
9100
+ headers: jsonContentHeaders$k,
9013
9101
  method: 'PATCH',
9014
9102
  path: `/domain/v2beta1/domains/${validatePathParam('domain', request.domain)}/hosts/${validatePathParam('name', request.name)}`
9015
9103
  }, unmarshalHost);
@@ -9029,7 +9117,7 @@ class RegistrarAPI extends API$u {
9029
9117
  // This file was automatically generated. DO NOT EDIT.
9030
9118
  // If you have any remark or suggestion do not hesitate to open an issue.
9031
9119
 
9032
- var index_gen$i = /*#__PURE__*/Object.freeze({
9120
+ var index_gen$j = /*#__PURE__*/Object.freeze({
9033
9121
  __proto__: null,
9034
9122
  API: API$l,
9035
9123
  DNS_ZONE_TRANSIENT_STATUSES: DNS_ZONE_TRANSIENT_STATUSES,
@@ -9044,7 +9132,7 @@ var index_gen$i = /*#__PURE__*/Object.freeze({
9044
9132
 
9045
9133
  var index$m = /*#__PURE__*/Object.freeze({
9046
9134
  __proto__: null,
9047
- v2beta1: index_gen$i
9135
+ v2beta1: index_gen$j
9048
9136
  });
9049
9137
 
9050
9138
  // This file was automatically generated. DO NOT EDIT.
@@ -9151,7 +9239,7 @@ const marshalUpdateFlexibleIPRequest = (request, defaults) => ({
9151
9239
 
9152
9240
  // This file was automatically generated. DO NOT EDIT.
9153
9241
  // If you have any remark or suggestion do not hesitate to open an issue.
9154
- const jsonContentHeaders$i = {
9242
+ const jsonContentHeaders$j = {
9155
9243
  'Content-Type': 'application/json; charset=utf-8'
9156
9244
  };
9157
9245
 
@@ -9169,7 +9257,7 @@ let API$k = class API extends API$u {
9169
9257
  */
9170
9258
  createFlexibleIP = request => this.client.fetch({
9171
9259
  body: JSON.stringify(marshalCreateFlexibleIPRequest(request, this.client.settings)),
9172
- headers: jsonContentHeaders$i,
9260
+ headers: jsonContentHeaders$j,
9173
9261
  method: 'POST',
9174
9262
  path: `/flexible-ip/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/fips`
9175
9263
  }, unmarshalFlexibleIP);
@@ -9219,7 +9307,7 @@ let API$k = class API extends API$u {
9219
9307
  */
9220
9308
  updateFlexibleIP = request => this.client.fetch({
9221
9309
  body: JSON.stringify(marshalUpdateFlexibleIPRequest(request, this.client.settings)),
9222
- headers: jsonContentHeaders$i,
9310
+ headers: jsonContentHeaders$j,
9223
9311
  method: 'PATCH',
9224
9312
  path: `/flexible-ip/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/fips/${validatePathParam('fipId', request.fipId)}`
9225
9313
  }, unmarshalFlexibleIP);
@@ -9245,7 +9333,7 @@ let API$k = class API extends API$u {
9245
9333
  */
9246
9334
  attachFlexibleIP = request => this.client.fetch({
9247
9335
  body: JSON.stringify(marshalAttachFlexibleIPRequest(request, this.client.settings)),
9248
- headers: jsonContentHeaders$i,
9336
+ headers: jsonContentHeaders$j,
9249
9337
  method: 'POST',
9250
9338
  path: `/flexible-ip/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/fips/attach`
9251
9339
  }, unmarshalAttachFlexibleIPsResponse);
@@ -9259,7 +9347,7 @@ let API$k = class API extends API$u {
9259
9347
  */
9260
9348
  detachFlexibleIP = request => this.client.fetch({
9261
9349
  body: JSON.stringify(marshalDetachFlexibleIPRequest(request, this.client.settings)),
9262
- headers: jsonContentHeaders$i,
9350
+ headers: jsonContentHeaders$j,
9263
9351
  method: 'POST',
9264
9352
  path: `/flexible-ip/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/fips/detach`
9265
9353
  }, unmarshalDetachFlexibleIPsResponse);
@@ -9273,7 +9361,7 @@ let API$k = class API extends API$u {
9273
9361
  */
9274
9362
  generateMACAddr = request => this.client.fetch({
9275
9363
  body: JSON.stringify(marshalGenerateMACAddrRequest(request, this.client.settings)),
9276
- headers: jsonContentHeaders$i,
9364
+ headers: jsonContentHeaders$j,
9277
9365
  method: 'POST',
9278
9366
  path: `/flexible-ip/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/fips/${validatePathParam('fipId', request.fipId)}/mac`
9279
9367
  }, unmarshalFlexibleIP);
@@ -9288,7 +9376,7 @@ let API$k = class API extends API$u {
9288
9376
  */
9289
9377
  duplicateMACAddr = request => this.client.fetch({
9290
9378
  body: JSON.stringify(marshalDuplicateMACAddrRequest(request, this.client.settings)),
9291
- headers: jsonContentHeaders$i,
9379
+ headers: jsonContentHeaders$j,
9292
9380
  method: 'POST',
9293
9381
  path: `/flexible-ip/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/fips/${validatePathParam('fipId', request.fipId)}/mac/duplicate`
9294
9382
  }, unmarshalFlexibleIP);
@@ -9303,7 +9391,7 @@ let API$k = class API extends API$u {
9303
9391
  */
9304
9392
  moveMACAddr = request => this.client.fetch({
9305
9393
  body: JSON.stringify(marshalMoveMACAddrRequest(request, this.client.settings)),
9306
- headers: jsonContentHeaders$i,
9394
+ headers: jsonContentHeaders$j,
9307
9395
  method: 'POST',
9308
9396
  path: `/flexible-ip/v1alpha1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/fips/${validatePathParam('fipId', request.fipId)}/mac/move`
9309
9397
  }, unmarshalFlexibleIP);
@@ -9333,7 +9421,7 @@ const ListFlexibleIPsRequest = {
9333
9421
  }
9334
9422
  };
9335
9423
 
9336
- var validationRules_gen$4 = /*#__PURE__*/Object.freeze({
9424
+ var validationRules_gen$5 = /*#__PURE__*/Object.freeze({
9337
9425
  __proto__: null,
9338
9426
  ListFlexibleIPsRequest: ListFlexibleIPsRequest
9339
9427
  });
@@ -9341,17 +9429,17 @@ var validationRules_gen$4 = /*#__PURE__*/Object.freeze({
9341
9429
  // This file was automatically generated. DO NOT EDIT.
9342
9430
  // If you have any remark or suggestion do not hesitate to open an issue.
9343
9431
 
9344
- var index_gen$h = /*#__PURE__*/Object.freeze({
9432
+ var index_gen$i = /*#__PURE__*/Object.freeze({
9345
9433
  __proto__: null,
9346
9434
  API: API$k,
9347
9435
  FLEXIBLE_IP_TRANSIENT_STATUSES: FLEXIBLE_IP_TRANSIENT_STATUSES,
9348
9436
  MAC_ADDRESS_TRANSIENT_STATUSES: MAC_ADDRESS_TRANSIENT_STATUSES,
9349
- ValidationRules: validationRules_gen$4
9437
+ ValidationRules: validationRules_gen$5
9350
9438
  });
9351
9439
 
9352
9440
  var index$l = /*#__PURE__*/Object.freeze({
9353
9441
  __proto__: null,
9354
- v1alpha1: index_gen$h
9442
+ v1alpha1: index_gen$i
9355
9443
  });
9356
9444
 
9357
9445
  // This file was automatically generated. DO NOT EDIT.
@@ -9648,6 +9736,7 @@ const unmarshalUploadURL = data => {
9648
9736
  };
9649
9737
  const marshalCreateTriggerRequestMnqNatsClientConfig = (request, defaults) => ({
9650
9738
  mnq_namespace_id: request.mnqNamespaceId,
9739
+ mnq_nats_account_id: request.mnqNatsAccountId,
9651
9740
  mnq_project_id: request.mnqProjectId,
9652
9741
  mnq_region: request.mnqRegion,
9653
9742
  subject: request.subject
@@ -9766,7 +9855,7 @@ const marshalUpdateTriggerRequest = (request, defaults) => ({
9766
9855
 
9767
9856
  // This file was automatically generated. DO NOT EDIT.
9768
9857
  // If you have any remark or suggestion do not hesitate to open an issue.
9769
- const jsonContentHeaders$h = {
9858
+ const jsonContentHeaders$i = {
9770
9859
  'Content-Type': 'application/json; charset=utf-8'
9771
9860
  };
9772
9861
 
@@ -9818,7 +9907,7 @@ let API$j = class API extends API$u {
9818
9907
  */
9819
9908
  createNamespace = (request = {}) => this.client.fetch({
9820
9909
  body: JSON.stringify(marshalCreateNamespaceRequest$2(request, this.client.settings)),
9821
- headers: jsonContentHeaders$h,
9910
+ headers: jsonContentHeaders$i,
9822
9911
  method: 'POST',
9823
9912
  path: `/functions/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/namespaces`
9824
9913
  }, unmarshalNamespace$2);
@@ -9832,7 +9921,7 @@ let API$j = class API extends API$u {
9832
9921
  */
9833
9922
  updateNamespace = request => this.client.fetch({
9834
9923
  body: JSON.stringify(marshalUpdateNamespaceRequest$2(request, this.client.settings)),
9835
- headers: jsonContentHeaders$h,
9924
+ headers: jsonContentHeaders$i,
9836
9925
  method: 'PATCH',
9837
9926
  path: `/functions/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/namespaces/${validatePathParam('namespaceId', request.namespaceId)}`
9838
9927
  }, unmarshalNamespace$2);
@@ -9891,7 +9980,7 @@ let API$j = class API extends API$u {
9891
9980
  */
9892
9981
  createFunction = request => this.client.fetch({
9893
9982
  body: JSON.stringify(marshalCreateFunctionRequest(request, this.client.settings)),
9894
- headers: jsonContentHeaders$h,
9983
+ headers: jsonContentHeaders$i,
9895
9984
  method: 'POST',
9896
9985
  path: `/functions/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/functions`
9897
9986
  }, unmarshalFunction);
@@ -9905,7 +9994,7 @@ let API$j = class API extends API$u {
9905
9994
  */
9906
9995
  updateFunction = request => this.client.fetch({
9907
9996
  body: JSON.stringify(marshalUpdateFunctionRequest(request, this.client.settings)),
9908
- headers: jsonContentHeaders$h,
9997
+ headers: jsonContentHeaders$i,
9909
9998
  method: 'PATCH',
9910
9999
  path: `/functions/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/functions/${validatePathParam('functionId', request.functionId)}`
9911
10000
  }, unmarshalFunction);
@@ -9929,7 +10018,7 @@ let API$j = class API extends API$u {
9929
10018
  */
9930
10019
  deployFunction = request => this.client.fetch({
9931
10020
  body: '{}',
9932
- headers: jsonContentHeaders$h,
10021
+ headers: jsonContentHeaders$i,
9933
10022
  method: 'POST',
9934
10023
  path: `/functions/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/functions/${validatePathParam('functionId', request.functionId)}/deploy`
9935
10024
  }, unmarshalFunction);
@@ -10012,7 +10101,7 @@ let API$j = class API extends API$u {
10012
10101
  */
10013
10102
  createCron = request => this.client.fetch({
10014
10103
  body: JSON.stringify(marshalCreateCronRequest(request, this.client.settings)),
10015
- headers: jsonContentHeaders$h,
10104
+ headers: jsonContentHeaders$i,
10016
10105
  method: 'POST',
10017
10106
  path: `/functions/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/crons`
10018
10107
  }, unmarshalCron);
@@ -10025,7 +10114,7 @@ let API$j = class API extends API$u {
10025
10114
  */
10026
10115
  updateCron = request => this.client.fetch({
10027
10116
  body: JSON.stringify(marshalUpdateCronRequest(request, this.client.settings)),
10028
- headers: jsonContentHeaders$h,
10117
+ headers: jsonContentHeaders$i,
10029
10118
  method: 'PATCH',
10030
10119
  path: `/functions/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/crons/${validatePathParam('cronId', request.cronId)}`
10031
10120
  }, unmarshalCron);
@@ -10099,7 +10188,7 @@ let API$j = class API extends API$u {
10099
10188
  */
10100
10189
  createDomain = request => this.client.fetch({
10101
10190
  body: JSON.stringify(marshalCreateDomainRequest$1(request, this.client.settings)),
10102
- headers: jsonContentHeaders$h,
10191
+ headers: jsonContentHeaders$i,
10103
10192
  method: 'POST',
10104
10193
  path: `/functions/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/domains`
10105
10194
  }, unmarshalDomain$1);
@@ -10141,7 +10230,7 @@ let API$j = class API extends API$u {
10141
10230
  */
10142
10231
  createToken = (request = {}) => this.client.fetch({
10143
10232
  body: JSON.stringify(marshalCreateTokenRequest(request, this.client.settings)),
10144
- headers: jsonContentHeaders$h,
10233
+ headers: jsonContentHeaders$i,
10145
10234
  method: 'POST',
10146
10235
  path: `/functions/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/tokens`
10147
10236
  }, unmarshalToken);
@@ -10191,7 +10280,7 @@ let API$j = class API extends API$u {
10191
10280
  }, unmarshalToken);
10192
10281
  createTrigger = request => this.client.fetch({
10193
10282
  body: JSON.stringify(marshalCreateTriggerRequest(request, this.client.settings)),
10194
- headers: jsonContentHeaders$h,
10283
+ headers: jsonContentHeaders$i,
10195
10284
  method: 'POST',
10196
10285
  path: `/functions/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/triggers`
10197
10286
  }, unmarshalTrigger);
@@ -10226,7 +10315,7 @@ let API$j = class API extends API$u {
10226
10315
  listTriggers = (request = {}) => enrichForPagination('triggers', this.pageOfListTriggers, request);
10227
10316
  updateTrigger = request => this.client.fetch({
10228
10317
  body: JSON.stringify(marshalUpdateTriggerRequest(request, this.client.settings)),
10229
- headers: jsonContentHeaders$h,
10318
+ headers: jsonContentHeaders$i,
10230
10319
  method: 'PATCH',
10231
10320
  path: `/functions/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/triggers/${validatePathParam('triggerId', request.triggerId)}`
10232
10321
  }, unmarshalTrigger);
@@ -10239,7 +10328,7 @@ let API$j = class API extends API$u {
10239
10328
  // This file was automatically generated. DO NOT EDIT.
10240
10329
  // If you have any remark or suggestion do not hesitate to open an issue.
10241
10330
 
10242
- var index_gen$g = /*#__PURE__*/Object.freeze({
10331
+ var index_gen$h = /*#__PURE__*/Object.freeze({
10243
10332
  __proto__: null,
10244
10333
  API: API$j,
10245
10334
  CRON_TRANSIENT_STATUSES: CRON_TRANSIENT_STATUSES,
@@ -10252,7 +10341,7 @@ var index_gen$g = /*#__PURE__*/Object.freeze({
10252
10341
 
10253
10342
  var index$k = /*#__PURE__*/Object.freeze({
10254
10343
  __proto__: null,
10255
- v1beta1: index_gen$g
10344
+ v1beta1: index_gen$h
10256
10345
  });
10257
10346
 
10258
10347
  // This file was automatically generated. DO NOT EDIT.
@@ -10635,7 +10724,7 @@ const marshalUpdateSSHKeyRequest = (request, defaults) => ({
10635
10724
 
10636
10725
  // This file was automatically generated. DO NOT EDIT.
10637
10726
  // If you have any remark or suggestion do not hesitate to open an issue.
10638
- const jsonContentHeaders$g = {
10727
+ const jsonContentHeaders$h = {
10639
10728
  'Content-Type': 'application/json; charset=utf-8'
10640
10729
  };
10641
10730
 
@@ -10667,7 +10756,7 @@ let API$i = class API extends API$u {
10667
10756
  */
10668
10757
  createSSHKey = request => this.client.fetch({
10669
10758
  body: JSON.stringify(marshalCreateSSHKeyRequest(request, this.client.settings)),
10670
- headers: jsonContentHeaders$g,
10759
+ headers: jsonContentHeaders$h,
10671
10760
  method: 'POST',
10672
10761
  path: `/iam/v1alpha1/ssh-keys`
10673
10762
  }, unmarshalSSHKey);
@@ -10694,7 +10783,7 @@ let API$i = class API extends API$u {
10694
10783
  */
10695
10784
  updateSSHKey = request => this.client.fetch({
10696
10785
  body: JSON.stringify(marshalUpdateSSHKeyRequest(request, this.client.settings)),
10697
- headers: jsonContentHeaders$g,
10786
+ headers: jsonContentHeaders$h,
10698
10787
  method: 'PATCH',
10699
10788
  path: `/iam/v1alpha1/ssh-keys/${validatePathParam('sshKeyId', request.sshKeyId)}`
10700
10789
  }, unmarshalSSHKey);
@@ -10764,7 +10853,7 @@ let API$i = class API extends API$u {
10764
10853
  */
10765
10854
  createUser = request => this.client.fetch({
10766
10855
  body: JSON.stringify(marshalCreateUserRequest$1(request, this.client.settings)),
10767
- headers: jsonContentHeaders$g,
10856
+ headers: jsonContentHeaders$h,
10768
10857
  method: 'POST',
10769
10858
  path: `/iam/v1alpha1/users`
10770
10859
  }, unmarshalUser$1);
@@ -10796,7 +10885,7 @@ let API$i = class API extends API$u {
10796
10885
  */
10797
10886
  createApplication = request => this.client.fetch({
10798
10887
  body: JSON.stringify(marshalCreateApplicationRequest(request, this.client.settings)),
10799
- headers: jsonContentHeaders$g,
10888
+ headers: jsonContentHeaders$h,
10800
10889
  method: 'POST',
10801
10890
  path: `/iam/v1alpha1/applications`
10802
10891
  }, unmarshalApplication);
@@ -10824,7 +10913,7 @@ let API$i = class API extends API$u {
10824
10913
  */
10825
10914
  updateApplication = request => this.client.fetch({
10826
10915
  body: JSON.stringify(marshalUpdateApplicationRequest(request, this.client.settings)),
10827
- headers: jsonContentHeaders$g,
10916
+ headers: jsonContentHeaders$h,
10828
10917
  method: 'PATCH',
10829
10918
  path: `/iam/v1alpha1/applications/${validatePathParam('applicationId', request.applicationId)}`
10830
10919
  }, unmarshalApplication);
@@ -10868,7 +10957,7 @@ let API$i = class API extends API$u {
10868
10957
  */
10869
10958
  createGroup = request => this.client.fetch({
10870
10959
  body: JSON.stringify(marshalCreateGroupRequest(request, this.client.settings)),
10871
- headers: jsonContentHeaders$g,
10960
+ headers: jsonContentHeaders$h,
10872
10961
  method: 'POST',
10873
10962
  path: `/iam/v1alpha1/groups`
10874
10963
  }, unmarshalGroup);
@@ -10895,7 +10984,7 @@ let API$i = class API extends API$u {
10895
10984
  */
10896
10985
  updateGroup = request => this.client.fetch({
10897
10986
  body: JSON.stringify(marshalUpdateGroupRequest(request, this.client.settings)),
10898
- headers: jsonContentHeaders$g,
10987
+ headers: jsonContentHeaders$h,
10899
10988
  method: 'PATCH',
10900
10989
  path: `/iam/v1alpha1/groups/${validatePathParam('groupId', request.groupId)}`
10901
10990
  }, unmarshalGroup);
@@ -10910,7 +10999,7 @@ let API$i = class API extends API$u {
10910
10999
  */
10911
11000
  setGroupMembers = request => this.client.fetch({
10912
11001
  body: JSON.stringify(marshalSetGroupMembersRequest(request, this.client.settings)),
10913
- headers: jsonContentHeaders$g,
11002
+ headers: jsonContentHeaders$h,
10914
11003
  method: 'PUT',
10915
11004
  path: `/iam/v1alpha1/groups/${validatePathParam('groupId', request.groupId)}/members`
10916
11005
  }, unmarshalGroup);
@@ -10925,7 +11014,7 @@ let API$i = class API extends API$u {
10925
11014
  */
10926
11015
  addGroupMember = request => this.client.fetch({
10927
11016
  body: JSON.stringify(marshalAddGroupMemberRequest(request, this.client.settings)),
10928
- headers: jsonContentHeaders$g,
11017
+ headers: jsonContentHeaders$h,
10929
11018
  method: 'POST',
10930
11019
  path: `/iam/v1alpha1/groups/${validatePathParam('groupId', request.groupId)}/add-member`
10931
11020
  }, unmarshalGroup);
@@ -10943,7 +11032,7 @@ let API$i = class API extends API$u {
10943
11032
  */
10944
11033
  addGroupMembers = request => this.client.fetch({
10945
11034
  body: JSON.stringify(marshalAddGroupMembersRequest(request, this.client.settings)),
10946
- headers: jsonContentHeaders$g,
11035
+ headers: jsonContentHeaders$h,
10947
11036
  method: 'POST',
10948
11037
  path: `/iam/v1alpha1/groups/${validatePathParam('groupId', request.groupId)}/add-members`
10949
11038
  }, unmarshalGroup);
@@ -10962,7 +11051,7 @@ let API$i = class API extends API$u {
10962
11051
  */
10963
11052
  removeGroupMember = request => this.client.fetch({
10964
11053
  body: JSON.stringify(marshalRemoveGroupMemberRequest(request, this.client.settings)),
10965
- headers: jsonContentHeaders$g,
11054
+ headers: jsonContentHeaders$h,
10966
11055
  method: 'POST',
10967
11056
  path: `/iam/v1alpha1/groups/${validatePathParam('groupId', request.groupId)}/remove-member`
10968
11057
  }, unmarshalGroup);
@@ -11008,7 +11097,7 @@ let API$i = class API extends API$u {
11008
11097
  */
11009
11098
  createPolicy = request => this.client.fetch({
11010
11099
  body: JSON.stringify(marshalCreatePolicyRequest(request, this.client.settings)),
11011
- headers: jsonContentHeaders$g,
11100
+ headers: jsonContentHeaders$h,
11012
11101
  method: 'POST',
11013
11102
  path: `/iam/v1alpha1/policies`
11014
11103
  }, unmarshalPolicy);
@@ -11037,7 +11126,7 @@ let API$i = class API extends API$u {
11037
11126
  */
11038
11127
  updatePolicy = request => this.client.fetch({
11039
11128
  body: JSON.stringify(marshalUpdatePolicyRequest(request, this.client.settings)),
11040
- headers: jsonContentHeaders$g,
11129
+ headers: jsonContentHeaders$h,
11041
11130
  method: 'PATCH',
11042
11131
  path: `/iam/v1alpha1/policies/${validatePathParam('policyId', request.policyId)}`
11043
11132
  }, unmarshalPolicy);
@@ -11064,7 +11153,7 @@ let API$i = class API extends API$u {
11064
11153
  */
11065
11154
  clonePolicy = request => this.client.fetch({
11066
11155
  body: '{}',
11067
- headers: jsonContentHeaders$g,
11156
+ headers: jsonContentHeaders$h,
11068
11157
  method: 'POST',
11069
11158
  path: `/iam/v1alpha1/policies/${validatePathParam('policyId', request.policyId)}/clone`
11070
11159
  }, unmarshalPolicy);
@@ -11082,7 +11171,7 @@ let API$i = class API extends API$u {
11082
11171
  */
11083
11172
  setRules = request => this.client.fetch({
11084
11173
  body: JSON.stringify(marshalSetRulesRequest(request, this.client.settings)),
11085
- headers: jsonContentHeaders$g,
11174
+ headers: jsonContentHeaders$h,
11086
11175
  method: 'PUT',
11087
11176
  path: `/iam/v1alpha1/rules`
11088
11177
  }, unmarshalSetRulesResponse);
@@ -11153,7 +11242,7 @@ let API$i = class API extends API$u {
11153
11242
  */
11154
11243
  createAPIKey = request => this.client.fetch({
11155
11244
  body: JSON.stringify(marshalCreateAPIKeyRequest(request, this.client.settings)),
11156
- headers: jsonContentHeaders$g,
11245
+ headers: jsonContentHeaders$h,
11157
11246
  method: 'POST',
11158
11247
  path: `/iam/v1alpha1/api-keys`
11159
11248
  }, unmarshalAPIKey);
@@ -11183,7 +11272,7 @@ let API$i = class API extends API$u {
11183
11272
  */
11184
11273
  updateAPIKey = request => this.client.fetch({
11185
11274
  body: JSON.stringify(marshalUpdateAPIKeyRequest(request, this.client.settings)),
11186
- headers: jsonContentHeaders$g,
11275
+ headers: jsonContentHeaders$h,
11187
11276
  method: 'PATCH',
11188
11277
  path: `/iam/v1alpha1/api-keys/${validatePathParam('accessKey', request.accessKey)}`
11189
11278
  }, unmarshalAPIKey);
@@ -11472,7 +11561,7 @@ const UpdateSSHKeyRequest = {
11472
11561
  }
11473
11562
  };
11474
11563
 
11475
- var validationRules_gen$3 = /*#__PURE__*/Object.freeze({
11564
+ var validationRules_gen$4 = /*#__PURE__*/Object.freeze({
11476
11565
  __proto__: null,
11477
11566
  CreateAPIKeyRequest: CreateAPIKeyRequest,
11478
11567
  CreateApplicationRequest: CreateApplicationRequest,
@@ -11500,15 +11589,15 @@ var validationRules_gen$3 = /*#__PURE__*/Object.freeze({
11500
11589
  // This file was automatically generated. DO NOT EDIT.
11501
11590
  // If you have any remark or suggestion do not hesitate to open an issue.
11502
11591
 
11503
- var index_gen$f = /*#__PURE__*/Object.freeze({
11592
+ var index_gen$g = /*#__PURE__*/Object.freeze({
11504
11593
  __proto__: null,
11505
11594
  API: API$i,
11506
- ValidationRules: validationRules_gen$3
11595
+ ValidationRules: validationRules_gen$4
11507
11596
  });
11508
11597
 
11509
11598
  var index$j = /*#__PURE__*/Object.freeze({
11510
11599
  __proto__: null,
11511
- v1alpha1: index_gen$f
11600
+ v1alpha1: index_gen$g
11512
11601
  });
11513
11602
 
11514
11603
  // This file was automatically generated. DO NOT EDIT.
@@ -11661,7 +11750,8 @@ const unmarshalServerIp = data => {
11661
11750
  gateway: data.gateway,
11662
11751
  id: data.id,
11663
11752
  netmask: data.netmask,
11664
- provisioningMode: data.provisioning_mode
11753
+ provisioningMode: data.provisioning_mode,
11754
+ tags: data.tags
11665
11755
  };
11666
11756
  };
11667
11757
  const unmarshalServerIpv6 = data => {
@@ -12500,7 +12590,8 @@ const marshalServerIp = (request, defaults) => ({
12500
12590
  gateway: request.gateway,
12501
12591
  id: request.id,
12502
12592
  netmask: request.netmask,
12503
- provisioning_mode: request.provisioningMode
12593
+ provisioning_mode: request.provisioningMode,
12594
+ tags: request.tags
12504
12595
  });
12505
12596
  const marshalServerIpv6 = (request, defaults) => ({
12506
12597
  address: request.address,
@@ -12879,9 +12970,9 @@ const marshalUpdateServerRequest = (request, defaults) => ({
12879
12970
  enable_ipv6: request.enableIpv6,
12880
12971
  name: request.name,
12881
12972
  placement_group: request.placementGroup,
12882
- private_nics: request.privateNics ? request.privateNics.map(elt => marshalPrivateNIC(elt)) : undefined,
12973
+ private_nics: request.privateNics,
12883
12974
  protected: request.protected,
12884
- public_ips: request.publicIps ? request.publicIps.map(elt => marshalServerIp(elt)) : undefined,
12975
+ public_ips: request.publicIps,
12885
12976
  routed_ip_enabled: request.routedIpEnabled,
12886
12977
  security_group: request.securityGroup ? marshalSecurityGroupTemplate(request.securityGroup) : undefined,
12887
12978
  tags: request.tags,
@@ -12898,7 +12989,7 @@ const marshalUpdateVolumeRequest$1 = (request, defaults) => ({
12898
12989
 
12899
12990
  // This file was automatically generated. DO NOT EDIT.
12900
12991
  // If you have any remark or suggestion do not hesitate to open an issue.
12901
- const jsonContentHeaders$f = {
12992
+ const jsonContentHeaders$g = {
12902
12993
  'Content-Type': 'application/json; charset=utf-8'
12903
12994
  };
12904
12995
 
@@ -12959,7 +13050,7 @@ let API$h = class API extends API$u {
12959
13050
  listServers = (request = {}) => enrichForPagination('servers', this.pageOfListServers, request);
12960
13051
  _createServer = request => this.client.fetch({
12961
13052
  body: JSON.stringify(marshalCreateServerRequest(request, this.client.settings)),
12962
- headers: jsonContentHeaders$f,
13053
+ headers: jsonContentHeaders$g,
12963
13054
  method: 'POST',
12964
13055
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers`
12965
13056
  }, unmarshalCreateServerResponse);
@@ -12986,13 +13077,13 @@ let API$h = class API extends API$u {
12986
13077
  }, unmarshalGetServerResponse);
12987
13078
  _setServer = request => this.client.fetch({
12988
13079
  body: JSON.stringify(marshalSetServerRequest(request, this.client.settings)),
12989
- headers: jsonContentHeaders$f,
13080
+ headers: jsonContentHeaders$g,
12990
13081
  method: 'PUT',
12991
13082
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('id', request.id)}`
12992
13083
  }, unmarshalSetServerResponse);
12993
13084
  _updateServer = request => this.client.fetch({
12994
13085
  body: JSON.stringify(marshalUpdateServerRequest(request, this.client.settings)),
12995
- headers: jsonContentHeaders$f,
13086
+ headers: jsonContentHeaders$g,
12996
13087
  method: 'PATCH',
12997
13088
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}`
12998
13089
  }, unmarshalUpdateServerResponse);
@@ -13030,7 +13121,7 @@ let API$h = class API extends API$u {
13030
13121
  */
13031
13122
  serverAction = request => this.client.fetch({
13032
13123
  body: JSON.stringify(marshalServerActionRequest(request, this.client.settings)),
13033
- headers: jsonContentHeaders$f,
13124
+ headers: jsonContentHeaders$g,
13034
13125
  method: 'POST',
13035
13126
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/action`
13036
13127
  }, unmarshalServerActionResponse);
@@ -13089,13 +13180,13 @@ let API$h = class API extends API$u {
13089
13180
  */
13090
13181
  createImage = request => this.client.fetch({
13091
13182
  body: JSON.stringify(marshalCreateImageRequest(request, this.client.settings)),
13092
- headers: jsonContentHeaders$f,
13183
+ headers: jsonContentHeaders$g,
13093
13184
  method: 'POST',
13094
13185
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/images`
13095
13186
  }, unmarshalCreateImageResponse);
13096
13187
  _setImage = request => this.client.fetch({
13097
13188
  body: JSON.stringify(marshalSetImageRequest(request, this.client.settings)),
13098
- headers: jsonContentHeaders$f,
13189
+ headers: jsonContentHeaders$g,
13099
13190
  method: 'PUT',
13100
13191
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/images/${validatePathParam('id', request.id)}`
13101
13192
  }, unmarshalSetImageResponse);
@@ -13134,7 +13225,7 @@ let API$h = class API extends API$u {
13134
13225
  */
13135
13226
  createSnapshot = (request = {}) => this.client.fetch({
13136
13227
  body: JSON.stringify(marshalCreateSnapshotRequest$1(request, this.client.settings)),
13137
- headers: jsonContentHeaders$f,
13228
+ headers: jsonContentHeaders$g,
13138
13229
  method: 'POST',
13139
13230
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/snapshots`
13140
13231
  }, unmarshalCreateSnapshotResponse);
@@ -13151,7 +13242,7 @@ let API$h = class API extends API$u {
13151
13242
  }, unmarshalGetSnapshotResponse);
13152
13243
  _setSnapshot = request => this.client.fetch({
13153
13244
  body: JSON.stringify(marshalSetSnapshotRequest(request, this.client.settings)),
13154
- headers: jsonContentHeaders$f,
13245
+ headers: jsonContentHeaders$g,
13155
13246
  method: 'PUT',
13156
13247
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/snapshots/${validatePathParam('snapshotId', request.snapshotId)}`
13157
13248
  }, unmarshalSetSnapshotResponse);
@@ -13175,7 +13266,7 @@ let API$h = class API extends API$u {
13175
13266
  */
13176
13267
  exportSnapshot = request => this.client.fetch({
13177
13268
  body: JSON.stringify(marshalExportSnapshotRequest(request, this.client.settings)),
13178
- headers: jsonContentHeaders$f,
13269
+ headers: jsonContentHeaders$g,
13179
13270
  method: 'POST',
13180
13271
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/snapshots/${validatePathParam('snapshotId', request.snapshotId)}/export`
13181
13272
  }, unmarshalExportSnapshotResponse);
@@ -13203,7 +13294,7 @@ let API$h = class API extends API$u {
13203
13294
  */
13204
13295
  createVolume = (request = {}) => this.client.fetch({
13205
13296
  body: JSON.stringify(marshalCreateVolumeRequest$1(request, this.client.settings)),
13206
- headers: jsonContentHeaders$f,
13297
+ headers: jsonContentHeaders$g,
13207
13298
  method: 'POST',
13208
13299
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/volumes`
13209
13300
  }, unmarshalCreateVolumeResponse);
@@ -13229,7 +13320,7 @@ let API$h = class API extends API$u {
13229
13320
  */
13230
13321
  updateVolume = request => this.client.fetch({
13231
13322
  body: JSON.stringify(marshalUpdateVolumeRequest$1(request, this.client.settings)),
13232
- headers: jsonContentHeaders$f,
13323
+ headers: jsonContentHeaders$g,
13233
13324
  method: 'PATCH',
13234
13325
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/volumes/${validatePathParam('volumeId', request.volumeId)}`
13235
13326
  }, unmarshalUpdateVolumeResponse);
@@ -13266,7 +13357,7 @@ let API$h = class API extends API$u {
13266
13357
  */
13267
13358
  createSecurityGroup = request => this.client.fetch({
13268
13359
  body: JSON.stringify(marshalCreateSecurityGroupRequest(request, this.client.settings)),
13269
- headers: jsonContentHeaders$f,
13360
+ headers: jsonContentHeaders$g,
13270
13361
  method: 'POST',
13271
13362
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/security_groups`
13272
13363
  }, unmarshalCreateSecurityGroupResponse);
@@ -13294,7 +13385,7 @@ let API$h = class API extends API$u {
13294
13385
  });
13295
13386
  _setSecurityGroup = request => this.client.fetch({
13296
13387
  body: JSON.stringify(marshalSetSecurityGroupRequest(request, this.client.settings)),
13297
- headers: jsonContentHeaders$f,
13388
+ headers: jsonContentHeaders$g,
13298
13389
  method: 'PUT',
13299
13390
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/security_groups/${validatePathParam('id', request.id)}`
13300
13391
  }, unmarshalSetSecurityGroupResponse);
@@ -13332,7 +13423,7 @@ let API$h = class API extends API$u {
13332
13423
  */
13333
13424
  createSecurityGroupRule = request => this.client.fetch({
13334
13425
  body: JSON.stringify(marshalCreateSecurityGroupRuleRequest(request, this.client.settings)),
13335
- headers: jsonContentHeaders$f,
13426
+ headers: jsonContentHeaders$g,
13336
13427
  method: 'POST',
13337
13428
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/security_groups/${validatePathParam('securityGroupId', request.securityGroupId)}/rules`
13338
13429
  }, unmarshalCreateSecurityGroupRuleResponse);
@@ -13348,7 +13439,7 @@ let API$h = class API extends API$u {
13348
13439
  */
13349
13440
  setSecurityGroupRules = request => this.client.fetch({
13350
13441
  body: JSON.stringify(marshalSetSecurityGroupRulesRequest(request, this.client.settings)),
13351
- headers: jsonContentHeaders$f,
13442
+ headers: jsonContentHeaders$g,
13352
13443
  method: 'PUT',
13353
13444
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/security_groups/${validatePathParam('securityGroupId', request.securityGroupId)}/rules`
13354
13445
  }, unmarshalSetSecurityGroupRulesResponse);
@@ -13375,7 +13466,7 @@ let API$h = class API extends API$u {
13375
13466
  }, unmarshalGetSecurityGroupRuleResponse);
13376
13467
  _setSecurityGroupRule = request => this.client.fetch({
13377
13468
  body: JSON.stringify(marshalSetSecurityGroupRuleRequest(request, this.client.settings)),
13378
- headers: jsonContentHeaders$f,
13469
+ headers: jsonContentHeaders$g,
13379
13470
  method: 'PUT',
13380
13471
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/security_groups/${validatePathParam('securityGroupId', request.securityGroupId)}/rules/${validatePathParam('securityGroupRuleId', request.securityGroupRuleId)}`
13381
13472
  }, unmarshalSetSecurityGroupRuleResponse);
@@ -13403,7 +13494,7 @@ let API$h = class API extends API$u {
13403
13494
  */
13404
13495
  createPlacementGroup = (request = {}) => this.client.fetch({
13405
13496
  body: JSON.stringify(marshalCreatePlacementGroupRequest(request, this.client.settings)),
13406
- headers: jsonContentHeaders$f,
13497
+ headers: jsonContentHeaders$g,
13407
13498
  method: 'POST',
13408
13499
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/placement_groups`
13409
13500
  }, unmarshalCreatePlacementGroupResponse);
@@ -13427,7 +13518,7 @@ let API$h = class API extends API$u {
13427
13518
  */
13428
13519
  setPlacementGroup = request => this.client.fetch({
13429
13520
  body: JSON.stringify(marshalSetPlacementGroupRequest(request, this.client.settings)),
13430
- headers: jsonContentHeaders$f,
13521
+ headers: jsonContentHeaders$g,
13431
13522
  method: 'PUT',
13432
13523
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/placement_groups/${validatePathParam('placementGroupId', request.placementGroupId)}`
13433
13524
  }, unmarshalSetPlacementGroupResponse);
@@ -13441,7 +13532,7 @@ let API$h = class API extends API$u {
13441
13532
  */
13442
13533
  updatePlacementGroup = request => this.client.fetch({
13443
13534
  body: JSON.stringify(marshalUpdatePlacementGroupRequest(request, this.client.settings)),
13444
- headers: jsonContentHeaders$f,
13535
+ headers: jsonContentHeaders$g,
13445
13536
  method: 'PATCH',
13446
13537
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/placement_groups/${validatePathParam('placementGroupId', request.placementGroupId)}`
13447
13538
  }, unmarshalUpdatePlacementGroupResponse);
@@ -13477,7 +13568,7 @@ let API$h = class API extends API$u {
13477
13568
  */
13478
13569
  setPlacementGroupServers = request => this.client.fetch({
13479
13570
  body: JSON.stringify(marshalSetPlacementGroupServersRequest(request, this.client.settings)),
13480
- headers: jsonContentHeaders$f,
13571
+ headers: jsonContentHeaders$g,
13481
13572
  method: 'PUT',
13482
13573
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/placement_groups/${validatePathParam('placementGroupId', request.placementGroupId)}/servers`
13483
13574
  }, unmarshalSetPlacementGroupServersResponse);
@@ -13491,7 +13582,7 @@ let API$h = class API extends API$u {
13491
13582
  */
13492
13583
  updatePlacementGroupServers = request => this.client.fetch({
13493
13584
  body: JSON.stringify(marshalUpdatePlacementGroupServersRequest(request, this.client.settings)),
13494
- headers: jsonContentHeaders$f,
13585
+ headers: jsonContentHeaders$g,
13495
13586
  method: 'PATCH',
13496
13587
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/placement_groups/${validatePathParam('placementGroupId', request.placementGroupId)}/servers`
13497
13588
  }, unmarshalUpdatePlacementGroupServersResponse);
@@ -13518,7 +13609,7 @@ let API$h = class API extends API$u {
13518
13609
  */
13519
13610
  createIp = (request = {}) => this.client.fetch({
13520
13611
  body: JSON.stringify(marshalCreateIpRequest$1(request, this.client.settings)),
13521
- headers: jsonContentHeaders$f,
13612
+ headers: jsonContentHeaders$g,
13522
13613
  method: 'POST',
13523
13614
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/ips`
13524
13615
  }, unmarshalCreateIpResponse);
@@ -13543,7 +13634,7 @@ let API$h = class API extends API$u {
13543
13634
  */
13544
13635
  updateIp = request => this.client.fetch({
13545
13636
  body: JSON.stringify(marshalUpdateIpRequest$1(request, this.client.settings)),
13546
- headers: jsonContentHeaders$f,
13637
+ headers: jsonContentHeaders$g,
13547
13638
  method: 'PATCH',
13548
13639
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/ips/${validatePathParam('ip', request.ip)}`
13549
13640
  }, unmarshalUpdateIpResponse);
@@ -13579,7 +13670,7 @@ let API$h = class API extends API$u {
13579
13670
  */
13580
13671
  createPrivateNIC = request => this.client.fetch({
13581
13672
  body: JSON.stringify(marshalCreatePrivateNICRequest(request, this.client.settings)),
13582
- headers: jsonContentHeaders$f,
13673
+ headers: jsonContentHeaders$g,
13583
13674
  method: 'POST',
13584
13675
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/private_nics`
13585
13676
  }, unmarshalCreatePrivateNICResponse);
@@ -13604,7 +13695,7 @@ let API$h = class API extends API$u {
13604
13695
  */
13605
13696
  updatePrivateNIC = request => this.client.fetch({
13606
13697
  body: JSON.stringify(marshalUpdatePrivateNICRequest(request, this.client.settings)),
13607
- headers: jsonContentHeaders$f,
13698
+ headers: jsonContentHeaders$g,
13608
13699
  method: 'PATCH',
13609
13700
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/servers/${validatePathParam('serverId', request.serverId)}/private_nics/${validatePathParam('privateNicId', request.privateNicId)}`
13610
13701
  }, unmarshalPrivateNIC);
@@ -13664,7 +13755,7 @@ let API$h = class API extends API$u {
13664
13755
  */
13665
13756
  planBlockMigration = (request = {}) => this.client.fetch({
13666
13757
  body: JSON.stringify(marshalPlanBlockMigrationRequest(request, this.client.settings)),
13667
- headers: jsonContentHeaders$f,
13758
+ headers: jsonContentHeaders$g,
13668
13759
  method: 'POST',
13669
13760
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/block-migration/plan`
13670
13761
  }, unmarshalMigrationPlan);
@@ -13679,7 +13770,7 @@ let API$h = class API extends API$u {
13679
13770
  */
13680
13771
  applyBlockMigration = request => this.client.fetch({
13681
13772
  body: JSON.stringify(marshalApplyBlockMigrationRequest(request, this.client.settings)),
13682
- headers: jsonContentHeaders$f,
13773
+ headers: jsonContentHeaders$g,
13683
13774
  method: 'POST',
13684
13775
  path: `/instance/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/block-migration/apply`
13685
13776
  });
@@ -14595,7 +14686,7 @@ const marshalUpdateRouteRequest$1 = (request, defaults) => ({
14595
14686
 
14596
14687
  // This file was automatically generated. DO NOT EDIT.
14597
14688
  // If you have any remark or suggestion do not hesitate to open an issue.
14598
- const jsonContentHeaders$e = {
14689
+ const jsonContentHeaders$f = {
14599
14690
  'Content-Type': 'application/json; charset=utf-8'
14600
14691
  };
14601
14692
 
@@ -14632,7 +14723,7 @@ let API$g = class API extends API$u {
14632
14723
  */
14633
14724
  createHub = request => this.client.fetch({
14634
14725
  body: JSON.stringify(marshalCreateHubRequest(request, this.client.settings)),
14635
- headers: jsonContentHeaders$e,
14726
+ headers: jsonContentHeaders$f,
14636
14727
  method: 'POST',
14637
14728
  path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/hubs`
14638
14729
  }, unmarshalHub);
@@ -14668,7 +14759,7 @@ let API$g = class API extends API$u {
14668
14759
  */
14669
14760
  updateHub = request => this.client.fetch({
14670
14761
  body: JSON.stringify(marshalUpdateHubRequest(request, this.client.settings)),
14671
- headers: jsonContentHeaders$e,
14762
+ headers: jsonContentHeaders$f,
14672
14763
  method: 'PATCH',
14673
14764
  path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/hubs/${validatePathParam('hubId', request.hubId)}`
14674
14765
  }, unmarshalHub);
@@ -14681,7 +14772,7 @@ let API$g = class API extends API$u {
14681
14772
  */
14682
14773
  enableHub = request => this.client.fetch({
14683
14774
  body: '{}',
14684
- headers: jsonContentHeaders$e,
14775
+ headers: jsonContentHeaders$f,
14685
14776
  method: 'POST',
14686
14777
  path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/hubs/${validatePathParam('hubId', request.hubId)}/enable`
14687
14778
  }, unmarshalHub);
@@ -14694,7 +14785,7 @@ let API$g = class API extends API$u {
14694
14785
  */
14695
14786
  disableHub = request => this.client.fetch({
14696
14787
  body: '{}',
14697
- headers: jsonContentHeaders$e,
14788
+ headers: jsonContentHeaders$f,
14698
14789
  method: 'POST',
14699
14790
  path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/hubs/${validatePathParam('hubId', request.hubId)}/disable`
14700
14791
  }, unmarshalHub);
@@ -14734,7 +14825,7 @@ let API$g = class API extends API$u {
14734
14825
  */
14735
14826
  setHubCA = request => this.client.fetch({
14736
14827
  body: JSON.stringify(marshalSetHubCARequest(request, this.client.settings)),
14737
- headers: jsonContentHeaders$e,
14828
+ headers: jsonContentHeaders$f,
14738
14829
  method: 'POST',
14739
14830
  path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/hubs/${validatePathParam('hubId', request.hubId)}/ca`
14740
14831
  }, unmarshalHub);
@@ -14774,7 +14865,7 @@ let API$g = class API extends API$u {
14774
14865
  */
14775
14866
  createDevice = request => this.client.fetch({
14776
14867
  body: JSON.stringify(marshalCreateDeviceRequest(request, this.client.settings)),
14777
- headers: jsonContentHeaders$e,
14868
+ headers: jsonContentHeaders$f,
14778
14869
  method: 'POST',
14779
14870
  path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/devices`
14780
14871
  }, unmarshalCreateDeviceResponse);
@@ -14801,7 +14892,7 @@ let API$g = class API extends API$u {
14801
14892
  */
14802
14893
  updateDevice = request => this.client.fetch({
14803
14894
  body: JSON.stringify(marshalUpdateDeviceRequest(request, this.client.settings)),
14804
- headers: jsonContentHeaders$e,
14895
+ headers: jsonContentHeaders$f,
14805
14896
  method: 'PATCH',
14806
14897
  path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/devices/${validatePathParam('deviceId', request.deviceId)}`
14807
14898
  }, unmarshalDevice);
@@ -14814,7 +14905,7 @@ let API$g = class API extends API$u {
14814
14905
  */
14815
14906
  enableDevice = request => this.client.fetch({
14816
14907
  body: '{}',
14817
- headers: jsonContentHeaders$e,
14908
+ headers: jsonContentHeaders$f,
14818
14909
  method: 'POST',
14819
14910
  path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/devices/${validatePathParam('deviceId', request.deviceId)}/enable`
14820
14911
  }, unmarshalDevice);
@@ -14827,7 +14918,7 @@ let API$g = class API extends API$u {
14827
14918
  */
14828
14919
  disableDevice = request => this.client.fetch({
14829
14920
  body: '{}',
14830
- headers: jsonContentHeaders$e,
14921
+ headers: jsonContentHeaders$f,
14831
14922
  method: 'POST',
14832
14923
  path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/devices/${validatePathParam('deviceId', request.deviceId)}/disable`
14833
14924
  }, unmarshalDevice);
@@ -14841,7 +14932,7 @@ let API$g = class API extends API$u {
14841
14932
  */
14842
14933
  renewDeviceCertificate = request => this.client.fetch({
14843
14934
  body: '{}',
14844
- headers: jsonContentHeaders$e,
14935
+ headers: jsonContentHeaders$f,
14845
14936
  method: 'POST',
14846
14937
  path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/devices/${validatePathParam('deviceId', request.deviceId)}/renew-certificate`
14847
14938
  }, unmarshalRenewDeviceCertificateResponse);
@@ -14855,7 +14946,7 @@ let API$g = class API extends API$u {
14855
14946
  */
14856
14947
  setDeviceCertificate = request => this.client.fetch({
14857
14948
  body: JSON.stringify(marshalSetDeviceCertificateRequest(request, this.client.settings)),
14858
- headers: jsonContentHeaders$e,
14949
+ headers: jsonContentHeaders$f,
14859
14950
  method: 'PUT',
14860
14951
  path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/devices/${validatePathParam('deviceId', request.deviceId)}/certificate`
14861
14952
  }, unmarshalSetDeviceCertificateResponse);
@@ -14930,7 +15021,7 @@ let API$g = class API extends API$u {
14930
15021
  */
14931
15022
  createRoute = request => this.client.fetch({
14932
15023
  body: JSON.stringify(marshalCreateRouteRequest$1(request, this.client.settings)),
14933
- headers: jsonContentHeaders$e,
15024
+ headers: jsonContentHeaders$f,
14934
15025
  method: 'POST',
14935
15026
  path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/routes`
14936
15027
  }, unmarshalRoute$1);
@@ -14944,7 +15035,7 @@ let API$g = class API extends API$u {
14944
15035
  */
14945
15036
  updateRoute = request => this.client.fetch({
14946
15037
  body: JSON.stringify(marshalUpdateRouteRequest$1(request, this.client.settings)),
14947
- headers: jsonContentHeaders$e,
15038
+ headers: jsonContentHeaders$f,
14948
15039
  method: 'PATCH',
14949
15040
  path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/routes/${validatePathParam('routeId', request.routeId)}`
14950
15041
  }, unmarshalRoute$1);
@@ -14996,7 +15087,7 @@ let API$g = class API extends API$u {
14996
15087
  */
14997
15088
  createNetwork = request => this.client.fetch({
14998
15089
  body: JSON.stringify(marshalCreateNetworkRequest(request, this.client.settings)),
14999
- headers: jsonContentHeaders$e,
15090
+ headers: jsonContentHeaders$f,
15000
15091
  method: 'POST',
15001
15092
  path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/networks`
15002
15093
  }, unmarshalCreateNetworkResponse);
@@ -15044,7 +15135,7 @@ let API$g = class API extends API$u {
15044
15135
  */
15045
15136
  putTwinDocument = request => this.client.fetch({
15046
15137
  body: JSON.stringify(marshalPutTwinDocumentRequest(request, this.client.settings)),
15047
- headers: jsonContentHeaders$e,
15138
+ headers: jsonContentHeaders$f,
15048
15139
  method: 'PUT',
15049
15140
  path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/twins/${validatePathParam('twinId', request.twinId)}/documents/${validatePathParam('documentName', request.documentName)}`
15050
15141
  }, unmarshalTwinDocument);
@@ -15057,7 +15148,7 @@ let API$g = class API extends API$u {
15057
15148
  */
15058
15149
  patchTwinDocument = request => this.client.fetch({
15059
15150
  body: JSON.stringify(marshalPatchTwinDocumentRequest(request, this.client.settings)),
15060
- headers: jsonContentHeaders$e,
15151
+ headers: jsonContentHeaders$f,
15061
15152
  method: 'PATCH',
15062
15153
  path: `/iot/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/twins/${validatePathParam('twinId', request.twinId)}/documents/${validatePathParam('documentName', request.documentName)}`
15063
15154
  }, unmarshalTwinDocument);
@@ -15097,7 +15188,7 @@ let API$g = class API extends API$u {
15097
15188
  // This file was automatically generated. DO NOT EDIT.
15098
15189
  // If you have any remark or suggestion do not hesitate to open an issue.
15099
15190
 
15100
- var index_gen$e = /*#__PURE__*/Object.freeze({
15191
+ var index_gen$f = /*#__PURE__*/Object.freeze({
15101
15192
  __proto__: null,
15102
15193
  API: API$g,
15103
15194
  HUB_TRANSIENT_STATUSES: HUB_TRANSIENT_STATUSES
@@ -15105,7 +15196,7 @@ var index_gen$e = /*#__PURE__*/Object.freeze({
15105
15196
 
15106
15197
  var index$g = /*#__PURE__*/Object.freeze({
15107
15198
  __proto__: null,
15108
- v1: index_gen$e
15199
+ v1: index_gen$f
15109
15200
  });
15110
15201
 
15111
15202
  // This file was automatically generated. DO NOT EDIT.
@@ -15237,7 +15328,7 @@ const marshalUpdateVolumeRequest = (request, defaults) => ({
15237
15328
 
15238
15329
  // This file was automatically generated. DO NOT EDIT.
15239
15330
  // If you have any remark or suggestion do not hesitate to open an issue.
15240
- const jsonContentHeaders$d = {
15331
+ const jsonContentHeaders$e = {
15241
15332
  'Content-Type': 'application/json; charset=utf-8'
15242
15333
  };
15243
15334
 
@@ -15258,7 +15349,7 @@ let API$f = class API extends API$u {
15258
15349
  */
15259
15350
  createVolume = request => this.client.fetch({
15260
15351
  body: JSON.stringify(marshalCreateVolumeRequest(request, this.client.settings)),
15261
- headers: jsonContentHeaders$d,
15352
+ headers: jsonContentHeaders$e,
15262
15353
  method: 'POST',
15263
15354
  path: `/ipfs/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/volumes`
15264
15355
  }, unmarshalVolume$1);
@@ -15297,7 +15388,7 @@ let API$f = class API extends API$u {
15297
15388
  */
15298
15389
  updateVolume = request => this.client.fetch({
15299
15390
  body: JSON.stringify(marshalUpdateVolumeRequest(request, this.client.settings)),
15300
- headers: jsonContentHeaders$d,
15391
+ headers: jsonContentHeaders$e,
15301
15392
  method: 'PATCH',
15302
15393
  path: `/ipfs/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/volumes/${validatePathParam('volumeId', request.volumeId)}`
15303
15394
  }, unmarshalVolume$1);
@@ -15328,7 +15419,7 @@ let API$f = class API extends API$u {
15328
15419
  */
15329
15420
  createPinByURL = request => this.client.fetch({
15330
15421
  body: JSON.stringify(marshalCreatePinByURLRequest(request, this.client.settings)),
15331
- headers: jsonContentHeaders$d,
15422
+ headers: jsonContentHeaders$e,
15332
15423
  method: 'POST',
15333
15424
  path: `/ipfs/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/pins/create-by-url`
15334
15425
  }, unmarshalPin);
@@ -15347,13 +15438,13 @@ let API$f = class API extends API$u {
15347
15438
  */
15348
15439
  createPinByCID = request => this.client.fetch({
15349
15440
  body: JSON.stringify(marshalCreatePinByCIDRequest(request, this.client.settings)),
15350
- headers: jsonContentHeaders$d,
15441
+ headers: jsonContentHeaders$e,
15351
15442
  method: 'POST',
15352
15443
  path: `/ipfs/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/pins/create-by-cid`
15353
15444
  }, unmarshalPin);
15354
15445
  replacePin = request => this.client.fetch({
15355
15446
  body: JSON.stringify(marshalReplacePinRequest(request, this.client.settings)),
15356
- headers: jsonContentHeaders$d,
15447
+ headers: jsonContentHeaders$e,
15357
15448
  method: 'POST',
15358
15449
  path: `/ipfs/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/pins/${validatePathParam('pinId', request.pinId)}/replace`
15359
15450
  }, unmarshalReplacePinResponse);
@@ -15411,7 +15502,7 @@ let API$f = class API extends API$u {
15411
15502
  // This file was automatically generated. DO NOT EDIT.
15412
15503
  // If you have any remark or suggestion do not hesitate to open an issue.
15413
15504
 
15414
- var index_gen$d = /*#__PURE__*/Object.freeze({
15505
+ var index_gen$e = /*#__PURE__*/Object.freeze({
15415
15506
  __proto__: null,
15416
15507
  API: API$f,
15417
15508
  PIN_TRANSIENT_STATUSES: PIN_TRANSIENT_STATUSES
@@ -15419,7 +15510,7 @@ var index_gen$d = /*#__PURE__*/Object.freeze({
15419
15510
 
15420
15511
  var index$f = /*#__PURE__*/Object.freeze({
15421
15512
  __proto__: null,
15422
- v1alpha1: index_gen$d
15513
+ v1alpha1: index_gen$e
15423
15514
  });
15424
15515
 
15425
15516
  // This file was automatically generated. DO NOT EDIT.
@@ -15579,6 +15670,7 @@ const unmarshalPool = data => {
15579
15670
  name: data.name,
15580
15671
  nodeType: data.node_type,
15581
15672
  placementGroupId: data.placement_group_id,
15673
+ publicIpDisabled: data.public_ip_disabled,
15582
15674
  region: data.region,
15583
15675
  rootVolumeSize: data.root_volume_size,
15584
15676
  rootVolumeType: data.root_volume_type,
@@ -15726,6 +15818,7 @@ const marshalCreateClusterRequestPoolConfig = (request, defaults) => ({
15726
15818
  name: request.name,
15727
15819
  node_type: request.nodeType,
15728
15820
  placement_group_id: request.placementGroupId,
15821
+ public_ip_disabled: request.publicIpDisabled,
15729
15822
  root_volume_size: request.rootVolumeSize,
15730
15823
  root_volume_type: request.rootVolumeType,
15731
15824
  size: request.size,
@@ -15803,6 +15896,7 @@ const marshalCreatePoolRequest = (request, defaults) => ({
15803
15896
  name: request.name || randomName('pool'),
15804
15897
  node_type: request.nodeType,
15805
15898
  placement_group_id: request.placementGroupId,
15899
+ public_ip_disabled: request.publicIpDisabled,
15806
15900
  root_volume_size: request.rootVolumeSize,
15807
15901
  root_volume_type: request.rootVolumeType ?? 'default_volume_type',
15808
15902
  size: request.size,
@@ -15849,7 +15943,7 @@ const marshalUpgradePoolRequest = (request, defaults) => ({
15849
15943
 
15850
15944
  // This file was automatically generated. DO NOT EDIT.
15851
15945
  // If you have any remark or suggestion do not hesitate to open an issue.
15852
- const jsonContentHeaders$c = {
15946
+ const jsonContentHeaders$d = {
15853
15947
  'Content-Type': 'application/json; charset=utf-8'
15854
15948
  };
15855
15949
 
@@ -15879,7 +15973,7 @@ let API$e = class API extends API$u {
15879
15973
  */
15880
15974
  createCluster = request => this.client.fetch({
15881
15975
  body: JSON.stringify(marshalCreateClusterRequest$1(request, this.client.settings)),
15882
- headers: jsonContentHeaders$c,
15976
+ headers: jsonContentHeaders$d,
15883
15977
  method: 'POST',
15884
15978
  path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/clusters`
15885
15979
  }, unmarshalCluster$1);
@@ -15914,7 +16008,7 @@ let API$e = class API extends API$u {
15914
16008
  */
15915
16009
  updateCluster = request => this.client.fetch({
15916
16010
  body: JSON.stringify(marshalUpdateClusterRequest$1(request, this.client.settings)),
15917
- headers: jsonContentHeaders$c,
16011
+ headers: jsonContentHeaders$d,
15918
16012
  method: 'PATCH',
15919
16013
  path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/clusters/${validatePathParam('clusterId', request.clusterId)}`
15920
16014
  }, unmarshalCluster$1);
@@ -15942,7 +16036,7 @@ let API$e = class API extends API$u {
15942
16036
  */
15943
16037
  upgradeCluster = request => this.client.fetch({
15944
16038
  body: JSON.stringify(marshalUpgradeClusterRequest(request, this.client.settings)),
15945
- headers: jsonContentHeaders$c,
16039
+ headers: jsonContentHeaders$d,
15946
16040
  method: 'POST',
15947
16041
  path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/clusters/${validatePathParam('clusterId', request.clusterId)}/upgrade`
15948
16042
  }, unmarshalCluster$1);
@@ -15958,7 +16052,7 @@ let API$e = class API extends API$u {
15958
16052
  */
15959
16053
  setClusterType = request => this.client.fetch({
15960
16054
  body: JSON.stringify(marshalSetClusterTypeRequest(request, this.client.settings)),
15961
- headers: jsonContentHeaders$c,
16055
+ headers: jsonContentHeaders$d,
15962
16056
  method: 'POST',
15963
16057
  path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/clusters/${validatePathParam('clusterId', request.clusterId)}/set-type`
15964
16058
  }, unmarshalCluster$1);
@@ -16006,7 +16100,7 @@ let API$e = class API extends API$u {
16006
16100
  */
16007
16101
  resetClusterAdminToken = request => this.client.fetch({
16008
16102
  body: '{}',
16009
- headers: jsonContentHeaders$c,
16103
+ headers: jsonContentHeaders$d,
16010
16104
  method: 'POST',
16011
16105
  path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/clusters/${validatePathParam('clusterId', request.clusterId)}/reset-admin-token`
16012
16106
  });
@@ -16021,7 +16115,7 @@ let API$e = class API extends API$u {
16021
16115
  */
16022
16116
  migrateToPrivateNetworkCluster = request => this.client.fetch({
16023
16117
  body: JSON.stringify(marshalMigrateToPrivateNetworkClusterRequest(request, this.client.settings)),
16024
- headers: jsonContentHeaders$c,
16118
+ headers: jsonContentHeaders$d,
16025
16119
  method: 'POST',
16026
16120
  path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/clusters/${validatePathParam('clusterId', request.clusterId)}/migrate-to-private-network`
16027
16121
  }, unmarshalCluster$1);
@@ -16049,7 +16143,7 @@ let API$e = class API extends API$u {
16049
16143
  */
16050
16144
  createPool = request => this.client.fetch({
16051
16145
  body: JSON.stringify(marshalCreatePoolRequest(request, this.client.settings)),
16052
- headers: jsonContentHeaders$c,
16146
+ headers: jsonContentHeaders$d,
16053
16147
  method: 'POST',
16054
16148
  path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/clusters/${validatePathParam('clusterId', request.clusterId)}/pools`
16055
16149
  }, unmarshalPool);
@@ -16085,7 +16179,7 @@ let API$e = class API extends API$u {
16085
16179
  */
16086
16180
  upgradePool = request => this.client.fetch({
16087
16181
  body: JSON.stringify(marshalUpgradePoolRequest(request, this.client.settings)),
16088
- headers: jsonContentHeaders$c,
16182
+ headers: jsonContentHeaders$d,
16089
16183
  method: 'POST',
16090
16184
  path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/pools/${validatePathParam('poolId', request.poolId)}/upgrade`
16091
16185
  }, unmarshalPool);
@@ -16099,7 +16193,7 @@ let API$e = class API extends API$u {
16099
16193
  */
16100
16194
  updatePool = request => this.client.fetch({
16101
16195
  body: JSON.stringify(marshalUpdatePoolRequest(request, this.client.settings)),
16102
- headers: jsonContentHeaders$c,
16196
+ headers: jsonContentHeaders$d,
16103
16197
  method: 'PATCH',
16104
16198
  path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/pools/${validatePathParam('poolId', request.poolId)}`
16105
16199
  }, unmarshalPool);
@@ -16126,7 +16220,7 @@ let API$e = class API extends API$u {
16126
16220
  */
16127
16221
  createExternalNode = request => this.client.fetch({
16128
16222
  body: '{}',
16129
- headers: jsonContentHeaders$c,
16223
+ headers: jsonContentHeaders$d,
16130
16224
  method: 'POST',
16131
16225
  path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/pools/${validatePathParam('poolId', request.poolId)}/external-nodes`
16132
16226
  }, unmarshalExternalNode);
@@ -16179,7 +16273,7 @@ let API$e = class API extends API$u {
16179
16273
  */
16180
16274
  replaceNode = request => this.client.fetch({
16181
16275
  body: '{}',
16182
- headers: jsonContentHeaders$c,
16276
+ headers: jsonContentHeaders$d,
16183
16277
  method: 'POST',
16184
16278
  path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/nodes/${validatePathParam('nodeId', request.nodeId)}/replace`
16185
16279
  }, unmarshalNode);
@@ -16196,7 +16290,7 @@ let API$e = class API extends API$u {
16196
16290
  */
16197
16291
  rebootNode = request => this.client.fetch({
16198
16292
  body: '{}',
16199
- headers: jsonContentHeaders$c,
16293
+ headers: jsonContentHeaders$d,
16200
16294
  method: 'POST',
16201
16295
  path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/nodes/${validatePathParam('nodeId', request.nodeId)}/reboot`
16202
16296
  }, unmarshalNode);
@@ -16363,7 +16457,7 @@ const UpdateClusterRequestAutoscalerConfig = {
16363
16457
  }
16364
16458
  };
16365
16459
 
16366
- var validationRules_gen$2 = /*#__PURE__*/Object.freeze({
16460
+ var validationRules_gen$3 = /*#__PURE__*/Object.freeze({
16367
16461
  __proto__: null,
16368
16462
  CreateClusterRequest: CreateClusterRequest,
16369
16463
  CreateClusterRequestAutoscalerConfig: CreateClusterRequestAutoscalerConfig,
@@ -16385,7 +16479,7 @@ var index$e = /*#__PURE__*/Object.freeze({
16385
16479
  CLUSTER_TRANSIENT_STATUSES: CLUSTER_TRANSIENT_STATUSES$1,
16386
16480
  NODE_TRANSIENT_STATUSES: NODE_TRANSIENT_STATUSES,
16387
16481
  POOL_TRANSIENT_STATUSES: POOL_TRANSIENT_STATUSES,
16388
- ValidationRules: validationRules_gen$2
16482
+ ValidationRules: validationRules_gen$3
16389
16483
  });
16390
16484
 
16391
16485
  var index$d = /*#__PURE__*/Object.freeze({
@@ -17444,7 +17538,7 @@ const marshalZonedApiUpdateSubscriberRequest = (request, defaults) => ({
17444
17538
 
17445
17539
  // This file was automatically generated. DO NOT EDIT.
17446
17540
  // If you have any remark or suggestion do not hesitate to open an issue.
17447
- const jsonContentHeaders$b = {
17541
+ const jsonContentHeaders$c = {
17448
17542
  'Content-Type': 'application/json; charset=utf-8'
17449
17543
  };
17450
17544
 
@@ -17478,7 +17572,7 @@ let API$d = class API extends API$u {
17478
17572
  */
17479
17573
  createLb = request => this.client.fetch({
17480
17574
  body: JSON.stringify(marshalCreateLbRequest(request, this.client.settings)),
17481
- headers: jsonContentHeaders$b,
17575
+ headers: jsonContentHeaders$c,
17482
17576
  method: 'POST',
17483
17577
  path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/lbs`
17484
17578
  }, unmarshalLb);
@@ -17511,7 +17605,7 @@ let API$d = class API extends API$u {
17511
17605
  */
17512
17606
  updateLb = request => this.client.fetch({
17513
17607
  body: JSON.stringify(marshalUpdateLbRequest(request, this.client.settings)),
17514
- headers: jsonContentHeaders$b,
17608
+ headers: jsonContentHeaders$c,
17515
17609
  method: 'PUT',
17516
17610
  path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/lbs/${validatePathParam('lbId', request.lbId)}`
17517
17611
  }, unmarshalLb);
@@ -17535,7 +17629,7 @@ let API$d = class API extends API$u {
17535
17629
  */
17536
17630
  migrateLb = request => this.client.fetch({
17537
17631
  body: JSON.stringify(marshalMigrateLbRequest(request, this.client.settings)),
17538
- headers: jsonContentHeaders$b,
17632
+ headers: jsonContentHeaders$c,
17539
17633
  method: 'POST',
17540
17634
  path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/lbs/${validatePathParam('lbId', request.lbId)}/migrate`
17541
17635
  }, unmarshalLb);
@@ -17561,7 +17655,7 @@ let API$d = class API extends API$u {
17561
17655
  */
17562
17656
  createIp = (request = {}) => this.client.fetch({
17563
17657
  body: JSON.stringify(marshalCreateIpRequest(request, this.client.settings)),
17564
- headers: jsonContentHeaders$b,
17658
+ headers: jsonContentHeaders$c,
17565
17659
  method: 'POST',
17566
17660
  path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/ips`
17567
17661
  }, unmarshalIp);
@@ -17595,7 +17689,7 @@ let API$d = class API extends API$u {
17595
17689
  */
17596
17690
  updateIp = request => this.client.fetch({
17597
17691
  body: JSON.stringify(marshalUpdateIpRequest(request, this.client.settings)),
17598
- headers: jsonContentHeaders$b,
17692
+ headers: jsonContentHeaders$c,
17599
17693
  method: 'PATCH',
17600
17694
  path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/ips/${validatePathParam('ipId', request.ipId)}`
17601
17695
  }, unmarshalIp);
@@ -17621,7 +17715,7 @@ let API$d = class API extends API$u {
17621
17715
  */
17622
17716
  createBackend = request => this.client.fetch({
17623
17717
  body: JSON.stringify(marshalCreateBackendRequest(request, this.client.settings)),
17624
- headers: jsonContentHeaders$b,
17718
+ headers: jsonContentHeaders$c,
17625
17719
  method: 'POST',
17626
17720
  path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/lbs/${validatePathParam('lbId', request.lbId)}/backends`
17627
17721
  }, unmarshalBackend);
@@ -17645,7 +17739,7 @@ let API$d = class API extends API$u {
17645
17739
  */
17646
17740
  updateBackend = request => this.client.fetch({
17647
17741
  body: JSON.stringify(marshalUpdateBackendRequest(request, this.client.settings)),
17648
- headers: jsonContentHeaders$b,
17742
+ headers: jsonContentHeaders$c,
17649
17743
  method: 'PUT',
17650
17744
  path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/backends/${validatePathParam('backendId', request.backendId)}`
17651
17745
  }, unmarshalBackend);
@@ -17668,7 +17762,7 @@ let API$d = class API extends API$u {
17668
17762
  */
17669
17763
  addBackendServers = request => this.client.fetch({
17670
17764
  body: JSON.stringify(marshalAddBackendServersRequest(request, this.client.settings)),
17671
- headers: jsonContentHeaders$b,
17765
+ headers: jsonContentHeaders$c,
17672
17766
  method: 'POST',
17673
17767
  path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/backends/${validatePathParam('backendId', request.backendId)}/servers`
17674
17768
  }, unmarshalBackend);
@@ -17681,7 +17775,7 @@ let API$d = class API extends API$u {
17681
17775
  */
17682
17776
  removeBackendServers = request => this.client.fetch({
17683
17777
  body: JSON.stringify(marshalRemoveBackendServersRequest(request, this.client.settings)),
17684
- headers: jsonContentHeaders$b,
17778
+ headers: jsonContentHeaders$c,
17685
17779
  method: 'DELETE',
17686
17780
  path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/backends/${validatePathParam('backendId', request.backendId)}/servers`
17687
17781
  }, unmarshalBackend);
@@ -17694,7 +17788,7 @@ let API$d = class API extends API$u {
17694
17788
  */
17695
17789
  setBackendServers = request => this.client.fetch({
17696
17790
  body: JSON.stringify(marshalSetBackendServersRequest(request, this.client.settings)),
17697
- headers: jsonContentHeaders$b,
17791
+ headers: jsonContentHeaders$c,
17698
17792
  method: 'PUT',
17699
17793
  path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/backends/${validatePathParam('backendId', request.backendId)}/servers`
17700
17794
  }, unmarshalBackend);
@@ -17707,7 +17801,7 @@ let API$d = class API extends API$u {
17707
17801
  */
17708
17802
  updateHealthCheck = request => this.client.fetch({
17709
17803
  body: JSON.stringify(marshalUpdateHealthCheckRequest(request, this.client.settings)),
17710
- headers: jsonContentHeaders$b,
17804
+ headers: jsonContentHeaders$c,
17711
17805
  method: 'PUT',
17712
17806
  path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/backends/${validatePathParam('backendId', request.backendId)}/healthcheck`
17713
17807
  }, unmarshalHealthCheck);
@@ -17733,7 +17827,7 @@ let API$d = class API extends API$u {
17733
17827
  */
17734
17828
  createFrontend = request => this.client.fetch({
17735
17829
  body: JSON.stringify(marshalCreateFrontendRequest(request, this.client.settings)),
17736
- headers: jsonContentHeaders$b,
17830
+ headers: jsonContentHeaders$c,
17737
17831
  method: 'POST',
17738
17832
  path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/lbs/${validatePathParam('lbId', request.lbId)}/frontends`
17739
17833
  }, unmarshalFrontend);
@@ -17757,7 +17851,7 @@ let API$d = class API extends API$u {
17757
17851
  */
17758
17852
  updateFrontend = request => this.client.fetch({
17759
17853
  body: JSON.stringify(marshalUpdateFrontendRequest(request, this.client.settings)),
17760
- headers: jsonContentHeaders$b,
17854
+ headers: jsonContentHeaders$c,
17761
17855
  method: 'PUT',
17762
17856
  path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/frontends/${validatePathParam('frontendId', request.frontendId)}`
17763
17857
  }, unmarshalFrontend);
@@ -17793,7 +17887,7 @@ let API$d = class API extends API$u {
17793
17887
  */
17794
17888
  createRoute = request => this.client.fetch({
17795
17889
  body: JSON.stringify(marshalCreateRouteRequest(request, this.client.settings)),
17796
- headers: jsonContentHeaders$b,
17890
+ headers: jsonContentHeaders$c,
17797
17891
  method: 'POST',
17798
17892
  path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/routes`
17799
17893
  }, unmarshalRoute);
@@ -17817,7 +17911,7 @@ let API$d = class API extends API$u {
17817
17911
  */
17818
17912
  updateRoute = request => this.client.fetch({
17819
17913
  body: JSON.stringify(marshalUpdateRouteRequest(request, this.client.settings)),
17820
- headers: jsonContentHeaders$b,
17914
+ headers: jsonContentHeaders$c,
17821
17915
  method: 'PUT',
17822
17916
  path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/routes/${validatePathParam('routeId', request.routeId)}`
17823
17917
  }, unmarshalRoute);
@@ -17879,7 +17973,7 @@ let API$d = class API extends API$u {
17879
17973
  */
17880
17974
  createAcl = request => this.client.fetch({
17881
17975
  body: JSON.stringify(marshalCreateAclRequest(request, this.client.settings)),
17882
- headers: jsonContentHeaders$b,
17976
+ headers: jsonContentHeaders$c,
17883
17977
  method: 'POST',
17884
17978
  path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/frontends/${validatePathParam('frontendId', request.frontendId)}/acls`
17885
17979
  }, unmarshalAcl);
@@ -17903,7 +17997,7 @@ let API$d = class API extends API$u {
17903
17997
  */
17904
17998
  updateAcl = request => this.client.fetch({
17905
17999
  body: JSON.stringify(marshalUpdateAclRequest(request, this.client.settings)),
17906
- headers: jsonContentHeaders$b,
18000
+ headers: jsonContentHeaders$c,
17907
18001
  method: 'PUT',
17908
18002
  path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/acls/${validatePathParam('aclId', request.aclId)}`
17909
18003
  }, unmarshalAcl);
@@ -17927,7 +18021,7 @@ let API$d = class API extends API$u {
17927
18021
  */
17928
18022
  createCertificate = request => this.client.fetch({
17929
18023
  body: JSON.stringify(marshalCreateCertificateRequest(request, this.client.settings)),
17930
- headers: jsonContentHeaders$b,
18024
+ headers: jsonContentHeaders$c,
17931
18025
  method: 'POST',
17932
18026
  path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/lbs/${validatePathParam('lbId', request.lbId)}/certificates`
17933
18027
  }, unmarshalCertificate);
@@ -17973,7 +18067,7 @@ let API$d = class API extends API$u {
17973
18067
  */
17974
18068
  updateCertificate = request => this.client.fetch({
17975
18069
  body: JSON.stringify(marshalUpdateCertificateRequest(request, this.client.settings)),
17976
- headers: jsonContentHeaders$b,
18070
+ headers: jsonContentHeaders$c,
17977
18071
  method: 'PUT',
17978
18072
  path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/certificates/${validatePathParam('certificateId', request.certificateId)}`
17979
18073
  }, unmarshalCertificate);
@@ -18009,7 +18103,7 @@ let API$d = class API extends API$u {
18009
18103
  */
18010
18104
  createSubscriber = request => this.client.fetch({
18011
18105
  body: JSON.stringify(marshalCreateSubscriberRequest(request, this.client.settings)),
18012
- headers: jsonContentHeaders$b,
18106
+ headers: jsonContentHeaders$c,
18013
18107
  method: 'POST',
18014
18108
  path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/subscribers`
18015
18109
  }, unmarshalSubscriber);
@@ -18046,7 +18140,7 @@ let API$d = class API extends API$u {
18046
18140
  */
18047
18141
  updateSubscriber = request => this.client.fetch({
18048
18142
  body: JSON.stringify(marshalUpdateSubscriberRequest(request, this.client.settings)),
18049
- headers: jsonContentHeaders$b,
18143
+ headers: jsonContentHeaders$c,
18050
18144
  method: 'PUT',
18051
18145
  path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/subscribers/${validatePathParam('subscriberId', request.subscriberId)}`
18052
18146
  }, unmarshalSubscriber);
@@ -18069,7 +18163,7 @@ let API$d = class API extends API$u {
18069
18163
  */
18070
18164
  subscribeToLb = request => this.client.fetch({
18071
18165
  body: JSON.stringify(marshalSubscribeToLbRequest(request, this.client.settings)),
18072
- headers: jsonContentHeaders$b,
18166
+ headers: jsonContentHeaders$c,
18073
18167
  method: 'POST',
18074
18168
  path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/lb/${validatePathParam('lbId', request.lbId)}/subscribe`
18075
18169
  }, unmarshalLb);
@@ -18106,7 +18200,7 @@ let API$d = class API extends API$u {
18106
18200
  */
18107
18201
  attachPrivateNetwork = request => this.client.fetch({
18108
18202
  body: JSON.stringify(marshalAttachPrivateNetworkRequest(request, this.client.settings)),
18109
- headers: jsonContentHeaders$b,
18203
+ headers: jsonContentHeaders$c,
18110
18204
  method: 'POST',
18111
18205
  path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/lbs/${validatePathParam('lbId', request.lbId)}/private-networks/${validatePathParam('privateNetworkId', request.privateNetworkId)}/attach`
18112
18206
  }, unmarshalPrivateNetwork$3);
@@ -18118,7 +18212,7 @@ let API$d = class API extends API$u {
18118
18212
  */
18119
18213
  detachPrivateNetwork = request => this.client.fetch({
18120
18214
  body: '{}',
18121
- headers: jsonContentHeaders$b,
18215
+ headers: jsonContentHeaders$c,
18122
18216
  method: 'POST',
18123
18217
  path: `/lb/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/lbs/${validatePathParam('lbId', request.lbId)}/private-networks/${validatePathParam('privateNetworkId', request.privateNetworkId)}/detach`
18124
18218
  });
@@ -18160,7 +18254,7 @@ class ZonedAPI extends API$u {
18160
18254
  */
18161
18255
  createLb = request => this.client.fetch({
18162
18256
  body: JSON.stringify(marshalZonedApiCreateLbRequest(request, this.client.settings)),
18163
- headers: jsonContentHeaders$b,
18257
+ headers: jsonContentHeaders$c,
18164
18258
  method: 'POST',
18165
18259
  path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/lbs`
18166
18260
  }, unmarshalLb);
@@ -18197,7 +18291,7 @@ class ZonedAPI extends API$u {
18197
18291
  */
18198
18292
  updateLb = request => this.client.fetch({
18199
18293
  body: JSON.stringify(marshalZonedApiUpdateLbRequest(request, this.client.settings)),
18200
- headers: jsonContentHeaders$b,
18294
+ headers: jsonContentHeaders$c,
18201
18295
  method: 'PUT',
18202
18296
  path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/lbs/${validatePathParam('lbId', request.lbId)}`
18203
18297
  }, unmarshalLb);
@@ -18226,7 +18320,7 @@ class ZonedAPI extends API$u {
18226
18320
  */
18227
18321
  migrateLb = request => this.client.fetch({
18228
18322
  body: JSON.stringify(marshalZonedApiMigrateLbRequest(request, this.client.settings)),
18229
- headers: jsonContentHeaders$b,
18323
+ headers: jsonContentHeaders$c,
18230
18324
  method: 'POST',
18231
18325
  path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/lbs/${validatePathParam('lbId', request.lbId)}/migrate`
18232
18326
  }, unmarshalLb);
@@ -18256,7 +18350,7 @@ class ZonedAPI extends API$u {
18256
18350
  */
18257
18351
  createIp = (request = {}) => this.client.fetch({
18258
18352
  body: JSON.stringify(marshalZonedApiCreateIpRequest(request, this.client.settings)),
18259
- headers: jsonContentHeaders$b,
18353
+ headers: jsonContentHeaders$c,
18260
18354
  method: 'POST',
18261
18355
  path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/ips`
18262
18356
  }, unmarshalIp);
@@ -18293,7 +18387,7 @@ class ZonedAPI extends API$u {
18293
18387
  */
18294
18388
  updateIp = request => this.client.fetch({
18295
18389
  body: JSON.stringify(marshalZonedApiUpdateIpRequest(request, this.client.settings)),
18296
- headers: jsonContentHeaders$b,
18390
+ headers: jsonContentHeaders$c,
18297
18391
  method: 'PATCH',
18298
18392
  path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/ips/${validatePathParam('ipId', request.ipId)}`
18299
18393
  }, unmarshalIp);
@@ -18326,7 +18420,7 @@ class ZonedAPI extends API$u {
18326
18420
  */
18327
18421
  createBackend = request => this.client.fetch({
18328
18422
  body: JSON.stringify(marshalZonedApiCreateBackendRequest(request, this.client.settings)),
18329
- headers: jsonContentHeaders$b,
18423
+ headers: jsonContentHeaders$c,
18330
18424
  method: 'POST',
18331
18425
  path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/lbs/${validatePathParam('lbId', request.lbId)}/backends`
18332
18426
  }, unmarshalBackend);
@@ -18355,7 +18449,7 @@ class ZonedAPI extends API$u {
18355
18449
  */
18356
18450
  updateBackend = request => this.client.fetch({
18357
18451
  body: JSON.stringify(marshalZonedApiUpdateBackendRequest(request, this.client.settings)),
18358
- headers: jsonContentHeaders$b,
18452
+ headers: jsonContentHeaders$c,
18359
18453
  method: 'PUT',
18360
18454
  path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/backends/${validatePathParam('backendId', request.backendId)}`
18361
18455
  }, unmarshalBackend);
@@ -18383,7 +18477,7 @@ class ZonedAPI extends API$u {
18383
18477
  */
18384
18478
  addBackendServers = request => this.client.fetch({
18385
18479
  body: JSON.stringify(marshalZonedApiAddBackendServersRequest(request, this.client.settings)),
18386
- headers: jsonContentHeaders$b,
18480
+ headers: jsonContentHeaders$c,
18387
18481
  method: 'POST',
18388
18482
  path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/backends/${validatePathParam('backendId', request.backendId)}/servers`
18389
18483
  }, unmarshalBackend);
@@ -18398,7 +18492,7 @@ class ZonedAPI extends API$u {
18398
18492
  */
18399
18493
  removeBackendServers = request => this.client.fetch({
18400
18494
  body: JSON.stringify(marshalZonedApiRemoveBackendServersRequest(request, this.client.settings)),
18401
- headers: jsonContentHeaders$b,
18495
+ headers: jsonContentHeaders$c,
18402
18496
  method: 'DELETE',
18403
18497
  path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/backends/${validatePathParam('backendId', request.backendId)}/servers`
18404
18498
  }, unmarshalBackend);
@@ -18414,7 +18508,7 @@ class ZonedAPI extends API$u {
18414
18508
  */
18415
18509
  setBackendServers = request => this.client.fetch({
18416
18510
  body: JSON.stringify(marshalZonedApiSetBackendServersRequest(request, this.client.settings)),
18417
- headers: jsonContentHeaders$b,
18511
+ headers: jsonContentHeaders$c,
18418
18512
  method: 'PUT',
18419
18513
  path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/backends/${validatePathParam('backendId', request.backendId)}/servers`
18420
18514
  }, unmarshalBackend);
@@ -18430,7 +18524,7 @@ class ZonedAPI extends API$u {
18430
18524
  */
18431
18525
  updateHealthCheck = request => this.client.fetch({
18432
18526
  body: JSON.stringify(marshalZonedApiUpdateHealthCheckRequest(request, this.client.settings)),
18433
- headers: jsonContentHeaders$b,
18527
+ headers: jsonContentHeaders$c,
18434
18528
  method: 'PUT',
18435
18529
  path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/backends/${validatePathParam('backendId', request.backendId)}/healthcheck`
18436
18530
  }, unmarshalHealthCheck);
@@ -18463,7 +18557,7 @@ class ZonedAPI extends API$u {
18463
18557
  */
18464
18558
  createFrontend = request => this.client.fetch({
18465
18559
  body: JSON.stringify(marshalZonedApiCreateFrontendRequest(request, this.client.settings)),
18466
- headers: jsonContentHeaders$b,
18560
+ headers: jsonContentHeaders$c,
18467
18561
  method: 'POST',
18468
18562
  path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/lbs/${validatePathParam('lbId', request.lbId)}/frontends`
18469
18563
  }, unmarshalFrontend);
@@ -18493,7 +18587,7 @@ class ZonedAPI extends API$u {
18493
18587
  */
18494
18588
  updateFrontend = request => this.client.fetch({
18495
18589
  body: JSON.stringify(marshalZonedApiUpdateFrontendRequest(request, this.client.settings)),
18496
- headers: jsonContentHeaders$b,
18590
+ headers: jsonContentHeaders$c,
18497
18591
  method: 'PUT',
18498
18592
  path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/frontends/${validatePathParam('frontendId', request.frontendId)}`
18499
18593
  }, unmarshalFrontend);
@@ -18535,7 +18629,7 @@ class ZonedAPI extends API$u {
18535
18629
  */
18536
18630
  createRoute = request => this.client.fetch({
18537
18631
  body: JSON.stringify(marshalZonedApiCreateRouteRequest(request, this.client.settings)),
18538
- headers: jsonContentHeaders$b,
18632
+ headers: jsonContentHeaders$c,
18539
18633
  method: 'POST',
18540
18634
  path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/routes`
18541
18635
  }, unmarshalRoute);
@@ -18562,7 +18656,7 @@ class ZonedAPI extends API$u {
18562
18656
  */
18563
18657
  updateRoute = request => this.client.fetch({
18564
18658
  body: JSON.stringify(marshalZonedApiUpdateRouteRequest(request, this.client.settings)),
18565
- headers: jsonContentHeaders$b,
18659
+ headers: jsonContentHeaders$c,
18566
18660
  method: 'PUT',
18567
18661
  path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/routes/${validatePathParam('routeId', request.routeId)}`
18568
18662
  }, unmarshalRoute);
@@ -18632,7 +18726,7 @@ class ZonedAPI extends API$u {
18632
18726
  */
18633
18727
  createAcl = request => this.client.fetch({
18634
18728
  body: JSON.stringify(marshalZonedApiCreateAclRequest(request, this.client.settings)),
18635
- headers: jsonContentHeaders$b,
18729
+ headers: jsonContentHeaders$c,
18636
18730
  method: 'POST',
18637
18731
  path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/frontends/${validatePathParam('frontendId', request.frontendId)}/acls`
18638
18732
  }, unmarshalAcl);
@@ -18659,7 +18753,7 @@ class ZonedAPI extends API$u {
18659
18753
  */
18660
18754
  updateAcl = request => this.client.fetch({
18661
18755
  body: JSON.stringify(marshalZonedApiUpdateAclRequest(request, this.client.settings)),
18662
- headers: jsonContentHeaders$b,
18756
+ headers: jsonContentHeaders$c,
18663
18757
  method: 'PUT',
18664
18758
  path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/acls/${validatePathParam('aclId', request.aclId)}`
18665
18759
  }, unmarshalAcl);
@@ -18685,7 +18779,7 @@ class ZonedAPI extends API$u {
18685
18779
  */
18686
18780
  setAcls = request => this.client.fetch({
18687
18781
  body: JSON.stringify(marshalZonedApiSetAclsRequest(request, this.client.settings)),
18688
- headers: jsonContentHeaders$b,
18782
+ headers: jsonContentHeaders$c,
18689
18783
  method: 'PUT',
18690
18784
  path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/frontends/${validatePathParam('frontendId', request.frontendId)}/acls`
18691
18785
  }, unmarshalSetAclsResponse);
@@ -18700,7 +18794,7 @@ class ZonedAPI extends API$u {
18700
18794
  */
18701
18795
  createCertificate = request => this.client.fetch({
18702
18796
  body: JSON.stringify(marshalZonedApiCreateCertificateRequest(request, this.client.settings)),
18703
- headers: jsonContentHeaders$b,
18797
+ headers: jsonContentHeaders$c,
18704
18798
  method: 'POST',
18705
18799
  path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/lbs/${validatePathParam('lbId', request.lbId)}/certificates`
18706
18800
  }, unmarshalCertificate);
@@ -18753,7 +18847,7 @@ class ZonedAPI extends API$u {
18753
18847
  */
18754
18848
  updateCertificate = request => this.client.fetch({
18755
18849
  body: JSON.stringify(marshalZonedApiUpdateCertificateRequest(request, this.client.settings)),
18756
- headers: jsonContentHeaders$b,
18850
+ headers: jsonContentHeaders$c,
18757
18851
  method: 'PUT',
18758
18852
  path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/certificates/${validatePathParam('certificateId', request.certificateId)}`
18759
18853
  }, unmarshalCertificate);
@@ -18795,7 +18889,7 @@ class ZonedAPI extends API$u {
18795
18889
  */
18796
18890
  createSubscriber = request => this.client.fetch({
18797
18891
  body: JSON.stringify(marshalZonedApiCreateSubscriberRequest(request, this.client.settings)),
18798
- headers: jsonContentHeaders$b,
18892
+ headers: jsonContentHeaders$c,
18799
18893
  method: 'POST',
18800
18894
  path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/subscribers`
18801
18895
  }, unmarshalSubscriber);
@@ -18839,7 +18933,7 @@ class ZonedAPI extends API$u {
18839
18933
  */
18840
18934
  updateSubscriber = request => this.client.fetch({
18841
18935
  body: JSON.stringify(marshalZonedApiUpdateSubscriberRequest(request, this.client.settings)),
18842
- headers: jsonContentHeaders$b,
18936
+ headers: jsonContentHeaders$c,
18843
18937
  method: 'PUT',
18844
18938
  path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/subscribers/${validatePathParam('subscriberId', request.subscriberId)}`
18845
18939
  }, unmarshalSubscriber);
@@ -18864,7 +18958,7 @@ class ZonedAPI extends API$u {
18864
18958
  */
18865
18959
  subscribeToLb = request => this.client.fetch({
18866
18960
  body: JSON.stringify(marshalZonedApiSubscribeToLbRequest(request, this.client.settings)),
18867
- headers: jsonContentHeaders$b,
18961
+ headers: jsonContentHeaders$c,
18868
18962
  method: 'POST',
18869
18963
  path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/lb/${validatePathParam('lbId', request.lbId)}/subscribe`
18870
18964
  }, unmarshalLb);
@@ -18909,7 +19003,7 @@ class ZonedAPI extends API$u {
18909
19003
  */
18910
19004
  attachPrivateNetwork = request => this.client.fetch({
18911
19005
  body: JSON.stringify(marshalZonedApiAttachPrivateNetworkRequest(request, this.client.settings)),
18912
- headers: jsonContentHeaders$b,
19006
+ headers: jsonContentHeaders$c,
18913
19007
  method: 'POST',
18914
19008
  path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/lbs/${validatePathParam('lbId', request.lbId)}/private-networks/${validatePathParam('privateNetworkId', request.privateNetworkId)}/attach`
18915
19009
  }, unmarshalPrivateNetwork$3);
@@ -18922,7 +19016,7 @@ class ZonedAPI extends API$u {
18922
19016
  */
18923
19017
  detachPrivateNetwork = request => this.client.fetch({
18924
19018
  body: '{}',
18925
- headers: jsonContentHeaders$b,
19019
+ headers: jsonContentHeaders$c,
18926
19020
  method: 'POST',
18927
19021
  path: `/lb/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/lbs/${validatePathParam('lbId', request.lbId)}/private-networks/${validatePathParam('privateNetworkId', request.privateNetworkId)}/detach`
18928
19022
  });
@@ -19148,7 +19242,7 @@ let API$c = class API extends API$u {
19148
19242
  // This file was automatically generated. DO NOT EDIT.
19149
19243
  // If you have any remark or suggestion do not hesitate to open an issue.
19150
19244
 
19151
- var index_gen$c = /*#__PURE__*/Object.freeze({
19245
+ var index_gen$d = /*#__PURE__*/Object.freeze({
19152
19246
  __proto__: null,
19153
19247
  API: API$c
19154
19248
  });
@@ -19370,15 +19464,15 @@ let API$b = class API extends API$u {
19370
19464
  // This file was automatically generated. DO NOT EDIT.
19371
19465
  // If you have any remark or suggestion do not hesitate to open an issue.
19372
19466
 
19373
- var index_gen$b = /*#__PURE__*/Object.freeze({
19467
+ var index_gen$c = /*#__PURE__*/Object.freeze({
19374
19468
  __proto__: null,
19375
19469
  API: API$b
19376
19470
  });
19377
19471
 
19378
19472
  var index$a = /*#__PURE__*/Object.freeze({
19379
19473
  __proto__: null,
19380
- v1: index_gen$c,
19381
- v2: index_gen$b
19474
+ v1: index_gen$d,
19475
+ v2: index_gen$c
19382
19476
  });
19383
19477
 
19384
19478
  // This file was automatically generated. DO NOT EDIT.
@@ -19504,7 +19598,7 @@ const marshalUpdateNamespaceRequest$1 = (request, defaults) => ({
19504
19598
 
19505
19599
  // This file was automatically generated. DO NOT EDIT.
19506
19600
  // If you have any remark or suggestion do not hesitate to open an issue.
19507
- const jsonContentHeaders$a = {
19601
+ const jsonContentHeaders$b = {
19508
19602
  'Content-Type': 'application/json; charset=utf-8'
19509
19603
  };
19510
19604
 
@@ -19543,7 +19637,7 @@ let API$a = class API extends API$u {
19543
19637
  */
19544
19638
  createNamespace = request => this.client.fetch({
19545
19639
  body: JSON.stringify(marshalCreateNamespaceRequest$1(request, this.client.settings)),
19546
- headers: jsonContentHeaders$a,
19640
+ headers: jsonContentHeaders$b,
19547
19641
  method: 'POST',
19548
19642
  path: `/mnq/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/namespaces`
19549
19643
  }, unmarshalNamespace$1);
@@ -19557,7 +19651,7 @@ let API$a = class API extends API$u {
19557
19651
  */
19558
19652
  updateNamespace = request => this.client.fetch({
19559
19653
  body: JSON.stringify(marshalUpdateNamespaceRequest$1(request, this.client.settings)),
19560
- headers: jsonContentHeaders$a,
19654
+ headers: jsonContentHeaders$b,
19561
19655
  method: 'PATCH',
19562
19656
  path: `/mnq/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/namespaces`
19563
19657
  }, unmarshalNamespace$1);
@@ -19600,7 +19694,7 @@ let API$a = class API extends API$u {
19600
19694
  */
19601
19695
  createCredential = request => this.client.fetch({
19602
19696
  body: JSON.stringify(marshalCreateCredentialRequest(request, this.client.settings)),
19603
- headers: jsonContentHeaders$a,
19697
+ headers: jsonContentHeaders$b,
19604
19698
  method: 'POST',
19605
19699
  path: `/mnq/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/credentials`
19606
19700
  }, unmarshalCredential);
@@ -19643,7 +19737,7 @@ let API$a = class API extends API$u {
19643
19737
  */
19644
19738
  updateCredential = request => this.client.fetch({
19645
19739
  body: JSON.stringify(marshalUpdateCredentialRequest(request, this.client.settings)),
19646
- headers: jsonContentHeaders$a,
19740
+ headers: jsonContentHeaders$b,
19647
19741
  method: 'PATCH',
19648
19742
  path: `/mnq/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/credentials/${validatePathParam('credentialId', request.credentialId)}`
19649
19743
  }, unmarshalCredential);
@@ -19665,111 +19759,777 @@ let API$a = class API extends API$u {
19665
19759
  // This file was automatically generated. DO NOT EDIT.
19666
19760
  // If you have any remark or suggestion do not hesitate to open an issue.
19667
19761
 
19668
- var index_gen$a = /*#__PURE__*/Object.freeze({
19762
+ var index_gen$b = /*#__PURE__*/Object.freeze({
19669
19763
  __proto__: null,
19670
19764
  API: API$a
19671
19765
  });
19672
19766
 
19673
- var index$9 = /*#__PURE__*/Object.freeze({
19674
- __proto__: null,
19675
- v1alpha1: index_gen$a
19676
- });
19677
-
19678
- // This file was automatically generated. DO NOT EDIT.
19679
- // If you have any remark or suggestion do not hesitate to open an issue.
19680
-
19681
- /** Lists transient statutes of the enum {@link DatabaseBackupStatus}. */
19682
- const DATABASE_BACKUP_TRANSIENT_STATUSES = ['creating', 'restoring', 'deleting', 'exporting'];
19683
-
19684
- /** Lists transient statutes of the enum {@link InstanceLogStatus}. */
19685
- const INSTANCE_LOG_TRANSIENT_STATUSES = ['creating'];
19686
-
19687
- /** Lists transient statutes of the enum {@link InstanceStatus}. */
19688
- const INSTANCE_TRANSIENT_STATUSES = ['provisioning', 'configuring', 'deleting', 'autohealing', 'initializing', 'backuping', 'snapshotting', 'restarting'];
19689
-
19690
- /** Lists transient statutes of the enum {@link MaintenanceStatus}. */
19691
- const MAINTENANCE_TRANSIENT_STATUSES = ['pending'];
19692
-
19693
- /** Lists transient statutes of the enum {@link ReadReplicaStatus}. */
19694
- const READ_REPLICA_TRANSIENT_STATUSES = ['provisioning', 'initializing', 'deleting', 'configuring', 'promoting'];
19695
-
19696
- /** Lists transient statutes of the enum {@link SnapshotStatus}. */
19697
- const SNAPSHOT_TRANSIENT_STATUSES = ['creating', 'restoring', 'deleting'];
19698
-
19699
19767
  // This file was automatically generated. DO NOT EDIT.
19700
19768
  // If you have any remark or suggestion do not hesitate to open an issue.
19701
- const unmarshalEndpointDirectAccessDetails = data => {
19769
+ const unmarshalFile = data => {
19702
19770
  if (!isJSONObject(data)) {
19703
- throw new TypeError(`Unmarshalling the type 'EndpointDirectAccessDetails' failed as data isn't a dictionary.`);
19771
+ throw new TypeError(`Unmarshalling the type 'File' failed as data isn't a dictionary.`);
19704
19772
  }
19705
- return {};
19773
+ return {
19774
+ content: data.content,
19775
+ name: data.name
19776
+ };
19706
19777
  };
19707
- const unmarshalEndpointLoadBalancerDetails = data => {
19778
+ const unmarshalSnsPermissions = data => {
19708
19779
  if (!isJSONObject(data)) {
19709
- throw new TypeError(`Unmarshalling the type 'EndpointLoadBalancerDetails' failed as data isn't a dictionary.`);
19780
+ throw new TypeError(`Unmarshalling the type 'SnsPermissions' failed as data isn't a dictionary.`);
19710
19781
  }
19711
- return {};
19782
+ return {
19783
+ canManage: data.can_manage,
19784
+ canPublish: data.can_publish,
19785
+ canReceive: data.can_receive
19786
+ };
19712
19787
  };
19713
- const unmarshalEndpointPrivateNetworkDetails = data => {
19788
+ const unmarshalSqsPermissions = data => {
19714
19789
  if (!isJSONObject(data)) {
19715
- throw new TypeError(`Unmarshalling the type 'EndpointPrivateNetworkDetails' failed as data isn't a dictionary.`);
19790
+ throw new TypeError(`Unmarshalling the type 'SqsPermissions' failed as data isn't a dictionary.`);
19716
19791
  }
19717
19792
  return {
19718
- privateNetworkId: data.private_network_id,
19719
- serviceIp: data.service_ip,
19720
- zone: data.zone
19793
+ canManage: data.can_manage,
19794
+ canPublish: data.can_publish,
19795
+ canReceive: data.can_receive
19721
19796
  };
19722
19797
  };
19723
- const unmarshalEndpoint$1 = data => {
19798
+ const unmarshalNatsAccount = data => {
19724
19799
  if (!isJSONObject(data)) {
19725
- throw new TypeError(`Unmarshalling the type 'Endpoint' failed as data isn't a dictionary.`);
19800
+ throw new TypeError(`Unmarshalling the type 'NatsAccount' failed as data isn't a dictionary.`);
19726
19801
  }
19727
19802
  return {
19728
- directAccess: data.direct_access ? unmarshalEndpointDirectAccessDetails(data.direct_access) : undefined,
19729
- hostname: data.hostname,
19803
+ createdAt: unmarshalDate(data.created_at),
19804
+ endpoint: data.endpoint,
19730
19805
  id: data.id,
19731
- ip: data.ip,
19732
- loadBalancer: data.load_balancer ? unmarshalEndpointLoadBalancerDetails(data.load_balancer) : undefined,
19733
19806
  name: data.name,
19734
- port: data.port,
19735
- privateNetwork: data.private_network ? unmarshalEndpointPrivateNetworkDetails(data.private_network) : undefined
19807
+ projectId: data.project_id,
19808
+ region: data.region,
19809
+ updatedAt: unmarshalDate(data.updated_at)
19736
19810
  };
19737
19811
  };
19738
- const unmarshalEngineSetting = data => {
19812
+ const unmarshalNatsCredentials = data => {
19739
19813
  if (!isJSONObject(data)) {
19740
- throw new TypeError(`Unmarshalling the type 'EngineSetting' failed as data isn't a dictionary.`);
19814
+ throw new TypeError(`Unmarshalling the type 'NatsCredentials' failed as data isn't a dictionary.`);
19741
19815
  }
19742
19816
  return {
19743
- defaultValue: data.default_value,
19744
- description: data.description,
19745
- floatMax: data.float_max,
19746
- floatMin: data.float_min,
19747
- hotConfigurable: data.hot_configurable,
19748
- intMax: data.int_max,
19749
- intMin: data.int_min,
19817
+ checksum: data.checksum,
19818
+ createdAt: unmarshalDate(data.created_at),
19819
+ credentials: data.credentials ? unmarshalFile(data.credentials) : undefined,
19820
+ id: data.id,
19750
19821
  name: data.name,
19751
- propertyType: data.property_type,
19752
- stringConstraint: data.string_constraint,
19753
- unit: data.unit
19822
+ natsAccountId: data.nats_account_id,
19823
+ updatedAt: unmarshalDate(data.updated_at)
19754
19824
  };
19755
19825
  };
19756
- const unmarshalBackupSchedule = data => {
19826
+ const unmarshalSnsCredentials = data => {
19757
19827
  if (!isJSONObject(data)) {
19758
- throw new TypeError(`Unmarshalling the type 'BackupSchedule' failed as data isn't a dictionary.`);
19828
+ throw new TypeError(`Unmarshalling the type 'SnsCredentials' failed as data isn't a dictionary.`);
19759
19829
  }
19760
19830
  return {
19761
- disabled: data.disabled,
19762
- frequency: data.frequency,
19763
- nextRunAt: unmarshalDate(data.next_run_at),
19764
- retention: data.retention
19831
+ accessKey: data.access_key,
19832
+ createdAt: unmarshalDate(data.created_at),
19833
+ id: data.id,
19834
+ name: data.name,
19835
+ permissions: data.permissions ? unmarshalSnsPermissions(data.permissions) : undefined,
19836
+ projectId: data.project_id,
19837
+ region: data.region,
19838
+ secretChecksum: data.secret_checksum,
19839
+ secretKey: data.secret_key,
19840
+ updatedAt: unmarshalDate(data.updated_at)
19765
19841
  };
19766
19842
  };
19767
- const unmarshalEngineVersion = data => {
19843
+ const unmarshalSqsCredentials = data => {
19768
19844
  if (!isJSONObject(data)) {
19769
- throw new TypeError(`Unmarshalling the type 'EngineVersion' failed as data isn't a dictionary.`);
19845
+ throw new TypeError(`Unmarshalling the type 'SqsCredentials' failed as data isn't a dictionary.`);
19770
19846
  }
19771
19847
  return {
19772
- availableInitSettings: unmarshalArrayOfObject(data.available_init_settings, unmarshalEngineSetting),
19848
+ accessKey: data.access_key,
19849
+ createdAt: unmarshalDate(data.created_at),
19850
+ id: data.id,
19851
+ name: data.name,
19852
+ permissions: data.permissions ? unmarshalSqsPermissions(data.permissions) : undefined,
19853
+ projectId: data.project_id,
19854
+ region: data.region,
19855
+ secretChecksum: data.secret_checksum,
19856
+ secretKey: data.secret_key,
19857
+ updatedAt: unmarshalDate(data.updated_at)
19858
+ };
19859
+ };
19860
+ const unmarshalListNatsAccountsResponse = data => {
19861
+ if (!isJSONObject(data)) {
19862
+ throw new TypeError(`Unmarshalling the type 'ListNatsAccountsResponse' failed as data isn't a dictionary.`);
19863
+ }
19864
+ return {
19865
+ natsAccounts: unmarshalArrayOfObject(data.nats_accounts, unmarshalNatsAccount),
19866
+ totalCount: data.total_count
19867
+ };
19868
+ };
19869
+ const unmarshalListNatsCredentialsResponse = data => {
19870
+ if (!isJSONObject(data)) {
19871
+ throw new TypeError(`Unmarshalling the type 'ListNatsCredentialsResponse' failed as data isn't a dictionary.`);
19872
+ }
19873
+ return {
19874
+ natsCredentials: unmarshalArrayOfObject(data.nats_credentials, unmarshalNatsCredentials),
19875
+ totalCount: data.total_count
19876
+ };
19877
+ };
19878
+ const unmarshalListSnsCredentialsResponse = data => {
19879
+ if (!isJSONObject(data)) {
19880
+ throw new TypeError(`Unmarshalling the type 'ListSnsCredentialsResponse' failed as data isn't a dictionary.`);
19881
+ }
19882
+ return {
19883
+ snsCredentials: unmarshalArrayOfObject(data.sns_credentials, unmarshalSnsCredentials),
19884
+ totalCount: data.total_count
19885
+ };
19886
+ };
19887
+ const unmarshalListSqsCredentialsResponse = data => {
19888
+ if (!isJSONObject(data)) {
19889
+ throw new TypeError(`Unmarshalling the type 'ListSqsCredentialsResponse' failed as data isn't a dictionary.`);
19890
+ }
19891
+ return {
19892
+ sqsCredentials: unmarshalArrayOfObject(data.sqs_credentials, unmarshalSqsCredentials),
19893
+ totalCount: data.total_count
19894
+ };
19895
+ };
19896
+ const unmarshalSnsInfo = data => {
19897
+ if (!isJSONObject(data)) {
19898
+ throw new TypeError(`Unmarshalling the type 'SnsInfo' failed as data isn't a dictionary.`);
19899
+ }
19900
+ return {
19901
+ createdAt: unmarshalDate(data.created_at),
19902
+ projectId: data.project_id,
19903
+ region: data.region,
19904
+ snsEndpointUrl: data.sns_endpoint_url,
19905
+ status: data.status,
19906
+ updatedAt: unmarshalDate(data.updated_at)
19907
+ };
19908
+ };
19909
+ const unmarshalSqsInfo = data => {
19910
+ if (!isJSONObject(data)) {
19911
+ throw new TypeError(`Unmarshalling the type 'SqsInfo' failed as data isn't a dictionary.`);
19912
+ }
19913
+ return {
19914
+ createdAt: unmarshalDate(data.created_at),
19915
+ projectId: data.project_id,
19916
+ region: data.region,
19917
+ sqsEndpointUrl: data.sqs_endpoint_url,
19918
+ status: data.status,
19919
+ updatedAt: unmarshalDate(data.updated_at)
19920
+ };
19921
+ };
19922
+ const marshalSnsPermissions = (request, defaults) => ({
19923
+ can_manage: request.canManage,
19924
+ can_publish: request.canPublish,
19925
+ can_receive: request.canReceive
19926
+ });
19927
+ const marshalSqsPermissions = (request, defaults) => ({
19928
+ can_manage: request.canManage,
19929
+ can_publish: request.canPublish,
19930
+ can_receive: request.canReceive
19931
+ });
19932
+ const marshalNatsApiCreateNatsAccountRequest = (request, defaults) => ({
19933
+ name: request.name || randomName('mnq'),
19934
+ project_id: request.projectId ?? defaults.defaultProjectId
19935
+ });
19936
+ const marshalNatsApiCreateNatsCredentialsRequest = (request, defaults) => ({
19937
+ name: request.name || randomName('mnq'),
19938
+ nats_account_id: request.natsAccountId
19939
+ });
19940
+ const marshalNatsApiUpdateNatsAccountRequest = (request, defaults) => ({
19941
+ name: request.name
19942
+ });
19943
+ const marshalSnsApiActivateSnsRequest = (request, defaults) => ({
19944
+ project_id: request.projectId ?? defaults.defaultProjectId
19945
+ });
19946
+ const marshalSnsApiCreateSnsCredentialsRequest = (request, defaults) => ({
19947
+ name: request.name || randomName('mnq_sns'),
19948
+ permissions: request.permissions ? marshalSnsPermissions(request.permissions) : undefined,
19949
+ project_id: request.projectId ?? defaults.defaultProjectId
19950
+ });
19951
+ const marshalSnsApiDeactivateSnsRequest = (request, defaults) => ({
19952
+ project_id: request.projectId ?? defaults.defaultProjectId
19953
+ });
19954
+ const marshalSnsApiUpdateSnsCredentialsRequest = (request, defaults) => ({
19955
+ name: request.name,
19956
+ permissions: request.permissions ? marshalSnsPermissions(request.permissions) : undefined
19957
+ });
19958
+ const marshalSqsApiActivateSqsRequest = (request, defaults) => ({
19959
+ project_id: request.projectId ?? defaults.defaultProjectId
19960
+ });
19961
+ const marshalSqsApiCreateSqsCredentialsRequest = (request, defaults) => ({
19962
+ name: request.name || randomName('mnq_sqs'),
19963
+ permissions: request.permissions ? marshalSqsPermissions(request.permissions) : undefined,
19964
+ project_id: request.projectId ?? defaults.defaultProjectId
19965
+ });
19966
+ const marshalSqsApiDeactivateSqsRequest = (request, defaults) => ({
19967
+ project_id: request.projectId ?? defaults.defaultProjectId
19968
+ });
19969
+ const marshalSqsApiUpdateSqsCredentialsRequest = (request, defaults) => ({
19970
+ name: request.name,
19971
+ permissions: request.permissions ? marshalSqsPermissions(request.permissions) : undefined
19972
+ });
19973
+
19974
+ // This file was automatically generated. DO NOT EDIT.
19975
+ // If you have any remark or suggestion do not hesitate to open an issue.
19976
+ const jsonContentHeaders$a = {
19977
+ 'Content-Type': 'application/json; charset=utf-8'
19978
+ };
19979
+
19980
+ /**
19981
+ * Messaging and Queuing NATS API.
19982
+ *
19983
+ * This API allows you to manage Scaleway Messaging and Queueing NATS accounts.
19984
+ * Messaging and Queuing NATS API.
19985
+ */
19986
+ class NatsAPI extends API$u {
19987
+ /** Lists the available regions of the API. */
19988
+ static LOCALITIES = ['fr-par'];
19989
+
19990
+ /**
19991
+ * Create a NATS account. Create a NATS account associated with a Project.
19992
+ *
19993
+ * @param request - The request {@link NatsApiCreateNatsAccountRequest}
19994
+ * @returns A Promise of NatsAccount
19995
+ */
19996
+ createNatsAccount = (request = {}) => this.client.fetch({
19997
+ body: JSON.stringify(marshalNatsApiCreateNatsAccountRequest(request, this.client.settings)),
19998
+ headers: jsonContentHeaders$a,
19999
+ method: 'POST',
20000
+ path: `/mnq/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/nats-accounts`
20001
+ }, unmarshalNatsAccount);
20002
+
20003
+ /**
20004
+ * Delete a NATS account. Delete a NATS account, specified by its NATS account
20005
+ * ID. Note that deleting a NATS account is irreversible, and any credentials,
20006
+ * streams, consumer and stored messages belonging to this NATS account will
20007
+ * also be deleted.
20008
+ *
20009
+ * @param request - The request {@link NatsApiDeleteNatsAccountRequest}
20010
+ */
20011
+ deleteNatsAccount = request => this.client.fetch({
20012
+ method: 'DELETE',
20013
+ path: `/mnq/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/nats-accounts/${validatePathParam('natsAccountId', request.natsAccountId)}`
20014
+ });
20015
+
20016
+ /**
20017
+ * Update the name of a NATS account. Update the name of a NATS account,
20018
+ * specified by its NATS account ID.
20019
+ *
20020
+ * @param request - The request {@link NatsApiUpdateNatsAccountRequest}
20021
+ * @returns A Promise of NatsAccount
20022
+ */
20023
+ updateNatsAccount = request => this.client.fetch({
20024
+ body: JSON.stringify(marshalNatsApiUpdateNatsAccountRequest(request, this.client.settings)),
20025
+ headers: jsonContentHeaders$a,
20026
+ method: 'PATCH',
20027
+ path: `/mnq/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/nats-accounts/${validatePathParam('natsAccountId', request.natsAccountId)}`
20028
+ }, unmarshalNatsAccount);
20029
+
20030
+ /**
20031
+ * Get a NATS account. Retrieve information about an existing NATS account
20032
+ * identified by its NATS account ID. Its full details, including name and
20033
+ * endpoint, are returned in the response.
20034
+ *
20035
+ * @param request - The request {@link NatsApiGetNatsAccountRequest}
20036
+ * @returns A Promise of NatsAccount
20037
+ */
20038
+ getNatsAccount = request => this.client.fetch({
20039
+ method: 'GET',
20040
+ path: `/mnq/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/nats-accounts/${validatePathParam('natsAccountId', request.natsAccountId)}`
20041
+ }, unmarshalNatsAccount);
20042
+ pageOfListNatsAccounts = (request = {}) => this.client.fetch({
20043
+ method: 'GET',
20044
+ path: `/mnq/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/nats-accounts`,
20045
+ urlParams: urlParams(['order_by', request.orderBy ?? 'created_at_asc'], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['project_id', request.projectId])
20046
+ }, unmarshalListNatsAccountsResponse);
20047
+
20048
+ /**
20049
+ * List NATS accounts. List all NATS accounts in the specified region, for a
20050
+ * Scaleway Organization or Project. By default, the NATS accounts returned in
20051
+ * the list are ordered by creation date in ascending order, though this can
20052
+ * be modified via the `order_by` field.
20053
+ *
20054
+ * @param request - The request {@link NatsApiListNatsAccountsRequest}
20055
+ * @returns A Promise of ListNatsAccountsResponse
20056
+ */
20057
+ listNatsAccounts = (request = {}) => enrichForPagination('natsAccounts', this.pageOfListNatsAccounts, request);
20058
+
20059
+ /**
20060
+ * Create NATS credentials. Create a set of credentials for a NATS account,
20061
+ * specified by its NATS account ID.
20062
+ *
20063
+ * @param request - The request {@link NatsApiCreateNatsCredentialsRequest}
20064
+ * @returns A Promise of NatsCredentials
20065
+ */
20066
+ createNatsCredentials = request => this.client.fetch({
20067
+ body: JSON.stringify(marshalNatsApiCreateNatsCredentialsRequest(request, this.client.settings)),
20068
+ headers: jsonContentHeaders$a,
20069
+ method: 'POST',
20070
+ path: `/mnq/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/nats-credentials`
20071
+ }, unmarshalNatsCredentials);
20072
+
20073
+ /**
20074
+ * Delete NATS credentials. Delete a set of credentials, specified by their
20075
+ * credentials ID. Deleting credentials is irreversible and cannot be undone.
20076
+ * The credentials can no longer be used to access the NATS account, and
20077
+ * active connections using this credentials will be closed.
20078
+ *
20079
+ * @param request - The request {@link NatsApiDeleteNatsCredentialsRequest}
20080
+ */
20081
+ deleteNatsCredentials = request => this.client.fetch({
20082
+ method: 'DELETE',
20083
+ path: `/mnq/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/nats-credentials/${validatePathParam('natsCredentialsId', request.natsCredentialsId)}`
20084
+ });
20085
+
20086
+ /**
20087
+ * Get NATS credentials. Retrieve an existing set of credentials, identified
20088
+ * by the `nats_credentials_id`. The credentials themselves are NOT returned,
20089
+ * only their metadata (NATS account ID, credentials name, etc), are returned
20090
+ * in the response.
20091
+ *
20092
+ * @param request - The request {@link NatsApiGetNatsCredentialsRequest}
20093
+ * @returns A Promise of NatsCredentials
20094
+ */
20095
+ getNatsCredentials = request => this.client.fetch({
20096
+ method: 'GET',
20097
+ path: `/mnq/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/nats-credentials/${validatePathParam('natsCredentialsId', request.natsCredentialsId)}`
20098
+ }, unmarshalNatsCredentials);
20099
+ pageOfListNatsCredentials = request => this.client.fetch({
20100
+ method: 'GET',
20101
+ path: `/mnq/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/nats-credentials`,
20102
+ urlParams: urlParams(['nats_account_id', request.natsAccountId], ['order_by', request.orderBy ?? 'created_at_asc'], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize])
20103
+ }, unmarshalListNatsCredentialsResponse);
20104
+
20105
+ /**
20106
+ * List NATS credentials. List existing credentials in the specified NATS
20107
+ * account. The response contains only the metadata for the credentials, not
20108
+ * the credentials themselves, which are only returned after a **Create
20109
+ * Credentials** call.
20110
+ *
20111
+ * @param request - The request {@link NatsApiListNatsCredentialsRequest}
20112
+ * @returns A Promise of ListNatsCredentialsResponse
20113
+ */
20114
+ listNatsCredentials = request => enrichForPagination('natsCredentials', this.pageOfListNatsCredentials, request);
20115
+ }
20116
+
20117
+ /**
20118
+ * Messaging and Queuing SNS API.
20119
+ *
20120
+ * This API allows you to manage Scaleway Messaging and Queueing SNS brokers.
20121
+ * Messaging and Queuing SNS API.
20122
+ */
20123
+ class SnsAPI extends API$u {
20124
+ /** Lists the available regions of the API. */
20125
+ static LOCALITIES = ['fr-par'];
20126
+
20127
+ /**
20128
+ * Activate SNS. Activate SNS for the specified Project ID. SNS must be
20129
+ * activated before any usage. Activating SNS does not trigger any billing,
20130
+ * and you can deactivate at any time.
20131
+ *
20132
+ * @param request - The request {@link SnsApiActivateSnsRequest}
20133
+ * @returns A Promise of SnsInfo
20134
+ */
20135
+ activateSns = (request = {}) => this.client.fetch({
20136
+ body: JSON.stringify(marshalSnsApiActivateSnsRequest(request, this.client.settings)),
20137
+ headers: jsonContentHeaders$a,
20138
+ method: 'POST',
20139
+ path: `/mnq/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/activate-sns`
20140
+ }, unmarshalSnsInfo);
20141
+
20142
+ /**
20143
+ * Get SNS info. Retrieve the SNS information of the specified Project ID.
20144
+ * Informations include the activation status and the SNS API endpoint URL.
20145
+ *
20146
+ * @param request - The request {@link SnsApiGetSnsInfoRequest}
20147
+ * @returns A Promise of SnsInfo
20148
+ */
20149
+ getSnsInfo = (request = {}) => this.client.fetch({
20150
+ method: 'GET',
20151
+ path: `/mnq/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/sns-info`,
20152
+ urlParams: urlParams(['project_id', request.projectId ?? this.client.settings.defaultProjectId])
20153
+ }, unmarshalSnsInfo);
20154
+
20155
+ /**
20156
+ * Deactivate SNS. Deactivate SNS for the specified Project ID.You must delete
20157
+ * all topics and credentials before this call or you need to set the
20158
+ * force_delete parameter.
20159
+ *
20160
+ * @param request - The request {@link SnsApiDeactivateSnsRequest}
20161
+ * @returns A Promise of SnsInfo
20162
+ */
20163
+ deactivateSns = (request = {}) => this.client.fetch({
20164
+ body: JSON.stringify(marshalSnsApiDeactivateSnsRequest(request, this.client.settings)),
20165
+ headers: jsonContentHeaders$a,
20166
+ method: 'POST',
20167
+ path: `/mnq/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/deactivate-sns`
20168
+ }, unmarshalSnsInfo);
20169
+
20170
+ /**
20171
+ * Create SNS credentials. Create a set of credentials for SNS, specified by a
20172
+ * Project ID. Credentials give the bearer access to topics, and the level of
20173
+ * permissions can be defined granularly.
20174
+ *
20175
+ * @param request - The request {@link SnsApiCreateSnsCredentialsRequest}
20176
+ * @returns A Promise of SnsCredentials
20177
+ */
20178
+ createSnsCredentials = (request = {}) => this.client.fetch({
20179
+ body: JSON.stringify(marshalSnsApiCreateSnsCredentialsRequest(request, this.client.settings)),
20180
+ headers: jsonContentHeaders$a,
20181
+ method: 'POST',
20182
+ path: `/mnq/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/sns-credentials`
20183
+ }, unmarshalSnsCredentials);
20184
+
20185
+ /**
20186
+ * Delete SNS credentials. Delete a set of SNS credentials, specified by their
20187
+ * credentials ID. Deleting credentials is irreversible and cannot be undone.
20188
+ * The credentials can then no longer be used to access SNS.
20189
+ *
20190
+ * @param request - The request {@link SnsApiDeleteSnsCredentialsRequest}
20191
+ */
20192
+ deleteSnsCredentials = request => this.client.fetch({
20193
+ method: 'DELETE',
20194
+ path: `/mnq/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/sns-credentials/${validatePathParam('snsCredentialsId', request.snsCredentialsId)}`
20195
+ });
20196
+
20197
+ /**
20198
+ * Update SNS credentials. Update a set of SNS credentials. You can update the
20199
+ * credentials' name, or their permissions.
20200
+ *
20201
+ * @param request - The request {@link SnsApiUpdateSnsCredentialsRequest}
20202
+ * @returns A Promise of SnsCredentials
20203
+ */
20204
+ updateSnsCredentials = request => this.client.fetch({
20205
+ body: JSON.stringify(marshalSnsApiUpdateSnsCredentialsRequest(request, this.client.settings)),
20206
+ headers: jsonContentHeaders$a,
20207
+ method: 'PATCH',
20208
+ path: `/mnq/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/sns-credentials/${validatePathParam('snsCredentialsId', request.snsCredentialsId)}`
20209
+ }, unmarshalSnsCredentials);
20210
+
20211
+ /**
20212
+ * Get SNS credentials. Retrieve an existing set of credentials, identified by
20213
+ * the `credentials_id`. The credentials themselves, as well as their metadata
20214
+ * (name, project ID etc), are returned in the response.
20215
+ *
20216
+ * @param request - The request {@link SnsApiGetSnsCredentialsRequest}
20217
+ * @returns A Promise of SnsCredentials
20218
+ */
20219
+ getSnsCredentials = request => this.client.fetch({
20220
+ method: 'GET',
20221
+ path: `/mnq/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/sns-credentials/${validatePathParam('snsCredentialsId', request.snsCredentialsId)}`
20222
+ }, unmarshalSnsCredentials);
20223
+ pageOfListSnsCredentials = (request = {}) => this.client.fetch({
20224
+ method: 'GET',
20225
+ path: `/mnq/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/sns-credentials`,
20226
+ urlParams: urlParams(['order_by', request.orderBy ?? 'created_at_asc'], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['project_id', request.projectId])
20227
+ }, unmarshalListSnsCredentialsResponse);
20228
+
20229
+ /**
20230
+ * List SNS credentials. List existing SNS credentials in the specified
20231
+ * region. The response contains only the metadata for the credentials, not
20232
+ * the credentials themselves.
20233
+ *
20234
+ * @param request - The request {@link SnsApiListSnsCredentialsRequest}
20235
+ * @returns A Promise of ListSnsCredentialsResponse
20236
+ */
20237
+ listSnsCredentials = (request = {}) => enrichForPagination('snsCredentials', this.pageOfListSnsCredentials, request);
20238
+ }
20239
+
20240
+ /**
20241
+ * Messaging and Queuing SQS API.
20242
+ *
20243
+ * This API allows you to manage Scaleway Messaging and Queueing SQS brokers.
20244
+ * Messaging and Queuing SQS API.
20245
+ */
20246
+ class SqsAPI extends API$u {
20247
+ /** Lists the available regions of the API. */
20248
+ static LOCALITIES = ['fr-par'];
20249
+
20250
+ /**
20251
+ * Activate SQS. Activate SQS for the specified Project ID. SQS must be
20252
+ * activated before any usage such as creating credentials and queues.
20253
+ * Activating SQS does not trigger any billing, and you can deactivate at any
20254
+ * time.
20255
+ *
20256
+ * @param request - The request {@link SqsApiActivateSqsRequest}
20257
+ * @returns A Promise of SqsInfo
20258
+ */
20259
+ activateSqs = (request = {}) => this.client.fetch({
20260
+ body: JSON.stringify(marshalSqsApiActivateSqsRequest(request, this.client.settings)),
20261
+ headers: jsonContentHeaders$a,
20262
+ method: 'POST',
20263
+ path: `/mnq/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/activate-sqs`
20264
+ }, unmarshalSqsInfo);
20265
+
20266
+ /**
20267
+ * Get SQS info. Retrieve the SQS information of the specified Project ID.
20268
+ * Informations include the activation status and the SQS API endpoint URL.
20269
+ *
20270
+ * @param request - The request {@link SqsApiGetSqsInfoRequest}
20271
+ * @returns A Promise of SqsInfo
20272
+ */
20273
+ getSqsInfo = (request = {}) => this.client.fetch({
20274
+ method: 'GET',
20275
+ path: `/mnq/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/sqs-info`,
20276
+ urlParams: urlParams(['project_id', request.projectId ?? this.client.settings.defaultProjectId])
20277
+ }, unmarshalSqsInfo);
20278
+
20279
+ /**
20280
+ * Deactivate SQS. Deactivate SQS for the specified Project ID. You must
20281
+ * delete all queues and credentials before this call or you need to set the
20282
+ * force_delete parameter.
20283
+ *
20284
+ * @param request - The request {@link SqsApiDeactivateSqsRequest}
20285
+ * @returns A Promise of SqsInfo
20286
+ */
20287
+ deactivateSqs = (request = {}) => this.client.fetch({
20288
+ body: JSON.stringify(marshalSqsApiDeactivateSqsRequest(request, this.client.settings)),
20289
+ headers: jsonContentHeaders$a,
20290
+ method: 'POST',
20291
+ path: `/mnq/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/deactivate-sqs`
20292
+ }, unmarshalSqsInfo);
20293
+
20294
+ /**
20295
+ * Create SQS credentials. Create a set of credentials for SQS, specified by a
20296
+ * Project ID. Credentials give the bearer access to queues, and the level of
20297
+ * permissions can be defined granularly.
20298
+ *
20299
+ * @param request - The request {@link SqsApiCreateSqsCredentialsRequest}
20300
+ * @returns A Promise of SqsCredentials
20301
+ */
20302
+ createSqsCredentials = (request = {}) => this.client.fetch({
20303
+ body: JSON.stringify(marshalSqsApiCreateSqsCredentialsRequest(request, this.client.settings)),
20304
+ headers: jsonContentHeaders$a,
20305
+ method: 'POST',
20306
+ path: `/mnq/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/sqs-credentials`
20307
+ }, unmarshalSqsCredentials);
20308
+
20309
+ /**
20310
+ * Delete SQS credentials. Delete a set of SQS credentials, specified by their
20311
+ * credentials ID. Deleting credentials is irreversible and cannot be undone.
20312
+ * The credentials can then no longer be used to access SQS.
20313
+ *
20314
+ * @param request - The request {@link SqsApiDeleteSqsCredentialsRequest}
20315
+ */
20316
+ deleteSqsCredentials = request => this.client.fetch({
20317
+ method: 'DELETE',
20318
+ path: `/mnq/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/sqs-credentials/${validatePathParam('sqsCredentialsId', request.sqsCredentialsId)}`
20319
+ });
20320
+
20321
+ /**
20322
+ * Update SQS credentials. Update a set of SQS credentials. You can update the
20323
+ * credentials' name, or their permissions.
20324
+ *
20325
+ * @param request - The request {@link SqsApiUpdateSqsCredentialsRequest}
20326
+ * @returns A Promise of SqsCredentials
20327
+ */
20328
+ updateSqsCredentials = request => this.client.fetch({
20329
+ body: JSON.stringify(marshalSqsApiUpdateSqsCredentialsRequest(request, this.client.settings)),
20330
+ headers: jsonContentHeaders$a,
20331
+ method: 'PATCH',
20332
+ path: `/mnq/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/sqs-credentials/${validatePathParam('sqsCredentialsId', request.sqsCredentialsId)}`
20333
+ }, unmarshalSqsCredentials);
20334
+
20335
+ /**
20336
+ * Get SQS credentials. Retrieve an existing set of credentials, identified by
20337
+ * the `credentials_id`. The credentials themselves, as well as their metadata
20338
+ * (name, project ID etc), are returned in the response.
20339
+ *
20340
+ * @param request - The request {@link SqsApiGetSqsCredentialsRequest}
20341
+ * @returns A Promise of SqsCredentials
20342
+ */
20343
+ getSqsCredentials = request => this.client.fetch({
20344
+ method: 'GET',
20345
+ path: `/mnq/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/sqs-credentials/${validatePathParam('sqsCredentialsId', request.sqsCredentialsId)}`
20346
+ }, unmarshalSqsCredentials);
20347
+ pageOfListSqsCredentials = (request = {}) => this.client.fetch({
20348
+ method: 'GET',
20349
+ path: `/mnq/v1beta1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/sqs-credentials`,
20350
+ urlParams: urlParams(['order_by', request.orderBy ?? 'created_at_asc'], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['project_id', request.projectId])
20351
+ }, unmarshalListSqsCredentialsResponse);
20352
+
20353
+ /**
20354
+ * List SQS credentials. List existing SQS credentials in the specified
20355
+ * region. The response contains only the metadata for the credentials, not
20356
+ * the credentials themselves.
20357
+ *
20358
+ * @param request - The request {@link SqsApiListSqsCredentialsRequest}
20359
+ * @returns A Promise of ListSqsCredentialsResponse
20360
+ */
20361
+ listSqsCredentials = (request = {}) => enrichForPagination('sqsCredentials', this.pageOfListSqsCredentials, request);
20362
+ }
20363
+
20364
+ // This file was automatically generated. DO NOT EDIT.
20365
+ // If you have any remark or suggestion do not hesitate to open an issue.
20366
+
20367
+ const NatsApiCreateNatsAccountRequest = {
20368
+ name: {
20369
+ maxLength: 64,
20370
+ minLength: 1
20371
+ }
20372
+ };
20373
+ const NatsApiCreateNatsCredentialsRequest = {
20374
+ name: {
20375
+ maxLength: 64,
20376
+ minLength: 1
20377
+ }
20378
+ };
20379
+ const NatsApiUpdateNatsAccountRequest = {
20380
+ name: {
20381
+ maxLength: 64,
20382
+ minLength: 1
20383
+ }
20384
+ };
20385
+ const SnsApiCreateSnsCredentialsRequest = {
20386
+ name: {
20387
+ maxLength: 64,
20388
+ minLength: 1
20389
+ }
20390
+ };
20391
+ const SnsApiUpdateSnsCredentialsRequest = {
20392
+ name: {
20393
+ maxLength: 64,
20394
+ minLength: 1
20395
+ }
20396
+ };
20397
+ const SqsApiCreateSqsCredentialsRequest = {
20398
+ name: {
20399
+ maxLength: 64,
20400
+ minLength: 1
20401
+ }
20402
+ };
20403
+ const SqsApiUpdateSqsCredentialsRequest = {
20404
+ name: {
20405
+ maxLength: 64,
20406
+ minLength: 1
20407
+ }
20408
+ };
20409
+
20410
+ var validationRules_gen$2 = /*#__PURE__*/Object.freeze({
20411
+ __proto__: null,
20412
+ NatsApiCreateNatsAccountRequest: NatsApiCreateNatsAccountRequest,
20413
+ NatsApiCreateNatsCredentialsRequest: NatsApiCreateNatsCredentialsRequest,
20414
+ NatsApiUpdateNatsAccountRequest: NatsApiUpdateNatsAccountRequest,
20415
+ SnsApiCreateSnsCredentialsRequest: SnsApiCreateSnsCredentialsRequest,
20416
+ SnsApiUpdateSnsCredentialsRequest: SnsApiUpdateSnsCredentialsRequest,
20417
+ SqsApiCreateSqsCredentialsRequest: SqsApiCreateSqsCredentialsRequest,
20418
+ SqsApiUpdateSqsCredentialsRequest: SqsApiUpdateSqsCredentialsRequest
20419
+ });
20420
+
20421
+ // This file was automatically generated. DO NOT EDIT.
20422
+ // If you have any remark or suggestion do not hesitate to open an issue.
20423
+
20424
+ var index_gen$a = /*#__PURE__*/Object.freeze({
20425
+ __proto__: null,
20426
+ NatsAPI: NatsAPI,
20427
+ SnsAPI: SnsAPI,
20428
+ SqsAPI: SqsAPI,
20429
+ ValidationRules: validationRules_gen$2
20430
+ });
20431
+
20432
+ var index$9 = /*#__PURE__*/Object.freeze({
20433
+ __proto__: null,
20434
+ v1alpha1: index_gen$b,
20435
+ v1beta1: index_gen$a
20436
+ });
20437
+
20438
+ // This file was automatically generated. DO NOT EDIT.
20439
+ // If you have any remark or suggestion do not hesitate to open an issue.
20440
+
20441
+ /** Lists transient statutes of the enum {@link DatabaseBackupStatus}. */
20442
+ const DATABASE_BACKUP_TRANSIENT_STATUSES = ['creating', 'restoring', 'deleting', 'exporting'];
20443
+
20444
+ /** Lists transient statutes of the enum {@link InstanceLogStatus}. */
20445
+ const INSTANCE_LOG_TRANSIENT_STATUSES = ['creating'];
20446
+
20447
+ /** Lists transient statutes of the enum {@link InstanceStatus}. */
20448
+ const INSTANCE_TRANSIENT_STATUSES = ['provisioning', 'configuring', 'deleting', 'autohealing', 'initializing', 'backuping', 'snapshotting', 'restarting'];
20449
+
20450
+ /** Lists transient statutes of the enum {@link MaintenanceStatus}. */
20451
+ const MAINTENANCE_TRANSIENT_STATUSES = ['pending'];
20452
+
20453
+ /** Lists transient statutes of the enum {@link ReadReplicaStatus}. */
20454
+ const READ_REPLICA_TRANSIENT_STATUSES = ['provisioning', 'initializing', 'deleting', 'configuring', 'promoting'];
20455
+
20456
+ /** Lists transient statutes of the enum {@link SnapshotStatus}. */
20457
+ const SNAPSHOT_TRANSIENT_STATUSES = ['creating', 'restoring', 'deleting'];
20458
+
20459
+ // This file was automatically generated. DO NOT EDIT.
20460
+ // If you have any remark or suggestion do not hesitate to open an issue.
20461
+ const unmarshalEndpointDirectAccessDetails = data => {
20462
+ if (!isJSONObject(data)) {
20463
+ throw new TypeError(`Unmarshalling the type 'EndpointDirectAccessDetails' failed as data isn't a dictionary.`);
20464
+ }
20465
+ return {};
20466
+ };
20467
+ const unmarshalEndpointLoadBalancerDetails = data => {
20468
+ if (!isJSONObject(data)) {
20469
+ throw new TypeError(`Unmarshalling the type 'EndpointLoadBalancerDetails' failed as data isn't a dictionary.`);
20470
+ }
20471
+ return {};
20472
+ };
20473
+ const unmarshalEndpointPrivateNetworkDetails = data => {
20474
+ if (!isJSONObject(data)) {
20475
+ throw new TypeError(`Unmarshalling the type 'EndpointPrivateNetworkDetails' failed as data isn't a dictionary.`);
20476
+ }
20477
+ return {
20478
+ privateNetworkId: data.private_network_id,
20479
+ serviceIp: data.service_ip,
20480
+ zone: data.zone
20481
+ };
20482
+ };
20483
+ const unmarshalEndpoint$1 = data => {
20484
+ if (!isJSONObject(data)) {
20485
+ throw new TypeError(`Unmarshalling the type 'Endpoint' failed as data isn't a dictionary.`);
20486
+ }
20487
+ return {
20488
+ directAccess: data.direct_access ? unmarshalEndpointDirectAccessDetails(data.direct_access) : undefined,
20489
+ hostname: data.hostname,
20490
+ id: data.id,
20491
+ ip: data.ip,
20492
+ loadBalancer: data.load_balancer ? unmarshalEndpointLoadBalancerDetails(data.load_balancer) : undefined,
20493
+ name: data.name,
20494
+ port: data.port,
20495
+ privateNetwork: data.private_network ? unmarshalEndpointPrivateNetworkDetails(data.private_network) : undefined
20496
+ };
20497
+ };
20498
+ const unmarshalEngineSetting = data => {
20499
+ if (!isJSONObject(data)) {
20500
+ throw new TypeError(`Unmarshalling the type 'EngineSetting' failed as data isn't a dictionary.`);
20501
+ }
20502
+ return {
20503
+ defaultValue: data.default_value,
20504
+ description: data.description,
20505
+ floatMax: data.float_max,
20506
+ floatMin: data.float_min,
20507
+ hotConfigurable: data.hot_configurable,
20508
+ intMax: data.int_max,
20509
+ intMin: data.int_min,
20510
+ name: data.name,
20511
+ propertyType: data.property_type,
20512
+ stringConstraint: data.string_constraint,
20513
+ unit: data.unit
20514
+ };
20515
+ };
20516
+ const unmarshalBackupSchedule = data => {
20517
+ if (!isJSONObject(data)) {
20518
+ throw new TypeError(`Unmarshalling the type 'BackupSchedule' failed as data isn't a dictionary.`);
20519
+ }
20520
+ return {
20521
+ disabled: data.disabled,
20522
+ frequency: data.frequency,
20523
+ nextRunAt: unmarshalDate(data.next_run_at),
20524
+ retention: data.retention
20525
+ };
20526
+ };
20527
+ const unmarshalEngineVersion = data => {
20528
+ if (!isJSONObject(data)) {
20529
+ throw new TypeError(`Unmarshalling the type 'EngineVersion' failed as data isn't a dictionary.`);
20530
+ }
20531
+ return {
20532
+ availableInitSettings: unmarshalArrayOfObject(data.available_init_settings, unmarshalEngineSetting),
19773
20533
  availableSettings: unmarshalArrayOfObject(data.available_settings, unmarshalEngineSetting),
19774
20534
  beta: data.beta,
19775
20535
  disabled: data.disabled,
@@ -19823,6 +20583,7 @@ const unmarshalNodeTypeVolumeType = data => {
19823
20583
  }
19824
20584
  return {
19825
20585
  chunkSize: data.chunk_size,
20586
+ class: data.class,
19826
20587
  description: data.description,
19827
20588
  maxSize: data.max_size,
19828
20589
  minSize: data.min_size,
@@ -19857,6 +20618,7 @@ const unmarshalVolume = data => {
19857
20618
  throw new TypeError(`Unmarshalling the type 'Volume' failed as data isn't a dictionary.`);
19858
20619
  }
19859
20620
  return {
20621
+ class: data.class,
19860
20622
  size: data.size,
19861
20623
  type: data.type
19862
20624
  };