diff --git a/custom_action.go b/custom_action.go index 4bebcb1..0d029ae 100644 --- a/custom_action.go +++ b/custom_action.go @@ -127,6 +127,7 @@ type UpdateCustomActionOptions struct { Password *string `json:"password"` AuthorizationHeader *string `json:"authorization_header"` ForwardWholePayload bool `json:"forward_whole_payload"` + TeamId string `json:"team_id"` } // UpdateCustomAction updates custom action diff --git a/escalation_chain.go b/escalation_chain.go index d93d0e8..96a96fe 100644 --- a/escalation_chain.go +++ b/escalation_chain.go @@ -107,7 +107,8 @@ func (service *EscalationChainService) CreateEscalationChain(opt *CreateEscalati } type UpdateEscalationChainOptions struct { - Name string `json:"name,omitempty"` + Name string `json:"name,omitempty"` + TeamId string `json:"team_id"` } // UpdateEscalationChain updates escalation chain with name. diff --git a/integration.go b/integration.go index b01a263..8f272cb 100644 --- a/integration.go +++ b/integration.go @@ -159,6 +159,7 @@ func (service *IntegrationService) CreateIntegration(opt *CreateIntegrationOptio type UpdateIntegrationOptions struct { Name string `json:"name,omitempty"` + TeamId string `json:"team_id"` Templates *Templates `json:"templates,omitempty"` DefaultRoute *DefaultRoute `json:"default_route,omitempty"` } diff --git a/on_call_shift.go b/on_call_shift.go index af3b821..eb4b0b2 100644 --- a/on_call_shift.go +++ b/on_call_shift.go @@ -139,6 +139,7 @@ func (service *OnCallShiftService) CreateOnCallShift(opt *CreateOnCallShiftOptio type UpdateOnCallShiftOptions struct { Type string `json:"type"` Name string `json:"name"` + TeamId string `json:"team_id"` Level *int `json:"level,omitempty"` Start string `json:"start"` Duration int `json:"duration"` diff --git a/schedule.go b/schedule.go index 756717a..dd984d5 100644 --- a/schedule.go +++ b/schedule.go @@ -126,6 +126,7 @@ func (service *ScheduleService) CreateSchedule(opt *CreateScheduleOptions) (*Sch type UpdateScheduleOptions struct { Name string `json:"name,omitempty"` + TeamId string `json:"team_id"` ICalUrlPrimary *string `json:"ical_url_primary"` ICalUrlOverrides *string `json:"ical_url_overrides"` TimeZone string `json:"time_zone,omitempty"`