openapi: 3.0.3
info:
  title: UDMG - API
  description: UDMG Server
  contact:
    name: Support
    url: https://www.stonebranch.com
    email: support@stonebranch.com
  version: 3.3.0
servers:
- url: http://localhost:8080/
security:
- BasicAuth: []
- TokenAuth: []
- BearerAuth: []
- CookieAuth: []
tags:
- name: Authentication
  description: Authentication
- name: Domains
  description: Manage Domains
- name: Domain Configuration
  description: Manage Domain Configurations
- name: Credentials
  description: Manage Domain Credentials
- name: Endpoints
  description: Manage Domain Endpoints
- name: Pipelines
  description: Manage Domain Pipelines
- name: Accounts
  description: Manage Domain Accounts
- name: Accounts Group
  description: Manage Domain Accounts Group
- name: Users
  description: Manage Domain Users
- name: Sessions
  description: Manage Domain Sessions
- name: Transfers
  description: Manage Domain Transfers
- name: Domain
  description: "Manage Domain [All Endpoints]"
- name: Cluster
  description: Manage Cluster
- name: Account IP Rules
  description: Manage Domain account IP rules
- name: System User IP Rules
  description: Manage System user IP rules
- name: Ad-Hoc
  description: Manage Adhoc Shares files
- name: Business Services
  description: Manage Domain Business Services
- name: Tasks
  description: Manage Domain Tasks
- name: TaskInstances
  description: Manage Domain Task Instances
- name: License
  description: Manage Server License
paths:
  /auth/login:
    post:
      tags:
      - Authentication
      summary: Authentication
      description: Authenticate user under a domain
      operationId: auth
      requestBody:
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/login-request"
        required: true
      responses:
        "200":
          description: Access token generated
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/login-response"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - cookieAuth: []
  /auth/login/_csrf:
    get:
      tags:
      - Authentication
      summary: Auth Login CSRF
      description: Return a CSRF Token
      operationId: auth-csrf-token
      responses:
        "200":
          description: Return a CSRF Token
          headers:
            X-CSRF-TOKEN:
              description: CSRF Token
            Set-Cookie:
              description: CSRF Token
          content:
            application/json:
              schema:
                type: object
                properties:
                  csrfToken:
                    type: string
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
  /auth/refresh:
    post:
      tags:
      - Authentication
      summary: Authentication Token Refresh
      description: Refresh a JWT Token
      operationId: auth-token-refresh
      responses:
        "200":
          description: Access token refresh
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/login-response"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - TokenAuth: []
  /auth/revoke:
    post:
      tags:
      - Authentication
      summary: Authentication Token Revoke
      description: Revoke current JWT Token
      operationId: auth-token-revoke
      responses:
        "204":
          description: Token has been revoked
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - TokenAuth: []
  /auth/revoke-all:
    post:
      tags:
      - Authentication
      summary: Authentication Token Revoke all
      description: Revoke all JWT Token's
      operationId: auth-token-revoke-all
      responses:
        "204":
          description: Token's has been revoked
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - TokenAuth: []
  /auth/{domainId}:
    get:
      tags:
      - Authentication
      summary: Authentication Domain
      description: Authentication Domain
      operationId: auth-domain
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      responses:
        "200":
          description: Authentication Domain Information
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/auth-provider"
  /auth/{domainId}/sso:
    get:
      tags:
      - Authentication
      summary: Authentication SSO
      description: Authentication SSO
      operationId: auth-sso-redirect
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      responses:
        "307":
          description: SSO Redirection
        "400":
          description: SSO Configuration
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
  /auth/{domainId}/sso/callback:
    post:
      tags:
      - Authentication
      summary: Authentication SSO Callback
      description: Authentication SSO Callback
      operationId: auth-sso-saml-callback
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      responses:
        "200":
          description: Success Authentication
          headers:
            Set-Cookie:
              schema:
                type: string
                example: AUTH_TOKEN=SEVSRSBUT0tFTg==; Path=/
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Authentication
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Authentication User
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
  /auth/otp:
    get:
      tags:
      - Authentication
      summary: Authentication OTP
      description: Return a TOTP Key
      operationId: auth-otp
      parameters:
      - name: session
        in: query
        description: Session id that was generated
        schema:
          type: string
      responses:
        "200":
          description: 2FA Response
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/users-2fa"
        "400":
          description: Bad request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "404":
          description: Not found
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - TokenAuth: []
  /auth/otp/validate:
    post:
      tags:
      - Authentication
      summary: Validation OTP
      description: Validate TOTP setup
      operationId: auth-otp-validate
      requestBody:
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/users-2fa-validate"
        required: true
      responses:
        "200":
          description: 2FA Setup complete
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/login-response"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "404":
          description: Not found
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
  /auth/logout:
    post:
      tags:
      - Authentication
      summary: Session logout
      description: Logout
      operationId: auth-logout
      responses:
        "303":
          description: Success Logout
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
  /api/v1/domains:
    get:
      tags:
      - Domains
      summary: Get Domains
      description: Returns a list of domains.
      operationId: domain-list
      responses:
        "200":
          description: Return a list of Domains
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/domain-list"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
    post:
      tags:
      - Domains
      summary: New Domain
      description: Create a new Domain
      operationId: domain-create
      requestBody:
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/domain-create"
      responses:
        "200":
          description: Get Domain Configuration
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/domain"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "409":
          description: Resource Conflict
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
  /api/v1/domains/{domainId}/ping:
    get:
      tags:
      - Admin
      summary: Node Status
      description: Returns if the node is active or passive in the cluster
      operationId: admin-ping
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      responses:
        "200":
          description: Node is active
          content:
            text/plain:
              schema:
                type: string
                enum:
                - ACTIVE
        "503":
          description: Node is passive
          content:
            text/plain:
              schema:
                type: string
                enum:
                - PASSIVE
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
  /api/v1/domains/{domainId}/healthcheck:
    get:
      tags:
      - Admin
      summary: Service Healthcheck
      description: Returns detailed health status of all components including domain
        and endpoint status
      operationId: admin-healthcheck
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      responses:
        "200":
          description: Service health information
          content:
            application/json:
              schema:
                type: object
                properties:
                  name:
                    type: string
                    description: Domain name
                  uuid:
                    type: string
                    description: Domain unique identifier
                  status:
                    type: string
                    description: Service general status
                    enum:
                    - ok
                    - degraded
                  nodeStatus:
                    type: string
                    description: Current node status
                    enum:
                    - active
                    - passive
                  database:
                    type: string
                    description: Database connection status
                    enum:
                    - running
                    - error
                    - stopped
                  cluster:
                    type: object
                    properties:
                      connected:
                        type: boolean
                      serverId:
                        type: string
                      connectedUrl:
                        type: string
                      availableServers:
                        type: array
                        items:
                          type: string
                      node:
                        type: object
                        properties:
                          clusterPort:
                            type: integer
                          id:
                            type: string
                          ipAddress:
                            type: string
                          lastHeartbeat:
                            type: string
                            format: date-time
                          port:
                            type: integer
                          startedAt:
                            type: string
                            format: date-time
                          status:
                            type: string
                      server:
                        type: object
                        properties:
                          clientPort:
                            type: integer
                          clusterPort:
                            type: integer
                          clusterAddr:
                            type: string
                      state:
                        type: object
                        properties:
                          mode:
                            type: string
                          status:
                            type: string
                    description: Cluster information if available
                    nullable: true
                  icap:
                    type: string
                    description: ICAP service status
                    enum:
                    - available
                    - not_initialized
                    - error
                  ldap:
                    type: object
                    properties:
                      users:
                        type: string
                        enum:
                        - available
                        - error
                        - timeout
                        - not_initialized
                      accounts:
                        type: string
                        enum:
                        - available
                        - error
                        - timeout
                        - not_initialized
                    description: LDAP providers status by type (accounts or users)
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "404":
          description: Not Found
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
  /api/v1/domains/{domainId}:
    delete:
      tags:
      - Domains
      summary: Delete Domain
      description: Delete a domain.
      operationId: domain-delete
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      responses:
        "200":
          description: Domain Deleted
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/2xx"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
  /api/v1/domains/{domainId}/config:
    get:
      tags:
      - Domain Configuration
      - Domain
      summary: Domain configuration
      description: Returns the general configuration of the specified domain.
      operationId: domain-config-list
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      responses:
        "200":
          description: Domain Configuration
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/domain-config"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "409":
          description: Resource Conflict
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
  /api/v1/domains/{domainId}/config/sso:
    get:
      tags:
      - Domain Configuration
      - Domain
      summary: Domain SSO configuration
      description: Returns the SSO configuration of the specified domain.
      operationId: domain-config-sso
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      responses:
        "200":
          description: Domain Configuration
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/domain-config"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "409":
          description: Resource Conflict
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
    put:
      tags:
      - Domain Configuration
      - Domain
      summary: Domain SSO configuration update
      description: Update the SSO configuration of the specified domain.
      operationId: domain-config-sso-update
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      responses:
        "200":
          description: Domain Configuration
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/domain-config-sso-create"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "409":
          description: Resource Conflict
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
    post:
      tags:
      - Domain Configuration
      - Domain
      summary: Domain SSO configuration
      description: Setup the SSO configuration of the specified domain.
      operationId: domain-config-sso-create
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      responses:
        "200":
          description: Domain Configuration
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/domain-config-sso-create"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "409":
          description: Resource Conflict
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
    delete:
      tags:
      - Domain Configuration
      summary: Domain SSO configuration
      description: Delete the SSO Configuration
      operationId: domain-config-sso-delete
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      responses:
        "200":
          description: Domain SSO configuration deleted
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/2xx"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "409":
          description: Resource Conflict
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
  /api/v1/domains/{domainId}/config/sso/enable:
    put:
      tags:
      - Domain Configuration
      summary: Enable SSO configuration
      description: Enable the SSO Configuration
      operationId: domain-config-sso-enable
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      responses:
        "200":
          description: SSO configuration enabled
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/domain-config-set"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "404":
          description: Not Found
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "409":
          description: Resource Conflict
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
  /api/v1/domains/{domainId}/config/sso/disable:
    put:
      tags:
      - Domain Configuration
      summary: Disable SSO configuration
      description: Disable the SSO Configuration
      operationId: domain-config-sso-disable
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      responses:
        "200":
          description: SSO configuration disabled
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/domain-config-set"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "404":
          description: Not Found
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "409":
          description: Resource Conflict
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
  /api/v1/domains/{domainId}/config/sso-accounts:
    get:
      tags:
      - Domain Configuration
      - Domain
      summary: Domain SSO configuration
      description: Returns the SSO configuration of the specified domain.
      operationId: domain-config-sso-account
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      responses:
        "200":
          description: Domain Configuration
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/domain-config"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "409":
          description: Resource Conflict
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
    put:
      tags:
      - Domain Configuration
      - Domain
      summary: Domain SSO configuration update
      description: Update the SSO configuration of the specified domain.
      operationId: domain-config-sso-account-update
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      responses:
        "200":
          description: Domain Configuration
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/domain-config-sso-create"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "409":
          description: Resource Conflict
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
    post:
      tags:
      - Domain Configuration
      - Domain
      summary: Domain SSO configuration
      description: Setup the SSO configuration of the specified domain.
      operationId: domain-config-sso-account-create
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      responses:
        "200":
          description: Domain Configuration
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/domain-config-sso-create"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "409":
          description: Resource Conflict
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
    delete:
      tags:
      - Domain Configuration
      summary: Domain SSO configuration
      description: Delete the SSO Configuration
      operationId: domain-config-sso-account-delete
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      responses:
        "200":
          description: Domain SSO configuration deleted
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/2xx"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "409":
          description: Resource Conflict
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
  /api/v1/domains/{domainId}/config/sso-accounts/enable:
    put:
      tags:
      - Domain Configuration
      summary: Enable SSO configuration
      description: Enable the SSO Configuration
      operationId: domain-config-sso-account-enable
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      responses:
        "200":
          description: SSO configuration enabled
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/domain-config-set"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "404":
          description: Not Found
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "409":
          description: Resource Conflict
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
  /api/v1/domains/{domainId}/config/sso-accounts/disable:
    put:
      tags:
      - Domain Configuration
      summary: Disable SSO configuration
      description: Disable the SSO Configuration
      operationId: domain-config-sso-account-disable
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      responses:
        "200":
          description: SSO configuration disabled
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/domain-config-set"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "404":
          description: Not Found
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "409":
          description: Resource Conflict
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
  /api/v1/domains/{domainId}/config/ldap/accounts:
    get:
      tags:
      - Domain Configuration
      - LDAP
      summary: Get Accounts LDAP configuration
      description: Return the Accounts LDAP configuration value
      operationId: domain-config-ldap-accounts-get
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      responses:
        "200":
          description: Accounts LDAP configuration details
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/domain-config-set"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "409":
          description: Resource Conflict
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
    post:
      tags:
      - Domain Configuration
      - LDAP
      summary: Create Accounts LDAP configuration
      description: Create Accounts LDAP configuration value
      operationId: domain-config-ldap-accounts-update
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/domain-config-ldap"
      responses:
        "200":
          description: Accounts LDAP configuration created
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/domain-config-set"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "409":
          description: Resource Conflict
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
    delete:
      tags:
      - Domain Configuration
      - LDAP
      summary: Delete Accounts LDAP configuration
      description: Delete the Accounts LDAP configuration
      operationId: domain-config-ldap-accounts-delete
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      responses:
        "200":
          description: Accounts LDAP configuration deleted
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/2xx"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "409":
          description: Resource Conflict
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
  /api/v1/domains/{domainId}/config/ldap/users:
    get:
      tags:
      - Domain Configuration
      - LDAP
      summary: Get Users LDAP configuration
      description: Return the Users LDAP configuration value
      operationId: domain-config-ldap-users-get
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      responses:
        "200":
          description: Users LDAP configuration details
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/domain-config-set"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "409":
          description: Resource Conflict
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
    post:
      tags:
      - Domain Configuration
      - LDAP
      summary: Create Users LDAP configuration
      description: Create Users LDAP configuration value
      operationId: domain-config-ldap-users-update
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/domain-config-ldap"
      responses:
        "200":
          description: Users LDAP configuration created
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/domain-config-set"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "409":
          description: Resource Conflict
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
    delete:
      tags:
      - Domain Configuration
      - LDAP
      summary: Delete Users LDAP configuration
      description: Delete the Users LDAP configuration
      operationId: domain-config-ldap-users-delete
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      responses:
        "200":
          description: Users LDAP configuration deleted
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/2xx"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "409":
          description: Resource Conflict
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
  /api/v1/domains/{domainId}/config/ldap/accounts/sync:
    post:
      tags:
      - Domain Configuration
      - LDAP
      summary: Trigger Accounts LDAP Sync
      description: Triggers a manual Accounts LDAP synchronization
      operationId: ldap-sync-accounts-trigger
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      responses:
        "200":
          description: LDAP sync job started
          content:
            application/json:
              schema:
                required:
                - jobId
                - message
                - status
                type: object
                properties:
                  status:
                    type: string
                    description: Status of the sync job request
                    example: accepted
                  jobId:
                    type: integer
                    description: ID of the created sync job
                    format: int64
                  message:
                    type: string
                    description: Description of the sync job status
                    example: LDAP sync started
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
  /api/v1/domains/{domainId}/config/ldap/users/sync:
    post:
      tags:
      - Domain Configuration
      - LDAP
      summary: Trigger Users LDAP Sync
      description: Triggers a manual Users LDAP synchronization
      operationId: ldap-sync-users-trigger
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      responses:
        "200":
          description: LDAP sync job started
          content:
            application/json:
              schema:
                required:
                - jobId
                - message
                - status
                type: object
                properties:
                  status:
                    type: string
                    description: Status of the sync job request
                    example: accepted
                  jobId:
                    type: integer
                    description: ID of the created sync job
                    format: int64
                  message:
                    type: string
                    description: Description of the sync job status
                    example: LDAP sync started
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
  /api/v1/domains/{domainId}/config/ldap/sync/status/{jobId}:
    get:
      tags:
      - Domain Configuration
      - LDAP
      summary: Get LDAP Sync Job Status
      description: Returns the status of a specific LDAP sync job
      operationId: ldap-sync-status-by-id
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      - name: jobId
        in: path
        description: Sync Job ID
        required: true
        schema:
          type: string
      responses:
        "200":
          description: LDAP sync job status
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ldap-sync-job"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
  /api/v1/domains/{domainId}/config/ldap/sync/status:
    get:
      tags:
      - Domain Configuration
      - LDAP
      summary: List LDAP Sync Jobs
      description: Returns a list of LDAP sync jobs and their status
      operationId: ldap-sync-status-list
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      - name: type
        in: query
        description: Filter by LDAP type (optional)
        schema:
          type: string
          enum:
          - users
          - accounts
      responses:
        "200":
          description: List of LDAP sync jobs
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ldap-sync-status"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
  /api/v1/domains/{domainId}/config/ldap/accounts/sync/enable:
    put:
      tags:
      - Domain Configuration
      - LDAP
      summary: Enable Scheduled Accounts LDAP Sync
      description: Enables scheduled Accounts LDAP synchronization
      operationId: ldap-sync-accounts-enable
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      responses:
        "200":
          description: Scheduled LDAP sync enabled
          content:
            application/json:
              schema:
                required:
                - message
                - status
                - type
                type: object
                properties:
                  status:
                    type: string
                    description: Status of the enable operation
                    example: success
                  message:
                    type: string
                    description: Description of the operation result
                    example: LDAP users sync enabled
                  type:
                    type: string
                    description: Type of LDAP sync that was enabled
                    enum:
                    - users
                    - accounts
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
  /api/v1/domains/{domainId}/config/ldap/users/sync/enable:
    put:
      tags:
      - Domain Configuration
      - LDAP
      summary: Enable Scheduled Users LDAP Sync
      description: Enables scheduled Users LDAP synchronization
      operationId: ldap-sync-users-enable
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      responses:
        "200":
          description: Scheduled LDAP sync enabled
          content:
            application/json:
              schema:
                required:
                - message
                - status
                - type
                type: object
                properties:
                  status:
                    type: string
                    description: Status of the enable operation
                    example: success
                  message:
                    type: string
                    description: Description of the operation result
                    example: LDAP users sync enabled
                  type:
                    type: string
                    description: Type of LDAP sync that was enabled
                    enum:
                    - users
                    - accounts
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
  /api/v1/domains/{domainId}/config/ldap/accounts/sync/disable:
    put:
      tags:
      - Domain Configuration
      - LDAP
      summary: Disable Scheduled Accounts LDAP Sync
      description: Disables scheduled Accounts LDAP synchronization
      operationId: ldap-sync-accounts-disable
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      responses:
        "200":
          description: Scheduled LDAP sync disabled
          content:
            application/json:
              schema:
                required:
                - message
                - status
                - type
                type: object
                properties:
                  status:
                    type: string
                    description: Status of the disable operation
                    example: success
                  message:
                    type: string
                    description: Description of the operation result
                    example: LDAP users sync disabled
                  type:
                    type: string
                    description: Type of LDAP sync that was disabled
                    enum:
                    - users
                    - accounts
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
  /api/v1/domains/{domainId}/config/ldap/users/sync/disable:
    put:
      tags:
      - Domain Configuration
      - LDAP
      summary: Disable Scheduled Users LDAP Sync
      description: Disables scheduled Users LDAP synchronization
      operationId: ldap-sync-users-disable
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      responses:
        "200":
          description: Scheduled LDAP sync disabled
          content:
            application/json:
              schema:
                required:
                - message
                - status
                - type
                type: object
                properties:
                  status:
                    type: string
                    description: Status of the disable operation
                    example: success
                  message:
                    type: string
                    description: Description of the operation result
                    example: LDAP users sync disabled
                  type:
                    type: string
                    description: Type of LDAP sync that was disabled
                    enum:
                    - users
                    - accounts
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
  /api/v1/domains/{domainId}/config/ldap/accounts/test:
    post:
      tags:
      - Domain Configuration
      - LDAP
      summary: Test Accounts LDAP configuration
      description: Tests the Accounts LDAP connection and configuration without performing
        a sync
      operationId: domain-config-ldap-accounts-test
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      responses:
        "200":
          description: LDAP test results
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ldap-test-response"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "404":
          description: LDAP configuration not found
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
  /api/v1/domains/{domainId}/config/ldap/users/test:
    post:
      tags:
      - Domain Configuration
      - LDAP
      summary: Test Users LDAP configuration
      description: Tests the Users LDAP connection and configuration without performing
        a sync
      operationId: domain-config-ldap-users-test
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      responses:
        "200":
          description: LDAP test results
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ldap-test-response"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "404":
          description: LDAP configuration not found
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
  /api/v1/domains/{domainId}/config/icap:
    get:
      tags:
      - Domain Configuration
      summary: Get ICAP configuration
      description: Return the ICAP virus scanning configuration for the domain
      operationId: domain-config-get-icap
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      responses:
        "200":
          description: ICAP configuration details
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/domain-config-set"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "409":
          description: Resource Conflict
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
    post:
      tags:
      - Domain Configuration
      summary: Create/Update ICAP configuration
      description: Create or update ICAP virus scanning configuration for the domain
      operationId: domain-config-update-icap
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/domain-config-icap"
      responses:
        "200":
          description: ICAP configuration created or updated
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/domain-config-set"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "409":
          description: Resource Conflict
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
    delete:
      tags:
      - Domain Configuration
      summary: Delete ICAP configuration
      description: Delete the ICAP virus scanning configuration for the domain
      operationId: domain-config-delete-icap
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      responses:
        "200":
          description: ICAP configuration deleted
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/2xx"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "409":
          description: Resource Conflict
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
  /api/v1/domains/{domainId}/config/icap/test:
    post:
      tags:
      - Domain Configuration
      summary: Test ICAP configuration
      description: Tests the ICAP server connection and configuration
      operationId: domain-config-test-icap
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      responses:
        "200":
          description: ICAP test results
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/icap-test-response"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "404":
          description: ICAP configuration not found
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
  /api/v1/domains/{domainId}/config/icap/enable:
    put:
      tags:
      - Domain Configuration
      summary: Enable ICAP configuration
      description: Enable the ICAP virus scanning configuration for the domain
      operationId: domain-config-enable-icap
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      responses:
        "200":
          description: ICAP configuration enabled
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/domain-config-set"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "404":
          description: Not Found
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "409":
          description: Resource Conflict
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
  /api/v1/domains/{domainId}/config/icap/disable:
    put:
      tags:
      - Domain Configuration
      summary: Disable ICAP configuration
      description: Disable the ICAP virus scanning configuration for the domain
      operationId: domain-config-disable-icap
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      responses:
        "200":
          description: ICAP configuration disabled
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/domain-config-set"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "404":
          description: Not Found
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "409":
          description: Resource Conflict
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
  /api/v1/domains/{domainId}/config/forward-proxy:
    get:
      tags:
      - Domain Configuration
      summary: Get Forward Proxy configuration
      description: Return the Forward Proxy configuration for the domain
      operationId: domain-config-fwd-get
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      responses:
        "200":
          description: Forward Proxy configuration details
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/domain-config-set"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "409":
          description: Resource Conflict
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
    put:
      tags:
      - Domain Configuration
      summary: Update Forward Proxy
      description: Update Forward Prox
      operationId: domain-config-fwd-update
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/domain-config-fwd-update"
      responses:
        "200":
          description: Forward Proxy updated
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/domain-config-set"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "404":
          description: Not Found
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "409":
          description: Resource Conflict
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
    post:
      tags:
      - Domain Configuration
      summary: Create Forward Proxy configuration
      description: Create Forward Proxy configuration for the domain
      operationId: domain-config-fwd-create
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/domain-config-fwd-create"
      responses:
        "200":
          description: Forward Proxy configuration created
          content:
            schema: {}
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "409":
          description: Resource Conflict
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
    delete:
      tags:
      - Domain Configuration
      summary: Delete Forward Proxy configuration
      description: Delete the Forward Proxy configuration for the domain
      operationId: domain-config-fwd-delete
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      responses:
        "200":
          description: Forward Proxy configuration deleted
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/2xx"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "409":
          description: Resource Conflict
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
  /api/v1/domains/{domainId}/config/forward-proxy/test:
    post:
      tags:
      - Domain Configuration
      summary: Test Forward Proxy configuration
      description: Test Forward Proxy Configuration
      operationId: domain-config-fwd-test
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      responses:
        "200":
          description: Test result
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/domain-config-fwd-test"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "404":
          description: Not Found
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "409":
          description: Resource Conflict
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
  /api/v1/domains/{domainId}/config/forward-proxy/enable:
    put:
      tags:
      - Domain Configuration
      summary: Enable Forward Proxy configuration
      description: Enable Forward Proxy Configuration
      operationId: domain-config-fwd-enable
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      responses:
        "200":
          description: Forward Proxy configuration enabled
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/domain-config-set"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "404":
          description: Not Found
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "409":
          description: Resource Conflict
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
  /api/v1/domains/{domainId}/config/forward-proxy/disable:
    put:
      tags:
      - Domain Configuration
      summary: Disable Forward Proxy configuration
      description: Disable Forward Proxy Configuration
      operationId: domain-config-fwd-disable
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      responses:
        "200":
          description: Forward Proxy configuration disabled
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/domain-config-set"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "404":
          description: Not Found
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "409":
          description: Resource Conflict
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
  /api/v1/domains/{domainId}/config/security:
    get:
      tags:
      - Domain Configuration
      summary: Get Security configuration
      description: Return the Security configuration for the domain
      operationId: domain-config-security-get
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      responses:
        "200":
          description: Security configuration details
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/domain-config-set"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "404":
          description: Not Found
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
    put:
      tags:
      - Domain Configuration
      summary: Update Security configuration
      description: Update Security configuration with password policies
      operationId: domain-config-security-update
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/domain-config-security-update"
      responses:
        "200":
          description: Security configuration updated
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/domain-config-set"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "404":
          description: Not Found
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "409":
          description: Resource Conflict
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
  /api/v1/domains/{domainId}/config/{configName}:
    get:
      tags:
      - Domain Configuration
      summary: Get configuration
      description: Return the configuration value
      operationId: domain-config-get
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      - name: configName
        in: path
        description: Configuration key
        required: true
        schema:
          type: string
          enum:
          - name
          - logo
          - label
          - color
          - auth-security
          - maxConcurrentAccountSessions
          - maxConcurrentUserSessions
      responses:
        "200":
          description: Configuration details
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/domain-config-set"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "409":
          description: Resource Conflict
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
    put:
      tags:
      - Domain Configuration
      summary: Update configuration
      description: Update a configuration value
      operationId: domain-config-update
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      - name: configName
        in: path
        description: Configuration key
        required: true
        schema:
          type: string
          enum:
          - name
          - logo
          - label
          - color
          - auth-security
          - maxConcurrentAccountSessions
          - maxConcurrentUserSessions
      requestBody:
        content:
          application/json:
            schema:
              type: object
              anyOf:
              - $ref: "#/components/schemas/domain-config-name"
              - $ref: "#/components/schemas/domain-config-label"
              - $ref: "#/components/schemas/domain-config-logo"
              - $ref: "#/components/schemas/domain-config-color"
              - $ref: "#/components/schemas/domain-config-auth-security"
              - $ref: "#/components/schemas/domain-config-max-concurrent-account-sessions"
              - $ref: "#/components/schemas/domain-config-max-concurrent-user-sessions"
      responses:
        "200":
          description: Configuration updated
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/domain-config-set"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "409":
          description: Resource Conflict
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
    post:
      tags:
      - Domain Configuration
      summary: Create configuration
      description: Create a new configuration
      operationId: domain-config-create
      parameters:
      - name: domainId
        in: path
        description: Domain UUID/Name
        required: true
        schema:
          type: string
      - name: configName
        in: path
        description: Configuration key
        required: true
        schema:
          type: string
          enum:
          - name
          - logo
          - label
          - color
          - auth-security
          - maxConcurrentAccountSessions
          - maxConcurrentUserSessions
      requestBody:
        content:
          application/json:
            schema:
              type: object
              anyOf:
              - $ref: "#/components/schemas/domain-config-name"
              - $ref: "#/components/schemas/domain-config-label"
              - $ref: "#/components/schemas/domain-config-logo"
              - $ref: "#/components/schemas/domain-config-color"
              - $ref: "#/components/schemas/domain-config-auth-security"
              - $ref: "#/components/schemas/domain-config-max-concurrent-account-sessions"
              - $ref: "#/components/schemas/domain-config-max-concurrent-user-sessions"
      responses:
        "200":
          description: Configuration created
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/domain-config-set"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "409":
          description: Resource Conflict
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
    delete:
      tags:
      - Domain Configuration
      summary: Delete configuration
      description: Delete domain configuration
      operationId: domain-config-delete
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      - name: configName
        in: path
        description: Configuration key
        required: true
        schema:
          type: string
          enum:
          - name
          - logo
          - label
          - color
          - auth-security
          - maxConcurrentAccountSessions
          - maxConcurrentUserSessions
      responses:
        "200":
          description: Configuration deleted
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/2xx"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
  /api/v1/domains/{domainId}/status:
    get:
      tags:
      - Admin
      summary: Domain Status
      description: Returns detailed status of a domain including its state and all
        endpoints with their runtime status
      operationId: admin-domain-status
      parameters:
      - name: domainId
        in: path
        description: Domain name or UUID
        required: true
        schema:
          type: string
      responses:
        "200":
          description: Domain status information
          content:
            application/json:
              schema:
                required:
                - endpoints
                - id
                - name
                - state
                type: object
                properties:
                  name:
                    type: string
                    description: Domain name
                  uuid:
                    type: string
                    description: Domain UUID
                  state:
                    type: string
                    description: Current state of the domain
                    enum:
                    - enabled
                    - disabled
                  endpoints:
                    type: object
                    additionalProperties:
                      required:
                      - enabled
                      - name
                      - type
                      type: object
                      properties:
                        name:
                          type: string
                          description: Endpoint name
                        type:
                          type: string
                          description: "Named endpoint type (e.g., \"SFTP Server\"\
                            , \"SFTP Client\", \"Local Storage\")"
                        enabled:
                          type: boolean
                          description: Whether the endpoint is enabled
                        runtimeStatus:
                          type: string
                          description: Current runtime status of the endpoint (for
                            applicable types)
                        runtimeVersion:
                          type: integer
                          description: Runtime version of the endpoint (for applicable
                            types)
                        address:
                          type: string
                          description: Endpoint address if running
                        port:
                          type: string
                          description: Endpoint port if running
                        protocol:
                          type: string
                          description: Endpoint protocol if running
                        activeSessions:
                          type: integer
                          description: Number of active sessions (only for SFTP servers)
                        extended:
                          type: object
                          description: Additional endpoint-specific information like
                            disk space for local storage
                          example:
                            diskSpace:
                              /path/to/storage:
                                fsType: tmpfs
                                available: 500GB
                                total: 1TB
                              /path/to/tmp:
                                fsType: tmpfs
                                available: 100GB
                                total: 200GB
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "404":
          description: Domain not found
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
  /api/v1/domains/{domainId}/cluster/nodes:
    get:
      tags:
      - Domain
      - Cluster
      summary: Get Cluster Nodes
      description: Returns a list of cluster nodes.
      operationId: cluster-nodes-list
      parameters:
      - name: domainId
        in: path
        description: Domain UUID
        required: true
        schema:
          type: string
      responses:
        "200":
          description: Return a list of cluster nodes
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/cluster-nodes-list"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
  /api/v1/domains/{domainId}/endpoints:
    get:
      tags:
      - Endpoints
      summary: List Endpoints
      description: Returns a list of endpoints
      operationId: endpoint-list
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      responses:
        "200":
          description: Return a list of endpoints
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/endpoint-list"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
    post:
      tags:
      - Endpoints
      summary: Create Endpoint
      description: Creates a new endpoint in the domain
      operationId: endpoint-create
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/endpoint-create"
        required: true
      responses:
        "200":
          description: Endpoint created
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/endpoint"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
  /api/v1/domains/{domainId}/endpoints/{endpointName}:
    get:
      tags:
      - Endpoints
      summary: Get Endpoint
      description: Returns details of a specific endpoint
      operationId: endpoint-get
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      - name: endpointName
        in: path
        description: Endpoint name
        required: true
        schema:
          type: string
      responses:
        "200":
          description: Endpoint details
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/endpoint"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
    put:
      tags:
      - Endpoints
      summary: Update Endpoint
      description: Updates an existing endpoint
      operationId: endpoint-update
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      - name: endpointName
        in: path
        description: Endpoint name
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/endpoint-update"
        required: true
      responses:
        "200":
          description: Endpoint updated
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/endpoint"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
    delete:
      tags:
      - Endpoints
      summary: Delete Endpoint
      description: Deletes an endpoint
      operationId: endpoint-delete
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      - name: endpointName
        in: path
        description: Endpoint name
        required: true
        schema:
          type: string
      responses:
        "200":
          description: Endpoint deleted
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/2xx"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
  /api/v1/domains/{domainId}/endpoints/{endpointName}/enable:
    put:
      tags:
      - Domain
      - Endpoints
      summary: Enable Endpoint
      description: Enables an endpoint
      operationId: endpoint-enable
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      - name: endpointName
        in: path
        description: Endpoint name
        required: true
        schema:
          type: string
      responses:
        "200":
          description: Endpoint enabled
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/endpoint"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
  /api/v1/domains/{domainId}/endpoints/{endpointName}/disable:
    put:
      tags:
      - Domain
      - Endpoints
      summary: Disable Endpoint
      description: Disable an endpoint
      operationId: endpoint-disable
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      - name: endpointName
        in: path
        description: Endpoint name
        required: true
        schema:
          type: string
      responses:
        "200":
          description: Endpoint disable
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/endpoint"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
  /api/v1/domains/{domainId}/endpoints/{endpointName}/start:
    put:
      tags:
      - Endpoints
      summary: Start Endpoint
      description: Enables an endpoint
      operationId: endpoint-start
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      - name: endpointName
        in: path
        description: Endpoint name
        required: true
        schema:
          type: string
      responses:
        "200":
          description: Start endpoint
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/2xx"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
  /api/v1/domains/{domainId}/endpoints/{endpointName}/stop:
    put:
      tags:
      - Endpoints
      summary: Stop Endpoint
      description: Stop an endpoint
      operationId: endpoint-stop
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      - name: endpointName
        in: path
        description: Endpoint name
        required: true
        schema:
          type: string
      responses:
        "200":
          description: Endpoint stopped
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/2xx"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
  /api/v1/domains/{domainId}/endpoints/{endpointName}/restart:
    put:
      tags:
      - Endpoints
      summary: Restart Endpoint
      description: Restart an endpoint
      operationId: endpoint-restart
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      - name: endpointName
        in: path
        description: Endpoint name
        required: true
        schema:
          type: string
      responses:
        "200":
          description: Endpoint Restarted
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/2xx"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
  /api/v1/domains/{domainId}/endpoints/{endpointName}/test:
    post:
      tags:
      - Endpoints
      summary: Test Endpoint
      description: Test endpoint
      operationId: endpoint-test
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      - name: endpointName
        in: path
        description: Endpoint name
        required: true
        schema:
          type: string
      responses:
        "200":
          description: Endpoint Test status
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/endpoint"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
  /api/v1/domains/{domainId}/endpoints/{endpointName}/log-level:
    post:
      tags:
      - Endpoints
      summary: Endpoint Log Level
      description: Change endpoint log level
      operationId: endpoint-log-level
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      - name: endpointName
        in: path
        description: Endpoint name
        required: true
        schema:
          type: string
      - name: level
        in: query
        description: Log level to set
        required: true
        schema:
          type: string
          enum:
          - debug
          - info
          - warn
          - error
      responses:
        "200":
          description: Log level changed successfully
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/2xx"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
  /api/v1/domains/{domainId}/endpoints/{endpointName}/pipelines:
    get:
      tags:
      - Endpoints
      summary: Endpoint pipelines
      description: Return pipelines that are using this endpoint
      operationId: endpoint-pipelines
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      - name: endpointName
        in: path
        description: Endpoint name
        required: true
        schema:
          type: string
      responses:
        "200":
          description: Return pipelines that are using this endpoint
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/pipeline-list"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
  /api/v1/domains/{domainId}/sessions/by-endpoint/{name}:
    get:
      tags:
      - Domain
      - Sessions
      summary: Endpoint Session List
      description: Return a Session list.
      operationId: session-endpoint-list
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      - name: name
        in: path
        description: Endpoint Name
        required: true
        schema:
          type: string
      responses:
        "200":
          description: Session endpoint list
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/session-list"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "404":
          description: Not Found
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
  /api/v1/domains/{domainId}/sessions/by-endpoint/{name}/all:
    delete:
      tags:
      - Domain
      - Sessions
      summary: Stop all actives sessions
      description: Stop all actives sessions
      operationId: session-endpoint-stop-all
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      - name: name
        in: path
        description: Endpoint Name
        required: true
        schema:
          type: string
      responses:
        "200":
          description: Sessions was stopped
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/session-stop"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
  /api/v1/domains/{domainId}/sessions/by-endpoint/{name}/by-uuid/{uuid}:
    delete:
      tags:
      - Domain
      - Sessions
      summary: Stop a active session
      description: Stop a active session by UUID
      operationId: session-endpoint-stop-by-uuid
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      - name: name
        in: path
        description: Endpoint Name
        required: true
        schema:
          type: string
      - name: uuid
        in: path
        description: Session UUID
        required: true
        schema:
          type: string
      responses:
        "200":
          description: Sessions was stopped
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/session-stop"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
  /api/v1/domains/{domainId}/sessions/by-endpoint/{name}/by-ip/{ip}:
    delete:
      tags:
      - Domain
      - Sessions
      summary: Stop a active session
      description: Stop a active session by IP Address
      operationId: session-endpoint-stop-by-ip
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      - name: name
        in: path
        description: Endpoint Name
        required: true
        schema:
          type: string
      - name: ip
        in: path
        description: Remote Address connection
        required: true
        schema:
          type: string
      responses:
        "200":
          description: Sessions was stopped
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/session-stop"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
  /api/v1/domains/{domainId}/credentials:
    get:
      tags:
      - Domain
      - Credentials
      summary: List Credentials
      description: Returns a list of all credentials
      operationId: credentials-list
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      responses:
        "200":
          description: List of credentials
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/credential-list"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
    post:
      tags:
      - Credentials
      summary: Create Credential
      description: Creates a new credential
      operationId: credentials-create
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/credential-create"
        required: true
      responses:
        "200":
          description: Credential created
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/credential"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
  /api/v1/domains/{domainId}/credentials/{name}:
    get:
      tags:
      - Domain
      - Credentials
      summary: Get Credential
      description: Returns a specific credential
      operationId: credential-get
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      - name: name
        in: path
        description: Credential name
        required: true
        schema:
          type: string
      responses:
        "200":
          description: Credential details
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/credential"
        "404":
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BasicAuth: []
    put:
      tags:
      - Credentials
      summary: Update Credential
      description: Returns a specific credential
      operationId: credential-update
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      - name: name
        in: path
        description: Credential name
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/credential-update"
        required: true
      responses:
        "200":
          description: Credential updated
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/credential"
        "404":
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BasicAuth: []
    delete:
      tags:
      - Credentials
      summary: Delete Credential
      description: Deletes a credential
      operationId: credential-delete
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      - name: name
        in: path
        description: Credential name
        required: true
        schema:
          type: string
      responses:
        "200":
          description: Credential deleted
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/2xx"
        "404":
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BasicAuth: []
  /api/v1/domains/{domainId}/credentials/{name}/enable:
    put:
      tags:
      - Domain
      - Credentials
      summary: Enable Credential
      description: Returns a specific credential
      operationId: credential-enable
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      - name: name
        in: path
        description: Credential name
        required: true
        schema:
          type: string
      responses:
        "200":
          description: Credential enabled
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/credential"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
  /api/v1/domains/{domainId}/credentials/{name}/disable:
    put:
      tags:
      - Domain
      - Credentials
      summary: Disable Credential
      description: Returns a specific credential
      operationId: credential-disable
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      - name: name
        in: path
        description: Credential name
        required: true
        schema:
          type: string
      responses:
        "200":
          description: Credential disabled
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/credential"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
  /api/v1/domains/{domainId}/credentials/{name}/details:
    get:
      tags:
      - Domain
      - Credentials
      summary: Credential Details
      description: Returns Details from credential
      operationId: credential-details
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      - name: name
        in: path
        description: Credential name
        required: true
        schema:
          type: string
      responses:
        "200":
          description: Credential Details
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/credential-details"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
  /api/v1/domains/{domainId}/credentials/{name}/reveal:
    get:
      tags:
      - Domain
      - Credentials
      summary: Credential Reveal
      description: Returns the credential
      operationId: credential-reveal
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      - name: name
        in: path
        description: Credential name
        required: true
        schema:
          type: string
      responses:
        "200":
          description: Credential Secrets
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BasicAuth: []
  /api/v1/domains/{domainId}/credentials/{name}/assignments:
    get:
      tags:
      - Domain
      - Credentials
      summary: Get Credential used by
      description: "Return a list of Endpoints, Pipelines, Accounts"
      operationId: credential-used-by
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      - name: name
        in: path
        description: Credential name
        required: true
        schema:
          type: string
      - name: extended
        in: query
        description: Show configuration for endpoints
        schema:
          type: string
          enum:
          - "1"
          - t
          - T
          - "true"
          - "true"
          - "true"
      responses:
        "200":
          description: A list of resources using this credential
          content:
            application/json:
              schema:
                type: object
                properties:
                  endpoints:
                    type: array
                    items:
                      $ref: "#/components/schemas/endpoint"
                  pipelines:
                    type: array
                    items:
                      $ref: "#/components/schemas/pipeline"
                  accounts:
                    type: array
                    items:
                      $ref: "#/components/schemas/account"
        "404":
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BasicAuth: []
  /api/v1/domains/{domainId}/accounts:
    get:
      tags:
      - Domain
      - Accounts
      summary: Account List
      description: Return a Accounts list
      operationId: account-list
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      responses:
        "200":
          description: List of Accounts
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/account-list"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
    post:
      tags:
      - Domain
      - Accounts
      summary: Create a new Account
      description: Create new account
      operationId: account-create
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/account-create"
      responses:
        "200":
          description: Account created
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/account"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
  /api/v1/domains/{domainId}/accounts/{name}:
    get:
      tags:
      - Domain
      - Accounts
      summary: Get Account
      description: Return a Account
      operationId: account-get
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      - name: name
        in: path
        description: Account name
        required: true
        schema:
          type: string
      responses:
        "200":
          description: Account details
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/account"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "404":
          description: Not Found
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
    put:
      tags:
      - Domain
      - Accounts
      summary: Update Account
      description: Account Update
      operationId: account-update
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      - name: name
        in: path
        description: Account name
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/account-update"
      responses:
        "200":
          description: Account updated
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/account"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "404":
          description: Not Found
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
    delete:
      tags:
      - Domain
      - Accounts
      summary: Delete account
      description: Delete the account
      operationId: account-delete
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      - name: name
        in: path
        description: Account name
        required: true
        schema:
          type: string
      responses:
        "200":
          description: Account deleted
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/2xx"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "404":
          description: Not Found
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
  /api/v1/domains/{domainId}/accounts/{name}/disable:
    put:
      tags:
      - Domain
      - Accounts
      summary: Disable Account
      description: Disable the account
      operationId: account-disable
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      - name: name
        in: path
        description: Account name
        required: true
        schema:
          type: string
      responses:
        "200":
          description: Account disabled
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/account"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "404":
          description: Not Found
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
  /api/v1/domains/{domainId}/accounts/{name}/enable:
    put:
      tags:
      - Domain
      - Accounts
      summary: Enable Account
      description: Enable the account
      operationId: account-enable
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      - name: name
        in: path
        description: Account name
        required: true
        schema:
          type: string
      responses:
        "200":
          description: Account enabled
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/account"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "404":
          description: Not Found
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
  /api/v1/domains/{domainId}/accounts/{name}/password:
    put:
      tags:
      - Domain
      - Accounts
      summary: Account Password
      description: Change the account password
      operationId: account-password
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      - name: name
        in: path
        description: Account name
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/account-password"
      responses:
        "200":
          description: Password updated
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/account"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "404":
          description: Not Found
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
  /api/v1/domains/{domainId}/accounts/{name}/credentials:
    get:
      tags:
      - Domain
      - Accounts
      summary: Get Account Credentials
      description: Return a Account Credentials
      operationId: account-credentials-get
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      - name: name
        in: path
        description: Account name
        required: true
        schema:
          type: string
      responses:
        "200":
          description: Account Credentials details
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/credential-list"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "404":
          description: Not Found
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
  /api/v1/domains/{domainId}/accounts/{name}/pipelines:
    get:
      tags:
      - Domain
      - Accounts
      summary: Get Pipelines
      description: Return a list of Pipelines
      operationId: account-pipeline-get
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      - name: name
        in: path
        description: Account name
        required: true
        schema:
          type: string
      responses:
        "200":
          description: List of pipelines
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/pipeline-list"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "404":
          description: Not Found
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
    put:
      tags:
      - Domain
      - Accounts
      summary: Update Account
      description: Account Update
      operationId: account-pipelines-update
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      - name: name
        in: path
        description: Account name
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/account-update"
      responses:
        "200":
          description: Account updated
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/account"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "404":
          description: Not Found
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
    delete:
      tags:
      - Domain
      - Accounts
      summary: Delete account
      description: Delete the account
      operationId: account-pipelines-delete
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      - name: name
        in: path
        description: Account name
        required: true
        schema:
          type: string
      responses:
        "200":
          description: Account deleted
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/2xx"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "404":
          description: Not Found
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
  /api/v1/domains/{domainId}/accounts/{name}/credentials/{credentialsName}/allow:
    put:
      tags:
      - Domain
      - Accounts
      summary: Grant Credential to Account
      description: Grant Credential to Account
      operationId: account-credential-allow
      parameters:
      - name: domainId
        in: path
        required: true
        schema:
          type: string
      - name: name
        in: path
        required: true
        schema:
          type: string
      - name: credentialsName
        in: path
        required: true
        schema:
          type: string
      responses:
        "200":
          description: Credential granted to Account
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/2xx"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "404":
          description: Not Found
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
  /api/v1/domains/{domainId}/accounts/{name}/credentials/{credentialsName}/revoke:
    put:
      tags:
      - Domain
      - Accounts
      summary: Revoke Credential to Account
      description: Revoke Credential to Account
      operationId: account-credential-revoke
      parameters:
      - name: domainId
        in: path
        required: true
        schema:
          type: string
      - name: name
        in: path
        required: true
        schema:
          type: string
      - name: credentialsName
        in: path
        required: true
        schema:
          type: string
      responses:
        "200":
          description: Credential revoked to Account
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/2xx"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "404":
          description: Not Found
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
  /api/v1/domains/{domainId}/accounts/{name}/2fa/reset:
    delete:
      tags:
      - Domain
      - Accounts
      summary: Reset 2FA
      description: Reset 2FA
      operationId: account-2fa-reset
      parameters:
      - name: domainId
        in: path
        description: Domain UUID
        required: true
        schema:
          type: string
      - name: name
        in: path
        description: Account Name
        required: true
        schema:
          type: string
      responses:
        "200":
          description: Reset 2FA successfully
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/2xx"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "404":
          description: Not Found
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
  /api/v1/domains/{domainId}/users:
    get:
      tags:
      - Domain
      - Users
      summary: List Users
      description: Returns a list of all users in the domain
      operationId: user-list
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      responses:
        "200":
          description: List of users
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: "#/components/schemas/users-list"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "404":
          description: Not Found
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
    post:
      tags:
      - Domain
      - Users
      summary: Create User
      description: Creates a new user in the domain
      operationId: user-create
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/user-create"
        required: true
      responses:
        "201":
          description: User created successfully
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/users"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "404":
          description: Not Found
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
  /api/v1/domains/{domainId}/users/{name}:
    get:
      tags:
      - Domain
      - Users
      summary: Get User
      description: Returns details of a specific user
      operationId: user-get
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      - name: name
        in: path
        description: Username
        required: true
        schema:
          type: string
      responses:
        "200":
          description: User details
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/users"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "404":
          description: Not Found
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
    put:
      tags:
      - Domain
      - Users
      summary: Update User
      description: Updates user details
      operationId: user-update
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      - name: name
        in: path
        description: Username
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/users-update"
        required: true
      responses:
        "200":
          description: User updated successfully
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/users"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "404":
          description: Not Found
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
    delete:
      tags:
      - Domain
      - Users
      summary: Delete user
      description: Delete user
      operationId: user-delete
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      - name: name
        in: path
        description: Users name
        required: true
        schema:
          type: string
      responses:
        "200":
          description: User deleted
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/2xx"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "404":
          description: Not Found
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
  /api/v1/domains/{domainId}/users/{name}/{action}:
    put:
      tags:
      - Domain
      - Users
      summary: User Action
      description: Perform action on user (enable/disable)
      operationId: user-action
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      - name: name
        in: path
        description: Username
        required: true
        schema:
          type: string
      - name: action
        in: path
        description: Action to perform
        required: true
        schema:
          type: string
          enum:
          - enable
          - disable
      responses:
        "200":
          description: Action performed successfully
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/users"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "404":
          description: Not Found
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
  /api/v1/domains/{domainId}/users/{name}/password:
    put:
      tags:
      - Domain
      - Users
      summary: Update Password
      description: Updates user's password
      operationId: user-password-update
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      - name: name
        in: path
        description: Username
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/users-password"
        required: true
      responses:
        "200":
          description: Password updated successfully
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/users"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "404":
          description: Not Found
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
  /api/v1/domains/{domainId}/users/{name}/tokens:
    get:
      tags:
      - Domain
      - Users
      summary: List User Tokens
      description: Returns a list of all API tokens for the user
      operationId: user-token-list
      parameters:
      - name: domainId
        in: path
        description: Domain UUID
        required: true
        schema:
          type: string
      - name: name
        in: path
        description: Username
        required: true
        schema:
          type: string
      responses:
        "200":
          description: List of user's API tokens
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/token-list"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "404":
          description: Not Found
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
    post:
      tags:
      - Domain
      - Users
      summary: Create User Token
      description: Creates a new API token for the user
      operationId: user-token-create
      parameters:
      - name: domainId
        in: path
        description: Domain UUID
        required: true
        schema:
          type: string
      - name: name
        in: path
        description: Username
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/token-create"
        required: true
      responses:
        "200":
          description: Token created successfully
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/token-response"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "404":
          description: Not Found
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
  /api/v1/domains/{domainId}/users/{name}/tokens/{tokenName}:
    delete:
      tags:
      - Domain
      - Users
      summary: Delete User Token
      description: Deletes a specific API token
      operationId: user-token-delete
      parameters:
      - name: domainId
        in: path
        description: Domain UUID
        required: true
        schema:
          type: string
      - name: name
        in: path
        description: Username
        required: true
        schema:
          type: string
      - name: tokenName
        in: path
        description: Token Name
        required: true
        schema:
          type: string
      responses:
        "204":
          description: Token deleted successfully
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "404":
          description: Not Found
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
  /api/v1/domains/{domainId}/profile/scopes:
    get:
      tags:
      - Domain
      - Users
      summary: User scope
      description: Return a list of roles
      operationId: user-scope
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      responses:
        "200":
          description: Return a list of roles
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/roles-list"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
  /api/v1/domains/{domainId}/users/{name}/2fa/reset:
    delete:
      tags:
      - Domain
      - Users
      summary: Reset 2FA
      description: Reset 2FA
      operationId: user-2fa-reset
      parameters:
      - name: domainId
        in: path
        description: Domain UUID
        required: true
        schema:
          type: string
      - name: name
        in: path
        description: Username
        required: true
        schema:
          type: string
      responses:
        "200":
          description: Reset 2FA successfully
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/2xx"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "404":
          description: Not Found
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
  /api/v1/domains/{domainId}/profile:
    get:
      tags:
      - Domain
      - Users
      summary: Get User
      description: Returns details of a specific user
      operationId: user-profile-get
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      responses:
        "200":
          description: User details
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/users"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "404":
          description: Not Found
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
    put:
      tags:
      - Domain
      - Users
      summary: Update User
      description: Updates user details
      operationId: user-profile-update
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/users-update"
        required: true
      responses:
        "200":
          description: User updated successfully
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/users"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "404":
          description: Not Found
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
  /api/v1/domains/{domainId}/profile/password:
    post:
      tags:
      - Domain
      - Users
      summary: Update Password
      description: Updates user's password
      operationId: user-profile-password-update
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/user-profile-password"
        required: true
      responses:
        "200":
          description: Password updated successfully
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/users"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "404":
          description: Not Found
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
  /api/v1/domains/{domainId}/profile/tokens:
    get:
      tags:
      - Domain
      - Users
      summary: List User Tokens
      description: Returns a list of all API tokens for the user
      operationId: user-profile-token-list
      parameters:
      - name: domainId
        in: path
        description: Domain UUID
        required: true
        schema:
          type: string
      responses:
        "200":
          description: List of user's API tokens
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/token-list"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "404":
          description: Not Found
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
    post:
      tags:
      - Domain
      - Users
      summary: Create User Token
      description: Creates a new API token for the user
      operationId: user-profile-token-create
      parameters:
      - name: domainId
        in: path
        description: Domain UUID
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/token-create"
        required: true
      responses:
        "200":
          description: Token created successfully
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/token-response"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "404":
          description: Not Found
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
  /api/v1/domains/{domainId}/profile/tokens/{tokenName}:
    delete:
      tags:
      - Domain
      - Users
      summary: Delete User Token
      description: Deletes a specific API token
      operationId: user-profile-token-delete
      parameters:
      - name: domainId
        in: path
        description: Domain UUID
        required: true
        schema:
          type: string
      - name: tokenName
        in: path
        description: Token Name
        required: true
        schema:
          type: string
      responses:
        "204":
          description: Token deleted successfully
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "404":
          description: Not Found
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
  /api/v1/domains/{domainId}/pipelines:
    get:
      tags:
      - Domain
      - Pipelines
      summary: Pipeline List
      description: Return a list of pipeliens
      operationId: pipeline-list
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      responses:
        "200":
          description: List of Pipelines
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/pipeline-list"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "404":
          description: Not Found
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
    post:
      tags:
      - Domain
      - Pipelines
      summary: Pipeline Create
      description: Create a new Pipeline
      operationId: pipeline-create
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/pipeline-create"
        required: true
      responses:
        "200":
          description: Pipeline created
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/pipeline"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
  /api/v1/domains/{domainId}/pipelines/{name}:
    get:
      tags:
      - Domain
      - Pipelines
      summary: Pipeline Get
      description: Return a a pipeline
      operationId: pipeline-get
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      - name: name
        in: path
        description: Pipeline name
        required: true
        schema:
          type: string
      - name: extended
        in: query
        description: Show configuration for endpoints
        schema:
          type: string
          enum:
          - "1"
          - t
          - T
          - "TRUE"
          - "true"
          - "True"
      responses:
        "200":
          description: Pipeline details
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/pipeline"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "404":
          description: Not Found
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
    put:
      tags:
      - Domain
      - Pipelines
      summary: Pipeline Update
      description: Update a Pipeline
      operationId: pipeline-update
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      - name: name
        in: path
        description: Pipeline name
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/pipeline-update"
        required: true
      responses:
        "200":
          description: Pipeline updated
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/pipeline"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "404":
          description: Not Found
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
    delete:
      tags:
      - Domain
      - Pipelines
      summary: Pipeline Delete
      description: Delete a pipeline
      operationId: pipeline-delete
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      - name: name
        in: path
        description: Pipeline name
        required: true
        schema:
          type: string
      responses:
        "200":
          description: Pipeline deleted
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/2xx"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "404":
          description: Not Found
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
  /api/v1/domains/{domainId}/pipelines/{name}/enable:
    put:
      tags:
      - Domain
      - Pipelines
      summary: Pipeline Enable
      description: Enable a pipeline
      operationId: pipeline-enable
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      - name: name
        in: path
        description: Pipeline name
        required: true
        schema:
          type: string
      responses:
        "200":
          description: Pipeline enabled
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/2xx"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "404":
          description: Not Found
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
  /api/v1/domains/{domainId}/pipelines/{name}/disable:
    put:
      tags:
      - Domain
      - Pipelines
      summary: Pipeline Disable
      description: Disable a pipeline
      operationId: pipeline-disable
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      - name: name
        in: path
        description: Pipeline name
        required: true
        schema:
          type: string
      responses:
        "200":
          description: Pipeline disabled
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/2xx"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "404":
          description: Not Found
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
  /api/v1/domains/{domainId}/pipelines/{name}/accounts:
    get:
      tags:
      - Domain
      - Pipelines
      summary: Pipeline Accounts
      description: Return a list of Accounts
      operationId: pipeline-accounts
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      - name: name
        in: path
        description: Pipeline name
        required: true
        schema:
          type: string
      responses:
        "200":
          description: Pipeline accounts list
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/accounts"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "404":
          description: Not Found
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
  /api/v1/domains/{domainId}/pipelines/{name}/accounts-groups:
    get:
      tags:
      - Domain
      - Pipelines
      summary: Pipeline Accounts Group
      description: Return a list of Accounts group
      operationId: pipeline-accounts-group
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      - name: name
        in: path
        description: Pipeline name
        required: true
        schema:
          type: string
      responses:
        "200":
          description: Pipeline Accounts Group
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/account-groups-list"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "404":
          description: Not Found
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
  /api/v1/domains/{domainId}/pipelines/{name}/workflow:
    get:
      tags:
      - Domain
      - Pipelines
      summary: Pipeline Workflow Get
      description: Return the workflow for a pipeline
      operationId: pipeline-workflow-get
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      - name: name
        in: path
        description: Pipeline name / UUID
        required: true
        schema:
          type: string
      responses:
        "200":
          description: Pipeline Workflow details
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/pipeline-workflow"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "404":
          description: Not Found
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
    put:
      tags:
      - Domain
      - Pipelines
      summary: Pipeline Workflow Set
      description: Set the workflow for a pipeline
      operationId: pipeline-workflow-set
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      - name: name
        in: path
        description: Pipeline name / UUID
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/pipeline-workflow"
        required: true
      responses:
        "200":
          description: Pipeline Workflow updated
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/pipeline-workflow"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "404":
          description: Not Found
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
  /api/v1/domains/{domainId}/transfers:
    get:
      tags:
      - Domain
      - Transfers
      summary: List Transfers
      description: Returns a paginated list of transfers for the specified domain
      operationId: transfers-list
      parameters:
      - name: domainId
        in: path
        required: true
        schema:
          type: string
      - name: page
        in: query
        schema:
          type: integer
      - name: pageSize
        in: query
        schema:
          type: integer
      - name: orderBy
        in: query
        schema:
          type: string
          enum:
          - transferId
          - startedAt
          - completedAt
          - updatedAt
          - status
          - progress
          - scheduleId
      - name: order
        in: query
        schema:
          type: string
          enum:
          - asc
          - desc
      - name: status
        in: query
        schema:
          type: string
          enum:
          - Started
          - Completed
          - Running
          - Processing
          - Uploading
          - Failed
          - Cancelled
          - Stopped
      - name: timeRange
        in: query
        schema:
          type: string
          description: Time range for filtering results
          enum:
          - 5m
          - 15m
          - 30m
          - 1h
          - 12h
          - 24h
          - 48h
          - 1w
          - 2w
          - 1m
          - 3m
          - 6m
          - 1y
      responses:
        "200":
          description: List of transfers
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/transfer-list-response"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
  /api/v1/domains/{domainId}/transfers/info/{transferId}:
    get:
      tags:
      - Domain
      - Transfers
      summary: Get Transfer Details
      description: Returns details of the specified transfer
      operationId: transfer-get
      parameters:
      - name: domainId
        in: path
        required: true
        schema:
          type: string
      - name: transferId
        in: path
        required: true
        schema:
          type: integer
          format: int64
      responses:
        "200":
          description: Transfer details
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/transfer-response"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "404":
          description: Not Found
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
  /api/v1/domains/{domainId}/transfers/stop/{transferId}:
    put:
      tags:
      - Domain
      - Transfers
      summary: Stop Transfer
      description: Stops the specified in-progress transfer
      operationId: transfer-stop
      parameters:
      - name: domainId
        in: path
        required: true
        schema:
          type: string
      - name: transferId
        in: path
        required: true
        schema:
          type: integer
          format: int64
      requestBody:
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/transfer-action"
        required: true
      responses:
        "200":
          description: Transfer stopped
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/transfer-response"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "404":
          description: Not Found
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
  /api/v1/domains/{domainId}/transfers/cancel/{transferId}:
    put:
      tags:
      - Domain
      - Transfers
      summary: Cancel Transfer
      description: Cancels the specified in-progress transfer
      operationId: transfer-cancel
      parameters:
      - name: domainId
        in: path
        required: true
        schema:
          type: string
      - name: transferId
        in: path
        required: true
        schema:
          type: integer
          format: int64
      requestBody:
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/transfer-action"
        required: true
      responses:
        "200":
          description: Transfer cancelled
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/transfer-response"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "404":
          description: Not Found
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
  /api/v1/domains/{domainId}/transfers/cancel-all:
    put:
      tags:
      - Domain
      - Transfers
      summary: Cancel All Transfers
      description: Cancels all in-progress transfers for the specified domain
      operationId: transfer-cancel-all
      parameters:
      - name: domainId
        in: path
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/transfer-cancel-request"
        required: true
      responses:
        "200":
          description: Transfers cancelled
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/transfer-response"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "404":
          description: Not Found
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
  /api/v1/domains/{domainId}/transfers/schedules:
    get:
      tags:
      - Domain
      - Transfers
      summary: List Scheduled Transfers
      description: Returns a paginated list of transfer schedules for the specified
        domain
      operationId: transfer-schedules-list
      parameters:
      - name: domainId
        in: path
        required: true
        schema:
          type: string
      - name: page
        in: query
        schema:
          type: integer
      - name: pageSize
        in: query
        schema:
          type: integer
      - name: orderBy
        in: query
        schema:
          type: string
          enum:
          - scheduleId
          - startedAt
          - completedAt
          - executedAt
          - status
      - name: order
        in: query
        schema:
          type: string
          enum:
          - asc
          - desc
      - name: status
        in: query
        schema:
          type: string
          enum:
          - Completed
          - Running
          - Failed
          - Cancelled
          - Stopped
      - name: timeRange
        in: query
        schema:
          type: string
          description: Time range for filtering results
          enum:
          - 5m
          - 15m
          - 30m
          - 1h
          - 12h
          - 24h
          - 48h
          - 1w
          - 2w
          - 1m
          - 3m
          - 6m
          - 1y
      responses:
        "200":
          description: List of scheduled transfers
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/transfer-schedule-list-response"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "404":
          description: Not Found
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
    post:
      tags:
      - Domain
      - Transfers
      summary: Create Transfer Schedule
      description: Creates a new transfer schedule for the specified domain
      operationId: transfer-schedule-create
      parameters:
      - name: domainId
        in: path
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/transfer-schedule"
        required: true
      responses:
        "200":
          description: Transfer schedule created
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/transfer-schedule-response"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
  /api/v1/domains/{domainId}/transfers/schedules/{scheduleId}:
    get:
      tags:
      - Domain
      - Transfers
      summary: Get Transfer Schedule Details
      description: Returns details of the specified transfer schedule
      operationId: transfer-schedule-get
      parameters:
      - name: domainId
        in: path
        required: true
        schema:
          type: string
      - name: scheduleId
        in: path
        required: true
        schema:
          type: integer
          format: int64
      responses:
        "200":
          description: Transfer details
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/transfer-schedule-response"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "404":
          description: Not Found
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
  /api/v1/domains/{domainId}/transfers/schedules/cancel/{scheduleId}:
    put:
      tags:
      - Domain
      - Transfers
      summary: Cancel Scheduled Transfer
      description: Cancels the specified scheduled transfer
      operationId: transfer-schedule-cancel
      parameters:
      - name: domainId
        in: path
        required: true
        schema:
          type: string
      - name: scheduleId
        in: path
        required: true
        schema:
          type: integer
          format: int64
      requestBody:
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/transfer-action"
        required: true
      responses:
        "200":
          description: Scheduled transfer cancelled
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/transfer-schedule-response"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "404":
          description: Not Found
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
  /api/v1/domains/{domainId}/transfers/schedules/cancel-all:
    put:
      tags:
      - Domain
      - Transfers
      summary: Cancel All Scheduled Transfers
      description: Cancels all scheduled transfers for the specified domain
      operationId: transfer-schedule-cancel-all
      parameters:
      - name: domainId
        in: path
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/transfer-cancel-request"
        required: true
      responses:
        "200":
          description: All scheduled transfers cancelled
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                  count:
                    type: integer
                  status:
                    type: string
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
  /api/v1/domains/{domainId}/transfers/total:
    get:
      tags:
      - Domain
      - Transfers
      summary: Get Transfer Totals
      description: Returns transfer counts grouped by status for the specified domain
      operationId: transfers-total
      parameters:
      - name: domainId
        in: path
        required: true
        schema:
          type: string
      responses:
        "200":
          description: Transfer totals by status
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/transfer-total"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
  /api/v1/domains/{domainId}/accounts-groups:
    get:
      tags:
      - Domain
      - Accounts Group
      summary: Return a list of Accounts group
      description: Returns a list of all accounts groups in the specified domain
      operationId: account-groups-list
      parameters:
      - name: domainId
        in: path
        required: true
        schema:
          type: string
      responses:
        "200":
          description: Accounts group list
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/account-groups-list"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
    post:
      tags:
      - Domain
      - Accounts Group
      summary: Create a new Accounts group
      description: Creates a new accounts group in the specified domain
      operationId: account-groups-create
      parameters:
      - name: domainId
        in: path
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/account-groups-create"
        required: true
      responses:
        "200":
          description: Account group created
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/account-group"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
  /api/v1/domains/{domainId}/accounts-groups/{groupName}:
    get:
      tags:
      - Domain
      - Accounts Group
      summary: Get Accounts Group
      description: Returns details of the specified accounts group
      operationId: account-groups-get
      parameters:
      - name: domainId
        in: path
        required: true
        schema:
          type: string
      - name: groupName
        in: path
        required: true
        schema:
          type: string
      responses:
        "200":
          description: Get Accounts group
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/account-group"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "404":
          description: Not Found
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
    put:
      tags:
      - Domain
      - Accounts Group
      summary: Update Account Group
      description: Accounts Group Update
      operationId: account-groups-update
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      - name: groupName
        in: path
        description: Account group name
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/account-group-update"
      responses:
        "200":
          description: Account Group updated
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/account-group"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "404":
          description: Not Found
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
    delete:
      tags:
      - Accounts Group
      summary: Delete Accounts Group
      description: Deletes the specified accounts group
      operationId: account-groups-delete
      parameters:
      - name: domainId
        in: path
        required: true
        schema:
          type: string
      - name: groupName
        in: path
        required: true
        schema:
          type: string
      responses:
        "200":
          description: Accounts group deleted
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/2xx"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "404":
          description: Not Found
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
  /api/v1/domains/{domainId}/accounts-groups/{groupName}/pipelines/{pipelineName}/allow:
    put:
      tags:
      - Domain
      - Accounts Group
      summary: Allow Pipeline to Accounts Group
      description: Allow a pipeline to be used by the specified accounts group
      operationId: account-groups-pipeline-allow
      parameters:
      - name: domainId
        in: path
        required: true
        schema:
          type: string
      - name: groupName
        in: path
        required: true
        schema:
          type: string
      - name: pipelineName
        in: path
        required: true
        schema:
          type: string
      responses:
        "200":
          description: Pipeline allowed to Accounts group
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/2xx"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "404":
          description: Not Found
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
  /api/v1/domains/{domainId}/accounts-groups/{groupName}/pipelines/{pipelineName}/revoke:
    put:
      tags:
      - Domain
      - Accounts Group
      summary: Revoke Pipeline from Accounts Group
      description: Revoke a pipeline from the specified accounts group
      operationId: account-groups-pipeline-revoke
      parameters:
      - name: domainId
        in: path
        required: true
        schema:
          type: string
      - name: groupName
        in: path
        required: true
        schema:
          type: string
      - name: pipelineName
        in: path
        required: true
        schema:
          type: string
      responses:
        "200":
          description: Pipeline revoked from Accounts group
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/2xx"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "404":
          description: Not Found
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
  /api/v1/domains/{domainId}/accounts-groups/{groupName}/accounts/{accountName}/allow:
    put:
      tags:
      - Domain
      - Accounts Group
      summary: Grant Account to Accounts Group
      description: Grant access of an account to the specified accounts group
      operationId: account-groups-account-allow
      parameters:
      - name: domainId
        in: path
        required: true
        schema:
          type: string
      - name: groupName
        in: path
        required: true
        schema:
          type: string
      - name: accountName
        in: path
        required: true
        schema:
          type: string
      responses:
        "200":
          description: Account granted to Account group
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/2xx"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "404":
          description: Not Found
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
  /api/v1/domains/{domainId}/accounts-groups/{groupName}/accounts/{accountName}/revoke:
    put:
      tags:
      - Domain
      - Accounts Group
      summary: Revoke Account to Accounts Group
      description: Revoke access of an account from the specified accounts group
      operationId: account-groups-account-revoke
      parameters:
      - name: domainId
        in: path
        required: true
        schema:
          type: string
      - name: groupName
        in: path
        required: true
        schema:
          type: string
      - name: accountName
        in: path
        required: true
        schema:
          type: string
      responses:
        "200":
          description: Accoun t revoked to Account group
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/2xx"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "404":
          description: Not Found
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
  /api/v1/domains/{domainId}/accounts-groups/{groupName}/accounts:
    get:
      tags:
      - Domain
      - Accounts Group
      summary: Get Accounts in Account Group
      description: Return a list of accounts associated with the account group
      operationId: account-groups-accounts-list
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      - name: groupName
        in: path
        description: Account group name
        required: true
        schema:
          type: string
      responses:
        "200":
          description: List of accounts in the group
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/accounts"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "404":
          description: Not Found
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
  /api/v1/domains/{domainId}/accounts-groups/{groupName}/pipelines:
    get:
      tags:
      - Domain
      - Accounts Group
      summary: Get Pipelines in Account Group
      description: Return a list of pipelines associated with the account group
      operationId: account-groups-pipelines-list
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      - name: groupName
        in: path
        description: Account group name
        required: true
        schema:
          type: string
      responses:
        "200":
          description: List of pipelines in the group
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/pipelines"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "404":
          description: Not Found
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
  /api/v1/domains/{domainId}/config/ip-rules/account:
    get:
      tags:
      - Domain Configuration
      - Account IP Rules
      summary: Account IP Rules List
      description: Return a list of account IP rules
      operationId: account-ip-rule-list
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      - name: page
        in: query
        description: Page number
        required: false
        schema:
          minimum: 1
          type: integer
          default: 1
      - name: pageSize
        in: query
        description: Number of items per page
        required: false
        schema:
          maximum: 100
          minimum: 1
          type: integer
          default: 10
      - name: orderBy
        in: query
        description: Field to order by
        required: false
        schema:
          type: string
          enum:
          - id
          - name
          - action
          - createdAt
          - updatedAt
      - name: orderDirection
        in: query
        description: Order direction
        required: false
        schema:
          type: string
          default: asc
          enum:
          - asc
          - desc
      responses:
        "200":
          description: List of Account IP Rules
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ip-rule-list"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
    post:
      tags:
      - Domain Configuration
      - Account IP Rules
      summary: Create a new Account IP Rule
      description: Create new account IP rule
      operationId: account-ip-rule-create
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/ip-rule-create"
      responses:
        "200":
          description: Account IP Rule created
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ip-rule"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "409":
          description: Conflict - IP rule already exists
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
  /api/v1/domains/{domainId}/config/ip-rules/account/test:
    post:
      tags:
      - Domain Configuration
      - Account IP Rules
      summary: Test Account IP Rules
      description: Test an IP address against account IP rules
      operationId: account-ip-rule-test
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      - name: ip
        in: query
        description: IP address
        required: true
        schema:
          type: string
        example: 192.168.0.1
      responses:
        "200":
          description: IP test results
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ip-rule-test"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
  /api/v1/domains/{domainId}/config/ip-rules/account/{name}:
    get:
      tags:
      - Domain Configuration
      - Account IP Rules
      summary: Get Account IP Rule
      description: Return a specific account IP rule
      operationId: account-ip-rule-get
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      - name: name
        in: path
        description: IP rule name
        required: true
        schema:
          type: string
      responses:
        "200":
          description: Account IP Rule details
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ip-rule"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "404":
          description: Not Found
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
    put:
      tags:
      - Domain Configuration
      - Account IP Rules
      summary: Update Account IP Rule
      description: Update an existing account IP rule
      operationId: account-ip-rule-update
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      - name: name
        in: path
        description: IP rule name
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/ip-rule-update"
      responses:
        "200":
          description: Account IP Rule updated
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ip-rule"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "404":
          description: Not Found
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
    delete:
      tags:
      - Domain Configuration
      - Account IP Rules
      summary: Delete Account IP Rule
      description: Delete an account IP rule
      operationId: account-ip-rule-delete
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      - name: name
        in: path
        description: IP rule name
        required: true
        schema:
          type: string
      responses:
        "200":
          description: Account IP Rule deleted
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/2xx"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "404":
          description: Not Found
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
  /api/v1/domains/{domainId}/system/ip-rules/user:
    get:
      tags:
      - System User IP Rules
      summary: System User IP Rules List
      description: Return a list of system user IP rules
      operationId: system-user-ip-rule-list
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      - name: page
        in: query
        description: Page number
        required: false
        schema:
          minimum: 1
          type: integer
          default: 1
      - name: pageSize
        in: query
        description: Number of items per page
        required: false
        schema:
          maximum: 100
          minimum: 1
          type: integer
          default: 10
      - name: orderBy
        in: query
        description: Field to order by
        required: false
        schema:
          type: string
          enum:
          - id
          - name
          - action
          - createdAt
          - updatedAt
      - name: orderDirection
        in: query
        description: Order direction
        required: false
        schema:
          type: string
          default: asc
          enum:
          - asc
          - desc
      responses:
        "200":
          description: List of System User IP Rules
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ip-rule-list"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
    post:
      tags:
      - System User IP Rules
      summary: Create a new System User IP Rule
      description: Create new system user IP rule
      operationId: system-user-ip-rule-create
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/ip-rule-create"
      responses:
        "200":
          description: System User IP Rule created
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ip-rule"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "409":
          description: Conflict - IP rule already exists
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
  /api/v1/domains/{domainId}/system/ip-rules/user/test:
    post:
      tags:
      - System User IP Rules
      summary: Test System User IP Rules
      description: Test an IP address against system user IP rules
      operationId: system-user-ip-rule-test
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      - name: ip
        in: query
        description: IP address
        required: true
        schema:
          type: string
        example: 192.168.0.1
      responses:
        "200":
          description: IP test results
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ip-rule-test"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
  /api/v1/domains/{domainId}/system/ip-rules/user/{name}:
    get:
      tags:
      - System User IP Rules
      summary: Get System User IP Rule
      description: Return a specific system user IP rule
      operationId: system-user-ip-rule-get
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      - name: name
        in: path
        description: IP rule name
        required: true
        schema:
          type: string
      responses:
        "200":
          description: System User IP Rule details
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ip-rule"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "404":
          description: Not Found
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
    put:
      tags:
      - System User IP Rules
      summary: Update System User IP Rule
      description: Update an existing system user IP rule
      operationId: system-user-ip-rule-update
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      - name: name
        in: path
        description: IP rule name
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/ip-rule-update"
      responses:
        "200":
          description: System User IP Rule updated
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ip-rule"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "404":
          description: Not Found
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
    delete:
      tags:
      - System User IP Rules
      summary: Delete System User IP Rule
      description: Delete a system user IP rule
      operationId: system-user-ip-rule-delete
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      - name: name
        in: path
        description: IP rule name
        required: true
        schema:
          type: string
      responses:
        "200":
          description: System User IP Rule deleted
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/2xx"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "404":
          description: Not Found
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
  /api/v1/domains/{domainId}/roles:
    get:
      tags:
      - Domain
      - Roles
      summary: Roles
      description: Return a list of roles
      operationId: roles-list
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      responses:
        "200":
          description: Roles list
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/roles-list"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
  /api/v1/domains/{domainId}/adhoc:
    get:
      tags:
      - Domain
      - Ad-Hoc
      summary: List Adhoc Shares
      description: List Adhoc Shares
      operationId: adhoc-share-list
      parameters:
      - name: domainId
        in: path
        required: true
        schema:
          type: string
      - name: search
        in: query
        description: Search query
        schema:
          type: string
      - name: orderBy
        in: query
        description: Sort field
        schema:
          type: string
          default: sharedAt
          enum:
          - filename
          - sharedAt
          - expiresAt
          - size
      - name: order
        in: query
        description: Sort order
        schema:
          type: string
          default: asc
          enum:
          - asc
          - desc
      - name: page
        in: query
        description: Page number
        schema:
          type: integer
      - name: pageSize
        in: query
        description: Page size
        schema:
          type: integer
      responses:
        "200":
          description: List of shared files
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/adhoc-list"
        "400":
          description: Bad request
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/4xx"
        "404":
          description: Not found
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
  /api/v1/domains/{domainId}/adhoc/{shareId}:
    get:
      tags:
      - Domain
      - Ad-Hoc
      summary: Share Link
      description: Share Link
      operationId: adhoc-share
      parameters:
      - name: domainId
        in: path
        required: true
        schema:
          type: string
      - name: shareId
        in: path
        required: true
        schema:
          type: string
      responses:
        "200":
          description: Share Link
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/adhoc-share"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "404":
          description: Not Found
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
  /api/v1/domains/{domainId}/adhoc/{shareId}/revoke:
    put:
      tags:
      - Domain
      - Ad-Hoc
      summary: Revoke Share Link
      description: Revoke Share Link
      operationId: adhoc-share-revoke
      parameters:
      - name: domainId
        in: path
        required: true
        schema:
          type: string
      - name: shareId
        in: path
        required: true
        schema:
          type: string
      responses:
        "200":
          description: Revoked
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/adhoc-revoke"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "404":
          description: Not Found
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
  /api/v1/domains/{domainId}/tasks:
    get:
      tags:
      - Domain
      - Tasks
      summary: Task List
      description: Return a list of tasks
      operationId: task-list
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      - name: page
        in: query
        description: Page number
        schema:
          type: integer
      - name: pageSize
        in: query
        description: Number of items per page
        schema:
          type: integer
      - name: orderBy
        in: query
        description: Field to order by
        schema:
          type: string
          enum:
          - name
          - type
          - createdAt
          - updatedAt
      - name: order
        in: query
        description: Order direction
        schema:
          type: string
          enum:
          - asc
          - desc
      - name: type
        in: query
        description: Filter by task type
        schema:
          type: string
      responses:
        "200":
          description: List of Tasks
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/task-list"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "404":
          description: Not Found
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
    post:
      tags:
      - Domain
      - Tasks
      summary: Task Create
      description: Create a new Task
      operationId: task-create
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/task-create"
        required: true
      responses:
        "200":
          description: Task created
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/task"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "409":
          description: Conflict
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
  /api/v1/domains/{domainId}/tasks/{name}:
    get:
      tags:
      - Domain
      - Tasks
      summary: Task Get
      description: Return a task
      operationId: task-get
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      - name: name
        in: path
        description: Task name
        required: true
        schema:
          type: string
      responses:
        "200":
          description: Task details
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/task"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "404":
          description: Not Found
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
    put:
      tags:
      - Domain
      - Tasks
      summary: Task Update
      description: Update a Task
      operationId: task-update
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      - name: name
        in: path
        description: Task name
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/task-update"
        required: true
      responses:
        "200":
          description: Task updated
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/task"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "404":
          description: Not Found
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
    delete:
      tags:
      - Domain
      - Tasks
      summary: Task Delete
      description: Delete a task
      operationId: task-delete
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      - name: name
        in: path
        description: Task name
        required: true
        schema:
          type: string
      responses:
        "200":
          description: Task deleted
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/2xx"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "404":
          description: Not Found
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "409":
          description: Conflict
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
  /api/v1/domains/{domainId}/task-instances:
    get:
      tags:
      - Domain
      - TaskInstances
      summary: Task Instance List
      description: Return a paginated list of task instances for a domain
      operationId: task-instance-list
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      - name: page
        in: query
        description: Page number
        schema:
          type: integer
      - name: pageSize
        in: query
        description: Number of items per page
        schema:
          type: integer
      - name: orderBy
        in: query
        description: Field to order by
        schema:
          type: string
          enum:
          - taskName
          - pipelineName
          - status
          - eventType
          - startedAt
          - completedAt
          - createdAt
      - name: order
        in: query
        description: Order direction
        schema:
          type: string
          enum:
          - asc
          - desc
      - name: taskName
        in: query
        description: Filter by task name
        schema:
          type: string
      - name: pipelineName
        in: query
        description: Filter by pipeline name
        schema:
          type: string
      - name: transferUUID
        in: query
        description: Filter by transfer UUID
        schema:
          type: string
      - name: status
        in: query
        description: Filter by status
        schema:
          type: string
          enum:
          - pending
          - running
          - completed
          - failed
      - name: eventType
        in: query
        description: Filter by event type
        schema:
          type: string
      - name: fromDate
        in: query
        description: Filter instances started at or after this date (RFC3339)
        schema:
          type: string
          format: date-time
      - name: toDate
        in: query
        description: Filter instances started before this date (RFC3339)
        schema:
          type: string
          format: date-time
      responses:
        "200":
          description: List of Task Instances
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/task-instance-list"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
  /api/v1/domains/{domainId}/task-instances/{id}:
    get:
      tags:
      - Domain
      - TaskInstances
      summary: Task Instance Get
      description: Return a task instance by UUID
      operationId: task-instance-get
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      - name: id
        in: path
        description: Task Instance UUID
        required: true
        schema:
          type: string
      responses:
        "200":
          description: Task Instance details
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/task-instance"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "404":
          description: Not Found
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
  /api/v1/domains/{domainId}/task-instances/{id}/output:
    get:
      tags:
      - Domain
      - TaskInstances
      summary: Task Instance Output Get
      description: Return the captured stdout/stderr for a task instance
      operationId: task-instance-output-get
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      - name: id
        in: path
        description: Task Instance UUID
        required: true
        schema:
          type: string
      responses:
        "200":
          description: Task Instance Output details
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/task-instance-output"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "404":
          description: Not Found
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
  /api/v1/domains/{domainId}/task-instances/{id}/context:
    get:
      tags:
      - Domain
      - TaskInstances
      summary: Task Instance Context Get
      description: Return the context variables captured during a task instance execution
      operationId: task-instance-context-get
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      - name: id
        in: path
        description: Task Instance UUID
        required: true
        schema:
          type: string
      responses:
        "200":
          description: Task Instance Context details
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/task-instance-context"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "404":
          description: Not Found
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
  /api/v1/domains/{domainId}/license:
    get:
      tags:
      - License
      summary: License Status
      description: Returns the current license state and claims.
      operationId: license-get
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      responses:
        "200":
          description: Current license information
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/license-info"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
    post:
      tags:
      - License
      summary: License Enroll
      description: Validate and store a new license token. Propagates the update to
        cluster peers on success.
      operationId: license-enroll
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/license-enroll-request"
        required: true
      responses:
        "200":
          description: License enrolled successfully
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/license-info"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
  /api/v1/domains/{domainId}/business-services:
    get:
      tags:
      - Domain
      - Business Services
      summary: List Business Services
      description: Returns a list of all business services for the domain
      operationId: business-services-list
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      responses:
        "200":
          description: List of business services
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/business-service-list"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
    post:
      tags:
      - Business Services
      summary: Create Business Service
      description: Creates a new business service
      operationId: business-services-create
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/business-service-create"
        required: true
      responses:
        "201":
          description: Business service created
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/business-service"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "409":
          description: Conflict - Business service already exists
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
  /api/v1/domains/{domainId}/business-services/accessible:
    get:
      tags:
      - Business Services
      summary: List Accessible Business Services
      description: |
        Returns a list of business services that the authenticated user has access to.
        This endpoint is designed for dropdown menus where users should only see
        business services they can assign to entities.

        Unlike the standard list endpoint which returns all business services in the domain,
        this endpoint filters the results based on the user's business service assignments.
      operationId: business-services-list-accessible
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      responses:
        "200":
          description: List of accessible business services
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/business-service-list"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
  /api/v1/domains/{domainId}/business-services/{name}:
    get:
      tags:
      - Business Services
      summary: Get Business Service
      description: Returns a business service by name with user and entity counts
      operationId: business-service-get
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      - name: name
        in: path
        description: Business Service name
        required: true
        schema:
          type: string
      responses:
        "200":
          description: Business service details
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/business-service-detail"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "404":
          description: Business service not found
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
    put:
      tags:
      - Business Services
      summary: Update Business Service
      description: Updates a business service name and/or description
      operationId: business-service-update
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      - name: name
        in: path
        description: Business Service name
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/business-service-update"
        required: true
      responses:
        "200":
          description: Business service updated
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/business-service"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "404":
          description: Business service not found
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "409":
          description: Conflict - New name already exists
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
    delete:
      tags:
      - Business Services
      summary: Delete Business Service
      description: Deletes a business service. This will remove the BS assignment
        from all associated users and entities (cascade delete).
      operationId: business-service-delete
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      - name: name
        in: path
        description: Business Service name
        required: true
        schema:
          type: string
      responses:
        "204":
          description: Business service deleted successfully
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "404":
          description: Business service not found
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
  /api/v1/domains/{domainId}/business-services/{name}/users:
    get:
      tags:
      - Business Services
      summary: List Business Service Users
      description: Returns a paginated list of users assigned to a business service
      operationId: business-service-users-list
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      - name: name
        in: path
        description: Business Service name
        required: true
        schema:
          type: string
      - name: page
        in: query
        description: Page number (1-based)
        required: false
        schema:
          minimum: 1
          type: integer
          default: 1
      - name: pageSize
        in: query
        description: Number of items per page
        required: false
        schema:
          maximum: 100
          minimum: 1
          type: integer
          default: 20
      responses:
        "200":
          description: Paginated list of users assigned to the business service
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/business-service-users-list"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "404":
          description: Business service not found
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
  /api/v1/domains/{domainId}/business-services/{name}/entities:
    get:
      tags:
      - Business Services
      summary: List Business Service Entities
      description: Returns a paginated list of entities assigned to a business service
      operationId: business-service-entities-list
      parameters:
      - name: domainId
        in: path
        description: Domain UUID / Name
        required: true
        schema:
          type: string
      - name: name
        in: path
        description: Business Service name
        required: true
        schema:
          type: string
      - name: page
        in: query
        description: Page number (1-based)
        required: false
        schema:
          minimum: 1
          type: integer
          default: 1
      - name: pageSize
        in: query
        description: Number of items per page
        required: false
        schema:
          maximum: 100
          minimum: 1
          type: integer
          default: 20
      responses:
        "200":
          description: Paginated list of entities assigned to the business service
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/business-service-entities-list"
        "400":
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "401":
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "403":
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "404":
          description: Business service not found
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/4xx"
        "500":
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/5xx"
      security:
      - BearerAuth: []
      - TokenAuth: []
      - BasicAuth: []
components:
  schemas:
    login-request:
      title: Login Request
      required:
      - domain
      - password
      - username
      type: object
      properties:
        username:
          title: Username
          type: string
          description: User's login name
        password:
          title: Password
          type: string
          description: User's password
        domain:
          title: Domain
          type: string
          description: Domain name or UUID
      description: Authentication request payload
    login-response:
      title: Login Response
      type: object
      properties:
        accessToken:
          title: Token Details
          type: object
          properties:
            token:
              title: Token
              type: string
              description: JWT token string
            expiresAt:
              title: Expiration
              type: string
              description: Token expiration timestamp
              format: date-time
          description: JWT token information
        refreshToken:
          title: Token Details
          type: object
          properties:
            token:
              title: Token
              type: string
              description: JWT token string
            expiresAt:
              title: Expiration
              type: string
              description: Token expiration timestamp
              format: date-time
          description: JWT token information
      description: Authentication response payload
    "4xx":
      required:
      - status
      type: object
      properties:
        status:
          title: Status code
          type: integer
        type:
          title: Type
          type: string
        title:
          title: Title
          type: string
        messageCode:
          title: Internal message code
          type: string
        detail:
          title: Details
          type: string
        instance:
          title: Instance
          type: string
        errors:
          title: Errors
          type: object
      additionalProperties: false
    "5xx":
      required:
      - status
      type: object
      properties:
        status:
          title: Status code
          type: integer
        type:
          title: Type
          type: string
        title:
          title: Title
          type: string
        messageCode:
          title: Internal message code
          type: string
        detail:
          title: Details
          type: string
        instance:
          title: Instance
          type: string
        errors:
          title: Errors
          type: object
      additionalProperties: false
    auth-provider:
      title: Authentication Provider
      required:
      - provider
      type: object
      properties:
        provider:
          title: Provider name
          minLength: 1
          type: string
      description: Authentication provider available.
    users-2fa:
      title: 2FA
      type: object
      properties:
        account:
          title: Account Name
          type: string
        issuer:
          title: 2FA Issuer
          type: string
        secret:
          title: 2FA Secret Key
          type: string
        image:
          title: Image QR Secret Key
          type: string
      description: Account 2FA
    users-2fa-validate:
      title: 2FA
      required:
      - code
      - session
      type: object
      properties:
        session:
          title: 2FA Session
          type: string
          description: Session
        code:
          title: 2FA Validation
          type: string
          description: Validation code
      description: Register a 2FA key
    domain-list:
      title: Domains List
      type: object
      properties:
        domains:
          title: Domains
          type: array
          items:
            title: Domain
            type: object
            properties:
              name:
                title: Name
                maxLength: 255
                minLength: 1
                pattern: "^[a-zA-Z0-9_-]{1,255}$"
                type: string
                description: Name
              description:
                title: Description
                maxLength: 255
                type: string
              enabled:
                title: Enabled
                type: boolean
                description: Domain is enabled
              uuid:
                title: Resource UUID
                type: string
                description: Resource Identifier
              createdAt:
                title: Resource Creation
                type: string
                description: Resource Creation time
              updatedAt:
                title: Resource Update
                type: string
                description: Resource Updated time
              version:
                title: Resource Version
                type: integer
                description: Resource version
            description: Domain Information
      description: List of domains
    domain-create:
      title: Domain Create
      required:
      - description
      - name
      - password
      type: object
      properties:
        name:
          title: Domain Name
          maxLength: 255
          minLength: 1
          pattern: "^[a-zA-Z0-9_-]{1,255}$"
          type: string
          description: Name of the domain
        description:
          title: Description
          maxLength: 255
          minLength: 1
          type: string
        password:
          title: Admin Password
          maxLength: 72
          minLength: 8
          type: string
          description: Password for domain administrator
      description: Create a new domain
    domain:
      title: Domain
      type: object
      properties:
        name:
          title: Name
          maxLength: 255
          minLength: 1
          pattern: "^[a-zA-Z0-9_-]{1,255}$"
          type: string
          description: Name
        description:
          title: Description
          maxLength: 255
          type: string
        enabled:
          title: Enabled
          type: boolean
          description: Domain is enabled
        uuid:
          title: Resource UUID
          type: string
          description: Resource Identifier
        createdAt:
          title: Resource Creation
          type: string
          description: Resource Creation time
        updatedAt:
          title: Resource Update
          type: string
          description: Resource Updated time
        version:
          title: Resource Version
          type: integer
          description: Resource version
      description: Domain Information
    "2xx":
      required:
      - status
      type: object
      properties:
        status:
          title: Status code
          type: integer
        type:
          title: Type
          type: string
        title:
          title: Title
          type: string
        messageCode:
          title: Internal message code
          type: string
        detail:
          title: Details
          type: string
        instance:
          title: Instance
          type: string
        errors:
          title: Errors
          type: object
      additionalProperties: false
    domain-config:
      title: Domain Environment
      type: object
      properties:
        name:
          title: Domain Environment name
          maxLength: 100
          minLength: 4
          type: string
        logo:
          title: Domain Environment Logo
          type: string
        label:
          title: Domain Environment label
          minLength: 1
          pattern: "^[a-zA-Z0-9 _-]{1,255}$"
          type: string
        color:
          title: Domain Environment Color
          type: string
        maxConcurrentAccountSessions:
          title: Maximum Concurrent Account Sessions
          minimum: 0
          type: integer
          description: Maximum number of concurrent sessions allowed per account (0
            means unlimited)
        maxConcurrentUsersessions:
          title: Maximum Concurrent User Sessions
          minimum: 0
          type: integer
          description: Maximum number of concurrent sessions allowed per user (0 means
            unlimited)
      description: 'Domain Environment configuration '
    domain-config-sso-create:
      title: SSO Configuration
      required:
      - configuration
      - method
      - name
      - provider
      type: object
      properties:
        name:
          title: Configuration name
          minLength: 1
          pattern: "^[a-zA-Z0-9_-]{1,255}$"
          type: string
        description:
          title: Description
          maxLength: 255
          type: string
        provider:
          title: Provider
          type: string
          enum:
          - OKTA
          - Google Workspace
          - Microsoft Entra
          - PingFederate
          - Other
        method:
          title: Method
          type: string
          enum:
          - oidc/oauth
          - saml
        configuration:
          title: SSO Configuration
          type: object
          anyOf:
          - title: SAML Configuration
            required:
            - audience
            - credentialsName
            - groupsDelim
            - issuer
            - redirectURI
            - ssoURL
            type: object
            properties:
              credentialsName:
                title: Credential Name
                type: string
                description: Name of the credential - PEM CA certificate data for
                  the Identity Provider.
              ssoURL:
                title: SSO URL
                type: string
                description: The SAML Single Sign-On URL for the Identity Provider.
                format: uri
              redirectURI:
                title: Redirect URI
                type: string
                description: The URI to redirect to after successful SAML authentication
                  (Assertion Consumer Service URL).
                format: uri
              audience:
                title: Audience Entity Issuer
                minLength: 1
                type: string
                description: The Audience issuer URI for this SAML Service Provider.
              issuer:
                title: SSO Issuer
                minLength: 1
                type: string
                description: The issuer URI for the SAML Identity Provider.
              groupsDelim:
                title: Groups Delimiter Name
                minLength: 1
                type: string
              mapping:
                title: SSO User mapping
                required:
                - emailAttribute
                - groupsAttribute
                - nameAttribute
                - userDefaultRole
                - userRoleErrorPolicy
                - usernameAttribute
                type: object
                properties:
                  nameAttribute:
                    title: Name Attribute
                    maxLength: 255
                    minLength: 1
                    type: string
                  usernameAttribute:
                    title: User name Attribute
                    maxLength: 255
                    minLength: 1
                    type: string
                  groupsAttribute:
                    title: Group name Attribute
                    maxLength: 255
                    minLength: 1
                    type: string
                  emailAttribute:
                    title: Email Attribute
                    maxLength: 255
                    minLength: 1
                    type: string
                  userDefaultRole:
                    title: User Group/Role name default
                    type: string
                  userRoleErrorPolicy:
                    title: 'User Role error policy '
                    type: string
                    enum:
                    - deny
                    - default
                  userGroupToRoleMapping:
                    title: Group/Role mapping
                    type: object
                    additionalProperties:
                      title: Group/Role name
                      type: string
                description: SSO User mapping
            description: SAML Single Sign-On (SSO) settings for identity provider
              integration.
          - title: OIDC/OAuth Configuration
            required:
            - authorizationURL
            - credentialsName
            - redirectURI
            - scopes
            - ssoURL
            - tokenURL
            - userInfoURL
            type: object
            properties:
              credentialsName:
                title: Credential Name
                type: string
                description: Name of the credential - Client secret for the Identity
                  Provider.
              ssoURL:
                title: SSO URL
                type: string
                description: Sign-On URL for the Identity Provider.
                format: uri
              redirectURI:
                title: Redirect URI
                type: string
                description: The URI to redirect to after successful authentication.
                format: uri
              tokenURL:
                title: Token URI
                type: string
                description: Token URL for the Identity Provider.
                format: uri
              authorizationURL:
                title: AuthorizationURL URI
                type: string
                description: Authorization URL for the Identity Provider
                format: uri
              userInfoURL:
                title: User Info URI
                type: string
                description: User Information URL
                format: uri
              scopes:
                title: Scopes
                type: array
                description: Scopes to request from the Identity Provider.
              mapping:
                title: SSO User mapping
                required:
                - emailAttribute
                - groupsAttribute
                - nameAttribute
                - userDefaultRole
                - userRoleErrorPolicy
                - usernameAttribute
                type: object
                properties:
                  nameAttribute:
                    title: Name Attribute
                    maxLength: 255
                    minLength: 1
                    type: string
                  usernameAttribute:
                    title: User name Attribute
                    maxLength: 255
                    minLength: 1
                    type: string
                  groupsAttribute:
                    title: Group name Attribute
                    maxLength: 255
                    minLength: 1
                    type: string
                  emailAttribute:
                    title: Email Attribute
                    maxLength: 255
                    minLength: 1
                    type: string
                  userDefaultRole:
                    title: User Group/Role name default
                    type: string
                  userRoleErrorPolicy:
                    title: 'User Role error policy '
                    type: string
                    enum:
                    - deny
                    - default
                  userGroupToRoleMapping:
                    title: Group/Role mapping
                    type: object
                    additionalProperties:
                      title: Group/Role name
                      type: string
                description: SSO User mapping
            description: OIDC/OAuth Single Sign-On (SSO).
      description: Single Sign-On (SSO).
    domain-config-set:
      title: Domain Environment
      type: object
      properties:
        configKey:
          title: Domain configuration key
          type: string
        configValue:
          title: Domain configuration value
          type: object
        enabled:
          title: Domain configuration enabled
          type: boolean
        uuid:
          title: Resource UUID
          type: string
          description: Resource Identifier
        createdAt:
          title: Resource Creation
          type: string
          description: Resource Creation time
        updatedAt:
          title: Resource Update
          type: string
          description: Resource Updated time
        version:
          title: Resource Version
          type: integer
          description: Resource version
      description: 'Domain Environment configuration '
    domain-config-ldap:
      required:
      - bindCredentials
      - bindDN
      - host
      - type
      - userSearch
      type: object
      properties:
        type:
          title: LDAP Type
          type: string
          description: Type of LDAP configuration
          enum:
          - users
          - accounts
        description:
          title: LDAP Description
          type: string
          description: Description of LDAP configuration
        host:
          title: LDAP Host
          minLength: 1
          type: string
          description: The host and optional port of the LDAP server
        insecureNoSSL:
          title: Insecure No SSL
          type: boolean
          description: "If true, skip TLS"
          default: false
        insecureSkipVerify:
          title: Insecure Skip Verify
          type: boolean
          description: "If true, skip certificate verification"
          default: false
        startTLS:
          title: Start TLS
          type: boolean
          description: "If true, use StartTLS"
          default: false
        bindDN:
          title: Bind DN
          minLength: 1
          type: string
          description: The DN to bind with during the user search
        bindCredentials:
          title: Bind Credentials
          minLength: 1
          type: string
          description: The credentials from where read the password to bind with during
            the user search
        userSearch:
          required:
          - baseDN
          - userFilter
          - userIdAttribute
          type: object
          properties:
            baseDN:
              title: Base DN
              minLength: 1
              type: string
              description: Base DN to start the search from
            userFilter:
              title: Filter
              minLength: 1
              type: string
              description: Filter to apply on the search
            userIdAttribute:
              title: Username Attribute
              minLength: 1
              type: string
              description: Attribute to match against the provided username
        attributeMapping:
          type: object
          anyOf:
          - title: User Attribute Mapping
            type: object
            properties:
              firstName:
                title: First Name Attribute
                type: string
                description: LDAP attribute to use for user's first name
              lastName:
                title: Last Name Attribute
                type: string
                description: LDAP attribute to use for user's last name
              email:
                title: Email Attribute
                type: string
                description: LDAP attribute to use for user's email address
              description:
                title: Description Attribute
                type: string
                description: LDAP attribute to use for user's description
            description: Mapping for LDAP user attributes
          - title: Account Attribute Mapping
            type: object
            properties:
              firstName:
                title: First Name Attribute
                type: string
                description: LDAP attribute to use for account's first name
              lastName:
                title: Last Name Attribute
                type: string
                description: LDAP attribute to use for account's last name
              email:
                title: Email Attribute
                type: string
                description: LDAP attribute to use for account's email address
              description:
                title: Description Attribute
                type: string
                description: LDAP attribute to use for account's description
            description: Mapping for LDAP account attributes
    ldap-sync-job:
      title: LDAP Sync Job
      required:
      - failedUsers
      - id
      - processedUsers
      - startedAt
      - status
      - triggerType
      - type
      type: object
      properties:
        id:
          title: Job ID
          type: string
          description: Unique identifier for the LDAP sync job
        status:
          title: Status
          type: string
          description: Current status of the sync job
          enum:
          - pending
          - running
          - completed
          - failed
        type:
          title: Type
          type: string
          description: Type of LDAP sync (users/accounts)
          enum:
          - users
          - accounts
        triggerType:
          title: Trigger Type
          type: string
          description: How the sync job was triggered
          enum:
          - manual
          - scheduled
        startedAt:
          title: Start Time
          type: string
          description: When the sync job started
          format: date-time
        completedAt:
          title: Completion Time
          type: string
          description: When the sync job completed
          format: date-time
        totalUsersFound:
          title: Total Users
          type: integer
          description: Total number of users to process
        processedUsers:
          title: Processed Users
          minimum: 0
          type: integer
          description: Number of users processed and synced
        skippedUsers:
          title: Skipped Users
          minimum: 0
          type: integer
          description: Number of users skipped while syncing
        failedUsers:
          title: Failed Users
          minimum: 0
          type: integer
          description: Number of users that failed processing
        errorDetails:
          title: Error Details
          type: string
          description: Details of any errors encountered
      description: Information about an LDAP synchronization job
    ldap-sync-status:
      title: LDAP Sync Status
      required:
      - schedulerEnabled
      type: object
      properties:
        schedulerEnabled:
          title: Scheduler Enabled
          type: boolean
          description: Whether the LDAP sync scheduler is enabled
        job:
          $ref: "#/components/schemas/ldap-sync-job"
        jobs:
          title: Jobs History
          type: array
          description: List of LDAP sync jobs
          items:
            $ref: "#/components/schemas/ldap-sync-job"
        filters:
          $ref: "#/components/schemas/ldap-sync-filters"
      description: Complete LDAP synchronization status
    ldap-test-response:
      title: LDAP Test Response
      type: object
      properties:
        test:
          type: object
          properties:
            status:
              title: Status
              type: string
              description: Test status (success/error)
              enum:
              - success
              - error
            message:
              title: Message
              type: string
              description: Human-readable test result message
            connected:
              title: Connected
              type: boolean
              description: Whether LDAP connection was successful
            totalUsersFound:
              title: Users Found
              type: integer
              description: Number of users found in LDAP
            details:
              title: Details
              type: string
              description: Additional details or error information
            source:
              title: Source
              type: string
              description: LDAP server URL
      description: Response from LDAP connection test
    domain-config-icap:
      title: ICAP Configuration
      required:
      - enable
      - errorPolicy
      - hostname
      - name
      - port
      - violationAction
      type: object
      properties:
        enable:
          title: Enable ICAP
          type: boolean
          description: Enable ICAP scanning for this domain
          default: false
        hostname:
          title: ICAP Server Hostname
          minLength: 1
          type: string
          description: The hostname or IP address of the ICAP server
        port:
          title: ICAP Server Port
          maximum: 65535
          minimum: 1
          type: integer
          description: The port number of the ICAP server
          default: 1344
        service:
          title: ICAP Service Name
          type: string
          description: The service name to use on the ICAP server
        name:
          title: Configuration Name
          minLength: 1
          pattern: "^[a-zA-Z0-9_-]{1,255}$"
          type: string
          description: A name for this ICAP configuration
        description:
          title: Description
          maxLength: 255
          type: string
          description: A brief description of this ICAP configuration
        usePreview:
          title: Use Preview
          type: boolean
          description: Pre-scans a few bytes and only sends more if requested by the
            ICAP server. Preview size is determined dynamically from the ICAP server
            OPTIONS response.
          default: true
        maxScanSize:
          title: Max Bytes to Scan
          minimum: 0
          type: integer
          description: Maximum number of bytes to send to the ICAP server
        secure:
          title: Secure Connection
          type: boolean
          description: Use secure connection (ICAPS) to the ICAP server. This field
            is set automatically when using the URI field with 'icaps://' scheme.
          default: false
        skipExtensions:
          title: Skip Files Matching Extension(s)
          maxLength: 1024
          type: string
          description: "Specify file extensions that should not be scanned as a comma-delimited\
            \ list. For example, pgp, zip, and gz."
          default: ""
        violationAction:
          title: ICAP Violations Action
          type: string
          description: Action to take when violations (403) are detected
          default: reject
          enum:
          - reject
          - quarantine
        errorPolicy:
          title: ICAP Failures Action
          type: string
          description: Action to take when ICAP scanning fails
          default: quarantine
          enum:
          - reject
          - quarantine
          - flag
          - bypass
        flagExtension:
          title: Extension for Flagged (Renamed) Files
          maxLength: 32
          pattern: "^[a-zA-Z0-9]+$"
          type: string
          description: "If ICAP Violations or Failures are set to Flag, then this\
            \ extension is used to flag the file for subsequent identification. Please\
            \ only use letters or numbers, up to 32 characters in length."
          default: unscanned
      description: ICAP virus scanning configuration for the domain
    icap-test-response:
      title: ICAP Test Response
      required:
      - message
      - status
      - uri
      type: object
      properties:
        status:
          title: Status
          type: string
          description: Test status (success or error)
          enum:
          - success
          - error
        message:
          title: Message
          type: string
          description: Human-readable message about the test result
        uri:
          title: URI
          type: string
          description: ICAP URI that was tested
        responseTime:
          title: Response Time
          type: integer
          description: Time taken to receive a response in milliseconds
        supportedMethods:
          title: Supported Methods
          type: array
          description: "ICAP methods supported by the server (REQMOD, RESPMOD)"
          items:
            type: string
        previewSupported:
          title: Preview Supported
          type: boolean
          description: Whether the server supports preview mode
        previewBytes:
          title: Preview Bytes
          type: integer
          description: Maximum preview size in bytes
        allow204:
          title: Allow 204
          type: boolean
          description: Whether the server supports 204 responses (No Content)
        isTag:
          title: ISTag
          type: string
          description: Entity tag provided by the ICAP server
        optionsTTL:
          title: OPTIONS TTL
          type: integer
          description: Time to live for OPTIONS response in seconds
        error:
          title: Error
          type: string
          description: Error details if the test failed
      description: Response from ICAP connection test
    domain-config-fwd-update:
      title: Forward Proxy
      required:
      - address
      - name
      - port
      - type
      type: object
      properties:
        name:
          title: Forward Proxy Name
          maxLength: 255
          minLength: 1
          pattern: "^[a-zA-Z0-9_-]{1,255}$"
          type: string
          description: Name
        description:
          title: Forward Proxy Description
          type: string
        type:
          title: Forward Proxy protocol
          type: string
          enum:
          - HTTP
          - HTTPS
          - SOCKS5
        address:
          title: Forward Proxy Host Address
          type: string
        port:
          title: Port Number
          maximum: 65535
          minimum: 1
          type: integer
        credentialsName:
          title: Credentials Name
          type: string
      description: Forward Proxy configuration HTTP/SOCKS5
    domain-config-fwd-create:
      title: Forward Proxy
      required:
      - address
      - name
      - port
      - type
      type: object
      properties:
        name:
          title: Forward Proxy Name
          maxLength: 255
          minLength: 1
          pattern: "^[a-zA-Z0-9_-]{1,255}$"
          type: string
          description: Name
        description:
          title: Forward Proxy Description
          type: string
        type:
          title: Forward Proxy protocol
          type: string
          enum:
          - HTTP
          - HTTPS
          - SOCKS5
        address:
          title: Forward Proxy Host Address
          type: string
        port:
          title: Port Number
          maximum: 65535
          minimum: 1
          type: integer
        credentialsName:
          title: Credentials Name
          type: string
      description: Forward Proxy configuration HTTP/SOCKS5
    domain-config-fwd-test:
      title: Forward Proxy Test Result
      required:
      - hasAuth
      - message
      - proxyType
      - responseTime
      - status
      type: object
      properties:
        status:
          title: Test Status
          type: string
          enum:
          - success
          - error
        proxyType:
          title: Proxy Type
          type: string
        message:
          title: Test Message
          type: string
        hasAuth:
          title: Has Authentication
          type: boolean
        responseTime:
          title: Response Time
          type: string
      description: Result of testing forward proxy connection
    domain-config-security-update:
      title: Security Configuration
      required:
      - passwordPolicyHistorySize
      - passwordPolicyMaxLength
      - passwordPolicyMaxRepeatingChars
      - passwordPolicyMinLength
      - passwordPolicyMinLowerCase
      - passwordPolicyMinNumbers
      - passwordPolicyMinSymbols
      - passwordPolicyMinUpperCase
      type: object
      properties:
        passwordPolicyMinLength:
          title: Password Policy Minimum Length
          maximum: 72
          minimum: 1
          type: integer
          default: 8
        passwordPolicyMaxLength:
          title: Password Policy Maximum Length
          maximum: 72
          minimum: 1
          type: integer
          default: 72
        passwordPolicyMinUpperCase:
          title: Password Policy Minimum Uppercase Characters
          minimum: 0
          type: integer
          default: 1
        passwordPolicyMinLowerCase:
          title: Password Policy Minimum Lowercase Characters
          minimum: 0
          type: integer
          default: 1
        passwordPolicyMinNumbers:
          title: Password Policy Minimum Numbers
          minimum: 0
          type: integer
          default: 1
        passwordPolicyMinSymbols:
          title: Password Policy Minimum Symbols
          minimum: 0
          type: integer
          default: 1
        passwordPolicyMaxRepeatingChars:
          title: Password Policy Maximum Repeating Characters
          minimum: 0
          type: integer
          default: 3
        passwordPolicyHistorySize:
          title: Password Policy History Size
          minimum: 0
          type: integer
          default: 3
        bannedExtensionFiles:
          title: Banned extension files)
          maxLength: 1024
          type: string
          description: "Specify file extensions that should rejected. For example,\
            \ pgp, zip, and gz."
          default: ""
      description: Security configuration including password policies
    domain-config-name:
      title: Domain Environment
      type: object
      properties:
        name:
          title: Environment Name
          maxLength: 255
          type: string
          description: Environment Name
      description: Domain Environment Name
    domain-config-label:
      title: Domain Environment
      type: object
      properties:
        label:
          title: Environment
          maxLength: 255
          type: string
          description: Environment Label
      description: Domain Environment Label
    domain-config-logo:
      title: Domain Environment
      type: object
      properties:
        logo:
          title: Environment Logo
          maxLength: 300000
          minLength: 1
          type: string
          description: "Environment Logo. Maximum size: 200KB."
      description: Domain Environment Logo
    domain-config-color:
      title: Domain Environment
      type: object
      properties:
        color:
          title: Environment
          maxLength: 7
          pattern: "^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$"
          type: string
          description: Environment Color
      description: Domain Environment Color
    domain-config-auth-security:
      title: Authentication Security Configuration
      type: object
      properties:
        userFailedAttemptsLimit:
          title: User Failed Attempts Limit
          minimum: 0
          type: integer
          description: Maximum number of failed login attempts for a user before temporary
            lockout (0 means disabled)
          default: 1
        userFailedAttemptsWindow:
          title: User Failed Attempts Window
          minimum: 0
          type: integer
          description: Time window in seconds for tracking failed login attempts for
            users
          default: 300
        userFailedAttemptsLockTime:
          title: User Failed Attempts Lock Duration
          minimum: 0
          type: integer
          description: Duration in seconds for user lockout after exceeding failed
            attempts limit
          default: 900
        accountFailedAttemptsLimit:
          title: Account Failed Attempts Limit
          minimum: 0
          type: integer
          description: Maximum number of failed login attempts for an account before
            temporary lockout (0 means disabled)
          default: 10
        accountFailedAttemptsWindow:
          title: Account Failed Attempts Window
          minimum: 0
          type: integer
          description: Time window in seconds for tracking failed login attempts for
            accounts
          default: 300
        accountFailedAttemptsLockTime:
          title: Account Failed Attempts Lock Duration
          minimum: 0
          type: integer
          description: Duration in seconds for account lockout after exceeding failed
            attempts limit
          default: 900
        ipInvalidUsernameLimit:
          title: IP Invalid Username Limit
          minimum: 0
          type: integer
          description: Maximum number of invalid username attempts from a single IP
            before temporary block (0 means disabled)
          default: 10
        ipInvalidUsernameWindow:
          title: IP Invalid Username Window
          minimum: 0
          type: integer
          description: Time window in seconds for tracking invalid username attempts
            from an IP
          default: 300
        ipInvalidUsernameLockTime:
          title: IP Invalid Username Lock Duration
          minimum: 0
          type: integer
          description: Duration in seconds for IP block after exceeding invalid username
            attempts limit
          default: 900
      description: Settings for brute force and enumeration attack prevention
    domain-config-max-concurrent-account-sessions:
      title: Account Session Limits
      type: object
      properties:
        value:
          title: Maximum Concurrent Account Sessions
          minimum: 0
          type: integer
          description: Maximum number of concurrent sessions allowed per account (0
            means unlimited)
      description: Maximum concurrent sessions per account
    domain-config-max-concurrent-user-sessions:
      title: User Session Limits
      type: object
      properties:
        value:
          title: Maximum Concurrent User Sessions
          minimum: 0
          type: integer
          description: Maximum number of concurrent sessions allowed per user (0 means
            unlimited)
      description: Maximum concurrent sessions per user
    cluster-nodes-list:
      title: Nodes List
      type: object
      properties:
        nodes:
          title: Nodes
          type: array
          items:
            type: object
            properties:
              id:
                title: Node ID
                type: string
                description: Unique identifier for the node
              hostname:
                title: Hostname
                type: string
                description: Node hostname
              ipAddress:
                title: IP Address
                type: string
                description: Node IP address
              port:
                title: Port
                type: integer
                description: Node port number
              status:
                title: Status
                type: string
                description: Current node status
              startedAt:
                title: Start Time
                type: string
                description: Node start time
                format: date-time
              updatedAt:
                title: Last Update
                type: string
                description: Last node update time
                format: date-time
              preferred:
                title: Preferred
                type: boolean
                description: Whether this is the preferred (primary) node
      description: List of cluster nodes
    endpoint-list:
      required:
      - endpoints
      type: object
      properties:
        endpoints:
          type: array
          items:
            title: Endpoint
            type: object
            properties:
              name:
                title: Endpoint name
                type: string
              description:
                title: Endpoint Description
                type: string
              type:
                title: Endpoint type
                type: string
              cloudType:
                title: Cloud Type
                type: string
                description: Cloud provider type. Present only for cloud::storage
                  endpoints.
              enabled:
                title: Endpoint Enabled
                type: boolean
              config:
                title: Endpoint Configuration
                type: object
              activeSessions:
                title: Endpoint Active sessions
                type: integer
              runtimeStatus:
                title: Runtime status
                type: string
              runtimeVersion:
                title: Runtime version
                type: integer
              checkStatus:
                title: Endpoint status
                type: string
              checkStatusMessage:
                title: Endpoint status message
                type: string
              checkStatusUpdatedAt:
                title: Endpoint status updated at
                type: string
              extended:
                title: Extended information
                type: object
              businessService:
                title: Business Service
                type: string
                description: Business service name assigned to this endpoint
            description: Endpoint
      additionalProperties: false
    endpoint-create:
      title: Endpoint
      required:
      - config
      - name
      - type
      type: object
      properties:
        name:
          title: Name
          maxLength: 255
          minLength: 1
          pattern: "^[a-zA-Z0-9_-]{1,255}$"
          type: string
          description: Name
        description:
          title: Description
          maxLength: 255
          type: string
        type:
          title: Type
          type: string
          description: Endpoint type
          enum:
          - remote:ftp:server
          - local:as2:server
          - remote:as2:client
          - local:sftp:server
          - local:wtc:server
          - remote:sftp:server
          - local::filesystem
          - cloud::storage
          - local:ftp:server
        cloudType:
          title: Cloud Type
          type: string
          description: "Cloud provider type. Required when type is cloud::storage.\
            \ Values: s3 (AWS S3), azureblob (Microsoft Azure Blob), azurefiles (Microsoft\
            \ Azure File Storage), gcs (Google Cloud Storage)"
          enum:
          - s3
          - azureblob
          - azurefiles
          - gcs
        config:
          title: Config
          type: object
          description: Endpoint Configuration
          anyOf:
          - title: SFTP Server
            required:
            - addr
            - credentialsName
            - port
            type: object
            properties:
              port:
                title: Port Number
                maximum: 65535
                minimum: 1
                type: integer
              addr:
                title: Listener Address
                minLength: 7
                type: string
                format: ipv4
              ciphers:
                title: Ciphers
                type: array
                items:
                  type: string
                  enum:
                  - aes128-ctr
                  - aes192-ctr
                  - aes256-ctr
                  - chacha20-poly1305@openssh.com
                  - aes128-gcm@openssh.com
                  - aes256-gcm@openssh.com
                  - arcfour256
                  - arcfour128
                  - arcfour
                  - aes128-cbc
                  - 3des-cbc
              credentialsName:
                title: Credentials Name
                maxLength: 255
                minLength: 1
                pattern: "^[a-zA-Z0-9_-]{1,255}$"
                type: string
                description: Name
              keyExchanges:
                title: Key Exchanges
                type: array
                items:
                  type: string
                  enum:
                  - ecdh-sha2-nistp521
                  - ecdh-sha2-nistp384
                  - ecdh-sha2-nistp256
                  - curve25519-sha256@libssh.org
                  - curve25519-sha256
                  - diffie-hellman-group14-sha256
                  - diffie-hellman-group16-sha512
                  - diffie-hellman-group1-sha1
                  - diffie-hellman-group14-sha1
                  - diffie-hellman-group-exchange-sha1
                  - diffie-hellman-group-exchange-sha256
                  - mlkem768x25519-sha256
              macs:
                title: MACS
                type: array
                items:
                  type: string
                  enum:
                  - hmac-sha2-256-etm@openssh.com
                  - hmac-sha2-512-etm@openssh.com
                  - hmac-sha2-256
                  - hmac-sha2-512
                  - hmac-sha1
                  - hmac-sha1-96
              maxConnections:
                title: Max Connections
                minimum: 0
                type: integer
                description: Maximum number of connections
                default: 0
              loginMethods:
                title: Authentication types
                type: string
                enum:
                - password
                - publicKey
                - password-or-publicKey
                - password-and-publicKey
              logLevel:
                title: Log Level
                type: string
                description: "Log level for this SFTP endpoint. Options: debug, info,\
                  \ warn, error. If not specified, inherits from domain logger."
                enum:
                - debug
                - info
                - warn
                - error
            description: SFTP Server
          - title: SFTP Client
            required:
            - addr
            - port
            type: object
            properties:
              port:
                title: Port Number
                maximum: 65535
                minimum: 1
                type: integer
              addr:
                title: Remote Address
                minLength: 1
                type: string
                description: SFTP server Address
              ciphers:
                title: Ciphers
                type: array
                items:
                  type: string
                  enum:
                  - aes128-ctr
                  - aes192-ctr
                  - aes256-ctr
                  - chacha20-poly1305@openssh.com
                  - aes128-gcm@openssh.com
                  - aes256-gcm@openssh.com
                  - arcfour256
                  - arcfour128
                  - arcfour
                  - aes128-cbc
                  - 3des-cbc
              keyExchanges:
                title: Key Exchanges
                type: array
                items:
                  type: string
                  enum:
                  - ecdh-sha2-nistp521
                  - ecdh-sha2-nistp384
                  - ecdh-sha2-nistp256
                  - curve25519-sha256@libssh.org
                  - curve25519-sha256
                  - diffie-hellman-group14-sha256
                  - diffie-hellman-group16-sha512
                  - diffie-hellman-group1-sha1
                  - diffie-hellman-group14-sha1
                  - diffie-hellman-group-exchange-sha1
                  - diffie-hellman-group-exchange-sha256
                  - mlkem768x25519-sha256
              macs:
                title: MACS
                type: array
                items:
                  type: string
                  enum:
                  - hmac-sha2-256-etm@openssh.com
                  - hmac-sha2-512-etm@openssh.com
                  - hmac-sha2-256
                  - hmac-sha2-512
                  - hmac-sha1
                  - hmac-sha1-96
              credentialsName:
                title: Credentials Name
                maxLength: 255
                minLength: 1
                pattern: "^[a-zA-Z0-9_-]{1,255}$"
                type: string
                description: Name
              useForwardProxy:
                title: Use Forward Proxy
                type: boolean
                description: Enable forward proxy for this SFTP client connection
                default: false
            description: SFTP Client
          - title: FTP Server
            required:
            - addr
            - pasvMaxPort
            - pasvMinPort
            - port
            - publicIP
            type: object
            properties:
              port:
                title: Port Number
                maximum: 65535
                minimum: 1
                type: integer
              addr:
                title: Listener Address
                minLength: 7
                type: string
                format: ipv4
              pasvMinPort:
                title: Passive Min Port
                pattern: ^\d+$
                type: integer
                description: Minimum port for passive connections. Leave empty for
                  dynamic allocation.
              pasvMaxPort:
                title: Passive Max Port
                pattern: ^\d+$
                type: integer
                description: Maximum port for passive connections. Leave empty for
                  dynamic allocation.
              publicIP:
                title: Public IP Address
                type: string
                description: "Public IP address to advertise in PASV responses, for\
                  \ use behind NAT. Leave empty to auto-detect."
                format: ipv4
              maxConnections:
                title: Max Connections
                minimum: 0
                type: integer
                description: Maximum number of simultaneous connections. 0 means unlimited.
                default: 0
              encryptMode:
                title: Encryption Mode
                type: string
                description: "FTP encryption mode: None (plain FTP), Explicit (FTPS\
                  \ explicit), or Implicit (FTPS implicit)."
                default: None
                enum:
                - None
                - Explicit
                - Implicit
              credentialsTLSName:
                title: TLS Credentials Name
                maxLength: 255
                minLength: 1
                pattern: "^[a-zA-Z0-9_-]{1,255}$"
                type: string
                description: Name of credential containing TLS certificate and private
                  key.
              tlsMinVersion:
                title: TLS Minimum Version
                type: string
                description: "Minimum TLS version to support. If not specified, uses\
                  \ global TLS configuration."
                enum:
                - "1.0"
                - "1.1"
                - "1.2"
                - "1.3"
              tlsMaxVersion:
                title: TLS Maximum Version
                type: string
                description: "Maximum TLS version to support. If not specified, uses\
                  \ global TLS configuration."
                enum:
                - "1.0"
                - "1.1"
                - "1.2"
                - "1.3"
              tlsCipherSuites:
                title: TLS Cipher Suites
                type: array
                description: "List of cipher suite names to use. If not specified,\
                  \ uses global TLS configuration or Go secure defaults."
                items:
                  type: string
              welcomeMessage:
                title: Welcome Message
                maxLength: 2048
                type: string
                description: Maximum 512 characters per line. Use \n for multi-line
                  messages.
              logLevel:
                title: Log Level
                type: string
                description: "Log level for this FTP endpoint. Options: debug, info,\
                  \ warn, error. If not specified, inherits from domain logger."
                enum:
                - debug
                - info
                - warn
                - error
            description: FTP Server Configuration with support for FTPS and passive
              mode
          - title: FTP Client
            required:
            - addr
            - port
            type: object
            properties:
              port:
                title: Port Number
                maximum: 65535
                minimum: 1
                type: integer
                description: FTP server port
                default: 21
              addr:
                title: Remote Address
                minLength: 1
                type: string
                description: FTP server Address
              credentialsName:
                title: Credentials Name
                maxLength: 255
                type: string
                description: Name of the credential containing username/password
              encryptMode:
                title: Encryption Mode
                type: string
                description: "FTP encryption mode: None (plain FTP), Explicit (FTPS\
                  \ explicit), or Implicit (FTPS implicit)."
                default: None
                enum:
                - None
                - Explicit
                - Implicit
              disableTLS13:
                title: Disable TLS 1.3
                type: boolean
                description: Disable TLS 1.3 (use TLS 1.2 or lower).
                default: false
              skipVerifyTLSCert:
                title: Skip TLS Certificate Verification
                type: boolean
                description: "Skip verification of the server's TLS certificate (insecure,\
                  \ use only for testing)."
                default: false
              disableEPSV:
                title: Disable EPSV
                type: boolean
                description: Disable using EPSV for passive mode. Use PASV instead.
                default: false
              disableMLSD:
                title: Disable MLSD
                type: boolean
                description: Disable using MLSD for directory listings. Use LIST instead.
                default: false
              disableUTF8:
                title: Disable UTF-8
                type: boolean
                description: Disable UTF-8 mode for non-ASCII characters.
                default: false
              writingMDTM:
                title: Use MDTM for Setting Modification Time
                type: boolean
                description: Use MDTM to set modification time (server must support
                  it).
                default: false
              noCheckUpload:
                title: No Check Upload
                type: boolean
                description: Don't check uploaded files by reading back after upload.
                default: false
              useForwardProxy:
                title: Use Forward Proxy
                type: boolean
                description: Enable forward proxy for this FTP client connection
                default: false
            description: FTP Client Configuration for remote FTP servers
          - title: Storage Local
            required:
            - path
            - tmpPath
            type: object
            properties:
              path:
                title: Path
                type: string
                description: Filesystem Path
              tmpPath:
                title: Path
                type: string
                description: Filesystem Path
              workDirectory:
                title: Path
                type: string
                description: Filesystem Path
              enableIcap:
                title: ICAP Scanning
                type: boolean
                description: Enable ICAP Scanning
            description: Storage Local Directory path
          - title: Cloud Storage
            required:
            - configuration
            type: object
            properties:
              configuration:
                title: Configuration
                type: object
                description: "RCLONE configuration in JSON format. Paste your RCLONE\
                  \ config converted to JSON. Use credential placeholders like {{\
                  \ pipeline_credentials.key }} and {{ pipeline_credentials.value\
                  \ }}."
              path:
                title: Path
                type: string
                description: Root path prefix within the bucket/container
              useForwardProxy:
                title: Use Forward Proxy
                type: boolean
                description: Enable forward proxy for cloud connections
                default: false
            description: "Cloud Storage endpoint configuration (S3, Azure Blob, Azure\
              \ Files, GCS)"
          - title: AS2 Client
            required:
            - as2ID
            - mdnDisposition
            - partnerID
            - url
            type: object
            properties:
              url:
                title: AS2 Server URL
                type: string
                format: uri
              insecureSkipVerify:
                title: Skip SSL Certificate Verification
                type: boolean
                default: false
              proxyUrl:
                title: Proxy URL (optional)
                type: string
                format: uri
              as2ID:
                title: AS2-From Identifier
                type: string
              partnerID:
                title: AS2-To Identifier
                type: string
              subject:
                title: Subject (optional)
                type: string
              headers:
                title: Custom Headers (optional)
                type: object
                additionalProperties:
                  type: string
                description: Additional HTTP headers to include in the request
              signingCertName:
                title: Signing Certificate Name
                maxLength: 255
                minLength: 1
                pattern: "^[a-zA-Z0-9_-]{1,255}$"
                type: string
                description: Certificate (X.509 private key) used to sign outgoing
                  messages
              signingPublicCertName:
                title: Public Signing Certificate Name
                maxLength: 255
                minLength: 1
                pattern: "^[a-zA-Z0-9_-]{1,255}$"
                type: string
                description: Certificate (X.509 public) provided to the AS2 receiver
                  for validate signs on outgoing messages
              signingCertPairName:
                title: Signing Certificate Pair Name
                maxLength: 255
                minLength: 1
                pattern: "^[a-zA-Z0-9_-]{1,255}$"
                type: string
                description: "Certificate (X.509 certificate with private key) used\
                  \ for both signing and public certificate. When provided, this takes\
                  \ precedence over individual signing certificates."
              encryptionCertName:
                title: Encryption Certificate Name
                maxLength: 255
                minLength: 1
                pattern: "^[a-zA-Z0-9_-]{1,255}$"
                type: string
                description: Certificate (X.509 public key from Partner) used to encrypt
                  outgoing messages
              encryptMessages:
                title: Encrypt Messages
                type: boolean
                description: Whether to encrypt outgoing messages
                default: true
              signMessages:
                title: Sign Messages
                type: boolean
                description: Whether to sign outgoing messages
                default: true
              as2Compress:
                title: Compress Messages
                type: boolean
                description: Whether to compress outgoing messages (compression-before-signing
                  for Drummond compliance)
                default: false
              mdnRequired:
                title: MDN Required
                type: boolean
                description: Whether Message Disposition Notification (MDN) is required
                default: true
              mdnSignRequired:
                title: Signed MDN Required
                type: boolean
                description: Whether signature is required on Message Disposition
                  Notification (MDN)
                default: false
              mdnDisposition:
                title: MDN Response Type
                type: string
                description: "Type of MDN response (synchronous, asynchronous, or\
                  \ none)"
                default: synchronous
                enum:
                - synchronous
                - asynchronous
                - none
              mdnTimeout:
                title: MDN Timeout (minutes)
                minimum: 1
                type: integer
                description: Maximum time to wait for asynchronous MDN responses (in
                  minutes)
                default: 1440
              validateCerts:
                title: Validate Certificates
                type: boolean
                description: "Whether to validate certificates for signing, encryption,\
                  \ and TLS"
                default: true
              micDigest:
                title: MIC Algorithms
                type: array
                description: Supported Message Integrity Check (MIC) algorithms for
                  AS2 communications
                items:
                  type: string
                  enum:
                  - sha1
                  - sha256
                  - sha512
                default:
                - sha256
                - sha512
            description: AS2 Client Configuration
          - title: AS2 Server
            required:
            - addr
            - as2ID
            - credentialsSigningName
            - loginMethods
            - messageLevelSecurity
            - port
            type: object
            properties:
              addr:
                title: Listener IP Address
                minLength: 7
                type: string
                description: The IP Address must be in IPv4 format.
                format: ipv4
                default: 0.0.0.0
              port:
                title: Port
                maximum: 65535
                minimum: 1
                type: integer
                description: The Port must be a number between 1 and 65535 and unique
                  to each listener IP address.
                default: 443
              as2ID:
                title: Local AS2 Identifier
                type: string
                description: Your organization's unique AS2 identifier. It must match
                  the AS2-To header sent by the partner; any mismatches will cause
                  the message to be rejected.
              credentialsSigningName:
                title: Credentials Name (Signing Certificate)
                type: string
                description: "Select the Credential containing the TLS certificate\
                  \ and private key used for AS2 message signing, encryption and decryption.\
                  \ This certificate is shared with your partners so they can encrypt\
                  \ messages to you and verify signatures on MDNs you send. All credentials\
                  \ must be created on the Credentials page before they can be selected\
                  \ here."
              loginMethods:
                title: Authentication Method
                type: string
                description: "Enforces sender authentication using Partner ID and\
                  \ certificate binding, with optional support for Basic Authentication.\
                  \ Aligns with Drummond expectations for identity assurance via AS2\
                  \ headers and digital signatures."
                default: Partner Certificate Mapping
                enum:
                - Partner Certificate Mapping
                - Partner Certificate Mapping plus Basic Authentication
              messageLevelSecurity:
                title: Message Level Security (MLS) Enforcement
                type: string
                description: "Enforces Drummond-aligned message security by requiring\
                  \ all incoming messages to be signed and encrypted, or compressed,\
                  \ signed, and encrypted. Messages that do not meet the selected\
                  \ policy are rejected."
                default: Signed and Encrypted
                enum:
                - Signed and Encrypted
                - "Compressed, Signed, and Encrypted"
              retentionPeriod:
                title: Message ID Retention Period (Minutes)
                maximum: 518400
                minimum: 0
                type: integer
                description: Defines how long the system retains a record of received
                  message identifiers to detect and block duplicates. A duplicate
                  is considered a potential replay if it arrives within this retention
                  window.
                default: 1440
              maxConnections:
                title: Max Number of Concurrent Connections
                minimum: 0
                type: integer
                description: "The default (0) means unlimited. If a maximum value\
                  \ is set, the server will reject new transfers once this limit is\
                  \ reached."
                default: 0
              credentialsTLSName:
                title: TLS Certificate Name
                type: string
                description: "Select the Credential containing the TLS certificate\
                  \ and private key for secure connections. If provided, TLS will\
                  \ be enabled."
              logLevel:
                title: Log Level
                type: string
                description: "Log level for this AS2 endpoint. Options: debug, info,\
                  \ warn, error. If not specified, inherits from domain logger."
                enum:
                - debug
                - info
                - warn
                - error
            description: Local AS2 Server for receiving AS2 messages
          - title: Web Transfer client
            required:
            - allowChangePassword
            type: object
            properties:
              allowChangePassword:
                title: Allow change password
                type: boolean
                description: Allow change password.
                default: true
              wtcLogo:
                title: Logo
                maxLength: 300000
                type: string
                description: "Base64 encoded string of the logo image. Maximum size:\
                  \ 200KB."
              sysDisclaimerLabel:
                title: System Disclaimer Label
                type: string
                description: Custom text for the system disclaimer.
              sysVersionLabel:
                title: System Version Label
                maxLength: 255
                type: string
                description: Custom text for the system version label.
              sysIdentifierLabel:
                title: System Identifier Label
                maxLength: 255
                type: string
                description: Custom text for the system identifier banner.
              checksumAlgo:
                title: Checksum Algorithm
                type: string
                description: The algorithm to use for file checksums.
                default: md5
                enum:
                - md5
                - sha1
                - sha256
                - sha384
                - sha512
            description: Web Transfer client (WTC)
        enabled:
          title: Enabled
          type: boolean
          description: Whether the endpoint is enabled. Defaults to true if not provided.
          default: true
        businessService:
          title: Business Service
          type: string
          description: Business service name to assign to this endpoint
      description: Endpoint Creation
    endpoint:
      title: Endpoint
      type: object
      properties:
        name:
          title: Endpoint name
          type: string
        description:
          title: Endpoint Description
          type: string
        type:
          title: Endpoint type
          type: string
        cloudType:
          title: Cloud Type
          type: string
          description: Cloud provider type. Present only for cloud::storage endpoints.
        enabled:
          title: Endpoint Enabled
          type: boolean
        config:
          title: Endpoint Configuration
          type: object
        activeSessions:
          title: Endpoint Active sessions
          type: integer
        runtimeStatus:
          title: Runtime status
          type: string
        runtimeVersion:
          title: Runtime version
          type: integer
        checkStatus:
          title: Endpoint status
          type: string
        checkStatusMessage:
          title: Endpoint status message
          type: string
        checkStatusUpdatedAt:
          title: Endpoint status updated at
          type: string
        extended:
          title: Extended information
          type: object
        businessService:
          title: Business Service
          type: string
          description: Business service name assigned to this endpoint
      description: Endpoint
    endpoint-update:
      title: Endpoint
      type: object
      properties:
        name:
          title: Name
          maxLength: 255
          minLength: 1
          pattern: "^[a-zA-Z0-9_-]{1,255}$"
          type: string
          description: Name
        description:
          title: Description
          maxLength: 255
          type: string
        cloudType:
          title: Cloud Type
          type: string
          description: "Cloud provider type. Values: s3 (AWS S3), azureblob (Microsoft\
            \ Azure Blob), azurefiles (Microsoft Azure File Storage), gcs (Google\
            \ Cloud Storage)"
          enum:
          - s3
          - azureblob
          - azurefiles
          - gcs
        config:
          title: Config
          type: object
          description: Endpoint Configuration
          anyOf:
          - title: SFTP Server
            required:
            - addr
            - credentialsName
            - port
            type: object
            properties:
              port:
                title: Port Number
                maximum: 65535
                minimum: 1
                type: integer
              addr:
                title: Listener Address
                minLength: 7
                type: string
                format: ipv4
              ciphers:
                title: Ciphers
                type: array
                items:
                  type: string
                  enum:
                  - aes128-ctr
                  - aes192-ctr
                  - aes256-ctr
                  - chacha20-poly1305@openssh.com
                  - aes128-gcm@openssh.com
                  - aes256-gcm@openssh.com
                  - arcfour256
                  - arcfour128
                  - arcfour
                  - aes128-cbc
                  - 3des-cbc
              credentialsName:
                title: Credentials Name
                maxLength: 255
                minLength: 1
                pattern: "^[a-zA-Z0-9_-]{1,255}$"
                type: string
                description: Name
              keyExchanges:
                title: Key Exchanges
                type: array
                items:
                  type: string
                  enum:
                  - ecdh-sha2-nistp521
                  - ecdh-sha2-nistp384
                  - ecdh-sha2-nistp256
                  - curve25519-sha256@libssh.org
                  - curve25519-sha256
                  - diffie-hellman-group14-sha256
                  - diffie-hellman-group16-sha512
                  - diffie-hellman-group1-sha1
                  - diffie-hellman-group14-sha1
                  - diffie-hellman-group-exchange-sha1
                  - diffie-hellman-group-exchange-sha256
                  - mlkem768x25519-sha256
              macs:
                title: MACS
                type: array
                items:
                  type: string
                  enum:
                  - hmac-sha2-256-etm@openssh.com
                  - hmac-sha2-512-etm@openssh.com
                  - hmac-sha2-256
                  - hmac-sha2-512
                  - hmac-sha1
                  - hmac-sha1-96
              maxConnections:
                title: Max Connections
                minimum: 0
                type: integer
                description: Maximum number of connections
                default: 0
              loginMethods:
                title: Authentication types
                type: string
                enum:
                - password
                - publicKey
                - password-or-publicKey
                - password-and-publicKey
              logLevel:
                title: Log Level
                type: string
                description: "Log level for this SFTP endpoint. Options: debug, info,\
                  \ warn, error. If not specified, inherits from domain logger."
                enum:
                - debug
                - info
                - warn
                - error
            description: SFTP Server
          - title: SFTP Client
            required:
            - addr
            - port
            type: object
            properties:
              port:
                title: Port Number
                maximum: 65535
                minimum: 1
                type: integer
              addr:
                title: Remote Address
                minLength: 1
                type: string
                description: SFTP server Address
              ciphers:
                title: Ciphers
                type: array
                items:
                  type: string
                  enum:
                  - aes128-ctr
                  - aes192-ctr
                  - aes256-ctr
                  - chacha20-poly1305@openssh.com
                  - aes128-gcm@openssh.com
                  - aes256-gcm@openssh.com
                  - arcfour256
                  - arcfour128
                  - arcfour
                  - aes128-cbc
                  - 3des-cbc
              keyExchanges:
                title: Key Exchanges
                type: array
                items:
                  type: string
                  enum:
                  - ecdh-sha2-nistp521
                  - ecdh-sha2-nistp384
                  - ecdh-sha2-nistp256
                  - curve25519-sha256@libssh.org
                  - curve25519-sha256
                  - diffie-hellman-group14-sha256
                  - diffie-hellman-group16-sha512
                  - diffie-hellman-group1-sha1
                  - diffie-hellman-group14-sha1
                  - diffie-hellman-group-exchange-sha1
                  - diffie-hellman-group-exchange-sha256
                  - mlkem768x25519-sha256
              macs:
                title: MACS
                type: array
                items:
                  type: string
                  enum:
                  - hmac-sha2-256-etm@openssh.com
                  - hmac-sha2-512-etm@openssh.com
                  - hmac-sha2-256
                  - hmac-sha2-512
                  - hmac-sha1
                  - hmac-sha1-96
              credentialsName:
                title: Credentials Name
                maxLength: 255
                minLength: 1
                pattern: "^[a-zA-Z0-9_-]{1,255}$"
                type: string
                description: Name
              useForwardProxy:
                title: Use Forward Proxy
                type: boolean
                description: Enable forward proxy for this SFTP client connection
                default: false
            description: SFTP Client
          - title: FTP Server
            required:
            - addr
            - pasvMaxPort
            - pasvMinPort
            - port
            - publicIP
            type: object
            properties:
              port:
                title: Port Number
                maximum: 65535
                minimum: 1
                type: integer
              addr:
                title: Listener Address
                minLength: 7
                type: string
                format: ipv4
              pasvMinPort:
                title: Passive Min Port
                pattern: ^\d+$
                type: integer
                description: Minimum port for passive connections. Leave empty for
                  dynamic allocation.
              pasvMaxPort:
                title: Passive Max Port
                pattern: ^\d+$
                type: integer
                description: Maximum port for passive connections. Leave empty for
                  dynamic allocation.
              publicIP:
                title: Public IP Address
                type: string
                description: "Public IP address to advertise in PASV responses, for\
                  \ use behind NAT. Leave empty to auto-detect."
                format: ipv4
              maxConnections:
                title: Max Connections
                minimum: 0
                type: integer
                description: Maximum number of simultaneous connections. 0 means unlimited.
                default: 0
              encryptMode:
                title: Encryption Mode
                type: string
                description: "FTP encryption mode: None (plain FTP), Explicit (FTPS\
                  \ explicit), or Implicit (FTPS implicit)."
                default: None
                enum:
                - None
                - Explicit
                - Implicit
              credentialsTLSName:
                title: TLS Credentials Name
                maxLength: 255
                minLength: 1
                pattern: "^[a-zA-Z0-9_-]{1,255}$"
                type: string
                description: Name of credential containing TLS certificate and private
                  key.
              tlsMinVersion:
                title: TLS Minimum Version
                type: string
                description: "Minimum TLS version to support. If not specified, uses\
                  \ global TLS configuration."
                enum:
                - "1.0"
                - "1.1"
                - "1.2"
                - "1.3"
              tlsMaxVersion:
                title: TLS Maximum Version
                type: string
                description: "Maximum TLS version to support. If not specified, uses\
                  \ global TLS configuration."
                enum:
                - "1.0"
                - "1.1"
                - "1.2"
                - "1.3"
              tlsCipherSuites:
                title: TLS Cipher Suites
                type: array
                description: "List of cipher suite names to use. If not specified,\
                  \ uses global TLS configuration or Go secure defaults."
                items:
                  type: string
              welcomeMessage:
                title: Welcome Message
                maxLength: 2048
                type: string
                description: Maximum 512 characters per line. Use \n for multi-line
                  messages.
              logLevel:
                title: Log Level
                type: string
                description: "Log level for this FTP endpoint. Options: debug, info,\
                  \ warn, error. If not specified, inherits from domain logger."
                enum:
                - debug
                - info
                - warn
                - error
            description: FTP Server Configuration with support for FTPS and passive
              mode
          - title: FTP Client
            required:
            - addr
            - port
            type: object
            properties:
              port:
                title: Port Number
                maximum: 65535
                minimum: 1
                type: integer
                description: FTP server port
                default: 21
              addr:
                title: Remote Address
                minLength: 1
                type: string
                description: FTP server Address
              credentialsName:
                title: Credentials Name
                maxLength: 255
                type: string
                description: Name of the credential containing username/password
              encryptMode:
                title: Encryption Mode
                type: string
                description: "FTP encryption mode: None (plain FTP), Explicit (FTPS\
                  \ explicit), or Implicit (FTPS implicit)."
                default: None
                enum:
                - None
                - Explicit
                - Implicit
              disableTLS13:
                title: Disable TLS 1.3
                type: boolean
                description: Disable TLS 1.3 (use TLS 1.2 or lower).
                default: false
              skipVerifyTLSCert:
                title: Skip TLS Certificate Verification
                type: boolean
                description: "Skip verification of the server's TLS certificate (insecure,\
                  \ use only for testing)."
                default: false
              disableEPSV:
                title: Disable EPSV
                type: boolean
                description: Disable using EPSV for passive mode. Use PASV instead.
                default: false
              disableMLSD:
                title: Disable MLSD
                type: boolean
                description: Disable using MLSD for directory listings. Use LIST instead.
                default: false
              disableUTF8:
                title: Disable UTF-8
                type: boolean
                description: Disable UTF-8 mode for non-ASCII characters.
                default: false
              writingMDTM:
                title: Use MDTM for Setting Modification Time
                type: boolean
                description: Use MDTM to set modification time (server must support
                  it).
                default: false
              noCheckUpload:
                title: No Check Upload
                type: boolean
                description: Don't check uploaded files by reading back after upload.
                default: false
              useForwardProxy:
                title: Use Forward Proxy
                type: boolean
                description: Enable forward proxy for this FTP client connection
                default: false
            description: FTP Client Configuration for remote FTP servers
          - title: Storage Local
            required:
            - path
            - tmpPath
            type: object
            properties:
              path:
                title: Path
                type: string
                description: Filesystem Path
              tmpPath:
                title: Path
                type: string
                description: Filesystem Path
              workDirectory:
                title: Path
                type: string
                description: Filesystem Path
              enableIcap:
                title: ICAP Scanning
                type: boolean
                description: Enable ICAP Scanning
            description: Storage Local Directory path
          - title: Cloud Storage
            required:
            - configuration
            type: object
            properties:
              configuration:
                title: Configuration
                type: object
                description: "RCLONE configuration in JSON format. Paste your RCLONE\
                  \ config converted to JSON. Use credential placeholders like {{\
                  \ pipeline_credentials.key }} and {{ pipeline_credentials.value\
                  \ }}."
              path:
                title: Path
                type: string
                description: Root path prefix within the bucket/container
              useForwardProxy:
                title: Use Forward Proxy
                type: boolean
                description: Enable forward proxy for cloud connections
                default: false
            description: "Cloud Storage endpoint configuration (S3, Azure Blob, Azure\
              \ Files, GCS)"
          - title: AS2 Client
            required:
            - as2ID
            - mdnDisposition
            - partnerID
            - url
            type: object
            properties:
              url:
                title: AS2 Server URL
                type: string
                format: uri
              insecureSkipVerify:
                title: Skip SSL Certificate Verification
                type: boolean
                default: false
              proxyUrl:
                title: Proxy URL (optional)
                type: string
                format: uri
              as2ID:
                title: AS2-From Identifier
                type: string
              partnerID:
                title: AS2-To Identifier
                type: string
              subject:
                title: Subject (optional)
                type: string
              headers:
                title: Custom Headers (optional)
                type: object
                additionalProperties:
                  type: string
                description: Additional HTTP headers to include in the request
              signingCertName:
                title: Signing Certificate Name
                maxLength: 255
                minLength: 1
                pattern: "^[a-zA-Z0-9_-]{1,255}$"
                type: string
                description: Certificate (X.509 private key) used to sign outgoing
                  messages
              signingPublicCertName:
                title: Public Signing Certificate Name
                maxLength: 255
                minLength: 1
                pattern: "^[a-zA-Z0-9_-]{1,255}$"
                type: string
                description: Certificate (X.509 public) provided to the AS2 receiver
                  for validate signs on outgoing messages
              signingCertPairName:
                title: Signing Certificate Pair Name
                maxLength: 255
                minLength: 1
                pattern: "^[a-zA-Z0-9_-]{1,255}$"
                type: string
                description: "Certificate (X.509 certificate with private key) used\
                  \ for both signing and public certificate. When provided, this takes\
                  \ precedence over individual signing certificates."
              encryptionCertName:
                title: Encryption Certificate Name
                maxLength: 255
                minLength: 1
                pattern: "^[a-zA-Z0-9_-]{1,255}$"
                type: string
                description: Certificate (X.509 public key from Partner) used to encrypt
                  outgoing messages
              encryptMessages:
                title: Encrypt Messages
                type: boolean
                description: Whether to encrypt outgoing messages
                default: true
              signMessages:
                title: Sign Messages
                type: boolean
                description: Whether to sign outgoing messages
                default: true
              as2Compress:
                title: Compress Messages
                type: boolean
                description: Whether to compress outgoing messages (compression-before-signing
                  for Drummond compliance)
                default: false
              mdnRequired:
                title: MDN Required
                type: boolean
                description: Whether Message Disposition Notification (MDN) is required
                default: true
              mdnSignRequired:
                title: Signed MDN Required
                type: boolean
                description: Whether signature is required on Message Disposition
                  Notification (MDN)
                default: false
              mdnDisposition:
                title: MDN Response Type
                type: string
                description: "Type of MDN response (synchronous, asynchronous, or\
                  \ none)"
                default: synchronous
                enum:
                - synchronous
                - asynchronous
                - none
              mdnTimeout:
                title: MDN Timeout (minutes)
                minimum: 1
                type: integer
                description: Maximum time to wait for asynchronous MDN responses (in
                  minutes)
                default: 1440
              validateCerts:
                title: Validate Certificates
                type: boolean
                description: "Whether to validate certificates for signing, encryption,\
                  \ and TLS"
                default: true
              micDigest:
                title: MIC Algorithms
                type: array
                description: Supported Message Integrity Check (MIC) algorithms for
                  AS2 communications
                items:
                  type: string
                  enum:
                  - sha1
                  - sha256
                  - sha512
                default:
                - sha256
                - sha512
            description: AS2 Client Configuration
          - title: Web Transfer client
            required:
            - allowChangePassword
            type: object
            properties:
              allowChangePassword:
                title: Allow change password
                type: boolean
                description: Allow change password.
                default: true
              wtcLogo:
                title: Logo
                maxLength: 300000
                type: string
                description: "Base64 encoded string of the logo image. Maximum size:\
                  \ 200KB."
              sysDisclaimerLabel:
                title: System Disclaimer Label
                type: string
                description: Custom text for the system disclaimer.
              sysVersionLabel:
                title: System Version Label
                maxLength: 255
                type: string
                description: Custom text for the system version label.
              sysIdentifierLabel:
                title: System Identifier Label
                maxLength: 255
                type: string
                description: Custom text for the system identifier banner.
              checksumAlgo:
                title: Checksum Algorithm
                type: string
                description: The algorithm to use for file checksums.
                default: md5
                enum:
                - md5
                - sha1
                - sha256
                - sha384
                - sha512
            description: Web Transfer client (WTC)
        businessService:
          title: Business Service
          type: string
          description: Business service name to assign to this endpoint
      description: Endpoint Update
    pipeline-list:
      required:
      - pipelines
      type: object
      properties:
        pipelines:
          title: Pipelines List
          type: array
          items:
            required:
            - description
            - enabled
            - name
            - version
            - workDirectory
            - workflowEnabled
            type: object
            properties:
              uuid:
                title: Resource UUID
                type: string
              createdAt:
                title: Resource Creation
                type: string
              updatedAt:
                title: Resource Update
                type: string
              version:
                title: Version
                type: integer
              tags:
                title: Tags
                type: array
                items:
                  type: string
              name:
                title: Pipeline name
                type: string
              description:
                title: Description
                type: string
              endpointSrc:
                title: Endpoint Source
                type: string
              endpointSrcConfig:
                title: Endpoint Source configuration
                type: object
                properties:
                  name:
                    title: Endpoint name
                    type: string
                  description:
                    title: Endpoint Description
                    type: string
                  type:
                    title: Endpoint type
                    type: string
                  cloudType:
                    title: Cloud Type
                    type: string
                    description: Cloud provider type. Present only for cloud::storage
                      endpoints.
                  enabled:
                    title: Endpoint Enabled
                    type: boolean
                  config:
                    title: Endpoint Configuration
                    type: object
                  activeSessions:
                    title: Endpoint Active sessions
                    type: integer
                  runtimeStatus:
                    title: Runtime status
                    type: string
                  runtimeVersion:
                    title: Runtime version
                    type: integer
                  checkStatus:
                    title: Endpoint status
                    type: string
                  checkStatusMessage:
                    title: Endpoint status message
                    type: string
                  checkStatusUpdatedAt:
                    title: Endpoint status updated at
                    type: string
                  extended:
                    title: Extended information
                    type: object
                  businessService:
                    title: Business Service
                    type: string
                    description: Business service name assigned to this endpoint
              endpointDst:
                title: Endpoint Destination
                type: string
              endpointDstConfig:
                title: Endpoint Destination configuration
                type: object
                properties:
                  name:
                    title: Endpoint name
                    type: string
                  description:
                    title: Endpoint Description
                    type: string
                  type:
                    title: Endpoint type
                    type: string
                  cloudType:
                    title: Cloud Type
                    type: string
                    description: Cloud provider type. Present only for cloud::storage
                      endpoints.
                  enabled:
                    title: Endpoint Enabled
                    type: boolean
                  config:
                    title: Endpoint Configuration
                    type: object
                  activeSessions:
                    title: Endpoint Active sessions
                    type: integer
                  runtimeStatus:
                    title: Runtime status
                    type: string
                  runtimeVersion:
                    title: Runtime version
                    type: integer
                  checkStatus:
                    title: Endpoint status
                    type: string
                  checkStatusMessage:
                    title: Endpoint status message
                    type: string
                  checkStatusUpdatedAt:
                    title: Endpoint status updated at
                    type: string
                  extended:
                    title: Extended information
                    type: object
                  businessService:
                    title: Business Service
                    type: string
                    description: Business service name assigned to this endpoint
              endpointSrcType:
                title: Endpoint Source Type
                type: string
              endpointDstType:
                title: Endpoint Destination Type
                type: string
              credentialsSrc:
                title: Credentials Source
                type: string
              credentialsDst:
                title: Credentials Destination
                type: string
              relativePath:
                title: Relative path
                type: string
              virtualPath:
                title: Virtual path
                type: string
              workDirectory:
                title: Workdirectory Path
                type: string
              workflowEnabled:
                title: Enable task workflow execution for this pipeline
                type: boolean
              enabled:
                title: Enabled
                type: boolean
              config:
                title: Configuration
                type: object
              businessService:
                title: Business Service
                type: string
            additionalProperties: false
      additionalProperties: false
    session-list:
      title: Sessions
      required:
      - sessions
      type: object
      properties:
        sessions:
          title: Sessions List
          type: array
          description: List of sessions
          items:
            title: Session
            required:
            - accountName
            - clientVersion
            - endpointName
            - id
            - logintAt
            - remoteAddr
            - sessionUUID
            - status
            type: object
            properties:
              id:
                title: Session ID
                type: integer
                description: Unique identifier for the session
                format: int64
              sessionUUID:
                title: Session UUID
                type: string
                description: UUID of the session
              endpointName:
                title: Endpoint Name
                type: string
                description: Name of the endpoint
              accountName:
                title: Account Name
                type: string
                description: Account name
              status:
                title: Session Status
                type: string
                description: Current status of the session
              logintAt:
                title: Login Time
                type: string
                description: Time when the session was logged in
                format: date-time
              logoutAt:
                title: Logout Time
                type: string
                description: Time when the session was logged out
                format: date-time
              remoteAddr:
                title: Remote Address
                type: string
                description: Remote IP address of the session
              clientVersion:
                title: Client Version
                type: string
                description: Version of the client
              nodeId:
                title: Node ID
                type: string
                description: ID of the node
            description: Session information
      description: Collection of sessions
    session-stop:
      title: Session Stop Request
      required:
      - endpointName
      - stoppedTarget
      type: object
      properties:
        endpointName:
          title: Endpoint Name
          type: string
          description: Name of the endpoint
        stoppedTarget:
          title: Stop Target
          type: string
          description: Target to stop the session by
      description: Request to stop a session
    credential-list:
      type: object
      properties:
        credentials:
          title: Credentials List
          type: array
          items:
            required:
            - description
            - enabled
            - name
            - type
            - value
            type: object
            properties:
              uuid:
                title: Resource UUID
                type: string
              createdAt:
                title: Resource Creation
                type: string
              updatedAt:
                title: Resourse Update
                type: string
              version:
                title: Resource Version
                type: integer
              name:
                title: Credentials Name
                type: string
              type:
                title: Credentials Type
                type: string
              description:
                title: Credentials Description
                type: string
              value:
                title: Credentials value
                type: string
              validFrom:
                title: Credentials valid from
                type: string
              validTo:
                title: Credentials valid to
                type: string
              enabled:
                title: Credentials Enable
                type: boolean
              businessService:
                title: Business Service
                type: string
            additionalProperties: false
      additionalProperties: false
    credential-create:
      title: Credentials
      required:
      - name
      - type
      - value
      type: object
      properties:
        type:
          title: Type
          type: string
          description: Credentials type
          enum:
          - pgp:public:key
          - pgp:private:key
          - x509:certificate
          - ssh:private:key
          - x509:private:key
          - x509:certificate:key
          - credentials:key-pair
          - credentials:auth:password
          - credentials:auth:key
          - credentials:auth:password+key
          - ssh:public:key
        name:
          title: Credentials name
          maxLength: 255
          minLength: 1
          pattern: "^[a-zA-Z0-9_-]{1,255}$"
          type: string
          description: Name
        description:
          title: Description
          maxLength: 255
          type: string
        validFrom:
          title: Valid From
          maxLength: 10
          type: string
          description: Credentials valid from date
          format: date
        validTo:
          title: Valid To
          maxLength: 10
          type: string
          description: Credentials valid to date
          format: date
        value:
          title: Value
          type: object
          description: Credentials value
          anyOf:
          - title: credentials:auth:password
            required:
            - key
            type: object
            properties:
              key:
                title: Key Name
                minLength: 1
                type: string
                description: Key Name
              value:
                title: Key Value
                type: string
                description: Key Value
            description: Auth Secret key (user) value (password/secret) pair
          - title: pgp:private:key
            required:
            - key
            type: object
            properties:
              key:
                title: Key
                minLength: 1
                type: string
            description: PGP Private Key
          - title: pgp:public:key
            required:
            - key
            type: object
            properties:
              key:
                title: Key
                minLength: 1
                type: string
            description: PGP Public Key
          - title: ssh:private:key
            required:
            - key
            type: object
            properties:
              key:
                title: Key
                minLength: 1
                type: string
            description: SSH Private Key
          - title: ssh:public:key
            required:
            - key
            type: object
            properties:
              key:
                title: Key
                minLength: 1
                type: string
            description: SSH Public Key
          - title: credentials:auth:key
            required:
            - privateKey
            - username
            type: object
            properties:
              username:
                title: Username
                minLength: 1
                type: string
                description: Username
              privateKey:
                title: privateKey
                minLength: 1
                type: string
                description: Private Key
              passphrase:
                title: Passphrase
                minLength: 1
                type: string
                description: Passphrase
            description: Authentication with PrivateKey
          - title: credentials:auth:password+key
            required:
            - password
            - privateKey
            - username
            type: object
            properties:
              username:
                title: Username
                minLength: 1
                type: string
                description: Username
              password:
                title: Password
                minLength: 1
                type: string
                description: Password
              privateKey:
                title: Private Key
                minLength: 1
                type: string
                description: Private Key
              passphrase:
                title: Passphrase
                type: string
                description: Passphrase
            description: Authentication with Password and PrivateKey
          - title: X509 Certificate
            required:
            - pemData
            type: object
            properties:
              pemData:
                title: X509 Certificate
                minLength: 1
                type: string
                description: X509 Certificate value
            description: X509 Certificate
          - title: X509 Certificate Private
            required:
            - pemData
            type: object
            properties:
              pemData:
                title: X509 Certificate Private
                minLength: 1
                type: string
                description: X509 Certificate Private value
            description: X509 Certificate Private
          - title: credentials:key-pair
            required:
            - secretKey
            - secretValue
            type: object
            properties:
              secretKey:
                title: Secret Key
                minLength: 1
                type: string
                description: Secret key
              secretValue:
                title: Secret Value
                minLength: 1
                type: string
                description: Secret value
            description: Secret Key pair
          - title: TLS Certificate
            required:
            - certificate
            - privateKey
            type: object
            properties:
              certificate:
                title: Certificate
                minLength: 1
                type: string
                description: PEM-encoded TLS/SSL certificate
              privateKey:
                title: Private Key
                minLength: 1
                type: string
                description: PEM-encoded private key for the certificate
            description: TLS/SSL Certificate with Private Key
        businessService:
          title: Business Service
          type: string
          description: Business service name to assign to this credential
      description: Credentials Creation
    credential:
      required:
      - description
      - enabled
      - name
      - type
      - value
      type: object
      properties:
        uuid:
          title: Resource UUID
          type: string
        createdAt:
          title: Resource Creation
          type: string
        updatedAt:
          title: Resourse Update
          type: string
        version:
          title: Resource Version
          type: integer
        name:
          title: Credentials Name
          type: string
        type:
          title: Credentials Type
          type: string
        description:
          title: Credentials Description
          type: string
        value:
          title: Credentials value
          type: string
        validFrom:
          title: Credentials valid from
          type: string
        validTo:
          title: Credentials valid to
          type: string
        enabled:
          title: Credentials Enable
          type: boolean
        businessService:
          title: Business Service
          type: string
      additionalProperties: false
    credential-update:
      type: object
      properties:
        name:
          type: string
        description:
          type: string
        validFrom:
          type: string
        validTo:
          type: string
        value:
          type: object
        businessService:
          type: string
      additionalProperties: false
    credential-details:
      title: Credentials
      type: object
      properties:
        uuid:
          title: Credentials UUID
          type: string
          description: Credentials UUID
        name:
          title: Credentials name
          maxLength: 255
          minLength: 1
          pattern: "^[a-zA-Z0-9_-]{1,255}$"
          type: string
          description: Name
        type:
          title: Type
          type: string
          description: Credentials type
          enum:
          - credentials:key-pair
          - credentials:auth:password
          - credentials:auth:key
          - credentials:auth:password+key
          - ssh:public:key
          - pgp:public:key
          - pgp:private:key
          - x509:certificate
          - ssh:private:key
          - x509:private:key
          - x509:certificate:key
        details:
          title: Value
          type: object
          description: Credentials Details
          anyOf:
          - title: credentials:auth:password
            required:
            - key
            type: object
            properties:
              key:
                title: Key Name
                minLength: 1
                type: string
                description: Key Name
              value:
                title: Key Value
                type: string
                description: Key Value
            description: Auth Secret key (user) value (password/secret) pair
          - title: credentials:key-pair
            required:
            - secretKey
            - secretValue
            type: object
            properties:
              secretKey:
                title: Secret Key
                minLength: 1
                type: string
                description: Secret key
              secretValue:
                title: Secret Value
                minLength: 1
                type: string
                description: Secret value
            description: Secret Key pair
          - title: credentials:auth:key
            required:
            - privateKey
            - username
            type: object
            properties:
              username:
                title: Username
                minLength: 1
                type: string
                description: Username
              privateKey:
                title: privateKey
                minLength: 1
                type: string
                description: Private Key
              passphrase:
                title: Passphrase
                minLength: 1
                type: string
                description: Passphrase
            description: Authentication with PrivateKey
          - title: credentials:auth:password+key
            required:
            - password
            - privateKey
            - username
            type: object
            properties:
              username:
                title: Username
                minLength: 1
                type: string
                description: Username
              password:
                title: Password
                minLength: 1
                type: string
                description: Password
              privateKey:
                title: Private Key
                minLength: 1
                type: string
                description: Private Key
              passphrase:
                title: Passphrase
                type: string
                description: Passphrase
            description: Authentication with Password and PrivateKey
          - title: Private Key Details
            type: object
            properties:
              algorithm:
                title: Algorithm
                type: string
              keyType:
                title: Key Type
                type: string
              fingerprintMD5:
                title: Fingerprint MD5
                type: string
              fingerprintSHA256:
                title: Fingerprint SHA256
                type: string
              authorizedKeysLine:
                title: Authorized Keys Line
                type: string
              bits:
                title: Bits
                type: integer
            description: Details of a parsed private key
          - title: Public Key Details
            type: object
            properties:
              algorithm:
                title: Algorithm
                type: string
              bits:
                title: Bits
                type: integer
              comment:
                title: Comments
                type: string
              fingerprintMD5:
                title: Fingerprint MD5
                type: string
              fingerprintSHA256:
                title: Fingerprint SHA256
                type: string
              authorizedKeysLine:
                title: Authorized Keys Line
                type: string
            description: Details of a parsed public key
          - title: PGP Details
            type: object
            properties:
              keyId:
                title: Key ID
                type: string
              fingerprint:
                title: Fingerprint
                type: string
              userIds:
                title: UserID Information
                type: array
                items:
                  type: string
              isPrivate:
                title: Private Key
                type: boolean
              canEncrypt:
                title: Can Encrypt
                type: boolean
              canSign:
                title: Can Sign
                type: boolean
            description: Parsed information about the GPG key
          - title: X509 Certificate Private
            required:
            - pemData
            type: object
            properties:
              pemData:
                title: X509 Certificate Private
                minLength: 1
                type: string
                description: X509 Certificate Private value
              type:
                title: X509 Certificate Algo type
                minLength: 1
                type: string
                description: X509 Certificate Algo type
              size:
                title: X509 Certificate bit size
                type: string
                description: X509 Certificate bit size
            description: X509 Certificate Private details
          - title: X509 Certificate Public
            type: object
            properties:
              pemData:
                title: X509 Certificate
                minLength: 1
                type: string
                description: X509 Certificate value
              details:
                title: X509 Certificate details
                type: array
                items:
                  title: Certificate Details
                  type: object
                  properties:
                    signatureAlgorithm:
                      title: Signature Algorithm
                      minLength: 1
                      type: string
                      description: Algorithm used to sign the certificate
                    algorithm:
                      title: Public Key Algorithm
                      minLength: 1
                      type: string
                      description: Algorithm of the certificate's public key
                    bits:
                      title: Key Size in Bits
                      type: integer
                      description: Size of the public key in bits
                    version:
                      title: Certificate Version
                      type: integer
                      description: X.509 certificate version
                    serialNumber:
                      title: Serial Number
                      minLength: 1
                      type: string
                      description: Certificate serial number
                    subject:
                      title: Subject
                      minLength: 1
                      type: string
                      description: Certificate subject distinguished name
                    issuer:
                      title: Issuer
                      minLength: 1
                      type: string
                      description: Certificate issuer distinguished name
                    notBefore:
                      title: Valid From
                      type: string
                      description: Certificate validity start date and time
                      format: date-time
                    notAfter:
                      title: Valid Until
                      type: string
                      description: Certificate validity end date and time
                      format: date-time
                    basicConstraintsValid:
                      title: Basic Constraints Valid
                      type: boolean
                      description: Whether basic constraints extension is valid
                    isCA:
                      title: Is Certificate Authority
                      type: boolean
                      description: Whether the certificate is a CA certificate
                    maxPathLen:
                      title: Maximum Path Length
                      type: integer
                      description: Maximum path length for CA certificates
                    fingerprintMD5:
                      title: MD5 Fingerprint
                      minLength: 1
                      type: string
                      description: MD5 fingerprint of the certificate
                    fingerprintSHA1:
                      title: SHA1 Fingerprint
                      minLength: 1
                      type: string
                      description: SHA1 fingerprint of the certificate
                    fingerprintSHA256:
                      title: SHA256 Fingerprint
                      minLength: 1
                      type: string
                      description: SHA256 fingerprint of the certificate
                    SAN:
                      title: Certificate Subject Alternative Name
                      type: object
                      properties:
                        DNSNames:
                          title: DNS Names
                          type: array
                          description: List of DNS names in Subject Alternative Name
                          items:
                            type: string
                        emailAddresses:
                          title: Email Addresses
                          type: array
                          description: List of email addresses in Subject Alternative
                            Name
                          items:
                            type: string
                        IPAddresses:
                          title: IP Addresses
                          type: array
                          description: List of IP addresses in Subject Alternative
                            Name
                          items:
                            type: string
                        URIs:
                          title: URIs
                          type: array
                          description: List of URIs in Subject Alternative Name
                          items:
                            type: string
                      description: Subject Alternative Name extension details
                  description: Detailed information about an X.509 certificate
            description: X509 Certificate
          - title: TLS Certificate
            type: object
            properties:
              certificateDetails:
                title: Certificate Details
                type: object
                properties:
                  signatureAlgorithm:
                    title: Signature Algorithm
                    minLength: 1
                    type: string
                    description: Algorithm used to sign the certificate
                  algorithm:
                    title: Public Key Algorithm
                    minLength: 1
                    type: string
                    description: Algorithm of the certificate's public key
                  bits:
                    title: Key Size in Bits
                    type: integer
                    description: Size of the public key in bits
                  version:
                    title: Certificate Version
                    type: integer
                    description: X.509 certificate version
                  serialNumber:
                    title: Serial Number
                    minLength: 1
                    type: string
                    description: Certificate serial number
                  subject:
                    title: Subject
                    minLength: 1
                    type: string
                    description: Certificate subject distinguished name
                  issuer:
                    title: Issuer
                    minLength: 1
                    type: string
                    description: Certificate issuer distinguished name
                  notBefore:
                    title: Valid From
                    type: string
                    description: Certificate validity start date and time
                    format: date-time
                  notAfter:
                    title: Valid Until
                    type: string
                    description: Certificate validity end date and time
                    format: date-time
                  basicConstraintsValid:
                    title: Basic Constraints Valid
                    type: boolean
                    description: Whether basic constraints extension is valid
                  isCA:
                    title: Is Certificate Authority
                    type: boolean
                    description: Whether the certificate is a CA certificate
                  maxPathLen:
                    title: Maximum Path Length
                    type: integer
                    description: Maximum path length for CA certificates
                  fingerprintMD5:
                    title: MD5 Fingerprint
                    minLength: 1
                    type: string
                    description: MD5 fingerprint of the certificate
                  fingerprintSHA1:
                    title: SHA1 Fingerprint
                    minLength: 1
                    type: string
                    description: SHA1 fingerprint of the certificate
                  fingerprintSHA256:
                    title: SHA256 Fingerprint
                    minLength: 1
                    type: string
                    description: SHA256 fingerprint of the certificate
                  SAN:
                    title: Certificate Subject Alternative Name
                    type: object
                    properties:
                      DNSNames:
                        title: DNS Names
                        type: array
                        description: List of DNS names in Subject Alternative Name
                        items:
                          type: string
                      emailAddresses:
                        title: Email Addresses
                        type: array
                        description: List of email addresses in Subject Alternative
                          Name
                        items:
                          type: string
                      IPAddresses:
                        title: IP Addresses
                        type: array
                        description: List of IP addresses in Subject Alternative Name
                        items:
                          type: string
                      URIs:
                        title: URIs
                        type: array
                        description: List of URIs in Subject Alternative Name
                        items:
                          type: string
                    description: Subject Alternative Name extension details
                description: Detailed information about an X.509 certificate
              privateKeyDetails:
                title: Private Key Details
                type: object
                properties:
                  algorithm:
                    title: Algorithm
                    type: string
                  keyType:
                    title: Key Type
                    type: string
                  fingerprintMD5:
                    title: Fingerprint MD5
                    type: string
                  fingerprintSHA256:
                    title: Fingerprint SHA256
                    type: string
                  authorizedKeysLine:
                    title: Authorized Keys Line
                    type: string
                  bits:
                    title: Bits
                    type: integer
                description: Details of a parsed private key
            description: TLS Certificate Public/Private details
      description: Credentials Details
    pipeline:
      required:
      - description
      - enabled
      - name
      - version
      - workDirectory
      - workflowEnabled
      type: object
      properties:
        uuid:
          title: Resource UUID
          type: string
        createdAt:
          title: Resource Creation
          type: string
        updatedAt:
          title: Resource Update
          type: string
        version:
          title: Version
          type: integer
        tags:
          title: Tags
          type: array
          items:
            type: string
        name:
          title: Pipeline name
          type: string
        description:
          title: Description
          type: string
        endpointSrc:
          title: Endpoint Source
          type: string
        endpointSrcConfig:
          title: Endpoint Source configuration
          type: object
          properties:
            name:
              title: Endpoint name
              type: string
            description:
              title: Endpoint Description
              type: string
            type:
              title: Endpoint type
              type: string
            cloudType:
              title: Cloud Type
              type: string
              description: Cloud provider type. Present only for cloud::storage endpoints.
            enabled:
              title: Endpoint Enabled
              type: boolean
            config:
              title: Endpoint Configuration
              type: object
            activeSessions:
              title: Endpoint Active sessions
              type: integer
            runtimeStatus:
              title: Runtime status
              type: string
            runtimeVersion:
              title: Runtime version
              type: integer
            checkStatus:
              title: Endpoint status
              type: string
            checkStatusMessage:
              title: Endpoint status message
              type: string
            checkStatusUpdatedAt:
              title: Endpoint status updated at
              type: string
            extended:
              title: Extended information
              type: object
            businessService:
              title: Business Service
              type: string
              description: Business service name assigned to this endpoint
        endpointDst:
          title: Endpoint Destination
          type: string
        endpointDstConfig:
          title: Endpoint Destination configuration
          type: object
          properties:
            name:
              title: Endpoint name
              type: string
            description:
              title: Endpoint Description
              type: string
            type:
              title: Endpoint type
              type: string
            cloudType:
              title: Cloud Type
              type: string
              description: Cloud provider type. Present only for cloud::storage endpoints.
            enabled:
              title: Endpoint Enabled
              type: boolean
            config:
              title: Endpoint Configuration
              type: object
            activeSessions:
              title: Endpoint Active sessions
              type: integer
            runtimeStatus:
              title: Runtime status
              type: string
            runtimeVersion:
              title: Runtime version
              type: integer
            checkStatus:
              title: Endpoint status
              type: string
            checkStatusMessage:
              title: Endpoint status message
              type: string
            checkStatusUpdatedAt:
              title: Endpoint status updated at
              type: string
            extended:
              title: Extended information
              type: object
            businessService:
              title: Business Service
              type: string
              description: Business service name assigned to this endpoint
        endpointSrcType:
          title: Endpoint Source Type
          type: string
        endpointDstType:
          title: Endpoint Destination Type
          type: string
        credentialsSrc:
          title: Credentials Source
          type: string
        credentialsDst:
          title: Credentials Destination
          type: string
        relativePath:
          title: Relative path
          type: string
        virtualPath:
          title: Virtual path
          type: string
        workDirectory:
          title: Workdirectory Path
          type: string
        workflowEnabled:
          title: Enable task workflow execution for this pipeline
          type: boolean
        enabled:
          title: Enabled
          type: boolean
        config:
          title: Configuration
          type: object
        businessService:
          title: Business Service
          type: string
      additionalProperties: false
    account:
      title: Account Response
      required:
      - createdAt
      - enabled
      - loginMethod
      - name
      - username
      - uuid
      - version
      type: object
      properties:
        name:
          title: Name
          type: string
          description: Account name
        username:
          title: Account username
          type: string
          description: Account username
        loginMethod:
          title: Authentication Type
          type: string
          description: Type of authentication
          enum:
          - standard
          - ldap
          - oauth2
          - openid
          - saml
        email:
          title: Email
          type: string
          description: Account email address
        firstName:
          title: First Name
          type: string
          description: Account first name
        lastName:
          title: Last Name
          type: string
          description: Account last name
        enabled:
          title: Enabled
          type: boolean
          description: Account enabled status
        as2Id:
          title: AS2 Identifier
          type: string
          description: AS2 identifier for this account when used as an AS2 partner
        totpRequired:
          title: TOTP Required
          type: boolean
          description: Whether TOTP (2FA) is required for this account
        totpActivated:
          title: TOTP Activated
          type: boolean
          description: Whether TOTP (2FA) is currently activated for this account
        businessService:
          title: Business Service
          type: string
          description: Business service name assigned to this account
        uuid:
          title: Resource UUID
          type: string
          description: Resource Identifier
        createdAt:
          title: Resource Creation
          type: string
          description: Resource Creation time
        updatedAt:
          title: Resource Update
          type: string
          description: Resource Updated time
        version:
          title: Resource Version
          type: integer
          description: Resource version
      description: Account information response
    account-list:
      title: Accounts List
      type: object
      properties:
        accounts:
          type: array
          items:
            title: Account Response
            required:
            - createdAt
            - enabled
            - loginMethod
            - name
            - username
            - uuid
            - version
            type: object
            properties:
              name:
                title: Name
                type: string
                description: Account name
              username:
                title: Account username
                type: string
                description: Account username
              loginMethod:
                title: Authentication Type
                type: string
                description: Type of authentication
                enum:
                - saml
                - standard
                - ldap
                - oauth2
                - openid
              email:
                title: Email
                type: string
                description: Account email address
              firstName:
                title: First Name
                type: string
                description: Account first name
              lastName:
                title: Last Name
                type: string
                description: Account last name
              enabled:
                title: Enabled
                type: boolean
                description: Account enabled status
              as2Id:
                title: AS2 Identifier
                type: string
                description: AS2 identifier for this account when used as an AS2 partner
              totpRequired:
                title: TOTP Required
                type: boolean
                description: Whether TOTP (2FA) is required for this account
              totpActivated:
                title: TOTP Activated
                type: boolean
                description: Whether TOTP (2FA) is currently activated for this account
              businessService:
                title: Business Service
                type: string
                description: Business service name assigned to this account
              uuid:
                title: Resource UUID
                type: string
                description: Resource Identifier
              createdAt:
                title: Resource Creation
                type: string
                description: Resource Creation time
              updatedAt:
                title: Resource Update
                type: string
                description: Resource Updated time
              version:
                title: Resource Version
                type: integer
                description: Resource version
            description: Account information response
      description: List of accounts
    account-create:
      title: Account Create
      required:
      - loginMethod
      - name
      - password
      - username
      type: object
      properties:
        name:
          title: Account Name
          maxLength: 255
          minLength: 1
          pattern: "^[a-zA-Z0-9_.@-]{1,255}$"
          type: string
          description: Name of the account
        description:
          title: Description
          maxLength: 255
          type: string
          description: Account description
        username:
          title: Account username
          maxLength: 255
          minLength: 1
          pattern: "^[a-zA-Z0-9_.@-]{1,255}$"
          type: string
          description: Account username
        email:
          title: Email
          maxLength: 255
          type: string
          description: Account email address
          format: email
        firstName:
          title: First Name
          maxLength: 255
          type: string
          description: Account first name
        lastName:
          title: Last Name
          maxLength: 255
          type: string
          description: Account last name
        loginMethod:
          title: Authentication Type
          type: string
          description: Type of authentication
          enum:
          - standard
        as2Id:
          title: AS2 Identifier
          type: string
          description: AS2 identifier for this account when used as an AS2 partner
        password:
          title: Password
          minLength: 1
          type: string
          description: Account password
        totpRequired:
          title: TOTP Required
          type: boolean
          description: Whether TOTP (2FA) is required for this account
          default: false
        businessService:
          title: Business Service
          type: string
          description: Business service name to assign to this account
      description: Account creation request
    account-update:
      title: Account Update
      type: object
      properties:
        name:
          title: Account Name
          maxLength: 255
          minLength: 1
          pattern: "^[a-zA-Z0-9_.@-]{1,255}$"
          type: string
          description: Name of the account
        description:
          title: Description
          maxLength: 255
          type: string
          description: Account description
        username:
          title: Account username
          maxLength: 255
          minLength: 1
          pattern: "^[a-zA-Z0-9_.@-]{1,255}$"
          type: string
          description: Account username
        email:
          title: Email
          maxLength: 255
          type: string
          description: Account email address
          format: email
        firstName:
          title: First Name
          maxLength: 255
          type: string
          description: Account first name
        lastName:
          title: Last Name
          maxLength: 255
          type: string
          description: Account last name
        loginMethod:
          title: Authentication Type
          type: string
          description: Type of authentication
          enum:
          - standard
          - ldap
        as2Id:
          title: AS2 Identifier
          type: string
          description: AS2 identifier for this account when used as an AS2 partner
        totpRequired:
          title: TOTP Required
          type: boolean
          description: Whether TOTP (2FA) is required for this account
        businessService:
          title: Business Service
          type: string
          description: Business service name to assign to this account
      description: Account Update request
    account-password:
      title: Account Password
      required:
      - password
      type: object
      properties:
        password:
          title: Password
          minLength: 1
          type: string
          description: New account password
      description: Account password change request
    users-list:
      title: Users List
      type: object
      properties:
        users:
          title: Users
          type: array
          items:
            title: User Response
            type: object
            properties:
              username:
                title: Username
                type: string
                description: User name
              email:
                title: Email
                type: string
                description: User email address
              firstName:
                title: First Name
                type: string
                description: User First Name
              lastName:
                title: Last Name
                type: string
                description: User Last Name
              description:
                title: Description
                type: string
                description: User description
              enabled:
                title: Enabled
                type: boolean
                description: User enabled status
              locked:
                title: Locked
                type: boolean
                description: User locked status
              lastPasswordChange:
                title: Last Password Change
                type: string
                description: Timestamp of last password change
              loginMethod:
                title: Login method
                type: string
                description: Login method
              source:
                title: User Source
                type: string
                description: User Source
              role:
                title: Role
                type: string
                description: User role
              totpRequired:
                title: TOTP Required
                type: boolean
                description: TOTP Required
              totpActivated:
                title: TOTP Activated
                type: boolean
                description: TOTP Activated
              totpSecret:
                title: TOTP Secret
                type: string
                description: TOTP Secret
              businessServices:
                title: Business Services
                type: array
                description: List of business service names assigned to the user
                items:
                  type: string
              uuid:
                title: Resource UUID
                type: string
                description: Resource Identifier
              createdAt:
                title: Resource Creation
                type: string
                description: Resource Creation time
              updatedAt:
                title: Resource Update
                type: string
                description: Resource Updated time
              version:
                title: Resource Version
                type: integer
                description: Resource version
            description: User information
      description: List of users
    user-create:
      title: User
      required:
      - firstName
      - loginMethod
      - password
      - role
      - username
      type: object
      properties:
        username:
          title: Username
          pattern: "^[a-zA-Z0-9_.@-]{1,255}$"
          type: string
          description: Username
        email:
          title: Email
          type: string
          description: User email address
          format: email
        password:
          title: Password
          minLength: 1
          type: string
          description: User password
        loginMethod:
          title: Login type
          type: string
          description: Login type
          enum:
          - standard
        role:
          title: Role
          type: string
          description: User role
          enum:
          - admin
          - operator
          - readonly
          - system
          - pipeline
        firstName:
          title: User first name
          pattern: "^[a-zA-Z0-9_-]{1,255}$"
          type: string
          description: User first name
        lastName:
          title: User last name
          pattern: "^[a-zA-Z0-9_-]{1,255}$"
          type: string
          description: User last name
        description:
          title: Description
          type: string
          description: User description
        totpRequired:
          title: TOTP Required
          type: boolean
          description: TOTP Required
        businessServices:
          title: Business Services
          type: array
          description: List of business service names to assign to the user
          items:
            type: string
      description: User creation information
    users:
      title: User Response
      type: object
      properties:
        username:
          title: Username
          type: string
          description: User name
        email:
          title: Email
          type: string
          description: User email address
        firstName:
          title: First Name
          type: string
          description: User First Name
        lastName:
          title: Last Name
          type: string
          description: User Last Name
        description:
          title: Description
          type: string
          description: User description
        enabled:
          title: Enabled
          type: boolean
          description: User enabled status
        locked:
          title: Locked
          type: boolean
          description: User locked status
        lastPasswordChange:
          title: Last Password Change
          type: string
          description: Timestamp of last password change
        loginMethod:
          title: Login method
          type: string
          description: Login method
        source:
          title: User Source
          type: string
          description: User Source
        role:
          title: Role
          type: string
          description: User role
        totpRequired:
          title: TOTP Required
          type: boolean
          description: TOTP Required
        totpActivated:
          title: TOTP Activated
          type: boolean
          description: TOTP Activated
        totpSecret:
          title: TOTP Secret
          type: string
          description: TOTP Secret
        businessServices:
          title: Business Services
          type: array
          description: List of business service names assigned to the user
          items:
            type: string
        uuid:
          title: Resource UUID
          type: string
          description: Resource Identifier
        createdAt:
          title: Resource Creation
          type: string
          description: Resource Creation time
        updatedAt:
          title: Resource Update
          type: string
          description: Resource Updated time
        version:
          title: Resource Version
          type: integer
          description: Resource version
      description: User information
    users-update:
      title: User Update
      type: object
      properties:
        username:
          title: Username
          maxLength: 255
          minLength: 1
          pattern: "^[a-zA-Z0-9_.@-]{1,255}$"
          type: string
          description: Username
        email:
          title: Email
          type: string
          description: User email address
          format: email
        firstName:
          title: User first name
          pattern: "^[a-zA-Z0-9_-]{1,255}$"
          type: string
          description: User first name
        lastName:
          title: User last name
          pattern: "^[a-zA-Z0-9_-]{1,255}$"
          type: string
          description: User last name
        description:
          title: Description
          type: string
          description: User description
        role:
          title: Role
          type: string
          description: User role
          enum:
          - admin
          - operator
          - readonly
          - system
          - pipeline
        loginMethod:
          title: Login method
          type: string
          description: Login method
          enum:
          - standard
          - ldap
          - oidc/oauth
          - openid
          - saml
        totpRequired:
          title: TOTP Required
          type: boolean
          description: TOTP Required
        businessServices:
          title: Business Services
          type: array
          description: "List of business service names to assign to the user. If provided,\
            \ replaces all current assignments. If omitted, assignments remain unchanged."
          items:
            type: string
      description: User update information
    users-password:
      title: User Password
      required:
      - password
      type: object
      properties:
        password:
          title: Password
          minLength: 1
          type: string
          description: User password
      description: User password change information
    token-list:
      title: Tokens List
      type: object
      properties:
        tokens:
          title: Tokens
          type: array
          items:
            title: Token Response
            type: object
            properties:
              uuid:
                title: UUID
                type: string
                description: Resource UUID
              name:
                title: Token Name
                type: string
                description: Name of the token
              description:
                title: Description
                type: string
                description: Token description
              token:
                title: Token Value
                type: string
                description: The actual token string
              expiresAt:
                title: Expiration Date
                type: string
                description: Token expiration timestamp
                format: date
              createdAt:
                title: Creation Date
                type: string
                description: Token creation timestamp
                format: date-time
              lastUsed:
                title: Last Used Date
                type: string
                description: Token last usage timestamp
                format: date-time
            description: Token information response
      description: List of tokens
    token-create:
      title: Token Create
      required:
      - name
      type: object
      properties:
        name:
          title: Token Name
          maxLength: 255
          minLength: 1
          pattern: "^[a-zA-Z0-9_-]{1,255}$"
          type: string
          description: Token name
        description:
          title: Description
          maxLength: 255
          type: string
          description: Token description
        expiresAt:
          title: Expiration Date
          type: string
          description: Token expiration date (YYYY-MM-DD)
          format: date
      description: Token creation request
    token-response:
      title: Token Response
      type: object
      properties:
        uuid:
          title: UUID
          type: string
          description: Resource UUID
        name:
          title: Token Name
          type: string
          description: Name of the token
        description:
          title: Description
          type: string
          description: Token description
        token:
          title: Token Value
          type: string
          description: The actual token string
        expiresAt:
          title: Expiration Date
          type: string
          description: Token expiration timestamp
          format: date
        createdAt:
          title: Creation Date
          type: string
          description: Token creation timestamp
          format: date-time
        lastUsed:
          title: Last Used Date
          type: string
          description: Token last usage timestamp
          format: date-time
      description: Token information response
    roles-list:
      type: object
      properties:
        roles:
          title: Role List
          type: array
          items:
            title: Role Create
            required:
            - name
            type: object
            properties:
              name:
                title: Role Name
                maxLength: 255
                minLength: 1
                pattern: "^[a-zA-Z0-9_-]{1,255}$"
                type: string
                description: Name of the role
              description:
                title: Description
                type: string
                description: Role description
              permissions:
                title: Permission
                type: object
                properties:
                  audit:
                    title: Permission
                    type: object
                    properties:
                      all:
                        title: Allow all
                        type: boolean
                      create:
                        title: Allow to Create
                        type: boolean
                      read:
                        title: Allow to Read
                        type: boolean
                      update:
                        title: Allow to Update
                        type: boolean
                      delete:
                        title: Allow to Delete
                        type: boolean
                    description: Role Permission Configuration
                  cluster:
                    title: Permission
                    type: object
                    properties:
                      all:
                        title: Allow all
                        type: boolean
                      create:
                        title: Allow to Create
                        type: boolean
                      read:
                        title: Allow to Read
                        type: boolean
                      update:
                        title: Allow to Update
                        type: boolean
                      delete:
                        title: Allow to Delete
                        type: boolean
                    description: Role Permission Configuration
                  domainConfig:
                    title: Permission
                    type: object
                    properties:
                      all:
                        title: Allow all
                        type: boolean
                      create:
                        title: Allow to Create
                        type: boolean
                      read:
                        title: Allow to Read
                        type: boolean
                      update:
                        title: Allow to Update
                        type: boolean
                      delete:
                        title: Allow to Delete
                        type: boolean
                    description: Role Permission Configuration
                  domain:
                    title: Permission
                    type: object
                    properties:
                      all:
                        title: Allow all
                        type: boolean
                      create:
                        title: Allow to Create
                        type: boolean
                      read:
                        title: Allow to Read
                        type: boolean
                      update:
                        title: Allow to Update
                        type: boolean
                      delete:
                        title: Allow to Delete
                        type: boolean
                    description: Role Permission Configuration
                  users:
                    type: object
                    properties:
                      all:
                        title: Allow all
                        type: boolean
                      create:
                        title: Allow to Create
                        type: boolean
                      read:
                        title: Allow to Read
                        type: boolean
                      update:
                        title: Allow to Update
                        type: boolean
                      delete:
                        title: Allow to Delete
                        type: boolean
                      enable:
                        type: boolean
                        description: Allow to Enable
                        default: false
                      disable:
                        type: boolean
                        description: Allow to Disable
                        default: false
                    description: PermissionGeneral - Basic permissions with Enable/Disable
                  credentials:
                    type: object
                    properties:
                      all:
                        title: Allow all
                        type: boolean
                      create:
                        title: Allow to Create
                        type: boolean
                      read:
                        title: Allow to Read
                        type: boolean
                      update:
                        title: Allow to Update
                        type: boolean
                      delete:
                        title: Allow to Delete
                        type: boolean
                      enable:
                        type: boolean
                        description: Allow to Enable
                        default: false
                      disable:
                        type: boolean
                        description: Allow to Disable
                        default: false
                      reveal:
                        title: Allow to Reveal Secrets
                        type: boolean
                    description: PermissionCredentials - Only for the ones that have
                      implemented Credentials
                  pipelines:
                    type: object
                    properties:
                      all:
                        title: Allow all
                        type: boolean
                      create:
                        title: Allow to Create
                        type: boolean
                      read:
                        title: Allow to Read
                        type: boolean
                      update:
                        title: Allow to Update
                        type: boolean
                      delete:
                        title: Allow to Delete
                        type: boolean
                      enable:
                        type: boolean
                        description: Allow to Enable
                        default: false
                      disable:
                        type: boolean
                        description: Allow to Disable
                        default: false
                      start:
                        type: boolean
                        description: Allow to Start
                        default: false
                      stop:
                        type: boolean
                        description: Allow to Stop
                        default: false
                    description: PermissionPipelines - Permissions for Pipelines
                  endpoints:
                    type: object
                    properties:
                      all:
                        title: Allow all
                        type: boolean
                      create:
                        title: Allow to Create
                        type: boolean
                      read:
                        title: Allow to Read
                        type: boolean
                      update:
                        title: Allow to Update
                        type: boolean
                      delete:
                        title: Allow to Delete
                        type: boolean
                      enable:
                        type: boolean
                        description: Allow to Enable
                        default: false
                      disable:
                        type: boolean
                        description: Allow to Disable
                        default: false
                      start:
                        type: boolean
                        description: Allow to Start
                        default: false
                      stop:
                        type: boolean
                        description: Allow to Stop
                        default: false
                    description: PermissionEndpoints - Permissions for Endpoints
                  accountsGroups:
                    type: object
                    properties:
                      all:
                        title: Allow all
                        type: boolean
                      create:
                        title: Allow to Create
                        type: boolean
                      read:
                        title: Allow to Read
                        type: boolean
                      update:
                        title: Allow to Update
                        type: boolean
                      delete:
                        title: Allow to Delete
                        type: boolean
                      enable:
                        type: boolean
                        description: Allow to Enable
                        default: false
                      disable:
                        type: boolean
                        description: Allow to Disable
                        default: false
                    description: PermissionGeneral - Basic permissions with Enable/Disable
                  accounts:
                    type: object
                    properties:
                      all:
                        title: Allow all
                        type: boolean
                      create:
                        title: Allow to Create
                        type: boolean
                      read:
                        title: Allow to Read
                        type: boolean
                      update:
                        title: Allow to Update
                        type: boolean
                      delete:
                        title: Allow to Delete
                        type: boolean
                      enable:
                        type: boolean
                        description: Allow to Enable
                        default: false
                      disable:
                        type: boolean
                        description: Allow to Disable
                        default: false
                    description: PermissionGeneral - Basic permissions with Enable/Disable
                  transfers:
                    type: object
                    properties:
                      all:
                        title: Allow all
                        type: boolean
                      create:
                        title: Allow to Create
                        type: boolean
                      read:
                        title: Allow to Read
                        type: boolean
                      update:
                        title: Allow to Update
                        type: boolean
                      delete:
                        title: Allow to Delete
                        type: boolean
                      start:
                        type: boolean
                        description: Allow to Start
                        default: false
                      stop:
                        type: boolean
                        description: Allow to Stop
                        default: false
                    description: PermissionTransfers - Permissions for Transfers
                  sessions:
                    type: object
                    properties:
                      read:
                        type: boolean
                        description: Allow to Read Sessions
                        default: false
                      stop:
                        type: boolean
                        description: Allow to Stop Sessions
                        default: false
                    description: PermissionSessions - Permissions for Sessions
                  accountIPRules:
                    title: Permission
                    type: object
                    properties:
                      all:
                        title: Allow all
                        type: boolean
                      create:
                        title: Allow to Create
                        type: boolean
                      read:
                        title: Allow to Read
                        type: boolean
                      update:
                        title: Allow to Update
                        type: boolean
                      delete:
                        title: Allow to Delete
                        type: boolean
                    description: Role Permission Configuration
                  systemUserIPRules:
                    title: Permission
                    type: object
                    properties:
                      all:
                        title: Allow all
                        type: boolean
                      create:
                        title: Allow to Create
                        type: boolean
                      read:
                        title: Allow to Read
                        type: boolean
                      update:
                        title: Allow to Update
                        type: boolean
                      delete:
                        title: Allow to Delete
                        type: boolean
                    description: Role Permission Configuration
                  sso:
                    type: object
                    properties:
                      all:
                        title: Allow all
                        type: boolean
                      create:
                        title: Allow to Create
                        type: boolean
                      read:
                        title: Allow to Read
                        type: boolean
                      update:
                        title: Allow to Update
                        type: boolean
                      delete:
                        title: Allow to Delete
                        type: boolean
                      enable:
                        type: boolean
                        description: Allow to Enable
                        default: false
                      disable:
                        type: boolean
                        description: Allow to Disable
                        default: false
                    description: PermissionGeneral - Basic permissions with Enable/Disable
                  icap:
                    type: object
                    properties:
                      all:
                        title: Allow all
                        type: boolean
                      create:
                        title: Allow to Create
                        type: boolean
                      read:
                        title: Allow to Read
                        type: boolean
                      update:
                        title: Allow to Update
                        type: boolean
                      delete:
                        title: Allow to Delete
                        type: boolean
                      enable:
                        type: boolean
                        description: Allow to Enable
                        default: false
                      disable:
                        type: boolean
                        description: Allow to Disable
                        default: false
                    description: PermissionGeneral - Basic permissions with Enable/Disable
                  ldapUsers:
                    type: object
                    properties:
                      all:
                        title: Allow all
                        type: boolean
                      create:
                        title: Allow to Create
                        type: boolean
                      read:
                        title: Allow to Read
                        type: boolean
                      update:
                        title: Allow to Update
                        type: boolean
                      delete:
                        title: Allow to Delete
                        type: boolean
                      enable:
                        type: boolean
                        description: Allow to Enable
                        default: false
                      disable:
                        type: boolean
                        description: Allow to Disable
                        default: false
                    description: PermissionGeneral - Basic permissions with Enable/Disable
                  ldapAccounts:
                    type: object
                    properties:
                      all:
                        title: Allow all
                        type: boolean
                      create:
                        title: Allow to Create
                        type: boolean
                      read:
                        title: Allow to Read
                        type: boolean
                      update:
                        title: Allow to Update
                        type: boolean
                      delete:
                        title: Allow to Delete
                        type: boolean
                      enable:
                        type: boolean
                        description: Allow to Enable
                        default: false
                      disable:
                        type: boolean
                        description: Allow to Disable
                        default: false
                    description: PermissionGeneral - Basic permissions with Enable/Disable
                  businessServices:
                    title: Permission
                    type: object
                    properties:
                      all:
                        title: Allow all
                        type: boolean
                      create:
                        title: Allow to Create
                        type: boolean
                      read:
                        title: Allow to Read
                        type: boolean
                      update:
                        title: Allow to Update
                        type: boolean
                      delete:
                        title: Allow to Delete
                        type: boolean
                    description: Role Permission Configuration
                  forwardProxy:
                    type: object
                    properties:
                      all:
                        title: Allow all
                        type: boolean
                      create:
                        title: Allow to Create
                        type: boolean
                      read:
                        title: Allow to Read
                        type: boolean
                      update:
                        title: Allow to Update
                        type: boolean
                      delete:
                        title: Allow to Delete
                        type: boolean
                      enable:
                        type: boolean
                        description: Allow to Enable
                        default: false
                      disable:
                        type: boolean
                        description: Allow to Disable
                        default: false
                    description: PermissionGeneral - Basic permissions with Enable/Disable
                  tasks:
                    title: Permission
                    type: object
                    properties:
                      all:
                        title: Allow all
                        type: boolean
                      create:
                        title: Allow to Create
                        type: boolean
                      read:
                        title: Allow to Read
                        type: boolean
                      update:
                        title: Allow to Update
                        type: boolean
                      delete:
                        title: Allow to Delete
                        type: boolean
                    description: Role Permission Configuration
                  taskInstances:
                    title: Permission
                    type: object
                    properties:
                      all:
                        title: Allow all
                        type: boolean
                      create:
                        title: Allow to Create
                        type: boolean
                      read:
                        title: Allow to Read
                        type: boolean
                      update:
                        title: Allow to Update
                        type: boolean
                      delete:
                        title: Allow to Delete
                        type: boolean
                    description: Role Permission Configuration
                description: Role Access
            description: Role creation request
      additionalProperties: false
    user-profile-password:
      title: User Profile Password
      required:
      - currentPassword
      - newPassword
      type: object
      properties:
        currentPassword:
          title: Password
          type: string
          description: Current password
        newPassword:
          title: New Password
          minLength: 1
          type: string
      description: Change user password
    pipeline-create:
      required:
      - config
      - endpointDst
      - endpointSrc
      - name
      - relativePath
      - virtualPath
      type: object
      properties:
        name:
          type: string
        description:
          type: string
        endpointSrc:
          type: string
        endpointDst:
          type: string
        credentialsSrc:
          type: string
        credentialsDst:
          type: string
        relativePath:
          type: string
        virtualPath:
          type: string
        workflowEnabled:
          type: boolean
        config:
          required:
          - delete
          - list
          - mkdir
          - overwrite
          - read
          - rename
          - rmdir
          - share
          - write
          type: object
          properties:
            write:
              title: Allow write a file
              type: boolean
            read:
              title: Allow read a file
              type: boolean
            delete:
              title: Allow delete a file
              type: boolean
            mkdir:
              title: Allow create directories
              type: boolean
            rmdir:
              title: Allow remove directories
              type: boolean
            overwrite:
              title: Allow overwrite exist file
              type: boolean
            rename:
              title: Allow Rename a file
              type: boolean
            list:
              title: Allow to list a directory
              type: boolean
            share:
              title: Allow to share
              type: boolean
          additionalProperties: false
        enabled:
          type: boolean
        tags:
          type: array
          items:
            type: string
        businessService:
          type: string
      additionalProperties: false
    pipeline-update:
      required:
      - config
      - endpointDst
      - endpointSrc
      - name
      - relativePath
      - virtualPath
      type: object
      properties:
        name:
          type: string
        description:
          type: string
        endpointSrc:
          type: string
        endpointDst:
          type: string
        credentialsSrc:
          type: string
        credentialsDst:
          type: string
        relativePath:
          type: string
        virtualPath:
          type: string
        workflowEnabled:
          type: boolean
        config:
          required:
          - delete
          - list
          - mkdir
          - overwrite
          - read
          - rename
          - rmdir
          - share
          - write
          type: object
          properties:
            write:
              title: Allow write a file
              type: boolean
            read:
              title: Allow read a file
              type: boolean
            delete:
              title: Allow delete a file
              type: boolean
            mkdir:
              title: Allow create directories
              type: boolean
            rmdir:
              title: Allow remove directories
              type: boolean
            overwrite:
              title: Allow overwrite exist file
              type: boolean
            rename:
              title: Allow Rename a file
              type: boolean
            list:
              title: Allow to list a directory
              type: boolean
            share:
              title: Allow to share
              type: boolean
          additionalProperties: false
        enabled:
          type: boolean
        tags:
          type: array
          items:
            type: string
        businessService:
          type: string
      additionalProperties: false
    accounts:
      title: Accounts List
      type: object
      properties:
        accounts:
          type: array
          items:
            title: Account Response
            required:
            - createdAt
            - enabled
            - loginMethod
            - name
            - username
            - uuid
            - version
            type: object
            properties:
              name:
                title: Name
                type: string
                description: Account name
              username:
                title: Account username
                type: string
                description: Account username
              loginMethod:
                title: Authentication Type
                type: string
                description: Type of authentication
                enum:
                - saml
                - standard
                - ldap
                - oauth2
                - openid
              email:
                title: Email
                type: string
                description: Account email address
              firstName:
                title: First Name
                type: string
                description: Account first name
              lastName:
                title: Last Name
                type: string
                description: Account last name
              enabled:
                title: Enabled
                type: boolean
                description: Account enabled status
              as2Id:
                title: AS2 Identifier
                type: string
                description: AS2 identifier for this account when used as an AS2 partner
              totpRequired:
                title: TOTP Required
                type: boolean
                description: Whether TOTP (2FA) is required for this account
              totpActivated:
                title: TOTP Activated
                type: boolean
                description: Whether TOTP (2FA) is currently activated for this account
              businessService:
                title: Business Service
                type: string
                description: Business service name assigned to this account
              uuid:
                title: Resource UUID
                type: string
                description: Resource Identifier
              createdAt:
                title: Resource Creation
                type: string
                description: Resource Creation time
              updatedAt:
                title: Resource Update
                type: string
                description: Resource Updated time
              version:
                title: Resource Version
                type: integer
                description: Resource version
            description: Account information response
      description: List of accounts
    account-groups-list:
      type: object
      properties:
        accounts-groups:
          title: Accounts Group List
          type: array
          items:
            required:
            - description
            - name
            type: object
            properties:
              uuid:
                title: Resource UUID
                type: string
              createdAt:
                title: Resource Creation
                type: string
              updatedAt:
                title: Resource Update
                type: string
              version:
                title: Resource Version
                type: integer
              name:
                title: Accounts Group Name
                type: string
              description:
                title: Accounts Group Description
                type: string
              businessService:
                title: Business Service
                type: string
            additionalProperties: false
      additionalProperties: false
    pipeline-workflow:
      title: Pipeline Workflow
      type: object
      properties:
        onSendComplete:
          title: On Send Complete Tasks
          type: array
          items:
            type: string
            format: uuid
        onReceiveComplete:
          title: On Receive Complete Tasks
          type: array
          items:
            type: string
            format: uuid
        onError:
          title: On Error Tasks
          type: array
          items:
            type: string
            format: uuid
        onStaged:
          title: On Staged Tasks
          type: array
          items:
            type: string
            format: uuid
      description: Ordered task UUIDs to execute on pipeline events
    transfer-list-response:
      title: Transfers List
      type: object
      properties:
        items:
          title: Transfers
          type: array
          items:
            title: Transfer Response
            type: object
            properties:
              transferId:
                title: Transfer ID
                type: integer
                description: Unique identifier for the transfer
              sessionId:
                title: Session ID
                type: integer
                description: Associated session identifier
              sessionUUID:
                title: Session UUID
                type: string
                description: Associated UUID identifier
              accountName:
                title: Account name
                type: string
                description: Account name
              pipeline:
                title: Pipeline Name
                type: string
                description: Name of the endpoint
              protocol:
                title: Transfer Protocol
                type: string
                description: "Protocol of the endpoint (e.g. SFTP, AS2)"
              endpointSource:
                title: Endpoint Source Name
                type: string
                description: Name of the endpoint
              endpointSourceType:
                title: Endpoint Source Type
                type: string
                description: Type of the endpoint
              endpointDestination:
                title: Endpoint Destination Name
                type: string
                description: Name of the endpoint
              endpointDestinationType:
                title: Endpoint Destination Type
                type: string
                description: Type of the endpoint
              source:
                title: Source Path
                type: string
                description: Source file path
              destination:
                title: Destination Path
                type: string
                description: Destination file path
              workDirectory:
                title: Workdirectory Path
                type: string
                description: Working directory path for the transfer
              progress:
                title: Transfer Progress
                type: integer
                description: Current progress in bytes
              fileSize:
                title: File Size
                type: integer
                description: Total file size in bytes
              isSend:
                title: Is Send Operation
                type: boolean
                description: Whether this is a send operation
              isSchedule:
                title: Is Schedule Operation
                type: boolean
                description: Is Schedule Operation
              scheduleId:
                title: Transfer Schedule ID
                type: integer
                description: Identifier of the associated schedule
              status:
                title: Transfer Status
                type: string
                description: Current status of the transfer
              cancelReason:
                title: Cancel Transfer Reason
                type: string
                description: Reason to cancel the transfer
              failureReason:
                title: Failure Transfer Reason
                type: string
                description: Reason the Transfer has failed
              startedAt:
                title: Start Time
                type: string
                description: When the transfer started
                format: date-time
              completedAt:
                title: Completion Time
                type: string
                description: When the transfer completed
                format: date-time
              as2MessageId:
                title: AS2 Message ID
                type: string
                description: AS2-specific message identifier
              as2PartnerId:
                title: AS2 Partner ID
                type: string
                description: AS2 trading partner identifier
              mdnDisposition:
                title: MDN Disposition Status
                type: string
                description: Message Disposition Notification status
                enum:
                - Pending
                - Valid
                - Invalid
              as2Details:
                title: AS2 Transaction Details
                type: object
                properties:
                  id:
                    title: ID
                    type: integer
                  transferId:
                    title: Transfer ID
                    type: integer
                  messageId:
                    title: Message ID
                    type: string
                  as2MessageID:
                    title: AS2 Message ID
                    type: string
                  as2PartnerID:
                    title: AS2 Partner ID
                    type: string
                  mdnDisposition:
                    title: MDN Disposition Status
                    type: string
                  as2Details:
                    title: AS2 Transaction Details
                    type: object
                    description: Detailed information about the AS2 transaction
                  signed:
                    title: Signed
                    type: boolean
                  encrypted:
                    title: Encrypted
                    type: boolean
                  compressionUsed:
                    title: Compression Used
                    type: string
                  micValue:
                    title: MIC Value
                    type: string
                  micAlgorithm:
                    title: MIC Algorithm
                    type: string
                  dispositionStatus:
                    title: Disposition Status
                    type: string
                  dispositionMode:
                    title: Disposition Mode
                    type: string
                  mdnUrl:
                    title: MDN URL (Async)
                    type: string
                  dispositionTimestamp:
                    title: Disposition Timestamp
                    type: string
                    format: date-time
                  mdnSignatureValid:
                    title: MDN Signature Valid
                    type: boolean
                  mdnMicValue:
                    title: MDN MIC
                    type: string
                  micMatch:
                    title: MIC Match
                    type: boolean
                  failureReason:
                    title: Failure Reason
                    type: string
                  validationErrors:
                    title: Validation Errors
                    type: string
                  replayDetected:
                    title: Replay Detection Triggered
                    type: boolean
                  duplicateMessageId:
                    title: Duplicate Message ID
                    type: boolean
                description: Detailed AS2 transaction information
              updatedAt:
                title: Update Time
                type: string
                description: When the was updated
                format: date-time
              businessService:
                title: Business Service
                type: string
                description: Business service name inherited from pipeline
            description: Transfer information response
        totalItems:
          title: Total Items
          minimum: 0
          type: integer
          description: Total number of items
        page:
          title: Current Page
          minimum: 1
          type: integer
          description: Current page number
        pageSize:
          title: Page Size
          maximum: 100
          minimum: 1
          type: integer
          description: Number of items per page
        totalPages:
          title: Total Pages
          minimum: 1
          type: integer
          description: Total number of pages
      description: Paginated list of transfers
    transfer-response:
      title: Transfer Response
      type: object
      properties:
        transferId:
          title: Transfer ID
          type: integer
          description: Unique identifier for the transfer
        sessionId:
          title: Session ID
          type: integer
          description: Associated session identifier
        sessionUUID:
          title: Session UUID
          type: string
          description: Associated UUID identifier
        accountName:
          title: Account name
          type: string
          description: Account name
        pipeline:
          title: Pipeline Name
          type: string
          description: Name of the endpoint
        protocol:
          title: Transfer Protocol
          type: string
          description: "Protocol of the endpoint (e.g. SFTP, AS2)"
        endpointSource:
          title: Endpoint Source Name
          type: string
          description: Name of the endpoint
        endpointSourceType:
          title: Endpoint Source Type
          type: string
          description: Type of the endpoint
        endpointDestination:
          title: Endpoint Destination Name
          type: string
          description: Name of the endpoint
        endpointDestinationType:
          title: Endpoint Destination Type
          type: string
          description: Type of the endpoint
        source:
          title: Source Path
          type: string
          description: Source file path
        destination:
          title: Destination Path
          type: string
          description: Destination file path
        workDirectory:
          title: Workdirectory Path
          type: string
          description: Working directory path for the transfer
        progress:
          title: Transfer Progress
          type: integer
          description: Current progress in bytes
        fileSize:
          title: File Size
          type: integer
          description: Total file size in bytes
        isSend:
          title: Is Send Operation
          type: boolean
          description: Whether this is a send operation
        isSchedule:
          title: Is Schedule Operation
          type: boolean
          description: Is Schedule Operation
        scheduleId:
          title: Transfer Schedule ID
          type: integer
          description: Identifier of the associated schedule
        status:
          title: Transfer Status
          type: string
          description: Current status of the transfer
        cancelReason:
          title: Cancel Transfer Reason
          type: string
          description: Reason to cancel the transfer
        failureReason:
          title: Failure Transfer Reason
          type: string
          description: Reason the Transfer has failed
        startedAt:
          title: Start Time
          type: string
          description: When the transfer started
          format: date-time
        completedAt:
          title: Completion Time
          type: string
          description: When the transfer completed
          format: date-time
        as2MessageId:
          title: AS2 Message ID
          type: string
          description: AS2-specific message identifier
        as2PartnerId:
          title: AS2 Partner ID
          type: string
          description: AS2 trading partner identifier
        mdnDisposition:
          title: MDN Disposition Status
          type: string
          description: Message Disposition Notification status
          enum:
          - Pending
          - Valid
          - Invalid
        as2Details:
          title: AS2 Transaction Details
          type: object
          properties:
            id:
              title: ID
              type: integer
            transferId:
              title: Transfer ID
              type: integer
            messageId:
              title: Message ID
              type: string
            as2MessageID:
              title: AS2 Message ID
              type: string
            as2PartnerID:
              title: AS2 Partner ID
              type: string
            mdnDisposition:
              title: MDN Disposition Status
              type: string
            as2Details:
              title: AS2 Transaction Details
              type: object
              description: Detailed information about the AS2 transaction
            signed:
              title: Signed
              type: boolean
            encrypted:
              title: Encrypted
              type: boolean
            compressionUsed:
              title: Compression Used
              type: string
            micValue:
              title: MIC Value
              type: string
            micAlgorithm:
              title: MIC Algorithm
              type: string
            dispositionStatus:
              title: Disposition Status
              type: string
            dispositionMode:
              title: Disposition Mode
              type: string
            mdnUrl:
              title: MDN URL (Async)
              type: string
            dispositionTimestamp:
              title: Disposition Timestamp
              type: string
              format: date-time
            mdnSignatureValid:
              title: MDN Signature Valid
              type: boolean
            mdnMicValue:
              title: MDN MIC
              type: string
            micMatch:
              title: MIC Match
              type: boolean
            failureReason:
              title: Failure Reason
              type: string
            validationErrors:
              title: Validation Errors
              type: string
            replayDetected:
              title: Replay Detection Triggered
              type: boolean
            duplicateMessageId:
              title: Duplicate Message ID
              type: boolean
          description: Detailed AS2 transaction information
        updatedAt:
          title: Update Time
          type: string
          description: When the was updated
          format: date-time
        businessService:
          title: Business Service
          type: string
          description: Business service name inherited from pipeline
      description: Transfer information response
    transfer-action:
      title: Transfer Action
      required:
      - action
      type: object
      properties:
        action:
          title: Action
          type: string
          description: Action to perform on the transfer
          enum:
          - stop
          - cancel
        reason:
          title: Reason
          type: string
          description: Reason for the action
      description: Transfer action request
    transfer-cancel-request:
      title: Transfer Cancel All Action
      type: object
      properties:
        reason:
          title: Reason
          type: string
          description: Reason for the action
      description: Transfer Cancel All action request
    transfer-schedule-list-response:
      title: Transfer Schedules List
      type: object
      properties:
        items:
          title: Scheduled Transfers
          type: array
          items:
            title: Transfer Schedule Response
            type: object
            properties:
              scheduleId:
                title: Schedule ID
                type: integer
                description: Unique identifier for the schedule
              transferId:
                title: Transfer ID
                type: integer
                description: Identifier of the related transfer object
              pipeline:
                title: Pipeline Name
                type: string
                description: Name of the pipeline
              username:
                title: Username
                type: string
                description: Name of the user doing the transfer
              source:
                title: File Path
                type: string
                description: Path of the file to transfer
              schedule:
                title: Schedule Time
                type: string
                description: When the transfer is scheduled
                format: date-time
              status:
                title: Status
                type: string
                description: Current status of the schedule
                enum:
                - Pending
                - Completed
                - Cancelled
                - Running
                - Failed
              errorMessage:
                title: Error Message
                type: string
                description: "Transfer execution error message, it's only showed when\
                  \ an error occurs"
              statusMessage:
                title: Status Message
                maxLength: 255
                type: string
                description: Transfer execution status message
              executedAt:
                title: Execution Time
                type: string
                description: When the schedule was executed
                format: date-time
              completedAt:
                title: Completion Time
                type: string
                description: When the scheduled transfer completed
                format: date-time
              transferAttempt:
                title: List of Transfer Retry Attempts
                type: array
                items:
                  required:
                  - attemptNumber
                  - startedAt
                  - transferId
                  type: object
                  properties:
                    attemptNumber:
                      title: Attempt Number
                      type: integer
                    transferId:
                      title: Transfer ID
                      type: integer
                    startedAt:
                      title: Start Time
                      type: string
                      format: date-time
                    completedAt:
                      title: Completion Time
                      type: string
                      format: date-time
                    errorMessage:
                      title: Error Message
                      type: string
              businessService:
                title: Business Service
                type: string
                description: Business service name inherited from pipeline
              options:
                title: Transfer Options
                type: object
                properties:
                  includeFilter:
                    title: Include Filter
                    type: string
                    description: Filter pattern to include specific files in the transfer
                description: Optional transfer parameters
              matchFiles:
                title: Match Files
                type: integer
                description: Number of files matched by the transfer
            description: Transfer schedule information
        totalItems:
          title: Total Items
          minimum: 0
          type: integer
          description: Total number of items
        page:
          title: Current Page
          minimum: 1
          type: integer
          description: Current page number
        pageSize:
          title: Page Size
          maximum: 100
          minimum: 1
          type: integer
          description: Number of items per page
        totalPages:
          title: Total Pages
          minimum: 1
          type: integer
          description: Total number of pages
      description: Paginated list of transfer schedules
    transfer-schedule:
      title: Transfer Schedule
      required:
      - pipeline
      - scheduled
      - source
      type: object
      properties:
        pipeline:
          title: Pipeline Name
          pattern: "^[a-zA-Z0-9_-]{3,64}$"
          type: string
          description: "Pipeline to use for transfer (3-64 chars, no spaces)"
        scheduled:
          title: Schedule Time
          type: string
          description: When to execute the transfer (RFC3339 format)
          format: date-time
        source:
          title: File Path
          minLength: 1
          type: string
          description: Path of the file to transfer
        destination:
          title: Destination File Path
          type: string
          description: Path of where to transfer the file
        options:
          title: Transfer Options
          type: object
          properties:
            includeFilter:
              title: Include Filter
              type: string
              description: Filter pattern to include specific files in the transfer
          description: Optional transfer parameters
      description: Transfer schedule creation request
    transfer-schedule-response:
      title: Transfer Schedule Response
      type: object
      properties:
        scheduleId:
          title: Schedule ID
          type: integer
          description: Unique identifier for the schedule
        transferId:
          title: Transfer ID
          type: integer
          description: Identifier of the related transfer object
        pipeline:
          title: Pipeline Name
          type: string
          description: Name of the pipeline
        username:
          title: Username
          type: string
          description: Name of the user doing the transfer
        source:
          title: File Path
          type: string
          description: Path of the file to transfer
        schedule:
          title: Schedule Time
          type: string
          description: When the transfer is scheduled
          format: date-time
        status:
          title: Status
          type: string
          description: Current status of the schedule
          enum:
          - Pending
          - Completed
          - Cancelled
          - Running
          - Failed
        errorMessage:
          title: Error Message
          type: string
          description: "Transfer execution error message, it's only showed when an\
            \ error occurs"
        statusMessage:
          title: Status Message
          maxLength: 255
          type: string
          description: Transfer execution status message
        executedAt:
          title: Execution Time
          type: string
          description: When the schedule was executed
          format: date-time
        completedAt:
          title: Completion Time
          type: string
          description: When the scheduled transfer completed
          format: date-time
        transferAttempt:
          title: List of Transfer Retry Attempts
          type: array
          items:
            required:
            - attemptNumber
            - startedAt
            - transferId
            type: object
            properties:
              attemptNumber:
                title: Attempt Number
                type: integer
              transferId:
                title: Transfer ID
                type: integer
              startedAt:
                title: Start Time
                type: string
                format: date-time
              completedAt:
                title: Completion Time
                type: string
                format: date-time
              errorMessage:
                title: Error Message
                type: string
        businessService:
          title: Business Service
          type: string
          description: Business service name inherited from pipeline
        options:
          title: Transfer Options
          type: object
          properties:
            includeFilter:
              title: Include Filter
              type: string
              description: Filter pattern to include specific files in the transfer
          description: Optional transfer parameters
        matchFiles:
          title: Match Files
          type: integer
          description: Number of files matched by the transfer
      description: Transfer schedule information
    transfer-total:
      title: Transfer Totals
      type: object
      properties:
        scheduled:
          title: Scheduled
          minimum: 0
          type: integer
          description: Count of scheduled transfers
        active:
          title: Active
          minimum: 0
          type: integer
          description: Count of active transfers
        error:
          title: Error
          minimum: 0
          type: integer
          description: Count of failed transfers
        completed:
          title: Completed
          minimum: 0
          type: integer
          description: Count of completed transfers
      description: Counts of transfers by status
    account-groups-create:
      title: Accounts Group
      required:
      - name
      type: object
      properties:
        name:
          title: Name
          maxLength: 255
          minLength: 1
          pattern: "^[a-zA-Z0-9_-]{1,255}$"
          type: string
          description: Name
        description:
          title: Description
          maxLength: 255
          minLength: 1
          type: string
          description: Accounts Group description
        businessService:
          title: Business Service
          type: string
          description: Business service name to assign to this account group
      description: 'Accounts Group '
    account-group:
      required:
      - description
      - name
      type: object
      properties:
        uuid:
          title: Resource UUID
          type: string
        createdAt:
          title: Resource Creation
          type: string
        updatedAt:
          title: Resource Update
          type: string
        version:
          title: Resource Version
          type: integer
        name:
          title: Accounts Group Name
          type: string
        description:
          title: Accounts Group Description
          type: string
        businessService:
          title: Business Service
          type: string
      additionalProperties: false
    account-group-update:
      title: Accounts Group
      required:
      - name
      type: object
      properties:
        name:
          title: Name
          maxLength: 255
          minLength: 1
          pattern: "^[a-zA-Z0-9_-]{1,255}$"
          type: string
          description: Name
        description:
          title: Description
          maxLength: 255
          minLength: 1
          type: string
          description: Accounts Group description
        businessService:
          title: Business Service
          type: string
          description: Business service name to assign to this account group
      description: 'Accounts Group '
    pipelines:
      required:
      - pipelines
      type: object
      properties:
        pipelines:
          title: Pipelines List
          type: array
          items:
            required:
            - description
            - enabled
            - name
            - version
            - workDirectory
            - workflowEnabled
            type: object
            properties:
              uuid:
                title: Resource UUID
                type: string
              createdAt:
                title: Resource Creation
                type: string
              updatedAt:
                title: Resource Update
                type: string
              version:
                title: Version
                type: integer
              tags:
                title: Tags
                type: array
                items:
                  type: string
              name:
                title: Pipeline name
                type: string
              description:
                title: Description
                type: string
              endpointSrc:
                title: Endpoint Source
                type: string
              endpointSrcConfig:
                title: Endpoint Source configuration
                type: object
                properties:
                  name:
                    title: Endpoint name
                    type: string
                  description:
                    title: Endpoint Description
                    type: string
                  type:
                    title: Endpoint type
                    type: string
                  cloudType:
                    title: Cloud Type
                    type: string
                    description: Cloud provider type. Present only for cloud::storage
                      endpoints.
                  enabled:
                    title: Endpoint Enabled
                    type: boolean
                  config:
                    title: Endpoint Configuration
                    type: object
                  activeSessions:
                    title: Endpoint Active sessions
                    type: integer
                  runtimeStatus:
                    title: Runtime status
                    type: string
                  runtimeVersion:
                    title: Runtime version
                    type: integer
                  checkStatus:
                    title: Endpoint status
                    type: string
                  checkStatusMessage:
                    title: Endpoint status message
                    type: string
                  checkStatusUpdatedAt:
                    title: Endpoint status updated at
                    type: string
                  extended:
                    title: Extended information
                    type: object
                  businessService:
                    title: Business Service
                    type: string
                    description: Business service name assigned to this endpoint
              endpointDst:
                title: Endpoint Destination
                type: string
              endpointDstConfig:
                title: Endpoint Destination configuration
                type: object
                properties:
                  name:
                    title: Endpoint name
                    type: string
                  description:
                    title: Endpoint Description
                    type: string
                  type:
                    title: Endpoint type
                    type: string
                  cloudType:
                    title: Cloud Type
                    type: string
                    description: Cloud provider type. Present only for cloud::storage
                      endpoints.
                  enabled:
                    title: Endpoint Enabled
                    type: boolean
                  config:
                    title: Endpoint Configuration
                    type: object
                  activeSessions:
                    title: Endpoint Active sessions
                    type: integer
                  runtimeStatus:
                    title: Runtime status
                    type: string
                  runtimeVersion:
                    title: Runtime version
                    type: integer
                  checkStatus:
                    title: Endpoint status
                    type: string
                  checkStatusMessage:
                    title: Endpoint status message
                    type: string
                  checkStatusUpdatedAt:
                    title: Endpoint status updated at
                    type: string
                  extended:
                    title: Extended information
                    type: object
                  businessService:
                    title: Business Service
                    type: string
                    description: Business service name assigned to this endpoint
              endpointSrcType:
                title: Endpoint Source Type
                type: string
              endpointDstType:
                title: Endpoint Destination Type
                type: string
              credentialsSrc:
                title: Credentials Source
                type: string
              credentialsDst:
                title: Credentials Destination
                type: string
              relativePath:
                title: Relative path
                type: string
              virtualPath:
                title: Virtual path
                type: string
              workDirectory:
                title: Workdirectory Path
                type: string
              workflowEnabled:
                title: Enable task workflow execution for this pipeline
                type: boolean
              enabled:
                title: Enabled
                type: boolean
              config:
                title: Configuration
                type: object
              businessService:
                title: Business Service
                type: string
            additionalProperties: false
      additionalProperties: false
    ip-rule-list:
      title: IP Rules List
      type: object
      properties:
        items:
          title: IP Rules
          type: array
          items:
            title: IP Rule Response
            type: object
            properties:
              id:
                title: IP Rule ID
                type: integer
                description: Unique identifier for the IP rule
              name:
                title: IP Rule Name
                type: string
                description: Name of the IP rule
              address:
                title: IP Address
                type: string
                description: IP address or CIDR block
              description:
                title: Description
                type: string
                description: Description of the IP rule
              scope:
                title: Scope
                type: string
                description: Scope of the IP rule (user/account)
              action:
                title: Action
                type: string
                description: Action to take (allow/deny)
              uuid:
                title: Resource UUID
                type: string
                description: Unique identifier
              createdAt:
                title: Creation Time
                type: string
                description: When the IP rule was created
                format: date-time
              updatedAt:
                title: Update Time
                type: string
                description: When the IP rule was last updated
                format: date-time
              version:
                title: Resource Version
                type: integer
                description: Version number of the resource
            description: IP rule information response
        totalItems:
          title: Total Items
          minimum: 0
          type: integer
          description: Total number of items
        page:
          title: Current Page
          minimum: 1
          type: integer
          description: Current page number
        pageSize:
          title: Page Size
          maximum: 100
          minimum: 1
          type: integer
          description: Number of items per page
        totalPages:
          title: Total Pages
          minimum: 1
          type: integer
          description: Total number of pages
      description: Paginated list of IP rules
    ip-rule-create:
      title: IP Rule
      required:
      - action
      - address
      - name
      type: object
      properties:
        name:
          title: IP Rule Name
          maxLength: 255
          minLength: 1
          pattern: "^[a-zA-Z0-9_-]{1,255}$"
          type: string
          description: Name of the IP rule
        address:
          title: IP Address
          minLength: 1
          type: string
          description: "IP address or CIDR block (e.g., 192.168.1.1 or 192.168.1.0/24)"
        description:
          title: Description
          maxLength: 255
          type: string
          description: Description of the IP rule
        action:
          title: Action
          type: string
          description: Action to take (allow/block)
          enum:
          - allow
          - block
      description: IP rule creation information
    ip-rule:
      title: IP Rule Response
      type: object
      properties:
        id:
          title: IP Rule ID
          type: integer
          description: Unique identifier for the IP rule
        name:
          title: IP Rule Name
          type: string
          description: Name of the IP rule
        address:
          title: IP Address
          type: string
          description: IP address or CIDR block
        description:
          title: Description
          type: string
          description: Description of the IP rule
        scope:
          title: Scope
          type: string
          description: Scope of the IP rule (user/account)
        action:
          title: Action
          type: string
          description: Action to take (allow/deny)
        uuid:
          title: Resource UUID
          type: string
          description: Unique identifier
        createdAt:
          title: Creation Time
          type: string
          description: When the IP rule was created
          format: date-time
        updatedAt:
          title: Update Time
          type: string
          description: When the IP rule was last updated
          format: date-time
        version:
          title: Resource Version
          type: integer
          description: Version number of the resource
      description: IP rule information response
    ip-rule-test:
      title: IP Test Response
      type: object
      properties:
        allowed:
          title: IP allowed
          type: boolean
          description: Indicated whether IP is allowed by rules or not
        message:
          title: Message
          type: string
          description: Details of the test result
        rule:
          title: IP Rule Response
          type: object
          properties:
            id:
              title: IP Rule ID
              type: integer
              description: Unique identifier for the IP rule
            name:
              title: IP Rule Name
              type: string
              description: Name of the IP rule
            address:
              title: IP Address
              type: string
              description: IP address or CIDR block
            description:
              title: Description
              type: string
              description: Description of the IP rule
            scope:
              title: Scope
              type: string
              description: Scope of the IP rule (user/account)
            action:
              title: Action
              type: string
              description: Action to take (allow/deny)
            uuid:
              title: Resource UUID
              type: string
              description: Unique identifier
            createdAt:
              title: Creation Time
              type: string
              description: When the IP rule was created
              format: date-time
            updatedAt:
              title: Update Time
              type: string
              description: When the IP rule was last updated
              format: date-time
            version:
              title: Resource Version
              type: integer
              description: Version number of the resource
          description: IP rule information response
      description: IP test information response
    ip-rule-update:
      title: IP Rule Update
      type: object
      properties:
        name:
          title: IP Rule Name
          maxLength: 255
          minLength: 1
          pattern: "^[a-zA-Z0-9_-]{1,255}$"
          type: string
          description: Name of the IP rule
        address:
          title: IP Address
          minLength: 1
          type: string
          description: "IP address or CIDR block (e.g., 192.168.1.1 or 192.168.1.0/24)"
        description:
          title: Description
          maxLength: 255
          type: string
          description: Description of the IP rule
        action:
          title: Action
          type: string
          description: Action to take (allow/block)
          enum:
          - allow
          - block
      description: IP rule update information
    adhoc-list:
      title: Shared File Paginated List
      type: object
      properties:
        items:
          title: Items
          type: array
          description: List of shared files for the current page
          items:
            title: Shared File
            type: object
            properties:
              uuid:
                title: UUID
                type: string
                description: Unique identifier for the shared file
              filename:
                title: File name
                type: string
                description: File name
              workDirectory:
                title: Work Directory
                type: string
                description: Work Directory
              path:
                title: Path
                type: string
                description: File path
              size:
                title: Size
                type: integer
                description: File size in bytes
              sender:
                title: Sender
                type: string
                description: Username of the sender
              message:
                title: Message
                type: string
                description: Message included with the share
              sharedAt:
                title: Shared Date
                type: string
                description: When the file was shared
                format: date-time
              expiresAt:
                title: Expires At
                type: string
                description: When the share expires
                format: date-time
              downloadCount:
                title: Download Count
                minimum: 0
                type: integer
                description: Number of times the file has been downloaded
              maxDownloads:
                title: Max Downloads
                type: number
                description: Maximum number of downloads allowed
              isPasswordProtected:
                title: Is Password Protected
                type: boolean
                description: Whether the share is password protected
              isActive:
                title: Is Active
                type: boolean
                description: Whether the share is active
              shareLink:
                title: Share Link
                type: string
                description: URL to access the shared file
              shareId:
                title: Share ID
                type: string
                description: Share ID
              checksum:
                title: Checksum
                type: string
                description: Checksum
            description: Information about a shared file
        totalItems:
          title: Total Items
          type: integer
          description: Total number of shared files
        page:
          title: Current Page
          type: integer
          description: Current page number
        pageSize:
          title: Page Size
          type: integer
          description: Number of items per page
        totalPages:
          title: Total Pages
          type: integer
          description: Total number of pages
      description: A paginated list of shared files
    adhoc-share:
      title: Shared File
      type: object
      properties:
        uuid:
          title: UUID
          type: string
          description: Unique identifier for the shared file
        filename:
          title: File name
          type: string
          description: File name
        workDirectory:
          title: Work Directory
          type: string
          description: Work Directory
        path:
          title: Path
          type: string
          description: File path
        size:
          title: Size
          type: integer
          description: File size in bytes
        sender:
          title: Sender
          type: string
          description: Username of the sender
        message:
          title: Message
          type: string
          description: Message included with the share
        sharedAt:
          title: Shared Date
          type: string
          description: When the file was shared
          format: date-time
        expiresAt:
          title: Expires At
          type: string
          description: When the share expires
          format: date-time
        downloadCount:
          title: Download Count
          minimum: 0
          type: integer
          description: Number of times the file has been downloaded
        maxDownloads:
          title: Max Downloads
          type: number
          description: Maximum number of downloads allowed
        isPasswordProtected:
          title: Is Password Protected
          type: boolean
          description: Whether the share is password protected
        isActive:
          title: Is Active
          type: boolean
          description: Whether the share is active
        shareLink:
          title: Share Link
          type: string
          description: URL to access the shared file
        shareId:
          title: Share ID
          type: string
          description: Share ID
        checksum:
          title: Checksum
          type: string
          description: Checksum
      description: Information about a shared file
    adhoc-revoke:
      title: Shared File
      type: object
      properties:
        uuid:
          title: UUID
          type: string
          description: Unique identifier for the shared file
        filename:
          title: File name
          type: string
          description: File name
        workDirectory:
          title: Work Directory
          type: string
          description: Work Directory
        path:
          title: Path
          type: string
          description: File path
        size:
          title: Size
          type: integer
          description: File size in bytes
        sender:
          title: Sender
          type: string
          description: Username of the sender
        message:
          title: Message
          type: string
          description: Message included with the share
        sharedAt:
          title: Shared Date
          type: string
          description: When the file was shared
          format: date-time
        expiresAt:
          title: Expires At
          type: string
          description: When the share expires
          format: date-time
        downloadCount:
          title: Download Count
          minimum: 0
          type: integer
          description: Number of times the file has been downloaded
        maxDownloads:
          title: Max Downloads
          type: number
          description: Maximum number of downloads allowed
        isPasswordProtected:
          title: Is Password Protected
          type: boolean
          description: Whether the share is password protected
        isActive:
          title: Is Active
          type: boolean
          description: Whether the share is active
        shareLink:
          title: Share Link
          type: string
          description: URL to access the shared file
        shareId:
          title: Share ID
          type: string
          description: Share ID
        checksum:
          title: Checksum
          type: string
          description: Checksum
      description: Information about a shared file
    task-list:
      title: Tasks List
      type: object
      properties:
        items:
          title: Tasks
          type: array
          items:
            title: Task Response
            type: object
            properties:
              uuid:
                title: Task UUID
                type: string
              name:
                title: Task Name
                type: string
              description:
                title: Description
                type: string
              businessService:
                title: Business Service
                type: string
              type:
                title: Task Type
                type: string
                enum:
                - command
                - uac_publish_event
              timeout:
                title: Timeout
                type: integer
              config:
                title: Config
                type: object
                anyOf:
                - title: Command Type Task Configuration
                  required:
                  - command
                  type: object
                  properties:
                    command:
                      title: Command
                      type: string
                      description: Command and arguments to execute
                    workingDir:
                      title: Working Directory
                      type: string
                      description: Working Directory
                  description: Command Type Task Configuration
                - title: UAC Type Task Configuration
                  type: object
                  properties:
                    eventName:
                      title: UAC Event Name
                      type: string
                      description: UAC Event Name
                    credentialsName:
                      title: Credentials Name
                      type: string
                      description: Credentials Name
                    businessServices:
                      title: Business Services
                      type: string
                      description: Business Services
                  description: UAC Type Task Configuration
              version:
                title: Version
                type: integer
              createdAt:
                title: Created At
                type: string
                format: date-time
              updatedAt:
                title: Updated At
                type: string
                format: date-time
            description: Task information response
        totalItems:
          title: Total Items
          type: integer
        page:
          title: Current Page
          type: integer
        pageSize:
          title: Page Size
          type: integer
        totalPages:
          title: Total Pages
          type: integer
      description: Paginated list of tasks
    task-create:
      title: Task
      required:
      - config
      - name
      - timeout
      - type
      type: object
      properties:
        name:
          title: Task Name
          maxLength: 255
          minLength: 1
          pattern: "^[a-zA-Z0-9_-]{1,255}$"
          type: string
          description: Unique name for this task within the domain
        description:
          title: Description
          maxLength: 255
          type: string
          description: Optional description of the task
        businessService:
          title: Business Service
          type: string
          description: Business service name to associate with this task
        type:
          title: Task Type
          type: string
          description: Type of task to execute
          enum:
          - command
          - uac_publish_event
        timeout:
          title: Timeout
          maximum: 86400
          minimum: 1
          type: integer
          description: Task timeout in seconds
        config:
          title: Config
          type: object
          description: Task type-specific configuration
          anyOf:
          - title: Command Type Task Configuration
            required:
            - command
            type: object
            properties:
              command:
                title: Command
                type: string
                description: Command and arguments to execute
              workingDir:
                title: Working Directory
                type: string
                description: Working Directory
            description: Command Type Task Configuration
          - title: UAC Type Task Configuration
            type: object
            properties:
              eventName:
                title: UAC Event Name
                type: string
                description: UAC Event Name
              credentialsName:
                title: Credentials Name
                type: string
                description: Credentials Name
              businessServices:
                title: Business Services
                type: string
                description: Business Services
            description: UAC Type Task Configuration
      description: Task creation request
    task:
      title: Task Response
      type: object
      properties:
        uuid:
          title: Task UUID
          type: string
        name:
          title: Task Name
          type: string
        description:
          title: Description
          type: string
        businessService:
          title: Business Service
          type: string
        type:
          title: Task Type
          type: string
          enum:
          - command
          - uac_publish_event
        timeout:
          title: Timeout
          type: integer
        config:
          title: Config
          type: object
          anyOf:
          - title: Command Type Task Configuration
            required:
            - command
            type: object
            properties:
              command:
                title: Command
                type: string
                description: Command and arguments to execute
              workingDir:
                title: Working Directory
                type: string
                description: Working Directory
            description: Command Type Task Configuration
          - title: UAC Type Task Configuration
            type: object
            properties:
              eventName:
                title: UAC Event Name
                type: string
                description: UAC Event Name
              credentialsName:
                title: Credentials Name
                type: string
                description: Credentials Name
              businessServices:
                title: Business Services
                type: string
                description: Business Services
            description: UAC Type Task Configuration
        version:
          title: Version
          type: integer
        createdAt:
          title: Created At
          type: string
          format: date-time
        updatedAt:
          title: Updated At
          type: string
          format: date-time
      description: Task information response
    task-update:
      title: Task Update
      type: object
      properties:
        name:
          title: Task Name
          maxLength: 255
          minLength: 1
          pattern: "^[a-zA-Z0-9_-]{1,255}$"
          type: string
          description: New name for this task
        description:
          title: Description
          anyOf:
          - maxLength: 255
            type: string
          - null
        businessService:
          title: Business Service
          description: Business service name to associate with this task
          anyOf:
          - type: string
          - null
        type:
          title: Task Type
          type: string
          description: Type of task to execute
          enum:
          - command
          - uac_publish_event
        timeout:
          title: Timeout
          maximum: 86400
          minimum: 1
          type: integer
          description: Task timeout in seconds
        config:
          title: Config
          type: object
          description: Task type-specific configuration
          anyOf:
          - title: Command Type Task Configuration
            required:
            - command
            type: object
            properties:
              command:
                title: Command
                type: string
                description: Command and arguments to execute
              workingDir:
                title: Working Directory
                type: string
                description: Working Directory
            description: Command Type Task Configuration
          - title: UAC Type Task Configuration
            type: object
            properties:
              eventName:
                title: UAC Event Name
                type: string
                description: UAC Event Name
              credentialsName:
                title: Credentials Name
                type: string
                description: Credentials Name
              businessServices:
                title: Business Services
                type: string
                description: Business Services
            description: UAC Type Task Configuration
      description: Task update request
    task-instance-list:
      title: Task Instances List
      type: object
      properties:
        items:
          title: Task Instances
          type: array
          items:
            title: Task Instance
            type: object
            properties:
              uuid:
                title: Task Instance UUID
                type: string
              domainName:
                title: Domain Name
                type: string
              taskName:
                title: Task Name
                type: string
              pipelineName:
                title: Pipeline Name
                type: string
              transferUUID:
                title: Transfer UUID
                type: string
              transferID:
                title: Transfer ID
                type: integer
              eventType:
                title: Event Type
                type: string
              taskOrder:
                title: Task Order
                type: integer
              status:
                title: Status
                type: string
                enum:
                - pending
                - running
                - completed
                - failed
              startedAt:
                title: Started At
                type: string
                format: date-time
              completedAt:
                title: Completed At
                type: string
                format: date-time
              version:
                title: Version
                type: integer
              createdAt:
                title: Created At
                type: string
                format: date-time
              updatedAt:
                title: Updated At
                type: string
                format: date-time
            description: Task execution record
        totalItems:
          title: Total Items
          type: integer
        page:
          title: Current Page
          type: integer
        pageSize:
          title: Page Size
          type: integer
        totalPages:
          title: Total Pages
          type: integer
      description: Paginated list of task instances
    task-instance:
      title: Task Instance
      type: object
      properties:
        uuid:
          title: Task Instance UUID
          type: string
        domainName:
          title: Domain Name
          type: string
        taskName:
          title: Task Name
          type: string
        pipelineName:
          title: Pipeline Name
          type: string
        transferUUID:
          title: Transfer UUID
          type: string
        transferID:
          title: Transfer ID
          type: integer
        eventType:
          title: Event Type
          type: string
        taskOrder:
          title: Task Order
          type: integer
        status:
          title: Status
          type: string
          enum:
          - pending
          - running
          - completed
          - failed
        startedAt:
          title: Started At
          type: string
          format: date-time
        completedAt:
          title: Completed At
          type: string
          format: date-time
        version:
          title: Version
          type: integer
        createdAt:
          title: Created At
          type: string
          format: date-time
        updatedAt:
          title: Updated At
          type: string
          format: date-time
      description: Task execution record
    task-instance-output:
      title: Task Instance Output
      type: object
      properties:
        taskInstanceUUID:
          title: Task Instance UUID
          type: string
        output:
          title: Output
          type: string
      description: Captured stdout/stderr of a task execution
    task-instance-context:
      title: Task Instance Context
      type: object
      properties:
        taskInstanceUUID:
          title: Task Instance UUID
          type: string
        context:
          title: Context Variables
          type: object
      description: Context variables available during a task execution
    license-info:
      required:
      - status
      type: object
      properties:
        status:
          type: string
        customer:
          type: string
        environment:
          type: string
        issuedAt:
          type: string
          format: date-time
        notBefore:
          type: string
          format: date-time
        expiresAt:
          type: string
          format: date-time
        daysRemaining:
          type: integer
      additionalProperties: false
    license-enroll-request:
      required:
      - license
      type: object
      properties:
        license:
          type: string
      additionalProperties: false
    business-service-list:
      title: Business Services List
      type: object
      properties:
        businessServices:
          title: Business Services
          type: array
          description: List of business services
          items:
            title: Business Service
            type: object
            properties:
              uuid:
                title: Business Service UUID
                type: string
                description: Unique identifier of the business service
              name:
                title: Business Service Name
                maxLength: 255
                minLength: 1
                pattern: "^[a-zA-Z0-9_-]{1,255}$"
                type: string
                description: Name
              description:
                title: Description
                maxLength: 255
                type: string
              createdAt:
                title: Created At
                type: string
                description: Timestamp when the business service was created
                format: date-time
              updatedAt:
                title: Updated At
                type: string
                description: Timestamp when the business service was last updated
                format: date-time
              userCount:
                title: User Count
                type: integer
                description: Number of users assigned to this business service
              entityCount:
                title: Entity Count
                type: integer
                description: Number of entities assigned to this business service
              version:
                title: Version
                type: integer
                description: Resource version for optimistic locking
            description: Business Service response
        totalItems:
          title: Total Items
          type: integer
          description: Total number of business services
        page:
          title: Current Page
          type: integer
          description: Current page number
        pageSize:
          title: Page Size
          type: integer
          description: Number of items per page
        totalPages:
          title: Total Pages
          type: integer
          description: Total number of pages
      description: List of business services response
    business-service-create:
      title: Business Service Create
      required:
      - name
      type: object
      properties:
        name:
          title: Business Service Name
          maxLength: 255
          minLength: 1
          pattern: "^[a-zA-Z0-9_-]{1,255}$"
          type: string
          description: Name of the business service
        description:
          title: Description
          maxLength: 255
          type: string
          description: Optional description of the business service
      description: Business Service creation request
    business-service:
      title: Business Service
      type: object
      properties:
        uuid:
          title: Business Service UUID
          type: string
          description: Unique identifier of the business service
        name:
          title: Business Service Name
          maxLength: 255
          minLength: 1
          pattern: "^[a-zA-Z0-9_-]{1,255}$"
          type: string
          description: Name
        description:
          title: Description
          maxLength: 255
          type: string
        createdAt:
          title: Created At
          type: string
          description: Timestamp when the business service was created
          format: date-time
        updatedAt:
          title: Updated At
          type: string
          description: Timestamp when the business service was last updated
          format: date-time
        userCount:
          title: User Count
          type: integer
          description: Number of users assigned to this business service
        entityCount:
          title: Entity Count
          type: integer
          description: Number of entities assigned to this business service
        version:
          title: Version
          type: integer
          description: Resource version for optimistic locking
      description: Business Service response
    business-service-detail:
      title: Business Service Detail
      type: object
      properties:
        uuid:
          title: Business Service UUID
          type: string
          description: Unique identifier of the business service
        name:
          title: Business Service Name
          maxLength: 255
          minLength: 1
          pattern: "^[a-zA-Z0-9_-]{1,255}$"
          type: string
          description: Name
        description:
          title: Description
          maxLength: 255
          type: string
        createdAt:
          title: Created At
          type: string
          description: Timestamp when the business service was created
          format: date-time
        updatedAt:
          title: Updated At
          type: string
          description: Timestamp when the business service was last updated
          format: date-time
        version:
          title: Version
          type: integer
          description: Resource version for optimistic locking
        userCount:
          title: User Count
          type: integer
          description: Number of users assigned to this business service
        entityCount:
          title: Entity Count
          type: integer
          description: Number of entities assigned to this business service
      description: Detailed business service response with user and entity counts
    business-service-update:
      title: Business Service Update
      type: object
      properties:
        name:
          title: Business Service Name
          maxLength: 255
          minLength: 1
          pattern: "^[a-zA-Z0-9_-]{1,255}$"
          type: string
          description: New name for the business service
        description:
          title: Description
          maxLength: 255
          type: string
          description: New description of the business service
      description: Business Service update request
    business-service-users-list:
      title: Business Service Users List
      type: object
      properties:
        users:
          title: Users
          type: array
          description: List of users assigned to this business service
          items:
            title: User Reference
            type: object
            properties:
              uuid:
                title: User UUID
                type: string
                description: User's unique identifier
              username:
                title: Username
                type: string
                description: User's login name
              firstName:
                title: First Name
                type: string
                description: User's first name
              lastName:
                title: Last Name
                type: string
                description: User's last name
            description: Reference to a user assigned to the business service
        totalItems:
          title: Total Items
          type: integer
          description: Total number of users assigned to this business service
        page:
          title: Current Page
          type: integer
          description: Current page number
        pageSize:
          title: Page Size
          type: integer
          description: Number of items per page
        totalPages:
          title: Total Pages
          type: integer
          description: Total number of pages
      description: Paginated list of users assigned to a business service
    business-service-entities-list:
      title: Business Service Entities List
      type: object
      properties:
        entities:
          title: Entities
          type: array
          description: List of entities assigned to this business service
          items:
            title: Entity Reference
            type: object
            properties:
              uuid:
                title: Entity UUID
                type: string
                description: Entity's unique identifier
              type:
                title: Entity Type
                type: string
                description: "Type of the entity (endpoints, accounts, accountsGroups,\
                  \ pipelines, credentials)"
                enum:
                - endpoints
                - accounts
                - accountsGroups
                - pipelines
                - credentials
              name:
                title: Entity Name
                type: string
                description: Name of the entity
            description: Reference to an entity assigned to the business service
        totalItems:
          title: Total Items
          type: integer
          description: Total number of entities assigned to this business service
        page:
          title: Current Page
          type: integer
          description: Current page number
        pageSize:
          title: Page Size
          type: integer
          description: Number of items per page
        totalPages:
          title: Total Pages
          type: integer
          description: Total number of pages
      description: Paginated list of entities assigned to a business service
    ldap-sync-filters:
      title: LDAP Sync Filters
      type: object
      properties:
        totalRecords:
          title: Total jobs
          type: integer
          description: Total existing records
        totalFilteredRecords:
          title: Total Filtered job
          type: integer
          description: Total filtered records
        status:
          title: Status Filter
          type: string
          description: Filter by sync job status
        triggerType:
          title: Trigger Type Filter
          type: string
          description: Filter by job trigger type
          enum:
          - manual
          - scheduled
        type:
          title: Type Filter
          type: string
          description: Filter by LDAP type
          enum:
          - users
          - accounts
        limit:
          title: Limit
          minimum: 0
          type: integer
          description: Maximum number of items to return
        offset:
          title: Offset
          minimum: 0
          type: integer
          description: Number of items to skip
        order:
          title: Order
          type: string
          description: Sort order for results
          enum:
          - ASC
          - DESC
        orderBy:
          title: OrderBy
          type: string
          description: Sort order by results
          enum:
          - id
          - startedAt
          - completedAt
          - createdAt
      description: Filters for LDAP sync job queries
  securitySchemes:
    BasicAuth:
      type: http
      scheme: basic
    TokenAuth:
      type: apiKey
      name: X-TOKEN
      in: header
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
