From 3a11f897a22d40ed9cd376d057a23da2654f26e6 Mon Sep 17 00:00:00 2001 From: scaleway-bot Date: Mon, 13 Nov 2023 14:10:19 +0000 Subject: [PATCH] feat: update generated APIs --- .../src/api/container/v1beta1/types.gen.ts | 36 +++++++++++-------- .../src/api/function/v1beta1/types.gen.ts | 36 +++++++++++-------- 2 files changed, 42 insertions(+), 30 deletions(-) diff --git a/packages/clients/src/api/container/v1beta1/types.gen.ts b/packages/clients/src/api/container/v1beta1/types.gen.ts index f2977b528..0ef9d6232 100644 --- a/packages/clients/src/api/container/v1beta1/types.gen.ts +++ b/packages/clients/src/api/container/v1beta1/types.gen.ts @@ -107,13 +107,16 @@ export interface TriggerMnqNatsClientConfig { mnqNamespaceId?: string /** Name of the NATS subject the trigger listens to. */ subject: string - /** ID of the M&Q NATS account. */ + /** ID of the Messaging and Queuing NATS account. */ mnqNatsAccountId: string - /** ID of the M&Q project. */ + /** ID of the Messaging and Queuing project. */ mnqProjectId: string - /** Region of the M&Q project. */ + /** Currently, only the `fr-par` region is available. */ mnqRegion: string - /** ID of the M&Q credentials used to subscribe to the NATS subject. */ + /** + * ID of the Messaging and Queuing credentials used to subscribe to the NATS + * subject. + */ mnqCredentialId?: string } @@ -122,11 +125,14 @@ export interface TriggerMnqSqsClientConfig { mnqNamespaceId?: string /** Name of the SQS queue the trigger listens to. */ queue: string - /** ID of the M&Q project. */ + /** ID of the Messaging and Queuing project. */ mnqProjectId: string - /** Region in which the M&Q project is activated. */ + /** Currently, only the `fr-par` region is available. */ mnqRegion: string - /** ID of the M&Q credentials used to read from the SQS queue. */ + /** + * ID of the Messaging and Queuing credentials used to read from the SQS + * queue. + */ mnqCredentialId?: string } @@ -147,11 +153,11 @@ export interface CreateTriggerRequestMnqNatsClientConfig { mnqNamespaceId?: string /** Name of the NATS subject the trigger should listen to. */ subject: string - /** ID of the M&Q NATS account. */ + /** ID of the Messaging and Queuing NATS account. */ mnqNatsAccountId: string - /** ID of the M&Q project. */ + /** ID of the Messaging and Queuing project. */ mnqProjectId: string - /** Region of the M&Q project. */ + /** Currently, only the `fr-par` region is available. */ mnqRegion: string } @@ -162,7 +168,7 @@ export interface CreateTriggerRequestMnqSqsClientConfig { queue: string /** You must have activated SQS on this project. */ mnqProjectId: string - /** Region in which the M&Q project is activated. */ + /** Currently, only the `fr-par` region is available. */ mnqRegion: string } @@ -339,14 +345,14 @@ export interface Trigger { /** Error message of the trigger. */ errorMessage?: string /** - * Configuration for a Scaleway M&Q SQS queue. + * Configuration for a Scaleway Messaging and Queuing SQS queue. * * One-of ('config'): at most one of 'scwSqsConfig', 'scwNatsConfig', * 'sqsConfig' could be set. */ scwSqsConfig?: TriggerMnqSqsClientConfig /** - * Configuration for a Scaleway M&Q NATS subject. + * Configuration for a Scaleway Messaging and Queuing NATS subject. * * One-of ('config'): at most one of 'scwSqsConfig', 'scwNatsConfig', * 'sqsConfig' could be set. @@ -498,14 +504,14 @@ export type CreateTriggerRequest = { /** Description of the trigger. */ description?: string /** - * Configuration for a Scaleway M&Q SQS queue. + * Configuration for a Scaleway Messaging and Queuing SQS queue. * * One-of ('config'): at most one of 'scwSqsConfig', 'scwNatsConfig', * 'sqsConfig' could be set. */ scwSqsConfig?: CreateTriggerRequestMnqSqsClientConfig /** - * Configuration for a Scaleway M&Q NATS subject. + * Configuration for a Scaleway Messaging and Queuing NATS subject. * * One-of ('config'): at most one of 'scwSqsConfig', 'scwNatsConfig', * 'sqsConfig' could be set. diff --git a/packages/clients/src/api/function/v1beta1/types.gen.ts b/packages/clients/src/api/function/v1beta1/types.gen.ts index 7a1efdddf..636b00244 100644 --- a/packages/clients/src/api/function/v1beta1/types.gen.ts +++ b/packages/clients/src/api/function/v1beta1/types.gen.ts @@ -140,13 +140,16 @@ export interface TriggerMnqNatsClientConfig { mnqNamespaceId?: string /** Name of the NATS subject the trigger listens to. */ subject: string - /** ID of the M&Q NATS account. */ + /** ID of the Messaging and Queuing NATS account. */ mnqNatsAccountId: string - /** ID of the M&Q project. */ + /** ID of the Messaging and Queuing project. */ mnqProjectId: string - /** Region of the M&Q project. */ + /** Currently, only the `fr-par` region is available. */ mnqRegion: string - /** ID of the M&Q credentials used to subscribe to the NATS subject. */ + /** + * ID of the Messaging and Queuing credentials used to subscribe to the NATS + * subject. + */ mnqCredentialId?: string } @@ -155,11 +158,14 @@ export interface TriggerMnqSqsClientConfig { mnqNamespaceId?: string /** Name of the SQS queue the trigger listens to. */ queue: string - /** ID of the M&Q project. */ + /** ID of the Messaging and Queuing project. */ mnqProjectId: string - /** Region in which the M&Q project is activated. */ + /** Currently, only the `fr-par` region is available. */ mnqRegion: string - /** ID of the M&Q credentials used to read from the SQS queue. */ + /** + * ID of the Messaging and Queuing credentials used to read from the SQS + * queue. + */ mnqCredentialId?: string } @@ -180,11 +186,11 @@ export interface CreateTriggerRequestMnqNatsClientConfig { mnqNamespaceId?: string /** Name of the NATS subject the trigger should listen to. */ subject: string - /** ID of the M&Q NATS account. */ + /** ID of the Messaging and Queuing NATS account. */ mnqNatsAccountId: string - /** ID of the M&Q project. */ + /** ID of the Messaging and Queuing project. */ mnqProjectId: string - /** Region of the M&Q project. */ + /** Currently, only the `fr-par` region is available. */ mnqRegion: string } @@ -195,7 +201,7 @@ export interface CreateTriggerRequestMnqSqsClientConfig { queue: string /** You must have activated SQS on this project. */ mnqProjectId: string - /** Region in which the M&Q project is activated. */ + /** Currently, only the `fr-par` region is available. */ mnqRegion: string } @@ -384,14 +390,14 @@ export interface Trigger { /** Error message of the trigger. */ errorMessage?: string /** - * Configuration for a Scaleway M&Q SQS queue. + * Configuration for a Scaleway Messaging and Queuing SQS queue. * * One-of ('config'): at most one of 'scwSqsConfig', 'scwNatsConfig', * 'sqsConfig' could be set. */ scwSqsConfig?: TriggerMnqSqsClientConfig /** - * Configuration for a Scaleway M&Q NATS subject. + * Configuration for a Scaleway Messaging and Queuing NATS subject. * * One-of ('config'): at most one of 'scwSqsConfig', 'scwNatsConfig', * 'sqsConfig' could be set. @@ -532,14 +538,14 @@ export type CreateTriggerRequest = { /** Description of the trigger. */ description?: string /** - * Configuration for a Scaleway M&Q SQS queue. + * Configuration for a Scaleway Messaging and Queuing SQS queue. * * One-of ('config'): at most one of 'scwSqsConfig', 'scwNatsConfig', * 'sqsConfig' could be set. */ scwSqsConfig?: CreateTriggerRequestMnqSqsClientConfig /** - * Configuration for a Scaleway M&Q NATS subject. + * Configuration for a Scaleway Messaging and Queuing NATS subject. * * One-of ('config'): at most one of 'scwSqsConfig', 'scwNatsConfig', * 'sqsConfig' could be set.