{
  "components": {
    "responses": {
      "DEFAULT_ERROR": {
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            }
          }
        },
        "description": "Default error response"
      },
      "UNPROCESSABLE_ENTITY": {
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            }
          }
        },
        "description": "Unprocessable Entity"
      }
    },
    "schemas": {
      "AdminBulkUpdateCommunityInteractions": {
        "properties": {
          "brand_id": {
            "description": "The brand ID of the community interactions.",
            "type": "integer"
          },
          "notification_email": {
            "description": "Optional. A notification email will be sent upon task finished.",
            "type": "string"
          },
          "source_updated_after": {
            "description": "Update community interactions after this date.",
            "format": "date-time",
            "type": "string"
          },
          "source_updated_before": {
            "description": "Update community interactions before this date.",
            "format": "date-time",
            "type": "string"
          },
          "types": {
            "description": "Community interaction types.",
            "items": {
              "enum": [
                "COMMUNITY_INTERACTION",
                "FACEBOOK_COMMENT",
                "FACEBOOK_CONVERSATION",
                "INSTAGRAM_COMMENT",
                "INSTAGRAM_CONVERSATION",
                "TIKTOK_COMMENT",
                "TWITTER_CONVERSATION",
                "TWITTER_MENTION",
                "TWITTER_QUOTE",
                "TWITTER_RETWEET",
                "YOUTUBE_COMMENT"
              ],
              "readOnly": true,
              "type": "string"
            },
            "type": "array"
          }
        },
        "required": [
          "brand_id"
        ],
        "type": "object"
      },
      "AssigmentResponse": {
        "properties": {
          "assigned_by_user": {
            "description": "The ID of the user who assigns the community interaction.",
            "type": "integer"
          },
          "assigned_to_user": {
            "description": "The ID of the user who is assigned to the community interaction.",
            "nullable": true,
            "type": "integer"
          },
          "brand_id": {
            "description": "The brand's ID.",
            "type": "integer"
          },
          "community_interaction_id": {
            "description": "The community interaction's ID.",
            "readOnly": true,
            "type": "integer"
          },
          "created_at": {
            "description": "When the assignment was created.",
            "readOnly": true,
            "type": "string"
          },
          "id": {
            "description": "The comment's ID.",
            "readOnly": true,
            "type": "integer"
          }
        },
        "required": [
          "assigned_by_user",
          "brand_id"
        ],
        "type": "object"
      },
      "Assignment": {
        "properties": {
          "assigned_by_user": {
            "description": "The ID of the user who assigns the community interaction.",
            "type": "integer"
          },
          "assigned_to_user": {
            "description": "The ID of the user who is assigned to the community interaction.",
            "nullable": true,
            "type": "integer"
          }
        },
        "required": [
          "assigned_by_user"
        ],
        "type": "object"
      },
      "Attachment": {
        "properties": {
          "height": {
            "description": "The height of the media.",
            "readOnly": true,
            "type": "integer"
          },
          "src": {
            "description": "The URL of the attachment.",
            "readOnly": true,
            "type": "string"
          },
          "type": {
            "description": "The media type of the attachment.",
            "readOnly": true,
            "type": "string"
          },
          "width": {
            "description": "The width of the media.",
            "readOnly": true,
            "type": "integer"
          }
        },
        "type": "object"
      },
      "BrandUserReply": {
        "properties": {
          "brand_id": {
            "description": "The brand ID of the brand user reply.",
            "type": "integer"
          },
          "created_at": {
            "description": "When the brand user reply was created.",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          },
          "id": {
            "description": "The brand user reply's ID.",
            "readOnly": true,
            "type": "integer"
          },
          "resource_id": {
            "description": "The resource ID of the brand reply.",
            "type": "integer"
          },
          "resource_type": {
            "description": "The resource type of the brand reply.",
            "enum": [
              "FACEBOOK_COMMENT",
              "FACEBOOK_MESSAGE",
              "INSTAGRAM_COMMENT",
              "INSTAGRAM_MESSAGE",
              "TIKTOK_COMMENT",
              "TWITTER_MENTION",
              "TWITTER_MESSAGE",
              "TWITTER_QUOTE",
              "TWITTER_RETWEET",
              "YOUTUBE_COMMENT"
            ],
            "type": "string"
          },
          "updated_at": {
            "description": "When the brand user reply was last updated.",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          },
          "user_id": {
            "description": "The user ID of the brand user that made the reply.",
            "type": "integer"
          }
        },
        "type": "object"
      },
      "BulkCreatePresetReply": {
        "properties": {
          "bulk_replies": {
            "description": "List of preset replies.",
            "items": {
              "$ref": "#/components/schemas/PresetReply"
            },
            "type": "array"
          },
          "types": {
            "description": "Comma separated list of platform types.",
            "items": {
              "enum": [
                "FACEBOOK",
                "INSTAGRAM",
                "TIKTOK",
                "TWITTER",
                "YOUTUBE"
              ],
              "type": "string"
            },
            "type": "array"
          }
        },
        "type": "object"
      },
      "BulkPresetReply": {
        "properties": {
          "bulk_replies": {
            "description": "List of preset replies.",
            "items": {
              "$ref": "#/components/schemas/PresetReply"
            },
            "type": "array"
          },
          "types": {
            "description": "Comma separated list of platform types.",
            "items": {
              "enum": [
                "FACEBOOK",
                "INSTAGRAM",
                "TIKTOK",
                "TWITTER",
                "YOUTUBE"
              ],
              "type": "string"
            },
            "type": "array"
          }
        },
        "type": "object"
      },
      "BulkPresetReplyData": {
        "properties": {
          "data": {
            "allOf": [
              {
                "$ref": "#/components/schemas/BulkPresetReply"
              }
            ],
            "description": "A wrapped PresetReply",
            "readOnly": true
          }
        },
        "type": "object"
      },
      "BulkUpdateResponse": {
        "properties": {
          "count": {
            "description": "The total number of records updated.",
            "type": "integer"
          },
          "data": {
            "description": "A list of community interactions.",
            "items": {
              "$ref": "#/components/schemas/CommunityInteractionMultiplex"
            },
            "readOnly": true,
            "type": "array"
          }
        },
        "type": "object"
      },
      "CommunityCommentCSVRequest": {
        "properties": {
          "brand_id": {
            "description": "The brand ID of the comment owner.",
            "type": "integer"
          },
          "media_id": {
            "description": "The ID of the media the comment was made on.",
            "type": "integer"
          },
          "socket_id": {
            "description": "The socket id of the requesting entity.",
            "type": "string"
          }
        },
        "required": [
          "brand_id",
          "media_id",
          "socket_id"
        ],
        "type": "object"
      },
      "CommunityInteractionData": {
        "properties": {
          "data": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CommunityInteractionMultiplex"
              }
            ],
            "description": "A community interaction.",
            "readOnly": true
          }
        },
        "type": "object"
      },
      "CommunityInteractionMultiplex": {
        "discriminator": {
          "mapping": {
            "COMMUNITY_INTERACTION": "#/components/schemas/CommunityInteractions",
            "FACEBOOK_COMMENT": "#/components/schemas/FacebookComment",
            "FACEBOOK_CONVERSATION": "#/components/schemas/FacebookConversation",
            "INSTAGRAM_COMMENT": "#/components/schemas/InstagramComment",
            "INSTAGRAM_CONVERSATION": "#/components/schemas/IGConversation",
            "TIKTOK_COMMENT": "#/components/schemas/TikTokComment",
            "TWITTER_CONVERSATION": "#/components/schemas/TwitterConversation",
            "TWITTER_MENTION": "#/components/schemas/TwitterTweet",
            "TWITTER_QUOTE": "#/components/schemas/TwitterTweet",
            "TWITTER_RETWEET": "#/components/schemas/TwitterTweet",
            "YOUTUBE_COMMENT": "#/components/schemas/YouTubeComment"
          },
          "propertyName": "type"
        },
        "oneOf": [
          {
            "$ref": "#/components/schemas/TikTokComment"
          },
          {
            "$ref": "#/components/schemas/IGConversation"
          },
          {
            "$ref": "#/components/schemas/InstagramComment"
          },
          {
            "$ref": "#/components/schemas/CommunityInteractions"
          },
          {
            "$ref": "#/components/schemas/FacebookComment"
          },
          {
            "$ref": "#/components/schemas/FacebookConversation"
          },
          {
            "$ref": "#/components/schemas/TwitterTweet"
          },
          {
            "$ref": "#/components/schemas/TwitterTweet"
          },
          {
            "$ref": "#/components/schemas/TwitterTweet"
          },
          {
            "$ref": "#/components/schemas/TwitterConversation"
          },
          {
            "$ref": "#/components/schemas/YouTubeComment"
          }
        ]
      },
      "CommunityInteractionOutput": {
        "properties": {
          "data": {
            "description": "Different types of community interactions.",
            "items": {
              "$ref": "#/components/schemas/CommunityInteractionMultiplex"
            },
            "type": "array"
          },
          "paging": {
            "allOf": [
              {
                "$ref": "#/components/schemas/PagingDataSchemaWithOffset"
              }
            ],
            "description": "Pagination data",
            "readOnly": true
          }
        },
        "type": "object"
      },
      "CommunityInteractionTicket": {
        "properties": {
          "label": {
            "description": "A human friendly ID for the ticket from the source.",
            "type": "string"
          },
          "source_created_at": {
            "description": "Date and time the ticket was created at the source.",
            "type": "string"
          },
          "source_id": {
            "description": "The ticket ID from the source.",
            "type": "string"
          },
          "source_updated_at": {
            "description": "Date the ticket was updated at the source.",
            "type": "string"
          },
          "status": {
            "description": "The status of the ticket from the source.",
            "type": "string"
          },
          "message_id": {
            "description": "The ID of the specific message this ticket was created for.",
            "type": "integer"
          },
          "source": {
            "description": "Source of the ticket.",
            "enum": [
              "SALESFORCE",
              "ZENDESK"
            ],
            "type": "string"
          }
        },
        "required": [
          "label",
          "source_created_at",
          "source_id",
          "source_updated_at",
          "status"
        ],
        "type": "object"
      },
      "CommunityInteractions": {
        "properties": {
          "assignee_id": {
            "description": "The ID of the user to whom the interaction is assigned.",
            "readOnly": true,
            "type": "integer"
          },
          "brand_id": {
            "description": "The community interaction's brand ID.",
            "readOnly": true,
            "type": "integer"
          },
          "created_at": {
            "description": "When the community interaction was created.",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          },
          "id": {
            "description": "The community interaction's ID.",
            "readOnly": true,
            "type": "integer"
          },
          "is_archived": {
            "description": "Whether the community interaction is marked as archived.",
            "readOnly": true,
            "type": "boolean"
          },
          "is_author_blocked": {
            "description": "Whether the user is blocked.",
            "readOnly": true,
            "type": "boolean"
          },
          "is_follow_up": {
            "description": "Whether the community interaction is marked as follow-up.",
            "readOnly": true,
            "type": "boolean"
          },
          "is_read": {
            "description": "Whether the community interaction is marked as read.",
            "readOnly": true,
            "type": "boolean"
          },
          "media_type": {
            "description": "The media type of the post.",
            "enum": [
              "CAROUSEL_ALBUM",
              "IMAGE",
              "REELS",
              "SHORTS",
              "VIDEO"
            ],
            "readOnly": true,
            "type": "string"
          },
          "post_thumbnail_url": {
            "description": "The image thumbnail url of the original post.",
            "readOnly": true,
            "type": "string"
          },
          "search_result_snippet": {
            "description": "Indicates how many messages match the query.",
            "readOnly": true,
            "type": "string"
          },
          "source_updated_at": {
            "description": "When the community interaction was updated according to the source.",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          },
          "tag_ids": {
            "description": "List of tag IDs associated with the community interaction.",
            "items": {
              "type": "integer"
            },
            "type": "array"
          },
          "tickets": {
            "description": "The tickets created for this community interaction.",
            "items": {
              "$ref": "#/components/schemas/CommunityInteractionTicket"
            },
            "readOnly": true,
            "type": "array"
          },
          "type": {
            "description": "The community interaction type.",
            "enum": [
              "COMMUNITY_INTERACTION",
              "FACEBOOK_COMMENT",
              "FACEBOOK_CONVERSATION",
              "INSTAGRAM_COMMENT",
              "INSTAGRAM_CONVERSATION",
              "TIKTOK_COMMENT",
              "TWITTER_CONVERSATION",
              "TWITTER_MENTION",
              "TWITTER_QUOTE",
              "TWITTER_RETWEET",
              "YOUTUBE_COMMENT"
            ],
            "readOnly": true,
            "type": "string"
          },
          "updated_at": {
            "description": "When the community interaction was last updated.",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "CommunityOverviewStats": {
        "properties": {
          "average_response_time": {
            "description": "Average amount of time it took to respond to the interactions",
            "nullable": true,
            "type": "number"
          },
          "follow_up_count": {
            "description": "Total number of community interactions marked as follow up",
            "type": "integer"
          },
          "new_message_count": {
            "description": "Total number of unread community interactions",
            "type": "integer"
          },
          "reply_rate": {
            "description": "Percentage of interactions that are considered responded to",
            "nullable": true,
            "type": "number"
          },
          "total_count": {
            "description": "Total number of community interactions",
            "type": "integer"
          }
        },
        "required": [
          "average_response_time",
          "follow_up_count",
          "new_message_count",
          "reply_rate",
          "total_count"
        ],
        "type": "object"
      },
      "CommunityOverviewStatsResponse": {
        "properties": {
          "data": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CommunityOverviewStats"
              }
            ],
            "description": "The sentiment distribution per platform"
          }
        },
        "required": [
          "data"
        ],
        "type": "object"
      },
      "CommunitySentimentDistribution": {
        "properties": {
          "facebook": {
            "allOf": [
              {
                "$ref": "#/components/schemas/SentimentDistribution"
              }
            ],
            "default": null,
            "description": "Facebook sentiment distribution",
            "nullable": true
          },
          "instagram": {
            "allOf": [
              {
                "$ref": "#/components/schemas/SentimentDistribution"
              }
            ],
            "default": null,
            "description": "Instagram sentiment distribution",
            "nullable": true
          },
          "tiktok": {
            "allOf": [
              {
                "$ref": "#/components/schemas/SentimentDistribution"
              }
            ],
            "default": null,
            "description": "TikTok sentiment distribution",
            "nullable": true
          },
          "twitter": {
            "allOf": [
              {
                "$ref": "#/components/schemas/SentimentDistribution"
              }
            ],
            "default": null,
            "description": "Twitter sentiment distribution",
            "nullable": true
          },
          "youtube": {
            "allOf": [
              {
                "$ref": "#/components/schemas/SentimentDistribution"
              }
            ],
            "default": null,
            "description": "YouTube sentiment distribution",
            "nullable": true
          }
        },
        "type": "object"
      },
      "CommunitySentimentDistributionJson": {
        "properties": {
          "media_ids": {
            "description": "List of library media IDs fetch sentiment data for",
            "items": {
              "type": "integer"
            },
            "type": "array"
          }
        },
        "type": "object"
      },
      "CommunitySentimentDistributionResponse": {
        "properties": {
          "data": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CommunitySentimentDistribution"
              }
            ],
            "description": "The sentiment distribution per platform"
          }
        },
        "required": [
          "data"
        ],
        "type": "object"
      },
      "CommunitySentimentTimeSeriesResponse": {
        "properties": {
          "data": {
            "description": "The sentiment distribution per date",
            "type": "object"
          }
        },
        "type": "object"
      },
      "CommunityTopKeywordsJson": {
        "properties": {
          "media_ids": {
            "description": "List of library media IDs to fetch top keywords for",
            "items": {
              "type": "integer"
            },
            "type": "array"
          }
        },
        "type": "object"
      },
      "CommunityVolumeTimeSeriesResponse": {
        "properties": {
          "data": {
            "description": "The volume distribution per date",
            "type": "object"
          }
        },
        "type": "object"
      },
      "CreateAssignmentData": {
        "properties": {
          "data": {
            "allOf": [
              {
                "$ref": "#/components/schemas/AssigmentResponse"
              }
            ],
            "description": "New assignment data",
            "readOnly": true
          }
        },
        "type": "object"
      },
      "CreateInteractionRuleRequest": {
        "properties": {
          "author_id": {
            "description": "The ID of the user who creates this rule.",
            "type": "integer"
          },
          "detail": {
            "allOf": [
              {
                "$ref": "#/components/schemas/InteractionRuleDetail"
              }
            ],
            "description": "The JSON interaction rule detail"
          },
          "enabled": {
            "description": "Whether the rule is enabled or not",
            "type": "boolean"
          },
          "name": {
            "description": "The name used to identify the rule.",
            "type": "string"
          }
        },
        "required": [
          "author_id",
          "detail",
          "enabled",
          "name"
        ],
        "type": "object"
      },
      "CreatePostComment": {
        "properties": {
          "brand_id": {
            "description": "The brand ID of the comment.",
            "type": "integer"
          },
          "parent_comment_id": {
            "description": "The platform comment ID of the parent comment.",
            "type": "string"
          },
          "text": {
            "description": "The comment body.",
            "type": "string"
          }
        },
        "required": [
          "brand_id",
          "parent_comment_id",
          "text"
        ],
        "type": "object"
      },
      "CreatePostTikTokComment": {
        "properties": {
          "brand_id": {
            "description": "The conversation's brand ID.",
            "type": "integer"
          },
          "parent_comment_id": {
            "description": "The platform comment ID of the parent comment.",
            "type": "string"
          },
          "text": {
            "description": "The comment body.",
            "type": "string"
          }
        },
        "required": [
          "brand_id",
          "parent_comment_id",
          "text"
        ],
        "type": "object"
      },
      "CreatePresetReply": {
        "properties": {
          "brand_id": {
            "description": "The corresponding DH brand ID",
            "type": "integer"
          },
          "message": {
            "description": "The text of the preset reply.",
            "type": "string"
          },
          "title": {
            "description": "The title of the preset reply.",
            "type": "string"
          },
          "type": {
            "description": "The CommunityInteractionPlatform of the preset reply",
            "enum": [
              "FACEBOOK",
              "INSTAGRAM",
              "TIKTOK",
              "TWITTER",
              "YOUTUBE"
            ],
            "type": "string"
          }
        },
        "required": [
          "brand_id"
        ],
        "type": "object"
      },
      "Error": {
        "properties": {
          "code": {
            "description": "Error code",
            "type": "integer"
          },
          "errors": {
            "description": "Errors",
            "type": "object"
          },
          "message": {
            "description": "Error message",
            "type": "string"
          },
          "status": {
            "description": "Error name",
            "type": "string"
          }
        },
        "type": "object"
      },
      "FacebookAccount": {
        "properties": {
          "brand_id": {
            "description": "The DH brand ID associated with the Facebook account.",
            "readOnly": true,
            "type": "integer"
          },
          "connected_tools_enabled": {
            "description": "Indicates if the account has enabled connected tools.",
            "readOnly": true,
            "type": "boolean"
          },
          "facebook_page_id": {
            "description": "The Facebook page ID associated with the account.",
            "readOnly": true,
            "type": "integer"
          },
          "instagram_scoped_id": {
            "description": "The scoped / business ID of the account.",
            "readOnly": true,
            "type": "integer"
          }
        },
        "type": "object"
      },
      "FacebookAccountData": {
        "properties": {
          "data": {
            "allOf": [
              {
                "$ref": "#/components/schemas/FacebookAccount"
              }
            ],
            "description": "A wrapped FacebookAccount item.",
            "readOnly": true
          }
        },
        "type": "object"
      },
      "FacebookComment": {
        "properties": {
          "assignee_id": {
            "description": "The ID of the user to whom the interaction is assigned.",
            "readOnly": true,
            "type": "integer"
          },
          "attachment": {
            "description": "Attachment on the comment.",
            "readOnly": true,
            "type": "object"
          },
          "author_profile_picture_url": {
            "default": null,
            "description": "The profile picture URL of the author.",
            "nullable": true,
            "readOnly": true,
            "type": "string"
          },
          "author_username": {
            "default": null,
            "description": "The handle of the author.",
            "nullable": true,
            "readOnly": true,
            "type": "string"
          },
          "brand_id": {
            "description": "The community interaction's brand ID.",
            "readOnly": true,
            "type": "integer"
          },
          "brand_user_reply": {
            "allOf": [
              {
                "$ref": "#/components/schemas/BrandUserReply"
              }
            ],
            "description": "Brand user that created the reply.",
            "nullable": true,
            "readOnly": true
          },
          "created_at": {
            "description": "When the comment was created.",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          },
          "facebook_comment_id": {
            "description": "The comment ID provided by Facebook.",
            "readOnly": true,
            "type": "string"
          },
          "facebook_parent_comment_id": {
            "description": "The parent comment ID provided by Facebook.",
            "type": "string"
          },
          "facebook_profile_picture_url": {
            "default": null,
            "description": "The profile picture URL of the comment author.",
            "nullable": true,
            "readOnly": true,
            "type": "string"
          },
          "facebook_username": {
            "default": null,
            "description": "The user handle of the comment author.",
            "nullable": true,
            "readOnly": true,
            "type": "string"
          },
          "id": {
            "description": "The comment's ID.",
            "readOnly": true,
            "type": "integer"
          },
          "is_ad_comment": {
            "description": "Whether the comment is from ads.",
            "readOnly": true,
            "type": "boolean"
          },
          "is_archived": {
            "description": "Whether the community interaction is marked as archived.",
            "readOnly": true,
            "type": "boolean"
          },
          "is_author_blocked": {
            "description": "Whether the user is blocked.",
            "readOnly": true,
            "type": "boolean"
          },
          "is_follow_up": {
            "description": "Whether the community interaction is marked as follow-up.",
            "readOnly": true,
            "type": "boolean"
          },
          "is_hidden": {
            "description": "Whether the comment is marked as hidden.",
            "type": "boolean"
          },
          "is_owned": {
            "description": "Whether the brand posted this comment.",
            "type": "boolean"
          },
          "is_read": {
            "description": "Whether the community interaction is marked as read.",
            "readOnly": true,
            "type": "boolean"
          },
          "media_id": {
            "description": "The ID of the media the comment was made on.",
            "readOnly": true,
            "type": "integer"
          },
          "media_type": {
            "description": "The media type of the post.",
            "enum": [
              "CAROUSEL_ALBUM",
              "IMAGE",
              "REELS",
              "SHORTS",
              "VIDEO"
            ],
            "readOnly": true,
            "type": "string"
          },
          "post_is_carousel": {
            "description": "Whether the post is a carousel.",
            "readOnly": true,
            "type": "boolean"
          },
          "post_media": {
            "allOf": [
              {
                "$ref": "#/components/schemas/PostMedia"
              }
            ],
            "description": "Info about the media the comment was made on.",
            "nullable": true,
            "readOnly": true
          },
          "post_thumbnail_url": {
            "description": "The image thumbnail url of the original post.",
            "readOnly": true,
            "type": "string"
          },
          "search_result_snippet": {
            "description": "Indicates how many messages match the query.",
            "readOnly": true,
            "type": "string"
          },
          "sentiment": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Sentiment"
              }
            ],
            "description": "The comment sentiment.",
            "readOnly": true
          },
          "source_updated_at": {
            "description": "When the comment was created.",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          },
          "tag_ids": {
            "description": "List of tag IDs associated with the community interaction.",
            "items": {
              "type": "integer"
            },
            "type": "array"
          },
          "text": {
            "description": "The comment body.",
            "type": "string"
          },
          "tickets": {
            "description": "The tickets created for this community interaction.",
            "items": {
              "$ref": "#/components/schemas/CommunityInteractionTicket"
            },
            "readOnly": true,
            "type": "array"
          },
          "type": {
            "description": "The community interaction type.",
            "enum": [
              "COMMUNITY_INTERACTION",
              "FACEBOOK_COMMENT",
              "FACEBOOK_CONVERSATION",
              "INSTAGRAM_COMMENT",
              "INSTAGRAM_CONVERSATION",
              "TIKTOK_COMMENT",
              "TWITTER_CONVERSATION",
              "TWITTER_MENTION",
              "TWITTER_QUOTE",
              "TWITTER_RETWEET",
              "YOUTUBE_COMMENT"
            ],
            "readOnly": true,
            "type": "string"
          },
          "updated_at": {
            "description": "The last time when the comment was updated.",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          }
        },
        "required": [
          "facebook_parent_comment_id",
          "is_owned",
          "text"
        ],
        "type": "object"
      },
      "FacebookCommentDetail": {
        "properties": {
          "assignee_id": {
            "description": "The ID of the user to whom the interaction is assigned.",
            "readOnly": true,
            "type": "integer"
          },
          "attachment": {
            "description": "Attachment on the comment.",
            "readOnly": true,
            "type": "object"
          },
          "author_profile_picture_url": {
            "default": null,
            "description": "The profile picture URL of the author.",
            "nullable": true,
            "readOnly": true,
            "type": "string"
          },
          "author_username": {
            "default": null,
            "description": "The handle of the author.",
            "nullable": true,
            "readOnly": true,
            "type": "string"
          },
          "brand_id": {
            "description": "The community interaction's brand ID.",
            "readOnly": true,
            "type": "integer"
          },
          "brand_user_reply": {
            "allOf": [
              {
                "$ref": "#/components/schemas/BrandUserReply"
              }
            ],
            "description": "Brand user that created the reply.",
            "nullable": true,
            "readOnly": true
          },
          "comment_count": {
            "description": "The total number of comments on the Facebook post.",
            "type": "integer"
          },
          "created_at": {
            "description": "When the comment was created.",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          },
          "facebook_comment_id": {
            "description": "The comment ID provided by Facebook.",
            "readOnly": true,
            "type": "string"
          },
          "facebook_parent_comment_id": {
            "description": "The parent comment ID provided by Facebook.",
            "type": "string"
          },
          "facebook_profile_picture_url": {
            "default": null,
            "description": "The profile picture URL of the comment author.",
            "nullable": true,
            "readOnly": true,
            "type": "string"
          },
          "facebook_username": {
            "default": null,
            "description": "The user handle of the comment author.",
            "nullable": true,
            "readOnly": true,
            "type": "string"
          },
          "id": {
            "description": "The comment's ID.",
            "readOnly": true,
            "type": "integer"
          },
          "is_ad_comment": {
            "description": "Whether the comment is from ads.",
            "readOnly": true,
            "type": "boolean"
          },
          "is_archived": {
            "description": "Whether the community interaction is marked as archived.",
            "readOnly": true,
            "type": "boolean"
          },
          "is_author_blocked": {
            "description": "Whether the user is blocked.",
            "readOnly": true,
            "type": "boolean"
          },
          "is_follow_up": {
            "description": "Whether the community interaction is marked as follow-up.",
            "readOnly": true,
            "type": "boolean"
          },
          "is_hidden": {
            "description": "Whether the comment is marked as hidden.",
            "type": "boolean"
          },
          "is_owned": {
            "description": "Whether the brand posted this comment.",
            "type": "boolean"
          },
          "is_read": {
            "description": "Whether the community interaction is marked as read.",
            "readOnly": true,
            "type": "boolean"
          },
          "media_comment_sentiment": {
            "allOf": [
              {
                "$ref": "#/components/schemas/MediaCommentSentiment"
              }
            ],
            "description": "The overall sentiment of the post's comments.",
            "readOnly": true
          },
          "media_id": {
            "description": "The ID of the media the comment was made on.",
            "readOnly": true,
            "type": "integer"
          },
          "media_type": {
            "description": "The media type of the post.",
            "enum": [
              "CAROUSEL_ALBUM",
              "IMAGE",
              "REELS",
              "SHORTS",
              "VIDEO"
            ],
            "readOnly": true,
            "type": "string"
          },
          "post_is_carousel": {
            "description": "Whether the post is a carousel.",
            "readOnly": true,
            "type": "boolean"
          },
          "post_media": {
            "allOf": [
              {
                "$ref": "#/components/schemas/PostMedia"
              }
            ],
            "description": "Info about the media the comment was made on.",
            "nullable": true,
            "readOnly": true
          },
          "post_thumbnail_url": {
            "description": "The image thumbnail url of the original post.",
            "readOnly": true,
            "type": "string"
          },
          "replies": {
            "description": "A list of replies to the this comment.",
            "items": {
              "$ref": "#/components/schemas/FacebookComment"
            },
            "readOnly": true,
            "type": "array"
          },
          "search_result_snippet": {
            "description": "Indicates how many messages match the query.",
            "readOnly": true,
            "type": "string"
          },
          "sentiment": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Sentiment"
              }
            ],
            "description": "The comment sentiment.",
            "readOnly": true
          },
          "source_updated_at": {
            "description": "When the comment was created.",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          },
          "tag_ids": {
            "description": "List of tag IDs associated with the community interaction.",
            "items": {
              "type": "integer"
            },
            "type": "array"
          },
          "text": {
            "description": "The comment body.",
            "type": "string"
          },
          "tickets": {
            "description": "The tickets created for this community interaction.",
            "items": {
              "$ref": "#/components/schemas/CommunityInteractionTicket"
            },
            "readOnly": true,
            "type": "array"
          },
          "type": {
            "description": "The community interaction type.",
            "enum": [
              "COMMUNITY_INTERACTION",
              "FACEBOOK_COMMENT",
              "FACEBOOK_CONVERSATION",
              "INSTAGRAM_COMMENT",
              "INSTAGRAM_CONVERSATION",
              "TIKTOK_COMMENT",
              "TWITTER_CONVERSATION",
              "TWITTER_MENTION",
              "TWITTER_QUOTE",
              "TWITTER_RETWEET",
              "YOUTUBE_COMMENT"
            ],
            "readOnly": true,
            "type": "string"
          },
          "updated_at": {
            "description": "The last time when the comment was updated.",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          }
        },
        "required": [
          "facebook_parent_comment_id",
          "is_owned",
          "text"
        ],
        "type": "object"
      },
      "FacebookCommentUpdateParams": {
        "properties": {
          "is_hidden": {
            "description": "Indicate if the target comment should be hidden.",
            "type": "boolean"
          }
        },
        "required": [
          "is_hidden"
        ],
        "type": "object"
      },
      "FacebookCommentWithReplies": {
        "properties": {
          "assignee_id": {
            "description": "The ID of the user to whom the interaction is assigned.",
            "readOnly": true,
            "type": "integer"
          },
          "attachment": {
            "description": "Attachment on the comment.",
            "readOnly": true,
            "type": "object"
          },
          "author_profile_picture_url": {
            "default": null,
            "description": "The profile picture URL of the author.",
            "nullable": true,
            "readOnly": true,
            "type": "string"
          },
          "author_username": {
            "default": null,
            "description": "The handle of the author.",
            "nullable": true,
            "readOnly": true,
            "type": "string"
          },
          "brand_id": {
            "description": "The community interaction's brand ID.",
            "readOnly": true,
            "type": "integer"
          },
          "brand_user_reply": {
            "allOf": [
              {
                "$ref": "#/components/schemas/BrandUserReply"
              }
            ],
            "description": "Brand user that created the reply.",
            "nullable": true,
            "readOnly": true
          },
          "created_at": {
            "description": "When the comment was created.",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          },
          "facebook_comment_id": {
            "description": "The comment ID provided by Facebook.",
            "readOnly": true,
            "type": "string"
          },
          "facebook_parent_comment_id": {
            "description": "The parent comment ID provided by Facebook.",
            "type": "string"
          },
          "facebook_profile_picture_url": {
            "default": null,
            "description": "The profile picture URL of the comment author.",
            "nullable": true,
            "readOnly": true,
            "type": "string"
          },
          "facebook_username": {
            "default": null,
            "description": "The user handle of the comment author.",
            "nullable": true,
            "readOnly": true,
            "type": "string"
          },
          "id": {
            "description": "The comment's ID.",
            "readOnly": true,
            "type": "integer"
          },
          "is_ad_comment": {
            "description": "Whether the comment is from ads.",
            "readOnly": true,
            "type": "boolean"
          },
          "is_archived": {
            "description": "Whether the community interaction is marked as archived.",
            "readOnly": true,
            "type": "boolean"
          },
          "is_author_blocked": {
            "description": "Whether the user is blocked.",
            "readOnly": true,
            "type": "boolean"
          },
          "is_follow_up": {
            "description": "Whether the community interaction is marked as follow-up.",
            "readOnly": true,
            "type": "boolean"
          },
          "is_hidden": {
            "description": "Whether the comment is marked as hidden.",
            "type": "boolean"
          },
          "is_owned": {
            "description": "Whether the brand posted this comment.",
            "type": "boolean"
          },
          "is_read": {
            "description": "Whether the community interaction is marked as read.",
            "readOnly": true,
            "type": "boolean"
          },
          "media_id": {
            "description": "The ID of the media the comment was made on.",
            "readOnly": true,
            "type": "integer"
          },
          "media_type": {
            "description": "The media type of the post.",
            "enum": [
              "CAROUSEL_ALBUM",
              "IMAGE",
              "REELS",
              "SHORTS",
              "VIDEO"
            ],
            "readOnly": true,
            "type": "string"
          },
          "post_is_carousel": {
            "description": "Whether the post is a carousel.",
            "readOnly": true,
            "type": "boolean"
          },
          "post_media": {
            "allOf": [
              {
                "$ref": "#/components/schemas/PostMedia"
              }
            ],
            "description": "Info about the media the comment was made on.",
            "nullable": true,
            "readOnly": true
          },
          "post_thumbnail_url": {
            "description": "The image thumbnail url of the original post.",
            "readOnly": true,
            "type": "string"
          },
          "replies": {
            "description": "A list of replies to the this comment.",
            "items": {
              "$ref": "#/components/schemas/FacebookComment"
            },
            "readOnly": true,
            "type": "array"
          },
          "search_result_snippet": {
            "description": "Indicates how many messages match the query.",
            "readOnly": true,
            "type": "string"
          },
          "sentiment": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Sentiment"
              }
            ],
            "description": "The comment sentiment.",
            "readOnly": true
          },
          "source_updated_at": {
            "description": "When the comment was created.",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          },
          "tag_ids": {
            "description": "List of tag IDs associated with the community interaction.",
            "items": {
              "type": "integer"
            },
            "type": "array"
          },
          "text": {
            "description": "The comment body.",
            "type": "string"
          },
          "tickets": {
            "description": "The tickets created for this community interaction.",
            "items": {
              "$ref": "#/components/schemas/CommunityInteractionTicket"
            },
            "readOnly": true,
            "type": "array"
          },
          "type": {
            "description": "The community interaction type.",
            "enum": [
              "COMMUNITY_INTERACTION",
              "FACEBOOK_COMMENT",
              "FACEBOOK_CONVERSATION",
              "INSTAGRAM_COMMENT",
              "INSTAGRAM_CONVERSATION",
              "TIKTOK_COMMENT",
              "TWITTER_CONVERSATION",
              "TWITTER_MENTION",
              "TWITTER_QUOTE",
              "TWITTER_RETWEET",
              "YOUTUBE_COMMENT"
            ],
            "readOnly": true,
            "type": "string"
          },
          "updated_at": {
            "description": "The last time when the comment was updated.",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          }
        },
        "required": [
          "facebook_parent_comment_id",
          "is_owned",
          "text"
        ],
        "type": "object"
      },
      "FacebookCommentsData": {
        "properties": {
          "data": {
            "description": "A list of facebook comments with replies.",
            "items": {
              "$ref": "#/components/schemas/FacebookCommentWithReplies"
            },
            "readOnly": true,
            "type": "array"
          },
          "paging": {
            "allOf": [
              {
                "$ref": "#/components/schemas/PagingData"
              }
            ],
            "description": "Pagination Data",
            "readOnly": true
          }
        },
        "type": "object"
      },
      "FacebookConversation": {
        "properties": {
          "assignee_id": {
            "description": "The ID of the user to whom the interaction is assigned.",
            "readOnly": true,
            "type": "integer"
          },
          "brand_id": {
            "description": "The community interaction's brand ID.",
            "readOnly": true,
            "type": "integer"
          },
          "created_at": {
            "description": "When the community interaction was created.",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          },
          "error_status": {
            "description": "Any error statuses on the conversation.",
            "enum": [
              "APP_ERROR",
              "DELETED",
              "EXPIRED",
              "RATE_LIMITED",
              "RECIPIENT_ID_INVALID",
              "SEND_API_ACCESS_DISABLED",
              "SEND_API_ERROR",
              "TOKEN_INVALID",
              "UNKNOWN_API_ERROR",
              "USAGE_ERROR",
              "USER_ACC_ERROR"
            ],
            "type": "string"
          },
          "facebook_conversation_id": {
            "description": "The unique conversation id provided by Facebook.",
            "readOnly": true,
            "type": "string"
          },
          "fb_brand_participant": {
            "allOf": [
              {
                "$ref": "#/components/schemas/FacebookParticipant"
              }
            ],
            "description": "The brand participant in the conversation.",
            "readOnly": true
          },
          "fb_follower_participant": {
            "allOf": [
              {
                "$ref": "#/components/schemas/FacebookParticipant"
              }
            ],
            "description": "The brand follower in the conversation.",
            "readOnly": true
          },
          "id": {
            "description": "The community interaction's ID.",
            "readOnly": true,
            "type": "integer"
          },
          "is_archived": {
            "description": "Whether the community interaction is marked as archived.",
            "readOnly": true,
            "type": "boolean"
          },
          "is_author_blocked": {
            "description": "Whether the user is blocked.",
            "readOnly": true,
            "type": "boolean"
          },
          "is_follow_up": {
            "description": "Whether the community interaction is marked as follow-up.",
            "readOnly": true,
            "type": "boolean"
          },
          "is_read": {
            "description": "Whether the community interaction is marked as read.",
            "readOnly": true,
            "type": "boolean"
          },
          "media_type": {
            "description": "The media type of the post.",
            "enum": [
              "CAROUSEL_ALBUM",
              "IMAGE",
              "REELS",
              "SHORTS",
              "VIDEO"
            ],
            "readOnly": true,
            "type": "string"
          },
          "most_recent_message": {
            "description": "The text of the most recent message in the conversation.",
            "readOnly": true,
            "type": "string"
          },
          "post_thumbnail_url": {
            "description": "The image thumbnail url of the original post.",
            "readOnly": true,
            "type": "string"
          },
          "search_result_snippet": {
            "description": "Indicates how many messages match the query.",
            "readOnly": true,
            "type": "string"
          },
          "source_updated_at": {
            "description": "When the community interaction was updated according to the source.",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          },
          "tag_ids": {
            "description": "List of tag IDs associated with the community interaction.",
            "items": {
              "type": "integer"
            },
            "type": "array"
          },
          "tickets": {
            "description": "The tickets created for this community interaction.",
            "items": {
              "$ref": "#/components/schemas/CommunityInteractionTicket"
            },
            "readOnly": true,
            "type": "array"
          },
          "type": {
            "description": "The community interaction type.",
            "enum": [
              "COMMUNITY_INTERACTION",
              "FACEBOOK_COMMENT",
              "FACEBOOK_CONVERSATION",
              "INSTAGRAM_COMMENT",
              "INSTAGRAM_CONVERSATION",
              "TIKTOK_COMMENT",
              "TWITTER_CONVERSATION",
              "TWITTER_MENTION",
              "TWITTER_QUOTE",
              "TWITTER_RETWEET",
              "YOUTUBE_COMMENT"
            ],
            "readOnly": true,
            "type": "string"
          },
          "updated_at": {
            "description": "When the community interaction was last updated.",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "FacebookDmsSyncPayload": {
        "properties": {
          "brand_id": {
            "description": "The brand ID of the comment.",
            "type": "integer"
          }
        },
        "required": [
          "brand_id"
        ],
        "type": "object"
      },
      "FacebookMessage": {
        "properties": {
          "text": {
            "description": "The text content of the message.",
            "type": "string"
          },
          "attachments": {
            "description": "A list of attachments.",
            "items": {
              "$ref": "#/components/schemas/Attachment"
            },
            "readOnly": true,
            "type": "array"
          },
          "brand_user_reply": {
            "allOf": [
              {
                "$ref": "#/components/schemas/BrandUserReply"
              }
            ],
            "description": "Brand user that created the reply.",
            "nullable": true,
            "readOnly": true
          },
          "conversation_id": {
            "description": "The ID of the conversation to which the message belongs.",
            "readOnly": true,
            "type": "integer"
          },
          "created_at": {
            "description": "When the message was created.",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          },
          "facebook_created_at": {
            "description": "The creation timestamp provided by Facebook.",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          },
          "facebook_message_id": {
            "description": "The message ID provided by Facebook.",
            "readOnly": true,
            "type": "string"
          },
          "facebook_seen_at": {
            "description": "The time a message was seen provided by Facebook.",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          },
          "from_participant_id": {
            "description": "The participant ID of the sender.",
            "readOnly": true,
            "type": "integer"
          },
          "id": {
            "description": "The message ID. Cannot be set or modified by the user.",
            "readOnly": true,
            "type": "integer"
          },
          "is_dh_unsupported": {
            "description": "Indicates if the message type is currently unsupported by Dash Social.",
            "readOnly": true,
            "type": "boolean"
          },
          "send_failed": {
            "description": "Indicates if the message failed to send from Dash Social.",
            "readOnly": true,
            "type": "boolean"
          },
          "to_participant_id": {
            "description": "The participant ID of the recipient.",
            "readOnly": true,
            "type": "integer"
          },
          "type": {
            "description": "Community interaction type",
            "readOnly": true,
            "type": "string"
          },
          "updated_at": {
            "description": "When the message was last updated.",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          },
          "uuid": {
            "description": "Unique ID that can be provided by the user on message creation. Enables clients to supply their own ID for optimistically created messages.",
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "text"
        ],
        "type": "object"
      },
      "FacebookMessageData": {
        "properties": {
          "data": {
            "allOf": [
              {
                "$ref": "#/components/schemas/FacebookMessage"
              }
            ],
            "description": "A Facebook message.",
            "readOnly": true
          }
        },
        "type": "object"
      },
      "FacebookMessagesData": {
        "properties": {
          "data": {
            "description": "A list of messages.",
            "items": {
              "$ref": "#/components/schemas/FacebookMessage"
            },
            "readOnly": true,
            "type": "array"
          },
          "paging": {
            "allOf": [
              {
                "$ref": "#/components/schemas/PagingData"
              }
            ],
            "description": "Pagination data",
            "readOnly": true
          }
        },
        "type": "object"
      },
      "FacebookParticipant": {
        "properties": {
          "facebook_psid": {
            "description": "The participant's ID.",
            "readOnly": true,
            "type": "integer"
          },
          "profile_picture_url": {
            "description": "The participant's profile picture URL.",
            "readOnly": true,
            "type": "string"
          },
          "username": {
            "description": "The participant's username.",
            "readOnly": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "IGConversation": {
        "properties": {
          "assignee_id": {
            "description": "The ID of the user to whom the interaction is assigned.",
            "readOnly": true,
            "type": "integer"
          },
          "brand_id": {
            "description": "The community interaction's brand ID.",
            "readOnly": true,
            "type": "integer"
          },
          "brand_participant": {
            "allOf": [
              {
                "$ref": "#/components/schemas/IGParticipant"
              }
            ],
            "description": "The brand participant in the conversation.",
            "readOnly": true
          },
          "created_at": {
            "description": "When the community interaction was created.",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          },
          "error_status": {
            "description": "Any error statuses on the conversation.",
            "enum": [
              "APP_ERROR",
              "DELETED",
              "EXPIRED",
              "RATE_LIMITED",
              "RECIPIENT_ID_INVALID",
              "SEND_API_ACCESS_DISABLED",
              "SEND_API_ERROR",
              "TOKEN_INVALID",
              "UNKNOWN_API_ERROR",
              "USAGE_ERROR",
              "USER_ACC_ERROR"
            ],
            "type": "string"
          },
          "follower_participant": {
            "allOf": [
              {
                "$ref": "#/components/schemas/IGParticipant"
              }
            ],
            "description": "The brand follower in the conversation.",
            "readOnly": true
          },
          "id": {
            "description": "The community interaction's ID.",
            "readOnly": true,
            "type": "integer"
          },
          "instagram_thread_id": {
            "description": "The conversation ID provided by Instagram.",
            "readOnly": true,
            "type": "string"
          },
          "is_archived": {
            "description": "Whether the community interaction is marked as archived.",
            "readOnly": true,
            "type": "boolean"
          },
          "is_author_blocked": {
            "description": "Whether the user is blocked.",
            "readOnly": true,
            "type": "boolean"
          },
          "is_follow_up": {
            "description": "Whether the community interaction is marked as follow-up.",
            "readOnly": true,
            "type": "boolean"
          },
          "is_read": {
            "description": "Whether the community interaction is marked as read.",
            "readOnly": true,
            "type": "boolean"
          },
          "media_type": {
            "description": "The media type of the post.",
            "enum": [
              "CAROUSEL_ALBUM",
              "IMAGE",
              "REELS",
              "SHORTS",
              "VIDEO"
            ],
            "readOnly": true,
            "type": "string"
          },
          "most_recent_message": {
            "description": "The text of the most recent message in the conversation.",
            "readOnly": true,
            "type": "string"
          },
          "post_thumbnail_url": {
            "description": "The image thumbnail url of the original post.",
            "readOnly": true,
            "type": "string"
          },
          "search_result_snippet": {
            "description": "Indicates how many messages match the query.",
            "readOnly": true,
            "type": "string"
          },
          "source_updated_at": {
            "description": "When the community interaction was updated according to the source.",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          },
          "tag_ids": {
            "description": "List of tag IDs associated with the community interaction.",
            "items": {
              "type": "integer"
            },
            "type": "array"
          },
          "tickets": {
            "description": "The tickets created for this community interaction.",
            "items": {
              "$ref": "#/components/schemas/CommunityInteractionTicket"
            },
            "readOnly": true,
            "type": "array"
          },
          "type": {
            "description": "The community interaction type.",
            "enum": [
              "COMMUNITY_INTERACTION",
              "FACEBOOK_COMMENT",
              "FACEBOOK_CONVERSATION",
              "INSTAGRAM_COMMENT",
              "INSTAGRAM_CONVERSATION",
              "TIKTOK_COMMENT",
              "TWITTER_CONVERSATION",
              "TWITTER_MENTION",
              "TWITTER_QUOTE",
              "TWITTER_RETWEET",
              "YOUTUBE_COMMENT"
            ],
            "readOnly": true,
            "type": "string"
          },
          "updated_at": {
            "description": "When the community interaction was last updated.",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "IGParticipant": {
        "properties": {
          "instagram_scoped_id": {
            "description": "The participant's ID.",
            "readOnly": true,
            "type": "integer"
          },
          "profile_picture_url": {
            "description": "The participant's profile picture URL.",
            "readOnly": true,
            "type": "string"
          },
          "username": {
            "description": "The participant's username.",
            "readOnly": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "ImageSize": {
        "properties": {
          "default": {
            "description": "The default image for the media",
            "type": "string"
          }
        },
        "type": "object"
      },
      "ImportLatencyRequest": {
        "properties": {
          "brand_id": {
            "description": "The brand ID of the community interactions.",
            "type": "integer"
          },
          "source_updated_after": {
            "description": "Update community interactions after this date.",
            "format": "date-time",
            "type": "string"
          },
          "source_updated_before": {
            "description": "Update community interactions before this date.",
            "format": "date-time",
            "type": "string"
          }
        },
        "required": [
          "brand_id",
          "source_updated_after",
          "source_updated_before"
        ],
        "type": "object"
      },
      "InstagramComment": {
        "properties": {
          "assignee_id": {
            "description": "The ID of the user to whom the interaction is assigned.",
            "readOnly": true,
            "type": "integer"
          },
          "author_profile_picture_url": {
            "default": null,
            "description": "The profile picture URL of the author.",
            "nullable": true,
            "readOnly": true,
            "type": "string"
          },
          "author_username": {
            "default": null,
            "description": "The handle of the author.",
            "nullable": true,
            "readOnly": true,
            "type": "string"
          },
          "brand_id": {
            "description": "The community interaction's brand ID.",
            "readOnly": true,
            "type": "integer"
          },
          "brand_user_reply": {
            "allOf": [
              {
                "$ref": "#/components/schemas/BrandUserReply"
              }
            ],
            "description": "Brand user that created the reply.",
            "nullable": true,
            "readOnly": true
          },
          "created_at": {
            "description": "When the comment was created.",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          },
          "id": {
            "description": "The comment's ID.",
            "readOnly": true,
            "type": "integer"
          },
          "instagram_comment_id": {
            "description": "The comment's ID provided by Instagram.",
            "readOnly": true,
            "type": "string"
          },
          "instagram_created_at": {
            "description": "The creation timestamp of the Instagram post.",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          },
          "instagram_parent_comment_id": {
            "description": "The parent comment's ID provided by Instagram.",
            "type": "string"
          },
          "instagram_username": {
            "default": null,
            "description": "The instagram handle of the author.",
            "nullable": true,
            "type": "string"
          },
          "is_ad_comment": {
            "description": "Whether the comment is from ads.",
            "type": "boolean"
          },
          "is_archived": {
            "description": "Whether the community interaction is marked as archived.",
            "readOnly": true,
            "type": "boolean"
          },
          "is_author_blocked": {
            "description": "Whether the user is blocked.",
            "readOnly": true,
            "type": "boolean"
          },
          "is_follow_up": {
            "description": "Whether the community interaction is marked as follow-up.",
            "readOnly": true,
            "type": "boolean"
          },
          "is_hidden": {
            "default": false,
            "description": "Whether the comment is marked as hidden.",
            "type": "boolean"
          },
          "is_owned": {
            "default": false,
            "description": "Whether the brand posted this comment.",
            "type": "boolean"
          },
          "is_read": {
            "description": "Whether the community interaction is marked as read.",
            "readOnly": true,
            "type": "boolean"
          },
          "media_id": {
            "description": "The ID of the media the comment was made on.",
            "readOnly": true,
            "type": "integer"
          },
          "media_type": {
            "description": "The media type of the post.",
            "enum": [
              "CAROUSEL_ALBUM",
              "IMAGE",
              "REELS",
              "SHORTS",
              "VIDEO"
            ],
            "readOnly": true,
            "type": "string"
          },
          "post_media": {
            "allOf": [
              {
                "$ref": "#/components/schemas/PostMedia"
              }
            ],
            "description": "Info about the media the comment was made on.",
            "nullable": true,
            "readOnly": true
          },
          "post_thumbnail_url": {
            "description": "The image thumbnail url of the original post.",
            "readOnly": true,
            "type": "string"
          },
          "search_result_snippet": {
            "description": "Indicates how many messages match the query.",
            "readOnly": true,
            "type": "string"
          },
          "sentiment": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Sentiment"
              }
            ],
            "description": "The comment sentiment.",
            "readOnly": true
          },
          "source_updated_at": {
            "description": "When the comment was created.",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          },
          "tag_ids": {
            "description": "List of tag IDs associated with the community interaction.",
            "items": {
              "type": "integer"
            },
            "type": "array"
          },
          "text": {
            "description": "The comment body.",
            "type": "string"
          },
          "tickets": {
            "description": "The tickets created for this community interaction.",
            "items": {
              "$ref": "#/components/schemas/CommunityInteractionTicket"
            },
            "readOnly": true,
            "type": "array"
          },
          "type": {
            "description": "The community interaction type.",
            "enum": [
              "COMMUNITY_INTERACTION",
              "FACEBOOK_COMMENT",
              "FACEBOOK_CONVERSATION",
              "INSTAGRAM_COMMENT",
              "INSTAGRAM_CONVERSATION",
              "TIKTOK_COMMENT",
              "TWITTER_CONVERSATION",
              "TWITTER_MENTION",
              "TWITTER_QUOTE",
              "TWITTER_RETWEET",
              "YOUTUBE_COMMENT"
            ],
            "readOnly": true,
            "type": "string"
          },
          "updated_at": {
            "description": "The last time the comment was updated.",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          }
        },
        "required": [
          "instagram_parent_comment_id",
          "is_ad_comment",
          "text"
        ],
        "type": "object"
      },
      "InstagramCommentDetail": {
        "properties": {
          "assignee_id": {
            "description": "The ID of the user to whom the interaction is assigned.",
            "readOnly": true,
            "type": "integer"
          },
          "author_profile_picture_url": {
            "default": null,
            "description": "The profile picture URL of the author.",
            "nullable": true,
            "readOnly": true,
            "type": "string"
          },
          "author_username": {
            "default": null,
            "description": "The handle of the author.",
            "nullable": true,
            "readOnly": true,
            "type": "string"
          },
          "brand_id": {
            "description": "The community interaction's brand ID.",
            "readOnly": true,
            "type": "integer"
          },
          "brand_user_reply": {
            "allOf": [
              {
                "$ref": "#/components/schemas/BrandUserReply"
              }
            ],
            "description": "Brand user that created the reply.",
            "nullable": true,
            "readOnly": true
          },
          "comment_count": {
            "description": "The total number of comments on the Instagram post.",
            "type": "integer"
          },
          "created_at": {
            "description": "When the comment was created.",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          },
          "id": {
            "description": "The comment's ID.",
            "readOnly": true,
            "type": "integer"
          },
          "instagram_comment_id": {
            "description": "The comment's ID provided by Instagram.",
            "readOnly": true,
            "type": "string"
          },
          "instagram_created_at": {
            "description": "The creation timestamp of the Instagram post.",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          },
          "instagram_parent_comment_id": {
            "description": "The parent comment's ID provided by Instagram.",
            "type": "string"
          },
          "instagram_username": {
            "default": null,
            "description": "The instagram handle of the author.",
            "nullable": true,
            "type": "string"
          },
          "is_ad_comment": {
            "description": "Whether the comment is from ads.",
            "type": "boolean"
          },
          "is_archived": {
            "description": "Whether the community interaction is marked as archived.",
            "readOnly": true,
            "type": "boolean"
          },
          "is_author_blocked": {
            "description": "Whether the user is blocked.",
            "readOnly": true,
            "type": "boolean"
          },
          "is_follow_up": {
            "description": "Whether the community interaction is marked as follow-up.",
            "readOnly": true,
            "type": "boolean"
          },
          "is_hidden": {
            "default": false,
            "description": "Whether the comment is marked as hidden.",
            "type": "boolean"
          },
          "is_owned": {
            "default": false,
            "description": "Whether the brand posted this comment.",
            "type": "boolean"
          },
          "is_read": {
            "description": "Whether the community interaction is marked as read.",
            "readOnly": true,
            "type": "boolean"
          },
          "media_comment_sentiment": {
            "allOf": [
              {
                "$ref": "#/components/schemas/MediaCommentSentiment"
              }
            ],
            "description": "The overall sentiment of the post's comments.",
            "readOnly": true
          },
          "media_id": {
            "description": "The ID of the media the comment was made on.",
            "readOnly": true,
            "type": "integer"
          },
          "media_type": {
            "description": "The media type of the post.",
            "enum": [
              "CAROUSEL_ALBUM",
              "IMAGE",
              "REELS",
              "SHORTS",
              "VIDEO"
            ],
            "readOnly": true,
            "type": "string"
          },
          "post_media": {
            "allOf": [
              {
                "$ref": "#/components/schemas/PostMedia"
              }
            ],
            "description": "Info about the media the comment was made on.",
            "nullable": true,
            "readOnly": true
          },
          "post_thumbnail_url": {
            "description": "The image thumbnail url of the original post.",
            "readOnly": true,
            "type": "string"
          },
          "replies": {
            "description": "A list of replies to the this comment.",
            "items": {
              "$ref": "#/components/schemas/InstagramComment"
            },
            "readOnly": true,
            "type": "array"
          },
          "search_result_snippet": {
            "description": "Indicates how many messages match the query.",
            "readOnly": true,
            "type": "string"
          },
          "sentiment": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Sentiment"
              }
            ],
            "description": "The comment sentiment.",
            "readOnly": true
          },
          "source_updated_at": {
            "description": "When the comment was created.",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          },
          "tag_ids": {
            "description": "List of tag IDs associated with the community interaction.",
            "items": {
              "type": "integer"
            },
            "type": "array"
          },
          "text": {
            "description": "The comment body.",
            "type": "string"
          },
          "tickets": {
            "description": "The tickets created for this community interaction.",
            "items": {
              "$ref": "#/components/schemas/CommunityInteractionTicket"
            },
            "readOnly": true,
            "type": "array"
          },
          "type": {
            "description": "The community interaction type.",
            "enum": [
              "COMMUNITY_INTERACTION",
              "FACEBOOK_COMMENT",
              "FACEBOOK_CONVERSATION",
              "INSTAGRAM_COMMENT",
              "INSTAGRAM_CONVERSATION",
              "TIKTOK_COMMENT",
              "TWITTER_CONVERSATION",
              "TWITTER_MENTION",
              "TWITTER_QUOTE",
              "TWITTER_RETWEET",
              "YOUTUBE_COMMENT"
            ],
            "readOnly": true,
            "type": "string"
          },
          "updated_at": {
            "description": "The last time the comment was updated.",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          }
        },
        "required": [
          "instagram_parent_comment_id",
          "is_ad_comment",
          "text"
        ],
        "type": "object"
      },
      "InstagramCommentUpdate": {
        "properties": {
          "is_hidden": {
            "default": false,
            "description": "Whether the comment is marked as hidden.",
            "type": "boolean"
          }
        },
        "type": "object"
      },
      "InstagramCommentWithReplies": {
        "properties": {
          "assignee_id": {
            "description": "The ID of the user to whom the interaction is assigned.",
            "readOnly": true,
            "type": "integer"
          },
          "author_profile_picture_url": {
            "default": null,
            "description": "The profile picture URL of the author.",
            "nullable": true,
            "readOnly": true,
            "type": "string"
          },
          "author_username": {
            "default": null,
            "description": "The handle of the author.",
            "nullable": true,
            "readOnly": true,
            "type": "string"
          },
          "brand_id": {
            "description": "The community interaction's brand ID.",
            "readOnly": true,
            "type": "integer"
          },
          "brand_user_reply": {
            "allOf": [
              {
                "$ref": "#/components/schemas/BrandUserReply"
              }
            ],
            "description": "Brand user that created the reply.",
            "nullable": true,
            "readOnly": true
          },
          "created_at": {
            "description": "When the comment was created.",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          },
          "id": {
            "description": "The comment's ID.",
            "readOnly": true,
            "type": "integer"
          },
          "instagram_comment_id": {
            "description": "The comment's ID provided by Instagram.",
            "readOnly": true,
            "type": "string"
          },
          "instagram_created_at": {
            "description": "The creation timestamp of the Instagram post.",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          },
          "instagram_parent_comment_id": {
            "description": "The parent comment's ID provided by Instagram.",
            "type": "string"
          },
          "instagram_username": {
            "default": null,
            "description": "The instagram handle of the author.",
            "nullable": true,
            "type": "string"
          },
          "is_ad_comment": {
            "description": "Whether the comment is from ads.",
            "type": "boolean"
          },
          "is_archived": {
            "description": "Whether the community interaction is marked as archived.",
            "readOnly": true,
            "type": "boolean"
          },
          "is_author_blocked": {
            "description": "Whether the user is blocked.",
            "readOnly": true,
            "type": "boolean"
          },
          "is_follow_up": {
            "description": "Whether the community interaction is marked as follow-up.",
            "readOnly": true,
            "type": "boolean"
          },
          "is_hidden": {
            "default": false,
            "description": "Whether the comment is marked as hidden.",
            "type": "boolean"
          },
          "is_owned": {
            "default": false,
            "description": "Whether the brand posted this comment.",
            "type": "boolean"
          },
          "is_read": {
            "description": "Whether the community interaction is marked as read.",
            "readOnly": true,
            "type": "boolean"
          },
          "media_id": {
            "description": "The ID of the media the comment was made on.",
            "readOnly": true,
            "type": "integer"
          },
          "media_type": {
            "description": "The media type of the post.",
            "enum": [
              "CAROUSEL_ALBUM",
              "IMAGE",
              "REELS",
              "SHORTS",
              "VIDEO"
            ],
            "readOnly": true,
            "type": "string"
          },
          "post_media": {
            "allOf": [
              {
                "$ref": "#/components/schemas/PostMedia"
              }
            ],
            "description": "Info about the media the comment was made on.",
            "nullable": true,
            "readOnly": true
          },
          "post_thumbnail_url": {
            "description": "The image thumbnail url of the original post.",
            "readOnly": true,
            "type": "string"
          },
          "replies": {
            "description": "A list of replies to the this comment.",
            "items": {
              "$ref": "#/components/schemas/InstagramComment"
            },
            "readOnly": true,
            "type": "array"
          },
          "search_result_snippet": {
            "description": "Indicates how many messages match the query.",
            "readOnly": true,
            "type": "string"
          },
          "sentiment": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Sentiment"
              }
            ],
            "description": "The comment sentiment.",
            "readOnly": true
          },
          "source_updated_at": {
            "description": "When the comment was created.",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          },
          "tag_ids": {
            "description": "List of tag IDs associated with the community interaction.",
            "items": {
              "type": "integer"
            },
            "type": "array"
          },
          "text": {
            "description": "The comment body.",
            "type": "string"
          },
          "tickets": {
            "description": "The tickets created for this community interaction.",
            "items": {
              "$ref": "#/components/schemas/CommunityInteractionTicket"
            },
            "readOnly": true,
            "type": "array"
          },
          "type": {
            "description": "The community interaction type.",
            "enum": [
              "COMMUNITY_INTERACTION",
              "FACEBOOK_COMMENT",
              "FACEBOOK_CONVERSATION",
              "INSTAGRAM_COMMENT",
              "INSTAGRAM_CONVERSATION",
              "TIKTOK_COMMENT",
              "TWITTER_CONVERSATION",
              "TWITTER_MENTION",
              "TWITTER_QUOTE",
              "TWITTER_RETWEET",
              "YOUTUBE_COMMENT"
            ],
            "readOnly": true,
            "type": "string"
          },
          "updated_at": {
            "description": "The last time the comment was updated.",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          }
        },
        "required": [
          "instagram_parent_comment_id",
          "is_ad_comment",
          "text"
        ],
        "type": "object"
      },
      "InstagramCommentsData": {
        "properties": {
          "data": {
            "description": "A list of messages.",
            "items": {
              "$ref": "#/components/schemas/InstagramCommentWithReplies"
            },
            "readOnly": true,
            "type": "array"
          },
          "paging": {
            "allOf": [
              {
                "$ref": "#/components/schemas/PagingData"
              }
            ],
            "description": "Pagination data",
            "readOnly": true
          }
        },
        "type": "object"
      },
      "InstagramMessage": {
        "properties": {
          "text": {
            "description": "The text content of the message.",
            "type": "string"
          },
          "attachment": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Attachment"
              }
            ],
            "description": "A media attachment.",
            "readOnly": true
          },
          "brand_user_reply": {
            "allOf": [
              {
                "$ref": "#/components/schemas/BrandUserReply"
              }
            ],
            "description": "Brand user that created the reply.",
            "nullable": true,
            "readOnly": true
          },
          "conversation_id": {
            "description": "The ID of the conversation to which the message belongs.",
            "readOnly": true,
            "type": "integer"
          },
          "created_at": {
            "description": "When the message was created.",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          },
          "from_participant_id": {
            "description": "The participant ID of the sender.",
            "readOnly": true,
            "type": "integer"
          },
          "id": {
            "description": "The message ID. Cannot be set or modified by the user.",
            "readOnly": true,
            "type": "integer"
          },
          "instagram_created_at": {
            "description": "The creation timestamp provided by Instagram.",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          },
          "instagram_message_id": {
            "description": "The message ID provided by Instagram.",
            "readOnly": true,
            "type": "string"
          },
          "instagram_seen_at": {
            "description": "The time the message was seen provided by Instagram.",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          },
          "is_dh_unsupported": {
            "description": "Indicates if the message type is currently unsupported by Dash Social.",
            "readOnly": true,
            "type": "boolean"
          },
          "is_fb_unsupported": {
            "description": "Indicates if the message type is currently unsupported by Facebook API.",
            "readOnly": true,
            "type": "boolean"
          },
          "reactions": {
            "description": "The reactions associated with the message.",
            "items": {
              "$ref": "#/components/schemas/Reactions"
            },
            "readOnly": true,
            "type": "array"
          },
          "send_failed": {
            "description": "Indicates if the message failed to send from Dash Social.",
            "readOnly": true,
            "type": "boolean"
          },
          "story_mention": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Story"
              }
            ],
            "description": "The story that the recipient was mentioned in.",
            "readOnly": true
          },
          "story_reply": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Story"
              }
            ],
            "description": "The story that the sender replied to.",
            "readOnly": true
          },
          "to_participant_id": {
            "description": "The participant ID of the recipient.",
            "readOnly": true,
            "type": "integer"
          },
          "type": {
            "description": "Community interaction type",
            "readOnly": true,
            "type": "string"
          },
          "updated_at": {
            "description": "When the message was last updated.",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          },
          "uuid": {
            "description": "Unique ID that can be provided by the user on message creation. Enables clients to supply their own ID for optimistically created messages.",
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "text"
        ],
        "type": "object"
      },
      "InstagramMessageData": {
        "properties": {
          "data": {
            "allOf": [
              {
                "$ref": "#/components/schemas/InstagramMessage"
              }
            ],
            "description": "An Instagram message",
            "readOnly": true
          }
        },
        "type": "object"
      },
      "InstagramMessagesData": {
        "properties": {
          "data": {
            "description": "A list of messages.",
            "items": {
              "$ref": "#/components/schemas/InstagramMessage"
            },
            "readOnly": true,
            "type": "array"
          },
          "paging": {
            "allOf": [
              {
                "$ref": "#/components/schemas/PagingData"
              }
            ],
            "description": "Pagination data",
            "readOnly": true
          }
        },
        "type": "object"
      },
      "InteractionMessage": {
        "properties": {
          "created_at": {
            "description": "When the message was created.",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          },
          "id": {
            "description": "The message ID.",
            "readOnly": true,
            "type": "integer"
          },
          "platform": {
            "description": "The message source platform.",
            "readOnly": true,
            "type": "string"
          },
          "text": {
            "description": "The text content of the message.",
            "readOnly": true,
            "type": "string"
          },
          "username": {
            "description": "The sender's username.",
            "readOnly": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "InteractionMessagesData": {
        "properties": {
          "follower_participant": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Participant"
              }
            ],
            "description": "The brand follower who sent messages",
            "readOnly": true
          },
          "messages": {
            "description": "A list of messages",
            "items": {
              "$ref": "#/components/schemas/InteractionMessage"
            },
            "readOnly": true,
            "type": "array"
          }
        },
        "type": "object"
      },
      "InteractionMessagesResponse": {
        "properties": {
          "data": {
            "allOf": [
              {
                "$ref": "#/components/schemas/InteractionMessagesData"
              }
            ],
            "description": "Interation messages and participant data",
            "readOnly": true
          },
          "paging": {
            "allOf": [
              {
                "$ref": "#/components/schemas/PagingDetail"
              }
            ],
            "description": "Pagination data",
            "readOnly": true
          }
        },
        "type": "object"
      },
      "InteractionRule": {
        "properties": {
          "author_id": {
            "description": "The ID of the user who creates this rule.",
            "readOnly": true,
            "type": "integer"
          },
          "brand_id": {
            "description": "The ID of the brand which owns the rule.",
            "readOnly": true,
            "type": "integer"
          },
          "created_at": {
            "description": "When the rule was created.",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          },
          "detail": {
            "allOf": [
              {
                "$ref": "#/components/schemas/InteractionRuleDetail"
              }
            ],
            "description": "The JSON interaction rule detail.",
            "readOnly": true
          },
          "enabled": {
            "description": "Whether the rule is enabled or not.",
            "readOnly": true,
            "type": "boolean"
          },
          "id": {
            "description": "the interaction rules' ID.",
            "readOnly": true,
            "type": "integer"
          },
          "name": {
            "description": "The name used to identify the rule.",
            "type": "string"
          },
          "updated_at": {
            "description": "The last time the rule was updated.",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          }
        },
        "required": [
          "brand_id",
          "name"
        ],
        "type": "object"
      },
      "InteractionRuleActions": {
        "properties": {
          "archive": {
            "description": "Whether to archive the interaction when a rule is matched",
            "type": "boolean"
          }
        },
        "type": "object"
      },
      "InteractionRuleClause": {
        "properties": {
          "and": {
            "default": [],
            "description": "A list of rule filter items to be logically 'and'-ed together.",
            "items": {
              "$ref": "#/components/schemas/InteractionRuleFilterItem"
            },
            "type": "array"
          },
          "or": {
            "default": [],
            "description": "A list of rule filter items to be logically 'or'-ed together.",
            "items": {
              "$ref": "#/components/schemas/InteractionRuleFilterItem"
            },
            "type": "array"
          }
        },
        "type": "object"
      },
      "InteractionRuleDetail": {
        "properties": {
          "actions": {
            "allOf": [
              {
                "$ref": "#/components/schemas/InteractionRuleActions"
              }
            ],
            "description": "The map of actions to be applied if a rule is matched"
          },
          "filters": {
            "allOf": [
              {
                "$ref": "#/components/schemas/InteractionRuleClause"
              }
            ],
            "description": "The conditional filters which determine when the rule is applied"
          },
          "triggers": {
            "description": "The collection of triggers that causes filters to be checked",
            "items": {
              "enum": [
                "reply"
              ],
              "type": "string"
            },
            "type": "array"
          }
        },
        "required": [
          "actions",
          "filters",
          "triggers"
        ],
        "type": "object"
      },
      "InteractionRuleFilterItem": {
        "properties": {
          "message_type": {
            "description": "The type of message to filter for",
            "enum": [
              "ad_comment",
              "comment",
              "direct_message",
              "mention",
              "quote_tweet",
              "retweet"
            ],
            "type": "string"
          }
        },
        "type": "object"
      },
      "InteractionRulesData": {
        "properties": {
          "data": {
            "description": "A list of interaction rules.",
            "items": {
              "$ref": "#/components/schemas/InteractionRule"
            },
            "readOnly": true,
            "type": "array"
          }
        },
        "type": "object"
      },
      "MediaCommentSentiment": {
        "properties": {
          "negative_percentage": {
            "description": "Prediction from 0 to 1 that the post is receiving an overall negative sentiment",
            "readOnly": true,
            "type": "number"
          },
          "neutral_percentage": {
            "description": "Prediction from 0 to 1 that the post is receiving an overall neutral sentiment",
            "readOnly": true,
            "type": "number"
          },
          "positive_percentage": {
            "description": "Prediction from 0 to 1 that the post is receiving an overall positive sentiment",
            "readOnly": true,
            "type": "number"
          }
        },
        "required": [
          "negative_percentage",
          "neutral_percentage",
          "positive_percentage"
        ],
        "type": "object"
      },
      "MediaCommentSentimentRequestParams": {
        "properties": {
          "media_ids": {
            "description": "List of media IDs to fetch aggregated sentiment for",
            "items": {
              "type": "integer"
            },
            "type": "array"
          }
        },
        "required": [
          "media_ids"
        ],
        "type": "object"
      },
      "MediaCommentSentimentResponsePayload": {
        "properties": {
          "data": {
            "description": "Comment sentiment proportions mapped by media ID.",
            "readOnly": true
          }
        },
        "type": "object"
      },
      "PagingData": {
        "properties": {
          "count": {
            "description": "Number of records in the current page.",
            "type": "integer"
          },
          "next": {
            "description": "URL to the next page of data.",
            "format": "url",
            "type": "string"
          },
          "previous": {
            "description": "URL to the previous page of data.",
            "format": "url",
            "type": "string"
          }
        },
        "type": "object"
      },
      "PagingDataSchemaWithOffset": {
        "properties": {
          "count": {
            "description": "Number of records in the current page.",
            "type": "integer"
          },
          "next": {
            "description": "URL to the next page of data.",
            "format": "url",
            "type": "string"
          },
          "offset": {
            "description": "The number of new records on the current page",
            "type": "integer"
          },
          "previous": {
            "description": "URL to the previous page of data.",
            "format": "url",
            "type": "string"
          }
        },
        "type": "object"
      },
      "PagingDetail": {
        "properties": {
          "next": {
            "description": "URL to the next page of data.",
            "format": "url",
            "type": "string"
          },
          "previous": {
            "description": "URL to the previous page of data.",
            "format": "url",
            "type": "string"
          }
        },
        "type": "object"
      },
      "Participant": {
        "properties": {
          "profile_picture_url": {
            "description": "The participant's profile picture URL.",
            "format": "url",
            "readOnly": true,
            "type": "string"
          },
          "user_handle": {
            "description": "The participant's username.",
            "readOnly": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "PostMedia": {
        "properties": {
          "caption": {
            "description": "The media caption",
            "readOnly": true,
            "type": "string"
          },
          "comment_count": {
            "description": "The number of comments on the media",
            "readOnly": true,
            "type": "integer"
          },
          "image_sizes": {
            "allOf": [
              {
                "$ref": "#/components/schemas/ImageSize"
              }
            ],
            "description": "Images of the post media",
            "readOnly": true
          },
          "likes": {
            "description": "The number of likes on the media",
            "readOnly": true,
            "type": "integer"
          },
          "media_comment_sentiment": {
            "allOf": [
              {
                "$ref": "#/components/schemas/SentimentCount"
              }
            ],
            "description": "The media comment sentiment",
            "readOnly": true
          },
          "media_type": {
            "description": "The media type",
            "readOnly": true,
            "type": "string"
          },
          "source_created_at": {
            "description": "When the media was created.",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          },
          "user_avatar": {
            "description": "Avatar of the sender. Used for Twitter mentions that have brand media",
            "readOnly": true,
            "type": "string"
          },
          "user_handle": {
            "description": "Handle of the media poster",
            "readOnly": true,
            "type": "string"
          }
        },
        "required": [
          "comment_count",
          "image_sizes",
          "media_comment_sentiment",
          "media_type",
          "source_created_at"
        ],
        "type": "object"
      },
      "PostsUpdate": {
        "properties": {
          "comment_disabled": {
            "description": "Indicate if comments should be enabled on the post.",
            "type": "boolean"
          }
        },
        "required": [
          "comment_disabled"
        ],
        "type": "object"
      },
      "PresetRepliesData": {
        "properties": {
          "data": {
            "description": "An array of Preset Replies",
            "items": {
              "$ref": "#/components/schemas/PresetReply"
            },
            "readOnly": true,
            "type": "array"
          }
        },
        "type": "object"
      },
      "PresetReply": {
        "properties": {
          "brand_id": {
            "description": "The corresponding DH brand ID",
            "type": "integer"
          },
          "created_at": {
            "description": "When the preset reply was created.",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          },
          "id": {
            "description": "The ID of the preset reply.",
            "readOnly": true,
            "type": "integer"
          },
          "message": {
            "description": "The text of the preset reply.",
            "type": "string"
          },
          "title": {
            "description": "The title of the preset reply.",
            "type": "string"
          },
          "type": {
            "description": "The CommunityInteractionPlatform of the preset reply",
            "enum": [
              "FACEBOOK",
              "INSTAGRAM",
              "TIKTOK",
              "TWITTER",
              "YOUTUBE"
            ],
            "type": "string"
          },
          "updated_at": {
            "description": "The last time the preset reply was updated.",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          }
        },
        "required": [
          "brand_id"
        ],
        "type": "object"
      },
      "PresetReplyData": {
        "properties": {
          "data": {
            "allOf": [
              {
                "$ref": "#/components/schemas/PresetReply"
              }
            ],
            "description": "A wrapped PresetReply",
            "readOnly": true
          }
        },
        "type": "object"
      },
      "Reactions": {
        "properties": {
          "code": {
            "description": "The unicode code of the reaction.",
            "readOnly": true,
            "type": "string"
          },
          "participant_ids": {
            "description": "An array of all participant IDs who used the reaction",
            "items": {
              "description": "The ID of a participant who reacted to the message.",
              "readOnly": true,
              "type": "integer"
            },
            "readOnly": true,
            "type": "array"
          },
          "type": {
            "description": "The type of reaction.",
            "readOnly": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Sentiment": {
        "properties": {
          "is_negative": {
            "description": "If the comment sentiment is negative",
            "readOnly": true,
            "type": "boolean"
          },
          "is_neutral": {
            "description": "If the comment sentiment is neutral",
            "readOnly": true,
            "type": "boolean"
          },
          "is_positive": {
            "description": "If the comment sentiment is positive",
            "readOnly": true,
            "type": "boolean"
          },
          "is_question": {
            "description": "If the comment is a question",
            "readOnly": true,
            "type": "boolean"
          }
        },
        "required": [
          "is_negative",
          "is_neutral",
          "is_positive",
          "is_question"
        ],
        "type": "object"
      },
      "SentimentCount": {
        "properties": {
          "negative_count": {
            "description": "Count of negative sentiment interactions on the post",
            "readOnly": true,
            "type": "integer"
          },
          "neutral_count": {
            "description": "Count of neutral sentiment interactions on the post",
            "readOnly": true,
            "type": "integer"
          },
          "positive_count": {
            "description": "Count of positive sentiment interactions on the post",
            "readOnly": true,
            "type": "integer"
          }
        },
        "required": [
          "negative_count",
          "neutral_count",
          "positive_count"
        ],
        "type": "object"
      },
      "SentimentDistribution": {
        "properties": {
          "negative": {
            "description": "The number of negatively scored comments",
            "minimum": 0,
            "type": "integer"
          },
          "neutral": {
            "description": "The number of neutrally scored comments",
            "minimum": 0,
            "type": "integer"
          },
          "positive": {
            "description": "The number of positively scored comments",
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "negative",
          "neutral",
          "positive"
        ],
        "type": "object"
      },
      "Story": {
        "properties": {
          "asset_type": {
            "description": "The asset type of the story.",
            "enum": [
              "video",
              "image"
            ],
            "readOnly": true,
            "type": "string"
          },
          "asset_url": {
            "description": "The CDN URL for the story.",
            "readOnly": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Tag": {
        "properties": {
          "brand_id": {
            "description": "The brand ID that the tag is associated with.",
            "type": "integer"
          },
          "name": {
            "description": "The name of the tag.",
            "maxLength": 64,
            "type": "string"
          },
          "color": {
            "description": "The hex color code of the tag.",
            "pattern": "^#[0-9A-F]{6}$",
            "type": "string"
          },
          "created_at": {
            "description": "When the tag was created.",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          },
          "id": {
            "description": "The ID of the tag.",
            "readOnly": true,
            "type": "integer"
          },
          "updated_at": {
            "description": "When the tag was last updated.",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          }
        },
        "required": [
          "brand_id",
          "name"
        ],
        "type": "object"
      },
      "TagData": {
        "properties": {
          "data": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Tag"
              }
            ],
            "description": "A tag object."
          }
        },
        "type": "object"
      },
      "TagsData": {
        "properties": {
          "data": {
            "description": "A list of tags.",
            "items": {
              "$ref": "#/components/schemas/Tag"
            },
            "readOnly": true,
            "type": "array"
          }
        },
        "type": "object"
      },
      "TagsUpdate": {
        "properties": {
          "add": {
            "description": "List of tag IDs to be added.",
            "items": {
              "type": "integer"
            },
            "type": "array"
          },
          "remove": {
            "description": "List of tag IDs to be removed.",
            "items": {
              "type": "integer"
            },
            "type": "array"
          }
        },
        "type": "object"
      },
      "TikTokComment": {
        "properties": {
          "assignee_id": {
            "description": "The ID of the user to whom the interaction is assigned.",
            "readOnly": true,
            "type": "integer"
          },
          "author_profile_picture_url": {
            "description": "The url of the author's profile picture.",
            "type": "string"
          },
          "author_username": {
            "default": null,
            "description": "The handle of the author.",
            "nullable": true,
            "readOnly": true,
            "type": "string"
          },
          "brand_id": {
            "description": "The community interaction's brand ID.",
            "readOnly": true,
            "type": "integer"
          },
          "brand_user_reply": {
            "allOf": [
              {
                "$ref": "#/components/schemas/BrandUserReply"
              }
            ],
            "description": "Brand user that created the reply.",
            "nullable": true,
            "readOnly": true
          },
          "created_at": {
            "description": "When the community interaction was created.",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          },
          "id": {
            "description": "The community interaction's ID.",
            "readOnly": true,
            "type": "integer"
          },
          "is_archived": {
            "description": "Whether the community interaction is marked as archived.",
            "readOnly": true,
            "type": "boolean"
          },
          "is_author_blocked": {
            "description": "Whether the user is blocked.",
            "readOnly": true,
            "type": "boolean"
          },
          "is_follow_up": {
            "description": "Whether the community interaction is marked as follow-up.",
            "readOnly": true,
            "type": "boolean"
          },
          "is_hidden": {
            "description": "If the comment is hidden.",
            "type": "boolean"
          },
          "is_liked": {
            "description": "If the comment is liked.",
            "type": "boolean"
          },
          "is_owned": {
            "description": "If the brand posted this comment.",
            "type": "boolean"
          },
          "is_read": {
            "description": "Whether the community interaction is marked as read.",
            "readOnly": true,
            "type": "boolean"
          },
          "media_id": {
            "description": "The ID of the media the comment was made on.",
            "readOnly": true,
            "type": "integer"
          },
          "media_type": {
            "description": "The media type of the post.",
            "enum": [
              "CAROUSEL_ALBUM",
              "IMAGE",
              "REELS",
              "SHORTS",
              "VIDEO"
            ],
            "readOnly": true,
            "type": "string"
          },
          "post_media": {
            "allOf": [
              {
                "$ref": "#/components/schemas/PostMedia"
              }
            ],
            "description": "Info about the media the comment was made on.",
            "nullable": true,
            "readOnly": true
          },
          "post_thumbnail_url": {
            "description": "The image thumbnail url of the original post.",
            "readOnly": true,
            "type": "string"
          },
          "search_result_snippet": {
            "description": "Indicates how many messages match the query.",
            "readOnly": true,
            "type": "string"
          },
          "sentiment": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Sentiment"
              }
            ],
            "description": "The comment sentiment.",
            "readOnly": true
          },
          "source_updated_at": {
            "description": "When the comment was created.",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          },
          "tag_ids": {
            "description": "List of tag IDs associated with the community interaction.",
            "items": {
              "type": "integer"
            },
            "type": "array"
          },
          "text": {
            "description": "The comment body.",
            "type": "string"
          },
          "tickets": {
            "description": "The tickets created for this community interaction.",
            "items": {
              "$ref": "#/components/schemas/CommunityInteractionTicket"
            },
            "readOnly": true,
            "type": "array"
          },
          "tiktok_comment_id": {
            "description": "The comment ID provided by TikTok.",
            "readOnly": true,
            "type": "string"
          },
          "tiktok_parent_comment_id": {
            "description": "The parent comment ID provided by TikTok.",
            "type": "string"
          },
          "tiktok_username": {
            "description": "The username of the comment author.",
            "readOnly": true,
            "type": "string"
          },
          "tiktok_video_created_at": {
            "description": "The post creation timestamp provided by TikTok.",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          },
          "type": {
            "description": "The community interaction type.",
            "enum": [
              "COMMUNITY_INTERACTION",
              "FACEBOOK_COMMENT",
              "FACEBOOK_CONVERSATION",
              "INSTAGRAM_COMMENT",
              "INSTAGRAM_CONVERSATION",
              "TIKTOK_COMMENT",
              "TWITTER_CONVERSATION",
              "TWITTER_MENTION",
              "TWITTER_QUOTE",
              "TWITTER_RETWEET",
              "YOUTUBE_COMMENT"
            ],
            "readOnly": true,
            "type": "string"
          },
          "updated_at": {
            "description": "When the community interaction was last updated.",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          }
        },
        "required": [
          "is_hidden",
          "is_liked",
          "is_owned",
          "text",
          "tiktok_parent_comment_id"
        ],
        "type": "object"
      },
      "TikTokCommentUpdateArguments": {
        "properties": {
          "is_hidden": {
            "description": "Hide or unhide this comment.",
            "type": "boolean"
          },
          "is_liked": {
            "description": "Like or unlike this comment.",
            "type": "boolean"
          }
        },
        "type": "object"
      },
      "TikTokCommentWithReplies": {
        "properties": {
          "assignee_id": {
            "description": "The ID of the user to whom the interaction is assigned.",
            "readOnly": true,
            "type": "integer"
          },
          "author_profile_picture_url": {
            "description": "The url of the author's profile picture.",
            "type": "string"
          },
          "author_username": {
            "default": null,
            "description": "The handle of the author.",
            "nullable": true,
            "readOnly": true,
            "type": "string"
          },
          "brand_id": {
            "description": "The community interaction's brand ID.",
            "readOnly": true,
            "type": "integer"
          },
          "brand_user_reply": {
            "allOf": [
              {
                "$ref": "#/components/schemas/BrandUserReply"
              }
            ],
            "description": "Brand user that created the reply.",
            "nullable": true,
            "readOnly": true
          },
          "comment_count": {
            "description": "The total number of root-level comments on the TikTok post.",
            "type": "integer"
          },
          "created_at": {
            "description": "When the community interaction was created.",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          },
          "id": {
            "description": "The community interaction's ID.",
            "readOnly": true,
            "type": "integer"
          },
          "is_archived": {
            "description": "Whether the community interaction is marked as archived.",
            "readOnly": true,
            "type": "boolean"
          },
          "is_author_blocked": {
            "description": "Whether the user is blocked.",
            "readOnly": true,
            "type": "boolean"
          },
          "is_follow_up": {
            "description": "Whether the community interaction is marked as follow-up.",
            "readOnly": true,
            "type": "boolean"
          },
          "is_hidden": {
            "description": "If the comment is hidden.",
            "type": "boolean"
          },
          "is_liked": {
            "description": "If the comment is liked.",
            "type": "boolean"
          },
          "is_owned": {
            "description": "If the brand posted this comment.",
            "type": "boolean"
          },
          "is_read": {
            "description": "Whether the community interaction is marked as read.",
            "readOnly": true,
            "type": "boolean"
          },
          "media_comment_sentiment": {
            "allOf": [
              {
                "$ref": "#/components/schemas/MediaCommentSentiment"
              }
            ],
            "description": "The overall sentiment of the post's comments.",
            "readOnly": true
          },
          "media_id": {
            "description": "The ID of the media the comment was made on.",
            "readOnly": true,
            "type": "integer"
          },
          "media_type": {
            "description": "The media type of the post.",
            "enum": [
              "CAROUSEL_ALBUM",
              "IMAGE",
              "REELS",
              "SHORTS",
              "VIDEO"
            ],
            "readOnly": true,
            "type": "string"
          },
          "post_media": {
            "allOf": [
              {
                "$ref": "#/components/schemas/PostMedia"
              }
            ],
            "description": "Info about the media the comment was made on.",
            "nullable": true,
            "readOnly": true
          },
          "post_thumbnail_url": {
            "description": "The image thumbnail url of the original post.",
            "readOnly": true,
            "type": "string"
          },
          "replies": {
            "description": "A list of replies to the this comment.",
            "items": {
              "$ref": "#/components/schemas/TikTokComment"
            },
            "readOnly": true,
            "type": "array"
          },
          "search_result_snippet": {
            "description": "Indicates how many messages match the query.",
            "readOnly": true,
            "type": "string"
          },
          "sentiment": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Sentiment"
              }
            ],
            "description": "The comment sentiment.",
            "readOnly": true
          },
          "source_updated_at": {
            "description": "When the comment was created.",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          },
          "tag_ids": {
            "description": "List of tag IDs associated with the community interaction.",
            "items": {
              "type": "integer"
            },
            "type": "array"
          },
          "text": {
            "description": "The comment body.",
            "type": "string"
          },
          "tickets": {
            "description": "The tickets created for this community interaction.",
            "items": {
              "$ref": "#/components/schemas/CommunityInteractionTicket"
            },
            "readOnly": true,
            "type": "array"
          },
          "tiktok_comment_id": {
            "description": "The comment ID provided by TikTok.",
            "readOnly": true,
            "type": "string"
          },
          "tiktok_parent_comment_id": {
            "description": "The parent comment ID provided by TikTok.",
            "type": "string"
          },
          "tiktok_username": {
            "description": "The username of the comment author.",
            "readOnly": true,
            "type": "string"
          },
          "tiktok_video_created_at": {
            "description": "The post creation timestamp provided by TikTok.",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          },
          "type": {
            "description": "The community interaction type.",
            "enum": [
              "COMMUNITY_INTERACTION",
              "FACEBOOK_COMMENT",
              "FACEBOOK_CONVERSATION",
              "INSTAGRAM_COMMENT",
              "INSTAGRAM_CONVERSATION",
              "TIKTOK_COMMENT",
              "TWITTER_CONVERSATION",
              "TWITTER_MENTION",
              "TWITTER_QUOTE",
              "TWITTER_RETWEET",
              "YOUTUBE_COMMENT"
            ],
            "readOnly": true,
            "type": "string"
          },
          "updated_at": {
            "description": "When the community interaction was last updated.",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          },
          "video_pinned_comment_id": {
            "description": "The ID of the pinned comment for the TikTok post associated with the given TikTok comment.",
            "readOnly": true,
            "type": "integer"
          }
        },
        "required": [
          "is_hidden",
          "is_liked",
          "is_owned",
          "text",
          "tiktok_parent_comment_id"
        ],
        "type": "object"
      },
      "TikTokCommentsData": {
        "properties": {
          "data": {
            "description": "A list of messages.",
            "items": {
              "$ref": "#/components/schemas/TikTokCommentWithReplies"
            },
            "readOnly": true,
            "type": "array"
          },
          "paging": {
            "allOf": [
              {
                "$ref": "#/components/schemas/PagingData"
              }
            ],
            "description": "Pagination data",
            "readOnly": true
          }
        },
        "type": "object"
      },
      "TopKeywords": {
        "properties": {
          "data": {
            "description": "The sentiment counts for the top keyword matches",
            "type": "object"
          },
          "negative": {
            "description": "The number of negatively scored comments",
            "minimum": 0,
            "type": "integer"
          },
          "neutral": {
            "description": "The number of neutrally scored comments",
            "minimum": 0,
            "type": "integer"
          },
          "positive": {
            "description": "The number of positively scored comments",
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "negative",
          "neutral",
          "positive"
        ],
        "type": "object"
      },
      "TweetRelatedStatus": {
        "properties": {
          "attachments": {
            "description": "A list of attachments from the tweet.",
            "items": {
              "description": "An attachment from the tweet.",
              "readOnly": true
            },
            "type": "array"
          },
          "name": {
            "description": "The display name of the tweet author.",
            "type": "string"
          },
          "profile_picture_url": {
            "default": null,
            "description": "The profile picture URL of the author.",
            "nullable": true,
            "type": "string"
          },
          "screen_name": {
            "description": "The handle of the tweet author.",
            "type": "string"
          },
          "text": {
            "description": "The text in the tweet.",
            "type": "string"
          },
          "tweet_id": {
            "description": "The ID of the tweet.",
            "type": "string"
          }
        },
        "required": [
          "attachments",
          "screen_name",
          "tweet_id"
        ],
        "type": "object"
      },
      "TwitterConversation": {
        "properties": {
          "assignee_id": {
            "description": "The ID of the user to whom the interaction is assigned.",
            "readOnly": true,
            "type": "integer"
          },
          "brand_id": {
            "description": "The community interaction's brand ID.",
            "readOnly": true,
            "type": "integer"
          },
          "created_at": {
            "description": "When the community interaction was created.",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          },
          "error_status": {
            "description": "Any error statuses on the conversation.",
            "enum": [
              "APP_ERROR",
              "DELETED",
              "EXPIRED",
              "RATE_LIMITED",
              "RECIPIENT_ID_INVALID",
              "SEND_API_ACCESS_DISABLED",
              "SEND_API_ERROR",
              "TOKEN_INVALID",
              "UNKNOWN_API_ERROR",
              "USAGE_ERROR",
              "USER_ACC_ERROR"
            ],
            "type": "string"
          },
          "id": {
            "description": "The community interaction's ID.",
            "readOnly": true,
            "type": "integer"
          },
          "is_archived": {
            "description": "Whether the community interaction is marked as archived.",
            "readOnly": true,
            "type": "boolean"
          },
          "is_author_blocked": {
            "description": "Whether the user is blocked.",
            "readOnly": true,
            "type": "boolean"
          },
          "is_follow_up": {
            "description": "Whether the community interaction is marked as follow-up.",
            "readOnly": true,
            "type": "boolean"
          },
          "is_read": {
            "description": "Whether the community interaction is marked as read.",
            "readOnly": true,
            "type": "boolean"
          },
          "media_type": {
            "description": "The media type of the post.",
            "enum": [
              "CAROUSEL_ALBUM",
              "IMAGE",
              "REELS",
              "SHORTS",
              "VIDEO"
            ],
            "readOnly": true,
            "type": "string"
          },
          "most_recent_message": {
            "description": "The text of the most recent message in the conversation.",
            "readOnly": true,
            "type": "string"
          },
          "post_thumbnail_url": {
            "description": "The image thumbnail url of the original post.",
            "readOnly": true,
            "type": "string"
          },
          "search_result_snippet": {
            "description": "Indicates how many messages match the query.",
            "readOnly": true,
            "type": "string"
          },
          "source_updated_at": {
            "description": "When the community interaction was updated according to the source.",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          },
          "tag_ids": {
            "description": "List of tag IDs associated with the community interaction.",
            "items": {
              "type": "integer"
            },
            "type": "array"
          },
          "tickets": {
            "description": "The tickets created for this community interaction.",
            "items": {
              "$ref": "#/components/schemas/CommunityInteractionTicket"
            },
            "readOnly": true,
            "type": "array"
          },
          "twitter_brand_participant": {
            "allOf": [
              {
                "$ref": "#/components/schemas/TwitterParticipant"
              }
            ],
            "description": "The brand participant in the conversation.",
            "readOnly": true
          },
          "twitter_follower_participant": {
            "allOf": [
              {
                "$ref": "#/components/schemas/TwitterParticipant"
              }
            ],
            "description": "The brand follower in the conversation.",
            "readOnly": true
          },
          "type": {
            "description": "The community interaction type.",
            "enum": [
              "COMMUNITY_INTERACTION",
              "FACEBOOK_COMMENT",
              "FACEBOOK_CONVERSATION",
              "INSTAGRAM_COMMENT",
              "INSTAGRAM_CONVERSATION",
              "TIKTOK_COMMENT",
              "TWITTER_CONVERSATION",
              "TWITTER_MENTION",
              "TWITTER_QUOTE",
              "TWITTER_RETWEET",
              "YOUTUBE_COMMENT"
            ],
            "readOnly": true,
            "type": "string"
          },
          "updated_at": {
            "description": "When the community interaction was last updated.",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "TwitterMessage": {
        "properties": {
          "attachment": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Attachment"
              }
            ],
            "description": "A media attachment.",
            "readOnly": true
          },
          "brand_user_reply": {
            "allOf": [
              {
                "$ref": "#/components/schemas/BrandUserReply"
              }
            ],
            "description": "Brand user that created the reply.",
            "nullable": true,
            "readOnly": true
          },
          "conversation_id": {
            "description": "The ID of the conversation to which the message belongs.",
            "readOnly": true,
            "type": "integer"
          },
          "created_at": {
            "description": "When the message was created.",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          },
          "from_participant_id": {
            "description": "The participant ID of the sender.",
            "readOnly": true,
            "type": "string"
          },
          "id": {
            "description": "The message ID. Cannot be set or modified by the user.",
            "readOnly": true,
            "type": "integer"
          },
          "is_dh_unsupported": {
            "description": "Indicates if the message type is currently unsupported by Dash Social.",
            "readOnly": true,
            "type": "boolean"
          },
          "send_failed": {
            "description": "Indicates if the message failed to send from Dash Social.",
            "readOnly": true,
            "type": "boolean"
          },
          "text": {
            "description": "The text content of the message.",
            "type": "string"
          },
          "to_participant_id": {
            "description": "The participant ID of the recipient.",
            "readOnly": true,
            "type": "string"
          },
          "twitter_created_at": {
            "description": "The creation timestamp provided by Twitter.",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          },
          "twitter_message_id": {
            "description": "The message ID provided by Twitter.",
            "readOnly": true,
            "type": "string"
          },
          "twitter_seen_at": {
            "description": "The time a message was seen provided by Twitter.",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          },
          "type": {
            "description": "Community interaction type",
            "readOnly": true,
            "type": "string"
          },
          "updated_at": {
            "description": "When the message was last updated.",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          },
          "uuid": {
            "description": "Unique ID that can be provided by the user on message creation. Enables clients to supply their own ID for optimistically created messages.",
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "text"
        ],
        "type": "object"
      },
      "TwitterMessageData": {
        "properties": {
          "data": {
            "allOf": [
              {
                "$ref": "#/components/schemas/TwitterMessage"
              }
            ],
            "description": "A Twitter message.",
            "readOnly": true
          }
        },
        "type": "object"
      },
      "TwitterMessagesData": {
        "properties": {
          "data": {
            "description": "A list of twitter messages.",
            "items": {
              "$ref": "#/components/schemas/TwitterMessage"
            },
            "readOnly": true,
            "type": "array"
          },
          "paging": {
            "allOf": [
              {
                "$ref": "#/components/schemas/PagingData"
              }
            ],
            "description": "Pagination data",
            "readOnly": true
          }
        },
        "type": "object"
      },
      "TwitterMessagesPost": {
        "properties": {
          "text": {
            "description": "The text content of the message.",
            "type": "string"
          },
          "uuid": {
            "description": "Unique ID that can be provided by the user on message creation. Enables clients to supply their own ID for optimistically created messages.",
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "text"
        ],
        "type": "object"
      },
      "TwitterParticipant": {
        "properties": {
          "profile_picture_url": {
            "description": "The participant's profile picture URL.",
            "readOnly": true,
            "type": "string"
          },
          "twitter_user_id": {
            "description": "The user ID provided by Twitter.",
            "readOnly": true,
            "type": "string"
          },
          "username": {
            "description": "'The participant's username.",
            "readOnly": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "TwitterTweet": {
        "properties": {
          "assignee_id": {
            "description": "The ID of the user to whom the interaction is assigned.",
            "readOnly": true,
            "type": "integer"
          },
          "attachments": {
            "description": "A list of attachments from the tweet.",
            "items": {
              "description": "An attachment from the tweet.",
              "readOnly": true,
              "type": "object"
            },
            "readOnly": true,
            "type": "array"
          },
          "author_profile_picture_url": {
            "default": null,
            "description": "The profile picture URL of the author.",
            "nullable": true,
            "readOnly": true,
            "type": "string"
          },
          "author_username": {
            "default": null,
            "description": "The handle of the author.",
            "nullable": true,
            "readOnly": true,
            "type": "string"
          },
          "brand_id": {
            "description": "The community interaction's brand ID.",
            "readOnly": true,
            "type": "integer"
          },
          "brand_user_reply": {
            "allOf": [
              {
                "$ref": "#/components/schemas/BrandUserReply"
              }
            ],
            "description": "Brand user that created the reply.",
            "nullable": true,
            "readOnly": true
          },
          "created_at": {
            "description": "When the community interaction was created.",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          },
          "id": {
            "description": "The community interaction's ID.",
            "readOnly": true,
            "type": "integer"
          },
          "is_archived": {
            "description": "Whether the community interaction is marked as archived.",
            "readOnly": true,
            "type": "boolean"
          },
          "is_author_blocked": {
            "description": "Whether the user is blocked.",
            "readOnly": true,
            "type": "boolean"
          },
          "is_follow_up": {
            "description": "Whether the community interaction is marked as follow-up.",
            "readOnly": true,
            "type": "boolean"
          },
          "is_hidden": {
            "description": "Whether the tweet is marked as hidden.",
            "type": "boolean"
          },
          "is_liked": {
            "description": "Whether the tweet is marked as liked.",
            "type": "boolean"
          },
          "is_owned": {
            "description": "Whether the brand posted this tweet.",
            "type": "boolean"
          },
          "is_quoted_by": {
            "description": "A list of the tweet IDs that quoted this tweet.",
            "items": {
              "description": "The tweet ID of the quote tweet.",
              "readOnly": true,
              "type": "string"
            },
            "readOnly": true,
            "type": "array"
          },
          "is_read": {
            "description": "Whether the community interaction is marked as read.",
            "readOnly": true,
            "type": "boolean"
          },
          "is_retweeted": {
            "description": "Whether the brand has retweeted the tweet.",
            "type": "boolean"
          },
          "media_id": {
            "description": "The ID of the media the comment was made on.",
            "readOnly": true,
            "type": "integer"
          },
          "media_type": {
            "description": "The media type of the post.",
            "enum": [
              "CAROUSEL_ALBUM",
              "IMAGE",
              "REELS",
              "SHORTS",
              "VIDEO"
            ],
            "readOnly": true,
            "type": "string"
          },
          "post_media": {
            "allOf": [
              {
                "$ref": "#/components/schemas/PostMedia"
              }
            ],
            "description": "Info about the media the comment was made on.",
            "nullable": true,
            "readOnly": true
          },
          "post_thumbnail_url": {
            "description": "The image thumbnail url of the original post.",
            "readOnly": true,
            "type": "string"
          },
          "quoted_status": {
            "allOf": [
              {
                "$ref": "#/components/schemas/TweetRelatedStatus"
              }
            ],
            "description": "The tweet that was quoted.",
            "readOnly": true
          },
          "retweeted_status": {
            "allOf": [
              {
                "$ref": "#/components/schemas/TweetRelatedStatus"
              }
            ],
            "description": "The retweeted tweet.",
            "readOnly": true
          },
          "search_result_snippet": {
            "description": "Indicates how many messages match the query.",
            "readOnly": true,
            "type": "string"
          },
          "sentiment": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Sentiment"
              }
            ],
            "description": "The comment sentiment.",
            "readOnly": true
          },
          "source_updated_at": {
            "description": "When the comment was created.",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          },
          "tag_ids": {
            "description": "List of tag IDs associated with the community interaction.",
            "items": {
              "type": "integer"
            },
            "type": "array"
          },
          "text": {
            "description": "The comment body.",
            "type": "string"
          },
          "tickets": {
            "description": "The tickets created for this community interaction.",
            "items": {
              "$ref": "#/components/schemas/CommunityInteractionTicket"
            },
            "readOnly": true,
            "type": "array"
          },
          "top_parent_status": {
            "allOf": [
              {
                "$ref": "#/components/schemas/TwitterTweet"
              }
            ],
            "description": "The top parent tweet.",
            "readOnly": true
          },
          "top_parent_tweet_id": {
            "description": "The ID of the top-most brand-mentioned or brand-owned tweet provided by Twitter.",
            "type": "string"
          },
          "twitter_parent_tweet_id": {
            "description": "The parent tweet ID provided by Twitter.",
            "type": "string"
          },
          "twitter_tweet_id": {
            "description": "The tweet ID provided by Twitter.",
            "readOnly": true,
            "type": "string"
          },
          "type": {
            "description": "The community interaction type.",
            "enum": [
              "COMMUNITY_INTERACTION",
              "FACEBOOK_COMMENT",
              "FACEBOOK_CONVERSATION",
              "INSTAGRAM_COMMENT",
              "INSTAGRAM_CONVERSATION",
              "TIKTOK_COMMENT",
              "TWITTER_CONVERSATION",
              "TWITTER_MENTION",
              "TWITTER_QUOTE",
              "TWITTER_RETWEET",
              "YOUTUBE_COMMENT"
            ],
            "readOnly": true,
            "type": "string"
          },
          "updated_at": {
            "description": "When the community interaction was last updated.",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          }
        },
        "required": [
          "is_owned",
          "text",
          "top_parent_tweet_id",
          "twitter_parent_tweet_id"
        ],
        "type": "object"
      },
      "TwitterTweetCreateParams": {
        "properties": {
          "brand_id": {
            "description": "The ID of the brand",
            "type": "integer"
          },
          "is_quote": {
            "description": "Whether the tweet is a quote.",
            "type": "boolean"
          },
          "parent_tweet_id": {
            "description": "The tweet ID that was replied to.",
            "type": "string"
          },
          "text": {
            "description": "The comment body.",
            "type": "string"
          }
        },
        "required": [
          "brand_id",
          "is_quote",
          "parent_tweet_id",
          "text"
        ],
        "type": "object"
      },
      "TwitterTweetData": {
        "properties": {
          "data": {
            "allOf": [
              {
                "$ref": "#/components/schemas/TwitterTweet"
              }
            ],
            "description": "Twitter tweet data",
            "readOnly": true
          }
        },
        "type": "object"
      },
      "TwitterTweetDetail": {
        "properties": {
          "assignee_id": {
            "description": "The ID of the user to whom the interaction is assigned.",
            "readOnly": true,
            "type": "integer"
          },
          "attachments": {
            "description": "A list of attachments from the tweet.",
            "items": {
              "description": "An attachment from the tweet.",
              "readOnly": true,
              "type": "object"
            },
            "readOnly": true,
            "type": "array"
          },
          "author_profile_picture_url": {
            "default": null,
            "description": "The profile picture URL of the author.",
            "nullable": true,
            "readOnly": true,
            "type": "string"
          },
          "author_user_id": {
            "description": "The user ID of the tweet author.",
            "readOnly": true,
            "type": "string"
          },
          "author_username": {
            "default": null,
            "description": "The handle of the author.",
            "nullable": true,
            "readOnly": true,
            "type": "string"
          },
          "brand_id": {
            "description": "The community interaction's brand ID.",
            "readOnly": true,
            "type": "integer"
          },
          "brand_user_reply": {
            "allOf": [
              {
                "$ref": "#/components/schemas/BrandUserReply"
              }
            ],
            "description": "Brand user that created the reply.",
            "nullable": true,
            "readOnly": true
          },
          "comment_count": {
            "description": "The total number of tweets on the Twitter post.",
            "type": "integer"
          },
          "created_at": {
            "description": "When the community interaction was created.",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          },
          "deleted_at": {
            "description": "When the community interaction was deleted.",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          },
          "id": {
            "description": "The community interaction's ID.",
            "readOnly": true,
            "type": "integer"
          },
          "is_archived": {
            "description": "Whether the community interaction is marked as archived.",
            "readOnly": true,
            "type": "boolean"
          },
          "is_author_blocked": {
            "description": "Whether the user is blocked.",
            "readOnly": true,
            "type": "boolean"
          },
          "is_follow_up": {
            "description": "Whether the community interaction is marked as follow-up.",
            "readOnly": true,
            "type": "boolean"
          },
          "is_hidden": {
            "description": "Whether the tweet is marked as hidden.",
            "type": "boolean"
          },
          "is_liked": {
            "description": "Whether the tweet is marked as liked.",
            "type": "boolean"
          },
          "is_owned": {
            "description": "Whether the brand posted this tweet.",
            "type": "boolean"
          },
          "is_quoted_by": {
            "description": "A list of the tweet IDs that quoted this tweet.",
            "items": {
              "description": "The tweet ID of the quote tweet.",
              "readOnly": true,
              "type": "string"
            },
            "readOnly": true,
            "type": "array"
          },
          "is_read": {
            "description": "Whether the community interaction is marked as read.",
            "readOnly": true,
            "type": "boolean"
          },
          "is_retweeted": {
            "description": "Whether the brand has retweeted the tweet.",
            "type": "boolean"
          },
          "media_comment_sentiment": {
            "allOf": [
              {
                "$ref": "#/components/schemas/MediaCommentSentiment"
              }
            ],
            "description": "The overall sentiment of the post tweets.",
            "readOnly": true
          },
          "media_id": {
            "description": "The ID of the media the comment was made on.",
            "readOnly": true,
            "type": "integer"
          },
          "media_type": {
            "description": "The media type of the post.",
            "enum": [
              "CAROUSEL_ALBUM",
              "IMAGE",
              "REELS",
              "SHORTS",
              "VIDEO"
            ],
            "readOnly": true,
            "type": "string"
          },
          "post_media": {
            "allOf": [
              {
                "$ref": "#/components/schemas/PostMedia"
              }
            ],
            "description": "Info about the media the comment was made on.",
            "nullable": true,
            "readOnly": true
          },
          "post_thumbnail_url": {
            "description": "The image thumbnail url of the original post.",
            "readOnly": true,
            "type": "string"
          },
          "quoted_status": {
            "allOf": [
              {
                "$ref": "#/components/schemas/TweetRelatedStatus"
              }
            ],
            "description": "The tweet that was quoted.",
            "readOnly": true
          },
          "replies": {
            "description": "A list of replies to the this tweet.",
            "items": {
              "$ref": "#/components/schemas/TwitterTweetWithDeletedAt"
            },
            "readOnly": true,
            "type": "array"
          },
          "retweeted_status": {
            "allOf": [
              {
                "$ref": "#/components/schemas/TweetRelatedStatus"
              }
            ],
            "description": "The retweeted tweet.",
            "readOnly": true
          },
          "search_result_snippet": {
            "description": "Indicates how many messages match the query.",
            "readOnly": true,
            "type": "string"
          },
          "sentiment": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Sentiment"
              }
            ],
            "description": "The comment sentiment.",
            "readOnly": true
          },
          "source_updated_at": {
            "description": "When the comment was created.",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          },
          "tag_ids": {
            "description": "List of tag IDs associated with the community interaction.",
            "items": {
              "type": "integer"
            },
            "type": "array"
          },
          "text": {
            "description": "The comment body.",
            "type": "string"
          },
          "tickets": {
            "description": "The tickets created for this community interaction.",
            "items": {
              "$ref": "#/components/schemas/CommunityInteractionTicket"
            },
            "readOnly": true,
            "type": "array"
          },
          "top_parent_status": {
            "allOf": [
              {
                "$ref": "#/components/schemas/TwitterTweetDetail"
              }
            ],
            "description": "The top parent tweet",
            "readOnly": true
          },
          "top_parent_tweet_id": {
            "description": "The ID of the top-most brand-mentioned or brand-owned tweet provided by Twitter.",
            "type": "string"
          },
          "twitter_parent_tweet_id": {
            "description": "The parent tweet ID provided by Twitter.",
            "type": "string"
          },
          "twitter_tweet_id": {
            "description": "The tweet ID provided by Twitter.",
            "readOnly": true,
            "type": "string"
          },
          "type": {
            "description": "The community interaction type.",
            "enum": [
              "COMMUNITY_INTERACTION",
              "FACEBOOK_COMMENT",
              "FACEBOOK_CONVERSATION",
              "INSTAGRAM_COMMENT",
              "INSTAGRAM_CONVERSATION",
              "TIKTOK_COMMENT",
              "TWITTER_CONVERSATION",
              "TWITTER_MENTION",
              "TWITTER_QUOTE",
              "TWITTER_RETWEET",
              "YOUTUBE_COMMENT"
            ],
            "readOnly": true,
            "type": "string"
          },
          "updated_at": {
            "description": "When the community interaction was last updated.",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          }
        },
        "required": [
          "author_user_id",
          "is_owned",
          "text",
          "top_parent_tweet_id",
          "twitter_parent_tweet_id"
        ],
        "type": "object"
      },
      "TwitterTweetUpdateParams": {
        "properties": {
          "is_hidden": {
            "description": "Whether the tweet is marked as hidden.",
            "type": "boolean"
          },
          "is_liked": {
            "description": "Whether the tweet is marked as liked.",
            "type": "boolean"
          },
          "is_retweeted": {
            "description": "Whether the brand has retweeted the tweet.",
            "type": "boolean"
          }
        },
        "type": "object"
      },
      "TwitterTweetWithDeletedAt": {
        "properties": {
          "assignee_id": {
            "description": "The ID of the user to whom the interaction is assigned.",
            "readOnly": true,
            "type": "integer"
          },
          "attachments": {
            "description": "A list of attachments from the tweet.",
            "items": {
              "description": "An attachment from the tweet.",
              "readOnly": true,
              "type": "object"
            },
            "readOnly": true,
            "type": "array"
          },
          "author_profile_picture_url": {
            "default": null,
            "description": "The profile picture URL of the author.",
            "nullable": true,
            "readOnly": true,
            "type": "string"
          },
          "author_username": {
            "default": null,
            "description": "The handle of the author.",
            "nullable": true,
            "readOnly": true,
            "type": "string"
          },
          "brand_id": {
            "description": "The community interaction's brand ID.",
            "readOnly": true,
            "type": "integer"
          },
          "brand_user_reply": {
            "allOf": [
              {
                "$ref": "#/components/schemas/BrandUserReply"
              }
            ],
            "description": "Brand user that created the reply.",
            "nullable": true,
            "readOnly": true
          },
          "created_at": {
            "description": "When the community interaction was created.",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          },
          "deleted_at": {
            "description": "When the community interaction was deleted.",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          },
          "id": {
            "description": "The community interaction's ID.",
            "readOnly": true,
            "type": "integer"
          },
          "is_archived": {
            "description": "Whether the community interaction is marked as archived.",
            "readOnly": true,
            "type": "boolean"
          },
          "is_author_blocked": {
            "description": "Whether the user is blocked.",
            "readOnly": true,
            "type": "boolean"
          },
          "is_follow_up": {
            "description": "Whether the community interaction is marked as follow-up.",
            "readOnly": true,
            "type": "boolean"
          },
          "is_hidden": {
            "description": "Whether the tweet is marked as hidden.",
            "type": "boolean"
          },
          "is_liked": {
            "description": "Whether the tweet is marked as liked.",
            "type": "boolean"
          },
          "is_owned": {
            "description": "Whether the brand posted this tweet.",
            "type": "boolean"
          },
          "is_quoted_by": {
            "description": "A list of the tweet IDs that quoted this tweet.",
            "items": {
              "description": "The tweet ID of the quote tweet.",
              "readOnly": true,
              "type": "string"
            },
            "readOnly": true,
            "type": "array"
          },
          "is_read": {
            "description": "Whether the community interaction is marked as read.",
            "readOnly": true,
            "type": "boolean"
          },
          "is_retweeted": {
            "description": "Whether the brand has retweeted the tweet.",
            "type": "boolean"
          },
          "media_id": {
            "description": "The ID of the media the comment was made on.",
            "readOnly": true,
            "type": "integer"
          },
          "media_type": {
            "description": "The media type of the post.",
            "enum": [
              "CAROUSEL_ALBUM",
              "IMAGE",
              "REELS",
              "SHORTS",
              "VIDEO"
            ],
            "readOnly": true,
            "type": "string"
          },
          "post_media": {
            "allOf": [
              {
                "$ref": "#/components/schemas/PostMedia"
              }
            ],
            "description": "Info about the media the comment was made on.",
            "nullable": true,
            "readOnly": true
          },
          "post_thumbnail_url": {
            "description": "The image thumbnail url of the original post.",
            "readOnly": true,
            "type": "string"
          },
          "quoted_status": {
            "allOf": [
              {
                "$ref": "#/components/schemas/TweetRelatedStatus"
              }
            ],
            "description": "The tweet that was quoted.",
            "readOnly": true
          },
          "retweeted_status": {
            "allOf": [
              {
                "$ref": "#/components/schemas/TweetRelatedStatus"
              }
            ],
            "description": "The retweeted tweet.",
            "readOnly": true
          },
          "search_result_snippet": {
            "description": "Indicates how many messages match the query.",
            "readOnly": true,
            "type": "string"
          },
          "sentiment": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Sentiment"
              }
            ],
            "description": "The comment sentiment.",
            "readOnly": true
          },
          "source_updated_at": {
            "description": "When the comment was created.",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          },
          "tag_ids": {
            "description": "List of tag IDs associated with the community interaction.",
            "items": {
              "type": "integer"
            },
            "type": "array"
          },
          "text": {
            "description": "The comment body.",
            "type": "string"
          },
          "tickets": {
            "description": "The tickets created for this community interaction.",
            "items": {
              "$ref": "#/components/schemas/CommunityInteractionTicket"
            },
            "readOnly": true,
            "type": "array"
          },
          "top_parent_status": {
            "allOf": [
              {
                "$ref": "#/components/schemas/TwitterTweet"
              }
            ],
            "description": "The top parent tweet.",
            "readOnly": true
          },
          "top_parent_tweet_id": {
            "description": "The ID of the top-most brand-mentioned or brand-owned tweet provided by Twitter.",
            "type": "string"
          },
          "twitter_parent_tweet_id": {
            "description": "The parent tweet ID provided by Twitter.",
            "type": "string"
          },
          "twitter_tweet_id": {
            "description": "The tweet ID provided by Twitter.",
            "readOnly": true,
            "type": "string"
          },
          "type": {
            "description": "The community interaction type.",
            "enum": [
              "COMMUNITY_INTERACTION",
              "FACEBOOK_COMMENT",
              "FACEBOOK_CONVERSATION",
              "INSTAGRAM_COMMENT",
              "INSTAGRAM_CONVERSATION",
              "TIKTOK_COMMENT",
              "TWITTER_CONVERSATION",
              "TWITTER_MENTION",
              "TWITTER_QUOTE",
              "TWITTER_RETWEET",
              "YOUTUBE_COMMENT"
            ],
            "readOnly": true,
            "type": "string"
          },
          "updated_at": {
            "description": "When the community interaction was last updated.",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          }
        },
        "required": [
          "is_owned",
          "text",
          "top_parent_tweet_id",
          "twitter_parent_tweet_id"
        ],
        "type": "object"
      },
      "TwitterTweetWithReplies": {
        "properties": {
          "assignee_id": {
            "description": "The ID of the user to whom the interaction is assigned.",
            "readOnly": true,
            "type": "integer"
          },
          "attachments": {
            "description": "A list of attachments from the tweet.",
            "items": {
              "description": "An attachment from the tweet.",
              "readOnly": true,
              "type": "object"
            },
            "readOnly": true,
            "type": "array"
          },
          "author_profile_picture_url": {
            "default": null,
            "description": "The profile picture URL of the author.",
            "nullable": true,
            "readOnly": true,
            "type": "string"
          },
          "author_username": {
            "default": null,
            "description": "The handle of the author.",
            "nullable": true,
            "readOnly": true,
            "type": "string"
          },
          "brand_id": {
            "description": "The community interaction's brand ID.",
            "readOnly": true,
            "type": "integer"
          },
          "brand_user_reply": {
            "allOf": [
              {
                "$ref": "#/components/schemas/BrandUserReply"
              }
            ],
            "description": "Brand user that created the reply.",
            "nullable": true,
            "readOnly": true
          },
          "created_at": {
            "description": "When the community interaction was created.",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          },
          "deleted_at": {
            "description": "When the community interaction was deleted.",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          },
          "id": {
            "description": "The community interaction's ID.",
            "readOnly": true,
            "type": "integer"
          },
          "is_archived": {
            "description": "Whether the community interaction is marked as archived.",
            "readOnly": true,
            "type": "boolean"
          },
          "is_author_blocked": {
            "description": "Whether the user is blocked.",
            "readOnly": true,
            "type": "boolean"
          },
          "is_follow_up": {
            "description": "Whether the community interaction is marked as follow-up.",
            "readOnly": true,
            "type": "boolean"
          },
          "is_hidden": {
            "description": "Whether the tweet is marked as hidden.",
            "type": "boolean"
          },
          "is_liked": {
            "description": "Whether the tweet is marked as liked.",
            "type": "boolean"
          },
          "is_owned": {
            "description": "Whether the brand posted this tweet.",
            "type": "boolean"
          },
          "is_quoted_by": {
            "description": "A list of the tweet IDs that quoted this tweet.",
            "items": {
              "description": "The tweet ID of the quote tweet.",
              "readOnly": true,
              "type": "string"
            },
            "readOnly": true,
            "type": "array"
          },
          "is_read": {
            "description": "Whether the community interaction is marked as read.",
            "readOnly": true,
            "type": "boolean"
          },
          "is_retweeted": {
            "description": "Whether the brand has retweeted the tweet.",
            "type": "boolean"
          },
          "media_id": {
            "description": "The ID of the media the comment was made on.",
            "readOnly": true,
            "type": "integer"
          },
          "media_type": {
            "description": "The media type of the post.",
            "enum": [
              "CAROUSEL_ALBUM",
              "IMAGE",
              "REELS",
              "SHORTS",
              "VIDEO"
            ],
            "readOnly": true,
            "type": "string"
          },
          "post_media": {
            "allOf": [
              {
                "$ref": "#/components/schemas/PostMedia"
              }
            ],
            "description": "Info about the media the comment was made on.",
            "nullable": true,
            "readOnly": true
          },
          "post_thumbnail_url": {
            "description": "The image thumbnail url of the original post.",
            "readOnly": true,
            "type": "string"
          },
          "quoted_status": {
            "allOf": [
              {
                "$ref": "#/components/schemas/TweetRelatedStatus"
              }
            ],
            "description": "The tweet that was quoted.",
            "readOnly": true
          },
          "replies": {
            "description": "A list of replies to the this tweet.",
            "items": {
              "$ref": "#/components/schemas/TwitterTweetWithDeletedAt"
            },
            "readOnly": true,
            "type": "array"
          },
          "retweeted_status": {
            "allOf": [
              {
                "$ref": "#/components/schemas/TweetRelatedStatus"
              }
            ],
            "description": "The retweeted tweet.",
            "readOnly": true
          },
          "search_result_snippet": {
            "description": "Indicates how many messages match the query.",
            "readOnly": true,
            "type": "string"
          },
          "sentiment": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Sentiment"
              }
            ],
            "description": "The comment sentiment.",
            "readOnly": true
          },
          "source_updated_at": {
            "description": "When the comment was created.",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          },
          "tag_ids": {
            "description": "List of tag IDs associated with the community interaction.",
            "items": {
              "type": "integer"
            },
            "type": "array"
          },
          "text": {
            "description": "The comment body.",
            "type": "string"
          },
          "tickets": {
            "description": "The tickets created for this community interaction.",
            "items": {
              "$ref": "#/components/schemas/CommunityInteractionTicket"
            },
            "readOnly": true,
            "type": "array"
          },
          "top_parent_status": {
            "allOf": [
              {
                "$ref": "#/components/schemas/TwitterTweet"
              }
            ],
            "description": "The top parent tweet.",
            "readOnly": true
          },
          "top_parent_tweet_id": {
            "description": "The ID of the top-most brand-mentioned or brand-owned tweet provided by Twitter.",
            "type": "string"
          },
          "twitter_parent_tweet_id": {
            "description": "The parent tweet ID provided by Twitter.",
            "type": "string"
          },
          "twitter_tweet_id": {
            "description": "The tweet ID provided by Twitter.",
            "readOnly": true,
            "type": "string"
          },
          "type": {
            "description": "The community interaction type.",
            "enum": [
              "COMMUNITY_INTERACTION",
              "FACEBOOK_COMMENT",
              "FACEBOOK_CONVERSATION",
              "INSTAGRAM_COMMENT",
              "INSTAGRAM_CONVERSATION",
              "TIKTOK_COMMENT",
              "TWITTER_CONVERSATION",
              "TWITTER_MENTION",
              "TWITTER_QUOTE",
              "TWITTER_RETWEET",
              "YOUTUBE_COMMENT"
            ],
            "readOnly": true,
            "type": "string"
          },
          "updated_at": {
            "description": "When the community interaction was last updated.",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          }
        },
        "required": [
          "is_owned",
          "text",
          "top_parent_tweet_id",
          "twitter_parent_tweet_id"
        ],
        "type": "object"
      },
      "TwitterTweetsData": {
        "properties": {
          "data": {
            "description": "List of Twitter tweet data",
            "items": {
              "$ref": "#/components/schemas/TwitterTweetWithReplies"
            },
            "readOnly": true,
            "type": "array"
          },
          "paging": {
            "allOf": [
              {
                "$ref": "#/components/schemas/PagingData"
              }
            ],
            "description": "Paging data",
            "readOnly": true
          }
        },
        "type": "object"
      },
      "UpdateCommunityInteractions": {
        "properties": {
          "is_archived": {
            "description": "Mark the community interaction as archived.",
            "type": "boolean"
          },
          "is_author_blocked": {
            "description": "Mark the user as blocked.",
            "type": "boolean"
          },
          "is_follow_up": {
            "description": "Mark the community interaction as needing a follow-up.",
            "type": "boolean"
          },
          "is_read": {
            "description": "Mark the community interaction as read.",
            "type": "boolean"
          },
          "sentiment_override": {
            "description": "Manual override of the sentiment detected",
            "enum": [
              "NEGATIVE",
              "NEUTRAL",
              "POSITIVE"
            ],
            "type": "string"
          },
          "tag_ids": {
            "allOf": [
              {
                "$ref": "#/components/schemas/TagsUpdate"
              }
            ],
            "description": "Tag IDs to be added or removed."
          }
        },
        "type": "object"
      },
      "UpdateCommunityInteractionsAsDataClass": {
        "properties": {
          "is_archived": {
            "description": "Mark the community interaction as archived.",
            "type": "boolean"
          },
          "is_author_blocked": {
            "description": "Mark the user as blocked.",
            "type": "boolean"
          },
          "is_follow_up": {
            "description": "Mark the community interaction as needing a follow-up.",
            "type": "boolean"
          },
          "is_read": {
            "description": "Mark the community interaction as read.",
            "type": "boolean"
          },
          "sentiment_override": {
            "description": "Manual override of the sentiment detected",
            "enum": [
              "NEGATIVE",
              "NEUTRAL",
              "POSITIVE"
            ],
            "type": "string"
          },
          "tag_ids": {
            "allOf": [
              {
                "$ref": "#/components/schemas/TagsUpdate"
              }
            ],
            "description": "Tag IDs to be added or removed."
          }
        },
        "type": "object"
      },
      "UpdateInstagramMessage": {
        "properties": {
          "reaction": {
            "description": "The name of the reaction, or null to remove the reaction",
            "enum": [
              "love",
              "angry",
              "sad",
              "wow",
              "like",
              "laugh",
              "other",
              null
            ],
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "reaction"
        ],
        "type": "object"
      },
      "UpdateInteractionRuleRequest": {
        "properties": {
          "detail": {
            "allOf": [
              {
                "$ref": "#/components/schemas/InteractionRuleDetail"
              }
            ],
            "description": "The JSON interaction rule detail"
          },
          "enabled": {
            "description": "Whether the rule is enabled or not",
            "type": "boolean"
          },
          "name": {
            "description": "The name used to identify the rule.",
            "type": "string"
          }
        },
        "type": "object"
      },
      "UpdatePresetReply": {
        "properties": {
          "message": {
            "description": "The text of the preset reply.",
            "type": "string"
          },
          "title": {
            "description": "The title of the preset reply.",
            "type": "string"
          }
        },
        "type": "object"
      },
      "YouTubeComment": {
        "properties": {
          "assignee_id": {
            "description": "The ID of the user to whom the interaction is assigned.",
            "readOnly": true,
            "type": "integer"
          },
          "author_profile_picture_url": {
            "default": null,
            "description": "The profile picture URL of the author.",
            "nullable": true,
            "readOnly": true,
            "type": "string"
          },
          "author_user_id": {
            "description": "The YouTube channel ID of the video author.",
            "readOnly": true,
            "type": "string"
          },
          "author_username": {
            "default": null,
            "description": "The handle of the author.",
            "nullable": true,
            "readOnly": true,
            "type": "string"
          },
          "brand_id": {
            "description": "The community interaction's brand ID.",
            "readOnly": true,
            "type": "integer"
          },
          "brand_user_reply": {
            "allOf": [
              {
                "$ref": "#/components/schemas/BrandUserReply"
              }
            ],
            "description": "Brand user that created the reply.",
            "nullable": true,
            "readOnly": true
          },
          "created_at": {
            "description": "When the community interaction was created.",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          },
          "deleted_at": {
            "description": "The comment deletion timestamp.",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          },
          "id": {
            "description": "The community interaction's ID.",
            "readOnly": true,
            "type": "integer"
          },
          "is_archived": {
            "description": "Whether the community interaction is marked as archived.",
            "readOnly": true,
            "type": "boolean"
          },
          "is_author_blocked": {
            "description": "Whether the user is blocked.",
            "readOnly": true,
            "type": "boolean"
          },
          "is_follow_up": {
            "description": "Whether the community interaction is marked as follow-up.",
            "readOnly": true,
            "type": "boolean"
          },
          "is_owned": {
            "description": "Whether the brand posted this comment.",
            "type": "boolean"
          },
          "is_read": {
            "description": "Whether the community interaction is marked as read.",
            "readOnly": true,
            "type": "boolean"
          },
          "media_id": {
            "description": "The ID of the media the comment was made on.",
            "readOnly": true,
            "type": "integer"
          },
          "media_type": {
            "description": "The media type of the video.",
            "enum": [
              "CAROUSEL_ALBUM",
              "IMAGE",
              "REELS",
              "SHORTS",
              "VIDEO"
            ],
            "readOnly": true,
            "type": "string"
          },
          "post_media": {
            "allOf": [
              {
                "$ref": "#/components/schemas/PostMedia"
              }
            ],
            "description": "Info about the media the comment was made on.",
            "nullable": true,
            "readOnly": true
          },
          "post_thumbnail_url": {
            "description": "The image thumbnail url of the original post.",
            "readOnly": true,
            "type": "string"
          },
          "search_result_snippet": {
            "description": "Indicates how many messages match the query.",
            "readOnly": true,
            "type": "string"
          },
          "sentiment": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Sentiment"
              }
            ],
            "description": "The comment sentiment.",
            "readOnly": true
          },
          "source_updated_at": {
            "description": "When the comment was created.",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          },
          "tag_ids": {
            "description": "List of tag IDs associated with the community interaction.",
            "items": {
              "type": "integer"
            },
            "type": "array"
          },
          "text": {
            "description": "The comment body.",
            "type": "string"
          },
          "tickets": {
            "description": "The tickets created for this community interaction.",
            "items": {
              "$ref": "#/components/schemas/CommunityInteractionTicket"
            },
            "readOnly": true,
            "type": "array"
          },
          "type": {
            "description": "The community interaction type.",
            "enum": [
              "COMMUNITY_INTERACTION",
              "FACEBOOK_COMMENT",
              "FACEBOOK_CONVERSATION",
              "INSTAGRAM_COMMENT",
              "INSTAGRAM_CONVERSATION",
              "TIKTOK_COMMENT",
              "TWITTER_CONVERSATION",
              "TWITTER_MENTION",
              "TWITTER_QUOTE",
              "TWITTER_RETWEET",
              "YOUTUBE_COMMENT"
            ],
            "readOnly": true,
            "type": "string"
          },
          "updated_at": {
            "description": "When the community interaction was last updated.",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          },
          "youtube_comment_id": {
            "description": "The comment ID provided by YouTube.",
            "readOnly": true,
            "type": "string"
          },
          "youtube_parent_comment_id": {
            "description": "The parent comment ID provided by YouTube.",
            "type": "string"
          }
        },
        "required": [
          "author_user_id",
          "is_owned",
          "text",
          "youtube_parent_comment_id"
        ],
        "type": "object"
      },
      "YouTubeCommentDetail": {
        "properties": {
          "assignee_id": {
            "description": "The ID of the user to whom the interaction is assigned.",
            "readOnly": true,
            "type": "integer"
          },
          "author_profile_picture_url": {
            "default": null,
            "description": "The profile picture URL of the author.",
            "nullable": true,
            "readOnly": true,
            "type": "string"
          },
          "author_user_id": {
            "description": "The YouTube channel ID of the video author.",
            "readOnly": true,
            "type": "string"
          },
          "author_username": {
            "default": null,
            "description": "The handle of the author.",
            "nullable": true,
            "readOnly": true,
            "type": "string"
          },
          "brand_id": {
            "description": "The community interaction's brand ID.",
            "readOnly": true,
            "type": "integer"
          },
          "brand_user_reply": {
            "allOf": [
              {
                "$ref": "#/components/schemas/BrandUserReply"
              }
            ],
            "description": "Brand user that created the reply.",
            "nullable": true,
            "readOnly": true
          },
          "comment_count": {
            "description": "The total number of root-level comments on the YouTube video.",
            "type": "integer"
          },
          "created_at": {
            "description": "When the community interaction was created.",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          },
          "deleted_at": {
            "description": "The comment deletion timestamp.",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          },
          "id": {
            "description": "The community interaction's ID.",
            "readOnly": true,
            "type": "integer"
          },
          "is_archived": {
            "description": "Whether the community interaction is marked as archived.",
            "readOnly": true,
            "type": "boolean"
          },
          "is_author_blocked": {
            "description": "Whether the user is blocked.",
            "readOnly": true,
            "type": "boolean"
          },
          "is_follow_up": {
            "description": "Whether the community interaction is marked as follow-up.",
            "readOnly": true,
            "type": "boolean"
          },
          "is_owned": {
            "description": "Whether the brand posted this comment.",
            "type": "boolean"
          },
          "is_read": {
            "description": "Whether the community interaction is marked as read.",
            "readOnly": true,
            "type": "boolean"
          },
          "media_comment_sentiment": {
            "allOf": [
              {
                "$ref": "#/components/schemas/MediaCommentSentiment"
              }
            ],
            "description": "The overall sentiment of the post's comments.",
            "readOnly": true
          },
          "media_id": {
            "description": "The ID of the media the comment was made on.",
            "readOnly": true,
            "type": "integer"
          },
          "media_type": {
            "description": "The media type of the video.",
            "enum": [
              "CAROUSEL_ALBUM",
              "IMAGE",
              "REELS",
              "SHORTS",
              "VIDEO"
            ],
            "readOnly": true,
            "type": "string"
          },
          "post_media": {
            "allOf": [
              {
                "$ref": "#/components/schemas/PostMedia"
              }
            ],
            "description": "Info about the media the comment was made on.",
            "nullable": true,
            "readOnly": true
          },
          "post_thumbnail_url": {
            "description": "The image thumbnail url of the original post.",
            "readOnly": true,
            "type": "string"
          },
          "replies": {
            "description": "A list of replies to the this comment.",
            "items": {
              "$ref": "#/components/schemas/YouTubeComment"
            },
            "readOnly": true,
            "type": "array"
          },
          "search_result_snippet": {
            "description": "Indicates how many messages match the query.",
            "readOnly": true,
            "type": "string"
          },
          "sentiment": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Sentiment"
              }
            ],
            "description": "The comment sentiment.",
            "readOnly": true
          },
          "source_updated_at": {
            "description": "When the comment was created.",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          },
          "tag_ids": {
            "description": "List of tag IDs associated with the community interaction.",
            "items": {
              "type": "integer"
            },
            "type": "array"
          },
          "text": {
            "description": "The comment body.",
            "type": "string"
          },
          "tickets": {
            "description": "The tickets created for this community interaction.",
            "items": {
              "$ref": "#/components/schemas/CommunityInteractionTicket"
            },
            "readOnly": true,
            "type": "array"
          },
          "type": {
            "description": "The community interaction type.",
            "enum": [
              "COMMUNITY_INTERACTION",
              "FACEBOOK_COMMENT",
              "FACEBOOK_CONVERSATION",
              "INSTAGRAM_COMMENT",
              "INSTAGRAM_CONVERSATION",
              "TIKTOK_COMMENT",
              "TWITTER_CONVERSATION",
              "TWITTER_MENTION",
              "TWITTER_QUOTE",
              "TWITTER_RETWEET",
              "YOUTUBE_COMMENT"
            ],
            "readOnly": true,
            "type": "string"
          },
          "updated_at": {
            "description": "When the community interaction was last updated.",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          },
          "youtube_comment_id": {
            "description": "The comment ID provided by YouTube.",
            "readOnly": true,
            "type": "string"
          },
          "youtube_parent_comment_id": {
            "description": "The parent comment ID provided by YouTube.",
            "type": "string"
          }
        },
        "required": [
          "author_user_id",
          "is_owned",
          "text",
          "youtube_parent_comment_id"
        ],
        "type": "object"
      },
      "YouTubeCommentWithReplies": {
        "properties": {
          "assignee_id": {
            "description": "The ID of the user to whom the interaction is assigned.",
            "readOnly": true,
            "type": "integer"
          },
          "author_profile_picture_url": {
            "default": null,
            "description": "The profile picture URL of the author.",
            "nullable": true,
            "readOnly": true,
            "type": "string"
          },
          "author_user_id": {
            "description": "The YouTube channel ID of the video author.",
            "readOnly": true,
            "type": "string"
          },
          "author_username": {
            "default": null,
            "description": "The handle of the author.",
            "nullable": true,
            "readOnly": true,
            "type": "string"
          },
          "brand_id": {
            "description": "The community interaction's brand ID.",
            "readOnly": true,
            "type": "integer"
          },
          "brand_user_reply": {
            "allOf": [
              {
                "$ref": "#/components/schemas/BrandUserReply"
              }
            ],
            "description": "Brand user that created the reply.",
            "nullable": true,
            "readOnly": true
          },
          "created_at": {
            "description": "When the community interaction was created.",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          },
          "deleted_at": {
            "description": "The comment deletion timestamp.",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          },
          "id": {
            "description": "The community interaction's ID.",
            "readOnly": true,
            "type": "integer"
          },
          "is_archived": {
            "description": "Whether the community interaction is marked as archived.",
            "readOnly": true,
            "type": "boolean"
          },
          "is_author_blocked": {
            "description": "Whether the user is blocked.",
            "readOnly": true,
            "type": "boolean"
          },
          "is_follow_up": {
            "description": "Whether the community interaction is marked as follow-up.",
            "readOnly": true,
            "type": "boolean"
          },
          "is_owned": {
            "description": "Whether the brand posted this comment.",
            "type": "boolean"
          },
          "is_read": {
            "description": "Whether the community interaction is marked as read.",
            "readOnly": true,
            "type": "boolean"
          },
          "media_id": {
            "description": "The ID of the media the comment was made on.",
            "readOnly": true,
            "type": "integer"
          },
          "media_type": {
            "description": "The media type of the video.",
            "enum": [
              "CAROUSEL_ALBUM",
              "IMAGE",
              "REELS",
              "SHORTS",
              "VIDEO"
            ],
            "readOnly": true,
            "type": "string"
          },
          "post_media": {
            "allOf": [
              {
                "$ref": "#/components/schemas/PostMedia"
              }
            ],
            "description": "Info about the media the comment was made on.",
            "nullable": true,
            "readOnly": true
          },
          "post_thumbnail_url": {
            "description": "The image thumbnail url of the original post.",
            "readOnly": true,
            "type": "string"
          },
          "replies": {
            "description": "A list of replies to the this comment.",
            "items": {
              "$ref": "#/components/schemas/YouTubeComment"
            },
            "readOnly": true,
            "type": "array"
          },
          "search_result_snippet": {
            "description": "Indicates how many messages match the query.",
            "readOnly": true,
            "type": "string"
          },
          "sentiment": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Sentiment"
              }
            ],
            "description": "The comment sentiment.",
            "readOnly": true
          },
          "source_updated_at": {
            "description": "When the comment was created.",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          },
          "tag_ids": {
            "description": "List of tag IDs associated with the community interaction.",
            "items": {
              "type": "integer"
            },
            "type": "array"
          },
          "text": {
            "description": "The comment body.",
            "type": "string"
          },
          "tickets": {
            "description": "The tickets created for this community interaction.",
            "items": {
              "$ref": "#/components/schemas/CommunityInteractionTicket"
            },
            "readOnly": true,
            "type": "array"
          },
          "type": {
            "description": "The community interaction type.",
            "enum": [
              "COMMUNITY_INTERACTION",
              "FACEBOOK_COMMENT",
              "FACEBOOK_CONVERSATION",
              "INSTAGRAM_COMMENT",
              "INSTAGRAM_CONVERSATION",
              "TIKTOK_COMMENT",
              "TWITTER_CONVERSATION",
              "TWITTER_MENTION",
              "TWITTER_QUOTE",
              "TWITTER_RETWEET",
              "YOUTUBE_COMMENT"
            ],
            "readOnly": true,
            "type": "string"
          },
          "updated_at": {
            "description": "When the community interaction was last updated.",
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          },
          "youtube_comment_id": {
            "description": "The comment ID provided by YouTube.",
            "readOnly": true,
            "type": "string"
          },
          "youtube_parent_comment_id": {
            "description": "The parent comment ID provided by YouTube.",
            "type": "string"
          }
        },
        "required": [
          "author_user_id",
          "is_owned",
          "text",
          "youtube_parent_comment_id"
        ],
        "type": "object"
      },
      "YouTubeCommentsData": {
        "properties": {
          "data": {
            "description": "A list of YouTube comments.",
            "items": {
              "$ref": "#/components/schemas/YouTubeCommentWithReplies"
            },
            "readOnly": true,
            "type": "array"
          },
          "paging": {
            "allOf": [
              {
                "$ref": "#/components/schemas/PagingData"
              }
            ],
            "description": "Paging data",
            "readOnly": true
          }
        },
        "type": "object"
      },
      "CommunityOverviewMultiBrandTimeSeriesJSON": {
        "additionalProperties": false,
        "properties": {
          "brand_ids": {
            "description": "List of brand IDs to fetch sentiment time series for",
            "items": {
              "type": "integer"
            },
            "type": "array"
          },
          "ai_category_ids": {
            "description": "Comma separated list of AI category IDs to filter by",
            "items": {
              "type": "integer"
            },
            "type": "array"
          },
          "assignee_id": {
            "description": "ID of the assigned user",
            "type": "integer"
          },
          "assignee_ids": {
            "description": "Comma separated list of assignee user IDs to filter by",
            "items": {
              "type": "integer"
            },
            "type": "array"
          },
          "deleted_by": {
            "description": "Filter by interactions that were deleted by user or rule",
            "enum": [
              "RULE",
              "USER"
            ],
            "type": "string"
          },
          "interaction_rule_id": {
            "description": "The interaction rule by which to filter stats",
            "type": "integer"
          },
          "interaction_rule_ids": {
            "description": "List of interaction rule IDs to filter results by.",
            "items": {
              "type": "integer"
            },
            "type": "array"
          },
          "is_archived": {
            "description": "Whether the community interaction is marked as archived.",
            "type": "boolean"
          },
          "is_follow_up": {
            "description": "Whether the community interaction is marked as follow-up.",
            "type": "boolean"
          },
          "is_negative": {
            "description": "Is the comment is labeled as positive.",
            "type": "boolean"
          },
          "is_neutral": {
            "description": "Is the comment is labeled as positive.",
            "type": "boolean"
          },
          "is_positive": {
            "description": "Is the comment is labeled as positive.",
            "type": "boolean"
          },
          "is_question": {
            "description": "Is the comment a question.",
            "type": "boolean"
          },
          "is_read": {
            "description": "Whether the community interaction is marked as read.",
            "type": "boolean"
          },
          "is_spam": {
            "description": "Is the comment spam.",
            "type": "boolean"
          },
          "media_ids": {
            "description": "Comma separated list of library media IDs",
            "items": {
              "type": "integer"
            },
            "type": "array"
          },
          "message_content": {
            "description": "Message content type to filter by",
            "items": {
              "enum": [
                "EMOJI_ONLY",
                "GIF_ONLY",
                "HASHTAG_ONLY",
                "LINK_ONLY",
                "MENTION_ONLY",
                "ONE_WORD_ONLY",
                "UNSUPPORTED"
              ],
              "type": "string"
            },
            "type": "array"
          },
          "multiple_keywords": {
            "description": "Flag to determine if query is a list of comma separated keywords.",
            "type": "boolean"
          },
          "operators": {
            "additionalProperties": {
              "type": "string"
            },
            "description": "A map of field names, from this schema (and parent schemas), that operators types are provided for.",
            "type": "object"
          },
          "query": {
            "description": "A text that helps search for relevant records.",
            "type": "string"
          },
          "response_recommended": {
            "description": "Determine if a response is recommended for the interaction.",
            "type": "boolean"
          },
          "scale": {
            "description": "Scale of time series data.",
            "enum": [
              "DAY",
              "HOUR",
              "MONTH",
              "QUARTER",
              "WEEK"
            ],
            "type": "string"
          },
          "source_updated_after": {
            "description": "When the community interaction was updated according to the source platform.",
            "format": "date-time",
            "type": "string"
          },
          "source_updated_before": {
            "description": "When the community interaction was updated according to the source platform.",
            "format": "date-time",
            "type": "string"
          },
          "subtype": {
            "description": "Subtypes to filter by",
            "items": {
              "enum": [
                "POST_SHARE",
                "REEL_SHARE",
                "STORY_MENTION",
                "STORY_REPLY"
              ],
              "type": "string"
            },
            "type": "array"
          },
          "tag_ids": {
            "description": "Comma separated list of tag IDs to filter results by. Condition is AND",
            "items": {
              "type": "integer"
            },
            "type": "array"
          },
          "ticket_id": {
            "description": "A ticket ID to filter results by with OR condition.",
            "type": "string"
          },
          "types": {
            "description": "Comma separated list of types.",
            "items": {
              "enum": [
                "FACEBOOK_ADS_COMMENT",
                "FACEBOOK_COMMENT",
                "FACEBOOK_CONVERSATION",
                "INSTAGRAM_ADS_COMMENT",
                "INSTAGRAM_COMMENT",
                "INSTAGRAM_CONVERSATION",
                "TIKTOK_CAPTION_MENTION",
                "TIKTOK_COMMENT",
                "TIKTOK_COMMENT_MENTION",
                "TWITTER_CONVERSATION",
                "TWITTER_MENTION",
                "TWITTER_QUOTE",
                "TWITTER_RETWEET",
                "YOUTUBE_COMMENT"
              ],
              "type": "string"
            },
            "type": "array"
          }
        },
        "required": [
          "brand_ids"
        ],
        "type": "object"
      },
      "CommunityOverviewSentimentTimeSeriesJSON": {
        "additionalProperties": false,
        "properties": {
          "brand_ids": {
            "description": "List of brand IDs to fetch sentiment time series for",
            "items": {
              "type": "integer"
            },
            "type": "array"
          },
          "ai_category_ids": {
            "description": "Comma separated list of AI category IDs to filter by",
            "items": {
              "type": "integer"
            },
            "type": "array"
          },
          "assignee_id": {
            "description": "ID of the assigned user",
            "type": "integer"
          },
          "assignee_ids": {
            "description": "Comma separated list of assignee user IDs to filter by",
            "items": {
              "type": "integer"
            },
            "type": "array"
          },
          "deleted_by": {
            "description": "Filter by interactions that were deleted by user or rule",
            "enum": [
              "RULE",
              "USER"
            ],
            "type": "string"
          },
          "interaction_rule_id": {
            "description": "The interaction rule by which to filter stats",
            "type": "integer"
          },
          "interaction_rule_ids": {
            "description": "List of interaction rule IDs to filter results by.",
            "items": {
              "type": "integer"
            },
            "type": "array"
          },
          "is_archived": {
            "description": "Whether the community interaction is marked as archived.",
            "type": "boolean"
          },
          "is_follow_up": {
            "description": "Whether the community interaction is marked as follow-up.",
            "type": "boolean"
          },
          "is_negative": {
            "description": "Is the comment is labeled as positive.",
            "type": "boolean"
          },
          "is_neutral": {
            "description": "Is the comment is labeled as positive.",
            "type": "boolean"
          },
          "is_positive": {
            "description": "Is the comment is labeled as positive.",
            "type": "boolean"
          },
          "is_question": {
            "description": "Is the comment a question.",
            "type": "boolean"
          },
          "is_read": {
            "description": "Whether the community interaction is marked as read.",
            "type": "boolean"
          },
          "is_spam": {
            "description": "Is the comment spam.",
            "type": "boolean"
          },
          "media_ids": {
            "description": "Comma separated list of library media IDs",
            "items": {
              "type": "integer"
            },
            "type": "array"
          },
          "message_content": {
            "description": "Message content type to filter by",
            "items": {
              "enum": [
                "EMOJI_ONLY",
                "GIF_ONLY",
                "HASHTAG_ONLY",
                "LINK_ONLY",
                "MENTION_ONLY",
                "ONE_WORD_ONLY",
                "UNSUPPORTED"
              ],
              "type": "string"
            },
            "type": "array"
          },
          "multiple_keywords": {
            "description": "Flag to determine if query is a list of comma separated keywords.",
            "type": "boolean"
          },
          "operators": {
            "additionalProperties": {
              "type": "string"
            },
            "description": "A map of field names, from this schema (and parent schemas), that operators types are provided for.",
            "type": "object"
          },
          "query": {
            "description": "A text that helps search for relevant records.",
            "type": "string"
          },
          "response_recommended": {
            "description": "Determine if a response is recommended for the interaction.",
            "type": "boolean"
          },
          "scale": {
            "description": "Scale of time series data.",
            "enum": [
              "DAY",
              "HOUR",
              "MONTH",
              "QUARTER",
              "WEEK"
            ],
            "type": "string"
          },
          "source_updated_after": {
            "description": "When the community interaction was updated according to the source platform.",
            "format": "date-time",
            "type": "string"
          },
          "source_updated_before": {
            "description": "When the community interaction was updated according to the source platform.",
            "format": "date-time",
            "type": "string"
          },
          "subtype": {
            "description": "Subtypes to filter by",
            "items": {
              "enum": [
                "POST_SHARE",
                "REEL_SHARE",
                "STORY_MENTION",
                "STORY_REPLY"
              ],
              "type": "string"
            },
            "type": "array"
          },
          "tag_ids": {
            "description": "Comma separated list of tag IDs to filter results by. Condition is AND",
            "items": {
              "type": "integer"
            },
            "type": "array"
          },
          "ticket_id": {
            "description": "A ticket ID to filter results by with OR condition.",
            "type": "string"
          },
          "types": {
            "description": "Comma separated list of types",
            "items": {
              "enum": [
                "FACEBOOK_ADS_COMMENT",
                "FACEBOOK_COMMENT",
                "FACEBOOK_CONVERSATION",
                "INSTAGRAM_ADS_COMMENT",
                "INSTAGRAM_COMMENT",
                "INSTAGRAM_CONVERSATION",
                "TIKTOK_CAPTION_MENTION",
                "TIKTOK_COMMENT",
                "TIKTOK_COMMENT_MENTION",
                "TWITTER_CONVERSATION",
                "TWITTER_MENTION",
                "TWITTER_QUOTE",
                "TWITTER_RETWEET",
                "YOUTUBE_COMMENT"
              ],
              "type": "string"
            },
            "type": "array"
          }
        },
        "required": [
          "brand_ids"
        ],
        "type": "object"
      },
      "AssigneeUser": {
        "additionalProperties": false,
        "properties": {
          "accessible_brands": {
            "description": "The list of brands the user is part of",
            "items": {
              "type": "integer"
            },
            "nullable": true,
            "type": "array"
          },
          "avatar_url": {
            "description": "The user's avatar url.",
            "format": "url",
            "nullable": true,
            "type": "string"
          },
          "email": {
            "description": "The user's email.",
            "type": "string"
          },
          "first_name": {
            "description": "The user's first name.",
            "nullable": true,
            "type": "string"
          },
          "id": {
            "description": "The user ID.",
            "type": "integer"
          },
          "last_name": {
            "description": "The user's last name.",
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "accessible_brands",
          "email",
          "first_name",
          "id",
          "last_name"
        ],
        "type": "object"
      },
      "CommunityTopKeywordsPayload": {
        "additionalProperties": false,
        "properties": {
          "brand_ids": {
            "description": "List of brand IDs to fetch top keywords for",
            "items": {
              "type": "integer"
            },
            "type": "array"
          },
          "ai_category_ids": {
            "description": "Comma separated list of AI category IDs to filter by",
            "items": {
              "type": "integer"
            },
            "type": "array"
          },
          "assignee_id": {
            "description": "ID of the assigned user",
            "type": "integer"
          },
          "assignee_ids": {
            "description": "Comma separated list of assignee user IDs to filter by",
            "items": {
              "type": "integer"
            },
            "type": "array"
          },
          "cloud_type": {
            "description": "Comma separated list of types",
            "items": {
              "enum": [
                "emojis",
                "hashtags",
                "mentions",
                "words"
              ],
              "type": "string"
            },
            "type": "array"
          },
          "deleted_by": {
            "description": "Filter by interactions that were deleted by user or rule",
            "enum": [
              "RULE",
              "USER"
            ],
            "type": "string"
          },
          "interaction_rule_ids": {
            "description": "List of interaction rule IDs to fetch top keywords for",
            "items": {
              "type": "integer"
            },
            "type": "array"
          },
          "is_archived": {
            "description": "Whether the community interaction is marked as archived.",
            "type": "boolean"
          },
          "is_follow_up": {
            "description": "Whether the community interaction is marked as follow-up.",
            "type": "boolean"
          },
          "is_negative": {
            "description": "Is the comment is labeled as positive.",
            "type": "boolean"
          },
          "is_neutral": {
            "description": "Is the comment is labeled as positive.",
            "type": "boolean"
          },
          "is_positive": {
            "description": "Is the comment is labeled as positive.",
            "type": "boolean"
          },
          "is_question": {
            "description": "Is the comment a question.",
            "type": "boolean"
          },
          "is_read": {
            "description": "Whether the community interaction is marked as read.",
            "type": "boolean"
          },
          "is_spam": {
            "description": "Is the comment spam.",
            "type": "boolean"
          },
          "keyword_limit": {
            "default": 15,
            "description": "Maximum number of keywords to extract",
            "minimum": 1,
            "type": "integer"
          },
          "media_ids": {
            "description": "Comma separated list of library media IDs",
            "items": {
              "type": "integer"
            },
            "type": "array"
          },
          "message_content": {
            "description": "Message content type to filter by",
            "items": {
              "enum": [
                "EMOJI_ONLY",
                "GIF_ONLY",
                "HASHTAG_ONLY",
                "LINK_ONLY",
                "MENTION_ONLY",
                "ONE_WORD_ONLY",
                "UNSUPPORTED"
              ],
              "type": "string"
            },
            "type": "array"
          },
          "multiple_keywords": {
            "description": "Flag to determine if query is a list of comma separated keywords.",
            "type": "boolean"
          },
          "operators": {
            "additionalProperties": {
              "type": "string"
            },
            "description": "A map of field names, from this schema (and parent schemas), that operators types are provided for.",
            "type": "object"
          },
          "query": {
            "description": "A text that helps search for relevant records.",
            "type": "string"
          },
          "response_recommended": {
            "description": "Determine if a response is recommended for the interaction.",
            "type": "boolean"
          },
          "source_updated_after": {
            "description": "When the community interaction was updated according to the source platform.",
            "format": "date-time",
            "type": "string"
          },
          "source_updated_before": {
            "description": "When the community interaction was updated according to the source platform.",
            "format": "date-time",
            "type": "string"
          },
          "subtype": {
            "description": "Subtypes to filter by",
            "items": {
              "enum": [
                "POST_SHARE",
                "REEL_SHARE",
                "STORY_MENTION",
                "STORY_REPLY"
              ],
              "type": "string"
            },
            "type": "array"
          },
          "tag_ids": {
            "description": "Comma separated list of tag IDs to filter results by. Condition is AND",
            "items": {
              "type": "integer"
            },
            "type": "array"
          },
          "ticket_id": {
            "description": "A ticket ID to filter results by with OR condition.",
            "type": "string"
          },
          "types": {
            "description": "Comma separated list of types",
            "items": {
              "enum": [
                "FACEBOOK_ADS_COMMENT",
                "FACEBOOK_COMMENT",
                "FACEBOOK_CONVERSATION",
                "INSTAGRAM_ADS_COMMENT",
                "INSTAGRAM_COMMENT",
                "INSTAGRAM_CONVERSATION",
                "TIKTOK_CAPTION_MENTION",
                "TIKTOK_COMMENT",
                "TIKTOK_COMMENT_MENTION",
                "TWITTER_CONVERSATION",
                "TWITTER_MENTION",
                "TWITTER_QUOTE",
                "TWITTER_RETWEET",
                "YOUTUBE_COMMENT"
              ],
              "type": "string"
            },
            "type": "array"
          }
        },
        "required": [
          "brand_ids"
        ],
        "type": "object"
      },
      "CommunitySentimentDistributionBody": {
        "additionalProperties": false,
        "properties": {
          "brand_ids": {
            "description": "List of brand_ids fetch sentiment data for",
            "items": {
              "type": "integer"
            },
            "type": "array"
          },
          "ai_category_ids": {
            "description": "Comma separated list of AI category IDs to filter by",
            "items": {
              "type": "integer"
            },
            "type": "array"
          },
          "assignee_id": {
            "description": "ID of the assigned user",
            "type": "integer"
          },
          "assignee_ids": {
            "description": "Comma separated list of assignee user IDs to filter by",
            "items": {
              "type": "integer"
            },
            "type": "array"
          },
          "deleted_by": {
            "description": "Filter by interactions that were deleted by user or rule",
            "enum": [
              "RULE",
              "USER"
            ],
            "type": "string"
          },
          "interaction_rule_ids": {
            "description": "List of interaction rule IDs to filter results by.",
            "items": {
              "type": "integer"
            },
            "type": "array"
          },
          "is_archived": {
            "description": "Whether the community interaction is marked as archived.",
            "type": "boolean"
          },
          "is_follow_up": {
            "description": "Whether the community interaction is marked as follow-up.",
            "type": "boolean"
          },
          "is_negative": {
            "description": "Is the comment is labeled as positive.",
            "type": "boolean"
          },
          "is_neutral": {
            "description": "Is the comment is labeled as positive.",
            "type": "boolean"
          },
          "is_positive": {
            "description": "Is the comment is labeled as positive.",
            "type": "boolean"
          },
          "is_question": {
            "description": "Is the comment a question.",
            "type": "boolean"
          },
          "is_read": {
            "description": "Whether the community interaction is marked as read.",
            "type": "boolean"
          },
          "is_spam": {
            "description": "Is the comment spam.",
            "type": "boolean"
          },
          "media_ids": {
            "description": "List of library media IDs fetch sentiment data for",
            "items": {
              "type": "integer"
            },
            "type": "array"
          },
          "message_content": {
            "description": "Message content type to filter by",
            "items": {
              "enum": [
                "EMOJI_ONLY",
                "GIF_ONLY",
                "HASHTAG_ONLY",
                "LINK_ONLY",
                "MENTION_ONLY",
                "ONE_WORD_ONLY",
                "UNSUPPORTED"
              ],
              "type": "string"
            },
            "type": "array"
          },
          "multiple_keywords": {
            "description": "Flag to determine if query is a list of comma separated keywords.",
            "type": "boolean"
          },
          "operators": {
            "additionalProperties": {
              "type": "string"
            },
            "description": "A map of field names, from this schema (and parent schemas), that operators types are provided for.",
            "type": "object"
          },
          "query": {
            "description": "A text that helps search for relevant records.",
            "type": "string"
          },
          "response_recommended": {
            "description": "Determine if a response is recommended for the interaction.",
            "type": "boolean"
          },
          "source_updated_after": {
            "description": "When the community interaction was updated according to the source platform.",
            "format": "date-time",
            "type": "string"
          },
          "source_updated_before": {
            "description": "When the community interaction was updated according to the source platform.",
            "format": "date-time",
            "type": "string"
          },
          "subtype": {
            "description": "Subtypes to filter by",
            "items": {
              "enum": [
                "POST_SHARE",
                "REEL_SHARE",
                "STORY_MENTION",
                "STORY_REPLY"
              ],
              "type": "string"
            },
            "type": "array"
          },
          "tag_ids": {
            "description": "Comma separated list of tag IDs to filter results by. Condition is AND",
            "items": {
              "type": "integer"
            },
            "type": "array"
          },
          "ticket_id": {
            "description": "A ticket ID to filter results by with OR condition.",
            "type": "string"
          },
          "types": {
            "description": "Comma separated list of types",
            "items": {
              "enum": [
                "FACEBOOK_ADS_COMMENT",
                "FACEBOOK_COMMENT",
                "FACEBOOK_CONVERSATION",
                "INSTAGRAM_ADS_COMMENT",
                "INSTAGRAM_COMMENT",
                "INSTAGRAM_CONVERSATION",
                "TIKTOK_CAPTION_MENTION",
                "TIKTOK_COMMENT",
                "TIKTOK_COMMENT_MENTION",
                "TWITTER_CONVERSATION",
                "TWITTER_MENTION",
                "TWITTER_QUOTE",
                "TWITTER_RETWEET",
                "YOUTUBE_COMMENT"
              ],
              "type": "string"
            },
            "type": "array"
          }
        },
        "required": [
          "brand_ids"
        ],
        "type": "object"
      }
    },
    "securitySchemes": {
      "BearerAuth": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "API key from Dash Social developer settings"
      }
    }
  },
  "info": {
    "contact": {
      "email": "support@dashsocial.com",
      "name": "Dash Social",
      "url": "https://dashsocial.com"
    },
    "description": "Manage community interactions in the Dash Social platform.",
    "license": {
      "name": "Commercial",
      "url": "https://dashsocial.com/terms"
    },
    "title": "Community API",
    "version": "1.0.0",
    "x-logo": {
      "altText": "Dash Social logo",
      "href": "https://developer.dashsocial.com",
      "url": "https://developer.dashsocial.com/assets/logo.svg"
    }
  },
  "openapi": "3.0.2",
  "paths": {
    "/brands/{brand_id}/community_interactions/unread_counts": {
      "get": {
        "description": "Get counts of the unread community interactions based on provided filters",
        "parameters": [
          {
            "description": "Comma separated list of types.",
            "explode": false,
            "in": "query",
            "name": "types",
            "required": false,
            "schema": {
              "items": {
                "enum": [
                  "COMMUNITY_INTERACTION",
                  "FACEBOOK_COMMENT",
                  "FACEBOOK_CONVERSATION",
                  "INSTAGRAM_COMMENT",
                  "INSTAGRAM_CONVERSATION",
                  "TIKTOK_COMMENT",
                  "TWITTER_CONVERSATION",
                  "TWITTER_MENTION",
                  "TWITTER_QUOTE",
                  "TWITTER_RETWEET",
                  "YOUTUBE_COMMENT"
                ],
                "type": "string"
              },
              "type": "array"
            },
            "style": "form"
          },
          {
            "description": "Comma separated list of tag IDs to filter results by. Condition is AND",
            "explode": false,
            "in": "query",
            "name": "tag_ids",
            "required": false,
            "schema": {
              "items": {
                "type": "integer"
              },
              "type": "array"
            },
            "style": "form"
          },
          {
            "description": "When the community interaction was updated according to the source platform.",
            "in": "query",
            "name": "source_updated_after",
            "required": false,
            "schema": {
              "format": "date-time",
              "type": "string"
            }
          },
          {
            "description": "When the community interaction was updated according to the source platform.",
            "in": "query",
            "name": "source_updated_before",
            "required": false,
            "schema": {
              "format": "date-time",
              "type": "string"
            }
          },
          {
            "description": "Whether the community interaction is marked as archived.",
            "in": "query",
            "name": "is_archived",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "Whether the community interaction is marked as follow-up.",
            "in": "query",
            "name": "is_follow_up",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "Whether the community interaction is marked as read.",
            "in": "query",
            "name": "is_read",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "A text that helps search for relevant records.",
            "in": "query",
            "name": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Flag to determine if query is a list of comma separated keywords.",
            "in": "query",
            "name": "multiple_keywords",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "Comma separated list of library media IDs",
            "explode": false,
            "in": "query",
            "name": "media_ids",
            "required": false,
            "schema": {
              "items": {
                "type": "integer"
              },
              "type": "array"
            },
            "style": "form"
          },
          {
            "description": "Is the comment is labeled as positive.",
            "in": "query",
            "name": "is_positive",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "Is the comment is labeled as positive.",
            "in": "query",
            "name": "is_neutral",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "Is the comment is labeled as positive.",
            "in": "query",
            "name": "is_negative",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "Is the comment a question.",
            "in": "query",
            "name": "is_question",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "A ticket ID to filter results by with OR condition.",
            "in": "query",
            "name": "ticket_id",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "ID of the assigned user",
            "in": "query",
            "name": "assignee_id",
            "required": false,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          },
          "422": {
            "$ref": "#/components/responses/UNPROCESSABLE_ENTITY"
          },
          "default": {
            "$ref": "#/components/responses/DEFAULT_ERROR"
          }
        },
        "summary": "Get unread community interaction counts",
        "tags": [
          "Community Interactions"
        ]
      },
      "parameters": [
        {
          "description": "The Dash Social assigned ID of the brand",
          "in": "path",
          "name": "brand_id",
          "required": true,
          "schema": {
            "minimum": 0,
            "type": "integer"
          }
        }
      ]
    },
    "/brands/{brand_id}/community_interactions/{community_interaction_id}/assignments": {
      "parameters": [
        {
          "description": "The Dash Social assigned ID of the brand",
          "in": "path",
          "name": "brand_id",
          "required": true,
          "schema": {
            "minimum": 0,
            "type": "integer"
          }
        },
        {
          "description": "The ID of the community interaction to assign",
          "in": "path",
          "name": "community_interaction_id",
          "required": true,
          "schema": {
            "minimum": 0,
            "type": "integer"
          }
        }
      ],
      "post": {
        "description": "Creates a new comment in collaboration and updates the community interaction's assignee",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Assignment"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateAssignmentData"
                }
              }
            },
            "description": "Created"
          },
          "422": {
            "$ref": "#/components/responses/UNPROCESSABLE_ENTITY"
          },
          "default": {
            "$ref": "#/components/responses/DEFAULT_ERROR"
          }
        },
        "summary": "Create a new assignment record",
        "tags": [
          "Community Interactions"
        ]
      }
    },
    "/brands/{brand_id}/interaction_rules": {
      "get": {
        "description": "Gets interaction rules for the brand",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InteractionRulesData"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "$ref": "#/components/responses/DEFAULT_ERROR"
          }
        },
        "summary": "Gets interaction rules",
        "tags": [
          "Interaction Rules"
        ]
      },
      "parameters": [
        {
          "description": "The Dash Social assigned ID of the brand",
          "in": "path",
          "name": "brand_id",
          "required": true,
          "schema": {
            "minimum": 0,
            "type": "integer"
          }
        }
      ],
      "post": {
        "description": "Creates an automation rule for the brand",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateInteractionRuleRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InteractionRule"
                }
              }
            },
            "description": "Created"
          },
          "422": {
            "$ref": "#/components/responses/UNPROCESSABLE_ENTITY"
          },
          "default": {
            "$ref": "#/components/responses/DEFAULT_ERROR"
          }
        },
        "summary": "Create a new automation rule",
        "tags": [
          "Interaction Rules"
        ]
      }
    },
    "/brands/{brand_id}/interaction_rules/{interaction_rule_id}": {
      "delete": {
        "description": "Deletes the interaction rule by ID for a brand",
        "responses": {
          "204": {
            "description": "No Content"
          },
          "default": {
            "$ref": "#/components/responses/DEFAULT_ERROR"
          }
        },
        "summary": "Delete an interaction rule",
        "tags": [
          "Interaction Rules"
        ]
      },
      "parameters": [
        {
          "description": "The Dash Social assigned ID of the brand",
          "in": "path",
          "name": "brand_id",
          "required": true,
          "schema": {
            "minimum": 0,
            "type": "integer"
          }
        },
        {
          "description": "The ID of the interaction rule to update.",
          "in": "path",
          "name": "interaction_rule_id",
          "required": true,
          "schema": {
            "minimum": 0,
            "type": "integer"
          }
        }
      ],
      "patch": {
        "description": "Update an existing interaction rule for the specified brand and interaction_rule_id.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateInteractionRuleRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InteractionRule"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "$ref": "#/components/responses/UNPROCESSABLE_ENTITY"
          },
          "default": {
            "$ref": "#/components/responses/DEFAULT_ERROR"
          }
        },
        "summary": "Update an interaction rule.",
        "tags": [
          "Interaction Rules"
        ]
      }
    },
    "/brands/{brand_id}/overview_stats": {
      "get": {
        "description": "Gets the community overview header stats with filters applied.",
        "parameters": [
          {
            "description": "Comma separated list of types.",
            "explode": false,
            "in": "query",
            "name": "types",
            "required": false,
            "schema": {
              "items": {
                "enum": [
                  "COMMUNITY_INTERACTION",
                  "FACEBOOK_ADS_COMMENT",
                  "FACEBOOK_COMMENT",
                  "FACEBOOK_CONVERSATION",
                  "INSTAGRAM_ADS_COMMENT",
                  "INSTAGRAM_COMMENT",
                  "INSTAGRAM_CONVERSATION",
                  "TIKTOK_COMMENT",
                  "TWITTER_CONVERSATION",
                  "TWITTER_MENTION",
                  "TWITTER_QUOTE",
                  "TWITTER_RETWEET",
                  "YOUTUBE_COMMENT"
                ],
                "type": "string"
              },
              "type": "array"
            },
            "style": "form"
          },
          {
            "description": "Comma separated list of tag IDs to filter results by. Condition is AND",
            "explode": false,
            "in": "query",
            "name": "tag_ids",
            "required": false,
            "schema": {
              "items": {
                "type": "integer"
              },
              "type": "array"
            },
            "style": "form"
          },
          {
            "description": "When the community interaction was updated according to the source platform.",
            "in": "query",
            "name": "source_updated_after",
            "required": false,
            "schema": {
              "format": "date-time",
              "type": "string"
            }
          },
          {
            "description": "When the community interaction was updated according to the source platform.",
            "in": "query",
            "name": "source_updated_before",
            "required": false,
            "schema": {
              "format": "date-time",
              "type": "string"
            }
          },
          {
            "description": "Whether the community interaction is marked as archived.",
            "in": "query",
            "name": "is_archived",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "Whether the community interaction is marked as follow-up.",
            "in": "query",
            "name": "is_follow_up",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "A text that helps search for relevant records.",
            "in": "query",
            "name": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Flag to determine if query is a list of comma separated keywords.",
            "in": "query",
            "name": "multiple_keywords",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "Comma separated list of library media IDs",
            "explode": false,
            "in": "query",
            "name": "media_ids",
            "required": false,
            "schema": {
              "items": {
                "type": "integer"
              },
              "type": "array"
            },
            "style": "form"
          },
          {
            "description": "Is the comment is labeled as positive.",
            "in": "query",
            "name": "is_positive",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "Is the comment is labeled as positive.",
            "in": "query",
            "name": "is_neutral",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "Is the comment is labeled as positive.",
            "in": "query",
            "name": "is_negative",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "Is the comment a question.",
            "in": "query",
            "name": "is_question",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "A ticket ID to filter results by with OR condition.",
            "in": "query",
            "name": "ticket_id",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "ID of the assigned user",
            "in": "query",
            "name": "assignee_id",
            "required": false,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CommunityOverviewStatsResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "$ref": "#/components/responses/UNPROCESSABLE_ENTITY"
          },
          "default": {
            "$ref": "#/components/responses/DEFAULT_ERROR"
          }
        },
        "summary": "Get community overview header stats",
        "tags": [
          "Community Overview"
        ],
        "x-public": true
      },
      "parameters": [
        {
          "description": "The ID of the brand",
          "in": "path",
          "name": "brand_id",
          "required": true,
          "schema": {
            "minimum": 0,
            "type": "integer"
          }
        }
      ]
    },
    "/brands/{brand_id}/sentiment_distribution_stats": {
      "get": {
        "description": "Gets the community sentiment distribution stats for a brand, and supports filtering.",
        "parameters": [
          {
            "description": "Comma separated list of types",
            "explode": false,
            "in": "query",
            "name": "types",
            "required": false,
            "schema": {
              "items": {
                "enum": [
                  "COMMUNITY_INTERACTION",
                  "FACEBOOK_ADS_COMMENT",
                  "FACEBOOK_COMMENT",
                  "FACEBOOK_CONVERSATION",
                  "INSTAGRAM_ADS_COMMENT",
                  "INSTAGRAM_COMMENT",
                  "INSTAGRAM_CONVERSATION",
                  "TIKTOK_COMMENT",
                  "TWITTER_CONVERSATION",
                  "TWITTER_MENTION",
                  "TWITTER_QUOTE",
                  "TWITTER_RETWEET",
                  "YOUTUBE_COMMENT"
                ],
                "type": "string"
              },
              "type": "array"
            },
            "style": "form"
          },
          {
            "description": "Comma separated list of tag IDs to filter results by. Condition is AND",
            "explode": false,
            "in": "query",
            "name": "tag_ids",
            "required": false,
            "schema": {
              "items": {
                "type": "integer"
              },
              "type": "array"
            },
            "style": "form"
          },
          {
            "description": "When the community interaction was updated according to the source platform.",
            "in": "query",
            "name": "source_updated_after",
            "required": false,
            "schema": {
              "format": "date-time",
              "type": "string"
            }
          },
          {
            "description": "When the community interaction was updated according to the source platform.",
            "in": "query",
            "name": "source_updated_before",
            "required": false,
            "schema": {
              "format": "date-time",
              "type": "string"
            }
          },
          {
            "description": "Whether the community interaction is marked as archived.",
            "in": "query",
            "name": "is_archived",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "Whether the community interaction is marked as follow-up.",
            "in": "query",
            "name": "is_follow_up",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "Whether the community interaction is marked as read.",
            "in": "query",
            "name": "is_read",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "A text that helps search for relevant records.",
            "in": "query",
            "name": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Flag to determine if query is a list of comma separated keywords.",
            "in": "query",
            "name": "multiple_keywords",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "Comma separated list of library media IDs",
            "explode": false,
            "in": "query",
            "name": "media_ids",
            "required": false,
            "schema": {
              "items": {
                "type": "integer"
              },
              "type": "array"
            },
            "style": "form"
          },
          {
            "description": "Is the comment is labeled as positive.",
            "in": "query",
            "name": "is_positive",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "Is the comment is labeled as positive.",
            "in": "query",
            "name": "is_neutral",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "Is the comment is labeled as positive.",
            "in": "query",
            "name": "is_negative",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "Is the comment a question.",
            "in": "query",
            "name": "is_question",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "A ticket ID to filter results by with OR condition.",
            "in": "query",
            "name": "ticket_id",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "ID of the assigned user",
            "in": "query",
            "name": "assignee_id",
            "required": false,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CommunitySentimentDistributionJson"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CommunitySentimentDistributionResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "$ref": "#/components/responses/UNPROCESSABLE_ENTITY"
          },
          "default": {
            "$ref": "#/components/responses/DEFAULT_ERROR"
          }
        },
        "summary": "Get community overview sentiment distribution stats",
        "tags": [
          "Community Overview"
        ],
        "x-public": true
      },
      "parameters": [
        {
          "description": "The ID of the brand",
          "in": "path",
          "name": "brand_id",
          "required": true,
          "schema": {
            "minimum": 0,
            "type": "integer"
          }
        }
      ],
      "put": {
        "description": "Gets the community sentiment distribution stats for a brand, and supports filtering.",
        "parameters": [
          {
            "description": "Comma separated list of types",
            "explode": false,
            "in": "query",
            "name": "types",
            "required": false,
            "schema": {
              "items": {
                "enum": [
                  "COMMUNITY_INTERACTION",
                  "FACEBOOK_ADS_COMMENT",
                  "FACEBOOK_COMMENT",
                  "FACEBOOK_CONVERSATION",
                  "INSTAGRAM_ADS_COMMENT",
                  "INSTAGRAM_COMMENT",
                  "INSTAGRAM_CONVERSATION",
                  "TIKTOK_COMMENT",
                  "TWITTER_CONVERSATION",
                  "TWITTER_MENTION",
                  "TWITTER_QUOTE",
                  "TWITTER_RETWEET",
                  "YOUTUBE_COMMENT"
                ],
                "type": "string"
              },
              "type": "array"
            },
            "style": "form"
          },
          {
            "description": "Comma separated list of tag IDs to filter results by. Condition is AND",
            "explode": false,
            "in": "query",
            "name": "tag_ids",
            "required": false,
            "schema": {
              "items": {
                "type": "integer"
              },
              "type": "array"
            },
            "style": "form"
          },
          {
            "description": "When the community interaction was updated according to the source platform.",
            "in": "query",
            "name": "source_updated_after",
            "required": false,
            "schema": {
              "format": "date-time",
              "type": "string"
            }
          },
          {
            "description": "When the community interaction was updated according to the source platform.",
            "in": "query",
            "name": "source_updated_before",
            "required": false,
            "schema": {
              "format": "date-time",
              "type": "string"
            }
          },
          {
            "description": "Whether the community interaction is marked as archived.",
            "in": "query",
            "name": "is_archived",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "Whether the community interaction is marked as follow-up.",
            "in": "query",
            "name": "is_follow_up",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "Whether the community interaction is marked as read.",
            "in": "query",
            "name": "is_read",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "A text that helps search for relevant records.",
            "in": "query",
            "name": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Flag to determine if query is a list of comma separated keywords.",
            "in": "query",
            "name": "multiple_keywords",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "Comma separated list of library media IDs",
            "explode": false,
            "in": "query",
            "name": "media_ids",
            "required": false,
            "schema": {
              "items": {
                "type": "integer"
              },
              "type": "array"
            },
            "style": "form"
          },
          {
            "description": "Is the comment is labeled as positive.",
            "in": "query",
            "name": "is_positive",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "Is the comment is labeled as positive.",
            "in": "query",
            "name": "is_neutral",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "Is the comment is labeled as positive.",
            "in": "query",
            "name": "is_negative",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "Is the comment a question.",
            "in": "query",
            "name": "is_question",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "A ticket ID to filter results by with OR condition.",
            "in": "query",
            "name": "ticket_id",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "ID of the assigned user",
            "in": "query",
            "name": "assignee_id",
            "required": false,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CommunitySentimentDistributionJson"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CommunitySentimentDistributionResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "$ref": "#/components/responses/UNPROCESSABLE_ENTITY"
          },
          "default": {
            "$ref": "#/components/responses/DEFAULT_ERROR"
          }
        },
        "summary": "Get community overview sentiment distribution stats",
        "tags": [
          "Community Overview"
        ],
        "x-public": true
      }
    },
    "/brands/{brand_id}/sentiment_time_series": {
      "get": {
        "description": "Gets the community sentiment time series per platform for a brand, and supports filtering.",
        "parameters": [
          {
            "description": "Comma separated list of types",
            "explode": false,
            "in": "query",
            "name": "types",
            "required": false,
            "schema": {
              "items": {
                "enum": [
                  "COMMUNITY_INTERACTION",
                  "FACEBOOK_ADS_COMMENT",
                  "FACEBOOK_COMMENT",
                  "FACEBOOK_CONVERSATION",
                  "INSTAGRAM_ADS_COMMENT",
                  "INSTAGRAM_COMMENT",
                  "INSTAGRAM_CONVERSATION",
                  "TIKTOK_COMMENT",
                  "TWITTER_CONVERSATION",
                  "TWITTER_MENTION",
                  "TWITTER_QUOTE",
                  "TWITTER_RETWEET",
                  "YOUTUBE_COMMENT"
                ],
                "type": "string"
              },
              "type": "array"
            },
            "style": "form"
          },
          {
            "description": "Comma separated list of tag IDs to filter results by. Condition is AND",
            "explode": false,
            "in": "query",
            "name": "tag_ids",
            "required": false,
            "schema": {
              "items": {
                "type": "integer"
              },
              "type": "array"
            },
            "style": "form"
          },
          {
            "description": "When the community interaction was updated according to the source platform.",
            "in": "query",
            "name": "source_updated_after",
            "required": false,
            "schema": {
              "format": "date-time",
              "type": "string"
            }
          },
          {
            "description": "When the community interaction was updated according to the source platform.",
            "in": "query",
            "name": "source_updated_before",
            "required": false,
            "schema": {
              "format": "date-time",
              "type": "string"
            }
          },
          {
            "description": "Whether the community interaction is marked as archived.",
            "in": "query",
            "name": "is_archived",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "Whether the community interaction is marked as follow-up.",
            "in": "query",
            "name": "is_follow_up",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "Whether the community interaction is marked as read.",
            "in": "query",
            "name": "is_read",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "A text that helps search for relevant records.",
            "in": "query",
            "name": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Flag to determine if query is a list of comma separated keywords.",
            "in": "query",
            "name": "multiple_keywords",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "Comma separated list of library media IDs",
            "explode": false,
            "in": "query",
            "name": "media_ids",
            "required": false,
            "schema": {
              "items": {
                "type": "integer"
              },
              "type": "array"
            },
            "style": "form"
          },
          {
            "description": "Is the comment is labeled as positive.",
            "in": "query",
            "name": "is_positive",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "Is the comment is labeled as positive.",
            "in": "query",
            "name": "is_neutral",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "Is the comment is labeled as positive.",
            "in": "query",
            "name": "is_negative",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "Is the comment a question.",
            "in": "query",
            "name": "is_question",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "A ticket ID to filter results by with OR condition.",
            "in": "query",
            "name": "ticket_id",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "ID of the assigned user",
            "in": "query",
            "name": "assignee_id",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Scale of time series data.",
            "in": "query",
            "name": "scale",
            "required": false,
            "schema": {
              "enum": [
                "DAY",
                "HOUR",
                "MONTH",
                "QUARTER",
                "WEEK"
              ],
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CommunitySentimentTimeSeriesResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "$ref": "#/components/responses/UNPROCESSABLE_ENTITY"
          },
          "default": {
            "$ref": "#/components/responses/DEFAULT_ERROR"
          }
        },
        "summary": "Get community overview sentiment time series",
        "tags": [
          "Community Overview"
        ],
        "x-public": true
      },
      "parameters": [
        {
          "description": "The ID of the brand",
          "in": "path",
          "name": "brand_id",
          "required": true,
          "schema": {
            "minimum": 0,
            "type": "integer"
          }
        }
      ]
    },
    "/brands/{brand_id}/top_keywords": {
      "get": {
        "description": "Gets the top keywords from interactions matching the provided filters.\n:param query_args The query string parameters\n:param body_args The body parameters for the PUT request\n:param brand_id The id of the brand from the path",
        "parameters": [
          {
            "description": "Comma separated list of types",
            "explode": false,
            "in": "query",
            "name": "types",
            "required": false,
            "schema": {
              "items": {
                "enum": [
                  "COMMUNITY_INTERACTION",
                  "FACEBOOK_ADS_COMMENT",
                  "FACEBOOK_COMMENT",
                  "FACEBOOK_CONVERSATION",
                  "INSTAGRAM_ADS_COMMENT",
                  "INSTAGRAM_COMMENT",
                  "INSTAGRAM_CONVERSATION",
                  "TIKTOK_COMMENT",
                  "TWITTER_CONVERSATION",
                  "TWITTER_MENTION",
                  "TWITTER_QUOTE",
                  "TWITTER_RETWEET",
                  "YOUTUBE_COMMENT"
                ],
                "type": "string"
              },
              "type": "array"
            },
            "style": "form"
          },
          {
            "description": "Comma separated list of tag IDs to filter results by. Condition is AND",
            "explode": false,
            "in": "query",
            "name": "tag_ids",
            "required": false,
            "schema": {
              "items": {
                "type": "integer"
              },
              "type": "array"
            },
            "style": "form"
          },
          {
            "description": "When the community interaction was updated according to the source platform.",
            "in": "query",
            "name": "source_updated_after",
            "required": false,
            "schema": {
              "format": "date-time",
              "type": "string"
            }
          },
          {
            "description": "When the community interaction was updated according to the source platform.",
            "in": "query",
            "name": "source_updated_before",
            "required": false,
            "schema": {
              "format": "date-time",
              "type": "string"
            }
          },
          {
            "description": "Whether the community interaction is marked as archived.",
            "in": "query",
            "name": "is_archived",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "Whether the community interaction is marked as follow-up.",
            "in": "query",
            "name": "is_follow_up",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "Whether the community interaction is marked as read.",
            "in": "query",
            "name": "is_read",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "A text that helps search for relevant records.",
            "in": "query",
            "name": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Flag to determine if query is a list of comma separated keywords.",
            "in": "query",
            "name": "multiple_keywords",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "Comma separated list of library media IDs",
            "explode": false,
            "in": "query",
            "name": "media_ids",
            "required": false,
            "schema": {
              "items": {
                "type": "integer"
              },
              "type": "array"
            },
            "style": "form"
          },
          {
            "description": "Is the comment is labeled as positive.",
            "in": "query",
            "name": "is_positive",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "Is the comment is labeled as positive.",
            "in": "query",
            "name": "is_neutral",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "Is the comment is labeled as positive.",
            "in": "query",
            "name": "is_negative",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "Is the comment a question.",
            "in": "query",
            "name": "is_question",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "A ticket ID to filter results by with OR condition.",
            "in": "query",
            "name": "ticket_id",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "ID of the assigned user",
            "in": "query",
            "name": "assignee_id",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Comma separated list of types",
            "explode": false,
            "in": "query",
            "name": "cloud_type",
            "required": false,
            "schema": {
              "items": {
                "enum": [
                  "emojis",
                  "hashtags",
                  "mentions",
                  "words"
                ],
                "type": "string"
              },
              "type": "array"
            },
            "style": "form"
          },
          {
            "description": "Maximum number of keywords to extract",
            "in": "query",
            "name": "keyword_limit",
            "required": false,
            "schema": {
              "default": 15,
              "minimum": 1,
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CommunityTopKeywordsJson"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TopKeywords"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "$ref": "#/components/responses/UNPROCESSABLE_ENTITY"
          },
          "default": {
            "$ref": "#/components/responses/DEFAULT_ERROR"
          }
        },
        "summary": "Get top keywords",
        "tags": [
          "Community Overview"
        ],
        "x-public": true
      },
      "parameters": [
        {
          "description": "The ID of the brand",
          "in": "path",
          "name": "brand_id",
          "required": true,
          "schema": {
            "minimum": 0,
            "type": "integer"
          }
        }
      ],
      "put": {
        "description": "Gets the top keywords from interactions matching the provided filters.\n:param query_args The query string parameters\n:param body_args The body parameters for the PUT request\n:param brand_id The id of the brand from the path",
        "parameters": [
          {
            "description": "Comma separated list of types",
            "explode": false,
            "in": "query",
            "name": "types",
            "required": false,
            "schema": {
              "items": {
                "enum": [
                  "COMMUNITY_INTERACTION",
                  "FACEBOOK_ADS_COMMENT",
                  "FACEBOOK_COMMENT",
                  "FACEBOOK_CONVERSATION",
                  "INSTAGRAM_ADS_COMMENT",
                  "INSTAGRAM_COMMENT",
                  "INSTAGRAM_CONVERSATION",
                  "TIKTOK_COMMENT",
                  "TWITTER_CONVERSATION",
                  "TWITTER_MENTION",
                  "TWITTER_QUOTE",
                  "TWITTER_RETWEET",
                  "YOUTUBE_COMMENT"
                ],
                "type": "string"
              },
              "type": "array"
            },
            "style": "form"
          },
          {
            "description": "Comma separated list of tag IDs to filter results by. Condition is AND",
            "explode": false,
            "in": "query",
            "name": "tag_ids",
            "required": false,
            "schema": {
              "items": {
                "type": "integer"
              },
              "type": "array"
            },
            "style": "form"
          },
          {
            "description": "When the community interaction was updated according to the source platform.",
            "in": "query",
            "name": "source_updated_after",
            "required": false,
            "schema": {
              "format": "date-time",
              "type": "string"
            }
          },
          {
            "description": "When the community interaction was updated according to the source platform.",
            "in": "query",
            "name": "source_updated_before",
            "required": false,
            "schema": {
              "format": "date-time",
              "type": "string"
            }
          },
          {
            "description": "Whether the community interaction is marked as archived.",
            "in": "query",
            "name": "is_archived",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "Whether the community interaction is marked as follow-up.",
            "in": "query",
            "name": "is_follow_up",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "Whether the community interaction is marked as read.",
            "in": "query",
            "name": "is_read",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "A text that helps search for relevant records.",
            "in": "query",
            "name": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Flag to determine if query is a list of comma separated keywords.",
            "in": "query",
            "name": "multiple_keywords",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "Comma separated list of library media IDs",
            "explode": false,
            "in": "query",
            "name": "media_ids",
            "required": false,
            "schema": {
              "items": {
                "type": "integer"
              },
              "type": "array"
            },
            "style": "form"
          },
          {
            "description": "Is the comment is labeled as positive.",
            "in": "query",
            "name": "is_positive",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "Is the comment is labeled as positive.",
            "in": "query",
            "name": "is_neutral",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "Is the comment is labeled as positive.",
            "in": "query",
            "name": "is_negative",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "Is the comment a question.",
            "in": "query",
            "name": "is_question",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "A ticket ID to filter results by with OR condition.",
            "in": "query",
            "name": "ticket_id",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "ID of the assigned user",
            "in": "query",
            "name": "assignee_id",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Comma separated list of types",
            "explode": false,
            "in": "query",
            "name": "cloud_type",
            "required": false,
            "schema": {
              "items": {
                "enum": [
                  "emojis",
                  "hashtags",
                  "mentions",
                  "words"
                ],
                "type": "string"
              },
              "type": "array"
            },
            "style": "form"
          },
          {
            "description": "Maximum number of keywords to extract",
            "in": "query",
            "name": "keyword_limit",
            "required": false,
            "schema": {
              "default": 15,
              "minimum": 1,
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CommunityTopKeywordsJson"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TopKeywords"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "$ref": "#/components/responses/UNPROCESSABLE_ENTITY"
          },
          "default": {
            "$ref": "#/components/responses/DEFAULT_ERROR"
          }
        },
        "summary": "Get top keywords",
        "tags": [
          "Community Overview"
        ],
        "x-public": true
      }
    },
    "/brands/{brand_id}/unread_interaction_counts": {
      "get": {
        "description": "Get counts of the unread community interactions based on provided filters",
        "parameters": [
          {
            "description": "Comma separated list of types.",
            "explode": false,
            "in": "query",
            "name": "types",
            "required": false,
            "schema": {
              "items": {
                "enum": [
                  "COMMUNITY_INTERACTION",
                  "FACEBOOK_ADS_COMMENT",
                  "FACEBOOK_COMMENT",
                  "FACEBOOK_CONVERSATION",
                  "INSTAGRAM_ADS_COMMENT",
                  "INSTAGRAM_COMMENT",
                  "INSTAGRAM_CONVERSATION",
                  "TIKTOK_COMMENT",
                  "TWITTER_CONVERSATION",
                  "TWITTER_MENTION",
                  "TWITTER_QUOTE",
                  "TWITTER_RETWEET",
                  "YOUTUBE_COMMENT"
                ],
                "type": "string"
              },
              "type": "array"
            },
            "style": "form"
          },
          {
            "description": "Comma separated list of tag IDs to filter results by. Condition is AND",
            "explode": false,
            "in": "query",
            "name": "tag_ids",
            "required": false,
            "schema": {
              "items": {
                "type": "integer"
              },
              "type": "array"
            },
            "style": "form"
          },
          {
            "description": "When the community interaction was updated according to the source platform.",
            "in": "query",
            "name": "source_updated_after",
            "required": false,
            "schema": {
              "format": "date-time",
              "type": "string"
            }
          },
          {
            "description": "When the community interaction was updated according to the source platform.",
            "in": "query",
            "name": "source_updated_before",
            "required": false,
            "schema": {
              "format": "date-time",
              "type": "string"
            }
          },
          {
            "description": "Whether the community interaction is marked as archived.",
            "in": "query",
            "name": "is_archived",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "Whether the community interaction is marked as follow-up.",
            "in": "query",
            "name": "is_follow_up",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "Whether the community interaction is marked as read.",
            "in": "query",
            "name": "is_read",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "A text that helps search for relevant records.",
            "in": "query",
            "name": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Flag to determine if query is a list of comma separated keywords.",
            "in": "query",
            "name": "multiple_keywords",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "Comma separated list of library media IDs",
            "explode": false,
            "in": "query",
            "name": "media_ids",
            "required": false,
            "schema": {
              "items": {
                "type": "integer"
              },
              "type": "array"
            },
            "style": "form"
          },
          {
            "description": "Is the comment is labeled as positive.",
            "in": "query",
            "name": "is_positive",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "Is the comment is labeled as positive.",
            "in": "query",
            "name": "is_neutral",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "Is the comment is labeled as positive.",
            "in": "query",
            "name": "is_negative",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "Is the comment a question.",
            "in": "query",
            "name": "is_question",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "A ticket ID to filter results by with OR condition.",
            "in": "query",
            "name": "ticket_id",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "ID of the assigned user",
            "in": "query",
            "name": "assignee_id",
            "required": false,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          },
          "422": {
            "$ref": "#/components/responses/UNPROCESSABLE_ENTITY"
          },
          "default": {
            "$ref": "#/components/responses/DEFAULT_ERROR"
          }
        },
        "summary": "Get unread community interaction counts",
        "tags": [
          "Community Interactions"
        ]
      },
      "parameters": [
        {
          "description": "The Dash Social assigned ID of the brand",
          "in": "path",
          "name": "brand_id",
          "required": true,
          "schema": {
            "minimum": 0,
            "type": "integer"
          }
        }
      ]
    },
    "/brands/{brand_id}/volume_time_series": {
      "get": {
        "description": "Gets the community volume time series per platform for a brand, and supports filtering.",
        "parameters": [
          {
            "description": "Comma separated list of types.",
            "explode": false,
            "in": "query",
            "name": "types",
            "required": false,
            "schema": {
              "items": {
                "enum": [
                  "COMMUNITY_INTERACTION",
                  "FACEBOOK_ADS_COMMENT",
                  "FACEBOOK_COMMENT",
                  "FACEBOOK_CONVERSATION",
                  "INSTAGRAM_ADS_COMMENT",
                  "INSTAGRAM_COMMENT",
                  "INSTAGRAM_CONVERSATION",
                  "TIKTOK_COMMENT",
                  "TWITTER_CONVERSATION",
                  "TWITTER_MENTION",
                  "TWITTER_QUOTE",
                  "TWITTER_RETWEET",
                  "YOUTUBE_COMMENT"
                ],
                "type": "string"
              },
              "type": "array"
            },
            "style": "form"
          },
          {
            "description": "Comma separated list of tag IDs to filter results by. Condition is AND",
            "explode": false,
            "in": "query",
            "name": "tag_ids",
            "required": false,
            "schema": {
              "items": {
                "type": "integer"
              },
              "type": "array"
            },
            "style": "form"
          },
          {
            "description": "When the community interaction was updated according to the source platform.",
            "in": "query",
            "name": "source_updated_after",
            "required": false,
            "schema": {
              "format": "date-time",
              "type": "string"
            }
          },
          {
            "description": "When the community interaction was updated according to the source platform.",
            "in": "query",
            "name": "source_updated_before",
            "required": false,
            "schema": {
              "format": "date-time",
              "type": "string"
            }
          },
          {
            "description": "Whether the community interaction is marked as archived.",
            "in": "query",
            "name": "is_archived",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "Whether the community interaction is marked as follow-up.",
            "in": "query",
            "name": "is_follow_up",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "Whether the community interaction is marked as read.",
            "in": "query",
            "name": "is_read",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "A text that helps search for relevant records.",
            "in": "query",
            "name": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Flag to determine if query is a list of comma separated keywords.",
            "in": "query",
            "name": "multiple_keywords",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "Comma separated list of library media IDs",
            "explode": false,
            "in": "query",
            "name": "media_ids",
            "required": false,
            "schema": {
              "items": {
                "type": "integer"
              },
              "type": "array"
            },
            "style": "form"
          },
          {
            "description": "Is the comment is labeled as positive.",
            "in": "query",
            "name": "is_positive",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "Is the comment is labeled as positive.",
            "in": "query",
            "name": "is_neutral",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "Is the comment is labeled as positive.",
            "in": "query",
            "name": "is_negative",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "Is the comment a question.",
            "in": "query",
            "name": "is_question",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "A ticket ID to filter results by with OR condition.",
            "in": "query",
            "name": "ticket_id",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "ID of the assigned user",
            "in": "query",
            "name": "assignee_id",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Scale of time series data.",
            "in": "query",
            "name": "scale",
            "required": false,
            "schema": {
              "enum": [
                "DAY",
                "HOUR",
                "MONTH",
                "QUARTER",
                "WEEK"
              ],
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CommunityVolumeTimeSeriesResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "$ref": "#/components/responses/UNPROCESSABLE_ENTITY"
          },
          "default": {
            "$ref": "#/components/responses/DEFAULT_ERROR"
          }
        },
        "summary": "Get community overview volume time series",
        "tags": [
          "Community Overview"
        ],
        "x-public": true
      },
      "parameters": [
        {
          "description": "The ID of the brand",
          "in": "path",
          "name": "brand_id",
          "required": true,
          "schema": {
            "minimum": 0,
            "type": "integer"
          }
        }
      ]
    },
    "/bulk_archive_community_interactions_task": {
      "post": {
        "description": "Create a task to bulk update massive community interactions by\nbrand and/or type and/or by date range.\nEnabled for super admin and app access only due to resource intensive.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AdminBulkUpdateCommunityInteractions"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "description": "Created"
          },
          "422": {
            "$ref": "#/components/responses/UNPROCESSABLE_ENTITY"
          },
          "default": {
            "$ref": "#/components/responses/DEFAULT_ERROR"
          }
        },
        "summary": "Admin bulk archive community interactions",
        "tags": [
          "Community Interactions"
        ]
      }
    },
    "/bulk_read_community_interactions_task": {
      "post": {
        "description": "Create a task to bulk update massive community interactions by\nbrand and/or type and/or by date range.\nEnabled for super admin and app access only due to resource intensive.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AdminBulkUpdateCommunityInteractions"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "description": "Created"
          },
          "422": {
            "$ref": "#/components/responses/UNPROCESSABLE_ENTITY"
          },
          "default": {
            "$ref": "#/components/responses/DEFAULT_ERROR"
          }
        },
        "summary": "Admin bulk read community interactions",
        "tags": [
          "Community Interactions"
        ]
      }
    },
    "/comment_sentiment": {
      "post": {
        "description": "Return map containing the proportions of positive, negative, and neutral\ncomments for posts associated with each of the provided media IDs.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MediaCommentSentimentRequestParams"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MediaCommentSentimentResponsePayload"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "$ref": "#/components/responses/UNPROCESSABLE_ENTITY"
          },
          "default": {
            "$ref": "#/components/responses/DEFAULT_ERROR"
          }
        },
        "summary": "Get media comment sentiment",
        "tags": [
          "Comment Sentiment"
        ]
      }
    },
    "/community_interactions": {
      "get": {
        "description": "Gets the community interactions for a brand, and supports filtering.",
        "parameters": [
          {
            "description": "The conversation's brand ID.",
            "in": "query",
            "name": "brand_id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Number of results to return in a single response.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 100,
              "type": "integer"
            }
          },
          {
            "description": "The offset of the first result to be returned.",
            "in": "query",
            "name": "offset",
            "required": false,
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Comma separated list of types.",
            "explode": false,
            "in": "query",
            "name": "types",
            "required": false,
            "schema": {
              "items": {
                "enum": [
                  "COMMUNITY_INTERACTION",
                  "FACEBOOK_ADS_COMMENT",
                  "FACEBOOK_COMMENT",
                  "FACEBOOK_CONVERSATION",
                  "INSTAGRAM_ADS_COMMENT",
                  "INSTAGRAM_COMMENT",
                  "INSTAGRAM_CONVERSATION",
                  "TIKTOK_COMMENT",
                  "TWITTER_CONVERSATION",
                  "TWITTER_MENTION",
                  "TWITTER_QUOTE",
                  "TWITTER_RETWEET",
                  "YOUTUBE_COMMENT"
                ],
                "type": "string"
              },
              "type": "array"
            },
            "style": "form"
          },
          {
            "description": "Comma separated list of tag IDs to filter results by. Condition is AND",
            "explode": false,
            "in": "query",
            "name": "tag_ids",
            "required": false,
            "schema": {
              "items": {
                "type": "integer"
              },
              "type": "array"
            },
            "style": "form"
          },
          {
            "description": "When the community interaction was updated according to the source platform.",
            "in": "query",
            "name": "source_updated_after",
            "required": false,
            "schema": {
              "format": "date-time",
              "type": "string"
            }
          },
          {
            "description": "When the community interaction was updated according to the source platform.",
            "in": "query",
            "name": "source_updated_before",
            "required": false,
            "schema": {
              "format": "date-time",
              "type": "string"
            }
          },
          {
            "description": "Whether the community interaction is marked as archived.",
            "in": "query",
            "name": "is_archived",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "Whether the community interaction is marked as follow-up.",
            "in": "query",
            "name": "is_follow_up",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "Whether the community interaction is marked as read.",
            "in": "query",
            "name": "is_read",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "A text that helps search for relevant records.",
            "in": "query",
            "name": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Flag to determine if query is a list of comma separated keywords.",
            "in": "query",
            "name": "multiple_keywords",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "Comma separated list of library media IDs",
            "explode": false,
            "in": "query",
            "name": "media_ids",
            "required": false,
            "schema": {
              "items": {
                "type": "integer"
              },
              "type": "array"
            },
            "style": "form"
          },
          {
            "description": "Is the comment is labeled as positive.",
            "in": "query",
            "name": "is_positive",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "Is the comment is labeled as positive.",
            "in": "query",
            "name": "is_neutral",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "Is the comment is labeled as positive.",
            "in": "query",
            "name": "is_negative",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "Is the comment a question.",
            "in": "query",
            "name": "is_question",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "A ticket ID to filter results by with OR condition.",
            "in": "query",
            "name": "ticket_id",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "ID of the assigned user",
            "in": "query",
            "name": "assignee_id",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Value to sort results by and the direction.",
            "in": "query",
            "name": "sort",
            "required": false,
            "schema": {
              "enum": [
                "-SOURCE_UPDATED_AT",
                "RELEVANCE",
                "SAMPLE",
                "SOURCE_UPDATED_AT"
              ],
              "type": "string"
            }
          },
          {
            "description": "When set to true, the source_updated_after/before filter will be applied to individual messages inside a conversation when performing a search",
            "in": "query",
            "name": "message_nested_date_filter",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "The ID of the specific interaction.",
            "in": "query",
            "name": "id",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "If the documents searched must have text",
            "in": "query",
            "name": "must_include_text",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CommunityInteractionOutput"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "$ref": "#/components/responses/UNPROCESSABLE_ENTITY"
          },
          "default": {
            "$ref": "#/components/responses/DEFAULT_ERROR"
          }
        },
        "summary": "Get community interactions",
        "tags": [
          "Community Interactions"
        ],
        "x-public": true
      },
      "patch": {
        "description": "Update community interactions that match given query or by list of IDs",
        "parameters": [
          {
            "description": "The conversation's brand ID.",
            "in": "query",
            "name": "brand_id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Comma separated list of types.",
            "explode": false,
            "in": "query",
            "name": "types",
            "required": false,
            "schema": {
              "items": {
                "enum": [
                  "COMMUNITY_INTERACTION",
                  "FACEBOOK_COMMENT",
                  "FACEBOOK_CONVERSATION",
                  "INSTAGRAM_COMMENT",
                  "INSTAGRAM_CONVERSATION",
                  "TIKTOK_COMMENT",
                  "TWITTER_CONVERSATION",
                  "TWITTER_MENTION",
                  "TWITTER_QUOTE",
                  "TWITTER_RETWEET",
                  "YOUTUBE_COMMENT"
                ],
                "type": "string"
              },
              "type": "array"
            },
            "style": "form"
          },
          {
            "description": "Comma separated list of tag IDs to filter results by. Condition is AND",
            "explode": false,
            "in": "query",
            "name": "tag_ids",
            "required": false,
            "schema": {
              "items": {
                "type": "integer"
              },
              "type": "array"
            },
            "style": "form"
          },
          {
            "description": "When the community interaction was updated according to the source platform.",
            "in": "query",
            "name": "source_updated_after",
            "required": false,
            "schema": {
              "format": "date-time",
              "type": "string"
            }
          },
          {
            "description": "When the community interaction was updated according to the source platform.",
            "in": "query",
            "name": "source_updated_before",
            "required": false,
            "schema": {
              "format": "date-time",
              "type": "string"
            }
          },
          {
            "description": "Whether the community interaction is marked as archived.",
            "in": "query",
            "name": "is_archived",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "Whether the community interaction is marked as follow-up.",
            "in": "query",
            "name": "is_follow_up",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "Whether the community interaction is marked as read.",
            "in": "query",
            "name": "is_read",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "A text that helps search for relevant records.",
            "in": "query",
            "name": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Flag to determine if query is a list of comma separated keywords.",
            "in": "query",
            "name": "multiple_keywords",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "Comma separated list of library media IDs",
            "explode": false,
            "in": "query",
            "name": "media_ids",
            "required": false,
            "schema": {
              "items": {
                "type": "integer"
              },
              "type": "array"
            },
            "style": "form"
          },
          {
            "description": "Is the comment is labeled as positive.",
            "in": "query",
            "name": "is_positive",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "Is the comment is labeled as positive.",
            "in": "query",
            "name": "is_neutral",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "Is the comment is labeled as positive.",
            "in": "query",
            "name": "is_negative",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "Is the comment a question.",
            "in": "query",
            "name": "is_question",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "A ticket ID to filter results by with OR condition.",
            "in": "query",
            "name": "ticket_id",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "ID of the assigned user",
            "in": "query",
            "name": "assignee_id",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Value to sort results by and the direction.",
            "in": "query",
            "name": "sort",
            "required": false,
            "schema": {
              "enum": [
                "-SOURCE_UPDATED_AT",
                "RELEVANCE",
                "SAMPLE",
                "SOURCE_UPDATED_AT"
              ],
              "type": "string"
            }
          },
          {
            "description": "When set to true, the source_updated_after/before filter will be applied to individual messages inside a conversation when performing a search",
            "in": "query",
            "name": "message_nested_date_filter",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "The ID of the specific interaction.",
            "in": "query",
            "name": "id",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "List of IDs to update",
            "explode": false,
            "in": "query",
            "name": "ids",
            "required": false,
            "schema": {
              "items": {
                "type": "integer"
              },
              "type": "array"
            },
            "style": "form"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateCommunityInteractionsAsDataClass"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BulkUpdateResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "$ref": "#/components/responses/UNPROCESSABLE_ENTITY"
          },
          "default": {
            "$ref": "#/components/responses/DEFAULT_ERROR"
          }
        },
        "summary": "Bulk update community interactions",
        "tags": [
          "Community Interactions"
        ]
      }
    },
    "/community_interactions/{community_interaction_id}": {
      "parameters": [
        {
          "description": "The ID of the community interaction to update",
          "in": "path",
          "name": "community_interaction_id",
          "required": true,
          "schema": {
            "minimum": 0,
            "type": "integer"
          }
        }
      ],
      "patch": {
        "description": "Update the metadata of a single community interaction by ID",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateCommunityInteractions"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CommunityInteractionData"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "$ref": "#/components/responses/UNPROCESSABLE_ENTITY"
          },
          "default": {
            "$ref": "#/components/responses/DEFAULT_ERROR"
          }
        },
        "summary": "Update community interaction",
        "tags": [
          "Community Interactions"
        ]
      }
    },
    "/community_interactions/{community_interaction_id}/tickets/{source_id}": {
      "parameters": [
        {
          "description": "The ID of the community interaction to update",
          "in": "path",
          "name": "community_interaction_id",
          "required": true,
          "schema": {
            "minimum": 0,
            "type": "integer"
          }
        },
        {
          "description": "The ID of the community interaction to update",
          "in": "path",
          "name": "source_id",
          "required": true,
          "schema": {
            "minLength": 1,
            "type": "string"
          }
        }
      ],
      "put": {
        "description": "Creates or Updates the ticket from a 3rd party source associated with this community interaction",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CommunityInteractionTicket"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CommunityInteractionTicket"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "$ref": "#/components/responses/UNPROCESSABLE_ENTITY"
          },
          "default": {
            "$ref": "#/components/responses/DEFAULT_ERROR"
          }
        },
        "summary": "Save Ticket for Community Interaction",
        "tags": [
          "Community Interactions"
        ]
      }
    },
    "/conversations/facebook/historical_sync": {
      "patch": {
        "description": "Kicks off a historical sync for a brand",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FacebookDmsSyncPayload"
              }
            }
          },
          "required": true
        },
        "responses": {
          "202": {
            "description": "Accepted"
          },
          "422": {
            "$ref": "#/components/responses/UNPROCESSABLE_ENTITY"
          },
          "default": {
            "$ref": "#/components/responses/DEFAULT_ERROR"
          }
        },
        "summary": "Trigger historical sync",
        "tags": [
          "Facebook Messages"
        ]
      }
    },
    "/conversations/facebook/{conversation_id}/messages": {
      "get": {
        "description": "Get a paginated list of messages sorted chronologically most recent first.",
        "parameters": [
          {
            "description": "Number of results to return in a single response.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 100,
              "type": "integer"
            }
          },
          {
            "description": "The offset of the first result to be returned.",
            "in": "query",
            "name": "offset",
            "required": false,
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Sort of the messages.",
            "in": "query",
            "name": "sort",
            "required": false,
            "schema": {
              "enum": [
                "-CREATED_AT",
                "CREATED_AT"
              ],
              "type": "string"
            }
          },
          {
            "description": "Fetch messages that have text",
            "in": "query",
            "name": "must_include_text",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "Fetch messages on or after this date.",
            "in": "query",
            "name": "created_on_or_after",
            "required": false,
            "schema": {
              "format": "date-time",
              "type": "string"
            }
          },
          {
            "description": "Fetch messages on or before this date.",
            "in": "query",
            "name": "created_on_or_before",
            "required": false,
            "schema": {
              "format": "date-time",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FacebookMessagesData"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "$ref": "#/components/responses/UNPROCESSABLE_ENTITY"
          },
          "default": {
            "$ref": "#/components/responses/DEFAULT_ERROR"
          }
        },
        "summary": "List messages in a conversation",
        "tags": [
          "Facebook Messages"
        ],
        "x-public": true
      },
      "parameters": [
        {
          "description": "The ID of the conversation to post a message to",
          "in": "path",
          "name": "conversation_id",
          "required": true,
          "schema": {
            "minimum": 0,
            "type": "integer"
          }
        }
      ],
      "post": {
        "description": "Creates a message on a conversation and sends it to the recipient on Facebook.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FacebookMessage"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FacebookMessageData"
                }
              }
            },
            "description": "Created"
          },
          "422": {
            "$ref": "#/components/responses/UNPROCESSABLE_ENTITY"
          },
          "default": {
            "$ref": "#/components/responses/DEFAULT_ERROR"
          }
        },
        "summary": "Post message",
        "tags": [
          "Facebook Messages"
        ]
      }
    },
    "/conversations/instagram/accounts/{brand_id}": {
      "get": {
        "description": "Get the Instagram account details for a Dash Social brand",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FacebookAccountData"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "$ref": "#/components/responses/DEFAULT_ERROR"
          }
        },
        "summary": "Get account",
        "tags": [
          "Instagram Messages"
        ]
      },
      "parameters": [
        {
          "description": "The ID of the Dash Social brand",
          "in": "path",
          "name": "brand_id",
          "required": true,
          "schema": {
            "minimum": 0,
            "type": "integer"
          }
        }
      ]
    },
    "/conversations/instagram/{conversation_id}/messages": {
      "get": {
        "description": "Get a paginated list of messages sorted chronologicaly most recent first.",
        "parameters": [
          {
            "description": "Number of results to return in a single response.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 100,
              "type": "integer"
            }
          },
          {
            "description": "The offset of the first result to be returned.",
            "in": "query",
            "name": "offset",
            "required": false,
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Sort of the messages.",
            "in": "query",
            "name": "sort",
            "required": false,
            "schema": {
              "enum": [
                "-CREATED_AT",
                "CREATED_AT"
              ],
              "type": "string"
            }
          },
          {
            "description": "Fetch messages that have text",
            "in": "query",
            "name": "must_include_text",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "Fetch messages on or after this date.",
            "in": "query",
            "name": "created_on_or_after",
            "required": false,
            "schema": {
              "format": "date-time",
              "type": "string"
            }
          },
          {
            "description": "Fetch messages on or before this date.",
            "in": "query",
            "name": "created_on_or_before",
            "required": false,
            "schema": {
              "format": "date-time",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InstagramMessagesData"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "$ref": "#/components/responses/UNPROCESSABLE_ENTITY"
          },
          "default": {
            "$ref": "#/components/responses/DEFAULT_ERROR"
          }
        },
        "summary": "List messages in a conversation",
        "tags": [
          "Instagram Messages"
        ],
        "x-public": true
      },
      "parameters": [
        {
          "description": "The ID of the conversation to post a message to",
          "in": "path",
          "name": "conversation_id",
          "required": true,
          "schema": {
            "minimum": 0,
            "type": "integer"
          }
        }
      ],
      "post": {
        "description": "Creates a message on a conversation and sends it to the recipient on Instagram.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/InstagramMessage"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InstagramMessageData"
                }
              }
            },
            "description": "Created"
          },
          "422": {
            "$ref": "#/components/responses/UNPROCESSABLE_ENTITY"
          },
          "default": {
            "$ref": "#/components/responses/DEFAULT_ERROR"
          }
        },
        "summary": "Post message",
        "tags": [
          "Instagram Messages"
        ]
      }
    },
    "/conversations/instagram/{conversation_id}/messages/{message_id}": {
      "parameters": [
        {
          "description": "The ID of the conversation the message belongs to",
          "in": "path",
          "name": "conversation_id",
          "required": true,
          "schema": {
            "minimum": 0,
            "type": "integer"
          }
        },
        {
          "description": "The ID of the message to update",
          "in": "path",
          "name": "message_id",
          "required": true,
          "schema": {
            "minimum": 0,
            "type": "integer"
          }
        }
      ],
      "patch": {
        "description": "Add or remove reactions from a message",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateInstagramMessage"
              }
            }
          },
          "required": true
        },
        "responses": {
          "202": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InstagramMessageData"
                }
              }
            },
            "description": "Accepted"
          },
          "422": {
            "$ref": "#/components/responses/UNPROCESSABLE_ENTITY"
          },
          "default": {
            "$ref": "#/components/responses/DEFAULT_ERROR"
          }
        },
        "summary": "Update message",
        "tags": [
          "Instagram Messages"
        ]
      }
    },
    "/conversations/twitter/{conversation_id}/messages": {
      "get": {
        "description": "Get a paginated list of messages sorted chronologically most recent first",
        "parameters": [
          {
            "description": "Number of results to return in a single response.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 100,
              "type": "integer"
            }
          },
          {
            "description": "The offset of the first result to be returned.",
            "in": "query",
            "name": "offset",
            "required": false,
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Sort of the messages.",
            "in": "query",
            "name": "sort",
            "required": false,
            "schema": {
              "enum": [
                "-CREATED_AT",
                "CREATED_AT"
              ],
              "type": "string"
            }
          },
          {
            "description": "Fetch messages that have text",
            "in": "query",
            "name": "must_include_text",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "Fetch messages on or after this date.",
            "in": "query",
            "name": "created_on_or_after",
            "required": false,
            "schema": {
              "format": "date-time",
              "type": "string"
            }
          },
          {
            "description": "Fetch messages on or before this date.",
            "in": "query",
            "name": "created_on_or_before",
            "required": false,
            "schema": {
              "format": "date-time",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TwitterMessagesData"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "$ref": "#/components/responses/UNPROCESSABLE_ENTITY"
          },
          "default": {
            "$ref": "#/components/responses/DEFAULT_ERROR"
          }
        },
        "summary": "List messages in a Twitter conversation",
        "tags": [
          "Twitter Messages"
        ],
        "x-public": true
      },
      "parameters": [
        {
          "description": "The ID of the conversation for which to fetch messages",
          "in": "path",
          "name": "conversation_id",
          "required": true,
          "schema": {
            "minimum": 0,
            "type": "integer"
          }
        }
      ],
      "post": {
        "description": "Send a Twitter direct message to the given conversation.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TwitterMessagesPost"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TwitterMessageData"
                }
              }
            },
            "description": "Created"
          },
          "422": {
            "$ref": "#/components/responses/UNPROCESSABLE_ENTITY"
          },
          "default": {
            "$ref": "#/components/responses/DEFAULT_ERROR"
          }
        },
        "summary": "Send a Twitter message",
        "tags": [
          "Twitter Messages"
        ]
      }
    },
    "/facebook_comments": {
      "get": {
        "description": "Get a paginated list of all comments made on a post",
        "parameters": [
          {
            "description": "The ID of the media the comment was made on.",
            "in": "query",
            "name": "media_id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "The brand ID of the comment.",
            "in": "query",
            "name": "brand_id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Number of results to return in a single response.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 100,
              "type": "integer"
            }
          },
          {
            "description": "The offset of the first result to be returned.",
            "in": "query",
            "name": "offset",
            "required": false,
            "schema": {
              "default": 0,
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FacebookCommentsData"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "$ref": "#/components/responses/UNPROCESSABLE_ENTITY"
          },
          "default": {
            "$ref": "#/components/responses/DEFAULT_ERROR"
          }
        },
        "summary": "Get a list of facebook comments",
        "tags": [
          "Facebook Comments"
        ],
        "x-public": true
      },
      "post": {
        "description": "Create a reply to a Facebook comment",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreatePostComment"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FacebookComment"
                }
              }
            },
            "description": "Created"
          },
          "422": {
            "$ref": "#/components/responses/UNPROCESSABLE_ENTITY"
          },
          "default": {
            "$ref": "#/components/responses/DEFAULT_ERROR"
          }
        },
        "summary": "Create a new Facebook comment",
        "tags": [
          "Facebook Comments"
        ]
      }
    },
    "/facebook_comments/csv": {
      "post": {
        "description": "Generate a task to pull comment data under a media post and send back through socket",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CommunityCommentCSVRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "description": "Created"
          },
          "422": {
            "$ref": "#/components/responses/UNPROCESSABLE_ENTITY"
          },
          "default": {
            "$ref": "#/components/responses/DEFAULT_ERROR"
          }
        },
        "summary": "Get a CSV of all comments under a Facebook owned post",
        "tags": [
          "Facebook Comments"
        ]
      }
    },
    "/facebook_comments/{community_interaction_id}": {
      "delete": {
        "description": "Delete a facebook comment owned by user or made on a user's post from DB and native platform.",
        "responses": {
          "204": {
            "description": "No Content"
          },
          "default": {
            "$ref": "#/components/responses/DEFAULT_ERROR"
          }
        },
        "summary": "Delete a facebook comment from Facebook and DB or soft delete from DB only",
        "tags": [
          "Facebook Comments"
        ]
      },
      "get": {
        "description": "Get a single comment by given parameters",
        "parameters": [
          {
            "description": "Additionally return the parent comment or the just the comment itself.",
            "in": "query",
            "name": "return_parent",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FacebookCommentDetail"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "$ref": "#/components/responses/UNPROCESSABLE_ENTITY"
          },
          "default": {
            "$ref": "#/components/responses/DEFAULT_ERROR"
          }
        },
        "summary": "Get a comment",
        "tags": [
          "Facebook Comments"
        ],
        "x-public": true
      },
      "parameters": [
        {
          "description": "The ID of the comment",
          "in": "path",
          "name": "community_interaction_id",
          "required": true,
          "schema": {
            "minimum": 0,
            "type": "integer"
          }
        }
      ],
      "patch": {
        "description": "Update a single comment by given parameters",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FacebookCommentUpdateParams"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FacebookCommentDetail"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "$ref": "#/components/responses/UNPROCESSABLE_ENTITY"
          },
          "default": {
            "$ref": "#/components/responses/DEFAULT_ERROR"
          }
        },
        "summary": "Update a comment",
        "tags": [
          "Facebook Comments"
        ]
      }
    },
    "/import_latency_over_time": {
      "post": {
        "description": "Get daily average and maximum import latency of community interactions\nwithin specified date range for specified brand",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ImportLatencyRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          },
          "422": {
            "$ref": "#/components/responses/UNPROCESSABLE_ENTITY"
          },
          "default": {
            "$ref": "#/components/responses/DEFAULT_ERROR"
          }
        },
        "summary": "Get import latency over time",
        "tags": [
          "Community Interactions"
        ]
      }
    },
    "/instagram_comments": {
      "get": {
        "description": "Get paginated result of all comments on media object with nested replies",
        "parameters": [
          {
            "description": "The ID of the media the comment was made on.",
            "in": "query",
            "name": "media_id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "The brand ID of the comment.",
            "in": "query",
            "name": "brand_id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Number of results to return in a single response.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 100,
              "type": "integer"
            }
          },
          {
            "description": "The offset of the first result to be returned.",
            "in": "query",
            "name": "offset",
            "required": false,
            "schema": {
              "default": 0,
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InstagramCommentsData"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "$ref": "#/components/responses/UNPROCESSABLE_ENTITY"
          },
          "default": {
            "$ref": "#/components/responses/DEFAULT_ERROR"
          }
        },
        "summary": "Get list of comments on media object",
        "tags": [
          "Instagram Comments"
        ],
        "x-public": true
      },
      "post": {
        "description": "When a reply is made to an existing comment,\na new comment will be created both in DH and Instagram sides.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreatePostComment"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InstagramComment"
                }
              }
            },
            "description": "Created"
          },
          "422": {
            "$ref": "#/components/responses/UNPROCESSABLE_ENTITY"
          },
          "default": {
            "$ref": "#/components/responses/DEFAULT_ERROR"
          }
        },
        "summary": "Create a new instagram comment",
        "tags": [
          "Instagram Comments"
        ]
      }
    },
    "/instagram_comments/csv": {
      "post": {
        "description": "Generate a task to pull comment data under a media post and send back through socket",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CommunityCommentCSVRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "description": "Created"
          },
          "422": {
            "$ref": "#/components/responses/UNPROCESSABLE_ENTITY"
          },
          "default": {
            "$ref": "#/components/responses/DEFAULT_ERROR"
          }
        },
        "summary": "Get a CSV of all comments under an Instagram owned post",
        "tags": [
          "Instagram Comments"
        ]
      }
    },
    "/instagram_comments/{community_interaction_id}": {
      "delete": {
        "description": "Delete an instagram comment owned by user or made on a user's post from DB and native platform.",
        "parameters": [
          {
            "description": "Remove the comment from Dash Social or remove from Dash Social and the native platform.",
            "in": "query",
            "name": "soft_delete_only",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "422": {
            "$ref": "#/components/responses/UNPROCESSABLE_ENTITY"
          },
          "default": {
            "$ref": "#/components/responses/DEFAULT_ERROR"
          }
        },
        "summary": "Delete an instagram comment from Instagram and DB or soft delete from DB only",
        "tags": [
          "Instagram Comments"
        ]
      },
      "get": {
        "description": "Get a single comment by given parameters",
        "parameters": [
          {
            "description": "Additionally return the parent comment or the just the comment itself.",
            "in": "query",
            "name": "return_parent",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InstagramCommentDetail"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "$ref": "#/components/responses/UNPROCESSABLE_ENTITY"
          },
          "default": {
            "$ref": "#/components/responses/DEFAULT_ERROR"
          }
        },
        "summary": "Get a comment",
        "tags": [
          "Instagram Comments"
        ],
        "x-public": true
      },
      "parameters": [
        {
          "description": "The ID of the comment",
          "in": "path",
          "name": "community_interaction_id",
          "required": true,
          "schema": {
            "minimum": 0,
            "type": "integer"
          }
        }
      ],
      "patch": {
        "description": "Update an instagram comment by the given parameters",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/InstagramCommentUpdate"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InstagramCommentDetail"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "$ref": "#/components/responses/UNPROCESSABLE_ENTITY"
          },
          "default": {
            "$ref": "#/components/responses/DEFAULT_ERROR"
          }
        },
        "summary": "Update an instagram comment",
        "tags": [
          "Instagram Comments"
        ]
      }
    },
    "/interaction/{conversation_id}/messages": {
      "get": {
        "description": "Get a paginated list of messages in community interaction that match given conversation ID",
        "parameters": [
          {
            "description": "Number of results to return in a single response.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 100,
              "type": "integer"
            }
          },
          {
            "description": "The offset of the first result to be returned.",
            "in": "query",
            "name": "offset",
            "required": false,
            "schema": {
              "default": 0,
              "type": "integer"
            }
          },
          {
            "description": "Sort of the messages.",
            "in": "query",
            "name": "sort",
            "required": false,
            "schema": {
              "enum": [
                "-CREATED_AT",
                "CREATED_AT"
              ],
              "type": "string"
            }
          },
          {
            "description": "Fetch messages that have text",
            "in": "query",
            "name": "must_include_text",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InteractionMessagesResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "$ref": "#/components/responses/UNPROCESSABLE_ENTITY"
          },
          "default": {
            "$ref": "#/components/responses/DEFAULT_ERROR"
          }
        },
        "summary": "List messages in a conversation interaction",
        "tags": [
          "Community Interactions"
        ],
        "x-public": true
      },
      "parameters": [
        {
          "description": "The ID of the conversation to fetch messages for",
          "in": "path",
          "name": "conversation_id",
          "required": true,
          "schema": {
            "minimum": 0,
            "type": "integer"
          }
        }
      ]
    },
    "/posts/{brand_id}/{media_id}": {
      "parameters": [
        {
          "description": "The brand id that owns the post",
          "in": "path",
          "name": "brand_id",
          "required": true,
          "schema": {
            "minimum": 0,
            "type": "integer"
          }
        },
        {
          "description": "The media id of the post",
          "in": "path",
          "name": "media_id",
          "required": true,
          "schema": {
            "minimum": 0,
            "type": "integer"
          }
        }
      ],
      "patch": {
        "description": "Update a platform post by given parameters",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PostsUpdate"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          },
          "422": {
            "$ref": "#/components/responses/UNPROCESSABLE_ENTITY"
          },
          "default": {
            "$ref": "#/components/responses/DEFAULT_ERROR"
          }
        },
        "summary": "Update a post",
        "tags": [
          "Community Posts"
        ]
      }
    },
    "/preset_replies": {
      "get": {
        "description": "List all of a given brand's preset replies without pagination",
        "parameters": [
          {
            "description": "The corresponding DH brand ID",
            "in": "query",
            "name": "brand_id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "The CommunityInteractionPlatform of the preset reply",
            "in": "query",
            "name": "type",
            "required": false,
            "schema": {
              "enum": [
                "FACEBOOK",
                "INSTAGRAM",
                "TIKTOK",
                "TWITTER",
                "YOUTUBE"
              ],
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PresetRepliesData"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "$ref": "#/components/responses/UNPROCESSABLE_ENTITY"
          },
          "default": {
            "$ref": "#/components/responses/DEFAULT_ERROR"
          }
        },
        "summary": "Get list of preset replies",
        "tags": [
          "Preset replies"
        ]
      },
      "post": {
        "description": "Creates a new preset reply for a brand",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreatePresetReply"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PresetReplyData"
                }
              }
            },
            "description": "Created"
          },
          "422": {
            "$ref": "#/components/responses/UNPROCESSABLE_ENTITY"
          },
          "default": {
            "$ref": "#/components/responses/DEFAULT_ERROR"
          }
        },
        "summary": "Create preset reply",
        "tags": [
          "Preset replies"
        ]
      }
    },
    "/preset_replies/bulk_create_preset_replies_task": {
      "post": {
        "description": "Create a task to bulk create preset replies for a brand across multiple platforms",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BulkCreatePresetReply"
              }
            }
          },
          "required": true
        },
        "responses": {
          "202": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BulkPresetReplyData"
                }
              }
            },
            "description": "Accepted"
          },
          "422": {
            "$ref": "#/components/responses/UNPROCESSABLE_ENTITY"
          },
          "default": {
            "$ref": "#/components/responses/DEFAULT_ERROR"
          }
        },
        "summary": "Admin Bulk create preset replies",
        "tags": [
          "Preset replies"
        ]
      }
    },
    "/preset_replies/{reply_id}": {
      "delete": {
        "description": "Deletes a preset reply for a brand",
        "parameters": [
          {
            "description": "The ID of the preset reply.",
            "in": "query",
            "name": "reply_id",
            "required": false,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "422": {
            "$ref": "#/components/responses/UNPROCESSABLE_ENTITY"
          },
          "default": {
            "$ref": "#/components/responses/DEFAULT_ERROR"
          }
        },
        "summary": "Delete preset reply",
        "tags": [
          "Preset replies"
        ]
      },
      "parameters": [
        {
          "description": "The ID of the preset reply",
          "in": "path",
          "name": "reply_id",
          "required": true,
          "schema": {
            "minimum": 0,
            "type": "integer"
          }
        }
      ],
      "patch": {
        "description": "Updates a preset reply for a brand",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdatePresetReply"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PresetReplyData"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "$ref": "#/components/responses/UNPROCESSABLE_ENTITY"
          },
          "default": {
            "$ref": "#/components/responses/DEFAULT_ERROR"
          }
        },
        "summary": "Update a preset reply",
        "tags": [
          "Preset replies"
        ]
      }
    },
    "/tags": {
      "get": {
        "description": "Get the tag details for a Dash Social brand",
        "parameters": [
          {
            "description": "Brand to fetch tags for.",
            "in": "query",
            "name": "brand_id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TagsData"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "$ref": "#/components/responses/UNPROCESSABLE_ENTITY"
          },
          "default": {
            "$ref": "#/components/responses/DEFAULT_ERROR"
          }
        },
        "summary": "Get Tags",
        "tags": [
          "Community Interaction Tags"
        ]
      },
      "post": {
        "description": "Creates a tag and assigns a random color to it",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Tag"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TagData"
                }
              }
            },
            "description": "Created"
          },
          "422": {
            "$ref": "#/components/responses/UNPROCESSABLE_ENTITY"
          },
          "default": {
            "$ref": "#/components/responses/DEFAULT_ERROR"
          }
        },
        "summary": "Create a tag",
        "tags": [
          "Community Interaction Tags"
        ]
      }
    },
    "/tags/{tag_id}": {
      "delete": {
        "description": "Deletes a tag by ID.",
        "responses": {
          "204": {
            "description": "No Content"
          },
          "default": {
            "$ref": "#/components/responses/DEFAULT_ERROR"
          }
        },
        "summary": "Delete tag",
        "tags": [
          "Community Interaction Tags"
        ]
      },
      "parameters": [
        {
          "description": "The ID of the tag to delete",
          "in": "path",
          "name": "tag_id",
          "required": true,
          "schema": {
            "minimum": 0,
            "type": "integer"
          }
        }
      ]
    },
    "/tiktok_comments": {
      "get": {
        "description": "Get paginated result of all comments on media object with brand replies",
        "parameters": [
          {
            "description": "The ID of the media the comment was made on.",
            "in": "query",
            "name": "media_id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "The brand ID of the comment.",
            "in": "query",
            "name": "brand_id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Number of results to return in a single response.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 100,
              "type": "integer"
            }
          },
          {
            "description": "The offset of the first result to be returned.",
            "in": "query",
            "name": "offset",
            "required": false,
            "schema": {
              "default": 0,
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TikTokCommentsData"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "$ref": "#/components/responses/UNPROCESSABLE_ENTITY"
          },
          "default": {
            "$ref": "#/components/responses/DEFAULT_ERROR"
          }
        },
        "summary": "Get tiktok comments for a piece of media",
        "tags": [
          "TikTok Comments"
        ],
        "x-public": true
      },
      "post": {
        "description": "Allows us to reply to a root level comment on a tiktok video",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreatePostTikTokComment"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TikTokComment"
                }
              }
            },
            "description": "Created"
          },
          "422": {
            "$ref": "#/components/responses/UNPROCESSABLE_ENTITY"
          },
          "default": {
            "$ref": "#/components/responses/DEFAULT_ERROR"
          }
        },
        "summary": "Create a new tiktok comment",
        "tags": [
          "TikTok Comments"
        ]
      }
    },
    "/tiktok_comments/csv": {
      "post": {
        "description": "Generate a task to pull comment data under a media post and send back through socket",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CommunityCommentCSVRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "description": "Created"
          },
          "422": {
            "$ref": "#/components/responses/UNPROCESSABLE_ENTITY"
          },
          "default": {
            "$ref": "#/components/responses/DEFAULT_ERROR"
          }
        },
        "summary": "Get a CSV of all comments under a TikTok owned post",
        "tags": [
          "TikTok Comments"
        ]
      }
    },
    "/tiktok_comments/{community_interaction_id}": {
      "delete": {
        "description": "Delete a comment made by this users account",
        "responses": {
          "204": {
            "description": "No Content"
          },
          "default": {
            "$ref": "#/components/responses/DEFAULT_ERROR"
          }
        },
        "summary": "Delete a TikTok comment",
        "tags": [
          "TikTok Comments"
        ]
      },
      "get": {
        "description": "Get a tiktok comment with replies",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TikTokCommentWithReplies"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "$ref": "#/components/responses/DEFAULT_ERROR"
          }
        },
        "summary": "Get a comment",
        "tags": [
          "TikTok Comments"
        ],
        "x-public": true
      },
      "parameters": [
        {
          "description": "The ID of the comment",
          "in": "path",
          "name": "community_interaction_id",
          "required": true,
          "schema": {
            "minimum": 0,
            "type": "integer"
          }
        }
      ],
      "patch": {
        "description": "Pin/unpin, like/unlike, or hide/unhide a tiktok comment",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TikTokCommentUpdateArguments"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TikTokComment"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "$ref": "#/components/responses/UNPROCESSABLE_ENTITY"
          },
          "default": {
            "$ref": "#/components/responses/DEFAULT_ERROR"
          }
        },
        "summary": "Patch a comment",
        "tags": [
          "TikTok Comments"
        ]
      }
    },
    "/tweets": {
      "get": {
        "description": "Retrieve a list of top-level tweets with their respective flattened replies",
        "parameters": [
          {
            "description": "The ID of the media the comment was made on.",
            "in": "query",
            "name": "media_id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "The brand ID of the comment.",
            "in": "query",
            "name": "brand_id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Number of results to return in a single response.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 100,
              "type": "integer"
            }
          },
          {
            "description": "The offset of the first result to be returned.",
            "in": "query",
            "name": "offset",
            "required": false,
            "schema": {
              "default": 0,
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TwitterTweetsData"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "$ref": "#/components/responses/UNPROCESSABLE_ENTITY"
          },
          "default": {
            "$ref": "#/components/responses/DEFAULT_ERROR"
          }
        },
        "summary": "Get a list of tweets",
        "tags": [
          "Twitter Tweets"
        ],
        "x-public": true
      },
      "post": {
        "description": "Create a quote tweet OR a reply to a Twitter reply or mention",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TwitterTweetCreateParams"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TwitterTweetData"
                }
              }
            },
            "description": "Created"
          },
          "422": {
            "$ref": "#/components/responses/UNPROCESSABLE_ENTITY"
          },
          "default": {
            "$ref": "#/components/responses/DEFAULT_ERROR"
          }
        },
        "summary": "Create a new Twitter tweet",
        "tags": [
          "Twitter Tweets"
        ]
      }
    },
    "/tweets/csv": {
      "post": {
        "description": "Generate a task to pull reply data under a media post and send back through socket",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CommunityCommentCSVRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "202": {
            "description": "Accepted"
          },
          "422": {
            "$ref": "#/components/responses/UNPROCESSABLE_ENTITY"
          },
          "default": {
            "$ref": "#/components/responses/DEFAULT_ERROR"
          }
        },
        "summary": "Get a CSV of all replies under a Twitter owned tweet",
        "tags": [
          "Twitter Tweets"
        ]
      }
    },
    "/tweets/{community_interaction_id}": {
      "delete": {
        "description": "Delete a Twitter tweet made by brand from native platform and soft delete from DB",
        "responses": {
          "204": {
            "description": "No Content"
          },
          "default": {
            "$ref": "#/components/responses/DEFAULT_ERROR"
          }
        },
        "summary": "Delete a tweet",
        "tags": [
          "Twitter Tweets"
        ]
      },
      "get": {
        "description": "Get a single tweet by given parameters",
        "parameters": [
          {
            "description": "Additionally return the parent tweet or the just the tweet itself.",
            "in": "query",
            "name": "return_parent",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TwitterTweetDetail"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "$ref": "#/components/responses/UNPROCESSABLE_ENTITY"
          },
          "default": {
            "$ref": "#/components/responses/DEFAULT_ERROR"
          }
        },
        "summary": "Get a tweet",
        "tags": [
          "Twitter Tweets"
        ],
        "x-public": true
      },
      "parameters": [
        {
          "description": "The community interaction ID of the tweet",
          "in": "path",
          "name": "community_interaction_id",
          "required": true,
          "schema": {
            "minimum": 0,
            "type": "integer"
          }
        }
      ],
      "patch": {
        "description": "Hide/unhide, like/unlike, or retweet/undo retweet a Twitter tweet",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TwitterTweetUpdateParams"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TwitterTweet"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "$ref": "#/components/responses/UNPROCESSABLE_ENTITY"
          },
          "default": {
            "$ref": "#/components/responses/DEFAULT_ERROR"
          }
        },
        "summary": "Patch a tweet",
        "tags": [
          "Twitter Tweets"
        ]
      }
    },
    "/youtube_comments": {
      "get": {
        "description": "Get a paginated list of all root-level comments on media with brand replies",
        "parameters": [
          {
            "description": "The ID of the media the comment was made on.",
            "in": "query",
            "name": "media_id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "The brand ID of the comment.",
            "in": "query",
            "name": "brand_id",
            "required": true,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Number of results to return in a single response.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 100,
              "type": "integer"
            }
          },
          {
            "description": "The offset of the first result to be returned.",
            "in": "query",
            "name": "offset",
            "required": false,
            "schema": {
              "default": 0,
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/YouTubeCommentsData"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "$ref": "#/components/responses/UNPROCESSABLE_ENTITY"
          },
          "default": {
            "$ref": "#/components/responses/DEFAULT_ERROR"
          }
        },
        "summary": "Get a list of tweets",
        "tags": [
          "YouTube Comments"
        ]
      },
      "post": {
        "description": "Create a reply to a YouTube comment",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreatePostComment"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/YouTubeComment"
                }
              }
            },
            "description": "Created"
          },
          "422": {
            "$ref": "#/components/responses/UNPROCESSABLE_ENTITY"
          },
          "default": {
            "$ref": "#/components/responses/DEFAULT_ERROR"
          }
        },
        "summary": "Create a new YouTube comment",
        "tags": [
          "YouTube Comments"
        ]
      }
    },
    "/youtube_comments/csv": {
      "post": {
        "description": "Generate a task to pull reply data under a YouTube media and send back through provided socket",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CommunityCommentCSVRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "description": "Created"
          },
          "422": {
            "$ref": "#/components/responses/UNPROCESSABLE_ENTITY"
          },
          "default": {
            "$ref": "#/components/responses/DEFAULT_ERROR"
          }
        },
        "summary": "Get a CSV of all comments under a YouTube media",
        "tags": [
          "YouTube Comments"
        ]
      }
    },
    "/youtube_comments/{community_interaction_id}": {
      "delete": {
        "description": "Delete an owned YouTube comment or reject a user comment",
        "responses": {
          "204": {
            "description": "No Content"
          },
          "default": {
            "$ref": "#/components/responses/DEFAULT_ERROR"
          }
        },
        "summary": "Delete a YouTube comment",
        "tags": [
          "YouTube Comments"
        ]
      },
      "get": {
        "description": "Get a YouTube comment with replies",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/YouTubeCommentDetail"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "$ref": "#/components/responses/DEFAULT_ERROR"
          }
        },
        "summary": "Get a single YouTube comment",
        "tags": [
          "YouTube Comments"
        ]
      },
      "parameters": [
        {
          "description": "The ID of the comment",
          "in": "path",
          "name": "community_interaction_id",
          "required": true,
          "schema": {
            "minimum": 0,
            "type": "integer"
          }
        }
      ],
      "patch": {
        "description": "Currently to hide a YouTube comment",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/YouTubeComment"
                }
              }
            },
            "description": "OK"
          },
          "default": {
            "$ref": "#/components/responses/DEFAULT_ERROR"
          }
        },
        "summary": "Patch a comment",
        "tags": [
          "YouTube Comments"
        ]
      }
    },
    "/assignees": {
      "get": {
        "description": "Returns a list of assignee users for the specified brands. Requires multi-brand inbox permission when querying multiple brands.",
        "parameters": [
          {
            "description": "List of brand IDs to fetch assignees for",
            "explode": false,
            "in": "query",
            "name": "brand_ids",
            "required": true,
            "schema": {
              "items": {
                "type": "integer"
              },
              "type": "array"
            },
            "style": "form"
          },
          {
            "description": "List of organization IDs to fetch assignees for",
            "explode": false,
            "in": "query",
            "name": "organization_ids",
            "required": false,
            "schema": {
              "items": {
                "type": "integer"
              },
              "type": "array"
            },
            "style": "form"
          },
          {
            "description": "Start date for filtering assignees",
            "in": "query",
            "name": "source_updated_after",
            "required": false,
            "schema": {
              "format": "date-time",
              "type": "string"
            }
          },
          {
            "description": "End date for filtering assignees",
            "in": "query",
            "name": "source_updated_before",
            "required": false,
            "schema": {
              "format": "date-time",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/AssigneeUser"
                  },
                  "type": "array"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "$ref": "#/components/responses/UNPROCESSABLE_ENTITY"
          },
          "default": {
            "$ref": "#/components/responses/DEFAULT_ERROR"
          }
        },
        "summary": "Get assignees",
        "tags": [
          "Community Interactions"
        ],
        "x-public": true
      }
    },
    "/overview_stats": {
      "get": {
        "description": "Returns aggregated community overview header stats for the specified brands. Supports filtering by date range, platform, and interaction type.",
        "parameters": [
          {
            "description": "List of brand_ids to fetch overview stats for",
            "explode": false,
            "in": "query",
            "name": "brand_ids",
            "required": true,
            "schema": {
              "items": {
                "type": "integer"
              },
              "type": "array"
            },
            "style": "form"
          },
          {
            "description": "Comma separated list of types.",
            "explode": false,
            "in": "query",
            "name": "types",
            "required": false,
            "schema": {
              "items": {
                "enum": [
                  "FACEBOOK_ADS_COMMENT",
                  "FACEBOOK_COMMENT",
                  "FACEBOOK_CONVERSATION",
                  "INSTAGRAM_ADS_COMMENT",
                  "INSTAGRAM_COMMENT",
                  "INSTAGRAM_CONVERSATION",
                  "TIKTOK_CAPTION_MENTION",
                  "TIKTOK_COMMENT",
                  "TIKTOK_COMMENT_MENTION",
                  "TWITTER_CONVERSATION",
                  "TWITTER_MENTION",
                  "TWITTER_QUOTE",
                  "TWITTER_RETWEET",
                  "YOUTUBE_COMMENT"
                ],
                "type": "string"
              },
              "type": "array"
            },
            "style": "form"
          },
          {
            "description": "Comma separated list of tag IDs to filter results by. Condition is AND",
            "explode": false,
            "in": "query",
            "name": "tag_ids",
            "required": false,
            "schema": {
              "items": {
                "type": "integer"
              },
              "type": "array"
            },
            "style": "form"
          },
          {
            "description": "When the community interaction was updated according to the source platform.",
            "in": "query",
            "name": "source_updated_after",
            "required": false,
            "schema": {
              "format": "date-time",
              "type": "string"
            }
          },
          {
            "description": "When the community interaction was updated according to the source platform.",
            "in": "query",
            "name": "source_updated_before",
            "required": false,
            "schema": {
              "format": "date-time",
              "type": "string"
            }
          },
          {
            "description": "Whether the community interaction is marked as archived.",
            "in": "query",
            "name": "is_archived",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "Whether the community interaction is marked as follow-up.",
            "in": "query",
            "name": "is_follow_up",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "A text that helps search for relevant records.",
            "in": "query",
            "name": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Flag to determine if query is a list of comma separated keywords.",
            "in": "query",
            "name": "multiple_keywords",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "Comma separated list of library media IDs",
            "explode": false,
            "in": "query",
            "name": "media_ids",
            "required": false,
            "schema": {
              "items": {
                "type": "integer"
              },
              "type": "array"
            },
            "style": "form"
          },
          {
            "description": "Is the comment is labeled as positive.",
            "in": "query",
            "name": "is_positive",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "Is the comment is labeled as positive.",
            "in": "query",
            "name": "is_neutral",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "Is the comment is labeled as positive.",
            "in": "query",
            "name": "is_negative",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "Is the comment a question.",
            "in": "query",
            "name": "is_question",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "Is the comment spam.",
            "in": "query",
            "name": "is_spam",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "A ticket ID to filter results by with OR condition.",
            "in": "query",
            "name": "ticket_id",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "ID of the assigned user",
            "in": "query",
            "name": "assignee_id",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Comma separated list of assignee user IDs to filter by",
            "explode": false,
            "in": "query",
            "name": "assignee_ids",
            "required": false,
            "schema": {
              "items": {
                "type": "integer"
              },
              "type": "array"
            },
            "style": "form"
          },
          {
            "description": "The interaction rule by which to filter stats",
            "in": "query",
            "name": "interaction_rule_id",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Determine if a response is recommended for the interaction.",
            "in": "query",
            "name": "response_recommended",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "A map of field names, from this schema (and parent schemas), that operators types are provided for.",
            "in": "query",
            "name": "operators",
            "required": false,
            "schema": {
              "additionalProperties": {
                "type": "string"
              },
              "type": "object"
            }
          },
          {
            "description": "Filter by interactions that were deleted by user or rule",
            "in": "query",
            "name": "deleted_by",
            "required": false,
            "schema": {
              "enum": [
                "RULE",
                "USER"
              ],
              "type": "string"
            }
          },
          {
            "description": "Message content type to filter by",
            "explode": false,
            "in": "query",
            "name": "message_content",
            "required": false,
            "schema": {
              "items": {
                "enum": [
                  "EMOJI_ONLY",
                  "GIF_ONLY",
                  "HASHTAG_ONLY",
                  "LINK_ONLY",
                  "MENTION_ONLY",
                  "ONE_WORD_ONLY",
                  "UNSUPPORTED"
                ],
                "type": "string"
              },
              "type": "array"
            },
            "style": "form"
          },
          {
            "description": "Subtypes to filter by",
            "explode": false,
            "in": "query",
            "name": "subtype",
            "required": false,
            "schema": {
              "items": {
                "enum": [
                  "POST_SHARE",
                  "REEL_SHARE",
                  "STORY_MENTION",
                  "STORY_REPLY"
                ],
                "type": "string"
              },
              "type": "array"
            },
            "style": "form"
          },
          {
            "description": "Comma separated list of AI category IDs to filter by",
            "explode": false,
            "in": "query",
            "name": "ai_category_ids",
            "required": false,
            "schema": {
              "items": {
                "type": "integer"
              },
              "type": "array"
            },
            "style": "form"
          },
          {
            "description": "The interaction rules by which to filter stats",
            "explode": false,
            "in": "query",
            "name": "interaction_rule_ids",
            "required": false,
            "schema": {
              "items": {
                "type": "integer"
              },
              "type": "array"
            },
            "style": "form"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CommunityOverviewStatsResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "$ref": "#/components/responses/UNPROCESSABLE_ENTITY"
          },
          "default": {
            "$ref": "#/components/responses/DEFAULT_ERROR"
          }
        },
        "summary": "Get community overview stats",
        "tags": [
          "Community Overview V2"
        ],
        "x-public": true
      }
    },
    "/sentiment_distribution_stats": {
      "post": {
        "description": "Returns sentiment distribution stats for a brand. Supports filtering by date range, platform, and interaction type.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CommunitySentimentDistributionBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CommunitySentimentDistributionResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "$ref": "#/components/responses/UNPROCESSABLE_ENTITY"
          },
          "default": {
            "$ref": "#/components/responses/DEFAULT_ERROR"
          }
        },
        "summary": "Get sentiment distribution stats",
        "tags": [
          "Community Overview V2"
        ],
        "x-public": true
      }
    },
    "/sentiment_time_series": {
      "post": {
        "description": "Returns per-platform sentiment time series data for a brand. Supports filtering by date range and interaction type.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CommunityOverviewSentimentTimeSeriesJSON"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CommunitySentimentTimeSeriesResponse"
                },
                "example": {
                  "data": {
                    "2026-03-19": {
                      "facebook": { "negative": 0, "neutral": 0, "positive": 0, "total": 0 },
                      "instagram": { "negative": 1, "neutral": 2, "positive": 6, "total": 9 },
                      "tiktok": { "negative": 2, "neutral": 2, "positive": 8, "total": 12 },
                      "twitter": { "negative": 0, "neutral": 0, "positive": 0, "total": 0 },
                      "youtube": { "negative": 1, "neutral": 0, "positive": 0, "total": 1 }
                    },
                    "2026-03-20": {
                      "facebook": { "negative": 4, "neutral": 5, "positive": 4, "total": 13 },
                      "instagram": { "negative": 1, "neutral": 3, "positive": 5, "total": 9 },
                      "tiktok": { "negative": 0, "neutral": 0, "positive": 0, "total": 0 },
                      "twitter": { "negative": 0, "neutral": 0, "positive": 0, "total": 0 },
                      "youtube": { "negative": 1, "neutral": 4, "positive": 3, "total": 8 }
                    },
                    "2026-04-17": {
                      "facebook": { "negative": 0, "neutral": 0, "positive": 0, "total": 0 },
                      "instagram": { "negative": 14, "neutral": 16, "positive": 30, "total": 60 },
                      "tiktok": { "negative": 0, "neutral": 0, "positive": 0, "total": 0 },
                      "twitter": { "negative": 0, "neutral": 0, "positive": 0, "total": 0 },
                      "youtube": { "negative": 0, "neutral": 0, "positive": 0, "total": 0 }
                    }
                  }
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "$ref": "#/components/responses/UNPROCESSABLE_ENTITY"
          },
          "default": {
            "$ref": "#/components/responses/DEFAULT_ERROR"
          }
        },
        "summary": "Get sentiment time series",
        "tags": [
          "Community Overview V2"
        ],
        "x-public": true
      }
    },
    "/top_keywords": {
      "post": {
        "description": "Returns the top keywords from community interactions matching the provided filters, ranked by frequency.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CommunityTopKeywordsPayload"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TopKeywords"
                },
                "example": {
                  "data": {
                    "love":    { "negative": 3,  "neutral": 10, "positive": 30, "total": 43 },
                    "style":   { "negative": 4,  "neutral": 6,  "positive": 11, "total": 21 },
                    "order":   { "negative": 7,  "neutral": 1,  "positive": 2,  "total": 10 },
                    "perfect": { "negative": 0,  "neutral": 1,  "positive": 10, "total": 11 },
                    "wait":    { "negative": 0,  "neutral": 0,  "positive": 12, "total": 12 }
                  }
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "$ref": "#/components/responses/UNPROCESSABLE_ENTITY"
          },
          "default": {
            "$ref": "#/components/responses/DEFAULT_ERROR"
          }
        },
        "summary": "Get top keywords",
        "tags": [
          "Community Overview V2"
        ],
        "x-public": true
      }
    },
    "/volume_time_series": {
      "post": {
        "description": "Returns community interaction volume as a time series, broken down by interaction type (comments, messages, mentions, retweets, etc.) per date. Supports multiple brands, date range filtering, and interaction type filtering.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CommunityOverviewMultiBrandTimeSeriesJSON"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CommunityVolumeTimeSeriesResponse"
                },
                "example": {
                  "data": {
                    "2026-02-06": {
                      "facebook_comment": 4,
                      "facebook_message": 0,
                      "instagram_comment": 0,
                      "instagram_message": 15,
                      "tiktok_comment": 0,
                      "twitter_mention": 6,
                      "twitter_message": 0,
                      "twitter_quote": 2,
                      "twitter_retweet": 4,
                      "youtube_comment": 0,
                      "total": 31
                    },
                    "2026-03-25": {
                      "facebook_comment": 0,
                      "facebook_message": 0,
                      "instagram_comment": 13,
                      "instagram_message": 13,
                      "tiktok_comment": 1,
                      "twitter_mention": 1,
                      "twitter_message": 0,
                      "twitter_quote": 0,
                      "twitter_retweet": 0,
                      "youtube_comment": 0,
                      "total": 28
                    },
                    "2026-04-07": {
                      "facebook_comment": 4,
                      "facebook_message": 4,
                      "instagram_comment": 14,
                      "instagram_message": 0,
                      "tiktok_comment": 1,
                      "twitter_mention": 2,
                      "twitter_message": 0,
                      "twitter_quote": 0,
                      "twitter_retweet": 0,
                      "youtube_comment": 0,
                      "total": 25
                    }
                  }
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "$ref": "#/components/responses/UNPROCESSABLE_ENTITY"
          },
          "default": {
            "$ref": "#/components/responses/DEFAULT_ERROR"
          }
        },
        "summary": "Get volume time series",
        "tags": [
          "Community Overview V2"
        ],
        "x-public": true
      }
    }
  },
  "servers": [
    {
      "url": "https://community.dashsocial.com"
    }
  ],
  "tags": [
    {
      "description": "Endpoints responsible for comment sentiment.",
      "name": "Comment Sentiment"
    },
    {
      "description": "Endpoints responsible for community interaction tags.",
      "name": "Community Interaction Tags"
    },
    {
      "description": "Endpoints responsible for community interactions.",
      "name": "Community Interactions"
    },
    {
      "description": "Endpoints responsible for community overview.",
      "name": "Community Overview"
    },
    {
      "description": "Endpoints responsible for community post operations",
      "name": "Community Posts"
    },
    {
      "description": "Endpoints responsible for managing Facebook comments.",
      "name": "Facebook Comments"
    },
    {
      "description": "Endpoints responsible for managing Facebook messages.",
      "name": "Facebook Messages"
    },
    {
      "description": "Endpoints responsible for managing Instagram comments.",
      "name": "Instagram Comments"
    },
    {
      "description": "Endpoints responsible for Instagram messages.",
      "name": "Instagram Messages"
    },
    {
      "description": "Endpoints responsible for community interaction automation rules.",
      "name": "Interaction Rules"
    },
    {
      "description": "Endpoints responsible for managing preset replies.",
      "name": "Preset replies"
    },
    {
      "description": "Endpoints responsible for managing TikTok comments.",
      "name": "TikTok Comments"
    },
    {
      "description": "Endpoints responsible for managing Twitter messages.",
      "name": "Twitter Messages"
    },
    {
      "description": "Endpoints responsible for managing Twitter tweets.",
      "name": "Twitter Tweets"
    },
    {
      "description": "Endpoints responsible for managing YouTube Comments",
      "name": "YouTube Comments"
    }
  ],
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "security": [
    {
      "BearerAuth": []
    }
  ]
}