Skip to content

Commit a52a553

Browse files
feat: add Workflow Automation Destination and Channel types (#1309)
1 parent 496cc4b commit a52a553

File tree

3 files changed

+24
-0
lines changed

3 files changed

+24
-0
lines changed

pkg/entities/types.go

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,8 @@ var AiNotificationsChannelTypeTypes = struct {
245245
SLACK_LEGACY AiNotificationsChannelType
246246
// Webhook channel type
247247
WEBHOOK AiNotificationsChannelType
248+
// Workflow Automation channel type
249+
WORKFLOW_AUTOMATION AiNotificationsChannelType
248250
}{
249251
// Email channel type
250252
EMAIL: "EMAIL",
@@ -276,6 +278,8 @@ var AiNotificationsChannelTypeTypes = struct {
276278
SLACK_LEGACY: "SLACK_LEGACY",
277279
// Webhook channel type
278280
WEBHOOK: "WEBHOOK",
281+
// Workflow Automation channel type
282+
WORKFLOW_AUTOMATION: "WORKFLOW_AUTOMATION",
279283
}
280284

281285
// AiNotificationsDestinationStatus - Destination statuses
@@ -379,6 +383,8 @@ var AiNotificationsDestinationTypeTypes = struct {
379383
SLACK_LEGACY AiNotificationsDestinationType
380384
// WebHook destination type
381385
WEBHOOK AiNotificationsDestinationType
386+
// Workflow Automation destination type
387+
WORKFLOW_AUTOMATION AiNotificationsDestinationType
382388
}{
383389
// Email destination type
384390
EMAIL: "EMAIL",
@@ -406,6 +412,8 @@ var AiNotificationsDestinationTypeTypes = struct {
406412
SLACK_LEGACY: "SLACK_LEGACY",
407413
// WebHook destination type
408414
WEBHOOK: "WEBHOOK",
415+
// Workflow Automation destination type
416+
WORKFLOW_AUTOMATION: "WORKFLOW_AUTOMATION",
409417
}
410418

411419
// AiNotificationsProduct - Product types
@@ -555,6 +563,8 @@ var AiWorkflowsDestinationTypeTypes = struct {
555563
SLACK_LEGACY AiWorkflowsDestinationType
556564
// Webhook Destination Configuration type
557565
WEBHOOK AiWorkflowsDestinationType
566+
// Workflow Automation Destination Configuration type
567+
WORKFLOW_AUTOMATION AiWorkflowsDestinationType
558568
}{
559569
// Email Destination Configuration type
560570
EMAIL: "EMAIL",
@@ -582,6 +592,8 @@ var AiWorkflowsDestinationTypeTypes = struct {
582592
SLACK_LEGACY: "SLACK_LEGACY",
583593
// Webhook Destination Configuration type
584594
WEBHOOK: "WEBHOOK",
595+
// Workflow Automation Destination Configuration type
596+
WORKFLOW_AUTOMATION: "WORKFLOW_AUTOMATION",
585597
}
586598

587599
// AiWorkflowsEnrichmentType - Type of Enrichment

pkg/notifications/types.go

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,8 @@ var AiNotificationsChannelTypeTypes = struct {
152152
SLACK_LEGACY AiNotificationsChannelType
153153
// Webhook channel type
154154
WEBHOOK AiNotificationsChannelType
155+
// Workflow Automation channel type
156+
WORKFLOW_AUTOMATION AiNotificationsChannelType
155157
}{
156158
// Email channel type
157159
EMAIL: "EMAIL",
@@ -183,6 +185,8 @@ var AiNotificationsChannelTypeTypes = struct {
183185
SLACK_LEGACY: "SLACK_LEGACY",
184186
// Webhook channel type
185187
WEBHOOK: "WEBHOOK",
188+
// Workflow Automation channel type
189+
WORKFLOW_AUTOMATION: "WORKFLOW_AUTOMATION",
186190
}
187191

188192
// AiNotificationsDestinationFields - Destination fields
@@ -329,6 +333,8 @@ var AiNotificationsDestinationTypeTypes = struct {
329333
SLACK_LEGACY AiNotificationsDestinationType
330334
// WebHook destination type
331335
WEBHOOK AiNotificationsDestinationType
336+
// Workflow Automation destination type
337+
WORKFLOW_AUTOMATION AiNotificationsDestinationType
332338
}{
333339
// Email destination type
334340
EMAIL: "EMAIL",
@@ -356,6 +362,8 @@ var AiNotificationsDestinationTypeTypes = struct {
356362
SLACK_LEGACY: "SLACK_LEGACY",
357363
// WebHook destination type
358364
WEBHOOK: "WEBHOOK",
365+
// Workflow Automation destination type
366+
WORKFLOW_AUTOMATION: "WORKFLOW_AUTOMATION",
359367
}
360368

361369
// AiNotificationsErrorType - Error types

pkg/workflows/types.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,8 @@ var AiWorkflowsDestinationTypeTypes = struct {
9797
SLACK_LEGACY AiWorkflowsDestinationType
9898
// Webhook Destination Configuration type
9999
WEBHOOK AiWorkflowsDestinationType
100+
// Workflow Automation Destination Configuration type
101+
WORKFLOW_AUTOMATION AiWorkflowsDestinationType
100102
}{
101103
// Email Destination Configuration type
102104
EMAIL: "EMAIL",
@@ -124,6 +126,8 @@ var AiWorkflowsDestinationTypeTypes = struct {
124126
SLACK_LEGACY: "SLACK_LEGACY",
125127
// Webhook Destination Configuration type
126128
WEBHOOK: "WEBHOOK",
129+
// Workflow Automation Destination Configuration type
130+
WORKFLOW_AUTOMATION: "WORKFLOW_AUTOMATION",
127131
}
128132

129133
// AiWorkflowsEnrichmentType - Type of Enrichment

0 commit comments

Comments
 (0)