Skip to content

Commit

Permalink
feat(serverless): add mnq_nats_account_id in trigger responses (scale…
Browse files Browse the repository at this point in the history
  • Loading branch information
scaleway-bot authored Oct 13, 2023
1 parent c919d46 commit 58501e2
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ const unmarshalTriggerMnqNatsClientConfig = (data: unknown) => {
return {
mnqCredentialId: data.mnq_credential_id,
mnqNamespaceId: data.mnq_namespace_id,
mnqNatsAccountId: data.mnq_nats_account_id,
mnqProjectId: data.mnq_project_id,
mnqRegion: data.mnq_region,
subject: data.subject,
Expand Down
13 changes: 9 additions & 4 deletions packages/clients/src/api/container/v1beta1/types.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -155,15 +155,17 @@ export interface Container {
}

export interface CreateTriggerRequestMnqNatsClientConfig {
mnqNamespaceId: string
/** @deprecated */
mnqNamespaceId?: string
subject: string
mnqProjectId: string
mnqRegion: string
mnqNatsAccountId: string
}

export interface CreateTriggerRequestMnqSqsClientConfig {
mnqNamespaceId: string
/** @deprecated */
mnqNamespaceId?: string
queue: string
mnqProjectId: string
mnqRegion: string
Expand Down Expand Up @@ -361,15 +363,18 @@ export interface Trigger {
}

export interface TriggerMnqNatsClientConfig {
mnqNamespaceId: string
/** @deprecated */
mnqNamespaceId?: string
subject: string
mnqProjectId: string
mnqRegion: string
mnqCredentialId?: string
mnqNatsAccountId: string
}

export interface TriggerMnqSqsClientConfig {
mnqNamespaceId: string
/** @deprecated */
mnqNamespaceId?: string
queue: string
mnqProjectId: string
mnqRegion: string
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ const unmarshalTriggerMnqNatsClientConfig = (data: unknown) => {
return {
mnqCredentialId: data.mnq_credential_id,
mnqNamespaceId: data.mnq_namespace_id,
mnqNatsAccountId: data.mnq_nats_account_id,
mnqProjectId: data.mnq_project_id,
mnqRegion: data.mnq_region,
subject: data.subject,
Expand Down
13 changes: 9 additions & 4 deletions packages/clients/src/api/function/v1beta1/types.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -133,15 +133,17 @@ export type TriggerStatus =
| 'pending'

export interface CreateTriggerRequestMnqNatsClientConfig {
mnqNamespaceId: string
/** @deprecated */
mnqNamespaceId?: string
subject: string
mnqProjectId: string
mnqRegion: string
mnqNatsAccountId: string
}

export interface CreateTriggerRequestMnqSqsClientConfig {
mnqNamespaceId: string
/** @deprecated */
mnqNamespaceId?: string
queue: string
mnqProjectId: string
mnqRegion: string
Expand Down Expand Up @@ -420,15 +422,18 @@ export interface Trigger {
}

export interface TriggerMnqNatsClientConfig {
mnqNamespaceId: string
/** @deprecated */
mnqNamespaceId?: string
subject: string
mnqProjectId: string
mnqRegion: string
mnqCredentialId?: string
mnqNatsAccountId: string
}

export interface TriggerMnqSqsClientConfig {
mnqNamespaceId: string
/** @deprecated */
mnqNamespaceId?: string
queue: string
mnqProjectId: string
mnqRegion: string
Expand Down

0 comments on commit 58501e2

Please sign in to comment.