{
  "openapi": "3.1.0",
  "info": {
    "title": "Adapt Mail API",
    "version": "0.16.0",
    "description": "API posta kutuları, mektuplar, dosyalar ve kişilerle çalışmak için. Abonelik yönetimi, e-postanızı bağladığınız kişisel hesabınızda mevcuttur."
  },
  "paths": {
    "/v1/auth/login": {
      "post": {
        "tags": [
          "Авторизация и аккаунт"
        ],
        "summary": "Tarayıcıda oturum açın",
        "operationId": "login_v1_auth_login_post",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Login"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Başarılı yanıt",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "mailbox_id": {
                      "anyOf": [
                        {
                          "type": "integer"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "session_id": {
                      "type": "string",
                      "format": "uuid"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Giriş gerekli",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Erişim yok",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Kaynak bulunamadı",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "Devlet çatışması",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "429": {
            "description": "Çok fazla istek",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "503": {
            "description": "Geçici olarak kullanılamıyor",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "Rota adapt-mail.com içindir ve Origin: https://adapt-mail.com. gerektirir HttpOnly cookies döndürür ve sınıflandırılmamış session_id. Müşteriniz için /v1/auth/token. kullanın",
        "security": []
      }
    },
    "/v1/auth/token": {
      "post": {
        "tags": [
          "Авторизация и аккаунт"
        ],
        "summary": "Kullanıcı jetonu alma",
        "operationId": "token_v1_auth_token_post",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Login"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Başarılı yanıt",
            "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": "Giriş gerekli",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Erişim yok",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Kaynak bulunamadı",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "Devlet çatışması",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "429": {
            "description": "Çok fazla istek",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "503": {
            "description": "Geçici olarak kullanılamıyor",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "Kullanıcı adı ve parolaya dayalı olarak bir saatlik erişim belirteci verir. Tüm hesap posta kutularına erişmek için mode=account veya tek bir adrese erişmek için mode=mailbox belirtin. Authorization: Bearer <access_token> başlığına access_token iletin.",
        "security": []
      }
    },
    "/v1/auth/sessions": {
      "get": {
        "tags": [
          "Авторизация и аккаунт"
        ],
        "summary": "Kayıtlı oturumlar",
        "operationId": "sessions_v1_auth_sessions_get",
        "responses": {
          "200": {
            "description": "Başarılı yanıt",
            "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": "Giriş gerekli",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Erişim yok",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Kaynak bulunamadı",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "Devlet çatışması",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "503": {
            "description": "Geçici olarak kullanılamıyor",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "Gerekli cookie mail_browser. X-API-Key ve Bearer bunun yerine geçmez cookie. cookie olmadan boş bir liste döndürülür.",
        "security": [
          {
            "Browser": []
          }
        ]
      }
    },
    "/v1/auth/logout": {
      "post": {
        "tags": [
          "Авторизация и аккаунт"
        ],
        "summary": "Oturumdan çıkış yap",
        "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": "Başarılı yanıt",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "logged_out": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Giriş gerekli",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Erişim yok",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Kaynak bulunamadı",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "Devlet çatışması",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "503": {
            "description": "Geçici olarak kullanılamıyor",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "Yalnızca kullanıcı oturumu. Seçilen girişi geri çağırır; kalan girişler korunur."
      }
    },
    "/v1/me": {
      "get": {
        "tags": [
          "Авторизация и аккаунт"
        ],
        "summary": "Kullanıcı profili",
        "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": "Başarılı yanıt",
            "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": "Giriş gerekli",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Erişim yok",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Kaynak bulunamadı",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "Devlet çatışması",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "503": {
            "description": "Geçici olarak kullanılamıyor",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "Geçerli posta hesabının profilini döndürür. Kullanıcı adını görüntülemek ve uygulamanızda oturum açmak için bunu kullanın."
      }
    },
    "/v1/avatars/{domain}": {
      "get": {
        "tags": [
          "Логотипы доменов"
        ],
        "summary": "Etki alanı logosu",
        "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": "Başarılı yanıt",
            "content": {
              "image/png": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "202": {
            "description": "Logo hazırlanıyor"
          },
          "204": {
            "description": "Logo yok"
          },
          "401": {
            "description": "Giriş gerekli",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Erişim yok",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Kaynak bulunamadı",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "Devlet çatışması",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "429": {
            "description": "Çok fazla istek",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "503": {
            "description": "Geçici olarak kullanılamıyor",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "200 - resim; 202 — hazırlık, Retry-After'den sonra tekrar edin; 204 - logo yok; 503 - geçici hata. Logo gönderenin kimliğini doğrulamaz."
      }
    },
    "/v1/domains": {
      "get": {
        "tags": [
          "Домены и ящики"
        ],
        "summary": "Alan adlarının listesi",
        "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": "Başarılı yanıt",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Domain"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Giriş gerekli",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Erişim yok",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Kaynak bulunamadı",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "Devlet çatışması",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "503": {
            "description": "Geçici olarak kullanılamıyor",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "Kişisel bir adres oluşturmak için özel alanlar ve paylaşılan bir alan adı mevcuttur."
      }
    },
    "/v1/domains/{domain_id}/dns": {
      "get": {
        "tags": [
          "Домены и ящики"
        ],
        "summary": "DNS-alan kayıtları",
        "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": "Başarılı yanıt",
            "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": "Giriş gerekli",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Erişim yok",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Kaynak bulunamadı",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "Devlet çatışması",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "503": {
            "description": "Geçici olarak kullanılamıyor",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "Talimatlar tam DNS- değerlerini ve test sonucunu içerir ancak DNS değerini otomatik olarak değiştirmez."
      }
    },
    "/v1/mailboxes": {
      "get": {
        "tags": [
          "Домены и ящики"
        ],
        "summary": "Kutu listesi ve tüketimi sınırlama",
        "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": "Başarılı yanıt",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Mailbox"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Giriş gerekli",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Erişim yok",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Kaynak bulunamadı",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "Devlet çatışması",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "503": {
            "description": "Geçici olarak kullanılamıyor",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "Posta kutularının listesi, kullanıcı oturumunun sahibi veya tek posta kutusuyla sınırlıdır."
      }
    },
    "/v1/mailboxes/{mailbox_id}": {
      "patch": {
        "tags": [
          "Домены и ящики"
        ],
        "summary": "Posta kutusu ayarları",
        "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": "Başarılı yanıt",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Operation"
                }
              }
            }
          },
          "400": {
            "description": "Geçersiz başlık veya tanımlayıcı",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Giriş gerekli",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Erişim yok",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Kaynak bulunamadı",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "Devlet çatışması",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "503": {
            "description": "Geçici olarak kullanılamıyor",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "/v1 üzerinden name, password ve signature değiştirilebilir. Ortak quota_mb kotasını barındırma panelinden değiştirin. Dosyaların ayrı kotası yoktur. Idempotency-Key isteğe bağlıdır ancak yeniden denemelerde önerilir."
      }
    },
    "/v1/mailboxes/{mailbox_id}/folders": {
      "get": {
        "tags": [
          "Почтовый ящик"
        ],
        "summary": "Klasörler ve sayaçlar",
        "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": "Başarılı yanıt",
            "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": "Giriş gerekli",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Erişim yok",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Kaynak bulunamadı",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "Devlet çatışması",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "503": {
            "description": "Geçici olarak kullanılamıyor",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "Klasörlerin listesini, e-posta sayısını total, okunmamış ileti sayısını unread ve her klasör için uidvalidity değerini döndürür. Harflerine yönelik sorgularda klasör adını ve uidvalidity kullanın."
      },
      "post": {
        "tags": [
          "Почтовый ящик"
        ],
        "summary": "Klasör oluşturma",
        "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": "Başarılı yanıt",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "name": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Giriş gerekli",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Erişim yok",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Kaynak bulunamadı",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "Devlet çatışması",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "503": {
            "description": "Geçici olarak kullanılamıyor",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "Özel klasör IMAP içinde oluşturulur ve diğer posta istemcileri tarafından kullanılabilir."
      }
    },
    "/v1/mailboxes/{mailbox_id}/messages": {
      "get": {
        "tags": [
          "Почтовый ящик"
        ],
        "summary": "Harflerin listesi",
        "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": "Başarılı yanıt",
            "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": "Giriş gerekli",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Erişim yok",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Kaynak bulunamadı",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "Devlet çatışması",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "503": {
            "description": "Geçici olarak kullanılamıyor",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "Yeni UID'den eskiye kadar en fazla 40 harf döndürür. Sonraki sayfa için next_before'yi before. olarak iletin next_before=null için başka sayfa yok. Okuma, okuma bayrağını ayarlamaz."
      }
    },
    "/v1/mailboxes/{mailbox_id}/messages/{uid}": {
      "get": {
        "tags": [
          "Почтовый ящик"
        ],
        "summary": "E-posta içeriği",
        "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": "Başarılı yanıt",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Message"
                }
              }
            }
          },
          "401": {
            "description": "Giriş gerekli",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Erişim yok",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Kaynak bulunamadı",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "Devlet çatışması",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "503": {
            "description": "Geçici olarak kullanılamıyor",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "Posta listesinden folder, uidvalidity ve uid gönderin. HTML işareti kaldırılır, harici resimler dahil edilmez. Bir harfi okundu olarak işaretlemek için ayrı bir işlem gerçekleştirin read."
      }
    },
    "/v1/mailboxes/{mailbox_id}/messages/actions": {
      "post": {
        "tags": [
          "Почтовый ящик"
        ],
        "summary": "Harflerle yapılan işlemler",
        "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": "Başarılı yanıt",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "updated": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Giriş gerekli",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Erişim yok",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Kaynak bulunamadı",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "Devlet çatışması",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "503": {
            "description": "Geçici olarak kullanılamıyor",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "Bir klasördeki seçili iletilere bir eylem uygular. Kimliklerini uids'ye, klasör adını folder'ye ve uidvalidity.'ye iletin action=move için, hedef klasörü de destination. olarak belirtin"
      }
    },
    "/v1/mailboxes/{mailbox_id}/messages/{uid}/eml": {
      "get": {
        "tags": [
          "Почтовый ящик"
        ],
        "summary": "Mektubu EML adresinden indirin",
        "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": "Başarılı yanıt",
            "content": {
              "message/rfc822": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "401": {
            "description": "Giriş gerekli",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Erişim yok",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Kaynak bulunamadı",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "Devlet çatışması",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "503": {
            "description": "Geçici olarak kullanılamıyor",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "Başlıklar ve eklerle birlikte orijinal MIME-baytı döndürür. Okunabilirliği değiştirmez. PDF tarayıcıda yazdırma yoluyla oluşturulur; Ayrı bir PDF-rota yok."
      }
    },
    "/v1/mailboxes/{mailbox_id}/messages/{uid}/attachments/{index}": {
      "get": {
        "tags": [
          "Почтовый ящик"
        ],
        "summary": "Eki indir",
        "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": "Başarılı yanıt",
            "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": "Giriş gerekli",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Erişim yok",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Kaynak bulunamadı",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "Devlet çatışması",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "503": {
            "description": "Geçici olarak kullanılamıyor",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "DOC, XLS, XLSX, PPT, PPTX ve ODT dosya veya ek içerik isteğine preview=pdf ekleyin. Sınır: posta kutusu başına dakikada 10 dönüştürme."
      }
    },
    "/v1/mailboxes/{mailbox_id}/send": {
      "post": {
        "tags": [
          "Почтовый ящик"
        ],
        "summary": "Bir mektup gönder",
        "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": "Başarılı yanıt",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Operation"
                }
              }
            }
          },
          "400": {
            "description": "Geçersiz başlık veya tanımlayıcı",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "Giriş gerekli",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Erişim yok",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Kaynak bulunamadı",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "Devlet çatışması",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "413": {
            "description": "Aşan boyut",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "503": {
            "description": "Geçici olarak kullanılamıyor",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "Gerekli Idempotency-Key 8–128 karakter uzunluğunda. Aynı tuş ve gövdeyle tekrarlamak aynı işlemi döndürür; başka bir kuruluş 409 veriyor. HTTP 202 sıraya girmek anlamına geliyor. Yanıtın alınıp alınmadığını değil, işlemin durumunu kontrol edin."
      }
    },
    "/v1/operations": {
      "get": {
        "tags": [
          "Почтовый ящик"
        ],
        "summary": "Operasyonların listesi",
        "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": "Başarılı yanıt",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Operation"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Giriş gerekli",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Erişim yok",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Kaynak bulunamadı",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "Devlet çatışması",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "503": {
            "description": "Geçici olarak kullanılamıyor",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "Son 100 işlemi döndürür. Bireysel bir posta kutusunun oturumu yalnızca onun işlemlerini görür."
      }
    },
    "/v1/operations/{operation_id}": {
      "get": {
        "tags": [
          "Почтовый ящик"
        ],
        "summary": "Operasyon Durumu",
        "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": "Başarılı yanıt",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Operation"
                }
              }
            }
          },
          "401": {
            "description": "Giriş gerekli",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Erişim yok",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Kaynak bulunamadı",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "Devlet çatışması",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "503": {
            "description": "Geçici olarak kullanılamıyor",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "Bir işlemin mevcut durumunu id. değerine göre döndürür. status, queued veya running'ye eşit olmasına rağmen işlem tamamlanmaz. Tamamlandığında, başarı durumunda result veya hata durumunda error seçeneğini işaretleyin."
      }
    },
    "/v1/operations/{operation_id}/cancel": {
      "post": {
        "tags": [
          "Почтовый ящик"
        ],
        "summary": "Göndermeyi iptal et",
        "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": "Başarılı yanıt",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "cancelled": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Giriş gerekli",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Erişim yok",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Kaynak bulunamadı",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "Devlet çatışması",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "503": {
            "description": "Geçici olarak kullanılamıyor",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "İşlem queued. durumundayken mektubun gönderilmesini iptal eder. Gönderme zaten başlamışsa, tamamlanmışsa veya iptal edilmişse 409 döndürülür. Bu yöntemi kullanarak önceden gönderilmiş bir mektubu geri çağıramazsınız."
      }
    },
    "/v1/operations/{operation_id}/retry": {
      "post": {
        "tags": [
          "Почтовый ящик"
        ],
        "summary": "İşlemi tekrarlayın",
        "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": "Başarılı yanıt",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Operation"
                }
              }
            }
          },
          "401": {
            "description": "Giriş gerekli",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Erişim yok",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Kaynak bulunamadı",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "Devlet çatışması",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "503": {
            "description": "Geçici olarak kullanılamıyor",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "Gönderen kurallarının uygulamasını yeniden başlatır: kind=sender_rules, status=failed. Bu yöntem kullanılarak mektup gönderme tekrarlanamaz. Uygun olmayan bir durum için 409 döndürülür; Bu yöntemle posta kutusu oluşturma ve yapılandırma işleminin tekrarlanması mümkün değildir ve 403 sonucunu döndürür."
      }
    },
    "/v1/mailboxes/{mailbox_id}/drafts/{draft_id}": {
      "put": {
        "tags": [
          "Почтовый ящик"
        ],
        "summary": "Taslağı kaydet",
        "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": "Başarılı yanıt",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "format": "uuid"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Giriş gerekli",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Erişim yok",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Kaynak bulunamadı",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "Devlet çatışması",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "503": {
            "description": "Geçici olarak kullanılamıyor",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "draft_id. tarihine kadar bir taslak oluşturur veya günceller. Yeni bir taslak için UUID oluşturun; Sonraki kayıtlar için aynı tanımlayıcıyı kullanın. Aynı posta kutusuna giriş yaptıktan sonra taslağınıza başka bir cihazdan devam edebilirsiniz."
      },
      "delete": {
        "tags": [
          "Почтовый ящик"
        ],
        "summary": "Taslağı sil",
        "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": "Başarılı yanıt",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "deleted": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Giriş gerekli",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Erişim yok",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Kaynak bulunamadı",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "Devlet çatışması",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "503": {
            "description": "Geçici olarak kullanılamıyor",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "Bir taslağın silinmesi, önceden sıraya alınmış bir e-postayı etkilemez."
      }
    },
    "/v1/mailboxes/{mailbox_id}/drafts": {
      "get": {
        "tags": [
          "Почтовый ящик"
        ],
        "summary": "Taslakların listesi",
        "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": "Başarılı yanıt",
            "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. cinsinden tarih ve saat Eğer uzaklık yoksa değer aynı zamanda UTC. değerini de temsil eder"
                      },
                      "updated_at": {
                        "type": "string",
                        "description": "UTC. cinsinden tarih ve saat Eğer uzaklık yoksa değer aynı zamanda UTC. değerini de temsil eder"
                      }
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Giriş gerekli",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Erişim yok",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Kaynak bulunamadı",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "Devlet çatışması",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "503": {
            "description": "Geçici olarak kullanılamıyor",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "En yeniden en eskiye doğru 100'e kadar taslağı döndürür."
      }
    },
    "/v1/mailboxes/{mailbox_id}/threads": {
      "get": {
        "tags": [
          "Почтовый ящик"
        ],
        "summary": "Diyalogların listesi",
        "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": "Başarılı yanıt",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "thread_id": {
                        "type": "string"
                      },
                      "updated_at": {
                        "type": "string",
                        "description": "UTC. cinsinden tarih ve saat Eğer uzaklık yoksa değer aynı zamanda UTC. değerini de temsil eder"
                      },
                      "messages": {
                        "type": "integer"
                      },
                      "unread": {
                        "type": "integer"
                      },
                      "senders": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        }
                      },
                      "subject": {
                        "type": "string"
                      },
                      "sender": {
                        "type": "string"
                      }
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Giriş gerekli",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Erişim yok",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Kaynak bulunamadı",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "Devlet çatışması",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "503": {
            "description": "Geçici olarak kullanılamıyor",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "En son güncellenenlerden başlayarak en fazla 100 iletişim kutusunu döndürür. Trash ve Junk klasörlerindeki iletiler listeye dahil edilmez. Yeni mektup hafif bir gecikmeyle görünebilir; listeyi güncelleme isteğini yeniden deneyin."
      }
    },
    "/v1/mailboxes/{mailbox_id}/threads/{thread_id}": {
      "get": {
        "tags": [
          "Почтовый ящик"
        ],
        "summary": "Diyalog mektupları",
        "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": "Başarılı yanıt",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Message"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Giriş gerekli",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Erişim yok",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Kaynak bulunamadı",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "Devlet çatışması",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "503": {
            "description": "Geçici olarak kullanılamıyor",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "Seçilen ileti dizisinin eskiden yeniye doğru en fazla 100 harfini döndürür. İletişim listesinden thread_id iletin. Halihazırda silinmiş veya artık mevcut olmayan e-postalar yanıta dahil edilmez."
      }
    },
    "/v1/mailboxes/{mailbox_id}/sender-rules": {
      "put": {
        "tags": [
          "Почтовый ящик"
        ],
        "summary": "Gönderen Kuralı",
        "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": "Başarılı yanıt",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Operation"
                }
              }
            }
          },
          "401": {
            "description": "Giriş gerekli",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Erişim yok",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Kaynak bulunamadı",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "Devlet çatışması",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "503": {
            "description": "Geçici olarak kullanılamıyor",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "sender. adresi için bir kural oluşturur veya günceller. Gönderenden gelen yeni e-postaları spam'e yönlendirmek için action=spam veya e-postalarına izin vermek için action=allow belirtin. Kural gelecekte gelecek e-postalar için geçerlidir."
      },
      "get": {
        "tags": [
          "Почтовый ящик"
        ],
        "summary": "Gönderen kurallarının listesi",
        "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": "Başarılı yanıt",
            "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. cinsinden tarih ve saat Eğer uzaklık yoksa değer aynı zamanda UTC. değerini de temsil eder"
                      }
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Giriş gerekli",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Erişim yok",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Kaynak bulunamadı",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "Devlet çatışması",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "503": {
            "description": "Geçici olarak kullanılamıyor",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "Seçilen posta kutusu için gönderen kurallarını döndürür. Her kural, daha sonra silinmek üzere bir sender adresi, bir eylem action ve bir tanımlayıcı id içerir."
      }
    },
    "/v1/mailboxes/{mailbox_id}/sender-rules/{rule_id}": {
      "delete": {
        "tags": [
          "Почтовый ящик"
        ],
        "summary": "Gönderen kuralını silme",
        "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": "Başarılı yanıt",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Operation"
                }
              }
            }
          },
          "401": {
            "description": "Giriş gerekli",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Erişim yok",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Kaynak bulunamadı",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "Devlet çatışması",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "503": {
            "description": "Geçici olarak kullanılamıyor",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "Gönderen kuralını rule_id. kadar kaldırır. Sonraki iletiler genel posta kurallarına göre işlenir. Zaten alınan mesajlar klasörlerinde kalır."
      }
    },
    "/v1/mailboxes/{mailbox_id}/contacts": {
      "get": {
        "tags": [
          "Почтовый ящик"
        ],
        "summary": "Kişi listesi",
        "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": "Başarılı yanıt",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ContactResponse"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Giriş gerekli",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Erişim yok",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Kaynak bulunamadı",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "Devlet çatışması",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "503": {
            "description": "Geçici olarak kullanılamıyor",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "Ada göre sıralanmış en fazla 1000 kişiyi döndürür."
      },
      "post": {
        "tags": [
          "Почтовый ящик"
        ],
        "summary": "Kişiyi kaydet",
        "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": "Başarılı yanıt",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ContactResponse"
                }
              }
            }
          },
          "401": {
            "description": "Giriş gerekli",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Erişim yok",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Kaynak bulunamadı",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "Devlet çatışması",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "503": {
            "description": "Geçici olarak kullanılamıyor",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "Kişinin adını ve adresini seçilen posta kutusuna kaydeder. Aynı email değerine sahip bir kişi zaten mevcutsa, bir kopya oluşturmadan adını günceller."
      }
    },
    "/v1/mailboxes/{mailbox_id}/contacts/{contact_id}": {
      "delete": {
        "tags": [
          "Почтовый ящик"
        ],
        "summary": "Kişiyi sil",
        "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": "Başarılı yanıt",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "deleted": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Giriş gerekli",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Erişim yok",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Kaynak bulunamadı",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "Devlet çatışması",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "503": {
            "description": "Geçici olarak kullanılamıyor",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "Bir kişiyi silmek mesajları silmez."
      }
    },
    "/v1/mailboxes/{mailbox_id}/files": {
      "get": {
        "tags": [
          "Файлы"
        ],
        "summary": "Dosya listesi",
        "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": "Başarılı yanıt",
            "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. cinsinden tarih ve saat Eğer uzaklık yoksa değer aynı zamanda UTC. değerini de temsil eder"
                      }
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Giriş gerekli",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Erişim yok",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Kaynak bulunamadı",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "Devlet çatışması",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "503": {
            "description": "Geçici olarak kullanılamıyor",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "Seçilen posta kutusundaki 1000'e kadar hazır dosyayı döndürür."
      },
      "post": {
        "tags": [
          "Файлы"
        ],
        "summary": "Dosya yükle",
        "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": "Başarılı yanıt",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/File"
                }
              }
            }
          },
          "401": {
            "description": "Giriş gerekli",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Erişim yok",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Kaynak bulunamadı",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "Devlet çatışması",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "413": {
            "description": "Aşan boyut",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "503": {
            "description": "Geçici olarak kullanılamıyor",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "multipart/form-data, alan file. Boyut 1 bayttan 25 MiB'a kadar. Antivirüs, indirmeden önce dosyayı kontrol eder. Yetersiz kota 409, aşırı boyut - 413, algılanan tehdit - 422, kullanılamayan kontrol - 503 verir."
      }
    },
    "/v1/mailboxes/{mailbox_id}/files/{file_id}/download": {
      "get": {
        "tags": [
          "Файлы"
        ],
        "summary": "Dosyayı indir",
        "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": "Başarılı yanıt",
            "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": "Giriş gerekli",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Erişim yok",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Kaynak bulunamadı",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "Devlet çatışması",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "503": {
            "description": "Geçici olarak kullanılamıyor",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "Yanıt, Content-Disposition: attachment. içeren dosya baytlarını içeriyor. Bağlantı, her istekte yetkilendirme gerektirir; halka açık URL depolama alanı verilmedi."
      }
    },
    "/v1/mailboxes/{mailbox_id}/files/{file_id}/content": {
      "get": {
        "tags": [
          "Файлы"
        ],
        "summary": "Dosya İçeriği",
        "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": "Başarılı yanıt",
            "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": "Giriş gerekli",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Erişim yok",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Kaynak bulunamadı",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "Devlet çatışması",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "503": {
            "description": "Geçici olarak kullanılamıyor",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "DOC, XLS, XLSX, PPT, PPTX ve ODT dosya veya ek içerik isteğine preview=pdf ekleyin. Sınır: posta kutusu başına dakikada 10 dönüştürme."
      }
    },
    "/v1/mailboxes/{mailbox_id}/files/{file_id}": {
      "delete": {
        "tags": [
          "Файлы"
        ],
        "summary": "Dosyayı sil",
        "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": "Başarılı yanıt",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "deleted": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Giriş gerekli",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Erişim yok",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Kaynak bulunamadı",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "Devlet çatışması",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "503": {
            "description": "Geçici olarak kullanılamıyor",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "Eksik bir gönderim dosyası silinemez: yanıt 409. Silme işleminden sonra kota serbest bırakılır."
      }
    },
    "/v1/auth/login-link": {
      "post": {
        "tags": [
          "Авторизация и аккаунт"
        ],
        "summary": "Giriş bağlantısı oluştur",
        "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": "Başarılı yanıt",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoginLinkResult"
                }
              }
            }
          },
          "401": {
            "description": "İstek hatası",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "İstek hatası",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "İstek hatası",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "İstek hatası",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "503": {
            "description": "İstek hatası",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "Sunucunuz X-API-Key ve X-Customer-ID ile POST /v1/auth/login-link çağrısı yapar. Yalnızca ilgili posta kutusunu açmak için mailbox_id belirtin; tüm hesabı açmak için bu alanı atlayın. locale arayüz dilini seçer."
      }
    },
    "/v1/auth/login-link/consume": {
      "post": {
        "tags": [
          "Авторизация и аккаунт"
        ],
        "summary": "Bağlantıyı oturumla değiştir",
        "operationId": "consume_login_link_v1_auth_login_link_consume_post",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LoginLinkConsume"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Başarılı yanıt",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BrowserSessionResult"
                }
              }
            }
          },
          "403": {
            "description": "İstek hatası",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "İstek hatası",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "İstek hatası",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "410": {
            "description": "İstek hatası",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "İstek hatası",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "İstek hatası",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "503": {
            "description": "İstek hatası",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "Yalnızca adapt-mail.com giriş sayfası için: Origin: https://adapt-mail.com ile POST. session_id ve HttpOnly çerezleri döndürür. Kullanılmış veya süresi dolmuş bağlantı: HTTP 410.",
        "security": []
      }
    },
    "/v1/mailboxes/{mailbox_id}/templates": {
      "get": {
        "tags": [
          "Настройки ящика"
        ],
        "summary": "E-posta şablonları",
        "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": "Başarılı yanıt",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TemplateRecord"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Giriş gerekli",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Erişim yok",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Kaynak bulunamadı",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "Devlet çatışması",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "503": {
            "description": "Geçici olarak kullanılamıyor",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "Posta kutusu başına en fazla 100 şablon. Alanlar: name, subject, text ve html; HTML temizlenir. Şablon kendi başına e-posta göndermez."
      },
      "post": {
        "tags": [
          "Настройки ящика"
        ],
        "summary": "E-posta şablonları",
        "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": "Başarılı yanıt",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TemplateRecord"
                }
              }
            }
          },
          "401": {
            "description": "Giriş gerekli",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Erişim yok",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Kaynak bulunamadı",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "Devlet çatışması",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "503": {
            "description": "Geçici olarak kullanılamıyor",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "Posta kutusu başına en fazla 100 şablon. Alanlar: name, subject, text ve html; HTML temizlenir. Şablon kendi başına e-posta göndermez."
      }
    },
    "/v1/mailboxes/{mailbox_id}/templates/{template_id}": {
      "put": {
        "tags": [
          "Настройки ящика"
        ],
        "summary": "E-posta şablonları",
        "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": "Başarılı yanıt",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TemplateRecord"
                }
              }
            }
          },
          "401": {
            "description": "Giriş gerekli",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Erişim yok",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Kaynak bulunamadı",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "Devlet çatışması",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "503": {
            "description": "Geçici olarak kullanılamıyor",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "Posta kutusu başına en fazla 100 şablon. Alanlar: name, subject, text ve html; HTML temizlenir. Şablon kendi başına e-posta göndermez."
      },
      "delete": {
        "tags": [
          "Настройки ящика"
        ],
        "summary": "E-posta şablonları",
        "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": "Başarılı yanıt",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "deleted": {
                      "const": true
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Giriş gerekli",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Erişim yok",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Kaynak bulunamadı",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "Devlet çatışması",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "503": {
            "description": "Geçici olarak kullanılamıyor",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "Posta kutusu başına en fazla 100 şablon. Alanlar: name, subject, text ve html; HTML temizlenir. Şablon kendi başına e-posta göndermez."
      }
    },
    "/v1/mailboxes/{mailbox_id}/autoresponder": {
      "get": {
        "tags": [
          "Настройки ящика"
        ],
        "summary": "Otomatik yanıt",
        "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": "Başarılı yanıt",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Autoresponder"
                }
              }
            }
          },
          "401": {
            "description": "Giriş gerekli",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Erişim yok",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Kaynak bulunamadı",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "Devlet çatışması",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "503": {
            "description": "Geçici olarak kullanılamıyor",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "Otomatik yanıt tarihlerinde saat dilimi belirtin; repeat_days 1–30 arasındadır. Yalnızca yeni kişisel iletiler yanıtlanır: From, Return-Path ile eşleşmelidir."
      },
      "put": {
        "tags": [
          "Настройки ящика"
        ],
        "summary": "Otomatik yanıt",
        "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": "Başarılı yanıt",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Autoresponder"
                }
              }
            }
          },
          "401": {
            "description": "Giriş gerekli",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Erişim yok",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Kaynak bulunamadı",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "Devlet çatışması",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "503": {
            "description": "Geçici olarak kullanılamıyor",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "Otomatik yanıt tarihlerinde saat dilimi belirtin; repeat_days 1–30 arasındadır. Yalnızca yeni kişisel iletiler yanıtlanır: From, Return-Path ile eşleşmelidir."
      }
    },
    "/v1/mailboxes/{mailbox_id}/filters": {
      "get": {
        "tags": [
          "Настройки ящика"
        ],
        "summary": "Filtreler",
        "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": "Başarılı yanıt",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/FilterRecord"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Giriş gerekli",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Erişim yok",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Kaynak bulunamadı",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "Devlet çatışması",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "503": {
            "description": "Geçici olarak kullanılamıyor",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "Filtre değişikliği operation döndürür. Geçmişe uygulamak için 8–120 karakterlik Idempotency-Key gerekir. Yeniden denerken aynı anahtarı kullanın; durumu GET /v1/operations/{operation_id} ile kontrol edin."
      },
      "post": {
        "tags": [
          "Настройки ящика"
        ],
        "summary": "Filtreler",
        "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": "Başarılı yanıt",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FilterChange"
                }
              }
            }
          },
          "401": {
            "description": "Giriş gerekli",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Erişim yok",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Kaynak bulunamadı",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "Devlet çatışması",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "503": {
            "description": "Geçici olarak kullanılamıyor",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "Filtre değişikliği operation döndürür. Geçmişe uygulamak için 8–120 karakterlik Idempotency-Key gerekir. Yeniden denerken aynı anahtarı kullanın; durumu GET /v1/operations/{operation_id} ile kontrol edin."
      }
    },
    "/v1/mailboxes/{mailbox_id}/filters/{filter_id}": {
      "put": {
        "tags": [
          "Настройки ящика"
        ],
        "summary": "Filtreler",
        "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": "Başarılı yanıt",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FilterChange"
                }
              }
            }
          },
          "401": {
            "description": "Giriş gerekli",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Erişim yok",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Kaynak bulunamadı",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "Devlet çatışması",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "503": {
            "description": "Geçici olarak kullanılamıyor",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "Filtre değişikliği operation döndürür. Geçmişe uygulamak için 8–120 karakterlik Idempotency-Key gerekir. Yeniden denerken aynı anahtarı kullanın; durumu GET /v1/operations/{operation_id} ile kontrol edin."
      },
      "delete": {
        "tags": [
          "Настройки ящика"
        ],
        "summary": "Filtreler",
        "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": "Başarılı yanıt",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Operation"
                }
              }
            }
          },
          "401": {
            "description": "Giriş gerekli",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Erişim yok",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Kaynak bulunamadı",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "Devlet çatışması",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "503": {
            "description": "Geçici olarak kullanılamıyor",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "Filtre değişikliği operation döndürür. Geçmişe uygulamak için 8–120 karakterlik Idempotency-Key gerekir. Yeniden denerken aynı anahtarı kullanın; durumu GET /v1/operations/{operation_id} ile kontrol edin."
      }
    },
    "/v1/mailboxes/{mailbox_id}/filters/{filter_id}/apply": {
      "post": {
        "tags": [
          "Настройки ящика"
        ],
        "summary": "Mevcut iletilere uygula",
        "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": "Başarılı yanıt",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Operation"
                }
              }
            }
          },
          "401": {
            "description": "Giriş gerekli",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "Erişim yok",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Kaynak bulunamadı",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "Devlet çatışması",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          },
          "503": {
            "description": "Geçici olarak kullanılamıyor",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "description": "Filtre değişikliği operation döndürür. Geçmişe uygulamak için 8–120 karakterlik Idempotency-Key gerekir. Yeniden denerken aynı anahtarı kullanın; durumu GET /v1/operations/{operation_id} ile kontrol edin."
      }
    }
  },
  "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": "Ana alıcıların adresleri."
          },
          "cc": {
            "items": {
              "type": "string"
            },
            "type": "array",
            "maxItems": 50,
            "title": "Cc",
            "description": "Diğer katılımcıların görebileceği alıcı adreslerini kopyalayın."
          },
          "bcc": {
            "items": {
              "type": "string"
            },
            "type": "array",
            "maxItems": 50,
            "title": "Bcc",
            "description": "Bcc alıcı adresleri."
          },
          "subject": {
            "type": "string",
            "maxLength": 998,
            "title": "Subject",
            "default": "",
            "description": "Mektubun konusu."
          },
          "text": {
            "type": "string",
            "maxLength": 200000,
            "title": "Text",
            "default": "",
            "description": "Mektubun metni biçimlendirilmeden."
          },
          "html": {
            "anyOf": [
              {
                "type": "string",
                "maxLength": 300000
              },
              {
                "type": "null"
              }
            ],
            "title": "Html",
            "description": "HTML-Mektubun biçimlendirilmiş versiyonu."
          },
          "file_ids": {
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "type": "array",
            "maxItems": 20,
            "title": "File Ids",
            "description": "ID daha önce bu posta kutusuna indirilmiş dosyalar. Bunları indirirken veya dosya listesinden alın."
          },
          "forward_message": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/MessageReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "Eklerinin iletilmesi gereken orijinal e-posta."
          },
          "reply_to_message_id": {
            "anyOf": [
              {
                "type": "string",
                "maxLength": 998
              },
              {
                "type": "null"
              }
            ],
            "title": "Reply To Message Id",
            "description": "Yanıtladığınız e-postanın message_id değeri."
          },
          "references": {
            "anyOf": [
              {
                "type": "string",
                "maxLength": 4000
              },
              {
                "type": "null"
              }
            ],
            "title": "References",
            "description": "Yanıt zincirini kaydetmek için orijinal mesajın references değeri."
          },
          "send_at": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time"
              },
              {
                "type": "null"
              }
            ],
            "title": "Send At",
            "description": "Saat dilimiyle birlikte gecikmeli gönderim zamanı, örneğin 2026-11-01T12:00:00Z. Bir değer olmadan, kuyruk işlenirken gönderim başlar."
          }
        },
        "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": "Klasör listesindeki klasör adı, örneğin INBOX."
          },
          "uidvalidity": {
            "type": "integer",
            "exclusiveMinimum": 0,
            "title": "Uidvalidity",
            "description": "Bu klasör için API yanıtının değeri uidvalidity'dir."
          },
          "uids": {
            "items": {
              "type": "integer"
            },
            "type": "array",
            "maxItems": 100,
            "minItems": 1,
            "title": "Uids",
            "description": "Bir klasörden seçilen harflerin tanımlayıcıları."
          },
          "action": {
            "type": "string",
            "enum": [
              "read",
              "unread",
              "star",
              "unstar",
              "move",
              "delete"
            ],
            "title": "Action"
          },
          "destination": {
            "anyOf": [
              {
                "type": "string",
                "maxLength": 255
              },
              {
                "type": "null"
              }
            ],
            "title": "Destination",
            "description": "Hedef klasör adı. action=move. için gerekli"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "folder",
          "uidvalidity",
          "uids",
          "action"
        ],
        "title": "MessageAction"
      },
      "MessageReference": {
        "properties": {
          "folder": {
            "type": "string",
            "maxLength": 255,
            "minLength": 1,
            "title": "Folder",
            "description": "Klasör listesindeki klasör adı, örneğin INBOX."
          },
          "uidvalidity": {
            "type": "integer",
            "exclusiveMinimum": 0,
            "title": "Uidvalidity",
            "description": "Bu klasör için API yanıtının değeri uidvalidity'dir."
          },
          "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": "Ana alıcıların adresleri."
          },
          "cc": {
            "items": {
              "type": "string"
            },
            "type": "array",
            "maxItems": 50,
            "title": "Cc",
            "description": "Diğer katılımcıların görebileceği alıcı adreslerini kopyalayın."
          },
          "bcc": {
            "items": {
              "type": "string"
            },
            "type": "array",
            "maxItems": 50,
            "title": "Bcc",
            "description": "Bcc alıcı adresleri."
          },
          "subject": {
            "type": "string",
            "maxLength": 998,
            "title": "Subject",
            "default": "",
            "description": "Mektubun konusu."
          },
          "text": {
            "type": "string",
            "maxLength": 200000,
            "title": "Text",
            "default": "",
            "description": "Mektubun metni biçimlendirilmeden."
          },
          "html": {
            "anyOf": [
              {
                "type": "string",
                "maxLength": 300000
              },
              {
                "type": "null"
              }
            ],
            "title": "Html",
            "description": "HTML-Mektubun biçimlendirilmiş versiyonu."
          },
          "file_ids": {
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "type": "array",
            "maxItems": 20,
            "title": "File Ids",
            "description": "ID daha önce bu posta kutusuna indirilmiş dosyalar. Bunları indirirken veya dosya listesinden alın."
          },
          "forward_message": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/MessageReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "Eklerinin iletilmesi gereken orijinal e-posta."
          },
          "reply_to_message_id": {
            "anyOf": [
              {
                "type": "string",
                "maxLength": 998
              },
              {
                "type": "null"
              }
            ],
            "title": "Reply To Message Id",
            "description": "Yanıtladığınız e-postanın message_id değeri."
          },
          "references": {
            "anyOf": [
              {
                "type": "string",
                "maxLength": 4000
              },
              {
                "type": "null"
              }
            ],
            "title": "References",
            "description": "Yanıt zincirini kaydetmek için orijinal mesajın references değeri."
          },
          "send_at": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time"
              },
              {
                "type": "null"
              }
            ],
            "title": "Send At",
            "description": "Saat dilimiyle birlikte gecikmeli gönderim zamanı, örneğin 2026-11-01T12:00:00Z. Bir değer olmadan, kuyruk işlenirken gönderim başlar."
          }
        },
        "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. cinsinden tarih ve saat Eğer uzaklık yoksa değer aynı zamanda UTC. değerini de temsil eder"
          }
        }
      },
      "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. cinsinden tarih ve saat Eğer uzaklık yoksa değer aynı zamanda UTC. değerini de temsil eder"
          },
          "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": "Durumu kontrol etmek ve bekleyen bir gönderimi iptal etmek için İşlem Kimliği."
          },
          "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. cinsinden tarih ve saat Eğer uzaklık yoksa değer aynı zamanda UTC. değerini de temsil eder"
          },
          "created_at": {
            "type": "string",
            "description": "UTC. cinsinden tarih ve saat Eğer uzaklık yoksa değer aynı zamanda UTC. değerini de temsil eder"
          },
          "completed_at": {
            "anyOf": [
              {
                "type": "string",
                "description": "UTC. cinsinden tarih ve saat Eğer uzaklık yoksa değer aynı zamanda UTC. değerini de temsil eder"
              },
              {
                "type": "null"
              }
            ]
          },
          "error": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "İşlem başarıyla tamamlanmadıysa hatanın nedeni."
          },
          "result": {
            "anyOf": [
              {
                "type": "object",
                "additionalProperties": true
              },
              {
                "type": "null"
              }
            ],
            "description": "Operasyonun sonucu. Göndermek için kabul edilen ve reddedilen alıcılar hakkında bilgi içerir."
          }
        }
      },
      "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. cinsinden tarih ve saat Eğer uzaklık yoksa değer aynı zamanda UTC. değerini de temsil eder"
              },
              {
                "type": "null"
              }
            ]
          },
          "ready_at": {
            "anyOf": [
              {
                "type": "string",
                "description": "UTC. cinsinden tarih ve saat Eğer uzaklık yoksa değer aynı zamanda UTC. değerini de temsil eder"
              },
              {
                "type": "null"
              }
            ]
          },
          "delete_after": {
            "anyOf": [
              {
                "type": "string",
                "description": "UTC. cinsinden tarih ve saat Eğer uzaklık yoksa değer aynı zamanda UTC. değerini de temsil eder"
              },
              {
                "type": "null"
              }
            ]
          },
          "created_at": {
            "type": "string",
            "description": "UTC. cinsinden tarih ve saat Eğer uzaklık yoksa değer aynı zamanda UTC. değerini de temsil eder"
          },
          "updated_at": {
            "type": "string",
            "description": "UTC. cinsinden tarih ve saat Eğer uzaklık yoksa değer aynı zamanda UTC. değerini de temsil eder"
          },
          "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. cinsinden tarih ve saat Eğer uzaklık yoksa değer aynı zamanda UTC. değerini de temsil eder"
          },
          "updated_at": {
            "type": "string",
            "description": "UTC. cinsinden tarih ve saat Eğer uzaklık yoksa değer aynı zamanda UTC. değerini de temsil eder"
          }
        }
      },
      "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. cinsinden tarih ve saat Eğer uzaklık yoksa değer aynı zamanda UTC. değerini de temsil eder"
              },
              {
                "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. cinsinden tarih ve saat Eğer uzaklık yoksa değer aynı zamanda UTC. değerini de temsil eder"
          }
        }
      },
      "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. cinsinden tarih ve saat Eğer uzaklık yoksa değer aynı zamanda UTC. değerini de temsil eder"
          }
        }
      },
      "FilterRecord": {
        "type": "object",
        "required": [
          "id",
          "data",
          "updated_at"
        ],
        "properties": {
          "id": {
            "type": "integer"
          },
          "data": {
            "$ref": "#/components/schemas/MailFilter"
          },
          "updated_at": {
            "type": "string",
            "description": "UTC. cinsinden tarih ve saat Eğer uzaklık yoksa değer aynı zamanda UTC. değerini de temsil eder"
          }
        }
      },
      "FilterChange": {
        "type": "object",
        "required": [
          "id",
          "data",
          "updated_at",
          "operation"
        ],
        "properties": {
          "id": {
            "type": "integer"
          },
          "data": {
            "$ref": "#/components/schemas/MailFilter"
          },
          "updated_at": {
            "type": "string",
            "description": "UTC. cinsinden tarih ve saat Eğer uzaklık yoksa değer aynı zamanda UTC. değerini de temsil eder"
          },
          "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"
    }
  ]
}