diff --git a/vendor/github.com/opsgenie/opsgenie-go-sdk-v2/integration/request.go b/vendor/github.com/opsgenie/opsgenie-go-sdk-v2/integration/request.go index d52b4e18..3ba22faf 100644 --- a/vendor/github.com/opsgenie/opsgenie-go-sdk-v2/integration/request.go +++ b/vendor/github.com/opsgenie/opsgenie-go-sdk-v2/integration/request.go @@ -49,6 +49,7 @@ type APIBasedIntegrationRequest struct { Name string `json:"name"` Type string `json:"type"` AllowWriteAccess *bool `json:"allowWriteAccess"` + AllowConfigurationAccess *bool `json:"allowConfigurationAccess"` IgnoreRespondersFromPayload *bool `json:"ignoreRespondersFromPayload"` SuppressNotifications *bool `json:"suppressNotifications"` OwnerTeam *og.OwnerTeam `json:"ownerTeam,omitempty"` @@ -79,6 +80,7 @@ type WebhookIntegrationRequest struct { Name string `json:"name"` Type string `json:"type"` AllowWriteAccess *bool `json:"allowWriteAccess"` + AllowConfigurationAccess *bool `json:"allowConfigurationAccess"` SuppressNotifications *bool `json:"suppressNotifications"` OwnerTeam *og.OwnerTeam `json:"ownerTeam,omitempty"` Responders []Responder `json:"responders,omitempty"` diff --git a/vendor/github.com/opsgenie/opsgenie-go-sdk-v2/og/entity.go b/vendor/github.com/opsgenie/opsgenie-go-sdk-v2/og/entity.go index 2215d9a1..2882459e 100644 --- a/vendor/github.com/opsgenie/opsgenie-go-sdk-v2/og/entity.go +++ b/vendor/github.com/opsgenie/opsgenie-go-sdk-v2/og/entity.go @@ -346,7 +346,7 @@ const ( ) type SendAfter struct { - TimeAmount uint32 `json:"timeAmount,omitempty"` + TimeAmount uint32 `json:"timeAmount"` TimeUnit string `json:"timeUnit,omitempty"` } diff --git a/vendor/modules.txt b/vendor/modules.txt index bcbcaf82..55380159 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -173,8 +173,8 @@ github.com/mitchellh/reflectwalk # github.com/oklog/run v1.0.0 ## explicit github.com/oklog/run -# github.com/opsgenie/opsgenie-go-sdk-v2 v1.2.22 -## explicit; go 1.12 +# github.com/opsgenie/opsgenie-go-sdk-v2 v1.2.23 +## explicit; go 1.16 github.com/opsgenie/opsgenie-go-sdk-v2/alert github.com/opsgenie/opsgenie-go-sdk-v2/client github.com/opsgenie/opsgenie-go-sdk-v2/contact