* TP-52454| created zenduty integration * TP-52454| added migration script for external team table * TP-52454| added extra logs * TP-52454| modified logs * TP-52454|added extra logs * TP-52454| changed post url for zenduty * TP-52454| fixed bugs in zenduty client * TP-52454| created constants for environmental varibales * TP-52454| enabled zenduty if severity is less than or equal to the defined config
17 lines
547 B
Go
17 lines
547 B
Go
package externalTeam
|
|
|
|
import "gorm.io/datatypes"
|
|
|
|
type ExternalTeamDTO struct {
|
|
ExternalTeamID string `json:"external_team_id,omitempty"`
|
|
ExternalTeamName string `json:"external_team_name,omitempty"`
|
|
Metadata datatypes.JSON `json:"metadata,omitempty"`
|
|
ProviderName string `json:"provider_name,omitempty"`
|
|
TeamID uint `json:"team_id,omitempty"`
|
|
IsActive bool `json:"is_active,omitempty"`
|
|
}
|
|
|
|
type ExternalTeamMetadata struct {
|
|
ServiceId string `json:"service_id"`
|
|
}
|