IntegrationType (domain/integrations_schema.py)

potpie · potpie/integrations/integrations/domain/integrations_schema.py · python · Apache-2.0
auth

Defines Pydantic schemas for managing external service integrations like Sentry and Jira.

# Source: https://github.com/potpie-ai/potpie | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works
# Provided via justclaw.it.com; keep this notice with the code.
from pydantic import BaseModel, ConfigDict, Field
from typing import Optional, Dict, Any, List
from datetime import datetime
from enum import Enum


class IntegrationType(str, Enum):
    """Supported integration types"""

    SENTRY = "sentry"
    GITHUB = "github"
    SLACK = "slack"
    JIRA = "jira"
    LINEAR = "linear"
    CONFLUENCE = "confluence"


class IntegrationStatus(str, Enum):
    """Integration status values"""

    ACTIVE = "active"
    INACTIVE = "inactive"
    PENDING = "pending"
    ERROR = "error"


class AuthData(BaseModel):
    """Authentication data for integrations"

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key