{
  "openapi": "3.1.0",
  "info": {
    "title": "Adapt Mail API",
    "version": "0.16.0",
    "description": "API 사서함, 편지, 파일 및 연락처 작업용. 구독 관리는 이메일을 연결한 개인 계정에서 가능합니다."
  },
  "paths": {
    "/v1/auth/login": {
      "post": {
        "tags": [
          "Авторизация и аккаунт"
        ],
        "summary": "브라우저에 로그인",
        "operationId": "login_v1_auth_login_post",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Login"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "성공적인 응답",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "mailbox_id": {
                      "anyOf": [
                        {
                          "type": "integer"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "session_id": {
                      "type": "string",
                      "format": "uuid"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "로그인이 필요합니다",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "접근 불가",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "리소스를 찾을 수 없습니다.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "국가 갈등",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "429": {
            "description": "요청이 너무 많습니다.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "503": {
            "description": "일시적인 이용 불가",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "경로는 adapt-mail.com에 대한 것이며 Origin:이 필요합니다. https://adapt-mail.com. HttpOnly cookies을 반환하고 분류되지 않은 session_id. 클라이언트의 경우 /v1/auth/token.을 사용합니다.",
        "security": []
      }
    },
    "/v1/auth/token": {
      "post": {
        "tags": [
          "Авторизация и аккаунт"
        ],
        "summary": "사용자 토큰 얻기",
        "operationId": "token_v1_auth_token_post",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Login"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "성공적인 응답",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "access_token": {
                      "type": "string"
                    },
                    "token_type": {
                      "type": "string",
                      "const": "Bearer"
                    },
                    "expires_in": {
                      "type": "integer",
                      "const": 3600
                    },
                    "mailbox_id": {
                      "anyOf": [
                        {
                          "type": "integer"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "로그인이 필요합니다",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "접근 불가",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "리소스를 찾을 수 없습니다.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "국가 갈등",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "429": {
            "description": "요청이 너무 많습니다.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "503": {
            "description": "일시적인 이용 불가",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "로그인 및 비밀번호를 기반으로 1시간 동안 액세스 토큰을 발급합니다. 모든 계정 사서함에 액세스하려면 mode=account을 지정하고 하나의 주소에 액세스하려면 mode=mailbox을 지정합니다. Authorization: Bearer <access_token> 헤더에 access_token을 전달합니다.",
        "security": []
      }
    },
    "/v1/auth/sessions": {
      "get": {
        "tags": [
          "Авторизация и аккаунт"
        ],
        "summary": "저장된 세션",
        "operationId": "sessions_v1_auth_sessions_get",
        "responses": {
          "200": {
            "description": "성공적인 응답",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "session_id": {
                        "type": "string"
                      },
                      "mailbox_id": {
                        "anyOf": [
                          {
                            "type": "integer"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "email": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "login": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      }
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "로그인이 필요합니다",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "접근 불가",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "리소스를 찾을 수 없습니다.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "국가 갈등",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "503": {
            "description": "일시적인 이용 불가",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "필수 cookie mail_browser. X-API-Key 및 Bearer은 이를 대체하지 않습니다. cookie. cookie이 없으면 빈 목록이 반환됩니다.",
        "security": [
          {
            "Browser": []
          }
        ]
      }
    },
    "/v1/auth/logout": {
      "post": {
        "tags": [
          "Авторизация и аккаунт"
        ],
        "summary": "세션에서 로그아웃",
        "operationId": "logout_v1_auth_logout_post",
        "security": [
          {
            "Session": []
          },
          {
            "Browser": []
          }
        ],
        "parameters": [
          {
            "name": "X-Customer-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Customer-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "성공적인 응답",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "logged_out": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "로그인이 필요합니다",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "접근 불가",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "리소스를 찾을 수 없습니다.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "국가 갈등",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "503": {
            "description": "일시적인 이용 불가",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "사용자 세션에만 해당됩니다. 선택한 입력을 불러옵니다. 나머지 입력은 유지됩니다."
      }
    },
    "/v1/me": {
      "get": {
        "tags": [
          "Авторизация и аккаунт"
        ],
        "summary": "사용자 프로필",
        "operationId": "me_v1_me_get",
        "security": [
          {
            "PartnerKey": [],
            "Customer": []
          },
          {
            "Session": []
          },
          {
            "Browser": []
          }
        ],
        "parameters": [
          {
            "name": "X-Customer-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Customer-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "성공적인 응답",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "integer"
                    },
                    "email": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "name": {
                      "type": "string"
                    },
                    "verified": {
                      "type": "boolean"
                    },
                    "quota_mb": {
                      "type": "integer"
                    },
                    "mailbox_id": {
                      "anyOf": [
                        {
                          "type": "integer"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "auth_type": {
                      "type": "string"
                    },
                    "login": {
                      "type": "string"
                    },
                    "is_admin": {
                      "type": "boolean"
                    },
                    "files_enabled": {
                      "type": "boolean"
                    },
                    "service_managed": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "로그인이 필요합니다",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "접근 불가",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "리소스를 찾을 수 없습니다.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "국가 갈등",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "503": {
            "description": "일시적인 이용 불가",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "현재 메일 계정의 프로필을 반환합니다. 이를 사용하여 애플리케이션에 사용자 이름과 로그인을 표시합니다."
      }
    },
    "/v1/avatars/{domain}": {
      "get": {
        "tags": [
          "Логотипы доменов"
        ],
        "summary": "도메인 로고",
        "operationId": "avatar_v1_avatars__domain__get",
        "security": [
          {
            "PartnerKey": [],
            "Customer": []
          },
          {
            "Session": []
          },
          {
            "Browser": []
          }
        ],
        "parameters": [
          {
            "name": "domain",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Domain"
            }
          },
          {
            "name": "X-Customer-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Customer-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "성공적인 응답",
            "content": {
              "image/png": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "202": {
            "description": "로고 준비중입니다"
          },
          "204": {
            "description": "로고 없음"
          },
          "401": {
            "description": "로그인이 필요합니다",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "접근 불가",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "리소스를 찾을 수 없습니다.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "국가 갈등",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "429": {
            "description": "요청이 너무 많습니다.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "503": {
            "description": "일시적인 이용 불가",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "200 - 이미지; 202 — 준비, Retry-After 이후 반복; 204 - 로고 없음; 503 - 일시적인 오류입니다. 로고는 보낸 사람의 신원을 확인하지 않습니다."
      }
    },
    "/v1/domains": {
      "get": {
        "tags": [
          "Домены и ящики"
        ],
        "summary": "도메인 목록",
        "operationId": "list_domains_v1_domains_get",
        "security": [
          {
            "PartnerKey": [],
            "Customer": []
          },
          {
            "Session": []
          },
          {
            "Browser": []
          }
        ],
        "parameters": [
          {
            "name": "X-Customer-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Customer-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "성공적인 응답",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Domain"
                  }
                }
              }
            }
          },
          "401": {
            "description": "로그인이 필요합니다",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "접근 불가",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "리소스를 찾을 수 없습니다.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "국가 갈등",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "503": {
            "description": "일시적인 이용 불가",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "개인 주소를 생성하려면 사용자 정의 도메인과 공유 도메인을 사용할 수 있습니다."
      }
    },
    "/v1/domains/{domain_id}/dns": {
      "get": {
        "tags": [
          "Домены и ящики"
        ],
        "summary": "DNS-도메인 레코드",
        "operationId": "domain_dns_v1_domains__domain_id__dns_get",
        "security": [
          {
            "PartnerKey": [],
            "Customer": []
          },
          {
            "Session": []
          },
          {
            "Browser": []
          }
        ],
        "parameters": [
          {
            "name": "domain_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "title": "Domain Id"
            }
          },
          {
            "name": "X-Customer-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Customer-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "성공적인 응답",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "domain_id": {
                      "type": "integer"
                    },
                    "status": {
                      "type": "string"
                    },
                    "records": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "type": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          },
                          "value": {
                            "type": "string"
                          },
                          "observed": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          },
                          "matches": {
                            "type": "boolean"
                          },
                          "error": {
                            "type": "string"
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "로그인이 필요합니다",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "접근 불가",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "리소스를 찾을 수 없습니다.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "국가 갈등",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "503": {
            "description": "일시적인 이용 불가",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "지침에는 정확한 DNS- 값과 테스트 결과가 포함되어 있지만 DNS을 자동으로 변경하지는 않습니다."
      }
    },
    "/v1/mailboxes": {
      "get": {
        "tags": [
          "Домены и ящики"
        ],
        "summary": "상자 목록 및 소비 한도",
        "operationId": "list_mailboxes_v1_mailboxes_get",
        "security": [
          {
            "PartnerKey": [],
            "Customer": []
          },
          {
            "Session": []
          },
          {
            "Browser": []
          }
        ],
        "parameters": [
          {
            "name": "X-Customer-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Customer-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "성공적인 응답",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Mailbox"
                  }
                }
              }
            }
          },
          "401": {
            "description": "로그인이 필요합니다",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "접근 불가",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "리소스를 찾을 수 없습니다.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "국가 갈등",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "503": {
            "description": "일시적인 이용 불가",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "사서함 목록은 소유자 또는 사용자 세션의 유일한 사서함에 의해 제한됩니다."
      }
    },
    "/v1/mailboxes/{mailbox_id}": {
      "patch": {
        "tags": [
          "Домены и ящики"
        ],
        "summary": "사서함 설정",
        "operationId": "update_mailbox_v1_mailboxes__mailbox_id__patch",
        "security": [
          {
            "PartnerKey": [],
            "Customer": []
          },
          {
            "Session": []
          },
          {
            "Browser": []
          }
        ],
        "parameters": [
          {
            "name": "mailbox_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "title": "Mailbox Id"
            }
          },
          {
            "name": "X-Customer-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Customer-Id"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": false,
            "schema": {
              "type": "string",
              "minLength": 8,
              "maxLength": 128
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MailboxUpdate"
              }
            }
          }
        },
        "responses": {
          "202": {
            "description": "성공적인 응답",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Operation"
                }
              }
            }
          },
          "400": {
            "description": "잘못된 헤더 또는 식별자",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "로그인이 필요합니다",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "접근 불가",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "리소스를 찾을 수 없습니다.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "국가 갈등",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "503": {
            "description": "일시적인 이용 불가",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "/v1에서 name, password, signature를 변경할 수 있습니다. 공용 quota_mb는 호스팅 패널에서 변경합니다. 파일에는 별도 한도가 없습니다. Idempotency-Key는 선택 사항이지만 재시도 시 사용하는 것이 좋습니다."
      }
    },
    "/v1/mailboxes/{mailbox_id}/folders": {
      "get": {
        "tags": [
          "Почтовый ящик"
        ],
        "summary": "폴더 및 카운터",
        "operationId": "folders_v1_mailboxes__mailbox_id__folders_get",
        "security": [
          {
            "PartnerKey": [],
            "Customer": []
          },
          {
            "Session": []
          },
          {
            "Browser": []
          }
        ],
        "parameters": [
          {
            "name": "mailbox_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "title": "Mailbox Id"
            }
          },
          {
            "name": "X-Customer-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Customer-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "성공적인 응답",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "name": {
                        "type": "string"
                      },
                      "flags": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        }
                      },
                      "total": {
                        "type": "integer"
                      },
                      "unread": {
                        "type": "integer"
                      },
                      "uidvalidity": {
                        "type": "integer"
                      }
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "로그인이 필요합니다",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "접근 불가",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "리소스를 찾을 수 없습니다.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "국가 갈등",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "503": {
            "description": "일시적인 이용 불가",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "폴더 목록, 이메일 수 total, 읽지 않은 메시지 수 unread 및 각 폴더에 대한 값 uidvalidity을 반환합니다. 해당 문자에 대한 쿼리에는 폴더 이름과 uidvalidity을 사용하세요."
      },
      "post": {
        "tags": [
          "Почтовый ящик"
        ],
        "summary": "폴더 만들기",
        "operationId": "create_folder_v1_mailboxes__mailbox_id__folders_post",
        "security": [
          {
            "PartnerKey": [],
            "Customer": []
          },
          {
            "Session": []
          },
          {
            "Browser": []
          }
        ],
        "parameters": [
          {
            "name": "mailbox_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "title": "Mailbox Id"
            }
          },
          {
            "name": "X-Customer-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Customer-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NameInput"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "성공적인 응답",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "name": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "로그인이 필요합니다",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "접근 불가",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "리소스를 찾을 수 없습니다.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "국가 갈등",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "503": {
            "description": "일시적인 이용 불가",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "사용자 정의 폴더는 IMAP에 생성되며 다른 메일 클라이언트에서 사용할 수 있습니다."
      }
    },
    "/v1/mailboxes/{mailbox_id}/messages": {
      "get": {
        "tags": [
          "Почтовый ящик"
        ],
        "summary": "편지 목록",
        "operationId": "messages_v1_mailboxes__mailbox_id__messages_get",
        "security": [
          {
            "PartnerKey": [],
            "Customer": []
          },
          {
            "Session": []
          },
          {
            "Browser": []
          }
        ],
        "parameters": [
          {
            "name": "mailbox_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "title": "Mailbox Id"
            }
          },
          {
            "name": "folder",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "default": "INBOX",
              "title": "Folder"
            }
          },
          {
            "name": "q",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "maxLength": 200,
              "default": "",
              "title": "Q"
            }
          },
          {
            "name": "before",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "integer",
                  "exclusiveMinimum": 0
                },
                {
                  "type": "null"
                }
              ],
              "title": "Before"
            }
          },
          {
            "name": "X-Customer-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Customer-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "성공적인 응답",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/MessageSummary"
                      }
                    },
                    "next_before": {
                      "anyOf": [
                        {
                          "type": "integer"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "uidvalidity": {
                      "type": "integer"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "로그인이 필요합니다",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "접근 불가",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "리소스를 찾을 수 없습니다.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "국가 갈등",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "503": {
            "description": "일시적인 이용 불가",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "새 UID부터 이전 문자까지 최대 40자를 반환합니다. 다음 페이지의 경우 next_before을 before.로 전달합니다. next_before=null의 경우 더 이상 페이지가 없습니다. 읽기는 읽기 플래그를 설정하지 않습니다."
      }
    },
    "/v1/mailboxes/{mailbox_id}/messages/{uid}": {
      "get": {
        "tags": [
          "Почтовый ящик"
        ],
        "summary": "메일 내용",
        "operationId": "message_v1_mailboxes__mailbox_id__messages__uid__get",
        "security": [
          {
            "PartnerKey": [],
            "Customer": []
          },
          {
            "Session": []
          },
          {
            "Browser": []
          }
        ],
        "parameters": [
          {
            "name": "mailbox_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "title": "Mailbox Id"
            }
          },
          {
            "name": "uid",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "title": "Uid"
            }
          },
          {
            "name": "uidvalidity",
            "in": "query",
            "required": true,
            "schema": {
              "type": "integer",
              "title": "Uidvalidity"
            }
          },
          {
            "name": "folder",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "default": "INBOX",
              "title": "Folder"
            }
          },
          {
            "name": "X-Customer-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Customer-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "성공적인 응답",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Message"
                }
              }
            }
          },
          "401": {
            "description": "로그인이 필요합니다",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "접근 불가",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "리소스를 찾을 수 없습니다.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "국가 갈등",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "503": {
            "description": "일시적인 이용 불가",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "메일 목록에서 folder, uidvalidity 및 uid을 보냅니다. HTML 지워지면 외부 이미지가 포함되지 않습니다. 편지를 읽음으로 표시하려면 별도의 작업을 수행하세요 read."
      }
    },
    "/v1/mailboxes/{mailbox_id}/messages/actions": {
      "post": {
        "tags": [
          "Почтовый ящик"
        ],
        "summary": "문자를 사용한 작업",
        "operationId": "action_v1_mailboxes__mailbox_id__messages_actions_post",
        "security": [
          {
            "PartnerKey": [],
            "Customer": []
          },
          {
            "Session": []
          },
          {
            "Browser": []
          }
        ],
        "parameters": [
          {
            "name": "mailbox_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "title": "Mailbox Id"
            }
          },
          {
            "name": "X-Customer-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Customer-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MessageAction"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "성공적인 응답",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "updated": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "로그인이 필요합니다",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "접근 불가",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "리소스를 찾을 수 없습니다.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "국가 갈등",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "503": {
            "description": "일시적인 이용 불가",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "한 폴더에서 선택한 메시지에 작업을 적용합니다. 해당 ID를 uids에 전달하고 폴더 이름을 folder에 전달하고 해당 uidvalidity.을 action=move의 경우 대상 폴더도 destination.에 지정합니다."
      }
    },
    "/v1/mailboxes/{mailbox_id}/messages/{uid}/eml": {
      "get": {
        "tags": [
          "Почтовый ящик"
        ],
        "summary": "EML에서 편지를 다운로드하세요.",
        "operationId": "export_eml_v1_mailboxes__mailbox_id__messages__uid__eml_get",
        "security": [
          {
            "PartnerKey": [],
            "Customer": []
          },
          {
            "Session": []
          },
          {
            "Browser": []
          }
        ],
        "parameters": [
          {
            "name": "mailbox_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "title": "Mailbox Id"
            }
          },
          {
            "name": "uid",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "title": "Uid"
            }
          },
          {
            "name": "uidvalidity",
            "in": "query",
            "required": true,
            "schema": {
              "type": "integer",
              "title": "Uidvalidity"
            }
          },
          {
            "name": "folder",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "default": "INBOX",
              "title": "Folder"
            }
          },
          {
            "name": "X-Customer-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Customer-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "성공적인 응답",
            "content": {
              "message/rfc822": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "401": {
            "description": "로그인이 필요합니다",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "접근 불가",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "리소스를 찾을 수 없습니다.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "국가 갈등",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "503": {
            "description": "일시적인 이용 불가",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "헤더와 첨부 파일이 포함된 원본 MIME-바이트를 반환합니다. 가독성은 변경되지 않습니다. PDF은 인쇄를 통해 브라우저에 생성됩니다. 별도의 PDF-route가 없습니다."
      }
    },
    "/v1/mailboxes/{mailbox_id}/messages/{uid}/attachments/{index}": {
      "get": {
        "tags": [
          "Почтовый ящик"
        ],
        "summary": "첨부파일 다운로드",
        "operationId": "attachment_v1_mailboxes__mailbox_id__messages__uid__attachments__index__get",
        "security": [
          {
            "PartnerKey": [],
            "Customer": []
          },
          {
            "Session": []
          },
          {
            "Browser": []
          }
        ],
        "parameters": [
          {
            "name": "mailbox_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "title": "Mailbox Id"
            }
          },
          {
            "name": "uid",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "title": "Uid"
            }
          },
          {
            "name": "index",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "title": "Index"
            }
          },
          {
            "name": "uidvalidity",
            "in": "query",
            "required": true,
            "schema": {
              "type": "integer",
              "title": "Uidvalidity"
            }
          },
          {
            "name": "folder",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "default": "INBOX",
              "title": "Folder"
            }
          },
          {
            "name": "X-Customer-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Customer-Id"
            }
          },
          {
            "name": "preview",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "pdf"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "성공적인 응답",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              },
              "application/pdf": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            },
            "headers": {
              "X-File-Scan": {
                "schema": {
                  "type": "string"
                }
              },
              "X-File-Scanned-At": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "401": {
            "description": "로그인이 필요합니다",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "접근 불가",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "리소스를 찾을 수 없습니다.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "국가 갈등",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "503": {
            "description": "일시적인 이용 불가",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "DOC, XLS, XLSX, PPT, PPTX, ODT 파일이나 첨부파일의 내용 요청에 preview=pdf를 추가하세요. 메일함당 분당 최대 10회 변환할 수 있습니다."
      }
    },
    "/v1/mailboxes/{mailbox_id}/send": {
      "post": {
        "tags": [
          "Почтовый ящик"
        ],
        "summary": "편지 보내기",
        "operationId": "send_v1_mailboxes__mailbox_id__send_post",
        "security": [
          {
            "PartnerKey": [],
            "Customer": []
          },
          {
            "Session": []
          },
          {
            "Browser": []
          }
        ],
        "parameters": [
          {
            "name": "mailbox_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "title": "Mailbox Id"
            }
          },
          {
            "name": "X-Customer-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Customer-Id"
            }
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 8,
              "maxLength": 128
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SendInput"
              }
            }
          }
        },
        "responses": {
          "202": {
            "description": "성공적인 응답",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Operation"
                }
              }
            }
          },
          "400": {
            "description": "잘못된 헤더 또는 식별자",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "로그인이 필요합니다",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "접근 불가",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "리소스를 찾을 수 없습니다.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "국가 갈등",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "413": {
            "description": "크기 초과",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "503": {
            "description": "일시적인 이용 불가",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "필수 Idempotency-Key 8~128자입니다. 동일한 키와 본문을 사용하여 반복하면 동일한 작업이 반환됩니다. 다른 기관에서는 409를 제공합니다. HTTP 202는 대기열을 의미합니다. 응답 수신 여부가 아닌 작업 상태를 확인하세요."
      }
    },
    "/v1/operations": {
      "get": {
        "tags": [
          "Почтовый ящик"
        ],
        "summary": "작업 목록",
        "operationId": "operations_v1_operations_get",
        "security": [
          {
            "PartnerKey": [],
            "Customer": []
          },
          {
            "Session": []
          },
          {
            "Browser": []
          }
        ],
        "parameters": [
          {
            "name": "X-Customer-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Customer-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "성공적인 응답",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Operation"
                  }
                }
              }
            }
          },
          "401": {
            "description": "로그인이 필요합니다",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "접근 불가",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "리소스를 찾을 수 없습니다.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "국가 갈등",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "503": {
            "description": "일시적인 이용 불가",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "마지막 100개의 작업을 반환합니다. 개별 사서함의 세션에서는 해당 작업만 볼 수 있습니다."
      }
    },
    "/v1/operations/{operation_id}": {
      "get": {
        "tags": [
          "Почтовый ящик"
        ],
        "summary": "운영현황",
        "operationId": "operation_v1_operations__operation_id__get",
        "security": [
          {
            "PartnerKey": [],
            "Customer": []
          },
          {
            "Session": []
          },
          {
            "Browser": []
          }
        ],
        "parameters": [
          {
            "name": "operation_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid",
              "title": "Operation Id"
            }
          },
          {
            "name": "X-Customer-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Customer-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "성공적인 응답",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Operation"
                }
              }
            }
          },
          "401": {
            "description": "로그인이 필요합니다",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "접근 불가",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "리소스를 찾을 수 없습니다.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "국가 갈등",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "503": {
            "description": "일시적인 이용 불가",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "id.으로 작업의 현재 상태를 반환합니다. status은 queued 또는 running과 같지만 작업은 완료되지 않습니다. 완료되면 성공 시 result, 오류 시 error를 확인하세요."
      }
    },
    "/v1/operations/{operation_id}/cancel": {
      "post": {
        "tags": [
          "Почтовый ящик"
        ],
        "summary": "보내기 취소",
        "operationId": "cancel_v1_operations__operation_id__cancel_post",
        "security": [
          {
            "PartnerKey": [],
            "Customer": []
          },
          {
            "Session": []
          },
          {
            "Browser": []
          }
        ],
        "parameters": [
          {
            "name": "operation_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid",
              "title": "Operation Id"
            }
          },
          {
            "name": "X-Customer-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Customer-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "성공적인 응답",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "cancelled": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "로그인이 필요합니다",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "접근 불가",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "리소스를 찾을 수 없습니다.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "국가 갈등",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "503": {
            "description": "일시적인 이용 불가",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "작업이 queued. 상태인 동안 편지 보내기를 취소합니다. 보내기가 이미 시작되었거나 완료되었거나 취소된 경우 409가 반환됩니다. 이 방법으로는 이미 보낸 편지를 불러올 수 없습니다."
      }
    },
    "/v1/operations/{operation_id}/retry": {
      "post": {
        "tags": [
          "Почтовый ящик"
        ],
        "summary": "작업을 반복하세요",
        "operationId": "retry_operation_v1_operations__operation_id__retry_post",
        "security": [
          {
            "PartnerKey": [],
            "Customer": []
          },
          {
            "Session": []
          },
          {
            "Browser": []
          }
        ],
        "parameters": [
          {
            "name": "operation_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid",
              "title": "Operation Id"
            }
          },
          {
            "name": "X-Customer-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Customer-Id"
            }
          }
        ],
        "responses": {
          "202": {
            "description": "성공적인 응답",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Operation"
                }
              }
            }
          },
          "401": {
            "description": "로그인이 필요합니다",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "접근 불가",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "리소스를 찾을 수 없습니다.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "국가 갈등",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "503": {
            "description": "일시적인 이용 불가",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "보낸 사람 규칙 적용을 다시 시작합니다: kind=sender_rules, status=failed. 이 방법을 사용하면 편지 보내기를 반복할 수 없습니다. 부적합한 상태의 경우 409가 반환됩니다. 이 방법을 통해 사서함 생성 및 구성을 반복할 수 없으며 403을 반환합니다."
      }
    },
    "/v1/mailboxes/{mailbox_id}/drafts/{draft_id}": {
      "put": {
        "tags": [
          "Почтовый ящик"
        ],
        "summary": "초안 저장",
        "operationId": "save_draft_v1_mailboxes__mailbox_id__drafts__draft_id__put",
        "security": [
          {
            "PartnerKey": [],
            "Customer": []
          },
          {
            "Session": []
          },
          {
            "Browser": []
          }
        ],
        "parameters": [
          {
            "name": "mailbox_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "title": "Mailbox Id"
            }
          },
          {
            "name": "draft_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid",
              "title": "Draft Id"
            }
          },
          {
            "name": "X-Customer-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Customer-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DraftInput"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "성공적인 응답",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "format": "uuid"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "로그인이 필요합니다",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "접근 불가",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "리소스를 찾을 수 없습니다.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "국가 갈등",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "503": {
            "description": "일시적인 이용 불가",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "draft_id.까지 초안을 생성하거나 업데이트합니다. 새 초안의 경우 UUID을 생성합니다. 후속 저장에는 동일한 식별자를 사용하십시오. 동일한 편지함에 로그인한 후 다른 장치에서 초안을 계속할 수 있습니다."
      },
      "delete": {
        "tags": [
          "Почтовый ящик"
        ],
        "summary": "초안 삭제",
        "operationId": "delete_draft_v1_mailboxes__mailbox_id__drafts__draft_id__delete",
        "security": [
          {
            "PartnerKey": [],
            "Customer": []
          },
          {
            "Session": []
          },
          {
            "Browser": []
          }
        ],
        "parameters": [
          {
            "name": "mailbox_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "title": "Mailbox Id"
            }
          },
          {
            "name": "draft_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid",
              "title": "Draft Id"
            }
          },
          {
            "name": "X-Customer-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Customer-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "성공적인 응답",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "deleted": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "로그인이 필요합니다",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "접근 불가",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "리소스를 찾을 수 없습니다.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "국가 갈등",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "503": {
            "description": "일시적인 이용 불가",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "초안을 삭제해도 이미 대기열에 추가된 이메일에는 영향을 주지 않습니다."
      }
    },
    "/v1/mailboxes/{mailbox_id}/drafts": {
      "get": {
        "tags": [
          "Почтовый ящик"
        ],
        "summary": "초안 목록",
        "operationId": "drafts_v1_mailboxes__mailbox_id__drafts_get",
        "security": [
          {
            "PartnerKey": [],
            "Customer": []
          },
          {
            "Session": []
          },
          {
            "Browser": []
          }
        ],
        "parameters": [
          {
            "name": "mailbox_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "title": "Mailbox Id"
            }
          },
          {
            "name": "X-Customer-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Customer-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "성공적인 응답",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string"
                      },
                      "mailbox_id": {
                        "type": "integer"
                      },
                      "data": {
                        "$ref": "#/components/schemas/DraftInput"
                      },
                      "created_at": {
                        "type": "string",
                        "description": "UTC.의 날짜 및 시간 오프셋이 없으면 값은 UTC.도 나타냅니다."
                      },
                      "updated_at": {
                        "type": "string",
                        "description": "UTC.의 날짜 및 시간 오프셋이 없으면 값은 UTC.도 나타냅니다."
                      }
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "로그인이 필요합니다",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "접근 불가",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "리소스를 찾을 수 없습니다.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "국가 갈등",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "503": {
            "description": "일시적인 이용 불가",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "최신 항목부터 가장 오래된 항목까지 최대 100개의 초안을 반환합니다."
      }
    },
    "/v1/mailboxes/{mailbox_id}/threads": {
      "get": {
        "tags": [
          "Почтовый ящик"
        ],
        "summary": "대화 목록",
        "operationId": "threads_v1_mailboxes__mailbox_id__threads_get",
        "security": [
          {
            "PartnerKey": [],
            "Customer": []
          },
          {
            "Session": []
          },
          {
            "Browser": []
          }
        ],
        "parameters": [
          {
            "name": "mailbox_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "title": "Mailbox Id"
            }
          },
          {
            "name": "X-Customer-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Customer-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "성공적인 응답",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "thread_id": {
                        "type": "string"
                      },
                      "updated_at": {
                        "type": "string",
                        "description": "UTC.의 날짜 및 시간 오프셋이 없으면 값은 UTC.도 나타냅니다."
                      },
                      "messages": {
                        "type": "integer"
                      },
                      "unread": {
                        "type": "integer"
                      },
                      "senders": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        }
                      },
                      "subject": {
                        "type": "string"
                      },
                      "sender": {
                        "type": "string"
                      }
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "로그인이 필요합니다",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "접근 불가",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "리소스를 찾을 수 없습니다.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "국가 갈등",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "503": {
            "description": "일시적인 이용 불가",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "가장 최근에 업데이트된 대화상자부터 시작하여 최대 100개의 대화상자를 반환합니다. Trash 및 Junk 폴더의 메시지는 목록에 포함되지 않습니다. 새 문자는 약간의 지연 후에 나타날 수 있습니다. 목록 업데이트 요청을 다시 시도하세요."
      }
    },
    "/v1/mailboxes/{mailbox_id}/threads/{thread_id}": {
      "get": {
        "tags": [
          "Почтовый ящик"
        ],
        "summary": "대화의 편지",
        "operationId": "thread_v1_mailboxes__mailbox_id__threads__thread_id__get",
        "security": [
          {
            "PartnerKey": [],
            "Customer": []
          },
          {
            "Session": []
          },
          {
            "Browser": []
          }
        ],
        "parameters": [
          {
            "name": "mailbox_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "title": "Mailbox Id"
            }
          },
          {
            "name": "thread_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Thread Id"
            }
          },
          {
            "name": "X-Customer-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Customer-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "성공적인 응답",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Message"
                  }
                }
              }
            }
          },
          "401": {
            "description": "로그인이 필요합니다",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "접근 불가",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "리소스를 찾을 수 없습니다.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "국가 갈등",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "503": {
            "description": "일시적인 이용 불가",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "선택한 대화의 이전 문자부터 새 문자까지 최대 100자를 반환합니다. 대화 상자 목록에서 thread_id을 전달합니다. 이미 삭제되었거나 더 이상 사용할 수 없는 이메일은 응답에 포함되지 않습니다."
      }
    },
    "/v1/mailboxes/{mailbox_id}/sender-rules": {
      "put": {
        "tags": [
          "Почтовый ящик"
        ],
        "summary": "발신자 규칙",
        "operationId": "sender_rule_v1_mailboxes__mailbox_id__sender_rules_put",
        "security": [
          {
            "PartnerKey": [],
            "Customer": []
          },
          {
            "Session": []
          },
          {
            "Browser": []
          }
        ],
        "parameters": [
          {
            "name": "mailbox_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "title": "Mailbox Id"
            }
          },
          {
            "name": "X-Customer-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Customer-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SenderRule"
              }
            }
          }
        },
        "responses": {
          "202": {
            "description": "성공적인 응답",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Operation"
                }
              }
            }
          },
          "401": {
            "description": "로그인이 필요합니다",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "접근 불가",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "리소스를 찾을 수 없습니다.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "국가 갈등",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "503": {
            "description": "일시적인 이용 불가",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "sender. 주소에 대한 규칙을 생성하거나 업데이트합니다. 보낸 사람의 새 이메일을 스팸으로 보내려면 action=spam을 지정하고, 보낸 사람의 이메일을 허용하려면 action=allow을 지정합니다. 규칙은 향후 수신 이메일에 적용됩니다."
      },
      "get": {
        "tags": [
          "Почтовый ящик"
        ],
        "summary": "발신자 규칙 목록",
        "operationId": "rules_v1_mailboxes__mailbox_id__sender_rules_get",
        "security": [
          {
            "PartnerKey": [],
            "Customer": []
          },
          {
            "Session": []
          },
          {
            "Browser": []
          }
        ],
        "parameters": [
          {
            "name": "mailbox_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "title": "Mailbox Id"
            }
          },
          {
            "name": "X-Customer-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Customer-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "성공적인 응답",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "integer"
                      },
                      "mailbox_id": {
                        "type": "integer"
                      },
                      "sender": {
                        "type": "string"
                      },
                      "action": {
                        "type": "string",
                        "enum": [
                          "spam",
                          "allow"
                        ]
                      },
                      "created_at": {
                        "type": "string",
                        "description": "UTC.의 날짜 및 시간 오프셋이 없으면 값은 UTC.도 나타냅니다."
                      }
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "로그인이 필요합니다",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "접근 불가",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "리소스를 찾을 수 없습니다.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "국가 갈등",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "503": {
            "description": "일시적인 이용 불가",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "선택한 사서함에 대한 보낸 사람 규칙을 반환합니다. 각 규칙에는 주소 sender, 작업 action 및 후속 삭제를 위한 식별자 id가 포함되어 있습니다."
      }
    },
    "/v1/mailboxes/{mailbox_id}/sender-rules/{rule_id}": {
      "delete": {
        "tags": [
          "Почтовый ящик"
        ],
        "summary": "보낸 사람 규칙 삭제",
        "operationId": "delete_rule_v1_mailboxes__mailbox_id__sender_rules__rule_id__delete",
        "security": [
          {
            "PartnerKey": [],
            "Customer": []
          },
          {
            "Session": []
          },
          {
            "Browser": []
          }
        ],
        "parameters": [
          {
            "name": "mailbox_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "title": "Mailbox Id"
            }
          },
          {
            "name": "rule_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "title": "Rule Id"
            }
          },
          {
            "name": "X-Customer-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Customer-Id"
            }
          }
        ],
        "responses": {
          "202": {
            "description": "성공적인 응답",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Operation"
                }
              }
            }
          },
          "401": {
            "description": "로그인이 필요합니다",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "접근 불가",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "리소스를 찾을 수 없습니다.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "국가 갈등",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "503": {
            "description": "일시적인 이용 불가",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "rule_id.으로 보낸 사람 규칙을 제거합니다. 후속 메시지는 일반 메일 규칙에 따라 처리됩니다. 이미 받은 메시지는 폴더에 남아 있습니다."
      }
    },
    "/v1/mailboxes/{mailbox_id}/contacts": {
      "get": {
        "tags": [
          "Почтовый ящик"
        ],
        "summary": "연락처 목록",
        "operationId": "contacts_v1_mailboxes__mailbox_id__contacts_get",
        "security": [
          {
            "PartnerKey": [],
            "Customer": []
          },
          {
            "Session": []
          },
          {
            "Browser": []
          }
        ],
        "parameters": [
          {
            "name": "mailbox_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "title": "Mailbox Id"
            }
          },
          {
            "name": "X-Customer-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Customer-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "성공적인 응답",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ContactResponse"
                  }
                }
              }
            }
          },
          "401": {
            "description": "로그인이 필요합니다",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "접근 불가",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "리소스를 찾을 수 없습니다.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "국가 갈등",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "503": {
            "description": "일시적인 이용 불가",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "이름별로 정렬된 최대 1000개의 연락처를 반환합니다."
      },
      "post": {
        "tags": [
          "Почтовый ящик"
        ],
        "summary": "연락처 저장",
        "operationId": "add_contact_v1_mailboxes__mailbox_id__contacts_post",
        "security": [
          {
            "PartnerKey": [],
            "Customer": []
          },
          {
            "Session": []
          },
          {
            "Browser": []
          }
        ],
        "parameters": [
          {
            "name": "mailbox_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "title": "Mailbox Id"
            }
          },
          {
            "name": "X-Customer-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Customer-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Contact"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "성공적인 응답",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ContactResponse"
                }
              }
            }
          },
          "401": {
            "description": "로그인이 필요합니다",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "접근 불가",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "리소스를 찾을 수 없습니다.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "국가 갈등",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "503": {
            "description": "일시적인 이용 불가",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "선택한 메일함에 연락처의 이름과 주소를 저장합니다. 동일한 email을(를) 가진 연락처가 이미 존재하는 경우 중복을 생성하지 않고 해당 이름을 업데이트합니다."
      }
    },
    "/v1/mailboxes/{mailbox_id}/contacts/{contact_id}": {
      "delete": {
        "tags": [
          "Почтовый ящик"
        ],
        "summary": "연락처 삭제",
        "operationId": "remove_contact_v1_mailboxes__mailbox_id__contacts__contact_id__delete",
        "security": [
          {
            "PartnerKey": [],
            "Customer": []
          },
          {
            "Session": []
          },
          {
            "Browser": []
          }
        ],
        "parameters": [
          {
            "name": "mailbox_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "title": "Mailbox Id"
            }
          },
          {
            "name": "contact_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "title": "Contact Id"
            }
          },
          {
            "name": "X-Customer-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Customer-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "성공적인 응답",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "deleted": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "로그인이 필요합니다",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "접근 불가",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "리소스를 찾을 수 없습니다.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "국가 갈등",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "503": {
            "description": "일시적인 이용 불가",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "연락처를 삭제해도 메시지는 삭제되지 않습니다."
      }
    },
    "/v1/mailboxes/{mailbox_id}/files": {
      "get": {
        "tags": [
          "Файлы"
        ],
        "summary": "파일 목록",
        "operationId": "files_v1_mailboxes__mailbox_id__files_get",
        "security": [
          {
            "PartnerKey": [],
            "Customer": []
          },
          {
            "Session": []
          },
          {
            "Browser": []
          }
        ],
        "parameters": [
          {
            "name": "mailbox_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "title": "Mailbox Id"
            }
          },
          {
            "name": "X-Customer-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Customer-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "성공적인 응답",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string",
                        "format": "uuid"
                      },
                      "filename": {
                        "type": "string"
                      },
                      "content_type": {
                        "type": "string"
                      },
                      "size_bytes": {
                        "type": "integer"
                      },
                      "created_at": {
                        "type": "string",
                        "description": "UTC.의 날짜 및 시간 오프셋이 없으면 값은 UTC.도 나타냅니다."
                      }
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "로그인이 필요합니다",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "접근 불가",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "리소스를 찾을 수 없습니다.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "국가 갈등",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "503": {
            "description": "일시적인 이용 불가",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "선택한 메일함의 준비된 파일을 최대 1000개까지 반환합니다."
      },
      "post": {
        "tags": [
          "Файлы"
        ],
        "summary": "파일 업로드",
        "operationId": "upload_v1_mailboxes__mailbox_id__files_post",
        "security": [
          {
            "PartnerKey": [],
            "Customer": []
          },
          {
            "Session": []
          },
          {
            "Browser": []
          }
        ],
        "parameters": [
          {
            "name": "mailbox_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "title": "Mailbox Id"
            }
          },
          {
            "name": "X-Customer-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Customer-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "multipart/form-data": {
              "schema": {
                "$ref": "#/components/schemas/Body_upload_v1_mailboxes__mailbox_id__files_post"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "성공적인 응답",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/File"
                }
              }
            }
          },
          "401": {
            "description": "로그인이 필요합니다",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "접근 불가",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "리소스를 찾을 수 없습니다.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "국가 갈등",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "413": {
            "description": "크기 초과",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "503": {
            "description": "일시적인 이용 불가",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "multipart/form-data, 필드 file. 크기는 1바이트에서 25MiB까지입니다. 바이러스 백신은 다운로드하기 전에 파일을 확인합니다. 할당량이 부족하면 409, 크기 초과 - 413, 감지된 위협 - 422, 확인할 수 없음 - 503이 표시됩니다."
      }
    },
    "/v1/mailboxes/{mailbox_id}/files/{file_id}/download": {
      "get": {
        "tags": [
          "Файлы"
        ],
        "summary": "파일 다운로드",
        "operationId": "download_v1_mailboxes__mailbox_id__files__file_id__download_get",
        "security": [
          {
            "PartnerKey": [],
            "Customer": []
          },
          {
            "Session": []
          },
          {
            "Browser": []
          }
        ],
        "parameters": [
          {
            "name": "mailbox_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "title": "Mailbox Id"
            }
          },
          {
            "name": "file_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid",
              "title": "File Id"
            }
          },
          {
            "name": "X-Customer-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Customer-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "성공적인 응답",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            },
            "headers": {
              "X-File-Scan": {
                "schema": {
                  "type": "string"
                }
              },
              "X-File-Scanned-At": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "401": {
            "description": "로그인이 필요합니다",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "접근 불가",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "리소스를 찾을 수 없습니다.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "국가 갈등",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "503": {
            "description": "일시적인 이용 불가",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "응답에는 Content-Disposition: attachment.의 파일 바이트가 포함되어 있습니다. 링크에는 각 요청에 대한 승인이 필요합니다. 공개 URL 저장소가 발급되지 않았습니다."
      }
    },
    "/v1/mailboxes/{mailbox_id}/files/{file_id}/content": {
      "get": {
        "tags": [
          "Файлы"
        ],
        "summary": "파일 내용",
        "operationId": "content_v1_mailboxes__mailbox_id__files__file_id__content_get",
        "security": [
          {
            "PartnerKey": [],
            "Customer": []
          },
          {
            "Session": []
          },
          {
            "Browser": []
          }
        ],
        "parameters": [
          {
            "name": "mailbox_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "title": "Mailbox Id"
            }
          },
          {
            "name": "file_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid",
              "title": "File Id"
            }
          },
          {
            "name": "X-Customer-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Customer-Id"
            }
          },
          {
            "name": "preview",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "pdf"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "성공적인 응답",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              },
              "application/pdf": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            },
            "headers": {
              "X-File-Scan": {
                "schema": {
                  "type": "string"
                }
              },
              "X-File-Scanned-At": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "401": {
            "description": "로그인이 필요합니다",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "접근 불가",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "리소스를 찾을 수 없습니다.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "국가 갈등",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "503": {
            "description": "일시적인 이용 불가",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "DOC, XLS, XLSX, PPT, PPTX, ODT 파일이나 첨부파일의 내용 요청에 preview=pdf를 추가하세요. 메일함당 분당 최대 10회 변환할 수 있습니다."
      }
    },
    "/v1/mailboxes/{mailbox_id}/files/{file_id}": {
      "delete": {
        "tags": [
          "Файлы"
        ],
        "summary": "파일 삭제",
        "operationId": "remove_v1_mailboxes__mailbox_id__files__file_id__delete",
        "security": [
          {
            "PartnerKey": [],
            "Customer": []
          },
          {
            "Session": []
          },
          {
            "Browser": []
          }
        ],
        "parameters": [
          {
            "name": "mailbox_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "title": "Mailbox Id"
            }
          },
          {
            "name": "file_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid",
              "title": "File Id"
            }
          },
          {
            "name": "X-Customer-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Customer-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "성공적인 응답",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "deleted": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "로그인이 필요합니다",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "접근 불가",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "리소스를 찾을 수 없습니다.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "국가 갈등",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "503": {
            "description": "일시적인 이용 불가",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "불완전한 제출 파일은 삭제할 수 없습니다. 응답 409. 삭제 후 할당량이 해제됩니다."
      }
    },
    "/v1/auth/login-link": {
      "post": {
        "tags": [
          "Авторизация и аккаунт"
        ],
        "summary": "로그인 링크 생성",
        "operationId": "login_link_v1_auth_login_link_post",
        "security": [
          {
            "PartnerKey": [],
            "Customer": []
          }
        ],
        "parameters": [
          {
            "name": "X-Customer-ID",
            "in": "header",
            "required": true,
            "schema": {
              "type": "integer",
              "minimum": 1
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LoginLinkInput"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "성공적인 응답",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoginLinkResult"
                }
              }
            }
          },
          "401": {
            "description": "요청 오류",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "요청 오류",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "요청 오류",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "요청 오류",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "503": {
            "description": "요청 오류",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "서버에서 X-API-Key와 X-Customer-ID로 POST /v1/auth/login-link를 호출합니다. mailbox_id를 지정하면 해당 사서함만 열리고, 생략하면 전체 계정이 열립니다. locale은 인터페이스 언어를 선택합니다."
      }
    },
    "/v1/auth/login-link/consume": {
      "post": {
        "tags": [
          "Авторизация и аккаунт"
        ],
        "summary": "링크를 세션으로 교환",
        "operationId": "consume_login_link_v1_auth_login_link_consume_post",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LoginLinkConsume"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "성공적인 응답",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BrowserSessionResult"
                }
              }
            }
          },
          "403": {
            "description": "요청 오류",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "요청 오류",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "요청 오류",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "410": {
            "description": "요청 오류",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "요청 오류",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "요청 오류",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "503": {
            "description": "요청 오류",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "adapt-mail.com 로그인 페이지 전용입니다. Origin: https://adapt-mail.com을 포함하여 POST 요청을 보냅니다. session_id와 HttpOnly 쿠키를 반환합니다. 이미 사용했거나 만료된 링크: HTTP 410.",
        "security": []
      }
    },
    "/v1/mailboxes/{mailbox_id}/templates": {
      "get": {
        "tags": [
          "Настройки ящика"
        ],
        "summary": "메일 템플릿",
        "operationId": "templates_v1_mailboxes__mailbox_id__templates_get",
        "security": [
          {
            "PartnerKey": [],
            "Customer": []
          },
          {
            "Session": []
          },
          {
            "Browser": []
          }
        ],
        "parameters": [
          {
            "name": "mailbox_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "title": "Mailbox Id"
            }
          },
          {
            "name": "X-Customer-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Customer-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "성공적인 응답",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TemplateRecord"
                  }
                }
              }
            }
          },
          "401": {
            "description": "로그인이 필요합니다",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "접근 불가",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "리소스를 찾을 수 없습니다.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "국가 갈등",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "503": {
            "description": "일시적인 이용 불가",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "메일함당 템플릿은 최대 100개입니다. 필드: name, subject, text, html. HTML은 정제됩니다. 템플릿 자체는 메일을 보내지 않습니다."
      },
      "post": {
        "tags": [
          "Настройки ящика"
        ],
        "summary": "메일 템플릿",
        "operationId": "create_template_v1_mailboxes__mailbox_id__templates_post",
        "security": [
          {
            "PartnerKey": [],
            "Customer": []
          },
          {
            "Session": []
          },
          {
            "Browser": []
          }
        ],
        "parameters": [
          {
            "name": "mailbox_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "title": "Mailbox Id"
            }
          },
          {
            "name": "X-Customer-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Customer-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MailTemplate"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "성공적인 응답",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TemplateRecord"
                }
              }
            }
          },
          "401": {
            "description": "로그인이 필요합니다",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "접근 불가",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "리소스를 찾을 수 없습니다.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "국가 갈등",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "503": {
            "description": "일시적인 이용 불가",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "메일함당 템플릿은 최대 100개입니다. 필드: name, subject, text, html. HTML은 정제됩니다. 템플릿 자체는 메일을 보내지 않습니다."
      }
    },
    "/v1/mailboxes/{mailbox_id}/templates/{template_id}": {
      "put": {
        "tags": [
          "Настройки ящика"
        ],
        "summary": "메일 템플릿",
        "operationId": "update_template_v1_mailboxes__mailbox_id__templates__template_id__put",
        "security": [
          {
            "PartnerKey": [],
            "Customer": []
          },
          {
            "Session": []
          },
          {
            "Browser": []
          }
        ],
        "parameters": [
          {
            "name": "mailbox_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "title": "Mailbox Id"
            }
          },
          {
            "name": "template_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "title": "Template Id"
            }
          },
          {
            "name": "X-Customer-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Customer-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MailTemplate"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "성공적인 응답",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TemplateRecord"
                }
              }
            }
          },
          "401": {
            "description": "로그인이 필요합니다",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "접근 불가",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "리소스를 찾을 수 없습니다.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "국가 갈등",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "503": {
            "description": "일시적인 이용 불가",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "메일함당 템플릿은 최대 100개입니다. 필드: name, subject, text, html. HTML은 정제됩니다. 템플릿 자체는 메일을 보내지 않습니다."
      },
      "delete": {
        "tags": [
          "Настройки ящика"
        ],
        "summary": "메일 템플릿",
        "operationId": "delete_template_v1_mailboxes__mailbox_id__templates__template_id__delete",
        "security": [
          {
            "PartnerKey": [],
            "Customer": []
          },
          {
            "Session": []
          },
          {
            "Browser": []
          }
        ],
        "parameters": [
          {
            "name": "mailbox_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "title": "Mailbox Id"
            }
          },
          {
            "name": "template_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "title": "Template Id"
            }
          },
          {
            "name": "X-Customer-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Customer-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "성공적인 응답",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "deleted": {
                      "const": true
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "로그인이 필요합니다",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "접근 불가",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "리소스를 찾을 수 없습니다.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "국가 갈등",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "503": {
            "description": "일시적인 이용 불가",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "메일함당 템플릿은 최대 100개입니다. 필드: name, subject, text, html. HTML은 정제됩니다. 템플릿 자체는 메일을 보내지 않습니다."
      }
    },
    "/v1/mailboxes/{mailbox_id}/autoresponder": {
      "get": {
        "tags": [
          "Настройки ящика"
        ],
        "summary": "자동 응답",
        "operationId": "autoresponder_v1_mailboxes__mailbox_id__autoresponder_get",
        "security": [
          {
            "PartnerKey": [],
            "Customer": []
          },
          {
            "Session": []
          },
          {
            "Browser": []
          }
        ],
        "parameters": [
          {
            "name": "mailbox_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "title": "Mailbox Id"
            }
          },
          {
            "name": "X-Customer-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Customer-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "성공적인 응답",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Autoresponder"
                }
              }
            }
          },
          "401": {
            "description": "로그인이 필요합니다",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "접근 불가",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "리소스를 찾을 수 없습니다.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "국가 갈등",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "503": {
            "description": "일시적인 이용 불가",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "자동 응답 날짜에는 시간대를 포함하세요. repeat_days는 1~30입니다. 새로운 개인 메일에만 응답하며 From이 Return-Path와 일치해야 합니다."
      },
      "put": {
        "tags": [
          "Настройки ящика"
        ],
        "summary": "자동 응답",
        "operationId": "set_autoresponder_v1_mailboxes__mailbox_id__autoresponder_put",
        "security": [
          {
            "PartnerKey": [],
            "Customer": []
          },
          {
            "Session": []
          },
          {
            "Browser": []
          }
        ],
        "parameters": [
          {
            "name": "mailbox_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "title": "Mailbox Id"
            }
          },
          {
            "name": "X-Customer-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Customer-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Autoresponder"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "성공적인 응답",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Autoresponder"
                }
              }
            }
          },
          "401": {
            "description": "로그인이 필요합니다",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "접근 불가",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "리소스를 찾을 수 없습니다.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "국가 갈등",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "503": {
            "description": "일시적인 이용 불가",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "자동 응답 날짜에는 시간대를 포함하세요. repeat_days는 1~30입니다. 새로운 개인 메일에만 응답하며 From이 Return-Path와 일치해야 합니다."
      }
    },
    "/v1/mailboxes/{mailbox_id}/filters": {
      "get": {
        "tags": [
          "Настройки ящика"
        ],
        "summary": "필터",
        "operationId": "filters_v1_mailboxes__mailbox_id__filters_get",
        "security": [
          {
            "PartnerKey": [],
            "Customer": []
          },
          {
            "Session": []
          },
          {
            "Browser": []
          }
        ],
        "parameters": [
          {
            "name": "mailbox_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "title": "Mailbox Id"
            }
          },
          {
            "name": "X-Customer-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Customer-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "성공적인 응답",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/FilterRecord"
                  }
                }
              }
            }
          },
          "401": {
            "description": "로그인이 필요합니다",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "접근 불가",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "리소스를 찾을 수 없습니다.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "국가 갈등",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "503": {
            "description": "일시적인 이용 불가",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "필터 변경 시 operation을 반환합니다. 기존 메일에 적용하려면 8~120자의 Idempotency-Key가 필요합니다. 재시도할 때 같은 키를 사용하고 GET /v1/operations/{operation_id}로 상태를 확인하세요."
      },
      "post": {
        "tags": [
          "Настройки ящика"
        ],
        "summary": "필터",
        "operationId": "create_filter_v1_mailboxes__mailbox_id__filters_post",
        "security": [
          {
            "PartnerKey": [],
            "Customer": []
          },
          {
            "Session": []
          },
          {
            "Browser": []
          }
        ],
        "parameters": [
          {
            "name": "mailbox_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "title": "Mailbox Id"
            }
          },
          {
            "name": "X-Customer-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Customer-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MailFilter"
              }
            }
          }
        },
        "responses": {
          "202": {
            "description": "성공적인 응답",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FilterChange"
                }
              }
            }
          },
          "401": {
            "description": "로그인이 필요합니다",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "접근 불가",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "리소스를 찾을 수 없습니다.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "국가 갈등",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "503": {
            "description": "일시적인 이용 불가",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "필터 변경 시 operation을 반환합니다. 기존 메일에 적용하려면 8~120자의 Idempotency-Key가 필요합니다. 재시도할 때 같은 키를 사용하고 GET /v1/operations/{operation_id}로 상태를 확인하세요."
      }
    },
    "/v1/mailboxes/{mailbox_id}/filters/{filter_id}": {
      "put": {
        "tags": [
          "Настройки ящика"
        ],
        "summary": "필터",
        "operationId": "update_filter_v1_mailboxes__mailbox_id__filters__filter_id__put",
        "security": [
          {
            "PartnerKey": [],
            "Customer": []
          },
          {
            "Session": []
          },
          {
            "Browser": []
          }
        ],
        "parameters": [
          {
            "name": "mailbox_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "title": "Mailbox Id"
            }
          },
          {
            "name": "filter_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "title": "Filter Id"
            }
          },
          {
            "name": "X-Customer-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Customer-Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MailFilter"
              }
            }
          }
        },
        "responses": {
          "202": {
            "description": "성공적인 응답",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FilterChange"
                }
              }
            }
          },
          "401": {
            "description": "로그인이 필요합니다",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "접근 불가",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "리소스를 찾을 수 없습니다.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "국가 갈등",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "503": {
            "description": "일시적인 이용 불가",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "필터 변경 시 operation을 반환합니다. 기존 메일에 적용하려면 8~120자의 Idempotency-Key가 필요합니다. 재시도할 때 같은 키를 사용하고 GET /v1/operations/{operation_id}로 상태를 확인하세요."
      },
      "delete": {
        "tags": [
          "Настройки ящика"
        ],
        "summary": "필터",
        "operationId": "delete_filter_v1_mailboxes__mailbox_id__filters__filter_id__delete",
        "security": [
          {
            "PartnerKey": [],
            "Customer": []
          },
          {
            "Session": []
          },
          {
            "Browser": []
          }
        ],
        "parameters": [
          {
            "name": "mailbox_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "title": "Mailbox Id"
            }
          },
          {
            "name": "filter_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "title": "Filter Id"
            }
          },
          {
            "name": "X-Customer-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Customer-Id"
            }
          }
        ],
        "responses": {
          "202": {
            "description": "성공적인 응답",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Operation"
                }
              }
            }
          },
          "401": {
            "description": "로그인이 필요합니다",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "접근 불가",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "리소스를 찾을 수 없습니다.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "국가 갈등",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "503": {
            "description": "일시적인 이용 불가",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "필터 변경 시 operation을 반환합니다. 기존 메일에 적용하려면 8~120자의 Idempotency-Key가 필요합니다. 재시도할 때 같은 키를 사용하고 GET /v1/operations/{operation_id}로 상태를 확인하세요."
      }
    },
    "/v1/mailboxes/{mailbox_id}/filters/{filter_id}/apply": {
      "post": {
        "tags": [
          "Настройки ящика"
        ],
        "summary": "기존 메일에 적용",
        "operationId": "apply_filter_v1_mailboxes__mailbox_id__filters__filter_id__apply_post",
        "security": [
          {
            "PartnerKey": [],
            "Customer": []
          },
          {
            "Session": []
          },
          {
            "Browser": []
          }
        ],
        "parameters": [
          {
            "name": "mailbox_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "title": "Mailbox Id"
            }
          },
          {
            "name": "filter_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "title": "Filter Id"
            }
          },
          {
            "name": "idempotency-key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 8,
              "maxLength": 120,
              "title": "Idempotency-Key"
            }
          },
          {
            "name": "X-Customer-ID",
            "in": "header",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "X-Customer-Id"
            }
          }
        ],
        "responses": {
          "202": {
            "description": "성공적인 응답",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Operation"
                }
              }
            }
          },
          "401": {
            "description": "로그인이 필요합니다",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "접근 불가",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "리소스를 찾을 수 없습니다.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "국가 갈등",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "503": {
            "description": "일시적인 이용 불가",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "필터 변경 시 operation을 반환합니다. 기존 메일에 적용하려면 8~120자의 Idempotency-Key가 필요합니다. 재시도할 때 같은 키를 사용하고 GET /v1/operations/{operation_id}로 상태를 확인하세요."
      }
    }
  },
  "components": {
    "schemas": {
      "Body_upload_v1_mailboxes__mailbox_id__files_post": {
        "properties": {
          "file": {
            "type": "string",
            "format": "binary",
            "title": "File"
          }
        },
        "type": "object",
        "required": [
          "file"
        ],
        "title": "Body_upload_v1_mailboxes__mailbox_id__files_post"
      },
      "Contact": {
        "properties": {
          "email": {
            "type": "string",
            "title": "Email"
          },
          "name": {
            "type": "string",
            "maxLength": 120,
            "minLength": 1,
            "title": "Name"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "email",
          "name"
        ],
        "title": "Contact",
        "example": {
          "email": "team@example.com",
          "name": "Support team"
        }
      },
      "DraftInput": {
        "properties": {
          "to": {
            "items": {
              "type": "string"
            },
            "type": "array",
            "maxItems": 50,
            "title": "To",
            "description": "주요 수신자의 주소입니다."
          },
          "cc": {
            "items": {
              "type": "string"
            },
            "type": "array",
            "maxItems": 50,
            "title": "Cc",
            "description": "다른 참가자에게 표시되는 수신자 주소를 복사합니다."
          },
          "bcc": {
            "items": {
              "type": "string"
            },
            "type": "array",
            "maxItems": 50,
            "title": "Bcc",
            "description": "숨은참조 수신자 주소."
          },
          "subject": {
            "type": "string",
            "maxLength": 998,
            "title": "Subject",
            "default": "",
            "description": "편지의 제목."
          },
          "text": {
            "type": "string",
            "maxLength": 200000,
            "title": "Text",
            "default": "",
            "description": "서식을 적용하지 않은 편지의 텍스트입니다."
          },
          "html": {
            "anyOf": [
              {
                "type": "string",
                "maxLength": 300000
              },
              {
                "type": "null"
              }
            ],
            "title": "Html",
            "description": "HTML-형식화된 편지 버전입니다."
          },
          "file_ids": {
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "type": "array",
            "maxItems": 20,
            "title": "File Ids",
            "description": "ID 이전에 이 사서함에 다운로드한 파일이 있습니다. 다운로드할 때 또는 파일 목록에서 가져옵니다."
          },
          "forward_message": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/MessageReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "첨부 파일을 전달해야 하는 원본 이메일입니다."
          },
          "reply_to_message_id": {
            "anyOf": [
              {
                "type": "string",
                "maxLength": 998
              },
              {
                "type": "null"
              }
            ],
            "title": "Reply To Message Id",
            "description": "답장하려는 이메일의 message_id 값입니다."
          },
          "references": {
            "anyOf": [
              {
                "type": "string",
                "maxLength": 4000
              },
              {
                "type": "null"
              }
            ],
            "title": "References",
            "description": "응답 체인을 저장하기 위한 원본 메시지의 값 references."
          },
          "send_at": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time"
              },
              {
                "type": "null"
              }
            ],
            "title": "Send At",
            "description": "시간대가 포함된 지연된 디스패치 시간(예: 2026-11-01T12:00:00Z.) 값이 없으면 대기열이 처리될 때 디스패치가 시작됩니다."
          }
        },
        "additionalProperties": false,
        "type": "object",
        "title": "DraftInput",
        "example": {
          "to": [
            "team@example.com"
          ],
          "subject": "Hello",
          "text": "A message from Adapt Mail"
        }
      },
      "HTTPValidationError": {
        "properties": {
          "detail": {
            "items": {
              "$ref": "#/components/schemas/ValidationError"
            },
            "type": "array",
            "title": "Detail"
          }
        },
        "type": "object",
        "title": "HTTPValidationError"
      },
      "Login": {
        "properties": {
          "login": {
            "type": "string",
            "title": "Login"
          },
          "password": {
            "type": "string",
            "maxLength": 128,
            "minLength": 1,
            "title": "Password"
          },
          "mode": {
            "type": "string",
            "enum": [
              "account",
              "mailbox"
            ],
            "title": "Mode",
            "default": "account"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "login",
          "password"
        ],
        "title": "Login"
      },
      "MailboxUpdate": {
        "properties": {
          "name": {
            "anyOf": [
              {
                "type": "string",
                "maxLength": 120,
                "minLength": 1
              },
              {
                "type": "null"
              }
            ],
            "title": "Name"
          },
          "quota_mb": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": 10240
              },
              {
                "type": "null"
              }
            ],
            "title": "Quota Mb"
          },
          "file_quota_mb": {
            "anyOf": [
              {
                "type": "integer",
                "maximum": 512000,
                "minimum": 256
              },
              {
                "type": "null"
              }
            ],
            "title": "File Quota Mb"
          },
          "password": {
            "anyOf": [
              {
                "type": "string",
                "maxLength": 128,
                "minLength": 12
              },
              {
                "type": "null"
              }
            ],
            "title": "Password"
          },
          "signature": {
            "anyOf": [
              {
                "type": "string",
                "maxLength": 5000
              },
              {
                "type": "null"
              }
            ],
            "title": "Signature"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "title": "MailboxUpdate",
        "example": {
          "name": "Support",
          "signature": "Support team"
        }
      },
      "MessageAction": {
        "properties": {
          "folder": {
            "type": "string",
            "maxLength": 255,
            "minLength": 1,
            "title": "Folder",
            "description": "폴더 목록의 폴더 이름(예: INBOX.)"
          },
          "uidvalidity": {
            "type": "integer",
            "exclusiveMinimum": 0,
            "title": "Uidvalidity",
            "description": "값은 이 폴더에 대한 응답 API의 uidvalidity입니다."
          },
          "uids": {
            "items": {
              "type": "integer"
            },
            "type": "array",
            "maxItems": 100,
            "minItems": 1,
            "title": "Uids",
            "description": "한 폴더에서 선택한 문자의 식별자입니다."
          },
          "action": {
            "type": "string",
            "enum": [
              "read",
              "unread",
              "star",
              "unstar",
              "move",
              "delete"
            ],
            "title": "Action"
          },
          "destination": {
            "anyOf": [
              {
                "type": "string",
                "maxLength": 255
              },
              {
                "type": "null"
              }
            ],
            "title": "Destination",
            "description": "대상 폴더 이름. action=move.에 필수"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "folder",
          "uidvalidity",
          "uids",
          "action"
        ],
        "title": "MessageAction"
      },
      "MessageReference": {
        "properties": {
          "folder": {
            "type": "string",
            "maxLength": 255,
            "minLength": 1,
            "title": "Folder",
            "description": "폴더 목록의 폴더 이름(예: INBOX.)"
          },
          "uidvalidity": {
            "type": "integer",
            "exclusiveMinimum": 0,
            "title": "Uidvalidity",
            "description": "값은 이 폴더에 대한 응답 API의 uidvalidity입니다."
          },
          "uid": {
            "type": "integer",
            "exclusiveMinimum": 0,
            "title": "Uid"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "folder",
          "uidvalidity",
          "uid"
        ],
        "title": "MessageReference"
      },
      "NameInput": {
        "properties": {
          "name": {
            "type": "string",
            "maxLength": 120,
            "minLength": 1,
            "title": "Name"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "name"
        ],
        "title": "NameInput"
      },
      "SendInput": {
        "properties": {
          "to": {
            "items": {
              "type": "string"
            },
            "type": "array",
            "maxItems": 50,
            "minItems": 1,
            "title": "To",
            "description": "주요 수신자의 주소입니다."
          },
          "cc": {
            "items": {
              "type": "string"
            },
            "type": "array",
            "maxItems": 50,
            "title": "Cc",
            "description": "다른 참가자에게 표시되는 수신자 주소를 복사합니다."
          },
          "bcc": {
            "items": {
              "type": "string"
            },
            "type": "array",
            "maxItems": 50,
            "title": "Bcc",
            "description": "숨은참조 수신자 주소."
          },
          "subject": {
            "type": "string",
            "maxLength": 998,
            "title": "Subject",
            "default": "",
            "description": "편지의 제목."
          },
          "text": {
            "type": "string",
            "maxLength": 200000,
            "title": "Text",
            "default": "",
            "description": "서식을 적용하지 않은 편지의 텍스트입니다."
          },
          "html": {
            "anyOf": [
              {
                "type": "string",
                "maxLength": 300000
              },
              {
                "type": "null"
              }
            ],
            "title": "Html",
            "description": "HTML-형식화된 편지 버전입니다."
          },
          "file_ids": {
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "type": "array",
            "maxItems": 20,
            "title": "File Ids",
            "description": "ID 이전에 이 사서함에 다운로드한 파일이 있습니다. 다운로드할 때 또는 파일 목록에서 가져옵니다."
          },
          "forward_message": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/MessageReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "첨부 파일을 전달해야 하는 원본 이메일입니다."
          },
          "reply_to_message_id": {
            "anyOf": [
              {
                "type": "string",
                "maxLength": 998
              },
              {
                "type": "null"
              }
            ],
            "title": "Reply To Message Id",
            "description": "답장하려는 이메일의 message_id 값입니다."
          },
          "references": {
            "anyOf": [
              {
                "type": "string",
                "maxLength": 4000
              },
              {
                "type": "null"
              }
            ],
            "title": "References",
            "description": "응답 체인을 저장하기 위한 원본 메시지의 값 references."
          },
          "send_at": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time"
              },
              {
                "type": "null"
              }
            ],
            "title": "Send At",
            "description": "시간대가 포함된 지연된 디스패치 시간(예: 2026-11-01T12:00:00Z.) 값이 없으면 대기열이 처리될 때 디스패치가 시작됩니다."
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "to"
        ],
        "title": "SendInput",
        "example": {
          "to": [
            "team@example.com"
          ],
          "subject": "Hello",
          "text": "A message from Adapt Mail"
        }
      },
      "SenderRule": {
        "properties": {
          "sender": {
            "type": "string",
            "title": "Sender"
          },
          "action": {
            "type": "string",
            "enum": [
              "spam",
              "allow"
            ],
            "title": "Action",
            "default": "spam"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "sender"
        ],
        "title": "SenderRule",
        "example": {
          "sender": "sender@example.com",
          "action": "spam"
        }
      },
      "ValidationError": {
        "properties": {
          "loc": {
            "items": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "integer"
                }
              ]
            },
            "type": "array",
            "title": "Location"
          },
          "msg": {
            "type": "string",
            "title": "Message"
          },
          "type": {
            "type": "string",
            "title": "Error Type"
          }
        },
        "type": "object",
        "required": [
          "loc",
          "msg",
          "type"
        ],
        "title": "ValidationError"
      },
      "Address": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "email": {
            "type": "string"
          }
        }
      },
      "MessageSummary": {
        "type": "object",
        "properties": {
          "uid": {
            "type": "integer"
          },
          "uidvalidity": {
            "type": "integer"
          },
          "folder": {
            "type": "string"
          },
          "message_id": {
            "type": "string"
          },
          "thread_id": {
            "type": "string"
          },
          "sender": {
            "type": "string"
          },
          "recipients": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Address"
            }
          },
          "subject": {
            "type": "string"
          },
          "preview": {
            "type": "string"
          },
          "flags": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "size_bytes": {
            "type": "integer"
          },
          "received_at": {
            "type": "string",
            "description": "UTC.의 날짜 및 시간 오프셋이 없으면 값은 UTC.도 나타냅니다."
          }
        }
      },
      "Attachment": {
        "type": "object",
        "properties": {
          "index": {
            "type": "integer"
          },
          "filename": {
            "type": "string"
          },
          "content_type": {
            "type": "string"
          },
          "size_bytes": {
            "type": "integer"
          }
        }
      },
      "Message": {
        "type": "object",
        "properties": {
          "uid": {
            "type": "integer"
          },
          "uidvalidity": {
            "type": "integer"
          },
          "folder": {
            "type": "string"
          },
          "message_id": {
            "type": "string"
          },
          "thread_id": {
            "type": "string"
          },
          "sender": {
            "type": "string"
          },
          "recipients": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Address"
            }
          },
          "subject": {
            "type": "string"
          },
          "preview": {
            "type": "string"
          },
          "flags": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "size_bytes": {
            "type": "integer"
          },
          "received_at": {
            "type": "string",
            "description": "UTC.의 날짜 및 시간 오프셋이 없으면 값은 UTC.도 나타냅니다."
          },
          "text": {
            "type": "string"
          },
          "html": {
            "type": "string"
          },
          "attachments": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Attachment"
            }
          },
          "cc": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Address"
            }
          },
          "references": {
            "type": "string"
          },
          "reply_to": {
            "type": "string"
          }
        }
      },
      "Operation": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid",
            "description": "상태를 확인하고 보류 중인 제출을 취소하기 위한 작업 ID입니다."
          },
          "kind": {
            "type": "string"
          },
          "mailbox_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          "status": {
            "type": "string",
            "enum": [
              "queued",
              "running",
              "succeeded",
              "failed",
              "uncertain",
              "cancelled"
            ]
          },
          "run_at": {
            "type": "string",
            "description": "UTC.의 날짜 및 시간 오프셋이 없으면 값은 UTC.도 나타냅니다."
          },
          "created_at": {
            "type": "string",
            "description": "UTC.의 날짜 및 시간 오프셋이 없으면 값은 UTC.도 나타냅니다."
          },
          "completed_at": {
            "anyOf": [
              {
                "type": "string",
                "description": "UTC.의 날짜 및 시간 오프셋이 없으면 값은 UTC.도 나타냅니다."
              },
              {
                "type": "null"
              }
            ]
          },
          "error": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "작업이 성공적으로 완료되지 않은 경우 오류가 발생하는 이유입니다."
          },
          "result": {
            "anyOf": [
              {
                "type": "object",
                "additionalProperties": true
              },
              {
                "type": "null"
              }
            ],
            "description": "작업 결과입니다. 전송의 경우 수락 및 거부된 수신자에 대한 정보가 포함됩니다."
          }
        }
      },
      "SendResult": {
        "type": "object",
        "properties": {
          "message_id": {
            "type": "string"
          },
          "smtp_accepted": {
            "type": "boolean"
          },
          "sent_saved": {
            "type": "boolean"
          },
          "accepted_recipients": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "rejected_recipients": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "email": {
                  "type": "string"
                },
                "code": {
                  "type": "integer"
                }
              }
            }
          }
        }
      },
      "Mailbox": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer"
          },
          "account_id": {
            "type": "integer"
          },
          "domain_id": {
            "type": "integer"
          },
          "email": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "quota_mb": {
            "type": "integer"
          },
          "used_bytes": {
            "type": "integer"
          },
          "file_quota_bytes": {
            "type": "integer"
          },
          "file_used_bytes": {
            "type": "integer"
          },
          "status": {
            "type": "string"
          },
          "signature": {
            "type": "string"
          },
          "enabled": {
            "type": "boolean"
          },
          "access_allowed": {
            "type": "boolean"
          },
          "paid_until": {
            "anyOf": [
              {
                "type": "string",
                "description": "UTC.의 날짜 및 시간 오프셋이 없으면 값은 UTC.도 나타냅니다."
              },
              {
                "type": "null"
              }
            ]
          },
          "ready_at": {
            "anyOf": [
              {
                "type": "string",
                "description": "UTC.의 날짜 및 시간 오프셋이 없으면 값은 UTC.도 나타냅니다."
              },
              {
                "type": "null"
              }
            ]
          },
          "delete_after": {
            "anyOf": [
              {
                "type": "string",
                "description": "UTC.의 날짜 및 시간 오프셋이 없으면 값은 UTC.도 나타냅니다."
              },
              {
                "type": "null"
              }
            ]
          },
          "created_at": {
            "type": "string",
            "description": "UTC.의 날짜 및 시간 오프셋이 없으면 값은 UTC.도 나타냅니다."
          },
          "updated_at": {
            "type": "string",
            "description": "UTC.의 날짜 및 시간 오프셋이 없으면 값은 UTC.도 나타냅니다."
          },
          "reserved_quota_mb": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          "outbound_high_limit": {
            "type": "boolean"
          },
          "outbound_daily_recipient_limit": {
            "type": "integer"
          },
          "outbound_daily_recipients_used": {
            "type": "integer"
          },
          "outbound_daily_recipients_remaining": {
            "type": "integer"
          },
          "outbound_messages_per_minute": {
            "type": "integer"
          },
          "outbound_minute_messages_used": {
            "type": "integer"
          },
          "outbound_minute_messages_remaining": {
            "type": "integer"
          },
          "outbound_recipients_per_message": {
            "type": "integer"
          },
          "storage_shared": {
            "type": "boolean",
            "const": true
          }
        }
      },
      "Domain": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer"
          },
          "account_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          "name": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "is_shared": {
            "type": "boolean"
          },
          "verification_token": {
            "type": "string"
          },
          "dns_status": {
            "type": "object"
          },
          "created_at": {
            "type": "string",
            "description": "UTC.의 날짜 및 시간 오프셋이 없으면 값은 UTC.도 나타냅니다."
          },
          "updated_at": {
            "type": "string",
            "description": "UTC.의 날짜 및 시간 오프셋이 없으면 값은 UTC.도 나타냅니다."
          }
        }
      },
      "File": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "filename": {
            "type": "string"
          },
          "content_type": {
            "type": "string"
          },
          "size_bytes": {
            "type": "integer"
          },
          "scanned_at": {
            "anyOf": [
              {
                "type": "string",
                "description": "UTC.의 날짜 및 시간 오프셋이 없으면 값은 UTC.도 나타냅니다."
              },
              {
                "type": "null"
              }
            ]
          }
        }
      },
      "ContactResponse": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer"
          },
          "mailbox_id": {
            "type": "integer"
          },
          "email": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "created_at": {
            "type": "string",
            "description": "UTC.의 날짜 및 시간 오프셋이 없으면 값은 UTC.도 나타냅니다."
          }
        }
      },
      "Error": {
        "type": "object",
        "properties": {
          "detail": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "object",
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  }
                }
              },
              {
                "type": "array",
                "items": {
                  "type": "object"
                }
              }
            ]
          }
        }
      },
      "LoginLinkInput": {
        "properties": {
          "mailbox_id": {
            "anyOf": [
              {
                "type": "integer",
                "exclusiveMinimum": 0
              },
              {
                "type": "null"
              }
            ],
            "title": "Mailbox Id"
          },
          "locale": {
            "type": "string",
            "enum": [
              "en",
              "ru",
              "fr",
              "es",
              "de",
              "zh-cn",
              "ko",
              "tr",
              "hi",
              "pt-br"
            ],
            "title": "Locale",
            "default": "en"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "title": "LoginLinkInput"
      },
      "LoginLinkConsume": {
        "properties": {
          "token": {
            "type": "string",
            "pattern": "^[A-Za-z0-9_-]{43}$",
            "title": "Token"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "token"
        ],
        "title": "LoginLinkConsume"
      },
      "LoginLinkResult": {
        "properties": {
          "login_url": {
            "type": "string",
            "title": "Login Url"
          },
          "expires_in": {
            "type": "integer",
            "const": 300,
            "title": "Expires In"
          },
          "expires_at": {
            "type": "string",
            "title": "Expires At"
          },
          "account_id": {
            "type": "integer",
            "title": "Account Id"
          },
          "mailbox_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Mailbox Id"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "login_url",
          "expires_in",
          "expires_at",
          "account_id",
          "mailbox_id"
        ],
        "title": "LoginLinkResult"
      },
      "BrowserSessionResult": {
        "properties": {
          "mailbox_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Mailbox Id"
          },
          "session_id": {
            "type": "string",
            "title": "Session Id"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "mailbox_id",
          "session_id"
        ],
        "title": "BrowserSessionResult"
      },
      "MailTemplate": {
        "properties": {
          "name": {
            "type": "string",
            "maxLength": 120,
            "minLength": 1,
            "title": "Name"
          },
          "subject": {
            "type": "string",
            "maxLength": 998,
            "title": "Subject",
            "default": ""
          },
          "text": {
            "type": "string",
            "maxLength": 20000,
            "title": "Text",
            "default": ""
          },
          "html": {
            "type": "string",
            "maxLength": 30000,
            "title": "Html",
            "default": ""
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "name"
        ],
        "title": "MailTemplate"
      },
      "MailFilter": {
        "properties": {
          "name": {
            "type": "string",
            "maxLength": 120,
            "minLength": 1,
            "title": "Name"
          },
          "enabled": {
            "type": "boolean",
            "title": "Enabled",
            "default": true
          },
          "match": {
            "type": "string",
            "enum": [
              "all",
              "any"
            ],
            "title": "Match",
            "default": "all"
          },
          "conditions": {
            "items": {
              "$ref": "#/components/schemas/FilterCondition"
            },
            "type": "array",
            "maxItems": 20,
            "minItems": 1,
            "title": "Conditions"
          },
          "mark_read": {
            "type": "boolean",
            "title": "Mark Read",
            "default": false
          },
          "important": {
            "type": "boolean",
            "title": "Important",
            "default": false
          },
          "trash": {
            "type": "boolean",
            "title": "Trash",
            "default": false
          },
          "move_to": {
            "anyOf": [
              {
                "type": "string",
                "maxLength": 255,
                "minLength": 1
              },
              {
                "type": "null"
              }
            ],
            "title": "Move To"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "name",
          "conditions"
        ],
        "title": "MailFilter"
      },
      "FilterCondition": {
        "properties": {
          "field": {
            "type": "string",
            "enum": [
              "from",
              "to",
              "cc",
              "subject"
            ],
            "title": "Field"
          },
          "operator": {
            "type": "string",
            "enum": [
              "contains",
              "not_contains",
              "equals",
              "not_equals"
            ],
            "title": "Operator"
          },
          "value": {
            "type": "string",
            "maxLength": 200,
            "minLength": 1,
            "title": "Value"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "field",
          "operator",
          "value"
        ],
        "title": "FilterCondition"
      },
      "Autoresponder": {
        "properties": {
          "enabled": {
            "type": "boolean",
            "title": "Enabled",
            "default": false
          },
          "subject": {
            "type": "string",
            "maxLength": 200,
            "title": "Subject",
            "default": ""
          },
          "text": {
            "type": "string",
            "maxLength": 10000,
            "title": "Text",
            "default": ""
          },
          "starts_at": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time"
              },
              {
                "type": "null"
              }
            ],
            "title": "Starts At"
          },
          "ends_at": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time"
              },
              {
                "type": "null"
              }
            ],
            "title": "Ends At"
          },
          "repeat_days": {
            "type": "integer",
            "maximum": 30,
            "minimum": 1,
            "title": "Repeat Days",
            "default": 7
          }
        },
        "additionalProperties": false,
        "type": "object",
        "title": "Autoresponder"
      },
      "TemplateRecord": {
        "type": "object",
        "required": [
          "id",
          "data",
          "updated_at"
        ],
        "properties": {
          "id": {
            "type": "integer"
          },
          "data": {
            "$ref": "#/components/schemas/MailTemplate"
          },
          "updated_at": {
            "type": "string",
            "description": "UTC.의 날짜 및 시간 오프셋이 없으면 값은 UTC.도 나타냅니다."
          }
        }
      },
      "FilterRecord": {
        "type": "object",
        "required": [
          "id",
          "data",
          "updated_at"
        ],
        "properties": {
          "id": {
            "type": "integer"
          },
          "data": {
            "$ref": "#/components/schemas/MailFilter"
          },
          "updated_at": {
            "type": "string",
            "description": "UTC.의 날짜 및 시간 오프셋이 없으면 값은 UTC.도 나타냅니다."
          }
        }
      },
      "FilterChange": {
        "type": "object",
        "required": [
          "id",
          "data",
          "updated_at",
          "operation"
        ],
        "properties": {
          "id": {
            "type": "integer"
          },
          "data": {
            "$ref": "#/components/schemas/MailFilter"
          },
          "updated_at": {
            "type": "string",
            "description": "UTC.의 날짜 및 시간 오프셋이 없으면 값은 UTC.도 나타냅니다."
          },
          "operation": {
            "$ref": "#/components/schemas/Operation"
          }
        }
      }
    },
    "securitySchemes": {
      "PartnerKey": {
        "type": "apiKey",
        "in": "header",
        "name": "X-API-Key"
      },
      "Customer": {
        "type": "apiKey",
        "in": "header",
        "name": "X-Customer-ID"
      },
      "Session": {
        "type": "http",
        "scheme": "bearer"
      },
      "Browser": {
        "type": "apiKey",
        "in": "cookie",
        "name": "mail_browser"
      }
    }
  },
  "servers": [
    {
      "url": "https://adapt-mail.com"
    }
  ]
}