Skip to content

Commit 58501e2

Browse files
authored
feat(serverless): add mnq_nats_account_id in trigger responses (#931)
1 parent c919d46 commit 58501e2

File tree

4 files changed

+20
-8
lines changed

4 files changed

+20
-8
lines changed

packages/clients/src/api/container/v1beta1/marshalling.gen.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ const unmarshalTriggerMnqNatsClientConfig = (data: unknown) => {
6464
return {
6565
mnqCredentialId: data.mnq_credential_id,
6666
mnqNamespaceId: data.mnq_namespace_id,
67+
mnqNatsAccountId: data.mnq_nats_account_id,
6768
mnqProjectId: data.mnq_project_id,
6869
mnqRegion: data.mnq_region,
6970
subject: data.subject,

packages/clients/src/api/container/v1beta1/types.gen.ts

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -155,15 +155,17 @@ export interface Container {
155155
}
156156

157157
export interface CreateTriggerRequestMnqNatsClientConfig {
158-
mnqNamespaceId: string
158+
/** @deprecated */
159+
mnqNamespaceId?: string
159160
subject: string
160161
mnqProjectId: string
161162
mnqRegion: string
162163
mnqNatsAccountId: string
163164
}
164165

165166
export interface CreateTriggerRequestMnqSqsClientConfig {
166-
mnqNamespaceId: string
167+
/** @deprecated */
168+
mnqNamespaceId?: string
167169
queue: string
168170
mnqProjectId: string
169171
mnqRegion: string
@@ -361,15 +363,18 @@ export interface Trigger {
361363
}
362364

363365
export interface TriggerMnqNatsClientConfig {
364-
mnqNamespaceId: string
366+
/** @deprecated */
367+
mnqNamespaceId?: string
365368
subject: string
366369
mnqProjectId: string
367370
mnqRegion: string
368371
mnqCredentialId?: string
372+
mnqNatsAccountId: string
369373
}
370374

371375
export interface TriggerMnqSqsClientConfig {
372-
mnqNamespaceId: string
376+
/** @deprecated */
377+
mnqNamespaceId?: string
373378
queue: string
374379
mnqProjectId: string
375380
mnqRegion: string

packages/clients/src/api/function/v1beta1/marshalling.gen.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ const unmarshalTriggerMnqNatsClientConfig = (data: unknown) => {
6868
return {
6969
mnqCredentialId: data.mnq_credential_id,
7070
mnqNamespaceId: data.mnq_namespace_id,
71+
mnqNatsAccountId: data.mnq_nats_account_id,
7172
mnqProjectId: data.mnq_project_id,
7273
mnqRegion: data.mnq_region,
7374
subject: data.subject,

packages/clients/src/api/function/v1beta1/types.gen.ts

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -133,15 +133,17 @@ export type TriggerStatus =
133133
| 'pending'
134134

135135
export interface CreateTriggerRequestMnqNatsClientConfig {
136-
mnqNamespaceId: string
136+
/** @deprecated */
137+
mnqNamespaceId?: string
137138
subject: string
138139
mnqProjectId: string
139140
mnqRegion: string
140141
mnqNatsAccountId: string
141142
}
142143

143144
export interface CreateTriggerRequestMnqSqsClientConfig {
144-
mnqNamespaceId: string
145+
/** @deprecated */
146+
mnqNamespaceId?: string
145147
queue: string
146148
mnqProjectId: string
147149
mnqRegion: string
@@ -420,15 +422,18 @@ export interface Trigger {
420422
}
421423

422424
export interface TriggerMnqNatsClientConfig {
423-
mnqNamespaceId: string
425+
/** @deprecated */
426+
mnqNamespaceId?: string
424427
subject: string
425428
mnqProjectId: string
426429
mnqRegion: string
427430
mnqCredentialId?: string
431+
mnqNatsAccountId: string
428432
}
429433

430434
export interface TriggerMnqSqsClientConfig {
431-
mnqNamespaceId: string
435+
/** @deprecated */
436+
mnqNamespaceId?: string
432437
queue: string
433438
mnqProjectId: string
434439
mnqRegion: string

0 commit comments

Comments
 (0)