diff --git a/enum.go b/enum.go index 6876cf0..6807fd1 100644 --- a/enum.go +++ b/enum.go @@ -1295,13 +1295,3 @@ const ( WorkspaceSelectionConditionStringOperatorEqual WorkspaceSelectionConditionStringOperator = "EQUAL" // Equal operator. WorkspaceSelectionConditionStringOperatorNotEqual WorkspaceSelectionConditionStringOperator = "NOT_EQUAL" // Not equal operator. ) - -// WorkspaceSelectionOperator represents workspace selection operators. -type WorkspaceSelectionOperator string - -// Workspace selection operators. -const ( - WorkspaceSelectionOperatorUnknown WorkspaceSelectionOperator = "UNKNOWN" // Unknown operator. - WorkspaceSelectionOperatorInclude WorkspaceSelectionOperator = "INCLUDE" // Include assets matching the selection. - WorkspaceSelectionOperatorExclude WorkspaceSelectionOperator = "EXCLUDE" // Exclude assets matching the selection. -) diff --git a/input.go b/input.go index 7dce4e6..66c1dd2 100644 --- a/input.go +++ b/input.go @@ -927,6 +927,8 @@ type ControlsSearchInput struct { type CreateCaseInput struct { // Title. (Required.) Title String `json:"title"` + // Notes. (Required.) + Notes String `json:"notes"` // References. (Required.) References []CaseRefInput `json:"references"` // Ticket configuration. (Required.) @@ -2825,8 +2827,6 @@ type WorkspaceSelectionConditionInput struct { // WorkspaceSelectionInput represents workspace selection defining conditions for selecting assets for a workspace. type WorkspaceSelectionInput struct { - // Operator the selection should use (whether to include or exclude assets matching). (Required.) - Operator WorkspaceSelectionOperator `json:"operator"` // A list of conditions for the selection. (Required.) Conditions []WorkspaceSelectionConditionInput `json:"conditions"` }