Skip to content

Commit

Permalink
fix(notifications): add missing destination type via tutone
Browse files Browse the repository at this point in the history
  • Loading branch information
lzaga-newrelic committed Sep 7, 2022
1 parent 763f192 commit b364622
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions pkg/notifications/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,8 @@ var AiNotificationsChannelTypeTypes = struct {
SLACK AiNotificationsChannelType
// Slack Collaboration channel type
SLACK_COLLABORATION AiNotificationsChannelType
// Legacy Slack channel type based on Incoming Webhooks
SLACK_LEGACY AiNotificationsChannelType
// Webhook channel type
WEBHOOK AiNotificationsChannelType
}{
Expand All @@ -165,6 +167,8 @@ var AiNotificationsChannelTypeTypes = struct {
SLACK: "SLACK",
// Slack Collaboration channel type
SLACK_COLLABORATION: "SLACK_COLLABORATION",
// Legacy Slack channel type based on Incoming Webhooks
SLACK_LEGACY: "SLACK_LEGACY",
// Webhook channel type
WEBHOOK: "WEBHOOK",
}
Expand Down Expand Up @@ -289,6 +293,8 @@ var AiNotificationsDestinationTypeTypes = struct {
SLACK AiNotificationsDestinationType
// Slack Collaboration destination type
SLACK_COLLABORATION AiNotificationsDestinationType
// Legacy Slack destination type based on Incoming Webhooks
SLACK_LEGACY AiNotificationsDestinationType
// WebHook destination type
WEBHOOK AiNotificationsDestinationType
}{
Expand All @@ -310,6 +316,8 @@ var AiNotificationsDestinationTypeTypes = struct {
SLACK: "SLACK",
// Slack Collaboration destination type
SLACK_COLLABORATION: "SLACK_COLLABORATION",
// Legacy Slack destination type based on Incoming Webhooks
SLACK_LEGACY: "SLACK_LEGACY",
// WebHook destination type
WEBHOOK: "WEBHOOK",
}
Expand Down Expand Up @@ -758,6 +766,8 @@ type AiNotificationsDestinationUpdate struct {
Active bool `json:"active,omitempty"`
// auth
Auth *AiNotificationsCredentialsInput `json:"auth,omitempty"`
// disableAuth
DisableAuth bool `json:"disableAuth,omitempty"`
// name
Name string `json:"name,omitempty"`
// properties
Expand Down

0 comments on commit b364622

Please sign in to comment.