@scaleway/sdk 1.10.1 → 1.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (80) hide show
  1. package/dist/api/account/v2/api.gen.js +1 -0
  2. package/dist/api/account/v2/index.gen.js +1 -0
  3. package/dist/api/account/v2/marshalling.gen.js +1 -0
  4. package/dist/api/applesilicon/v1alpha1/api.gen.js +1 -0
  5. package/dist/api/applesilicon/v1alpha1/index.gen.js +1 -0
  6. package/dist/api/applesilicon/v1alpha1/marshalling.gen.js +1 -0
  7. package/dist/api/baremetal/v1/api.gen.js +1 -0
  8. package/dist/api/baremetal/v1/marshalling.gen.js +1 -0
  9. package/dist/api/billing/v2alpha1/api.gen.js +1 -0
  10. package/dist/api/billing/v2alpha1/index.gen.js +1 -0
  11. package/dist/api/billing/v2alpha1/marshalling.gen.js +1 -0
  12. package/dist/api/cockpit/v1beta1/api.gen.js +1 -0
  13. package/dist/api/cockpit/v1beta1/index.gen.js +1 -0
  14. package/dist/api/cockpit/v1beta1/marshalling.gen.js +1 -0
  15. package/dist/api/container/v1beta1/api.gen.js +1 -0
  16. package/dist/api/container/v1beta1/index.gen.js +1 -0
  17. package/dist/api/container/v1beta1/marshalling.gen.js +1 -0
  18. package/dist/api/domain/v2beta1/api.gen.js +3 -2
  19. package/dist/api/domain/v2beta1/index.gen.js +1 -0
  20. package/dist/api/domain/v2beta1/marshalling.gen.js +1 -0
  21. package/dist/api/flexibleip/v1alpha1/api.gen.js +1 -0
  22. package/dist/api/flexibleip/v1alpha1/index.gen.js +1 -0
  23. package/dist/api/flexibleip/v1alpha1/marshalling.gen.js +1 -0
  24. package/dist/api/function/v1beta1/api.gen.js +1 -0
  25. package/dist/api/function/v1beta1/index.gen.js +1 -0
  26. package/dist/api/function/v1beta1/marshalling.gen.js +1 -0
  27. package/dist/api/iam/v1alpha1/api.gen.js +1 -0
  28. package/dist/api/iam/v1alpha1/index.gen.js +1 -0
  29. package/dist/api/iam/v1alpha1/marshalling.gen.js +1 -0
  30. package/dist/api/instance/v1/api.gen.js +1 -0
  31. package/dist/api/instance/v1/marshalling.gen.js +1 -0
  32. package/dist/api/iot/v1/api.gen.js +1 -0
  33. package/dist/api/iot/v1/index.gen.js +1 -0
  34. package/dist/api/iot/v1/marshalling.gen.js +1 -0
  35. package/dist/api/k8s/v1/api.gen.js +49 -55
  36. package/dist/api/k8s/v1/marshalling.gen.js +1 -0
  37. package/dist/api/lb/v1/api.gen.js +1 -0
  38. package/dist/api/lb/v1/marshalling.gen.js +11 -0
  39. package/dist/api/marketplace/v1/api.gen.js +1 -0
  40. package/dist/api/marketplace/v1/index.gen.js +1 -0
  41. package/dist/api/marketplace/v1/marshalling.gen.js +1 -0
  42. package/dist/api/marketplace/v2/api.gen.js +1 -0
  43. package/dist/api/marketplace/v2/index.gen.js +1 -0
  44. package/dist/api/marketplace/v2/marshalling.gen.js +1 -0
  45. package/dist/api/mnq/v1alpha1/api.gen.js +1 -0
  46. package/dist/api/mnq/v1alpha1/index.gen.js +1 -0
  47. package/dist/api/mnq/v1alpha1/marshalling.gen.js +1 -0
  48. package/dist/api/rdb/v1/api.gen.js +1 -0
  49. package/dist/api/rdb/v1/index.gen.js +1 -0
  50. package/dist/api/rdb/v1/marshalling.gen.js +1 -0
  51. package/dist/api/redis/v1/api.gen.js +1 -0
  52. package/dist/api/redis/v1/index.gen.js +1 -0
  53. package/dist/api/redis/v1/marshalling.gen.js +1 -0
  54. package/dist/api/registry/v1/api.gen.js +1 -0
  55. package/dist/api/registry/v1/index.gen.js +1 -0
  56. package/dist/api/registry/v1/marshalling.gen.js +1 -0
  57. package/dist/api/secret/v1alpha1/api.gen.js +1 -0
  58. package/dist/api/secret/v1alpha1/index.gen.js +1 -0
  59. package/dist/api/secret/v1alpha1/marshalling.gen.js +1 -0
  60. package/dist/api/tem/v1alpha1/api.gen.js +1 -0
  61. package/dist/api/tem/v1alpha1/index.gen.js +1 -0
  62. package/dist/api/tem/v1alpha1/marshalling.gen.js +1 -0
  63. package/dist/api/test/v1/api.gen.js +1 -0
  64. package/dist/api/test/v1/index.gen.js +1 -0
  65. package/dist/api/test/v1/marshalling.gen.js +1 -0
  66. package/dist/api/vpc/v1/api.gen.js +1 -0
  67. package/dist/api/vpc/v1/index.gen.js +1 -0
  68. package/dist/api/vpc/v1/marshalling.gen.js +1 -0
  69. package/dist/api/vpcgw/v1/api.gen.js +1 -0
  70. package/dist/api/vpcgw/v1/index.gen.js +1 -0
  71. package/dist/api/vpcgw/v1/marshalling.gen.js +1 -0
  72. package/dist/api/webhosting/v1alpha1/api.gen.js +1 -0
  73. package/dist/api/webhosting/v1alpha1/index.gen.js +1 -0
  74. package/dist/api/webhosting/v1alpha1/marshalling.gen.js +1 -0
  75. package/dist/index.cjs +142 -59
  76. package/dist/index.d.ts +311 -284
  77. package/dist/scw/constants.js +1 -1
  78. package/dist/scw/custom-marshalling.js +5 -1
  79. package/dist/scw/fetch/resource-paginator.js +2 -0
  80. package/package.json +2 -2
@@ -4,6 +4,7 @@ import { enrichForPagination } from '../../../scw/fetch/resource-paginator.js';
4
4
  import { marshalCreateProjectRequest, unmarshalProject, unmarshalListProjectsResponse, marshalUpdateProjectRequest } from './marshalling.gen.js';
5
5
 
6
6
  // This file was automatically generated. DO NOT EDIT.
7
+ // If you have any remark or suggestion do not hesitate to open an issue.
7
8
  const jsonContentHeaders = {
8
9
  'Content-Type': 'application/json; charset=utf-8'
9
10
  };
@@ -1,3 +1,4 @@
1
1
  export { API } from './api.gen.js';
2
2
 
3
3
  // This file was automatically generated. DO NOT EDIT.
4
+ // If you have any remark or suggestion do not hesitate to open an issue.
@@ -3,6 +3,7 @@ import { isJSONObject } from '../../../helpers/json.js';
3
3
  import { unmarshalDate, unmarshalArrayOfObject } from '../../../helpers/marshalling.js';
4
4
 
5
5
  // This file was automatically generated. DO NOT EDIT.
6
+ // If you have any remark or suggestion do not hesitate to open an issue.
6
7
  const unmarshalProject = data => {
7
8
  if (!isJSONObject(data)) {
8
9
  throw new TypeError(`Unmarshalling the type 'Project' failed as data isn't a dictionary.`);
@@ -6,6 +6,7 @@ import { SERVER_TRANSIENT_STATUSES } from './content.gen.js';
6
6
  import { unmarshalListServerTypesResponse, unmarshalServerType, marshalCreateServerRequest, unmarshalServer, unmarshalListServersResponse, unmarshalListOSResponse, unmarshalOS, marshalUpdateServerRequest } from './marshalling.gen.js';
7
7
 
8
8
  // This file was automatically generated. DO NOT EDIT.
9
+ // If you have any remark or suggestion do not hesitate to open an issue.
9
10
  const jsonContentHeaders = {
10
11
  'Content-Type': 'application/json; charset=utf-8'
11
12
  };
@@ -2,3 +2,4 @@ export { API } from './api.gen.js';
2
2
  export { SERVER_TRANSIENT_STATUSES } from './content.gen.js';
3
3
 
4
4
  // This file was automatically generated. DO NOT EDIT.
5
+ // If you have any remark or suggestion do not hesitate to open an issue.
@@ -3,6 +3,7 @@ import { isJSONObject } from '../../../helpers/json.js';
3
3
  import { unmarshalDate, unmarshalArrayOfObject } from '../../../helpers/marshalling.js';
4
4
 
5
5
  // This file was automatically generated. DO NOT EDIT.
6
+ // If you have any remark or suggestion do not hesitate to open an issue.
6
7
  const unmarshalServerTypeCPU = data => {
7
8
  if (!isJSONObject(data)) {
8
9
  throw new TypeError(`Unmarshalling the type 'ServerTypeCPU' failed as data isn't a dictionary.`);
@@ -6,6 +6,7 @@ import { SERVER_TRANSIENT_STATUSES } from './content.gen.js';
6
6
  import { marshalPrivateNetworkApiAddServerPrivateNetworkRequest, unmarshalServerPrivateNetwork, marshalPrivateNetworkApiSetServerPrivateNetworksRequest, unmarshalSetServerPrivateNetworksResponse, unmarshalListServerPrivateNetworksResponse, unmarshalListServersResponse, unmarshalServer, marshalCreateServerRequest, marshalUpdateServerRequest, marshalInstallServerRequest, unmarshalGetServerMetricsResponse, marshalRebootServerRequest, marshalStartServerRequest, unmarshalListServerEventsResponse, marshalStartBMCAccessRequest, unmarshalBMCAccess, marshalUpdateIPRequest, unmarshalIP, marshalAddOptionServerRequest, unmarshalListOffersResponse, unmarshalOffer, unmarshalOption, unmarshalListOptionsResponse, unmarshalListSettingsResponse, marshalUpdateSettingRequest, unmarshalSetting, unmarshalListOSResponse, unmarshalOS } from './marshalling.gen.js';
7
7
 
8
8
  // This file was automatically generated. DO NOT EDIT.
9
+ // If you have any remark or suggestion do not hesitate to open an issue.
9
10
  const jsonContentHeaders = {
10
11
  'Content-Type': 'application/json; charset=utf-8'
11
12
  };
@@ -3,6 +3,7 @@ import { unmarshalMoney, unmarshalTimeSeries } from '../../../scw/custom-marshal
3
3
  import { unmarshalDate, unmarshalArrayOfObject, resolveOneOf } from '../../../helpers/marshalling.js';
4
4
 
5
5
  // This file was automatically generated. DO NOT EDIT.
6
+ // If you have any remark or suggestion do not hesitate to open an issue.
6
7
  const unmarshalCPU = data => {
7
8
  if (!isJSONObject(data)) {
8
9
  throw new TypeError(`Unmarshalling the type 'CPU' failed as data isn't a dictionary.`);
@@ -4,6 +4,7 @@ import { enrichForPagination } from '../../../scw/fetch/resource-paginator.js';
4
4
  import { unmarshalGetConsumptionResponse, unmarshalListInvoicesResponse } from './marshalling.gen.js';
5
5
 
6
6
  // This file was automatically generated. DO NOT EDIT.
7
+ // If you have any remark or suggestion do not hesitate to open an issue.
7
8
  /**
8
9
  * Billing API.
9
10
  *
@@ -1,3 +1,4 @@
1
1
  export { API } from './api.gen.js';
2
2
 
3
3
  // This file was automatically generated. DO NOT EDIT.
4
+ // If you have any remark or suggestion do not hesitate to open an issue.
@@ -3,6 +3,7 @@ import { unmarshalMoney } from '../../../scw/custom-marshalling.js';
3
3
  import { unmarshalArrayOfObject, unmarshalDate } from '../../../helpers/marshalling.js';
4
4
 
5
5
  // This file was automatically generated. DO NOT EDIT.
6
+ // If you have any remark or suggestion do not hesitate to open an issue.
6
7
  const unmarshalGetConsumptionResponseConsumption = data => {
7
8
  if (!isJSONObject(data)) {
8
9
  throw new TypeError(`Unmarshalling the type 'GetConsumptionResponseConsumption' failed as data isn't a dictionary.`);
@@ -6,6 +6,7 @@ import { COCKPIT_TRANSIENT_STATUSES } from './content.gen.js';
6
6
  import { marshalActivateCockpitRequest, unmarshalCockpit, unmarshalCockpitMetrics, marshalDeactivateCockpitRequest, marshalResetCockpitGrafanaRequest, marshalCreateTokenRequest, unmarshalToken, unmarshalListTokensResponse, marshalCreateContactPointRequest, unmarshalContactPoint, unmarshalListContactPointsResponse, marshalDeleteContactPointRequest, marshalEnableManagedAlertsRequest, marshalDisableManagedAlertsRequest, marshalTriggerTestAlertRequest, marshalCreateGrafanaUserRequest, unmarshalGrafanaUser, unmarshalListGrafanaUsersResponse, marshalDeleteGrafanaUserRequest, marshalResetGrafanaUserPasswordRequest, unmarshalListPlansResponse, marshalSelectPlanRequest, unmarshalSelectPlanResponse } from './marshalling.gen.js';
7
7
 
8
8
  // This file was automatically generated. DO NOT EDIT.
9
+ // If you have any remark or suggestion do not hesitate to open an issue.
9
10
  const jsonContentHeaders = {
10
11
  'Content-Type': 'application/json; charset=utf-8'
11
12
  };
@@ -2,3 +2,4 @@ export { API } from './api.gen.js';
2
2
  export { COCKPIT_TRANSIENT_STATUSES } from './content.gen.js';
3
3
 
4
4
  // This file was automatically generated. DO NOT EDIT.
5
+ // If you have any remark or suggestion do not hesitate to open an issue.
@@ -4,6 +4,7 @@ import { unmarshalTimeSeries } from '../../../scw/custom-marshalling.js';
4
4
  import { unmarshalDate, unmarshalArrayOfObject, resolveOneOf } from '../../../helpers/marshalling.js';
5
5
 
6
6
  // This file was automatically generated. DO NOT EDIT.
7
+ // If you have any remark or suggestion do not hesitate to open an issue.
7
8
  const unmarshalContactPointEmail = data => {
8
9
  if (!isJSONObject(data)) {
9
10
  throw new TypeError(`Unmarshalling the type 'ContactPointEmail' failed as data isn't a dictionary.`);
@@ -6,6 +6,7 @@ import { NAMESPACE_TRANSIENT_STATUSES, CONTAINER_TRANSIENT_STATUSES, CRON_TRANSI
6
6
  import { unmarshalListNamespacesResponse, unmarshalNamespace, marshalCreateNamespaceRequest, marshalUpdateNamespaceRequest, unmarshalListContainersResponse, unmarshalContainer, marshalCreateContainerRequest, marshalUpdateContainerRequest, unmarshalListCronsResponse, unmarshalCron, marshalCreateCronRequest, marshalUpdateCronRequest, unmarshalListLogsResponse, unmarshalListDomainsResponse, unmarshalDomain, marshalCreateDomainRequest, unmarshalToken, marshalCreateTokenRequest, unmarshalListTokensResponse } from './marshalling.gen.js';
7
7
 
8
8
  // This file was automatically generated. DO NOT EDIT.
9
+ // If you have any remark or suggestion do not hesitate to open an issue.
9
10
  const jsonContentHeaders = {
10
11
  'Content-Type': 'application/json; charset=utf-8'
11
12
  };
@@ -2,3 +2,4 @@ export { API } from './api.gen.js';
2
2
  export { CONTAINER_TRANSIENT_STATUSES, CRON_TRANSIENT_STATUSES, DOMAIN_TRANSIENT_STATUSES, NAMESPACE_TRANSIENT_STATUSES, TOKEN_TRANSIENT_STATUSES } from './content.gen.js';
3
3
 
4
4
  // This file was automatically generated. DO NOT EDIT.
5
+ // If you have any remark or suggestion do not hesitate to open an issue.
@@ -3,6 +3,7 @@ import { isJSONObject } from '../../../helpers/json.js';
3
3
  import { unmarshalArrayOfObject, unmarshalDate, resolveOneOf } from '../../../helpers/marshalling.js';
4
4
 
5
5
  // This file was automatically generated. DO NOT EDIT.
6
+ // If you have any remark or suggestion do not hesitate to open an issue.
6
7
  const unmarshalSecretHashedValue = data => {
7
8
  if (!isJSONObject(data)) {
8
9
  throw new TypeError(`Unmarshalling the type 'SecretHashedValue' failed as data isn't a dictionary.`);
@@ -6,6 +6,7 @@ import { SSL_CERTIFICATE_TRANSIENT_STATUSES, DOMAIN_TRANSIENT_STATUSES } from '.
6
6
  import { unmarshalListDNSZonesResponse, marshalCreateDNSZoneRequest, unmarshalDNSZone, marshalUpdateDNSZoneRequest, marshalCloneDNSZoneRequest, unmarshalDeleteDNSZoneResponse, unmarshalListDNSZoneRecordsResponse, marshalUpdateDNSZoneRecordsRequest, unmarshalUpdateDNSZoneRecordsResponse, unmarshalListDNSZoneNameserversResponse, marshalUpdateDNSZoneNameserversRequest, unmarshalUpdateDNSZoneNameserversResponse, unmarshalClearDNSZoneRecordsResponse, marshalImportRawDNSZoneRequest, unmarshalImportRawDNSZoneResponse, marshalImportProviderDNSZoneRequest, unmarshalImportProviderDNSZoneResponse, marshalRefreshDNSZoneRequest, unmarshalRefreshDNSZoneResponse, unmarshalListDNSZoneVersionsResponse, unmarshalListDNSZoneVersionRecordsResponse, unmarshalGetDNSZoneVersionDiffResponse, unmarshalRestoreDNSZoneVersionResponse, unmarshalSSLCertificate, marshalCreateSSLCertificateRequest, unmarshalListSSLCertificatesResponse, unmarshalDeleteSSLCertificateResponse, unmarshalGetDNSZoneTsigKeyResponse, unmarshalListTasksResponse, marshalRegistrarApiBuyDomainsRequest, unmarshalOrderResponse, marshalRegistrarApiRenewDomainsRequest, marshalRegistrarApiTransferInDomainRequest, marshalRegistrarApiTradeDomainRequest, marshalRegistrarApiRegisterExternalDomainRequest, unmarshalRegisterExternalDomainResponse, unmarshalDeleteExternalDomainResponse, marshalRegistrarApiCheckContactsCompatibilityRequest, unmarshalCheckContactsCompatibilityResponse, unmarshalListContactsResponse, unmarshalContact, marshalRegistrarApiUpdateContactRequest, unmarshalListDomainsResponse, unmarshalListRenewableDomainsResponse, unmarshalDomain, marshalRegistrarApiUpdateDomainRequest, unmarshalGetDomainAuthCodeResponse, marshalRegistrarApiEnableDomainDNSSECRequest, unmarshalSearchAvailableDomainsResponse, marshalRegistrarApiCreateDomainHostRequest, unmarshalHost, unmarshalListDomainHostsResponse, marshalRegistrarApiUpdateDomainHostRequest } from './marshalling.gen.js';
7
7
 
8
8
  // This file was automatically generated. DO NOT EDIT.
9
+ // If you have any remark or suggestion do not hesitate to open an issue.
9
10
  const jsonContentHeaders = {
10
11
  'Content-Type': 'application/json; charset=utf-8'
11
12
  };
@@ -342,9 +343,9 @@ class API extends API$1 {
342
343
  }
343
344
 
344
345
  /**
345
- * Domains registrar API.
346
+ * Domains and DNS - Registrar API.
346
347
  *
347
- * Domains registrar API. Manage your domains and contacts.
348
+ * Domains and DNS - Registrar API. Manage your domains and contacts.
348
349
  */
349
350
  class RegistrarAPI extends API$1 {
350
351
  constructor() {
@@ -2,3 +2,4 @@ export { API, RegistrarAPI } from './api.gen.js';
2
2
  export { DNS_ZONE_TRANSIENT_STATUSES, DOMAIN_FEATURE_TRANSIENT_STATUSES, DOMAIN_REGISTRATION_STATUS_TRANSFER_TRANSIENT_STATUSES, DOMAIN_TRANSIENT_STATUSES, HOST_TRANSIENT_STATUSES, SSL_CERTIFICATE_TRANSIENT_STATUSES, TASK_TRANSIENT_STATUSES } from './content.gen.js';
3
3
 
4
4
  // This file was automatically generated. DO NOT EDIT.
5
+ // If you have any remark or suggestion do not hesitate to open an issue.
@@ -3,6 +3,7 @@ import { unmarshalMoney } from '../../../scw/custom-marshalling.js';
3
3
  import { unmarshalArrayOfObject, unmarshalDate, resolveOneOf, unmarshalMapOfObject } from '../../../helpers/marshalling.js';
4
4
 
5
5
  // This file was automatically generated. DO NOT EDIT.
6
+ // If you have any remark or suggestion do not hesitate to open an issue.
6
7
  const unmarshalDomainRecordGeoIPConfigMatch = data => {
7
8
  if (!isJSONObject(data)) {
8
9
  throw new TypeError(`Unmarshalling the type 'DomainRecordGeoIPConfigMatch' failed as data isn't a dictionary.`);
@@ -6,6 +6,7 @@ import { FLEXIBLE_IP_TRANSIENT_STATUSES } from './content.gen.js';
6
6
  import { marshalCreateFlexibleIPRequest, unmarshalFlexibleIP, unmarshalListFlexibleIPsResponse, marshalUpdateFlexibleIPRequest, marshalAttachFlexibleIPRequest, unmarshalAttachFlexibleIPsResponse, marshalDetachFlexibleIPRequest, unmarshalDetachFlexibleIPsResponse, marshalGenerateMACAddrRequest, marshalDuplicateMACAddrRequest, marshalMoveMACAddrRequest } from './marshalling.gen.js';
7
7
 
8
8
  // This file was automatically generated. DO NOT EDIT.
9
+ // If you have any remark or suggestion do not hesitate to open an issue.
9
10
  const jsonContentHeaders = {
10
11
  'Content-Type': 'application/json; charset=utf-8'
11
12
  };
@@ -4,3 +4,4 @@ import * as validationRules_gen from './validation-rules.gen.js';
4
4
  export { validationRules_gen as ValidationRules };
5
5
 
6
6
  // This file was automatically generated. DO NOT EDIT.
7
+ // If you have any remark or suggestion do not hesitate to open an issue.
@@ -2,6 +2,7 @@ import { isJSONObject } from '../../../helpers/json.js';
2
2
  import { unmarshalDate, unmarshalArrayOfObject } from '../../../helpers/marshalling.js';
3
3
 
4
4
  // This file was automatically generated. DO NOT EDIT.
5
+ // If you have any remark or suggestion do not hesitate to open an issue.
5
6
  const unmarshalMACAddress = data => {
6
7
  if (!isJSONObject(data)) {
7
8
  throw new TypeError(`Unmarshalling the type 'MACAddress' failed as data isn't a dictionary.`);
@@ -6,6 +6,7 @@ import { NAMESPACE_TRANSIENT_STATUSES, FUNCTION_TRANSIENT_STATUSES, CRON_TRANSIE
6
6
  import { unmarshalListNamespacesResponse, unmarshalNamespace, marshalCreateNamespaceRequest, marshalUpdateNamespaceRequest, unmarshalListFunctionsResponse, unmarshalFunction, marshalCreateFunctionRequest, marshalUpdateFunctionRequest, unmarshalListFunctionRuntimesResponse, unmarshalUploadURL, unmarshalDownloadURL, unmarshalListCronsResponse, unmarshalCron, marshalCreateCronRequest, marshalUpdateCronRequest, unmarshalListLogsResponse, unmarshalListDomainsResponse, unmarshalDomain, marshalCreateDomainRequest, unmarshalToken, marshalCreateTokenRequest, unmarshalListTokensResponse, marshalCreateTriggerRequest, unmarshalTrigger, unmarshalListTriggersResponse, marshalUpdateTriggerRequest } from './marshalling.gen.js';
7
7
 
8
8
  // This file was automatically generated. DO NOT EDIT.
9
+ // If you have any remark or suggestion do not hesitate to open an issue.
9
10
  const jsonContentHeaders = {
10
11
  'Content-Type': 'application/json; charset=utf-8'
11
12
  };
@@ -2,3 +2,4 @@ export { API } from './api.gen.js';
2
2
  export { CRON_TRANSIENT_STATUSES, DOMAIN_TRANSIENT_STATUSES, FUNCTION_TRANSIENT_STATUSES, NAMESPACE_TRANSIENT_STATUSES, TOKEN_TRANSIENT_STATUSES, TRIGGER_TRANSIENT_STATUSES } from './content.gen.js';
3
3
 
4
4
  // This file was automatically generated. DO NOT EDIT.
5
+ // If you have any remark or suggestion do not hesitate to open an issue.
@@ -3,6 +3,7 @@ import { isJSONObject } from '../../../helpers/json.js';
3
3
  import { unmarshalArrayOfObject, unmarshalDate, resolveOneOf } from '../../../helpers/marshalling.js';
4
4
 
5
5
  // This file was automatically generated. DO NOT EDIT.
6
+ // If you have any remark or suggestion do not hesitate to open an issue.
6
7
  const unmarshalSecretHashedValue = data => {
7
8
  if (!isJSONObject(data)) {
8
9
  throw new TypeError(`Unmarshalling the type 'SecretHashedValue' failed as data isn't a dictionary.`);
@@ -4,6 +4,7 @@ import { enrichForPagination } from '../../../scw/fetch/resource-paginator.js';
4
4
  import { unmarshalListSSHKeysResponse, marshalCreateSSHKeyRequest, unmarshalSSHKey, marshalUpdateSSHKeyRequest, unmarshalListUsersResponse, unmarshalUser, unmarshalListApplicationsResponse, marshalCreateApplicationRequest, unmarshalApplication, marshalUpdateApplicationRequest, unmarshalListGroupsResponse, marshalCreateGroupRequest, unmarshalGroup, marshalUpdateGroupRequest, marshalSetGroupMembersRequest, marshalAddGroupMemberRequest, marshalRemoveGroupMemberRequest, unmarshalListPoliciesResponse, marshalCreatePolicyRequest, unmarshalPolicy, marshalUpdatePolicyRequest, marshalSetRulesRequest, unmarshalSetRulesResponse, unmarshalListRulesResponse, unmarshalListPermissionSetsResponse, unmarshalListAPIKeysResponse, marshalCreateAPIKeyRequest, unmarshalAPIKey, marshalUpdateAPIKeyRequest, unmarshalListQuotaResponse, unmarshalQuotum, unmarshalListJWTsResponse, unmarshalJWT } from './marshalling.gen.js';
5
5
 
6
6
  // This file was automatically generated. DO NOT EDIT.
7
+ // If you have any remark or suggestion do not hesitate to open an issue.
7
8
  const jsonContentHeaders = {
8
9
  'Content-Type': 'application/json; charset=utf-8'
9
10
  };
@@ -3,3 +3,4 @@ import * as validationRules_gen from './validation-rules.gen.js';
3
3
  export { validationRules_gen as ValidationRules };
4
4
 
5
5
  // This file was automatically generated. DO NOT EDIT.
6
+ // If you have any remark or suggestion do not hesitate to open an issue.
@@ -3,6 +3,7 @@ import { isJSONObject } from '../../../helpers/json.js';
3
3
  import { unmarshalDate, unmarshalArrayOfObject, resolveOneOf } from '../../../helpers/marshalling.js';
4
4
 
5
5
  // This file was automatically generated. DO NOT EDIT.
6
+ // If you have any remark or suggestion do not hesitate to open an issue.
6
7
  const unmarshalAPIKey = data => {
7
8
  if (!isJSONObject(data)) {
8
9
  throw new TypeError(`Unmarshalling the type 'APIKey' failed as data isn't a dictionary.`);
@@ -4,6 +4,7 @@ import { enrichForPagination } from '../../../scw/fetch/resource-paginator.js';
4
4
  import { unmarshalGetServerTypesAvailabilityResponse, unmarshalListServersTypesResponse, unmarshalListVolumesTypesResponse, unmarshalListServersResponse, marshalCreateServerRequest, unmarshalCreateServerResponse, unmarshalGetServerResponse, marshalSetServerRequest, unmarshalSetServerResponse, marshalUpdateServerRequest, unmarshalUpdateServerResponse, unmarshalListServerActionsResponse, marshalServerActionRequest, unmarshalServerActionResponse, unmarshalListServerUserDataResponse, unmarshalListImagesResponse, unmarshalGetImageResponse, marshalCreateImageRequest, unmarshalCreateImageResponse, marshalSetImageRequest, unmarshalSetImageResponse, unmarshalListSnapshotsResponse, marshalCreateSnapshotRequest, unmarshalCreateSnapshotResponse, unmarshalGetSnapshotResponse, marshalSetSnapshotRequest, unmarshalSetSnapshotResponse, marshalExportSnapshotRequest, unmarshalExportSnapshotResponse, unmarshalListVolumesResponse, marshalCreateVolumeRequest, unmarshalCreateVolumeResponse, unmarshalGetVolumeResponse, marshalUpdateVolumeRequest, unmarshalUpdateVolumeResponse, unmarshalListSecurityGroupsResponse, marshalCreateSecurityGroupRequest, unmarshalCreateSecurityGroupResponse, unmarshalGetSecurityGroupResponse, marshalSetSecurityGroupRequest, unmarshalSetSecurityGroupResponse, unmarshalListSecurityGroupRulesResponse, marshalCreateSecurityGroupRuleRequest, unmarshalCreateSecurityGroupRuleResponse, marshalSetSecurityGroupRulesRequest, unmarshalSetSecurityGroupRulesResponse, unmarshalGetSecurityGroupRuleResponse, marshalSetSecurityGroupRuleRequest, unmarshalSetSecurityGroupRuleResponse, unmarshalListPlacementGroupsResponse, marshalCreatePlacementGroupRequest, unmarshalCreatePlacementGroupResponse, unmarshalGetPlacementGroupResponse, marshalSetPlacementGroupRequest, unmarshalSetPlacementGroupResponse, marshalUpdatePlacementGroupRequest, unmarshalUpdatePlacementGroupResponse, unmarshalGetPlacementGroupServersResponse, marshalSetPlacementGroupServersRequest, unmarshalSetPlacementGroupServersResponse, marshalUpdatePlacementGroupServersRequest, unmarshalUpdatePlacementGroupServersResponse, unmarshalListIpsResponse, marshalCreateIpRequest, unmarshalCreateIpResponse, unmarshalGetIpResponse, marshalUpdateIpRequest, unmarshalUpdateIpResponse, unmarshalListPrivateNICsResponse, marshalCreatePrivateNICRequest, unmarshalCreatePrivateNICResponse, unmarshalGetPrivateNICResponse, marshalUpdatePrivateNICRequest, unmarshalPrivateNIC, unmarshalListBootscriptsResponse, unmarshalGetBootscriptResponse, unmarshalGetDashboardResponse } from './marshalling.gen.js';
5
5
 
6
6
  // This file was automatically generated. DO NOT EDIT.
7
+ // If you have any remark or suggestion do not hesitate to open an issue.
7
8
  const jsonContentHeaders = {
8
9
  'Content-Type': 'application/json; charset=utf-8'
9
10
  };
@@ -3,6 +3,7 @@ import { isJSONObject } from '../../../helpers/json.js';
3
3
  import { unmarshalDate, unmarshalMapOfObject, unmarshalArrayOfObject, resolveOneOf } from '../../../helpers/marshalling.js';
4
4
 
5
5
  // This file was automatically generated. DO NOT EDIT.
6
+ // If you have any remark or suggestion do not hesitate to open an issue.
6
7
  const unmarshalServerSummary = data => {
7
8
  if (!isJSONObject(data)) {
8
9
  throw new TypeError(`Unmarshalling the type 'ServerSummary' failed as data isn't a dictionary.`);
@@ -6,6 +6,7 @@ import { HUB_TRANSIENT_STATUSES } from './content.gen.js';
6
6
  import { unmarshalListHubsResponse, marshalCreateHubRequest, unmarshalHub, marshalUpdateHubRequest, unmarshalGetHubMetricsResponse, marshalSetHubCARequest, unmarshalGetHubCAResponse, unmarshalListDevicesResponse, marshalCreateDeviceRequest, unmarshalCreateDeviceResponse, unmarshalDevice, marshalUpdateDeviceRequest, unmarshalRenewDeviceCertificateResponse, marshalSetDeviceCertificateRequest, unmarshalSetDeviceCertificateResponse, unmarshalGetDeviceCertificateResponse, unmarshalGetDeviceMetricsResponse, unmarshalListRoutesResponse, marshalCreateRouteRequest, unmarshalRoute, marshalUpdateRouteRequest, unmarshalListNetworksResponse, marshalCreateNetworkRequest, unmarshalCreateNetworkResponse, unmarshalNetwork, unmarshalTwinDocument, marshalPutTwinDocumentRequest, marshalPatchTwinDocumentRequest, unmarshalListTwinDocumentsResponse } from './marshalling.gen.js';
7
7
 
8
8
  // This file was automatically generated. DO NOT EDIT.
9
+ // If you have any remark or suggestion do not hesitate to open an issue.
9
10
  const jsonContentHeaders = {
10
11
  'Content-Type': 'application/json; charset=utf-8'
11
12
  };
@@ -2,3 +2,4 @@ export { API } from './api.gen.js';
2
2
  export { HUB_TRANSIENT_STATUSES } from './content.gen.js';
3
3
 
4
4
  // This file was automatically generated. DO NOT EDIT.
5
+ // If you have any remark or suggestion do not hesitate to open an issue.
@@ -4,6 +4,7 @@ import { unmarshalTimeSeries } from '../../../scw/custom-marshalling.js';
4
4
  import { unmarshalDate, unmarshalArrayOfObject, resolveOneOf } from '../../../helpers/marshalling.js';
5
5
 
6
6
  // This file was automatically generated. DO NOT EDIT.
7
+ // If you have any remark or suggestion do not hesitate to open an issue.
7
8
  const unmarshalDeviceMessageFiltersRule = data => {
8
9
  if (!isJSONObject(data)) {
9
10
  throw new TypeError(`Unmarshalling the type 'DeviceMessageFiltersRule' failed as data isn't a dictionary.`);
@@ -6,6 +6,7 @@ import { CLUSTER_TRANSIENT_STATUSES, POOL_TRANSIENT_STATUSES, NODE_TRANSIENT_STA
6
6
  import { unmarshalListClustersResponse, marshalCreateClusterRequest, unmarshalCluster, marshalUpdateClusterRequest, marshalUpgradeClusterRequest, marshalSetClusterTypeRequest, unmarshalListClusterAvailableVersionsResponse, unmarshalListPoolsResponse, marshalCreatePoolRequest, unmarshalPool, marshalUpgradePoolRequest, marshalUpdatePoolRequest, unmarshalExternalNode, unmarshalListNodesResponse, unmarshalNode, unmarshalListVersionsResponse, unmarshalVersion } from './marshalling.gen.js';
7
7
 
8
8
  // This file was automatically generated. DO NOT EDIT.
9
+ // If you have any remark or suggestion do not hesitate to open an issue.
9
10
  const jsonContentHeaders = {
10
11
  'Content-Type': 'application/json; charset=utf-8'
11
12
  };
@@ -27,8 +28,7 @@ class API extends API$1 {
27
28
  }, unmarshalListClustersResponse);
28
29
  };
29
30
  /**
30
- * List all clusters. List all the existing Kubernetes clusters in a specific
31
- * Region.
31
+ * List Clusters. List all existing Kubernetes clusters in a specific region.
32
32
  *
33
33
  * @param request - The request {@link ListClustersRequest}
34
34
  * @returns A Promise of ListClustersResponse
@@ -40,8 +40,7 @@ class API extends API$1 {
40
40
  return enrichForPagination('clusters', _this.pageOfListClusters, request);
41
41
  };
42
42
  /**
43
- * Create a new cluster. Create a new Kubernetes cluster on a Scaleway
44
- * account.
43
+ * Create a new Cluster. Create a new Kubernetes cluster in a Scaleway region.
45
44
  *
46
45
  * @param request - The request {@link CreateClusterRequest}
47
46
  * @returns A Promise of Cluster
@@ -53,8 +52,7 @@ class API extends API$1 {
53
52
  path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/clusters`
54
53
  }, unmarshalCluster);
55
54
  /**
56
- * Get specific cluster information. Get details about a specific Kubernetes
57
- * cluster.
55
+ * Get a Cluster. Retrieve information about a specific Kubernetes cluster.
58
56
  *
59
57
  * @param request - The request {@link GetClusterRequest}
60
58
  * @returns A Promise of Cluster
@@ -72,10 +70,9 @@ class API extends API$1 {
72
70
  */
73
71
  this.waitForCluster = (request, options) => waitForResource(options?.stop ?? (res => Promise.resolve(!CLUSTER_TRANSIENT_STATUSES.includes(res.status))), this.getCluster, request, options);
74
72
  /**
75
- * Update a cluster. Update a specific Kubernetes cluster. Note that this
76
- * method is designed to update details such as name, description, tags and
77
- * configuration. However, you cannot upgrade a cluster with this method. To
78
- * do so, use the dedicated endpoint.
73
+ * Update a Cluster. Update information on a specific Kubernetes cluster. You
74
+ * can update details such as its name, description, tags and configuration.
75
+ * To upgrade a cluster, you will need to use the dedicated endpoint.
79
76
  *
80
77
  * @param request - The request {@link UpdateClusterRequest}
81
78
  * @returns A Promise of Cluster
@@ -87,9 +84,9 @@ class API extends API$1 {
87
84
  path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/clusters/${validatePathParam('clusterId', request.clusterId)}`
88
85
  }, unmarshalCluster);
89
86
  /**
90
- * Delete a cluster. Delete a specific cluster and all its associated pools
91
- * and nodes. Note that this method will not delete any Load Balancers or
92
- * Block Volumes that are associated with the cluster.
87
+ * Delete a Cluster. Delete a specific Kubernetes cluster and all its
88
+ * associated pools and nodes. Note that this method will not delete any Load
89
+ * Balancer or Block Volume that are associated with the cluster.
93
90
  *
94
91
  * @param request - The request {@link DeleteClusterRequest}
95
92
  * @returns A Promise of Cluster
@@ -100,7 +97,7 @@ class API extends API$1 {
100
97
  urlParams: urlParams(['with_additional_resources', request.withAdditionalResources])
101
98
  }, unmarshalCluster);
102
99
  /**
103
- * Upgrade a cluster. Upgrade a specific Kubernetes cluster and/or its
100
+ * Upgrade a Cluster. Upgrade a specific Kubernetes cluster and possibly its
104
101
  * associated pools to a specific and supported Kubernetes version.
105
102
  *
106
103
  * @param request - The request {@link UpgradeClusterRequest}
@@ -113,7 +110,7 @@ class API extends API$1 {
113
110
  path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/clusters/${validatePathParam('clusterId', request.clusterId)}/upgrade`
114
111
  }, unmarshalCluster);
115
112
  /**
116
- * Change type of a cluster. Change type of a specific Kubernetes cluster.
113
+ * Change the Cluster type. Change the type of a specific Kubernetes cluster.
117
114
  *
118
115
  * @param request - The request {@link SetClusterTypeRequest}
119
116
  * @returns A Promise of Cluster
@@ -125,8 +122,8 @@ class API extends API$1 {
125
122
  path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/clusters/${validatePathParam('clusterId', request.clusterId)}/set-type`
126
123
  }, unmarshalCluster);
127
124
  /**
128
- * List available versions for a cluster. List the versions that a specific
129
- * Kubernetes cluster is allowed to upgrade to. Results will comprise every
125
+ * List available versions for a Cluster. List the versions that a specific
126
+ * Kubernetes cluster is allowed to upgrade to. Results will include every
130
127
  * patch version greater than the current patch, as well as one minor version
131
128
  * ahead of the current version. Any upgrade skipping a minor version will not
132
129
  * work.
@@ -145,10 +142,10 @@ class API extends API$1 {
145
142
  responseType: 'blob'
146
143
  });
147
144
  /**
148
- * Reset the admin token of a cluster. Reset the admin token for a specific
149
- * Kubernetes cluster. This will invalidate the old admin token (which will
150
- * not be usable afterwards) and create a new one. Note that you will need to
151
- * redownload kubeconfig in order to keep interacting with the cluster.
145
+ * Reset the admin token of a Cluster. Reset the admin token for a specific
146
+ * Kubernetes cluster. This will revoke the old admin token (which will not be
147
+ * usable afterwards) and create a new one. Note that you will need to
148
+ * download kubeconfig again to keep interacting with the cluster.
152
149
  *
153
150
  * @param request - The request {@link ResetClusterAdminTokenRequest}
154
151
  */
@@ -164,7 +161,7 @@ class API extends API$1 {
164
161
  urlParams: urlParams(['name', request.name], ['order_by', request.orderBy ?? 'created_at_asc'], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['status', request.status ?? 'unknown'])
165
162
  }, unmarshalListPoolsResponse);
166
163
  /**
167
- * List all the pools in a cluster. List all the existing pools for a specific
164
+ * List Pools in a Cluster. List all the existing pools for a specific
168
165
  * Kubernetes cluster.
169
166
  *
170
167
  * @param request - The request {@link ListPoolsRequest}
@@ -172,7 +169,7 @@ class API extends API$1 {
172
169
  */
173
170
  this.listPools = request => enrichForPagination('pools', this.pageOfListPools, request);
174
171
  /**
175
- * Create a new pool in a cluster. Create a new pool in a specific Kubernetes
172
+ * Create a new Pool in a Cluster. Create a new pool in a specific Kubernetes
176
173
  * cluster.
177
174
  *
178
175
  * @param request - The request {@link CreatePoolRequest}
@@ -185,8 +182,8 @@ class API extends API$1 {
185
182
  path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/clusters/${validatePathParam('clusterId', request.clusterId)}/pools`
186
183
  }, unmarshalPool);
187
184
  /**
188
- * Get a pool in a cluster. Get details about a specific pool in a Kubernetes
189
- * cluster.
185
+ * Get a Pool in a Cluster. Retrieve details about a specific pool in a
186
+ * Kubernetes cluster.
190
187
  *
191
188
  * @param request - The request {@link GetPoolRequest}
192
189
  * @returns A Promise of Pool
@@ -204,9 +201,9 @@ class API extends API$1 {
204
201
  */
205
202
  this.waitForPool = (request, options) => waitForResource(options?.stop ?? (res => Promise.resolve(!POOL_TRANSIENT_STATUSES.includes(res.status))), this.getPool, request, options);
206
203
  /**
207
- * Upgrade a pool in a cluster. Upgrade the Kubernetes version of a specific
208
- * pool. Note that this will work when the targeted version is the same than
209
- * the version of the cluster.
204
+ * Upgrade a Pool in a Cluster. Upgrade the Kubernetes version of a specific
205
+ * pool. Note that it only works if the targeted version matches the cluster's
206
+ * version.
210
207
  *
211
208
  * @param request - The request {@link UpgradePoolRequest}
212
209
  * @returns A Promise of Pool
@@ -218,8 +215,8 @@ class API extends API$1 {
218
215
  path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/pools/${validatePathParam('poolId', request.poolId)}/upgrade`
219
216
  }, unmarshalPool);
220
217
  /**
221
- * Update a pool in a cluster. Update attributes of a specific pool, such as
222
- * size, autoscaling settings, and tags.
218
+ * Update a Pool in a Cluster. Update the attributes of a specific pool, such
219
+ * as its desired size, autoscaling settings, and tags.
223
220
  *
224
221
  * @param request - The request {@link UpdatePoolRequest}
225
222
  * @returns A Promise of Pool
@@ -231,8 +228,8 @@ class API extends API$1 {
231
228
  path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/pools/${validatePathParam('poolId', request.poolId)}`
232
229
  }, unmarshalPool);
233
230
  /**
234
- * Delete a pool in a cluster. Delete a specific pool from a cluster. All of
235
- * the pool's nodes will also be deleted.
231
+ * Delete a Pool in a Cluster. Delete a specific pool from a cluster. Note
232
+ * that all the pool's nodes will also be deleted.
236
233
  *
237
234
  * @param request - The request {@link DeletePoolRequest}
238
235
  * @returns A Promise of Pool
@@ -242,8 +239,8 @@ class API extends API$1 {
242
239
  path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/pools/${validatePathParam('poolId', request.poolId)}`
243
240
  }, unmarshalPool);
244
241
  /**
245
- * Create a Kosmos node. Get metadata about a Kosmos node. This method is not
246
- * intended to be directly called by end users, only by the
242
+ * Create a Kosmos node. Retrieve metadata for a Kosmos node. This method is
243
+ * not intended to be called by end users but rather programmatically by the
247
244
  * kapsule-node-agent.
248
245
  *
249
246
  * @param request - The request {@link CreateExternalNodeRequest}
@@ -261,7 +258,7 @@ class API extends API$1 {
261
258
  urlParams: urlParams(['name', request.name], ['order_by', request.orderBy ?? 'created_at_asc'], ['page', request.page], ['page_size', request.pageSize ?? this.client.settings.defaultPageSize], ['pool_id', request.poolId], ['status', request.status ?? 'unknown'])
262
259
  }, unmarshalListNodesResponse);
263
260
  /**
264
- * List all the nodes in a cluster. List all the existing nodes for a specific
261
+ * List Nodes in a Cluster. List all the existing nodes for a specific
265
262
  * Kubernetes cluster.
266
263
  *
267
264
  * @param request - The request {@link ListNodesRequest}
@@ -269,7 +266,7 @@ class API extends API$1 {
269
266
  */
270
267
  this.listNodes = request => enrichForPagination('nodes', this.pageOfListNodes, request);
271
268
  /**
272
- * Get a node in a cluster. Get details about a specific Kubernetes node.
269
+ * Get a Node in a Cluster. Retrieve details about a specific Kubernetes Node.
273
270
  *
274
271
  * @param request - The request {@link GetNodeRequest}
275
272
  * @returns A Promise of Node
@@ -287,13 +284,12 @@ class API extends API$1 {
287
284
  */
288
285
  this.waitForNode = (request, options) => waitForResource(options?.stop ?? (res => Promise.resolve(!NODE_TRANSIENT_STATUSES.includes(res.status))), this.getNode, request, options);
289
286
  /**
290
- * Replace a node in a cluster. Replace a specific node. The node will be set
291
- * cordoned, meaning that scheduling will be disabled. Then the existing pods
292
- * on the node will be drained and reschedule onto another schedulable node.
293
- * Then the node will be deleted, and a new one will be created after the
294
- * deletion. Note that when there is not enough space to reschedule all the
295
- * pods (in a one node cluster for instance), you may experience some
296
- * disruption of your applications.
287
+ * Replace a Node in a Cluster. Replace a specific Node. The node will first
288
+ * be cordoned (scheduling will be disabled on it). The existing pods on the
289
+ * node will then be drained and rescheduled onto another schedulable node.
290
+ * Note that when there is not enough space to reschedule all the pods (such
291
+ * as in a one-node cluster), disruption of your applications can be
292
+ * expected.
297
293
  *
298
294
  * @deprecated
299
295
  * @param request - The request {@link ReplaceNodeRequest}
@@ -306,12 +302,11 @@ class API extends API$1 {
306
302
  path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/nodes/${validatePathParam('nodeId', request.nodeId)}/replace`
307
303
  }, unmarshalNode);
308
304
  /**
309
- * Reboot a node in a cluster. Reboot a specific node. This node will first be
310
- * cordoned, meaning that scheduling will be disabled. Then the existing pods
311
- * on the node will be drained and rescheduled onto another schedulable node.
312
- * Note that when there is not enough space to reschedule all the pods (in a
313
- * one-node cluster, for instance), you may experience some disruption of your
314
- * applications.
305
+ * Reboot a Node in a Cluster. Reboot a specific Node. The node will first be
306
+ * cordoned (scheduling will be disabled on it). The existing pods on the node
307
+ * will then be drained and rescheduled onto another schedulable node. Note
308
+ * that when there is not enough space to reschedule all the pods (such as in
309
+ * a one-node cluster), disruption of your applications can be expected.
315
310
  *
316
311
  * @param request - The request {@link RebootNodeRequest}
317
312
  * @returns A Promise of Node
@@ -323,9 +318,9 @@ class API extends API$1 {
323
318
  path: `/k8s/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/nodes/${validatePathParam('nodeId', request.nodeId)}/reboot`
324
319
  }, unmarshalNode);
325
320
  /**
326
- * Delete a node in a cluster. Delete a specific node. Note that when there is
327
- * not enough space to reschedule all the pods (in a one-node cluster for
328
- * instance), you may experience some disruption of your applications.
321
+ * Delete a Node in a Cluster. Delete a specific Node. Note that when there is
322
+ * not enough space to reschedule all the pods (such as in a one-node
323
+ * cluster), disruption of your applications can be expected.
329
324
  *
330
325
  * @param request - The request {@link DeleteNodeRequest}
331
326
  * @returns A Promise of Node
@@ -336,7 +331,7 @@ class API extends API$1 {
336
331
  urlParams: urlParams(['replace', request.replace], ['skip_drain', request.skipDrain])
337
332
  }, unmarshalNode);
338
333
  /**
339
- * List all available versions. List all available versions for the creation
334
+ * List all available Versions. List all available versions for the creation
340
335
  * of a new Kubernetes cluster.
341
336
  *
342
337
  * @param request - The request {@link ListVersionsRequest}
@@ -352,8 +347,7 @@ class API extends API$1 {
352
347
  }, unmarshalListVersionsResponse);
353
348
  };
354
349
  /**
355
- * Get details about a specific version. Get a specific Kubernetes version and
356
- * the details about the version.
350
+ * Get a Version. Retrieve a specific Kubernetes version and its details.
357
351
  *
358
352
  * @param request - The request {@link GetVersionRequest}
359
353
  * @returns A Promise of Version
@@ -3,6 +3,7 @@ import { isJSONObject } from '../../../helpers/json.js';
3
3
  import { unmarshalDate, unmarshalArrayOfObject, resolveOneOf } from '../../../helpers/marshalling.js';
4
4
 
5
5
  // This file was automatically generated. DO NOT EDIT.
6
+ // If you have any remark or suggestion do not hesitate to open an issue.
6
7
  const unmarshalMaintenanceWindow = data => {
7
8
  if (!isJSONObject(data)) {
8
9
  throw new TypeError(`Unmarshalling the type 'MaintenanceWindow' failed as data isn't a dictionary.`);
@@ -6,6 +6,7 @@ import { LB_TRANSIENT_STATUSES, CERTIFICATE_TRANSIENT_STATUSES } from './content
6
6
  import { unmarshalListLbsResponse, marshalCreateLbRequest, unmarshalLb, marshalUpdateLbRequest, marshalMigrateLbRequest, unmarshalListIpsResponse, marshalCreateIpRequest, unmarshalIp, marshalUpdateIpRequest, unmarshalListBackendsResponse, marshalCreateBackendRequest, unmarshalBackend, marshalUpdateBackendRequest, marshalAddBackendServersRequest, marshalRemoveBackendServersRequest, marshalSetBackendServersRequest, marshalUpdateHealthCheckRequest, unmarshalHealthCheck, unmarshalListFrontendsResponse, marshalCreateFrontendRequest, unmarshalFrontend, marshalUpdateFrontendRequest, unmarshalListRoutesResponse, marshalCreateRouteRequest, unmarshalRoute, marshalUpdateRouteRequest, unmarshalLbStats, unmarshalListBackendStatsResponse, unmarshalListAclResponse, marshalCreateAclRequest, unmarshalAcl, marshalUpdateAclRequest, marshalCreateCertificateRequest, unmarshalCertificate, unmarshalListCertificatesResponse, marshalUpdateCertificateRequest, unmarshalListLbTypesResponse, marshalCreateSubscriberRequest, unmarshalSubscriber, unmarshalListSubscriberResponse, marshalUpdateSubscriberRequest, marshalSubscribeToLbRequest, unmarshalListLbPrivateNetworksResponse, marshalAttachPrivateNetworkRequest, unmarshalPrivateNetwork, marshalZonedApiCreateLbRequest, marshalZonedApiUpdateLbRequest, marshalZonedApiMigrateLbRequest, marshalZonedApiCreateIpRequest, marshalZonedApiUpdateIpRequest, marshalZonedApiCreateBackendRequest, marshalZonedApiUpdateBackendRequest, marshalZonedApiAddBackendServersRequest, marshalZonedApiRemoveBackendServersRequest, marshalZonedApiSetBackendServersRequest, marshalZonedApiUpdateHealthCheckRequest, marshalZonedApiCreateFrontendRequest, marshalZonedApiUpdateFrontendRequest, marshalZonedApiCreateRouteRequest, marshalZonedApiUpdateRouteRequest, marshalZonedApiCreateAclRequest, marshalZonedApiUpdateAclRequest, marshalZonedApiSetAclsRequest, unmarshalSetAclsResponse, marshalZonedApiCreateCertificateRequest, marshalZonedApiUpdateCertificateRequest, marshalZonedApiCreateSubscriberRequest, marshalZonedApiUpdateSubscriberRequest, marshalZonedApiSubscribeToLbRequest, marshalZonedApiAttachPrivateNetworkRequest } from './marshalling.gen.js';
7
7
 
8
8
  // This file was automatically generated. DO NOT EDIT.
9
+ // If you have any remark or suggestion do not hesitate to open an issue.
9
10
  const jsonContentHeaders = {
10
11
  'Content-Type': 'application/json; charset=utf-8'
11
12
  };