From 6e2f3ccf0d4caeb32cdd45b027831b7eafd3cbe6 Mon Sep 17 00:00:00 2001 From: scaleway-bot Date: Thu, 4 Sep 2025 15:56:02 +0000 Subject: [PATCH] feat: update generated APIs --- packages_generated/container/src/v1beta1/api.gen.ts | 3 +++ .../container/src/v1beta1/types.gen.ts | 13 ++++++++++++- packages_generated/domain/src/v2beta1/index.gen.ts | 4 ++++ packages_generated/function/src/v1beta1/api.gen.ts | 3 +++ .../function/src/v1beta1/types.gen.ts | 13 ++++++++++++- packages_generated/iam/src/v1alpha1/index.gen.ts | 10 +++++----- 6 files changed, 39 insertions(+), 7 deletions(-) diff --git a/packages_generated/container/src/v1beta1/api.gen.ts b/packages_generated/container/src/v1beta1/api.gen.ts index b5baa5f87..b04b5c200 100644 --- a/packages_generated/container/src/v1beta1/api.gen.ts +++ b/packages_generated/container/src/v1beta1/api.gen.ts @@ -314,6 +314,9 @@ export class API extends ParentAPI { /** * Update an existing container. Update the container associated with the specified ID. + +When updating a container, the container is automatically redeployed to apply the changes. +This behavior can be changed by setting the `redeploy` field to `false` in the request. * * @param request - The request {@link UpdateContainerRequest} * @returns A Promise of Container diff --git a/packages_generated/container/src/v1beta1/types.gen.ts b/packages_generated/container/src/v1beta1/types.gen.ts index fc880be50..e1764a42d 100644 --- a/packages_generated/container/src/v1beta1/types.gen.ts +++ b/packages_generated/container/src/v1beta1/types.gen.ts @@ -1282,7 +1282,18 @@ export type UpdateContainerRequest = { */ port?: number /** - * Secret environment variables of the container. + * During an update, secret environment variables that are not specified in this field will be kept unchanged. + +In order to delete a specific secret environment variable, you must reference its key, but not provide any value for it. +For example, the following payload will delete the `TO_DELETE` secret environment variable: + +```json +{ + "secret_environment_variables":[ + {"key":"TO_DELETE"} + ] +} +```. */ secretEnvironmentVariables?: Secret[] /** diff --git a/packages_generated/domain/src/v2beta1/index.gen.ts b/packages_generated/domain/src/v2beta1/index.gen.ts index 8f6a86224..8d01f0a51 100644 --- a/packages_generated/domain/src/v2beta1/index.gen.ts +++ b/packages_generated/domain/src/v2beta1/index.gen.ts @@ -81,6 +81,8 @@ export type { ImportRawDNSZoneRequestBindSource, ImportRawDNSZoneRequestTsigKey, ImportRawDNSZoneResponse, + InboundTransfer, + InboundTransferStatus, LinkedProduct, ListContactsRequestRole, ListContactsResponse, @@ -99,6 +101,7 @@ export type { ListDomainHostsResponse, ListDomainsRequestOrderBy, ListDomainsResponse, + ListInboundTransfersResponse, ListRenewableDomainsRequestOrderBy, ListRenewableDomainsResponse, ListSSLCertificatesRequest, @@ -135,6 +138,7 @@ export type { RegistrarApiListContactsRequest, RegistrarApiListDomainHostsRequest, RegistrarApiListDomainsRequest, + RegistrarApiListInboundTransfersRequest, RegistrarApiListRenewableDomainsRequest, RegistrarApiListTasksRequest, RegistrarApiListTldsRequest, diff --git a/packages_generated/function/src/v1beta1/api.gen.ts b/packages_generated/function/src/v1beta1/api.gen.ts index f3a29e175..08a72efb3 100644 --- a/packages_generated/function/src/v1beta1/api.gen.ts +++ b/packages_generated/function/src/v1beta1/api.gen.ts @@ -323,6 +323,9 @@ export class API extends ParentAPI { /** * Update an existing function. Update the function associated with the specified ID. + +When updating a function, the function is automatically redeployed to apply the changes. +This behavior can be changed by setting the `redeploy` field to `false` in the request. * * @param request - The request {@link UpdateFunctionRequest} * @returns A Promise of Function diff --git a/packages_generated/function/src/v1beta1/types.gen.ts b/packages_generated/function/src/v1beta1/types.gen.ts index dcd5195a9..2d10ee295 100644 --- a/packages_generated/function/src/v1beta1/types.gen.ts +++ b/packages_generated/function/src/v1beta1/types.gen.ts @@ -1281,7 +1281,18 @@ export type UpdateFunctionRequest = { */ description?: string /** - * Secret environment variables of the function. + * During an update, secret environment variables that are not specified in this field will be kept unchanged. + +In order to delete a specific secret environment variable, you must reference its key, but not provide any value for it. +For example, the following payload will delete the `TO_DELETE` secret environment variable: + +```json +{ + "secret_environment_variables":[ + {"key":"TO_DELETE"} + ] +} +```. */ secretEnvironmentVariables?: Secret[] /** diff --git a/packages_generated/iam/src/v1alpha1/index.gen.ts b/packages_generated/iam/src/v1alpha1/index.gen.ts index a9d05e61c..a68e58893 100644 --- a/packages_generated/iam/src/v1alpha1/index.gen.ts +++ b/packages_generated/iam/src/v1alpha1/index.gen.ts @@ -17,7 +17,6 @@ export type { CreateApplicationRequest, CreateGroupRequest, CreateJWTRequest, - CreateOrganizationSamlRequest, CreatePolicyRequest, CreateSSHKeyRequest, CreateUserMFAOTPRequest, @@ -27,12 +26,13 @@ export type { DeleteApplicationRequest, DeleteGroupRequest, DeleteJWTRequest, - DeleteOrganizationSamlRequest, DeletePolicyRequest, DeleteSamlCertificateRequest, + DeleteSamlRequest, DeleteSSHKeyRequest, DeleteUserMFAOTPRequest, DeleteUserRequest, + EnableOrganizationSamlRequest, EncodedJWT, GetAPIKeyRequest, GetApplicationRequest, @@ -44,7 +44,6 @@ export type { GetOrganizationSecuritySettingsRequest, GetPolicyRequest, GetQuotumRequest, - GetSamlInformationRequest, GetSSHKeyRequest, GetUserConnectionsRequest, GetUserConnectionsResponse, @@ -114,7 +113,8 @@ export type { SamlCertificate, SamlCertificateOrigin, SamlCertificateType, - SamlInformation, + SamlServiceProvider, + SamlStatus, SetGroupMembersRequest, SetOrganizationAliasRequest, SetRulesRequest, @@ -124,9 +124,9 @@ export type { UpdateAPIKeyRequest, UpdateApplicationRequest, UpdateGroupRequest, - UpdateOrganizationSamlRequest, UpdateOrganizationSecuritySettingsRequest, UpdatePolicyRequest, + UpdateSamlRequest, UpdateSSHKeyRequest, UpdateUserPasswordRequest, UpdateUserRequest,